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
80d4ab9196ae0d1428afc7cb93d38dd105b47bce
3,717
py
Python
ikalog/utils/icon_recoginizer/weapon.py
fetus-hina/IkaLog
bd476da541fcc296f792d4db76a6b9174c4777ad
[ "Apache-2.0" ]
285
2015-08-15T14:38:38.000Z
2022-02-18T15:00:06.000Z
ikalog/utils/icon_recoginizer/weapon.py
fetus-hina/IkaLog
bd476da541fcc296f792d4db76a6b9174c4777ad
[ "Apache-2.0" ]
323
2015-09-24T12:21:34.000Z
2018-05-06T16:34:54.000Z
ikalog/utils/icon_recoginizer/weapon.py
fetus-hina/IkaLog
bd476da541fcc296f792d4db76a6b9174c4777ad
[ "Apache-2.0" ]
72
2015-08-22T00:18:54.000Z
2022-02-18T14:44:20.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # IkaLog # ====== # Copyright (C) 2015 Takeshi HASEGAWA # # 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/l...
31.235294
75
0.641377
532
3,717
4.244361
0.327068
0.021258
0.019929
0.017715
0.153676
0.109832
0.099203
0.093003
0.093003
0.079717
0
0.02546
0.239171
3,717
118
76
31.5
0.772984
0.181598
0
0.085714
0
0
0.013236
0.006949
0
0
0
0
0
1
0.157143
false
0
0.042857
0.014286
0.342857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80d598d25cb928d4e75ce7a8868f16d8dbc96650
11,867
py
Python
code/pytorch/utils/mujoco_solver.py
hzm2016/assistive-gym-robosuite
5c529f4444cc386383618bfa584341740a8468f9
[ "MIT" ]
1
2021-11-22T07:45:28.000Z
2021-11-22T07:45:28.000Z
code/pytorch/utils/mujoco_solver.py
hzm2016/assistive-gym-robosuite
5c529f4444cc386383618bfa584341740a8468f9
[ "MIT" ]
null
null
null
code/pytorch/utils/mujoco_solver.py
hzm2016/assistive-gym-robosuite
5c529f4444cc386383618bfa584341740a8468f9
[ "MIT" ]
null
null
null
import math import os import random import numpy as np import torch from tensorboardX import SummaryWriter from tqdm import tqdm from ..methods import DDPG, TD3, SAC from envs.abb.models import utils class Solver(object): def __init__(self, args, env, project_path): self.args = args self.env = e...
42.08156
109
0.555911
1,365
11,867
4.594139
0.110623
0.059959
0.033487
0.035082
0.666082
0.603891
0.589858
0.57455
0.519375
0.502312
0
0.005186
0.333783
11,867
281
110
42.231317
0.788009
0.104913
0
0.446154
0
0
0.055126
0.007363
0
0
0
0
0
1
0.035897
false
0
0.046154
0
0.092308
0.097436
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80d5c63ff69dba8134d7d97f4b5da991272fad1f
8,536
py
Python
test/partial_log/test_partial_log.py
splunk/docker-logging-plugin
6a5816b4ccba58c33e431b3c763442da65c2a5b3
[ "Apache-2.0" ]
63
2017-10-19T16:44:05.000Z
2022-02-18T23:22:12.000Z
test/partial_log/test_partial_log.py
splunk/docker-logging-plugin
6a5816b4ccba58c33e431b3c763442da65c2a5b3
[ "Apache-2.0" ]
41
2017-12-05T12:30:05.000Z
2022-01-11T21:06:58.000Z
test/partial_log/test_partial_log.py
splunk/docker-logging-plugin
6a5816b4ccba58c33e431b3c763442da65c2a5b3
[ "Apache-2.0" ]
27
2017-11-21T09:45:25.000Z
2022-03-27T09:45:42.000Z
""" Copyright 2018 Splunk, Inc.. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwar...
39.88785
121
0.606256
1,080
8,536
4.566667
0.165741
0.015207
0.041363
0.028386
0.822993
0.807583
0.782441
0.782441
0.773114
0.764801
0
0.012222
0.300258
8,536
214
122
39.88785
0.813494
0.243088
0
0.811024
0
0
0.127255
0.005223
0
0
0
0
0.03937
1
0.03937
false
0.03937
0.047244
0
0.086614
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
80d633265d624cde24edd4834e3b41df832a67e1
639
py
Python
executables/pickle_dictionary_structure_viewer.py
mjvandermeulen/rpi-automation
0b328cab8876929e46235482d217dc4771dfdc6a
[ "MIT" ]
null
null
null
executables/pickle_dictionary_structure_viewer.py
mjvandermeulen/rpi-automation
0b328cab8876929e46235482d217dc4771dfdc6a
[ "MIT" ]
null
null
null
executables/pickle_dictionary_structure_viewer.py
mjvandermeulen/rpi-automation
0b328cab8876929e46235482d217dc4771dfdc6a
[ "MIT" ]
null
null
null
#!/usr/local/bin/env python3 import sys # TODO: This is more generic than just for temperatures! import temperature.temperature_file_tools try: filename = sys.argv[1] except IndexError: print("please provide filename as first and only argument") else: try: data_gen = temperature.temperature_file_...
29.045455
111
0.674491
83
639
5.036145
0.638554
0.105263
0.124402
0.148325
0
0
0
0
0
0
0
0.00404
0.225352
639
21
112
30.428571
0.840404
0.128326
0
0.125
0
0
0.212613
0
0
0
0
0.047619
0
1
0
false
0
0.125
0
0.125
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
80d6549d6455eb3b023025b15786be0473b6bbe6
641
py
Python
code_example/w2_genMeanSd.py
koonyook/unsupervised-phase-supplementary
09ee8000c79465da8731b5323f2db9a25d7252ab
[ "MIT" ]
null
null
null
code_example/w2_genMeanSd.py
koonyook/unsupervised-phase-supplementary
09ee8000c79465da8731b5323f2db9a25d7252ab
[ "MIT" ]
null
null
null
code_example/w2_genMeanSd.py
koonyook/unsupervised-phase-supplementary
09ee8000c79465da8731b5323f2db9a25d7252ab
[ "MIT" ]
null
null
null
import numpy as np import pickle #this file will do #1. read from list of .pkl files that will become training data #2. save wMean.dat and wSd.dat for input in ["inputHeart/","inputBow/","inputAcrobat/"]: fileList=[ 'data_train.pkl', ] collect=[] for f in fileList: #data=np.load('input/'+f) #(2,-) dataLis...
22.103448
63
0.687988
101
641
4.356436
0.514851
0.036364
0.059091
0.077273
0
0
0
0
0
0
0
0.016393
0.143526
641
28
64
22.892857
0.785064
0.230889
0
0
0
0
0.141975
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80d6b3fdb21cbf34c945220abf23ee4dc73841af
10,553
py
Python
metadrive/component/road_network/node_road_network.py
liuzuxin/metadrive
850c207536531bc85179084acd7c30ab14a66111
[ "Apache-2.0" ]
125
2021-08-30T06:33:57.000Z
2022-03-31T09:02:44.000Z
metadrive/component/road_network/node_road_network.py
liuzuxin/metadrive
850c207536531bc85179084acd7c30ab14a66111
[ "Apache-2.0" ]
72
2021-08-30T16:23:41.000Z
2022-03-31T19:17:16.000Z
metadrive/component/road_network/node_road_network.py
liuzuxin/metadrive
850c207536531bc85179084acd7c30ab14a66111
[ "Apache-2.0" ]
20
2021-09-09T08:20:25.000Z
2022-03-24T13:24:07.000Z
import copy import logging from typing import List, Tuple, Dict import numpy as np from metadrive.component.lane.abs_lane import AbstractLane from metadrive.component.road_network.road import Road from metadrive.component.road_network.base_road_network import BaseRoadNetwork from metadrive.constants import Decoration ...
39.376866
120
0.607221
1,361
10,553
4.515797
0.166054
0.065897
0.023267
0.045558
0.318744
0.246827
0.150667
0.150667
0.150667
0.108363
0
0.004729
0.298683
10,553
267
121
39.524345
0.825699
0.16943
0
0.192308
0
0
0.02232
0
0
0
0
0
0.027473
1
0.120879
false
0
0.054945
0.005495
0.274725
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80d8125a476591f35f2ad71b32650a81f028ecab
1,468
py
Python
generic_ui/RawTextWidget.py
STMicroelectronics/stm32ai-datalogger
0ba92ced44248e606a5cc68139fdfdc84489fa17
[ "BSD-3-Clause" ]
3
2021-06-28T13:41:12.000Z
2021-07-21T13:06:34.000Z
generic_ui/RawTextWidget.py
STMicroelectronics/stm32ai-datalogger
0ba92ced44248e606a5cc68139fdfdc84489fa17
[ "BSD-3-Clause" ]
null
null
null
generic_ui/RawTextWidget.py
STMicroelectronics/stm32ai-datalogger
0ba92ced44248e606a5cc68139fdfdc84489fa17
[ "BSD-3-Clause" ]
null
null
null
################################################################################### # Copyright (c) 2020-2021 STMicroelectronics. # All rights reserved. # This software is licensed under terms that can be found in the LICENSE file in # the root directory of this software component. # If no LICENSE file c...
38.631579
84
0.620572
160
1,468
5.5375
0.425
0.081264
0.031603
0.040632
0.469526
0.469526
0.469526
0.469526
0.469526
0.469526
0
0.018739
0.200272
1,468
37
85
39.675676
0.735945
0.180518
0
0
0
0
0.356855
0
0
0
0
0
0
1
0.130435
false
0
0.086957
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80d85c5b681feaaae88320d1df947e572214adbf
1,905
py
Python
apps/trade/api/views.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
2
2021-08-17T13:29:21.000Z
2021-09-04T05:00:01.000Z
apps/trade/api/views.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
1
2020-07-16T11:22:32.000Z
2020-07-16T11:22:32.000Z
apps/trade/api/views.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
1
2020-09-18T10:41:59.000Z
2020-09-18T10:41:59.000Z
#!usr/bin/env python # -*- coding:utf-8 -*- """ @author: nico @file: views.py @time: 2018/08/16 """ from rest_framework import viewsets, mixins, filters, permissions, status, response from rest_framework.decorators import action from dry_rest_permissions.generics import DRYPermissions, DRYGlobalPer...
30.725806
150
0.733333
179
1,905
7.687151
0.50838
0.032703
0.061047
0.09375
0.12936
0.077035
0.077035
0.077035
0.077035
0
0
0.009566
0.176903
1,905
62
151
30.725806
0.867985
0.112336
0
0
0
0
0.009907
0
0
0
0
0
0
1
0.076923
false
0
0.192308
0
0.807692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
80d88468c8e7365b40222afca17976c053b6b8f3
7,243
py
Python
test_QueryPharos.py
kevinxin90/RTX_BioThings_Explorer
16de49de9e0db75c7616a85c2592166ea055faa7
[ "Apache-2.0" ]
1
2018-05-24T13:16:57.000Z
2018-05-24T13:16:57.000Z
test_QueryPharos.py
kevinxin90/RTX_BioThings_Explorer
16de49de9e0db75c7616a85c2592166ea055faa7
[ "Apache-2.0" ]
1
2018-06-01T02:04:23.000Z
2018-06-01T20:21:32.000Z
test_QueryPharos.py
kevinxin90/RTX_BioThings_Explorer
16de49de9e0db75c7616a85c2592166ea055faa7
[ "Apache-2.0" ]
null
null
null
import unittest from QueryPharos import QueryPharos class QueryPharosTestCase(unittest.TestCase): @classmethod def setUpClass(cls): cls.pharos = QueryPharos() def test_query_drug_name_to_targets(self): # bte_result = self.pharos.query_drug_name_to_targets('paclitaxel') # # TODO: B...
52.107914
114
0.54425
785
7,243
4.828025
0.322293
0.061741
0.044591
0.065172
0.407124
0.391821
0.366755
0.339842
0.262533
0.173615
0
0.058312
0.301533
7,243
138
115
52.485507
0.690848
0.316443
0
0.113924
0
0
0.273839
0
0
0
0
0.007246
0.101266
1
0.139241
false
0
0.025316
0
0.177215
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80d969efc16e2fceb81dc2c5f9ae3ec495eea52f
2,016
py
Python
setup.py
MyGodIsHe/..-pytest-neo
5a7d3ef6754c03afeb01db189a80c55bba538de6
[ "MIT" ]
45
2019-03-07T12:12:11.000Z
2022-02-01T09:36:30.000Z
setup.py
MyGodIsHe/..-pytest-neo
5a7d3ef6754c03afeb01db189a80c55bba538de6
[ "MIT" ]
6
2019-03-14T09:37:51.000Z
2020-12-01T21:30:15.000Z
setup.py
MyGodIsHe/..-pytest-neo
5a7d3ef6754c03afeb01db189a80c55bba538de6
[ "MIT" ]
1
2019-03-30T22:45:58.000Z
2019-03-30T22:45:58.000Z
from setuptools import setup import codecs # Copied from (and hacked): # https://github.com/pypa/virtualenv/blob/develop/setup.py#L42 def get_version(filename): import os import re here = os.path.dirname(os.path.abspath(__file__)) f = codecs.open(os.path.join(here, filename), encoding='utf-8') ve...
31.5
68
0.609623
227
2,016
5.286344
0.572687
0.110833
0.145833
0.13
0
0
0
0
0
0
0
0.01436
0.240079
2,016
63
69
32
0.76893
0.042163
0
0
0
0
0.435911
0.011417
0
0
0
0
0
1
0.018519
false
0
0.074074
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80da5c32e637d7a9cc6af9fdd36bc9ca02fad468
10,646
py
Python
ref_bot/cog/articlerefs.py
tser0f/ref_bot
8945992ec8802a88546494b503d7658cc53d80c5
[ "MIT" ]
null
null
null
ref_bot/cog/articlerefs.py
tser0f/ref_bot
8945992ec8802a88546494b503d7658cc53d80c5
[ "MIT" ]
1
2020-07-02T13:37:44.000Z
2020-07-07T03:09:50.000Z
ref_bot/cog/articlerefs.py
tser0f/ref_bot
8945992ec8802a88546494b503d7658cc53d80c5
[ "MIT" ]
null
null
null
import discord from discord.ext import commands from ref_bot.data_models import Article, Tag, ArticleOwner from ref_bot.article_scraper import scrape_article class ArticleRefs(commands.Cog): def __init__(self, bot, db_session): self.bot = bot self.db_session = db_session self._last_member =...
43.453061
191
0.603231
1,330
10,646
4.670677
0.132331
0.030425
0.038635
0.023181
0.469414
0.368802
0.302962
0.278815
0.250483
0.22537
0
0.004974
0.282454
10,646
244
192
43.631148
0.808221
0.059083
0
0.245902
0
0.010929
0.179257
0.006994
0
0
0
0
0
1
0.038251
false
0.005464
0.021858
0.021858
0.120219
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80db105d2fbce95f913926d6c0488904c36ac253
694
py
Python
utils/metrics.py
mhubrich/parkingCV
258b60d6cdaa57e47b4f2e79c9afc654d0e930fc
[ "MIT" ]
null
null
null
utils/metrics.py
mhubrich/parkingCV
258b60d6cdaa57e47b4f2e79c9afc654d0e930fc
[ "MIT" ]
null
null
null
utils/metrics.py
mhubrich/parkingCV
258b60d6cdaa57e47b4f2e79c9afc654d0e930fc
[ "MIT" ]
null
null
null
import numpy as np import sklearn.metrics def log_loss(y_true, y_pred): return sklearn.metrics.log_loss(y_true, y_pred, eps=1e-6) def accuracy_score(y_true, y_pred): return sklearn.metrics.accuracy_score(y_true, np.round(y_pred)) def roc_auc_score(y_true, y_pred): return sklearn.metrics.roc_auc_score(...
23.931034
69
0.721902
128
694
3.632813
0.226563
0.129032
0.129032
0.215054
0.795699
0.739785
0.688172
0.382796
0.232258
0.232258
0
0.023609
0.145533
694
28
70
24.785714
0.76054
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.25
0.875
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
80dbb36c04a0a7b7f2f8a91aa3f142e7ee6319a9
3,015
py
Python
baxter_ras_interface/scripts/backuplistgame.py
gabrieldiaz94/RAS-Baxter-Interface
7766d012617bffd09e42b6b76ea105fb3fe24481
[ "Apache-2.0" ]
1
2022-03-06T15:47:33.000Z
2022-03-06T15:47:33.000Z
baxter_ras_interface/scripts/backuplistgame.py
willandru/RAS-Baxter-Interface
7766d012617bffd09e42b6b76ea105fb3fe24481
[ "Apache-2.0" ]
null
null
null
baxter_ras_interface/scripts/backuplistgame.py
willandru/RAS-Baxter-Interface
7766d012617bffd09e42b6b76ea105fb3fe24481
[ "Apache-2.0" ]
1
2022-03-06T15:46:37.000Z
2022-03-06T15:46:37.000Z
#!/usr/bin/env python #Reference: the baxter_stocking_stuffer project by students in Northwestern's MSR program - Josh Marino, Sabeen Admani, Andrew Turchina and Chu-Chu Igbokwe #Service provided - ObjLocation service - contains x,y,z coordinates of object in baxter's stationary body frame, whether it is ok to grasp an...
31.736842
187
0.698176
476
3,015
4.317227
0.273109
0.016545
0.026277
0.048175
0.389294
0.389294
0.389294
0.389294
0.389294
0.389294
0
0.030961
0.175124
3,015
94
188
32.074468
0.795336
0.148259
0
0.419753
0
0
0.034348
0
0
0
0
0
0
0
null
null
0
0.135802
null
null
0.012346
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
80ddf655508d2be40c8e5c54e5d6ece64390a188
410
py
Python
smartcar/__init__.py
matteosandrin/python-sdk
45499d5787e4df5e908b6efa52ef95847c7bb6b6
[ "MIT" ]
null
null
null
smartcar/__init__.py
matteosandrin/python-sdk
45499d5787e4df5e908b6efa52ef95847c7bb6b6
[ "MIT" ]
null
null
null
smartcar/__init__.py
matteosandrin/python-sdk
45499d5787e4df5e908b6efa52ef95847c7bb6b6
[ "MIT" ]
null
null
null
__version__ = '1.0.12' from .smartcar import (AuthClient, is_expired, get_user_id, get_vehicle_ids) from .vehicle import Vehicle from .exceptions import ( SmartcarException, ValidationException, AuthenticationException, PermissionException, ResourceNotFoundException, StateException, RateLimitingException, ...
37.272727
76
0.82439
34
410
9.676471
0.794118
0
0
0
0
0
0
0
0
0
0
0.011019
0.114634
410
10
77
41
0.895317
0
0
0
0
0
0.014634
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
80ddf73885657b81588970d4b5f8599da4c9b6a7
2,060
py
Python
Discord Webhook Automation/discord_webhook.py
zYxDevs/Python_Scripts
74ed7df97c9287b966b4139f585ed3a1702f2d29
[ "MIT" ]
14
2021-10-02T14:17:06.000Z
2021-11-08T10:17:14.000Z
Discord Webhook Automation/discord_webhook.py
Naik-G/Python_Scripts
cd975036e126982aaa01da48c94cec1759af6d61
[ "MIT" ]
4
2021-10-03T05:35:11.000Z
2021-10-06T18:05:05.000Z
Discord Webhook Automation/discord_webhook.py
Naik-G/Python_Scripts
cd975036e126982aaa01da48c94cec1759af6d61
[ "MIT" ]
47
2021-10-02T12:07:07.000Z
2021-11-07T11:49:50.000Z
#!/usr/bin/env python3 # Path: Discord Webhook Automation/discord_webhook.py import requests discord_webhook_url = 'your webhook url' Message = { "content": "./Hello_World", "username": "Name for your discord webhook", "avatar_url": "Your Avatar Image URL", "tts": False, "embeds": [ { "title": "Tit...
29.428571
112
0.647087
280
2,060
4.721429
0.282143
0.083207
0.128593
0.079425
0.370651
0.360061
0.360061
0.360061
0.360061
0.360061
0
0.005736
0.23835
2,060
69
113
29.855072
0.836839
0.542233
0
0.105263
0
0
0.41402
0
0
0
0
0
0
1
0
false
0
0.026316
0
0.026316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80ddf8c8d244690e44871a0fc5d1f5d9d7730557
298
py
Python
Advertising/advertising.py
narenzhang/learnml
c6d5f4b84a7c9c23f93d03b06087f28772a52236
[ "Apache-2.0" ]
null
null
null
Advertising/advertising.py
narenzhang/learnml
c6d5f4b84a7c9c23f93d03b06087f28772a52236
[ "Apache-2.0" ]
null
null
null
Advertising/advertising.py
narenzhang/learnml
c6d5f4b84a7c9c23f93d03b06087f28772a52236
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # _*_ coding : utf-8 _*_ import pandas as pd def run_main(): csv_path = 'Advertising.csv' # pandas 读取数据 data = pd.read_csv(csv_path) x = data[['TV', 'Radio', 'Newspaper']] y = data['Sales'] # 绘制1 plt.plot if __name__ == '__main__': run_main()
16.555556
42
0.583893
41
298
3.829268
0.731707
0.089172
0
0
0
0
0
0
0
0
0
0.008969
0.251678
298
18
43
16.555556
0.695067
0.184564
0
0
0
0
0.183333
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80df428c3bf27d5c6635b075ac58b6ddf1c4e21a
561
py
Python
python/Python - Settrade Open API Example - Equity.py
settrade/stt-open-api-sdk-example
b2644985ef41957df85a239a033a101435dff2c1
[ "MIT" ]
1
2022-03-03T20:15:34.000Z
2022-03-03T20:15:34.000Z
python/Python - Settrade Open API Example - Equity.py
settrade/stt-open-api-sdk-example
b2644985ef41957df85a239a033a101435dff2c1
[ "MIT" ]
null
null
null
python/Python - Settrade Open API Example - Equity.py
settrade/stt-open-api-sdk-example
b2644985ef41957df85a239a033a101435dff2c1
[ "MIT" ]
null
null
null
import settrade.openapi from settrade.openapi import Investor ############################# login ############################# investor = Investor( app_id="8uuaMP1npccDixrg", app_secret="APX6wnqzk/yoVLIRyQ4ps4Fm13uzbC4tL5nyjAwwCKue", app_code="SANDBOX", broker_id="SANDBOX", is_auto_qu...
28.05
67
0.538324
49
561
6
0.714286
0.102041
0
0
0
0
0
0
0
0
0
0.042827
0.167558
561
20
68
28.05
0.586724
0.023173
0
0
0
0
0.23301
0.106796
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80dfe6a1ff36490beaa2733bf4a9c540f4667373
2,135
py
Python
tests/examples/test_examples.py
897615138/tfsnippet-jill
2fc898a4def866c8d3c685168df1fa22083bb143
[ "MIT" ]
63
2018-06-06T11:56:40.000Z
2022-03-22T08:00:59.000Z
tests/examples/test_examples.py
897615138/tfsnippet-jill
2fc898a4def866c8d3c685168df1fa22083bb143
[ "MIT" ]
39
2018-07-04T12:40:53.000Z
2022-02-09T23:48:44.000Z
tests/examples/test_examples.py
897615138/tfsnippet-jill
2fc898a4def866c8d3c685168df1fa22083bb143
[ "MIT" ]
34
2018-06-25T09:59:22.000Z
2022-02-23T12:46:33.000Z
import codecs import copy import os import re import subprocess import sys import time import unittest from tfsnippet.utils import TemporaryDirectory, humanize_duration from tests.examples.helper import skipUnlessRunExamplesTests class ExamplesTestCase(unittest.TestCase): """ Test case to ensure all examples...
33.888889
78
0.526464
227
2,135
4.797357
0.444934
0.027548
0.025712
0
0
0
0
0
0
0
0
0.002978
0.37096
2,135
62
79
34.435484
0.807893
0.074005
0
0
0
0
0.09295
0.025065
0
0
0
0
0
1
0.043478
false
0
0.217391
0
0.304348
0.065217
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80e0a8a07fe90eb98c565503e2de90aa68b3020f
705
py
Python
solution-8.py
NiamhOL/pands-problem-set
5a6a8f465cdda89c37321fa78f27eb869ee8fa03
[ "Apache-2.0" ]
2
2019-03-04T19:56:20.000Z
2019-03-28T15:42:26.000Z
solution-8.py
NiamhOL/pands-problem-set
5a6a8f465cdda89c37321fa78f27eb869ee8fa03
[ "Apache-2.0" ]
null
null
null
solution-8.py
NiamhOL/pands-problem-set
5a6a8f465cdda89c37321fa78f27eb869ee8fa03
[ "Apache-2.0" ]
null
null
null
# Solution to problem # # Student: Niamh O'Leary# #ID: GG00376339 # # Write a program that outputs today's date and time in the format. "Monday, January 19th 2019 at 1.15pm"# import datetime now = datetime.datetime.now() #selects todays date and time# print ("Current date and time: " print (now.s...
29.375
125
0.693617
107
705
4.570093
0.719626
0.042945
0.067485
0.06544
0
0
0
0
0
0
0
0.059353
0.211348
705
23
126
30.652174
0.820144
0
0
0
0
0
0.264706
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
80e26fef5bf7a0643771413edee2aa1b4c6728e2
1,888
py
Python
013_Klassen in Micropython/Code/quadrat_klasse.py
hobbyelektroniker/Micropython-Grundlagen
65cc6152e2b5b1c1fcb9d5e3150d34bc4cacaa27
[ "Unlicense" ]
1
2021-03-31T18:31:52.000Z
2021-03-31T18:31:52.000Z
013_Klassen in Micropython/Code/quadrat_klasse.py
hobbyelektroniker/Micropython-Grundlagen
65cc6152e2b5b1c1fcb9d5e3150d34bc4cacaa27
[ "Unlicense" ]
null
null
null
013_Klassen in Micropython/Code/quadrat_klasse.py
hobbyelektroniker/Micropython-Grundlagen
65cc6152e2b5b1c1fcb9d5e3150d34bc4cacaa27
[ "Unlicense" ]
1
2020-12-08T08:37:43.000Z
2020-12-08T08:37:43.000Z
''' Objektorientiert Programmierung Eine Klasse für ein Quadrat Version 1.00, 27.02.2021 Der Hobbyelektroniker https://community.hobbyelektroniker.ch https://www.youtube.com/c/HobbyelektronikerCh Der Code kann mit Quellenangabe frei verwendet werden. ''' # Quadrat import math from bewegt_klasse impo...
31.466667
79
0.591631
236
1,888
4.669492
0.411017
0.014519
0.014519
0.018149
0.479129
0.46461
0.46461
0.46461
0.46461
0.399274
0
0.021638
0.314619
1,888
59
80
32
0.829985
0.364407
0
0.714286
0
0
0.008591
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
80e29a5b17063378ea11a9ba5ec63b825ffd1e08
2,858
py
Python
Utils/fetcher.py
EchoAbstract/soma-fm-player
c1418033998c3fab74a649db98e230ced102e5fc
[ "MIT" ]
1
2019-03-04T10:35:42.000Z
2019-03-04T10:35:42.000Z
Utils/fetcher.py
EchoAbstract/soma-fm-player
c1418033998c3fab74a649db98e230ced102e5fc
[ "MIT" ]
null
null
null
Utils/fetcher.py
EchoAbstract/soma-fm-player
c1418033998c3fab74a649db98e230ced102e5fc
[ "MIT" ]
null
null
null
import urllib2 from bs4 import BeautifulSoup from collections import defaultdict def fetch_html(): resp = urllib2.urlopen("http://somafm.com/listen/") html = resp.read() return html def make_soup(ingredients): return BeautifulSoup(ingredients, 'html.parser') def get_stations(soup): stations =...
27.747573
81
0.586424
334
2,858
4.817365
0.341317
0.021753
0.018645
0.024239
0
0
0
0
0
0
0
0.016058
0.280966
2,858
103
82
27.747573
0.76691
0.007698
0
0
0
0
0.108995
0.018342
0
0
0
0
0
1
0.09589
false
0
0.041096
0.013699
0.219178
0.027397
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80e3d5f21275645dfb4b04506fb537a7e5daed1f
5,015
py
Python
Django elements/charts/data_preparation.py
LouisdeBruijn/Medium
afc66ee061c10b7107ba1661d2b9dfed0559dfc3
[ "MIT" ]
41
2020-05-03T19:32:37.000Z
2022-02-02T22:03:07.000Z
Django elements/charts/data_preparation.py
LouisdeBruijn/Medium
afc66ee061c10b7107ba1661d2b9dfed0559dfc3
[ "MIT" ]
2
2021-11-11T03:11:52.000Z
2021-12-16T01:51:13.000Z
Django elements/charts/data_preparation.py
LouisdeBruijn/Medium
afc66ee061c10b7107ba1661d2b9dfed0559dfc3
[ "MIT" ]
45
2020-03-29T02:43:24.000Z
2022-03-15T02:14:27.000Z
from .models import * from nltk.tokenize import TweetTokenizer from nltk.corpus import stopwords from sklearn.feature_extraction.text import TfidfVectorizer import seaborn as sns import numpy as np import time import re import json def hashtag_demographics(route, label): """Return most-used hashtags.""" data...
37.992424
137
0.637488
647
5,015
4.748068
0.239567
0.055013
0.046875
0.029297
0.361979
0.337891
0.318034
0.208008
0.17806
0.164388
0
0.008783
0.228116
5,015
131
138
38.282443
0.78481
0.031306
0
0.221053
0
0
0.07875
0.004375
0
0
0
0
0
1
0.042105
false
0
0.094737
0
0.178947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80e57ac43f1c3e92e78c3a47d232135e483fe654
2,838
py
Python
TaxiBJ/src/model/cnn.py
panzheyi/MF-STN
70d875d6b287a398b783e74031bb8237d44e5f8c
[ "MIT" ]
19
2019-10-28T09:41:51.000Z
2022-03-09T02:37:01.000Z
TaxiNYC/src/model/cnn.py
yoshall/MF-STN
70d875d6b287a398b783e74031bb8237d44e5f8c
[ "MIT" ]
null
null
null
TaxiNYC/src/model/cnn.py
yoshall/MF-STN
70d875d6b287a398b783e74031bb8237d44e5f8c
[ "MIT" ]
8
2020-11-20T09:02:30.000Z
2021-08-12T05:50:54.000Z
import numpy as np import mxnet as mx from mxnet import nd from mxnet.gluon import Block, HybridBlock, nn, rnn from config import ROWS, COLUMES, FLOW_OUTPUT_DIM, FLOW_OUTPUT_LEN from model.structure import MFDense, ResUnit N_LOC = ROWS * COLUMES class CNN(Block): """ Convolutional neural network """ ...
39.416667
125
0.559549
376
2,838
4.101064
0.279255
0.038911
0.025292
0.036965
0.182231
0.141375
0.076524
0.076524
0
0
0
0.015539
0.29704
2,838
72
126
39.416667
0.757393
0.157858
0
0
0
0
0.045086
0
0
0
0
0
0
1
0.069767
false
0
0.139535
0.023256
0.27907
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80e5a8f7d466eabb7b526d7540686453e5296d92
883
py
Python
scrape/pull.py
rmilne/wURF
598f73b196f4f134a093f5f501af1f061584e8e7
[ "MIT" ]
null
null
null
scrape/pull.py
rmilne/wURF
598f73b196f4f134a093f5f501af1f061584e8e7
[ "MIT" ]
null
null
null
scrape/pull.py
rmilne/wURF
598f73b196f4f134a093f5f501af1f061584e8e7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # import urllib2 import datetime import time import os APIKEY = 'c881ae04-2d79-46f4-8857-900a0ba71f5e' URLBASE = 'https://na.api.pvp.net/api/lol/na/v4.1/game/ids?beginDate=' start = datetime.date(year=2015, month=4, day=1) epoch = int(start.strftime("%s")) now = int(time.time()) #print epoch cu...
21.536585
85
0.587769
133
883
3.894737
0.548872
0.034749
0
0
0
0
0
0
0
0
0
0.078788
0.252548
883
40
86
22.075
0.706061
0.078143
0
0
0
0.038462
0.207196
0.044665
0
0
0
0
0
0
null
null
0
0.153846
null
null
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
1
0
0
0
0
0
0
0
0
1
80e7b35470ae7027078edaf6b4a8639438f64588
129
py
Python
module05/inflation.py
deepcloudlabs/dcl702-2021-jul-12
1b8442ddfb507f4bdc5fc3e2d1c9188c26f1834b
[ "MIT" ]
null
null
null
module05/inflation.py
deepcloudlabs/dcl702-2021-jul-12
1b8442ddfb507f4bdc5fc3e2d1c9188c26f1834b
[ "MIT" ]
null
null
null
module05/inflation.py
deepcloudlabs/dcl702-2021-jul-12
1b8442ddfb507f4bdc5fc3e2d1c9188c26f1834b
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd df = pd.read_csv("eurostat_hicpv2.csv") eu_inflations = df.iloc[6:] print(eu_inflations)
18.428571
39
0.767442
23
129
4.130435
0.695652
0.252632
0
0
0
0
0
0
0
0
0
0.017699
0.124031
129
6
40
21.5
0.823009
0
0
0
0
0
0.147287
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
80e89147ce7b44ce4bd4468078ab29db90b94ca9
543
py
Python
pmp/utils/ilp/solvers.py
Koozco/pmp
3ad96b01afb2ce6644eb1917ae88ee6d72adc8cf
[ "MIT" ]
1
2020-03-30T18:56:02.000Z
2020-03-30T18:56:02.000Z
pmp/utils/ilp/solvers.py
Koozco/pmp
3ad96b01afb2ce6644eb1917ae88ee6d72adc8cf
[ "MIT" ]
9
2018-11-19T00:04:52.000Z
2022-03-11T23:51:18.000Z
pmp/utils/ilp/solvers.py
Koozco/pmp
3ad96b01afb2ce6644eb1917ae88ee6d72adc8cf
[ "MIT" ]
2
2018-12-02T10:43:34.000Z
2020-03-30T10:15:50.000Z
from enum import Enum from importlib import import_module class Solvers(Enum): CPLEX = 1 GUROBI = 2 class MissingSolver(Exception): pass def init_solver(solver): try: module = import_module(__solver_module_names[solver], __package__) return module except (ImportError, NameError...
20.884615
109
0.707182
65
543
5.646154
0.584615
0.065395
0.092643
0
0
0
0
0
0
0
0
0.00464
0.206262
543
25
110
21.72
0.846868
0
0
0
0
0
0.180479
0
0
0
0
0
0
1
0.058824
false
0.058824
0.235294
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
80eb165a96cff968c89b9f3c537a4b8ba8c0ae1a
7,315
py
Python
mujpy/muplot.py
RDeRenzi/mujpy
f7aa0eb97c3db668a1b099d00aba8e1bd41d4444
[ "MIT" ]
1
2017-09-10T15:55:23.000Z
2017-09-10T15:55:23.000Z
mujpy/muplot.py
RDeRenzi/mujpy
f7aa0eb97c3db668a1b099d00aba8e1bd41d4444
[ "MIT" ]
1
2019-04-08T21:13:38.000Z
2019-04-08T21:13:38.000Z
mujpy/muplot.py
RDeRenzi/mujpy
f7aa0eb97c3db668a1b099d00aba8e1bd41d4444
[ "MIT" ]
2
2019-03-26T11:47:29.000Z
2021-02-16T22:42:31.000Z
class multiplot(object): ''' plot class (let's see) ''' def __init__(self,time,asymm,title,nscan,histoLength): ''' input: if suite is the multiple run instance time, asymm - 1d and 2d numpy arrays e.g. from rebin(suite.time,suite.asymmetry_multirun(),(0,200...
43.541667
111
0.513192
907
7,315
4.033076
0.261301
0.036085
0.034445
0.019136
0.243849
0.220886
0.172499
0.13778
0.122471
0.122471
0
0.029193
0.320984
7,315
167
112
43.802395
0.707268
0.277649
0
0.204545
0
0
0.029979
0
0
0
0
0
0
1
0.056818
false
0
0.056818
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
80eb66e87e9597516ec5942a88129b383f122135
1,308
py
Python
tenning/layers/svdo.py
guilherme9820/Tenning
c0fe7695ef3dd791ea1083f39d6b312266fb0512
[ "MIT" ]
null
null
null
tenning/layers/svdo.py
guilherme9820/Tenning
c0fe7695ef3dd791ea1083f39d6b312266fb0512
[ "MIT" ]
null
null
null
tenning/layers/svdo.py
guilherme9820/Tenning
c0fe7695ef3dd791ea1083f39d6b312266fb0512
[ "MIT" ]
null
null
null
from tensorflow.keras.layers import Layer from tensorflow.keras.layers import Conv2D from tenning.generic_utils import get_object_config import tensorflow as tf class SVDO(Layer): """ Performs symmetric orthogonalization as detailed in the paper 'An Analysis of SVD for Deep Rotation Estimation' (h...
30.418605
99
0.632263
163
1,308
4.944785
0.521472
0.054591
0.047146
0.062035
0.076923
0
0
0
0
0
0
0.034483
0.246177
1,308
42
100
31.142857
0.782961
0.319572
0
0
0
0
0.015366
0
0
0
0
0
0
1
0.142857
false
0
0.190476
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80eb9de023cd6936eabda295cdecf52af930ed93
3,836
py
Python
App/Graphic/app.py
Joey-Boivin/newegg-tracker
a0ed9337903d0b0a32ddb5713e79313eaf972e28
[ "MIT" ]
null
null
null
App/Graphic/app.py
Joey-Boivin/newegg-tracker
a0ed9337903d0b0a32ddb5713e79313eaf972e28
[ "MIT" ]
null
null
null
App/Graphic/app.py
Joey-Boivin/newegg-tracker
a0ed9337903d0b0a32ddb5713e79313eaf972e28
[ "MIT" ]
null
null
null
""" This is the module containing the graphical user interface for my Newegg tracker application """ from tkinter import * from tkinter import ttk import webbrowser from PIL import ImageTk, Image #Tkinter's image management is outdated root = Tk() root.config(bg="#2D2D2D") root.title("Newegg tracker by Joey-Boivin ...
33.649123
147
0.62122
494
3,836
4.661943
0.307692
0.031264
0.017369
0.030395
0.217977
0.133739
0.095528
0.095528
0.095528
0.050369
0
0.02152
0.248957
3,836
113
148
33.946903
0.777855
0.104536
0
0
0
0
0.083083
0.012298
0
0
0
0
0
1
0.059701
false
0
0.059701
0
0.149254
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80ec147109819e66e84d7d1ec4c6fd44c7807724
1,344
py
Python
MultiLevelForecast/TwoDayAhead/SeasonalPredict.py
AmateurZhang/EnjoyWithDataOnPowerSystems
64227d0505012d2b5650874c65268e85d9751a17
[ "MIT" ]
null
null
null
MultiLevelForecast/TwoDayAhead/SeasonalPredict.py
AmateurZhang/EnjoyWithDataOnPowerSystems
64227d0505012d2b5650874c65268e85d9751a17
[ "MIT" ]
null
null
null
MultiLevelForecast/TwoDayAhead/SeasonalPredict.py
AmateurZhang/EnjoyWithDataOnPowerSystems
64227d0505012d2b5650874c65268e85d9751a17
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun Nov 5 21:31:02 2017 @author: thuzhang """ import numpy as np import pandas as pd from matplotlib import pyplot as plt from sklearn.model_selection import train_test_split from sklearn.ensemble import RandomForestRegressor from sklearn.ensemble import GradientBoostingRegres...
24.888889
72
0.770833
218
1,344
4.56422
0.43578
0.045226
0.035176
0.052261
0.074372
0.074372
0.074372
0.074372
0.074372
0.074372
0
0.022727
0.083333
1,344
54
73
24.888889
0.784903
0.081845
0
0
0
0
0.088907
0.049755
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.09375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80ed64fdce9e1b564ee1842e39bc09c80184b169
3,072
py
Python
goto_cloud/migration_commander/tests/test_filesystem_mounting.py
jdepoix/goto_cloud
59bb9923026e1b1dc6e8e08fb6b21300c8e8854a
[ "MIT" ]
2
2018-02-04T23:22:17.000Z
2019-04-15T12:06:04.000Z
goto_cloud/migration_commander/tests/test_filesystem_mounting.py
jdepoix/goto_cloud
59bb9923026e1b1dc6e8e08fb6b21300c8e8854a
[ "MIT" ]
null
null
null
goto_cloud/migration_commander/tests/test_filesystem_mounting.py
jdepoix/goto_cloud
59bb9923026e1b1dc6e8e08fb6b21300c8e8854a
[ "MIT" ]
null
null
null
from unittest.mock import patch, Mock from remote_host_event_logging.public import RemoteHostEventLogger from ..filesystem_mounting import FilesystemMountCommand from ..device_identification import DeviceIdentificationCommand from .utils import MigrationCommanderTestCase class TestFilesystemMountCommand(MigrationC...
34.909091
88
0.624349
268
3,072
6.865672
0.335821
0.045652
0.06087
0.043478
0.568478
0.501087
0.475
0.439674
0.407065
0.352717
0
0.038031
0.272461
3,072
87
89
35.310345
0.785235
0
0
0.471429
0
0
0.215495
0.130208
0
0
0
0
0.114286
1
0.071429
false
0
0.071429
0
0.157143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80f056ed61bb17bd4239371c1a53a38aef1a13a6
7,416
py
Python
curvipy/graphing_calculator.py
dylannalex/curvipy
04a03ae270051503cdb583ce0545152eb555a01f
[ "MIT" ]
27
2022-02-22T03:09:22.000Z
2022-03-20T21:12:52.000Z
curvipy/graphing_calculator.py
dylannalex/curvipy
04a03ae270051503cdb583ce0545152eb555a01f
[ "MIT" ]
null
null
null
curvipy/graphing_calculator.py
dylannalex/curvipy
04a03ae270051503cdb583ce0545152eb555a01f
[ "MIT" ]
null
null
null
from typing import Any, Callable from math import sqrt, sin, acos, cos, pi import turtle def _is_int(result: Any) -> bool: try: int(result) return True except Exception: return False def _is_float(result: Any) -> bool: try: float(result) return True except Exc...
31.159664
85
0.58603
928
7,416
4.408405
0.150862
0.061599
0.034221
0.034221
0.436324
0.356881
0.340259
0.282083
0.257639
0.215106
0
0.017554
0.324029
7,416
237
86
31.291139
0.798524
0.162352
0
0.310976
0
0
0.013745
0
0
0
0
0
0
1
0.067073
false
0
0.018293
0
0.121951
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80f09cadf4fef85309af1bc1f2bfff6d59c73d5d
6,820
py
Python
hybridq/noise/channel/utils.py
jsmarsha11/hybridq-nasa
42f2998a059e5615dce6ccdbf7ae6dc4954bbce9
[ "Apache-2.0" ]
null
null
null
hybridq/noise/channel/utils.py
jsmarsha11/hybridq-nasa
42f2998a059e5615dce6ccdbf7ae6dc4954bbce9
[ "Apache-2.0" ]
null
null
null
hybridq/noise/channel/utils.py
jsmarsha11/hybridq-nasa
42f2998a059e5615dce6ccdbf7ae6dc4954bbce9
[ "Apache-2.0" ]
null
null
null
""" Authors: Salvatore Mandra (salvatore.mandra@nasa.gov), Jeffrey Marshall (jeffrey.s.marshall@nasa.gov) Copyright © 2021, United States Government, as represented by the Administrator of the National Aeronautics and Space Administration. All rights reserved. The HybridQ: A Hybrid Simulator for Quantum Circ...
34.795918
79
0.630645
1,010
6,820
4.20297
0.265347
0.018139
0.02073
0.007538
0.163251
0.139929
0.113545
0.104123
0.08669
0.08669
0
0.009057
0.255279
6,820
195
80
34.974359
0.826541
0.405132
0
0.044944
0
0
0.074557
0
0
0
0
0
0.022472
1
0.05618
false
0
0.022472
0
0.146067
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80f195beff11afd51fc9bce5c53d58fbb8eb372a
693
py
Python
anchore_manager/util/proc.py
dspalmer99/anchore-engine
8c61318be6fec5d767426fa4ccd98472cc85b5cd
[ "Apache-2.0" ]
1
2020-06-22T07:27:41.000Z
2020-06-22T07:27:41.000Z
anchore_manager/util/proc.py
dspalmer99/anchore-engine
8c61318be6fec5d767426fa4ccd98472cc85b5cd
[ "Apache-2.0" ]
4
2020-11-07T00:16:02.000Z
2020-11-08T20:52:06.000Z
anchore_manager/util/proc.py
dspalmer99/anchore-engine
8c61318be6fec5d767426fa4ccd98472cc85b5cd
[ "Apache-2.0" ]
null
null
null
""" Operations for process things like exit codes, forking etc """ import enum import sys class ExitCode(enum.Enum): """ Exit codes and conditions for consistency in the CLI """ ok = 0 failed = 2 obj_store_failed = 5 # Special value for compat with the object store ops return codes def doe...
15.065217
90
0.600289
86
693
4.802326
0.593023
0.043584
0.072639
0
0
0
0
0
0
0
0
0.006224
0.304473
693
45
91
15.4
0.850622
0.399711
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.111111
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
80f1c40e1c743906487eb873e07151031bc687f3
10,299
py
Python
parser/team23/instruccion/insert_into.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
35
2020-12-07T03:11:43.000Z
2021-04-15T17:38:16.000Z
parser/team23/instruccion/insert_into.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
47
2020-12-09T01:29:09.000Z
2021-01-13T05:37:50.000Z
parser/team23/instruccion/insert_into.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
556
2020-12-07T03:13:31.000Z
2021-06-17T17:41:10.000Z
from abstract.instruccion import * from tools.console_text import * from tools.tabla_tipos import * from tools.tabla_simbolos import * from storage import jsonMode as funciones from error.errores import * from instruccion.P_Key import * from instruccion.F_Key import * from instruccion.unique_simple import * from instru...
50.239024
240
0.585202
1,265
10,299
4.594466
0.161265
0.049209
0.0468
0.050585
0.461287
0.430489
0.402099
0.38627
0.333792
0.265485
0
0.020777
0.31304
10,299
205
241
50.239024
0.800707
0.063113
0
0.161677
0
0.035928
0.202656
0
0
0
0
0
0
1
0.017964
false
0
0.071856
0
0.209581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80f3461d49e869eada5dfdd059bc69af1f558b56
1,079
py
Python
api/python/list_devices/main.py
MvdLande/demos
85d4271ab61c5ff8cef2a3b91785355a935d5aca
[ "MIT" ]
2
2021-11-11T13:47:51.000Z
2021-11-28T03:30:30.000Z
api/python/list_devices/main.py
MvdLande/demos
85d4271ab61c5ff8cef2a3b91785355a935d5aca
[ "MIT" ]
3
2020-05-11T12:18:02.000Z
2022-03-17T13:41:07.000Z
api/python/list_devices/main.py
MvdLande/demos
85d4271ab61c5ff8cef2a3b91785355a935d5aca
[ "MIT" ]
4
2021-08-02T08:42:10.000Z
2022-02-25T23:15:06.000Z
#!/usr/bin/env python # Copyright (C) 2020 Toitware ApS. All rights reserved. import grpc import os import sys import getpass from toit.api import auth_pb2_grpc, auth_pb2, device_pb2_grpc, device_pb2 def create_channel(access_token=None): credentials = grpc.ssl_channel_credentials() if access_token is not None: ...
27.666667
73
0.757183
139
1,079
5.625899
0.460432
0.070332
0.033248
0.061381
0
0
0
0
0
0
0
0.014192
0.151066
1,079
38
74
28.394737
0.83952
0.068582
0
0
0
0
0.088734
0
0
0
0
0
0
1
0.142857
false
0.071429
0.178571
0.035714
0.392857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
80f7bc024b85ee0e8080b2883866b323df39445c
3,771
py
Python
gym_modular/sensors/gripper_velocity_2d_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/sensors/gripper_velocity_2d_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
gym_modular/sensors/gripper_velocity_2d_sensor.py
TimSchneider42/mbpo
736ba90bbdaddb2a40a6233bc0b78da72235100a
[ "MIT" ]
null
null
null
from typing import Dict, Tuple, List import numpy as np from .continuous_sensor import ContinuousSensor from ..ball_placing_task import BallPlacingTask class GripperVelocity2DSensor(ContinuousSensor[BallPlacingTask]): def __init__(self, robot_name: str, linear_limit_lower: np.ndarray, linear_limit_upper: np.nda...
49.618421
118
0.664015
442
3,771
5.255656
0.226244
0.047353
0.034438
0.030994
0.321997
0.229014
0.141627
0.092553
0.074042
0
0
0.007779
0.250066
3,771
75
119
50.28
0.813649
0.122779
0
0.155172
0
0
0.115929
0.071033
0
0
0
0
0.034483
1
0.103448
false
0
0.068966
0.034483
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80f9db9ba96db0e2f07ff84b33c7d8eabf660cf2
1,986
py
Python
src/scrape_tweets.py
chef55555/MSDS692
3d31b1aada18d7781ed42983179333132e5a6584
[ "MIT" ]
null
null
null
src/scrape_tweets.py
chef55555/MSDS692
3d31b1aada18d7781ed42983179333132e5a6584
[ "MIT" ]
null
null
null
src/scrape_tweets.py
chef55555/MSDS692
3d31b1aada18d7781ed42983179333132e5a6584
[ "MIT" ]
null
null
null
import tweepy import csv import time consumer_key = 'YOUR_KEY_HERE' consumer_secret = 'YOUR_SECRET_HERE' access_token = 'YOUR_TOKEN_HERE' access_token_secret = 'YOUR_ACCESS_TOKEN_SECRET_HERE' auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_secret) api = twe...
38.192308
126
0.723061
292
1,986
4.763699
0.486301
0.047448
0.036664
0.031632
0.159597
0.097771
0.097771
0.097771
0.097771
0.097771
0
0.02442
0.175227
1,986
52
127
38.192308
0.824786
0.325277
0
0.054054
0
0
0.165165
0.021772
0
0
0
0.019231
0
1
0.027027
false
0
0.081081
0
0.108108
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
80fa599a04868da515185f5ef67ddee93b107047
19,434
py
Python
src/transe.py
DanielSun94/kgenlu
bbf377c6740040cb1a8b656785e7c5bfdb8371d5
[ "MIT" ]
null
null
null
src/transe.py
DanielSun94/kgenlu
bbf377c6740040cb1a8b656785e7c5bfdb8371d5
[ "MIT" ]
null
null
null
src/transe.py
DanielSun94/kgenlu
bbf377c6740040cb1a8b656785e7c5bfdb8371d5
[ "MIT" ]
null
null
null
# the source codes of transE are from https://github.com/mklimasz/TransE-PyTorch from absl import app from absl import flags import os import numpy as np import torch.optim as optim from torch.utils import data as torch_data from torch.utils import tensorboard from collections import Counter from torch.utils import dat...
45.727059
120
0.679016
2,533
19,434
4.96289
0.14094
0.01241
0.006364
0.014
0.337046
0.291464
0.233076
0.21478
0.180574
0.150664
0
0.019029
0.215807
19,434
424
121
45.834906
0.80584
0.120408
0
0.115132
0
0
0.074756
0.010417
0
0
0
0
0.016447
1
0.072368
false
0
0.046053
0.006579
0.190789
0.019737
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80fb338cada946f58190ce2610fb07b263d9785b
5,361
py
Python
arctic_cruise/saildrone_sentinel2_true_color_image_each_usv.py
agonmer/Saildrone
47e618390be6ef160382bd22bb3bdf2482a8644a
[ "Apache-2.0" ]
3
2019-07-08T11:55:44.000Z
2021-10-06T15:11:18.000Z
arctic_cruise/saildrone_sentinel2_true_color_image_each_usv.py
agonmer/Saildrone
47e618390be6ef160382bd22bb3bdf2482a8644a
[ "Apache-2.0" ]
null
null
null
arctic_cruise/saildrone_sentinel2_true_color_image_each_usv.py
agonmer/Saildrone
47e618390be6ef160382bd22bb3bdf2482a8644a
[ "Apache-2.0" ]
3
2020-06-08T06:29:22.000Z
2020-06-16T15:43:46.000Z
#!/usr/bin/env python # coding: utf-8 # In[3]: import gdal import urllib.request import xarray as xr import numpy as np import time from datetime import datetime, date, time, timedelta from matplotlib.pyplot import figure import matplotlib.pyplot as plt import cartopy.crs as ccrs import urllib import requests import...
34.587097
355
0.688864
826
5,361
4.380145
0.341404
0.015202
0.015202
0.012161
0.268657
0.195965
0.171365
0.12272
0.12272
0.098397
0
0.031572
0.131505
5,361
154
356
34.811688
0.74549
0.132438
0
0.084211
0
0.010526
0.226436
0.114843
0
0
0
0
0
1
0.010526
false
0
0.126316
0
0.147368
0.021053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80fbb0bb49bd69b0d4c6b4cd19dfc72ce812fabe
896
py
Python
tests/snapshots/snapshots/snap_test_query_snapshots.py
adeoke/django-quarantine-workout-graphql
7d53bb17f8ee9e5276b496d00ff92c4b458af31f
[ "MIT" ]
1
2020-06-01T11:41:52.000Z
2020-06-01T11:41:52.000Z
tests/snapshots/snapshots/snap_test_query_snapshots.py
adeoke/django-quarantine-workout-graphql
7d53bb17f8ee9e5276b496d00ff92c4b458af31f
[ "MIT" ]
5
2020-06-06T15:14:21.000Z
2021-06-10T19:25:55.000Z
tests/snapshots/snapshots/snap_test_query_snapshots.py
adeoke/django-quarantine-workout-graphql
7d53bb17f8ee9e5276b496d00ff92c4b458af31f
[ "MIT" ]
1
2022-01-19T22:17:44.000Z
2022-01-19T22:17:44.000Z
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['TestAppQueriesSnapshot::test_equipment_against_snapshot equipment_snapshot_resp'] = { 'data': { 'levels': [ { ...
21.853659
99
0.482143
55
896
7.563636
0.509091
0.081731
0.168269
0.105769
0.384615
0.384615
0.384615
0.384615
0.384615
0.384615
0
0.005597
0.401786
896
40
100
22.4
0.770522
0.069196
0
0.30303
0
0
0.357401
0.167268
0
0
0
0
0
1
0
false
0
0.060606
0
0.060606
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80fc4ddd97fb95cbb42815223da62558449dfb21
3,753
py
Python
healthtools/tests/nurse.py
DavidLemayian/HealthTools.KE-api
a0848784985adb91cb0107655186fad81febb054
[ "MIT" ]
9
2019-07-05T12:39:30.000Z
2020-10-02T05:20:36.000Z
healthtools/tests/nurse.py
ChrisAchinga/HealthTools.API
3aeac2e95732d876a720b6681f3f251f81025e3f
[ "MIT" ]
49
2017-07-14T12:33:48.000Z
2019-01-13T18:44:53.000Z
healthtools/tests/nurse.py
ChrisAchinga/HealthTools.API
3aeac2e95732d876a720b6681f3f251f81025e3f
[ "MIT" ]
9
2019-10-09T11:12:05.000Z
2021-07-23T23:19:00.000Z
""" This test for nurses end point """ import unittest from healthtools.manage import app from healthtools.search.nurses import get_nurses_from_nc_registry class TestSetup(unittest.TestCase): def setUp(self): self.client = app.test_client() class TestNurseRegistery(TestSetup): """ This tests nurse...
36.086538
95
0.679456
460
3,753
5.367391
0.213043
0.090725
0.063183
0.092345
0.674362
0.643985
0.599433
0.461725
0.353584
0.353584
0
0.005422
0.213696
3,753
103
96
36.436893
0.831244
0.198774
0
0.32
0
0
0.161175
0.030444
0
0
0
0
0.28
1
0.28
false
0
0.06
0
0.42
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
80fc711d831d4747a33d2fccf9dfb1487eab792f
2,626
py
Python
src/beehive/controls/datamaker.py
i-pan/honeycomb
1f5f8c6c37f2a66b3109412e803994a9dc6ad10d
[ "MIT" ]
2
2020-11-09T05:32:59.000Z
2021-07-06T07:51:50.000Z
src/beehive/controls/datamaker.py
i-pan/honeycomb
1f5f8c6c37f2a66b3109412e803994a9dc6ad10d
[ "MIT" ]
null
null
null
src/beehive/controls/datamaker.py
i-pan/honeycomb
1f5f8c6c37f2a66b3109412e803994a9dc6ad10d
[ "MIT" ]
1
2020-12-10T19:20:22.000Z
2020-12-10T19:20:22.000Z
import logging import numpy as np import pandas as pd import os, os.path as osp from ..builder import build_dataset, build_dataloader def get_train_val_test_splits(cfg, df): if 'split' in df.columns and cfg.data.use_fixed_splits: train_df = df[df.split == 'train'] valid_df = df[df.split == 'vali...
33.240506
68
0.640518
380
2,626
4.184211
0.223684
0.045283
0.033962
0.027673
0.439623
0.365409
0.365409
0.260377
0.176101
0.155346
0
0.001493
0.234958
2,626
78
69
33.666667
0.789945
0
0
0.258065
0
0
0.084604
0.016768
0
0
0
0
0
1
0.048387
false
0
0.080645
0.016129
0.193548
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
037dc06068dc0af9522cd2267f30af8e21e1a997
376
py
Python
Previous_State_On_Repo/WordLevelDataAndProcessing/English/toggler.py
rohun-tripati/pythonRepo
91a7d536f7be05adc15e4d5add0a8a4a08c28c62
[ "Unlicense" ]
1
2018-06-25T19:20:48.000Z
2018-06-25T19:20:48.000Z
Previous_State_On_Repo/WordLevelDataAndProcessing/English/toggler.py
rohun-tripati/pythonRepo
91a7d536f7be05adc15e4d5add0a8a4a08c28c62
[ "Unlicense" ]
null
null
null
Previous_State_On_Repo/WordLevelDataAndProcessing/English/toggler.py
rohun-tripati/pythonRepo
91a7d536f7be05adc15e4d5add0a8a4a08c28c62
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import os, sys, time import Image import pprint import numpy as np def imgtotoggle (path, outpath): image = Image.open(path) image = image.convert("L") pixels = image.load() size = image.size for j in range(size[0]): for i in range(size[1]): if pixels[j, i] < 200: pixels[j, i] = ...
16.347826
32
0.643617
63
376
3.84127
0.555556
0.086777
0.099174
0
0
0
0
0
0
0
0
0.030405
0.212766
376
23
33
16.347826
0.787162
0.053191
0
0
0
0
0.002809
0
0
0
0
0
0
1
0.0625
false
0
0.25
0
0.3125
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
038103ef2240aabfd8cc0c60138c47f1f616f668
1,578
py
Python
libs/Python_Server.py
yingshaoxo/E_Python
1d971e5e16681a5a641d5362e1f2f719fd828fd5
[ "MIT" ]
17
2018-08-24T14:34:20.000Z
2021-02-24T02:40:14.000Z
libs/Python_Server.py
yingshaoxo/E_Python
1d971e5e16681a5a641d5362e1f2f719fd828fd5
[ "MIT" ]
1
2018-06-20T19:11:19.000Z
2018-06-21T13:47:00.000Z
libs/Python_Server.py
yingshaoxo/E_Python
1d971e5e16681a5a641d5362e1f2f719fd828fd5
[ "MIT" ]
6
2019-03-24T15:34:50.000Z
2021-09-30T07:42:20.000Z
import sys import os import subprocess EXEC = sys.executable #local pythonw.exe def run_py_file(py_path): result = subprocess.run([EXEC, py_path], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True) return str(result.stdout) def run_py_codes(py_codes): codes = str(py_codes) if ...
27.206897
119
0.612801
215
1,578
4.32093
0.376744
0.032293
0.034446
0.038751
0.13563
0.103337
0.088267
0.066738
0.066738
0.066738
0
0.045075
0.240811
1,578
57
120
27.684211
0.730384
0.069075
0
0.177778
0
0
0.130375
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.044444
0.4
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0382a0bf6c523947842fd109b2d9bb5a190e9498
7,796
py
Python
data.py
domfarolino/memory-cache-experiments
a84bf2138478396a4f3df8023618bea6690b537a
[ "Apache-2.0" ]
null
null
null
data.py
domfarolino/memory-cache-experiments
a84bf2138478396a4f3df8023618bea6690b537a
[ "Apache-2.0" ]
null
null
null
data.py
domfarolino/memory-cache-experiments
a84bf2138478396a4f3df8023618bea6690b537a
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import sys import csv ########################################### # [HISTOGRAM]: Data for HISTOGRAM event. async_script_histogram_data = {"kLoad": 0, "kUse": 0, "kReload": 0, "kRevalidate": 0} def PlotRevalidationPolicyHistogramData(): x_name = async_script_histog...
28.452555
105
0.68843
1,013
7,796
5.065153
0.168806
0.087897
0.042097
0.032742
0.366205
0.26564
0.190606
0.190606
0.190606
0.184954
0
0.015337
0.163674
7,796
273
106
28.556777
0.771626
0.153412
0
0.276243
0
0
0.084457
0.003854
0
0
0
0
0
0
null
null
0
0.022099
null
null
0.060773
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0382db25417fae1cb9a82dae1650705be38a3663
2,062
py
Python
paramikosshrsa/learntossh_updated_Sam.py
ryankimball/pyna
86b67e775925953abdc8d3ecaf786dda08d91bfa
[ "MIT" ]
null
null
null
paramikosshrsa/learntossh_updated_Sam.py
ryankimball/pyna
86b67e775925953abdc8d3ecaf786dda08d91bfa
[ "MIT" ]
null
null
null
paramikosshrsa/learntossh_updated_Sam.py
ryankimball/pyna
86b67e775925953abdc8d3ecaf786dda08d91bfa
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ## std library imports on top import os ## 3rd party imports below import paramiko ## work assigned to a junior programming asset on our team from jrprogrammer import cmdissue def get_creds(): ip = input("IP: ") user = input("Username: ") # return [ip, user] # return {"ip": i...
26.779221
125
0.56741
255
2,062
4.482353
0.509804
0.020997
0.020997
0.026247
0.099738
0.041995
0
0
0
0
0
0.008457
0.311833
2,062
76
126
27.131579
0.79704
0.344326
0
0.105263
0
0.026316
0.13767
0.018911
0
0
0
0
0
1
0.078947
false
0
0.078947
0
0.210526
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0384d896ee9aa5e8128b188d58ec411b0796b93b
4,909
py
Python
src/elchempy/indexer/EC_index.py
MyPyDavid/ECpy
b74842b64eca86d2181067fdb22bfa8fa4b2c8bb
[ "MIT" ]
3
2022-01-04T09:06:15.000Z
2022-03-05T08:24:01.000Z
src/elchempy/indexer/EC_index.py
MyPyDavid/ECpy
b74842b64eca86d2181067fdb22bfa8fa4b2c8bb
[ "MIT" ]
null
null
null
src/elchempy/indexer/EC_index.py
MyPyDavid/ECpy
b74842b64eca86d2181067fdb22bfa8fa4b2c8bb
[ "MIT" ]
1
2022-03-05T12:17:49.000Z
2022-03-05T12:17:49.000Z
""" Collects the files of index files of a folder""" from pathlib import Path from collections import Counter from functools import wraps import datetime from typing import Tuple, List, Dict, Union, Collection # import re # import copy import logging logger = logging.getLogger(__name__) logger.setLevel(logging.DEB...
29.220238
94
0.65716
625
4,909
4.9312
0.2784
0.064244
0.016872
0.017521
0.113563
0.057106
0.03634
0.03634
0.03634
0.03634
0
0.002195
0.257486
4,909
167
95
29.39521
0.843347
0.161744
0
0.114286
0
0
0.103941
0.008374
0
0
0
0
0
1
0.057143
false
0
0.114286
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
038576c4c54a502ae3fea546a14b8861fa4938ab
1,271
py
Python
Finance_Project/login/migrations/0001_initial.py
Sharvil24600/Personal-Finance-Manager
18f6621422e475cdf262958125f4247d5e208d6d
[ "Apache-2.0" ]
null
null
null
Finance_Project/login/migrations/0001_initial.py
Sharvil24600/Personal-Finance-Manager
18f6621422e475cdf262958125f4247d5e208d6d
[ "Apache-2.0" ]
null
null
null
Finance_Project/login/migrations/0001_initial.py
Sharvil24600/Personal-Finance-Manager
18f6621422e475cdf262958125f4247d5e208d6d
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-26 19:53 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Employee', fields=[ ('empid', models.Intege...
31
84
0.52557
116
1,271
5.586207
0.456897
0.111111
0.166667
0.222222
0.453704
0.412037
0.268519
0.126543
0
0
0
0.045509
0.343037
1,271
40
85
31.775
0.730539
0.035405
0
0.30303
1
0
0.111928
0
0
0
0
0
0
1
0
false
0.030303
0.030303
0
0.151515
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0385d5fe370d2f68ea94283b4a443ec6d8a7e020
4,102
py
Python
inference_evaluation/inference_utils/image_utils.py
embedded-machine-learning/eml-tools
9c9d12f9b970a42360bc6ca350f3b67ad822b141
[ "Apache-2.0" ]
null
null
null
inference_evaluation/inference_utils/image_utils.py
embedded-machine-learning/eml-tools
9c9d12f9b970a42360bc6ca350f3b67ad822b141
[ "Apache-2.0" ]
null
null
null
inference_evaluation/inference_utils/image_utils.py
embedded-machine-learning/eml-tools
9c9d12f9b970a42360bc6ca350f3b67ad822b141
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Image handling utilities License_info: # ============================================================================== # ISC License (ISC) # Copyright 2020 Christian Doppler Laboratory for Embedded Machine Learning # # Permission to use, copy, modify, and/or distribu...
35.059829
115
0.684057
572
4,102
4.776224
0.472028
0.021962
0.016105
0.02123
0.047584
0.047584
0.047584
0.047584
0.047584
0
0
0.008603
0.178206
4,102
117
116
35.059829
0.801839
0.655046
0
0
0
0
0.149554
0.054315
0
0
0
0
0
1
0.081081
false
0
0.216216
0
0.351351
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
038616b45c12c7c5aab0395285a81ab4509f1b05
2,013
py
Python
molecule/upgrade/tests/test_default.py
cmu-sei/ansible-role-yaf
5fed4a5805e0751e37d8b05d459556b9367041e6
[ "Apache-2.0" ]
null
null
null
molecule/upgrade/tests/test_default.py
cmu-sei/ansible-role-yaf
5fed4a5805e0751e37d8b05d459556b9367041e6
[ "Apache-2.0" ]
1
2021-02-22T15:48:44.000Z
2021-02-22T15:48:44.000Z
molecule/upgrade/tests/test_default.py
cmu-sei/ansible-role-yaf
5fed4a5805e0751e37d8b05d459556b9367041e6
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Carnegie Mellon University. # NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING # INSTITUTE MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON # UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS # TO ANY MATTER INCLUDING, BUT NOT LIMITED TO, WARRANT...
38.711538
87
0.762047
286
2,013
5.311189
0.548951
0.046083
0.078999
0.02765
0
0
0
0
0
0
0
0.016959
0.150522
2,013
51
88
39.470588
0.871345
0.690512
0
0
0
0
0.243289
0.134228
0
0
0
0
0.117647
1
0.117647
false
0
0.176471
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03895f641c1dcc508acc7bfd2ad2e29b29a5ad04
18,329
py
Python
fuel_agent/fuel_agent/tests/test_nailgun.py
Axam/nsx-web
4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5
[ "Apache-2.0" ]
1
2021-04-06T16:13:35.000Z
2021-04-06T16:13:35.000Z
fuel_agent/fuel_agent/tests/test_nailgun.py
Axam/nsx-web
4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5
[ "Apache-2.0" ]
null
null
null
fuel_agent/fuel_agent/tests/test_nailgun.py
Axam/nsx-web
4f60d71c05e08740cbdf19b6c9bb0c4cb1e29ad5
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
37.482618
78
0.420809
1,720
18,329
4.280233
0.207558
0.07335
0.028253
0.00652
0.530834
0.513583
0.472698
0.441592
0.397039
0.320565
0
0.08067
0.43663
18,329
488
79
37.559426
0.632287
0.030007
0
0.397826
0
0.013043
0.278807
0.095131
0
0
0
0
0.086957
1
0.019565
false
0.006522
0.01087
0
0.032609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
038b2ae476e554b9904f92fe273204412a8e43f0
1,143
py
Python
myblog/myblog/models.py
610yilingliu/blog_for_fun
a4e7b93ec1bbdd4722ea1178910b8c967832b6ec
[ "MIT" ]
null
null
null
myblog/myblog/models.py
610yilingliu/blog_for_fun
a4e7b93ec1bbdd4722ea1178910b8c967832b6ec
[ "MIT" ]
7
2021-03-18T22:47:42.000Z
2022-03-12T00:12:00.000Z
myblog/myblog/models.py
610yilingliu/blog_for_fun
a4e7b93ec1bbdd4722ea1178910b8c967832b6ec
[ "MIT" ]
null
null
null
from django.db import models from django.urls import reverse class Category(models.Model): name = models.CharField(max_length = 100,unique=True) def __str__(self): return self.name class Tag(models.Model): name = models.CharField(max_length = 50,unique=True) def __str__(self): ...
27.878049
70
0.694663
145
1,143
5.289655
0.4
0.097784
0.11734
0.156454
0.383312
0.357236
0.357236
0.152542
0.152542
0
0
0.014239
0.201225
1,143
40
71
28.575
0.825849
0.055118
0
0.259259
0
0
0.014856
0
0
0
0
0
0
1
0.185185
false
0
0.074074
0.185185
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
038c2d87bdf66ab34919ec05d38821c57168aa89
3,100
py
Python
examples/proxy/broadcast.py
KangFengjian/maro
2694a75731d5174ba5b33780670ba38d776d8c5a
[ "MIT" ]
1
2021-04-16T14:53:47.000Z
2021-04-16T14:53:47.000Z
examples/proxy/broadcast.py
KangFengjian/maro
2694a75731d5174ba5b33780670ba38d776d8c5a
[ "MIT" ]
2
2020-12-15T09:13:43.000Z
2020-12-16T08:02:41.000Z
examples/proxy/broadcast.py
KangFengjian/maro
2694a75731d5174ba5b33780670ba38d776d8c5a
[ "MIT" ]
1
2021-10-01T09:17:43.000Z
2021-10-01T09:17:43.000Z
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import multiprocessing as mp from maro.communication import Proxy, SessionType def worker(group_name): """ The main worker logic includes initialize proxy and handle jobs from the master. Args: group_name (str): Identifie...
36.904762
117
0.662903
392
3,100
5.089286
0.369898
0.049624
0.045113
0.0401
0.232581
0.177444
0.106266
0.106266
0.065163
0.065163
0
0.001729
0.253871
3,100
83
118
37.349398
0.860787
0.301935
0
0.1
0
0
0.202444
0.07492
0
0
0
0
0
1
0.05
false
0
0.05
0
0.1
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
038c3b268e2edad7c0c53700732f427733b24ccf
475
py
Python
pyobs/comm/xmpp/xep_0009_timeout/stanza/RPC.py
pyobs/pyobs-core
e3401e63eb31587c2bc535f7346b7e4ef69d64ab
[ "MIT" ]
4
2020-02-14T10:50:03.000Z
2022-03-25T04:15:06.000Z
pyobs/comm/xmpp/xep_0009_timeout/stanza/RPC.py
pyobs/pyobs-core
e3401e63eb31587c2bc535f7346b7e4ef69d64ab
[ "MIT" ]
60
2020-09-14T09:10:20.000Z
2022-03-25T17:51:42.000Z
pyobs/comm/xmpp/xep_0009_timeout/stanza/RPC.py
pyobs/pyobs-core
e3401e63eb31587c2bc535f7346b7e4ef69d64ab
[ "MIT" ]
2
2020-10-14T09:34:57.000Z
2021-04-27T09:35:57.000Z
from sleekxmpp.xmlstream.stanzabase import ElementBase class MethodTimeout(ElementBase): name = 'methodTimeout' namespace = 'jabber:iq:rpc' plugin_attrib = 'method_timeout' interfaces = set(('timeout',)) subinterfaces = set(()) plugin_attrib_map = {} plugin_tag_map = {} def get_timeou...
26.388889
58
0.684211
54
475
5.759259
0.555556
0.07717
0.090032
0
0
0
0
0
0
0
0
0
0.195789
475
17
59
27.941176
0.814136
0
0
0
0
0
0.128421
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.153846
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
038cf33c1d7fd6155754a4405e0fe8c36ec12927
543
py
Python
rospy-builder/setup.py
timlukins/simple
c1ed66d79167f04e09e17f61cb2f3c0259c24da0
[ "Apache-2.0" ]
null
null
null
rospy-builder/setup.py
timlukins/simple
c1ed66d79167f04e09e17f61cb2f3c0259c24da0
[ "Apache-2.0" ]
null
null
null
rospy-builder/setup.py
timlukins/simple
c1ed66d79167f04e09e17f61cb2f3c0259c24da0
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name="rospy-builder", version="0.2.0", description="rospy package build tool", author="Tamamki Nishino", author_email="otamachan@gmail.com", url="https://rospypi.github.io/simple", packages=["rospy_builder"], install_requires=[ "catkin_pkg", ...
22.625
70
0.581952
55
543
5.618182
0.781818
0.116505
0
0
0
0
0
0
0
0
0
0.017413
0.259669
543
23
71
23.608696
0.751244
0
0
0
0
0
0.421731
0.042357
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
038e61fc70b89533f7fa02d99b0ce5d016a01e70
270
py
Python
gatenlp/processing/matcher.py
gitter-badger/python-gatenlp
bfed863b404cfd62c98a6cb08ad287c3b4b6ccae
[ "Apache-2.0" ]
30
2020-04-18T12:28:15.000Z
2022-02-18T21:31:18.000Z
gatenlp/processing/matcher.py
gitter-badger/python-gatenlp
bfed863b404cfd62c98a6cb08ad287c3b4b6ccae
[ "Apache-2.0" ]
133
2019-10-16T07:41:59.000Z
2022-03-31T07:27:07.000Z
gatenlp/processing/matcher.py
gitter-badger/python-gatenlp
bfed863b404cfd62c98a6cb08ad287c3b4b6ccae
[ "Apache-2.0" ]
4
2021-01-20T08:12:19.000Z
2021-10-21T13:29:44.000Z
""" Module that defines classes for matchers other than gazetteers which match e.g. regular expressions of strings or annotations. """ class StringRegexMatcher: """ NOT YET IMPLEMENTED """ pass # class AnnotationRegexMatcher: # """ """ # pass
15
99
0.67037
28
270
6.464286
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.233333
270
17
100
15.882353
0.874396
0.725926
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
038e6d50ab6c21396044a16b0e1fba76ef2bb5a3
5,045
py
Python
bacpypes/bvll/bip_simple.py
cbergmiller/bacpypes
7b1f2e989787c2c1f807680fee5ee7a71b3689ab
[ "MIT" ]
1
2018-01-11T13:10:15.000Z
2018-01-11T13:10:15.000Z
bacpypes/bvll/bip_simple.py
cbergmiller/bacpypes
7b1f2e989787c2c1f807680fee5ee7a71b3689ab
[ "MIT" ]
null
null
null
bacpypes/bvll/bip_simple.py
cbergmiller/bacpypes
7b1f2e989787c2c1f807680fee5ee7a71b3689ab
[ "MIT" ]
null
null
null
import logging from ..comm import Client, Server from ..link import Address, LocalBroadcast, PDU from .bvlpdu import ForwardedNPDU, OriginalBroadcastNPDU, OriginalUnicastNPDU, ReadBroadcastDistributionTableAck, \ ReadForeignDeviceTableAck, Result, WriteBroadcastDistributionTable, ReadBroadcastDistributionTable, \ ...
45.863636
117
0.636075
514
5,045
6.138132
0.200389
0.049445
0.038352
0.076704
0.548653
0.548653
0.471315
0.471315
0.449128
0.449128
0
0.008258
0.279881
5,045
109
118
46.284404
0.860171
0.13558
0
0.364865
0
0
0.043669
0
0
0
0.008318
0
0
1
0.040541
false
0
0.067568
0
0.121622
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
038f3d71a5ee7441b570179467e32a175ce1b735
8,174
py
Python
classifier.py
maxvays/TCGA_classifier
ad3b92ac76273e0701e9b41ce2e4aa3688f597a5
[ "MIT" ]
null
null
null
classifier.py
maxvays/TCGA_classifier
ad3b92ac76273e0701e9b41ce2e4aa3688f597a5
[ "MIT" ]
null
null
null
classifier.py
maxvays/TCGA_classifier
ad3b92ac76273e0701e9b41ce2e4aa3688f597a5
[ "MIT" ]
null
null
null
''' Trains TensorFlow DNNClassifier on training examples in TFRecord format, with each training example comprising methylation betas for one aliquot and the 0/1 label. Outputs statistics on the number of input features with non-zero weights in the hidden layer (dnn/hiddenlayer_0/kernel). Upon completion of training, wr...
33.363265
148
0.661488
1,081
8,174
4.774283
0.292322
0.024801
0.027902
0.008719
0.107731
0.073242
0.048828
0.048828
0
0
0
0.024717
0.232811
8,174
244
149
33.5
0.798278
0.036457
0
0.011561
0
0
0.115898
0.02588
0
0
0
0
0
0
null
null
0
0.052023
null
null
0.086705
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
038f505b334cb3a60e56c15adf216d9924d30d0c
4,721
py
Python
pytint/interpreters.py
semicolonTransistor/PyTint
0f70fe756c285cda38b3a91318af02382a505263
[ "MIT" ]
1
2020-08-14T19:41:45.000Z
2020-08-14T19:41:45.000Z
pytint/interpreters.py
semicolonTransistor/PyTint
0f70fe756c285cda38b3a91318af02382a505263
[ "MIT" ]
null
null
null
pytint/interpreters.py
semicolonTransistor/PyTint
0f70fe756c285cda38b3a91318af02382a505263
[ "MIT" ]
null
null
null
from typing import List, Deque, Dict, Set, Iterable Symbol = str State = str class FAConfiguration: def __init__(self, tape: List[Symbol], state: State, symbol_read: Symbol, prev_index: int, epsilon_set=None): if epsilon_set is None: epsilon_set = set() self.tape = tape self....
38.696721
113
0.606863
523
4,721
5.3174
0.219885
0.053937
0.062927
0.030205
0.143114
0.054657
0.054657
0.054657
0.054657
0.054657
0
0.001881
0.324296
4,721
121
114
39.016529
0.869906
0.143614
0
0.0875
0
0
0.001242
0
0
0
0
0
0
1
0.1
false
0.0125
0.0125
0
0.175
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03931adf4192a67a2e5bf6d1a7a219b56c9a984e
5,893
py
Python
src/prediction_knn.py
pedrohenriquebr/web-face-recognition
5a1fac7ce6e4186bca33f7e0ead2de42670786e0
[ "MIT" ]
1
2020-09-14T03:46:12.000Z
2020-09-14T03:46:12.000Z
src/prediction_knn.py
pedrohenriquebr/web-face-recognition
5a1fac7ce6e4186bca33f7e0ead2de42670786e0
[ "MIT" ]
13
2019-01-21T22:11:33.000Z
2019-08-18T18:47:26.000Z
src/prediction_knn.py
pedrohenriquebr/web-face-recognition
5a1fac7ce6e4186bca33f7e0ead2de42670786e0
[ "MIT" ]
null
null
null
import math from sklearn import neighbors import os from os import environ import os.path import pickle import face_recognition from face_recognition.face_recognition_cli import image_files_in_folder import sys ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg'} THRESHOLD = os.getenv('THRESHOLD', 'TRUE') def predict_frame(...
42.092857
119
0.686408
859
5,893
4.513388
0.178114
0.073768
0.050555
0.026309
0.84911
0.838277
0.838277
0.822027
0.822027
0.798556
0
0.004179
0.228407
5,893
139
120
42.395683
0.848472
0.348889
0
0.582278
0
0
0.083735
0
0
0
0
0
0
1
0.025316
false
0
0.126582
0
0.202532
0.025316
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
039335152213cd42a81495fdc65184f34dc5e488
510
py
Python
pip_services_runtime/cache/__init__.py
pip-services-archive/pip-services-runtime-python
70eca1ffc44bfdc45c9c65b0ee347fa578368849
[ "MIT" ]
null
null
null
pip_services_runtime/cache/__init__.py
pip-services-archive/pip-services-runtime-python
70eca1ffc44bfdc45c9c65b0ee347fa578368849
[ "MIT" ]
null
null
null
pip_services_runtime/cache/__init__.py
pip-services-archive/pip-services-runtime-python
70eca1ffc44bfdc45c9c65b0ee347fa578368849
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ pip_services_runtime.cache.__init__ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cache module initialization :copyright: Digital Living Software Corp. 2015-2016, see AUTHORS for more details. :license: MIT, see LICENSE for more details. """ __all__ = ['CacheEntry', 'Ab...
26.842105
86
0.67451
51
510
6.54902
0.607843
0.041916
0.083832
0
0
0
0
0
0
0
0
0.021176
0.166667
510
18
87
28.333333
0.764706
0.496078
0
0
0
0
0.195455
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
03942ff247857cfc7ab89958bfa86b31937706ed
269
py
Python
mytime/mytime.py
lamter/mydealutil
26934e6e61b40327cb9cabc43e41cd01caf5bd2b
[ "MIT" ]
null
null
null
mytime/mytime.py
lamter/mydealutil
26934e6e61b40327cb9cabc43e41cd01caf5bd2b
[ "MIT" ]
null
null
null
mytime/mytime.py
lamter/mydealutil
26934e6e61b40327cb9cabc43e41cd01caf5bd2b
[ "MIT" ]
null
null
null
# coding: utf-8 import doctest import datetime def d2s(date): """ 日期转为字符串 >>> d2s(datetime.date(2016, 8, 16)) '2016-08-16' :param date: :return: """ return date.strftime("%Y-%m-%d") if __name__ == "__mian__": doctest.testmod()
12.809524
39
0.565056
34
269
4.235294
0.676471
0
0
0
0
0
0
0
0
0
0
0.09
0.256506
269
20
40
13.45
0.63
0.35316
0
0
0
0
0.112676
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
039430910e7060e427d541a78522663bedae56d1
4,342
py
Python
lejian/apis/user.py
PuZheng/LEJAIN-backend
1647b63cb409842566f3d2cd9771f8b8856c1a03
[ "MIT" ]
null
null
null
lejian/apis/user.py
PuZheng/LEJAIN-backend
1647b63cb409842566f3d2cd9771f8b8856c1a03
[ "MIT" ]
13
2015-10-23T04:43:51.000Z
2015-12-19T14:30:33.000Z
lejian/apis/user.py
PuZheng/lejian-backend
1647b63cb409842566f3d2cd9771f8b8856c1a03
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- import os.path from flask import _request_ctx_stack, current_app, request, url_for from flask.ext import login from flask.ext.principal import identity_changed, Identity, AnonymousIdentity from itsdangerous import URLSafeTimedSerializer, BadTimeSignature from sqlalchemy.orm.exc import NoResultFo...
31.23741
79
0.638415
524
4,342
5.078244
0.278626
0.015784
0.034198
0.010522
0.19316
0.166103
0.132281
0.132281
0.100714
0.100714
0
0.000626
0.264164
4,342
138
80
31.463768
0.832238
0.098342
0
0.31
0
0
0.049948
0
0
0
0
0.007246
0
1
0.1
false
0.04
0.14
0.01
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
03949fe3c139236ce23fd812f327cdb38c04a7b6
9,449
py
Python
pymtl3/passes/backends/verilog/translation/structural/VStructuralTranslatorL4.py
pymtl/pymtl3
1cb7ade157a20c8264e777c0992f4751236c085b
[ "BSD-3-Clause" ]
152
2020-06-03T02:34:11.000Z
2022-03-30T04:16:45.000Z
pymtl3/passes/backends/verilog/translation/structural/VStructuralTranslatorL4.py
pymtl/pymtl3
1cb7ade157a20c8264e777c0992f4751236c085b
[ "BSD-3-Clause" ]
33
2020-05-19T15:42:52.000Z
2022-03-03T20:56:41.000Z
pymtl3/passes/backends/verilog/translation/structural/VStructuralTranslatorL4.py
pymtl/pymtl3
1cb7ade157a20c8264e777c0992f4751236c085b
[ "BSD-3-Clause" ]
22
2020-05-18T13:42:05.000Z
2022-03-11T08:37:51.000Z
#========================================================================= # VStructuralTranslatorL4.py #========================================================================= """Provide SystemVerilog structural translator implementation.""" from textwrap import dedent from pymtl3.passes.backends.generic.structura...
40.728448
97
0.610223
1,206
9,449
4.398839
0.164179
0.047502
0.008294
0.028841
0.403393
0.320641
0.280867
0.261451
0.239774
0.219039
0
0.002889
0.230818
9,449
231
98
40.904762
0.727023
0.144566
0
0.228916
0
0
0.115438
0.042583
0
0
0
0
0
1
0.072289
false
0.090361
0.060241
0.03012
0.222892
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0396a6b05dfc7e436c9b8b5a48d97d3c46c80580
4,822
py
Python
utils/load.py
KyleDavisSA/pde-surrogate
41ad2c9eb73c323e389174080f4b3df6cbd3c900
[ "MIT" ]
null
null
null
utils/load.py
KyleDavisSA/pde-surrogate
41ad2c9eb73c323e389174080f4b3df6cbd3c900
[ "MIT" ]
null
null
null
utils/load.py
KyleDavisSA/pde-surrogate
41ad2c9eb73c323e389174080f4b3df6cbd3c900
[ "MIT" ]
null
null
null
""" Load args and model from a directory """ import torch from torch.utils.data import DataLoader, TensorDataset from argparse import Namespace import h5py import json import meshio import numpy as np def load_args(run_dir): with open(run_dir + '/args.txt') as args_file: args = Namespace(**json.load(arg...
38.576
115
0.592285
726
4,822
3.730028
0.128099
0.062777
0.036558
0.033235
0.871123
0.871123
0.871123
0.871123
0.847489
0.847489
0
0.022664
0.249689
4,822
124
116
38.887097
0.725815
0.15056
0
0.670732
0
0
0.082312
0.010758
0
0
0
0
0
1
0.04878
false
0
0.085366
0
0.182927
0.060976
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
03970b2533b2ca57d1a6281354a0bf6b80e84225
2,324
py
Python
tests/fs/test_base.py
mikiec84/mrjob
801fffffdc6af860edd7813c948f9da341305b21
[ "Apache-2.0" ]
null
null
null
tests/fs/test_base.py
mikiec84/mrjob
801fffffdc6af860edd7813c948f9da341305b21
[ "Apache-2.0" ]
null
null
null
tests/fs/test_base.py
mikiec84/mrjob
801fffffdc6af860edd7813c948f9da341305b21
[ "Apache-2.0" ]
null
null
null
# Copyright 2009-2015 Yelp and Contributors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
34.176471
74
0.61833
303
2,324
4.686469
0.412541
0.038028
0.093662
0.103521
0.272535
0.250704
0.247887
0.223944
0.171831
0.171831
0
0.017674
0.245267
2,324
67
75
34.686567
0.791904
0.240534
0
0.051282
0
0
0.163906
0.013706
0
0
0
0
0.205128
1
0.128205
false
0
0.179487
0
0.358974
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0397f4e8843e1786622b1eaaa945cb10043ae58c
931
py
Python
WebODM-master/app/templatetags/plugins.py
abhinavsri000/UAVision
895fd883c1f5f492b4dcb573568b60ef03132cf6
[ "MIT" ]
null
null
null
WebODM-master/app/templatetags/plugins.py
abhinavsri000/UAVision
895fd883c1f5f492b4dcb573568b60ef03132cf6
[ "MIT" ]
8
2019-11-24T14:15:19.000Z
2020-04-19T09:06:04.000Z
WebODM-master/app/templatetags/plugins.py
abhinavsri000/UAVision
895fd883c1f5f492b4dcb573568b60ef03132cf6
[ "MIT" ]
null
null
null
from django import template from app.plugins import get_active_plugins import itertools register = template.Library() @register.simple_tag(takes_context=False) def get_plugins_js_includes(): # Flatten all urls for all plugins js_urls = list(itertools.chain(*[plugin.get_include_js_urls() for plugin in get_acti...
40.478261
112
0.745435
137
931
4.824818
0.350365
0.054463
0.096823
0.108926
0.567322
0.567322
0.526475
0.305598
0.305598
0.163389
0
0
0.119227
931
22
113
42.318182
0.806098
0.093448
0
0.133333
0
0
0.094048
0
0
0
0
0
0
1
0.2
false
0
0.2
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03998c5d830b7f944385c3c0a7a6f0123d3a1156
1,114
py
Python
dask/store/tests/test_store.py
rolando-contribute/dask
a7e7ef16475e0486f3d3e8e80016f9a23f62c710
[ "BSD-3-Clause" ]
null
null
null
dask/store/tests/test_store.py
rolando-contribute/dask
a7e7ef16475e0486f3d3e8e80016f9a23f62c710
[ "BSD-3-Clause" ]
null
null
null
dask/store/tests/test_store.py
rolando-contribute/dask
a7e7ef16475e0486f3d3e8e80016f9a23f62c710
[ "BSD-3-Clause" ]
1
2021-11-11T13:45:57.000Z
2021-11-11T13:45:57.000Z
from dask.store import Store from operator import add, mul from dask.utils import raises def inc(x): return x + 1 def test_basic(): s = Store() s['x'] = 1 s['y'] = (inc, 'x') s['z'] = (add, 'x', 'y') assert s.data == set(['x']) assert s['z'] == 3 assert 'x' in s.data assert s.c...
21.018868
60
0.528725
180
1,114
3.222222
0.227778
0.108621
0.103448
0.165517
0.45
0.363793
0.182759
0.182759
0.182759
0.182759
0
0.025301
0.254937
1,114
52
61
21.423077
0.673494
0
0
0.216216
0
0
0.02693
0
0
0
0
0
0.540541
1
0.108108
false
0
0.081081
0.027027
0.216216
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
0399f8d11a55a533cbe1bcfb45223a3acc4ce972
4,132
py
Python
omh_nbi/handlers/uni_set.py
BroadbandForum/obbaa-vomci
949ad64e1b0521a892f223b7cf97e4e792b2ea1f
[ "Apache-2.0" ]
null
null
null
omh_nbi/handlers/uni_set.py
BroadbandForum/obbaa-vomci
949ad64e1b0521a892f223b7cf97e4e792b2ea1f
[ "Apache-2.0" ]
null
null
null
omh_nbi/handlers/uni_set.py
BroadbandForum/obbaa-vomci
949ad64e1b0521a892f223b7cf97e4e792b2ea1f
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Broadband Forum # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
37.225225
121
0.669409
569
4,132
4.662566
0.347979
0.026385
0.02827
0.035809
0.227667
0.15605
0.116849
0.094233
0.080663
0
0
0.007747
0.250242
4,132
110
122
37.563636
0.848612
0.413843
0
0.2
0
0
0.078867
0
0
0
0
0.009091
0
1
0.066667
false
0
0.2
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
039bf52827205dd5799cf017fb621c4a333c409f
4,269
py
Python
application/dash_application/views/runreport.py
oicr-gsi/dashi
34bf96a7d447095df525df3ad27dbe10f4e3dde0
[ "MIT" ]
2
2020-03-27T21:20:20.000Z
2022-02-09T07:42:51.000Z
application/dash_application/views/runreport.py
oicr-gsi/dashi
34bf96a7d447095df525df3ad27dbe10f4e3dde0
[ "MIT" ]
89
2019-06-06T18:31:19.000Z
2022-03-07T20:38:36.000Z
application/dash_application/views/runreport.py
oicr-gsi/dashi
34bf96a7d447095df525df3ad27dbe10f4e3dde0
[ "MIT" ]
2
2019-06-06T17:50:53.000Z
2019-06-06T17:52:32.000Z
import dash_html_components as html import dash_core_components as core from dash.dependencies import Input, Output from ..dash_id import init_ids import json import pandas import numpy import plotly.figure_factory as ff import gsiqcetl.load from gsiqcetl.runreport.constants import CacheSchema page_name = "runreport/...
31.160584
88
0.635278
570
4,269
4.536842
0.249123
0.025135
0.024749
0.044084
0.311292
0.24594
0.199536
0.138438
0.105955
0.073473
0
0.005197
0.233778
4,269
136
89
31.389706
0.785387
0.078707
0
0.127451
0
0
0.086968
0
0
0
0
0
0
1
0.04902
false
0
0.098039
0.009804
0.22549
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
039d26f5b0893b66b5a9af6d7de3662450287ccc
4,570
py
Python
app.py
learnTech/tass-calendar
c0f130438d594b5856e9f24917d864a1fa5dfeda
[ "MIT" ]
null
null
null
app.py
learnTech/tass-calendar
c0f130438d594b5856e9f24917d864a1fa5dfeda
[ "MIT" ]
null
null
null
app.py
learnTech/tass-calendar
c0f130438d594b5856e9f24917d864a1fa5dfeda
[ "MIT" ]
null
null
null
from flask import Flask, escape, request, make_response import os import requests from Crypto.Cipher import AES import urllib import base64 from datetime import datetime, timedelta # These variables should be configured as per your own parameters for each application in your API Gateway Maintanence portal. # They can ...
35.426357
126
0.650109
597
4,570
4.896147
0.341709
0.010263
0.02258
0.006842
0.135477
0.111529
0.095792
0.095792
0.039343
0.039343
0
0.01314
0.217287
4,570
128
127
35.703125
0.804026
0.232166
0
0.025641
0
0
0.170353
0.006033
0
0
0
0
0
1
0.064103
false
0
0.089744
0
0.217949
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
039d58f8df8f1a6c6b5b34a51d35079ea0d2d111
948
py
Python
oppoudpsdk/async_helpers.py
simbaja/oppoudpsdk
e2b08ce51a15ced6c4e96583a9b61b21f6a8cc59
[ "MIT" ]
1
2022-02-17T20:17:21.000Z
2022-02-17T20:17:21.000Z
oppoudpsdk/async_helpers.py
simbaja/oppoudpsdk
e2b08ce51a15ced6c4e96583a9b61b21f6a8cc59
[ "MIT" ]
null
null
null
oppoudpsdk/async_helpers.py
simbaja/oppoudpsdk
e2b08ce51a15ced6c4e96583a9b61b21f6a8cc59
[ "MIT" ]
null
null
null
import asyncio from typing import AsyncIterator class OppoStreamIterator: def __init__(self, reader: asyncio.StreamReader): self._reader = reader def __aiter__(self): return self async def __anext__(self): val = await self._reader.readuntil(b'\r') if val == b'': raise StopAsyncIterati...
29.625
118
0.712025
109
948
5.816514
0.431193
0.047319
0
0
0
0
0
0
0
0
0
0
0.208861
948
31
119
30.580645
0.845333
0
0
0
0
0
0.00211
0
0
0
0
0
0
1
0.074074
false
0
0.074074
0.037037
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
039ddd7ec3fbf7309dac9c7083e3a7f3f5c0a95b
3,455
py
Python
Project-2/Ishan Pandey/google_search.py
Mercury1508/IEEE-LEAD-2.0
91d24ccf2f24c62f92f0d23bcfcb3988e6d5acd8
[ "MIT" ]
1
2021-06-03T16:08:33.000Z
2021-06-03T16:08:33.000Z
Project-2/Ishan Pandey/google_search.py
Mercury1508/IEEE-LEAD-2.0
91d24ccf2f24c62f92f0d23bcfcb3988e6d5acd8
[ "MIT" ]
16
2021-04-27T12:58:03.000Z
2021-05-28T14:02:14.000Z
Project-2/Ishan Pandey/google_search.py
Mercury1508/IEEE-LEAD-2.0
91d24ccf2f24c62f92f0d23bcfcb3988e6d5acd8
[ "MIT" ]
70
2021-04-26T13:48:35.000Z
2021-05-28T21:04:34.000Z
from PIL import ImageTk import PIL.Image from tkinter import * import urllib from bs4 import BeautifulSoup import requests from selenium import webdriver # -------URL generator---------- def url_gen(search_term): search_term = (urllib.parse.quote(search_term, safe='')) template = f"https://www.google.com/sea...
30.307018
139
0.707959
475
3,455
5
0.305263
0.069474
0.04
0.036632
0.261053
0.144421
0.144421
0.144421
0.144421
0.144421
0
0.033345
0.140666
3,455
113
140
30.575221
0.766588
0.02055
0
0.121951
0
0.012195
0.14497
0
0
0
0
0
0
1
0.085366
false
0
0.085366
0
0.182927
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
039ffde3f9ae262159889d92dcb803cf3d4e8069
1,910
py
Python
cooper/demo/sweep_weights.py
ajclaros/rl_legged_walker
26d0e124ef38045943449c2772b966571117683b
[ "MIT" ]
null
null
null
cooper/demo/sweep_weights.py
ajclaros/rl_legged_walker
26d0e124ef38045943449c2772b966571117683b
[ "MIT" ]
null
null
null
cooper/demo/sweep_weights.py
ajclaros/rl_legged_walker
26d0e124ef38045943449c2772b966571117683b
[ "MIT" ]
null
null
null
""" To run this module, execute `python -m cooper.demo.sweep_weights` from this repository's base directory. To save the outputs to a file, use stdout redirection: `python -m cooper.demo.sweep_weights > data.csv` """ from typing import List from typing_extensions import TypeAlias from multiprocessing import P...
26.527778
89
0.669634
289
1,910
4.287197
0.349481
0.062954
0.06134
0.027441
0.083939
0.083939
0
0
0
0
0
0.069948
0.191623
1,910
71
90
26.901408
0.732513
0.190576
0
0
0
0.021277
0.09316
0.065147
0
0
0
0
0
1
0.06383
false
0
0.12766
0
0.255319
0.042553
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03a0253a80d8409783b6104ce76182534fc2fd5c
494
py
Python
en/add_symbol.py
Gabriel-Chen/Narcissus
998a9d9c4dfed0e537c934acd94389aeeb35cf6b
[ "MIT" ]
null
null
null
en/add_symbol.py
Gabriel-Chen/Narcissus
998a9d9c4dfed0e537c934acd94389aeeb35cf6b
[ "MIT" ]
null
null
null
en/add_symbol.py
Gabriel-Chen/Narcissus
998a9d9c4dfed0e537c934acd94389aeeb35cf6b
[ "MIT" ]
null
null
null
import json words_sheet = open('key_words_en.json', 'r') try: reader = json.load(words_sheet) words_sheet.close() for item in reader: key_word = item['Environmental Keywords in English'] symbol = item['symbol'] f = open(key_word + '.json', 'r') gf = json.load(f) f.cl...
26
60
0.566802
67
494
4.044776
0.402985
0.147601
0.110701
0.103321
0.162362
0.162362
0
0
0
0
0
0
0.291498
494
18
61
27.444444
0.774286
0
0
0.117647
0
0
0.165992
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03a07eb534129cfd4a3571d4128f4f075810e968
866
py
Python
code/dextrems-independence/rehastim-integration-lib/ems_interface/tools-and-abstractions/sweepdown.py
humancomputerintegration/dextrEMS
7a355ee5138d56998ccc99011e5ad4c26a6fd944
[ "MIT" ]
4
2021-09-30T19:22:36.000Z
2022-01-11T05:20:37.000Z
code/dextrems-pose-precision/rehastim-integration-lib/ems_interface/tools-and-abstractions/sweepdown.py
humancomputerintegration/dextrEMS
7a355ee5138d56998ccc99011e5ad4c26a6fd944
[ "MIT" ]
null
null
null
code/dextrems-pose-precision/rehastim-integration-lib/ems_interface/tools-and-abstractions/sweepdown.py
humancomputerintegration/dextrEMS
7a355ee5138d56998ccc99011e5ad4c26a6fd944
[ "MIT" ]
null
null
null
#!/sr/bin/python # Filename: sweepdown.py import singlepulse import time version = '0.1' def sweepdown(channel,pulse_width,min_amp_val,max_amp_val,slope_decay,delay_val,repetitions,ems): min_val = min_amp_val max_val = max_amp_val slope = slope_decay delay = delay_val reps = re...
33.307692
97
0.569284
115
866
4.078261
0.391304
0.076759
0.059701
0.102345
0.347548
0.275053
0.275053
0.191898
0.191898
0.191898
0
0.033333
0.341801
866
25
98
34.64
0.789474
0.066975
0
0
0
0
0.019876
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
03a15bc2b5fae16f8bf2447da7c6452fa67788e4
12,718
py
Python
ml/tensorflow/iris/pipeline.py
obulpathi/cloud
17d5f5cf78209868cec42de912fdfa5631283b1e
[ "Apache-2.0" ]
4
2015-10-29T13:15:54.000Z
2016-10-11T13:43:24.000Z
ml/tensorflow/iris/pipeline.py
datalabai/cloud
5f2ef4abb8458f948414d28b4830de74b55a0636
[ "Apache-2.0" ]
null
null
null
ml/tensorflow/iris/pipeline.py
datalabai/cloud
5f2ef4abb8458f948414d28b4830de74b55a0636
[ "Apache-2.0" ]
null
null
null
#/!/usr/bin/env python # Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
37.964179
80
0.647193
1,518
12,718
5.237813
0.247694
0.027166
0.037605
0.035216
0.273928
0.233304
0.213055
0.180606
0.140108
0.11747
0
0.002172
0.239739
12,718
334
81
38.077844
0.820147
0.114562
0
0.208333
0
0
0.181417
0.019717
0
0
0
0
0
0
null
null
0.004167
0.054167
null
null
0.0125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
03a171ff1e04756ab7e71d65f6b4386a31a3421e
2,453
py
Python
volatility/volatility_compare.py
larrys54321/quant_corner
3dc6f3f3d1ce1fa002c226bd5c5f845b91710687
[ "MIT" ]
null
null
null
volatility/volatility_compare.py
larrys54321/quant_corner
3dc6f3f3d1ce1fa002c226bd5c5f845b91710687
[ "MIT" ]
null
null
null
volatility/volatility_compare.py
larrys54321/quant_corner
3dc6f3f3d1ce1fa002c226bd5c5f845b91710687
[ "MIT" ]
null
null
null
import yfinance as yf from datetime import datetime import pandas as pd import matplotlib.pyplot as plt import numpy as np from arch import arch_model from volatility.utils import get_percent_chg, Option, set_plot, get_ATR start = datetime(2000, 1, 1) end = datetime(2021, 3, 17) symbol = 'QQQ' tickerData = yf.Ticker(...
42.293103
110
0.653893
434
2,453
3.539171
0.267281
0.083333
0.027344
0.035156
0.24349
0.231771
0.203776
0.141276
0.111328
0.089844
0
0.053296
0.128007
2,453
58
111
42.293103
0.664797
0
0
0.036364
0
0
0.085982
0
0
0
0
0
0
1
0
false
0
0.127273
0
0.127273
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03a24ae5d5f90ce732d9ff0c7b909cd8a3827243
1,588
py
Python
enhanced_purchase.py
RadekD/gmp
5b413ef71f09389f80afdd94750189c4b34fde99
[ "BSD-2-Clause" ]
null
null
null
enhanced_purchase.py
RadekD/gmp
5b413ef71f09389f80afdd94750189c4b34fde99
[ "BSD-2-Clause" ]
null
null
null
enhanced_purchase.py
RadekD/gmp
5b413ef71f09389f80afdd94750189c4b34fde99
[ "BSD-2-Clause" ]
null
null
null
from .event import event def enhanced_item(name, unit_price, quantity=None, item_id=None, category=None, brand=None, variant=None, **extra_data): payload = { 'nm': name, 'pr': str(unit_price), 'qt': quantity or 1 } if item_id: payload['id'] = item_id if category: paylo...
26.032787
76
0.612091
199
1,588
4.743719
0.376884
0.038136
0.027542
0.04661
0.084746
0.084746
0
0
0
0
0
0.003433
0.266373
1,588
60
77
26.466667
0.806867
0
0
0.085106
0
0
0.064861
0
0
0
0
0
0
1
0.06383
false
0
0.021277
0
0.12766
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03a35033c40c291fd45a784eb8bab0f9516b6496
5,022
py
Python
modules/manager.py
horsy-ml/horsy
1161df2e83c201784ea674bd1d53e76831b15a0f
[ "MIT" ]
null
null
null
modules/manager.py
horsy-ml/horsy
1161df2e83c201784ea674bd1d53e76831b15a0f
[ "MIT" ]
null
null
null
modules/manager.py
horsy-ml/horsy
1161df2e83c201784ea674bd1d53e76831b15a0f
[ "MIT" ]
null
null
null
import json import threading from rich import print from modules.request import request import modules.vars as horsy_vars import os import zipfile from modules.virustotal import scan_to_cli from modules.http_status import handle from ezzdl import dl def install(package): """ Install an app :param package:...
35.617021
110
0.545599
649
5,022
4.154083
0.257319
0.070104
0.120178
0.022255
0.32678
0.299703
0.287463
0.255564
0.20141
0.137611
0
0.014432
0.282557
5,022
140
111
35.871429
0.733833
0.073078
0
0.141304
0
0.021739
0.271316
0.033887
0
0
0
0
0
1
0.043478
false
0.01087
0.108696
0
0.173913
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03a4223d11ef6ce96b39c23302d12d9c2d63b9be
1,310
py
Python
setup.py
aheadlead/download_wrapper
036bc7cb071eadc0bc24a445bcaa5c2305d48083
[ "MIT" ]
1
2021-06-20T14:22:11.000Z
2021-06-20T14:22:11.000Z
setup.py
aheadlead/download_wrapper
036bc7cb071eadc0bc24a445bcaa5c2305d48083
[ "MIT" ]
null
null
null
setup.py
aheadlead/download_wrapper
036bc7cb071eadc0bc24a445bcaa5c2305d48083
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # coding=utf-8 import sys import download_wrapper from setuptools import setup, find_packages cmdclass = {} try: from sphinx.setup_command import BuildDoc cmdclass = {'build_sphinx': BuildDoc} except ImportError: pass name = download_wrapper.__NAME__ version = download_wrapper.__V...
26.734694
51
0.654198
131
1,310
6.129771
0.450382
0.1868
0.124533
0.129514
0
0
0
0
0
0
0
0.010859
0.226718
1,310
48
52
27.291667
0.781836
0.025954
0
0
0
0
0.262951
0
0
0
0
0
0
1
0
false
0.02439
0.121951
0
0.121951
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03a5e21dafdefde75656c0d87df88f69357dab32
167
py
Python
pandas_xyz/__init__.py
aaron-schroeder/pandas-xyz
1620ee48c4da937abd5a5cba21daac6cfe10f9bd
[ "MIT" ]
null
null
null
pandas_xyz/__init__.py
aaron-schroeder/pandas-xyz
1620ee48c4da937abd5a5cba21daac6cfe10f9bd
[ "MIT" ]
null
null
null
pandas_xyz/__init__.py
aaron-schroeder/pandas-xyz
1620ee48c4da937abd5a5cba21daac6cfe10f9bd
[ "MIT" ]
null
null
null
from .accessor import PositionAccessor # from .algorithms import * # from .scalar import flat_earth, great_circle __version__ = '0.0.5' __all__ = ['PositionAccessor']
27.833333
46
0.772455
20
167
5.95
0.7
0
0
0
0
0
0
0
0
0
0
0.020548
0.125749
167
6
47
27.833333
0.794521
0.419162
0
0
0
0
0.221053
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
03a72e466e1226d0b6e3c163d098b311997359d4
149
py
Python
tubbs/formatter/scala/__init__.py
tek/tubbs
cd4c174c31b6c58a6935ca8a5f0f141377a9a04c
[ "MIT" ]
null
null
null
tubbs/formatter/scala/__init__.py
tek/tubbs
cd4c174c31b6c58a6935ca8a5f0f141377a9a04c
[ "MIT" ]
null
null
null
tubbs/formatter/scala/__init__.py
tek/tubbs
cd4c174c31b6c58a6935ca8a5f0f141377a9a04c
[ "MIT" ]
null
null
null
from tubbs.formatter.scala.breaker import VimBreaker from tubbs.formatter.scala.indenter import VimIndenter __all__ = ('VimBreaker', 'VimIndenter')
29.8
54
0.818792
17
149
6.941176
0.588235
0.152542
0.305085
0.389831
0
0
0
0
0
0
0
0
0.087248
149
4
55
37.25
0.867647
0
0
0
0
0
0.14094
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
03a8d439dddaf2665f37e662edaa92e5c9ecce9c
9,055
py
Python
tests/yuv_test.py
antmicro/raviewer
7529664d37e994d4c2f4c450a5577b79d73c4bb0
[ "Apache-2.0" ]
12
2021-11-18T09:38:34.000Z
2022-03-24T19:33:44.000Z
tests/yuv_test.py
antmicro/raviewer
7529664d37e994d4c2f4c450a5577b79d73c4bb0
[ "Apache-2.0" ]
1
2022-02-14T12:07:02.000Z
2022-03-21T19:29:11.000Z
tests/yuv_test.py
antmicro/raviewer
7529664d37e994d4c2f4c450a5577b79d73c4bb0
[ "Apache-2.0" ]
null
null
null
import unittest import numpy import os from unittest.mock import (Mock, patch) from raviewer.parser.yuv import ParserYUV420, ParserYUV422, ParserYUV420Planar, ParserYUV422Planar from enum import Enum class DummyPixelFormat(Enum): YUV = 1 YVU = 2 UYVY = 3 YUYV = 4 class DummyEndianness(Enum): LIT...
42.313084
98
0.570955
959
9,055
5.180396
0.092805
0.049919
0.060185
0.077295
0.886876
0.886876
0.885266
0.868961
0.86252
0.823269
0
0.097589
0.32667
9,055
213
99
42.511737
0.717238
0.005743
0
0.672619
0
0
0.049117
0.047561
0
0
0
0
0.166667
1
0.059524
false
0
0.035714
0
0.178571
0.017857
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
03ab0016f0b0391b66c8b9b3187fa06f886fc4f6
7,179
py
Python
combo_e2e/pages/uicomponents/datepicker.py
AdCombo/combo-e2e
7b28240ef749d36f78342610f8c8d10312b2733b
[ "MIT" ]
2
2021-06-23T07:25:37.000Z
2021-06-23T07:32:22.000Z
combo_e2e/pages/uicomponents/datepicker.py
AdCombo/combo-e2e
7b28240ef749d36f78342610f8c8d10312b2733b
[ "MIT" ]
5
2021-08-02T16:54:17.000Z
2022-03-17T15:04:58.000Z
combo_e2e/pages/uicomponents/datepicker.py
AdCombo/combo-e2e
7b28240ef749d36f78342610f8c8d10312b2733b
[ "MIT" ]
1
2021-07-06T14:31:42.000Z
2021-07-06T14:31:42.000Z
""" This class wraps date-picker(ngx-daterangepicker-material) input and allows to interact with it. Time is set accoring to client time zone! """ from datetime import date, datetime from typing import Callable, Optional from combo_e2e.helpers.exceptions import DatePickerNotFound, DatePickerException, DatePickerAttri...
39.229508
113
0.675164
886
7,179
5.207675
0.183973
0.019506
0.034677
0.019506
0.331383
0.267447
0.201994
0.170351
0.127438
0.108366
0
0.000546
0.234294
7,179
182
114
39.445055
0.838821
0.147931
0
0.12381
0
0
0.06984
0.013968
0
0
0
0
0
1
0.209524
false
0.009524
0.066667
0.047619
0.495238
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
03ab4c838a6711fc02fa4100be3e33b67cda97d6
542
py
Python
timeweb/timewebapp/migrations/0077_settingsmodel_default_dropdown_assignment_tags.py
snapsnap123/TimeWeb
9e3a3459fa71f6edf730addf3c7e15d87b6c80b5
[ "Apache-2.0" ]
1
2021-11-29T18:37:02.000Z
2021-11-29T18:37:02.000Z
timeweb/timewebapp/migrations/0077_settingsmodel_default_dropdown_assignment_tags.py
renardtnt1/TimeWeb
3684bb2ba368b55a4d50995e7e0e3b9405cba004
[ "Apache-2.0" ]
null
null
null
timeweb/timewebapp/migrations/0077_settingsmodel_default_dropdown_assignment_tags.py
renardtnt1/TimeWeb
3684bb2ba368b55a4d50995e7e0e3b9405cba004
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-30 23:04 from django.db import migrations, models import timewebapp.models class Migration(migrations.Migration): dependencies = [ ('timewebapp', '0076_alter_timewebmodel_funct_round'), ] operations = [ migrations.AddField( model_name='...
27.1
135
0.684502
59
542
6.118644
0.728814
0.088643
0.121884
0
0
0
0
0
0
0
0
0.044811
0.217712
542
19
136
28.526316
0.806604
0.083026
0
0
1
0
0.248485
0.135354
0
0
0
0
0
1
0
false
0
0.153846
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03ac01fd1a6c4846aeb2f1e3b6476d9fc533c05d
2,249
py
Python
saefportal/datalakes/models/local_datalake.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/datalakes/models/local_datalake.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
null
null
null
saefportal/datalakes/models/local_datalake.py
harry-consulting/SAEF1
055d6e492ba76f90e3248b9da2985fdfe0c6b430
[ "BSD-2-Clause" ]
1
2020-12-16T15:02:52.000Z
2020-12-16T15:02:52.000Z
import io import json import logging import os import shutil from pathlib import Path import pandas as pd from django.db import models from datalakes.util import get_wanted_file logger = logging.getLogger(__name__) class LocalDatalake(models.Model): root_path = models.CharField(max_length=500, default="", blan...
33.567164
120
0.655847
318
2,249
4.468553
0.323899
0.044335
0.069669
0.050669
0.202674
0.16045
0.122449
0.045039
0
0
0
0.002801
0.206314
2,249
66
121
34.075758
0.793277
0.032014
0
0
0
0
0.190345
0.08046
0
0
0
0
0
1
0.181818
false
0
0.204545
0.045455
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
03ae81522e3beb368f2e7e1784f87746e2f971d3
766
py
Python
tracing/tracing/value/add_device_info.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
null
null
null
tracing/tracing/value/add_device_info.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
null
null
null
tracing/tracing/value/add_device_info.py
ravitejavalluri/catapult
246a39a82c2213d913a96fff020a263838dc76e6
[ "BSD-3-Clause" ]
1
2020-07-24T05:13:01.000Z
2020-07-24T05:13:01.000Z
# 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. import json import tempfile from tracing.value import add_shared_diagnostic def AddDeviceInfo(histograms_json_filename, chrome_version, os_name, os_version...
30.64
80
0.721932
96
766
5.541667
0.604167
0.078947
0.071429
0
0
0
0
0
0
0
0
0.006525
0.199739
766
24
81
31.916667
0.861338
0.20235
0
0
0
0
0.079077
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03afdcb8ce074b115b45a4eebc1daa532aca42d3
9,803
py
Python
fast_knn_nmt/data/utils.py
Crazy-Chick/fast-knn-nmt
7336bbe0be1240e70d3c3ac71c4e7cfb4f4ea4ff
[ "Apache-2.0" ]
null
null
null
fast_knn_nmt/data/utils.py
Crazy-Chick/fast-knn-nmt
7336bbe0be1240e70d3c3ac71c4e7cfb4f4ea4ff
[ "Apache-2.0" ]
null
null
null
fast_knn_nmt/data/utils.py
Crazy-Chick/fast-knn-nmt
7336bbe0be1240e70d3c3ac71c4e7cfb4f4ea4ff
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 """ @desc: """ import numpy as np import math from fairseq.data import data_utils from fairseq.tasks.translation import TranslationTask from fairseq.data.language_pair_dataset import LanguagePairDataset from tqdm import tqdm from multiprocessing import Pool from typing import Tuple from fast_k...
37.703846
137
0.624605
1,327
9,803
4.370761
0.141673
0.036034
0.041034
0.023793
0.410345
0.316897
0.288793
0.248448
0.24431
0.215862
0
0.01447
0.280934
9,803
259
138
37.849421
0.808342
0.078547
0
0.308901
0
0
0.047341
0
0
0
0
0
0.005236
1
0.031414
false
0
0.052356
0
0.125654
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03b09e85b4641e24b2163f9fb84c1ad44350f628
334
py
Python
src/algorithms/crush.py
apierr/_hackerrank
5bea44fed2fc6b454b31566c36c9bf66c04fa11e
[ "MIT" ]
null
null
null
src/algorithms/crush.py
apierr/_hackerrank
5bea44fed2fc6b454b31566c36c9bf66c04fa11e
[ "MIT" ]
5
2019-09-25T11:20:07.000Z
2020-06-30T09:58:05.000Z
src/algorithms/crush.py
apierr/hackerrank
5bea44fed2fc6b454b31566c36c9bf66c04fa11e
[ "MIT" ]
1
2021-02-02T15:06:58.000Z
2021-02-02T15:06:58.000Z
n, inputs = [int(n) for n in input().split(" ")] list = [0]*(n+1) for _ in range(inputs): print('\n') x, y, incr = [int(n) for n in input().split(" ")] list[x-1] += incr if((y) <= len(list)): list[y] -= incr print(list) max = x = 0 for i in list: x = x+i if(max < x): max =...
17.578947
53
0.47006
59
334
2.644068
0.322034
0.076923
0.089744
0.102564
0.307692
0.307692
0.307692
0.307692
0
0
0
0.017316
0.308383
334
18
54
18.555556
0.658009
0
0
0
0
0
0.012012
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03b2c8c3274e13294cf562d33c9027f75adff0b9
1,993
py
Python
app.py
royhzq/sg-headlines-rnn
cef84f1ffe7f18a37386e9602166082c10e9020b
[ "MIT" ]
null
null
null
app.py
royhzq/sg-headlines-rnn
cef84f1ffe7f18a37386e9602166082c10e9020b
[ "MIT" ]
13
2020-01-28T23:05:24.000Z
2022-02-10T00:34:57.000Z
app.py
royhzq/sg-headlines-rnn
cef84f1ffe7f18a37386e9602166082c10e9020b
[ "MIT" ]
null
null
null
from flask import Flask, request, jsonify from utils import generate_headlines import tensorflow as tf import json tf.enable_eager_execution() import numpy as np app = Flask(__name__) char2idx = json.loads(open("./data/st_char2idx.txt", 'br').read().decode(encoding='utf-8')) idx2char = np.array(json.loads(open("./da...
30.661538
103
0.656297
252
1,993
5.02381
0.388889
0.086888
0.053712
0.063191
0.173776
0.14376
0.042654
0
0
0
0
0.029664
0.238836
1,993
65
104
30.661538
0.804878
0.110888
0
0
1
0
0.184256
0.041643
0
0
0
0
0
1
0.046512
false
0
0.116279
0
0.302326
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03b48010ad3cd8943b83873c6007c3a73442461a
9,572
py
Python
crits/emails/email.py
dicato/crits
8d500f7175855f1aeefa94caa783f981062ba869
[ "MIT" ]
null
null
null
crits/emails/email.py
dicato/crits
8d500f7175855f1aeefa94caa783f981062ba869
[ "MIT" ]
null
null
null
crits/emails/email.py
dicato/crits
8d500f7175855f1aeefa94caa783f981062ba869
[ "MIT" ]
null
null
null
import datetime from dateutil.parser import parse as date_parser from mongoengine import Document, StringField, ListField from django.conf import settings from cybox.common import String, DateTime from cybox.core import Observable from cybox.objects.address_object import Address, EmailAddress from cybox.objects.email_...
38.910569
125
0.570205
1,045
9,572
5.086124
0.244976
0.015052
0.036124
0.033866
0.071308
0.029727
0.013547
0
0
0
0
0.000316
0.337965
9,572
245
126
39.069388
0.838409
0.158483
0
0.018634
0
0
0.182296
0.010904
0
0
0
0
0
1
0.031056
false
0
0.074534
0
0.254658
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03b7e0e6620e7937b8035ee5d2db08dc54dcd32a
18,147
py
Python
scratchpad/tomostream_roi/tomostream/tomostream3d.py
arshadzahangirchowdhury/TomoEncoders
9c2b15fd515d864079f198546821faee5d78df17
[ "BSD-3-Clause" ]
null
null
null
scratchpad/tomostream_roi/tomostream/tomostream3d.py
arshadzahangirchowdhury/TomoEncoders
9c2b15fd515d864079f198546821faee5d78df17
[ "BSD-3-Clause" ]
null
null
null
scratchpad/tomostream_roi/tomostream/tomostream3d.py
arshadzahangirchowdhury/TomoEncoders
9c2b15fd515d864079f198546821faee5d78df17
[ "BSD-3-Clause" ]
null
null
null
''' Adaptation of Tomostream orthoslice code for doing full 3d reconstructions Then to apply DL-based image processing or computer vision steps. ''' import pvaccess as pva import numpy as np import queue import time import h5py import threading import signal import util import log from epics import PV import so...
42.698824
175
0.58737
2,271
18,147
4.557023
0.190665
0.051792
0.070731
0.010146
0.267465
0.200599
0.17393
0.154604
0.121171
0.092376
0
0.006977
0.297074
18,147
424
176
42.799528
0.804327
0.266766
0
0.170124
0
0
0.09858
0.012342
0
0
0
0
0
1
0.049793
false
0
0.049793
0
0.103734
0.045643
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03b8734c360f66455710a790f4a8290958137378
1,351
py
Python
userbot/modules/help.py
masbentoooredoo/WeebProject
d34c14b42801915518a87831f952e5ade95183e2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
userbot/modules/help.py
masbentoooredoo/WeebProject
d34c14b42801915518a87831f952e5ade95183e2
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
userbot/modules/help.py
masbentoooredoo/WeebProject
d34c14b42801915518a87831f952e5ade95183e2
[ "Naumen", "Condor-1.1", "MS-PL" ]
10
2020-12-13T14:32:47.000Z
2021-04-11T06:45:35.000Z
# Copyright (C) 2019 The Raphielscape Company LLC. # # Licensed under the Raphielscape Public License, Version 1.c (the "License"); # you may not use this file except in compliance with the License. # """Userbot help command""" from userbot import CMD_HELP from userbot.events import register @register(out...
33.775
79
0.513694
153
1,351
4.496732
0.529412
0.050872
0.061047
0.043605
0
0
0
0
0
0
0
0.016358
0.321244
1,351
39
80
34.641026
0.732824
0.156921
0
0.068966
0
0
0.28424
0.049719
0
0
0
0
0
1
0
false
0
0.068966
0
0.068966
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03b9f80c573256626bf4885c7bbd2f75f05f862a
4,076
py
Python
vistrails/packages/spreadsheet/spreadsheet_registry.py
celiafish/VisTrails
d8cb575b8b121941de190fe608003ad1427ef9f6
[ "BSD-3-Clause" ]
1
2015-05-11T16:46:49.000Z
2015-05-11T16:46:49.000Z
vistrails/packages/spreadsheet/spreadsheet_registry.py
celiafish/VisTrails
d8cb575b8b121941de190fe608003ad1427ef9f6
[ "BSD-3-Clause" ]
null
null
null
vistrails/packages/spreadsheet/spreadsheet_registry.py
celiafish/VisTrails
d8cb575b8b121941de190fe608003ad1427ef9f6
[ "BSD-3-Clause" ]
null
null
null
############################################################################### ## ## Copyright (C) 2011-2014, NYU-Poly. ## Copyright (C) 2006-2011, University of Utah. ## All rights reserved. ## Contact: contact@vistrails.org ## ## This file is part of VisTrails. ## ## "Redistribution and use in source and binary for...
38.819048
80
0.609176
447
4,076
5.53915
0.411633
0.028271
0.016963
0.018578
0.113893
0.072698
0.054927
0.054927
0.054927
0.054927
0
0.005166
0.240186
4,076
104
81
39.192308
0.794317
0.602552
0
0.16
0
0
0
0
0
0
0
0
0
1
0.28
false
0
0
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
03bb6948a075551b1b577cc28c8637a3fab83ee4
5,300
py
Python
cognite/experimental/_api/transformation_notifications.py
AlexThunder/cognite-sdk-python-experimental
468d29e7809793ed45cef5da25dca22418839972
[ "Apache-2.0" ]
null
null
null
cognite/experimental/_api/transformation_notifications.py
AlexThunder/cognite-sdk-python-experimental
468d29e7809793ed45cef5da25dca22418839972
[ "Apache-2.0" ]
null
null
null
cognite/experimental/_api/transformation_notifications.py
AlexThunder/cognite-sdk-python-experimental
468d29e7809793ed45cef5da25dca22418839972
[ "Apache-2.0" ]
null
null
null
from typing import List, Optional, Union from cognite.client import utils from cognite.client._api_client import APIClient from cognite.experimental._constants import HANDLER_FILE_NAME, LIST_LIMIT_CEILING, LIST_LIMIT_DEFAULT, MAX_RETRIES from cognite.experimental.data_classes import ( OidcCredentials, Transfo...
42.4
231
0.675472
471
5,300
7.469214
0.280255
0.034395
0.05884
0.04946
0.333712
0.262081
0.220011
0.196703
0.196703
0.175668
0
0.002486
0.241132
5,300
124
232
42.741935
0.872203
0.562453
0
0
0
0
0.025052
0.015658
0
0
0
0
0.023256
1
0.093023
false
0
0.116279
0
0.325581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03bb90b3312fca9d9a089bd4f563f11678d9d344
2,110
py
Python
2020/day13.py
PintarM/AdventOfCode
5837c42ab1ce98efb02aec1ac17967611e2a3851
[ "MIT" ]
null
null
null
2020/day13.py
PintarM/AdventOfCode
5837c42ab1ce98efb02aec1ac17967611e2a3851
[ "MIT" ]
null
null
null
2020/day13.py
PintarM/AdventOfCode
5837c42ab1ce98efb02aec1ac17967611e2a3851
[ "MIT" ]
1
2020-12-02T13:27:52.000Z
2020-12-02T13:27:52.000Z
# -*- coding: utf-8 -*- """Advent Of Code 2020, Day 13 @author: Matevz """ from sympy.ntheory.modular import crt def get_input(file_name): """Process input text file.""" try: file = open(file_name, 'r') content = file.read() except IOError: print('Cannot read file {}'.format(fil...
27.402597
79
0.652133
278
2,110
4.823741
0.377698
0.09396
0.08352
0.01044
0.1044
0.038777
0.038777
0.038777
0.038777
0.038777
0
0.010186
0.209005
2,110
76
80
27.763158
0.793289
0.196209
0
0
0
0
0.049607
0
0
0
0
0
0
1
0.170732
false
0
0.02439
0
0.341463
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
03bc2db31d5b23278c12c999b5cd41ea7128ebff
276
py
Python
logging/__init__.py
ligz08/pdqa
b2af027daf544e30d58358de20281d4648322b87
[ "Apache-2.0" ]
null
null
null
logging/__init__.py
ligz08/pdqa
b2af027daf544e30d58358de20281d4648322b87
[ "Apache-2.0" ]
null
null
null
logging/__init__.py
ligz08/pdqa
b2af027daf544e30d58358de20281d4648322b87
[ "Apache-2.0" ]
null
null
null
def make_log_msg(title, status, detail=None, extra=None, sep='::'): """ Make a message that looks like this: Title::status::detail::extra Any None will be skipped. """ strings = [title, status, detail, extra] return sep.join(filter(None, strings))
30.666667
67
0.644928
38
276
4.631579
0.631579
0.1875
0.289773
0.25
0
0
0
0
0
0
0
0
0.210145
276
8
68
34.5
0.807339
0.32971
0
0
0
0
0.012422
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
03bc7308d95fe63376ad94bd08a689fdbb65b6f5
49
py
Python
bigbrain/__init__.py
gmischl1/bigbrain
1920363e19c296fa69c27be0dcdf2b5b6c4ababb
[ "Apache-2.0" ]
2
2020-03-13T22:08:27.000Z
2020-03-13T22:08:47.000Z
bigbrain/__init__.py
gmischl1/bigbrain
1920363e19c296fa69c27be0dcdf2b5b6c4ababb
[ "Apache-2.0" ]
null
null
null
bigbrain/__init__.py
gmischl1/bigbrain
1920363e19c296fa69c27be0dcdf2b5b6c4ababb
[ "Apache-2.0" ]
1
2020-03-13T22:09:07.000Z
2020-03-13T22:09:07.000Z
from bigbrain.ai import AI __version__ = "0.1.2"
16.333333
26
0.734694
9
49
3.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0.071429
0.142857
49
3
27
16.333333
0.690476
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4