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
e79009e224114b1ec0ae87c6bd3d54452a3b6720
791
py
Python
story_with_exercises/5_ex_rename_like_a_pro.py
flrs/pycharm_tips_and_tricks
21a2768f2cc3b6b2af8e672d32c7bd178900adad
[ "MIT" ]
1
2020-02-17T15:08:57.000Z
2020-02-17T15:08:57.000Z
story_with_exercises/5_ex_rename_like_a_pro.py
flrs/pycharm_tips_and_tricks
21a2768f2cc3b6b2af8e672d32c7bd178900adad
[ "MIT" ]
null
null
null
story_with_exercises/5_ex_rename_like_a_pro.py
flrs/pycharm_tips_and_tricks
21a2768f2cc3b6b2af8e672d32c7bd178900adad
[ "MIT" ]
null
null
null
"""Rename Like a Pro Exercise: The contents of the people_on_meetup variable look more like a zoo. Let's rename the following items: - variable "people_on_meetup" -> "animals_in_zoo" - class "Meetup" -> "Zoo" To rename an item, put the cursor on the item you want to rename and then press Shift+F6 on Windows/...
22.6
105
0.663717
116
791
4.310345
0.586207
0.064
0.112
0
0
0
0
0
0
0
0
0.003284
0.230089
791
34
106
23.264706
0.816092
0.4311
0
0
0
0
0.230248
0
0
0
0
0
0
1
0.117647
false
0
0
0.058824
0.235294
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e79061260d07a54089774bc6a61e074894413160
832
py
Python
bot/plugins/trivia/content/flags.py
best-coloc-ever/globibot
a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176
[ "MIT" ]
14
2016-02-03T16:47:01.000Z
2019-12-09T14:24:25.000Z
bot/plugins/trivia/content/flags.py
best-coloc-ever/globibot
a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176
[ "MIT" ]
11
2016-08-19T22:00:25.000Z
2022-01-13T00:39:48.000Z
bot/plugins/trivia/content/flags.py
best-coloc-ever/globibot
a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176
[ "MIT" ]
6
2016-08-19T21:30:58.000Z
2019-09-27T05:24:08.000Z
from .helpers import * from .behavior import trivia_behavior from io import BytesIO DELAY = 20 async def premise(item): country, image = item flag_image_url = 'https://www.countries-ofthe-world.com/{}'.format(image) flag_image = await Utils.fetch(flag_image_url) return dict( file_path=Bytes...
24.470588
86
0.679087
104
832
5.317308
0.576923
0.065099
0.0434
0
0
0
0
0
0
0
0
0.00303
0.206731
832
33
87
25.212121
0.834848
0
0
0
0
0
0.144231
0
0
0
0
0
0
1
0.041667
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e790a3d718923f21aded92fe9214fe4322d6f5f0
2,687
py
Python
pipe_text_wrapper.py
STealthy-and-haSTy/PipeText
518149cc3183ab9b6ba22be47405677259b7db7a
[ "MIT" ]
1
2020-10-16T08:41:23.000Z
2020-10-16T08:41:23.000Z
pipe_text_wrapper.py
STealthy-and-haSTy/PipeText
518149cc3183ab9b6ba22be47405677259b7db7a
[ "MIT" ]
null
null
null
pipe_text_wrapper.py
STealthy-and-haSTy/PipeText
518149cc3183ab9b6ba22be47405677259b7db7a
[ "MIT" ]
null
null
null
import sublime import sublime_plugin ### --------------------------------------------------------------------------- class PipeCommandHistory(): LIST_LIMIT = 50 def __init__(self): self.storage = [] def push(self, text, temp=False): self.del_duplicates(text) self.storage.insert...
31.244186
100
0.534053
291
2,687
4.656357
0.268041
0.056827
0.061993
0.037638
0.15203
0
0
0
0
0
0
0.005278
0.224414
2,687
85
101
31.611765
0.644914
0.14105
0
0
0
0
0.061955
0
0
0
0
0
0
1
0.2
false
0
0.04
0.06
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e79113b7e230adcf093bfd7230288a6161d84a7d
4,663
py
Python
pytracer/texture/texturemap/__init__.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
9
2017-11-20T18:17:27.000Z
2022-01-27T23:00:31.000Z
pytracer/texture/texturemap/__init__.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
4
2021-06-08T19:03:51.000Z
2022-03-11T23:18:44.000Z
pytracer/texture/texturemap/__init__.py
zjiayao/pyTracer
c2b4ef299ecbdca1c519059488f7cd2438943ee4
[ "MIT" ]
1
2017-11-20T22:48:01.000Z
2017-11-20T22:48:01.000Z
""" __init__.py pytracer.texture.texturemap package Texture map definitions. Created by Jiayao on Aug 5, 2017 Modified on Aug 14, 2017 """ from __future__ import absolute_import from abc import (ABCMeta, abstractmethod) from pytracer import * import pytracer.geometry as geo import pytracer.transform as trans __all...
25.620879
97
0.633712
645
4,663
4.417054
0.206202
0.027027
0.027027
0.031941
0.538084
0.525448
0.509302
0.484731
0.45981
0.45981
0
0.021415
0.208878
4,663
181
98
25.762431
0.750881
0.149689
0
0.519231
0
0
0.135484
0.056774
0
0
0
0
0
1
0.153846
false
0
0.048077
0.028846
0.355769
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
e794ec0a4b84110bf4cfe442ef69d62eb12a32aa
5,780
py
Python
lib/task/worker.py
mrmansano/sublime-ycmd
fece62f0ce4e9cbf96ed8ba07f5cecb24b21427e
[ "MIT" ]
12
2018-01-24T20:58:10.000Z
2021-12-21T15:02:10.000Z
lib/task/worker.py
mrmansano/sublime-ycmd
fece62f0ce4e9cbf96ed8ba07f5cecb24b21427e
[ "MIT" ]
4
2018-01-13T14:39:45.000Z
2020-11-25T00:05:27.000Z
lib/task/worker.py
mrmansano/sublime-ycmd
fece62f0ce4e9cbf96ed8ba07f5cecb24b21427e
[ "MIT" ]
2
2018-10-23T17:13:44.000Z
2019-05-12T04:10:17.000Z
#!/usr/bin/env python3 ''' lib/task/worker.py Task pool worker thread. Meant for internal use only. Runs a thread to process items in a task pool. The class itself does not inherit from `threading.Thread` directly. Instead, a helper function is exposed for use in a thread target. Users should not need to access this...
28.613861
79
0.569896
686
5,780
4.736152
0.297376
0.040012
0.024623
0.016005
0.035088
0.035088
0.019698
0
0
0
0
0.001335
0.351903
5,780
201
80
28.756219
0.86599
0.329412
0
0.171717
0
0
0.116039
0
0
0
0
0
0
1
0.121212
false
0
0.040404
0.010101
0.252525
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
e79e7ea88c51825b1ee8f322458db326ca24c050
1,129
py
Python
datasets/augmentations.py
sithu31296/re_identification
28c2cf32c6c8c9d79330e1419a7156fe10d8ac95
[ "MIT" ]
null
null
null
datasets/augmentations.py
sithu31296/re_identification
28c2cf32c6c8c9d79330e1419a7156fe10d8ac95
[ "MIT" ]
null
null
null
datasets/augmentations.py
sithu31296/re_identification
28c2cf32c6c8c9d79330e1419a7156fe10d8ac95
[ "MIT" ]
null
null
null
from torchvision import transforms def get_transforms(cfg): train_transform = transforms.Compose([ transforms.Resize(cfg['TRAIN']['IMG_SIZE']), transforms.ColorJitter(cfg['TRAIN']['AUG']['B_P'], cfg['TRAIN']['AUG']['C_P'], cfg['TRAIN']['AUG']['S_P'], cfg['TRAIN']['AUG']['H_P']), transforms....
51.318182
169
0.59876
131
1,129
5.053435
0.427481
0.108761
0.099698
0.054381
0.391239
0.320242
0.18429
0.18429
0.18429
0.18429
0
0.076923
0.217006
1,129
22
170
51.318182
0.671946
0.11426
0
0.210526
0
0
0.10521
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e79f9590300eb19ba909c0b5322d32b4049e33b7
2,056
py
Python
dora/tests/test_xp.py
kingjr/dora
f70fab1620c6cad6fc094be15ab22994bd08dd01
[ "MIT" ]
98
2021-09-21T14:27:21.000Z
2022-03-18T17:46:45.000Z
dora/tests/test_xp.py
kingjr/dora
f70fab1620c6cad6fc094be15ab22994bd08dd01
[ "MIT" ]
6
2021-09-22T13:29:48.000Z
2022-03-14T16:45:30.000Z
dora/tests/test_xp.py
kingjr/dora
f70fab1620c6cad6fc094be15ab22994bd08dd01
[ "MIT" ]
5
2021-09-21T12:42:01.000Z
2022-01-27T17:22:17.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. from pathlib import Path import torch import pytest from ..conf import DoraConfig from ..xp import XP class _Cfg: p...
26.701299
76
0.618191
305
2,056
4.062295
0.298361
0.038741
0.048426
0.062954
0.40678
0.356739
0.356739
0.356739
0.356739
0.277643
0
0.022236
0.190661
2,056
76
77
27.052632
0.722356
0.089981
0
0.285714
0
0
0.036461
0
0
0
0
0
0.163265
1
0.102041
false
0.020408
0.102041
0.020408
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
e7a093439e75bee53c35c1b7acda09ddedee4b02
1,897
py
Python
pyqtgraph_extensions/examples/demo_axis_alignment.py
draustin/pyqtgraph_extensions
9f53756bdab8c61749c3596d40024971d77c893a
[ "MIT" ]
10
2019-05-22T17:10:07.000Z
2022-02-09T08:14:28.000Z
pyqtgraph_extensions/examples/demo_axis_alignment.py
draustin/pyqtgraph_extensions
9f53756bdab8c61749c3596d40024971d77c893a
[ "MIT" ]
3
2020-06-09T22:36:43.000Z
2021-07-19T21:31:57.000Z
pyqtgraph_extensions/examples/demo_axis_alignment.py
draustin/pyqtgraph_extensions
9f53756bdab8c61749c3596d40024971d77c893a
[ "MIT" ]
null
null
null
"""Show how multiple AlignedPlotItems have aligned AxisItems by using their parent's graphics layout.""" import sys from textwrap import wrap import pyqtgraph as pg from pyqtgraph.Qt import QtCore, QtGui import pyqtgraph_extensions as pgx if QtGui.QApplication.instance() is None: qapp=QtGui.QApplication(sys.argv) ...
43.113636
120
0.732736
265
1,897
5.218868
0.483019
0.028923
0.034707
0.02603
0.133044
0.133044
0.133044
0
0
0
0
0.014697
0.139167
1,897
43
121
44.116279
0.832211
0.253558
0
0
0
0.03125
0.340925
0.017082
0
0
0
0
0
1
0
false
0
0.15625
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
e7a16d2263756e23b3fd10f42e7ec1fd27b2c6d0
377
py
Python
generators/cfg.py
Zarux/Steam-friend-graph-V2
1670a7e49904812b4f86b0d2590a25d77c05c6ee
[ "MIT" ]
null
null
null
generators/cfg.py
Zarux/Steam-friend-graph-V2
1670a7e49904812b4f86b0d2590a25d77c05c6ee
[ "MIT" ]
6
2021-03-09T09:46:03.000Z
2022-02-26T12:28:11.000Z
generators/cfg.py
Zarux/Steam-friend-graph-V2
1670a7e49904812b4f86b0d2590a25d77c05c6ee
[ "MIT" ]
null
null
null
import json class Config: api_key = None db_host = None db_pw = None db_user = None db_table_profile = None db_table_friends = None db = None def __init__(self): with open('../cfg/cfg.json', 'r') as f: config = json.loads(f.read()) for name, value in co...
20.944444
47
0.559682
52
377
3.826923
0.596154
0.180905
0.110553
0
0
0
0
0
0
0
0
0
0.334218
377
17
48
22.176471
0.792829
0
0
0
0
0
0.04244
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e7a5af266194fe6108245ee31d8f2544211c0ebb
2,518
py
Python
__init__.py
devsysenv/usr
989ad012b790b6d20f8dae90f0724109cd27b761
[ "MIT" ]
null
null
null
__init__.py
devsysenv/usr
989ad012b790b6d20f8dae90f0724109cd27b761
[ "MIT" ]
null
null
null
__init__.py
devsysenv/usr
989ad012b790b6d20f8dae90f0724109cd27b761
[ "MIT" ]
1
2022-03-09T12:24:37.000Z
2022-03-09T12:24:37.000Z
#!/usr/bin/env python """User package initialization module.""" import os import sys import dselib def _context(varfile=None): """returns the DSE context object for this script.""" try: myself = __file__ except NameError: myself = sys.argv[0] return dselib.DSEContext...
32.282051
105
0.645751
317
2,518
5.044164
0.44795
0.03127
0.022514
0.025016
0.097561
0.097561
0.06379
0.06379
0.06379
0.06379
0
0.002604
0.23749
2,518
77
106
32.701299
0.830208
0.339158
0
0.057143
0
0.028571
0.289714
0.078125
0
0
0
0
0
1
0.085714
false
0
0.085714
0
0.2
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
e7a69e21b01e752968007e111248ff8bffeec7d2
3,833
py
Python
migrations/utils/sql_enum_migrator.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
23
2022-03-17T12:24:09.000Z
2022-03-31T09:13:30.000Z
migrations/utils/sql_enum_migrator.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
18
2022-03-21T08:17:44.000Z
2022-03-30T12:42:30.000Z
migrations/utils/sql_enum_migrator.py
apaniukov/workbench
2f2653ecfd0143d2d53e33ad84379f13443fdfaa
[ "Apache-2.0" ]
16
2022-03-17T12:24:14.000Z
2022-03-31T12:15:12.000Z
""" OpenVINO DL Workbench Helping Class to migrate enums in database Copyright (c) 2020 Intel Corporation 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/...
38.717172
111
0.66658
526
3,833
4.614068
0.262357
0.082406
0.039555
0.031314
0.310672
0.247219
0.247219
0.171405
0.171405
0.171405
0
0.003091
0.240282
3,833
98
112
39.112245
0.830357
0.206366
0
0.071429
0
0
0.176393
0.06565
0
0
0
0
0
1
0.107143
false
0
0.071429
0
0.303571
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
e7a75ab051e3341f6c0083af645a52d0c765ee59
4,542
py
Python
post_process/box_sphere_SMC_NSC.py
Milad-Rakhsha/Friction-Contact
59d17b231c5dd764c741c941e5443141d43ec7e8
[ "BSD-3-Clause" ]
null
null
null
post_process/box_sphere_SMC_NSC.py
Milad-Rakhsha/Friction-Contact
59d17b231c5dd764c741c941e5443141d43ec7e8
[ "BSD-3-Clause" ]
null
null
null
post_process/box_sphere_SMC_NSC.py
Milad-Rakhsha/Friction-Contact
59d17b231c5dd764c741c941e5443141d43ec7e8
[ "BSD-3-Clause" ]
null
null
null
import csv,os,sys import subprocess,re import matplotlib #matplotlib.use('TkAgg') matplotlib.use('Agg') # Must be before importing matplotlib.pyplot or pylab! import matplotlib.pyplot as plt import numpy as np import pandas as pd from decimal import Decimal from collections import OrderedDict from matplotlib.ticker ...
34.671756
90
0.528181
636
4,542
3.636792
0.31761
0.022482
0.015132
0.020752
0.201902
0.130134
0.125811
0.102032
0.043234
0.043234
0
0.051911
0.308675
4,542
130
91
34.938462
0.684713
0.147732
0
0.044444
0
0
0.067273
0
0
0
0
0
0
1
0.033333
false
0
0.1
0
0.144444
0.011111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7a7a001dc96d78bf26c54dfa2c539b4c6caf7e2
19,323
py
Python
codes/sensitivity_analysis_withRealParameters.py
atsoukevin93/tumorgrowth
96bda28a6ae6455c53c3b573c05746b6d4f2e802
[ "CC0-1.0" ]
null
null
null
codes/sensitivity_analysis_withRealParameters.py
atsoukevin93/tumorgrowth
96bda28a6ae6455c53c3b573c05746b6d4f2e802
[ "CC0-1.0" ]
null
null
null
codes/sensitivity_analysis_withRealParameters.py
atsoukevin93/tumorgrowth
96bda28a6ae6455c53c3b573c05746b6d4f2e802
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from fipy import * from numpy import * import scipy.sparse as sp import scipy.sparse.linalg as la import parameterFunctions.immuneResponse as delt import parameterFunctions.sigmaF as sigmaF import inspect from collections import OrderedDict import pygpc from pygpc.sobol_s...
40.006211
123
0.549915
2,462
19,323
4.165719
0.198619
0.017941
0.016088
0.019891
0.331416
0.276716
0.23986
0.217239
0.17931
0.156299
0
0.038517
0.278476
19,323
482
124
40.089212
0.697102
0.28391
0
0.091255
0
0
0.100088
0.00655
0
0
0
0
0
1
0.045627
false
0.003802
0.041825
0.015209
0.13308
0.034221
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7a94a2ff34c1076fb500ca11f0f92ab4291d4b0
2,314
py
Python
src/day11.py
birdman74/advent-of-code-2021
190cd4110ef3553258a26c8521bdf372c006a77c
[ "Apache-2.0" ]
null
null
null
src/day11.py
birdman74/advent-of-code-2021
190cd4110ef3553258a26c8521bdf372c006a77c
[ "Apache-2.0" ]
null
null
null
src/day11.py
birdman74/advent-of-code-2021
190cd4110ef3553258a26c8521bdf372c006a77c
[ "Apache-2.0" ]
null
null
null
import os from typing import List MODULE_DIR = os.path.dirname(os.path.realpath(__file__)) PROJECT_DIR = os.path.join(MODULE_DIR, "..") INPUT_SOURCE_DIR = os.path.join(PROJECT_DIR, "input") def get_data_lines(input_file_name): input_file = os.path.join(INPUT_SOURCE_DIR, input_file_name) print(f"Input file: {...
27.223529
98
0.639585
362
2,314
3.81768
0.201657
0.091172
0.094067
0.04631
0.40521
0.348046
0.287265
0.261939
0.261939
0.261939
0
0.02682
0.210458
2,314
84
99
27.547619
0.729611
0
0
0.254545
0
0
0.128349
0.043215
0
0
0
0
0
1
0.127273
false
0
0.036364
0
0.218182
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7a9c1267f6e65a3675addd7271b9a0a997345e4
3,430
py
Python
src/models/adversarial_validation.py
solery-git/Yandex_MIPT_user_identification
6861c14ebeeaef963b1d180080b87637a9578dd5
[ "FTL" ]
null
null
null
src/models/adversarial_validation.py
solery-git/Yandex_MIPT_user_identification
6861c14ebeeaef963b1d180080b87637a9578dd5
[ "FTL" ]
null
null
null
src/models/adversarial_validation.py
solery-git/Yandex_MIPT_user_identification
6861c14ebeeaef963b1d180080b87637a9578dd5
[ "FTL" ]
null
null
null
# -*- coding: utf-8 -*- import warnings warnings.filterwarnings('ignore') import pickle import yaml from pathlib import Path import numpy as np import pandas as pd from scipy.sparse import csr_matrix, hstack as sparse_hstack, vstack as sparse_vstack from sklearn.linear_model import LogisticRegression from sklearn.metri...
37.692308
151
0.732653
494
3,430
4.767206
0.259109
0.107006
0.054352
0.065393
0.356263
0.292144
0.210616
0.194055
0.146072
0.093418
0
0.010742
0.158601
3,430
91
152
37.692308
0.805267
0.022157
0
0
0
0
0.08296
0.006565
0
0
0
0
0
1
0.076923
false
0
0.153846
0.030769
0.276923
0.092308
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7aa8cac8e96224781686bd1388c518adf6e852b
3,803
py
Python
U3/src/e6.py
craciunescu/algo
81e91fa72d8896b459900510ee270d25de15f6fd
[ "MIT" ]
null
null
null
U3/src/e6.py
craciunescu/algo
81e91fa72d8896b459900510ee270d25de15f6fd
[ "MIT" ]
null
null
null
U3/src/e6.py
craciunescu/algo
81e91fa72d8896b459900510ee270d25de15f6fd
[ "MIT" ]
null
null
null
""" @author: David E. Craciunescu @date: 2020/04/30 (yyyy/mm/dd) 6. After passing through the Tile Room and stealing the Craddle of Life, Indiana Croft faces a new challenge before leaving the Cursed Temple! The Temple itself is located on a bridge under which there is a deep darkness. Fortu...
43.215909
80
0.720221
615
3,803
4.419512
0.429268
0.022075
0.020603
0.02649
0.11663
0.1078
0.059603
0.059603
0.059603
0.059603
0
0.004843
0.239811
3,803
87
81
43.712644
0.935317
0.777018
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e7ad41b8d693a843781c9b1f0c9248a6d00b3029
492
py
Python
olamundo.py/exercicios_refeitos/ex024.py
gabrielviticov/exercicios-python
4068cb0029513f8ab8bd12fa3a9055f37b4040d4
[ "MIT" ]
null
null
null
olamundo.py/exercicios_refeitos/ex024.py
gabrielviticov/exercicios-python
4068cb0029513f8ab8bd12fa3a9055f37b4040d4
[ "MIT" ]
null
null
null
olamundo.py/exercicios_refeitos/ex024.py
gabrielviticov/exercicios-python
4068cb0029513f8ab8bd12fa3a9055f37b4040d4
[ "MIT" ]
null
null
null
''' ex024: Crie um programa que leia o nome de uma cidade e diga se ela começa ou não com o nome ‘SANTO’ ''' from colorise import set_color, reset_color cores = { 'limpa': '\033[m', 'white': '\033[1;97m', } set_color(fg='cyan') nome_cidade = str(input('Informe o nome de uma cidade: ')).strip().title() separad...
28.941176
100
0.658537
77
492
4.12987
0.61039
0.062893
0.044025
0.062893
0.100629
0
0
0
0
0
0
0.031175
0.152439
492
16
101
30.75
0.731415
0.203252
0
0
0
0
0.302083
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7ae68bcd377bc20a3f17e6c42c1085c7778f122
3,154
py
Python
preprocessing/preprocessTrainingfiles_generateFasttextinput.py
gerbentimmerman/community-based-abuse-detection
8ac03ccf1e594c2588b243e45ac535a0977bbcb0
[ "MIT" ]
null
null
null
preprocessing/preprocessTrainingfiles_generateFasttextinput.py
gerbentimmerman/community-based-abuse-detection
8ac03ccf1e594c2588b243e45ac535a0977bbcb0
[ "MIT" ]
null
null
null
preprocessing/preprocessTrainingfiles_generateFasttextinput.py
gerbentimmerman/community-based-abuse-detection
8ac03ccf1e594c2588b243e45ac535a0977bbcb0
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import pandas as pd import csv import re import emoji import redditcleaner from nltk.tokenize import TweetTokenizer def filterText(text, tokenizer): # Filter URLs text = re.sub(r'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+', "<URL>", text) # Filter numbers ...
27.666667
112
0.657895
418
3,154
4.868421
0.363636
0.02457
0.013268
0.014742
0.361671
0.298772
0.290909
0.27027
0.27027
0.27027
0
0.025229
0.170577
3,154
114
113
27.666667
0.752676
0.137603
0
0.25
0
0.015625
0.212829
0.121617
0
0
0
0
0
1
0.0625
false
0
0.09375
0
0.171875
0.015625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7b0d46435cdec670279bd998320fd1810c2643c
918
py
Python
fp_demo/functional3.py
AegirAexx/python-sandbox
fa1f584f615c6ed04f80b9dd92d2b241248c9ebe
[ "Unlicense" ]
null
null
null
fp_demo/functional3.py
AegirAexx/python-sandbox
fa1f584f615c6ed04f80b9dd92d2b241248c9ebe
[ "Unlicense" ]
null
null
null
fp_demo/functional3.py
AegirAexx/python-sandbox
fa1f584f615c6ed04f80b9dd92d2b241248c9ebe
[ "Unlicense" ]
null
null
null
"""" Playing around with MAP higher order function and lambdas. """ from datetime import datetime from pprint import pprint from scientist import scientists def age(yob): """ Accepts year of birth and returns the persons age. """ return datetime.now().year - yob NAMES_AND_AGES = tuple( map(lambda x: {'n...
24.810811
79
0.652505
131
918
4.450382
0.427481
0.054889
0.077187
0.051458
0.25729
0.181818
0.181818
0.181818
0.181818
0.181818
0
0.006623
0.17756
918
36
80
25.5
0.765563
0.27451
0
0
0
0
0.169518
0.041991
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7b19bb8fade9b6e53704f91808df520b32c215d
1,217
py
Python
src/mqtt_bridge/app.py
dftossem/mqtt_ros_aws_iot
0e0ae8d30d25753c5a12d936d07ae94730f3eccd
[ "MIT" ]
5
2021-07-23T09:52:40.000Z
2021-09-22T21:11:53.000Z
src/mqtt_bridge/app.py
dftossem/mqtt_ros_aws_iot
0e0ae8d30d25753c5a12d936d07ae94730f3eccd
[ "MIT" ]
null
null
null
src/mqtt_bridge/app.py
dftossem/mqtt_ros_aws_iot
0e0ae8d30d25753c5a12d936d07ae94730f3eccd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import import inject import rospy import time import json from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTClient from .bridge import create_bridge from .util import lookup_object def mqtt_bridge_node(): # init node rospy.init_node('mqtt_bridge_node') ...
24.836735
65
0.72309
149
1,217
5.583893
0.38255
0.15625
0.102163
0.048077
0.064904
0
0
0
0
0
0
0.001014
0.189811
1,217
49
66
24.836735
0.842799
0.127362
0
0
0
0
0.083412
0.027488
0
0
0
0
0
1
0.103448
false
0
0.275862
0
0.413793
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
e7b5ecbc66cbd464a70b67852e8b57e73a22b34a
422
py
Python
system-test/tweet/test_tweet.py
jaimebuelta/django-docker-template
f850626a3bc6ac7ccf791ca56b859a7b1d3d87a1
[ "MIT" ]
94
2017-07-30T21:33:46.000Z
2022-01-10T13:41:03.000Z
system-test/tweet/test_tweet.py
jaimebuelta/django-docker-template
f850626a3bc6ac7ccf791ca56b859a7b1d3d87a1
[ "MIT" ]
1
2019-02-01T13:45:42.000Z
2019-02-01T13:45:42.000Z
system-test/tweet/test_tweet.py
jaimebuelta/django-docker-template
f850626a3bc6ac7ccf791ca56b859a7b1d3d87a1
[ "MIT" ]
19
2017-07-31T12:03:12.000Z
2021-11-27T05:43:04.000Z
import os import requests HOSTPORT = os.environ.get('SYSTEM_TEST_HOSTPORT') TWEET_URL = HOSTPORT + 'tweet/' def test_tweets(): result = requests.get(TWEET_URL) assert result.status_code == 200 tweets = result.json() assert len(tweets) == 2 for tweet in tweets: # Get all the linked urls ...
23.444444
49
0.651659
56
422
4.785714
0.482143
0.097015
0.126866
0.156716
0.208955
0.208955
0
0
0
0
0
0.021944
0.244076
422
17
50
24.823529
0.818182
0.054502
0
0.153846
0
0
0.075567
0
0
0
0
0
0.230769
1
0.076923
false
0
0.153846
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
e7bc9e4e1a533046092b0e42330e482c0a72d04c
3,990
py
Python
PressCurve.py
RichBu/PressCurve
4c89f04489abae5d3c87be2663133b8c974457bf
[ "MIT" ]
null
null
null
PressCurve.py
RichBu/PressCurve
4c89f04489abae5d3c87be2663133b8c974457bf
[ "MIT" ]
null
null
null
PressCurve.py
RichBu/PressCurve
4c89f04489abae5d3c87be2663133b8c974457bf
[ "MIT" ]
null
null
null
""" This program uses Digital Oscilliscope data read in from a PicScope. The PicoScope outputs the data as a CSV and this Python app reads it in. Then, we plot on an X-Y chart By Rich Budek 02/12/2021 in Python 3.8 """ import pandas as pd import numpy as np import jinja2 import math import re from pandas import DataF...
31.171875
121
0.69599
621
3,990
4.318841
0.388084
0.049217
0.044743
0.042878
0.180089
0.106264
0.074944
0.03132
0
0
0
0.045355
0.198747
3,990
127
122
31.417323
0.793556
0.245865
0
0.078125
0
0
0.21961
0.022834
0
0
0
0
0
1
0.03125
false
0.015625
0.109375
0
0.25
0.140625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7bca805299e41e9d298d69596d25e7ce1959ef5
580
py
Python
src/model/bow.py
slein89/BOW_transferlearning
785fe5e48da0dc0e9170e526f221daee154bebec
[ "MIT" ]
1
2019-03-05T11:23:26.000Z
2019-03-05T11:23:26.000Z
src/model/bow.py
slein89/BOW_transferlearning
785fe5e48da0dc0e9170e526f221daee154bebec
[ "MIT" ]
null
null
null
src/model/bow.py
slein89/BOW_transferlearning
785fe5e48da0dc0e9170e526f221daee154bebec
[ "MIT" ]
null
null
null
from sklearn.pipeline import Pipeline from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer from sklearn.ensemble import GradientBoostingClassifier def bow_pipeline(X_train, y_train): pipeline = Pipeline([ ('countvect', CountVectorizer(analyzer='word', ...
38.666667
77
0.624138
57
580
6.175439
0.614035
0.09375
0.039773
0.068182
0
0
0
0
0
0
0
0.021898
0.291379
580
14
78
41.428571
0.83455
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e7bd68b12a5e8867bbc35ac7cd372730ec172944
3,967
py
Python
train_offline.py
denisyarats/exorl
a3fb07a420939280aa0918150923dcca7e82bf2a
[ "MIT" ]
23
2022-02-08T20:28:47.000Z
2022-03-31T11:00:25.000Z
train_offline.py
denisyarats/exorl
a3fb07a420939280aa0918150923dcca7e82bf2a
[ "MIT" ]
1
2022-03-10T04:45:19.000Z
2022-03-10T04:45:19.000Z
train_offline.py
denisyarats/exorl
a3fb07a420939280aa0918150923dcca7e82bf2a
[ "MIT" ]
null
null
null
import warnings warnings.filterwarnings('ignore', category=DeprecationWarning) import os os.environ['MKL_SERVICE_FORCE_INTEL'] = '1' os.environ['MUJOCO_GL'] = 'egl' from pathlib import Path import hydra import numpy as np import torch from dm_env import specs import dmc import utils from logger import Logger from...
30.992188
79
0.637509
509
3,967
4.67387
0.261297
0.067255
0.035309
0.015973
0.094998
0.052963
0.029424
0.029424
0.029424
0
0
0.004798
0.264432
3,967
127
80
31.23622
0.810487
0.029745
0
0.022989
0
0
0.060922
0.005988
0
0
0
0
0
1
0.045977
false
0
0.137931
0.011494
0.218391
0.022989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7bf132349c97d22d52cdb3650636fe8ed882551
1,606
py
Python
December-15/python3_ASHIK11ab.py
ASHIK11ab/A-December-of-Algorithms-2021
2eeb1192c69b67b1c64033c1df155a705d1219c4
[ "MIT" ]
null
null
null
December-15/python3_ASHIK11ab.py
ASHIK11ab/A-December-of-Algorithms-2021
2eeb1192c69b67b1c64033c1df155a705d1219c4
[ "MIT" ]
null
null
null
December-15/python3_ASHIK11ab.py
ASHIK11ab/A-December-of-Algorithms-2021
2eeb1192c69b67b1c64033c1df155a705d1219c4
[ "MIT" ]
null
null
null
import ast class Solution: def __init__(self, orders, deadline): self.orders = orders self.deadline = deadline def solve(self): # `y` -> no of bracelets to be made in a day to deliver all orders # on time. The starting value of `y` will be >= maximum element in # the orders list since, no or...
27.220339
77
0.620174
241
1,606
3.958506
0.373444
0.080713
0.109015
0.035639
0.071279
0.071279
0.071279
0.071279
0
0
0
0.004325
0.280199
1,606
59
78
27.220339
0.820934
0.313823
0
0.157895
0
0
0.03125
0
0
0
0
0
0
1
0.105263
false
0
0.026316
0
0.184211
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7c5214a6861e2cb908a3d5d48328445859dbfbd
4,237
py
Python
windows.py
dcxSt/pfb-mod
1615790d0782f3becbba72a3e40c5b79ca4dc28b
[ "MIT" ]
1
2021-11-09T13:02:29.000Z
2021-11-09T13:02:29.000Z
windows.py
dcxSt/pfb-mod
1615790d0782f3becbba72a3e40c5b79ca4dc28b
[ "MIT" ]
null
null
null
windows.py
dcxSt/pfb-mod
1615790d0782f3becbba72a3e40c5b79ca4dc28b
[ "MIT" ]
null
null
null
#!/usr/bin/python3.8 """ Created on 2021-06-07 Author : Stephen Fay """ import numpy as np from constants import * import helper as h #%% spectrum transformers (spectrum ~ ft_block) f3 = lambda x:x*(1/(np.abs(x)+0.1)+0.3) f4 = lambda x:x*(1/(np.abs(x)+0.000001)) f5 = lambda x:x*(1/(np.abs(x)+0.01)) f6 = lambda x:x*...
30.482014
123
0.671702
658
4,237
4.194529
0.275076
0.055797
0.023913
0.03913
0.424275
0.366304
0.28913
0.218116
0.15471
0.138406
0
0.036189
0.165211
4,237
139
124
30.482014
0.744133
0.201794
0
0.267442
0
0
0.097898
0
0
0
0
0
0
1
0.023256
false
0
0.05814
0
0.104651
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
e7c7b17b656904abd64163333b17badb2111d9ac
986
py
Python
Train/test.py
fanchy888/digit_ANN
5faf0e574321ff5e3c6b8ec82992d20177be15a0
[ "MIT" ]
null
null
null
Train/test.py
fanchy888/digit_ANN
5faf0e574321ff5e3c6b8ec82992d20177be15a0
[ "MIT" ]
null
null
null
Train/test.py
fanchy888/digit_ANN
5faf0e574321ff5e3c6b8ec82992d20177be15a0
[ "MIT" ]
null
null
null
#-*- coding:utf-8 -*- from PIL import Image import numpy as np from scipy.io import loadmat from scipy.io import savemat def sigmoid(z): g=1/(1+np.exp(-z)) return g img=Image.open('test.png') img=img.convert('L') grey=img.getdata() X=np.asarray(grey) X=np.mat(X.ravel()) theta=loadmat('theta') theta1=theta['theta1']...
21.434783
41
0.679513
202
986
3.30198
0.292079
0.067466
0.089955
0.116942
0.428786
0.428786
0.428786
0.422789
0.356822
0.356822
0
0.057421
0.063895
986
45
42
21.911111
0.665222
0.020284
0
0.210526
0
0
0.044652
0
0
0
0
0
0
1
0.026316
false
0
0.105263
0
0.157895
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e7c8356eb7291024a35ca2cbb8863750d4cda4f4
3,465
py
Python
dateien_lesen.py
hansalemaos/Everything2TXT
33dc7f15d9003441d7e38a8d872c3b7f6b3fa00b
[ "MIT" ]
1
2022-02-27T19:07:08.000Z
2022-02-27T19:07:08.000Z
dateien_lesen.py
hansalemaos/Everything2TXT
33dc7f15d9003441d7e38a8d872c3b7f6b3fa00b
[ "MIT" ]
null
null
null
dateien_lesen.py
hansalemaos/Everything2TXT
33dc7f15d9003441d7e38a8d872c3b7f6b3fa00b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import docx2txt from pdfminer.high_level import extract_text from pptx import Presentation from bs4 import BeautifulSoup from epubextract import epub2txt from xlsx2html import xlsx2html import tempfile from tkinter import Tk from tkinter.filedialog import askopenfilename import re def create_t...
27.283465
73
0.621356
384
3,465
5.507813
0.286458
0.037825
0.049645
0.040189
0.280378
0.243026
0.158865
0.084161
0.048227
0.048227
0
0.005104
0.264935
3,465
126
74
27.5
0.825285
0.006061
0
0.29703
0
0
0.038755
0
0
0
0
0
0
1
0.089109
false
0
0.09901
0.019802
0.346535
0.039604
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7cc0e525cff12bc2b3486753006977533ce881a
9,346
py
Python
train.py
WKUAILAB/Risk_Level_Prediction
7074953cf2c19cf2f2ad5c1cad5df0ad30637418
[ "MIT" ]
null
null
null
train.py
WKUAILAB/Risk_Level_Prediction
7074953cf2c19cf2f2ad5c1cad5df0ad30637418
[ "MIT" ]
null
null
null
train.py
WKUAILAB/Risk_Level_Prediction
7074953cf2c19cf2f2ad5c1cad5df0ad30637418
[ "MIT" ]
1
2022-02-28T06:29:08.000Z
2022-02-28T06:29:08.000Z
import numpy as np import pandas as pd import os from joblib import dump from sklearn.model_selection import train_test_split, RandomizedSearchCV, GridSearchCV from sklearn.metrics import classification_report, recall_score, precision_recall_fscore_support from sklearn.ensemble import GradientBoostingClassifier from ...
43.469767
492
0.675904
1,338
9,346
4.404335
0.246637
0.025793
0.010182
0.008315
0.313423
0.280672
0.2318
0.212116
0.185644
0.120143
0
0.023763
0.184999
9,346
214
493
43.672897
0.749902
0.046437
0
0.107143
0
0
0.133048
0.0233
0
0
0
0
0
1
0
false
0
0.113095
0
0.113095
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
e7cd2f7b970a9548bf93ebb125e5939b4572b405
2,543
py
Python
mptb/models/commons.py
to-aoki/my-pytorch-bert
8e412ae6331f5f19fee55b430be389de2f5c49a6
[ "Apache-2.0" ]
21
2019-03-04T03:43:19.000Z
2022-02-14T15:50:41.000Z
mptb/models/commons.py
to-aoki/my-pytorch-bert
8e412ae6331f5f19fee55b430be389de2f5c49a6
[ "Apache-2.0" ]
1
2019-10-07T17:49:21.000Z
2019-12-14T11:50:10.000Z
mptb/models/commons.py
to-aoki/my-pytorch-bert
8e412ae6331f5f19fee55b430be389de2f5c49a6
[ "Apache-2.0" ]
5
2019-07-19T07:04:55.000Z
2020-07-01T13:24:14.000Z
# This file is based on # https://github.com/huggingface/pytorch-pretrained-BERT/blob/master/pytorch_pretrained_bert/modeling.py. # changing class names and variables names for my understanding of BERT. # and Modified a bit to visualize with bertviz. # # Copyright 2018 The Google AI Language Team Authors and The Huggin...
40.365079
105
0.701534
353
2,543
4.937677
0.467422
0.034423
0.027539
0.018359
0.04475
0.022949
0
0
0
0
0
0.013242
0.198191
2,543
62
106
41.016129
0.841589
0.416044
0
0.066667
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.033333
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
e7cd8e5b68df4a3597e07017cc8ad1f64fc2dc4a
1,388
py
Python
simple_server.py
mlacayoemery/owslib-pywps-echo
9b19936989d8261986f6184547206386afb8c1fe
[ "Unlicense" ]
null
null
null
simple_server.py
mlacayoemery/owslib-pywps-echo
9b19936989d8261986f6184547206386afb8c1fe
[ "Unlicense" ]
null
null
null
simple_server.py
mlacayoemery/owslib-pywps-echo
9b19936989d8261986f6184547206386afb8c1fe
[ "Unlicense" ]
null
null
null
import flask import pywps class EchoVector(pywps.Process): def __init__(self): inputs = [pywps.ComplexInput('message', 'Input message', supported_formats=[pywps.Format('application/gml+xml'), ...
30.844444
96
0.53098
131
1,388
5.450382
0.465649
0.046218
0.058824
0.07563
0.123249
0.123249
0.123249
0
0
0
0
0.012236
0.352305
1,388
44
97
31.545455
0.78198
0
0
0
0
0
0.131124
0
0
0
0
0
0
1
0.088235
false
0
0.058824
0.029412
0.235294
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
e7cdb089436833732bfa37700ee373f489662c99
889
py
Python
tests/test_jaccard_score.py
jo-mueller/biapol-utilities
773b60a64fa12641ba869addd7b4be9a4ab87ecd
[ "BSD-3-Clause" ]
4
2021-12-17T19:37:11.000Z
2022-03-29T16:39:31.000Z
tests/test_jaccard_score.py
jo-mueller/biapol-utilities
773b60a64fa12641ba869addd7b4be9a4ab87ecd
[ "BSD-3-Clause" ]
34
2021-11-04T14:10:24.000Z
2022-01-31T13:23:44.000Z
tests/test_jaccard_score.py
jo-mueller/biapol-utilities
773b60a64fa12641ba869addd7b4be9a4ab87ecd
[ "BSD-3-Clause" ]
2
2021-12-14T13:53:16.000Z
2021-12-15T12:30:51.000Z
# -*- coding: utf-8 -*- from biapol_utilities import label import numpy as np def test_compare_labels(): a = np.asarray([5, 0, 0, 1, 1, 1, 2, 2]) b = np.asarray([5, 0, 0, 1, 1, 1, 2, 3]) result = label.compare_labels(a, b) assert('jaccard_score' in result.columns) assert('dice_score' in result...
21.166667
72
0.598425
153
889
3.294118
0.248366
0.047619
0.035714
0.047619
0.404762
0.404762
0.404762
0.404762
0.404762
0.402778
0
0.082133
0.219348
889
41
73
21.682927
0.644092
0.023622
0
0.363636
0
0
0.035797
0
0
0
0
0
0.181818
1
0.136364
false
0
0.090909
0
0.227273
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
e7d05b674fc0a756fe709726953552b8a0021a86
1,420
py
Python
commands/elections.py
Nichodon/Democracy-Bot
708613944b25f7331b18153e5f90c18f44e38aff
[ "MIT" ]
null
null
null
commands/elections.py
Nichodon/Democracy-Bot
708613944b25f7331b18153e5f90c18f44e38aff
[ "MIT" ]
null
null
null
commands/elections.py
Nichodon/Democracy-Bot
708613944b25f7331b18153e5f90c18f44e38aff
[ "MIT" ]
null
null
null
import asyncio from demobot.utils import * from demobot.handlers import add_message_handler, nested_get, nested_set, nested_pop from commands.utilities import save async def running(Demobot, msg, reg): if nested_get(msg.server.id, "roles", 'citizen') in msg.author.roles: aliases = { 'rep': 're...
43.030303
117
0.619718
188
1,420
4.601064
0.409574
0.072832
0.050867
0.079769
0.217341
0.187283
0.113295
0.113295
0.113295
0.113295
0
0.002747
0.230986
1,420
32
118
44.375
0.789377
0
0
0.068966
0
0.034483
0.209155
0.053521
0
0
0
0
0
1
0
false
0
0.137931
0
0.172414
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
e7d451a5141cd5cf0b8b79bacc909a39ece22eab
848
py
Python
ping.py
FoxUnderGround/Ping-Plot
4a61b147c2e1f4ee79cd77ea8500fc70175b59c7
[ "MIT" ]
1
2020-03-06T14:18:34.000Z
2020-03-06T14:18:34.000Z
ping.py
FoxUnderGround/Ping-Plot
4a61b147c2e1f4ee79cd77ea8500fc70175b59c7
[ "MIT" ]
null
null
null
ping.py
FoxUnderGround/Ping-Plot
4a61b147c2e1f4ee79cd77ea8500fc70175b59c7
[ "MIT" ]
null
null
null
from pythonping import ping import matplotlib.pyplot as plt import matplotlib.animation as animation from matplotlib import style style.use('fivethirtyeight') fig = plt.figure() ax1 = fig.add_subplot(1,1,1) xs_min=[0] ys_min=[5] def animate(z): ping_out = ping('8.8.8.8', count = 2) ping_arr...
21.74359
64
0.610849
129
848
3.844961
0.410853
0.060484
0.012097
0
0
0
0
0
0
0
0
0.03888
0.241745
848
38
65
22.315789
0.732504
0.03066
0
0
0
0
0.030691
0
0
0
0
0
0
1
0.041667
false
0
0.166667
0
0.208333
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
e7dd0fd747c77ccfad30186eb48f1feb9667fdbd
7,400
py
Python
submodules/hal/assemblyHub/prepareHubFiles.py
pbasting/cactus
833d8ca015deecdfa5d0aca01211632cdaca9e58
[ "MIT-0" ]
null
null
null
submodules/hal/assemblyHub/prepareHubFiles.py
pbasting/cactus
833d8ca015deecdfa5d0aca01211632cdaca9e58
[ "MIT-0" ]
null
null
null
submodules/hal/assemblyHub/prepareHubFiles.py
pbasting/cactus
833d8ca015deecdfa5d0aca01211632cdaca9e58
[ "MIT-0" ]
null
null
null
#!/usr/bin/env python #Copyright (C) 2013 by Ngan Nguyen # #Released under the MIT license, see LICENSE.txt """ Make "hub.txt", "groups.txt", files that are required by AssemblyHub Also prepare description.html files """ import os, sys from sonLib.bioio import system from optparse import OptionGroup from hal.as...
40.217391
277
0.662027
1,040
7,400
4.695192
0.263462
0.076183
0.054475
0.013107
0.199058
0.146222
0.113864
0.099939
0.052632
0.052632
0
0.00582
0.187297
7,400
183
278
40.437158
0.806119
0.065811
0
0.202797
0
0.041958
0.373169
0.011313
0
0
0
0
0
1
0.06993
false
0
0.041958
0
0.132867
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
e7e190c401cd34896ce2b8d4d09a1b734e5c48e3
6,698
py
Python
tools/fastqc/rgFastQC.py
bebatut/tools-iuc
4fb528145289ad4db04e4589c02e9ddaa1194138
[ "MIT" ]
null
null
null
tools/fastqc/rgFastQC.py
bebatut/tools-iuc
4fb528145289ad4db04e4589c02e9ddaa1194138
[ "MIT" ]
null
null
null
tools/fastqc/rgFastQC.py
bebatut/tools-iuc
4fb528145289ad4db04e4589c02e9ddaa1194138
[ "MIT" ]
null
null
null
""" Rewrite of rgFastQC.py for Version 0.11.2 of FastQC. Changes implemented from tmcgowan at https://testtoolshed.g2.bx.psu.edu/view/tmcgowan/fastqc and iuc at https://toolshed.g2.bx.psu.edu/view/iuc/fastqc with minor changes and bug fixes SYNOPSIS rgFastQC.py -i input_file -j input_file.name -o output_html_fil...
39.169591
148
0.627351
853
6,698
4.838218
0.311841
0.0504
0.026654
0.023261
0.163315
0.094984
0.068331
0.037315
0.037315
0
0
0.007049
0.258734
6,698
170
149
39.4
0.824169
0.27456
0
0.145455
0
0
0.102424
0
0
0
0
0
0.036364
1
0.036364
false
0
0.1
0
0.145455
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
99adaa9fbb76e38861e85eb3688d0298edfd1677
5,563
py
Python
appengine/monorail/framework/test/paginate_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
appengine/monorail/framework/test/paginate_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
7
2022-02-15T01:11:37.000Z
2022-03-02T12:46:13.000Z
appengine/monorail/framework/test/paginate_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd """Unit tests for pagination classes.""" from __future__ import print_function from __future__ ...
38.10274
77
0.729642
707
5,563
5.61669
0.224894
0.101989
0.102745
0.070511
0.618736
0.543692
0.533115
0.469907
0.421556
0.352304
0
0.045033
0.165738
5,563
145
78
38.365517
0.810601
0.121697
0
0.357798
0
0
0.070856
0.033272
0
0
0
0
0.357798
1
0.06422
false
0
0.082569
0
0.165138
0.009174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99addb00927f314ffddb52609797a63c1bd4e073
4,022
py
Python
backend/google_calendar.py
engineerjoe440/djjoecalendar
02e88861d460d71527bf5d714913fd148579b258
[ "MIT" ]
null
null
null
backend/google_calendar.py
engineerjoe440/djjoecalendar
02e88861d460d71527bf5d714913fd148579b258
[ "MIT" ]
null
null
null
backend/google_calendar.py
engineerjoe440/djjoecalendar
02e88861d460d71527bf5d714913fd148579b258
[ "MIT" ]
null
null
null
################################################################################ """ DJ JOE Website Availability Calendar ------------------------------------ (c) 2021 - Stanley Solutions - Joe Stanley This application serves the React frontend required to demonstrate the available dates for DJ Joe Services. """ ####...
34.973913
83
0.592491
470
4,022
4.876596
0.314894
0.034904
0.031414
0.026178
0.287958
0.259162
0.224258
0.224258
0.19808
0.19808
0
0.012662
0.21457
4,022
115
84
34.973913
0.712884
0.168324
0
0.186667
0
0
0.147777
0.064861
0
0
0
0
0
1
0.066667
false
0
0.053333
0
0.2
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99aff1381f53e0fd438acad0daa71781fe93be07
5,764
py
Python
seutil/Stream.py
JiyangZhang/seutil
6a2d0961a5f78f2adbf9f0b5f292f6be71780ca2
[ "Apache-2.0" ]
6
2020-07-02T02:39:59.000Z
2022-02-08T18:38:39.000Z
seutil/Stream.py
JiyangZhang/seutil
6a2d0961a5f78f2adbf9f0b5f292f6be71780ca2
[ "Apache-2.0" ]
5
2020-11-29T02:26:50.000Z
2022-01-24T16:26:54.000Z
seutil/Stream.py
JiyangZhang/seutil
6a2d0961a5f78f2adbf9f0b5f292f6be71780ca2
[ "Apache-2.0" ]
1
2020-10-09T23:31:22.000Z
2020-10-09T23:31:22.000Z
from pathlib import Path import numpy as np import random import subprocess from typing import * from .IOUtils import IOUtils class Stream: """ Streams help manipulate sequences of objects. """ def __init__(self): self.items = list() return @classmethod def of(cls, one_or_mor...
32.022222
124
0.566967
733
5,764
4.251023
0.231924
0.054878
0.03466
0.017972
0.270218
0.202182
0.170732
0.154044
0.116816
0.116816
0
0.005704
0.330847
5,764
179
125
32.201117
0.802178
0.133588
0
0.228814
0
0
0.029467
0
0
0
0
0
0
1
0.194915
false
0
0.050847
0.084746
0.449153
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
99b9d977ad5ba85f80dfdf899e7e306d68769703
246
py
Python
main.py
FlamptX/topgg-webhook-cog
b937bbef71ada9a00b6e748475fa55e5cedbf6ee
[ "MIT" ]
1
2021-05-11T16:22:00.000Z
2021-05-11T16:22:00.000Z
main.py
FlamptX/topgg-webhook-cog
b937bbef71ada9a00b6e748475fa55e5cedbf6ee
[ "MIT" ]
null
null
null
main.py
FlamptX/topgg-webhook-cog
b937bbef71ada9a00b6e748475fa55e5cedbf6ee
[ "MIT" ]
null
null
null
from discord.ext import commands from configparser import ConfigParser parser = ConfigParser() parser.read("config.txt") TOKEN = parser.get('config', 'token') bot = commands.Bot(command_prefix='!') bot.load_extension("Webhook") bot.run(TOKEN)
20.5
38
0.760163
32
246
5.78125
0.59375
0.194595
0
0
0
0
0
0
0
0
0
0
0.097561
246
11
39
22.363636
0.833333
0
0
0
0
0
0.117886
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
99b9dbb04990991f85b416338b39b80cb298f798
567
py
Python
test_ghost/test_01_basic_functionality.py
prosky-pmaj/python-framework-for-web-ui-and-api-testing
6218aca2e5a45f26507ab624724e1f17dca5546f
[ "MIT" ]
null
null
null
test_ghost/test_01_basic_functionality.py
prosky-pmaj/python-framework-for-web-ui-and-api-testing
6218aca2e5a45f26507ab624724e1f17dca5546f
[ "MIT" ]
null
null
null
test_ghost/test_01_basic_functionality.py
prosky-pmaj/python-framework-for-web-ui-and-api-testing
6218aca2e5a45f26507ab624724e1f17dca5546f
[ "MIT" ]
null
null
null
from components.ghost.blogPage import BlogPage from components.ghost.adminPanelPage import AdminPanelPage class TestBlogPage(BlogPage): def test_01_open_blog_page(self): self.go_to() assert self.get_title() == "Blog for Testing" class TestAdminPanelPage(AdminPanelPage): def test_01_open_admi...
27
58
0.714286
78
567
4.833333
0.423077
0.05305
0.079576
0.095491
0.228117
0.137931
0.137931
0
0
0
0
0.013274
0.202822
567
20
59
28.35
0.820796
0
0
0.2
0
0
0.028219
0
0
0
0
0
0.2
1
0.2
false
0
0.133333
0
0.466667
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
99ba4295d40e9eb27422490957fc057fa213b493
1,038
py
Python
data_prep/yelp_dataset/fix_user.py
Nithanaroy/GeoReachRecommender
74443bad1cb363582736f8fa9294a91321848def
[ "MIT" ]
1
2020-03-25T17:39:10.000Z
2020-03-25T17:39:10.000Z
data_prep/yelp_dataset/fix_user.py
Nithanaroy/GeoReachRecommender
74443bad1cb363582736f8fa9294a91321848def
[ "MIT" ]
null
null
null
data_prep/yelp_dataset/fix_user.py
Nithanaroy/GeoReachRecommender
74443bad1cb363582736f8fa9294a91321848def
[ "MIT" ]
4
2017-01-21T15:16:55.000Z
2020-03-28T17:43:47.000Z
""" { 'type': 'user', 'user_id': (encrypted user id), 'name': (first name), 'review_count': (review count), 'average_stars': (floating point average, like 4.31), 'votes': {(vote type): (count)}, 'friends': [(friend user_ids)], 'elite': [(years_elite)], 'yelping_since': (date, formatt...
25.95
58
0.504817
122
1,038
4.090164
0.52459
0.088176
0.04008
0
0
0
0
0
0
0
0
0.012129
0.285164
1,038
39
59
26.615385
0.660377
0.44316
0
0
0
0
0.203509
0
0
0
0
0
0
1
0.058824
false
0
0.058824
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
99bb6a49211d151c035db736f93150d9bd8b0d82
5,085
py
Python
src/GlobalTracker/scene.py
lleon95/NanoSciTracker-Python
f682c1f3b9b9f76a6de8ea816df910715539edf1
[ "Apache-2.0" ]
null
null
null
src/GlobalTracker/scene.py
lleon95/NanoSciTracker-Python
f682c1f3b9b9f76a6de8ea816df910715539edf1
[ "Apache-2.0" ]
null
null
null
src/GlobalTracker/scene.py
lleon95/NanoSciTracker-Python
f682c1f3b9b9f76a6de8ea816df910715539edf1
[ "Apache-2.0" ]
null
null
null
# NanoSciTracker - 2020 # Author: Luis G. Leon Vega <luis@luisleon.me> # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to y...
33.019481
86
0.627139
594
5,085
5.227273
0.296296
0.0657
0.027375
0.032206
0.171337
0.111433
0.091465
0.064412
0.034138
0
0
0.013943
0.294789
5,085
153
87
33.235294
0.851924
0.223992
0
0.121212
0
0
0.01577
0
0
0
0
0
0
1
0.060606
false
0
0.070707
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
99bc36674ac9930132b7fa40a1504d6148e42d4d
7,573
py
Python
jmeter_api/configs/http_cookie_manager/elements.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
11
2020-03-22T13:30:21.000Z
2021-12-25T06:23:44.000Z
jmeter_api/configs/http_cookie_manager/elements.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
37
2019-12-18T13:12:50.000Z
2022-02-10T10:52:37.000Z
jmeter_api/configs/http_cookie_manager/elements.py
dashawn888/jmeter_api
1ab5b02f3a7c8ad1b84fc50db4fe1fc2fa7c91bd
[ "Apache-2.0" ]
5
2019-12-06T10:55:56.000Z
2020-06-01T19:32:32.000Z
import logging from typing import List, Optional from enum import Enum from xml.etree.ElementTree import Element from jmeter_api.basics.config.elements import BasicConfig from jmeter_api.basics.utils import Renderable, FileEncoding, tree_to_str class CookiePolicy(Enum): STANDARD = 'standard' STANDARD_STRICT...
32.502146
88
0.575201
832
7,573
5.032452
0.127404
0.032243
0.02866
0.05732
0.433962
0.318128
0.238357
0.21925
0.21925
0.17005
0
0.003333
0.326555
7,573
232
89
32.642241
0.817647
0
0
0.242268
0
0
0.152119
0.047669
0
0
0
0
0
1
0.134021
false
0
0.030928
0.056701
0.304124
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
99bc394d69ac0c2ddde0ba6fd63c903bf2c13144
13,338
py
Python
electionBuster.py
RarW0lf/electionBuster
394e92a972c0a6af260811985a8051af40ffa25d
[ "MIT" ]
16
2015-10-22T01:37:28.000Z
2018-10-17T13:05:44.000Z
electionBuster.py
RarW0lf/electionBuster
394e92a972c0a6af260811985a8051af40ffa25d
[ "MIT" ]
2
2018-02-10T00:05:43.000Z
2018-05-17T22:48:22.000Z
electionBuster.py
thorshand/electionBuster
394e92a972c0a6af260811985a8051af40ffa25d
[ "MIT" ]
4
2017-08-02T12:41:44.000Z
2018-08-14T16:16:41.000Z
#!/usr/bin/python3.5 ################################################## ## Author: Joshua Franklin, Kevin Franklin ## Example input to start: ## sudo ./electionBuster.py -f josh -l franklin -y 2014 -e senate -s pennsyltucky ## 6 arguments are passed: ## 1: The first name of the candidate (mandatory) ## 2: The mi...
35.568
204
0.647623
1,632
13,338
5.273897
0.262868
0.053677
0.040781
0.03137
0.237597
0.141745
0.090508
0.073312
0.073312
0.073312
0
0.008181
0.15692
13,338
374
205
35.663102
0.757225
0.276578
0
0.191304
0
0
0.237795
0.042837
0
0
0
0.002674
0
1
0.017391
false
0
0.06087
0
0.095652
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
99bc54e60d9317663e39e91ec8fe0cf6bc80d209
20,227
py
Python
core/authentication/__init__.py
Sick-codes/core
da9250f27a5de4fc3a08e9c47064b19f484b042b
[ "Apache-2.0" ]
null
null
null
core/authentication/__init__.py
Sick-codes/core
da9250f27a5de4fc3a08e9c47064b19f484b042b
[ "Apache-2.0" ]
null
null
null
core/authentication/__init__.py
Sick-codes/core
da9250f27a5de4fc3a08e9c47064b19f484b042b
[ "Apache-2.0" ]
null
null
null
"""Initialization of authentication.""" import json import logging import secrets import uuid from typing import TYPE_CHECKING, List, Optional if TYPE_CHECKING: from core.core import ApplicationCore import aiohttp_jinja2 from aiohttp import hdrs, web from ..const import CONF_TOKEN_LIFETIME from .auth_client impo...
39.738703
145
0.565531
2,117
20,227
5.217761
0.135097
0.033315
0.01883
0.030418
0.440703
0.345012
0.333152
0.257378
0.223339
0.205685
0
0.00743
0.341277
20,227
508
146
39.816929
0.8216
0.118999
0
0.319767
0
0
0.242739
0.05773
0
0
0
0.005906
0
1
0.008721
false
0.005814
0.031977
0
0.113372
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
99bc74d2f622c7d0048f1d7a1244333cdfa0d30a
785
py
Python
Utils/Image_processing.py
philshams/FC_analysis
cabe2385d5061d206a21b230605bfce9e39ec7f2
[ "MIT" ]
null
null
null
Utils/Image_processing.py
philshams/FC_analysis
cabe2385d5061d206a21b230605bfce9e39ec7f2
[ "MIT" ]
null
null
null
Utils/Image_processing.py
philshams/FC_analysis
cabe2385d5061d206a21b230605bfce9e39ec7f2
[ "MIT" ]
null
null
null
import cv2 def process_background(background, track_options): """ extract background: first frame of first video of a session Allow user to specify ROIs on the background image """ print(' ... extracting background') cv2.startWindowThread() if len(background.shape) == 3: gray = cv2.cv...
29.074074
78
0.628025
99
785
4.939394
0.606061
0.04908
0
0
0
0
0
0
0
0
0
0.02901
0.253503
785
26
79
30.192308
0.805461
0.182166
0
0
0
0
0.120827
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.1875
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99bcdcd5e66866adeb754619341836bf5daa27c7
1,553
py
Python
python/ctci-merge-sort.py
gajubadge11/hackerrank-3
132a5019b7ed21507bb95b5063fa66c446b0eff7
[ "MIT" ]
21
2015-02-09T18:08:38.000Z
2021-11-08T15:00:48.000Z
python/ctci-merge-sort.py
gajubadge11/hackerrank-3
132a5019b7ed21507bb95b5063fa66c446b0eff7
[ "MIT" ]
7
2020-04-12T23:00:19.000Z
2021-01-30T23:44:24.000Z
python/ctci-merge-sort.py
gajubadge11/hackerrank-3
132a5019b7ed21507bb95b5063fa66c446b0eff7
[ "MIT" ]
27
2015-07-22T18:08:12.000Z
2022-02-28T19:50:26.000Z
#!/bin/python3 import math import os import random import re import sys # This solution times out on Hackerrank with Python 3 # However, it passes all test cases with Pypy 3 def countInversions(arr): global COUNT_INVERSIONS COUNT_INVERSIONS = 0 mergeSort(arr) return COUNT_INVERSIONS def mergeSort(...
24.650794
67
0.647135
183
1,553
5.377049
0.486339
0.07622
0.042683
0.030488
0.04065
0
0
0
0
0
0
0.008598
0.251127
1,553
62
68
25.048387
0.837489
0.175145
0
0.05
0
0
0.017282
0
0
0
0
0
0
1
0.05
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
99bf91ac2f49e24944ae85032ce5745ad6b70267
21,009
py
Python
ENCODE_publications.py
T2DREAM/pyencoded-tools
75fa636995bfc9fe181f9af490ce70dde3f6ce21
[ "MIT" ]
null
null
null
ENCODE_publications.py
T2DREAM/pyencoded-tools
75fa636995bfc9fe181f9af490ce70dde3f6ce21
[ "MIT" ]
null
null
null
ENCODE_publications.py
T2DREAM/pyencoded-tools
75fa636995bfc9fe181f9af490ce70dde3f6ce21
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: latin-1 -*- from Bio import Entrez from Bio import Medline import argparse import os import csv import logging import encodedcc EPILOG = ''' Takes in a VERY specific file format to use for updating the publications Also can update the existing publications using the pubmed database...
48.85814
228
0.524775
2,113
21,009
5.128727
0.17416
0.009228
0.013196
0.016794
0.341884
0.310418
0.295562
0.272031
0.258743
0.245917
0
0.005132
0.369318
21,009
429
229
48.972028
0.812755
0.051549
0
0.302949
0
0
0.153105
0.011091
0
0
0
0
0
1
0.021448
false
0.005362
0.018767
0
0.048257
0.013405
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99c11294cdaedfbcacc68dc5da7e71c76a3c5c19
579
py
Python
medium/remove_nth_node_from_end_of_list.py
Jswig/leetcode
ca9ca182ab7824d642aa5ebbe5974669d2a6221c
[ "MIT" ]
null
null
null
medium/remove_nth_node_from_end_of_list.py
Jswig/leetcode
ca9ca182ab7824d642aa5ebbe5974669d2a6221c
[ "MIT" ]
null
null
null
medium/remove_nth_node_from_end_of_list.py
Jswig/leetcode
ca9ca182ab7824d642aa5ebbe5974669d2a6221c
[ "MIT" ]
null
null
null
# Anders Poirel class ListNode: def __init__(self, x): self.val = x self.next = None class Solution: def removeNthFromEnd(self, head: ListNode, n: int) -> ListNode: fast = head slow = head for i in range(n-1): fast = fast.next while fas...
21.444444
67
0.462867
64
579
4.125
0.46875
0.090909
0.090909
0
0
0
0
0
0
0
0
0.003205
0.46114
579
27
68
21.444444
0.842949
0.022453
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0
0
0.263158
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
99c2e61e389f9dd7c525b31829b0d447fc52f4de
1,674
py
Python
tests/community/test_pushbullet.py
soasme/runflow
b23086c2487a157b8c2d40f6225a1bcd9e8b6c60
[ "Apache-2.0" ]
6
2021-06-07T01:26:19.000Z
2021-07-02T12:57:07.000Z
tests/community/test_pushbullet.py
soasme/runflow
b23086c2487a157b8c2d40f6225a1bcd9e8b6c60
[ "Apache-2.0" ]
2
2021-06-06T02:56:37.000Z
2021-06-07T04:06:23.000Z
tests/community/test_pushbullet.py
soasme/runflow
b23086c2487a157b8c2d40f6225a1bcd9e8b6c60
[ "Apache-2.0" ]
null
null
null
import pytest from runflow import runflow pytest.importorskip('slack_sdk') def test_pushbullet_push_note(mocker): pb = mocker.MagicMock() mocker.patch('pushbullet.Pushbullet', pb) runflow(path="examples/pushbullet_push_note.hcl", vars={ 'pushbullet_api_key': 'any' }) pb.return_value.pu...
23.914286
60
0.635006
202
1,674
5.049505
0.306931
0.096078
0.044118
0.090196
0.677451
0.677451
0.645098
0.572549
0.538235
0.482353
0
0.001552
0.229988
1,674
69
61
24.26087
0.78976
0
0
0.392857
0
0
0.30227
0.109319
0
0
0
0
0.071429
1
0.071429
false
0
0.053571
0
0.125
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
99c393d65fd469c4d0c7d4d4470fc5c12bb10a44
3,269
py
Python
ch02/dateandtime.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
ch02/dateandtime.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
ch02/dateandtime.py
ibiscum/Learn-Python-Programming-Third-Edition
c8e0061e97b16c9b55250cc720a8bc7613cb6cca
[ "MIT" ]
null
null
null
"""Date and time""" # imports import arrow from datetime import date, datetime, timedelta, timezone import time import calendar as cal from zoneinfo import ZoneInfo # arrow small demo # date today = date.today() print(today) # datetime.date(2021, 3, 28) print(today.ctime()) print(today.isoformat()) print(today.we...
20.955128
91
0.67513
547
3,269
3.932358
0.243144
0.059507
0.02278
0.037192
0.280335
0.240818
0.218503
0.178987
0.145514
0.134821
0
0.17903
0.142245
3,269
155
92
21.090323
0.588088
0.559498
0
0
0
0
0.053052
0.018169
0
0
0
0
0
1
0
false
0
0.087719
0
0.087719
0.315789
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99c5edc4f3f5114316b3f4fae670cf161eac7a79
15,176
py
Python
utils.py
Soft8Soft/verge3d-blender-addon
20a7ca153285e4744a7079bc015584271a50a252
[ "Apache-2.0" ]
86
2018-08-14T17:08:27.000Z
2022-03-22T10:35:28.000Z
utils.py
Soft8Soft/verge3d-blender-addon
20a7ca153285e4744a7079bc015584271a50a252
[ "Apache-2.0" ]
3
2018-08-16T16:32:26.000Z
2021-01-31T11:09:01.000Z
utils.py
Soft8Soft/verge3d-blender-addon
20a7ca153285e4744a7079bc015584271a50a252
[ "Apache-2.0" ]
18
2018-08-15T10:32:19.000Z
2022-02-28T16:41:51.000Z
# Copyright (c) 2017-2019 Soft8Soft LLC # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distribute...
29.525292
95
0.669412
2,053
15,176
4.806624
0.253288
0.006688
0.008512
0.011552
0.178354
0.116842
0.043575
0.012566
0
0
0
0.010884
0.243213
15,176
513
96
29.582846
0.848324
0.244201
0
0.1777
0
0
0.024144
0.005991
0
0
0
0
0
1
0.121951
false
0.003484
0.017422
0.02439
0.313589
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
99c8bc3429d14ce3a02ee120f70154934756c968
37,815
py
Python
VESIcal/vplot.py
kaylai/VESIcal
3ea18b0ce30b30fb55786346c37ef8f428ee5034
[ "MIT" ]
16
2020-06-22T09:07:32.000Z
2022-01-12T13:42:12.000Z
VESIcal/vplot.py
kaylai/VESIcal
3ea18b0ce30b30fb55786346c37ef8f428ee5034
[ "MIT" ]
136
2020-05-22T21:43:23.000Z
2022-03-07T22:06:33.000Z
build/lib/VESIcal/vplot.py
kaylai/VESIcal
3ea18b0ce30b30fb55786346c37ef8f428ee5034
[ "MIT" ]
3
2021-05-18T08:21:02.000Z
2022-03-25T01:08:10.000Z
from VESIcal import core from VESIcal import calibrations from VESIcal.tasplot import add_LeMaitre_fields import pandas as pd import numpy as np import warnings as w import matplotlib as mpl import matplotlib.pyplot as plt # ---------- DEFINE CUSTOM PLOTTING FORMATTING ------------ # style = "seaborn-colorblind" plt...
40.100742
80
0.532276
4,458
37,815
4.373935
0.114401
0.012719
0.006923
0.013539
0.522745
0.469101
0.42915
0.376789
0.346582
0.320016
0
0.017262
0.374957
37,815
942
81
40.143312
0.807709
0.2801
0
0.467972
0
0
0.08569
0
0
0
0
0
0
1
0.014235
false
0.021352
0.014235
0
0.042705
0.003559
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99c9d0224c8f3e8cd2f2000caf10456ad5cb58d3
824
py
Python
test/test_tools.py
translationalneurosurgery/tool-dimep
d2e3f8847d8a43d75b9ffc2dfaf65e5d1662c8ae
[ "MIT" ]
2
2021-11-01T11:48:59.000Z
2021-11-03T19:07:16.000Z
test/test_tools.py
agricolab/tool-dimep
d2e3f8847d8a43d75b9ffc2dfaf65e5d1662c8ae
[ "MIT" ]
2
2021-03-31T10:47:46.000Z
2021-03-31T11:31:51.000Z
test/test_tools.py
neuromti/tool-dimep
36f9f404c99a53e85c9c492c4b0a281f832e07ba
[ "MIT" ]
null
null
null
from dimep.tools import * import numpy as np import pytest @pytest.mark.parametrize("binsize", np.arange(1.0, 20.0, 1.0)) def test_downbin(binsize): x = np.arange(0.0, 100.0, 1) if binsize == 1.0: xhat = x else: xhat = np.arange((binsize - 1) / 2, 100.0 - binsize / 2, binsize) assert ...
34.333333
77
0.583738
154
824
3.064935
0.214286
0.101695
0.082627
0.067797
0.476695
0.459746
0.447034
0.434322
0.366525
0.148305
0
0.127889
0.212379
824
23
78
35.826087
0.599384
0
0
0
0
0
0.008495
0
0
0
0
0
0.388889
1
0.111111
false
0
0.166667
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
99cba028d63bd0b3002ecf1a8511685b7a12c347
6,825
py
Python
crypto_comparison.py
tomsch1/defichain-arbitrage-telegram-bot
b9f5291eaa60771c0ae28f832467393611de3da4
[ "MIT" ]
1
2022-03-01T14:19:49.000Z
2022-03-01T14:19:49.000Z
crypto_comparison.py
tomsch1/defichain-arbitrage-telegram-bot
b9f5291eaa60771c0ae28f832467393611de3da4
[ "MIT" ]
null
null
null
crypto_comparison.py
tomsch1/defichain-arbitrage-telegram-bot
b9f5291eaa60771c0ae28f832467393611de3da4
[ "MIT" ]
null
null
null
import cexdatacollect import dfi_dex_prices from symbols import CryptoExchangeSymbols class SymbolPrice(): def __init__(self, exchange_name:str, symbol:str, price:float): self.exchange_name: str = exchange_name self.symbol: str = symbol self.price: float = price class IndirectComparison()...
46.114865
203
0.670183
796
6,825
5.409548
0.15201
0.048769
0.03019
0.022759
0.391779
0.217139
0.195309
0.185787
0.185787
0.142127
0
0.004784
0.234286
6,825
147
204
46.428571
0.819173
0.016703
0
0.210526
0
0.017544
0.151551
0.102625
0
0
0
0
0
1
0.087719
false
0
0.026316
0.008772
0.201754
0.008772
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99cf64985f998c65d2cacfaacd8edb39224b3b22
558
py
Python
swig/openql/__init__.py
mmoelle1/OpenQL
7d9e084cd3ecd237c9ea280801529d96cf67369a
[ "Apache-2.0" ]
null
null
null
swig/openql/__init__.py
mmoelle1/OpenQL
7d9e084cd3ecd237c9ea280801529d96cf67369a
[ "Apache-2.0" ]
null
null
null
swig/openql/__init__.py
mmoelle1/OpenQL
7d9e084cd3ecd237c9ea280801529d96cf67369a
[ "Apache-2.0" ]
1
2022-01-04T20:51:43.000Z
2022-01-04T20:51:43.000Z
# Author Imran Ashraf # The import syntax changes slightly between python 2 and 3, so we # need to detect which version is being used: from sys import version_info if version_info[0] == 3: PY3 = True elif version_info[0] == 2: PY3 = False else: raise EnvironmentError("sys.version_info refers to a version ...
25.363636
69
0.689964
83
558
4.518072
0.614458
0.176
0.069333
0
0
0
0
0
0
0
0
0.025463
0.225806
558
21
70
26.571429
0.842593
0.297491
0
0.153846
0
0
0.27907
0
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
99d362a541a18ec8d12caecd6f148f337e916cdc
1,391
py
Python
src/external_script_runner.py
salvatorenovelli/python-automation-runner
7d18d02f3e60980d18e97991e7991ba3aa43e79a
[ "Apache-2.0" ]
1
2019-06-05T00:56:13.000Z
2019-06-05T00:56:13.000Z
src/external_script_runner.py
salvatorenovelli/python-automation-runner
7d18d02f3e60980d18e97991e7991ba3aa43e79a
[ "Apache-2.0" ]
null
null
null
src/external_script_runner.py
salvatorenovelli/python-automation-runner
7d18d02f3e60980d18e97991e7991ba3aa43e79a
[ "Apache-2.0" ]
null
null
null
import logging import os import signal import time from multiprocessing import Process class ExternalScript: def __init__(self, name, path): self.name = name self.path = path self.process = None def start_main_loop(self): if self.process is None: self.process = Pro...
30.23913
101
0.615385
175
1,391
4.771429
0.342857
0.118563
0.050299
0.043114
0.167665
0.064671
0.064671
0
0
0
0
0.00603
0.284687
1,391
45
102
30.911111
0.833166
0
0
0.108108
0
0
0.093458
0
0
0
0
0
0
1
0.135135
false
0
0.216216
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
99d6b69bacc16386a2d51e2e47e08c035278f928
1,029
py
Python
drone/remote_control/start.py
dpm76/eaglebone
46403d03359a780f385ccb1f05b462869eddff89
[ "ISC" ]
null
null
null
drone/remote_control/start.py
dpm76/eaglebone
46403d03359a780f385ccb1f05b462869eddff89
[ "ISC" ]
18
2016-03-30T08:43:45.000Z
2017-03-27T11:14:17.000Z
drone/remote_control/start.py
dpm76/eaglebone
46403d03359a780f385ccb1f05b462869eddff89
[ "ISC" ]
2
2016-03-06T20:38:06.000Z
2019-09-10T14:46:35.000Z
# -*- coding: utf-8 -*- ''' Created on 15/06/2015 @author: david ''' import sys if sys.version_info.major < 3: from SocketServer import TCPServer else: from socketserver import TCPServer import datetime import logging from remote_control.dispatching import Dispatcher def main(): logging.basicCon...
21.4375
118
0.594752
119
1,029
5.02521
0.571429
0.065217
0.073579
0.103679
0
0
0
0
0
0
0
0.027954
0.23518
1,029
47
119
21.893617
0.731893
0.058309
0
0
0
0
0.235172
0.046826
0
0
0
0
0
1
0.038462
false
0
0.230769
0
0.269231
0.115385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
99d6c24393f666e309f1685a7bc70884ed6cd31a
2,390
py
Python
src/threadpool.py
forumulator/pySlader
b2300da6c10f46f0fa9933be722462a42a98bdbc
[ "MIT" ]
1
2018-10-28T23:33:57.000Z
2018-10-28T23:33:57.000Z
src/threadpool.py
forumulator/pySlader
b2300da6c10f46f0fa9933be722462a42a98bdbc
[ "MIT" ]
null
null
null
src/threadpool.py
forumulator/pySlader
b2300da6c10f46f0fa9933be722462a42a98bdbc
[ "MIT" ]
null
null
null
from queue import Queue, Empty import threading from threading import Thread class Worker(Thread): _TIMEOUT = 2 """ Thread executing tasks from a given tasks queue. Thread is signalable, to exit """ def __init__(self, tasks, th_num): Thread.__init__(self) self.tasks = tasks ...
27.471264
79
0.562762
296
2,390
4.358108
0.310811
0.062791
0.065116
0.026357
0
0
0
0
0
0
0
0.005031
0.334728
2,390
87
80
27.471264
0.806289
0.085356
0
0.065574
0
0
0.013592
0
0
0
0
0
0
1
0.180328
false
0.016393
0.081967
0.016393
0.344262
0.032787
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99d9a48b5d99ac3508e56112ec75780dfbe5858e
8,893
py
Python
rnaindel/rnaindel_lib/indel_annotator.py
adamdingliang/RNAIndel
bc154a25a459ca0dd5c1f2ce064944e979105d23
[ "Apache-2.0" ]
1
2019-01-07T21:21:28.000Z
2019-01-07T21:21:28.000Z
rnaindel/rnaindel_lib/indel_annotator.py
adamdingliang/RNAIndel
bc154a25a459ca0dd5c1f2ce064944e979105d23
[ "Apache-2.0" ]
2
2019-01-05T16:39:41.000Z
2019-01-14T16:00:43.000Z
rnaindel/rnaindel_lib/indel_annotator.py
adamdingliang/RNAIndel
bc154a25a459ca0dd5c1f2ce064944e979105d23
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """2nd step of the analysis Checks if indels are coding or non-coding and annotates coding indels with variant effect indel_annotator is the main routine of this module """ import sys import pysam import logging import pandas as pd from functools import partial from .indel_curator import cura...
30.145763
88
0.534353
1,002
8,893
4.576846
0.220559
0.028783
0.017008
0.018535
0.257959
0.209769
0.152638
0.127344
0.1099
0.07283
0
0.009728
0.375801
8,893
294
89
30.248299
0.816429
0.342179
0
0.151899
0
0
0.040022
0
0
0
0
0
0
1
0.037975
false
0.037975
0.044304
0
0.120253
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
99dd827cc75c97313b16be59de14d6bad416a8e2
1,242
py
Python
rugosa/emulation/call_hooks/win_api/shlwapi.py
Defense-Cyber-Crime-Center/rugosa
70f5b1db7e3f02ecccb0495fe1c0c77930769276
[ "MIT" ]
1
2022-03-13T03:03:31.000Z
2022-03-13T03:03:31.000Z
rugosa/emulation/call_hooks/win_api/shlwapi.py
Defense-Cyber-Crime-Center/rugosa
70f5b1db7e3f02ecccb0495fe1c0c77930769276
[ "MIT" ]
null
null
null
rugosa/emulation/call_hooks/win_api/shlwapi.py
Defense-Cyber-Crime-Center/rugosa
70f5b1db7e3f02ecccb0495fe1c0c77930769276
[ "MIT" ]
null
null
null
""" Functions found in shlwapi.dll Shell Lightweight Utility Functions """ import logging import ntpath from ...call_hooks import builtin_func logger = logging.getLogger(__name__) @builtin_func("PathAppendA") @builtin_func("PathAppendW") #typedef(BOOL PathAppendA(LPSTR pszPath,LPCSTR pszMore);) def pathappend(cp...
25.346939
67
0.738325
171
1,242
5.081871
0.362573
0.080552
0.080552
0.115075
0.482163
0.437284
0.402762
0.326812
0.260069
0.260069
0
0.000952
0.154589
1,242
48
68
25.875
0.826667
0.198873
0
0.347826
0
0
0.062827
0
0
0
0
0
0
1
0.086957
false
0
0.130435
0
0.304348
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
99ddb51556072c9fe39d711ea4b8ad9ad506d836
1,057
py
Python
massage/urls.py
Johncs2d/accounting-system
46d660044b198afadbf6f90b72376f6a69166c5f
[ "MIT" ]
null
null
null
massage/urls.py
Johncs2d/accounting-system
46d660044b198afadbf6f90b72376f6a69166c5f
[ "MIT" ]
2
2021-03-19T00:39:18.000Z
2021-03-30T12:48:58.000Z
massage/urls.py
Johncs2d/accounting-system
46d660044b198afadbf6f90b72376f6a69166c5f
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('info', views.info, name='info'), path('chart', views.charts, name='chart'), path('trialbalance', views.trialbalance, name='trialbalance'), path('ledger', views.ledger, name='ledger'), pat...
48.045455
75
0.69631
120
1,057
6.05
0.291667
0.024793
0
0
0
0
0
0
0
0
0
0
0.122044
1,057
22
76
48.045455
0.782328
0
0
0
0
0
0.285444
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
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
99e2c1f902345ae0e7cb8b3c3a60e5be6b0705b4
2,680
py
Python
QLM_utils.py
qiuchili/PyQLM
ccd5f64f86cf88f618e30808d598f3785f5e6483
[ "MIT" ]
null
null
null
QLM_utils.py
qiuchili/PyQLM
ccd5f64f86cf88f618e30808d598f3785f5e6483
[ "MIT" ]
null
null
null
QLM_utils.py
qiuchili/PyQLM
ccd5f64f86cf88f618e30808d598f3785f5e6483
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from __future__ import division import numpy as np import os import math import pickle as Pickle import pynlpir import random from math import log from numpy import linalg as LA def F(rhoM, proDict): # print rhoM res = 0 for pm in proDict: P = np.trace(np.dot(proDict[pm][1], rhoM)) re...
26.8
140
0.691791
494
2,680
3.574899
0.184211
0.143262
0.150623
0.06342
0.463194
0.292752
0.270102
0.253681
0.253681
0.218573
0
0.010582
0.153731
2,680
100
141
26.8
0.768078
0.050746
0
0.256757
0
0
0.00197
0
0
0
0
0
0
1
0.162162
false
0
0.121622
0.040541
0.432432
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
99e491fbbf30f0808a4fe6456d18b36c7d57a986
1,647
py
Python
src/server.py
vishwajithsandaru/party-qr-generator-flask
10c44ec8aa03e561e9e6415b681a0e200184b120
[ "MIT" ]
null
null
null
src/server.py
vishwajithsandaru/party-qr-generator-flask
10c44ec8aa03e561e9e6415b681a0e200184b120
[ "MIT" ]
null
null
null
src/server.py
vishwajithsandaru/party-qr-generator-flask
10c44ec8aa03e561e9e6415b681a0e200184b120
[ "MIT" ]
null
null
null
from crypt import methods from this import s from flask import Flask, request, jsonify import base64 import os from Crypto.Cipher import AES from urllib.parse import unquote app = Flask(__name__) secret = 'TESTTESTTESTTEST' p_char = '%' def unpad_str(msg): msg = msg.decode('utf-8') msg = msg.rstrip('%') ...
25.734375
93
0.659381
217
1,647
4.774194
0.428571
0.061776
0.017375
0.023166
0
0
0
0
0
0
0
0.019757
0.200971
1,647
63
94
26.142857
0.767477
0
0
0.12
0
0
0.120219
0
0
0
0
0
0
1
0.08
false
0
0.14
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
99e565c6c04330549af61e5e41e6e64599dd5a85
404
py
Python
Day 02 - Beginner - Understanding Data Types and How to Manipulate Strings/04_PROJECT_tip_calculator.py
not-lucky/100_Days_of_Code_-_The_Complete_Python_Pro_Bootcamp_for_2022
2c21c190ab756176bd7b577b3f8a0370b75c3828
[ "MIT" ]
null
null
null
Day 02 - Beginner - Understanding Data Types and How to Manipulate Strings/04_PROJECT_tip_calculator.py
not-lucky/100_Days_of_Code_-_The_Complete_Python_Pro_Bootcamp_for_2022
2c21c190ab756176bd7b577b3f8a0370b75c3828
[ "MIT" ]
null
null
null
Day 02 - Beginner - Understanding Data Types and How to Manipulate Strings/04_PROJECT_tip_calculator.py
not-lucky/100_Days_of_Code_-_The_Complete_Python_Pro_Bootcamp_for_2022
2c21c190ab756176bd7b577b3f8a0370b75c3828
[ "MIT" ]
null
null
null
print("wewcome to the tip cawcuwatow. >_<") bill = float(input("What is the total bill?\n$")) tip_percentage = float(input("What percentage tip will you like to give?\n")) split_among = int(input("How many people to split the bill?\n")) total_bill_with_tip = bill + (bill * tip_percentage / 100) each_pay = round(total...
36.727273
77
0.725248
68
404
4.117647
0.5
0.096429
0.1
0.114286
0
0
0
0
0
0
0
0.014327
0.136139
404
10
78
40.4
0.787966
0
0
0
0
0
0.443069
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99ea05eb7467ddb1c7614fa510b122a7f9c67b31
4,619
py
Python
lib/consistencyCheck.py
pnlbwh/multi-shell-dMRIharmonization
46e207c5d2b7fd68ddbbd1b305c33cfd45351ee8
[ "CNRI-Python", "Info-ZIP" ]
4
2020-04-28T15:31:07.000Z
2022-02-15T07:04:21.000Z
lib/consistencyCheck.py
pnlbwh/multi-shell-dMRIharmonization
46e207c5d2b7fd68ddbbd1b305c33cfd45351ee8
[ "CNRI-Python", "Info-ZIP" ]
30
2019-11-10T20:51:34.000Z
2021-04-19T19:08:14.000Z
lib/consistencyCheck.py
pnlbwh/multi-shell-dMRIharmonization
46e207c5d2b7fd68ddbbd1b305c33cfd45351ee8
[ "CNRI-Python", "Info-ZIP" ]
3
2019-10-18T16:06:03.000Z
2021-02-21T01:10:45.000Z
#!/usr/bin/env python # =============================================================================== # dMRIharmonization (2018) pipeline is written by- # # TASHRIF BILLAH # Brigham and Women's Hospital/Harvard Medical School # tbillah@bwh.harvard.edu, tashrifbillah@gmail.com # # ====================================...
32.076389
158
0.646677
563
4,619
5.174068
0.296625
0.022657
0.013732
0.016478
0.354617
0.354617
0.276691
0.276691
0.248541
0.248541
0
0.007311
0.200476
4,619
143
159
32.300699
0.781478
0.136826
0
0.311111
0
0.033333
0.31412
0.042034
0
0
0
0
0
1
0.033333
false
0
0.077778
0
0.111111
0.277778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99ebaf6f0294d590f15abaa22804c5ca352ff36f
1,283
py
Python
tests/test_cross_corr.py
halomod/halomod
f4f207ac70ed32a7f7e16139698c85eda1f0b6a9
[ "MIT" ]
4
2021-02-23T13:28:59.000Z
2022-02-11T15:53:57.000Z
tests/test_cross_corr.py
halomod/halomod
f4f207ac70ed32a7f7e16139698c85eda1f0b6a9
[ "MIT" ]
20
2021-02-02T15:08:28.000Z
2021-09-20T18:26:49.000Z
tests/test_cross_corr.py
halomod/halomod
f4f207ac70ed32a7f7e16139698c85eda1f0b6a9
[ "MIT" ]
3
2021-03-07T15:28:34.000Z
2021-08-21T21:41:44.000Z
import numpy as np from halomod.cross_correlations import ConstantCorr, CrossCorrelations def test_cross_same(): """Test if using two components that are the same gives the same as an auto corr.""" cross = CrossCorrelations( cross_hod_model=ConstantCorr, halo_model_1_params={ "ex...
29.837209
89
0.643804
165
1,283
4.69697
0.406061
0.069677
0.064516
0.108387
0.531613
0.353548
0.216774
0.216774
0.216774
0.216774
0
0.025478
0.265783
1,283
42
90
30.547619
0.79724
0.157443
0
0.375
0
0
0.139665
0
0
0
0
0
0.125
1
0.03125
false
0
0.0625
0
0.09375
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
99efb291ee7023242cf3315eacce5ac12e340e87
5,703
py
Python
arduino_kernel/kernel.py
jpsaenzmo/jupyter-lab-kernelino
57b20c9cecf74d6533243729f47ab9cc74e0ef7d
[ "BSD-3-Clause" ]
null
null
null
arduino_kernel/kernel.py
jpsaenzmo/jupyter-lab-kernelino
57b20c9cecf74d6533243729f47ab9cc74e0ef7d
[ "BSD-3-Clause" ]
null
null
null
arduino_kernel/kernel.py
jpsaenzmo/jupyter-lab-kernelino
57b20c9cecf74d6533243729f47ab9cc74e0ef7d
[ "BSD-3-Clause" ]
null
null
null
from ipykernel.kernelbase import Kernel import json import os import subprocess import sys import urllib from urllib.request import urlopen from requests.compat import urljoin from notebook.notebookapp import list_running_servers from .board import Board, BoardError SKETCH_FOLDER = ".arduino/sketch" class Arduino...
35.867925
88
0.476065
505
5,703
5.253465
0.310891
0.05277
0.033924
0.050886
0.456087
0.402563
0.390878
0.390878
0.312853
0.294007
0
0.004815
0.417324
5,703
158
89
36.094937
0.79356
0.016833
0
0.374101
0
0
0.115357
0
0
0
0
0
0
1
0.028777
false
0.014388
0.093525
0
0.208633
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
99f2a8cd466b198120000a799808ca4ceb565c8a
465
py
Python
ping.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
ping.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
ping.py
TuxStory/Python3
4c1b2291d1613b32aa36b62b0b881ea40b423cce
[ "MIT" ]
null
null
null
import os def ping(plage): for ip in range(255): test = os.system("ping -c 1 " +plage+str(ip)+" >/dev/null") if test == 0: print(plage+str(ip),"est actif sur le reseau.") def main(): os.system("clear") print("PingPy".center(25,"-")) print("\nExemple : 192.168.1.") print...
23.25
67
0.556989
66
465
3.80303
0.590909
0.071713
0.079681
0
0
0
0
0
0
0
0
0.065527
0.245161
465
19
68
24.473684
0.649573
0
0
0
0
0
0.290323
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.1875
0.3125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99f3591924ec7be6b6dc2dbe39d731a3c039c201
971
py
Python
MathUtilities.py
paulmontecot/PythonDFTMotionP3
741e544e0885e97a5469649ae2a90eadbec914c5
[ "MIT" ]
null
null
null
MathUtilities.py
paulmontecot/PythonDFTMotionP3
741e544e0885e97a5469649ae2a90eadbec914c5
[ "MIT" ]
null
null
null
MathUtilities.py
paulmontecot/PythonDFTMotionP3
741e544e0885e97a5469649ae2a90eadbec914c5
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd def integral(df,data): integral = [0] for i in range(len(df.index) - 1): dt_ = df.time[i + 1] - df.time[i] integral_ = data[i] * dt_ integral_ += (data[i + 1] - data[i]) * dt_ / 2.0 integral.append(integral[i] + integral_) ...
27.742857
93
0.510814
151
971
3.245033
0.238411
0.040816
0.114286
0.081633
0.361224
0.322449
0.291837
0.093878
0.093878
0
0
0.031838
0.288363
971
34
94
28.558824
0.677279
0
0
0.074074
0
0
0.012384
0
0
0
0
0
0
1
0.148148
false
0
0.074074
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
99f3fc94d7ce6e669de010cfe49cc2e8d70b8888
3,461
py
Python
attention.py
lil-lab/atis
08a17a7be8cd7b40d2f35e089947df4d543b3321
[ "MIT" ]
21
2019-06-03T14:21:00.000Z
2022-01-14T13:43:42.000Z
attention.py
clic-lab/atis
08a17a7be8cd7b40d2f35e089947df4d543b3321
[ "MIT" ]
3
2018-07-05T13:42:31.000Z
2019-04-02T12:01:18.000Z
attention.py
clic-lab/atis
08a17a7be8cd7b40d2f35e089947df4d543b3321
[ "MIT" ]
12
2018-06-13T00:11:33.000Z
2019-04-15T22:12:08.000Z
"""Contains classes for computing and keeping track of attention distributions. """ from collections import namedtuple import dynet as dy import dynet_utils as du class AttentionResult(namedtuple('AttentionResult', ('scores', 'distribution', ...
39.781609
86
0.608206
397
3,461
5.161209
0.27204
0.02733
0.021474
0.023426
0.321132
0.271352
0.252806
0.144461
0.144461
0.099561
0
0.003377
0.315516
3,461
86
87
40.244186
0.861545
0.445247
0
0
0
0
0.050257
0
0
0
0
0
0.076923
1
0.076923
false
0
0.076923
0
0.282051
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
99f5c968619741d599aec34b3b7698daeeb82d4a
2,655
py
Python
v0/hack1.py
dhvakr/Farm-Hub---Hackverse-2021
3444c16dc792a3d533a071f41d53b7b9efbf0a78
[ "MIT" ]
2
2021-04-21T07:26:01.000Z
2021-04-21T07:26:17.000Z
v0/hack1.py
dhvakr/Farm-Hub---Hackverse-2021
3444c16dc792a3d533a071f41d53b7b9efbf0a78
[ "MIT" ]
null
null
null
v0/hack1.py
dhvakr/Farm-Hub---Hackverse-2021
3444c16dc792a3d533a071f41d53b7b9efbf0a78
[ "MIT" ]
2
2021-05-21T08:44:41.000Z
2021-07-16T14:59:24.000Z
# -*- coding: utf-8 -*- """ Created on Saturday - 2021 @author: DIVAKARAN """ import pandas as pd import numpy as np from sklearn import preprocessing from sklearn.linear_model import LogisticRegression from sklearn.model_selection import cross_val_score from keras.models import Sequential from keras.lay...
34.480519
215
0.698682
364
2,655
5.024725
0.35989
0.024604
0.024604
0.039366
0.296884
0.240022
0.218699
0.218699
0.218699
0.165118
0
0.021821
0.102448
2,655
77
216
34.480519
0.745699
0.064407
0
0
0
0
0.207234
0
0
0
0
0
0
1
0
false
0
0.282051
0
0.282051
0.102564
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
99f5e77d5e735a8f18f4fdcee74e3f414905ae28
1,978
py
Python
app/base/management/commands/send_reminder.py
Sovol2018/sovolo
54250e42b4af3391d2f99690f45b93ab240563c2
[ "MIT" ]
2
2017-06-06T11:34:49.000Z
2017-10-24T13:09:50.000Z
app/base/management/commands/send_reminder.py
Sovol2018/sovolo
54250e42b4af3391d2f99690f45b93ab240563c2
[ "MIT" ]
346
2016-08-09T20:50:57.000Z
2018-08-28T06:52:17.000Z
app/base/management/commands/send_reminder.py
hejob/sovolo
8b73253d7bf0427c7ae0ebb6d8e3d70e118e8427
[ "MIT" ]
3
2017-11-27T14:07:57.000Z
2018-08-13T15:51:01.000Z
# -*- coding: utf-8 -*- from django.core.management.base import BaseCommand from django.template.loader import get_template from event.models import Event, Frame from base.utils import send_template_mail from django.utils import timezone import datetime import sys import io sys.stdout = io.TextIOWrapper(sys.stdout.buff...
34.103448
66
0.58999
202
1,978
5.623762
0.361386
0.068662
0.077465
0.091549
0.257042
0.204225
0.056338
0
0
0
0
0.006598
0.310415
1,978
57
67
34.701754
0.826246
0.010617
0
0.122449
0
0
0.093095
0.034271
0
0
0
0
0
1
0.020408
false
0
0.163265
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
99ff21128f28ade08f135547e7c3ca6883ffbc73
5,675
py
Python
human_feedback.py
XushengLuo/SocialRobotHumanFeedback
db609bc76c11528ea611dcbd21982e0ac6d50b71
[ "BSD-2-Clause" ]
null
null
null
human_feedback.py
XushengLuo/SocialRobotHumanFeedback
db609bc76c11528ea611dcbd21982e0ac6d50b71
[ "BSD-2-Clause" ]
null
null
null
human_feedback.py
XushengLuo/SocialRobotHumanFeedback
db609bc76c11528ea611dcbd21982e0ac6d50b71
[ "BSD-2-Clause" ]
null
null
null
import numpy as np from shapely.geometry import Point, LineString, Polygon from smallest_enclosing_circle import make_circle from itertools import groupby from operator import itemgetter # def human_feedback(x, human_cluster, point_cluster, obstacle): # # human are inside the polygon # score = 0 # index =...
39.685315
123
0.492863
904
5,675
3.05531
0.137168
0.020275
0.015206
0.01593
0.556843
0.555757
0.515206
0.475742
0.475742
0.466691
0
0.053106
0.316476
5,675
142
124
39.964789
0.658933
0.615507
0
0
0
0
0
0
0
0
0
0
0
1
0.022727
false
0
0.113636
0
0.159091
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
8201bf3c0e643a911851cd3ab506967ec106559e
8,286
py
Python
MI/classify.py
n778509775/NWCQ
72851d26f470465e9e13b219a12d52daa5e1ceed
[ "MIT" ]
1
2021-10-17T02:13:27.000Z
2021-10-17T02:13:27.000Z
MI/classify.py
n778509775/NWCQ
72851d26f470465e9e13b219a12d52daa5e1ceed
[ "MIT" ]
null
null
null
MI/classify.py
n778509775/NWCQ
72851d26f470465e9e13b219a12d52daa5e1ceed
[ "MIT" ]
null
null
null
#!/usr/bin/env python import torch.utils.data import numpy as np import random import time import matplotlib.pyplot as plt from tkinter import _flatten from function import plot_clas_loss, pre_processing from sklearn.metrics import roc_auc_score import torch import torch.nn as nn from torch.autograd import Variable i...
35.715517
131
0.621289
1,080
8,286
4.540741
0.221296
0.027529
0.051998
0.014682
0.137643
0.084217
0.04792
0.025285
0.025285
0.025285
0
0.01147
0.263456
8,286
231
132
35.87013
0.792069
0.068911
0
0.090909
0
0
0.066857
0
0
0
0
0
0
1
0.006061
false
0
0.09697
0
0.109091
0.036364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
82021110f6f9c2d0fb36aa62a5093fee91e387ae
3,842
py
Python
idgames-extract/src/doom/doomimage.py
GitExl/DoomIdgamesArchive
6f7124de5c2bab256bb2255b309f50a958780b9d
[ "BSD-2-Clause" ]
2
2019-05-05T02:04:45.000Z
2019-07-10T18:49:31.000Z
idgames-extract/src/doom/doomimage.py
GitExl/DoomIdgamesArchive
6f7124de5c2bab256bb2255b309f50a958780b9d
[ "BSD-2-Clause" ]
null
null
null
idgames-extract/src/doom/doomimage.py
GitExl/DoomIdgamesArchive
6f7124de5c2bab256bb2255b309f50a958780b9d
[ "BSD-2-Clause" ]
3
2016-11-08T21:03:28.000Z
2019-05-12T21:45:37.000Z
from struct import Struct from typing import Optional from PIL import Image from doom.palette import Palette class DoomImage(object): S_HEADER: Struct = Struct('<HHhh') def __init__(self, width: int, height: int, left: int, top: int): self.width: int = width self.height: int = height ...
29.106061
89
0.525508
434
3,842
4.539171
0.251152
0.018274
0.028426
0.027411
0.214213
0.214213
0.188832
0.165482
0.165482
0.165482
0
0.026854
0.389381
3,842
131
90
29.328244
0.812873
0.134565
0
0.297297
0
0
0.003751
0
0
0
0
0
0
1
0.054054
false
0
0.054054
0
0.27027
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
82027cf84d56a19e89654387f3e3771d2c030696
4,327
py
Python
bdd_mtl/tools/eval_seg.py
XDong18/bdd-mtl
90459c090a2bc4a89a929740e5cf5d37c1b34a4b
[ "BSD-3-Clause" ]
null
null
null
bdd_mtl/tools/eval_seg.py
XDong18/bdd-mtl
90459c090a2bc4a89a929740e5cf5d37c1b34a4b
[ "BSD-3-Clause" ]
null
null
null
bdd_mtl/tools/eval_seg.py
XDong18/bdd-mtl
90459c090a2bc4a89a929740e5cf5d37c1b34a4b
[ "BSD-3-Clause" ]
null
null
null
import argparse import boundary_utils as bu import numpy as np import os import sys import time from utils import * from multiprocessing import Pool import pickle as pk from PIL import Image def parse_args(): parser = argparse.ArgumentParser( description='Evaluate drivable area and semantic se...
39.336364
226
0.580772
593
4,327
4.055649
0.256324
0.024948
0.029106
0.029106
0.353015
0.332225
0.306445
0.245322
0.2079
0.2079
0
0.011523
0.257915
4,327
109
227
39.697248
0.737465
0.067945
0
0.282353
0
0
0.131545
0
0
0
0
0
0
1
0.047059
false
0
0.117647
0
0.2
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
82063e18e59a0cf3835ff63d9115c425615a4eb0
877
py
Python
admin/aws/list_instances.py
biosimulations/hsds
bd5b659c4fcc60c4a2791b2f39750faaa9098d09
[ "Apache-2.0" ]
76
2019-01-03T18:14:01.000Z
2022-03-28T20:09:42.000Z
admin/aws/list_instances.py
biosimulations/hsds
bd5b659c4fcc60c4a2791b2f39750faaa9098d09
[ "Apache-2.0" ]
104
2019-01-01T17:09:52.000Z
2022-03-31T17:53:48.000Z
admin/aws/list_instances.py
biosimulations/hsds
bd5b659c4fcc60c4a2791b2f39750faaa9098d09
[ "Apache-2.0" ]
41
2019-01-30T13:58:16.000Z
2022-02-23T13:13:01.000Z
import boto.ec2 import config region = config.get("aws_region") conn = boto.ec2.connect_to_region(region) reservations = conn.get_all_instances() fields = ("id", "public ip", "private ip", "name", "subnet", "state") format_str = "{:<20} {:<16} {:<16} {:<16} {:<16} {:<12}" print(format_str.format(*fields)) sep = ('-'*1...
32.481481
117
0.615735
123
877
4.219512
0.308943
0.104046
0.080925
0.115607
0.146435
0
0
0
0
0
0
0.024963
0.223489
877
26
118
33.730769
0.737151
0
0
0
0
0
0.136986
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
82073259142e93c2fdba09723427d60b8a6ec446
5,795
py
Python
src/regression.py
rahlk/Rosie
60dc9d6a5590cdfbafbcbb0a7285db4e496384cc
[ "MIT" ]
null
null
null
src/regression.py
rahlk/Rosie
60dc9d6a5590cdfbafbcbb0a7285db4e496384cc
[ "MIT" ]
null
null
null
src/regression.py
rahlk/Rosie
60dc9d6a5590cdfbafbcbb0a7285db4e496384cc
[ "MIT" ]
null
null
null
''' Created on Feb 8, 2017 This is the regression script the langlib project. It is meant to be run at the top level directory of the repository. ''' import copy,json from os import walk from os.path import exists,splitext from subprocess import Popen, PIPE from string import digits import difflib import sys #This i...
41.099291
186
0.534599
672
5,795
4.540179
0.327381
0.026221
0.019666
0.008522
0.069485
0.05703
0.05703
0.031465
0.031465
0.031465
0
0.010909
0.335634
5,795
140
187
41.392857
0.781558
0.30906
0
0.108696
0
0
0.133195
0.05079
0
0
0
0
0
1
0.043478
false
0
0.076087
0
0.130435
0.152174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
82075f1bc0f847438e1a50eb1984f6a6e589570a
4,727
py
Python
personal/sudoku_solver/sudoku_solver.py
jyodroid/python_training
7b17145faed6a005d44a08c2f72a60644705f1e1
[ "Unlicense" ]
null
null
null
personal/sudoku_solver/sudoku_solver.py
jyodroid/python_training
7b17145faed6a005d44a08c2f72a60644705f1e1
[ "Unlicense" ]
null
null
null
personal/sudoku_solver/sudoku_solver.py
jyodroid/python_training
7b17145faed6a005d44a08c2f72a60644705f1e1
[ "Unlicense" ]
null
null
null
# Class https://docs.python.org/3/tutorial/classes.html class SudokuSolver: def __init__(self, boxes, unitlist): self.boxes = boxes self.unitlist = unitlist # My solution def set_boxes_values(values): board = {} for index in range(len(self.boxes)): board[self.bo...
37.220472
131
0.584303
623
4,727
4.369181
0.277689
0.046289
0.017634
0.018369
0.201323
0.190301
0.152094
0.152094
0.101396
0.101396
0
0.018938
0.318595
4,727
126
132
37.515873
0.826141
0.243072
0
0.2
0
0
0.036395
0
0
0
0
0
0.0375
1
0.125
false
0
0
0
0.2875
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
820790042011984b310814afa864c57777d5d354
10,956
py
Python
crystal_toolkit/components/transformations/grainboundary.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
null
null
null
crystal_toolkit/components/transformations/grainboundary.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
5
2018-10-18T19:52:12.000Z
2018-11-17T19:02:49.000Z
crystal_toolkit/components/transformations/grainboundary.py
mkhorton/mp-dash-components
b9af1b59f0120a90897631d9a7f8d9f0ae561de9
[ "MIT" ]
null
null
null
import dash from dash import dcc from dash.dependencies import Input, Output, State from dash.exceptions import PreventUpdate from pymatgen.symmetry.analyzer import SpacegroupAnalyzer from pymatgen.transformations.advanced_transformations import ( GrainBoundaryGenerator, GrainBoundaryTransformation, ) from cry...
34.670886
121
0.562705
1,179
10,956
5.049194
0.248516
0.060474
0.018814
0.022846
0.282043
0.219217
0.188812
0.178901
0.178901
0.162439
0
0.007671
0.345564
10,956
315
122
34.780952
0.822594
0.049379
0
0.205323
0
0
0.217918
0.002019
0
0
0
0.003175
0
1
0.038023
false
0
0.030418
0.011407
0.110266
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
8209433689df2d1a57e76c64f9c9052b8c8371b0
2,871
py
Python
main.py
marcomaiermm/fishit
5c4992d91365ec9b841eaaa81848d4ad8a9af9ed
[ "MIT" ]
null
null
null
main.py
marcomaiermm/fishit
5c4992d91365ec9b841eaaa81848d4ad8a9af9ed
[ "MIT" ]
1
2021-06-08T21:07:25.000Z
2021-06-08T21:07:25.000Z
main.py
marcomaiermm/fishit
5c4992d91365ec9b841eaaa81848d4ad8a9af9ed
[ "MIT" ]
null
null
null
import imagesearch import gui import subprocess import time #from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtCore import * import traceback,sys class Thread(QThread): def __init__(self, fn, f=False): super(Thread, self).__init__() si...
29.295918
97
0.593173
359
2,871
4.562674
0.259053
0.087302
0.03663
0.031136
0.101343
0.068376
0.030525
0
0
0
0
0.012148
0.283177
2,871
98
98
29.295918
0.783771
0.1031
0
0.089744
0
0
0.02179
0
0
0
0
0
0
1
0.115385
false
0
0.102564
0
0.25641
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
820ca3e67bffef370d9d41988b414444b2ad1bf8
2,968
py
Python
examples/Mentor/05.6.TransformOrdering.py
cclauss/pivy
55de2ba4dd32f62ce2d4e33ca28459cf3ea5167a
[ "ISC" ]
29
2019-12-28T10:37:16.000Z
2022-02-09T10:48:04.000Z
examples/Mentor/05.6.TransformOrdering.py
cclauss/pivy
55de2ba4dd32f62ce2d4e33ca28459cf3ea5167a
[ "ISC" ]
29
2019-12-26T13:46:11.000Z
2022-03-29T18:14:33.000Z
examples/Mentor/05.6.TransformOrdering.py
cclauss/pivy
55de2ba4dd32f62ce2d4e33ca28459cf3ea5167a
[ "ISC" ]
17
2019-12-29T11:49:32.000Z
2022-02-23T00:28:18.000Z
#!/usr/bin/env python ### # Copyright (c) 2002-2007 Systems in Motion # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS I...
31.242105
74
0.705863
382
2,968
5.460733
0.465969
0.00767
0.008629
0.00767
0.040268
0.016299
0.016299
0
0
0
0
0.014524
0.211253
2,968
94
75
31.574468
0.876548
0.493598
0
0.046512
0
0
0.024005
0
0
0
0
0
0
1
0.023256
false
0
0.069767
0
0.093023
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
820ceb9164fe0c747e5f68b273d1654107a1cd1d
1,796
py
Python
python-object-storage/test_object_storage.py
henriqueccapozzi/pocs
9c1e3b22b3f026b22fe01b365bddd95b5afc9264
[ "MIT" ]
null
null
null
python-object-storage/test_object_storage.py
henriqueccapozzi/pocs
9c1e3b22b3f026b22fe01b365bddd95b5afc9264
[ "MIT" ]
null
null
null
python-object-storage/test_object_storage.py
henriqueccapozzi/pocs
9c1e3b22b3f026b22fe01b365bddd95b5afc9264
[ "MIT" ]
null
null
null
import os import json import pytest from object_storage import DB DB_FILE_NAME = "db.json" def _create_test_db(): return DB("test", file_name=DB_FILE_NAME) def _create_mock_obj(): return { "programing_languages_features": { "python": ["simple", "easy setup"], "javascript":...
26.80597
60
0.614143
244
1,796
4.143443
0.27459
0.103858
0.076162
0.074184
0.274975
0.274975
0.254204
0.250247
0.250247
0.148368
0
0.003019
0.262249
1,796
67
61
26.80597
0.76
0
0
0.28
0
0
0.132999
0.016138
0
0
0
0
0.16
1
0.14
false
0
0.08
0.04
0.28
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
820f6292ce69f024eb8b287f0493082d26ff31c3
3,898
py
Python
10-Flask/72-Library.py
ericson14/Small_project
dd88b9a5619d38fb8d236c932ffa8429d24b28ae
[ "MIT" ]
null
null
null
10-Flask/72-Library.py
ericson14/Small_project
dd88b9a5619d38fb8d236c932ffa8429d24b28ae
[ "MIT" ]
null
null
null
10-Flask/72-Library.py
ericson14/Small_project
dd88b9a5619d38fb8d236c932ffa8429d24b28ae
[ "MIT" ]
null
null
null
from flask import Flask, flash, render_template, request, redirect, url_for from flask_sqlalchemy import SQLAlchemy from flask_wtf import FlaskForm from wtforms import StringField, SubmitField class Config(object): SQLALCHEMY_DATABASE_URI = "mysql://root:chuanzhi@127.0.0.1:3306/library" SQLALCHEMY_TRACK_MODIF...
29.755725
76
0.596203
484
3,898
4.640496
0.285124
0.068121
0.04675
0.033838
0.259127
0.186109
0.186109
0.186109
0.158504
0.158504
0
0.014371
0.268086
3,898
130
77
29.984615
0.772871
0.02001
0
0.29703
0
0
0.07767
0.017581
0
0
0
0
0
1
0.049505
false
0
0.039604
0.019802
0.29703
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
8211444c1809530cc0c344f0e30b5c1c9a1ff78e
24,908
py
Python
totall/api.py
dacosta2213/totall
c64420bb8d35ccf423fe8ea66321b34431f79660
[ "MIT" ]
null
null
null
totall/api.py
dacosta2213/totall
c64420bb8d35ccf423fe8ea66321b34431f79660
[ "MIT" ]
null
null
null
totall/api.py
dacosta2213/totall
c64420bb8d35ccf423fe8ea66321b34431f79660
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import frappe import json from frappe import _ from frappe.utils import get_fullname, get_link_to_form, get_url_to_form from datetime import date,datetime,timedelta import jwt import time @frappe.whitelist() def inventario(item_code): inventario = frappe...
44.718133
510
0.681829
3,425
24,908
4.845255
0.15854
0.039048
0.037782
0.050196
0.445134
0.408677
0.353299
0.333896
0.315637
0.297077
0
0.010188
0.152762
24,908
556
511
44.798561
0.776146
0.220853
0
0.217507
0
0.068966
0.464258
0.093619
0
0
0
0.001799
0
1
0.092838
false
0
0.02122
0.007958
0.137931
0.055703
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
8215508f627bf3d1b4d448dabf1e8742f974b661
2,701
py
Python
update.py
cccs-rs/apiscout
27aa5cb6991a39df03695576b351a815146fd270
[ "BSD-2-Clause" ]
169
2017-04-10T14:43:54.000Z
2022-03-20T09:35:26.000Z
update.py
cccs-rs/apiscout
27aa5cb6991a39df03695576b351a815146fd270
[ "BSD-2-Clause" ]
25
2017-05-19T08:53:58.000Z
2021-07-31T14:09:37.000Z
update.py
cccs-rs/apiscout
27aa5cb6991a39df03695576b351a815146fd270
[ "BSD-2-Clause" ]
44
2017-04-10T16:22:55.000Z
2021-11-09T13:45:08.000Z
import re import os import sys import requests try: import config except: print("create a config.py based on template.config.py and set your Malpedia API token!") sys.exit() def delete_existing_dbs(): """ delete potentially existing old apivector db files """ for filename in os.listdir("dbs"): ...
32.939024
108
0.640874
340
2,701
4.923529
0.302941
0.010753
0.010753
0.017921
0.280765
0.224612
0.151732
0.151732
0.151732
0.151732
0
0.006217
0.225842
2,701
81
109
33.345679
0.794357
0.042207
0
0.151515
0
0.030303
0.277886
0.05752
0
0
0
0
0
1
0.075758
false
0
0.075758
0
0.19697
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
82175e8b7a22ac93f4e8ed01903f37b29cf95227
1,242
py
Python
fate/prompt.py
Mattias1/fate
10266406336bc4c683ff5b23af32ac3447f7f054
[ "MIT" ]
null
null
null
fate/prompt.py
Mattias1/fate
10266406336bc4c683ff5b23af32ac3447f7f054
[ "MIT" ]
null
null
null
fate/prompt.py
Mattias1/fate
10266406336bc4c683ff5b23af32ac3447f7f054
[ "MIT" ]
null
null
null
from .mode import Mode from .document import Document Document.promptinput = '' class Prompt(Mode): def __init__(self, document, callback=None): Mode.__init__(self, document, callback) self.inputstring = '' self.start(document) def processinput(self, document, userinput): if i...
28.883721
55
0.573269
125
1,242
5.568
0.352
0.086207
0.091954
0.137931
0.25
0.16954
0.08046
0
0
0
0
0.001193
0.325282
1,242
42
56
29.571429
0.829356
0.041063
0
0.235294
0
0
0.016878
0
0
0
0
0
0
1
0.176471
false
0.029412
0.058824
0
0.323529
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
82186e13305a89984ea44c868e824fbefce44ba3
1,677
py
Python
tf2jax/_src/numpy_compat_test.py
deepmind/tf2jax
fb5388656344a7e5bb8e5635e82a3d93c7bc9d8c
[ "Apache-2.0" ]
6
2022-03-18T12:09:11.000Z
2022-03-26T14:16:35.000Z
tf2jax/_src/numpy_compat_test.py
deepmind/tf2jax
fb5388656344a7e5bb8e5635e82a3d93c7bc9d8c
[ "Apache-2.0" ]
null
null
null
tf2jax/_src/numpy_compat_test.py
deepmind/tf2jax
fb5388656344a7e5bb8e5635e82a3d93c7bc9d8c
[ "Apache-2.0" ]
1
2022-03-18T12:09:23.000Z
2022-03-18T12:09:23.000Z
# Copyright 2021 DeepMind Technologies Limited. 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 ...
33.54
80
0.692308
235
1,677
4.808511
0.510638
0.053097
0.023009
0.028319
0.040708
0
0
0
0
0
0
0.029286
0.165176
1,677
49
81
34.22449
0.777857
0.409064
0
0
0
0
0.030864
0
0
0
0
0
0.115385
1
0.038462
false
0
0.230769
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
821a8e57cdc8b71c46b5b924928e6ffbc5170020
329
py
Python
delphi/apps/rest_api/__init__.py
mwdchang/delphi
c6177f2d614118883eaaa7f5300f3e46f10ddc7e
[ "Apache-2.0" ]
null
null
null
delphi/apps/rest_api/__init__.py
mwdchang/delphi
c6177f2d614118883eaaa7f5300f3e46f10ddc7e
[ "Apache-2.0" ]
null
null
null
delphi/apps/rest_api/__init__.py
mwdchang/delphi
c6177f2d614118883eaaa7f5300f3e46f10ddc7e
[ "Apache-2.0" ]
1
2019-07-18T19:13:13.000Z
2019-07-18T19:13:13.000Z
from flask import Flask from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() def create_app(debug=False): from delphi.apps.rest_api.api import bp app = Flask(__name__) app.config.from_object("delphi.apps.rest_api.config") app.debug=debug db.init_app(app) app.register_blueprint(bp) re...
21.933333
57
0.735562
49
329
4.714286
0.44898
0.077922
0.121212
0.147186
0
0
0
0
0
0
0
0
0.173252
329
14
58
23.5
0.849265
0
0
0
0
0
0.082067
0.082067
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.454545
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
821e77dee58f0bcdb435a5eecbf66592783bf963
4,524
py
Python
rob/robocopy.py
dan-osull/rob
25f2781cc5124570a04a48b56ec7d7f802b0650b
[ "MIT" ]
3
2022-02-08T20:10:21.000Z
2022-02-08T20:18:54.000Z
rob/robocopy.py
dan-osull/rob
25f2781cc5124570a04a48b56ec7d7f802b0650b
[ "MIT" ]
null
null
null
rob/robocopy.py
dan-osull/rob
25f2781cc5124570a04a48b56ec7d7f802b0650b
[ "MIT" ]
null
null
null
import os import subprocess from dataclasses import dataclass from pathlib import WindowsPath from time import sleep from typing import Optional, Sequence from click import ClickException from rich.progress import Progress import rob.console as con import rob.filesystem @dataclass class RobocopyResults: options...
34.8
90
0.6355
566
4,524
4.971731
0.431095
0.031983
0.021322
0.028429
0.070007
0.057214
0.044776
0.024876
0
0
0
0.012496
0.257073
4,524
129
91
35.069767
0.824755
0.270115
0
0.050505
0
0
0.111009
0.045441
0
0
0
0
0
1
0.020202
false
0
0.10101
0
0.181818
0.050505
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
821f4a58cdad24897457c7d61f286692df08d3ee
31,892
py
Python
code/resumesearch.py
outreachy/creative-works-and-scripts
8cac43a649aefaa793b91ac34ef73e20194ca22a
[ "CC-BY-4.0" ]
27
2019-07-18T04:44:29.000Z
2022-02-15T21:15:09.000Z
code/resumesearch.py
outreachy/creative-works-and-scripts
8cac43a649aefaa793b91ac34ef73e20194ca22a
[ "CC-BY-4.0" ]
5
2019-08-08T21:15:39.000Z
2022-02-22T01:38:55.000Z
code/resumesearch.py
outreachy/creative-works-and-scripts
8cac43a649aefaa793b91ac34ef73e20194ca22a
[ "CC-BY-4.0" ]
13
2020-01-13T11:38:45.000Z
2022-01-25T17:48:29.000Z
#!/usr/bin/env python3 # # Copyright 2017 Sarah Sharp <sharp@otter.technology> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ...
48.839204
271
0.62304
3,565
31,892
5.56662
0.223562
0.013152
0.014966
0.017737
0.408869
0.323558
0.261124
0.204837
0.185739
0.162509
0
0.005901
0.266744
31,892
652
272
48.91411
0.84272
0.157657
0
0.258873
0
0.004175
0.363789
0.018087
0
0
0
0.001534
0
1
0.02714
false
0
0.016701
0
0.070981
0.033403
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
82216f99b184a3762b1bf3acde24777396628147
5,053
py
Python
liquid_node/jobs/__init__.py
admariner/node
611795e17aa52c50795cb81c1ffebd641dcab51b
[ "MIT" ]
null
null
null
liquid_node/jobs/__init__.py
admariner/node
611795e17aa52c50795cb81c1ffebd641dcab51b
[ "MIT" ]
3
2021-11-10T11:08:14.000Z
2021-11-26T13:12:20.000Z
liquid_node/jobs/__init__.py
admariner/node
611795e17aa52c50795cb81c1ffebd641dcab51b
[ "MIT" ]
null
null
null
import subprocess import logging import os from pathlib import Path from ..docker import docker import jinja2 log = logging.getLogger(__name__) TEMPLATES = Path(__file__).parent.parent.parent.resolve() / 'templates' def set_volumes_paths(substitutions={}): """Sets the volumes paths in the job options :par...
34.141892
98
0.610133
527
5,053
5.637571
0.275142
0.021205
0.033322
0.045439
0.317065
0.296533
0.280377
0.280377
0.280377
0.252777
0
0.003739
0.259054
5,053
147
99
34.37415
0.789797
0.070453
0
0.150442
0
0
0.209122
0.032702
0
0
0
0
0
1
0.026549
false
0
0.070796
0
0.176991
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
8222def448064d7e5190de17a9fd652126451dc7
1,035
py
Python
v8webconsole/webconsole/urls.py
zeerayne/1cv8-webconsole
3f562b5458ed6e6e221c7d78886a49f89b07e4f9
[ "MIT" ]
null
null
null
v8webconsole/webconsole/urls.py
zeerayne/1cv8-webconsole
3f562b5458ed6e6e221c7d78886a49f89b07e4f9
[ "MIT" ]
null
null
null
v8webconsole/webconsole/urls.py
zeerayne/1cv8-webconsole
3f562b5458ed6e6e221c7d78886a49f89b07e4f9
[ "MIT" ]
null
null
null
from django.urls import include from django.conf.urls import url from rest_framework.routers import SimpleRouter from rest_framework_nested.routers import NestedSimpleRouter from .views import ( HostViewSet, HostAdminViewSet, ClusterViewSet, InfobaseViewSet, ) host_router = SimpleRouter() host_router.r...
34.5
83
0.774879
122
1,035
6.401639
0.262295
0.06402
0.076825
0.053777
0.208707
0.128041
0.128041
0.128041
0
0
0
0
0.100483
1,035
29
84
35.689655
0.838883
0
0
0
0
0
0.090821
0
0
0
0
0
0
1
0
false
0
0.208333
0
0.208333
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
82240b4e497af879de2b8332d733c22fc5035c5f
6,292
py
Python
gifploter.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
1
2021-12-14T09:16:17.000Z
2021-12-14T09:16:17.000Z
gifploter.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
null
null
null
gifploter.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
2
2021-12-14T09:10:00.000Z
2022-01-21T16:57:44.000Z
import matplotlib.pyplot as plt import imageio import os import numpy as np class GIFPloter(): def __init__(self, args, model): self.plot_method = 'Li' self.gif_axlist = [] self.clist = ['r', 'g', 'b', 'y', 'm', 'c', 'k', 'pink', 'lightblue', 'lightgreen', 'grey'] ...
37.230769
84
0.508423
808
6,292
3.748762
0.215347
0.04622
0.072631
0.04721
0.369759
0.295807
0.252228
0.252228
0.203698
0.203698
0
0.026131
0.367451
6,292
168
85
37.452381
0.734925
0.013827
0
0.138686
0
0
0.034544
0
0
0
0
0
0
1
0.036496
false
0.007299
0.036496
0
0.080292
0.021898
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
8226023cb3139084f438cf9dfe3adae050279971
1,336
py
Python
violet.py
MasayukiTanaka0412/violet
9bc5bfab83902e6798e3b9ef679757f6cd58f900
[ "MIT" ]
null
null
null
violet.py
MasayukiTanaka0412/violet
9bc5bfab83902e6798e3b9ef679757f6cd58f900
[ "MIT" ]
null
null
null
violet.py
MasayukiTanaka0412/violet
9bc5bfab83902e6798e3b9ef679757f6cd58f900
[ "MIT" ]
null
null
null
import logging import os import win32com.client import pandas as pd logging.basicConfig(level=logging.INFO) templateName = "Template.msg" recipientsFile = "Recipients.xlsx" logging.info('Violet App Start') path = os.getcwd() logging.info('Current Directory {}'.format(path)) outlook = win32com.client.D...
29.688889
85
0.68488
156
1,336
5.846154
0.416667
0.096491
0.04386
0.046053
0
0
0
0
0
0
0
0.004517
0.171407
1,336
45
86
29.688889
0.819332
0
0
0
0
0
0.116009
0
0
0
0
0
0
1
0
false
0
0.117647
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
8227caa8afc429ee4cb7a62a33c9415eba7a7d1a
4,718
py
Python
tests/test_vertex_color.py
aferrall/redner
be52e4105140f575f153d640ba889eb6e6015616
[ "MIT" ]
1,146
2018-11-11T01:47:18.000Z
2022-03-31T14:11:03.000Z
tests/test_vertex_color.py
Awcrr/redner
b4f57037af26b720d916bbaf26103a3499101a9f
[ "MIT" ]
177
2018-11-13T22:48:25.000Z
2022-03-30T07:19:29.000Z
tests/test_vertex_color.py
Awcrr/redner
b4f57037af26b720d916bbaf26103a3499101a9f
[ "MIT" ]
127
2018-11-11T02:32:17.000Z
2022-03-31T07:24:03.000Z
import pyredner import redner import numpy as np import torch import math # Example of optimizing vertex color of a sphere. # Use GPU if available pyredner.set_use_gpu(torch.cuda.is_available()) cam = pyredner.Camera(position = torch.tensor([0.0, 0.0, -5.0]), look_at = torch.tensor([0.0, 0.0, 0...
39.983051
109
0.708563
658
4,718
4.867781
0.218845
0.137371
0.090228
0.116766
0.536684
0.53606
0.466438
0.466438
0.453637
0.432407
0
0.022989
0.151759
4,718
118
110
39.983051
0.777361
0.087325
0
0.319588
0
0
0.168335
0.150407
0
0
0
0
0
1
0
false
0
0.061856
0
0.061856
0.020619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
8227d244a3f5042b87acfe74836b3be3d5794b53
10,066
py
Python
starterlite/simulation/GRF.py
gjsun/starterlite
4838c0b9837e0012157596984f9e39ed52f9c86c
[ "MIT" ]
null
null
null
starterlite/simulation/GRF.py
gjsun/starterlite
4838c0b9837e0012157596984f9e39ed52f9c86c
[ "MIT" ]
null
null
null
starterlite/simulation/GRF.py
gjsun/starterlite
4838c0b9837e0012157596984f9e39ed52f9c86c
[ "MIT" ]
null
null
null
import numpy as np import os from ..analysis import Sensitivity from ..physics import Cosmology from ..physics.Constants import c, cm_per_mpc from ..util.ParameterFile import ParameterFile from .FourierSpace import FourierSpace """ ------------ Instructions ------------ The GRF module allows the user to generate rea...
36.078853
137
0.597457
1,441
10,066
3.932686
0.195697
0.009529
0.018528
0.026998
0.344627
0.256397
0.198165
0.16252
0.127228
0.112935
0
0.015481
0.268428
10,066
279
138
36.078853
0.754074
0.154878
0
0.119497
0
0
0.104833
0.003146
0
0
0
0
0.006289
1
0.113208
false
0
0.044025
0.031447
0.232704
0.031447
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
8229dbbb6f0052b556f0fa37fd3095bf537d9605
5,180
py
Python
fine_grid.py
daveweij/fine_mouse_grid_talon
d13d942f977d06d8f17d9a14988811bae69ac2cd
[ "MIT" ]
null
null
null
fine_grid.py
daveweij/fine_mouse_grid_talon
d13d942f977d06d8f17d9a14988811bae69ac2cd
[ "MIT" ]
null
null
null
fine_grid.py
daveweij/fine_mouse_grid_talon
d13d942f977d06d8f17d9a14988811bae69ac2cd
[ "MIT" ]
null
null
null
import typing import os import json from talon import Module, Context, canvas, screen, ui, ctrl, settings from talon.skia import Paint, Rect from talon.types.point import Point2d mod = Module() ctx = Context() mod.tag('fine_grid_enabled', desc='Tag enables fine grid commands') class FineMouseGrid: ZOOM_RATIO = ...
31.585366
92
0.570463
647
5,180
4.440495
0.224111
0.072398
0.027149
0.035503
0.237731
0.098851
0.05952
0.023669
0
0
0
0.011861
0.316409
5,180
163
93
31.779141
0.799492
0.035521
0
0.113821
0
0.00813
0.04205
0.004405
0
0
0
0
0
1
0.130081
false
0
0.04878
0
0.219512
0.01626
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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