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
c6934a03c692a0936dbdefc83d05a9252b05f1c4
6,795
py
Python
files/area.py
joaovpassos/USP-Programs
09ddb8aed238df1f1a2e80afdc202ac4538daf41
[ "MIT" ]
2
2021-05-26T19:14:16.000Z
2021-05-27T21:14:24.000Z
files/area.py
joaovpassos/USP-Programs
09ddb8aed238df1f1a2e80afdc202ac4538daf41
[ "MIT" ]
null
null
null
files/area.py
joaovpassos/USP-Programs
09ddb8aed238df1f1a2e80afdc202ac4538daf41
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #------------------------------------------------------------------ # Constantes que você pode utilizar nesse exercício # Em notação científica 1.0e-6 é o o mesmo qoe 0.000001 (10 elevado a -6) EPSILON = 1.0e-6 #------------------------------------------------------------------ # O import abai...
31.901408
98
0.512288
990
6,795
3.449495
0.206061
0.015227
0.025769
0.019034
0.296047
0.283455
0.246266
0.185066
0.120059
0.106589
0
0.053119
0.26858
6,795
212
99
32.051887
0.634004
0.60574
0
0.202703
0
0.013514
0.252511
0.011416
0
0
0
0.009434
0
1
0.094595
false
0
0.013514
0
0.22973
0.216216
0
0
0
null
0
0
0
0
0
0
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
c693df3548964a87b3411b88e56a453a7a597f59
4,421
py
Python
gribmagic/unity/download/engine.py
earthobservations/gribmagic
59c647d3ca3ecaf2d720837ba0cec9cc2aa2546e
[ "MIT" ]
9
2020-12-18T13:26:45.000Z
2022-03-03T16:46:33.000Z
gribmagic/unity/download/engine.py
earthobservations/gribmagic
59c647d3ca3ecaf2d720837ba0cec9cc2aa2546e
[ "MIT" ]
12
2020-12-19T18:32:51.000Z
2021-10-30T17:48:35.000Z
gribmagic/unity/download/engine.py
earthobservations/gribmagic
59c647d3ca3ecaf2d720837ba0cec9cc2aa2546e
[ "MIT" ]
2
2020-12-19T08:02:03.000Z
2021-10-30T16:01:02.000Z
""" Handle download of NWP data from remote servers. """ import logging from concurrent.futures import ThreadPoolExecutor from pathlib import Path from typing import Dict, List import requests from gribmagic.unity.configuration.constants import ( KEY_COMPRESSION, KEY_LOCAL_FILE_PATHS, KEY_REMOTE_FILE_PATH...
27.459627
97
0.680615
509
4,421
5.607073
0.259332
0.050456
0.034338
0.035739
0.357043
0.29117
0.29117
0.269096
0.269096
0.201121
0
0.000899
0.24542
4,421
160
98
27.63125
0.854616
0.163538
0
0.340426
0
0
0.042254
0
0
0
0
0
0
1
0.042553
false
0
0.106383
0
0.234043
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
c696cbe9a74a6a3f3db61104f5e94acb0ded96e3
2,195
py
Python
tests/main.py
Antojitos/guacamole
50b4da41a45b2b4dd4f63f6c6cc68bfcf8563152
[ "MIT" ]
3
2015-10-30T13:09:13.000Z
2021-02-17T19:12:37.000Z
tests/main.py
amessinger/guacamole
50b4da41a45b2b4dd4f63f6c6cc68bfcf8563152
[ "MIT" ]
5
2015-10-30T12:53:05.000Z
2015-12-14T15:20:04.000Z
tests/main.py
Antojitos/guacamole
50b4da41a45b2b4dd4f63f6c6cc68bfcf8563152
[ "MIT" ]
1
2015-10-28T08:44:48.000Z
2015-10-28T08:44:48.000Z
import sys import os import shutil import filecmp import json import unittest # Path hack. http://stackoverflow.com/questions/6323860/sibling-package-imports sys.path.insert(0, os.path.abspath('../guacamole')) import guacamole class GuacamoleTestCase(unittest.TestCase): def setUp(self): guacamole.app.con...
32.279412
89
0.626424
260
2,195
5.057692
0.292308
0.118631
0.158175
0.060837
0.48365
0.469962
0.469962
0.469962
0.469962
0.469962
0
0.008589
0.257403
2,195
68
90
32.279412
0.79816
0.058314
0
0.408163
0
0
0.097715
0
0
0
0
0
0.142857
1
0.081633
false
0.020408
0.142857
0
0.244898
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
c697934e43005813bbf25f5936b378004c77b6ac
324
py
Python
settings.py
musahibrahimali/flasket-api
d212cb84817dee90e9a53015b2811468a4db75ff
[ "MIT" ]
7
2018-02-23T17:41:04.000Z
2022-03-09T12:20:56.000Z
settings.py
musahibrahimali/flasket-api
d212cb84817dee90e9a53015b2811468a4db75ff
[ "MIT" ]
null
null
null
settings.py
musahibrahimali/flasket-api
d212cb84817dee90e9a53015b2811468a4db75ff
[ "MIT" ]
1
2021-06-02T17:23:45.000Z
2021-06-02T17:23:45.000Z
# Flask settings FLASK_DEBUG = True # Do not use debug mode in production # SQLAlchemy settings SQLALCHEMY_DATABASE_URI = 'sqlite:///db.sqlite' SQLALCHEMY_TRACK_MODIFICATIONS = True # Flask-Restplus settings SWAGGER_UI_DOC_EXPANSION = 'list' RESTPLUS_VALIDATE = True RESTPLUS_MASK_SWAGGER = False ERROR_404_HELP = Fa...
23.142857
57
0.805556
43
324
5.767442
0.674419
0
0
0
0
0
0
0
0
0
0
0.010638
0.12963
324
13
58
24.923077
0.868794
0.290123
0
0
0
0
0.102222
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c69d613e92541912c5d1aa1169340677fbcf4a96
5,437
py
Python
mlops/parallelm/mlops/ml_metrics_stat/ml_stat_object_creator.py
mlpiper/mlpiper
0fd2b6773f970c831038db47bf4920ada21a5f51
[ "Apache-2.0" ]
7
2019-04-08T02:31:55.000Z
2021-11-15T14:40:49.000Z
mlops/parallelm/mlops/ml_metrics_stat/ml_stat_object_creator.py
mlpiper/mlpiper
0fd2b6773f970c831038db47bf4920ada21a5f51
[ "Apache-2.0" ]
31
2019-02-22T22:23:26.000Z
2021-08-02T17:17:06.000Z
mlops/parallelm/mlops/ml_metrics_stat/ml_stat_object_creator.py
mlpiper/mlpiper
0fd2b6773f970c831038db47bf4920ada21a5f51
[ "Apache-2.0" ]
8
2019-03-15T23:46:08.000Z
2020-02-06T09:16:02.000Z
import numpy as np from parallelm.mlops.mlops_exception import MLOpsStatisticsException from parallelm.mlops.stats.graph import Graph from parallelm.mlops.stats.multi_line_graph import MultiLineGraph from parallelm.mlops.stats.single_value import SingleValue from parallelm.mlops.stats.table import Table from parallelm...
41.823077
161
0.609343
659
5,437
4.878604
0.194234
0.041058
0.033593
0.03577
0.18196
0.168896
0.153966
0.129393
0.093935
0.055365
0
0.0056
0.310281
5,437
129
162
42.147287
0.851733
0.227699
0
0.291139
0
0
0.109068
0
0
0
0
0
0.025316
1
0.050633
false
0
0.088608
0
0.202532
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
c69fe4b03acf538832512321d83a32c7f8cc326f
480
py
Python
awsflow/lambdas/demo.py
algorithmia-algorithms/awsflow
927698c27e57377dbe8094c71d5b0c36548b0937
[ "MIT" ]
12
2019-04-06T14:59:29.000Z
2020-04-14T21:02:23.000Z
awsflow/lambdas/demo.py
vaquarkhan/awsflow
59f9001972aec2bac60a97d174b97f96689360ce
[ "MIT" ]
null
null
null
awsflow/lambdas/demo.py
vaquarkhan/awsflow
59f9001972aec2bac60a97d174b97f96689360ce
[ "MIT" ]
3
2019-07-30T17:11:14.000Z
2020-02-17T20:39:25.000Z
from awsflow.tools.emr import logging from awsflow.version import __version__ def hello_world(event, context): """ Test function, does nothing :param event: AWS lambdas function event :param context: AWS lambdas function context :return: """ message = 'event={} context={}'.format(event, c...
25.263158
62
0.666667
53
480
5.867925
0.471698
0.115756
0.115756
0
0
0
0
0
0
0
0
0
0.220833
480
18
63
26.666667
0.831551
0.254167
0
0
0
0
0.212121
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6a0b2e6f13cc83e001ace2dc43eeb51890ba31f
1,074
py
Python
weather/tools.py
yulinliu101/DeepTP
bc4f9adad6dda6c32e58026dda7863e0cb2a6072
[ "MIT" ]
46
2018-09-23T02:08:02.000Z
2022-03-19T15:56:15.000Z
weather/tools.py
yulinliu101/DeepTP
bc4f9adad6dda6c32e58026dda7863e0cb2a6072
[ "MIT" ]
6
2018-12-02T09:04:56.000Z
2021-09-30T12:14:53.000Z
weather/tools.py
yulinliu101/DeepTP
bc4f9adad6dda6c32e58026dda7863e0cb2a6072
[ "MIT" ]
27
2018-11-19T18:17:07.000Z
2021-08-28T17:07:11.000Z
''' Module's author : Jarry Gabriel Date : June, July 2016 Some Algorithms was made by : Malivai Luce, Helene Piquet This module handle different tools ''' from pyproj import Proj, Geod import numpy as np # Projections wgs84=Proj("+init=EPSG:4326") epsg3857=Proj("+init=EPSG:3857") g=Geod(ellps='WGS84') ...
25.571429
58
0.57635
151
1,074
4.099338
0.556291
0.038772
0.038772
0.048465
0
0
0
0
0
0
0
0.075227
0.282123
1,074
42
59
25.571429
0.727626
0.58473
0
0
0
0
0.091623
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6a0ccd39f3cb516016d54f1a50913914e43bf5d
1,315
py
Python
src/database/report.py
moevm/nosql1h19-report-stats
ab1dc80858df2d8b44489dc7ca900371b1fcc80f
[ "MIT" ]
null
null
null
src/database/report.py
moevm/nosql1h19-report-stats
ab1dc80858df2d8b44489dc7ca900371b1fcc80f
[ "MIT" ]
null
null
null
src/database/report.py
moevm/nosql1h19-report-stats
ab1dc80858df2d8b44489dc7ca900371b1fcc80f
[ "MIT" ]
null
null
null
from docx import Document class Report: def __init__(self, docx_text, meta, text_processor): self.document = Document(docx_text) self.date = self.document.core_properties.modified self.title = meta['title'] self.author = meta['author'] self.group = int(meta['group']...
32.073171
75
0.579468
143
1,315
5.195804
0.321678
0.043069
0.048452
0.048452
0
0
0
0
0
0
0
0
0.298859
1,315
40
76
32.875
0.805857
0.034221
0
0
0
0
0.102605
0
0
0
0
0
0
1
0.0625
false
0
0.03125
0
0.15625
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
c6a371ecbe5a163fba368a97852b226ecc2b76c6
19,724
py
Python
transmission/PFM_v24.py
zarppy/MUREIL_2014
25ba16554ce8f614b9337e0fffce75da3fa259a4
[ "MIT" ]
null
null
null
transmission/PFM_v24.py
zarppy/MUREIL_2014
25ba16554ce8f614b9337e0fffce75da3fa259a4
[ "MIT" ]
null
null
null
transmission/PFM_v24.py
zarppy/MUREIL_2014
25ba16554ce8f614b9337e0fffce75da3fa259a4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # # Copyright (C) University of Melbourne 2012 # # # #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 us...
45.657407
97
0.523575
2,400
19,724
4.143333
0.195417
0.035197
0.041633
0.044248
0.29998
0.238737
0.199718
0.177997
0.162912
0.150845
0
0.03386
0.374113
19,724
432
98
45.657407
0.771648
0.311042
0
0.251121
0
0
0.037636
0
0
0
0
0
0
1
0.026906
false
0
0.017937
0
0.058296
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
c6a5691106c675b51a0898624e8d7f4af7a6316d
11,893
py
Python
ecl/tests/unit/compute/v2/test_server.py
keiichi-hikita/eclsdk
c43afb982fd54eb1875cdc22d46044644d804c4a
[ "Apache-2.0" ]
5
2017-04-07T06:23:04.000Z
2019-11-19T00:52:34.000Z
ecl/tests/unit/compute/v2/test_server.py
keiichi-hikita/eclsdk
c43afb982fd54eb1875cdc22d46044644d804c4a
[ "Apache-2.0" ]
16
2018-09-12T11:14:40.000Z
2021-04-19T09:02:44.000Z
ecl/tests/unit/compute/v2/test_server.py
keiichi-hikita/eclsdk
c43afb982fd54eb1875cdc22d46044644d804c4a
[ "Apache-2.0" ]
14
2017-05-11T14:26:26.000Z
2021-07-14T14:00:06.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
38.739414
79
0.600858
1,320
11,893
5.287121
0.201515
0.090271
0.107179
0.038114
0.550939
0.486603
0.449205
0.417682
0.354635
0.332712
0
0.020192
0.254604
11,893
306
80
38.866013
0.767061
0.054822
0
0.326531
0
0
0.190345
0.06716
0
0
0
0
0.314286
1
0.065306
false
0.040816
0.012245
0
0.081633
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
c6a5791901b1fc6361134fdaba0ad7eda0768c85
1,577
py
Python
packages/diana/diana/connect/utils/orth_fiq.py
derekmerck/diana-star
78aa7badb27677a1f5c83d744852f659e2541567
[ "MIT" ]
null
null
null
packages/diana/diana/connect/utils/orth_fiq.py
derekmerck/diana-star
78aa7badb27677a1f5c83d744852f659e2541567
[ "MIT" ]
null
null
null
packages/diana/diana/connect/utils/orth_fiq.py
derekmerck/diana-star
78aa7badb27677a1f5c83d744852f659e2541567
[ "MIT" ]
null
null
null
# import logging # from pprint import pformat from diana.utils.dicom import DicomLevel def find_item_query(item): """ Have some information about the dixel, want to find the STUID, SERUID, INSTUID Returns a _list_ of dictionaries with matches, retrieves any if "retrieve" flag """ q = {} keys ...
30.326923
83
0.521877
141
1,577
5.794326
0.539007
0.068543
0.046512
0.046512
0
0
0
0
0
0
0
0
0.375396
1,577
52
84
30.326923
0.829442
0.195308
0
0
0
0
0.212851
0.024096
0
0
0
0
0
1
0.066667
false
0
0.033333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6acd732e85ef3e6872505baf917d917ef7c0ec1
8,045
py
Python
nisse/routes/slack/command_handlers/report_command_handler.py
nexocodecom/nisse.io
58a64072bc8dad87fbb1f54dabc93fd2d4cff6eb
[ "MIT" ]
null
null
null
nisse/routes/slack/command_handlers/report_command_handler.py
nexocodecom/nisse.io
58a64072bc8dad87fbb1f54dabc93fd2d4cff6eb
[ "MIT" ]
42
2018-07-20T14:15:48.000Z
2019-09-26T05:44:21.000Z
nisse/routes/slack/command_handlers/report_command_handler.py
nexocodecom/nisse.io
58a64072bc8dad87fbb1f54dabc93fd2d4cff6eb
[ "MIT" ]
null
null
null
import logging import os import uuid from typing import List from flask import current_app from flask.config import Config from flask_injector import inject from slackclient import SlackClient from werkzeug.utils import secure_filename from nisse.models.DTO import PrintParametersDto from nisse.models.slack.common imp...
43.252688
121
0.640895
920
8,045
5.344565
0.208696
0.029286
0.022778
0.020338
0.179784
0.157006
0.10901
0.10901
0.090706
0.06508
0
0.001377
0.277688
8,045
185
122
43.486486
0.844777
0.018645
0
0.014085
0
0
0.058056
0
0
0
0
0.005405
0
1
0.028169
false
0
0.176056
0
0.225352
0.091549
0
0
0
null
0
0
0
0
0
0
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
c6acd7e0d4951d5c3034a6f821df7b9a82c0e2f9
369
py
Python
days/day01/part1.py
jaredbancroft/aoc2021
4eaf339cc0c8566da2af13f7cb9cf6fe87355aac
[ "MIT" ]
null
null
null
days/day01/part1.py
jaredbancroft/aoc2021
4eaf339cc0c8566da2af13f7cb9cf6fe87355aac
[ "MIT" ]
null
null
null
days/day01/part1.py
jaredbancroft/aoc2021
4eaf339cc0c8566da2af13f7cb9cf6fe87355aac
[ "MIT" ]
null
null
null
from helpers import inputs def solution(day): depths = inputs.read_to_list(f"inputs/{day}.txt") part1_total = 0 for index, depth in enumerate(depths): if index - 1 >= 0: diff = int(depth) - int(depths[index - 1]) if diff > 0: part1_total += 1 return f"Da...
28.384615
63
0.588076
53
369
4
0.54717
0.141509
0
0
0
0
0
0
0
0
0
0.046693
0.303523
369
12
64
30.75
0.77821
0
0
0
0
0
0.176152
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
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
c6b79f701bcc0df19eeeaf217d68d4ce14a63d1a
251
py
Python
bot.py
White-ZacK/HLavalink
917a2a5abf3df2b2fbdff93709b9eb9e47c033aa
[ "MIT" ]
null
null
null
bot.py
White-ZacK/HLavalink
917a2a5abf3df2b2fbdff93709b9eb9e47c033aa
[ "MIT" ]
null
null
null
bot.py
White-ZacK/HLavalink
917a2a5abf3df2b2fbdff93709b9eb9e47c033aa
[ "MIT" ]
null
null
null
import discord import os from discord.ext import commands bot = commands.Bot(command_prefix=">") TOKEN = os.environ.get('TOKEN') @bot.event async def on_ready(): print(f'{bot.user} has logged in.') bot.load_extension('cogs.WVL') bot.run(TOKEN)
17.928571
38
0.7251
40
251
4.475
0.7
0.122905
0
0
0
0
0
0
0
0
0
0
0.123506
251
13
39
19.307692
0.813636
0
0
0
0
0
0.155378
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
c6badd66c9c53436c0cfcf31174d258e7727a76d
795
py
Python
test.py
Roulbac/GanSeg
78f354da5d724b93ead3ac6c2b15ae18d3ac0aea
[ "MIT" ]
20
2019-04-13T07:07:49.000Z
2022-02-23T03:10:40.000Z
test.py
Roulbac/GanSeg
78f354da5d724b93ead3ac6c2b15ae18d3ac0aea
[ "MIT" ]
null
null
null
test.py
Roulbac/GanSeg
78f354da5d724b93ead3ac6c2b15ae18d3ac0aea
[ "MIT" ]
4
2019-04-13T13:50:39.000Z
2020-11-08T03:50:54.000Z
from options.test_parser import TestParser from models import create_model, get_model_parsing_modifier from datasets import create_dataset, get_dataset_parsing_modifier parser = TestParser() model_name = parser.get_model_name() dataset_name = parser.get_dataset_name() print('Model name: {}'.format(model_name)) print(...
27.413793
68
0.820126
112
795
5.4375
0.267857
0.073892
0.049261
0.075534
0.10509
0.10509
0
0
0
0
0
0
0.08805
795
28
69
28.392857
0.84
0
0
0
0
0
0.037736
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6bbf866443aff7a6fcd220b4ae5ee2ac61f6a5c
353
py
Python
2018-12-31.py
shangpf1/python_study
6730519ce7b5cf4612e1c778ae5876cfbb748a4f
[ "MIT" ]
null
null
null
2018-12-31.py
shangpf1/python_study
6730519ce7b5cf4612e1c778ae5876cfbb748a4f
[ "MIT" ]
null
null
null
2018-12-31.py
shangpf1/python_study
6730519ce7b5cf4612e1c778ae5876cfbb748a4f
[ "MIT" ]
null
null
null
# 浏览器最大化窗口、截屏 from selenium import webdriver from os import path driver = webdriver.Chrome() d = path.dirname('__file__') index = path.join(d,'index.png') driver.get("https://www.baidu.com/") # 最大化窗口 driver.maximize_window() # 截屏 driver.save_screenshot(index) # 后退操作 driver.back() # 前进操作 driver.forward() # 刷新操...
12.172414
36
0.716714
49
353
5.040816
0.673469
0
0
0
0
0
0
0
0
0
0
0
0.130312
353
29
37
12.172414
0.80456
0.09915
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
c6bcdd4e1b6e9560584746d256ad5769eed1114e
4,016
py
Python
flask_webapi/exceptions.py
viniciuschiele/flask-webapi
4901c0b78fc61b8db18c211c5858b84901d0f4ab
[ "MIT" ]
null
null
null
flask_webapi/exceptions.py
viniciuschiele/flask-webapi
4901c0b78fc61b8db18c211c5858b84901d0f4ab
[ "MIT" ]
null
null
null
flask_webapi/exceptions.py
viniciuschiele/flask-webapi
4901c0b78fc61b8db18c211c5858b84901d0f4ab
[ "MIT" ]
null
null
null
""" Handles exceptions raised by Flask WebAPI. """ from . import status class APIException(Exception): """ Base class for Flask WebAPI exceptions. Subclasses should provide `.status_code` and `.default_message` properties. :param str message: The actual message. :param kwargs: The extra attribute...
30.656489
108
0.586404
435
4,016
5.204598
0.206897
0.055654
0.04947
0.037102
0.157244
0.091873
0.05742
0.05742
0
0
0
0.003336
0.328187
4,016
130
109
30.892308
0.835804
0.140189
0
0.25641
0
0
0.028563
0
0
0
0
0
0
1
0.102564
false
0
0.012821
0.038462
0.269231
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
c6bec2b7b19f2adc7fd34bc6ce05b27edb1743ba
5,133
py
Python
plugins/module_utils/fortiwebcloud/request.py
fortinet/fortiwebcloud-ansible
4a6a2b139b88d6428494ca87d570a0a09988b15d
[ "MIT" ]
5
2021-01-09T23:09:22.000Z
2022-01-22T12:34:25.000Z
plugins/module_utils/fortiwebcloud/request.py
fortinet/fortiwebcloud-ansible
4a6a2b139b88d6428494ca87d570a0a09988b15d
[ "MIT" ]
2
2021-01-19T03:46:53.000Z
2021-06-28T15:19:24.000Z
plugins/module_utils/fortiwebcloud/request.py
fortinet/fortiwebcloud-ansible
4a6a2b139b88d6428494ca87d570a0a09988b15d
[ "MIT" ]
2
2021-09-17T11:13:31.000Z
2021-11-30T10:53:49.000Z
#!/usr/bin/python # This code is part of Ansible, but is an independent component. # This particular file snippet, and this file snippet only, is BSD licensed. # Modules you write using this snippet, which is embedded dynamically by Ansible # still belong to the author of the module, and may assign their own license #...
36.664286
116
0.643678
673
5,133
4.861813
0.355126
0.017115
0.017115
0.022005
0.174817
0.146699
0.146699
0.122249
0.122249
0.122249
0
0.001576
0.258523
5,133
139
117
36.928058
0.858119
0.336645
0
0.144578
0
0
0.086186
0
0
0
0
0
0
1
0.120482
false
0
0.120482
0.012048
0.337349
0.036145
0
0
0
null
0
0
0
0
0
0
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
c6bf070a0e1401995e4a06960552d64f43d04d96
497
py
Python
tests/test_account.py
thangduong/lendingclub2
b16552807b69b81804369fd1a9058fa8f89ce1ef
[ "MIT" ]
null
null
null
tests/test_account.py
thangduong/lendingclub2
b16552807b69b81804369fd1a9058fa8f89ce1ef
[ "MIT" ]
null
null
null
tests/test_account.py
thangduong/lendingclub2
b16552807b69b81804369fd1a9058fa8f89ce1ef
[ "MIT" ]
null
null
null
# Filename: test_account.py """ Test the lendingclub2.accountmodule """ # PyTest import pytest # lendingclub2 from lendingclub2.account import InvestorAccount from lendingclub2.error import LCError class TestInvestorAccount: def test_properties(self): try: investor = InvestorAccount() ...
20.708333
62
0.702213
53
497
6.509434
0.584906
0.092754
0.052174
0
0
0
0
0
0
0
0
0.020779
0.225352
497
23
63
21.608696
0.875325
0.16499
0
0
0
0
0.08642
0
0
0
0
0
0.181818
1
0.090909
false
0
0.272727
0
0.454545
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
c6c3cf7f18578ef4fee0cf3ceb347dcb151e1993
3,827
py
Python
Lib/corpuscrawler/crawl_pl.py
cash/corpuscrawler
8913fe1fb2b6bfdfbf2ba01d2ce88057b3b5ba3d
[ "Apache-2.0" ]
95
2019-06-13T23:34:21.000Z
2022-03-12T05:22:49.000Z
Lib/corpuscrawler/crawl_pl.py
sahwar/corpuscrawler
8913fe1fb2b6bfdfbf2ba01d2ce88057b3b5ba3d
[ "Apache-2.0" ]
31
2019-06-02T18:56:53.000Z
2021-08-10T20:16:02.000Z
Lib/corpuscrawler/crawl_pl.py
sahwar/corpuscrawler
8913fe1fb2b6bfdfbf2ba01d2ce88057b3b5ba3d
[ "Apache-2.0" ]
35
2019-06-18T08:26:24.000Z
2022-01-11T13:59:40.000Z
# 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 required by ap...
40.284211
92
0.629736
488
3,827
4.844262
0.420082
0.025381
0.029611
0.027919
0.07445
0.055838
0.031303
0
0
0
0
0.0088
0.257643
3,827
94
93
40.712766
0.823302
0.197805
0
0.166667
0
0
0.154703
0.046542
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.152778
0.013889
0
0
0
null
0
0
0
0
0
0
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
c6c507d5077fa7072a210afdf6ced8586dc0a30d
2,775
py
Python
typewise_alert.py
clean-code-craft-tcq-1/add-variety-python-AkshayUHegde
924beb7195d960d3fe06460da9df1a42c5d5693f
[ "MIT" ]
null
null
null
typewise_alert.py
clean-code-craft-tcq-1/add-variety-python-AkshayUHegde
924beb7195d960d3fe06460da9df1a42c5d5693f
[ "MIT" ]
null
null
null
typewise_alert.py
clean-code-craft-tcq-1/add-variety-python-AkshayUHegde
924beb7195d960d3fe06460da9df1a42c5d5693f
[ "MIT" ]
null
null
null
class TypewiseAlert: def __init__(self, limits_for_types=None, alert_target_funcs=None): self.default_limits_for_cooling_types = { "PASSIVE_COOLING": (0, 35), "MED_ACTIVE_COOLING": (0, 40), "HI_ACTIVE_COOLING": (0, 45), } self.default_alert_funcs = { ...
45.491803
101
0.627027
311
2,775
5.215434
0.250804
0.055487
0.043157
0.033292
0.350801
0.350801
0.192355
0.090012
0.090012
0.090012
0
0.006058
0.286126
2,775
60
102
46.25
0.812721
0
0
0.037037
0
0
0.241168
0.060923
0
0
0.002163
0
0
1
0.111111
false
0.018519
0
0
0.259259
0.037037
0
0
0
null
0
0
0
0
0
0
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
c6c9aa4e57c89e6f69fa55d265d499cc88ae995f
1,519
py
Python
4_factory/factory_method/dependent_pizza_store.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
4_factory/factory_method/dependent_pizza_store.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
4_factory/factory_method/dependent_pizza_store.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
from chicago_style_clam_pizza import ChicagoStyleClamPizza from chicago_style_cheese_pizza import ChicagoStyleCheesePizza from chicago_style_pepperoni_pizza import ChicagoStylePepperoniPizza from chicago_style_veggie_pizza import ChicagoStyleVeggiePizza from ny_style_clam_pizza import NYStyleClamPizza from ny_style_che...
35.325581
68
0.631336
146
1,519
6.39726
0.267123
0.125268
0.068522
0.042827
0.169165
0
0
0
0
0
0
0
0.293614
1,519
42
69
36.166667
0.870457
0
0
0.216216
0
0
0.057275
0
0
0
0
0
0
1
0.027027
false
0
0.216216
0
0.351351
0.027027
0
0
0
null
0
0
0
0
0
0
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
c6cac8b3c9901ec09333ce8b40056a0c6f21d27c
459
py
Python
tests/performance/cte-arm/tests/rf_mnist.py
alexbarcelo/dislib
989f81f235ae30b17410a8d805df258c7d931b38
[ "Apache-2.0" ]
36
2018-10-22T19:21:14.000Z
2022-03-22T12:10:01.000Z
tests/performance/cte-arm/tests/rf_mnist.py
alexbarcelo/dislib
989f81f235ae30b17410a8d805df258c7d931b38
[ "Apache-2.0" ]
329
2018-11-22T18:04:57.000Z
2022-03-18T01:26:55.000Z
tests/performance/cte-arm/tests/rf_mnist.py
alexbarcelo/dislib
989f81f235ae30b17410a8d805df258c7d931b38
[ "Apache-2.0" ]
21
2019-01-10T11:46:39.000Z
2022-03-17T12:59:45.000Z
import performance import dislib as ds from dislib.classification import RandomForestClassifier def main(): x_mn, y_mn = ds.load_svmlight_file( "/fefs/scratch/bsc19/bsc19029/PERFORMANCE/datasets/train.scaled", block_size=(5000, 780), n_features=780, store_sparse=False) rf = RandomForestClas...
24.157895
73
0.723312
61
459
5.131148
0.704918
0.019169
0.025559
0.038339
0
0
0
0
0
0
0
0.054545
0.16122
459
18
74
25.5
0.758442
0
0
0
0
0
0.167756
0.135076
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6d0b39109db93442e531726d432358337458672
2,275
py
Python
pwn/shellcode/misc/exit.py
Haabb/pwnfork
c2530ea2fd2f9d4e65df234afeb8f7def93afe49
[ "MIT" ]
1
2016-08-29T03:38:42.000Z
2016-08-29T03:38:42.000Z
pwn/shellcode/misc/exit.py
Haabb/pwnfork
c2530ea2fd2f9d4e65df234afeb8f7def93afe49
[ "MIT" ]
null
null
null
pwn/shellcode/misc/exit.py
Haabb/pwnfork
c2530ea2fd2f9d4e65df234afeb8f7def93afe49
[ "MIT" ]
null
null
null
from pwn.internal.shellcode_helper import * from ..misc.pushstr import pushstr @shellcode_reqs(arch=['i386', 'amd64'], os=['linux', 'freebsd']) def exit(returncode = None, arch = None, os = None): """Exits. Default return code, None, means "I don't care".""" returncode = arg_fixup(returncode) if arch == ...
29.545455
78
0.465934
243
2,275
4.296296
0.288066
0.033525
0.052682
0.06705
0.270115
0.253831
0.226054
0.126437
0.126437
0.126437
0
0.02874
0.403516
2,275
76
79
29.934211
0.740604
0.024176
0
0.461538
0
0
0.31346
0
0
0
0.007227
0
0
1
0.046154
false
0
0.030769
0
0.184615
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
c6d4b9bc3a7c3d3b66374d69e6147ebd024b69ea
14,117
py
Python
effect_tools.py
rsjones94/hurricane_analysis
b619526dcf40ea83e9ae3ba92f3a1d28fce25776
[ "MIT" ]
null
null
null
effect_tools.py
rsjones94/hurricane_analysis
b619526dcf40ea83e9ae3ba92f3a1d28fce25776
[ "MIT" ]
null
null
null
effect_tools.py
rsjones94/hurricane_analysis
b619526dcf40ea83e9ae3ba92f3a1d28fce25776
[ "MIT" ]
null
null
null
import os import shutil import numpy as np import pandas as pd import matplotlib.pyplot as plt from read import clean_read from detrend import * def get_effect(data, param, mean, stddev, start_index, lag=3, effect_type=1, returning_gap=0, dropthrough=(0, 0), forcing=(None, None), max_e...
32.602771
120
0.551463
1,887
14,117
4.034446
0.18071
0.010508
0.01261
0.016551
0.18232
0.099698
0.055432
0.008932
0.008932
0
0
0.023942
0.352058
14,117
432
121
32.678241
0.808352
0.353262
0
0.348039
0
0
0.027075
0
0
0
0
0
0
1
0.039216
false
0.014706
0.034314
0.014706
0.122549
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
c6d6b79b9b74cb519b433548531f1d028f0803ab
871
py
Python
warningshot.py
DeadpoolPancakes/nerf-sentry
0f9cccd78e66f4020f1960871fd35c328a697086
[ "MIT" ]
null
null
null
warningshot.py
DeadpoolPancakes/nerf-sentry
0f9cccd78e66f4020f1960871fd35c328a697086
[ "MIT" ]
null
null
null
warningshot.py
DeadpoolPancakes/nerf-sentry
0f9cccd78e66f4020f1960871fd35c328a697086
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BCM) Motor1Enable = 5 Motor1B = 24 Motor1A = 27 Motor2Enable = 17 Motor2B = 6 Motor2A = 22 #single shot script used as a warning shot # Set up defined GPIO pins GPIO.setup(Motor1A,GPIO.OUT) GPIO.setup(Motor1B,GPIO.OUT) GPIO.setup(Motor1Enable,GPIO.OUT)...
21.243902
45
0.771527
143
871
4.699301
0.384615
0.119048
0.081845
0.119048
0.098214
0.098214
0
0
0
0
0
0.044213
0.117107
871
41
46
21.243902
0.829649
0.234214
0
0.076923
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6d814a8e68b9da379529a21009897f7697124d2
1,979
py
Python
ampadb_index/parse_md.py
ampafdv/ampadb
25c804a5cb21afcbe4e222a3b48cca27ff2d9e19
[ "MIT" ]
null
null
null
ampadb_index/parse_md.py
ampafdv/ampadb
25c804a5cb21afcbe4e222a3b48cca27ff2d9e19
[ "MIT" ]
28
2016-10-21T16:04:56.000Z
2018-11-10T20:55:40.000Z
ampadb_index/parse_md.py
ampafdv/ampadb
25c804a5cb21afcbe4e222a3b48cca27ff2d9e19
[ "MIT" ]
2
2016-10-22T19:24:45.000Z
2017-02-11T10:49:02.000Z
import html import markdown import bleach import lxml.html from lxml.html import builder as E TAGS = [ 'p', 'img', 'em', 'strong', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ol', 'ul', 'li', 'br', 'hr', 'a', 'img', 'blockquote', 'b', 'i', 'u', 's', 'pre', 'code', 'table', 'thead', 'tr', 'th', 'tbody', 'td' ] AT...
29.984848
79
0.560889
254
1,979
4.279528
0.468504
0.036799
0.033119
0.027599
0.073597
0.044158
0.044158
0
0
0
0
0.008242
0.264275
1,979
65
80
30.446154
0.738324
0.060131
0
0.089286
0
0
0.153556
0.01347
0
0
0
0
0
1
0.035714
false
0
0.089286
0.017857
0.178571
0.017857
0
0
0
null
0
0
0
0
0
0
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
c6d82fc284eef62f6b254b22655051352ba00a72
532
py
Python
src/server_3D/API/Rice/factoryTypes/hybridShapeFactoryMeth/addNewLinePtPt.py
robertpardillo/Funnel
f45e419f55e085bbb95e17c47b4c94a7c625ba9b
[ "MIT" ]
1
2021-05-18T16:10:49.000Z
2021-05-18T16:10:49.000Z
src/server_3D/API/Rice/factoryTypes/hybridShapeFactoryMeth/addNewLinePtPt.py
robertpardillo/Funnel
f45e419f55e085bbb95e17c47b4c94a7c625ba9b
[ "MIT" ]
null
null
null
src/server_3D/API/Rice/factoryTypes/hybridShapeFactoryMeth/addNewLinePtPt.py
robertpardillo/Funnel
f45e419f55e085bbb95e17c47b4c94a7c625ba9b
[ "MIT" ]
null
null
null
from ...abstractObjects.hybridShapes.line import LinePtPt def AddNewLinePtPt(self, geometrical_set, start, end): part = geometrical_set.parentsDict['Part'] reference1 = part._createReferenceFromObject(start) reference2 = part._createReferenceFromObject(end) cat_constructor = self.cat_construc...
40.923077
82
0.781955
52
532
7.788462
0.423077
0.17284
0.123457
0
0
0
0
0
0
0
0
0.008734
0.139098
532
13
83
40.923077
0.875546
0
0
0
0
0
0.007692
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6d9810ee3519ae415fa0512f84807c328a50106
1,223
py
Python
Lab Activity 6.py
Jeralph-Red/OOP-58001
4e38f9a0a58098a121a61e640a53e9568bf529b0
[ "Apache-2.0" ]
null
null
null
Lab Activity 6.py
Jeralph-Red/OOP-58001
4e38f9a0a58098a121a61e640a53e9568bf529b0
[ "Apache-2.0" ]
null
null
null
Lab Activity 6.py
Jeralph-Red/OOP-58001
4e38f9a0a58098a121a61e640a53e9568bf529b0
[ "Apache-2.0" ]
null
null
null
from tkinter import * class SemGrade: def __init__(self, win): self.lbl1=Label(win, text='Prelim:') self.lbl2=Label(win, text='Midterm:') self.lbl3=Label(win, text='Final:') self.lbl4=Label(win, text='Semestral Grade:') self.t1=Entry(bd=3) self.t2=Entry(bd=3...
31.358974
88
0.567457
186
1,223
3.709677
0.349462
0.078261
0.069565
0.069565
0
0
0
0
0
0
0
0.101883
0.261652
1,223
39
89
31.358974
0.662237
0
0
0
0
0
0.091906
0
0
0
0
0
0
1
0.058824
false
0
0.029412
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
c6da86aae41063146c3bc7bd5c1f243c9c0368e2
1,853
py
Python
parse_wfd.py
ajsimon1/Cazar
6831dbdb63764ad2159eaad45fe2b6cfc7edd553
[ "MIT" ]
null
null
null
parse_wfd.py
ajsimon1/Cazar
6831dbdb63764ad2159eaad45fe2b6cfc7edd553
[ "MIT" ]
null
null
null
parse_wfd.py
ajsimon1/Cazar
6831dbdb63764ad2159eaad45fe2b6cfc7edd553
[ "MIT" ]
null
null
null
import os import sys import pandas as pd from xml.etree import ElementTree as et cwd = os.getcwd() filepath = 'C:\\Users\\asimon\\Desktop\\Practice-' \ 'Training\\p21_template_out3.xml' def parse_wfd_xml(filepath): tree = et.parse(filepath) root = tree.getroot() data, page = root.findall('.//...
39.425532
75
0.447922
188
1,853
4.228723
0.414894
0.050314
0.033962
0.047799
0.138365
0.100629
0.055346
0
0
0
0
0.003745
0.423637
1,853
46
76
40.282609
0.740637
0.035618
0
0.05
0
0
0.156951
0.075112
0
0
0
0
0
1
0.025
false
0.025
0.1
0
0.15
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
c6dbe3048a8498d4b259596610f445fd78aa7173
17,022
py
Python
p20191120_wada.py
tmseegoslo/wada
1f0163ccc0e0815ae7586291712f8920b00cf7ba
[ "Apache-2.0" ]
null
null
null
p20191120_wada.py
tmseegoslo/wada
1f0163ccc0e0815ae7586291712f8920b00cf7ba
[ "Apache-2.0" ]
null
null
null
p20191120_wada.py
tmseegoslo/wada
1f0163ccc0e0815ae7586291712f8920b00cf7ba
[ "Apache-2.0" ]
null
null
null
#MNE tutorial #Import modules import os import numpy as np import mne import re import complexity_entropy as ce #Import specific smodules for filtering from numpy.fft import fft, fftfreq from scipy import signal from mne.time_frequency.tfr import morlet from mne.viz import plot_filter, plot_ideal_filter ...
39.311778
124
0.584714
2,508
17,022
3.870415
0.183014
0.006387
0.030906
0.027815
0.56722
0.529
0.498506
0.490265
0.464201
0.450088
0
0.057893
0.179062
17,022
432
125
39.402778
0.636754
0.440783
0
0.308511
0
0
0.120981
0.00568
0
0
0
0
0
1
0.005319
false
0
0.053191
0.005319
0.06383
0.021277
0
0
0
null
0
0
0
0
0
0
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
c6dc529d66bad976f5633ed5b6e53c5c1922f83f
1,790
py
Python
classifiers.py
mavroudisv/Mahalanobis-Classifier
9029b2d84215afd02d8ccdbe3be7ea875b83deb6
[ "MIT" ]
1
2021-01-12T19:12:06.000Z
2021-01-12T19:12:06.000Z
classifiers.py
mavroudisv/Mahalanobis-Classifier
9029b2d84215afd02d8ccdbe3be7ea875b83deb6
[ "MIT" ]
null
null
null
classifiers.py
mavroudisv/Mahalanobis-Classifier
9029b2d84215afd02d8ccdbe3be7ea875b83deb6
[ "MIT" ]
null
null
null
import numpy as np import scipy as sp class MahalanobisClassifier(): def __init__(self, samples, labels): self.clusters={} for lbl in np.unique(labels): self.clusters[lbl] = samples.loc[labels == lbl, :] def mahalanobis(self, x, data, cov=None): """Compute the Mahalanobis D...
37.291667
118
0.6
242
1,790
4.301653
0.371901
0.04611
0.023055
0.03074
0
0
0
0
0
0
0
0.006426
0.304469
1,790
47
119
38.085106
0.829719
0.205028
0
0
0
0
0
0
0
0
0
0
0
1
0.151515
false
0
0.060606
0.030303
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6dcf725bd23764de094f21a2a52e9e26e955427
1,982
py
Python
augmentation/postprocessor.py
abamaxa/docvision_generator
8017f29c7d908cb80ddcd59e345a222271fa74de
[ "MIT" ]
2
2020-02-06T17:30:41.000Z
2020-08-04T10:35:46.000Z
augmentation/postprocessor.py
abamaxa/docvision_generator
8017f29c7d908cb80ddcd59e345a222271fa74de
[ "MIT" ]
null
null
null
augmentation/postprocessor.py
abamaxa/docvision_generator
8017f29c7d908cb80ddcd59e345a222271fa74de
[ "MIT" ]
null
null
null
import os import shutil import json import time import cv2 import numpy as np import PIL def convert_image_to_numpy(image) : (im_width, im_height) = image.size image_np = np.fromstring(image.tobytes(), dtype='uint8', count=-1, sep='') array_shape = (im_height, im_width, int(image_np.shape[0] / (im_height...
29.58209
88
0.639758
285
1,982
4.214035
0.301754
0.039967
0.054122
0.03164
0.079933
0
0
0
0
0
0
0.028834
0.230071
1,982
67
89
29.58209
0.758191
0.032795
0
0
0
0
0.022965
0
0
0
0
0
0
1
0.1
false
0
0.14
0
0.32
0.02
0
0
0
null
0
0
0
0
0
0
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
c6e4a42a16095039958ecdd10b4a917bcf6aef59
581
py
Python
resources/samd21flash.py
dotchetter/W.O.O.B.S
6055020f21c462940e9477192c831d8ad0b2669e
[ "MIT" ]
null
null
null
resources/samd21flash.py
dotchetter/W.O.O.B.S
6055020f21c462940e9477192c831d8ad0b2669e
[ "MIT" ]
13
2020-11-10T12:29:46.000Z
2020-11-20T00:04:02.000Z
resources/samd21flash.py
dotchetter/W.O.O.B.S
6055020f21c462940e9477192c831d8ad0b2669e
[ "MIT" ]
null
null
null
import os import argparse if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("-port") parser.add_argument("-programmer") parser.add_argument("-binary") args = parser.parse_args() port_norm = args.port port_bootloader = f"{port_norm[0:3]}{int(port_norm[-1])+1...
32.277778
95
0.666093
85
581
4.341176
0.529412
0.086721
0.138211
0.065041
0.070461
0
0
0
0
0
0
0.028747
0.16179
581
18
95
32.277778
0.728953
0
0
0
0
0.071429
0.448454
0.118557
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6e60e06fca1a3189ef7b894a20c3b5c14557fda
41,045
py
Python
test/ontic_type_test.py
neoinsanity/ontic
2b313fb9fc45faf550791a797624c9997386c343
[ "Apache-2.0" ]
2
2017-11-06T12:01:20.000Z
2021-03-01T23:52:41.000Z
test/ontic_type_test.py
neoinsanity/ontic
2b313fb9fc45faf550791a797624c9997386c343
[ "Apache-2.0" ]
1
2016-12-02T04:04:03.000Z
2016-12-02T04:04:03.000Z
test/ontic_type_test.py
neoinsanity/ontic
2b313fb9fc45faf550791a797624c9997386c343
[ "Apache-2.0" ]
2
2015-06-26T22:24:57.000Z
2016-12-01T02:15:36.000Z
"""Test the basic functionality of the base and core data types.""" from datetime import date, time, datetime from typing import NoReturn from ontic import OnticType from ontic import property from ontic import type as o_type from ontic.meta import Meta from ontic.property import OnticProperty from ontic.schema import...
37.111212
122
0.599903
4,600
41,045
5.07413
0.061087
0.105565
0.066278
0.056167
0.710852
0.610814
0.527612
0.468575
0.405938
0.363866
0
0.016642
0.289974
41,045
1,105
123
37.144796
0.784271
0.093361
0
0.506971
0
0.001267
0.132499
0.004105
0
0
0
0
0.144487
1
0.043093
false
0
0.012674
0
0.070976
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
c6e972384085a17d4254d8b48954d37e8355bbe9
5,503
py
Python
api/telegram.py
ongzhixian/python-apps
11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6
[ "MIT" ]
null
null
null
api/telegram.py
ongzhixian/python-apps
11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6
[ "MIT" ]
null
null
null
api/telegram.py
ongzhixian/python-apps
11a0d0ce656a7e9d7bdff18dd29feaa2bb436ae6
[ "MIT" ]
null
null
null
import json import logging import os import pdb import re from helpers.app_helpers import * from helpers.page_helpers import * from helpers.jinja2_helpers import * from helpers.telegram_helpers import * #from main import * #from flask import request #####################################################################...
35.050955
123
0.623296
701
5,503
4.649073
0.196862
0.084382
0.030071
0.03498
0.474992
0.372814
0.342436
0.294569
0.271863
0.217858
0
0.006757
0.193167
5,503
156
124
35.275641
0.727252
0.180992
0
0.163265
0
0
0.184268
0.069762
0
0
0
0
0
1
0.081633
false
0
0.091837
0
0.265306
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
c6eb3b19d050576ce9764d0276a806ecdcc82b5f
2,456
py
Python
experiments/bayesopt/run_direct_surrogate.py
lebrice/RoBO
0cb58a1622d3a540f7714b239f0cedf048b6fd9f
[ "BSD-3-Clause" ]
455
2015-04-02T06:12:13.000Z
2022-02-28T10:54:29.000Z
experiments/bayesopt/run_direct_surrogate.py
lebrice/RoBO
0cb58a1622d3a540f7714b239f0cedf048b6fd9f
[ "BSD-3-Clause" ]
66
2015-04-07T15:20:55.000Z
2021-06-04T16:40:46.000Z
experiments/bayesopt/run_direct_surrogate.py
lebrice/RoBO
0cb58a1622d3a540f7714b239f0cedf048b6fd9f
[ "BSD-3-Clause" ]
188
2015-04-14T09:42:34.000Z
2022-03-31T21:04:53.000Z
import os import sys import DIRECT import json import numpy as np from hpolib.benchmarks.ml.surrogate_svm import SurrogateSVM from hpolib.benchmarks.ml.surrogate_cnn import SurrogateCNN from hpolib.benchmarks.ml.surrogate_fcnet import SurrogateFCNet run_id = int(sys.argv[1]) benchmark = sys.argv[2] n_iters = 50 n_i...
24.078431
74
0.678339
360
2,456
4.466667
0.363889
0.018657
0.024876
0.041045
0.148632
0.090796
0.090796
0.06592
0.06592
0
0
0.006484
0.183632
2,456
101
75
24.316832
0.795511
0.077362
0
0
0
0
0.14153
0.069881
0
0
0
0
0
1
0.013699
false
0
0.109589
0
0.136986
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
c6eb612c8a8c4eac0f2f977fa8c04f601c65f1a7
1,197
py
Python
calls/delete_call_feedback_summary.py
mickstevens/python3-twilio-sdkv6-examples
aac0403533b35fec4e8483de18d8fde2d783cfb2
[ "MIT" ]
1
2018-11-23T20:11:27.000Z
2018-11-23T20:11:27.000Z
calls/delete_call_feedback_summary.py
mickstevens/python3-twilio-sdkv6-examples
aac0403533b35fec4e8483de18d8fde2d783cfb2
[ "MIT" ]
null
null
null
calls/delete_call_feedback_summary.py
mickstevens/python3-twilio-sdkv6-examples
aac0403533b35fec4e8483de18d8fde2d783cfb2
[ "MIT" ]
null
null
null
# *** Delete Call Feedback Summary *** # Code based on https://www.twilio.com/docs/voice/api/call-quality-feedback # Download Python 3 from https://www.python.org/downloads/ # Download the Twilio helper library from https://www.twilio.com/docs/python/install import os from twilio.rest import Client # from datetime impo...
44.333333
114
0.734336
157
1,197
5.528662
0.56051
0.046083
0.043779
0.039171
0.048387
0
0
0
0
0
0
0.023928
0.162072
1,197
26
115
46.038462
0.841476
0.53467
0
0
0
0
0.311355
0.173993
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6f1e3f027d95fbea317bf8aa4166e874befc948
5,693
py
Python
controllers/transactions_controller.py
JeremyCodeClan/spentrack_project
455074446b5b335ea77933c80c43745fcad1171c
[ "MIT" ]
null
null
null
controllers/transactions_controller.py
JeremyCodeClan/spentrack_project
455074446b5b335ea77933c80c43745fcad1171c
[ "MIT" ]
null
null
null
controllers/transactions_controller.py
JeremyCodeClan/spentrack_project
455074446b5b335ea77933c80c43745fcad1171c
[ "MIT" ]
null
null
null
from flask import Blueprint, Flask, render_template, request, redirect from models.transaction import Transaction import repositories.transaction_repository as transaction_repo import repositories.merchant_repository as merchant_repo import repositories.tag_repository as tag_repo transactions_blueprint = Blueprint("t...
40.664286
129
0.657298
607
5,693
5.90939
0.093904
0.104544
0.075272
0.069696
0.577084
0.55729
0.509897
0.460831
0.460831
0.460831
0
0.007223
0.246092
5,693
140
130
40.664286
0.828518
0
0
0.351563
0
0
0.113102
0.043379
0
0
0
0
0
1
0.054688
false
0
0.039063
0
0.195313
0.070313
0
0
0
null
0
0
0
0
0
0
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
c6f1fc0edc1a1464fe8ec814304b412c4369a1d8
86,261
py
Python
Welcomer 6.20/modules/core.py
TheRockettek/Welcomer
60706b4d6eec7d4f2500b3acc37530e42d846532
[ "MIT" ]
12
2019-09-10T21:31:51.000Z
2022-01-21T14:31:05.000Z
Welcomer 6.20/modules/core.py
TheRockettek/Welcomer
60706b4d6eec7d4f2500b3acc37530e42d846532
[ "MIT" ]
null
null
null
Welcomer 6.20/modules/core.py
TheRockettek/Welcomer
60706b4d6eec7d4f2500b3acc37530e42d846532
[ "MIT" ]
1
2021-09-17T09:03:54.000Z
2021-09-17T09:03:54.000Z
import asyncio import copy import csv import io import math from math import inf import os import sys import time import traceback import logging from importlib import reload from datetime import datetime import logging import aiohttp import discord import requests import json import ujson from discord.ext import comm...
42.222712
327
0.48417
9,047
86,261
4.482923
0.085332
0.029341
0.020712
0.016051
0.493971
0.440984
0.40003
0.365288
0.342259
0.30631
0
0.010601
0.388692
86,261
2,042
328
42.243389
0.758515
0.150404
0
0.400673
0
0.018182
0.138677
0.020328
0
0
0
0
0
1
0.012795
false
0.009428
0.015488
0.000673
0.088215
0.03569
0
0
0
null
0
0
0
0
0
0
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
c6f503162b0ef4701efc6276ebdf2a288cdafb1f
3,480
py
Python
figures/bothspectra.py
DanielAndreasen/Paper-updated-nir-linelist
a4094a1d73a58c1ee1597c6df8a11b0b9ce17777
[ "MIT" ]
null
null
null
figures/bothspectra.py
DanielAndreasen/Paper-updated-nir-linelist
a4094a1d73a58c1ee1597c6df8a11b0b9ce17777
[ "MIT" ]
null
null
null
figures/bothspectra.py
DanielAndreasen/Paper-updated-nir-linelist
a4094a1d73a58c1ee1597c6df8a11b0b9ce17777
[ "MIT" ]
null
null
null
from astropy.io import fits import numpy as np import matplotlib.pyplot as plt import seaborn as sns sns.set_style('ticks') sns.set_context('paper', font_scale=1.7) from plot_fits import get_wavelength, dopplerShift from scipy.interpolate import interp1d plt.rcParams['xtick.direction'] = 'in' """ Compare the spectrum ...
31.926606
70
0.561494
465
3,480
4.144086
0.369892
0.021796
0.035288
0.05397
0
0
0
0
0
0
0
0.120923
0.277586
3,480
108
71
32.222222
0.645585
0.008621
0
0.094118
0
0
0.075915
0
0
0
0
0
0
1
0.011765
false
0
0.070588
0
0.094118
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
c6f6ce9055d1d8634c3084a055d492122c9b4918
1,818
py
Python
EnumLasso/paper/paper_thaliana.py
t-basa/LassoVariants
ead33ac83de19865a9553dbdda9a28aa5c781e44
[ "MIT" ]
12
2016-11-30T04:39:18.000Z
2021-09-11T13:57:37.000Z
EnumLasso/paper/paper_thaliana.py
t-basa/LassoVariants
ead33ac83de19865a9553dbdda9a28aa5c781e44
[ "MIT" ]
2
2018-03-05T19:01:09.000Z
2019-10-10T00:30:55.000Z
EnumLasso/paper/paper_thaliana.py
t-basa/LassoVariants
ead33ac83de19865a9553dbdda9a28aa5c781e44
[ "MIT" ]
6
2017-08-19T17:49:51.000Z
2022-01-09T07:41:22.000Z
# -*- coding: utf-8 -*- """ @author: satohara """ import sys sys.path.append('../') import codecs import numpy as np import pandas as pd from EnumerateLinearModel import EnumLasso # data - x fn = './data/call_method_32.b' df = pd.read_csv(fn, sep=',', header=None) data_id_x = np.array([int(v) for v in df.ix[1, 2:]])...
24.90411
139
0.593509
336
1,818
3.154762
0.380952
0.037736
0.033962
0.028302
0.039623
0
0
0
0
0
0
0.031167
0.170517
1,818
73
140
24.90411
0.671751
0.074807
0
0
0
0
0.129419
0.034152
0
0
0
0
0
1
0
false
0
0.092593
0
0.092593
0.092593
0
0
0
null
0
0
0
0
0
0
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
c6f74625e459f6cfa2aca2f74b48bf8881d4641b
8,309
py
Python
lib/backup_service_client/models/bucket.py
sumedhpb/testrunner
9ff887231c75571624abc31a3fb5248110e01203
[ "Apache-2.0" ]
14
2015-02-06T02:47:57.000Z
2020-03-14T15:06:05.000Z
lib/backup_service_client/models/bucket.py
sumedhpb/testrunner
9ff887231c75571624abc31a3fb5248110e01203
[ "Apache-2.0" ]
3
2019-02-27T19:29:11.000Z
2021-06-02T02:14:27.000Z
lib/backup_service_client/models/bucket.py
sumedhpb/testrunner
9ff887231c75571624abc31a3fb5248110e01203
[ "Apache-2.0" ]
155
2018-11-13T14:57:07.000Z
2022-03-28T11:53:22.000Z
# coding: utf-8 """ Couchbase Backup Service API This is REST API allows users to remotely schedule and run backups, restores and merges as well as to explore various archives for all there Couchbase Clusters. # noqa: E501 OpenAPI spec version: 0.1.0 Generated by: https://github.com/swagger-api...
25.965625
178
0.563846
991
8,309
4.579213
0.13219
0.047598
0.095196
0.095196
0.412737
0.305862
0.281402
0.212869
0.119877
0.05465
0
0.018238
0.340113
8,309
319
179
26.047022
0.809411
0.32519
0
0.077465
0
0
0.059657
0
0
0
0
0
0
1
0.169014
false
0
0.021127
0
0.316901
0.014085
0
0
0
null
0
0
0
0
0
0
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
c6f93b1caf13cee134c81078e57fec4a501c2e10
1,618
py
Python
funciones/app.py
christophermontero/estima-tu-proyecto
19f533be203c9ac2c4383ded5a1664dd1d05d679
[ "MIT" ]
2
2021-05-29T16:57:17.000Z
2021-06-13T18:39:24.000Z
funciones/app.py
christophermontero/estima-tu-proyecto
19f533be203c9ac2c4383ded5a1664dd1d05d679
[ "MIT" ]
22
2021-05-22T18:23:40.000Z
2021-12-18T21:09:59.000Z
funciones/app.py
christophermontero/estima-tu-proyecto
19f533be203c9ac2c4383ded5a1664dd1d05d679
[ "MIT" ]
null
null
null
from flask import Flask, jsonify, request from db import db_session, init_db from model import Funcion app = Flask(__name__) app.config["JSONIFY_PRETTYPRINT_REGULAR"] = False init_db() @app.route("/funciones", methods=["POST"]) def create_funcion(): data = request.json if data["nombreFuncion"] is None: ...
25.68254
93
0.685414
194
1,618
5.572165
0.345361
0.084181
0.078631
0.044403
0.269195
0.172063
0.172063
0.092507
0
0
0
0.007257
0.148331
1,618
62
94
26.096774
0.777213
0
0
0.054054
0
0
0.189122
0.063041
0
0
0
0
0
1
0.135135
false
0
0.081081
0
0.405405
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
c6f9a9602db33208c1f896b22af13200b9be42d9
309
py
Python
onnx_script/check_onnx_model.py
abyssss52/pytorch-image-models
6ed4124c610a73fc849e7e9567bc36cf5bf38ceb
[ "Apache-2.0" ]
null
null
null
onnx_script/check_onnx_model.py
abyssss52/pytorch-image-models
6ed4124c610a73fc849e7e9567bc36cf5bf38ceb
[ "Apache-2.0" ]
null
null
null
onnx_script/check_onnx_model.py
abyssss52/pytorch-image-models
6ed4124c610a73fc849e7e9567bc36cf5bf38ceb
[ "Apache-2.0" ]
null
null
null
import onnx # Load the ONNX model model = onnx.load("./mobilenetv2_new.onnx") # model = onnx.load("../FaceAnti-Spoofing.onnx") # Check that the IR is well formed onnx.checker.check_model(model) # Print a human readable representation of the graph onnx.helper.printable_graph(model.graph) print(model.graph)
25.75
52
0.76699
47
309
4.978723
0.531915
0.102564
0.111111
0
0
0
0
0
0
0
0
0.003663
0.116505
309
11
53
28.090909
0.85348
0.485437
0
0
0
0
0.142857
0.142857
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
0
0
0
null
0
0
0
0
0
0
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
c6fa99e51df1893798f6cb4d6c3cbd2091fbf05a
7,167
py
Python
src/visualization/plot_grid.py
davimnz/boa
0546ad4df0ecabec1fd3beb1264cd0930dce13a9
[ "MIT" ]
null
null
null
src/visualization/plot_grid.py
davimnz/boa
0546ad4df0ecabec1fd3beb1264cd0930dce13a9
[ "MIT" ]
null
null
null
src/visualization/plot_grid.py
davimnz/boa
0546ad4df0ecabec1fd3beb1264cd0930dce13a9
[ "MIT" ]
null
null
null
import matplotlib.patches as mpatches import matplotlib.pyplot as plt import networkx as nx import numpy as np import pandas as pd from math import cos, radians def shift_position(pos, x_shift, y_shift) -> dict: """ Moves nodes' position by (x_shift, y_shift) """ return {n: (x + x_shift, y + y_shift)...
34.960976
76
0.635412
909
7,167
4.755776
0.192519
0.039325
0.055054
0.041638
0.433727
0.409207
0.38353
0.302105
0.284987
0.265094
0
0.01788
0.243058
7,167
204
77
35.132353
0.778986
0.053997
0
0.317241
0
0
0.069864
0.01296
0
0
0
0
0
1
0.027586
false
0
0.041379
0
0.082759
0.006897
0
0
0
null
0
0
0
0
0
0
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
c6fb42ccff41d5e02e75ca92305085547bd5ee39
3,870
py
Python
datascripts/make_placescsv.py
NCI-NAACCR-Zone-Design/Louisiana
42fb1d05c47ae01401ee3ac3cc68ff5e4f5d5c07
[ "MIT" ]
null
null
null
datascripts/make_placescsv.py
NCI-NAACCR-Zone-Design/Louisiana
42fb1d05c47ae01401ee3ac3cc68ff5e4f5d5c07
[ "MIT" ]
1
2020-03-05T23:20:38.000Z
2020-03-10T18:03:31.000Z
datascripts/make_placescsv.py
NCI-NAACCR-Zone-Design/Louisiana
42fb1d05c47ae01401ee3ac3cc68ff5e4f5d5c07
[ "MIT" ]
null
null
null
#!/bin/env python3 from osgeo import ogr import os import csv import settings class PlacesIntersector: def run(self): print("PlacesIntersector") self.reproject(settings.INPUT_ZONESFILE, settings.REPROJECTED_ZONESFILE, settings.CTAZONES_SHAPEFILE_IDFIELD, settings.CTAZONES_SHAPEFILE_NAMEFIELD) ...
39.896907
156
0.62093
404
3,870
5.856436
0.475248
0.048183
0.026627
0.032967
0.088757
0
0
0
0
0
0
0.002927
0.293798
3,870
96
157
40.3125
0.862788
0.247028
0
0
0
0.017857
0.072859
0
0
0
0
0
0
1
0.053571
false
0
0.071429
0
0.142857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
c6fd01691eb418ac4d1818fca0bd68461092ddaa
580
py
Python
Google/google_organic_results/google_organic_ads/google_regular_ads/serpapi_scrape_google_ads.py
dimitryzub/blog-posts-archive
0978aaa0c9f0142d6f996b81ce391930c5e3be35
[ "CC0-1.0" ]
null
null
null
Google/google_organic_results/google_organic_ads/google_regular_ads/serpapi_scrape_google_ads.py
dimitryzub/blog-posts-archive
0978aaa0c9f0142d6f996b81ce391930c5e3be35
[ "CC0-1.0" ]
null
null
null
Google/google_organic_results/google_organic_ads/google_regular_ads/serpapi_scrape_google_ads.py
dimitryzub/blog-posts-archive
0978aaa0c9f0142d6f996b81ce391930c5e3be35
[ "CC0-1.0" ]
null
null
null
# scrapes both regular and shopping ads (top, right blocks) from serpapi import GoogleSearch import json, os params = { "api_key": os.getenv("API_KEY"), "engine": "google", "q": "buy coffee", "gl": "us", "hl": "en" } search = GoogleSearch(params) results = search.get_dict() if results.get("ads",...
22.307692
59
0.639655
79
580
4.607595
0.544304
0.06044
0.065934
0
0
0
0
0
0
0
0
0.004292
0.196552
580
25
60
23.2
0.776824
0.098276
0
0
0
0
0.201536
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
0.157895
0
0
0
null
0
0
0
0
0
0
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
c6fd244b6ad93e904d3cfe0db3dd28977bc63c93
3,316
py
Python
tomomibot/commands/start.py
adzialocha/tomomibot
ed3964223bd63340f28d36daa014865f61aaf571
[ "MIT" ]
28
2018-07-26T09:47:32.000Z
2022-01-24T10:38:13.000Z
tomomibot/commands/start.py
adzialocha/tomomibot
ed3964223bd63340f28d36daa014865f61aaf571
[ "MIT" ]
null
null
null
tomomibot/commands/start.py
adzialocha/tomomibot
ed3964223bd63340f28d36daa014865f61aaf571
[ "MIT" ]
5
2018-08-11T08:07:23.000Z
2021-12-23T14:47:40.000Z
import click from tomomibot.cli import pass_context from tomomibot.runtime import Runtime from tomomibot.utils import check_valid_voice, check_valid_model from tomomibot.const import (INTERVAL_SEC, INPUT_DEVICE, OUTPUT_CHANNEL, INPUT_CHANNEL, OUTPUT_DEVICE, SAMPLE_RATE, ...
39.011765
77
0.596803
367
3,316
5.26703
0.299728
0.096741
0.043973
0.017589
0.155199
0.129333
0.032075
0
0
0
0
0
0.291918
3,316
84
78
39.47619
0.823254
0.010856
0
0.1
0
0
0.286805
0.015272
0
0
0
0
0
1
0.0125
false
0.025
0.0625
0
0.075
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
059b0412d51d78feb8e9b2b1008cb427fb6c0e11
5,516
py
Python
Bot/commands_handling/group_commands.py
DogsonPl/bot_for_messenger
2d6664b52b59696dc82efb3d361b7700ebb3960b
[ "MIT" ]
19
2021-03-11T12:59:00.000Z
2022-02-12T18:50:58.000Z
Bot/commands_handling/group_commands.py
DogsonPl/bot_for_messenger
2d6664b52b59696dc82efb3d361b7700ebb3960b
[ "MIT" ]
null
null
null
Bot/commands_handling/group_commands.py
DogsonPl/bot_for_messenger
2d6664b52b59696dc82efb3d361b7700ebb3960b
[ "MIT" ]
4
2021-03-10T23:07:13.000Z
2021-09-28T18:55:30.000Z
import fbchat import random as rd from .logger import logger from ..bot_actions import BotActions from ..sql import handling_group_sql BOT_WELCOME_MESSAGE = """👋 Witajcie, jestem botem 🤖 ❓ Jeśli chcesz zobaczyć moje komendy napisz !help""" def check_admin_permission(function): async def wrapper(self, event, ...
41.787879
134
0.676215
710
5,516
5.042254
0.267606
0.040223
0.054469
0.071229
0.390782
0.352793
0.248883
0.201676
0.158659
0.057542
0
0.005263
0.242205
5,516
131
135
42.10687
0.845694
0.010877
0
0.3125
0
0
0.159333
0.004217
0
0
0
0
0
1
0.026786
false
0
0.044643
0
0.133929
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
059f84fb457661f2a82136d2fab085f6c614dd8f
1,100
py
Python
util/file_parsing.py
LindaSt/BT-graph-creation
a6aa4d0ca42db4744150f11f17aea7e98d391319
[ "MIT" ]
1
2022-03-09T07:28:14.000Z
2022-03-09T07:28:14.000Z
util/file_parsing.py
LindaSt/BT-graph-creation
a6aa4d0ca42db4744150f11f17aea7e98d391319
[ "MIT" ]
null
null
null
util/file_parsing.py
LindaSt/BT-graph-creation
a6aa4d0ca42db4744150f11f17aea7e98d391319
[ "MIT" ]
null
null
null
import os import xml.etree.ElementTree as ET def parse_xml(file_path) -> dict: tree = ET.parse(file_path) root = tree.getroot() groups_colours = {i.attrib['Name']: i.attrib['Color'] for i in root.iter('Group')} groups = ['hotspot', 'lymphocytes', 'tumorbuds', 'lymphocytesR', 'tumorbudsR'] annotat...
36.666667
106
0.59
132
1,100
4.840909
0.378788
0.076682
0.037559
0.031299
0.323944
0.28482
0.234742
0.234742
0.234742
0.234742
0
0.001224
0.257273
1,100
29
107
37.931034
0.780906
0
0
0.090909
0
0
0.132848
0
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05a722d6a74837776cdd4f147e146b4674a0d013
2,205
py
Python
app.py
limjierui/money-goose-telebot
bf048e27598b9ff6da580ee62309c4ca33eae0c5
[ "MIT" ]
null
null
null
app.py
limjierui/money-goose-telebot
bf048e27598b9ff6da580ee62309c4ca33eae0c5
[ "MIT" ]
null
null
null
app.py
limjierui/money-goose-telebot
bf048e27598b9ff6da580ee62309c4ca33eae0c5
[ "MIT" ]
3
2020-12-21T16:21:45.000Z
2020-12-24T16:21:28.000Z
from flask import Flask, request import telegram from moneyGooseBot.master_mind import mainCommandHandler from moneyGooseBot.credentials import URL, reset_key, bot_token, bot_user_name from web_server import create_app # https://api.telegram.org/bot1359229669:AAEm8MG26qbA9XjJyojVKvPI7jAdMVqAkc8/getMe bot = telegram...
30.625
86
0.686168
298
2,205
4.983221
0.432886
0.026936
0.018182
0.021549
0
0
0
0
0
0
0
0.009698
0.204989
2,205
72
87
30.625
0.837422
0.277098
0
0.186047
0
0
0.176093
0
0
0
0
0
0
1
0.116279
false
0
0.116279
0.023256
0.418605
0.046512
0
0
0
null
0
0
0
0
0
0
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
05aa26976885770e54982447eb4735e665e02cf2
3,061
py
Python
final/software_tutorial/tutorial/libopencm3/scripts/data/lpc43xx/yaml_odict.py
mmwvh/ce
162064eeb6668896410c9d176fe75531cd3493fb
[ "MIT" ]
28
2021-04-08T15:59:56.000Z
2022-03-12T20:42:16.000Z
final/software_tutorial/tutorial/libopencm3/scripts/data/lpc43xx/yaml_odict.py
mmwvh/ce
162064eeb6668896410c9d176fe75531cd3493fb
[ "MIT" ]
7
2020-08-25T07:58:01.000Z
2020-09-12T20:44:12.000Z
final/software_tutorial/tutorial/libopencm3/scripts/data/lpc43xx/yaml_odict.py
mmwvh/ce
162064eeb6668896410c9d176fe75531cd3493fb
[ "MIT" ]
13
2020-02-13T18:25:57.000Z
2022-03-01T11:27:12.000Z
import yaml from collections import OrderedDict def construct_odict(load, node): """This is the same as SafeConstructor.construct_yaml_omap(), except the data type is changed to OrderedDict() and setitem is used instead of append in the loop. >>> yaml.load(''' ... !!omap ... - foo: bar ......
37.329268
90
0.613525
387
3,061
4.736434
0.271318
0.0491
0.03928
0.052373
0.302237
0.302237
0.253137
0.238407
0.217676
0.217676
0
0.004822
0.254819
3,061
81
91
37.790123
0.798772
0.285528
0
0.142857
0
0
0.129745
0.021144
0
0
0
0
0
1
0.061224
false
0
0.040816
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05ac654490e3084f2724bef66dfbbee9d64e72f4
10,609
py
Python
app.py
isabella232/arrested-development
ac53eb71a4cacc3793d51ff2c2c3c51a7c384dea
[ "FSFAP" ]
1
2015-03-16T21:22:58.000Z
2015-03-16T21:22:58.000Z
app.py
nprapps/arrested-development
ac53eb71a4cacc3793d51ff2c2c3c51a7c384dea
[ "FSFAP" ]
1
2021-02-24T06:08:41.000Z
2021-02-24T06:08:41.000Z
app.py
isabella232/arrested-development
ac53eb71a4cacc3793d51ff2c2c3c51a7c384dea
[ "FSFAP" ]
2
2015-02-22T23:39:11.000Z
2021-02-23T10:45:05.000Z
#!/usr/bin/env python import json from mimetypes import guess_type import urllib import envoy from flask import Flask, Markup, abort, render_template, redirect, Response import app_config from models import Joke, Episode, EpisodeJoke, JokeConnection from render_utils import flatten_app_config, make_context app = Fl...
33.153125
112
0.624658
1,279
10,609
5.014073
0.145426
0.039451
0.018712
0.019648
0.398098
0.305005
0.221737
0.213317
0.156869
0.110089
0
0.006552
0.223112
10,609
319
113
33.257053
0.771536
0.014327
0
0.247863
0
0.004274
0.178722
0.050517
0
0
0
0
0
1
0.07265
false
0.004274
0.059829
0.008547
0.213675
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
05ae582a0fb6d75889c4d858419450e634ed3a1d
12,129
py
Python
json_modify.py
Enacero/yaml-patch
7270d431447c82d665622cc316f0941214e7eee2
[ "MIT" ]
2
2020-04-21T08:49:39.000Z
2020-12-21T07:28:43.000Z
json_modify.py
Enacero/json_modify
7270d431447c82d665622cc316f0941214e7eee2
[ "MIT" ]
null
null
null
json_modify.py
Enacero/json_modify
7270d431447c82d665622cc316f0941214e7eee2
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2020 Oleksii Petrenko # # 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...
32.692722
88
0.612252
1,513
12,129
4.820886
0.144085
0.029613
0.032904
0.028654
0.415136
0.319852
0.290376
0.250343
0.233342
0.207294
0
0.001739
0.288812
12,129
370
89
32.781081
0.843844
0.242147
0
0.31405
0
0
0.158541
0
0
0
0
0
0
1
0.041322
false
0
0.020661
0
0.095041
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
05aed2b7bdb2d62afb387bf3fa03ff50f51651b0
43,958
py
Python
serial_scripts/vm_regression/test_vm_serial.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
1
2017-06-13T04:42:34.000Z
2017-06-13T04:42:34.000Z
serial_scripts/vm_regression/test_vm_serial.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
null
null
null
serial_scripts/vm_regression/test_vm_serial.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
null
null
null
import traffic_tests from vn_test import * from vm_test import * from floating_ip import * from policy_test import * from compute_node_test import ComputeNodeFixture from user_test import UserFixture from multiple_vn_vm_test import * from tcutils.wrappers import preposttest_wrapper sys.path.append(os.path.realpath('tcu...
46.125918
140
0.626189
5,636
43,958
4.61533
0.099184
0.039982
0.022605
0.018299
0.631824
0.582231
0.531755
0.488851
0.439413
0.396702
0
0.020339
0.287524
43,958
952
141
46.17437
0.810211
0.142318
0
0.471879
0
0
0.140257
0.016847
0
0
0
0
0.082305
1
0.019204
false
0.03155
0.027435
0
0.0631
0.001372
0
0
0
null
0
0
0
0
0
0
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
05b079948e8c02888049d1f77a57cfcbe4bb8e4b
1,432
py
Python
readouts/basic_readout.py
qbxlvnf11/graph-neural-networks-for-graph-classification
5d69ead58c786aa8e472ab0433156fe09fe6ca4b
[ "MIT" ]
20
2020-09-02T07:07:35.000Z
2022-03-16T15:22:14.000Z
readouts/basic_readout.py
yuexiarenjing/graph-neural-networks-for-graph-classification
5d69ead58c786aa8e472ab0433156fe09fe6ca4b
[ "MIT" ]
2
2021-11-01T08:32:10.000Z
2022-03-25T04:29:35.000Z
readouts/basic_readout.py
yuexiarenjing/graph-neural-networks-for-graph-classification
5d69ead58c786aa8e472ab0433156fe09fe6ca4b
[ "MIT" ]
11
2020-09-02T07:13:46.000Z
2022-03-23T10:38:07.000Z
import torch def readout_function(x, readout, batch=None, device=None): if len(x.size()) == 3: if readout == 'max': return torch.max(x, dim=1)[0].squeeze() # max readout elif readout == 'avg': return torch.mean(x, dim=1).squeeze() # avg readout elif readout == 'sum': return torch.sum(x,...
34.095238
77
0.552374
197
1,432
3.944162
0.192893
0.046332
0.138996
0.061776
0.552124
0.552124
0.512227
0.471042
0.471042
0.471042
0
0.016865
0.296089
1,432
42
78
34.095238
0.753968
0.074721
0
0.405405
0
0
0.020517
0
0
0
0
0
0
1
0.027027
false
0
0.027027
0
0.162162
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
05b2b6ec5edc971fee6f55c38fd27eec4af6014d
11,493
py
Python
plugins/helpers/EFO.py
opentargets/platform-input-support
555c3ed091a7a3a767dc0c37054dbcd369f02252
[ "Apache-2.0" ]
4
2019-03-26T15:54:35.000Z
2021-05-27T13:18:43.000Z
plugins/helpers/EFO.py
opentargets/platform-input-support
555c3ed091a7a3a767dc0c37054dbcd369f02252
[ "Apache-2.0" ]
12
2019-04-23T14:45:04.000Z
2022-03-17T09:40:04.000Z
plugins/helpers/EFO.py
opentargets/platform-input-support
555c3ed091a7a3a767dc0c37054dbcd369f02252
[ "Apache-2.0" ]
2
2019-06-15T17:21:14.000Z
2021-05-14T18:35:18.000Z
import logging import re import json import jsonlines from urllib import parse logger = logging.getLogger(__name__) # EFO # The current implementation is based on the conversion from owl format to json lines format using Apache RIOT # The structure disease_obsolete stores the obsolete terms and it is used to retriev...
40.326316
116
0.59297
1,352
11,493
4.892012
0.180473
0.061687
0.033868
0.017992
0.156033
0.090717
0.065618
0.034775
0.034775
0.034775
0
0.00859
0.301053
11,493
284
117
40.46831
0.814764
0.137736
0
0.07109
0
0
0.095465
0.002328
0
0
0
0.003521
0
1
0.118483
false
0
0.023697
0.009479
0.218009
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
05b664d9f22c51662666d538e6f424b0f69a4ea2
948
py
Python
interaction3/mfield/tests/test_transmit_receive_beamplot.py
bdshieh/interaction3
b44c390045cf3b594125e90d2f2f4f617bc2433b
[ "MIT" ]
2
2020-07-08T14:42:52.000Z
2022-03-13T05:25:55.000Z
interaction3/mfield/tests/test_transmit_receive_beamplot.py
bdshieh/interaction3
b44c390045cf3b594125e90d2f2f4f617bc2433b
[ "MIT" ]
null
null
null
interaction3/mfield/tests/test_transmit_receive_beamplot.py
bdshieh/interaction3
b44c390045cf3b594125e90d2f2f4f617bc2433b
[ "MIT" ]
null
null
null
import numpy as np from interaction3 import abstract from interaction3.arrays import matrix from interaction3.mfield.solvers.transmit_receive_beamplot_2 import TransmitReceiveBeamplot2 array = matrix.create(nelem=[2, 2]) simulation = abstract.MfieldSimulation(sampling_frequency=100e6, ...
35.111111
92
0.517932
82
948
5.853659
0.585366
0.025
0.01875
0
0
0
0
0
0
0
0
0.06383
0.405063
948
26
93
36.461538
0.787234
0
0
0
0
0
0.012685
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05b7efff7d41c4651007c0d46a051ea437cab70c
16,172
py
Python
scripts/make_plots.py
facebookresearch/mpcfp
cb29797aa4f2ce524dd584ecf47c863fd9f414a6
[ "MIT" ]
5
2020-11-18T23:55:17.000Z
2022-01-14T07:15:35.000Z
scripts/make_plots.py
facebookresearch/mpcfp
cb29797aa4f2ce524dd584ecf47c863fd9f414a6
[ "MIT" ]
null
null
null
scripts/make_plots.py
facebookresearch/mpcfp
cb29797aa4f2ce524dd584ecf47c863fd9f414a6
[ "MIT" ]
2
2021-11-06T14:06:13.000Z
2022-01-14T07:16:29.000Z
#!/usr/bin/env python2 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from __future__ import absolute_import from __future__ import division from __future__ import print_function from __fu...
32.539235
79
0.537225
2,046
16,172
4.134897
0.156892
0.021277
0.009929
0.019858
0.56182
0.540544
0.520567
0.486525
0.477778
0.448936
0
0.039293
0.310722
16,172
496
80
32.604839
0.719656
0.039327
0
0.51005
0
0
0.10826
0.043974
0
0
0
0
0.01005
1
0.032663
false
0
0.030151
0
0.070352
0.002513
0
0
0
null
0
0
0
0
0
0
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
05b87ef1f9d957ce2aacbc7ba9bf31d3f24627e5
2,782
py
Python
example_backtesting.py
brokenlab/finance4py
839fb4c262c369973c1afaebb23291355f8b4668
[ "MIT" ]
6
2016-12-28T03:40:46.000Z
2017-03-31T12:04:43.000Z
example_backtesting.py
brokenlab/finance4py
839fb4c262c369973c1afaebb23291355f8b4668
[ "MIT" ]
null
null
null
example_backtesting.py
brokenlab/finance4py
839fb4c262c369973c1afaebb23291355f8b4668
[ "MIT" ]
3
2018-04-26T03:14:29.000Z
2021-06-13T16:18:04.000Z
# -*- coding: utf-8 -*- ''' * finance4py * Based on Python Data Analysis Library. * 2016/03/22 by Sheg-Huai Wang <m10215059@csie.ntust.edu.tw> * Copyright (c) 2016, finance4py team * All rights reserved. * Redistribution and use in source and binary forms, with or without modification, are permitted ...
35.21519
104
0.727175
392
2,782
5.094388
0.512755
0.040561
0.022534
0.028543
0.128192
0.068102
0.068102
0.068102
0.068102
0.068102
0
0.025033
0.181524
2,782
79
105
35.21519
0.851998
0.672538
0
0
0
0
0.108945
0
0
0
0
0
0
1
0.125
false
0
0.125
0.083333
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05b95038357172273cd6bf5b94205ef5e3a1bff8
2,818
py
Python
main.py
af12066/cancel-sit
29977bb86927e69ae7f94a160ef4d1fb810f0117
[ "MIT" ]
null
null
null
main.py
af12066/cancel-sit
29977bb86927e69ae7f94a160ef4d1fb810f0117
[ "MIT" ]
null
null
null
main.py
af12066/cancel-sit
29977bb86927e69ae7f94a160ef4d1fb810f0117
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) T. H. import urllib.request import re import urllib.parse import codecs import filecmp import os.path import os from bs4 import BeautifulSoup from slacker import Slacker from datetime import datetime class Slack(object): __slacker = None def __init__(self, token): ...
29.663158
220
0.625621
313
2,818
5.498403
0.460064
0.025567
0.022661
0.034863
0.063916
0.063916
0.063916
0.063916
0.063916
0.063916
0
0.011236
0.242016
2,818
94
221
29.978723
0.794476
0.173172
0
0.107143
0
0.017857
0.07672
0
0
0
0
0
0
1
0.071429
false
0
0.178571
0
0.303571
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05be03857ac9bab749c288e65ba7f0f36541df9b
4,561
py
Python
Scripts/simulation/gsi_handlers/object_lost_and_found_service_handlers.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/gsi_handlers/object_lost_and_found_service_handlers.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/gsi_handlers/object_lost_and_found_service_handlers.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\gsi_handlers\object_lost_and_found_service_handlers.py # Compiled at: 2018-10-26 00:20:22 # Size of ...
44.281553
110
0.70182
642
4,561
4.601246
0.182243
0.032498
0.05281
0.056872
0.531483
0.455315
0.27759
0.207177
0.128639
0.111713
0
0.018407
0.201929
4,561
103
111
44.281553
0.793132
0.073668
0
0.151163
0
0
0.069685
0.017303
0
0
0
0
0
1
0.046512
false
0
0.034884
0
0.162791
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
05bf284e1bf49c109f8df75324eddb8540d17a61
685
py
Python
testing/test_pendulum.py
delock/pytorch-a3c-mujoco
82e0c854417ac05e0f414eab1710794d41515591
[ "MIT" ]
null
null
null
testing/test_pendulum.py
delock/pytorch-a3c-mujoco
82e0c854417ac05e0f414eab1710794d41515591
[ "MIT" ]
null
null
null
testing/test_pendulum.py
delock/pytorch-a3c-mujoco
82e0c854417ac05e0f414eab1710794d41515591
[ "MIT" ]
null
null
null
#Importing OpenAI gym package and MuJoCo engine import gym import numpy as np import mujoco_py import matplotlib.pyplot as plt import env #Setting MountainCar-v0 as the environment env = gym.make('InvertedPendulum-down') #Sets an initial state env.reset() print (env.action_space) # Rendering our instance 300 times i =...
25.37037
70
0.706569
104
685
4.615385
0.634615
0.06875
0.075
0
0
0
0
0
0
0
0
0.014388
0.188321
685
26
71
26.346154
0.848921
0.382482
0
0
0
0
0.125
0.050481
0
0
0
0
0
1
0
false
0
0.277778
0
0.277778
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
05bf7c9f0303c517554bb2670af4a9a4baf2a54a
5,317
py
Python
plots/plot_drift_types.py
ChristophRaab/RRSLVQ
e265f62e023bd3ca23273b51e06035fd3c0b7c94
[ "MIT" ]
1
2021-06-22T20:54:03.000Z
2021-06-22T20:54:03.000Z
plots/plot_drift_types.py
ChristophRaab/RRSLVQ
e265f62e023bd3ca23273b51e06035fd3c0b7c94
[ "MIT" ]
5
2020-04-20T09:31:02.000Z
2021-07-10T01:23:36.000Z
plots/plot_drift_types.py
ChristophRaab/RRSLVQ
e265f62e023bd3ca23273b51e06035fd3c0b7c94
[ "MIT" ]
1
2020-07-03T04:00:47.000Z
2020-07-03T04:00:47.000Z
import matplotlib.pyplot as plt import numpy as np from scipy.special import logit import pandas as pd from matplotlib.axes import Axes, Subplot from matplotlib.collections import LineCollection from matplotlib.colors import ListedColormap, BoundaryNorm SMALL = 14 SIZE = 16 plt.rc('font', size=SIZE) # controls defaul...
33.024845
130
0.671995
792
5,317
4.385101
0.179293
0.15203
0.07256
0.062194
0.663979
0.639217
0.639217
0.60812
0.601209
0.577023
0
0.040267
0.182622
5,317
160
131
33.23125
0.758859
0.106827
0
0.64486
0
0
0.055203
0.004442
0
0
0
0
0
1
0.037383
false
0
0.065421
0
0.102804
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
05c1f456776569370085a917d41ee8b850f0a3b7
15,773
py
Python
simulation/src/utils.py
VIDA-NYU/pedestrian-sensing-model
e8f0a6d3e47fc2a2577ac502f607568b3b7f2abf
[ "MIT" ]
2
2020-01-14T12:44:11.000Z
2021-09-29T16:09:37.000Z
simulation/src/utils.py
VIDA-NYU/pedestrian-sensing-model
e8f0a6d3e47fc2a2577ac502f607568b3b7f2abf
[ "MIT" ]
1
2021-09-11T14:13:57.000Z
2021-09-11T14:13:57.000Z
simulation/src/utils.py
VIDA-NYU/pedestrian-sensing-model
e8f0a6d3e47fc2a2577ac502f607568b3b7f2abf
[ "MIT" ]
2
2020-07-13T17:08:25.000Z
2021-03-31T15:10:58.000Z
#!/usr/bin/env python3 import numpy as np import math import random import time import scipy.misc import scipy.signal import multiprocessing import json import itertools import os import pprint from collections import namedtuple from fractions import gcd from optimized import get_distance OBSTACLE = -1 MAX = 21474836...
30.216475
140
0.573131
1,984
15,773
4.470262
0.21119
0.00902
0.009471
0.013418
0.252227
0.216597
0.19337
0.187282
0.187282
0.183899
0
0.022758
0.258987
15,773
521
141
30.274472
0.736054
0.246878
0
0.077206
0
0
0.024402
0.002227
0
0
0
0.001919
0
1
0.099265
false
0
0.051471
0.007353
0.246324
0.014706
0
0
0
null
0
0
0
0
0
0
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
05c354eab5a376b1dcdf00dc912ca4e24bdc43ea
2,438
py
Python
luxor/controllers/types.py
sam007961/luxor
31838c937b61bfbc400103d58ec5b5070471767e
[ "MIT" ]
null
null
null
luxor/controllers/types.py
sam007961/luxor
31838c937b61bfbc400103d58ec5b5070471767e
[ "MIT" ]
5
2020-09-06T15:44:13.000Z
2020-11-02T11:30:22.000Z
luxor/controllers/types.py
sam007961/luxor
31838c937b61bfbc400103d58ec5b5070471767e
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import Union from luxor.core.events import Event from luxor.controllers.expressions import Var class Int(Var): def __init__(self, value: Number = 0, **kwargs) -> None: super(Int, self).__init__(**kwargs) self.event_prefix = self.name + '.int.' ...
30.098765
73
0.511895
275
2,438
4.378182
0.192727
0.05814
0.062292
0.066445
0.106312
0.084718
0.059801
0.059801
0
0
0
0.000637
0.35644
2,438
80
74
30.475
0.76673
0
0
0.153846
0
0
0.068089
0
0
0
0
0
0
1
0.184615
false
0.015385
0.061538
0.092308
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
05c66e3dcdf2a391e7cb2ae90afaebe8a08c59e9
3,483
py
Python
skeletons/browser/browser.py
gbkim000/wxPython
b1604d71cf04801f9efa8b26b935561a88ef1daa
[ "BSD-2-Clause" ]
80
2018-05-25T00:37:25.000Z
2022-03-13T12:31:02.000Z
skeletons/browser/browser.py
gbkim000/wxPython
b1604d71cf04801f9efa8b26b935561a88ef1daa
[ "BSD-2-Clause" ]
1
2021-01-08T20:22:52.000Z
2021-01-08T20:22:52.000Z
skeletons/browser/browser.py
gbkim000/wxPython
b1604d71cf04801f9efa8b26b935561a88ef1daa
[ "BSD-2-Clause" ]
32
2018-05-24T05:40:55.000Z
2022-03-24T00:32:11.000Z
#!/usr/bin/python """ ZetCode wxPython tutorial This program creates a browser UI. author: Jan Bodnar website: zetcode.com last edited: May 2018 """ import wx from wx.lib.buttons import GenBitmapTextButton class Example(wx.Frame): def __init__(self, *args, **kw): super(Example, self).__init__(*args, *...
27.642857
83
0.584266
425
3,483
4.727059
0.275294
0.062718
0.062718
0.089597
0.349428
0.232952
0.214037
0
0
0
0
0.028402
0.272179
3,483
125
84
27.864
0.764103
0.050531
0
0.107143
0
0
0.060036
0
0
0
0
0
0
1
0.047619
false
0
0.02381
0
0.083333
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
05c7ce421e8fdf3698aad581723528f431eaafbe
1,673
py
Python
model/tds_block.py
SABER-labs/SABERv2
028d403beadec3adebd51582fd8ef896a2fe3696
[ "MIT" ]
1
2022-03-02T02:52:24.000Z
2022-03-02T02:52:24.000Z
model/tds_block.py
SABER-labs/SABERv2
028d403beadec3adebd51582fd8ef896a2fe3696
[ "MIT" ]
null
null
null
model/tds_block.py
SABER-labs/SABERv2
028d403beadec3adebd51582fd8ef896a2fe3696
[ "MIT" ]
null
null
null
import torch import torch.nn as nn class TDSBlock(nn.Module): def __init__(self, channels, kernel_size, width, dropout, right_padding): super().__init__() self.channels = channels self.width = width assert(right_padding >= 0) self.conv_block = nn.Sequential( ...
28.355932
77
0.545129
228
1,673
3.833333
0.298246
0.048055
0.022883
0.01373
0.28833
0.162471
0.1373
0
0
0
0
0.037004
0.321578
1,673
58
78
28.844828
0.73304
0.022116
0
0.133333
0
0
0.026961
0.014706
0
0
0
0
0.022222
1
0.044444
false
0
0.066667
0
0.155556
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05c8724a622688c0f5c093058bd7213a2efddffc
1,968
py
Python
blackcompany/serve/vcs.py
clckwrkbdgr/blackcompany
9164a0db3e9f11878ce12da6ebdf82a300e1c6f4
[ "WTFPL" ]
null
null
null
blackcompany/serve/vcs.py
clckwrkbdgr/blackcompany
9164a0db3e9f11878ce12da6ebdf82a300e1c6f4
[ "WTFPL" ]
null
null
null
blackcompany/serve/vcs.py
clckwrkbdgr/blackcompany
9164a0db3e9f11878ce12da6ebdf82a300e1c6f4
[ "WTFPL" ]
null
null
null
from ._base import Endpoint from ..util._six import Path import bottle from ..util import gitHttpBackend class GitHTTPBackend: """ WSGI git-http-backend interface to actual endpoints. """ def __init__(self, route, repo_root): self.route = route self.repo_root = Path(repo_root) def get(self, path): return sel...
37.846154
143
0.758638
280
1,968
5.067857
0.3
0.033827
0.049331
0.02537
0.118393
0.0747
0.042283
0
0
0
0
0
0.124492
1,968
51
144
38.588235
0.823564
0.126524
0
0.051282
0
0
0.047981
0
0
0
0
0
0
1
0.179487
false
0
0.102564
0.076923
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05cc0547376efd7b3d0398149b11f68433ccaf60
2,999
py
Python
imaginaire/discriminators/cagan.py
zebincai/imaginaire
f5a707f449d93c33fbfe19bcd975a476f2c1dd7a
[ "RSA-MD" ]
null
null
null
imaginaire/discriminators/cagan.py
zebincai/imaginaire
f5a707f449d93c33fbfe19bcd975a476f2c1dd7a
[ "RSA-MD" ]
null
null
null
imaginaire/discriminators/cagan.py
zebincai/imaginaire
f5a707f449d93c33fbfe19bcd975a476f2c1dd7a
[ "RSA-MD" ]
null
null
null
# Copyright (C) 2020 NVIDIA Corporation. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, check out LICENSE.md import torch import torch.nn as nn from imaginaire.layers import Conv2dBlock from imaginaire.layers.misc import ApplyNoise...
40.527027
102
0.617206
383
2,999
4.644909
0.357702
0.006745
0.059022
0.047218
0.196178
0.037099
0.037099
0
0
0
0
0.057683
0.277426
2,999
73
103
41.082192
0.763267
0.14905
0
0
0
0
0.051534
0.029039
0
0
0
0
0
1
0.041667
false
0
0.104167
0
0.1875
0.020833
0
0
0
null
0
0
0
0
0
0
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
05cc10143e791bcc38db23bf914cc748df6a3237
2,959
py
Python
Chapter10/Ch10/server/database.py
henrryyanez/Tkinter-GUI-Programming-by-Example
c8a326d6034b5e54f77605a8ec840cb8fac89412
[ "MIT" ]
127
2018-08-27T16:34:43.000Z
2022-03-22T19:20:53.000Z
Chapter10/Ch10/server/database.py
PiotrAdaszewski/Tkinter-GUI-Programming-by-Example
c8a326d6034b5e54f77605a8ec840cb8fac89412
[ "MIT" ]
8
2019-04-11T06:47:36.000Z
2022-03-11T23:23:42.000Z
Chapter10/Ch10/server/database.py
PiotrAdaszewski/Tkinter-GUI-Programming-by-Example
c8a326d6034b5e54f77605a8ec840cb8fac89412
[ "MIT" ]
85
2018-04-30T19:42:21.000Z
2022-03-30T01:22:54.000Z
import sqlite3 class Database: def __init__(self): self.database = "chat.db" def perform_insert(self, sql, params): conn = sqlite3.connect(self.database) cursor = conn.cursor() cursor.execute(sql, params) conn.commit() conn.close() def perform_select(self,...
30.822917
117
0.630618
365
2,959
4.920548
0.194521
0.055122
0.056793
0.066815
0.322383
0.264477
0.170379
0.089087
0
0
0
0.006464
0.267996
2,959
95
118
31.147368
0.822715
0
0
0.268657
0
0.014925
0.199054
0
0
0
0
0
0
1
0.179104
false
0
0.014925
0
0.328358
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
05cea8e33b54e9775229454c04e0071781d3127e
938
py
Python
ad_hoc_scripts/update_by_condition.py
IgorZyktin/MediaStorageSystem
df8d260581cb806eb54f320d63aa674c6175c17e
[ "MIT" ]
2
2021-03-06T16:07:30.000Z
2021-03-17T10:27:25.000Z
ad_hoc_scripts/update_by_condition.py
IgorZyktin/MediaStorageSystem
df8d260581cb806eb54f320d63aa674c6175c17e
[ "MIT" ]
null
null
null
ad_hoc_scripts/update_by_condition.py
IgorZyktin/MediaStorageSystem
df8d260581cb806eb54f320d63aa674c6175c17e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Non user friendly script. """ from mss.core.class_filesystem import Filesystem def update_by_condition(root_path: str, theme: str): """Change records by condition.""" fs = Filesystem() path = fs.join(root_path, theme, 'metainfo') for folder, filename, name, ext in fs.iter_...
26.055556
57
0.590618
115
938
4.573913
0.53913
0.060837
0.064639
0.079848
0.095057
0
0
0
0
0
0
0.004458
0.282516
938
35
58
26.8
0.777117
0.08209
0
0
0
0
0.155477
0.028269
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.090909
0.045455
0
0
0
null
0
0
0
0
0
0
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
05cf590b42b6da085a51776ee9e5aa949a057c25
2,555
py
Python
2.ReinforcementLearning/RL_Book/1-gridworld/environment_value_iteration.py
link-kut/deeplink_public
688c379bfeb63156e865d78d0428f97d7d203cc1
[ "MIT" ]
null
null
null
2.ReinforcementLearning/RL_Book/1-gridworld/environment_value_iteration.py
link-kut/deeplink_public
688c379bfeb63156e865d78d0428f97d7d203cc1
[ "MIT" ]
11
2020-01-28T22:33:49.000Z
2022-03-11T23:41:08.000Z
2.ReinforcementLearning/RL_Book/1-gridworld/environment_value_iteration.py
link-kut/deeplink_public
688c379bfeb63156e865d78d0428f97d7d203cc1
[ "MIT" ]
2
2019-06-01T04:14:52.000Z
2020-05-31T08:13:23.000Z
from environment import * import random class ValueIterationGraphicDisplay(GraphicDisplay): def __init__(self, agent, title): self.btn_1_text = "Calculate" self.btn_2_text = "Print Policy" self.btn_1_func = self.calculate_value self.btn_2_func = self.print_optimal_policy sel...
39.307692
94
0.600391
351
2,555
4.150997
0.22792
0.054907
0.07138
0.07687
0.303363
0.277282
0.227865
0.196294
0.196294
0.196294
0
0.023613
0.28728
2,555
65
95
39.307692
0.776496
0.007045
0
0.074074
0
0
0.008291
0
0
0
0
0
0
1
0.111111
false
0
0.037037
0
0.185185
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05cff405e8dd7ef93166ffc63471b8011294be84
8,289
py
Python
csimpy/test.py
dewancse/csimpy
58c32e40e5d991b4ca98df05e6f61020def475a9
[ "Apache-2.0" ]
null
null
null
csimpy/test.py
dewancse/csimpy
58c32e40e5d991b4ca98df05e6f61020def475a9
[ "Apache-2.0" ]
null
null
null
csimpy/test.py
dewancse/csimpy
58c32e40e5d991b4ca98df05e6f61020def475a9
[ "Apache-2.0" ]
null
null
null
from enum import Enum from math import * from scipy import integrate import matplotlib.pyplot as plt from libcellml import * import lxml.etree as ET __version__ = "0.1.0" LIBCELLML_VERSION = "0.2.0" STATE_COUNT = 1 VARIABLE_COUNT = 29 class VariableType(Enum): CONSTANT = 1 COMPUTED_CONSTANT = 2 ALGEBRAI...
42.507692
268
0.68054
1,130
8,289
4.839823
0.177876
0.084842
0.052843
0.090144
0.520205
0.465533
0.439386
0.368257
0.335345
0.287073
0
0.058824
0.120159
8,289
195
269
42.507692
0.691074
0.129328
0
0
0
0
0.231381
0
0
0
0
0
0
1
0.058824
false
0
0.05042
0.016807
0.168067
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05d4760733051270e73120a1ac9a61ea86e6cde5
1,800
py
Python
DOOM.py
ariel139/DOOM-port-scanner
328678b9f79855de472967f1a3e4b3e9181a3706
[ "MIT" ]
6
2020-11-24T06:51:02.000Z
2022-02-26T23:19:46.000Z
DOOM.py
ariel139/DOOM-port-scanner
328678b9f79855de472967f1a3e4b3e9181a3706
[ "MIT" ]
null
null
null
DOOM.py
ariel139/DOOM-port-scanner
328678b9f79855de472967f1a3e4b3e9181a3706
[ "MIT" ]
null
null
null
import socket from IPy import IP print(""" You are using the DOOM Port scanner. This tool is for educational purpose ONLY!!!! 1. You can change the range of the ports you want to scan. 2. You can change the speedof the scan 3. you can scan a list of targets by using ', ' after each target 4. You can sc...
24.657534
111
0.597778
270
1,800
3.907407
0.32963
0.022749
0.036967
0.028436
0.030332
0
0
0
0
0
0
0.010408
0.306111
1,800
72
112
25
0.834267
0.095
0
0.1875
0
0.020833
0.367979
0
0
0
0
0
0
1
0.083333
false
0
0.041667
0.020833
0.1875
0.104167
0
0
0
null
0
0
0
0
0
0
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
05d4a6a91e58732f8757086328fccaf5f8b61a70
9,380
py
Python
finding_models/testing_classifiers.py
NtMalDetect/NtMalDetect
5bf8f35491bf8081d0b721fa1bf90582b410ed74
[ "MIT" ]
10
2018-01-04T07:59:59.000Z
2022-01-17T08:56:33.000Z
finding_models/testing_classifiers.py
NtMalDetect/NtMalDetect
5bf8f35491bf8081d0b721fa1bf90582b410ed74
[ "MIT" ]
2
2020-01-12T19:32:05.000Z
2020-04-11T09:38:07.000Z
finding_models/testing_classifiers.py
NtMalDetect/NtMalDetect
5bf8f35491bf8081d0b721fa1bf90582b410ed74
[ "MIT" ]
1
2018-08-31T04:13:43.000Z
2018-08-31T04:13:43.000Z
from __future__ import print_function import logging import numpy as np from optparse import OptionParser import sys from time import time import matplotlib.pyplot as plt from sklearn.feature_extraction.text import TfidfVectorizer, CountVectorizer from sklearn.feature_extraction.text import HashingVectorizer from skl...
31.059603
150
0.698294
1,219
9,380
5.231337
0.248564
0.031363
0.027599
0.01035
0.243218
0.168104
0.12106
0.105065
0.084993
0.084993
0
0.018305
0.178785
9,380
301
151
31.162791
0.809555
0.042111
0
0.198157
0
0
0.179058
0
0
0
0
0
0
1
0.009217
false
0.009217
0.119816
0
0.133641
0.276498
0
0
0
null
0
0
0
0
0
0
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
05d5479edfdc67ed72d1fed7ba706e163051f970
5,953
py
Python
neutron/tests/fullstack/test_firewall.py
knodir/neutron
ac4e28478ac8a8a0c9f5c5785f6a6bcf532c66b8
[ "Apache-2.0" ]
1
2018-10-19T01:48:37.000Z
2018-10-19T01:48:37.000Z
neutron/tests/fullstack/test_firewall.py
knodir/neutron
ac4e28478ac8a8a0c9f5c5785f6a6bcf532c66b8
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
neutron/tests/fullstack/test_firewall.py
knodir/neutron
ac4e28478ac8a8a0c9f5c5785f6a6bcf532c66b8
[ "Apache-2.0" ]
2
2020-03-15T01:24:15.000Z
2020-07-22T20:34:26.000Z
# Copyright 2018 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
38.908497
79
0.666891
702
5,953
5.433048
0.340456
0.028841
0.029366
0.020975
0.186418
0.153907
0.099895
0.073676
0.073676
0.073676
0
0.006567
0.258189
5,953
152
80
39.164474
0.857111
0.199731
0
0.173077
0
0
0.055556
0
0
0
0
0.006579
0.019231
1
0.057692
false
0.019231
0.125
0
0.221154
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
05d679b96fcc27f56541b2f87e6ba4b22f90adbe
709
py
Python
Analysis/pdf_to_txt.py
ashishnitinpatil/resanalysersite
0604d2fed4760be741c4d90b6d230d0f2cd8bf9e
[ "CC-BY-4.0" ]
null
null
null
Analysis/pdf_to_txt.py
ashishnitinpatil/resanalysersite
0604d2fed4760be741c4d90b6d230d0f2cd8bf9e
[ "CC-BY-4.0" ]
null
null
null
Analysis/pdf_to_txt.py
ashishnitinpatil/resanalysersite
0604d2fed4760be741c4d90b6d230d0f2cd8bf9e
[ "CC-BY-4.0" ]
null
null
null
from pdfminer.pdfinterp import PDFResourceManager, process_pdf from pdfminer.converter import TextConverter from pdfminer.layout import LAParams from cStringIO import StringIO def convert_pdf(path): rsrcmgr = PDFResourceManager() retstr = StringIO() codec = 'utf-8' laparams = LAParams() device = T...
27.269231
83
0.712271
87
709
5.735632
0.482759
0.072144
0.044088
0.072144
0.136273
0.136273
0
0
0
0
0
0.001692
0.166432
709
25
84
28.36
0.84264
0
0
0
0
0
0.146685
0.090268
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.315789
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
05d6c824429b4f5fccdfe1433815eb6c96e18c8f
480
py
Python
local/handler/TravisHandler.py
fasterit/supybot-github
37b80046c0f0d5a66b2107a63e380002adbb66f5
[ "MIT" ]
7
2016-07-16T22:16:37.000Z
2021-06-14T20:45:37.000Z
local/handler/TravisHandler.py
fasterit/supybot-github
37b80046c0f0d5a66b2107a63e380002adbb66f5
[ "MIT" ]
30
2015-06-03T22:40:28.000Z
2022-02-11T08:49:44.000Z
local/handler/TravisHandler.py
fasterit/supybot-github
37b80046c0f0d5a66b2107a63e380002adbb66f5
[ "MIT" ]
5
2018-01-12T21:28:50.000Z
2020-10-01T13:44:09.000Z
from ..utility import * def handle(data, theme): if isStatusVisible(data['repository']['url'], data['status_message'].lower()): theme.travis( branch = data['branch'], repo = data['repository']['name'], status = data['status_message'], commitId = data['commit'...
34.285714
82
0.554167
44
480
5.954545
0.590909
0.10687
0.129771
0
0
0
0
0
0
0
0
0
0.2875
480
13
83
36.923077
0.766082
0
0
0
0
0
0.195833
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05e10cbd60c9a8c4e9d6e849c57e56e13a3dc1f5
3,596
py
Python
Code/network_model_HiCoDe.py
AbinavRavi/Network_Analysis_Eur_Parl
dea84d3375eea07676e0193d575e3deef76312bc
[ "MIT" ]
1
2020-12-15T16:35:20.000Z
2020-12-15T16:35:20.000Z
Code/network_model_HiCoDe.py
AbinavRavi/Network_Analysis_Eur_Parl
dea84d3375eea07676e0193d575e3deef76312bc
[ "MIT" ]
null
null
null
Code/network_model_HiCoDe.py
AbinavRavi/Network_Analysis_Eur_Parl
dea84d3375eea07676e0193d575e3deef76312bc
[ "MIT" ]
null
null
null
import numpy as np import scipy as sp import pandas as pd import ast import itertools from itertools import product from collections import Counter import networkx as nx import network_utils as nu import hicode as hc import matplotlib.pyplot as plt import matplotlib.cm as cm plt.style.use('classic') # ------------...
38.666667
121
0.547553
464
3,596
4.181034
0.331897
0.046392
0.010309
0.014433
0.121134
0.062371
0.039691
0.029897
0
0
0
0.02883
0.170467
3,596
92
122
39.086957
0.621522
0.449944
0
0
0
0
0.09928
0.037037
0
0
0
0
0
1
0
false
0
0.244898
0
0.244898
0.020408
0
0
0
null
0
0
0
0
0
0
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
05e5ab63cfbf61b1260c3430dac86bcf4cae1b06
17,452
py
Python
prompt_tuning/data/super_glue.py
techthiyanes/prompt-tuning
9f4d7082aa6dbd955e38488d6d3fa5a7c039f6c7
[ "Apache-2.0" ]
108
2021-11-05T21:44:27.000Z
2022-03-31T14:19:30.000Z
prompt_tuning/data/super_glue.py
techthiyanes/prompt-tuning
9f4d7082aa6dbd955e38488d6d3fa5a7c039f6c7
[ "Apache-2.0" ]
172
2022-02-01T00:08:39.000Z
2022-03-31T12:44:07.000Z
prompt_tuning/data/super_glue.py
dumpmemory/prompt-tuning
bac77e4f5107b4a89f89c49b14d8fe652b1c5734
[ "Apache-2.0" ]
9
2022-01-16T11:55:18.000Z
2022-03-06T23:26:36.000Z
# Copyright 2022 Google. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
42.77451
80
0.67276
2,154
17,452
5.16156
0.160631
0.050998
0.03274
0.042094
0.664238
0.632218
0.604965
0.586167
0.565839
0.54812
0
0.021744
0.246333
17,452
407
81
42.879607
0.823538
0.253725
0
0.693603
0
0
0.203536
0.174118
0
0
0
0
0
1
0
false
0
0.047138
0
0.047138
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
05e5bab9ff77cdee550c0152d15077d78e190eff
952
py
Python
src/runtime/tasks.py
HitLuca/predict-python
14f2f55cb29f817a5871d4c0b11a3758285301ca
[ "MIT" ]
null
null
null
src/runtime/tasks.py
HitLuca/predict-python
14f2f55cb29f817a5871d4c0b11a3758285301ca
[ "MIT" ]
null
null
null
src/runtime/tasks.py
HitLuca/predict-python
14f2f55cb29f817a5871d4c0b11a3758285301ca
[ "MIT" ]
null
null
null
from django_rq.decorators import job from src.core.core import runtime_calculate from src.jobs.models import JobStatuses from src.jobs.ws_publisher import publish from src.logs.models import Log from src.utils.file_service import get_log @job("default", timeout='1h') def runtime_task(job, model): print("Start ru...
30.709677
65
0.657563
129
952
4.682171
0.44186
0.057947
0.099338
0.043046
0
0
0
0
0
0
0
0.001364
0.230042
952
30
66
31.733333
0.822647
0
0
0.074074
0
0
0.057773
0
0
0
0
0
0
1
0.037037
false
0
0.222222
0
0.259259
0.074074
0
0
0
null
0
0
0
0
0
0
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
05ec45e9e0486f8c0920e8e4a6acabaf4897caee
417
py
Python
ch3/ricolisp/token.py
unoti/rico-lisp
367f625dcd086e207515bdeb5561763754a3531c
[ "MIT" ]
null
null
null
ch3/ricolisp/token.py
unoti/rico-lisp
367f625dcd086e207515bdeb5561763754a3531c
[ "MIT" ]
null
null
null
ch3/ricolisp/token.py
unoti/rico-lisp
367f625dcd086e207515bdeb5561763754a3531c
[ "MIT" ]
null
null
null
from collections import UserString from typing import List class Token(UserString): """A string that has additional information about the source code for the string.""" def __init__(self, s: str, line_number:int, character_number: int, filename: str = None): super().__init__(s) self.line_numbe...
37.909091
93
0.717026
54
417
5.277778
0.574074
0.105263
0
0
0
0
0
0
0
0
0
0
0.203837
417
11
94
37.909091
0.858434
0.18705
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
05ed3bd6a82da190685915c3b42fde3a3b5e118a
2,655
py
Python
utils.py
ali-ramadhan/wxConch
1106ce17d25f96a038ca784029261faafd7cfaf9
[ "MIT" ]
1
2019-03-09T01:10:59.000Z
2019-03-09T01:10:59.000Z
utils.py
ali-ramadhan/weather-prediction-model-consensus
1106ce17d25f96a038ca784029261faafd7cfaf9
[ "MIT" ]
1
2019-08-19T12:26:06.000Z
2019-08-19T12:26:06.000Z
utils.py
ali-ramadhan/weather-prediction-model-consensus
1106ce17d25f96a038ca784029261faafd7cfaf9
[ "MIT" ]
null
null
null
import os import time import math import logging.config from datetime import datetime from subprocess import run from urllib.request import urlopen, urlretrieve from urllib.parse import urlparse, urljoin import smtplib, ssl from os.path import basename from email.mime.application import MIMEApplication from email.mime...
28.858696
98
0.680979
362
2,655
4.878453
0.428177
0.023783
0.02265
0.030578
0
0
0
0
0
0
0
0.008407
0.193597
2,655
91
99
29.175824
0.816441
0.06403
0
0
0
0
0.121872
0.010492
0
0
0
0
0.016667
1
0.083333
false
0.033333
0.25
0.016667
0.383333
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
05f2bf19df0a5655faf30da01ad995b33a5ff920
4,674
py
Python
create_multi_langs/command_line.py
mychiux413/ConstConv
6c2190d1bb37ae5cfef8464f88371db97719b032
[ "MIT" ]
null
null
null
create_multi_langs/command_line.py
mychiux413/ConstConv
6c2190d1bb37ae5cfef8464f88371db97719b032
[ "MIT" ]
null
null
null
create_multi_langs/command_line.py
mychiux413/ConstConv
6c2190d1bb37ae5cfef8464f88371db97719b032
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import absolute_import from create_multi_langs.creater.go import CreaterGo from create_multi_langs.creater.python import CreaterPython from create_multi_langs.creater.python_typing import CreaterPythonTyping from create_multi_langs.creater.typescript_backend import CreaterTypeScrip...
37.095238
99
0.627942
566
4,674
4.952297
0.273852
0.069925
0.070639
0.049946
0.251873
0.224402
0.166964
0.052801
0
0
0
0.006657
0.260804
4,674
125
100
37.392
0.804631
0.0184
0
0.109091
0
0
0.214582
0.024012
0
0
0
0
0.018182
1
0.018182
false
0
0.118182
0
0.136364
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
05f359b7dd7f8c17e74d1e4576ab789a5ca9047c
297
py
Python
test_resources/run_tests.py
tud-python-courses/lesson-builder
11b1cc958723e9f75de27cde68daa0fdc18b929f
[ "MIT" ]
null
null
null
test_resources/run_tests.py
tud-python-courses/lesson-builder
11b1cc958723e9f75de27cde68daa0fdc18b929f
[ "MIT" ]
null
null
null
test_resources/run_tests.py
tud-python-courses/lesson-builder
11b1cc958723e9f75de27cde68daa0fdc18b929f
[ "MIT" ]
null
null
null
__author__ = 'Justus Adam' __version__ = '0.1' def main(): import unittest import sys import os m = os.path.dirname(__file__) sys.path = [m, os.path.split(m)[0]] + sys.path import test unittest.main(test) if __name__ == '__main__': main() else: del main
13.5
50
0.606061
41
297
3.902439
0.536585
0.0375
0.0875
0
0
0
0
0
0
0
0
0.013699
0.262626
297
22
51
13.5
0.716895
0
0
0
0
0
0.073826
0
0
0
0
0
0
1
0.071429
false
0
0.285714
0
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
05fd8b2f68e0ad751b568376c91ded4488f3dd84
55,975
py
Python
cc_bm_parallel_pyr_dev.py
xdenisx/ice_drift_pc_ncc
f2992329e8509dafcd37596271e80cbf652d14cb
[ "MIT" ]
3
2021-11-10T04:03:10.000Z
2022-02-27T10:36:02.000Z
cc_bm_parallel_pyr_dev.py
xdenisx/ice_drift_pc_ncc
f2992329e8509dafcd37596271e80cbf652d14cb
[ "MIT" ]
1
2021-10-12T17:29:53.000Z
2021-10-12T17:29:53.000Z
cc_bm_parallel_pyr_dev.py
xdenisx/ice_drift_pc_ncc
f2992329e8509dafcd37596271e80cbf652d14cb
[ "MIT" ]
null
null
null
import matplotlib matplotlib.use('Agg') # coding: utf-8 # # Ice drift retrieval algorithm based on [1] from a pair of SAR images # [1] J. P. Lewis, "Fast Normalized Cross-Correlation", Industrial Light and Magic. # ################################################## # Last modification: 22 July, 2019 # TODO: # 1) Pyrami...
35.517132
716
0.553318
7,716
55,975
3.864567
0.136599
0.004762
0.003521
0.009055
0.404004
0.341326
0.319528
0.301653
0.271706
0.265904
0
0.040175
0.285395
55,975
1,576
717
35.517132
0.7053
0.212595
0
0.263091
0
0.003831
0.06319
0.009492
0
0
0
0.004442
0.002554
1
0.033206
false
0.00894
0.05364
0
0.11622
0.042146
0
0
0
null
0
0
0
0
0
0
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
05fe79efe59900fb39e193105ec376940b5bbe44
426
py
Python
tests/test_version.py
hsh-nids/python-betterproto
f5d3b48b1aa49fd64513907ed70124b32758ad3e
[ "MIT" ]
708
2019-10-11T06:23:40.000Z
2022-03-31T09:39:08.000Z
tests/test_version.py
hsh-nids/python-betterproto
f5d3b48b1aa49fd64513907ed70124b32758ad3e
[ "MIT" ]
302
2019-11-11T22:09:21.000Z
2022-03-29T11:21:04.000Z
tests/test_version.py
hsh-nids/python-betterproto
f5d3b48b1aa49fd64513907ed70124b32758ad3e
[ "MIT" ]
122
2019-12-04T16:22:53.000Z
2022-03-20T09:31:10.000Z
from betterproto import __version__ from pathlib import Path import tomlkit PROJECT_TOML = Path(__file__).joinpath("..", "..", "pyproject.toml").resolve() def test_version(): with PROJECT_TOML.open() as toml_file: project_config = tomlkit.loads(toml_file.read()) assert ( __version__ == projec...
30.428571
78
0.706573
51
426
5.529412
0.568627
0.078014
0
0
0
0
0
0
0
0
0
0
0.164319
426
13
79
32.769231
0.792135
0
0
0
0
0
0.21831
0
0
0
0
0
0.1
1
0.1
false
0
0.3
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af029a134b4e84a7dca43a17a1ce48c9d78abdd2
9,722
py
Python
Models.py
BradHend/machine_learning_from_scratch
6c83f17d1c48da9ad3df902b3090a8cb2c544f15
[ "MIT" ]
null
null
null
Models.py
BradHend/machine_learning_from_scratch
6c83f17d1c48da9ad3df902b3090a8cb2c544f15
[ "MIT" ]
null
null
null
Models.py
BradHend/machine_learning_from_scratch
6c83f17d1c48da9ad3df902b3090a8cb2c544f15
[ "MIT" ]
null
null
null
"""classes and methods for different model architectures """ #python packages import numpy as np # Machine Learning from Scratch packages from Layers import FullyConnected from utils.optimizers import * class NeuralNet(): """ Linear stack of layers. """ def __init__(self, layers=None): # Add ...
40.508333
123
0.54783
1,081
9,722
4.825162
0.236818
0.02684
0.02454
0.012462
0.151074
0.090107
0.082055
0.079563
0.079563
0.079563
0
0.015425
0.373174
9,722
240
124
40.508333
0.840499
0.337071
0
0.19685
0
0
0.038576
0.015826
0
0
0
0
0
1
0.062992
false
0.015748
0.023622
0
0.133858
0.047244
0
0
0
null
0
0
0
0
0
0
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
af055ba7a6d6cbe2445070c4e478e7e26c56dad3
1,724
py
Python
ipmi_power_manager.py
spirkaa/ansible-homelab
94138c85ddb132a08dab55b4e9a9b43160d02c76
[ "MIT" ]
null
null
null
ipmi_power_manager.py
spirkaa/ansible-homelab
94138c85ddb132a08dab55b4e9a9b43160d02c76
[ "MIT" ]
null
null
null
ipmi_power_manager.py
spirkaa/ansible-homelab
94138c85ddb132a08dab55b4e9a9b43160d02c76
[ "MIT" ]
null
null
null
import argparse import logging import os import requests import urllib3 from dotenv import load_dotenv logger = logging.getLogger("__name__") logging.basicConfig( format="%(asctime)s [%(levelname)8s] [%(name)s:%(lineno)s:%(funcName)20s()] --- %(message)s", level=logging.INFO, ) logging.getLogger("...
28.262295
101
0.728538
226
1,724
5.323009
0.411504
0.108063
0.049875
0.0665
0.176226
0.099751
0.099751
0.099751
0.099751
0.099751
0
0.005319
0.12761
1,724
60
102
28.733333
0.794548
0
0
0.045455
0
0.022727
0.283643
0.074246
0
0
0
0
0
1
0.045455
false
0.045455
0.136364
0
0.204545
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
af05ab26695bad32472af5a5dde8334bddbea53d
1,572
py
Python
pyhsi/gui/graphics.py
rddunphy/pyHSI
b55c2a49568e04e0a2fb39da01cfe1f129bc86a4
[ "MIT" ]
null
null
null
pyhsi/gui/graphics.py
rddunphy/pyHSI
b55c2a49568e04e0a2fb39da01cfe1f129bc86a4
[ "MIT" ]
null
null
null
pyhsi/gui/graphics.py
rddunphy/pyHSI
b55c2a49568e04e0a2fb39da01cfe1f129bc86a4
[ "MIT" ]
null
null
null
"""Stuff to do with processing images and loading icons""" import importlib.resources as res import cv2 import PySimpleGUI as sg def get_application_icon(): """Get the PyHSI icon for this OS (.ico for Windows, .png otherwise)""" return res.read_binary("pyhsi.gui.icons", "pyhsi.png") def get_icon(icon_name...
31.44
83
0.667939
247
1,572
4.052632
0.368421
0.047952
0.064935
0.044955
0.20979
0.18981
0.18981
0
0
0
0
0.020048
0.206743
1,572
49
84
32.081633
0.782678
0.176209
0
0.129032
0
0
0.056962
0.016614
0
0
0
0
0
1
0.16129
false
0
0.096774
0
0.387097
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
af0729cb1679e26625740cd816c3bcd5296cbb19
315
py
Python
configs/densenet169_lr_0.001.py
FeiYuejiao/NLP_Pretrain
7aa4693c31a7bba9b90f401d2586ef154dd7fb81
[ "MIT" ]
null
null
null
configs/densenet169_lr_0.001.py
FeiYuejiao/NLP_Pretrain
7aa4693c31a7bba9b90f401d2586ef154dd7fb81
[ "MIT" ]
1
2020-12-30T13:49:29.000Z
2020-12-30T13:49:29.000Z
configs/densenet169_lr_0.001.py
FeiYuejiao/NLP_Pretrain
7aa4693c31a7bba9b90f401d2586ef154dd7fb81
[ "MIT" ]
null
null
null
lr = 0.001 model_path = 'model/IC_models/densenet169_lr_0.001/' crop_size = 32 log_step = 10 save_step = 500 num_epochs = 400 batch_size = 256 num_workers = 8 loading = False # lr # Model parameters model = dict( net='densenet169', embed_size=256, hidden_size=512, num_layers=1, resnet=101 )
14.318182
52
0.695238
50
315
4.12
0.7
0.029126
0.058252
0
0
0
0
0
0
0
0
0.151394
0.203175
315
21
53
15
0.669323
0.060317
0
0
0
0
0.163823
0.12628
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af08ea1d739ab24c301e649fcfca7bffa176fb4c
3,750
py
Python
src/models/metapop.py
TLouf/multiling-twitter
9a39b5b70da53ca717cb74480697f3756a95b8e4
[ "RSA-MD" ]
1
2021-05-09T15:42:04.000Z
2021-05-09T15:42:04.000Z
src/models/metapop.py
TLouf/multiling-twitter
9a39b5b70da53ca717cb74480697f3756a95b8e4
[ "RSA-MD" ]
3
2020-10-21T09:04:03.000Z
2021-06-02T02:05:13.000Z
src/models/metapop.py
TLouf/multiling-twitter
9a39b5b70da53ca717cb74480697f3756a95b8e4
[ "RSA-MD" ]
null
null
null
''' Implements the computation of the time derivatives and associated Jacobian corresponding to the approximated equations in a metapopulation. Added kwargs in every function so that we may reuse the parameter dictionary used in the models, even if some of the parameters it contains are not used in these functions. '''...
37.128713
80
0.553333
788
3,750
2.350254
0.135787
0.066415
0.086393
0.040497
0.711123
0.686825
0.660907
0.643089
0.524838
0.512419
0
0.02466
0.275467
3,750
100
81
37.5
0.656975
0.2224
0
0.463768
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0.014493
0
0.101449
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
af0ab77a97059c19f88a0b36ce01422819f17356
2,174
py
Python
tests/app/dao/test_marketings_dao.py
kentsanggds/api
651cdf7d496690722d6a4f5b51f04f4be97899d4
[ "MIT" ]
1
2018-10-12T15:04:31.000Z
2018-10-12T15:04:31.000Z
tests/app/dao/test_marketings_dao.py
kentsanggds/api
651cdf7d496690722d6a4f5b51f04f4be97899d4
[ "MIT" ]
169
2017-11-07T00:45:25.000Z
2022-03-12T00:08:59.000Z
tests/app/dao/test_marketings_dao.py
kentsanggds/api
651cdf7d496690722d6a4f5b51f04f4be97899d4
[ "MIT" ]
1
2019-08-15T14:51:31.000Z
2019-08-15T14:51:31.000Z
from sqlalchemy.exc import IntegrityError import pytest from app.dao.marketings_dao import ( dao_update_marketing, dao_get_marketing_by_id, dao_get_marketings ) from app.models import Marketing from tests.db import create_marketing class WhenUsingMarketingsDAO(object): def it_creates_an_marketing(self, db_...
38.821429
95
0.75069
258
2,174
5.996124
0.228682
0.063995
0.048481
0.077569
0.411118
0.35488
0.215255
0.180995
0
0
0
0.001659
0.168353
2,174
55
96
39.527273
0.853982
0
0
0.054054
0
0
0.030359
0
0
0
0
0
0.189189
1
0.162162
false
0
0.135135
0
0.324324
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af0ac97f6ae7709623b9997f5f301e7547049b9a
14,898
py
Python
tracetools_analysis/tracetools_analysis/data_model/ros2.py
christophebedard/tracetools_analysis
1dfb747b62311ee370ed392a0ad4a5cd2d11d3be
[ "Apache-2.0" ]
6
2020-04-02T21:10:09.000Z
2021-06-07T06:56:16.000Z
tracetools_analysis/tracetools_analysis/data_model/ros2.py
christophebedard/tracetools_analysis
1dfb747b62311ee370ed392a0ad4a5cd2d11d3be
[ "Apache-2.0" ]
null
null
null
tracetools_analysis/tracetools_analysis/data_model/ros2.py
christophebedard/tracetools_analysis
1dfb747b62311ee370ed392a0ad4a5cd2d11d3be
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Robert Bosch GmbH # Copyright 2020-2021 Christophe Bedard # # 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...
37.716456
94
0.631293
1,521
14,898
5.884287
0.122288
0.018771
0.036872
0.046704
0.433743
0.335978
0.255978
0.169609
0.143017
0.09743
0
0.002364
0.261847
14,898
394
95
37.812183
0.811494
0.066251
0
0.389381
0
0
0.109636
0.006997
0
0
0
0
0
1
0.073746
false
0
0.011799
0
0.088496
0.20059
0
0
0
null
0
0
0
0
0
0
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
af0d81f9655852ff10a8be8a0499f540fd5bf5d2
1,543
py
Python
setup.py
KunihikoKido/elasticsearch-fabric
5dea163b455f954d31dc685cf2b4fec077aee50a
[ "MIT" ]
10
2016-12-17T03:37:43.000Z
2019-09-09T23:00:40.000Z
setup.py
KunihikoKido/elasticsearch-fabric
5dea163b455f954d31dc685cf2b4fec077aee50a
[ "MIT" ]
null
null
null
setup.py
KunihikoKido/elasticsearch-fabric
5dea163b455f954d31dc685cf2b4fec077aee50a
[ "MIT" ]
null
null
null
# coding=utf-8 import os from distutils.spawn import find_executable from setuptools import setup, find_packages import sys sys.path.append('./test') from esfabric import __version__ with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() if os.path.exists(os.path.join...
32.829787
101
0.695399
182
1,543
5.697802
0.510989
0.052073
0.038573
0.046287
0.196721
0.150434
0.150434
0.150434
0.150434
0.079074
0
0.002338
0.168503
1,543
46
102
33.543478
0.805924
0.007777
0
0.052632
0
0
0.35448
0.014388
0
0
0
0
0
1
0
false
0
0.131579
0
0.131579
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
af16c33bdba13b28d77f33ac28f80dcfc81a9c64
11,704
py
Python
bin/server.py
tolstoyevsky/blackmagic
0be5f041cbd42d9fb140957f0946d0ac7cb68848
[ "Apache-2.0" ]
null
null
null
bin/server.py
tolstoyevsky/blackmagic
0be5f041cbd42d9fb140957f0946d0ac7cb68848
[ "Apache-2.0" ]
3
2018-12-08T16:51:11.000Z
2020-10-16T09:39:00.000Z
bin/server.py
tolstoyevsky/blackmagic
0be5f041cbd42d9fb140957f0946d0ac7cb68848
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import logging import os import os.path import tornado.web import tornado.options from appleseed import AlpineIndexFile, DebianIndexFile from cdtz import set_time_zone from motor import MotorClient from shirow.ioloop import IOLoop from shirow.server import RPCServer, TOKEN_PATTERN, remote from t...
32.242424
102
0.655161
1,369
11,704
5.293645
0.178232
0.034497
0.038637
0.053953
0.411481
0.366634
0.287843
0.22837
0.194977
0.13785
0
0.002174
0.253161
11,704
362
103
32.331492
0.826908
0.026828
0
0.263345
0
0
0.063527
0.002109
0
0
0
0
0
1
0.017794
false
0.02847
0.067616
0
0.103203
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
af1703462ef77f78c9cf88e812154fcfc28474a9
2,318
py
Python
postgres_audit_triggers/operations.py
carta/postgres_audit_triggers
fece63c5ad2924ff5e2aeb38d7bbd5bee6e6547c
[ "MIT" ]
23
2018-03-26T11:18:03.000Z
2020-12-28T05:11:04.000Z
postgres_audit_triggers/operations.py
carta/postgres_audit_triggers
fece63c5ad2924ff5e2aeb38d7bbd5bee6e6547c
[ "MIT" ]
1
2019-02-13T23:58:53.000Z
2020-07-01T18:16:13.000Z
postgres_audit_triggers/operations.py
carta/postgres_audit_triggers
fece63c5ad2924ff5e2aeb38d7bbd5bee6e6547c
[ "MIT" ]
3
2019-03-26T15:50:38.000Z
2021-03-05T00:27:53.000Z
from django.db.migrations.operations.base import Operation from django.utils.functional import cached_property __all__ = ( 'AddAuditTrigger', 'RemoveAuditTrigger', ) class AddAuditTrigger(Operation): reduces_to_sql = True reversible = True option_name = 'audit_trigger' enabled = True de...
30.103896
75
0.654875
276
2,318
5.199275
0.264493
0.061324
0.058537
0.083624
0.478049
0.478049
0.441812
0.394425
0.394425
0.34216
0
0.000575
0.249353
2,318
76
76
30.5
0.824138
0
0
0.377049
0
0
0.10742
0
0
0
0
0
0
1
0.147541
false
0
0.032787
0.04918
0.344262
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
af190a09ca44bce44b5b0163ba1e2eceb805790a
18,922
py
Python
tests/unit/test_infra_communication.py
gauthier-emse/pyDcop
a51cc3f7d8ef9ee1f863beeca4ad60490862d2ed
[ "BSD-3-Clause" ]
28
2018-05-18T10:25:58.000Z
2022-03-05T16:24:15.000Z
tests/unit/test_infra_communication.py
gauthier-emse/pyDcop
a51cc3f7d8ef9ee1f863beeca4ad60490862d2ed
[ "BSD-3-Clause" ]
19
2018-09-21T21:50:15.000Z
2022-02-22T20:23:32.000Z
tests/unit/test_infra_communication.py
gauthier-emse/pyDcop
a51cc3f7d8ef9ee1f863beeca4ad60490862d2ed
[ "BSD-3-Clause" ]
17
2018-05-29T19:54:07.000Z
2022-02-22T20:14:46.000Z
# BSD-3-Clause License # # Copyright 2017 Orange # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and the followi...
37.395257
80
0.63228
2,299
18,922
4.977381
0.132231
0.072184
0.07096
0.011011
0.690378
0.65752
0.623962
0.567596
0.548895
0.513764
0
0.046368
0.245481
18,922
505
81
37.469307
0.755131
0.111933
0
0.530792
0
0
0.075289
0
0
0
0
0
0.11437
1
0.099707
false
0
0.032258
0
0.152493
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