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
c9b25fb6dad3caee6d1b065f38f75f3f3175f35c
298
py
Python
py/41.py
higgsd/euler
340f192ed2831ab9d37df43fe19e39971ef19cf8
[ "BSD-2-Clause" ]
null
null
null
py/41.py
higgsd/euler
340f192ed2831ab9d37df43fe19e39971ef19cf8
[ "BSD-2-Clause" ]
null
null
null
py/41.py
higgsd/euler
340f192ed2831ab9d37df43fe19e39971ef19cf8
[ "BSD-2-Clause" ]
null
null
null
# 7652413 import euler N = 7 m = 0 d = '123456789' for i in xrange(euler.product(xrange(1, N + 1))): v = [] dd = list(d) for j in xrange(N): v.append(dd.pop(i % (N - j))) i /= (N - j) vv = int(''.join(v)) if euler.is_prime(vv) and vv > m: m = vv print m
18.625
49
0.489933
54
298
2.685185
0.537037
0.110345
0.041379
0
0
0
0
0
0
0
0
0.1
0.328859
298
15
50
19.866667
0.625
0.02349
0
0
0
0
0.031142
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9b68d5dd4a2b8165ed4a05a0ec9ea79e8cc4593
250
py
Python
make_ar_marker.py
yumion/ar-tracking
e7f110f27719cafe82403e0855e17ef9f087e1f5
[ "Apache-2.0" ]
null
null
null
make_ar_marker.py
yumion/ar-tracking
e7f110f27719cafe82403e0855e17ef9f087e1f5
[ "Apache-2.0" ]
null
null
null
make_ar_marker.py
yumion/ar-tracking
e7f110f27719cafe82403e0855e17ef9f087e1f5
[ "Apache-2.0" ]
null
null
null
# coding:utf-8 import cv2 aruco = cv2.aruco # ARマーカー生成 dictionary = aruco.getPredefinedDictionary(aruco.DICT_4X4_50) for i in range(5): marker = aruco.drawMarker(dictionary, i + 1, 100) cv2.imwrite('ar_marker' + str(i + 1) + '.png', marker)
25
61
0.7
37
250
4.648649
0.675676
0.093023
0
0
0
0
0
0
0
0
0
0.066667
0.16
250
9
62
27.777778
0.752381
0.084
0
0
0
0
0.057522
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0
0
0
0
0
1
c9ba63ff41e4b54cfcbd43f93c5e655857b31ae6
826
py
Python
psana/psana/tests/dgramchunk_legion.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
null
null
null
psana/psana/tests/dgramchunk_legion.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
null
null
null
psana/psana/tests/dgramchunk_legion.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
null
null
null
from psana import dgramchunk, dgram import legion import os @legion.task def do_chunk(view): config = dgram.Dgram() offset = 0 while offset < len(view): d = dgram.Dgram(config=config, view=view, offset=offset) offset += memoryview(d).shape[0] @legion.task(top_level=True) def main(): fd...
29.5
78
0.675545
115
826
4.773913
0.504348
0.051002
0.058288
0.091075
0.116576
0.116576
0
0
0
0
0
0.016794
0.207022
826
27
79
30.592593
0.821374
0.084746
0
0.086957
0
0
0.059761
0.059761
0
0
0
0.037037
0
1
0.086957
false
0
0.130435
0
0.217391
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c9bd6d8865fad2f787e120d6e0cb35ed8b78c442
235
py
Python
Exercises/048.py
GuilhermeRds1921/Python3-Guanabara
24cd85b076e1074a5602e54c420bcc8e70cc1854
[ "MIT" ]
null
null
null
Exercises/048.py
GuilhermeRds1921/Python3-Guanabara
24cd85b076e1074a5602e54c420bcc8e70cc1854
[ "MIT" ]
null
null
null
Exercises/048.py
GuilhermeRds1921/Python3-Guanabara
24cd85b076e1074a5602e54c420bcc8e70cc1854
[ "MIT" ]
null
null
null
# Develop a program that calculates the sum between all the odd numbers # that are multiples of three and are in the range of 1 to 500. sum = 0 for i in range(1,501): if (i % 2 != 0 ) and (i % 3 == 0): sum += i print(sum)
29.375
72
0.625532
46
235
3.195652
0.630435
0
0
0
0
0
0
0
0
0
0
0.076471
0.276596
235
8
73
29.375
0.788235
0.561702
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9c44698b60fcda3f173de4d0283e8ea88da82c6
32,893
py
Python
eucaops/iamops.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
eucaops/iamops.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
eucaops/iamops.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
# Software License Agreement (BSD License) # # Copyright (c) 2009-2014, Eucalyptus Systems, Inc. # All rights reserved. # # Redistribution and use of this software in source and binary forms, with or # without modification, are permitted provided that the following conditions # are met: # # Redistributions of source ...
49.020864
171
0.633387
4,120
32,893
4.853641
0.082282
0.06826
0.015002
0.021003
0.705406
0.655848
0.621243
0.583137
0.53173
0.510527
0
0.002006
0.257471
32,893
670
172
49.09403
0.816738
0.042684
0
0.436464
0
0
0.181408
0.0541
0
0
0
0
0
0
null
null
0.008287
0.008287
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9c8512d345e7c0807e30143e0c9d01d3e3075a9
2,679
py
Python
src/preprocess/preprocess_all_data.py
AlexLamson/safebooru-predict
f9443ffc17ead0d1ae0e5e405aeb48329212788c
[ "MIT" ]
5
2018-03-29T13:07:43.000Z
2022-03-07T13:19:19.000Z
src/preprocess/preprocess_all_data.py
AlexLamson/safebooru-predict
f9443ffc17ead0d1ae0e5e405aeb48329212788c
[ "MIT" ]
4
2017-05-08T18:43:57.000Z
2019-11-25T19:59:32.000Z
src/preprocess/preprocess_all_data.py
AlexLamson/safebooru-predict
f9443ffc17ead0d1ae0e5e405aeb48329212788c
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys sys.path.append('..') from utils import * import time import pandas as pd from tqdm import tqdm from duplicate_checker import DuplicateChecker from sampler import Sampler from statistics_recorder import StatisticsRecorder # TODO merge deduper and stats flags into one flag...
37.208333
114
0.721911
380
2,679
4.9
0.321053
0.106337
0.078947
0.034372
0.226101
0.226101
0.138561
0.107411
0.107411
0.067669
0
0.008072
0.1676
2,679
71
115
37.732394
0.826906
0.139231
0
0.204082
0
0
0.191375
0.009434
0
0
0
0.014085
0
1
0
false
0
0.163265
0
0.163265
0.204082
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c9cac8c843afefaa536d7a2fd3661f460fe885ae
399
py
Python
python/max_user.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
1
2017-10-14T04:23:45.000Z
2017-10-14T04:23:45.000Z
python/max_user.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
python/max_user.py
seckcoder/lang-learn
1e0d6f412bbd7f89b1af00293fd907ddb3c1b571
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python #-*- coding=utf-8 -*- # # Copyright 2012 Jike Inc. All Rights Reserved. # Author: liwei@jike.com class People(object): def __init__(self, name, age): self.name = name self.age = age p1 = People(name='liwei', age=1) p2 = People(name='seckcoder', age=2) p3 = People(name='wangda...
21
47
0.636591
63
399
3.968254
0.619048
0.12
0
0
0
0
0
0
0
0
0
0.04321
0.18797
399
18
48
22.166667
0.728395
0.273183
0
0
0
0
0.084211
0
0
0
0
0
0
0
null
null
0
0
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9cbb83779f9fc0aad8017e7941975f8cc5ec95a
639
py
Python
src/MLP/utils.py
rudyn2/wine_market_temporal_prediction
ab51dbdaa75dfd532eaef3f712ca21f3117c6d74
[ "MIT" ]
null
null
null
src/MLP/utils.py
rudyn2/wine_market_temporal_prediction
ab51dbdaa75dfd532eaef3f712ca21f3117c6d74
[ "MIT" ]
null
null
null
src/MLP/utils.py
rudyn2/wine_market_temporal_prediction
ab51dbdaa75dfd532eaef3f712ca21f3117c6d74
[ "MIT" ]
null
null
null
import pandas as pd import torch import torch.nn as nn from src.MLP.mlp_models import WineDataset def model_eval(trained_model: nn.Module, dataset: WineDataset): """ Takes a WineDataset and returns a pandas series (using datetime indexing) with the predictions. """ trained_model.eval() y_pred = [...
31.95
99
0.701095
92
639
4.652174
0.5
0.084112
0.060748
0.084112
0
0
0
0
0
0
0
0
0.208138
639
19
100
33.631579
0.84585
0.14867
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c9d04b9dc4e45d13e0e016f3bc9d1f790fc6d1b7
573
py
Python
CHAPTER 11 (search trees)/tree_search_algo_in_binary_st.py
ahammadshawki8/Data-Structures-Algorithms-in-Python-
fc18b54128cd5bc7639a14999d8f990190b524eb
[ "MIT" ]
null
null
null
CHAPTER 11 (search trees)/tree_search_algo_in_binary_st.py
ahammadshawki8/Data-Structures-Algorithms-in-Python-
fc18b54128cd5bc7639a14999d8f990190b524eb
[ "MIT" ]
null
null
null
CHAPTER 11 (search trees)/tree_search_algo_in_binary_st.py
ahammadshawki8/Data-Structures-Algorithms-in-Python-
fc18b54128cd5bc7639a14999d8f990190b524eb
[ "MIT" ]
null
null
null
# this is a part of binary search tree class. # The right, left and parent functions can be found in the binary search tree implementation. def TreeSearch(T,p,k): if k == p.key(): return p # successful search elif k < p.key() and T.left(p) is not None: return Tree...
47.75
93
0.570681
87
573
3.758621
0.413793
0.100917
0.045872
0.055046
0.324159
0.250765
0.171254
0.171254
0
0
0
0
0.342059
573
11
94
52.090909
0.867374
0.394415
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c9d1b7980a62639b08fb3c763261599870115881
444
py
Python
scraper/migrations/0007_auto_20210103_1841.py
gorkemyontem/SWE-573-2020
6a9ca57d294066fcc0db640f45d38d7341754a68
[ "MIT" ]
null
null
null
scraper/migrations/0007_auto_20210103_1841.py
gorkemyontem/SWE-573-2020
6a9ca57d294066fcc0db640f45d38d7341754a68
[ "MIT" ]
35
2020-11-02T17:06:35.000Z
2021-03-10T07:56:03.000Z
scraper/migrations/0007_auto_20210103_1841.py
gorkemyontem/SWE-573-2020
6a9ca57d294066fcc0db640f45d38d7341754a68
[ "MIT" ]
1
2021-02-02T14:38:27.000Z
2021-02-02T14:38:27.000Z
# Generated by Django 3.1.4 on 2021-01-03 15:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scraper', '0006_auto_20210103_1832'), ] operations = [ migrations.AlterField( model_name='submission', name='comment...
22.2
62
0.61036
48
444
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.109718
0.281532
444
19
63
23.368421
0.717868
0.101351
0
0
1
0
0.130982
0.057935
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9da641bd9e8228edd2b0b70dd8b62957a5462e5
4,379
py
Python
speedlib/dcc/dcc_object.py
CRIStAL-PADR/Speed
ee4d7b731e6ec16db3659af191ed138df4117698
[ "MIT" ]
null
null
null
speedlib/dcc/dcc_object.py
CRIStAL-PADR/Speed
ee4d7b731e6ec16db3659af191ed138df4117698
[ "MIT" ]
2
2021-02-02T12:37:27.000Z
2021-02-02T14:43:01.000Z
speedlib/dcc/dcc_object.py
CRIStAL-PADR/Speed
ee4d7b731e6ec16db3659af191ed138df4117698
[ "MIT" ]
1
2021-01-28T15:31:42.000Z
2021-01-28T15:31:42.000Z
""" Copyright (C) 2021 CNRS This file is part of "Speedlib". "Speedlib" is an API built for the use case of autonomous navigation. It has been developed to control quay cranes and trains of multimodal waterborne Lab as part of The SPEED project, a project which aims to enhance and support the ...
31.963504
86
0.588719
605
4,379
4.11405
0.261157
0.046203
0.033748
0.050623
0.23865
0.23865
0.154681
0.154681
0.154681
0.154681
0
0.018732
0.305092
4,379
136
87
32.198529
0.799211
0.331583
0
0.126582
0
0
0.12032
0
0
0
0
0
0
1
0.240506
false
0
0.012658
0.012658
0.43038
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c9db1854db166620d6840ff0e22227f633d42e17
155
py
Python
atcoder/abc/c144.py
tomato-300yen/coding
db6f440a96d8c83f486005c650461a69f27e3926
[ "MIT" ]
null
null
null
atcoder/abc/c144.py
tomato-300yen/coding
db6f440a96d8c83f486005c650461a69f27e3926
[ "MIT" ]
null
null
null
atcoder/abc/c144.py
tomato-300yen/coding
db6f440a96d8c83f486005c650461a69f27e3926
[ "MIT" ]
null
null
null
N = int(input()) ans = 1e12 # 約数を求める。N**.5までで十分 for n in range(1, int(N ** 0.5) + 1): if N % n == 0: ans = min(ans, n + N // n - 2) print(ans)
19.375
38
0.477419
31
155
2.387097
0.548387
0.081081
0
0
0
0
0
0
0
0
0
0.091743
0.296774
155
7
39
22.142857
0.587156
0.109677
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c9e728d9f2a95788612a8c10c4935afebb240138
1,191
py
Python
83-remove-duplicates-from-sorted-list/83-remove-duplicates-from-sorted-list.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
83-remove-duplicates-from-sorted-list/83-remove-duplicates-from-sorted-list.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
83-remove-duplicates-from-sorted-list/83-remove-duplicates-from-sorted-list.py
e-lin/LeetCode
1a00e187b5ccea3bddabf93a29164bf0ad928b7d
[ "Apache-2.0" ]
null
null
null
# Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def deleteDuplicates(self, head): """ :type head: ListNode :rtype: ListNode """ l = list() curr = head ...
21.654545
44
0.531486
140
1,191
4.435714
0.314286
0.077295
0.083736
0.109501
0.161031
0.161031
0.161031
0.161031
0.161031
0.161031
0
0.010596
0.366079
1,191
55
45
21.654545
0.811921
0.130982
0
0.057143
0
0
0.008333
0
0
0
0
0
0
0
null
null
0
0
null
null
0.085714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9eca5d057d4f1aaf6bb3677342519ce66d9bcf3
1,961
py
Python
tiantangBT/tiantangBT/spiders/tiantangBTSpider.py
xzwjandyou/Spider
23167635fcbcd2915dfcf3febff078303c82cdb7
[ "MIT" ]
null
null
null
tiantangBT/tiantangBT/spiders/tiantangBTSpider.py
xzwjandyou/Spider
23167635fcbcd2915dfcf3febff078303c82cdb7
[ "MIT" ]
null
null
null
tiantangBT/tiantangBT/spiders/tiantangBTSpider.py
xzwjandyou/Spider
23167635fcbcd2915dfcf3febff078303c82cdb7
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from scrapy.spiders import CrawlSpider, Rule, Request ##CrawlSpider与Rule配合使用可以骑到历遍全站的作用、Request干啥的我就不解释了 from scrapy.linkextractors import LinkExtractor ##配合Rule进行URL规则匹配 from tiantangBT.items import TiantangbtItem ##不解释 from scrapy import FormRequest ##Scrapy中用作登录使用的一个包 from lxml import htm...
32.147541
137
0.624681
199
1,961
6.120603
0.462312
0.024631
0.029557
0.036125
0.21757
0.173235
0.117406
0.058292
0
0
0
0.003268
0.219786
1,961
60
138
32.683333
0.79281
0.236104
0
0.057143
0
0
0.21875
0.112092
0
0
0
0
0
0
null
null
0.028571
0.228571
null
null
0.171429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c9ed262b584fbdb6c125cf29f1ac93921e6c658c
1,423
py
Python
jonxhikari/core/plugins/events.py
Jonxslays/Jonxhikari
5ea4f706a99b4dc63029fd7229c20d076fd5b7c7
[ "BSD-3-Clause" ]
2
2021-09-11T03:50:12.000Z
2021-11-13T10:27:43.000Z
jonxhikari/core/plugins/events.py
Jonxslays/Jonxhikari
5ea4f706a99b4dc63029fd7229c20d076fd5b7c7
[ "BSD-3-Clause" ]
5
2021-06-14T15:02:32.000Z
2021-09-04T05:03:43.000Z
jonxhikari/core/plugins/events.py
Jonxslays/Jonxhikari
5ea4f706a99b4dc63029fd7229c20d076fd5b7c7
[ "BSD-3-Clause" ]
null
null
null
import datetime import hikari import lightbulb import tanjun from hikari.messages import Attachment import jonxhikari class Events(lightbulb.Plugin): """Jonxhikaris pseudo event handler.""" def __init__(self, bot: jonxhikari.Bot) -> None: self.bot = bot super().__init__() @lightbulb.pl...
30.276596
81
0.688686
169
1,423
5.698225
0.390533
0.043614
0.099688
0.120457
0.274143
0.226376
0.155763
0
0
0
0
0.001759
0.200984
1,423
46
82
30.934783
0.845207
0.106817
0
0.230769
0
0
0.005479
0
0
0
0
0.021739
0
1
0.115385
false
0
0.230769
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c9f9904a329812ee8472807a68cc0e286e27327d
235
py
Python
test/conftest.py
PisarencoL/pyxbrowsersync
9ee12663195333bae274da7002b87ca08879afd5
[ "MIT" ]
null
null
null
test/conftest.py
PisarencoL/pyxbrowsersync
9ee12663195333bae274da7002b87ca08879afd5
[ "MIT" ]
null
null
null
test/conftest.py
PisarencoL/pyxbrowsersync
9ee12663195333bae274da7002b87ca08879afd5
[ "MIT" ]
null
null
null
# Copyright (c) 2021 Lucia Pisarenco, Berlin, Germany import os from app import app import pytest @pytest.fixture(name="db") def fixture_db(): try: app.setup() yield finally: os.unlink(app.DB_LOCATION)
18.076923
53
0.655319
32
235
4.75
0.6875
0.118421
0
0
0
0
0
0
0
0
0
0.022472
0.242553
235
12
54
19.583333
0.831461
0.217021
0
0
0
0
0.010989
0
0
0
0
0
0
1
0.1
true
0
0.3
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
a001c1e3748e439361a8f85c6562835fd5f37d80
480
py
Python
main.py
purplecomputer/PiDash
8d427d264b5079a02feed206c7627856325ba09e
[ "Apache-2.0" ]
null
null
null
main.py
purplecomputer/PiDash
8d427d264b5079a02feed206c7627856325ba09e
[ "Apache-2.0" ]
null
null
null
main.py
purplecomputer/PiDash
8d427d264b5079a02feed206c7627856325ba09e
[ "Apache-2.0" ]
null
null
null
import sys from pidash.pidash import PiDash from machine import Pin #using absolute path here to import for testing dashinit = PiDash() value = 0 def increasespeed(value): return value + 1 def decreasespeed(value): return value - 1 dashinit.sen0105.irq(trigger=Pin.IRQ_RISING, handler=dashinit.increasespe...
19.2
79
0.745833
64
480
5.5625
0.515625
0.061798
0.089888
0.095506
0.174157
0.174157
0
0
0
0
0
0.027295
0.160417
480
25
80
19.2
0.856079
0.095833
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.1875
0.125
0.4375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
a00215e2ac03dff185a7e1d381e073562023d1af
1,482
py
Python
webAPi/log.py
BennyJane/web-common-service
761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc
[ "Apache-2.0" ]
2
2021-01-04T07:23:52.000Z
2021-01-11T01:37:06.000Z
webAPi/log.py
BennyJane/web-common-service
761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc
[ "Apache-2.0" ]
null
null
null
webAPi/log.py
BennyJane/web-common-service
761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc
[ "Apache-2.0" ]
null
null
null
# !/usr/bin/env python # -*-coding:utf-8 -*- # PROJECT : web-common-service # Time :2020/12/4 11:09 # Warning:The Hard Way Is Easier import os import logging from config import get_config_from_env from _compat import modifyPath from logging.handlers import RotatingFileHandler # TODO 单独定义邮件发送使用的日志 ==》 不能使用fla...
30.244898
117
0.708502
199
1,482
5.045226
0.41206
0.076693
0.054781
0.031873
0
0
0
0
0
0
0
0.010691
0.179487
1,482
48
118
30.875
0.814967
0.124157
0
0.0625
0
0.03125
0.103101
0.018605
0
0
0
0.020833
0
1
0.03125
false
0
0.15625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a0024550ef0bb9754218bfc1b2465cabeb4d97c9
256
py
Python
python/autoinitialbuild.py
Scaleios/Galnet-Newsfeed
dc2853c058bd22392ad047c867721eaf7d79192d
[ "MIT" ]
2
2020-09-15T15:53:35.000Z
2021-04-27T01:23:00.000Z
python/autoinitialbuild.py
HassanAbouelela/Galnet-Newsfeed
dc2853c058bd22392ad047c867721eaf7d79192d
[ "MIT" ]
7
2020-09-30T21:32:45.000Z
2020-12-20T20:35:10.000Z
python/autoinitialbuild.py
Scaleios/Galnet-Newsfeed
dc2853c058bd22392ad047c867721eaf7d79192d
[ "MIT" ]
1
2021-02-11T20:11:49.000Z
2021-02-11T20:11:49.000Z
# Copyright (c) 2020 Hassan Abouelela # Licensed under the MIT License import asyncio from python import initialbuild loop = asyncio.get_event_loop() loop.run_until_complete(initialbuild.db_builder(host="localhost", database="postgres")) loop.close()
23.272727
87
0.792969
34
256
5.823529
0.823529
0
0
0
0
0
0
0
0
0
0
0.017621
0.113281
256
10
88
25.6
0.854626
0.261719
0
0
0
0
0.091892
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a00bb77e4485a013b810d0ace8e9a4baecd39fea
6,874
py
Python
benchmarking/gen_code.py
saskeli/bit_vector
6efe85c5f4019b58395a3929cdda1f133eddceda
[ "MIT" ]
null
null
null
benchmarking/gen_code.py
saskeli/bit_vector
6efe85c5f4019b58395a3929cdda1f133eddceda
[ "MIT" ]
null
null
null
benchmarking/gen_code.py
saskeli/bit_vector
6efe85c5f4019b58395a3929cdda1f133eddceda
[ "MIT" ]
null
null
null
import sys from itertools import product types = { # id Type avx branch leaf buffer 0: ("dyn", "false", 8, 8192, 0), 1: ("leaf", "false", 8, 8192, 0), 2: ("leaf", "false", 8, 8192, 8) } branches = [8, 16, 32, 64, 128] leaves = [2**12, 2**13, 2**14] buffer = [8, 16, 32] avx = ["true", "false"] f...
31.53211
101
0.511638
942
6,874
3.596603
0.195329
0.049587
0.072904
0.077922
0.428867
0.424144
0.387249
0.375738
0.375738
0.320838
0
0.043532
0.298225
6,874
217
102
31.677419
0.658789
0.005528
0
0.382514
0
0.038251
0.808548
0.187646
0
0
0
0
0.005464
1
0.021858
false
0
0.010929
0
0.043716
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a01016ffc041d5d0d8c620834f119667d031d7b1
326
py
Python
jet20/frontend/__init__.py
JTJL/jet20
2dc01ebf937f8501bcfb15c6641c569f8097ccf5
[ "MIT" ]
1
2020-07-13T19:02:26.000Z
2020-07-13T19:02:26.000Z
jet20/frontend/__init__.py
JTJL/jet20
2dc01ebf937f8501bcfb15c6641c569f8097ccf5
[ "MIT" ]
null
null
null
jet20/frontend/__init__.py
JTJL/jet20
2dc01ebf937f8501bcfb15c6641c569f8097ccf5
[ "MIT" ]
null
null
null
from jet20.frontend.variable import Variable,Array,quad from jet20.frontend.expression import Expression from jet20.frontend.problem import Problem __author__ = """Dongwu Yu""" __email__ = "yudongwu@watermirror.ai" __version__ = '0.0.1' __all__ = [ "Variable", "Array", "quad", "Expression", "Probl...
20.375
55
0.708589
37
326
5.810811
0.540541
0.125581
0.237209
0
0
0
0
0
0
0
0
0.032967
0.162577
326
15
56
21.733333
0.754579
0
0
0
0
0
0.217791
0.070552
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a01b6bd85083b67d2184fc64d9eb0721def5b421
3,474
py
Python
LexiconClassifier.py
tdvdigital/STIL_LIWC_Evaluation
d65dc7430ba75af17e00e352e088921bad114b3a
[ "MIT" ]
8
2016-03-30T20:36:38.000Z
2021-04-06T20:33:48.000Z
LexiconClassifier.py
tdvdigital/STIL_LIWC_Evaluation
d65dc7430ba75af17e00e352e088921bad114b3a
[ "MIT" ]
null
null
null
LexiconClassifier.py
tdvdigital/STIL_LIWC_Evaluation
d65dc7430ba75af17e00e352e088921bad114b3a
[ "MIT" ]
5
2015-04-21T19:10:26.000Z
2020-02-09T17:29:49.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- #### Class to perform a lexicon-based sentiment classification #### Author: Pedro Paulo Balage Filho #### Version: 1.0 #### Date: 05/12/12 # performs a lexicon-based sentiment classification. You should initialize it # with one of my dictionary classes: liwc, sentilex or opi...
30.208696
109
0.51468
384
3,474
4.578125
0.411458
0.023891
0.013652
0.015358
0.05802
0
0
0
0
0
0
0.015985
0.387737
3,474
114
110
30.473684
0.810531
0.243523
0
0.029412
0
0
0.080726
0
0
0
0
0
0
0
null
null
0
0.014706
null
null
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e4271fa6ac04de122d703aca3ab1cd188598fc2
4,848
py
Python
graph-to-graph/bench.py
mbrcknl/graph-refine
78c74f18127db53606f18f775a5a50de86bc6b97
[ "BSD-2-Clause", "MIT" ]
6
2017-03-17T17:57:48.000Z
2019-12-28T13:03:23.000Z
graph-to-graph/bench.py
myuluo/graph-refine
8924af0c61c3c863db7957e0ebac7ae1ceefad9d
[ "BSD-2-Clause", "MIT" ]
3
2020-04-07T09:15:55.000Z
2022-03-23T01:36:26.000Z
graph-to-graph/bench.py
myuluo/graph-refine
8924af0c61c3c863db7957e0ebac7ae1ceefad9d
[ "BSD-2-Clause", "MIT" ]
7
2020-04-16T00:32:41.000Z
2022-03-09T05:25:23.000Z
# # Copyright 2020, Data61, CSIRO (ABN 41 687 119 230) # # SPDX-License-Identifier: BSD-2-Clause # import subprocess import elf_file import elf_correlate import elf_parser import chronos.emitter import re from dot_utils import * import call_graph_utils import sys import traceback import graph_refine.problem as problem...
29.925926
116
0.702558
689
4,848
4.706821
0.278665
0.036694
0.020352
0.02621
0.140302
0.126118
0.04872
0.04872
0.024669
0.024669
0
0.006667
0.195545
4,848
161
117
30.111801
0.824872
0.075289
0
0.153226
0
0
0.09776
0
0
0
0
0.006211
0
0
null
null
0.008065
0.145161
null
null
0.08871
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e47770eb741b8b755841a2d2cbb6219a4c76dc8
6,452
py
Python
argo/UserJobReceiver.py
hep-cce/hpc-edge-service
57f2b9252d21d478eabe06cbdced5b623f08c75f
[ "BSD-3-Clause" ]
null
null
null
argo/UserJobReceiver.py
hep-cce/hpc-edge-service
57f2b9252d21d478eabe06cbdced5b623f08c75f
[ "BSD-3-Clause" ]
null
null
null
argo/UserJobReceiver.py
hep-cce/hpc-edge-service
57f2b9252d21d478eabe06cbdced5b623f08c75f
[ "BSD-3-Clause" ]
null
null
null
import logging,sys,multiprocessing,time,os,pwd,grp logger = logging.getLogger(__name__) from django.db import connections,DEFAULT_DB_ALIAS from django.db.utils import load_backend from django.conf import settings from argo import models,QueueMessage from common import db_tools from common import MessageReceiver,Seria...
50.015504
284
0.605549
669
6,452
5.621824
0.282511
0.017283
0.022334
0.030843
0.177612
0.135602
0.110609
0.094124
0.068067
0.039351
0
0.000451
0.313236
6,452
128
285
50.40625
0.848341
0.050217
0
0.166667
0
0
0.15298
0.003642
0
0
0
0
0
0
null
null
0
0.068627
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e495e5dc148b3678a1279a172f13a1ba5dbd5ab
3,158
py
Python
python/test/test_provenance.py
hpc-io/prov-io
8c4450ba0900ed0af0f396d059c57a5da7bb2426
[ "BSD-3-Clause" ]
null
null
null
python/test/test_provenance.py
hpc-io/prov-io
8c4450ba0900ed0af0f396d059c57a5da7bb2426
[ "BSD-3-Clause" ]
null
null
null
python/test/test_provenance.py
hpc-io/prov-io
8c4450ba0900ed0af0f396d059c57a5da7bb2426
[ "BSD-3-Clause" ]
null
null
null
from provio.provenance import PROVIO from provio.extensible import Extensible import os def cleanup(path): os.remove(path) def main(): ''' Initialize a provenance instance ''' print('\n++ Initialize a provenance instance: start') print('-------------------------------------------') graph = PROVIO(serializer =...
32.22449
75
0.534516
342
3,158
4.809942
0.230994
0.029179
0.053495
0.029179
0.374468
0.213374
0.201216
0.129483
0.102128
0
0
0.006822
0.118113
3,158
97
76
32.556701
0.583842
0.010133
0
0.262295
0
0
0.528336
0.246772
0
0
0
0
0
1
0.032787
false
0
0.04918
0
0.081967
0.540984
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4e50a3882c46a240ef471d5bbc7cef0fd03964e3
5,233
py
Python
pysnmp-with-texts/ELTEX-MES-HWENVIROMENT-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/ELTEX-MES-HWENVIROMENT-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/ELTEX-MES-HWENVIROMENT-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 ELTEX-MES-HWENVIROMENT-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ELTEX-MES-HWENVIROMENT-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:01:22 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version ...
118.931818
477
0.795337
564
5,233
7.375887
0.358156
0.049038
0.085817
0.006731
0.257452
0.119952
0.119952
0.119952
0.119952
0.119952
0
0.054966
0.082171
5,233
43
478
121.697674
0.81116
0.066119
0
0
0
0.085714
0.307298
0.02952
0
0
0
0
0
1
0
false
0
0.228571
0
0.228571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e50eab3bd5e39c430b1319e4dbfa03f8a55f81a
9,219
py
Python
mujoco/behavior_cloning.py
Pearl-UTexas/ICML2019-TREX
fb63afd13a558061bb537b87388ad3ca22eb96d1
[ "MIT" ]
65
2019-05-15T06:38:05.000Z
2022-03-22T01:08:04.000Z
mujoco/behavior_cloning.py
Pearl-UTexas/ICML2019-TREX
fb63afd13a558061bb537b87388ad3ca22eb96d1
[ "MIT" ]
5
2019-06-17T11:58:14.000Z
2021-07-27T00:12:05.000Z
mujoco/behavior_cloning.py
Pearl-UTexas/ICML2019-TREX
fb63afd13a558061bb537b87388ad3ca22eb96d1
[ "MIT" ]
21
2019-05-27T12:02:23.000Z
2022-01-20T02:44:07.000Z
import argparse from pathlib import Path import numpy as np import tensorflow as tf import gym from tqdm import tqdm import matplotlib matplotlib.use('agg') from matplotlib import pyplot as plt from imgcat import imgcat from tf_commons.ops import * from siamese_ranker import PPO2Agent class Policy(object): def __...
35.457692
139
0.596377
1,220
9,219
4.32377
0.22623
0.018768
0.03545
0.005687
0.334028
0.248341
0.234692
0.216114
0.200569
0.200569
0
0.017028
0.273782
9,219
259
140
35.594595
0.770874
0.035579
0
0.222222
0
0
0.072017
0
0
0
0
0
0.005291
0
null
null
0
0.074074
null
null
0.015873
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e5219592b0814917de2027af727af82762de106
165
py
Python
cursopython/pythonteste/aula20ambiente06.py
AtilaCosta87/Python
b4eea7885d16df80feecc4c699a8348ca13a80c2
[ "MIT" ]
null
null
null
cursopython/pythonteste/aula20ambiente06.py
AtilaCosta87/Python
b4eea7885d16df80feecc4c699a8348ca13a80c2
[ "MIT" ]
null
null
null
cursopython/pythonteste/aula20ambiente06.py
AtilaCosta87/Python
b4eea7885d16df80feecc4c699a8348ca13a80c2
[ "MIT" ]
null
null
null
def contador(* núm): tam = len(núm) print(f'Recebí os valores {núm} e são ao todo {tam} números') contador(2, 1, 7) contador(8, 0) contador(4, 4, 7, 6, 2)
18.333333
65
0.612121
31
165
3.258065
0.709677
0
0
0
0
0
0
0
0
0
0
0.077519
0.218182
165
8
66
20.625
0.705426
0
0
0
0
0
0.309091
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e5b3302a9be4fa4c2b1bc76fa582cc64c024fdf
1,292
py
Python
get_descriptors.py
ildarlomov/dlcourseproject
35c9666b983937a850ffe9acf459f18f52e9b9a0
[ "MIT" ]
null
null
null
get_descriptors.py
ildarlomov/dlcourseproject
35c9666b983937a850ffe9acf459f18f52e9b9a0
[ "MIT" ]
null
null
null
get_descriptors.py
ildarlomov/dlcourseproject
35c9666b983937a850ffe9acf459f18f52e9b9a0
[ "MIT" ]
null
null
null
from src.models.triplet import TripletNet from src.models.baseline_net import ResNetCaffe, BasicBlock from src.data.read_dataset import InferenceMCSDataset from src.data.baseline_transformers import ToTensor from torch.utils.data.dataloader import DataLoader import numpy as np from src.models.predict_model import get_d...
46.142857
90
0.743808
173
1,292
5.306358
0.398844
0.071895
0.074074
0.065359
0.095861
0.077342
0.054466
0
0
0
0
0.003717
0.167183
1,292
27
91
47.851852
0.849442
0
0
0
0
0
0.119969
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4e624fcd2f0cba1bc8e3578fd1b63b045d286d69
1,497
py
Python
dataset_split.py
Complicateddd/Complicateddd-ROITransformer
2adfbf98892d569c460d100c6e2169c5fa3a9b82
[ "Apache-2.0" ]
null
null
null
dataset_split.py
Complicateddd/Complicateddd-ROITransformer
2adfbf98892d569c460d100c6e2169c5fa3a9b82
[ "Apache-2.0" ]
null
null
null
dataset_split.py
Complicateddd/Complicateddd-ROITransformer
2adfbf98892d569c460d100c6e2169c5fa3a9b82
[ "Apache-2.0" ]
1
2021-12-17T12:49:06.000Z
2021-12-17T12:49:06.000Z
import os import random import shutil file=os.listdir("/media/ubuntu/data/huojianjun/科目四热身赛数据/labelTxt") tv=int(len(file)*0.8) list_one=list(range(1,len(file)+1)) trainval=random.sample(list_one,tv) for i in list_one: if i in trainval: shutil.copy(os.path.join('/media/ubuntu/data/huojianjun/科目四热身赛数据/images/{}.tif...
35.642857
95
0.718771
230
1,497
4.643478
0.226087
0.133895
0.093633
0.140449
0.660112
0.633895
0.543071
0.475655
0.475655
0.475655
0
0.002878
0.071476
1,497
42
96
35.642857
0.765468
0.313293
0
0.222222
0
0
0.493083
0.493083
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e763f7ebf9d6d8985097f30da7f60590ae2ca46
2,680
py
Python
eric/npew2018/npew2018.py
bmoya217/web-scraping
2132d5aafa0a5f29ac934d1e2b4e7082c1d0b3fb
[ "Apache-2.0" ]
null
null
null
eric/npew2018/npew2018.py
bmoya217/web-scraping
2132d5aafa0a5f29ac934d1e2b4e7082c1d0b3fb
[ "Apache-2.0" ]
null
null
null
eric/npew2018/npew2018.py
bmoya217/web-scraping
2132d5aafa0a5f29ac934d1e2b4e7082c1d0b3fb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import os, sys, random, time, datetime from unidecode import unidecode from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support.ui ...
23.508772
136
0.714925
350
2,680
5.36
0.368571
0.029851
0.046908
0.042644
0.280384
0.265458
0.175906
0.137527
0.056503
0.056503
0
0.007739
0.13209
2,680
114
137
23.508772
0.798796
0.123134
0
0.407895
0
0
0.151969
0.041096
0
0
0
0
0
0
null
null
0
0.118421
null
null
0.013158
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e822e81d80c0b1c07364bb01a3b84b67e5df3d5
3,806
py
Python
Aula22 09-12 Class/Aula22_Class.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
Aula22 09-12 Class/Aula22_Class.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
Aula22 09-12 Class/Aula22_Class.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
# 1) O que uma pessoa Tem? Quais as caracteristicas? ''' Atributos ---- variaveis globais ou unicas da class nome | idade | telefone | sexo ''' # 2) O que uma pessoa faz? ''' metodos (função/procedimento) respira | dorme | corre | bebe | come | multiplica ''' # 3) Como a pessoa está agora? ''' (Atributos de estado...
27.57971
82
0.546243
433
3,806
4.764434
0.293303
0.090645
0.042656
0.043626
0.404266
0.389239
0.389239
0.389239
0.389239
0.389239
0
0.03183
0.306621
3,806
138
83
27.57971
0.749905
0.248029
0
0.544118
0
0
0.146175
0
0
0
0
0.021739
0
1
0.088235
false
0
0
0
0.102941
0.102941
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4e860fe7e1be7b451608804c542d5608e90caff2
1,132
py
Python
tests/unit/test_email.py
christopherjmedlin/grocernet
5e45b9fcf72cb7701d57326548010ed2dba13c83
[ "MIT" ]
null
null
null
tests/unit/test_email.py
christopherjmedlin/grocernet
5e45b9fcf72cb7701d57326548010ed2dba13c83
[ "MIT" ]
null
null
null
tests/unit/test_email.py
christopherjmedlin/grocernet
5e45b9fcf72cb7701d57326548010ed2dba13c83
[ "MIT" ]
null
null
null
from grocernet import create_app from grocernet.util import email app = create_app(testing=True) def test_email_token(): secret_key = "sdfjksfd;lasdf" token = email.generate_email_confirmation_token( "user4321234@gmail.com", secret_key) assert token != "user4321234@gmail.com" email_address =...
29.025641
77
0.652827
138
1,132
5.115942
0.369565
0.067989
0.093484
0.067989
0.110482
0.110482
0
0
0
0
0
0.030999
0.230565
1,132
38
78
29.789474
0.779564
0
0
0
1
0
0.165194
0.055654
0
0
0
0
0.269231
1
0.153846
false
0
0.076923
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e883d5cdd4857fc73acb5d695e69bf727480e4f
451
py
Python
sentences/sentence31.py
kelltrill/scifibot
e9dfc55b63a6ff40e9fa268f620ff811c88862a3
[ "MIT" ]
5
2020-03-17T17:04:53.000Z
2020-03-27T12:10:44.000Z
sentences/sentence31.py
kelltrill/scifibot
e9dfc55b63a6ff40e9fa268f620ff811c88862a3
[ "MIT" ]
null
null
null
sentences/sentence31.py
kelltrill/scifibot
e9dfc55b63a6ff40e9fa268f620ff811c88862a3
[ "MIT" ]
null
null
null
from sentences.base_sentence import base_sentence import random class sentence31(base_sentence): def get_sentence(self, components): sentence = 'The border outpost reports a contingent of ' + str(random.randint(2,20)) sentence += ' ' + components['secondary_actor'] sentence += ...
34.692308
93
0.651885
47
451
6.148936
0.659574
0.124567
0.124567
0
0
0
0
0
0
0
0
0.014663
0.243902
451
12
94
37.583333
0.832845
0
0
0
0
0
0.22779
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4e91dd3046149648128ab6ea69472782153c1395
999
py
Python
usergroups/management.py
strange/django-usergroups
4677fc1546da5610e504de8776ae1d513c0ce274
[ "BSD-3-Clause" ]
2
2015-01-13T18:47:33.000Z
2020-04-23T10:58:37.000Z
usergroups/management.py
strange/django-usergroups
4677fc1546da5610e504de8776ae1d513c0ce274
[ "BSD-3-Clause" ]
null
null
null
usergroups/management.py
strange/django-usergroups
4677fc1546da5610e504de8776ae1d513c0ce274
[ "BSD-3-Clause" ]
2
2015-01-13T06:01:31.000Z
2020-10-19T14:05:33.000Z
from django.conf import settings from django.utils.translation import ugettext_noop as _ from django.db.models import signals if "notification" in settings.INSTALLED_APPS: from notification import models as notification def create_notice_types(app, created_models, verbosity, **kwargs): notification.cr...
45.409091
74
0.593594
93
999
6.16129
0.548387
0.08377
0.059337
0.097731
0.17103
0.17103
0
0
0
0
0
0
0.346346
999
21
75
47.571429
0.877489
0
0
0
0
0
0.253253
0.053053
0
0
0
0
0
0
null
null
0
0.235294
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4e937cbdaf2eb33a58d34b87555d18dd39771658
8,974
py
Python
user_service_sdk/api/ldap/config_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
user_service_sdk/api/ldap/config_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
user_service_sdk/api/ldap/config_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: config.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf impo...
40.242152
751
0.740584
1,154
8,974
5.480936
0.142981
0.053123
0.056443
0.032885
0.64332
0.588459
0.561581
0.538498
0.538498
0.530751
0
0.039125
0.128482
8,974
222
752
40.423423
0.769595
0.03967
0
0.65641
1
0.005128
0.186665
0.143919
0
0
0
0
0
1
0
false
0.010256
0.030769
0
0.030769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4ea4a843bf4464dddd591fd39d5b1bdec0d61d58
452
py
Python
Day4/AoC4-Part2.py
KBalding/AdventOfCode2020
a5794af41875f5591a00d2cbaadc731af0617f51
[ "MIT" ]
null
null
null
Day4/AoC4-Part2.py
KBalding/AdventOfCode2020
a5794af41875f5591a00d2cbaadc731af0617f51
[ "MIT" ]
null
null
null
Day4/AoC4-Part2.py
KBalding/AdventOfCode2020
a5794af41875f5591a00d2cbaadc731af0617f51
[ "MIT" ]
null
null
null
passports = [] x=0 vCount=0 keys = {"byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid"} with open("Day4\\test2.txt", "r") as data: passports = [i.replace('\n', ' ').split() for i in data.read().split('\n\n')] for i in passports: print(i) ...
14.125
52
0.431416
57
452
3.421053
0.508772
0.061538
0.092308
0.153846
0.205128
0
0
0
0
0
0
0.024735
0.373894
452
31
53
14.580645
0.664311
0.146018
0
0
0
0
0.115789
0
0
0
0
0
0
1
0
false
0.176471
0
0
0
0.176471
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4ea4f7a08d634b6cf60b45d91d16ef6ec55463f0
5,883
py
Python
vanir/exc.py
VanirLab/VOS
e6cb3e4e391e583e98d548292b5f272320d38cc4
[ "MIT" ]
null
null
null
vanir/exc.py
VanirLab/VOS
e6cb3e4e391e583e98d548292b5f272320d38cc4
[ "MIT" ]
null
null
null
vanir/exc.py
VanirLab/VOS
e6cb3e4e391e583e98d548292b5f272320d38cc4
[ "MIT" ]
null
null
null
''' Vanir OS exception hierarchy ''' class VanirException(Exception): '''Exception that can be shown to the user''' class VanirVMNotFoundError(VanirException, KeyError): '''Domain cannot be found in the system''' def __init__(self, vmname): super(VanirVMNotFoundError, self).__init__( ...
36.092025
81
0.646779
668
5,883
5.47006
0.17515
0.025999
0.054187
0.035577
0.357143
0.287356
0.226601
0.160646
0.095512
0.045977
0
0
0.245453
5,883
163
82
36.092025
0.823158
0.213157
0
0.172414
0
0
0.122121
0
0
0
0
0
0
1
0.206897
false
0
0
0
0.436782
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4eae4d8ce8a0258ddecba2f7b0aa30a560a6d7f4
9,494
py
Python
apps/api/views/user.py
Praetorian-Defence/praetorian-api
181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4
[ "MIT" ]
2
2020-06-29T15:12:04.000Z
2020-10-13T14:18:21.000Z
apps/api/views/user.py
Praetorian-Defence/praetorian-api
181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4
[ "MIT" ]
10
2021-01-04T11:33:38.000Z
2021-05-07T10:23:48.000Z
apps/api/views/user.py
zurek11/praetorian-api
181fa22b043e58b2ac9c5f4eae4c3471a44c9bf4
[ "MIT" ]
null
null
null
import base64 from datetime import datetime from io import BytesIO from http import HTTPStatus import pyotp import qrcode import six from django.conf import settings from django.db import transaction from django.http import HttpResponse from django.utils import timezone from django.utils.crypto import salted_hmac fro...
35.29368
119
0.668212
1,053
9,494
5.837607
0.208927
0.034163
0.026029
0.036441
0.382138
0.349764
0.311697
0.276232
0.263218
0.23361
0
0.003456
0.238045
9,494
268
120
35.425373
0.846281
0
0
0.362791
0
0
0.088372
0.023805
0
0
0
0
0
1
0.051163
false
0.093023
0.134884
0.004651
0.265116
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4eb54db8746473a670f788d8801598999dd566e4
1,625
py
Python
test_fast_inference/tensorrt_inference_py.py
justinblaber/test_fast_inference
78f746a5d153f021687d1c6a945991e2bf96412e
[ "Apache-2.0" ]
null
null
null
test_fast_inference/tensorrt_inference_py.py
justinblaber/test_fast_inference
78f746a5d153f021687d1c6a945991e2bf96412e
[ "Apache-2.0" ]
null
null
null
test_fast_inference/tensorrt_inference_py.py
justinblaber/test_fast_inference
78f746a5d153f021687d1c6a945991e2bf96412e
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: tensorrt_inference_py.ipynb (unless otherwise specified). __all__ = ['tensorrt_inference'] # Cell import pycuda.autoinit import pycuda.driver as cuda import fire import torch import numpy as np import tensorrt as trt import matplotlib.pyplot as plt # Cell trt.init_libnvin...
30.660377
101
0.717538
249
1,625
4.441767
0.445783
0.01085
0.0434
0.056962
0.111212
0.090416
0.090416
0.090416
0.090416
0.090416
0
0.008166
0.171077
1,625
53
102
30.660377
0.812918
0.178462
0
0
1
0
0.022642
0
0
0
0
0
0
1
0.030303
false
0
0.212121
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4eb8c7bab647da47948df0f62f350d1317cb7bcb
4,143
py
Python
internetradio.py
pathakraul/internetradio-client
aca8cf78912bafb1bcb89b24dceeb4d4f78baa2d
[ "MIT" ]
null
null
null
internetradio.py
pathakraul/internetradio-client
aca8cf78912bafb1bcb89b24dceeb4d4f78baa2d
[ "MIT" ]
null
null
null
internetradio.py
pathakraul/internetradio-client
aca8cf78912bafb1bcb89b24dceeb4d4f78baa2d
[ "MIT" ]
null
null
null
#!/usr/bin/python # Internet Radio Client using Shoutcast service # to search and play random channels with genre search # Usage ./internetradio.py --genre <GENRE> import os import logging import argparse import requests as rq import xml.etree.ElementTree as et #-----------------------------------------------------...
39.084906
186
0.485397
376
4,143
5.303191
0.452128
0.015045
0.015045
0.010532
0.037111
0
0
0
0
0
0
0.013695
0.153995
4,143
105
187
39.457143
0.555207
0.299783
0
0.033333
0
0.016667
0.204046
0.037819
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4eb999de2003bca3d1b91aefab701f0c13ef263d
462
py
Python
text_manipulation/filter_comment_by_single_line_style.py
daineseh/python_code
1c2c45a62329fbc87ed9a486b3382b112948ba73
[ "MIT" ]
null
null
null
text_manipulation/filter_comment_by_single_line_style.py
daineseh/python_code
1c2c45a62329fbc87ed9a486b3382b112948ba73
[ "MIT" ]
null
null
null
text_manipulation/filter_comment_by_single_line_style.py
daineseh/python_code
1c2c45a62329fbc87ed9a486b3382b112948ba73
[ "MIT" ]
null
null
null
#! /usr/bin/env python2 ''' Created on Oct 29, 2014 @author: daineseh ''' def comment_filter(comment_char, file_path): assert isinstance(file_path, str) filtered_list = [] for line in open(file_path): li = line.strip() if li.startswith(comment_char): continue filtere...
17.769231
44
0.640693
60
462
4.633333
0.683333
0.086331
0
0
0
0
0
0
0
0
0
0.022792
0.24026
462
25
45
18.48
0.769231
0.047619
0
0
0
0
0.023136
0
0
0
0
0
0.083333
0
null
null
0
0.083333
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ebed84ed245705c29aba69a8d1221fde3875bfc
703
py
Python
metapp2/meeting_agenda/models.py
phamtrisi/metapp2
cde00d4ca8c4a29b824e5089bb0d3576137e6122
[ "BSD-3-Clause" ]
null
null
null
metapp2/meeting_agenda/models.py
phamtrisi/metapp2
cde00d4ca8c4a29b824e5089bb0d3576137e6122
[ "BSD-3-Clause" ]
null
null
null
metapp2/meeting_agenda/models.py
phamtrisi/metapp2
cde00d4ca8c4a29b824e5089bb0d3576137e6122
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import datetime as dt from flask.ext.login import UserMixin from metapp2.extensions import bcrypt from metapp2.database import ( Column, db, Model, ReferenceCol, relationship, SurrogatePK ) class Meeting_Agenda(SurrogatePK, Model): __tablename__ = 'meeting_agendas'...
27.038462
90
0.711238
83
703
5.746988
0.53012
0.092243
0.050314
0.079665
0
0
0
0
0
0
0
0.008757
0.187767
703
26
91
27.038462
0.82662
0.029872
0
0
0
0
0.054332
0
0
0
0
0
0
1
0.1
false
0
0.2
0.05
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4ec149f049c7ee3545a42a09ad02ad0096ec5192
4,403
py
Python
BirdRoostDetection/BuildModels/ShallowCNN/GenerateHeatMap.py
carmenchilson/BirdRoostDetection
5b32069f41d25ca260b5be7d871904b1a8fd0200
[ "MIT" ]
null
null
null
BirdRoostDetection/BuildModels/ShallowCNN/GenerateHeatMap.py
carmenchilson/BirdRoostDetection
5b32069f41d25ca260b5be7d871904b1a8fd0200
[ "MIT" ]
null
null
null
BirdRoostDetection/BuildModels/ShallowCNN/GenerateHeatMap.py
carmenchilson/BirdRoostDetection
5b32069f41d25ca260b5be7d871904b1a8fd0200
[ "MIT" ]
1
2018-09-06T04:00:23.000Z
2018-09-06T04:00:23.000Z
import os import sys import matplotlib.pyplot as plt import numpy as np import BirdRoostDetection.BuildModels.ShallowCNN.model as ml_model import BirdRoostDetection.LoadSettings as settings from BirdRoostDetection import utils from BirdRoostDetection.BuildModels import ml_utils from BirdRoostDetection.ReadData import...
34.669291
78
0.611401
580
4,403
4.424138
0.27069
0.049104
0.039751
0.034295
0.226033
0.20226
0.20226
0.20226
0.156664
0.123149
0
0.0241
0.274358
4,403
126
79
34.944444
0.77903
0.006132
0
0.068627
0
0
0.031786
0
0
0
0
0
0.009804
0
null
null
0
0.088235
null
null
0.039216
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ec2dfcfdd1bdbaa5b6ef8e881f9e1b7ca1a41f2
34,425
py
Python
skipole/ski/widgets/checkbox.py
bernie-skipole/skipole
b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9
[ "MIT" ]
null
null
null
skipole/ski/widgets/checkbox.py
bernie-skipole/skipole
b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9
[ "MIT" ]
null
null
null
skipole/ski/widgets/checkbox.py
bernie-skipole/skipole
b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9
[ "MIT" ]
null
null
null
"""Contains widgets displaying checkboxes""" from .. import skiboot, tag, excepts from . import Widget, ClosedWidget, FieldArg, FieldArgList, FieldArgTable, FieldArgDict class CheckBox1(Widget): """A div holding a checkbox. Without a form or submit button, typically included within a form""" error_locati...
50.699558
151
0.596078
4,407
34,425
4.48786
0.068527
0.048842
0.074628
0.105724
0.742643
0.703711
0.665537
0.612347
0.582213
0.558904
0
0.01283
0.264139
34,425
678
152
50.774336
0.767922
0.221845
0
0.526998
0
0.010799
0.282551
0.00793
0
0
0
0
0
1
0.045356
false
0
0.00432
0
0.118791
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14c47ffc673623ec8b575942c3297c8937a52cc3
557
py
Python
athena/works/urls.py
antonyryan/athena-backend-Django-
6119a71eca0deefa3fffa5e5caff1de87b3ea2c3
[ "MIT" ]
5
2019-09-09T23:07:07.000Z
2020-05-28T15:57:21.000Z
athena/works/urls.py
antonyryan/athena-backend-Django-
6119a71eca0deefa3fffa5e5caff1de87b3ea2c3
[ "MIT" ]
null
null
null
athena/works/urls.py
antonyryan/athena-backend-Django-
6119a71eca0deefa3fffa5e5caff1de87b3ea2c3
[ "MIT" ]
1
2020-05-28T15:57:25.000Z
2020-05-28T15:57:25.000Z
from django.urls import path from rest_framework import routers from athena.works.models import Report, Task from .views import ReportViewSet, TaskViewSet, document_view, report_from_task_view router = routers.DefaultRouter() router.register("reports", ReportViewSet) router.register("tasks", TaskViewSet) urlpattern...
29.315789
83
0.761221
71
557
5.816901
0.380282
0.087167
0.087167
0.087167
0.140436
0.140436
0
0
0
0
0
0
0.102334
557
18
84
30.944444
0.826
0
0
0
0
0
0.186715
0.165171
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
14c508e2d67a0754b5381f9553c1c63479680953
2,077
py
Python
tests/bugs/core_3860_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_3860_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_3860_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: bugs.core_3860 # title: Trace API: Faulty database filter crashes server # decription: # Confirmed crash on 2.5.1.26351, got on console: # === # Unable to complete network request to host "localhost". # ...
36.438596
154
0.582571
265
2,077
4.475472
0.562264
0.008432
0.006745
0.020236
0
0
0
0
0
0
0
0.049027
0.33221
2,077
56
155
37.089286
0.806056
0.82908
0
0
0
0
0.079114
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14c56b82df7b852964bd0f99cc68a481a744b5b8
1,300
py
Python
accounts/migrations/0001_initial.py
GDGSNF/My-Business
792bb13a5b296260e5de7e03fba6445a13922851
[ "MIT" ]
21
2020-08-29T14:32:13.000Z
2021-08-28T21:40:32.000Z
accounts/migrations/0001_initial.py
GDGSNF/My-Business
792bb13a5b296260e5de7e03fba6445a13922851
[ "MIT" ]
1
2020-10-11T21:56:15.000Z
2020-10-11T21:56:15.000Z
accounts/migrations/0001_initial.py
GDGSNF/My-Business
792bb13a5b296260e5de7e03fba6445a13922851
[ "MIT" ]
5
2020-09-08T00:38:11.000Z
2021-04-14T11:17:03.000Z
# Generated by Django 2.2.12 on 2020-05-09 22:07 from django.db import migrations, models import accounts.managers class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Account", fields=[ ("...
30.952381
88
0.476923
106
1,300
5.735849
0.603774
0.059211
0.088816
0.118421
0.098684
0.098684
0
0
0
0
0
0.033766
0.407692
1,300
41
89
31.707317
0.755844
0.035385
0
0.151515
1
0
0.105431
0
0
0
0
0
0
1
0
false
0.030303
0.060606
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14c5fc84159f60d6760d3486db767c548524e061
19,223
py
Python
tests/test_catalog.py
kstoreyf/TreeCorr
f81b4b762c8672b9047ed045c300730cc2983eb0
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
tests/test_catalog.py
kstoreyf/TreeCorr
f81b4b762c8672b9047ed045c300730cc2983eb0
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
tests/test_catalog.py
kstoreyf/TreeCorr
f81b4b762c8672b9047ed045c300730cc2983eb0
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
# Copyright (c) 2003-2015 by Mike Jarvis # # TreeCorr is free software: redistribution and use in source and binary forms, # with or without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of condi...
41.698482
100
0.651667
2,888
19,223
4.167936
0.12777
0.107668
0.161502
0.189416
0.635374
0.621168
0.578383
0.471546
0.37609
0.337293
0
0.070076
0.203454
19,223
460
101
41.78913
0.71604
0.109244
0
0.276056
0
0.002817
0.083343
0.004978
0
0
0
0
0.309859
1
0.016901
false
0
0.016901
0
0.033803
0.014085
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14c74b637de855754be1cb8a1bea5efb98d11213
343
py
Python
analytics/context_processors.py
felipecerinzasick/blog
fbe2b3d7ecc2937a31a925d50f7112a299b9da3e
[ "MIT" ]
null
null
null
analytics/context_processors.py
felipecerinzasick/blog
fbe2b3d7ecc2937a31a925d50f7112a299b9da3e
[ "MIT" ]
null
null
null
analytics/context_processors.py
felipecerinzasick/blog
fbe2b3d7ecc2937a31a925d50f7112a299b9da3e
[ "MIT" ]
null
null
null
from django.conf import settings def base_settings(request): is_fb_connected = False user = request.user if user.is_authenticated: is_fb_connected = bool(user.get_social_auth_obj()) return { "base_settings": { "debug": settings.DEBUG, }, "is_fb_connected": i...
21.4375
58
0.632653
41
343
4.95122
0.536585
0.078818
0.256158
0
0
0
0
0
0
0
0
0
0.274052
343
15
59
22.866667
0.815261
0
0
0
0
0
0.096491
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14c7d5d1bab78c1c52aceebd6829fbd647976c69
2,616
py
Python
google-datacatalog-tableau-connector/src/google/datacatalog_connectors/tableau/sync/dashboards_synchronizer.py
Parkman328/datacatalog-connectors-bi
630de336617728713779d7224eeab140d5abaec2
[ "Apache-2.0" ]
27
2020-04-27T21:55:49.000Z
2022-02-18T22:09:13.000Z
google-datacatalog-tableau-connector/src/google/datacatalog_connectors/tableau/sync/dashboards_synchronizer.py
Parkman328/datacatalog-connectors-bi
630de336617728713779d7224eeab140d5abaec2
[ "Apache-2.0" ]
36
2020-05-01T15:26:14.000Z
2022-03-26T00:09:19.000Z
google-datacatalog-tableau-connector/src/google/datacatalog_connectors/tableau/sync/dashboards_synchronizer.py
Parkman328/datacatalog-connectors-bi
630de336617728713779d7224eeab140d5abaec2
[ "Apache-2.0" ]
18
2020-04-30T22:14:09.000Z
2022-01-13T10:28:03.000Z
#!/usr/bin/python # # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
39.636364
76
0.706804
298
2,616
5.83557
0.42953
0.075906
0.043703
0.018401
0.348476
0.26452
0.26452
0.182864
0.182864
0.182864
0
0.004032
0.24159
2,616
65
77
40.246154
0.87248
0.256116
0
0
0
0
0
0
0
0
0
0
0
1
0.135135
false
0.054054
0.054054
0.081081
0.324324
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
14d5ae023b12debcd643215391e8ff6edfcaa748
450
py
Python
firmware/serial/readid.py
leonhiem/codeswitch2
92dee588035c4d9ea1e624af8b845418793bc1a8
[ "MIT" ]
null
null
null
firmware/serial/readid.py
leonhiem/codeswitch2
92dee588035c4d9ea1e624af8b845418793bc1a8
[ "MIT" ]
null
null
null
firmware/serial/readid.py
leonhiem/codeswitch2
92dee588035c4d9ea1e624af8b845418793bc1a8
[ "MIT" ]
null
null
null
#!/usr/bin/python import serial import time from sys import platform if 'linux' in platform: comport='/dev/ttyUSB0' elif 'win' in platform: comport='COM1' # flush the banner: ser=serial.Serial(comport,9600,timeout=1) banner=ser.read(1000) ser.close() print "chipID: " ser=serial.Serial(comport,9600,timeout=1) ...
16.666667
41
0.704444
74
450
4.283784
0.459459
0.07571
0.094637
0.104101
0.514196
0.394322
0.214511
0
0
0
0
0.0675
0.111111
450
26
42
17.307692
0.725
0.075556
0
0.235294
0
0
0.084541
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14d6ae38da663d2ade56e2d5d027f0565e4fb7b9
468
py
Python
babyrobot/src/asr/src/asr_client.py
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
1
2019-02-07T15:32:06.000Z
2019-02-07T15:32:06.000Z
babyrobot/src/asr/src/asr_client.py
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
9
2020-01-28T22:09:41.000Z
2022-03-11T23:39:17.000Z
babyrobot/src/asr/src/asr_client.py
babyrobot-eu/core-modules
7e8c006c40153fb649208c9a78fc71aa70243f69
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from babyrobot.asr import client as asr_client from babyrobot.asr import config as asr_config from babyrobot.lib.utils import mock_audio_segment if __name__ == "__main__": rospy.init_node(asr_config.ROS_CONFIG.CLIENT_NODE) clip = mock_audio_segment(asr_config.TEST.WAV_SAMPL...
31.2
76
0.777778
68
468
5.044118
0.529412
0.113703
0.093294
0.12828
0
0
0
0
0
0
0
0
0.128205
468
14
77
33.428571
0.840686
0.194444
0
0
0
0
0.021333
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
14d839b23b594440c289c2062bdc563607cdf374
416
py
Python
transcription_analysis/urls.py
dighr/AudioAnalysis
b22d1afd00a1834dbd5e2a87418e8299a4fdd29d
[ "MIT" ]
4
2018-12-13T04:36:40.000Z
2022-02-27T23:52:37.000Z
transcription_analysis/urls.py
dighr/AudioAnalysis
b22d1afd00a1834dbd5e2a87418e8299a4fdd29d
[ "MIT" ]
40
2018-11-07T19:46:34.000Z
2020-04-04T16:42:48.000Z
transcription_analysis/urls.py
dighr/AudioAnalysis
b22d1afd00a1834dbd5e2a87418e8299a4fdd29d
[ "MIT" ]
1
2020-09-12T14:49:01.000Z
2020-09-12T14:49:01.000Z
from django.urls import path from . import views urlpatterns = [ path('text/analyze', views.TextAnalysisView().as_view(), name='text-analysis'), path('text/translate', views.TranslationView.as_view(), name='text-translation'), path('audio/analyze', views.AudioAnalysisView.as_view(), name='audio-analysis'),...
41.6
92
0.730769
49
416
6.122449
0.44898
0.08
0.133333
0.093333
0
0
0
0
0
0
0
0
0.098558
416
9
93
46.222222
0.8
0
0
0
0
0
0.28125
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
1
14e52871f69f89e32b63e39755e03a689f2d5ba5
772
py
Python
isitopen/model/meta.py
oki-archive/isitopen
828288ed4ede395aceeb96cd798eb028431dde06
[ "OML" ]
1
2018-08-01T07:10:24.000Z
2018-08-01T07:10:24.000Z
isitopen/model/meta.py
oki-archive/isitopen
828288ed4ede395aceeb96cd798eb028431dde06
[ "OML" ]
null
null
null
isitopen/model/meta.py
oki-archive/isitopen
828288ed4ede395aceeb96cd798eb028431dde06
[ "OML" ]
null
null
null
import logging logger = logging.getLogger(__name__) from pylons import config from sqlalchemy import Column, MetaData, Table, types, ForeignKey from sqlalchemy import orm from sqlalchemy import or_ from sqlalchemy.types import * metadata = MetaData(bind=config['pylons.g'].sa_engine) ## ------------------------------...
27.571429
77
0.721503
90
772
6.066667
0.466667
0.153846
0.10989
0.062271
0.263736
0.113553
0.113553
0
0
0
0
0
0.126943
772
27
78
28.592593
0.810089
0.259067
0
0
0
0
0.028419
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
14e624e08b854f6bff4c02823c1e0fb934941af5
2,699
py
Python
codes/python/basics_in_machine_learning/dataaugmentation.py
agnes-yang/TensorFlow-Course
3ac35a2e8766652f4dae507ef1e3615b2085f9a7
[ "MIT" ]
7,040
2018-10-02T20:02:10.000Z
2018-12-11T21:00:40.000Z
codes/python/basics_in_machine_learning/dataaugmentation.py
agnes-yang/TensorFlow-Course
3ac35a2e8766652f4dae507ef1e3615b2085f9a7
[ "MIT" ]
12
2019-04-03T15:32:18.000Z
2020-07-06T13:18:41.000Z
codes/python/basics_in_machine_learning/dataaugmentation.py
agnes-yang/TensorFlow-Course
3ac35a2e8766652f4dae507ef1e3615b2085f9a7
[ "MIT" ]
1,633
2019-02-16T00:04:51.000Z
2020-09-04T23:23:07.000Z
# -*- coding: utf-8 -*- """dataaugmentation.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1ibfKtpxC_hIhZlPbefCoqpAS7jTdyiFw """ import tensorflow as tf import tensorflow_datasets as tfds # Import TensorFlow datasets import urllib import tensorf...
35.513158
113
0.78103
409
2,699
5.007335
0.391198
0.026367
0.035156
0.025391
0.110352
0.110352
0.075195
0.075195
0.041016
0.041016
0
0.0126
0.117821
2,699
76
114
35.513158
0.847543
0.283438
0
0.043478
1
0
0.086252
0
0
0
0
0
0.021739
1
0.021739
false
0
0.152174
0
0.173913
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14e7b7ab182a941502cd4ac4c06c3082fc32cbc9
3,601
py
Python
core/view.py
brucewayne00/SocialFish
32345ac90780a50d8120b1f2bbfb4bd075cf856c
[ "BSD-3-Clause" ]
1
2018-07-07T19:12:48.000Z
2018-07-07T19:12:48.000Z
core/view.py
brucewayne00/SocialFish
32345ac90780a50d8120b1f2bbfb4bd075cf856c
[ "BSD-3-Clause" ]
null
null
null
core/view.py
brucewayne00/SocialFish
32345ac90780a50d8120b1f2bbfb4bd075cf856c
[ "BSD-3-Clause" ]
null
null
null
###################################################### # # # SOCIALFISH v2.0sharkNet # # # # by: UNDEADSEC # # ...
39.141304
111
0.297973
287
3,601
4.125436
0.393728
0.111486
0.136824
0.155405
0.242399
0.122466
0.070946
0.070946
0.070946
0.070946
0
0.007539
0.48431
3,601
91
112
39.571429
0.522348
0.094696
0
0.138462
0
0.030769
0.836714
0.014633
0
0
0
0
0
1
0.123077
false
0
0.030769
0
0.153846
0.123077
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
14ebd081aae144b648666d2d6ab024a7119b5e4b
639
py
Python
update_field_occurence_for_project_layers.py
Yolecomte/pyqgis_utility
78d67e2d9c8e93f807dcd55230886d5b81278f07
[ "WTFPL" ]
2
2018-12-08T02:47:51.000Z
2020-11-12T19:30:12.000Z
update_field_occurence_for_project_layers.py
Yolecomte/pyqgis_utility
78d67e2d9c8e93f807dcd55230886d5b81278f07
[ "WTFPL" ]
null
null
null
update_field_occurence_for_project_layers.py
Yolecomte/pyqgis_utility
78d67e2d9c8e93f807dcd55230886d5b81278f07
[ "WTFPL" ]
null
null
null
# -*- coding: utf-8 -*- for layer in QgsMapLayerRegistry.instance().mapLayers().values(): for field in layer.pendingFields(): if field.name() == 'etat': print layer.name() layer.startEditing() for feat in layer.getFeatures(): print fea...
42.6
102
0.477308
57
639
5.350877
0.54386
0.045902
0.091803
0
0
0
0
0
0
0
0
0.002551
0.386541
639
15
103
42.6
0.77551
0.161189
0
0
0
0
0.084428
0
0
0
0
0
0
0
null
null
0
0
null
null
0.3
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
14f1988891037743ebaf3b80e4d9c55acab9d0a5
1,117
py
Python
ersteops/home/views.py
Prescrypto/ErsteOps
0b744173fb4f500003c96c4dcb26fb67d6eaa5ec
[ "MIT" ]
null
null
null
ersteops/home/views.py
Prescrypto/ErsteOps
0b744173fb4f500003c96c4dcb26fb67d6eaa5ec
[ "MIT" ]
33
2017-11-24T19:44:57.000Z
2022-02-12T07:02:53.000Z
ersteops/home/views.py
Prescrypto/ErsteOps
0b744173fb4f500003c96c4dcb26fb67d6eaa5ec
[ "MIT" ]
1
2017-12-11T09:15:04.000Z
2017-12-11T09:15:04.000Z
import logging from django.shortcuts import render, redirect from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required def home(request): ''' Login page ''' logger = logging.getLogger('django_info') login_template = "home/login.html" if not r...
32.852941
120
0.675022
128
1,117
5.820313
0.382813
0.040268
0.045638
0.056376
0.15302
0
0
0
0
0
0
0
0.217547
1,117
33
121
33.848485
0.852403
0.019696
0
0
0
0
0.178704
0
0
0
0
0
0
1
0.08
false
0.12
0.16
0
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
14f70d5ac099f1163a9ce33c6338eeba6f4c0796
1,125
py
Python
api/main.py
databuzzword/ai-api-marketplace
f4cd993c19d52d8ff2613bf073316ec137e3fbd2
[ "MIT" ]
null
null
null
api/main.py
databuzzword/ai-api-marketplace
f4cd993c19d52d8ff2613bf073316ec137e3fbd2
[ "MIT" ]
null
null
null
api/main.py
databuzzword/ai-api-marketplace
f4cd993c19d52d8ff2613bf073316ec137e3fbd2
[ "MIT" ]
null
null
null
from fastapi import Depends, FastAPI #from .image.image.uncolorization import users app = FastAPI() import importlib import pkgutil def import_submodules(package, recursive=True): """ Import all submodules of a module, recursively, including subpackages :param package: package (name or actual module) ...
25.568182
105
0.673778
134
1,125
5.455224
0.447761
0.065663
0.057456
0
0
0
0
0
0
0
0
0
0.215111
1,125
43
106
26.162791
0.82786
0.202667
0
0
0
0
0.032147
0
0
0
0
0
0
1
0.041667
false
0
0.375
0
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
14ff9fb794826cf0cebdde04748c8decdb6d829f
3,619
py
Python
automation/automation.py
douglasdcm/easy_automation
3d5c59acbb270f7ff0428ef183dd7025d36c04d0
[ "MIT" ]
2
2021-12-10T23:37:51.000Z
2021-12-24T12:50:15.000Z
automation/automation.py
douglasdcm/easy_automation
3d5c59acbb270f7ff0428ef183dd7025d36c04d0
[ "MIT" ]
null
null
null
automation/automation.py
douglasdcm/easy_automation
3d5c59acbb270f7ff0428ef183dd7025d36c04d0
[ "MIT" ]
null
null
null
import logging from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.support import wait from src.settings import DEBUG, TIMEOUT class BaseObjects: def __init__(self, driver): self._driver = driver self._...
41.125
120
0.679746
461
3,619
5.091106
0.193059
0.069024
0.127397
0.050703
0.425224
0.293566
0.258628
0.18023
0.1487
0.126971
0
0.002426
0.202542
3,619
87
121
41.597701
0.810811
0.00304
0
0.03125
0
0
0.09509
0.008465
0
0
0
0
0
1
0.25
false
0
0.078125
0.046875
0.484375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
09075637b794871ebcc6b92567af4b676331d0d9
373
py
Python
readTag.py
pmthomps/pyNfcSonos
ddaa01ddadc9b0a6b88aaf35607c948396ba2436
[ "Apache-2.0" ]
null
null
null
readTag.py
pmthomps/pyNfcSonos
ddaa01ddadc9b0a6b88aaf35607c948396ba2436
[ "Apache-2.0" ]
null
null
null
readTag.py
pmthomps/pyNfcSonos
ddaa01ddadc9b0a6b88aaf35607c948396ba2436
[ "Apache-2.0" ]
null
null
null
import nfc import nfc.ndef import ndef def connected(tag): print "on card: ", tag.ndef.message.pretty() if tag.ndef else "sorry no NDEF" for record in tag.ndef.records: print(record) return False if __name__ == "__main__": with nfc.ContactlessFrontend("tty:S0:pn532") as clf: print clf ...
23.3125
81
0.664879
53
373
4.528302
0.603774
0.0875
0
0
0
0
0
0
0
0
0
0.013699
0.217158
373
15
82
24.866667
0.808219
0
0
0
0
0
0.139785
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
090f49521a6003d0df8e75a5476b86110c0b39f2
848
py
Python
src/my_project/easy_problems/from151To200/surface_area_of_3d.py
ivan1016017/LeetCodeAlgorithmProblems
454284b76634cc34ed41f7fa30d857403cedf1bf
[ "MIT" ]
null
null
null
src/my_project/easy_problems/from151To200/surface_area_of_3d.py
ivan1016017/LeetCodeAlgorithmProblems
454284b76634cc34ed41f7fa30d857403cedf1bf
[ "MIT" ]
1
2021-09-22T12:26:14.000Z
2021-09-22T12:26:14.000Z
src/my_project/easy_problems/from151To200/surface_area_of_3d.py
ivan1016017/LeetCodeAlgorithmProblems
454284b76634cc34ed41f7fa30d857403cedf1bf
[ "MIT" ]
null
null
null
from typing import List class Solution: def surfaceArea(self, grid: List[List[int]]) -> int: solution: int = 0 x = len(grid) y = len(grid[0]) for i in range(x): for j in range(y): if grid[i][j] != 0: solution += 2 + grid[i][j]*4 ...
22.918919
68
0.476415
124
848
3.258065
0.225806
0.074257
0.074257
0.346535
0.480198
0.267327
0.118812
0.118812
0.118812
0
0
0.066667
0.32783
848
36
69
23.555556
0.642105
0
0
0
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0.047619
0
0.190476
0.238095
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
091953c57f3bda78d3e43b6c8c2e7d9af6b7baef
834
py
Python
data/items_good.py
HansGR/WorldsCollide
af227be553e120ee004b130598360c61daf7df59
[ "MIT" ]
null
null
null
data/items_good.py
HansGR/WorldsCollide
af227be553e120ee004b130598360c61daf7df59
[ "MIT" ]
null
null
null
data/items_good.py
HansGR/WorldsCollide
af227be553e120ee004b130598360c61daf7df59
[ "MIT" ]
1
2022-01-17T01:01:34.000Z
2022-01-17T01:01:34.000Z
from data.item_names import name_id good_items = [ name_id["ValiantKnife"], name_id["Illumina"], name_id["Ragnarok"], name_id["Pearl Lance"], name_id["Aura Lance"], name_id["Magus Rod"], name_id["Fixed Dice"], name_id["Aegis Shld"], name_id["Flame Shld"], name_id["Ice Shld"], ...
24.529412
35
0.609113
118
834
4.033898
0.40678
0.378151
0.147059
0
0
0
0
0
0
0
0
0
0.211031
834
33
36
25.272727
0.723404
0
0
0
0
0
0.344125
0
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
091d3463d169d821b58269f809dc1a2ace102203
2,140
py
Python
python-trunk/sfapi3/src/tests/SfdcConnection_test.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
python-trunk/sfapi3/src/tests/SfdcConnection_test.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
python-trunk/sfapi3/src/tests/SfdcConnection_test.py
raychorn/svn_molten-magma
8aa2ff2340707eecae6514943e86f5afba9cd54a
[ "CC0-1.0" ]
null
null
null
import unittest from Properties import Properties from SfdcConnection import SfdcConnection from SObjectClassFactory import SObjectClassFactory from SfdcApiFault import SfdcApiFaultFactory from SfdcDatetime import SfdcDatetime import types import datetime class SfdcConnection_test(unittest.TestCase): def se...
27.435897
89
0.633645
218
2,140
6.110092
0.348624
0.082583
0.063063
0.033033
0.132132
0.066066
0.066066
0.066066
0
0
0
0.001924
0.271495
2,140
77
90
27.792208
0.85247
0.106075
0
0.2
0
0
0.022269
0
0
0
0
0
0.2
1
0.2
false
0.145455
0.145455
0
0.490909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
091d490dff290372f3fd4b2297be2cb759b7a581
2,737
py
Python
service/writestudytodatastore.py
curtislisle/DragAndDropExample
0056be872d22de7c879170a115525efdfdf0b0db
[ "MIT" ]
1
2018-06-02T00:14:11.000Z
2018-06-02T00:14:11.000Z
service/writestudytodatastore.py
curtislisle/DragAndDropExample
0056be872d22de7c879170a115525efdfdf0b0db
[ "MIT" ]
null
null
null
service/writestudytodatastore.py
curtislisle/DragAndDropExample
0056be872d22de7c879170a115525efdfdf0b0db
[ "MIT" ]
null
null
null
# # file: converttabletojson.py # title: convert a CSV string from a dropped file into json documents and store them in mongo # # modified: # CRL - 4/26/14 - found upload was storing numbers as strings (e.g. '5.43') instead of as numbers. added conversion. import bson.json_util import pymongo import json from bson ...
32.2
127
0.691268
366
2,737
5.142077
0.469945
0.017003
0.025505
0.01169
0.032944
0.032944
0
0
0
0
0
0.014755
0.232371
2,737
84
128
32.583333
0.881009
0.462185
0
0.177778
0
0
0.082126
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
09267b336a9cae5493f9fa51ed2e2882df85f53d
287
py
Python
pretix_covid_certificates/urls.py
pretix/pretix-covid-certificates
1b752b8eb2e31e38d10c0ba7feba28f740b7b5e7
[ "Apache-2.0" ]
null
null
null
pretix_covid_certificates/urls.py
pretix/pretix-covid-certificates
1b752b8eb2e31e38d10c0ba7feba28f740b7b5e7
[ "Apache-2.0" ]
2
2021-12-09T23:27:41.000Z
2022-02-23T08:29:05.000Z
pretix_covid_certificates/urls.py
pretix/pretix-covid-certificates
1b752b8eb2e31e38d10c0ba7feba28f740b7b5e7
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from pretix_covid_certificates.views import CovidCertificatesSettings urlpatterns = [ url( r"^control/event/(?P<organizer>[^/]+)/(?P<event>[^/]+)/covidcerts/$", CovidCertificatesSettings.as_view(), name="settings", ), ]
23.916667
77
0.658537
28
287
6.642857
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.1777
287
11
78
26.090909
0.788136
0
0
0
0
0
0.254355
0.226481
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09317fbc89ac83f893bbb254e637ef3c9f6ba47b
1,096
py
Python
mws/future_utils/xml.py
artemijan/python-amazon-mws
f7537aa9d82212526f20fda3e3e6bf05b328f0fd
[ "Unlicense" ]
4
2017-07-14T14:24:54.000Z
2018-02-04T22:49:22.000Z
mws/future_utils/xml.py
artemijan/python-amazon-mws
f7537aa9d82212526f20fda3e3e6bf05b328f0fd
[ "Unlicense" ]
1
2021-06-05T00:05:06.000Z
2021-06-05T00:05:06.000Z
mws/future_utils/xml.py
artemijan/python-amazon-mws
f7537aa9d82212526f20fda3e3e6bf05b328f0fd
[ "Unlicense" ]
4
2015-07-14T21:51:58.000Z
2016-10-18T13:52:34.000Z
"""Utilities for working with XML documents, particularly those that are returned in a majority of MWS responses. """ import re from mws.future_utils.collections import DotDict # from mws.utils import DotDict MWS_ENCODING = "iso-8859-1" """Amazon documents this as the encoding to expect in responses. If it doesn't w...
33.212121
88
0.719891
159
1,096
4.867925
0.528302
0.042636
0.023256
0.028424
0.136951
0.136951
0.136951
0.136951
0.136951
0.136951
0
0.012101
0.17062
1,096
32
89
34.25
0.839384
0.251825
0
0.142857
0
0
0.171761
0.049491
0
0
0
0
0
1
0.214286
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
093b1ed5d6123119f4c97ec9fb4b921a97b50859
502
py
Python
log-an/change_time.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
1
2020-06-04T08:44:09.000Z
2020-06-04T08:44:09.000Z
log-an/change_time.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
null
null
null
log-an/change_time.py
zhangyage/Python-oldboy
a95c1b465929e2be641e425fcb5e15b366800831
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- import time #将uninx转换为date的时间格式 def timestamp_datetime(value): format = '%Y-%m-%d %H:%M:%S' value = time.localtime(value) dt = time.strftime(format,value) return dt def datetime_timestamp(value): time.strptime(value, '%m/%d/%Y:%H:%M:%S') #将字符串转化为指定...
22.818182
62
0.657371
75
502
4.346667
0.48
0.018405
0.027607
0.110429
0.141104
0.141104
0.141104
0.141104
0.141104
0
0
0.056604
0.155378
502
22
63
22.818182
0.712264
0.149402
0
0
0
0
0.162736
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
093bcd0b34813ba19bf8481bc0518b5a4dc9a07a
279
py
Python
src/unittest/python/helloworld_tests.py
prthomas/python-starter-kit
ae01e41e792a8f6236ccaaeee5dd766f30867bb1
[ "Apache-2.0" ]
null
null
null
src/unittest/python/helloworld_tests.py
prthomas/python-starter-kit
ae01e41e792a8f6236ccaaeee5dd766f30867bb1
[ "Apache-2.0" ]
null
null
null
src/unittest/python/helloworld_tests.py
prthomas/python-starter-kit
ae01e41e792a8f6236ccaaeee5dd766f30867bb1
[ "Apache-2.0" ]
null
null
null
from mockito import mock, verify import unittest from helloworld import helloworld class HelloWorldTest(unittest.TestCase): def test_should_issue_hello_world_message(self): out = mock() helloworld(out) verify(out).write("Hello world of Python\n")
21.461538
52
0.727599
35
279
5.657143
0.657143
0.10101
0
0
0
0
0
0
0
0
0
0
0.197133
279
12
53
23.25
0.883929
0
0
0
0
0
0.082437
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
093cd0573f6a05502bc51bab2748bd3558226c03
868
py
Python
tests/components/nuheat/test_init.py
tbarbette/core
8e58c3aa7bc8d2c2b09b6bd329daa1c092d52d3c
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
tests/components/nuheat/test_init.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
tests/components/nuheat/test_init.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""NuHeat component tests.""" from unittest.mock import patch from homeassistant.components.nuheat.const import DOMAIN from .mocks import MOCK_CONFIG_ENTRY, _get_mock_nuheat from tests.common import MockConfigEntry VALID_CONFIG = { "nuheat": {"username": "warm", "password": "feet", "devices": "thermostat123"} }...
31
82
0.721198
107
868
5.588785
0.457944
0.091973
0.09699
0.080268
0.120401
0.120401
0
0
0
0
0
0.004132
0.163594
868
27
83
32.148148
0.819559
0.026498
0
0
0
0
0.157828
0.056818
0
0
0
0
0.055556
1
0
false
0.111111
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0949401446999f723708c097c7cd9c25ebbfbeac
2,159
py
Python
datasets/cache.py
zack466/autoreg-sr
88146370c04bc299c0f4fa3a43d9dbc237bb102c
[ "BSD-3-Clause" ]
null
null
null
datasets/cache.py
zack466/autoreg-sr
88146370c04bc299c0f4fa3a43d9dbc237bb102c
[ "BSD-3-Clause" ]
null
null
null
datasets/cache.py
zack466/autoreg-sr
88146370c04bc299c0f4fa3a43d9dbc237bb102c
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import h5py from PIL import Image import os class HDF5Cache: """ Provides a class to cache training examples since png -> tensor conversion can be slow """ # TODO: make completely modular def __init__(self, dataset_name, cache_size): self.cache_size = cache_size # numb...
38.553571
90
0.64289
291
2,159
4.584192
0.32646
0.128186
0.107946
0.047976
0.212144
0.14093
0.103448
0.070465
0
0
0
0.012438
0.255211
2,159
55
91
39.254545
0.817164
0.20704
0
0.054054
0
0
0.087782
0.037367
0
0
0
0.018182
0
1
0.162162
false
0
0.108108
0.054054
0.378378
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0959ced9f620a0c49dee84c5b95deb25947eb4f5
1,556
py
Python
Froggers.py
EpicTofuu/Froggers
0395ef801fe11a7881fd32fd570bf3135a4a761f
[ "MIT" ]
1
2020-11-17T04:32:55.000Z
2020-11-17T04:32:55.000Z
Froggers.py
EpicTofuu/Froggers
0395ef801fe11a7881fd32fd570bf3135a4a761f
[ "MIT" ]
null
null
null
Froggers.py
EpicTofuu/Froggers
0395ef801fe11a7881fd32fd570bf3135a4a761f
[ "MIT" ]
null
null
null
import sys import tkinter as tk import os.path import logging # add framework to sys path # (dont want a repeat of *last time*) sys.path.insert (0, "Framework") from Framework.Game import * from Framework.ResourceManagement.ResourceCache import * from Screens.MainMenuScreen import * from Screens.GameOverScreen impo...
29.358491
124
0.669023
167
1,556
6.137725
0.467066
0.102439
0.033171
0.027317
0
0
0
0
0
0
0
0.012573
0.23329
1,556
53
125
29.358491
0.846605
0.115681
0
0.058824
0
0
0.073884
0.024872
0
0
0
0
0
1
0.029412
false
0
0.323529
0
0.382353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
095c440dd13801623d32c80ac6525f1aa9bfbf7f
412
py
Python
setup.py
Hofsmo/SinFactory
51699d4a396b877277fa57d695aec03ad454c6f0
[ "MIT" ]
1
2021-02-12T10:25:39.000Z
2021-02-12T10:25:39.000Z
setup.py
Hofsmo/SinFactory
51699d4a396b877277fa57d695aec03ad454c6f0
[ "MIT" ]
23
2020-10-20T05:27:14.000Z
2021-06-18T07:13:40.000Z
setup.py
Hofsmo/SinFactory
51699d4a396b877277fa57d695aec03ad454c6f0
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name="SinFactory", version="0.0.1", author="SINTEF Energy", description="Program for using powerfactory for power system analysis", packages=find_packages(exclude=["tests"]), classifiers=[ "Programming Language :: Python :: 3", ...
27.466667
75
0.648058
43
412
6.162791
0.837209
0.090566
0
0
0
0
0
0
0
0
0
0.0125
0.223301
412
14
76
29.428571
0.815625
0
0
0
0
0
0.463592
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1172b1a66e88fbad7817f4474efabb7f3d0e678b
5,048
py
Python
tierkenner_ressources/Model.py
MartPiet/tierkenner
46b40fe6fbd1c849cac2a63d1f4cd874d6d4a3a5
[ "Unlicense" ]
null
null
null
tierkenner_ressources/Model.py
MartPiet/tierkenner
46b40fe6fbd1c849cac2a63d1f4cd874d6d4a3a5
[ "Unlicense" ]
null
null
null
tierkenner_ressources/Model.py
MartPiet/tierkenner
46b40fe6fbd1c849cac2a63d1f4cd874d6d4a3a5
[ "Unlicense" ]
null
null
null
''' Model.py Bachelorthesis "Eine App zur Objekterkennung in Bildern mittels neuronaler Netze, trainiert mit dem ILSVRC-Datensatz" Hochschule Niederrhein Copyright (c) 2017 Martin Pietrowski Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation fil...
36.846715
93
0.666997
660
5,048
5.080303
0.345455
0.095437
0.077543
0.092455
0.282135
0.277065
0.277065
0.277065
0.268416
0.268416
0
0.029111
0.244651
5,048
136
94
37.117647
0.850249
0.526743
0
0.734694
0
0
0.015317
0
0
0
0
0
0
1
0.020408
false
0
0.081633
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11764d3f4f007ee587c34b6f9d21124a89560e3b
644
py
Python
apps/rbac/serializers/role_serializer.py
skywingfs/autotest_back
427dfc6a0777645c464186a753b0bd88ae2948d3
[ "Apache-2.0" ]
24
2020-01-27T11:57:17.000Z
2022-01-14T05:36:09.000Z
apps/rbac/serializers/role_serializer.py
skywingfs/autotest_back
427dfc6a0777645c464186a753b0bd88ae2948d3
[ "Apache-2.0" ]
11
2020-07-08T05:55:26.000Z
2022-01-13T02:12:55.000Z
apps/rbac/serializers/role_serializer.py
skywingfs/autotest_back
427dfc6a0777645c464186a753b0bd88ae2948d3
[ "Apache-2.0" ]
9
2020-07-23T10:08:51.000Z
2021-05-12T03:36:34.000Z
# @Time : 2019/1/14 15:11 # @Author : xufqing from rest_framework import serializers from ..models import Role class RoleListSerializer(serializers.ModelSerializer): ''' 角色序列化 ''' class Meta: model = Role fields = '__all__' #depth = 1 class RoleModifySerializer(serializers...
25.76
96
0.618012
63
644
6.126984
0.666667
0.134715
0.072539
0.093264
0.139896
0.139896
0
0
0
0
0
0.025424
0.267081
644
25
97
25.76
0.792373
0.416149
0
0.6
0
0
0.039548
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
11778fb7b44d35bfe3e1724e7220a8cf8cc15565
323
py
Python
tests/unit/architectures/test_lenet.py
9uru/cv_projects
5abd53ba68719dd33a00b237fddd268f1b1f836e
[ "MIT" ]
null
null
null
tests/unit/architectures/test_lenet.py
9uru/cv_projects
5abd53ba68719dd33a00b237fddd268f1b1f836e
[ "MIT" ]
4
2020-11-13T18:48:52.000Z
2022-02-10T02:08:31.000Z
tests/unit/architectures/test_lenet.py
9uru/cv_projects
5abd53ba68719dd33a00b237fddd268f1b1f836e
[ "MIT" ]
null
null
null
''' Unit test for lenet ''' # pylint: disable=import-error from src.architectures.lenet import LeNet def test_lenet(): ''' unit test for lenet creation ''' model = LeNet((32, 32, 1), 10) assert model.count_params() == 61706 model = LeNet((32, 32, 1), 2) assert model.count_params() == 609...
17.944444
41
0.625387
44
323
4.522727
0.522727
0.080402
0.110553
0.160804
0.150754
0
0
0
0
0
0
0.092369
0.229102
323
17
42
19
0.706827
0.241486
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
117bd14060455071211b21e0143565295f580626
2,962
py
Python
lib/scan/smb/engine.py
codingjustfortest/OWASP-Nettacker
565bc669aab194f21faf91d8b6c9189356dac7f8
[ "Apache-2.0" ]
null
null
null
lib/scan/smb/engine.py
codingjustfortest/OWASP-Nettacker
565bc669aab194f21faf91d8b6c9189356dac7f8
[ "Apache-2.0" ]
null
null
null
lib/scan/smb/engine.py
codingjustfortest/OWASP-Nettacker
565bc669aab194f21faf91d8b6c9189356dac7f8
[ "Apache-2.0" ]
null
null
null
import json import socket from smb import smb_structs from nmb.NetBIOS import NetBIOS from smb.SMBConnection import SMBConnection from core.alert import * from core._time import now from core.targets import target_type from core.log import __log_into_file smb_structs.SUPPORT_SMB2 = True def extra_requirements_dict(...
42.314286
112
0.598244
356
2,962
4.780899
0.365169
0.024677
0.041128
0.03819
0.213866
0.19389
0.19389
0.19389
0.19389
0.19389
0
0.006458
0.268062
2,962
69
113
42.927536
0.778598
0.004389
0
0.16129
0
0
0.120122
0
0
0
0
0
0
1
0.064516
false
0.064516
0.145161
0.016129
0.258065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
117c8d2a108d09f21391466f2c6b79ea311840b3
387
py
Python
zoloto/coords.py
sedders123/zoloto
7084dade1c39f13fe583c3d0f1f0224ec3e1a708
[ "BSD-3-Clause" ]
null
null
null
zoloto/coords.py
sedders123/zoloto
7084dade1c39f13fe583c3d0f1f0224ec3e1a708
[ "BSD-3-Clause" ]
null
null
null
zoloto/coords.py
sedders123/zoloto
7084dade1c39f13fe583c3d0f1f0224ec3e1a708
[ "BSD-3-Clause" ]
null
null
null
from typing import NamedTuple from coordinates import spaced_coordinate Coordinates = spaced_coordinate("Coordinates", "xy") Orientation = NamedTuple( "Orientation", [("rot_x", float), ("rot_y", float), ("rot_z", float)] ) ThreeDCoordinates = spaced_coordinate("ThreeDCoordinates", "xyz") Spherical = NamedTuple...
27.642857
88
0.713178
42
387
6.380952
0.452381
0.179104
0.201493
0.089552
0.134328
0.134328
0
0
0
0
0
0
0.116279
387
13
89
29.769231
0.783626
0
0
0
0
0
0.211886
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
117d0a742f2bfcba04f3f84429071fb50d9aa43a
24,859
py
Python
handle_file.py
jadnohra/handle_file
ed61f3b423911efa9057d9b8a4d9557543fa0f32
[ "Unlicense" ]
null
null
null
handle_file.py
jadnohra/handle_file
ed61f3b423911efa9057d9b8a4d9557543fa0f32
[ "Unlicense" ]
null
null
null
handle_file.py
jadnohra/handle_file
ed61f3b423911efa9057d9b8a4d9557543fa0f32
[ "Unlicense" ]
null
null
null
import os,sys,subprocess,shutil,time,traceback,fileinput import yaml g_dbg = '-dbg' in sys.argv or False g_dbgexec = g_dbg or ('-dbgexec' in sys.argv or False) try: import mako.template as mako_temp except ImportError: mako_temp = None pass k_vt_col_map = { '':'\x1b[0m', 'default':'\x1b[0m', 'black':'\x1b[30m', 'r...
33.01328
130
0.654451
4,085
24,859
3.791432
0.079315
0.050103
0.032541
0.026214
0.587874
0.536286
0.504907
0.480759
0.450155
0.406767
0
0.012478
0.161793
24,859
752
131
33.057181
0.730815
0.007683
0
0.443843
0
0
0.069311
0.003285
0
0
0
0
0
0
null
null
0.001353
0.005413
null
null
0.054127
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1183d3418ee03a4040eb7ff61f0fc7396cb5ac89
809
py
Python
galloper/data_utils/file_utils.py
kostiantyn-yarovyi/galloper
115b34eb7f5e54765c6ab0c06fe86807dd10e1de
[ "Apache-2.0" ]
1
2020-08-17T11:00:53.000Z
2020-08-17T11:00:53.000Z
galloper/data_utils/file_utils.py
kostiantyn-yarovyi/galloper
115b34eb7f5e54765c6ab0c06fe86807dd10e1de
[ "Apache-2.0" ]
23
2020-08-17T09:31:09.000Z
2022-01-04T09:32:03.000Z
galloper/data_utils/file_utils.py
kostiantyn-yarovyi/galloper
115b34eb7f5e54765c6ab0c06fe86807dd10e1de
[ "Apache-2.0" ]
14
2019-03-20T10:25:51.000Z
2021-12-20T21:46:54.000Z
from requests import get import os from flask import current_app from uuid import uuid4 class File: def __init__(self, url): self.url = url self.filename = url.split("/")[-1] self.path = "" def read(self): if not self.path: self.path = os.path.join(current_app.conf...
25.28125
87
0.551298
113
809
3.876106
0.424779
0.127854
0.082192
0.109589
0.09589
0.09589
0.09589
0
0
0
0
0.010949
0.322621
809
31
88
26.096774
0.788321
0
0
0.08
0
0
0.024722
0
0
0
0
0
0
1
0.2
false
0
0.16
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1187b91ebe98c48cfd4e82f4c4faf09de6697ef7
4,457
py
Python
ai4good/models/cm/__init__.py
AIforGoodSimulator/model-server
17662dc2a18b3e12e5c8ee51731e288088a51cf5
[ "MIT" ]
11
2020-06-12T11:46:26.000Z
2022-02-09T23:10:34.000Z
ai4good/models/cm/__init__.py
AIforGoodSimulator/model-server
17662dc2a18b3e12e5c8ee51731e288088a51cf5
[ "MIT" ]
54
2020-07-17T10:13:33.000Z
2021-03-08T16:38:29.000Z
ai4good/models/cm/__init__.py
AIforGoodSimulator/model-server
17662dc2a18b3e12e5c8ee51731e288088a51cf5
[ "MIT" ]
10
2020-07-03T16:12:50.000Z
2021-02-06T15:51:16.000Z
longname = {'S': 'Susceptible', 'E': 'Exposed', 'I': 'Infected (symptomatic)', 'A': 'Asymptomatically Infected', 'R': 'Recovered', 'H': 'Hospitalised', 'C': 'Critical', 'D': 'Deaths', 'O': 'Offsite', 'Q'...
34.284615
94
0.383891
558
4,457
3.064516
0.200717
0.112281
0.023392
0.014035
0.560234
0.330994
0.330994
0.099415
0.099415
0.099415
0
0.147937
0.369082
4,457
130
95
34.284615
0.460171
0.116222
0
0.066667
0
0
0.412702
0.048599
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
119115d37edd81db6ab1bfbea662ab5e1b8868d8
1,859
py
Python
KISS_camera/Interface.py
buschNT/KISS_camera
9fcca52acfeb411de5e9eddaacad7b463597de33
[ "MIT" ]
null
null
null
KISS_camera/Interface.py
buschNT/KISS_camera
9fcca52acfeb411de5e9eddaacad7b463597de33
[ "MIT" ]
null
null
null
KISS_camera/Interface.py
buschNT/KISS_camera
9fcca52acfeb411de5e9eddaacad7b463597de33
[ "MIT" ]
null
null
null
import PySpin class Interface: def __init__(self, interface): self.interface = interface # nodemap from interface self.nodemap_interface = interface.GetTLNodeMap() def __del__( self ): del self.interface def interface_display_name( self ): # get node inter...
29.046875
126
0.665949
198
1,859
5.954545
0.287879
0.122137
0.152672
0.101781
0.275657
0.142494
0.142494
0.067854
0
0
0
0
0.268424
1,859
64
127
29.046875
0.866912
0.060247
0
0.214286
0
0
0.011488
0
0
0
0
0
0
1
0.309524
false
0
0.02381
0.095238
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
119960ad8c7ff10409fb65249a675eead1c7aed2
1,856
py
Python
mxtools/handlers.py
mskinner5278/mxtools
4dda89890ffe669778354b9752cc47c4fac5f4c4
[ "BSD-3-Clause" ]
null
null
null
mxtools/handlers.py
mskinner5278/mxtools
4dda89890ffe669778354b9752cc47c4fac5f4c4
[ "BSD-3-Clause" ]
9
2021-07-15T13:00:18.000Z
2022-03-28T17:38:44.000Z
mxtools/handlers.py
mskinner5278/mxtools
4dda89890ffe669778354b9752cc47c4fac5f4c4
[ "BSD-3-Clause" ]
2
2021-06-28T15:31:00.000Z
2022-03-18T20:25:54.000Z
import logging import pathlib import dask.array as da import h5py from area_detector_handlers import HandlerBase logger = logging.getLogger(__name__) class EigerHandlerMX(HandlerBase): spec = "AD_EIGER_MX" def __init__(self, fpath, seq_id): self._seq_id = seq_id # From https://github.com/bl...
33.745455
154
0.599677
229
1,856
4.624454
0.427948
0.05288
0.049103
0.024551
0.096317
0.056657
0.056657
0
0
0
0
0.025148
0.271552
1,856
54
155
34.37037
0.758136
0.189655
0
0
0
0
0.137307
0.017415
0
0
0
0.018519
0
1
0.057143
false
0
0.142857
0
0.342857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
119a5926932a8be1823852dc117af560691ce489
341
py
Python
setup.py
janelia-cosem/annotator-metrics
06c4693a40ed6ac777209b1160a2fc11bff951f3
[ "MIT" ]
null
null
null
setup.py
janelia-cosem/annotator-metrics
06c4693a40ed6ac777209b1160a2fc11bff951f3
[ "MIT" ]
null
null
null
setup.py
janelia-cosem/annotator-metrics
06c4693a40ed6ac777209b1160a2fc11bff951f3
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name="annotator-metrics", version="0.1.0", packages=find_packages(), url="", license="", author="", author_email="", description="", install_requires=[ "neuroglancer", "CNNectome @ git+https://github.com/saalfeldlab/...
20.058824
67
0.607038
33
341
6.151515
0.787879
0.118227
0
0
0
0
0
0
0
0
0
0.011407
0.228739
341
16
68
21.3125
0.760456
0
0
0
0
0
0.26393
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
119f14fbe2b5a9e96e3b1f6d0dbdc45e89ad1b46
23,374
py
Python
tests/ignitor/orm/properti_test.py
samuelbaizg/ssguan
97def0609d61e40472554464470758b5fb9eca35
[ "Apache-2.0" ]
1
2015-07-14T14:24:05.000Z
2015-07-14T14:24:05.000Z
tests/ignitor/orm/properti_test.py
samuelbaizg/ssguan
97def0609d61e40472554464470758b5fb9eca35
[ "Apache-2.0" ]
null
null
null
tests/ignitor/orm/properti_test.py
samuelbaizg/ssguan
97def0609d61e40472554464470758b5fb9eca35
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2015 www.suishouguan.com # # Licensed under the Private License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://github.com/samuelbaizg/ssguan/blob/master/LICENSE # # Unless ...
33.535151
138
0.519894
2,212
23,374
5.377939
0.106691
0.11651
0.072629
0.065148
0.761769
0.694687
0.645175
0.58919
0.57389
0.542619
0
0.027496
0.391632
23,374
696
139
33.583333
0.809072
0.025285
0
0.730579
0
0
0.016446
0
0
0
0.000816
0
0.203306
1
0.097521
false
0
0.016529
0.047934
0.219835
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11a6fb792511fe11c75ca388572648cd3e07a443
306
py
Python
visualisations/Heatmaps.py
kv-kunalvyas/sfcc
34f3e407154e87eac5903dc88518173d47f729f3
[ "MIT" ]
9
2017-03-09T11:58:18.000Z
2020-03-22T15:20:07.000Z
visualisations/Heatmaps.py
kv-kunalvyas/sfcc
34f3e407154e87eac5903dc88518173d47f729f3
[ "MIT" ]
5
2015-06-08T16:51:50.000Z
2015-10-30T05:37:08.000Z
visualisations/Heatmaps.py
kv-kunalvyas/sfcc
34f3e407154e87eac5903dc88518173d47f729f3
[ "MIT" ]
14
2015-11-29T19:26:11.000Z
2019-03-28T08:55:26.000Z
__author__ = 'kunal' import matplotlib.pyplot as plt import pandas as pd import seaborn as sns data = pd.read_csv('../data/train.csv', header=0) rows = len(data.axes[0]) data = pd.crosstab(data.Category, data.Resolution) heat_map = sns.heatmap(data, square=True, linewidths=1, label='tiny') plt.show()
21.857143
69
0.732026
49
306
4.44898
0.673469
0.055046
0
0
0
0
0
0
0
0
0
0.011152
0.120915
306
13
70
23.538462
0.799257
0
0
0
0
0
0.084967
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
11b4c94241b5c2a52285d9633c260190046dea0f
139
py
Python
exercises/while_loops.py
or19-meet/y2s18-python_review
5d7fd69cb0e184a7b0d39e5786c15e7d06562190
[ "MIT" ]
null
null
null
exercises/while_loops.py
or19-meet/y2s18-python_review
5d7fd69cb0e184a7b0d39e5786c15e7d06562190
[ "MIT" ]
null
null
null
exercises/while_loops.py
or19-meet/y2s18-python_review
5d7fd69cb0e184a7b0d39e5786c15e7d06562190
[ "MIT" ]
null
null
null
# Write your solution for 1.3 here! a=0 i=1 while a < 10000: a+=i i+=1 print(i) ##### a=0 i=2 while a<10000: a+=i i+=2 print(i)
6.95
35
0.546763
33
139
2.30303
0.424242
0.052632
0.078947
0.315789
0.368421
0.368421
0
0
0
0
0
0.173077
0.251799
139
20
36
6.95
0.557692
0.23741
0
0.666667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11b8f7e7bec0503b7af407d6c6940597934e6d54
820
py
Python
wwwdccn/conferences/migrations/0010_proceedingvolume.py
lfpratik/dccnsys
b59e3c4a617e74f888e98b86a85671c412078ee7
[ "MIT" ]
16
2020-03-15T15:33:30.000Z
2021-11-26T21:57:27.000Z
wwwdccn/conferences/migrations/0010_proceedingvolume.py
dccnconf/dccnsys
b59e3c4a617e74f888e98b86a85671c412078ee7
[ "MIT" ]
11
2019-04-27T19:15:43.000Z
2022-03-11T23:43:08.000Z
wwwdccn/conferences/migrations/0010_proceedingvolume.py
lfpratik/dccnsys
b59e3c4a617e74f888e98b86a85671c412078ee7
[ "MIT" ]
10
2020-03-14T09:25:39.000Z
2022-02-21T16:46:33.000Z
# Generated by Django 2.2.4 on 2019-08-26 16:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('conferences', '0009_conference_contact_email'), ] operations = [ migrations.CreateModel( name='...
34.166667
146
0.634146
85
820
5.988235
0.647059
0.047151
0.05501
0.086444
0
0
0
0
0
0
0
0.035032
0.234146
820
23
147
35.652174
0.775478
0.054878
0
0
1
0
0.172057
0.071151
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11bb0970be9882e5b77eae9987133e4f60c3c127
893
py
Python
oss_utils/__init__.py
hfq-mengyangyang/oss-utils
5e6933c0b66e4e769d321647893ae5020cbdf8b6
[ "Apache-2.0" ]
null
null
null
oss_utils/__init__.py
hfq-mengyangyang/oss-utils
5e6933c0b66e4e769d321647893ae5020cbdf8b6
[ "Apache-2.0" ]
null
null
null
oss_utils/__init__.py
hfq-mengyangyang/oss-utils
5e6933c0b66e4e769d321647893ae5020cbdf8b6
[ "Apache-2.0" ]
null
null
null
# encoding: utf8 import click import oss2 @click.command() @click.option('access_key_id', '--access-key-id') @click.option('access_key_secret', '--access-key-secret') @click.option('endpoint', '--endpoint', default='oss-cn-hangzhou.aliyuncs.com') @click.option('bucket_name', '--bucket-name') def oss_delete_bucket(ac...
29.766667
92
0.707727
121
893
4.892562
0.347107
0.121622
0.074324
0.086149
0.27027
0.148649
0.148649
0.148649
0.148649
0
0
0.010753
0.166853
893
29
93
30.793103
0.784946
0.015677
0
0
0
0
0.21347
0.031963
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11bcc9e7fd32ea2460998947b725faaea03ef84d
790
py
Python
main.py
Chiki1601/one-hot-embedding-modeling-algorithm-in-NLP
ea0b88f7dc647791dbec643614d4e0023a1336f4
[ "Unlicense" ]
null
null
null
main.py
Chiki1601/one-hot-embedding-modeling-algorithm-in-NLP
ea0b88f7dc647791dbec643614d4e0023a1336f4
[ "Unlicense" ]
null
null
null
main.py
Chiki1601/one-hot-embedding-modeling-algorithm-in-NLP
ea0b88f7dc647791dbec643614d4e0023a1336f4
[ "Unlicense" ]
null
null
null
#one hot encoding import numpy as np samples = {&#39;Jupiter has 79 known moons .&#39;, &#39;Neptune has 14 confirmed moons !&#39;} # Sample set for our example # Create an empty dictionary token_index = {} #Create a counter for counting the number of key-value pairs in the token_length counter = 0 # Select the eleme...
28.214286
80
0.76962
130
790
4.592308
0.515385
0.100503
0.067002
0
0
0
0
0
0
0
0
0.05295
0.163291
790
27
81
29.259259
0.850227
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11c4d7dbb745541bd320122334da806eec01d57e
475
py
Python
Calibration/TkAlCaRecoProducers/python/ALCARECOPromptCalibProdSiStrip_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Calibration/TkAlCaRecoProducers/python/ALCARECOPromptCalibProdSiStrip_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Calibration/TkAlCaRecoProducers/python/ALCARECOPromptCalibProdSiStrip_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms import HLTrigger.HLTfilters.hltHighLevel_cfi ALCARECOPromptCalibProdSiStripHLT = HLTrigger.HLTfilters.hltHighLevel_cfi.hltHighLevel.clone( andOr = True, ## choose logical OR between Triggerbits eventSetupPathsKey = 'PromptCalibProdSiStrip', throw = False # tolerate ...
36.538462
93
0.783158
40
475
9.25
0.8
0.102703
0.167568
0.183784
0
0
0
0
0
0
0
0
0.162105
475
12
94
39.583333
0.929648
0.183158
0
0
0
0
0.057592
0.057592
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11d1f8e4c78a0f518a039013788336d90533fe9b
3,745
py
Python
dataset.py
seokhokang/reaction_yield_nn
1f907e1610ec452429e48c79f35f25b43df25e22
[ "Apache-2.0" ]
3
2021-09-16T05:28:00.000Z
2022-03-29T02:14:56.000Z
dataset.py
seokhokang/reaction_yield_nn
1f907e1610ec452429e48c79f35f25b43df25e22
[ "Apache-2.0" ]
null
null
null
dataset.py
seokhokang/reaction_yield_nn
1f907e1610ec452429e48c79f35f25b43df25e22
[ "Apache-2.0" ]
2
2022-01-11T23:35:42.000Z
2022-03-01T08:18:54.000Z
import os, sys import numpy as np import torch from dgl.convert import graph class GraphDataset(): def __init__(self, data_id, split_id): self._data_id = data_id self._split_id = split_id self.load() def load(self): if self._data_id in [1, 2]: [rmol_dic...
48.012821
147
0.626435
646
3,745
3.320433
0.105263
0.126807
0.055944
0.102564
0.731469
0.71655
0.661538
0.607459
0.510023
0.325408
0
0.00816
0.214686
3,745
77
148
48.636364
0.721183
0
0
0
0
0
0.041389
0.006409
0
0
0
0
0
1
0.075472
false
0
0.075472
0.018868
0.207547
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11d6702238d2fe4ab04cd9796608804b7d63ee01
1,435
py
Python
LinkedList.py
xRevan116x/py-stack_framework
e7d4af640fcd24b4c6e31396202e37f1d70ac505
[ "MIT" ]
1
2019-06-06T03:41:40.000Z
2019-06-06T03:41:40.000Z
LinkedList.py
xRevan116x/Python-ADT_framework
e7d4af640fcd24b4c6e31396202e37f1d70ac505
[ "MIT" ]
null
null
null
LinkedList.py
xRevan116x/Python-ADT_framework
e7d4af640fcd24b4c6e31396202e37f1d70ac505
[ "MIT" ]
null
null
null
class Node: def __init__(self, init_data, pointer = None): self.data = init_data self.pointer = pointer def get_data(self): return self.data def get_next(self): return self.pointer def set_data(self, data): self.data = data ...
19.930556
59
0.46899
152
1,435
4.263158
0.210526
0.098765
0.064815
0.058642
0.169753
0.098765
0.098765
0
0
0
0
0.003822
0.452962
1,435
71
60
20.211268
0.821656
0
0
0.2
0
0
0.016862
0
0
0
0
0
0
1
0.222222
false
0
0
0.066667
0.4
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
11d6e9a0e22ff50b9e2afb279fa515d43adb011f
618
py
Python
api/urls.py
zhangyafeii/rest_vue
b54f420537cb1b474e7463c0cce55a7b455d361c
[ "MIT" ]
null
null
null
api/urls.py
zhangyafeii/rest_vue
b54f420537cb1b474e7463c0cce55a7b455d361c
[ "MIT" ]
null
null
null
api/urls.py
zhangyafeii/rest_vue
b54f420537cb1b474e7463c0cce55a7b455d361c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @Datetime: 2019/1/16 @Author: Zhang Yafei """ from django.conf.urls import url, include from api.views import course from api.views import account urlpatterns = [ # 方式一 # url(r'^course/$', course.CourseView.as_view()), # url(r'^course/(?P<pk>\d+)$', course.CourseView.as_view()...
23.769231
81
0.61165
87
618
4.275862
0.448276
0.075269
0.107527
0.236559
0.38172
0.365591
0.365591
0.193548
0.193548
0.193548
0
0.01518
0.147249
618
25
82
24.72
0.690702
0.289644
0
0
0
0
0.161593
0.04918
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
11dd2773ce97170799a4336af99f4026c1975d40
4,461
py
Python
api/views.py
vsemionov/boomerang
dd2dd6ddd2b4e9b3c03fd03e44b3e8d07d656bfd
[ "MIT" ]
1
2021-12-09T10:44:47.000Z
2021-12-09T10:44:47.000Z
api/views.py
vsemionov/boomerang
dd2dd6ddd2b4e9b3c03fd03e44b3e8d07d656bfd
[ "MIT" ]
34
2017-05-04T00:16:18.000Z
2020-06-05T17:09:20.000Z
api/views.py
vsemionov/boomerang
dd2dd6ddd2b4e9b3c03fd03e44b3e8d07d656bfd
[ "MIT" ]
1
2021-09-22T08:12:24.000Z
2021-09-22T08:12:24.000Z
from django.contrib.auth.models import User from rest_framework import viewsets, decorators from rest_offlinesync import limit from rest_fuzzysearch import sort, search from .models import Notebook, Note, Task from .rest import serializers, links from . import permissions def get_view_description(cls, html=False): ...
31.864286
103
0.704102
466
4,461
6.427039
0.229614
0.080134
0.04808
0.058097
0.359933
0.279132
0.188314
0.096494
0.033389
0.033389
0
0
0.199059
4,461
139
104
32.093525
0.838231
0
0
0.156863
0
0
0.106478
0
0
0
0
0
0
1
0.068627
false
0
0.068627
0.009804
0.745098
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
11e282df13f499dbbab77332f58a0a5d0a2b73cd
5,067
py
Python
Telemetry/django-web/telemetry/alpha/views.py
stvnrhodes/calsol
d120f375b686bf979115c82b6db29ba5791c28c2
[ "Apache-2.0" ]
null
null
null
Telemetry/django-web/telemetry/alpha/views.py
stvnrhodes/calsol
d120f375b686bf979115c82b6db29ba5791c28c2
[ "Apache-2.0" ]
null
null
null
Telemetry/django-web/telemetry/alpha/views.py
stvnrhodes/calsol
d120f375b686bf979115c82b6db29ba5791c28c2
[ "Apache-2.0" ]
null
null
null
from alpha.models import Car from alpha.models import DataPacket from django.shortcuts import render_to_response from django.views.decorators.csrf import csrf_protect from django.core.context_processors import csrf from django.http import HttpResponse from django.contrib.humanize.templatetags.humanize import naturaltim...
40.536
116
0.701599
709
5,067
4.884344
0.188999
0.08894
0.050823
0.051978
0.321686
0.234768
0.171528
0.086053
0.086053
0.053133
0
0.00967
0.163213
5,067
124
117
40.862903
0.807075
0.025459
0
0.165217
0
0
0.13232
0
0
0
0
0
0
0
null
null
0
0.104348
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11e4b40e7f6f92a7c60ef19663f763143f207b28
1,435
py
Python
histoslide/models.py
JanOosting/django-histoslide
01deafbb74829ce9e37c2fff98eda059c59c7f30
[ "MIT" ]
3
2018-09-19T08:03:41.000Z
2021-01-22T15:38:42.000Z
histoslide/models.py
JanOosting/django-histoslide
01deafbb74829ce9e37c2fff98eda059c59c7f30
[ "MIT" ]
1
2019-11-22T10:30:11.000Z
2019-11-22T10:30:11.000Z
histoslide/models.py
JanOosting/django-histoslide
01deafbb74829ce9e37c2fff98eda059c59c7f30
[ "MIT" ]
4
2019-10-22T20:47:44.000Z
2021-01-24T02:28:01.000Z
from os.path import dirname from django.db import models class Slide(models.Model): SlideType_choices = ( (2, 'openslide'),) Name = models.CharField(max_length=50) ScannedBy = models.CharField(max_length=50, blank=True) ScannedDate = models.DateField(blank=True) InsertedBy = models.CharFi...
29.285714
72
0.690592
169
1,435
5.757396
0.384615
0.092497
0.110997
0.147996
0.273381
0.168551
0.168551
0.096608
0
0
0
0.018229
0.197213
1,435
48
73
29.895833
0.826389
0.045993
0
0.257143
0
0
0.020483
0
0
0
0
0
0
1
0.057143
false
0
0.057143
0.057143
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
11ede8dc21857417717569943412c63bdb788e77
1,142
py
Python
049/49.py
bsamseth/project-euler
60d70b117960f37411935bc18eab5bb2fca220e2
[ "MIT" ]
null
null
null
049/49.py
bsamseth/project-euler
60d70b117960f37411935bc18eab5bb2fca220e2
[ "MIT" ]
null
null
null
049/49.py
bsamseth/project-euler
60d70b117960f37411935bc18eab5bb2fca220e2
[ "MIT" ]
null
null
null
# coding=utf-8 """ The arithmetic sequence, 1487, 4817, 8147, in which each of the terms increases by 3330, is unusual in two ways: (i) each of the three terms are prime, and, (ii) each of the 4-digit numbers are permutations of one another. There are no arithmetic sequences made up of three 1-, 2-, or 3-digit primes,...
38.066667
222
0.720665
201
1,142
4.064677
0.487562
0.022032
0.033048
0.009792
0
0
0
0
0
0
0
0.038168
0.197023
1,142
29
223
39.37931
0.852781
0.010508
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
11f09fa9f54e77ae5863a70b113d250fc495572a
3,178
py
Python
src/waldur_rijkscloud/views.py
opennode/waldur-rijkscloud
3149a326a3e9f5795b8c418ab6aa2dbbe0ed74fe
[ "MIT" ]
null
null
null
src/waldur_rijkscloud/views.py
opennode/waldur-rijkscloud
3149a326a3e9f5795b8c418ab6aa2dbbe0ed74fe
[ "MIT" ]
null
null
null
src/waldur_rijkscloud/views.py
opennode/waldur-rijkscloud
3149a326a3e9f5795b8c418ab6aa2dbbe0ed74fe
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from waldur_core.structure import views as structure_views from . import filters, executors, models, serializers class ServiceViewSet(structure_views.BaseServiceViewSet): queryset = models.RijkscloudService.objects.all() serializer_class = serializers.ServiceSerialize...
39.725
84
0.812146
285
3,178
8.785965
0.333333
0.077875
0.134984
0.095847
0.490815
0.251198
0.185304
0.142173
0.101438
0.055112
0
0
0.118628
3,178
79
85
40.227848
0.893966
0
0
0.122807
0
0
0.050346
0.014475
0
0
0
0
0
1
0
false
0
0.192982
0
1.140351
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1