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
21c84ec2962f4cabe372bad1ec35d46334db44ad
460
py
Python
tess/src/directories.py
andresscode/tess-cli
ec0a1c865f627637a37c9f1a9b17c5ce6c7a26cc
[ "MIT" ]
null
null
null
tess/src/directories.py
andresscode/tess-cli
ec0a1c865f627637a37c9f1a9b17c5ce6c7a26cc
[ "MIT" ]
null
null
null
tess/src/directories.py
andresscode/tess-cli
ec0a1c865f627637a37c9f1a9b17c5ce6c7a26cc
[ "MIT" ]
null
null
null
class Directory: SOLUTIONS = 'solutions' CASES = 'cases' BUILD = 'build' TESS = '.tess' DEBUG_SOLUTIONS = '.tess/debug/src' DEBUG_BUILD = '.tess/debug/build' CUSTOM_CONFIG_LINUX = '~/.config/tess' CUSTOM_CONFIG_MAC = '~/Library/Application\\ Support/Tess' @staticmethod def init(...
30.666667
70
0.656522
48
460
6.125
0.395833
0.091837
0
0
0
0
0
0
0
0
0
0
0.219565
460
14
71
32.857143
0.818942
0
0
0
0
0
0.230435
0.05
0
0
0
0
0
1
0.076923
false
0
0
0.076923
0.846154
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
21c9f21c6cd6f96ad31cddc81cac13f24697fdd7
16,697
py
Python
tool/merganser/data_retrieval2.py
ualberta-smr/conflict-prediction
6cd2c54a8af991256d0a2f85c3ab5d828ea2c3f8
[ "MIT" ]
4
2019-08-04T03:36:51.000Z
2020-09-17T18:13:45.000Z
tool/merganser/data_retrieval2.py
ualberta-smr/conflict-prediction
6cd2c54a8af991256d0a2f85c3ab5d828ea2c3f8
[ "MIT" ]
null
null
null
tool/merganser/data_retrieval2.py
ualberta-smr/conflict-prediction
6cd2c54a8af991256d0a2f85c3ab5d828ea2c3f8
[ "MIT" ]
1
2019-06-11T21:15:34.000Z
2019-06-11T21:15:34.000Z
import os import pandas as pd import numpy as np from io import StringIO import config import logging import pandas as pd import pymysql from sqlalchemy import create_engine class Data_Retreival: def __init__(self): self.code_complexity_query = 'SELECT Merge_Scenario_merge_commit_hash, measure1_diff, ...
61.386029
164
0.605199
1,901
16,697
4.960021
0.126249
0.068936
0.069997
0.071269
0.578004
0.465055
0.413512
0.392831
0.366105
0.343939
0
0.007945
0.298976
16,697
271
165
61.612546
0.797608
0.01072
0
0.20524
0
0.017467
0.409218
0.15728
0
0
0
0.00369
0
1
0.091703
false
0.004367
0.039301
0.008734
0.222707
0.065502
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21cc703f3d4a4b8a67ee7e2ea3bf7802d6b33e52
977
py
Python
testData/typeinspectionv18/overrideInit.py
alek-sun/pydantic-pycharm-plugin
6b07519aadf0ff8b8a644c1f9ede88e09c687c80
[ "Apache-2.0", "MIT" ]
238
2019-08-05T12:46:09.000Z
2022-03-25T08:53:25.000Z
testData/typeinspectionv18/overrideInit.py
alek-sun/pydantic-pycharm-plugin
6b07519aadf0ff8b8a644c1f9ede88e09c687c80
[ "Apache-2.0", "MIT" ]
415
2019-07-15T17:39:35.000Z
2022-03-31T01:18:38.000Z
testData/typeinspectionv18/overrideInit.py
collerek/pydantic-pycharm-plugin
7068ece42334cc9fbe927d779d199c86d5139888
[ "Apache-2.0", "MIT" ]
7
2019-08-09T01:03:16.000Z
2022-02-08T03:28:19.000Z
from pydantic import BaseModel class A(BaseModel): abc: str = '123' def __init__(self): pass A() class B(BaseModel): abc: str = '123' def __init__(self, a: float, b: int): pass B(abc='123'<warning descr="null">)</warning> class C(BaseModel): abc: str = '123' def __init__(self...
17.446429
47
0.549642
141
977
3.553191
0.191489
0.083832
0.125749
0.167665
0.782435
0.754491
0.664671
0.403194
0.403194
0.155689
0
0.06156
0.251791
977
55
48
17.763636
0.623803
0.194473
0
0.37931
0
0
0.059432
0
0
0
0
0
0
0
null
null
0.137931
0.034483
null
null
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
4
21cd10ec0c43a2a5245ac89b17664c6b6824fc20
12,948
py
Python
gmusicapi_wrapper/utils.py
dmoebius/gmusicapi-wrapper
8708683cd33955def1378fc28319ef37805b851d
[ "MIT" ]
20
2015-08-29T15:35:22.000Z
2018-09-29T06:16:15.000Z
gmusicapi_wrapper/utils.py
dmoebius/gmusicapi-wrapper
8708683cd33955def1378fc28319ef37805b851d
[ "MIT" ]
17
2015-02-28T17:19:30.000Z
2018-06-08T10:33:29.000Z
gmusicapi_wrapper/utils.py
dmoebius/gmusicapi-wrapper
8708683cd33955def1378fc28319ef37805b851d
[ "MIT" ]
11
2015-12-11T15:20:24.000Z
2019-02-13T18:54:11.000Z
# coding=utf-8 """Utility functions for gmusicapi_wrapper. >>> import gmusicapi_wrapper.utils as gmw_utils >>> from gmusicapi_wrapper.utils import ... """ import logging import os import re import subprocess import mutagen from .constants import CHARACTER_REPLACEMENTS, CYGPATH_RE, TEMPLATE_PATTERNS from .decorat...
30.902148
121
0.742431
1,836
12,948
5.081699
0.142702
0.032583
0.009003
0.012004
0.445338
0.381565
0.33687
0.293355
0.280279
0.270847
0
0.002017
0.157708
12,948
418
122
30.976077
0.853475
0.415972
0
0.265957
0
0
0.045155
0
0
0
0
0
0.005319
1
0.101064
false
0
0.037234
0.005319
0.244681
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21cdcdb0a1f00e654cce586794038d395dd30b80
46
py
Python
test/formatters/samplecode/black/in.py
mohkale/apheleia
75074a2f11e29aeca376b3004270a93ce44e59de
[ "MIT" ]
null
null
null
test/formatters/samplecode/black/in.py
mohkale/apheleia
75074a2f11e29aeca376b3004270a93ce44e59de
[ "MIT" ]
null
null
null
test/formatters/samplecode/black/in.py
mohkale/apheleia
75074a2f11e29aeca376b3004270a93ce44e59de
[ "MIT" ]
null
null
null
def asdjf ( l, a): 3 +4
9.2
20
0.26087
6
46
2
1
0
0
0
0
0
0
0
0
0
0
0.117647
0.630435
46
4
21
11.5
0.588235
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
5
21cf17efec6eb019292dc869b1f00c24149cffb4
4,402
py
Python
restructuredBootstrap/custom_pygments_style.py
lakhman/restructuredBootstrap
57002c6db2d3b5b97dc23820b91711db4f00c07e
[ "MIT" ]
1
2020-08-30T08:58:46.000Z
2020-08-30T08:58:46.000Z
restructuredBootstrap/custom_pygments_style.py
lakhman/restructuredBootstrap
57002c6db2d3b5b97dc23820b91711db4f00c07e
[ "MIT" ]
null
null
null
restructuredBootstrap/custom_pygments_style.py
lakhman/restructuredBootstrap
57002c6db2d3b5b97dc23820b91711db4f00c07e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright (c) 2017 - Anil Lakhman - MIT License # ----------------------------------------------------------------------------- from pygments.style import Style from pygments.token import Keyw...
48.911111
105
0.537483
469
4,402
5.025586
0.466951
0.070004
0.042003
0.050912
0.029275
0
0
0
0
0
0
0.107744
0.257837
4,402
89
106
49.460674
0.613713
0.362335
0
0
0
0
0.186515
0
0
0
0
0
0
1
0
false
0
0.027397
0
0.09589
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21d125253f8a5cda1806b69aa7684a98a8e79afe
161
py
Python
best_cn_finetune/preprocess/__init__.py
you-know-who-2017/QA_MRC
323591995ac4ca0ca39e6101f6ff1c6f88104bc8
[ "MIT" ]
null
null
null
best_cn_finetune/preprocess/__init__.py
you-know-who-2017/QA_MRC
323591995ac4ca0ca39e6101f6ff1c6f88104bc8
[ "MIT" ]
null
null
null
best_cn_finetune/preprocess/__init__.py
you-know-who-2017/QA_MRC
323591995ac4ca0ca39e6101f6ff1c6f88104bc8
[ "MIT" ]
null
null
null
''' Author: geekli Date: 2020-12-28 15:53:18 LastEditTime: 2020-12-28 15:53:19 LastEditors: your name Description: FilePath: \QA_MRC\preprocess\__init__.py '''
17.888889
40
0.745342
26
161
4.423077
0.807692
0.104348
0.13913
0.173913
0.208696
0
0
0
0
0
0
0.194444
0.10559
161
8
41
20.125
0.604167
0.944099
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
21d2b7b6aeb4285360c3d0b80011bc93dc5f393f
1,225
py
Python
pyleecan/Methods/Geometry/Segment/discretize.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
95
2019-01-23T04:19:45.000Z
2022-03-17T18:22:10.000Z
pyleecan/Methods/Geometry/Segment/discretize.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
366
2019-02-20T07:15:08.000Z
2022-03-31T13:37:23.000Z
pyleecan/Methods/Geometry/Segment/discretize.py
IrakozeFD/pyleecan
5a93bd98755d880176c1ce8ac90f36ca1b907055
[ "Apache-2.0" ]
74
2019-01-24T01:47:31.000Z
2022-02-25T05:44:42.000Z
# -*- coding: utf-8 -*- from numpy import linspace from ....Methods.Machine import LINE_NPOINT_D from ....Methods.Geometry.Segment import NbPointSegmentDError def discretize(self, nb_point=LINE_NPOINT_D): """Return the discretize version of the Segment. Begin and end are always returned Parameters -...
26.630435
86
0.648163
167
1,225
4.652695
0.419162
0.09009
0.042471
0.050193
0.124839
0.056628
0
0
0
0
0
0.015436
0.259592
1,225
45
87
27.222222
0.841235
0.503673
0
0
0
0
0.11257
0
0
0
0
0
0
1
0.076923
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
0
0
0
0
0
0
0
0
0
0
1
0
21d5966b8848acc25706e3eb669f0243b618f52f
5,258
py
Python
rrtimetable/rrtimetable/gtfs2rrrr.py
oooits72/rrrr
32e98bc593a853008864a130e5c26c113a5f2c7d
[ "BSD-2-Clause" ]
null
null
null
rrtimetable/rrtimetable/gtfs2rrrr.py
oooits72/rrrr
32e98bc593a853008864a130e5c26c113a5f2c7d
[ "BSD-2-Clause" ]
null
null
null
rrtimetable/rrtimetable/gtfs2rrrr.py
oooits72/rrrr
32e98bc593a853008864a130e5c26c113a5f2c7d
[ "BSD-2-Clause" ]
null
null
null
from model.transit import * from gtfsdb import GTFSDatabase import sys from exporter.timetable3 import export import exporter.timetable4 from datetime import timedelta, date MAX_DAYS = 32 def put_gtfs_modes(tdata): PhysicalMode(tdata,'0',name='Tram') PhysicalMode(tdata,'1',name='Metro') PhysicalMode(tdata...
38.948148
174
0.686383
724
5,258
4.729282
0.244475
0.035047
0.035047
0.024825
0.277453
0.259054
0.22868
0.21028
0.21028
0.157126
0
0.009093
0.205211
5,258
134
175
39.238806
0.810242
0.003994
0
0.223214
0
0.008929
0.064362
0
0
0
0
0
0
0
null
null
0.026786
0.0625
null
null
0.026786
0
0
0
null
0
0
0
0
0
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
21d6e2f4acb563e98c1f7995f076c322bbe9c38d
329
py
Python
images.py
rvg77/Weather_bot
4716c7cfa22740dc05dfe768b1150e69a8d80cf4
[ "MIT" ]
null
null
null
images.py
rvg77/Weather_bot
4716c7cfa22740dc05dfe768b1150e69a8d80cf4
[ "MIT" ]
null
null
null
images.py
rvg77/Weather_bot
4716c7cfa22740dc05dfe768b1150e69a8d80cf4
[ "MIT" ]
null
null
null
from flickrapi import FlickrAPI import config def get(tags): flickr = FlickrAPI(config.FLICKR_PUBLIC, config.FLICKR_SECRET, format='parsed-json') rnd = 1 raw = flickr.photos.search(tags=tags[0:1], text=tags[1], tag_node='all', per_page=rnd, extras=config.extras) return raw['photos']['photo'][rnd - 1][...
32.9
112
0.705167
50
329
4.54
0.6
0.132159
0
0
0
0
0
0
0
0
0
0.017606
0.136778
329
9
113
36.555556
0.78169
0
0
0
0
0
0.091185
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
21d6f524d8375ab9d0bc8eed28866f2443f50ef1
2,340
py
Python
Grid/grid_multi_yaxis.py
pyecharts/pyecharts_gallery
8430c37df923860b36c9d1d86f2adc9d94b9d72c
[ "MIT" ]
759
2019-04-28T22:42:10.000Z
2022-03-31T12:32:10.000Z
Grid/grid_multi_yaxis.py
pyecharts/pyecharts_gallery
8430c37df923860b36c9d1d86f2adc9d94b9d72c
[ "MIT" ]
65
2019-06-10T07:38:25.000Z
2022-03-24T10:10:03.000Z
Grid/grid_multi_yaxis.py
pyecharts/pyecharts_gallery
8430c37df923860b36c9d1d86f2adc9d94b9d72c
[ "MIT" ]
505
2019-04-28T08:45:33.000Z
2022-03-29T07:08:33.000Z
from pyecharts import options as opts from pyecharts.charts import Bar, Grid, Line x_data = ["{}月".format(i) for i in range(1, 13)] bar = ( Bar() .add_xaxis(x_data) .add_yaxis( "蒸发量", [2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3], yaxis_index=0, color...
28.536585
88
0.525214
297
2,340
3.976431
0.367003
0.101609
0.057578
0.101609
0.385267
0.339543
0.23116
0.160034
0.160034
0
0
0.090221
0.32265
2,340
81
89
28.888889
0.654259
0
0
0.358974
0
0
0.070085
0.008974
0
0
0
0
0
1
0
false
0
0.025641
0
0.025641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21d9cfb9234f93c241128ce45315616d74f27dd4
1,128
py
Python
ketchuporo/main.py
v0y/ketchuporo
1e4f7e487ad2cbc36acbee5cb3271b2c20411a98
[ "MIT" ]
null
null
null
ketchuporo/main.py
v0y/ketchuporo
1e4f7e487ad2cbc36acbee5cb3271b2c20411a98
[ "MIT" ]
null
null
null
ketchuporo/main.py
v0y/ketchuporo
1e4f7e487ad2cbc36acbee5cb3271b2c20411a98
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from kivy.app import App from kivy.core.text import LabelBase from kivy.lang import Builder from kivy.uix.screenmanager import ScreenManager from ketchuporo.const import Files from ketchuporo.controllers import ( BreakScreen, BreaksOverScreen, PomodorosOverScreen, SettingsScree...
25.636364
79
0.786348
133
1,128
6.43609
0.443609
0.19743
0.11215
0.154206
0.130841
0
0
0
0
0
0
0.000999
0.112589
1,128
43
80
26.232558
0.854146
0.041667
0
0.064516
0
0
0.088126
0.024119
0
0
0
0
0
1
0.032258
false
0
0.225806
0.032258
0.322581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21dbf18ded51471b26713067cee205902e797c4d
139
py
Python
output/models/ms_data/particles/particles_b010_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/particles/particles_b010_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/particles/particles_b010_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.particles.particles_b010_xsd.particles_b010 import ( Doc, Elem, ) __all__ = [ "Doc", "Elem", ]
13.9
79
0.654676
17
139
4.882353
0.705882
0.313253
0
0
0
0
0
0
0
0
0
0.055046
0.215827
139
9
80
15.444444
0.706422
0
0
0
0
0
0.05036
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21dc9a19d80f7a66fcdb3bf1134d323402812861
379
py
Python
reading_plan/reading_plan.py
hidenori-t/snippet
d850bd429931f9268162419d3fb8d7803e58cff3
[ "MIT" ]
1
2020-06-19T10:06:37.000Z
2020-06-19T10:06:37.000Z
reading_plan/reading_plan.py
hidenori-t/snippet
d850bd429931f9268162419d3fb8d7803e58cff3
[ "MIT" ]
null
null
null
reading_plan/reading_plan.py
hidenori-t/snippet
d850bd429931f9268162419d3fb8d7803e58cff3
[ "MIT" ]
null
null
null
# 読書計画用スニペット from datetime import date def reading_plan(title, total_number_of_pages, period): current_page = int(input("Current page?: ")) deadline = (date(int(period[0]), int(period[1]), int(period[2])) - date.today()).days print(title, period, "まで残り", deadline, "days", (t...
34.454545
70
0.638522
49
379
4.755102
0.571429
0.141631
0.111588
0.154506
0
0
0
0
0
0
0
0.009967
0.205805
379
10
71
37.9
0.76412
0.026385
0
0
0
0
0.076294
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21dee0f109bef7ebd1561c75c737422f8c744405
6,144
py
Python
tests/benchmark/runners/test_constant.py
kambiz-aghaiepour/rally
be708bacf0bc898a9538b9b6cb0ba4e1c015c1f2
[ "Apache-2.0" ]
1
2020-09-09T19:01:41.000Z
2020-09-09T19:01:41.000Z
tests/benchmark/runners/test_constant.py
kambiz-aghaiepour/rally
be708bacf0bc898a9538b9b6cb0ba4e1c015c1f2
[ "Apache-2.0" ]
null
null
null
tests/benchmark/runners/test_constant.py
kambiz-aghaiepour/rally
be708bacf0bc898a9538b9b6cb0ba4e1c015c1f2
[ "Apache-2.0" ]
1
2020-09-09T19:01:43.000Z
2020-09-09T19:01:43.000Z
# Copyright 2014: Mirantis Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
43.574468
79
0.65332
634
6,144
6.195584
0.214511
0.043279
0.069246
0.048116
0.795825
0.759165
0.744399
0.694756
0.670316
0.645367
0
0.006315
0.252604
6,144
140
80
43.885714
0.849085
0.130859
0
0.666667
0
0
0.052612
0
0
0
0
0
0.181818
1
0.121212
false
0
0.060606
0
0.20202
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21e208b57e398b0bb168739f3f960a4bcb46ffb1
603
py
Python
FRMinutesDiscoutRate-BS.py
henchc/web-scrapers
e9f852524fce8ba8c3948f6de242185220a436cb
[ "MIT" ]
15
2017-11-03T20:44:26.000Z
2022-01-02T22:07:15.000Z
FRMinutesDiscoutRate-BS.py
henchc/web-scrapers
e9f852524fce8ba8c3948f6de242185220a436cb
[ "MIT" ]
null
null
null
FRMinutesDiscoutRate-BS.py
henchc/web-scrapers
e9f852524fce8ba8c3948f6de242185220a436cb
[ "MIT" ]
1
2020-09-26T22:52:51.000Z
2020-09-26T22:52:51.000Z
from urllib.request import Request, urlopen from bs4 import BeautifulSoup html = urlopen("http://www.federalreserve.gov/monetarypolicy/discountrate.htm") bsObj = BeautifulSoup(html.read(), "lxml") d1 = bsObj.findAll("option") urls = [] for item in d1: if "PDF" in str(item.get_text()): prefix = "http://ww...
24.12
79
0.640133
84
603
4.571429
0.52381
0.054688
0.109375
0.125
0
0
0
0
0
0
0
0.012146
0.180763
603
24
80
25.125
0.765182
0
0
0
0
0
0.189055
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21e2ac869244887a79d078c7ec21be9ea889f1fc
644
py
Python
py_analysis_quick_start/temp_line.py
jack-zheng/olm-analysis
16bdc06ece9c2b42983722b37d1c1688eaa90e0f
[ "MIT" ]
null
null
null
py_analysis_quick_start/temp_line.py
jack-zheng/olm-analysis
16bdc06ece9c2b42983722b37d1c1688eaa90e0f
[ "MIT" ]
null
null
null
py_analysis_quick_start/temp_line.py
jack-zheng/olm-analysis
16bdc06ece9c2b42983722b37d1c1688eaa90e0f
[ "MIT" ]
null
null
null
import random import matplotlib from matplotlib import pyplot as plt # 显示中文 # Windows/Linus font = {'family' : 'MicroSoft Yahei', 'weight': 'bold', 'size': '9'} matplotlib.rc("font", **font) # 设置图片 大小 20x8 fig = plt.figure(figsize=(20, 8), dpi=80) y = [random.randint(20, 35) for i in range(120)] x = range(120) plt....
21.466667
68
0.664596
110
644
3.836364
0.609091
0.028436
0.042654
0.078199
0.099526
0.099526
0.099526
0.099526
0
0
0
0.063521
0.14441
644
30
69
21.466667
0.702359
0.135093
0
0
0
0
0.127273
0
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21e471824751e8af9bd25739b53726fcca933cea
13,846
py
Python
src/genie/libs/parser/sros/tests/test_show_isis.py
svautour/genieparser
7416c9a4b44582be835a0646fb7fad92a5181c7d
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/sros/tests/test_show_isis.py
svautour/genieparser
7416c9a4b44582be835a0646fb7fad92a5181c7d
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/sros/tests/test_show_isis.py
svautour/genieparser
7416c9a4b44582be835a0646fb7fad92a5181c7d
[ "Apache-2.0" ]
null
null
null
import unittest import time from unittest.mock import Mock from pyats.topology import Device from genie.metaparser.util.exceptions import SchemaEmptyParserError,\ SchemaMissingKeyError from genie.libs.parser.sros.show_isis import ShowRouterIsisAdjacency,\ ...
46.619529
84
0.336776
967
13,846
4.695967
0.157187
0.017617
0.015856
0.019379
0.838141
0.819643
0.743669
0.732658
0.727813
0.717243
0
0.091735
0.530767
13,846
297
85
46.619529
0.607203
0
0
0.701754
0
0
0.461442
0.054018
0
0
0
0
0.014035
1
0.014035
false
0
0.021053
0
0.070175
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
1
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
8
21e4e94462869b5e4859a8999659718ac1c5f326
935
py
Python
main.py
gaurav-karna/ReminderBot
e9c37f1c62a6b0f3e9f69ec5cc983ce2334ae6db
[ "MIT" ]
null
null
null
main.py
gaurav-karna/ReminderBot
e9c37f1c62a6b0f3e9f69ec5cc983ce2334ae6db
[ "MIT" ]
null
null
null
main.py
gaurav-karna/ReminderBot
e9c37f1c62a6b0f3e9f69ec5cc983ce2334ae6db
[ "MIT" ]
null
null
null
from sys import exit import argparse ALL_ARGS = None # found a free server to execute blindly, will update with CRON if need be def sanity(): if ALL_ARGS.hour > 23 or ALL_ARGS.hour < 0: print('Error in hour provided, must be >= 0 and <= 23') exit(0) if ALL_ARGS.min > 59 or ALL_ARGS.min < 0:...
28.333333
91
0.652406
142
935
4.133803
0.443662
0.083475
0.115843
0.044293
0.061329
0
0
0
0
0
0
0.021798
0.214973
935
32
92
29.21875
0.777929
0.098396
0
0.1
0
0
0.274136
0
0
0
0
0
0
1
0.1
false
0.05
0.1
0
0.2
0.15
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21e56d9e00f8e568b7ebb5d7d2e6c10697c117cb
1,846
py
Python
tests/test_model.py
JanCVanB/netflix
e3ff4feab832846640dbb3daa5877ef84a00adaf
[ "MIT" ]
22
2016-12-14T03:58:28.000Z
2021-03-07T00:10:05.000Z
tests/test_model.py
JanCVanB/netflix
e3ff4feab832846640dbb3daa5877ef84a00adaf
[ "MIT" ]
1
2015-06-16T07:30:35.000Z
2015-06-16T07:39:18.000Z
tests/test_model.py
jvanbrug/netflix
e3ff4feab832846640dbb3daa5877ef84a00adaf
[ "MIT" ]
5
2016-12-05T08:55:15.000Z
2017-11-01T23:33:05.000Z
import numpy as np import os import pickle import random from algorithms import model as model_algorithm from utils import data_paths def test_model_can_create_instance_with_no_arguments(): model_algorithm.Model() def test_model_load_creates_the_expected_instance(): model = model_algorithm.Model() mode...
33.563636
77
0.641387
247
1,846
4.481781
0.242915
0.072267
0.054201
0.065041
0.444444
0.34869
0.34869
0.296296
0.187895
0.121048
0
0
0.269231
1,846
54
78
34.185185
0.820608
0
0
0.340426
0
0
0.034128
0
0
0
0
0
0.12766
1
0.06383
false
0.042553
0.12766
0
0.191489
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21e5dbdb2f7dff7b8135ef888c0daf3f4d0890d1
2,296
py
Python
tests/test_validate.py
leipzig/xd-cwl-utils
28d875ad7804c0e787d46f82a67a6b9d24d73679
[ "Apache-2.0" ]
null
null
null
tests/test_validate.py
leipzig/xd-cwl-utils
28d875ad7804c0e787d46f82a67a6b9d24d73679
[ "Apache-2.0" ]
null
null
null
tests/test_validate.py
leipzig/xd-cwl-utils
28d875ad7804c0e787d46f82a67a6b9d24d73679
[ "Apache-2.0" ]
null
null
null
from tests.test_base import TestBase from pathlib import Path from xd_cwl_utils.helpers.get_paths import get_tool_metadata from xd_cwl_utils.validate import metadata_validator_factory from xd_cwl_utils.classes.metadata.tool_metadata import ParentToolMetadata, SubtoolMetadata class TestValidateMetadata(TestBase): ...
43.320755
209
0.752178
269
2,296
6.048327
0.249071
0.095882
0.103258
0.118009
0.731408
0.599877
0.534112
0.521205
0.49539
0.426552
0
0.005263
0.172474
2,296
52
210
44.153846
0.851053
0.1973
0
0.419355
0
0.064516
0.123153
0.110016
0
0
0
0.019231
0.064516
1
0.193548
false
0
0.16129
0.064516
0.548387
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
21e6f2feb888d1690e95e165f59b5155700dbb10
533
py
Python
serenote/utils/alert.py
LeptoFlare/todo-bot
5c619abe421e4731c0dbc73561fbbd4a20839422
[ "MIT" ]
3
2020-10-07T04:41:25.000Z
2021-04-23T19:52:53.000Z
serenote/utils/alert.py
LeptoFlare/serenote
5c619abe421e4731c0dbc73561fbbd4a20839422
[ "MIT" ]
8
2020-10-07T00:13:00.000Z
2020-11-23T09:01:08.000Z
serenote/utils/alert.py
LeptoFlare/serenote
5c619abe421e4731c0dbc73561fbbd4a20839422
[ "MIT" ]
null
null
null
import discord class Alert(discord.Embed): alert_types = { "error": "<:error:807799799721230347>", } def __init__(self, alert_type, title: str, description: str = discord.Embed.Empty): super().__init__( color=discord.Color.blurple(), title=self.process_title(alert...
26.65
87
0.628518
57
533
5.578947
0.438596
0.141509
0.132075
0
0
0
0
0
0
0
0
0.044335
0.238274
533
19
88
28.052632
0.738916
0
0
0
0
0
0.187617
0.153846
0
0
0
0
0
1
0.142857
false
0
0.071429
0.071429
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21e79dcdcdee9f92045ac51d4e85b03f25e5e3c8
2,616
py
Python
fixture/project.py
AleksandrSmoliak/mantis
be0f48a6a63a2b955755031a721db7fb8761fe97
[ "Apache-2.0" ]
null
null
null
fixture/project.py
AleksandrSmoliak/mantis
be0f48a6a63a2b955755031a721db7fb8761fe97
[ "Apache-2.0" ]
null
null
null
fixture/project.py
AleksandrSmoliak/mantis
be0f48a6a63a2b955755031a721db7fb8761fe97
[ "Apache-2.0" ]
null
null
null
from model.project import Project class ProjectHelper: def __init__(self, app): self.app = app def open_project_page(self): wd = self.app.wd if not (wd.current_url.endswith("/manage_proj_create_page.php")): wd.find_element_by_xpath("//div[@id='main-container']/div[@id='side...
42.193548
130
0.65367
368
2,616
4.388587
0.271739
0.044582
0.080495
0.083591
0.450155
0.416718
0.320124
0.250155
0.229102
0.180805
0
0.004348
0.208716
2,616
62
131
42.193548
0.775845
0.049312
0
0.25
0
0.041667
0.200564
0.134112
0
0
0
0
0
1
0.1875
false
0
0.020833
0
0.270833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21e821b8f988e5658b9c301ffb5c85c84dc141ff
773
py
Python
main.py
icarus747/DCS_MGRS_Converter
3ce687a697f1313658726a8881c134d321d67c22
[ "MIT" ]
null
null
null
main.py
icarus747/DCS_MGRS_Converter
3ce687a697f1313658726a8881c134d321d67c22
[ "MIT" ]
1
2020-10-12T20:11:27.000Z
2020-10-12T22:33:23.000Z
main.py
icarus747/DCS_MGRS_Converter
3ce687a697f1313658726a8881c134d321d67c22
[ "MIT" ]
1
2020-10-12T16:43:15.000Z
2020-10-12T16:43:15.000Z
#!/usr/bin/env python3 # By Icarus747 # Created 10/11/2020 # Used for converting DCS MGRS grid coordinates to Lat/Long coordinates. import mgrs import re def main(): m = mgrs.MGRS() # dcs = '38TLN046623' dcs = input("Enter MGRS cord.\n\r") dcs = validate_mgrs(dcs) dd = m.toLatLon(dcs) lat =...
20.342105
72
0.575679
127
773
3.425197
0.480315
0.048276
0.068966
0
0
0
0
0
0
0
0
0.068376
0.243208
773
37
73
20.891892
0.675214
0.186287
0
0.090909
0
0
0.214744
0.041667
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.227273
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21e9a6907f5b3b46acccb7f2baa68e74cb020ad7
35
py
Python
tests/test_to_be_removed.py
Farama-Foundation/jump
31524fb6b5bfdd654c71446a1b3f4aef86955f42
[ "Apache-2.0" ]
2
2022-02-25T23:41:13.000Z
2022-02-26T13:22:53.000Z
tests/test_to_be_removed.py
Farama-Foundation/jump
31524fb6b5bfdd654c71446a1b3f4aef86955f42
[ "Apache-2.0" ]
null
null
null
tests/test_to_be_removed.py
Farama-Foundation/jump
31524fb6b5bfdd654c71446a1b3f4aef86955f42
[ "Apache-2.0" ]
2
2022-02-25T23:29:50.000Z
2022-03-08T05:42:19.000Z
def test_to_be_removed(): pass
11.666667
25
0.714286
6
35
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.2
35
2
26
17.5
0.785714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
6
21ea48feb3e6f28dc69bc7b3d03c6225f2e7de16
637
py
Python
backend/management/commands/setentryfolder.py
Software-Engineering-Bachelor-Project/mycroft
8ca3b6bfaa7b573f67def06c637f3c57838440a4
[ "MIT" ]
5
2020-03-01T11:17:09.000Z
2021-07-08T20:45:47.000Z
backend/management/commands/setentryfolder.py
Software-Engineering-Bachelor-Project/mycroft
8ca3b6bfaa7b573f67def06c637f3c57838440a4
[ "MIT" ]
245
2020-03-28T11:59:12.000Z
2020-05-26T10:05:22.000Z
backend/management/commands/setentryfolder.py
Software-Engineering-Bachelor-Project/mycroft
8ca3b6bfaa7b573f67def06c637f3c57838440a4
[ "MIT" ]
5
2020-02-03T08:15:13.000Z
2020-04-15T07:22:47.000Z
from django.core.management.base import BaseCommand from backend.file_manager import build_file_structure class Command(BaseCommand): help = 'Sets entry folder to given file path.' def add_arguments(self, parser): parser.add_argument('folder', type=str, help='Path to entry folder') def handle(se...
33.526316
76
0.66876
81
637
5.160494
0.530864
0.105263
0.086124
0
0
0
0
0
0
0
0
0
0.230769
637
18
77
35.388889
0.853061
0
0
0
0
0
0.200942
0
0
0
0
0
0
1
0.142857
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
0
0
0
0
0
0
0
1
0
21eb2ec30e5683c312af0b66057c5639110b2683
2,149
py
Python
work/adder.py
MorrisMA/py65
bda1553ff88fc577944bde3d7cb3e75a3b83ccfa
[ "BSD-3-Clause" ]
null
null
null
work/adder.py
MorrisMA/py65
bda1553ff88fc577944bde3d7cb3e75a3b83ccfa
[ "BSD-3-Clause" ]
null
null
null
work/adder.py
MorrisMA/py65
bda1553ff88fc577944bde3d7cb3e75a3b83ccfa
[ "BSD-3-Clause" ]
null
null
null
from math import * N = 8 V = 4 Z = 2 C = 1 wordSign = 1 << 11 wordMask = (1 << 12) - 1 byteSign = 1 << 7 byteMask = (1 << 8) - 1 def adder(op, a, b, cin, siz=False): if siz: sign = wordSign mask = wordMask else: sign = byteSign mask = byteMask auL = mask & a if op == ...
24.988372
69
0.378781
302
2,149
2.695364
0.241722
0.125307
0.132678
0.117936
0.373464
0.373464
0.373464
0.373464
0.304668
0.304668
0
0.105221
0.420661
2,149
85
70
25.282353
0.548594
0
0
0.118421
0
0.052632
0.127967
0
0
0
0
0
0
1
0.013158
false
0
0.013158
0
0.039474
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21eb9b89af0ad48429a382f4d21858a52a5325a0
324
py
Python
serve/utils.py
bvshyam/facegeneration_gan_sagemaker
d6bdb174bf1918d3e0823777c9f61437c8418b7a
[ "MIT" ]
9
2020-06-08T15:28:17.000Z
2021-12-27T12:47:37.000Z
serve/utils.py
bvshyam/facegeneration_gan_sagemaker
d6bdb174bf1918d3e0823777c9f61437c8418b7a
[ "MIT" ]
1
2021-08-28T02:50:04.000Z
2021-08-28T02:50:04.000Z
serve/utils.py
bvshyam/facegeneration_gan_sagemaker
d6bdb174bf1918d3e0823777c9f61437c8418b7a
[ "MIT" ]
4
2021-02-22T03:41:37.000Z
2021-12-27T12:52:56.000Z
import numpy as np import pickle import os import glob import torch def string_to_num(z_size_data): z_size_data = str(z_size_data) z_size_data = [float(i) for i in z_size_data.split(',')] z_size_data = torch.tensor(z_size_data) print("Inside Util") return z_size_data.deta...
17.052632
60
0.67284
54
324
3.703704
0.5
0.2
0.36
0.1
0.18
0.18
0
0
0
0
0
0
0.240741
324
19
61
17.052632
0.813008
0
0
0
0
0
0.036923
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.636364
0.090909
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
21ed527c3321a9993fe603a88785851b9688cff9
2,289
py
Python
optimism/contact/PenaltyContact.py
btalamini/optimism
023e1b2a0b137900a7517e4c7ac5056255cf7bbe
[ "MIT" ]
null
null
null
optimism/contact/PenaltyContact.py
btalamini/optimism
023e1b2a0b137900a7517e4c7ac5056255cf7bbe
[ "MIT" ]
1
2022-03-12T00:01:12.000Z
2022-03-12T00:01:12.000Z
optimism/contact/PenaltyContact.py
btalamini/optimism
023e1b2a0b137900a7517e4c7ac5056255cf7bbe
[ "MIT" ]
3
2021-12-23T19:53:31.000Z
2022-03-27T23:12:03.000Z
from optimism.JaxConfig import * from optimism import Mesh from optimism import QuadratureRule from optimism import Surface import numpy as onp def get_current_coordinates_at_quadrature_points(mesh, dispField, quadRule, edge): fieldIndex = Surface.get_field_index(edge, mesh.conns) edgeCoords = Surface.ev...
40.875
145
0.7737
270
2,289
6.355556
0.244444
0.045455
0.073427
0.058275
0.613054
0.453963
0.453963
0.453963
0.453963
0.417249
0
0.003543
0.136741
2,289
55
146
41.618182
0.864879
0
0
0.323529
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.147059
0.058824
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21ee589b914a86f78fa5eda580da880b00125bd4
1,970
py
Python
nlplingo/oregon/event_models/uoregon/layers/elmo.py
BBN-E/nlplingo
32ff17b1320937faa3d3ebe727032f4b3e7a353d
[ "Apache-2.0" ]
3
2020-10-22T13:28:00.000Z
2022-03-24T19:57:22.000Z
nlplingo/oregon/event_models/uoregon/layers/elmo.py
BBN-E/nlplingo
32ff17b1320937faa3d3ebe727032f4b3e7a353d
[ "Apache-2.0" ]
null
null
null
nlplingo/oregon/event_models/uoregon/layers/elmo.py
BBN-E/nlplingo
32ff17b1320937faa3d3ebe727032f4b3e7a353d
[ "Apache-2.0" ]
1
2020-10-22T13:29:51.000Z
2020-10-22T13:29:51.000Z
import torch from torch.nn import ParameterList, Parameter class Elmo(torch.nn.Module): """ Computes a parameterised scalar mixture of N tensors, `mixture = gamma * sum(s_k * tensor_k)` where `s = softmax(w)`, with `w` and `gamma` scalar parameters. In addition, if `do_layer_norm=True` then apply laye...
34.561404
103
0.607614
223
1,970
5.116592
0.403587
0.070114
0.048203
0.052585
0
0
0
0
0
0
0
0.007262
0.301015
1,970
56
104
35.178571
0.821351
0.167005
0
0
0
0
0
0
0
0
0
0
0
1
0.078947
false
0
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21f0610f9c429eafbd7f7a9b6735df0089388e4e
1,035
py
Python
e-mail/enviar_email.py
HeyLucasLeao/HeyLucasLeao.github.io
5c5da105763bbaeb3391ca716a09e87490b6eb1f
[ "MIT" ]
1
2021-05-14T22:42:02.000Z
2021-05-14T22:42:02.000Z
e-mail/enviar_email.py
HeyLucasLeao/HeyLucasLeao.github.io
5c5da105763bbaeb3391ca716a09e87490b6eb1f
[ "MIT" ]
null
null
null
e-mail/enviar_email.py
HeyLucasLeao/HeyLucasLeao.github.io
5c5da105763bbaeb3391ca716a09e87490b6eb1f
[ "MIT" ]
null
null
null
import smtplib from email.message import EmailMessage from os import environ from time import sleep from datetime import datetime """envio um alerta sobre atualização do relatório para pessoas próximas, utilizando um gmail bot""" enderecos_de_usuarios = environ.get("ADRESS_USERS") emails = enderecos_de_usuarios.spli...
25.243902
77
0.700483
145
1,035
4.875862
0.551724
0.056577
0.053748
0
0
0
0
0
0
0
0
0.011614
0.168116
1,035
40
78
25.875
0.809524
0
0
0
0
0
0.179679
0.02246
0
0
0
0
0
1
0.035714
false
0.071429
0.178571
0
0.214286
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
0
0
0
1
0
0
0
0
0
1
21f0a27826fe6d05bf6a7d288647b63d5e047d8e
112
py
Python
battlehack20/engine/__init__.py
cooljoseph1/battlehack20-minimal
3a1207b7eeb48123664d870706971907bbe8c101
[ "MIT" ]
1
2021-01-01T19:02:34.000Z
2021-01-01T19:02:34.000Z
battlehack20/engine/__init__.py
cooljoseph1/battlehack20-minimal
3a1207b7eeb48123664d870706971907bbe8c101
[ "MIT" ]
null
null
null
battlehack20/engine/__init__.py
cooljoseph1/battlehack20-minimal
3a1207b7eeb48123664d870706971907bbe8c101
[ "MIT" ]
null
null
null
from .container import CodeContainer from .game import Game, GameConstants from .basicviewer import BasicViewer
28
37
0.848214
13
112
7.307692
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.116071
112
3
38
37.333333
0.959596
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
21f19e371c588730cf753a1e2c9dc29cf4e55481
5,082
py
Python
walter/common/walterWidgets/walterBaseVariantsMenu.py
all-in-one-of/OpenWalter
c2034f7fac20b36ffe3e500c01d40b87e84e2b97
[ "libtiff" ]
187
2018-08-14T19:06:20.000Z
2022-03-04T06:03:25.000Z
walter/common/walterWidgets/walterBaseVariantsMenu.py
all-in-one-of/OpenWalter
c2034f7fac20b36ffe3e500c01d40b87e84e2b97
[ "libtiff" ]
9
2018-08-22T15:34:48.000Z
2019-11-27T13:45:21.000Z
walter/common/walterWidgets/walterBaseVariantsMenu.py
all-in-one-of/OpenWalter
c2034f7fac20b36ffe3e500c01d40b87e84e2b97
[ "libtiff" ]
41
2018-08-14T19:06:09.000Z
2021-09-04T20:01:10.000Z
""" Base classes for USD variants. It's written on Python to be able to use complex UI and PySide. """ # Copyright 2017 Rodeo FX. All rights reserved. import json from .Qt import QtWidgets from walterComplexMenu import ComplexMenu class VariantSet(): """Per variantset variants list.""" def __init__(self, na...
30.987805
82
0.62436
454
5,082
6.872247
0.306167
0.026923
0.017628
0.009615
0.086538
0.044231
0.044231
0.022436
0.022436
0
0
0.001386
0.29024
5,082
163
83
31.177914
0.863599
0.085596
0
0.160714
0
0
0.010618
0
0
0
0
0
0
1
0.142857
false
0.035714
0.026786
0
0.223214
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21f21031be862a43049f9bef4b7aeb870a9264f2
173
py
Python
Chapter12/programs/prog06.py
gits00/raspberry-pi-computer-vision-programming
dfd5588c5d3e410945f862427c0f987536b04d9f
[ "MIT" ]
17
2020-08-08T20:47:29.000Z
2022-03-12T03:08:21.000Z
Chapter12/programs/prog06.py
gits00/raspberry-pi-computer-vision-programming
dfd5588c5d3e410945f862427c0f987536b04d9f
[ "MIT" ]
1
2020-07-27T09:57:19.000Z
2020-08-18T10:57:31.000Z
Chapter12/programs/prog06.py
gits00/raspberry-pi-computer-vision-programming
dfd5588c5d3e410945f862427c0f987536b04d9f
[ "MIT" ]
15
2020-06-30T01:52:06.000Z
2022-02-08T08:28:48.000Z
import matplotlib.pyplot as plt import mahotas photo = mahotas.demos.load('luispedro') photo = mahotas.colors.rgb2sepia(photo) plt.imshow(photo) plt.axis('off') plt.show()
19.222222
39
0.768786
25
173
5.32
0.64
0.180451
0
0
0
0
0
0
0
0
0
0.006369
0.092486
173
8
40
21.625
0.840764
0
0
0
0
0
0.069364
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
21f244a8537b9d091ee8fe82b19616dc52ef2d25
4,983
py
Python
src/speechless/readers/audio.py
Exepp/SpeechLess
6e7424e979f39132650db0d7426c1e9449dc43b8
[ "MIT" ]
1
2022-03-17T14:51:41.000Z
2022-03-17T14:51:41.000Z
src/speechless/readers/audio.py
Exepp/SpeechLess
6e7424e979f39132650db0d7426c1e9449dc43b8
[ "MIT" ]
14
2021-06-23T02:27:22.000Z
2021-11-27T15:43:39.000Z
src/speechless/readers/audio.py
Exepp/SpeechLess
6e7424e979f39132650db0d7426c1e9449dc43b8
[ "MIT" ]
null
null
null
import subprocess import av import numpy as np from av.audio.frame import format_dtypes from typing import Dict, Generator, Tuple from logging import Logger from pathlib import Path from enum import Enum, auto from speechless.utils.logging import NULL_LOGGER class StreamInfo(Enum): SAMPLE_RATE = auto() FRAME_SI...
37.75
100
0.675095
673
4,983
4.843982
0.200594
0.049693
0.062577
0.027607
0.412577
0.382822
0.330982
0.257669
0.237423
0.169939
0
0.005167
0.223159
4,983
131
101
38.038168
0.836993
0.328116
0
0.138889
0
0
0.127436
0.032787
0
0
0
0
0
1
0.083333
false
0
0.125
0
0.305556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21f39b184cd5ca7c84021b18a3faeb579b594682
413
py
Python
scripts/multi_sound.py
deeredman1991/Simple-Mod-Loader
00fd342b43132d4ee1bd8ef9ac0910d02fece737
[ "MIT" ]
null
null
null
scripts/multi_sound.py
deeredman1991/Simple-Mod-Loader
00fd342b43132d4ee1bd8ef9ac0910d02fece737
[ "MIT" ]
null
null
null
scripts/multi_sound.py
deeredman1991/Simple-Mod-Loader
00fd342b43132d4ee1bd8ef9ac0910d02fece737
[ "MIT" ]
null
null
null
from kivy.core.audio import SoundLoader class MultiSound(object): # for playing the same sound multiple times. def __init__(self, file, num): self.num = num self.sounds = [SoundLoader.load(file) for n in range(num)] self.index = 0 def play(self): self.sounds[self.index]...
31.769231
70
0.598063
56
413
4.339286
0.553571
0.185185
0.098765
0.106996
0
0
0
0
0
0
0
0.010274
0.292978
413
13
71
31.769231
0.821918
0.101695
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21f3edcb7d50ea036f5a264fb5f9a7a4e6b5cf1a
810
py
Python
datasets/orange.py
tkemps/mklaren
d9e7890aaa26cb3877e1a82114ab1e52df595d96
[ "BSD-2-Clause" ]
3
2019-10-28T17:20:37.000Z
2020-08-20T22:59:18.000Z
datasets/orange.py
tkemps/mklaren
d9e7890aaa26cb3877e1a82114ab1e52df595d96
[ "BSD-2-Clause" ]
null
null
null
datasets/orange.py
tkemps/mklaren
d9e7890aaa26cb3877e1a82114ab1e52df595d96
[ "BSD-2-Clause" ]
1
2019-10-28T17:20:35.000Z
2019-10-28T17:20:35.000Z
from numpy import genfromtxt from os.path import join, realpath, dirname ORANGE_PATH = join(dirname(realpath(__file__)), "orange") def load_ionosphere(n=None): """ Load the ionosphere dataset. :param n: Maximum number of examples. :return: Dataset in standard form. """ header = genfromtxt(join...
32.4
74
0.583951
106
810
4.358491
0.481132
0.064935
0.08658
0.103896
0.242424
0.242424
0.242424
0.242424
0.242424
0
0
0.0134
0.262963
810
25
75
32.4
0.760469
0.124691
0
0
0
0
0.075802
0
0
0
0
0
0.055556
1
0.055556
false
0
0.111111
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
0
0
0
0
0
1
0
21f493f41dab43945de7c3a7977465eb24defd66
2,524
py
Python
makahiki/scripts/initialize_instance.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
1
2015-07-22T11:31:20.000Z
2015-07-22T11:31:20.000Z
makahiki/scripts/initialize_instance.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
null
null
null
makahiki/scripts/initialize_instance.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
null
null
null
#!/usr/bin/python """ Invocation: scripts/initialize_instance .py -t|--type[=] default|demo|test -r|--heroku[=] <heroku_app> Use this script to create an instance with different types of configuration: [default]: includes the basic configuration. The admin needs to creat...
30.409639
90
0.666799
341
2,524
4.692082
0.375367
0.089375
0.046875
0.0625
0.0675
0.0675
0.035
0
0
0
0
0.005641
0.227417
2,524
82
91
30.780488
0.814872
0.388669
0
0.102564
0
0
0.09085
0
0
0
0
0
0
1
0.025641
false
0
0.102564
0
0.128205
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21f5073b90d55e21b0f44ad29ee9acc3780ac97b
799
py
Python
Chapter25/listing25-2.py
TYRMars/PythonLearn
573c8d0b94b890924942e6ba7882eaf73597fb63
[ "MIT" ]
null
null
null
Chapter25/listing25-2.py
TYRMars/PythonLearn
573c8d0b94b890924942e6ba7882eaf73597fb63
[ "MIT" ]
null
null
null
Chapter25/listing25-2.py
TYRMars/PythonLearn
573c8d0b94b890924942e6ba7882eaf73597fb63
[ "MIT" ]
1
2018-08-23T14:41:32.000Z
2018-08-23T14:41:32.000Z
#!/usr/bin/env python print 'Content-type: text/html\n' from os.path import join, abspath import cgi, sys BASE_DIR = abspath('data') form = cgi.FieldStorage() filename = form.getvalue('filename') if not filename: print 'Please enter a file name' sys.exit() text = open(join(BASE_DIR, filename)).read() print...
23.5
67
0.594493
109
799
4.33945
0.513761
0.044397
0.046512
0
0
0
0
0
0
0
0
0.006202
0.192741
799
34
68
23.5
0.727132
0.025031
0
0
0
0
0.646983
0.065469
0
0
0
0
0
0
null
null
0.071429
0.071429
null
null
0.107143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
21f70e00fd9069d8e81d9648fe78c6c73dc2b773
2,608
py
Python
python/xml_parsers.py
warlicks/Real_Estate_Data
137dc53a24a878cb96ec5132be6e81196902aec1
[ "MIT" ]
1
2021-01-24T23:59:18.000Z
2021-01-24T23:59:18.000Z
python/xml_parsers.py
warlicks/Real_Estate_Data
137dc53a24a878cb96ec5132be6e81196902aec1
[ "MIT" ]
3
2016-08-13T22:39:14.000Z
2016-08-21T01:00:51.000Z
python/xml_parsers.py
warlicks/Real_Estate_Data
137dc53a24a878cb96ec5132be6e81196902aec1
[ "MIT" ]
null
null
null
# Sean Warlick # Seattle Housing Project # XML Parsing Functions # Date: July 12, 2016 ############################################################################### # Import packages import xml.etree.ElementTree as et def location_parse(xml_string): # Convert the data returned from api to XML xml_element = et.fro...
28.347826
126
0.669095
352
2,608
4.894886
0.306818
0.069646
0.048752
0.043529
0.283227
0.205456
0.205456
0.186883
0.080093
0
0
0.002759
0.166028
2,608
92
127
28.347826
0.789425
0.254985
0
0.188679
0
0
0.163872
0.011898
0
0
0
0
0
1
0.018868
false
0
0.018868
0
0.056604
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21f7449c3c2398e5a298ec70522f29070b828181
462
py
Python
CodeChef/CRAWA.py
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
2
2019-04-20T18:03:20.000Z
2019-08-17T21:20:47.000Z
CodeChef/CRAWA.py
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
null
null
null
CodeChef/CRAWA.py
tapaswenipathak/Competitive-Programming
97bba0f2ccdf587df93244a027050489f0905480
[ "MIT" ]
1
2019-04-20T18:03:26.000Z
2019-04-20T18:03:26.000Z
T = int (raw_input ()) while T : X, Y = map (long, raw_input ().split ()) T -= 1 neg_X = -X neg_Y = -Y if X == 0 and Y == 0 : print "YES" elif X < 0 and not (X & 1) and X <= Y and Y <= neg_X : print "YES" elif X > 0 and X & 1 and (1 - X) <= Y and Y <= (X + 1) : print "YES" elif Y > 0 and not (Y & 1) and...
20.086957
61
0.478355
97
462
2.216495
0.216495
0.111628
0.223256
0.083721
0.4
0.4
0.24186
0.24186
0.24186
0.24186
0
0.04886
0.335498
462
22
62
21
0.651466
0
0
0.277778
0
0
0.036797
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
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
1
0
0
0
0
0
0
0
0
2
21f9033f249e427aede9e4e1c1b360170f737e4c
11,009
py
Python
pygame_gui/elements/ui_horizontal_slider.py
jtiai/pygame_gui
3da0e1f2c4c60a2780c798d5592f2603ba786b34
[ "MIT" ]
null
null
null
pygame_gui/elements/ui_horizontal_slider.py
jtiai/pygame_gui
3da0e1f2c4c60a2780c798d5592f2603ba786b34
[ "MIT" ]
null
null
null
pygame_gui/elements/ui_horizontal_slider.py
jtiai/pygame_gui
3da0e1f2c4c60a2780c798d5592f2603ba786b34
[ "MIT" ]
null
null
null
import pygame import warnings from typing import Union, List, Tuple from .. import ui_manager from ..core import ui_container from ..core.ui_element import UIElement from ..elements.ui_button import UIButton class UIHorizontalSlider(UIElement): """ A horizontal slider is intended to help users adjust values ...
51.929245
118
0.597239
1,303
11,009
4.768227
0.147352
0.044906
0.06084
0.053114
0.447449
0.398841
0.327217
0.301626
0.272815
0.246419
0
0.007133
0.325098
11,009
211
119
52.175355
0.828802
0.111273
0
0.248322
0
0
0.012595
0
0
0
0
0
0
1
0.033557
false
0
0.04698
0
0.09396
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21f9e26af5d975c9a2fcbd148cf8f461ec5ebcb9
76
py
Python
Scheduling and Launching/openme.py
Piraato/Learn-Python
ae33680b61bbf41f5c0c29c79544b54e59df80b2
[ "MIT" ]
null
null
null
Scheduling and Launching/openme.py
Piraato/Learn-Python
ae33680b61bbf41f5c0c29c79544b54e59df80b2
[ "MIT" ]
null
null
null
Scheduling and Launching/openme.py
Piraato/Learn-Python
ae33680b61bbf41f5c0c29c79544b54e59df80b2
[ "MIT" ]
null
null
null
print("Very well, you can run Python scripts from a Python script.") input()
38
68
0.75
13
76
4.384615
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.144737
76
2
69
38
0.876923
0
0
0
0
0
0.766234
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
21fb519669ab124f568a6a6b5a2310b85412e2fa
2,614
py
Python
src/django_datatables/mixins.py
ryanbowen/django-datatables
995b82ecf666d4fcae3322861312d927cba07c82
[ "Apache-2.0" ]
null
null
null
src/django_datatables/mixins.py
ryanbowen/django-datatables
995b82ecf666d4fcae3322861312d927cba07c82
[ "Apache-2.0" ]
null
null
null
src/django_datatables/mixins.py
ryanbowen/django-datatables
995b82ecf666d4fcae3322861312d927cba07c82
[ "Apache-2.0" ]
null
null
null
from datetime import datetime import logging from django.core.serializers.json import DjangoJSONEncoder from django.http import HttpResponse, JsonResponse from django.utils.encoding import force_text from django.utils.functional import Promise from django.utils.translation import ugettext as _ from django.utils.cache ...
30.752941
107
0.643458
302
2,614
5.437086
0.430464
0.042631
0.045676
0.024361
0
0
0
0
0
0
0
0.001542
0.25593
2,614
84
108
31.119048
0.842674
0.048585
0
0.067797
0
0
0.090317
0.026851
0
0
0
0
0.016949
1
0.067797
false
0
0.20339
0
0.40678
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21fbcb929911a995b3f6095877a796a92d8d46dc
2,193
py
Python
src/dsa/misc/utils/class_generator.py
tvatter/dsa
e5ae217e38441d90914a55103e23d86f5821dc2f
[ "MIT" ]
null
null
null
src/dsa/misc/utils/class_generator.py
tvatter/dsa
e5ae217e38441d90914a55103e23d86f5821dc2f
[ "MIT" ]
null
null
null
src/dsa/misc/utils/class_generator.py
tvatter/dsa
e5ae217e38441d90914a55103e23d86f5821dc2f
[ "MIT" ]
null
null
null
import re from os import path def preprocess_file(class_name='MyClass', file_name=None, property_name=None): if file_name is None: file_name = class_name.lower() + '.py' found = [False] * 3 class_info = { 'name': class_name, 'definition': 'class {}:'.format(class_name) } if path.exists(fil...
27.074074
78
0.679891
321
2,193
4.35514
0.214953
0.128755
0.077253
0.054363
0.164521
0.110873
0.044349
0
0
0
0
0.012168
0.175559
2,193
80
79
27.4125
0.761062
0.040128
0
0
0
0
0.159372
0
0
0
0
0
0
1
0.052632
false
0
0.035088
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21fdc764a84fb352ca7b3148dd8aba7ab9037b6c
28,087
py
Python
Functions/SimulationType/DC.py
SunYongshuai/SunSpice
7f9368a7af1421a63b69dcce3decc6d06ff1ff6b
[ "Apache-2.0" ]
1
2018-12-10T06:06:54.000Z
2018-12-10T06:06:54.000Z
Functions/SimulationType/DC.py
SunYongshuai/SunSpice
7f9368a7af1421a63b69dcce3decc6d06ff1ff6b
[ "Apache-2.0" ]
null
null
null
Functions/SimulationType/DC.py
SunYongshuai/SunSpice
7f9368a7af1421a63b69dcce3decc6d06ff1ff6b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # -*- encoding="UTF-8" -*- #Import Package import numpy as np from tkinter.messagebox import * import parameters from Functions.string2num import string2num def getOutTitleDC(): if len(parameters.listDCParam) == 1: paramName = parameters.listDCParam[0].paramName WriteString = ...
48.176672
228
0.492505
2,635
28,087
5.225806
0.080076
0.114234
0.062309
0.018373
0.768555
0.732898
0.716485
0.709223
0.703268
0.703268
0
0.020227
0.403283
28,087
582
229
48.25945
0.801372
0.052729
0
0.584541
0
0
0.011497
0
0
0
0
0
0
1
0.007246
false
0.012077
0.009662
0
0.024155
0.021739
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
21ff78f085a5d50f157b5c45478181711a1254eb
2,086
py
Python
kilojoule/templates/humidair_USCS_F.py
johnfmaddox/kilojoule
b4c146ded82e3ef51a0252ff48b1066a076e9aeb
[ "MIT" ]
null
null
null
kilojoule/templates/humidair_USCS_F.py
johnfmaddox/kilojoule
b4c146ded82e3ef51a0252ff48b1066a076e9aeb
[ "MIT" ]
null
null
null
kilojoule/templates/humidair_USCS_F.py
johnfmaddox/kilojoule
b4c146ded82e3ef51a0252ff48b1066a076e9aeb
[ "MIT" ]
null
null
null
import kilojoule.humidair import kilojoule.realfluid import kilojoule.idealgas as idealgas from kilojoule.organization import QuantityTable from kilojoule.display import Calculations, Summary from kilojoule.units import units, Quantity import kilojoule.magics humidair = kilojoule.humidair.Properties(unit_syste...
47.409091
85
0.553691
243
2,086
4.559671
0.37037
0.045126
0.072202
0.059567
0.106498
0.041516
0
0
0
0
0
0.00211
0.318313
2,086
43
86
48.511628
0.777075
0.247843
0
0
0
0
0.228916
0
0
0
0
0
0
1
0
false
0
0.175
0
0.175
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
21fff18d4759e159cf4d6e56e3ded5c1754b0ebb
229
py
Python
tests/__main__.py
technikian/sty
4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a
[ "Apache-2.0" ]
170
2018-02-10T18:21:21.000Z
2022-03-16T17:50:12.000Z
tests/__main__.py
technikian/sty
4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a
[ "Apache-2.0" ]
44
2018-02-26T15:41:44.000Z
2022-02-05T13:34:25.000Z
tests/__main__.py
technikian/sty
4c614b1b7d7ca26dd2f12fa6ef180c6586a8ad3a
[ "Apache-2.0" ]
13
2018-05-24T17:49:12.000Z
2022-03-25T06:42:07.000Z
""" """ from sty import RgbFg, Style, ef, fg from tests import demo, test_ansi_values # isort:skip from tests.docs import ( # isort:skip getting_started, effects, coloring, customizing, muting, etc, )
15.266667
54
0.650655
29
229
5.034483
0.758621
0.123288
0
0
0
0
0
0
0
0
0
0
0.248908
229
14
55
16.357143
0.848837
0.091703
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
1d0018b86cdd965ac8f6b7d70eb9745a2cec6bbc
7,640
py
Python
CRF/scan_text_rev.py
henchc/MHG-Scansion-BLSTM
551abd3da9a2f989fb770ee97dbd73445edd0d3c
[ "MIT" ]
4
2018-04-21T08:52:25.000Z
2020-01-08T13:57:05.000Z
CRF/scan_text_rev.py
henchc/MHG-Scansion-BLSTM
551abd3da9a2f989fb770ee97dbd73445edd0d3c
[ "MIT" ]
null
null
null
CRF/scan_text_rev.py
henchc/MHG-Scansion-BLSTM
551abd3da9a2f989fb770ee97dbd73445edd0d3c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals # for python2 compatibility from __future__ import division from __future__ import absolute_import # created at UC Berkeley 2015 # Authors: Christopher Hench # This program scans MHG epic poetry, returning data to analyze statistically import codecs im...
32.7897
99
0.47055
951
7,640
3.659306
0.170347
0.038218
0.025287
0.02069
0.540805
0.448563
0.419828
0.385632
0.321552
0.223563
0
0.03297
0.424346
7,640
232
100
32.931034
0.757617
0.185471
0
0.486301
0
0
0.045823
0
0
0
0
0
0
1
0.006849
false
0.006849
0.089041
0
0.09589
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d01a7ba705971e5adcf5ebca0f865bd17b58593
12,084
py
Python
aps_32id/run/energy_scan.py
tomography/scanscripts
f7486fe1285da4684f3709661f112ccc15c2e4b8
[ "BSD-3-Clause" ]
null
null
null
aps_32id/run/energy_scan.py
tomography/scanscripts
f7486fe1285da4684f3709661f112ccc15c2e4b8
[ "BSD-3-Clause" ]
18
2017-03-27T01:35:35.000Z
2018-04-03T20:30:49.000Z
aps_32id/run/energy_scan.py
tomography/scanscripts
f7486fe1285da4684f3709661f112ccc15c2e4b8
[ "BSD-3-Clause" ]
8
2017-02-22T16:31:43.000Z
2017-10-15T18:22:30.000Z
# -*- coding: utf-8 -*- ####################### '''For each energy step, a projection and then a flat field are acquired. The script calls the move_energy method from the TXM class. ''' import time import os import logging import warnings import numpy as np import h5py import tqdm from scanlib.scan_variables import...
40.28
87
0.642337
1,578
12,084
4.723701
0.220532
0.008452
0.022538
0.027904
0.187416
0.151462
0.118326
0.098739
0.074054
0.074054
0
0.014075
0.270937
12,084
299
88
40.414716
0.831782
0.328037
0
0.158192
0
0
0.155816
0
0
0
0
0
0
1
0.022599
false
0
0.056497
0.00565
0.090395
0.011299
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d02c486ba87d6a7adf60c5da4f6c32ac5c73634
308
py
Python
Section 1: Linux, Virtual Machines, Docker/home_exercise_4_-_flask/IMDB/data_test.py
MarkVoitov/DS_ABB
130ba32fe7187d41fee5651800b965211d1ccaa9
[ "MIT" ]
null
null
null
Section 1: Linux, Virtual Machines, Docker/home_exercise_4_-_flask/IMDB/data_test.py
MarkVoitov/DS_ABB
130ba32fe7187d41fee5651800b965211d1ccaa9
[ "MIT" ]
null
null
null
Section 1: Linux, Virtual Machines, Docker/home_exercise_4_-_flask/IMDB/data_test.py
MarkVoitov/DS_ABB
130ba32fe7187d41fee5651800b965211d1ccaa9
[ "MIT" ]
null
null
null
from contextlib import closing import sqlite3 def query(db_name, sql): with closing(sqlite3.connect(db_name)) as con, con, \ closing(con.cursor()) as cur: cur.execute(sql) print(cur.fetchall()) if __name__ == '__main__': query("IMDB.db","""SELECT * FROM title_basics LIMIT 200""")
23.692308
61
0.672078
43
308
4.55814
0.627907
0.061224
0
0
0
0
0
0
0
0
0
0.01992
0.185065
308
12
62
25.666667
0.760956
0
0
0
0
0
0.165584
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d0439f0057cae94a572c82de4fa0e43b8aad68d
4,551
py
Python
scripts/frontend/page_components/InformationBlock.py
MichaelLapshin/Virtual-Hand-Application
7c27317feae3d54fd10e616858ab0ab79bda6338
[ "MIT" ]
1
2021-08-31T05:22:04.000Z
2021-08-31T05:22:04.000Z
scripts/frontend/page_components/InformationBlock.py
MichaelLapshin/Virtual-Hand-Application
7c27317feae3d54fd10e616858ab0ab79bda6338
[ "MIT" ]
null
null
null
scripts/frontend/page_components/InformationBlock.py
MichaelLapshin/Virtual-Hand-Application
7c27317feae3d54fd10e616858ab0ab79bda6338
[ "MIT" ]
null
null
null
import tkinter import tkinter.font from scripts import General, Parameters, Constants from scripts.frontend.custom_widgets.CustomLabels import InformationLabel from scripts.frontend.custom_widgets.WidgetInterface import WidgetInterface TITLE_FONT_SIZE = 8 class Frame(tkinter.Frame, WidgetInterface): def __init...
37.925
109
0.667985
594
4,551
4.93771
0.161616
0.062734
0.066826
0.046369
0.378111
0.342312
0.28401
0.239004
0.171497
0.108762
0
0.006849
0.230059
4,551
119
110
38.243697
0.830194
0.06548
0
0.101266
0
0
0.001886
0
0
0
0
0
0.101266
1
0.151899
false
0
0.063291
0
0.227848
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d04634957ca46a9855555b61ec6eb3e8a8ca0fd
2,320
py
Python
tests/st/ops/gpu/test_softmax_cross_entropy_with_logits_op.py
unseenme/mindspore
4ba052f0cd9146ac0ccc4880a778706f1b2d0af8
[ "Apache-2.0" ]
2
2020-04-28T03:49:10.000Z
2020-04-28T03:49:13.000Z
tests/st/ops/gpu/test_softmax_cross_entropy_with_logits_op.py
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
7
2020-03-30T08:31:56.000Z
2020-04-01T09:54:39.000Z
tests/st/ops/gpu/test_softmax_cross_entropy_with_logits_op.py
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
1
2020-03-30T17:07:43.000Z
2020-03-30T17:07:43.000Z
# Copyright 2019 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
39.322034
78
0.693534
296
2,320
5.290541
0.435811
0.038314
0.060664
0.073436
0.311622
0.265006
0.242656
0.242656
0.242656
0.242656
0
0.040676
0.184052
2,320
58
79
40
0.786582
0.275
0
0.27027
0
0
0.003599
0
0
0
0
0
0.054054
1
0.081081
false
0
0.216216
0.027027
0.351351
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d051c46614f1151b0203d1021021db398273d06
89
py
Python
ner_trainer/forms.py
johnfraney/django-ner-trainer
38a02a858412eab2d4721659ee33a6e8721199ea
[ "MIT" ]
6
2018-07-26T12:11:21.000Z
2021-07-14T07:08:55.000Z
ner_trainer/forms.py
johnfraney/django-ner-trainer
38a02a858412eab2d4721659ee33a6e8721199ea
[ "MIT" ]
null
null
null
ner_trainer/forms.py
johnfraney/django-ner-trainer
38a02a858412eab2d4721659ee33a6e8721199ea
[ "MIT" ]
4
2019-03-31T06:29:53.000Z
2022-03-18T17:27:33.000Z
from django import forms class ModelTestForm(forms.Form): text = forms.CharField()
14.833333
32
0.741573
11
89
6
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
33
17.8
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
1d056b6de10144e26a10af65f7fd8be29e15279f
440
py
Python
docs/notebooks/startup.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
docs/notebooks/startup.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
99
2019-05-20T14:16:33.000Z
2021-01-19T09:25:15.000Z
docs/notebooks/startup.py
withrocks/commonlims
d8a925c917aa26e8205fefb3966a9f49f8f2e2f8
[ "BSD-3-Clause" ]
1
2020-08-10T07:55:40.000Z
2020-08-10T07:55:40.000Z
from uuid import uuid4 from sentry.runner import configure configure() from clims.models import * from clims.services import * from sentry.models import * from sentry.testutils.fixtures import Fixtures app = ApplicationService() ioc.set_application(app) notebook_plugin, _ = PluginRegistration.objects.get_or_create( ...
25.882353
62
0.770455
57
440
5.842105
0.596491
0.09009
0.096096
0
0
0
0
0
0
0
0
0.012853
0.115909
440
16
63
27.5
0.843188
0
0
0
0
0
0.072727
0.05
0
0
0
0
0
1
0.076923
false
0
0.461538
0.076923
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1d058146fd52903447fe36684e99aa705f6fd6f5
2,747
py
Python
charts.py
glichfalls/covid-19-charts
52e9b78632388d3459bdc04f91513c00eaee000c
[ "MIT" ]
null
null
null
charts.py
glichfalls/covid-19-charts
52e9b78632388d3459bdc04f91513c00eaee000c
[ "MIT" ]
null
null
null
charts.py
glichfalls/covid-19-charts
52e9b78632388d3459bdc04f91513c00eaee000c
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import matplotlib.ticker as ticker import matplotlib.dates as mdates from db import DatabaseConnection from datetime import datetime, timedelta class Charts: def __init__(self, db: DatabaseConnection): self._db = db # get pie chart of the total cases by continent and ...
37.121622
92
0.636695
386
2,747
4.393782
0.305699
0.024764
0.024764
0.033019
0.380896
0.348467
0.348467
0.31309
0.274764
0.274764
0
0.013783
0.234074
2,747
73
93
37.630137
0.7923
0.092829
0
0.254545
0
0
0.041868
0
0
0
0
0
0
1
0.072727
false
0
0.090909
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d05e137c8e932893de9f86db9d1dd1e6a4e1e10
9,452
py
Python
test/mitmproxy/addons/test_proxyauth.py
takeratta/mitmproxy
569d275d763f499cce9673fcf118dcc8d59d2eeb
[ "MIT" ]
4
2018-03-14T03:47:22.000Z
2018-06-28T08:00:39.000Z
test/mitmproxy/addons/test_proxyauth.py
takeratta/mitmproxy
569d275d763f499cce9673fcf118dcc8d59d2eeb
[ "MIT" ]
null
null
null
test/mitmproxy/addons/test_proxyauth.py
takeratta/mitmproxy
569d275d763f499cce9673fcf118dcc8d59d2eeb
[ "MIT" ]
1
2018-04-22T15:43:46.000Z
2018-04-22T15:43:46.000Z
import binascii import pytest from unittest import mock from mitmproxy import exceptions from mitmproxy.addons import proxyauth from mitmproxy.test import taddons from mitmproxy.test import tflow from mitmproxy.test import tutils class TestMkauth: def test_mkauth_scheme(self): assert proxyauth.mkauth('u...
37.507937
133
0.563479
970
9,452
5.401031
0.137113
0.062989
0.064134
0.100973
0.693835
0.62531
0.584654
0.580263
0.528727
0.446268
0
0.00761
0.318769
9,452
251
134
37.657371
0.806026
0
0
0.471698
0
0.014151
0.169171
0.074587
0
0
0
0
0.198113
1
0.051887
false
0.056604
0.037736
0
0.103774
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
1d065428061f612cebb09870cc3474d78abeda68
303
py
Python
ari/track.py
gieseladev/ari-player
64a030956f6d35ea48275448df42228c38b2fa88
[ "MIT" ]
1
2019-08-04T00:48:52.000Z
2019-08-04T00:48:52.000Z
ari/track.py
gieseladev/ari-player
64a030956f6d35ea48275448df42228c38b2fa88
[ "MIT" ]
1
2021-06-02T00:24:45.000Z
2021-06-02T00:24:45.000Z
ari/track.py
gieseladev/ari-player
64a030956f6d35ea48275448df42228c38b2fa88
[ "MIT" ]
null
null
null
import dataclasses __all__ = ["ElakshiTrack", "AudioSource"] @dataclasses.dataclass(frozen=True) class ElakshiTrack: eid: str @dataclasses.dataclass(frozen=True) class AudioSource: source: str identifier: str uri: str start_offset: float end_offset: float is_live: bool
15.947368
41
0.716172
34
303
6.176471
0.617647
0.190476
0.247619
0.285714
0.333333
0
0
0
0
0
0
0
0.194719
303
18
42
16.833333
0.860656
0
0
0.153846
0
0
0.075908
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.769231
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1d065f1a5b01dcca6c7a7a8f8392fd06df430cc0
2,340
py
Python
models/randomized_lu.py
pjrule/math126-final-project
93c9953366fd684289ba97297ab16651f8c92d39
[ "MIT" ]
null
null
null
models/randomized_lu.py
pjrule/math126-final-project
93c9953366fd684289ba97297ab16651f8c92d39
[ "MIT" ]
null
null
null
models/randomized_lu.py
pjrule/math126-final-project
93c9953366fd684289ba97297ab16651f8c92d39
[ "MIT" ]
null
null
null
"""Randomized LU decomposition.""" import numpy as np import scipy.linalg as la from typing import Tuple PQLU = Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray] def randomized_lu(A: np.ndarray, k: int, l: int, seed: int = 0) -> PQLU: """Performs a randomized rank-k LU decomposition of A. Adapted fr...
30.789474
81
0.594872
430
2,340
3.155814
0.309302
0.020634
0.008843
0.039794
0.080324
0.026529
0
0
0
0
0
0.014277
0.281624
2,340
75
82
31.2
0.788816
0.509402
0
0
0
0
0
0
0
0
0
0.013333
0.382353
1
0.029412
false
0
0.088235
0
0.147059
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
1d0689511b2f8bc63d822a5b11a5451036ea240f
86
py
Python
homeassistant/components/html5/const.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
homeassistant/components/html5/const.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
homeassistant/components/html5/const.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Constants for the HTML5 component.""" DOMAIN = "html5" SERVICE_DISMISS = "dismiss"
21.5
40
0.72093
10
86
6.1
0.8
0
0
0
0
0
0
0
0
0
0
0.026667
0.127907
86
3
41
28.666667
0.786667
0.395349
0
0
0
0
0.26087
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1d06db36083ac9ceb764551230b0138b99515c1f
4,045
py
Python
soccer3d/soccerdepth/models/encoder_decoder.py
ngerstle/soccerontable
25426ff0f8fe0ce008b99c5c0fdbb35091d8d92c
[ "BSD-2-Clause" ]
465
2018-05-18T04:43:40.000Z
2022-02-27T03:09:25.000Z
soccer3d/soccerdepth/models/encoder_decoder.py
ngerstle/soccerontable
25426ff0f8fe0ce008b99c5c0fdbb35091d8d92c
[ "BSD-2-Clause" ]
18
2018-06-20T15:03:10.000Z
2021-05-05T04:33:38.000Z
soccer3d/soccerdepth/models/encoder_decoder.py
ngerstle/soccerontable
25426ff0f8fe0ce008b99c5c0fdbb35091d8d92c
[ "BSD-2-Clause" ]
97
2018-05-03T09:12:30.000Z
2022-01-25T12:49:33.000Z
import torch import torch.nn as nn class G(nn.Module): def __init__(self, input_nc, output_nc, ngf=64): super(G, self).__init__() # 128 x 128 self.conv1 = nn.Conv2d(input_nc, ngf, 4, 2, 1) # 64 x 64 x1 self.conv2 = nn.Conv2d(ngf, ngf*2, 4, 2, 1) # 32 x 32 x 2 ...
40.858586
76
0.500371
640
4,045
3.089063
0.135938
0.020233
0.021244
0.09914
0.313101
0.297926
0.243298
0.180577
0.168437
0.135559
0
0.113901
0.320643
4,045
99
77
40.858586
0.605531
0.274907
0
0
0
0
0
0
0
0
0
0
0
1
0.039216
false
0
0.039216
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d07976c7f74517929e92feef1305db889f52a18
264
py
Python
slotter/__init__.py
saurabh-hirani/slotter
a6d9dcacb61b5e1111e383855d181ef782ea494e
[ "MIT" ]
5
2016-10-21T06:58:30.000Z
2016-11-22T16:12:07.000Z
slotter/__init__.py
saurabh-hirani/slotter
a6d9dcacb61b5e1111e383855d181ef782ea494e
[ "MIT" ]
null
null
null
slotter/__init__.py
saurabh-hirani/slotter
a6d9dcacb61b5e1111e383855d181ef782ea494e
[ "MIT" ]
1
2020-02-27T03:36:01.000Z
2020-02-27T03:36:01.000Z
""" Slotter Slotter is used to slot elements in buckets """ from .version import __version__ __title__ = 'slotter' __author__ = 'Saurabh Hirani' __license__ = 'MIT' __copyright__ = 'Copyright 2016 Saurabh Hirani' from .slotter import Slotter create = Slotter
15.529412
47
0.757576
31
264
5.806452
0.645161
0.144444
0
0
0
0
0
0
0
0
0
0.0181
0.162879
264
16
48
16.5
0.79638
0.19697
0
0
0
0
0.259804
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d0814786340bf7cae3bfaf13859f75091f59cb9
941
py
Python
pytglib/api/types/chat_type_supergroup.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/chat_type_supergroup.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/chat_type_supergroup.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class ChatTypeSupergroup(Object): """ A supergroup (i.e. a chat with up to GetOption("supergroup_max_size") other users), or channel (with unlimited members) Attributes: ID (:obj:`str`): ``ChatTypeSupergroup`` Args: supergroup_id (:obj:`int`): ...
25.432432
124
0.624867
105
941
5.409524
0.47619
0.147887
0.073944
0.110915
0
0
0
0
0
0
0
0
0.268863
941
36
125
26.138889
0.825581
0.428268
0
0
0
0
0.124211
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d09e8d254b0e97154810e8229ddfdd861fe0345
12,370
py
Python
utils/logger_utils.py
sunhailin-Leo/TeamLeoX_BlogsCrawler
389ff31e02bdff415c8bc470a3a48da1acb14c4c
[ "MIT" ]
null
null
null
utils/logger_utils.py
sunhailin-Leo/TeamLeoX_BlogsCrawler
389ff31e02bdff415c8bc470a3a48da1acb14c4c
[ "MIT" ]
null
null
null
utils/logger_utils.py
sunhailin-Leo/TeamLeoX_BlogsCrawler
389ff31e02bdff415c8bc470a3a48da1acb14c4c
[ "MIT" ]
null
null
null
import os import sys import logging from typing import Dict from concurrent_log_handler import ConcurrentRotatingFileHandler LOG_NAME: str = "service.log" LOG_LEVEL_INT: int = 20 formatter_dict = { 1: logging.Formatter( "日志时间【%(asctime)s】 - 日志名称【%(name)s】 - 文件【%(filename)s】 - " "第【%(lineno)d】行 -...
35.342857
89
0.576475
1,398
12,370
4.796853
0.211016
0.040262
0.003579
0.004772
0.314942
0.268118
0.219058
0.174172
0.16105
0.147331
0
0.021383
0.304365
12,370
349
90
35.444126
0.757931
0.136621
0
0.188462
0
0.026923
0.167584
0.024423
0
0
0
0
0
1
0.073077
false
0
0.019231
0
0.157692
0.007692
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d0a33a6f3a05c3c57bcd109bd1331137ac931d0
1,945
py
Python
Blogs/Automate table mappings JSON creation/Create_JSON.py
subepie/DMS_tool
de4d3b3295366bb2118b31eb5ec268a278d4a557
[ "Apache-2.0" ]
43
2017-11-09T23:01:35.000Z
2020-09-08T14:51:41.000Z
Blogs/Automate table mappings JSON creation/Create_JSON.py
subepie/DMS_tool
de4d3b3295366bb2118b31eb5ec268a278d4a557
[ "Apache-2.0" ]
1
2019-09-11T09:54:55.000Z
2020-05-12T11:37:44.000Z
Blogs/Automate table mappings JSON creation/Create_JSON.py
subepie/DMS_tool
de4d3b3295366bb2118b31eb5ec268a278d4a557
[ "Apache-2.0" ]
34
2017-07-19T14:37:31.000Z
2020-08-30T00:54:01.000Z
import json import csv import os data = {} line_count = 0 data['rules'] = [] def writeJSON(): with open('automated_json.json', 'w') as outfile: json.dump(data, outfile) def createJSON(csvfile,action): global line_count with open(csvfile) as file: csv_reader = csv.reader(fi...
32.416667
90
0.579949
226
1,945
4.89823
0.429204
0.054201
0.056911
0.03794
0.112014
0
0
0
0
0
0
0.004484
0.312082
1,945
59
91
32.966102
0.82287
0
0
0.06
0
0
0.355779
0
0
0
0
0
0
1
0.04
false
0
0.06
0
0.1
0.18
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1d0ece57935690eb57b92110e051ae26ccac522f
502
py
Python
website/events/helpers/views.py
eamanu/asoc_members
bf2e99e9c63c60a59bdfd10ca1812d78851cbde6
[ "MIT" ]
9
2019-03-24T21:56:52.000Z
2022-03-14T04:21:48.000Z
website/events/helpers/views.py
eamanu/asoc_members
bf2e99e9c63c60a59bdfd10ca1812d78851cbde6
[ "MIT" ]
111
2018-04-30T03:26:58.000Z
2021-12-01T13:06:24.000Z
website/events/helpers/views.py
eamanu/asoc_members
bf2e99e9c63c60a59bdfd10ca1812d78851cbde6
[ "MIT" ]
23
2018-09-06T21:39:56.000Z
2022-03-25T15:08:52.000Z
from django.db.models import Q import functools import operator def search_filtered_queryset(base_queryset, search_fields, search_value): filters = [] for key, value in search_fields.items(): field_filter = key if value != 'equal': field_filter = field_filter + '__' + value ...
31.375
76
0.695219
61
502
5.442623
0.47541
0.13253
0.120482
0
0
0
0
0
0
0
0
0
0.213147
502
15
77
33.466667
0.840506
0
0
0
0
0
0.013944
0
0
0
0
0
0
1
0.076923
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
0
0
0
0
0
0
0
0
0
0
1
0
0dfb51cb719fc893ece63b1717e0432e40ccdc7b
1,103
py
Python
machine_vision/yolov2_20class.py
huningxin/MaixPy_scripts
a54015f97989c46cc6b3d58f985156e619666a51
[ "MIT" ]
1
2020-05-04T15:22:53.000Z
2020-05-04T15:22:53.000Z
machine_vision/yolov2_20class.py
huningxin/MaixPy_scripts
a54015f97989c46cc6b3d58f985156e619666a51
[ "MIT" ]
null
null
null
machine_vision/yolov2_20class.py
huningxin/MaixPy_scripts
a54015f97989c46cc6b3d58f985156e619666a51
[ "MIT" ]
null
null
null
#refer to http://blog.sipeed.com/p/677.html import sensor,image,lcd,time import KPU as kpu lcd.init(freq=15000000) sensor.reset() sensor.set_pixformat(sensor.RGB565) sensor.set_framesize(sensor.QVGA) sensor.set_vflip(1) sensor.run(1) clock = time.clock() classes = ['aeroplane', 'bicycle', 'bird', 'boat', 'bottle', 'bu...
35.580645
205
0.602901
176
1,103
3.732955
0.568182
0.041096
0.018265
0.030441
0.05175
0.05175
0.05175
0
0
0
0
0.075536
0.19583
1,103
30
206
36.766667
0.665163
0.038078
0
0.142857
0
0
0.113208
0
0
0
0.007547
0
0
1
0
false
0
0.071429
0
0.071429
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0dfc18de94d1500e566885fab28962fb3a619a87
759
py
Python
fastNLP/modules/encoder/__init__.py
brxx122/fastNLP
8affc4a3ff75061ccbdecca6247493f346634155
[ "Apache-2.0" ]
null
null
null
fastNLP/modules/encoder/__init__.py
brxx122/fastNLP
8affc4a3ff75061ccbdecca6247493f346634155
[ "Apache-2.0" ]
null
null
null
fastNLP/modules/encoder/__init__.py
brxx122/fastNLP
8affc4a3ff75061ccbdecca6247493f346634155
[ "Apache-2.0" ]
2
2020-04-21T06:17:59.000Z
2020-05-05T11:22:11.000Z
""" .. todo:: doc """ __all__ = [ # "BertModel", "ConvolutionCharEncoder", "LSTMCharEncoder", "ConvMaxpool", "LSTM", "StarTransformer", "TransformerEncoder", "VarRNN", "VarLSTM", "VarGRU", "MaxPool", "MaxPoolWithMask", "AvgPool", "AvgPoolWithMask", ...
18.512195
71
0.716733
64
759
8.375
0.46875
0.13806
0.070896
0.164179
0
0
0
0
0
0
0
0
0.185771
759
40
72
18.975
0.867314
0.040843
0
0
0
0
0.230556
0.030556
0
0
0
0.025
0
1
0
false
0
0.36
0
0.36
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
1
0
0
0
0
0
1
0
0
0
0
3
0dfcdef8833ed5833ba57eeec1abdbc79c20e892
14,393
py
Python
DupLess.py
FadyMohareb/dupless
60fef3e36dab619bc3c543d05dcb6d2fa359b62f
[ "MIT" ]
1
2020-02-03T14:35:11.000Z
2020-02-03T14:35:11.000Z
DupLess.py
FadyMohareb/dupless
60fef3e36dab619bc3c543d05dcb6d2fa359b62f
[ "MIT" ]
null
null
null
DupLess.py
FadyMohareb/dupless
60fef3e36dab619bc3c543d05dcb6d2fa359b62f
[ "MIT" ]
null
null
null
#!/usr/bin/python # DupLess is a python script to detect and remove artifact duplications in assemblies. # Assemblies from heterozygous genomes tend to create two contigs instead of # one in areas of high heterozygosity. DupLess detects these regions based on # read coverage and sequence similarity. # Depend...
51.039007
195
0.606406
1,810
14,393
4.682873
0.20442
0.03681
0.011562
0.015337
0.192426
0.150071
0.108424
0.084592
0.07067
0.049316
0
0.006072
0.256236
14,393
281
196
51.220641
0.785708
0.273258
0
0.273684
0
0.063158
0.445423
0.023454
0
0
0
0
0.005263
1
0.010526
false
0
0.042105
0
0.052632
0.294737
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0dfe6c5821cbd16700bb97be17dc7d969044d263
6,889
py
Python
arduino_utils.py
diegocepedaw/lasergo
584a1b7f2c2bd96f5b8f1d4ede09f5992c774b1e
[ "MIT" ]
12
2020-12-30T23:50:56.000Z
2022-02-14T03:27:02.000Z
arduino_utils.py
diegocepedaw/lasergo
584a1b7f2c2bd96f5b8f1d4ede09f5992c774b1e
[ "MIT" ]
null
null
null
arduino_utils.py
diegocepedaw/lasergo
584a1b7f2c2bd96f5b8f1d4ede09f5992c774b1e
[ "MIT" ]
1
2022-01-26T02:00:40.000Z
2022-01-26T02:00:40.000Z
import cv2 import numpy as np import time import math import serial import pickle LASER_START = (100,100) arduino = serial.Serial('COM6', 9600, timeout=5) def clear_leds(): # turn off all leds data = bytes("C0,0\r\n", "utf8") arduino.write(data) # write increment to serial port ...
35.510309
133
0.59791
974
6,889
4.090349
0.262834
0.060743
0.008785
0.013052
0.357932
0.314006
0.246737
0.212098
0.212098
0.189006
0
0.039837
0.289447
6,889
194
134
35.510309
0.774055
0.211497
0
0.234043
0
0
0.024481
0.005007
0
0
0.001484
0
0
1
0.056738
false
0
0.042553
0
0.113475
0.092199
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0dfea64ad5882b1a0e160dc452c8c73b059a7bdc
22,984
py
Python
sktime_dl/deeplearning/mcnn/_classifier.py
talhaanwarch/sktime-dl
da4db17b78b645667b9be18e80283d0af4768c40
[ "BSD-3-Clause" ]
1
2021-06-13T05:29:16.000Z
2021-06-13T05:29:16.000Z
sktime_dl/deeplearning/mcnn/_classifier.py
oustella/sktime-dl
f454893012567519f12d04050991cbec53ab1ef0
[ "BSD-3-Clause" ]
null
null
null
sktime_dl/deeplearning/mcnn/_classifier.py
oustella/sktime-dl
f454893012567519f12d04050991cbec53ab1ef0
[ "BSD-3-Clause" ]
null
null
null
# todo keras/tesnorflow memory problem when search over network parameters # currently just deleting EVERY model and retraining the best parameters # at the end, see **1 __author__ = "Aaron Bostrom, James Large" import gc import numpy as np from sklearn.model_selection import train_test_split from tensorfl...
35.578947
82
0.561956
2,824
22,984
4.279745
0.146955
0.012411
0.009929
0.006371
0.355039
0.310607
0.274946
0.255171
0.23763
0.209333
0
0.014818
0.356987
22,984
645
83
35.634109
0.802964
0.197833
0
0.218137
0
0
0.008743
0.001337
0
0
0
0.00155
0
1
0.031863
false
0
0.019608
0
0.088235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df0027dcfa146f73265c94ca953f538d9f2ad041
728
py
Python
coffer/__init__.py
shalevy1/cultivar
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
37
2016-08-22T22:11:30.000Z
2022-02-24T19:10:18.000Z
coffer/__init__.py
DistrictDataLabs/trinket
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
75
2015-10-15T19:25:18.000Z
2016-08-04T19:21:10.000Z
coffer/__init__.py
DistrictDataLabs/trinket
99b00c69376cd37fddb14a969cf562276296f01a
[ "Apache-2.0" ]
17
2015-10-09T00:03:12.000Z
2016-07-22T16:15:41.000Z
# coffer # Dataset manager and collection application. # # Author: Benjamin Bengfort <bbengfort@districtdatalabs.com> # Created: Thu Oct 08 21:44:00 2015 -0400 # # Copyright (C) 2015 District Data Labs # For license information, see LICENSE.txt # # ID: __init__.py [] benjamin@bengfort.com $ """ Dataset manager and ...
28
74
0.434066
52
728
5.961538
0.788462
0.090323
0.109677
0.174194
0.245161
0
0
0
0
0
0
0.030349
0.09478
728
25
75
29.12
0.440061
0.468407
0
0
0
0
0.342857
0.342857
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
df009865762587d1007f3f7139e861ac75fe14bb
133
py
Python
parsers/__init__.py
vintage/jokes_app
de18b0bd786841e2ea506105aa205b66ce2b5692
[ "MIT" ]
3
2017-07-13T06:47:23.000Z
2017-11-19T08:21:38.000Z
parsers/__init__.py
vintage/jokes_app
de18b0bd786841e2ea506105aa205b66ce2b5692
[ "MIT" ]
1
2019-08-01T13:39:08.000Z
2021-03-23T07:15:42.000Z
parsers/__init__.py
vintage/jokes_app
de18b0bd786841e2ea506105aa205b66ce2b5692
[ "MIT" ]
null
null
null
# Copy to .venv/lib/python3.6/site-packages/enchant/share/enchant/myspell # https://github.com/elastic/hunspell/tree/master/dicts/pl
44.333333
73
0.789474
21
133
5
0.952381
0
0
0
0
0
0
0
0
0
0
0.015748
0.045113
133
2
74
66.5
0.811024
0.962406
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
df011455a0e6333338175cf0393900bcda2fcb02
3,280
py
Python
bgm_block/models.py
MCG-NJU/BCN
c637dcdc436717104d4c14a6fbb21e2d2299b087
[ "MIT" ]
69
2020-08-21T01:19:24.000Z
2022-03-28T02:39:44.000Z
bgm_block/models.py
redwang/BCN
e5c494d8ca396d5a535309575a7a652db54f14b7
[ "MIT" ]
7
2020-11-12T08:21:08.000Z
2021-12-29T04:50:11.000Z
bgm_block/models.py
redwang/BCN
e5c494d8ca396d5a535309575a7a652db54f14b7
[ "MIT" ]
9
2020-08-28T06:46:17.000Z
2022-01-29T11:27:01.000Z
# -*- coding: utf-8 -*- import torch import torch.nn.functional as F import torch.nn as nn from torch.nn import init import copy class fullBGM(torch.nn.Module): def __init__(self): super(fullBGM, self).__init__() self.feat_dim = 2048 self.batch_size = 1 self.c_hidden = 256 s...
34.893617
148
0.607622
450
3,280
4.222222
0.222222
0.026316
0.057895
0.037895
0.467895
0.428421
0.343684
0.343684
0.343684
0.343684
0
0.049111
0.279878
3,280
93
149
35.268817
0.755292
0.012805
0
0.3875
0
0
0.006496
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.2625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df012a7576e9516f4a23ace4d324b5a6e610a767
508
py
Python
Random Problems/Merge the Tools/solutions.py
matheuscordeiro/HackerRank
003ab87fdfa9e7c0535972abd06caebb1165423f
[ "MIT" ]
null
null
null
Random Problems/Merge the Tools/solutions.py
matheuscordeiro/HackerRank
003ab87fdfa9e7c0535972abd06caebb1165423f
[ "MIT" ]
null
null
null
Random Problems/Merge the Tools/solutions.py
matheuscordeiro/HackerRank
003ab87fdfa9e7c0535972abd06caebb1165423f
[ "MIT" ]
null
null
null
def merge_the_tools(string, k): substrings = int(len(string)/k) size_substring = int(len(string)/substrings) count = 0 frequency = {} word = "" for value in string: count += 1 if not value in frequency: word += value frequency[value] = True ...
25.4
48
0.521654
55
508
4.563636
0.490909
0.063745
0.103586
0
0
0
0
0
0
0
0
0.012539
0.372047
508
20
49
25.4
0.774295
0
0
0.333333
0
0
0.033399
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.055556
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df019cd58e39253b69a98f540baa40894015701a
1,915
py
Python
utils/cmd_parser.py
SecureThemAll/CquenceR
b2d4d578a8a055df8370798769cdc6e6e1039721
[ "MIT" ]
null
null
null
utils/cmd_parser.py
SecureThemAll/CquenceR
b2d4d578a8a055df8370798769cdc6e6e1039721
[ "MIT" ]
null
null
null
utils/cmd_parser.py
SecureThemAll/CquenceR
b2d4d578a8a055df8370798769cdc6e6e1039721
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse from collections import Callable from utils.command import Command from utils.commands.preprocess import Preprocess from utils.commands.test import Test from utils.commands.train import Train from utils.commands.repair import Repair from utils.commands.stats import Stats from ut...
36.132075
110
0.768146
240
1,915
6.008333
0.316667
0.043689
0.070735
0.104022
0
0
0
0
0
0
0
0.001195
0.126371
1,915
52
111
36.826923
0.860729
0.033943
0
0
0
0
0.113341
0
0
0
0
0
0
1
0.085714
false
0
0.257143
0
0.371429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df035418a124dfc6d3a28d6cc0fd7c45993e05d4
3,884
py
Python
lanefinder/CamModel.py
sheayun-kmu/CarND-Advanced-Lane-Lines
f8f38767acb9a65bc942f53706c6d223dfb666a2
[ "MIT" ]
null
null
null
lanefinder/CamModel.py
sheayun-kmu/CarND-Advanced-Lane-Lines
f8f38767acb9a65bc942f53706c6d223dfb666a2
[ "MIT" ]
null
null
null
lanefinder/CamModel.py
sheayun-kmu/CarND-Advanced-Lane-Lines
f8f38767acb9a65bc942f53706c6d223dfb666a2
[ "MIT" ]
1
2020-09-23T12:43:22.000Z
2020-09-23T12:43:22.000Z
import logging import numpy as np import cv2 from lanefinder.params import camera_params from lanefinder.params import perspective_params # Capture camera model # 1. calibrate using a set of images of chessboards # 2. undistort image based on calibration # 3. warp image to get a bird's eye view of it class CamModel:...
36.299065
74
0.58033
454
3,884
4.903084
0.328194
0.084007
0.035939
0.02336
0.093441
0.093441
0.093441
0.019766
0
0
0
0.013178
0.316169
3,884
106
75
36.641509
0.824925
0.240216
0
0.08
0
0
0.066598
0
0
0
0
0
0
1
0.08
false
0
0.066667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df04f18f1abbee7ba636186d9cf666a08ecb1a2d
4,446
py
Python
poc/hex_grid/hex.py
CoryOwens/hex
83253b52f9ee86d13402fc7475a0cdd772921728
[ "MIT" ]
null
null
null
poc/hex_grid/hex.py
CoryOwens/hex
83253b52f9ee86d13402fc7475a0cdd772921728
[ "MIT" ]
null
null
null
poc/hex_grid/hex.py
CoryOwens/hex
83253b52f9ee86d13402fc7475a0cdd772921728
[ "MIT" ]
null
null
null
import math import kivy from kivy.graphics import Line from kivy.graphics import Color from kivy.properties import ListProperty, NumericProperty from kivy.uix.widget import Widget from kivy.logger import Logger kivy.require('1.10.0') class HexTile(Widget): corners = ListProperty() sides = ListProperty() ...
32.217391
79
0.580072
555
4,446
4.448649
0.181982
0.064804
0.031187
0.048198
0.269745
0.18307
0.162819
0.149048
0.149048
0.115026
0
0.012076
0.310841
4,446
137
80
32.452555
0.793734
0.014395
0
0.175439
0
0
0.056875
0
0
0
0
0
0
1
0.122807
false
0
0.070175
0.017544
0.307018
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df062a661710aa4fa4a6d5eb73fc96d94ec2f731
322
py
Python
tests/conftest.py
opensafely/risk-factors-research
32b59c82ee565d974fa2ce863a436914ce17dc03
[ "MIT" ]
29
2020-06-23T21:43:28.000Z
2022-03-11T11:49:55.000Z
tests/conftest.py
opensafely/risk-factors-research
32b59c82ee565d974fa2ce863a436914ce17dc03
[ "MIT" ]
7
2020-06-26T18:48:43.000Z
2021-08-11T14:01:18.000Z
tests/conftest.py
opensafely/risk-factors-research
32b59c82ee565d974fa2ce863a436914ce17dc03
[ "MIT" ]
8
2020-06-23T21:43:32.000Z
2022-01-07T10:51:20.000Z
import os from pathlib import Path def pytest_generate_tests(metafunc): """Source the test environment """ for line in open(Path(__file__).absolute().parent.parent / ".env-test"): k, v = line.split("=", 1) k = k.strip() if not os.environ.get(k): os.environ[k] = v.strip(...
24.769231
76
0.590062
45
322
4.088889
0.688889
0.021739
0
0
0
0
0
0
0
0
0
0.004184
0.257764
322
12
77
26.833333
0.76569
0.083851
0
0
1
0
0.035211
0
0
0
0
0
0
1
0.125
false
0
0.25
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df07eeff5a871ae595d36ebd4e1dcb711889d0e5
816
py
Python
run/gold-key-splitter.py
osmanbaskaya/mapping-impact
8024dd3b916ac2dfc336221dd32faba4c0a98442
[ "MIT" ]
1
2016-03-14T15:28:22.000Z
2016-03-14T15:28:22.000Z
run/gold-key-splitter.py
osmanbaskaya/mapping-impact
8024dd3b916ac2dfc336221dd32faba4c0a98442
[ "MIT" ]
null
null
null
run/gold-key-splitter.py
osmanbaskaya/mapping-impact
8024dd3b916ac2dfc336221dd32faba4c0a98442
[ "MIT" ]
null
null
null
#! /usr/bin/python # -*- coding: utf-8 -*- __author__ = "Osman Baskaya" """ Split the keys according to target words. Our gold file is merged. All keys are in the same file. In order to create a development set in run/gold/twitter|gigaword, we need to split keys in dev set into separate files. input_file should be...
24
69
0.688725
141
816
3.921986
0.595745
0.048825
0.036166
0
0
0
0
0
0
0
0
0.013699
0.194853
816
33
70
24.727273
0.828006
0.047794
0
0
0
0
0.044226
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df08f0d2fd7a1589d78358cb6d71d6ae0bb1ece0
857
py
Python
resource/engine/add_worker.py
CybersecurityLuxembourg/cyberlux-cron
dc1a8e4fad067b6d00c73a434d2a278576bbafab
[ "BSD-2-Clause" ]
null
null
null
resource/engine/add_worker.py
CybersecurityLuxembourg/cyberlux-cron
dc1a8e4fad067b6d00c73a434d2a278576bbafab
[ "BSD-2-Clause" ]
null
null
null
resource/engine/add_worker.py
CybersecurityLuxembourg/cyberlux-cron
dc1a8e4fad067b6d00c73a434d2a278576bbafab
[ "BSD-2-Clause" ]
null
null
null
from flask_apispec import MethodResource from flask_apispec import doc from flask_restful import Resource from queue import Queue from flask_jwt_extended import jwt_required from decorator.catch_exception import catch_exception from decorator.verify_admin_access import verify_admin_access class AddWorker(MethodResou...
26.78125
64
0.683781
108
857
5.185185
0.416667
0.107143
0.091071
0.078571
0
0
0
0
0
0
0
0.017161
0.252042
857
31
65
27.645161
0.856474
0.011669
0
0.08
0
0
0.018935
0
0
0
0
0
0
1
0.08
false
0
0.28
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df0973906e2e28e9a0ffb26a5c82bba2915b1dc2
139
py
Python
scripts/python/test_naoqi.py
plus44/hcr-2016
20c7312fa1b9bd36434852f2d0d3b5b0cc289cc7
[ "Apache-2.0" ]
null
null
null
scripts/python/test_naoqi.py
plus44/hcr-2016
20c7312fa1b9bd36434852f2d0d3b5b0cc289cc7
[ "Apache-2.0" ]
null
null
null
scripts/python/test_naoqi.py
plus44/hcr-2016
20c7312fa1b9bd36434852f2d0d3b5b0cc289cc7
[ "Apache-2.0" ]
null
null
null
#! /home/admin/venvs/hcr-2016/bin/python import sys print '\n'.join(sys.path) import naoqi if __name__ == '__main__': print "Naoqi Test"
17.375
40
0.71223
22
139
4.136364
0.818182
0
0
0
0
0
0
0
0
0
0
0.032787
0.122302
139
7
41
19.857143
0.713115
0.280576
0
0
0
0
0.20202
0
0
0
0
0
0
0
null
null
0
0.4
null
null
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
4
df09ac413fdfd3e722c4aa22f5197075d17783b1
1,463
py
Python
react-flask-app/api/TripDB.py
GabCas28/Smart-Mazda-On-Board
2c3aa53c34bd90868a55985a01dcb5a5954d6a8b
[ "MIT" ]
null
null
null
react-flask-app/api/TripDB.py
GabCas28/Smart-Mazda-On-Board
2c3aa53c34bd90868a55985a01dcb5a5954d6a8b
[ "MIT" ]
1
2022-02-13T13:14:46.000Z
2022-02-13T13:14:46.000Z
react-flask-app/api/TripDB.py
GabCas28/Smart-Mazda-On-Board
2c3aa53c34bd90868a55985a01dcb5a5954d6a8b
[ "MIT" ]
null
null
null
from tinydb import TinyDB, Query, where from tinydb.operations import delete, add, set # import json from pymongo import MongoClient, ReplaceOne from bson import json_util, objectid from pymongo.errors import BulkWriteError import time import pprint class TripDB: database = None def __init__(self): self...
35.682927
132
0.656186
174
1,463
5.465517
0.54023
0.050473
0.037855
0.047319
0.04837
0
0
0
0
0
0
0.003626
0.24607
1,463
41
133
35.682927
0.858568
0.160629
0
0
0
0.032258
0.113787
0.083056
0
0
0
0
0
1
0.16129
false
0
0.225806
0
0.516129
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df0ae9e699494b11d2f763f0b863647a022b4718
940
py
Python
shebang/account/tasks.py
KNU-shebang/Shebang
117d6d55344442d76def5c7682ab826ea2521d15
[ "MIT" ]
2
2017-03-18T07:43:58.000Z
2017-05-02T16:21:42.000Z
shebang/account/tasks.py
KNU-shebang/Shebang
117d6d55344442d76def5c7682ab826ea2521d15
[ "MIT" ]
2
2017-03-24T09:24:35.000Z
2017-05-02T14:48:21.000Z
shebang/account/tasks.py
KNU-shebang/Shebang
117d6d55344442d76def5c7682ab826ea2521d15
[ "MIT" ]
1
2020-10-18T18:38:14.000Z
2020-10-18T18:38:14.000Z
from django.core.mail import EmailMessage from celery.decorators import task from django.conf import settings import base64 @task(name='send_email_task') def send_email_task(email, name): email_value = email.split('@')[0].encode('utf-8') # 사용자 인증 url로 이메일의 @ 앞부분을 base64 기반으로 인코딩 encoded_email = base6...
33.571429
102
0.660638
144
940
4.1875
0.534722
0.059701
0.043118
0.029851
0.069652
0.069652
0.069652
0
0
0
0
0.05483
0.185106
940
27
103
34.814815
0.732376
0.138298
0
0
0
0.055556
0.245025
0
0
0
0
0
0
1
0.055556
false
0
0.222222
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df0b3db4d2f4deff4fc60828a64995c019b55ddd
11,403
py
Python
tests/integration/test_file_storage.py
geoadmin/mf-chsdi3
fa5705e345af11467644564f8e469e76403f66b8
[ "BSD-3-Clause" ]
29
2015-02-12T07:45:57.000Z
2020-12-20T08:49:26.000Z
tests/integration/test_file_storage.py
geoadmin/mf-chsdi3
fa5705e345af11467644564f8e469e76403f66b8
[ "BSD-3-Clause" ]
1,753
2015-01-05T07:11:27.000Z
2022-03-28T15:17:07.000Z
tests/integration/test_file_storage.py
geoadmin/mf-chsdi3
fa5705e345af11467644564f8e469e76403f66b8
[ "BSD-3-Clause" ]
15
2015-04-23T08:38:58.000Z
2020-09-28T14:17:40.000Z
# -*- coding: utf-8 -*- import os import six import time from tests.integration import TestsBase, s3_tests, dynamodb_tests WRONG_CONTENT_TYPE = 'nasty type' VALID_KML = '''<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Placemark> <name>Simple placemark</name> <descrip...
43.030189
1,628
0.659037
1,609
11,403
4.579242
0.172778
0.038817
0.056189
0.074919
0.750271
0.708062
0.68051
0.663952
0.653773
0.612921
0
0.068615
0.189687
11,403
264
1,629
43.193182
0.728788
0.080768
0
0.613402
0
0.020619
0.449976
0.206798
0
0
0
0
0.087629
1
0.061856
false
0
0.020619
0
0.087629
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df0cb59e9d0a265d0b3224ad16dd4f909e4faa37
5,703
py
Python
murasame/maker.py
amaotone/caruta-contest-manager
33bbbc8a8ff2903a2763a1270715f224c329e7a2
[ "MIT" ]
null
null
null
murasame/maker.py
amaotone/caruta-contest-manager
33bbbc8a8ff2903a2763a1270715f224c329e7a2
[ "MIT" ]
20
2016-07-21T16:01:36.000Z
2016-10-20T07:42:57.000Z
murasame/maker.py
amaotone/murasame
33bbbc8a8ff2903a2763a1270715f224c329e7a2
[ "MIT" ]
null
null
null
import os import warnings import numpy as np import pandas as pd from .utils import classname_sorted, match_count class Board(object): def __init__(self, match_count, keys=None): """Initialize match display board. Args: match_count (int): Number of matches. keys (list[st...
29.396907
75
0.575662
717
5,703
4.400279
0.23152
0.042789
0.020919
0.025357
0.279239
0.206973
0.183835
0.130586
0.09065
0.039937
0
0.001792
0.315097
5,703
193
76
29.549223
0.80594
0.08364
0
0.198473
0
0
0.019765
0
0
0
0
0
0.030534
1
0.183206
false
0
0.038168
0.061069
0.427481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df0e0aed26bec90479f8f5ad09c24410a1024383
71
py
Python
sgi/base/tests/__init__.py
jorgevilaca82/SGI
c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a
[ "MIT" ]
null
null
null
sgi/base/tests/__init__.py
jorgevilaca82/SGI
c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a
[ "MIT" ]
8
2019-12-07T13:13:34.000Z
2021-09-02T03:07:25.000Z
sgi/base/tests/__init__.py
jorgevilaca82/SGI
c3f13d9e3e8f04377d9e23636dc8e35ed5ace35a
[ "MIT" ]
null
null
null
from .pessoa_tests import * from .unidadeorganizacional_tests import *
23.666667
42
0.830986
8
71
7.125
0.625
0.385965
0
0
0
0
0
0
0
0
0
0
0.112676
71
2
43
35.5
0.904762
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
df0e4bc6c01a3fd360af919cd7a376f61a4072b9
521
py
Python
spkcspider/apps/spider/migrations/0009_auto_20190929_2117.py
devkral/spkbspider
97e448b4da412acebd66c4469c7fcdd07bf90ed2
[ "MIT" ]
5
2019-06-24T14:15:54.000Z
2021-05-14T23:16:31.000Z
spkcspider/apps/spider/migrations/0009_auto_20190929_2117.py
devkral/spkbspider
97e448b4da412acebd66c4469c7fcdd07bf90ed2
[ "MIT" ]
2
2018-06-19T09:56:18.000Z
2018-11-20T12:02:44.000Z
spkcspider/apps/spider/migrations/0009_auto_20190929_2117.py
devkral/spkbspider
97e448b4da412acebd66c4469c7fcdd07bf90ed2
[ "MIT" ]
null
null
null
# Generated by Django 2.2.5 on 2019-09-29 21:17 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('spider_base', '0008_auto_20190817_1815'), ] operations = [ migrations.AlterField( model_name='assignedprotection', n...
27.421053
170
0.612284
59
521
5.271186
0.847458
0
0
0
0
0
0
0
0
0
0
0.080201
0.234165
521
18
171
28.944444
0.699248
0.086372
0
0
1
0
0.236287
0.048523
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df0f00d338a308daad3a6d706f8f657d66dbc676
283
py
Python
modules/scipy/special/__init__.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/scipy/special/__init__.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
modules/scipy/special/__init__.py
avogel88/compare-VAE-GAE
aa3419c41a58ca6c1a9c1031c0aed7e07c3d4f90
[ "MIT" ]
null
null
null
__all__ = [] from .rbig import * from .feature_map import * from . import rbig from . import feature_map __all__ += rbig.__all__ __all__ += feature_map.__all__ del rbig del feature_map from scipy._lib._testutils import PytestTester test = PytestTester(__name__) del PytestTester
17.6875
46
0.780919
38
283
5.026316
0.342105
0.209424
0.136126
0
0
0
0
0
0
0
0
0
0.14841
283
16
47
17.6875
0.792531
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
df10538eb1d6c1760f3cbe7668d7cd9ebc44d974
641
py
Python
python/offer/45.py
ParkinWu/leetcode
b31312bdefbb2be795f3459e1a76fbc927cab052
[ "MIT" ]
null
null
null
python/offer/45.py
ParkinWu/leetcode
b31312bdefbb2be795f3459e1a76fbc927cab052
[ "MIT" ]
null
null
null
python/offer/45.py
ParkinWu/leetcode
b31312bdefbb2be795f3459e1a76fbc927cab052
[ "MIT" ]
null
null
null
# 输入一个正整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数字中最小的一个。 # #   # # 示例 1: # # 输入: [10,2] # 输出: "102" # 示例 2: # # 输入: [3,30,34,5,9] # 输出: "3033459" #   # # 提示: # # 0 < nums.length <= 100 # 说明: # # 输出结果可能非常大,所以你需要返回一个字符串而不是整数 # 拼接起来的数字可能会有前导 0,最后结果不需要去掉前导 0 # # 来源:力扣(LeetCode) # 链接:https://leetcode-cn.com/problems/ba-shu-zu-pai-c...
20.03125
78
0.642746
96
641
4.25
0.708333
0.02451
0.039216
0
0
0
0
0
0
0
0
0.053232
0.179407
641
32
79
20.03125
0.722433
0.517941
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
df1171000a17fdaa53b3d9affdc2a2b9401282f7
92,549
py
Python
src/plivo/rest/freeswitch/api.py
mknecht/plivoframework
29fc41fb3c887d5d9022a941e87bbeb2269112ff
[ "Condor-1.1" ]
151
2015-01-14T13:35:47.000Z
2022-01-25T02:47:14.000Z
src/plivo/rest/freeswitch/api.py
altanai/plivoframework
d8d182c7af17c3fbe514d7dfd68d0608ce798f47
[ "Condor-1.1" ]
14
2015-01-02T05:12:04.000Z
2021-02-03T04:25:39.000Z
src/plivo/rest/freeswitch/api.py
altanai/plivoframework
d8d182c7af17c3fbe514d7dfd68d0608ce798f47
[ "Condor-1.1" ]
107
2015-01-02T04:15:28.000Z
2022-02-07T18:14:18.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2011 Plivo Team. See LICENSE for details import base64 import re import uuid import os import os.path from datetime import datetime try: import xml.etree.cElementTree as etree except ImportError: from xml.etree.elementtree import ElementTree as etree import ujson as jso...
41.483191
156
0.580881
10,616
92,549
4.88668
0.062076
0.017272
0.029609
0.046514
0.747094
0.705708
0.6766
0.654143
0.631185
0.608343
0
0.003395
0.334914
92,549
2,230
157
41.501794
0.839407
0.010459
0
0.549383
0
0.000686
0.147463
0.008346
0
0
0
0.000448
0
0
null
null
0.000686
0.010974
null
null
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
df130eaef34648068a0ff50de3a882c5ecc9e033
5,076
py
Python
parsers/CurrentTime.py
ondrejholecek/fortimonitor
79b0377f97b084f04396a323a84bb3e8a93d6f2d
[ "BSD-3-Clause" ]
9
2018-10-19T08:47:42.000Z
2020-08-19T01:58:27.000Z
parsers/CurrentTime.py
ondrejholecek/fortimonitor
79b0377f97b084f04396a323a84bb3e8a93d6f2d
[ "BSD-3-Clause" ]
1
2019-11-07T11:24:43.000Z
2019-11-07T11:52:51.000Z
parsers/CurrentTime.py
ondrejholecek/fortimonitor
79b0377f97b084f04396a323a84bb3e8a93d6f2d
[ "BSD-3-Clause" ]
3
2020-04-24T03:51:15.000Z
2021-12-19T16:08:24.000Z
from EasyParser import EasyParser import re import datetime # exe date # --- # current date is: 2018-08-01 # exe time # --- # current time is: 15:05:43 # last ntp sync:Wed Aug 1 14:58:13 2018 class TZoffset(datetime.tzinfo): def __init__(self, seconds_from_utc, name): self.offset = seconds_from_utc self.name ...
27.586957
152
0.688337
782
5,076
4.244246
0.143223
0.039771
0.039771
0.040072
0.410666
0.312142
0.263935
0.095511
0.075023
0.043085
0
0.012314
0.168046
5,076
183
153
27.737705
0.773621
0.023247
0
0.090226
0
0
0.053333
0
0
0
0
0
0
1
0.172932
false
0
0.022556
0.105263
0.458647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
df13907f22e44958568df93ea55820f48b7e45c7
152
py
Python
List.py
samarKantsaxena/SAKASA
c9b7684a6d30920bb5766a0a3520416593fdd7d4
[ "MIT" ]
1
2022-03-22T16:19:14.000Z
2022-03-22T16:19:14.000Z
List.py
samarKantsaxena/SAKASA
c9b7684a6d30920bb5766a0a3520416593fdd7d4
[ "MIT" ]
null
null
null
List.py
samarKantsaxena/SAKASA
c9b7684a6d30920bb5766a0a3520416593fdd7d4
[ "MIT" ]
null
null
null
sys_OS = "A_Free_Cart" Website = "Afreecart" My_Name = "Samar_Kant_Saxena" #A free cart budget calculator #Budget = "370000" #Expenditure = "70000"
15.2
31
0.723684
21
152
4.952381
0.809524
0.096154
0.173077
0
0
0
0
0
0
0
0
0.085938
0.157895
152
9
32
16.888889
0.726563
0.447368
0
0
0
0
0.4625
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
df155ccc7955d0006b4f5d0a5362f1ace1aaba5e
1,367
py
Python
sweep.py
binshengliu/bm25f
6d6d8578494a2ee091639dc9fa2f40fbb9254c39
[ "MIT" ]
6
2020-12-11T03:54:10.000Z
2022-03-22T04:04:13.000Z
sweep.py
binshengliu/bm25f
6d6d8578494a2ee091639dc9fa2f40fbb9254c39
[ "MIT" ]
null
null
null
sweep.py
binshengliu/bm25f
6d6d8578494a2ee091639dc9fa2f40fbb9254c39
[ "MIT" ]
null
null
null
import logging import subprocess from pathlib import Path import hydra # type: ignore from omegaconf import DictConfig logger = logging.getLogger(__name__) initialized = False @hydra.main(config_path="conf/", config_name="ax") # type: ignore def main(cfg: DictConfig) -> float: field_wt_list = [f"{k[:-3]}:{v}...
30.377778
83
0.649598
208
1,367
4.048077
0.355769
0.049881
0.024941
0.071259
0.261283
0.261283
0.154394
0.154394
0.154394
0.154394
0
0.008889
0.17703
1,367
44
84
31.068182
0.739556
0.018288
0
0
0
0.030303
0.271098
0.125467
0
0
0
0
0
1
0.030303
false
0
0.151515
0
0.212121
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df1591fd1cab4248fa2dfa2c82a69e614c10fcdb
530
py
Python
Lintcode/G_Practice/Tag_DataStream/823. Input Stream.py
ctc316/algorithm-python
ac4580d55e05e93e407c6156c9bb801808027d60
[ "MIT" ]
null
null
null
Lintcode/G_Practice/Tag_DataStream/823. Input Stream.py
ctc316/algorithm-python
ac4580d55e05e93e407c6156c9bb801808027d60
[ "MIT" ]
null
null
null
Lintcode/G_Practice/Tag_DataStream/823. Input Stream.py
ctc316/algorithm-python
ac4580d55e05e93e407c6156c9bb801808027d60
[ "MIT" ]
null
null
null
class Solution: """ @param inputA: Input stream A @param inputB: Input stream B @return: The answer """ def inputStream(self, inputA, inputB): resA = "" resB = "" for a in inputA: if a == '<': resA = resA[:-1] else: ...
23.043478
46
0.383019
53
530
3.830189
0.45283
0.108374
0
0
0
0
0
0
0
0
0
0.007605
0.503774
530
22
47
24.090909
0.764259
0.149057
0
0.133333
0
0
0.016393
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
df17a532cbd4448e549e2c95877c8b22f5178d2e
2,127
py
Python
utils/compute_contrast.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
2
2019-01-10T03:44:03.000Z
2019-05-24T08:50:14.000Z
utils/compute_contrast.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
null
null
null
utils/compute_contrast.py
Mhaiyang/iccv
04a8ee52c2323d7ff5cdf03c0be1466e8180d2eb
[ "MIT" ]
null
null
null
""" @Time : 202/20/19 09:41 @Author : TaylorMei @Email : mhy845879017@gmail.com @Project : iccv @File : compute_contrast.py @Function: """ import os import numpy as np import cv2 import skimage.io from misc import data_write # image_path = '/home/iccd/data/2019/msd9_all/all_images/' # mask_path = '/...
31.746269
100
0.662906
365
2,127
3.613699
0.260274
0.068234
0.083397
0.072782
0.507961
0.482183
0.322972
0.124337
0.04094
0
0
0.062084
0.151857
2,127
66
101
32.227273
0.669069
0.184297
0
0
0
0
0.076429
0.062427
0
0
0
0
0
1
0.028571
false
0
0.142857
0.028571
0.2
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
0
0
0
0
0
0
0
0
1
0
df17f37f7287d664dc13d2186812e72ef3012242
13,352
py
Python
angular_flask/models.py
amisrs/one-eighty
6b047d205b4b1a0697d7d43a2faa86504337e43c
[ "MIT" ]
null
null
null
angular_flask/models.py
amisrs/one-eighty
6b047d205b4b1a0697d7d43a2faa86504337e43c
[ "MIT" ]
null
null
null
angular_flask/models.py
amisrs/one-eighty
6b047d205b4b1a0697d7d43a2faa86504337e43c
[ "MIT" ]
null
null
null
from datetime import datetime from angular_flask.core import db from angular_flask import app import json # class Post(db.Model): # id = db.Column(db.Integer, primary_key=True) # title = db.Column(db.String(80)) # body = db.Column(db.Text) # pub_date = db.Column(db.DateTime) # # def __init__(self,...
34.95288
142
0.575494
1,378
13,352
5.425254
0.082729
0.066346
0.082932
0.065944
0.550696
0.499197
0.45947
0.412253
0.390316
0.342964
0
0.013949
0.301977
13,352
381
143
35.044619
0.788197
0.104778
0
0.546392
0
0
0.093456
0.004027
0
0
0
0
0
0
null
null
0.010309
0.013746
null
null
0.041237
0
0
0
null
0
0
0
0
0
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
df199fd0ad58d48f73efca3982f9ee10e7470114
3,108
py
Python
sherry/inherit/bar.py
py-mu/sherry
af1e95f1eada663ba3b3fb607ca88f099f894f36
[ "MIT" ]
1
2021-06-27T05:54:23.000Z
2021-06-27T05:54:23.000Z
sherry/inherit/bar.py
py-mu/sherry
af1e95f1eada663ba3b3fb607ca88f099f894f36
[ "MIT" ]
null
null
null
sherry/inherit/bar.py
py-mu/sherry
af1e95f1eada663ba3b3fb607ca88f099f894f36
[ "MIT" ]
1
2021-07-28T09:00:43.000Z
2021-07-28T09:00:43.000Z
# encoding=utf-8 """ create by pymu on 2021/6/6 at 2:09 """ from sherry.inherit.component import Component class BaseBar(Component): bar_normal = None # 自定义标题栏的最大化最小化及关闭按钮 bar_close = None bar_mini = None def __init__(self, master, *args, **kwargs): super().__init__(master, *arg...
35.724138
97
0.634813
358
3,108
5.346369
0.268156
0.098746
0.115465
0.060084
0.373041
0.33908
0.298851
0.193312
0.14838
0.14838
0
0.005915
0.238417
3,108
86
98
36.139535
0.802704
0.099421
0
0.310345
0
0
0.060908
0
0
0
0
0
0
1
0.12069
false
0
0.017241
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
df1a469e28c5291480eb01835f133864be481e39
333
py
Python
benchmark/tpch/tbl2csv.py
rf972/caerus-dike
1c3448af63cca426007b524998360a317bcf4794
[ "Apache-2.0" ]
null
null
null
benchmark/tpch/tbl2csv.py
rf972/caerus-dike
1c3448af63cca426007b524998360a317bcf4794
[ "Apache-2.0" ]
null
null
null
benchmark/tpch/tbl2csv.py
rf972/caerus-dike
1c3448af63cca426007b524998360a317bcf4794
[ "Apache-2.0" ]
2
2021-05-04T20:12:51.000Z
2021-05-04T20:17:38.000Z
#!/usr/bin/python3 import sys import os if len(sys.argv) < 3: print("Usage: {} SRC_DIR DST_DIR".format(str(sys.argv[0]))) exit(1) SRC_DIR = str(sys.argv[1]) DST_DIR = str(sys.argv[2]) if not os.path.isdir(SRC_DIR) or not os.path.isdir(DST_DIR): print("Usage: {} SRC_DIR DST_DIR".format(str(sys.argv[0])))...
20.8125
63
0.651652
64
333
3.265625
0.390625
0.167464
0.191388
0.15311
0.421053
0.421053
0.421053
0.421053
0.421053
0.421053
0
0.028369
0.153153
333
15
64
22.2
0.712766
0.051051
0
0.4
0
0
0.15873
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
df1ab6b4b0ece312421f86b8f892a47e6416b0f6
3,970
py
Python
build/env/lib/python2.7/site-packages/windmill-1.6-py2.7.egg/windmill/dep/_functest/collector.py
bopopescu/myhue
5f566970a5a1fa5af9f01832c9e9808c47634bc7
[ "Apache-2.0" ]
61
2015-03-16T18:36:06.000Z
2021-12-02T10:08:17.000Z
windmill/dep/_functest/collector.py
admc/windmill
4304ee7258eb0c2814f215d8ce90abf02b1f737f
[ "Apache-2.0" ]
8
2015-03-10T10:01:26.000Z
2020-05-18T10:51:24.000Z
windmill/dep/_functest/collector.py
admc/windmill
4304ee7258eb0c2814f215d8ce90abf02b1f737f
[ "Apache-2.0" ]
14
2015-01-29T16:28:33.000Z
2021-09-04T11:19:48.000Z
# Copyright (c) 2007 Mikeal Rogers # # 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 agre...
42.234043
115
0.587406
500
3,970
4.518
0.276
0.087649
0.039841
0.049579
0.418327
0.385569
0.320496
0.283311
0.26826
0.198318
0
0.006917
0.30806
3,970
93
116
42.688172
0.815435
0.16927
0
0.309859
0
0
0.039939
0
0
0
0
0
0
1
0.056338
false
0
0.169014
0
0.295775
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0