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
8044be3f76a1e16d32b5f385fa802022a7352190
696
py
Python
examples/basic/colormaps.py
mikami520/vedo
1a3abcf3f1e495287e8934d9b5bb07b511ab8be5
[ "MIT" ]
1
2022-03-22T21:49:29.000Z
2022-03-22T21:49:29.000Z
examples/basic/colormaps.py
mikami520/vedo
1a3abcf3f1e495287e8934d9b5bb07b511ab8be5
[ "MIT" ]
null
null
null
examples/basic/colormaps.py
mikami520/vedo
1a3abcf3f1e495287e8934d9b5bb07b511ab8be5
[ "MIT" ]
null
null
null
""" Example usage of cmap() to assign a color to each mesh vertex by looking it up in matplotlib database of colormaps """ print(__doc__) from vedo import Plotter, Mesh, dataurl # these are the some matplotlib color maps maps = [ "afmhot", "binary", "bone", "cool", "coolwarm", "copper", "gi...
20.470588
67
0.630747
101
696
4.29703
0.722772
0.050691
0
0
0
0
0
0
0
0
0
0.003683
0.219828
696
33
68
21.090909
0.79558
0.310345
0
0
0
0
0.157447
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8045e28b5450ff355612318f9bf36e0b5119a567
2,696
py
Python
Class.py
samli6479/PythonLearn
2ad78f62d58612132d3a3759aecec4a52381566f
[ "Apache-2.0" ]
null
null
null
Class.py
samli6479/PythonLearn
2ad78f62d58612132d3a3759aecec4a52381566f
[ "Apache-2.0" ]
null
null
null
Class.py
samli6479/PythonLearn
2ad78f62d58612132d3a3759aecec4a52381566f
[ "Apache-2.0" ]
null
null
null
''' class <name>: <suite> Assignments & def in <suite> create attributes of the class''' # Object Construction # Idea: All bank accounts have a balance and an account holder # The account class should add those attributes to each of its instances ''' When a class is called: 1. New instance of t...
28.378947
100
0.690653
371
2,696
4.956873
0.345013
0.047852
0.021751
0.013051
0.069603
0.04894
0.04894
0.04894
0
0
0
0.007897
0.248516
2,696
94
101
28.680851
0.899803
0.437685
0
0.1
0
0
0.037293
0
0
0
0
0
0
1
0.15
false
0
0
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8046ad6d9a8257734d7ffc0c589a44d7c637794d
250
py
Python
db_connect.py
brandon-schabel/web_scraper_playground
1ae4e3b96fb5697b3f8cdf8fa03d2c54c43262e0
[ "MIT" ]
null
null
null
db_connect.py
brandon-schabel/web_scraper_playground
1ae4e3b96fb5697b3f8cdf8fa03d2c54c43262e0
[ "MIT" ]
12
2020-09-04T14:35:09.000Z
2022-03-08T22:27:48.000Z
db_connect.py
brandon-schabel/web_scraper_playground
1ae4e3b96fb5697b3f8cdf8fa03d2c54c43262e0
[ "MIT" ]
null
null
null
from mongoengine import * from secrets import db_host, db_port, db_user, db_password from schemas import Profile connect('t_database', port=db_port, host=db_host, username=db_user, password=db_password ) def get_profiles(): return Profile.objects
31.25
90
0.808
39
250
4.923077
0.512821
0.0625
0
0
0
0
0
0
0
0
0
0
0.112
250
8
91
31.25
0.864865
0
0
0
0
0
0.039841
0
0
0
0
0
0
1
0.166667
true
0.333333
0.5
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
1
1
0
0
6
804722837c4840e9969d880b8c1cd1c26b6ab238
2,435
py
Python
plugins/virustotal_yara/komand_virustotal_yara/actions/scan_file/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/virustotal_yara/komand_virustotal_yara/actions/scan_file/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/virustotal_yara/komand_virustotal_yara/actions/scan_file/schema.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT import komand import json class Component: DESCRIPTION = "Scans a file using Yara" class Input: FILE = "file" RULES = "rules" class Output: RESULTS = "results" class ScanFileInput(komand.Input): schema = json.loads(""" { "type": "object", ...
20.123967
105
0.464887
206
2,435
5.378641
0.368932
0.054152
0.054152
0.034296
0.166065
0.166065
0.166065
0.166065
0.077617
0.077617
0
0.005766
0.358932
2,435
120
106
20.291667
0.704036
0.015195
0
0.392523
1
0.009346
0.808848
0.009599
0
0
0
0
0
1
0.018692
false
0
0.018692
0
0.140187
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
804a41b943270e181d9be77bf29f7d8d5707a582
2,054
py
Python
p.py
jen-soft/tools
5a7203caebc90061c47fabb8b9bdb5c0128d3b1e
[ "Apache-2.0" ]
1
2019-05-03T14:51:49.000Z
2019-05-03T14:51:49.000Z
p.py
jen-soft/tools
5a7203caebc90061c47fabb8b9bdb5c0128d3b1e
[ "Apache-2.0" ]
null
null
null
p.py
jen-soft/tools
5a7203caebc90061c47fabb8b9bdb5c0128d3b1e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """# - - - data-edit: 2018-04-28(05:30) name: Jen-Soft-Print (JSP) author: jen-soft email: jen.soft.master@gmail.com license: Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 description: short tools for using in inter...
23.883721
73
0.601266
289
2,054
4.128028
0.404844
0.055323
0.016764
0.018441
0.070411
0.070411
0.070411
0.070411
0.070411
0.070411
0
0.015514
0.246835
2,054
85
74
24.164706
0.755656
0.218111
0
0.170213
0
0
0.163799
0
0
0
0
0
0
1
0.06383
false
0
0.042553
0
0.148936
0.170213
0
0
0
null
0
0
0
0
0
0
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
804d136e8e7766f94db77c9aeeb01f986bf70336
302
py
Python
app/core/validators.py
petoandroide/recipe-app-api
bcd4376f4eee91c8ce1a6982afc7ca1be92eb9e9
[ "MIT" ]
null
null
null
app/core/validators.py
petoandroide/recipe-app-api
bcd4376f4eee91c8ce1a6982afc7ca1be92eb9e9
[ "MIT" ]
null
null
null
app/core/validators.py
petoandroide/recipe-app-api
bcd4376f4eee91c8ce1a6982afc7ca1be92eb9e9
[ "MIT" ]
null
null
null
from django.core.exceptions import ValidationError from django.core.validators import validate_email def emailValidator(email): '''Checks if an email is valid''' try: validate_email(str(email)) except ValidationError: raise ValidationError(f'{email} is not a valid email')
30.2
62
0.731788
38
302
5.763158
0.605263
0.091324
0.127854
0
0
0
0
0
0
0
0
0
0.18543
302
10
62
30.2
0.890244
0.089404
0
0
0
0
0.103704
0
0
0
0
0
0
1
0.142857
false
0
0.285714
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
804dac7d85f8d3c3dc9a7cd520102b787d29f816
2,695
py
Python
ooobuild/dyn/rendering/panose_midline.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/dyn/rendering/panose_midline.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/dyn/rendering/panose_midline.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
40.833333
114
0.735065
324
2,695
5.895062
0.410494
0.031414
0.020942
0.039791
0.056545
0.035602
0
0
0
0
0
0.005055
0.192579
2,695
65
115
41.461538
0.872702
0.272356
0
0
0
0
0.08555
0.030256
0
0
0
0
0
1
0.026316
false
0
0.131579
0
0.552632
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
804fc7ed324daf636f71ef91cd44679bdebec4f6
8,887
py
Python
ligeor/fitting/twogaussian.py
gecheline/ligeor
34c33628741fb7eedd59660672b0557d48dfe4ff
[ "MIT" ]
1
2021-09-21T07:18:14.000Z
2021-09-21T07:18:14.000Z
ligeor/fitting/twogaussian.py
gecheline/ligeor
34c33628741fb7eedd59660672b0557d48dfe4ff
[ "MIT" ]
null
null
null
ligeor/fitting/twogaussian.py
gecheline/ligeor
34c33628741fb7eedd59660672b0557d48dfe4ff
[ "MIT" ]
null
null
null
import numpy as np from ligeor.fitting.sampler import EmceeSampler from ligeor.models.twogaussian import TwoGaussianModel from ligeor.utils.lcutils import * class EmceeSamplerTwoGaussian(EmceeSampler): def __init__(self, filename='', times = [], fluxes = [], sigmas = [], period_init=1, t0_ini...
44.435
131
0.519073
1,026
8,887
4.308967
0.216374
0.03506
0.007464
0.016286
0.345171
0.311016
0.266682
0.232753
0.232753
0.206514
0
0.031789
0.373467
8,887
200
132
44.435
0.762213
0.262968
0
0.217391
0
0
0.036084
0
0
0
0
0.005
0
1
0.043478
false
0
0.054348
0
0.130435
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
8051fa690a144c0f791b552a283da2ac591cf7d6
2,078
py
Python
pygres/pygres.py
jorgeviz/pygres
acc1db1bc67316f399396998424d3709e624ba0c
[ "MIT" ]
null
null
null
pygres/pygres.py
jorgeviz/pygres
acc1db1bc67316f399396998424d3709e624ba0c
[ "MIT" ]
null
null
null
pygres/pygres.py
jorgeviz/pygres
acc1db1bc67316f399396998424d3709e624ba0c
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- import psycopg2 from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT from .errors import PygresError from .model import Model class Pygres(object): conn = None curs = None model = Model config = None q = None def __init__(self, config, **kwargs): self.conf...
28.861111
84
0.57026
233
2,078
4.987124
0.360515
0.068847
0.055938
0.027539
0.10327
0.10327
0.056799
0
0
0
0
0.003574
0.326757
2,078
71
85
29.267606
0.827019
0.053417
0
0.090909
0
0
0.070918
0
0
0
0
0
0
1
0.127273
false
0.018182
0.072727
0.018182
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80528ba8b913933d890570ec5f6820eefc0bb674
478
py
Python
bin/rdbox/rdbox_node.py
rdbox-intec/rdbox-middleware
e7469c68ba745187d1db5514494663a3593164df
[ "MIT" ]
4
2019-04-25T06:30:18.000Z
2020-03-21T05:46:38.000Z
bin/rdbox/rdbox_node.py
fukuta-tatsuya-intec/rdbox-middleware
fc1612c655438aaebe5ec289764854b5fa887e09
[ "MIT" ]
21
2020-01-10T02:22:55.000Z
2021-09-27T07:30:46.000Z
bin/rdbox/rdbox_node.py
rdbox-intec/rdbox-middleware
e7469c68ba745187d1db5514494663a3593164df
[ "MIT" ]
5
2019-06-21T06:18:05.000Z
2020-09-18T02:28:25.000Z
#!/usr/bin/env python3 # coding: utf-8 class RdboxNode(object): def __init__(self, hostname, ip, location): self.hostname = hostname self.ip = ip self.location = location def __repr__(self): return "<RdboxNode '%s' : '%s' : '%s'>" % (self.hostname, self.ip, self.location) ...
21.727273
89
0.604603
60
478
4.633333
0.333333
0.172662
0.151079
0
0
0
0
0
0
0
0
0.005714
0.267782
478
21
90
22.761905
0.788571
0.073222
0
0
0
0
0.068027
0
0
0
0
0
0
1
0.384615
false
0
0
0.307692
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
80531b697895746684ba9714966e08d58ab136a8
9,185
py
Python
sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/joywalk_sm.py
sweetie-bot-project/sweetie_bot_flexbe_behaviors
d8511564bb9d6125838b4373263fb68a8b858d70
[ "BSD-3-Clause" ]
null
null
null
sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/joywalk_sm.py
sweetie-bot-project/sweetie_bot_flexbe_behaviors
d8511564bb9d6125838b4373263fb68a8b858d70
[ "BSD-3-Clause" ]
null
null
null
sweetie_bot_flexbe_behaviors/src/sweetie_bot_flexbe_behaviors/joywalk_sm.py
sweetie-bot-project/sweetie_bot_flexbe_behaviors
d8511564bb9d6125838b4373263fb68a8b858d70
[ "BSD-3-Clause" ]
1
2019-12-23T05:06:26.000Z
2019-12-23T05:06:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ########################################################### # WARNING: Generated code! # # ************************** # # Manual changes may get lost if file is generated again. # # Only code inside the [MANUAL] ta...
46.624365
170
0.632771
979
9,185
5.727273
0.261491
0.060817
0.023185
0.031389
0.341181
0.29267
0.245229
0.245229
0.214375
0.199394
0
0.027927
0.208601
9,185
196
171
46.862245
0.743431
0.105934
0
0.078947
1
0
0.288464
0.046324
0
0
0
0
0
0
null
null
0
0.087719
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
8053471a9ddfed22d7cd5f0e66617f4be8f9c913
789
py
Python
see-escalation-find-all.py
footoredo/pytorch-a2c-ppo-acktr-gail
3d0263c10340e9d8881f75c64eb2fe9bb0c9e2d0
[ "MIT" ]
null
null
null
see-escalation-find-all.py
footoredo/pytorch-a2c-ppo-acktr-gail
3d0263c10340e9d8881f75c64eb2fe9bb0c9e2d0
[ "MIT" ]
null
null
null
see-escalation-find-all.py
footoredo/pytorch-a2c-ppo-acktr-gail
3d0263c10340e9d8881f75c64eb2fe9bb0c9e2d0
[ "MIT" ]
null
null
null
import os from pathlib import Path import joblib import json import numpy as np import sys DIR = "./sync-results/escalation-gw/find-all-50-other-play/" for folder in sorted(Path(os.path.abspath(DIR)).iterdir(), key=os.path.getmtime): try: full_path = os.path.join(DIR, folder, "findings.obj") try: ...
28.178571
81
0.623574
102
789
4.754902
0.558824
0.037113
0.041237
0
0
0
0
0
0
0
0
0.010169
0.252218
789
27
82
29.222222
0.811864
0.077313
0
0.173913
0
0
0.10069
0.071724
0
0
0
0
0
1
0
false
0.086957
0.26087
0
0.26087
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8053ce47f182fba88eda0f37079062c6b26f462b
5,697
py
Python
cte/1.xml2txt/app.py
xiabo0816/zhuanli
fe21210b00f7da0cb258c0050deaf475eac128a5
[ "Unlicense" ]
null
null
null
cte/1.xml2txt/app.py
xiabo0816/zhuanli
fe21210b00f7da0cb258c0050deaf475eac128a5
[ "Unlicense" ]
null
null
null
cte/1.xml2txt/app.py
xiabo0816/zhuanli
fe21210b00f7da0cb258c0050deaf475eac128a5
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from lxml import etree import lxml import argparse import os import argparse from tqdm import tqdm import time import threading import regex from io import StringIO, BytesIO import zipfile def get_args_parser(): parser = argparse.ArgumentParser(description='XML application parser') pa...
32.554286
108
0.585922
717
5,697
4.541144
0.283124
0.042998
0.027641
0.029177
0.20516
0.168919
0.10473
0.027027
0.014128
0
0
0.020115
0.266983
5,697
174
109
32.741379
0.759339
0.05108
0
0.105263
0
0
0.084878
0.038176
0
0
0.004448
0
0
1
0.075188
false
0
0.082707
0
0.218045
0.037594
0
0
0
null
0
0
0
0
0
0
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
8055c84498ba5381887804f95d4c2b79522549aa
1,057
py
Python
release/stubs.min/System/Windows/Controls/__init___parts/InkCanvasClipboardFormat.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/System/Windows/Controls/__init___parts/InkCanvasClipboardFormat.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/System/Windows/Controls/__init___parts/InkCanvasClipboardFormat.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class InkCanvasClipboardFormat(Enum,IComparable,IFormattable,IConvertible): """ Specifies the formats that an System.Windows.Controls.InkCanvas will accept from the Clipboard. enum InkCanvasClipboardFormat,values: InkSerializedFormat (0),Text (1),Xaml (2) """ def __eq__(self,*args): """ x.__eq__(y) ...
28.567568
215
0.682119
135
1,057
4.637037
0.392593
0.127796
0.134185
0.14377
0.20607
0.20607
0.20607
0.180511
0.180511
0.180511
0
0.003409
0.167455
1,057
36
216
29.361111
0.707955
0.478713
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
80565e10fd9e73420aa3d1a44436994e9aca11f5
1,858
py
Python
tests/correctly_installed.py
lifengjin/transition-amr-parser
ec1f854fda520de97fc4e4c5f5e03133aab0560f
[ "Apache-2.0" ]
1
2021-07-08T08:24:21.000Z
2021-07-08T08:24:21.000Z
tests/correctly_installed.py
lifengjin/transition-amr-parser
ec1f854fda520de97fc4e4c5f5e03133aab0560f
[ "Apache-2.0" ]
null
null
null
tests/correctly_installed.py
lifengjin/transition-amr-parser
ec1f854fda520de97fc4e4c5f5e03133aab0560f
[ "Apache-2.0" ]
1
2021-07-08T08:24:22.000Z
2021-07-08T08:24:22.000Z
import torch import subprocess from torch.utils.cpp_extension import CUDAExtension def check_cuda_torch_binary_vs_bare_metal(): # command line CUDA cuda_dir = torch.utils.cpp_extension.CUDA_HOME cuda_call = [cuda_dir + "/bin/nvcc", "-V"] raw_output = subprocess.check_output(cuda_call, universal_newli...
32.034483
93
0.667922
239
1,858
4.878661
0.39749
0.056604
0.054889
0.037736
0.053173
0.053173
0.053173
0
0
0
0
0.013158
0.22282
1,858
57
94
32.596491
0.794321
0.069429
0
0
0
0
0.181871
0.012202
0
0
0
0
0.025641
1
0.025641
false
0
0.205128
0
0.230769
0.25641
0
0
0
null
0
0
0
0
0
0
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
8056f250d94ce7f3866f728e1e595d1a463b4b91
437
py
Python
publications/migrations/0015_auto_20201015_0250.py
MarkJaroski/aho-dev-dct
75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7
[ "MIT" ]
null
null
null
publications/migrations/0015_auto_20201015_0250.py
MarkJaroski/aho-dev-dct
75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7
[ "MIT" ]
null
null
null
publications/migrations/0015_auto_20201015_0250.py
MarkJaroski/aho-dev-dct
75ad72d408ce60ebfdf9c02fe57cdf9edba5e4d7
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2020-10-14 23:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('publications', '0014_auto_20201002_1350'), ] operations = [ migrations.AlterField( model_name='stgknowledgeproducttranslation', ...
23
73
0.633867
45
437
6.022222
0.8
0.066421
0
0
0
0
0
0
0
0
0
0.104615
0.256293
437
18
74
24.277778
0.729231
0.102975
0
0
1
0
0.192308
0.135897
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
80570e057a980aa667e5b87368933ad6ee43efcd
6,120
py
Python
DeblurGANv2/project_lib/losses.py
gcinbis/deep-generative-models-spring20
d377bd63d5e79539477cca47c71462e5cc12adfa
[ "MIT" ]
18
2020-07-06T10:47:26.000Z
2021-05-30T11:43:17.000Z
DeblurGANv2/project_lib/losses.py
gcinbis/deep-generative-models-course-projects
d377bd63d5e79539477cca47c71462e5cc12adfa
[ "MIT" ]
1
2022-03-12T00:39:12.000Z
2022-03-12T00:39:12.000Z
DeblurGANv2/project_lib/losses.py
gcinbis/deep-generative-models-spring20
d377bd63d5e79539477cca47c71462e5cc12adfa
[ "MIT" ]
2
2020-07-13T20:46:44.000Z
2020-10-01T13:15:25.000Z
import torch import torch.nn as nn import torchvision.models as models import torchvision.transforms as transforms import random class ScoreSamples(): """ Keeps the scores in lists of a predefined size to take inner expectations in the Discriminator and generator adverserial losses. """ def __...
36.213018
151
0.658007
824
6,120
4.724515
0.240291
0.042384
0.032366
0.021577
0.371436
0.337015
0.281017
0.247624
0.234267
0.176214
0
0.032948
0.251144
6,120
168
152
36.428571
0.816496
0.380882
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.32
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
8058352e8e1025b9c39b593adc41b94758599897
1,102
py
Python
expense/expense_entry.py
thinkstack-co/ConnectPyse
ded8b426250aee352598f33ad08b7bcc3c6a3017
[ "MIT" ]
23
2017-01-24T05:44:05.000Z
2021-11-26T17:08:01.000Z
expense/expense_entry.py
thinkstack-co/ConnectPyse
ded8b426250aee352598f33ad08b7bcc3c6a3017
[ "MIT" ]
10
2017-01-14T21:11:10.000Z
2019-06-16T21:10:29.000Z
expense/expense_entry.py
thinkstack-co/ConnectPyse
ded8b426250aee352598f33ad08b7bcc3c6a3017
[ "MIT" ]
16
2017-01-24T02:28:19.000Z
2021-07-13T17:23:22.000Z
from ..cw_model import CWModel class ExpenseEntry(CWModel): def __init__(self, json_dict=None): self.id = None # (Integer) self.company = None # **(CompanyReference) self.chargeToId = None # (Integer) self.chargeToType = None # **(Enum) self.type = None # *(...
38
64
0.587114
99
1,102
6.414141
0.494949
0.069291
0.094488
0
0
0
0
0
0
0
0
0
0.303085
1,102
28
65
39.357143
0.826823
0.278584
0
0
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.130435
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
8058bafda972807f55fe861789d44c2fc4fc0172
3,255
py
Python
PPAS_agent/dqn_agent/metrics.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-06-03T20:03:50.000Z
2021-06-03T20:03:50.000Z
multi_agents/dqn_agent/metrics.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
null
null
null
multi_agents/dqn_agent/metrics.py
pedMatias/matias_hfo
6d88e1043a1455f5c1f6cc11b9380869772f4176
[ "MIT" ]
1
2021-03-14T01:22:33.000Z
2021-03-14T01:22:33.000Z
# !/usr/bin/hfo_env python3 # encoding utf-8 from collections import namedtuple """ This module is used to test the agent previous trained """ EpisodeMetrics = namedtuple( 'EpisodeMetrics', ['touched_ball', 'passed_ball', 'scored_goal'] ) class GameMetrics: def __init__(self): self.num_ep = 0 ...
33.90625
79
0.634101
430
3,255
4.381395
0.162791
0.096603
0.070064
0.070594
0.428875
0.174098
0.061571
0.061571
0
0
0
0.009935
0.288786
3,255
95
80
34.263158
0.803888
0.041475
0
0
0
0
0.083607
0.03377
0
0
0
0
0
1
0.166667
false
0.181818
0.015152
0
0.227273
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8058d1cb85bb6ca5a109da8af0c99c070a0a0578
600
py
Python
cubework/module/_entry_module.py
kurisusnowdeng/Cubework
56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa
[ "Apache-2.0" ]
null
null
null
cubework/module/_entry_module.py
kurisusnowdeng/Cubework
56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa
[ "Apache-2.0" ]
null
null
null
cubework/module/_entry_module.py
kurisusnowdeng/Cubework
56c0d35f87765efc8f2b6d47a4ccea6f2ec626aa
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn class CubeModule(nn.Module): def __init__(self, module: nn.Module, **kwargs): super().__init__() # copy values self.__dict__ = module.__dict__.copy() # copy methods for name, attr in module.__class__.__dict__.items(): if name not in ["__ini...
31.578947
70
0.598333
74
600
4.418919
0.445946
0.04893
0.091743
0
0
0
0
0
0
0
0
0
0.281667
600
18
71
33.333333
0.758701
0.04
0
0
0
0
0.026178
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.076923
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
8059c8bced6969b16c10dee35527aef3f9e904b2
2,607
py
Python
ooobuild/lo/frame/desktop_task.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/frame/desktop_task.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/frame/desktop_task.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
28.648352
124
0.693517
324
2,607
5.42284
0.462963
0.075697
0.029596
0.025612
0.120091
0.120091
0.097325
0.097325
0.097325
0.097325
0
0.036103
0.224396
2,607
90
125
28.966667
0.832839
0.453778
0
0.25
0
0
0.0744
0.024
0
0
0
0
0
1
0.25
false
0
0.285714
0
0.678571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8059d95151962aa5136040ec15fa0c5096751c9d
83,265
py
Python
sqlalchemy/sqlalchemy-0.3.6+codebay/sqlalchemy/sql.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
5
2015-04-16T08:36:17.000Z
2017-05-12T17:20:12.000Z
sqlalchemy/sqlalchemy-0.3.6+codebay/sqlalchemy/sql.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
null
null
null
sqlalchemy/sqlalchemy-0.3.6+codebay/sqlalchemy/sql.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
4
2015-03-19T14:39:51.000Z
2019-01-23T08:22:55.000Z
# Copyright (C) 2005, 2006, 2007 Michael Bayer mike_mp@zzzcomputing.com # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Define the base components of SQL expression trees.""" from sqlalchemy import util, exceptions, logging from sqla...
34.421248
253
0.628752
10,086
83,265
5.044418
0.085564
0.017296
0.00853
0.009041
0.297889
0.237706
0.197846
0.159283
0.124081
0.109576
0
0.001374
0.274725
83,265
2,418
254
34.435484
0.841116
0.291779
0
0.355253
0
0.001512
0.03498
0
0
0
0
0.000414
0
1
0.239607
false
0.018896
0.003023
0.0839
0.492063
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3374f0de05ac6c8c99f55e6ea413524eae8ce723
19,218
py
Python
horizomer/benchmark/reformat_input.py
biocore/horizomer
6b30d7f3b79f4f4ce7cc6502f5b820c9b53ab52e
[ "BSD-3-Clause" ]
8
2017-10-17T12:27:07.000Z
2021-08-09T14:34:05.000Z
horizomer/benchmark/reformat_input.py
biocore/WGS-HGT
6b30d7f3b79f4f4ce7cc6502f5b820c9b53ab52e
[ "BSD-3-Clause" ]
59
2015-09-11T22:22:39.000Z
2017-05-30T18:31:15.000Z
horizomer/benchmark/reformat_input.py
biocore/WGS-HGT
6b30d7f3b79f4f4ce7cc6502f5b820c9b53ab52e
[ "BSD-3-Clause" ]
9
2015-09-10T17:55:22.000Z
2017-02-22T05:47:13.000Z
#!/usr/bin/env python # ---------------------------------------------------------------------------- # Copyright (c) 2015--, The Horizomer Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ----------------------...
33.834507
79
0.584972
2,374
19,218
4.5754
0.149115
0.04861
0.034524
0.034984
0.484994
0.431965
0.410606
0.381882
0.359602
0.32471
0
0.007543
0.296389
19,218
567
80
33.89418
0.79574
0.364242
0
0.328413
0
0
0.12122
0
0
0
0
0
0
1
0.051661
false
0
0.01476
0
0.077491
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
337678c4ca17db22b704fe8316b0715ec39a1903
11,318
py
Python
nbs/17_callback.tracker.py
huangyingw/fastai_fastai
68ff76a21b2f70f44fb91885abcb73c1c213ec1a
[ "Apache-2.0" ]
1
2022-02-06T22:11:10.000Z
2022-02-06T22:11:10.000Z
nbs/17_callback.tracker.py
huangyingw/fastai_fastai
68ff76a21b2f70f44fb91885abcb73c1c213ec1a
[ "Apache-2.0" ]
null
null
null
nbs/17_callback.tracker.py
huangyingw/fastai_fastai
68ff76a21b2f70f44fb91885abcb73c1c213ec1a
[ "Apache-2.0" ]
null
null
null
# --- # jupyter: # jupytext: # formats: ipynb,py # split_at_heading: true # text_representation: # extension: .py # format_name: light # format_version: '1.5' # jupytext_version: 1.6.0 # kernelspec: # display_name: Python 3 # language: python # name: python3 # --- # ...
38.107744
448
0.690758
1,712
11,318
4.417056
0.175818
0.024332
0.021158
0.023803
0.474213
0.42978
0.403729
0.380984
0.369611
0.369611
0
0.014849
0.184838
11,318
296
449
38.236486
0.804791
0.220269
0
0.34104
0
0.00578
0.149274
0.014287
0
0
0
0
0.034682
0
null
null
0
0.040462
null
null
0.017341
0
0
0
null
0
0
0
0
0
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
3377756caf446ee92705d76468e482dd3c3c56ac
110
py
Python
contrib/pyln-spec/bolt7/pyln/spec/bolt7/gen_version.py
endothermicdev/lightning
c7d359baf455e5260dc5d126b05211279e186ef8
[ "MIT" ]
null
null
null
contrib/pyln-spec/bolt7/pyln/spec/bolt7/gen_version.py
endothermicdev/lightning
c7d359baf455e5260dc5d126b05211279e186ef8
[ "MIT" ]
null
null
null
contrib/pyln-spec/bolt7/pyln/spec/bolt7/gen_version.py
endothermicdev/lightning
c7d359baf455e5260dc5d126b05211279e186ef8
[ "MIT" ]
null
null
null
__base_version__ = "1.0" __post_version__ = "222" __gitversion__ = "f1c797df2966237244527c1c6343dbe9bc765342"
27.5
59
0.827273
9
110
8.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0.336634
0.081818
110
3
60
36.666667
0.425743
0
0
0
0
0
0.418182
0.363636
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
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
3377a3bd3f3d919bab7ca9757f1c2cbb6e8c4e7b
8,248
py
Python
MCTS.py
arijitnoobstar/OnitamaDeepRL
e561b22fe7728f51c1f1a078dfb19aa008bf010e
[ "Apache-2.0" ]
3
2021-05-16T08:43:09.000Z
2021-05-31T16:23:43.000Z
MCTS.py
mion666459/OnitamaAI
e561b22fe7728f51c1f1a078dfb19aa008bf010e
[ "Apache-2.0" ]
null
null
null
MCTS.py
mion666459/OnitamaAI
e561b22fe7728f51c1f1a078dfb19aa008bf010e
[ "Apache-2.0" ]
1
2021-05-28T10:07:50.000Z
2021-05-28T10:07:50.000Z
from std_imports import * # random policy function used for MCTS def randomPolicy(state): while not state.isTerminal(): try: action = random.choice(state.getPossibleActions()) except IndexError: state.show_game_state raise Exception("Non-terminal state has no possible action...
36.334802
148
0.615907
963
8,248
5.1973
0.235722
0.017982
0.015584
0.013586
0.153247
0.127073
0.127073
0.127073
0.108691
0.108691
0
0.004154
0.299467
8,248
227
149
36.334802
0.862063
0.161494
0
0.313609
0
0
0.044567
0
0
0
0
0
0
1
0.088757
false
0
0.005917
0
0.171598
0.011834
0
0
0
null
0
0
0
0
0
0
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
3377ab4d402bece3c10bbb704ed335b82b661b18
614
py
Python
plotting/plot_BPT.py
griffij/QuakeRates
70069bb271a1987e72fcbdf3aa0c0a8a79591580
[ "Apache-2.0" ]
null
null
null
plotting/plot_BPT.py
griffij/QuakeRates
70069bb271a1987e72fcbdf3aa0c0a8a79591580
[ "Apache-2.0" ]
null
null
null
plotting/plot_BPT.py
griffij/QuakeRates
70069bb271a1987e72fcbdf3aa0c0a8a79591580
[ "Apache-2.0" ]
null
null
null
"""Plot some basic BPT distributions """ import os, sys from matplotlib import pyplot as plt import numpy as np from scipy.stats import expon, gamma, weibull_min, invgauss mu = 100 alphas = [ 0.5, 1., 2., 5., 10.] #alpha = 1 x_vals = np.arange(0, 4*mu) # Plot for a range of alpha values for alpha in alphas: bpt = ...
24.56
59
0.710098
107
614
3.953271
0.514019
0.059102
0.047281
0.066194
0.1513
0.1513
0.1513
0.1513
0.1513
0.1513
0
0.025243
0.161238
614
24
60
25.583333
0.796117
0.156352
0
0
0
0
0.062868
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3377d7cced7a6e1a455c13090ea445c75d6794d8
2,125
py
Python
vang/tfs/create_release_definition.py
mattiasl/scripts
e9245ce432b0dd5743506654ada52e017d0b6be0
[ "Apache-2.0" ]
6
2018-01-31T09:59:18.000Z
2020-06-09T08:55:22.000Z
vang/tfs/create_release_definition.py
mattiasl/scripts
e9245ce432b0dd5743506654ada52e017d0b6be0
[ "Apache-2.0" ]
null
null
null
vang/tfs/create_release_definition.py
mattiasl/scripts
e9245ce432b0dd5743506654ada52e017d0b6be0
[ "Apache-2.0" ]
2
2018-11-19T09:56:46.000Z
2020-06-08T10:53:11.000Z
#!/usr/bin/env python3 import argparse from json import dumps from sys import argv from vang.tfs.api import call from vang.tfs.definition_utils import get_definition, get_definition_name def get_release_definition(template, project, repo, branch, comment=None): return get_definition(template, ...
34.836066
114
0.632
244
2,125
5.319672
0.331967
0.144068
0.115562
0.064715
0.218798
0.127889
0.127889
0.127889
0.087827
0
0
0.004481
0.264941
2,125
60
115
35.416667
0.826504
0.017882
0
0.104167
0
0.020833
0.223022
0.051319
0
0
0
0
0
1
0.083333
false
0
0.104167
0.041667
0.25
0.041667
0
0
0
null
0
0
0
0
0
0
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
33785c10eb7a2f5238f0edbd3dfe035be9261d0c
341
py
Python
torchio/transforms/intensity_transform.py
soumickmj/torchio
5ec12c7ea9bf9cfd70e17e90fcc03621272cef9c
[ "MIT" ]
1
2021-01-22T21:49:30.000Z
2021-01-22T21:49:30.000Z
torchio/transforms/intensity_transform.py
soumickmj/torchio
5ec12c7ea9bf9cfd70e17e90fcc03621272cef9c
[ "MIT" ]
null
null
null
torchio/transforms/intensity_transform.py
soumickmj/torchio
5ec12c7ea9bf9cfd70e17e90fcc03621272cef9c
[ "MIT" ]
null
null
null
from .transform import Transform class IntensityTransform(Transform): """Transform that modifies voxel intensities only.""" @staticmethod def get_images(sample): return sample.get_images(intensity_only=True) @staticmethod def get_images_dict(sample): return sample.get_images_dict(...
26.230769
58
0.741935
39
341
6.282051
0.487179
0.146939
0.146939
0.195918
0.220408
0
0
0
0
0
0
0
0.178886
341
12
59
28.416667
0.875
0.13783
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
3378ef303c12c8524e4216c752fb54e286c0e239
1,483
py
Python
ros/niryo_one_ros/niryo_one_python_api/examples/rpi_example_python_api.py
paubrunet97/astrocytes
c21bbd2473adf68ef076356bcf578fb2ae14031f
[ "MIT" ]
5
2020-11-06T18:35:57.000Z
2021-04-30T07:16:42.000Z
ros/niryo_one_ros/niryo_one_python_api/examples/rpi_example_python_api.py
paubrunet97/astrocytes
c21bbd2473adf68ef076356bcf578fb2ae14031f
[ "MIT" ]
5
2020-11-05T13:39:28.000Z
2021-12-09T04:37:30.000Z
ros/niryo_one_ros/niryo_one_python_api/examples/rpi_example_python_api.py
paubrunet97/astrocytes
c21bbd2473adf68ef076356bcf578fb2ae14031f
[ "MIT" ]
8
2020-09-25T10:07:15.000Z
2022-03-11T06:26:30.000Z
#!/usr/bin/env python # To use the API, copy these 4 lines on each Python file you create from niryo_one_python_api.niryo_one_api import * import rospy import time rospy.init_node('niryo_one_example_python_api') print "--- Start" n = NiryoOne() try: # Calibrate robot first n.calibrate_auto() print "Cal...
24.716667
67
0.708024
237
1,483
4.14346
0.379747
0.021385
0.07332
0.081466
0.310591
0.254582
0.199593
0.152749
0
0
0
0.019442
0.202293
1,483
59
68
25.135593
0.810651
0.279164
0
0.212121
0
0
0.081439
0.026515
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.151515
0
0
0
null
0
0
0
0
0
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
33792464f4f074a587385ef57184dc0702fd16c5
1,560
py
Python
lib/coloraide/spaces/din99o_lch.py
CodeByZach/sublime_color_helper
9d881e1f036c886fedd94b026735c4727b7a34d3
[ "MIT" ]
14
2021-12-07T02:40:08.000Z
2022-01-24T19:38:17.000Z
lib/coloraide/spaces/din99o_lch.py
CodeByZach/sublime_color_helper
9d881e1f036c886fedd94b026735c4727b7a34d3
[ "MIT" ]
null
null
null
lib/coloraide/spaces/din99o_lch.py
CodeByZach/sublime_color_helper
9d881e1f036c886fedd94b026735c4727b7a34d3
[ "MIT" ]
null
null
null
"""Din99o Lch class.""" from ..spaces import RE_DEFAULT_MATCH from .lch import Lch from .. import util import math import re from ..util import MutableVector ACHROMATIC_THRESHOLD = 0.0000000002 def lch_to_lab(lch: MutableVector) -> MutableVector: """Din99o Lch to lab.""" l, c, h = lch h = util.no_nan(h)...
24
100
0.627564
217
1,560
4.419355
0.391705
0.065693
0.025026
0.054223
0.081335
0
0
0
0
0
0
0.038265
0.246154
1,560
64
101
24.375
0.777211
0.232692
0
0.055556
0
0
0.027515
0
0
0
0
0
0
1
0.111111
false
0
0.166667
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3379417d5fd88f05297c00144ec0950b728cbbcd
949
py
Python
data-prep/download_weather_data.py
DanteLore/tfl-cycles
21a1be93824fbbe4cfadd182755b7979ffbf84f0
[ "MIT" ]
1
2020-03-25T11:18:22.000Z
2020-03-25T11:18:22.000Z
data-prep/download_weather_data.py
DanteLore/tfl-cycles
21a1be93824fbbe4cfadd182755b7979ffbf84f0
[ "MIT" ]
null
null
null
data-prep/download_weather_data.py
DanteLore/tfl-cycles
21a1be93824fbbe4cfadd182755b7979ffbf84f0
[ "MIT" ]
null
null
null
import os import requests import re HEATHROW_URL= "https://www.metoffice.gov.uk/pub/data/weather/uk/climate/stationdata/heathrowdata.txt" WEATHER_DIR = "../data/weather" HEATHROW_FILE = WEATHER_DIR + "/heathrow.csv" HEADER ="year,month,maximum_temp,minimum_temp,days_of_air_frost,total_rainfall,total_sunshine\n" if __...
35.148148
116
0.635406
147
949
3.92517
0.510204
0.024263
0.036395
0.041594
0.036395
0.036395
0.036395
0.036395
0.036395
0.036395
0
0.018382
0.140148
949
26
117
36.5
0.688725
0
0
0
0
0.105263
0.358272
0.201264
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
3379ae605f4fe6dee7ca30fd5cb645c46ab4b219
4,277
py
Python
scripts/real_data_novility.py
vafaei-ar/pymce
c01197b74fb515a0d6e400310c4d5c0ffad0f3c9
[ "BSD-3-Clause" ]
16
2019-09-11T12:53:15.000Z
2021-12-09T12:07:51.000Z
scripts/real_data_novility.py
vafaei-ar/pymce
c01197b74fb515a0d6e400310c4d5c0ffad0f3c9
[ "BSD-3-Clause" ]
null
null
null
scripts/real_data_novility.py
vafaei-ar/pymce
c01197b74fb515a0d6e400310c4d5c0ffad0f3c9
[ "BSD-3-Clause" ]
3
2019-12-12T08:55:44.000Z
2021-08-23T04:37:53.000Z
# coding: utf-8 # In[1]: import drama as drm import numpy as np import matplotlib.pylab as plt from matplotlib import gridspec from sklearn.metrics import roc_auc_score import os import glob import h5py import scipy.io as sio get_ipython().magic(u'matplotlib inline') # In[12]: fils = sorted(glob.glob('../data...
28.324503
106
0.588964
636
4,277
3.819182
0.355346
0.036229
0.008646
0.018526
0.103746
0.095513
0.032935
0
0
0
0
0.026626
0.227262
4,277
150
107
28.513333
0.708321
0.295067
0
0
0
0
0.100705
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.030303
0
0
0
null
0
0
0
0
0
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
337bbbb38e7729936c71cb97a400bd904bc7035f
1,362
py
Python
podcasts/models.py
bycristhian/vurapy
12e35fb9373131181b1b8d4d5701fbbf4231dab8
[ "MIT" ]
null
null
null
podcasts/models.py
bycristhian/vurapy
12e35fb9373131181b1b8d4d5701fbbf4231dab8
[ "MIT" ]
null
null
null
podcasts/models.py
bycristhian/vurapy
12e35fb9373131181b1b8d4d5701fbbf4231dab8
[ "MIT" ]
null
null
null
# Django from django.db import models # Models from django.contrib.auth.models import User class Tag(models.Model): name = models.CharField(max_length=20, unique=True, blank=False, null=False) is_active = models.BooleanField(default=True) created_at = models.DateTimeField(auto_now_add=True) updated...
35.842105
94
0.763583
178
1,362
5.657303
0.314607
0.047666
0.125124
0.148957
0.586892
0.586892
0.555114
0.477656
0.477656
0.477656
0
0.005882
0.126285
1,362
37
95
36.810811
0.840336
0.009545
0
0.347826
0
0
0.053532
0
0
0
0
0
0
1
0
false
0
0.086957
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
337bbc68170b4d83cd1dddafc374df6001cdf9ef
2,776
py
Python
server/receiver.py
ZeroxTM/IDEA-HMK-Cryptor-1
85dfa02aa1b941dd0245a27c46ddf02ef0fad1fa
[ "MIT" ]
null
null
null
server/receiver.py
ZeroxTM/IDEA-HMK-Cryptor-1
85dfa02aa1b941dd0245a27c46ddf02ef0fad1fa
[ "MIT" ]
null
null
null
server/receiver.py
ZeroxTM/IDEA-HMK-Cryptor-1
85dfa02aa1b941dd0245a27c46ddf02ef0fad1fa
[ "MIT" ]
null
null
null
__author__ = "Adam Mahameed" __copyright__ = "2020 HMK-IDEA-Cryptor" __credits__ = ["Adam Mahameed"] __license__ = "MIT" __email__ = "adam.mah315@gmail.com" from Cryptors.DSA import DSA from Cryptors.HMKnapsack import HMKnapsack from pckgIDEA.IDEA import IDEA KEY_SIZE = 128 class Receiver(): def __init__(self, ...
38.027397
114
0.615274
343
2,776
4.77551
0.311953
0.042735
0.033578
0.034799
0.031746
0.031746
0
0
0
0
0
0.01195
0.246398
2,776
72
115
38.555556
0.771033
0.104467
0
0.12766
0
0
0.272424
0.047977
0
0
0
0
0
1
0.106383
false
0
0.06383
0
0.255319
0.297872
0
0
0
null
0
0
0
0
0
0
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
337cb864f978111a5b51a0b099bf07d31bd9e99e
1,562
py
Python
apis_server/decorators.py
ilyde-platform/ilyde-apis
cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04
[ "Apache-2.0" ]
null
null
null
apis_server/decorators.py
ilyde-platform/ilyde-apis
cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04
[ "Apache-2.0" ]
null
null
null
apis_server/decorators.py
ilyde-platform/ilyde-apis
cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 # # Copyright (c) 2020-2021 Hopenly srl. # # This file is part of Ilyde. # # 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 #...
31.24
106
0.685659
203
1,562
5.236453
0.561576
0.056444
0.024459
0.030103
0
0
0
0
0
0
0
0.01586
0.233035
1,562
49
107
31.877551
0.871452
0.445583
0
0.105263
0
0
0.100606
0
0
0
0
0
0
1
0.263158
false
0
0.157895
0
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
337f01f7fab004df576400a43f1c3869a2c046af
557
py
Python
rclpy/examples_rclpy_topics/examples_rclpy_topics/subscriber.py
AtsukiYokota/examples_rclpy
51c8d10623672ab91c88be3fd699e92fc0c07c41
[ "Apache-2.0" ]
null
null
null
rclpy/examples_rclpy_topics/examples_rclpy_topics/subscriber.py
AtsukiYokota/examples_rclpy
51c8d10623672ab91c88be3fd699e92fc0c07c41
[ "Apache-2.0" ]
null
null
null
rclpy/examples_rclpy_topics/examples_rclpy_topics/subscriber.py
AtsukiYokota/examples_rclpy
51c8d10623672ab91c88be3fd699e92fc0c07c41
[ "Apache-2.0" ]
null
null
null
import rclpy from rclpy.node import Node from std_msgs.msg import String class MinimalSubscriber(Node): def __init__(self): super().__init__('minimal_subscriber') self.subscription = self.create_subscription( String, 'chatter', self.listener_callback) def listener_callback(self, ...
21.423077
54
0.694794
65
557
5.584615
0.492308
0.140496
0
0
0
0
0
0
0
0
0
0
0.197487
557
25
55
22.28
0.812081
0
0
0
0
0
0.059246
0
0
0
0
0
0
1
0.176471
false
0
0.176471
0
0.411765
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
337f1b5807ffa83c345e8dafa91086d6a8ed3380
719
py
Python
py/2015/day10/aoc_day_10.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
null
null
null
py/2015/day10/aoc_day_10.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
null
null
null
py/2015/day10/aoc_day_10.py
cs-cordero/advent-of-code
614b8f78b43c54ef180a7dc411a0d1366a62944f
[ "MIT" ]
2
2019-12-01T15:33:27.000Z
2020-12-14T05:37:23.000Z
from typing import Generator, Tuple def break_string(string: str) -> Generator[Tuple[int, int], None, None]: i = 0 while i < len(string): count = 0 current_digit = string[i] while i < len(string) and string[i] == current_digit: count += 1 i += 1 yield (s...
26.62963
72
0.617524
101
719
4.316832
0.435644
0.082569
0.041284
0.068807
0
0
0
0
0
0
0
0.058394
0.23783
719
26
73
27.653846
0.737226
0
0
0
0
0
0.065369
0
0
0
0
0
0.05
1
0.1
false
0
0.05
0
0.2
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
337f84cd9b42ebbb50233035031025d016c02ef3
676
py
Python
app/main/forms.py
Charles-Ndugire/personal-blog
a56a80ea7602b713d08724d33636bf4e69fc9b06
[ "MIT" ]
null
null
null
app/main/forms.py
Charles-Ndugire/personal-blog
a56a80ea7602b713d08724d33636bf4e69fc9b06
[ "MIT" ]
4
2021-06-08T22:09:18.000Z
2022-03-12T00:44:04.000Z
app/main/forms.py
Charles-Ndugire/personal-blog
a56a80ea7602b713d08724d33636bf4e69fc9b06
[ "MIT" ]
1
2020-12-17T20:22:39.000Z
2020-12-17T20:22:39.000Z
from . import main from flask_wtf import FlaskForm from wtforms import SubmitField,StringField,TextAreaField,SelectField from wtforms.validators import Required from ..models import Article,Comment class ArticleUploadForm(FlaskForm): article = TextAreaField('Article',validators=[Required()]) category = StringF...
35.578947
77
0.761834
70
676
7.342857
0.414286
0.140078
0.140078
0.20428
0.22179
0
0
0
0
0
0
0
0.12574
676
18
78
37.555556
0.869712
0
0
0
0
0
0.106509
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
337f8be8a863ba3c83c574bea3199d4c04528548
2,526
py
Python
russian_roulette.py
Study-Repos-Forks/Python-1
49353458404e5cb0e01deb0497c8d3cdc5e2e73f
[ "MIT" ]
null
null
null
russian_roulette.py
Study-Repos-Forks/Python-1
49353458404e5cb0e01deb0497c8d3cdc5e2e73f
[ "MIT" ]
null
null
null
russian_roulette.py
Study-Repos-Forks/Python-1
49353458404e5cb0e01deb0497c8d3cdc5e2e73f
[ "MIT" ]
null
null
null
""" author: Ataba29 the code is just a russian roulette game against the computer """ from random import randrange import time def main(): # create the gun and set the bullet numOfRounds = 6 gun = [0, 0, 0, 0, 0, 0] bullet = randrange(0, 6) gun[bullet] = 1 player = False # is player ...
26.3125
96
0.511876
330
2,526
3.918182
0.363636
0.090487
0.061872
0.058005
0.0843
0.034803
0.034803
0.034803
0
0
0
0.017554
0.346002
2,526
95
97
26.589474
0.765133
0.103325
0
0.414286
0
0.014286
0.321572
0.030371
0
0
0
0
0
1
0.014286
false
0
0.028571
0
0.042857
0.314286
0
0
0
null
0
0
0
0
0
0
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
337f94e07f01f382312d5a5834d2533c67169194
2,318
py
Python
entrepot/models.py
HunterPen/PmpApi
c50ef9f8ecac7575fc6a45e96bacd18e56b9c0bd
[ "Apache-2.0" ]
null
null
null
entrepot/models.py
HunterPen/PmpApi
c50ef9f8ecac7575fc6a45e96bacd18e56b9c0bd
[ "Apache-2.0" ]
null
null
null
entrepot/models.py
HunterPen/PmpApi
c50ef9f8ecac7575fc6a45e96bacd18e56b9c0bd
[ "Apache-2.0" ]
null
null
null
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
32.194444
104
0.710095
301
2,318
5.312292
0.332226
0.065666
0.052533
0.090056
0.516573
0.465916
0.448405
0.404628
0.325829
0.292683
0
0.00914
0.197584
2,318
71
105
32.647887
0.850538
0.195427
0
0.404255
1
0
0.049004
0
0
0
0
0
0
1
0
false
0
0.06383
0
0.744681
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
33812b3b1b19a16b3d3f2a404fb13f942417dd99
500
py
Python
tests/page_template/test_page_template.py
Crown-Commercial-Service/govuk-frontend-jinja
ddbe208a976ffa4ca330881c506c5200dfa69851
[ "MIT" ]
7
2019-09-25T13:59:35.000Z
2021-06-30T11:13:22.000Z
tests/page_template/test_page_template.py
Crown-Commercial-Service/govuk-frontend-jinja
ddbe208a976ffa4ca330881c506c5200dfa69851
[ "MIT" ]
23
2019-08-20T10:52:49.000Z
2021-06-02T14:21:16.000Z
tests/page_template/test_page_template.py
Crown-Commercial-Service/govuk-frontend-jinja
ddbe208a976ffa4ca330881c506c5200dfa69851
[ "MIT" ]
6
2019-08-29T14:02:25.000Z
2021-04-10T20:20:23.000Z
import pytest import govuk_frontend_jinja @pytest.fixture def env(loader): return govuk_frontend_jinja.Environment( # for some reason the page_template tests only pass with trim_blocks=False loader=loader, autoescape=True, keep_trailing_newline=True, trim_blocks=False, ...
23.809524
82
0.716
61
500
5.655738
0.606557
0.075362
0.104348
0
0
0
0
0
0
0
0
0
0.212
500
20
83
25
0.875635
0.144
0
0
0
0
0
0
0
0
0
0
0.071429
1
0.142857
false
0
0.142857
0.071429
0.357143
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
33821cb4b0dc7fb87562a852e4ad10758b596f2a
1,044
py
Python
pip_services3_expressions-3.3.4/test/calculator/functions/test_FunctionCollection.py
pip-services3-python/pip-services3-expressions-python
4ea237fbbba32e62f920e6be3bd48e6cc02184e5
[ "MIT" ]
null
null
null
pip_services3_expressions-3.3.4/test/calculator/functions/test_FunctionCollection.py
pip-services3-python/pip-services3-expressions-python
4ea237fbbba32e62f920e6be3bd48e6cc02184e5
[ "MIT" ]
null
null
null
pip_services3_expressions-3.3.4/test/calculator/functions/test_FunctionCollection.py
pip-services3-python/pip-services3-expressions-python
4ea237fbbba32e62f920e6be3bd48e6cc02184e5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from pip_services3_expressions.calculator.functions.DelegatedFunction import DelegatedFunction from pip_services3_expressions.calculator.functions.FunctionCollection import FunctionCollection from pip_services3_expressions.variants.Variant import Variant class TestFunctionCollection: def...
29.828571
96
0.700192
111
1,044
6.414414
0.369369
0.078652
0.067416
0.113764
0.196629
0.129213
0
0
0
0
0
0.018204
0.210728
1,044
34
97
30.705882
0.845874
0.020115
0
0.090909
0
0
0.01763
0
0
0
0
0
0.272727
1
0.090909
false
0
0.136364
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
33879c2c16b04f8a3a3b96376e81baf0112fecb9
24,698
py
Python
python/swagger_client/models/vehicle.py
chenxy285/directions-api-clients
2abbeb16a23f4dc5aaaaff45d17750f2b65e6502
[ "Apache-2.0" ]
26
2017-06-15T17:30:09.000Z
2021-12-04T10:45:30.000Z
python/swagger_client/models/vehicle.py
chenxy285/directions-api-clients
2abbeb16a23f4dc5aaaaff45d17750f2b65e6502
[ "Apache-2.0" ]
34
2017-05-24T05:50:04.000Z
2020-12-01T20:34:59.000Z
python/swagger_client/models/vehicle.py
chenxy285/directions-api-clients
2abbeb16a23f4dc5aaaaff45d17750f2b65e6502
[ "Apache-2.0" ]
45
2017-05-24T04:02:09.000Z
2022-01-18T00:21:39.000Z
# coding: utf-8 """ GraphHopper Directions API With the [GraphHopper Directions API](https://www.graphhopper.com/products/) you can integrate A-to-B route planning, turn-by-turn navigation, route optimization, isochrone calculations and other tools in your application. The GraphHopper Directions API consist...
51.886555
8,986
0.661916
3,358
24,698
4.735855
0.168553
0.03471
0.045778
0.044897
0.513991
0.439854
0.382506
0.341759
0.276237
0.234421
0
0.017883
0.236983
24,698
475
8,987
51.995789
0.826002
0.642927
0
0.079602
0
0
0.092555
0
0
0
0
0
0
1
0.169154
false
0
0.024876
0
0.308458
0.00995
0
0
0
null
0
0
0
0
0
0
0
0
0
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
1
3387b51e3563f6d6eb4cedcfdeb3889d5b8b22d7
134,317
py
Python
pysnmp_mibs/Printer-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2017-04-21T13:48:08.000Z
2022-01-06T19:42:52.000Z
pysnmp_mibs/Printer-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
1
2020-05-05T16:42:25.000Z
2020-05-05T16:42:25.000Z
pysnmp_mibs/Printer-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2020-02-08T20:28:49.000Z
2021-09-14T13:36:46.000Z
# # PySNMP MIB module Printer-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/Printer-MIB # Produced by pysmi-0.0.7 at Sun Feb 14 00:12:48 2016 # On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose # Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52) # ( Obje...
234.001742
10,859
0.735603
16,281
134,317
6.068423
0.107303
0.006073
0.006953
0.009231
0.425455
0.383532
0.336883
0.317783
0.281711
0.261103
0
0.04525
0.155952
134,317
573
10,860
234.410122
0.826233
0.002219
0
0.022346
0
0.240223
0.528274
0.046683
0
0
0.00006
0
0
1
0
false
0.001862
0.013035
0
0.173184
0.189944
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3388d44d8af3d576a8808c5daeaa2f3d405dd800
183
py
Python
builder/Builder Pattern/BeforeBuilder3/__main__.py
Tomvictor/python-design-patterns
6b99607d721bbe03d26a0a451a10e88cd1c1d112
[ "MIT" ]
null
null
null
builder/Builder Pattern/BeforeBuilder3/__main__.py
Tomvictor/python-design-patterns
6b99607d721bbe03d26a0a451a10e88cd1c1d112
[ "MIT" ]
null
null
null
builder/Builder Pattern/BeforeBuilder3/__main__.py
Tomvictor/python-design-patterns
6b99607d721bbe03d26a0a451a10e88cd1c1d112
[ "MIT" ]
null
null
null
from computer import Computer from mycomputer import MyComputer builder = MyComputer() builder.build_computer() computer = builder.get_computer() computer.display()
14.076923
34
0.743169
19
183
7.052632
0.421053
0.253731
0
0
0
0
0
0
0
0
0
0
0.185792
183
12
35
15.25
0.899329
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
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
3
3389cc520bcd5c3160afa507c80f7f8499a2e5ea
3,563
py
Python
tutorials/mechanisms/tutorial_michaelismenten.py
AQ18/skimpy
435fc50244f2ca815bbb39d525a82a4692f5c0ac
[ "Apache-2.0" ]
13
2020-11-05T10:59:13.000Z
2022-03-21T01:38:31.000Z
tutorials/mechanisms/tutorial_michaelismenten.py
AQ18/skimpy
435fc50244f2ca815bbb39d525a82a4692f5c0ac
[ "Apache-2.0" ]
4
2022-01-27T10:23:40.000Z
2022-03-10T18:16:06.000Z
tutorials/mechanisms/tutorial_michaelismenten.py
AQ18/skimpy
435fc50244f2ca815bbb39d525a82a4692f5c0ac
[ "Apache-2.0" ]
6
2020-08-04T17:01:33.000Z
2022-03-21T01:38:32.000Z
# -*- coding: utf-8 -*- """ .. module:: skimpy :platform: Unix, Windows :synopsis: Simple Kinetic Models in Python .. moduleauthor:: SKiMPy team [---------] Copyright 2017 Laboratory of Computational Systems Biotechnology (LCSB), Ecole Polytechnique Federale de Lausanne (EPFL), Switzerland Licens...
30.982609
89
0.657311
445
3,563
5.062921
0.361798
0.087883
0.071016
0.115402
0.390146
0.351531
0.324012
0.292943
0.292943
0.238793
0
0.038148
0.242212
3,563
114
90
31.254386
0.796296
0.240247
0
0.209677
0
0
0.059032
0.040142
0
0
0
0
0
1
0
false
0
0.048387
0
0.048387
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
338a7321f8c4550125a8a900551b7bd850eac6f3
981
py
Python
WebScrapping/makePrelimTable.py
marcsze/pythonPrograms
b2fdc42f73a83948debdb4049f3b715854005579
[ "MIT" ]
null
null
null
WebScrapping/makePrelimTable.py
marcsze/pythonPrograms
b2fdc42f73a83948debdb4049f3b715854005579
[ "MIT" ]
null
null
null
WebScrapping/makePrelimTable.py
marcsze/pythonPrograms
b2fdc42f73a83948debdb4049f3b715854005579
[ "MIT" ]
null
null
null
#! Python def getInput(datafile): links = open(datafile, 'r') dataTable = [] for line in links: goodLine = line.strip('\n') dataTable.append(goodLine) links.close() return dataTable def createOutput(dataTable): finalTable = {} namesfile = [] x = 1 for i, data in enumerate(dataTable): temppoint =...
18.166667
59
0.611621
124
981
4.766129
0.403226
0.030457
0.023689
0.043993
0
0
0
0
0
0
0
0.016971
0.219164
981
54
60
18.166667
0.754569
0.008155
0
0
0
0
0.055498
0
0
0
0
0
0
1
0.088235
false
0
0
0
0.117647
0.088235
0
0
0
null
0
0
0
0
0
0
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
338ab460ecb80227bb2b6281bfef9dd2c57a9757
619
py
Python
UVa Online Judge/v104/10433.py
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
1
2021-12-08T08:58:43.000Z
2021-12-08T08:58:43.000Z
UVa Online Judge/v104/10433.py
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
UVa Online Judge/v104/10433.py
mjenrungrot/algorithm
e0e8174eb133ba20931c2c7f5c67732e4cb2b703
[ "MIT" ]
null
null
null
# ============================================================================= # Author: Teerapat Jenrungrot - https://github.com/mjenrungrot/ # FileName: 10433.py # Description: UVa Online Judge - 10433 # ============================================================================= while True:...
28.136364
79
0.421648
61
619
4.131148
0.590164
0.063492
0.063492
0.071429
0
0
0
0
0
0
0
0.029598
0.235864
619
21
80
29.47619
0.503171
0.479806
0
0
0
0
0.18038
0
0
0
0
0
0
1
0
false
0
0
0
0
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
338ae74dca21eed87e61216b0a5b0cf376536b58
1,317
py
Python
api/movies.py
saequus/fastapi-movies
a19f1e08058905ea97f9d3a0141419e7859b44ad
[ "MIT" ]
null
null
null
api/movies.py
saequus/fastapi-movies
a19f1e08058905ea97f9d3a0141419e7859b44ad
[ "MIT" ]
null
null
null
api/movies.py
saequus/fastapi-movies
a19f1e08058905ea97f9d3a0141419e7859b44ad
[ "MIT" ]
null
null
null
from fastapi.exceptions import HTTPException from typing import List from api.models import MovieIn, MovieOut from fastapi import APIRouter from api.db import get_all_movies, get_movie, add_movie, update_movie, delete_movie movies_router = APIRouter() @movies_router.get('/', response_model=List[MovieOut]) async def...
29.266667
83
0.740319
186
1,317
4.967742
0.263441
0.075758
0.077922
0.038961
0.17316
0.17316
0.17316
0.17316
0.075758
0
0
0.008152
0.161731
1,317
44
84
29.931818
0.828804
0
0
0.125
0
0
0.042521
0
0
0
0
0
0
1
0
false
0
0.15625
0
0.3125
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
338b47629bf7031021974abb8c0b90be4d32aca3
10,457
py
Python
recursive_knn/evaluation.py
tseste/Recursive-K-Nearest-Neighbors
5e35c643dc8c530102554492c56bfcf05b242298
[ "Apache-2.0" ]
1
2022-02-06T16:08:44.000Z
2022-02-06T16:08:44.000Z
recursive_knn/evaluation.py
tseste/Recursive-K-Nearest-Neighbors
5e35c643dc8c530102554492c56bfcf05b242298
[ "Apache-2.0" ]
null
null
null
recursive_knn/evaluation.py
tseste/Recursive-K-Nearest-Neighbors
5e35c643dc8c530102554492c56bfcf05b242298
[ "Apache-2.0" ]
null
null
null
"""Evaluators for the recommender model.""" import numpy as np import pandas as pd class Evaluator: """RMSE, RMSUE, MAE, MAUE evaluators wrapper.""" def _preprocessing(self, test_file, predictions_file): test = pd.read_csv(test_file) predictions = pd.read_csv(predictions_file) test = ...
49.093897
79
0.573396
1,254
10,457
4.422648
0.082935
0.086549
0.045438
0.028128
0.719978
0.650198
0.591778
0.538045
0.516408
0.491706
0
0.010042
0.333365
10,457
212
80
49.325472
0.78554
0.088553
0
0.5
0
0
0.035552
0
0
0
0
0
0
1
0.070588
false
0
0.011765
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
338be541f52d9a06d46fa449b50022083cb76cc6
7,465
py
Python
SupportFiles/DataStore.py
Esri/ops-server-config
5768cf45eb9e9aeba0f68c15cdd452287b8af746
[ "Apache-2.0" ]
40
2015-01-13T14:15:00.000Z
2021-11-28T21:22:09.000Z
SupportFiles/DataStore.py
Esri/ops-server-config
5768cf45eb9e9aeba0f68c15cdd452287b8af746
[ "Apache-2.0" ]
919
2015-01-13T13:39:01.000Z
2020-05-26T23:00:08.000Z
SupportFiles/DataStore.py
Esri/ops-server-config
5768cf45eb9e9aeba0f68c15cdd452287b8af746
[ "Apache-2.0" ]
19
2015-01-12T23:49:04.000Z
2017-11-03T20:58:47.000Z
#!/usr/bin/env python #------------------------------------------------------------------------------ # Copyright 2014 Esri # 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.apac...
39.08377
166
0.674481
789
7,465
6.110266
0.239544
0.024891
0.031944
0.050197
0.466293
0.451773
0.414644
0.372952
0.348061
0.299108
0
0.00137
0.217683
7,465
190
167
39.289474
0.824144
0.297924
0
0.326316
0
0
0.097884
0.060708
0
0
0
0
0
1
0.105263
false
0.147368
0.063158
0
0.273684
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
338c0d32d73279205660cc399fdf740c48040908
180
py
Python
farmers/admin.py
qinyanjuidavid/Raki
2bca3e6a6f410619c699be8c45cd2cad8aa08e0c
[ "MIT" ]
null
null
null
farmers/admin.py
qinyanjuidavid/Raki
2bca3e6a6f410619c699be8c45cd2cad8aa08e0c
[ "MIT" ]
null
null
null
farmers/admin.py
qinyanjuidavid/Raki
2bca3e6a6f410619c699be8c45cd2cad8aa08e0c
[ "MIT" ]
null
null
null
from django.contrib import admin from farmers.models import ProductCategory from accounts.models import Product admin.site.register(ProductCategory) admin.site.register(Product)
22.5
42
0.85
23
180
6.652174
0.521739
0.156863
0.222222
0
0
0
0
0
0
0
0
0
0.088889
180
7
43
25.714286
0.932927
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
1
0
0
null
0
1
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
338c93743bd1e61375a780236ff4f85d60b88ab1
518
py
Python
python/comTest.py
BYU-ELC/StalkerCar
a5681ea7e4f87ab24a70ac69d89c4f095fa4ab8c
[ "MIT" ]
null
null
null
python/comTest.py
BYU-ELC/StalkerCar
a5681ea7e4f87ab24a70ac69d89c4f095fa4ab8c
[ "MIT" ]
null
null
null
python/comTest.py
BYU-ELC/StalkerCar
a5681ea7e4f87ab24a70ac69d89c4f095fa4ab8c
[ "MIT" ]
1
2021-05-20T22:46:34.000Z
2021-05-20T22:46:34.000Z
import serial import time import struct def pack(value): return struct.pack('>B', value) def main(): ser = serial.Serial("/dev/ttyUSB0", 9600) time.sleep(3) ser.reset_input_buffer() ser.reset_output_buffer() time.sleep(5) val = 100 while True: val = val + 10 ser.write(...
18.5
45
0.559846
71
518
3.915493
0.450704
0.115108
0.172662
0
0
0
0
0
0
0
0
0.060773
0.301158
518
27
46
19.185185
0.707182
0
0
0
0
0
0.042471
0
0
0
0
0
0
1
0.086957
false
0
0.130435
0.043478
0.26087
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
338c9535d561db6ca060d229712697b437641c99
25
py
Python
tests/__init__.py
Edward-Knight/option6
2948695eb8ff1b22fa2ce9c04f85b736bc98d8c2
[ "MIT" ]
1
2021-02-08T23:20:59.000Z
2021-02-08T23:20:59.000Z
tests/__init__.py
Edward-Knight/option6
2948695eb8ff1b22fa2ce9c04f85b736bc98d8c2
[ "MIT" ]
1
2021-02-09T10:51:23.000Z
2021-02-09T10:51:23.000Z
tests/__init__.py
Edward-Knight/option6
2948695eb8ff1b22fa2ce9c04f85b736bc98d8c2
[ "MIT" ]
null
null
null
"""Tests for option6."""
12.5
24
0.6
3
25
5
1
0
0
0
0
0
0
0
0
0
0
0.045455
0.12
25
1
25
25
0.636364
0.72
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
338cf86ec7a4e1f1f89c0508d51c1f20e29168e9
6,865
py
Python
basalt_utils/src/basalt_utils/sb3_compat/cnns.py
viniciusguigo/kairos_minerl_basalt
8f76e1d293dbcf62653ed3f7f326bd090a0af6f0
[ "MIT" ]
26
2021-12-07T09:52:06.000Z
2022-03-13T20:08:44.000Z
basalt_utils/src/basalt_utils/sb3_compat/cnns.py
viniciusguigo/kairos_minerl_basalt
8f76e1d293dbcf62653ed3f7f326bd090a0af6f0
[ "MIT" ]
null
null
null
basalt_utils/src/basalt_utils/sb3_compat/cnns.py
viniciusguigo/kairos_minerl_basalt
8f76e1d293dbcf62653ed3f7f326bd090a0af6f0
[ "MIT" ]
2
2021-12-11T18:29:26.000Z
2022-01-12T18:46:42.000Z
import torch from torch import nn from torchvision.models.resnet import BasicBlock as BasicResidualBlock from stable_baselines3.common.preprocessing import preprocess_obs NETWORK_ARCHITECTURE_DEFINITIONS = { 'BasicCNN': [ {'out_dim': 32, 'kernel_size': 8, 'stride': 4}, {'out_dim': 64, 'ker...
39.682081
115
0.549745
766
6,865
4.706266
0.237598
0.043273
0.028849
0.038835
0.295146
0.244105
0.201942
0.180583
0.17337
0.17337
0
0.030376
0.33343
6,865
172
116
39.912791
0.75743
0.127895
0
0.244275
0
0
0.14089
0.010579
0
0
0
0
0.015267
1
0.030534
false
0
0.030534
0.007634
0.091603
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
338d83b7371c778eb8246ad2bf2e81f4adcd89e3
540
py
Python
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
2
2022-01-26T07:34:44.000Z
2022-03-29T19:51:45.000Z
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
null
null
null
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. from core.interfaces.task import Task from core.utils.constants import Constants class HelloWorldPolicy(Task): def execute(self, input_entity): if input_entity.project == 'TestProject': return self.result(Constants.FAIL...
25.714286
97
0.709259
65
540
5.815385
0.630769
0.042328
0.111111
0.142857
0.190476
0
0
0
0
0
0
0
0.201852
540
20
98
27
0.87703
0.125926
0
0
0
0
0.181237
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
338f0a2db55b72cc006a86c0ed71c0ac219d23d4
208
py
Python
round-2/02_non-decreasing-digits.py
deshmukhmayur/tcs-codevita6-round1
975bd639b187fa6897d2acf58611a7e793b4072d
[ "MIT" ]
null
null
null
round-2/02_non-decreasing-digits.py
deshmukhmayur/tcs-codevita6-round1
975bd639b187fa6897d2acf58611a7e793b4072d
[ "MIT" ]
null
null
null
round-2/02_non-decreasing-digits.py
deshmukhmayur/tcs-codevita6-round1
975bd639b187fa6897d2acf58611a7e793b4072d
[ "MIT" ]
1
2020-06-11T17:44:22.000Z
2020-06-11T17:44:22.000Z
''' Numbers with non-decreasing digits ''' N = int(input().strip()) i = N while i > 0: digits = list(str(i)) if digits == sorted(digits): print(i) break i -= 1 else: print(i)
13.866667
34
0.528846
30
208
3.666667
0.666667
0.109091
0
0
0
0
0
0
0
0
0
0.013793
0.302885
208
14
35
14.857143
0.744828
0.163462
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
33905ae40451741da5c46e95e498c29dec6bfbfa
499
py
Python
tests/test_util.py
EJEmmett/functimer
1ab5f996947e0cfa0ac3a62490d451fa7277170b
[ "MIT" ]
1
2021-04-22T05:37:38.000Z
2021-04-22T05:37:38.000Z
tests/test_util.py
EJEmmett/functimer
1ab5f996947e0cfa0ac3a62490d451fa7277170b
[ "MIT" ]
1
2021-05-12T05:24:23.000Z
2021-05-12T05:24:23.000Z
tests/test_util.py
EJEmmett/functimer
1ab5f996947e0cfa0ac3a62490d451fa7277170b
[ "MIT" ]
2
2021-04-22T19:06:47.000Z
2021-05-07T01:05:52.000Z
import pytest from functimer import Unit, get_unit @pytest.mark.parametrize( "_input, expected", [ ("0.2 ns", Unit.NANOSECOND), ("0.2 µs", Unit.MICROSECOND), ("0.2 ms", Unit.MILLISECOND), ("0.2 s", Unit.SECOND), ("0.2 m", Unit.MINUTE), ], ) def test_get_unit(_input...
22.681818
87
0.627255
69
499
4.347826
0.434783
0.116667
0.066667
0.093333
0
0
0
0
0
0
0
0.025641
0.218437
499
21
88
23.761905
0.74359
0
0
0
0
0
0.088176
0
0
0
0
0
0.125
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
33913e22e191281d606b63b42006c5680fa71cd5
1,713
py
Python
services/core-api/app/api/now_applications/models/state_of_land.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
services/core-api/app/api/now_applications/models/state_of_land.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
services/core-api/app/api/now_applications/models/state_of_land.py
parc-jason/mds
8f181a429442208a061ed72065b71e6c2bd0f76f
[ "Apache-2.0" ]
null
null
null
from sqlalchemy.dialects.postgresql import UUID from sqlalchemy.schema import FetchedValue from sqlalchemy.ext.associationproxy import association_proxy from app.api.utils.models_mixins import Base from app.extensions import db from app.api.constants import * class StateOfLand(Base): __tablename__ = "state_of_la...
42.825
99
0.781086
229
1,713
5.510917
0.414847
0.107765
0.134707
0.114105
0.358954
0.209192
0.163233
0.087163
0.087163
0
0
0
0.129597
1,713
39
100
43.923077
0.846412
0
0
0
0
0
0.04495
0.019848
0
0
0
0
0
1
0.032258
false
0
0.193548
0.032258
0.935484
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
33914240e2f08e4c90bdfd6dc63f3281d766e6db
2,118
py
Python
tests/scree_clean.py
scicubator/countGauss
7e744c3de1de342d72ef10da76c0c3b4605d70d4
[ "BSD-2-Clause" ]
null
null
null
tests/scree_clean.py
scicubator/countGauss
7e744c3de1de342d72ef10da76c0c3b4605d70d4
[ "BSD-2-Clause" ]
null
null
null
tests/scree_clean.py
scicubator/countGauss
7e744c3de1de342d72ef10da76c0c3b4605d70d4
[ "BSD-2-Clause" ]
null
null
null
from __future__ import division import numpy as np import pylab as plt from collections import Counter from fcube.fcube import countGauss_projection import pickle def gauss_sim(X, k, alg='gauss'): m, n = np.shape(X) idxT = Counter() if alg == 'gauss': G = np.random.randn(n, k) Z = np.dot(X...
26.148148
77
0.567989
336
2,118
3.47619
0.342262
0.027397
0.038527
0.056507
0.293664
0.22774
0.140411
0.140411
0.140411
0.140411
0
0.024042
0.273371
2,118
80
78
26.475
0.734893
0.047214
0
0.131148
0
0
0.062066
0
0
0
0
0
0
0
null
null
0
0.098361
null
null
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
33915e863355adfd8513a6d2e255775deb45bc7f
2,151
py
Python
mysite/urls.py
reven-tang/ITMP
8d6686edb19fcc26c9cf1f7e14037f9d38a6e702
[ "BSD-2-Clause" ]
null
null
null
mysite/urls.py
reven-tang/ITMP
8d6686edb19fcc26c9cf1f7e14037f9d38a6e702
[ "BSD-2-Clause" ]
11
2020-06-05T19:40:52.000Z
2022-03-11T23:38:17.000Z
mysite/urls.py
reven-tang/ITMP
8d6686edb19fcc26c9cf1f7e14037f9d38a6e702
[ "BSD-2-Clause" ]
null
null
null
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
38.410714
92
0.694561
304
2,151
4.865132
0.328947
0.040568
0.0595
0.016227
0.183908
0.079108
0.05071
0
0
0
0
0.004336
0.142259
2,151
55
93
39.109091
0.79729
0.357973
0
0
0
0
0.243066
0.058394
0
0
0
0
0
1
0
false
0
0.290323
0
0.290323
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
33917df8bb8c466c8ba78fdbfec2000af41b6daa
295
py
Python
output/models/ms_data/particles/particles_r020_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_r020_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_r020_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.particles.particles_r020_xsd.particles_r020 import ( B, R, Doc, ) from output.models.ms_data.particles.particles_r020_xsd.particles_r020_imp import ( ImpElem1, ImpElem2, ) __all__ = [ "B", "R", "Doc", "ImpElem1", "ImpElem2", ]
16.388889
83
0.654237
36
295
5
0.444444
0.288889
0.177778
0.2
0.666667
0.666667
0.666667
0.666667
0.666667
0.666667
0
0.069565
0.220339
295
17
84
17.352941
0.713043
0
0
0
0
0
0.071186
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3394941e3268a64cf5954ed9a5f7931c7cb4e39a
502
py
Python
basiclive/core/lims/migrations/0045_auto_20191231_1956.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
null
null
null
basiclive/core/lims/migrations/0045_auto_20191231_1956.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
1
2020-12-03T15:27:09.000Z
2020-12-03T15:27:09.000Z
basiclive/core/lims/migrations/0045_auto_20191231_1956.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
1
2021-09-28T21:06:09.000Z
2021-09-28T21:06:09.000Z
# Generated by Django 3.0.1 on 2020-01-01 01:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('lims', '0044_auto_20191231_1805'), ] operations = [ migrations.AlterField( model_name='guide', name='kind', ...
26.421053
172
0.603586
55
502
5.4
0.763636
0.026936
0
0
0
0
0
0
0
0
0
0.086387
0.239044
502
18
173
27.888889
0.691099
0.089641
0
0
1
0
0.195604
0.050549
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
33956487d1a7473e4e9523d340a69d50a0cca0c9
5,303
py
Python
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
3
2019-07-03T13:10:21.000Z
2020-01-09T10:34:12.000Z
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
null
null
null
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
1
2021-11-08T18:53:12.000Z
2021-11-08T18:53:12.000Z
#-*-coding:utf8;-*- import re from random import choice class sub(object): """ a simple text to number evaluating class """ def text_to_number(self,text): '''convert a number written as text to its real number equivalence''' text = text.lower() text = re.sub(r"ten", "10", text) ...
44.191667
77
0.51518
833
5,303
3.277311
0.193277
0.301832
0.33956
0.377289
0.691575
0.578755
0
0
0
0
0
0.057723
0.284556
5,303
119
78
44.563025
0.661834
0.023383
0
0
0
0
0.22715
0
0
0
0
0
0
1
0.009174
false
0
0.018349
0
0.045872
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3396be485614286e00e27c90f1b8e8de4bc1c013
1,217
py
Python
migrations/0017_auto_20170404_1023.py
gtoffoli/commons-cops
e4b1f556c550e25bb2e6a9eabe8db963877c08d3
[ "MIT" ]
5
2016-11-13T02:41:02.000Z
2020-01-20T10:01:26.000Z
migrations/0017_auto_20170404_1023.py
gtoffoli/commons
8b51a08a37c6d0b38fd4ecde82c20036c2dc168f
[ "MIT" ]
null
null
null
migrations/0017_auto_20170404_1023.py
gtoffoli/commons
8b51a08a37c6d0b38fd4ecde82c20036c2dc168f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('commons', '0016_auto_20170223_1149'), ] operations = [ migrations.AddField( model_name='oer', name='...
40.566667
393
0.646672
140
1,217
5.485714
0.55
0.035156
0.059896
0.070313
0
0
0
0
0
0
0
0.022678
0.239113
1,217
29
394
41.965517
0.806695
0.017256
0
0.304348
0
0
0.365159
0.037688
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
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
33970f006ffccfa842f4d3fd1b3f034367fb3e03
1,827
py
Python
tools/kv_seek_account_history.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
3
2020-09-16T14:47:58.000Z
2021-03-08T13:26:40.000Z
tools/kv_seek_account_history.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
null
null
null
tools/kv_seek_account_history.py
torquem-ch/silksnake
68794838e8c2be036f158b2a842ba9201be610a3
[ "Apache-2.0" ]
1
2021-03-15T11:02:08.000Z
2021-03-15T11:02:08.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """The kv_seek_account_history command allows to query the KV 'History of Accounts' table.""" import argparse import context # pylint: disable=unused-import from silksnake.helpers.dbutils import tables from silksnake.remote import kv_metadata from silksnake.remote import...
44.560976
120
0.732348
248
1,827
5.133065
0.334677
0.109976
0.080126
0.047133
0.35978
0.279654
0.279654
0.216811
0.216811
0.216811
0
0.003802
0.136289
1,827
40
121
45.675
0.802915
0.131363
0
0.16
0
0
0.188175
0
0
0
0
0
0
1
0.04
false
0
0.24
0
0.28
0.32
0
0
0
null
0
0
0
0
0
0
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
3397df0d3ea3148ec7c1c0a5b963316189d8f5a8
790
py
Python
fundamentals/sensors/dht11.py
etech-sw/iot-labs
7d5fe9b096ddeca769cbea35119a744cebefacb4
[ "MIT" ]
null
null
null
fundamentals/sensors/dht11.py
etech-sw/iot-labs
7d5fe9b096ddeca769cbea35119a744cebefacb4
[ "MIT" ]
null
null
null
fundamentals/sensors/dht11.py
etech-sw/iot-labs
7d5fe9b096ddeca769cbea35119a744cebefacb4
[ "MIT" ]
null
null
null
#! /usr/bin/env python # Sample Demo program to interface with the DHT11 # Created by Etech-SW import adafruit_dht import board import time dhtSensor = adafruit_dht.DHT11(board.D4) try: while True: try: humidity = dhtSensor.humidity temp_c = dhtSensor.temperature temp_f = temp_c * (9 / 5) + 32 print(...
21.351351
88
0.643038
107
790
4.682243
0.579439
0.02994
0.035928
0.03992
0
0
0
0
0
0
0
0.027165
0.25443
790
36
89
21.944444
0.82343
0.221519
0
0.230769
0
0
0.090164
0
0
0
0
0
0
1
0
false
0
0.115385
0
0.115385
0.115385
0
0
0
null
0
0
0
0
0
0
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
3398a39589c44cb218330153bc2c034273d76a03
18,460
py
Python
bokeh/view_files_bokeh_jupyter.py
alexnaoki/EC-LHC
5efb4647ae88156c94eaa59ab8304a9433155977
[ "MIT" ]
2
2021-04-04T16:04:18.000Z
2021-04-29T18:21:10.000Z
bokeh/view_files_bokeh_jupyter.py
alexnaoki/EC-LHC
5efb4647ae88156c94eaa59ab8304a9433155977
[ "MIT" ]
null
null
null
bokeh/view_files_bokeh_jupyter.py
alexnaoki/EC-LHC
5efb4647ae88156c94eaa59ab8304a9433155977
[ "MIT" ]
null
null
null
import ipywidgets import numpy as np import pandas as pd import pathlib from scipy.stats import linregress from bokeh.io import push_notebook, show, output_notebook from bokeh.plotting import figure from bokeh.models import ColumnDataSource, RangeTool, Circle, Slope, Label, Legend, LegendItem, LinearColorMapper from bo...
53.819242
395
0.605146
2,428
18,460
4.352965
0.150329
0.030656
0.028385
0.027817
0.494749
0.434194
0.316965
0.267197
0.219699
0.203425
0
0.029236
0.245883
18,460
342
396
53.976608
0.729976
0.156176
0
0.157143
0
0.004762
0.121972
0.014755
0
0
0
0
0
1
0.042857
false
0.009524
0.047619
0
0.114286
0.009524
0
0
0
null
0
0
0
0
0
0
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
339936181114473bdbde659c33ee962d60edd775
1,115
py
Python
plot.py
lcesquivel10/ejercicio-13-14-lcesquivel10-
6756d9f6391c64a2eaf8f97a49088e2b519d783c
[ "MIT" ]
null
null
null
plot.py
lcesquivel10/ejercicio-13-14-lcesquivel10-
6756d9f6391c64a2eaf8f97a49088e2b519d783c
[ "MIT" ]
null
null
null
plot.py
lcesquivel10/ejercicio-13-14-lcesquivel10-
6756d9f6391c64a2eaf8f97a49088e2b519d783c
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt DATA_14 = np.loadtxt("Poincare_1.400000.dat") DATA_144 = np.loadtxt("Poincare_1.440000.dat") DATA_1465 = np.loadtxt("Poincare_1.465000.dat") Omega_14 = DATA_14[:,[0,0]] Theta_14 = DATA_14[:,[1,1]] time_14 = DATA_14[:,[2,2]] Omega_144 = DATA_144[:,[0,0]]...
23.229167
48
0.686099
188
1,115
3.856383
0.175532
0.027586
0.038621
0.104828
0.33931
0.273103
0.198621
0.198621
0.198621
0.198621
0
0.139086
0.116592
1,115
47
49
23.723404
0.596954
0
0
0.27027
0
0
0.166667
0.058989
0
0
0
0
0
1
0
false
0
0.054054
0
0.054054
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
339a53d4f6fa3fd905d716af13d24b3cd89cc1f5
614
py
Python
biblib/views/__init__.py
nemanjamart/biblib-service
7c5c57a678b7dffdafd6550cde13d8b3dd610d46
[ "MIT" ]
4
2017-02-25T19:44:42.000Z
2019-06-24T15:43:12.000Z
biblib/views/__init__.py
nemanjamart/biblib-service
7c5c57a678b7dffdafd6550cde13d8b3dd610d46
[ "MIT" ]
107
2015-05-14T17:34:08.000Z
2022-03-29T14:07:33.000Z
biblib/views/__init__.py
nemanjamart/biblib-service
7c5c57a678b7dffdafd6550cde13d8b3dd610d46
[ "MIT" ]
11
2015-05-13T19:22:38.000Z
2022-02-03T17:29:34.000Z
""" Place holder for the views. The current views file would be too large and can get annoying to scroll when reading the source code. """ # Constant definitions DEFAULT_LIBRARY_NAME_PREFIX = 'Untitled Library' DEFAULT_LIBRARY_DESCRIPTION = 'My ADS library' USER_ID_KEYWORD = 'X-Adsws-Uid' from .base_view import BaseVi...
36.117647
77
0.832248
85
614
5.835294
0.647059
0.16129
0
0
0
0
0
0
0
0
0
0
0.120521
614
17
78
36.117647
0.918519
0.247557
0
0
0
0
0.09011
0
0
0
0
0
0
1
0
false
0
0.727273
0
0.727273
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
339a81a0255bdf3a1fa6edb8c4f81f8eb4bca8c0
101
py
Python
scripts/portal/profession11.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
9
2021-04-26T11:59:29.000Z
2021-12-20T13:15:27.000Z
scripts/portal/profession11.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
null
null
null
scripts/portal/profession11.py
Snewmy/swordie
ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17
[ "MIT" ]
6
2021-07-14T06:32:05.000Z
2022-02-06T02:32:56.000Z
# Herb Town (251000000) => Ardentmill sm.setReturnField() sm.setReturnPortal() sm.warp(910001000, 6)
20.2
37
0.752475
12
101
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.208791
0.09901
101
4
38
25.25
0.626374
0.346535
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
339ac37d7664917be8732e0d113fe2befac05d73
1,153
py
Python
zxc.py
AlexMcArrow/zxc
061a2be2d9d3b4ab3de3cb19d31ade6e9b8e1f85
[ "MIT" ]
null
null
null
zxc.py
AlexMcArrow/zxc
061a2be2d9d3b4ab3de3cb19d31ade6e9b8e1f85
[ "MIT" ]
null
null
null
zxc.py
AlexMcArrow/zxc
061a2be2d9d3b4ab3de3cb19d31ade6e9b8e1f85
[ "MIT" ]
null
null
null
#!/usr/local/bin/python import os import sys import signal global version, command_list version = "0.0.1" command_list = { 'exit': {'run': 'cl_exit', 'info': 'Exit from ZXC-shell'}, 'help': {'run': 'cl_help', 'info': 'Show help page'} } def cl_exit(): print("ZXC shutdown") sys.exit(0) def cl_he...
20.963636
80
0.585429
147
1,153
4.401361
0.401361
0.102009
0.055641
0
0
0
0
0
0
0
0
0.013809
0.246314
1,153
54
81
21.351852
0.730725
0.019081
0
0.131579
0
0
0.179646
0
0
0
0
0
0
1
0.131579
false
0
0.078947
0
0.210526
0.210526
0
0
0
null
0
0
0
0
0
0
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
339ba2d3a11f75dfeb2cbc077b4331d86e729ee7
2,292
py
Python
pubsub/google/cloud/pubsub_v1/subscriber/_helper_threads.py
MatiasApi/CourseBV11
7a291238d5b0879e97acdabe037afaf1b0b7d60b
[ "Apache-2.0" ]
2
2018-02-01T06:30:24.000Z
2018-04-12T15:39:56.000Z
pubsub/google/cloud/pubsub_v1/subscriber/_helper_threads.py
MatiasApi/CourseBV11
7a291238d5b0879e97acdabe037afaf1b0b7d60b
[ "Apache-2.0" ]
7
2020-03-24T15:50:06.000Z
2021-06-08T19:57:39.000Z
pubsub/google/cloud/pubsub_v1/subscriber/_helper_threads.py
MatiasApi/CourseBV11
7a291238d5b0879e97acdabe037afaf1b0b7d60b
[ "Apache-2.0" ]
1
2018-09-19T05:55:27.000Z
2018-09-19T05:55:27.000Z
# Copyright 2017, Google LLC All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
33.217391
76
0.653141
301
2,292
4.877076
0.518272
0.040872
0.017711
0.021798
0
0
0
0
0
0
0
0.005373
0.269197
2,292
68
77
33.705882
0.871045
0.645288
0
0
0
0
0.082432
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.26087
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
339c1f600d7f4334f4115d74c3d7300b5e97c507
2,918
py
Python
Aulas/Módulos_Python/Pillow-Redimensionando_varias_imagens_automaticamente/app.py
edersonhs/Python3_Basico_Ao_Avancado
a15754a6fbca407d5a7a7ed4116c2710b4635594
[ "MIT" ]
null
null
null
Aulas/Módulos_Python/Pillow-Redimensionando_varias_imagens_automaticamente/app.py
edersonhs/Python3_Basico_Ao_Avancado
a15754a6fbca407d5a7a7ed4116c2710b4635594
[ "MIT" ]
null
null
null
Aulas/Módulos_Python/Pillow-Redimensionando_varias_imagens_automaticamente/app.py
edersonhs/Python3_Basico_Ao_Avancado
a15754a6fbca407d5a7a7ed4116c2710b4635594
[ "MIT" ]
null
null
null
""" Pillow - Módulo python com diversas funções para manipular imagens """ import os from PIL import Image # Importando o Pillow def main(main_images_folder, new_width=800): if not os.path.isdir(main_images_folder): # Levantando exceção caso o dir não exista raise NotADirectoryError(f'{main_images_fol...
42.911765
120
0.594928
359
2,918
4.657382
0.415042
0.038278
0.057416
0.035885
0.166268
0.166268
0.166268
0.135167
0.135167
0.135167
0
0.013946
0.336532
2,918
67
121
43.552239
0.84969
0.309801
0
0.227273
0
0
0.091738
0.021459
0
0
0
0
0
1
0.022727
false
0
0.045455
0
0.068182
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
339d7b0cb0ef6b311050d45855e1289f86442cca
47
py
Python
hello.py
ydeath/Hello
147d2f36599cfa45dddf621d5b0a6c43a156d72b
[ "MIT" ]
null
null
null
hello.py
ydeath/Hello
147d2f36599cfa45dddf621d5b0a6c43a156d72b
[ "MIT" ]
null
null
null
hello.py
ydeath/Hello
147d2f36599cfa45dddf621d5b0a6c43a156d72b
[ "MIT" ]
null
null
null
print("你好") def add(): return 1+1 add()
5.875
14
0.510638
8
47
3
0.75
0
0
0
0
0
0
0
0
0
0
0.058824
0.276596
47
7
15
6.714286
0.647059
0
0
0
0
0
0.044444
0
0
0
0
0
0
1
0.25
true
0
0
0.25
0.5
0.25
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
0
0
1
0
0
0
6
339de6a85f644b9eef18049dc419cf13ca337bcc
2,244
py
Python
morpheus_core/tests/helpers.py
morpheus-project/morpheus-framework
7aa93f0c14bf33718026eb0a6ea0cfd5dcb8905e
[ "MIT" ]
null
null
null
morpheus_core/tests/helpers.py
morpheus-project/morpheus-framework
7aa93f0c14bf33718026eb0a6ea0cfd5dcb8905e
[ "MIT" ]
2
2020-12-12T07:49:18.000Z
2021-02-19T06:08:46.000Z
morpheus_core/tests/helpers.py
morpheus-project/morpheus-framework
7aa93f0c14bf33718026eb0a6ea0cfd5dcb8905e
[ "MIT" ]
null
null
null
# MIT License # Copyright 2020 Ryan Hausen # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publis...
30.324324
83
0.675579
324
2,244
4.595679
0.435185
0.040296
0.047011
0.052384
0.208193
0.208193
0.184016
0.08865
0.08865
0.08865
0
0.018388
0.176025
2,244
73
84
30.739726
0.786912
0.516488
0
0.071429
0
0
0.073242
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0
0.464286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
339f1367bb18969ae77f9bd1b8128ef049276813
11,456
py
Python
healthSuggestionsServer/healthSuggestions/migrations/0001_initial.py
tiagoaf5/HealthSuggestions
37fb892e2d568e36b62f41b1898329852e3e3d81
[ "Apache-2.0" ]
null
null
null
healthSuggestionsServer/healthSuggestions/migrations/0001_initial.py
tiagoaf5/HealthSuggestions
37fb892e2d568e36b62f41b1898329852e3e3d81
[ "Apache-2.0" ]
null
null
null
healthSuggestionsServer/healthSuggestions/migrations/0001_initial.py
tiagoaf5/HealthSuggestions
37fb892e2d568e36b62f41b1898329852e3e3d81
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ] operations = [ migrations.CreateModel( name='CHVConcept', fields=[ ...
44.23166
123
0.5625
948
11,456
6.685654
0.146624
0.03834
0.082834
0.05112
0.665194
0.55538
0.41622
0.321079
0.274692
0.274692
0
0.005113
0.300017
11,456
258
124
44.403101
0.78526
0.001833
0
0.579365
0
0
0.156127
0.062888
0
0
0
0
0
1
0
false
0
0.011905
0
0.02381
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
339fba9fb9d40d9ccf925b4d2e2cfb5e809276fb
2,115
py
Python
ni_python_styleguide/_utils/string_helpers.py
ni/ni-python-styleguide
abad986d4fe4c0fbcdce957c5cbc50abcc88937d
[ "MIT" ]
4
2020-07-13T16:10:37.000Z
2020-07-24T01:59:30.000Z
ni_python_styleguide/_utils/string_helpers.py
ni/ni-python-styleguide
abad986d4fe4c0fbcdce957c5cbc50abcc88937d
[ "MIT" ]
6
2020-07-07T21:04:21.000Z
2020-07-27T20:51:13.000Z
ni_python_styleguide/_utils/string_helpers.py
ni/ni-python-styleguide
abad986d4fe4c0fbcdce957c5cbc50abcc88937d
[ "MIT" ]
2
2020-07-07T20:56:43.000Z
2020-07-27T12:24:00.000Z
import pathlib from typing import List, Optional import ni_python_styleguide._utils class InMultiLineStringChecker: """Provide utility methods to decide if line is within a multiline string.""" def __init__(self, error_file: Optional[str] = None, *_, lines: Optional[List[str]] = None): """Cache off ...
36.465517
99
0.615603
264
2,115
4.681818
0.352273
0.084951
0.042071
0.033981
0.121359
0.059871
0.059871
0
0
0
0
0.010027
0.292671
2,115
57
100
37.105263
0.816176
0.193381
0
0
0
0
0.045157
0
0
0
0
0
0
1
0.15
false
0
0.075
0.025
0.325
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
339fd5019bcf3e66f6989dfa1432c8cae6fca4a6
335
py
Python
Chapter 01/Chap01_Example1.128.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.128.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.128.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
x = [1,2,3,4] b1 = bytes(x) print(b1) # --- BY1 print(type(b1)) # --- BY2 print(b1[1]) # --- BY3 print(b1[-3]) # --- BY4 for i in b1: print(i) # --- BY5 size1 = 3 arr1 = bytes(size1) print(arr1)# --- BY6 st1 = "Python is interesting." # string with encoding 'utf-8' arr2 = bytes(st1, 'utf-8') print...
19.705882
31
0.537313
55
335
3.272727
0.563636
0.116667
0
0
0
0
0
0
0
0
0
0.116279
0.229851
335
17
32
19.705882
0.581395
0.250746
0
0
0
0
0.118943
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
33a03729db5cacd804492efa6480f629af44b442
2,454
py
Python
tests/unit/test_format_control.py
rogerhil/pip
7616583dbb2dcbda5a19d78873642d6751fbf017
[ "MIT" ]
7,089
2015-01-01T10:48:04.000Z
2022-03-31T08:47:02.000Z
tests/unit/test_format_control.py
rogerhil/pip
7616583dbb2dcbda5a19d78873642d6751fbf017
[ "MIT" ]
8,417
2015-01-01T13:03:16.000Z
2022-03-31T17:40:27.000Z
tests/unit/test_format_control.py
rogerhil/pip
7616583dbb2dcbda5a19d78873642d6751fbf017
[ "MIT" ]
2,663
2015-01-02T04:02:12.000Z
2022-03-30T02:30:46.000Z
from optparse import Values from typing import FrozenSet, List, Set import pytest from pip._internal.cli import cmdoptions from pip._internal.cli.base_command import Command from pip._internal.cli.status_codes import SUCCESS from pip._internal.models.format_control import FormatControl class SimpleCommand(Command):...
33.162162
87
0.662184
299
2,454
5.22408
0.234114
0.133163
0.06402
0.073624
0.459667
0.419974
0.381562
0.329065
0.234315
0.176056
0
0.002915
0.161369
2,454
73
88
33.616438
0.756074
0
0
0.181818
0
0
0.138957
0.015892
0
0
0
0
0.109091
1
0.163636
false
0
0.127273
0
0.327273
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
33a046627ebe9b3fc3a1aedef6dc7d98597fd36f
1,742
py
Python
test/test_files/function_test.py
Accruent/robotframework-historic-parser
07b0c551167a9e4cd8a0450e42d59865075f288e
[ "MIT" ]
null
null
null
test/test_files/function_test.py
Accruent/robotframework-historic-parser
07b0c551167a9e4cd8a0450e42d59865075f288e
[ "MIT" ]
31
2021-04-12T11:23:52.000Z
2022-03-31T13:51:36.000Z
test/test_files/function_test.py
Accruent/robotframework-historic-parser
07b0c551167a9e4cd8a0450e42d59865075f288e
[ "MIT" ]
null
null
null
"""Unit tests for functions used in Robot Framework Historic Parser""" import os import sys import unittest from unittest.mock import patch from robotframework_historic_parser.parserargs import parse_options from robotframework_historic_parser.rfhistoricparser import get_time_in_min, rfhistoric_parser ROOT_PATH = os....
39.590909
96
0.703215
232
1,742
5
0.383621
0.041379
0.05431
0.072414
0.236207
0.193103
0.160345
0.160345
0.160345
0.074138
0
0.008627
0.201493
1,742
43
97
40.511628
0.825306
0.355339
0
0
0
0
0.078486
0
0
0
0
0
0.181818
1
0.136364
false
0
0.272727
0
0.454545
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
33a083ea109985fd4ee17df5e384f1dd2fed888a
7,984
py
Python
8-puzzle_Solver.py
koyalbhartia/8-Puzzle-Solver
40a95a879278a8e5a673dbe36fe27121b639079c
[ "MIT" ]
null
null
null
8-puzzle_Solver.py
koyalbhartia/8-Puzzle-Solver
40a95a879278a8e5a673dbe36fe27121b639079c
[ "MIT" ]
null
null
null
8-puzzle_Solver.py
koyalbhartia/8-Puzzle-Solver
40a95a879278a8e5a673dbe36fe27121b639079c
[ "MIT" ]
null
null
null
# # Copyright 2019 Koyal Bhartia # @file 8-puzzle solver.py # @author Koyal Bhartia # @date 26/02/2019 # @version 1.0 # # @brief This is the code to solve the 8-puzzle # # @Description This code has functions which returns all the possible paths that can be # traversed given any goal matrix. Given any inpu...
32.587755
135
0.602204
1,133
7,984
4.198588
0.191527
0.027749
0.015136
0.015136
0.283792
0.183939
0.169224
0.131596
0.131596
0.113517
0
0.027366
0.281438
7,984
244
136
32.721311
0.801813
0.319639
0
0.147887
0
0
0.064187
0
0
0
0
0
0
1
0.06338
false
0
0.035211
0.007042
0.161972
0.084507
0
0
0
null
0
0
0
0
0
0
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
33a08dcd91bbe763d87b01062553bff707b8c79e
498
py
Python
dev/python/2019-07-15 memtest.py
konung-yaropolk/pyABF
b5620e73ac5d060129b844da44f8b2611536ac56
[ "MIT" ]
74
2017-11-06T17:53:48.000Z
2022-03-27T12:14:46.000Z
dev/python/2019-07-15 memtest.py
konung-yaropolk/pyABF
b5620e73ac5d060129b844da44f8b2611536ac56
[ "MIT" ]
116
2018-01-16T21:36:29.000Z
2022-03-31T11:46:04.000Z
dev/python/2019-07-15 memtest.py
konung-yaropolk/pyABF
b5620e73ac5d060129b844da44f8b2611536ac56
[ "MIT" ]
30
2018-06-28T13:19:53.000Z
2022-03-25T02:52:48.000Z
""" Refactor the membrane test module to provide a clean interface. You can always refactor the core later. """ import os import sys PATH_HERE = os.path.abspath(os.path.dirname(__file__)) PATH_DATA = os.path.abspath(PATH_HERE+"../../../data/abfs/") PATH_SRC = os.path.abspath(PATH_HERE+"../../../src/") sys.path.insert(...
24.9
63
0.73494
82
498
4.292683
0.5
0.068182
0.110795
0.096591
0.119318
0
0
0
0
0
0
0.028953
0.098394
498
20
64
24.9
0.755011
0.206827
0
0
0
0
0.134021
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
33a17f05aeaa5e9c684038bbf304e11283df433a
22,112
py
Python
interface_legacy.py
andersonic/cs232
8fdcbb7904db73c5f66a2bf28ad7621742f17d5b
[ "MIT" ]
null
null
null
interface_legacy.py
andersonic/cs232
8fdcbb7904db73c5f66a2bf28ad7621742f17d5b
[ "MIT" ]
null
null
null
interface_legacy.py
andersonic/cs232
8fdcbb7904db73c5f66a2bf28ad7621742f17d5b
[ "MIT" ]
null
null
null
from selenium import webdriver, common from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.action_chains import ActionChains import math import time import os import demjson driver = None all_pokemon_data = demjson.decode(open('pokemon_data.txt', 'r').read()) own_team = [] opponent_team = [N...
33.91411
113
0.58769
2,861
22,112
4.346033
0.130024
0.021715
0.021956
0.025977
0.385958
0.282451
0.207496
0.182001
0.148142
0.128519
0
0.01885
0.287446
22,112
652
114
33.91411
0.77031
0.041018
0
0.3159
0
0
0.069958
0
0
0
0
0
0.012552
1
0.075314
false
0.018828
0.014644
0.008368
0.156904
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
33a1ecfefab953e0ef22c8338a8a4681b64e6d18
5,583
py
Python
qemu/scripts/simplebench/bench-backup.py
hyunjoy/scripts
01114d3627730d695b5ebe61093c719744432ffa
[ "Apache-2.0" ]
44
2022-03-16T08:32:31.000Z
2022-03-31T16:02:35.000Z
qemu/scripts/simplebench/bench-backup.py
hyunjoy/scripts
01114d3627730d695b5ebe61093c719744432ffa
[ "Apache-2.0" ]
1
2022-03-29T02:30:28.000Z
2022-03-30T03:40:46.000Z
qemu/scripts/simplebench/bench-backup.py
hyunjoy/scripts
01114d3627730d695b5ebe61093c719744432ffa
[ "Apache-2.0" ]
18
2022-03-19T04:41:04.000Z
2022-03-31T03:32:12.000Z
#!/usr/bin/env python3 # # Bench backup block-job # # Copyright (c) 2020 Virtuozzo International GmbH. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at...
33.232143
78
0.573706
721
5,583
4.334258
0.303745
0.0432
0.0192
0.01824
0.1296
0.03264
0.01472
0
0
0
0
0.007914
0.298406
5,583
167
79
33.431138
0.78989
0.158696
0
0.157025
0
0.008264
0.250428
0.032562
0
0
0
0
0.016529
1
0.024793
false
0
0.041322
0
0.082645
0.008264
0
0
0
null
0
0
0
0
0
0
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
33a21d7938cdc340b65ce10dbd789a12aaddb5a0
328
py
Python
code/misc/join_judgements.py
flnasc/dr_concept_searching
176552d178016773bed671a865a8c4316413d629
[ "Apache-2.0" ]
4
2019-03-01T17:02:31.000Z
2021-09-01T08:49:00.000Z
code/misc/join_judgements.py
flnasc/dr_concept_searching
176552d178016773bed671a865a8c4316413d629
[ "Apache-2.0" ]
null
null
null
code/misc/join_judgements.py
flnasc/dr_concept_searching
176552d178016773bed671a865a8c4316413d629
[ "Apache-2.0" ]
null
null
null
import pandas as pd if __name__ == '__main__': experts = pd.read_csv('../result_analysis/SM-judgements.csv', index_col=0) res = pd.read_csv('results_wmd_top_20.csv', index_col=0) print(experts) print(res) joined = res.join(experts, how='left', sort=False) joined.to_csv('wmd_top_20_w_raw_judgemen...
41
78
0.710366
53
328
3.981132
0.603774
0.056872
0.085308
0.113744
0
0
0
0
0
0
0
0.021352
0.143293
328
8
79
41
0.729537
0
0
0
0
0
0.306991
0.270517
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
33a373190b827a351885ecf3e533cf0e0735ebe0
5,221
py
Python
typer/core/models.py
BartoszMakowski/typer
26e0d0cdae183e66bb6a0e32ba39ecdb8215883d
[ "Apache-2.0" ]
3
2019-03-15T23:43:26.000Z
2021-07-05T10:21:48.000Z
typer/core/models.py
BartoszMakowski/typer
26e0d0cdae183e66bb6a0e32ba39ecdb8215883d
[ "Apache-2.0" ]
null
null
null
typer/core/models.py
BartoszMakowski/typer
26e0d0cdae183e66bb6a0e32ba39ecdb8215883d
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.core.validators import MinValueValidator from django.contrib.auth.models import User from django.utils import timezone from datetime import datetime BET_SIDE = ( (0, 'X'), (1, '1'), (2, '2') ) class Wallet(models.Model): owner = models.ForeignKey(User, null=Fa...
47.036036
106
0.574794
510
5,221
5.747059
0.252941
0.120096
0.141931
0.136131
0.544865
0.531559
0.445582
0.374275
0.290345
0.20232
0
0.010032
0.331737
5,221
111
107
47.036036
0.830037
0
0
0.1875
0
0
0.137687
0
0
0
0
0
0
1
0.052083
false
0
0.052083
0.052083
0.541667
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
33a49dcb8909ea1581dc4d90f918e7844abada00
223
py
Python
WD/Cwiczenia/Kwadraty_w_petli.py
galursa/UWM
b7ab4a275662764a91af6c5bc79da0d98177d0ac
[ "MIT" ]
1
2020-02-29T14:38:33.000Z
2020-02-29T14:38:33.000Z
WD/Cwiczenia/Kwadraty_w_petli.py
galursa/UWM
b7ab4a275662764a91af6c5bc79da0d98177d0ac
[ "MIT" ]
null
null
null
WD/Cwiczenia/Kwadraty_w_petli.py
galursa/UWM
b7ab4a275662764a91af6c5bc79da0d98177d0ac
[ "MIT" ]
null
null
null
#2 ćwiczenia #zadanie 7 ile=input("Podaj ile chcesz wczytać liczb: ") ile=int(ile) for i in range(ile): liczba=input("Podaj liczbę numer "+str(i)+": ") liczba=int(liczba) print(str(liczba**2))
18.583333
52
0.609865
33
223
4.121212
0.606061
0.147059
0
0
0
0
0
0
0
0
0
0.017544
0.233184
223
11
53
20.272727
0.777778
0.089686
0
0
0
0
0.278947
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
33a4a6bd6696b6d3f7f614b451cc33496d9165fa
952
py
Python
tests/unit/gui/test_gui.py
matthewgdv/iohandler
1df420dd3ae2e022d0aa4db864fd4af0dbd665cc
[ "MIT" ]
1
2019-08-28T17:03:27.000Z
2019-08-28T17:03:27.000Z
tests/unit/gui/test_gui.py
matthewgdv/iohandler
1df420dd3ae2e022d0aa4db864fd4af0dbd665cc
[ "MIT" ]
null
null
null
tests/unit/gui/test_gui.py
matthewgdv/iohandler
1df420dd3ae2e022d0aa4db864fd4af0dbd665cc
[ "MIT" ]
null
null
null
class TestGui: def test_start(self): # synced assert True def test_end(self): # synced assert True def test_closeEvent(self): # synced assert True class TestThreePartGui: def test_start(self): # synced assert True class TestHtmlGui: pass class TestSystemTr...
17.962264
50
0.629202
109
952
5.238532
0.247706
0.15937
0.364273
0.455342
0.651489
0.555166
0.318739
0.262697
0.262697
0.182137
0
0
0.309874
952
52
51
18.307692
0.869102
0.094538
0
0.558824
0
0
0
0
0
0
0
0
0.382353
1
0.382353
false
0.058824
0
0
0.558824
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
4
33a50dbaa0813b3110776fb56ba164bbe1899b09
42,617
py
Python
paida-3.2.1_2.10.1/paida/paida_gui/swing/PRoot.py
AshleyChraya/HubbleConstant-ConstraintsForVCG
634c15d296147ec1cdc3c92af1fbbfeb17844586
[ "MIT" ]
null
null
null
paida-3.2.1_2.10.1/paida/paida_gui/swing/PRoot.py
AshleyChraya/HubbleConstant-ConstraintsForVCG
634c15d296147ec1cdc3c92af1fbbfeb17844586
[ "MIT" ]
null
null
null
paida-3.2.1_2.10.1/paida/paida_gui/swing/PRoot.py
AshleyChraya/HubbleConstant-ConstraintsForVCG
634c15d296147ec1cdc3c92af1fbbfeb17844586
[ "MIT" ]
null
null
null
from paida.paida_core.PAbsorber import * from paida.paida_core.IFillStyle import * from paida.paida_core.ILineStyle import * from paida.paida_core.IMarkerStyle import * from paida.paida_core.ITextStyle import * from javax.swing import JFrame, JPanel, JScrollPane, JTree, JLayeredPane, SwingUtilities, JMenuBar from java...
33.19081
135
0.728653
4,687
42,617
6.468103
0.128227
0.003628
0.014316
0.026389
0.472886
0.422714
0.380063
0.360338
0.319171
0.290408
0
0.015358
0.153554
42,617
1,283
136
33.21668
0.825049
0.001924
0
0.407303
0
0
0.01225
0
0
0
0
0
0
0
null
null
0.008427
0.015918
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
33a75081559c2db05093b5e5fa2039ed3fd9fb10
2,550
py
Python
extra_metrics/config.py
fw-dev/useful_dashboard_info
514607b8f35c6b9ed0cfbc386ae74a94fb25fbc6
[ "MIT" ]
null
null
null
extra_metrics/config.py
fw-dev/useful_dashboard_info
514607b8f35c6b9ed0cfbc386ae74a94fb25fbc6
[ "MIT" ]
1
2020-11-27T15:13:34.000Z
2020-11-27T15:13:34.000Z
extra_metrics/config.py
johncclayton/useful_dashboard_info
514607b8f35c6b9ed0cfbc386ae74a94fb25fbc6
[ "MIT" ]
null
null
null
import configparser import os from extra_metrics.logs import logger def read_config_helper(cfg): logger.info(f"loading the configuration from file {ExtraMetricsConfiguration.DEFAULT_CFG_FILE_LOCATION}") with open(ExtraMetricsConfiguration.DEFAULT_CFG_FILE_LOCATION, 'r') as f: cfg.read_configuration(f)...
36.956522
109
0.743922
336
2,550
5.252976
0.22619
0.036261
0.043626
0.031728
0.432861
0.28102
0.233428
0.130312
0.130312
0
0
0.000947
0.171765
2,550
68
110
37.5
0.834754
0
0
0.04
0
0
0.120392
0.06902
0
0
0
0
0
1
0.3
false
0
0.06
0.1
0.66
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
33a85b389cf87637147eaf9b17700c63e40bbe3a
271
py
Python
IEV.py
cptchloroplast/rosalind
7ed0f7005c124a498c877ce5e1141e9fbb04bf7b
[ "MIT" ]
null
null
null
IEV.py
cptchloroplast/rosalind
7ed0f7005c124a498c877ce5e1141e9fbb04bf7b
[ "MIT" ]
null
null
null
IEV.py
cptchloroplast/rosalind
7ed0f7005c124a498c877ce5e1141e9fbb04bf7b
[ "MIT" ]
null
null
null
# http://rosalind.info/problems/iev/ from sys import argv f = open(argv[1], 'r') a = f.readline().strip().split(' ') f.close() a = map(int, a) r = 2*(a[0]*1 + a[1]*1 + a[2]*1 + a[3]*.75 + a[4]*.5 + a[5]*0) w = open('results_' + argv[1], 'w') w.write(str(r)) w.close()
19.357143
62
0.535055
57
271
2.526316
0.526316
0.041667
0
0
0
0
0
0
0
0
0
0.070175
0.158672
271
13
63
20.846154
0.561404
0.125461
0
0
0
0
0.047009
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
33a86174001ff2478e49f557e437ae892e69708a
674
py
Python
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
1
2021-04-23T21:48:20.000Z
2021-04-23T21:48:20.000Z
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
null
null
null
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
1
2020-01-27T05:21:39.000Z
2020-01-27T05:21:39.000Z
interface_code = """ # Events Transfer: event({_from: indexed(address), _to: indexed(address), _value: uint256}) Approval: event({_owner: indexed(address), _spender: indexed(address), _value: uint256}) # Functions @constant @public def totalSupply() -> uint256: pass @constant @public def balanceOf(_owner: address...
19.823529
88
0.707715
77
674
5.974026
0.324675
0.117391
0.206522
0.15
0.345652
0.165217
0.165217
0.165217
0
0
0
0.042254
0.15727
674
33
89
20.424242
0.767606
0
0
0.555556
0
0
0.964392
0
0
0
0
0
0
1
0
false
0.222222
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
33a915e7cad061d0d037885bed31be7570f8f117
8,371
py
Python
utils/pitch_tools.py
ishine/DiffSinger
d5dbe05ee1c7da0878393c73129089a67d0fe935
[ "MIT" ]
null
null
null
utils/pitch_tools.py
ishine/DiffSinger
d5dbe05ee1c7da0878393c73129089a67d0fe935
[ "MIT" ]
null
null
null
utils/pitch_tools.py
ishine/DiffSinger
d5dbe05ee1c7da0878393c73129089a67d0fe935
[ "MIT" ]
null
null
null
######### # world ######### import librosa import parselmouth import numpy as np import torch import torch.nn.functional as F from pycwt import wavelet from scipy.interpolate import interp1d gamma = 0 mcepInput = 3 # 0 for dB, 3 for magnitude alpha = 0.45 en_floor = 10 ** (-80 / 20) FFT_SIZE = 2048 f0_bin = 256 f0_...
29.684397
120
0.616533
1,351
8,371
3.595855
0.183568
0.057637
0.025937
0.014821
0.221284
0.175175
0.132771
0.127213
0.11198
0.096748
0
0.074232
0.242026
8,371
281
121
29.790036
0.691411
0.140485
0
0.155914
0
0
0.032331
0
0
0
0
0
0.021505
1
0.091398
false
0
0.048387
0
0.236559
0.005376
0
0
0
null
0
0
0
0
0
0
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
33aae5bb3474518a6cd449ce9569ad5e5b7042ed
5,101
py
Python
PicoMorseKeyboard.py
batica81/PicoMorseKeyboard
ef6d3ebcd88cff99f5621a99936af4eaa52344ce
[ "Unlicense" ]
null
null
null
PicoMorseKeyboard.py
batica81/PicoMorseKeyboard
ef6d3ebcd88cff99f5621a99936af4eaa52344ce
[ "Unlicense" ]
null
null
null
PicoMorseKeyboard.py
batica81/PicoMorseKeyboard
ef6d3ebcd88cff99f5621a99936af4eaa52344ce
[ "Unlicense" ]
null
null
null
# This code is taken from many places and many authors and compiled by YU4HAK :) # Raspberry Pi Pico is needed to use this app! Maybe I will do an Arduino version in the future. # Basic purpose of the app is to take input from serial port and turn it into Morse code. # Then it plays it via sound, light or by actin...
31.103659
127
0.525191
581
5,101
4.583477
0.452668
0.020278
0.019527
0.01427
0.090124
0.090124
0.090124
0.090124
0.090124
0.090124
0
0.025669
0.282102
5,101
163
128
31.294479
0.701529
0.291511
0
0.154545
0
0
0.137891
0
0
0
0
0
0
1
0.081818
false
0
0.018182
0
0.109091
0.063636
0
0
0
null
0
0
0
0
0
0
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
33acc4d1af1b7c1d0e85a3e15fd3afe129aa64f2
864
py
Python
codev/core/utils.py
baseclue/codev
7965ffc036ea217e05ca1f566e7b1917c0a67887
[ "Apache-2.0" ]
4
2016-03-21T12:20:52.000Z
2017-02-02T09:08:19.000Z
codev/core/utils.py
baseclue/codev
7965ffc036ea217e05ca1f566e7b1917c0a67887
[ "Apache-2.0" ]
null
null
null
codev/core/utils.py
baseclue/codev
7965ffc036ea217e05ca1f566e7b1917c0a67887
[ "Apache-2.0" ]
null
null
null
def parse_options(inp): parsed = inp.split(':', 1) name = parsed[0] options = parsed[1] if len(parsed) == 2 else '' return name, options class Ident(object): def __init__(self, *args): self._ident = args def as_tuple(self): return tuple(filter(None, self._ident)) def as_s...
23.351351
80
0.596065
111
864
4.315315
0.333333
0.104384
0.06263
0.070981
0.23382
0.146138
0.146138
0.146138
0
0
0
0.006061
0.236111
864
36
81
24
0.719697
0
0
0
0
0
0.010417
0
0
0
0
0
0
1
0.36
false
0
0
0.24
0.76
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
33ada33136433bca8fd26edece8e3606edc757f1
356
py
Python
thread_utils/workers.py
HaowenWeiJohn/RealityNavigationSPS
3b2dee74aab43ba317f835bc1f7deae71c1a8128
[ "MIT" ]
1
2021-05-02T09:21:46.000Z
2021-05-02T09:21:46.000Z
thread_utils/workers.py
HaowenWeiJohn/RealityNavigationSPS
3b2dee74aab43ba317f835bc1f7deae71c1a8128
[ "MIT" ]
null
null
null
thread_utils/workers.py
HaowenWeiJohn/RealityNavigationSPS
3b2dee74aab43ba317f835bc1f7deae71c1a8128
[ "MIT" ]
null
null
null
import time import cv2 import pyqtgraph as pg from PyQt5.QtCore import QObject from PyQt5.QtCore import pyqtSignal from pylsl import local_clock from config import config_ui from utils.sim import sim_openBCI_eeg, sim_unityLSL, sim_inference import pyautogui import numpy as np from utils.ui_utils import dialog_pop...
19.777778
66
0.837079
55
356
5.272727
0.527273
0.062069
0.103448
0.144828
0
0
0
0
0
0
0
0.00974
0.134831
356
18
67
19.777778
0.931818
0.087079
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
33adf871176f308c3d1cec5a1bbe0e2478662b96
1,527
py
Python
lib/surface/filestore/__init__.py
bshaffer/google-cloud-sdk
f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9
[ "Apache-2.0" ]
null
null
null
lib/surface/filestore/__init__.py
bshaffer/google-cloud-sdk
f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9
[ "Apache-2.0" ]
null
null
null
lib/surface/filestore/__init__.py
bshaffer/google-cloud-sdk
f587382fd112f238c0d6d5ca3dab8f52d2b5c5f9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
35.511628
79
0.732809
207
1,527
5.323672
0.565217
0.054446
0.043557
0.029038
0.076225
0.076225
0.076225
0.076225
0.076225
0
0
0.007335
0.196464
1,527
42
80
36.357143
0.890791
0.449247
0
0
0
0
0.038596
0
0
0
0
0
0
1
0
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
33aee8ec5f804002be0706994434360ebd7b80a1
1,589
py
Python
verilog/dv/vdp_lite/video_frame/process_rgbs.py
dan-rodrigues/caravel_vdp_lite
2123ae5c92927a8492d77eee7ec7b998da39bacb
[ "Apache-2.0" ]
12
2020-12-20T01:53:05.000Z
2021-06-20T21:05:38.000Z
verilog/dv/vdp_lite/video_frame/process_rgbs.py
dan-rodrigues/caravel
2123ae5c92927a8492d77eee7ec7b998da39bacb
[ "Apache-2.0" ]
null
null
null
verilog/dv/vdp_lite/video_frame/process_rgbs.py
dan-rodrigues/caravel
2123ae5c92927a8492d77eee7ec7b998da39bacb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # process_rgbs.py # # Copyright (C) 2020 Dan Rodrigues <danrr.gh.oss@gmail.com> # # SPDX-License-Identifier: Apache-2.0 import png import struct import sys # Read sim generated log of RGBS output: log_file = open("rgbs.log", "rb") raw_log = log_file.read() log_file.close() image_width = 640 ...
21.767123
102
0.605412
242
1,589
3.847107
0.475207
0.053706
0.006445
0
0
0
0
0
0
0
0
0.047538
0.258653
1,589
72
103
22.069444
0.742784
0.14034
0
0.047619
1
0
0.147384
0
0
0
0.008843
0
0
1
0
false
0
0.071429
0
0.071429
0.047619
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