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
af1cd328ee95b3ce28045b665a6e2190194f9a9c
2,849
py
Python
eoxserver/services/opensearch/extensions/cql.py
kalxas/eoxserver
8073447d926f3833923bde7b7061e8a1658dee06
[ "OML" ]
25
2015-08-10T19:34:34.000Z
2021-02-05T08:28:01.000Z
eoxserver/services/opensearch/extensions/cql.py
kalxas/eoxserver
8073447d926f3833923bde7b7061e8a1658dee06
[ "OML" ]
153
2015-01-20T08:35:49.000Z
2022-03-16T11:00:56.000Z
eoxserver/services/opensearch/extensions/cql.py
kalxas/eoxserver
8073447d926f3833923bde7b7061e8a1658dee06
[ "OML" ]
10
2015-01-23T15:48:30.000Z
2021-01-21T15:41:18.000Z
# ------------------------------------------------------------------------------ # # Project: EOxServer <http://eoxserver.org> # Authors: Fabian Schindler <fabian.schindler@eox.at> # # ------------------------------------------------------------------------------ # Copyright (C) 2017 EOX IT Services GmbH # # Permission...
39.569444
80
0.614953
336
2,849
5.169643
0.520833
0.044329
0.01612
0
0
0
0
0
0
0
0
0.009507
0.22464
2,849
71
81
40.126761
0.776822
0.532117
0
0
0
0
0.156347
0
0
0
0
0
0
1
0.064516
false
0
0.096774
0.032258
0.354839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af1d6a6d06805cdde1b38ccbd57154e51315542b
31,786
py
Python
examples/quadruped3D.py
alknemeyer/physical_education
7bcad4111bc153a0c9c080f11a43295bd1d8c425
[ "MIT" ]
5
2020-09-27T14:00:12.000Z
2022-01-31T09:06:37.000Z
examples/quadruped3D.py
alknemeyer/physical_education
7bcad4111bc153a0c9c080f11a43295bd1d8c425
[ "MIT" ]
8
2020-09-27T15:02:28.000Z
2022-03-28T13:51:38.000Z
examples/quadruped3D.py
alknemeyer/physical_education
7bcad4111bc153a0c9c080f11a43295bd1d8c425
[ "MIT" ]
2
2020-09-27T14:01:39.000Z
2022-01-21T09:47:54.000Z
from typing import Any, Dict, Iterable, List, Optional, Tuple, Callable from math import pi as π from sympy import Matrix as Mat from numpy import ndarray from physical_education.links import Link3D, constrain_rel_angle from physical_education.system import System3D from physical_education.foot import add_foot, feet, ...
40.337563
146
0.541622
4,478
31,786
3.709022
0.149174
0.013005
0.009633
0.016858
0.377928
0.312722
0.264315
0.229454
0.185321
0.163827
0
0.04039
0.305984
31,786
787
147
40.388818
0.712511
0.209904
0
0.201699
0
0.002123
0.150993
0.007998
0
0
0
0.001271
0.004246
1
0.027601
false
0
0.063694
0.008493
0.11465
0.004246
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af1dd273f6773d5545946eaa77b49cdb5d3fee31
982
py
Python
data_visualization/data_visualization.py
or-tal-robotics/mcl_pi
02d9b3bdd68c54afde36da320e1ce4bdc8d057d8
[ "Apache-2.0" ]
3
2019-05-07T13:48:45.000Z
2020-09-02T15:10:35.000Z
data_visualization/data_visualization.py
or-tal-robotics/MCL_PI
02d9b3bdd68c54afde36da320e1ce4bdc8d057d8
[ "Apache-2.0" ]
null
null
null
data_visualization/data_visualization.py
or-tal-robotics/MCL_PI
02d9b3bdd68c54afde36da320e1ce4bdc8d057d8
[ "Apache-2.0" ]
2
2021-01-28T23:34:21.000Z
2021-06-29T05:33:35.000Z
#!/usr/bin/env python import numpy as np import pandas as pd import matplotlib.pyplot as plt def main(): data_komodo = pd.read_csv('komodo.csv',sep=',') data_armadillo = pd.read_csv('armadillo.csv',sep=',') data_visualization(data_komodo) data_visualization(data_armadillo) def data_visualizatio...
25.179487
88
0.588595
148
982
3.72973
0.310811
0.092391
0.11413
0.119565
0.076087
0.076087
0.076087
0
0
0
0
0.017219
0.231161
982
39
89
25.179487
0.713907
0.020367
0
0.068966
0
0
0.040583
0
0
0
0
0
0
1
0.068966
false
0
0.103448
0
0.172414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af1ff2337c60e542c9bcc64ce74be8ee36948153
1,822
py
Python
pyasice/tests/test_tsa.py
vgaicuks/pyasice
4e955a4aedc319199dfd367d1d092ba99f4fe1c2
[ "0BSD" ]
6
2021-02-04T13:15:13.000Z
2022-02-04T17:21:40.000Z
pyasice/tests/test_tsa.py
vgaicuks/pyasice
4e955a4aedc319199dfd367d1d092ba99f4fe1c2
[ "0BSD" ]
5
2020-10-26T14:43:34.000Z
2021-12-27T14:40:10.000Z
pyasice/tests/test_tsa.py
thorgate/pyasice
4423b7251392c7bf6bc5d14800b9b396b8eb2222
[ "0BSD" ]
1
2021-07-21T15:36:31.000Z
2021-07-21T15:36:31.000Z
import hashlib from unittest.mock import Mock, patch from asn1crypto.cms import ContentInfo from asn1crypto.tsp import PKIStatus, PKIStatusInfo, TimeStampResp from pyasice.tsa import requests, TSA class MockResponse(Mock): status_code = 200 headers = {"Content-Type": TSA.RESPONSE_CONTENT_TYPE} def test_ts...
31.964912
81
0.63337
204
1,822
5.338235
0.333333
0.055096
0.064279
0.066116
0.05326
0.05326
0
0
0
0
0
0.008989
0.267289
1,822
56
82
32.535714
0.806742
0
0
0
0
0
0.115258
0
0
0
0
0
0.093023
1
0.069767
false
0
0.116279
0
0.255814
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af2278683fee1298b0caf86e836a20709cd9fe8a
1,619
py
Python
deploy/gpu/aws/launch_aws.py
ysglh/DeepVideoAnalytics
ce807cc1595c813250bb4bc7dfc6fb76cd644335
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
3
2019-03-05T00:46:56.000Z
2021-11-26T10:20:40.000Z
deploy/gpu/aws/launch_aws.py
jiangxu87/DeepVideoAnalytics
e401b3273782409b2604657514bec293d6aa75b0
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
deploy/gpu/aws/launch_aws.py
jiangxu87/DeepVideoAnalytics
e401b3273782409b2604657514bec293d6aa75b0
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
4
2021-09-22T07:47:27.000Z
2022-01-23T14:16:08.000Z
#!/usr/bin/env python import logging, boto3, subprocess logging.basicConfig(level=logging.INFO, format='%(asctime)s %(name)-12s %(levelname)-8s %(message)s', datefmt='%m-%d %H:%M', filename='../../logs/cloud.log', filemode='a') from config...
52.225806
189
0.546016
163
1,619
5.288344
0.674847
0.025522
0.037123
0.053364
0
0
0
0
0
0
0
0.034234
0.314392
1,619
31
190
52.225806
0.742342
0.012353
0
0
0
0.035714
0.201376
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af235ba38a9be96557da2c0dd0d6fdf8cdff77b7
604
py
Python
Arduino/DFRobot_BMP388-master/DFRobot_BMP388-master/raspbarry/example/I2CReadTemperature/I2CReadTemperature.py
giglioq/Ocean-Buoy
c30151b7af974733260f57d1d3eefe0a1d63be90
[ "MIT" ]
2
2021-06-18T09:34:05.000Z
2021-06-18T09:52:18.000Z
Arduino/DFRobot_BMP388-master/DFRobot_BMP388-master/raspbarry/example/I2CReadTemperature/I2CReadTemperature.py
giglioq/Ocean-Buoy
c30151b7af974733260f57d1d3eefe0a1d63be90
[ "MIT" ]
null
null
null
Arduino/DFRobot_BMP388-master/DFRobot_BMP388-master/raspbarry/example/I2CReadTemperature/I2CReadTemperature.py
giglioq/Ocean-Buoy
c30151b7af974733260f57d1d3eefe0a1d63be90
[ "MIT" ]
null
null
null
# Connect bmp388 and esp32 via I2C. # # Warning: # This demo only supports python3. # Run this demo : python3 I2CreadTemperature.py # # connect: # raspberry bmp388 # 3.3v(1) VCC # GND(6) GND # SCL(5) SCL # SDA(3) SDA # BMP388_I2C_ADDR = 0x76: pin SDO is low # BMP38...
22.37037
49
0.652318
87
604
4.45977
0.609195
0.069588
0.06701
0
0
0
0
0
0
0
0
0.128889
0.254967
604
27
50
22.37037
0.733333
0.668874
0
0
0
0
0.097826
0
0
0
0.021739
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af25fd66be9e5c7407f8446bd876b6900df66a06
2,037
py
Python
conanfile_installer.py
madebr/conan-vulkan_lunarg
d805ad7c8628587033140dd8bf458c798f355165
[ "MIT" ]
4
2019-06-08T23:54:02.000Z
2020-11-10T20:57:54.000Z
conanfile_installer.py
madebr/conan-lunarg_vulkan_sdk
d805ad7c8628587033140dd8bf458c798f355165
[ "MIT" ]
1
2019-08-16T13:27:59.000Z
2019-08-16T13:27:59.000Z
conanfile_installer.py
madebr/conan-lunarg_vulkan_sdk
d805ad7c8628587033140dd8bf458c798f355165
[ "MIT" ]
2
2019-07-30T20:52:50.000Z
2020-06-26T11:00:52.000Z
# -*- coding: utf-8 -*- import os from conanfile_base import ConanFileBase class ConanFileInstaller(ConanFileBase): name = "vulkan_lunarg_installer" exports = ConanFileBase.exports + ["conanfile_base.py"] settings = "os_build", "arch_build" _is_installer = True def package(self): if sel...
46.295455
95
0.63623
257
2,037
4.836576
0.249027
0.088496
0.080451
0.102977
0.552695
0.509252
0.411907
0.292035
0.255833
0.255833
0
0.006984
0.226804
2,037
43
96
47.372093
0.782222
0.010309
0
0.171429
0
0
0.117676
0.01142
0
0
0
0
0
1
0.057143
false
0
0.057143
0
0.257143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af26f7f77af7f12e0aa08bff53add63e6fd4a8b4
10,384
py
Python
torch_geometric/nn/models/gnn_explainer.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
2,350
2021-09-12T08:32:50.000Z
2022-03-31T18:09:36.000Z
torch_geometric/nn/models/gnn_explainer.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
588
2021-09-12T08:49:08.000Z
2022-03-31T21:02:13.000Z
torch_geometric/nn/models/gnn_explainer.py
NucciTheBoss/pytorch_geometric
e220a2c08fa1b2f1672d616c22eac2a67b5c8967
[ "MIT" ]
505
2021-09-13T13:13:32.000Z
2022-03-31T15:54:00.000Z
from math import sqrt from typing import Optional import torch from tqdm import tqdm from torch_geometric.nn.models.explainer import ( Explainer, clear_masks, set_masks, ) EPS = 1e-15 class GNNExplainer(Explainer): r"""The GNN-Explainer model from the `"GNNExplainer: Generating Explanations for...
39.037594
79
0.600443
1,357
10,384
4.397937
0.180545
0.045576
0.044236
0.032172
0.561327
0.511227
0.468834
0.427279
0.41756
0.396783
0
0.008545
0.289965
10,384
265
80
39.184906
0.800895
0.305759
0
0.44586
0
0
0.048978
0.003912
0
0
0
0
0.006369
1
0.044586
false
0
0.031847
0.006369
0.11465
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af2bf330f5c58cef255d60fd7059e9b558223019
552
py
Python
services/web/freq_demo/admin.py
mnesvold/freq
27fb15a825e44458c776f4135abf516e751b3fb8
[ "MIT" ]
null
null
null
services/web/freq_demo/admin.py
mnesvold/freq
27fb15a825e44458c776f4135abf516e751b3fb8
[ "MIT" ]
null
null
null
services/web/freq_demo/admin.py
mnesvold/freq
27fb15a825e44458c776f4135abf516e751b3fb8
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.forms import AuthenticationForm def customize_admin(): admin.site.site_header = 'Feature Request Tracker' admin.site.site_title = 'Freq' admin.site.index_title = 'Track Feature Requests with Freq' admin.site.site_url = None # allow non-staf...
32.470588
63
0.75
78
552
5.153846
0.512821
0.134328
0.097015
0.089552
0.099502
0
0
0
0
0
0
0
0.177536
552
16
64
34.5
0.885463
0.13587
0
0
0
0
0.124473
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.090909
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af2ded2bcaaf00693925512eeea11c00ded8df3d
3,842
py
Python
TelegramBot/TelegramBot.py
Henrik168/TelegramBot
6b11fc47218d616f1a4acfe7ac6494cb802491b9
[ "MIT" ]
null
null
null
TelegramBot/TelegramBot.py
Henrik168/TelegramBot
6b11fc47218d616f1a4acfe7ac6494cb802491b9
[ "MIT" ]
null
null
null
TelegramBot/TelegramBot.py
Henrik168/TelegramBot
6b11fc47218d616f1a4acfe7ac6494cb802491b9
[ "MIT" ]
null
null
null
import logging from dataclasses import dataclass import TelegramBot.lib_requests as lib_requests import CustomLogger @dataclass class MessageData: last_message: str chatroom_id: str sender_id: str sender_name: str @property def command(self): if not self.last_message[:1] == "/": ...
35.574074
110
0.60151
453
3,842
4.960265
0.203091
0.071206
0.040053
0.039163
0.291055
0.205607
0.192701
0.11215
0.11215
0.11215
0
0.002857
0.271213
3,842
107
111
35.906542
0.799643
0.05518
0
0.083333
0
0
0.195836
0.013787
0
0
0
0
0
1
0.097222
false
0
0.055556
0
0.347222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af2fe4de9eede3a49c06c050ed3b255d1c2f19b7
2,275
py
Python
Oski/Notifier.py
mbanderson/Oski
beb68ee5ba4af23d726345d5f726a52d5adfae73
[ "MIT" ]
null
null
null
Oski/Notifier.py
mbanderson/Oski
beb68ee5ba4af23d726345d5f726a52d5adfae73
[ "MIT" ]
null
null
null
Oski/Notifier.py
mbanderson/Oski
beb68ee5ba4af23d726345d5f726a52d5adfae73
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Notifies subscribers of new articles.""" import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText class Email: """Formats email content as a MIME message.""" def __init__(self, sender, receiver, subject, content, use_html=False): self...
27.409639
75
0.607473
256
2,275
5.222656
0.3125
0.067315
0.024682
0.035901
0.110696
0.07629
0
0
0
0
0
0.001845
0.285275
2,275
83
76
27.409639
0.820418
0.126593
0
0.293103
0
0
0.03117
0
0
0
0
0
0
1
0.189655
false
0
0.051724
0.068966
0.431034
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af33d38936d36aba5ecfba4eb2562457febb889c
673
py
Python
repalette/utils/notify.py
danielgafni/repalette
9317fc4f164ef04500a47e37a5b0bd3917a82516
[ "Apache-2.0" ]
18
2021-05-04T15:26:59.000Z
2022-01-04T17:17:23.000Z
repalette/utils/notify.py
danielgafni/repalette
9317fc4f164ef04500a47e37a5b0bd3917a82516
[ "Apache-2.0" ]
3
2020-11-07T14:45:28.000Z
2021-05-05T17:04:22.000Z
repalette/utils/notify.py
danielgafni/repalette
9317fc4f164ef04500a47e37a5b0bd3917a82516
[ "Apache-2.0" ]
2
2021-05-04T15:54:31.000Z
2021-05-05T00:15:20.000Z
import asyncio import discord import nest_asyncio from repalette.constants import DISCORD_BOT_TOKEN async def __notify_discord(channel_id, message): client = discord.Client() async def __send_message(): await client.wait_until_ready() await client.get_channel(channel_id).send(message) ...
21.709677
58
0.702823
82
673
5.378049
0.378049
0.102041
0.136054
0.14966
0.145125
0.145125
0
0
0
0
0
0
0.218425
673
30
59
22.433333
0.838403
0
0
0
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0.190476
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af34c785490cf98dfc2a7f4269f8b57f92aab889
4,404
py
Python
tests/test_main.py
sforzando/q-lako
dcf31fdc50147415a1da7c5b411568478984e31a
[ "MIT" ]
null
null
null
tests/test_main.py
sforzando/q-lako
dcf31fdc50147415a1da7c5b411568478984e31a
[ "MIT" ]
79
2020-10-06T08:34:44.000Z
2020-12-12T17:28:53.000Z
tests/test_main.py
sforzando/q-lako
dcf31fdc50147415a1da7c5b411568478984e31a
[ "MIT" ]
null
null
null
import logging import pytest from werkzeug.datastructures import ImmutableMultiDict from main import app @pytest.fixture def test_client(): app.config["TESTING"] = True return app.test_client() def test_GET_index(test_client): response = test_client.get("/") assert response.status_code == 200 ...
40.036364
110
0.719573
551
4,404
5.557169
0.275862
0.111039
0.082299
0.055846
0.596016
0.571522
0.510124
0.449053
0.363488
0.317766
0
0.018423
0.161898
4,404
109
111
40.40367
0.81035
0
0
0.2
0
0.0125
0.340372
0.023842
0
0
0
0
0.25
1
0.1625
false
0
0.05
0
0.225
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af35346b37ed36d8f98147a976a6e4de22d8db47
849
py
Python
data/external/repositories_2to3/126714/kaggle-avazu-master/script/append.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories_2to3/126714/kaggle-avazu-master/script/append.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories_2to3/126714/kaggle-avazu-master/script/append.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
1
2019-12-04T08:23:33.000Z
2019-12-04T08:23:33.000Z
f1 = open("../train_pre_1") f2 = open("../test_pre_1") out1 = open("../train_pre_1b","w") out2 = open("../test_pre_1b","w") t = open("../train_gbdt_out") v = open("../test_gbdt_out") add = [] for i in range(30,49): add.append("C" + str(i)) line = f1.readline() print(line[:-1] + "," + ",".join(add), file=ou...
23.583333
50
0.537102
138
849
3.202899
0.275362
0.079186
0.040724
0.074661
0.380091
0.380091
0.380091
0.248869
0.248869
0.248869
0
0.074236
0.190813
849
35
51
24.257143
0.569141
0
0
0.181818
0
0
0.125307
0
0
0
0
0
0
1
0
false
0
0
0
0
0.121212
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af39c62b461abaa60323cf851d4989edf2ec5def
851
py
Python
run_learning.py
ZhaomingXie/RLAlg
dff9fc9be9417797ded428fc706cd779e638f7bf
[ "MIT" ]
null
null
null
run_learning.py
ZhaomingXie/RLAlg
dff9fc9be9417797ded428fc706cd779e638f7bf
[ "MIT" ]
null
null
null
run_learning.py
ZhaomingXie/RLAlg
dff9fc9be9417797ded428fc706cd779e638f7bf
[ "MIT" ]
1
2020-05-29T01:37:42.000Z
2020-05-29T01:37:42.000Z
from PPO import * from TD3 import * import argparse parser = argparse.ArgumentParser() parser.add_argument("--policy_path", required=True, type=str) parser.add_argument("--stats_path", required=True, type=str) parser.add_argument("--env", required=True, type=str) parser.add_argument("--seed", required=True, type=int) ...
31.518519
61
0.782609
135
851
4.740741
0.333333
0.0875
0.132813
0.089063
0.253125
0.18125
0.18125
0.125
0
0
0
0.00885
0.070505
851
27
62
31.518519
0.800253
0
0
0
0
0
0.071596
0
0
0
0
0
0
1
0
false
0
0.16
0
0.16
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af39df71abbbbebb35d3f9fbf9be1554dbe20b3c
797
py
Python
Sorting/bubble_sort.py
fredricksimi/leetcode
f6352c26914ca77f915f5994746ecf0b36efc89b
[ "MIT" ]
null
null
null
Sorting/bubble_sort.py
fredricksimi/leetcode
f6352c26914ca77f915f5994746ecf0b36efc89b
[ "MIT" ]
null
null
null
Sorting/bubble_sort.py
fredricksimi/leetcode
f6352c26914ca77f915f5994746ecf0b36efc89b
[ "MIT" ]
1
2021-12-05T12:27:46.000Z
2021-12-05T12:27:46.000Z
""" Bubble Sort: """ # Best: O(n) time | O(1) space # Average: O(n^2) time | O(1) space # Worst: O(n^2) time | O(1) space def bubbleSort(array): did_swap = False while True: did_swap = False for idx in range(1, len(array)): if array[idx] < array[idx-1]: # swap ...
26.566667
122
0.604768
131
797
3.648855
0.473282
0.100418
0.037657
0.069038
0.165272
0.058577
0.058577
0
0
0
0
0.016043
0.29611
797
29
123
27.482759
0.836007
0.141782
0
0.2
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af3d1abf4c4665c9462b07e2b917b4a51a0fdfc4
1,715
py
Python
ccs1.py
derrickaw/operation_crypto
6bf006a0a9246f6a9c5ae64b1bb395cc9d951c72
[ "MIT" ]
null
null
null
ccs1.py
derrickaw/operation_crypto
6bf006a0a9246f6a9c5ae64b1bb395cc9d951c72
[ "MIT" ]
null
null
null
ccs1.py
derrickaw/operation_crypto
6bf006a0a9246f6a9c5ae64b1bb395cc9d951c72
[ "MIT" ]
null
null
null
# Crypto Challenge Set 1 """ 1. Convert hex to base64 2. Fixed buffer XOR 3. """ import base64 def convert_hex_to_base64(hex): """ Converts hex string to base64 encoding :param hex: hex encoded string :return: base64 encoded string """ # Convert hex to byte string decoded_hex = bytearray...
23.175676
77
0.661224
187
1,715
5.850267
0.304813
0.063985
0.065814
0.065814
0.080439
0
0
0
0
0
0
0.18124
0.266472
1,715
73
78
23.493151
0.688394
0.304373
0
0
0
0
0.244898
0.235138
0
0
0
0
0.090909
1
0.090909
false
0
0.045455
0
0.227273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af3fd4c2face07438cfa2add7939e20eaaa6ebd0
7,748
py
Python
o365_ip.py
satchm0h/o365_ip
1845fc6e5a2414f23bbce82784f4e7f0cac6528b
[ "MIT" ]
1
2020-11-01T11:03:01.000Z
2020-11-01T11:03:01.000Z
o365_ip.py
satchm0h/o365_ip
1845fc6e5a2414f23bbce82784f4e7f0cac6528b
[ "MIT" ]
null
null
null
o365_ip.py
satchm0h/o365_ip
1845fc6e5a2414f23bbce82784f4e7f0cac6528b
[ "MIT" ]
null
null
null
#!/bin/env python3 import os import sys import json import uuid import argparse import logging import coloredlogs import requests # Defining the default values that can be overridden on the CLI DEFAULTS = { 'guidfile': 'client-guid', 'outfile': 'last-dump', 'verfile': 'last-version', 'instance': 'Worl...
33.834061
105
0.63126
944
7,748
5.068856
0.258475
0.022989
0.021735
0.020481
0.143365
0.108882
0.061651
0.046186
0.017137
0
0
0.002978
0.263294
7,748
228
106
33.982456
0.835319
0.141585
0
0.125
0
0
0.208548
0.026675
0
0
0
0
0
1
0.072368
false
0
0.052632
0
0.164474
0.013158
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af4465eb1740d25f4243ab38dfe29940e3f43d6f
1,508
py
Python
pygame_matplotlib/gui_window.py
lionel42/pygame-matplotlib-backend
7b15c06189e0b690a0ec5ba83e6b9759f940642e
[ "MIT" ]
3
2021-12-13T17:56:15.000Z
2022-03-03T21:00:24.000Z
pygame_matplotlib/gui_window.py
lionel42/pygame-matplotlib-backend
7b15c06189e0b690a0ec5ba83e6b9759f940642e
[ "MIT" ]
1
2021-11-28T12:02:52.000Z
2021-12-21T09:04:41.000Z
pygame_matplotlib/gui_window.py
lionel42/pygame-matplotlib-backend
7b15c06189e0b690a0ec5ba83e6b9759f940642e
[ "MIT" ]
null
null
null
"""Contain a window with a plot for pygame_gui.""" from typing import Union import pygame import pygame_gui from pygame_gui.core.interfaces.manager_interface import IUIManagerInterface from pygame_gui.core.ui_element import ObjectID from .backend_pygame import FigureSurface import matplotlib matplotlib.use("module:/...
31.416667
76
0.670424
172
1,508
5.627907
0.372093
0.046488
0.055785
0.035124
0
0
0
0
0
0
0
0.000878
0.244695
1,508
47
77
32.085106
0.84899
0.093501
0
0
0
0
0.043382
0.030147
0
0
0
0
0
1
0.081081
false
0
0.189189
0
0.297297
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
af454b0c2f018d2a6fb480e99014829738475907
955
py
Python
simpledu/handlers/front.py
xizhongzhao/simpledu
bf78435caa45d28118cdde3db73c078cf7ff55b1
[ "Apache-2.0" ]
null
null
null
simpledu/handlers/front.py
xizhongzhao/simpledu
bf78435caa45d28118cdde3db73c078cf7ff55b1
[ "Apache-2.0" ]
null
null
null
simpledu/handlers/front.py
xizhongzhao/simpledu
bf78435caa45d28118cdde3db73c078cf7ff55b1
[ "Apache-2.0" ]
null
null
null
from flask import Blueprint,render_template,flash,url_for,redirect from simpledu.models import Course from simpledu.forms import LoginForm,RegisterForm from flask_login import login_user front = Blueprint('front',__name__) @front.route('/') def index(): courses = Course.query.all() return render_template('ind...
31.833333
66
0.710995
123
955
5.349594
0.382114
0.085106
0.091185
0.048632
0.066869
0
0
0
0
0
0
0
0.149738
955
29
67
32.931034
0.810345
0
0
0.08
0
0
0.114136
0
0
0
0
0
0
1
0.12
false
0
0.16
0
0.48
0.08
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af456070653a62afea1b52eac295ba59531bc4a5
6,151
py
Python
main.py
sadegh1404/Refinedet_saffran
3c756fe16b75e83630553b64cb9cb53203b9cb81
[ "MIT" ]
null
null
null
main.py
sadegh1404/Refinedet_saffran
3c756fe16b75e83630553b64cb9cb53203b9cb81
[ "MIT" ]
null
null
null
main.py
sadegh1404/Refinedet_saffran
3c756fe16b75e83630553b64cb9cb53203b9cb81
[ "MIT" ]
null
null
null
import argparse import numpy as np import os from os import path import tensorflow as tf from tensorflow.keras.callbacks import ModelCheckpoint from models import RefineDetVGG16 from utils import read_jpeg_image, resize_image_and_boxes, absolute2relative from saffran.saffran_data_loader import load_saffran_dataset fro...
35.761628
128
0.667859
840
6,151
4.709524
0.310714
0.035389
0.030081
0.034884
0.126896
0.086704
0.039434
0.020222
0
0
0
0.02316
0.213786
6,151
172
129
35.761628
0.794872
0.017396
0
0.054264
0
0
0.092053
0.019868
0
0
0
0
0
1
0.03876
false
0
0.100775
0.015504
0.170543
0.054264
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af4ba5a904905887481da5fbd8875608d26d4c5d
7,649
py
Python
scripts/make_template.py
ebi-ait/lattice-tools
7d72b04fae879f4330702df93bbfc0ea8a6bbdaa
[ "MIT" ]
null
null
null
scripts/make_template.py
ebi-ait/lattice-tools
7d72b04fae879f4330702df93bbfc0ea8a6bbdaa
[ "MIT" ]
3
2021-02-09T14:57:00.000Z
2021-09-27T23:23:45.000Z
scripts/make_template.py
ebi-ait/lattice-tools
7d72b04fae879f4330702df93bbfc0ea8a6bbdaa
[ "MIT" ]
1
2022-02-23T14:21:17.000Z
2022-02-23T14:21:17.000Z
import argparse import gspread import json import lattice import requests import string import sys from collections import OrderedDict from gspread_formatting import * from oauth2client.service_account import ServiceAccountCredentials from urllib.parse import urljoin def getArgs(): parser = argparse.ArgumentParser...
35.576744
130
0.697085
1,127
7,649
4.574978
0.221828
0.036074
0.029868
0.044802
0.242824
0.155935
0.11249
0.061676
0.048487
0.033747
0
0.007697
0.150739
7,649
214
131
35.742991
0.786022
0.152569
0
0.104651
0
0
0.173011
0.005416
0
0
0
0
0
1
0.005814
false
0
0.063953
0
0.075581
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af4fa2ce445c7c2f288125fe751a69825469c270
8,191
py
Python
tests/forte/data/vocabulary_test.py
bhaskar2443053/forte
95fabd94126d45c0db07cdcc197049ed1859d228
[ "Apache-2.0" ]
null
null
null
tests/forte/data/vocabulary_test.py
bhaskar2443053/forte
95fabd94126d45c0db07cdcc197049ed1859d228
[ "Apache-2.0" ]
null
null
null
tests/forte/data/vocabulary_test.py
bhaskar2443053/forte
95fabd94126d45c0db07cdcc197049ed1859d228
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 The Forte Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
35.613043
80
0.561104
921
8,191
4.823018
0.263844
0.057407
0.040522
0.011706
0.171319
0.111436
0.047726
0.026565
0
0
0
0.013395
0.343792
8,191
229
81
35.768559
0.813023
0.165425
0
0.189349
0
0
0.034093
0
0
0
0
0
0.171598
1
0.029586
false
0
0.053254
0
0.094675
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af54d8608e299a17c445fa8a61556df44ff6ac62
3,402
py
Python
scripts/crawler/sites/codeforces_loader.py
Takt29/CompetitiveProgrammingArena
7b7dfbd103b9abd6ea00156f3b7f6f2d59e40dea
[ "MIT" ]
null
null
null
scripts/crawler/sites/codeforces_loader.py
Takt29/CompetitiveProgrammingArena
7b7dfbd103b9abd6ea00156f3b7f6f2d59e40dea
[ "MIT" ]
null
null
null
scripts/crawler/sites/codeforces_loader.py
Takt29/CompetitiveProgrammingArena
7b7dfbd103b9abd6ea00156f3b7f6f2d59e40dea
[ "MIT" ]
null
null
null
import sys import json from typing import Optional from datetime import datetime, timezone from .submissions_loader import Submission, SubmissionLoader, SubmissionStatus class CodeforcesSubmissionLoader(SubmissionLoader): def _normalize_status(self, external_status: str) -> SubmissionStatus: patterns: lis...
40.023529
82
0.620223
299
3,402
6.879599
0.381271
0.035002
0.042295
0.029169
0.032086
0
0
0
0
0
0
0.004097
0.282481
3,402
84
83
40.5
0.838591
0.000882
0
0.029851
0
0
0.143362
0.040918
0
0
0
0
0
1
0.029851
false
0
0.074627
0
0.164179
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af55a7c4bf87a19d17230ce48e8785f847954198
891
py
Python
config.py
johannes-gehrs/centos_packages
31afe052011594e37175447eae8e7a192bdc9669
[ "MIT" ]
9
2016-04-17T02:09:47.000Z
2022-02-16T15:50:43.000Z
config.py
johannes-gehrs/centos_packages
31afe052011594e37175447eae8e7a192bdc9669
[ "MIT" ]
null
null
null
config.py
johannes-gehrs/centos_packages
31afe052011594e37175447eae8e7a192bdc9669
[ "MIT" ]
6
2016-09-10T17:42:29.000Z
2021-11-28T09:06:36.000Z
from __future__ import absolute_import, division, unicode_literals import os import logging OS_VERSIONS = ['6', '7'] DATA_DIR = '/tmp/centos_packages/' REPO_BASE_URL = 'http://mirror.centos.org/centos/' REPOSITORIES = ['os', 'updates', 'centosplus', 'extras', 'fasttrack'] REPOSITORIES_PRETTY = {'os': 'Base', ...
29.7
70
0.637486
103
891
5.31068
0.601942
0.025594
0
0
0
0
0
0
0
0
0
0.013062
0.226712
891
29
71
30.724138
0.780842
0.007856
0
0
0
0
0.238095
0.02381
0
0
0
0
0
1
0.043478
false
0
0.130435
0.043478
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af5737ecd87101e9cae87c5d6f7ba311642b6a63
2,622
py
Python
bin/autogen.py
botleague/leaderboard-generator
644bed2b056d04b604a09ab4f1ad78afbc4ceee7
[ "MIT" ]
null
null
null
bin/autogen.py
botleague/leaderboard-generator
644bed2b056d04b604a09ab4f1ad78afbc4ceee7
[ "MIT" ]
null
null
null
bin/autogen.py
botleague/leaderboard-generator
644bed2b056d04b604a09ab4f1ad78afbc4ceee7
[ "MIT" ]
null
null
null
import os import sys import time import logging from watchdog.observers import Observer from watchdog.events import FileSystemEventHandler def main(): logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(message)s', datefmt='%Y-%m-%d %H:%M:%S') # Don...
28.5
76
0.644165
328
2,622
4.945122
0.301829
0.034525
0.051788
0.055487
0.364365
0.334155
0.19852
0.166461
0.138101
0.138101
0
0.002037
0.250953
2,622
91
77
28.813187
0.823829
0.02479
0
0.181818
0
0
0.083399
0
0
0
0
0
0
1
0.121212
false
0
0.136364
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af57910bb3fe47ba44e22a72e31f84c5bdcbf609
10,239
py
Python
mdstudio/mdstudio/api/endpoint.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
10
2017-09-14T07:26:15.000Z
2021-04-01T09:33:03.000Z
mdstudio/mdstudio/api/endpoint.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
117
2017-09-13T08:09:48.000Z
2019-10-03T12:19:13.000Z
mdstudio/mdstudio/api/endpoint.py
NLeSC/LIEStudio
03c163b4a2590b4e2204621e1c941c28a9624887
[ "Apache-2.0" ]
1
2018-09-26T09:40:51.000Z
2018-09-26T09:40:51.000Z
import json import uuid import six from datetime import timedelta from types import GeneratorType from typing import Union, Optional, Callable from jsonschema import ValidationError from twisted.internet.defer import _inlineCallbacks, Deferred from autobahn.wamp import RegisterOptions from mdstudio.api.api_result imp...
38.205224
133
0.614611
1,109
10,239
5.51037
0.171326
0.029455
0.02651
0.02291
0.330551
0.281623
0.220749
0.190967
0.163476
0.16233
0
0.001501
0.284305
10,239
267
134
38.348315
0.832424
0.032523
0
0.239437
0
0
0.085968
0.00788
0
0
0
0
0
1
0.079812
false
0
0.079812
0.028169
0.230047
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af5b9601c04d7552ac03872881009c7fc625c108
1,832
py
Python
numba/tests/test_ctypes.py
meawoppl/numba
bb8df0aee99133c6d52465ae9f9df2a7996339f3
[ "BSD-2-Clause" ]
1
2015-01-29T06:52:36.000Z
2015-01-29T06:52:36.000Z
numba/tests/test_ctypes.py
meawoppl/numba
bb8df0aee99133c6d52465ae9f9df2a7996339f3
[ "BSD-2-Clause" ]
null
null
null
numba/tests/test_ctypes.py
meawoppl/numba
bb8df0aee99133c6d52465ae9f9df2a7996339f3
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function, absolute_import, division from ctypes import * import sys from numba import unittest_support as unittest from numba.compiler import compile_isolated from numba import types is_windows = sys.platform.startswith('win32') if not is_windows: proc = CDLL(None) c_sin = proc.s...
24.105263
64
0.662664
234
1,832
4.92735
0.333333
0.027754
0.018213
0.065048
0.215091
0.171726
0.171726
0.171726
0.171726
0.171726
0
0.010925
0.250546
1,832
75
65
24.426667
0.828842
0.039301
0
0.18
0
0
0.024207
0
0
0
0
0
0.06
1
0.12
false
0
0.12
0.04
0.32
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af5fa4a7f4a8959df414d7dee58cac1a11ceef7d
875
py
Python
Preprocessing/PreprocessingX: Chunking.py
Om4AI/Semantic-Adherence-Checker-with-NLP
7104f0fbe45ef79eb6ea0db9eec4dc7b4ff150fb
[ "MIT" ]
1
2021-05-22T02:46:00.000Z
2021-05-22T02:46:00.000Z
Preprocessing/PreprocessingX: Chunking.py
Om4AI/Semantic-Adherence-Checker-with-NLP
7104f0fbe45ef79eb6ea0db9eec4dc7b4ff150fb
[ "MIT" ]
null
null
null
Preprocessing/PreprocessingX: Chunking.py
Om4AI/Semantic-Adherence-Checker-with-NLP
7104f0fbe45ef79eb6ea0db9eec4dc7b4ff150fb
[ "MIT" ]
null
null
null
def chunk_process(corpus): all_processed = [] for i in corpus: train_text = i train_text = train_text.lower() custom_tokenizer = PunktSentenceTokenizer(train_text) tokenized = custom_tokenizer.tokenize(train_text) pro = chunk_process_content(tokenized) all_processed.append(pro) return all...
23.648649
57
0.666286
122
875
4.639344
0.418033
0.079505
0.031802
0.053004
0
0
0
0
0
0
0
0
0.221714
875
36
58
24.305556
0.831131
0.168
0
0
0
0
0.027739
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af621cd414c91141313b31734d2740e917380a97
6,772
py
Python
tensorflow_constrained_optimization/python/rates/subsettable_context_test.py
neelguha/tensorflow_constrained_optimization
46b34d1c2d6ec05ea1e46db3bcc481a81e041637
[ "Apache-2.0" ]
null
null
null
tensorflow_constrained_optimization/python/rates/subsettable_context_test.py
neelguha/tensorflow_constrained_optimization
46b34d1c2d6ec05ea1e46db3bcc481a81e041637
[ "Apache-2.0" ]
null
null
null
tensorflow_constrained_optimization/python/rates/subsettable_context_test.py
neelguha/tensorflow_constrained_optimization
46b34d1c2d6ec05ea1e46db3bcc481a81e041637
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 The TensorFlow Constrained Optimization Authors. 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 # #...
42.591195
80
0.656379
837
6,772
5.135006
0.188769
0.023732
0.022336
0.016752
0.487436
0.397859
0.388087
0.388087
0.336901
0.278269
0
0.041675
0.238187
6,772
158
81
42.860759
0.791432
0.266834
0
0.348315
0
0
0.001637
0
0
0
0
0
0.089888
1
0.044944
false
0
0.067416
0
0.134831
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af6346ccaefda878793e2d456fe00155edd718ff
483
py
Python
m5.py
mohitalivenetsolutions/alivenet-python-training
19968bbec0b9a44884e0175414342a8ca4ebb1fd
[ "MIT" ]
null
null
null
m5.py
mohitalivenetsolutions/alivenet-python-training
19968bbec0b9a44884e0175414342a8ca4ebb1fd
[ "MIT" ]
1
2018-07-17T17:09:38.000Z
2018-07-17T17:09:38.000Z
m5.py
mohitalivenetsolutions/alivenet-python-training
19968bbec0b9a44884e0175414342a8ca4ebb1fd
[ "MIT" ]
null
null
null
#list list=["Apple","Mango","Banana","Pine Apple","Plum"] for lst in list : if lst=='Banana': continue else: print(lst) #tuples tpls = ("apple", "banana", "cherry","banana",) print("Tuples:",tpls) #Set st = set(("apple", "banana", "cherry")) st.add("damson") st.remove("banana") pri...
20.125
57
0.583851
62
483
4.548387
0.483871
0.117021
0.120567
0
0
0
0
0
0
0
0
0
0.182195
483
23
58
21
0.713924
0.047619
0
0
0
0
0.314088
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af63f358d135bd02b0acb291df904454267fe7f6
546
py
Python
pokemon.py
videogamerm/pokemon_database
e33cb420fdd1053d55d178e230c095dedcffff76
[ "MIT" ]
null
null
null
pokemon.py
videogamerm/pokemon_database
e33cb420fdd1053d55d178e230c095dedcffff76
[ "MIT" ]
null
null
null
pokemon.py
videogamerm/pokemon_database
e33cb420fdd1053d55d178e230c095dedcffff76
[ "MIT" ]
null
null
null
import sqlite3 import time import random conn = sqlite3.connect('pokemon.db') c = conn.cursor() id = 0 def dynamic_data_entry(): name = input ("Name: ") health = input ("Health: ") stage = input ("Stage:") ptype = input("Type: ") retreat = input ("Retreat: ") year = input ("Year: ") c.e...
17.0625
56
0.580586
70
546
4.471429
0.542857
0.070288
0.102236
0
0
0
0
0
0
0
0
0.019324
0.241758
546
31
57
17.612903
0.736715
0
0
0
0
0
0.164835
0
0
0
0
0
0
1
0.045455
false
0
0.136364
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af6432d71105fd52d5f472fb3ff046ac0d326424
2,603
py
Python
sqlpie/services/matcher.py
lessaworld/sqlpie
22cac1fc7f9cb939e823058f84a68988e03ab239
[ "MIT" ]
3
2016-01-27T19:49:23.000Z
2020-08-18T13:59:02.000Z
sqlpie/services/matcher.py
lessaworld/sqlpie
22cac1fc7f9cb939e823058f84a68988e03ab239
[ "MIT" ]
null
null
null
sqlpie/services/matcher.py
lessaworld/sqlpie
22cac1fc7f9cb939e823058f84a68988e03ab239
[ "MIT" ]
1
2016-02-01T01:57:54.000Z
2016-02-01T01:57:54.000Z
# -*- coding: utf-8 -*- """ SQLpie License (MIT License) Copyright (c) 2011-2016 André Lessa, http://sqlpie.com See LICENSE file. """ from flask import g import sqlpie import math, json class Matcher(object): def __init__(self): pass @staticmethod def match_single(source_bucket, document_id, s...
40.671875
124
0.659624
300
2,603
5.473333
0.353333
0.065773
0.054811
0.08039
0.226553
0.207674
0.167479
0.167479
0.140682
0.08648
0
0.007176
0.25048
2,603
63
125
41.31746
0.834444
0.151364
0
0.195122
0
0
0.044211
0
0
0
0
0
0
1
0.097561
false
0.02439
0.073171
0
0.268293
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af664d7b09e7e9a2561541c3ca78ef9e440f0b18
5,554
py
Python
src/mlregression/estimator/boosting.py
muhlbach/ml-regression
59dfa5acc9841729d632030492e029bb329ce3ed
[ "MIT" ]
1
2021-11-12T22:45:32.000Z
2021-11-12T22:45:32.000Z
src/mlregression/estimator/boosting.py
muhlbach/ml-regression
59dfa5acc9841729d632030492e029bb329ce3ed
[ "MIT" ]
1
2021-11-15T22:14:10.000Z
2021-11-16T15:56:14.000Z
src/mlregression/estimator/boosting.py
muhlbach/ml-regression
59dfa5acc9841729d632030492e029bb329ce3ed
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------------ # Libraries #------------------------------------------------------------------------------ # Standard import numpy as np import xgboost as xgb import lightgbm as lgbm #----------------------------------------------------------------------...
39.112676
111
0.46507
453
5,554
5.335541
0.267108
0.029789
0.034754
0.021101
0.13405
0.084402
0.061233
0.061233
0
0
0
0.015808
0.339395
5,554
142
112
39.112676
0.642954
0.239287
0
0.254545
0
0
0.010322
0
0
0
0
0
0
1
0.018182
false
0
0.063636
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af66914d6ab60784b54d7bda3a416c150d4d2a44
5,125
py
Python
ICPAR/trainer.py
RichardLeeK/CNM
a3c15cb0a0373d6ad03c5a815a7e020f90ab8522
[ "Apache-2.0" ]
null
null
null
ICPAR/trainer.py
RichardLeeK/CNM
a3c15cb0a0373d6ad03c5a815a7e020f90ab8522
[ "Apache-2.0" ]
null
null
null
ICPAR/trainer.py
RichardLeeK/CNM
a3c15cb0a0373d6ad03c5a815a7e020f90ab8522
[ "Apache-2.0" ]
null
null
null
import numpy as np from keras.models import Sequential from keras.layers import Conv2D, MaxPooling2D, Dense, Dropout, Flatten import keras.backend as K import random import os import sys sys.setrecursionlimit(1000000) def data_load_module(tf): file = open('int/' + tf + '_1_int_rev.csv') lines = file.readlines() ...
26.832461
118
0.575415
872
5,125
3.222477
0.182339
0.006406
0.012811
0.029893
0.367972
0.339502
0.292883
0.233808
0.202491
0.202491
0
0.027145
0.238049
5,125
190
119
26.973684
0.692446
0.005854
0
0.269461
0
0
0.037299
0
0
0
0
0
0
1
0.05988
false
0
0.041916
0
0.155689
0.017964
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af6cc52ba6e57b394d26f12154df2f51b1b57cc5
636
py
Python
test/test_layers/test_flatten.py
radu-dogaru/numpyCNN
efe8749d7a35156ff9e67e7cc6df62a8077bf2ea
[ "MIT" ]
19
2019-11-08T22:50:32.000Z
2022-03-14T22:29:21.000Z
test/test_layers/test_flatten.py
radu-dogaru/numpyCNN
efe8749d7a35156ff9e67e7cc6df62a8077bf2ea
[ "MIT" ]
null
null
null
test/test_layers/test_flatten.py
radu-dogaru/numpyCNN
efe8749d7a35156ff9e67e7cc6df62a8077bf2ea
[ "MIT" ]
7
2020-06-15T08:03:41.000Z
2021-10-01T11:22:58.000Z
import unittest import numpy as np from src.layers.flatten import Flatten class TestFlatten(unittest.TestCase): def test_flatten(self): batch_size = 10 n_h, n_w, n_c = 32, 32, 3 a_prev = np.random.randn(batch_size, n_h, n_w, n_c) f = Flatten() f.init((n_h, n_w, n_c)) ...
30.285714
92
0.641509
109
636
3.431193
0.412844
0.032086
0.048128
0.064171
0.216578
0.216578
0.200535
0.147059
0.106952
0
0
0.014433
0.237421
636
20
93
31.8
0.756701
0
0
0
0
0
0
0
0
0
0
0
0.266667
1
0.066667
false
0
0.2
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af6febf89f847660f4b9e84d576a390734dbb67d
2,214
py
Python
input_fn/input_fn_2d/data_gen_2dt/data_anaylzer.py
JochenZoellner/tf_neiss-1
c91019e5bce6d3c7512237eec5ea997fd95304ac
[ "Apache-2.0" ]
null
null
null
input_fn/input_fn_2d/data_gen_2dt/data_anaylzer.py
JochenZoellner/tf_neiss-1
c91019e5bce6d3c7512237eec5ea997fd95304ac
[ "Apache-2.0" ]
1
2020-08-07T13:04:43.000Z
2020-08-10T12:32:46.000Z
input_fn/input_fn_2d/data_gen_2dt/data_anaylzer.py
JochenZoellner/tf_neiss-1
c91019e5bce6d3c7512237eec5ea997fd95304ac
[ "Apache-2.0" ]
1
2019-12-16T15:46:45.000Z
2019-12-16T15:46:45.000Z
import os import matplotlib.pyplot as plt import numpy as np import tensorflow as tf import input_fn.input_fn_2d.data_gen_2dt.data_gen_t2d_util.tfr_helper as tfr_helper os.environ["CUDA_VISIBLE_DEVICES"] = "" tf.enable_eager_execution() if __name__ == "__main__": print("run IS2d_triangle") # prefix = "val" ...
31.183099
91
0.617435
337
2,214
3.738872
0.332344
0.072222
0.063492
0.04127
0.060317
0
0
0
0
0
0
0.030686
0.249322
2,214
70
92
31.628571
0.727437
0.058717
0
0
0
0
0.09139
0.023569
0
0
0
0
0
1
0
false
0
0.096154
0
0.096154
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af71f9e9ddb2979aa18dd52c6ff6dae1a9583788
4,090
py
Python
Three-Column-Sortable-TableView.py
humberry/ui-tutorial
90ba337f64c429b234a6d035df8d096fb3248fc2
[ "MIT" ]
115
2015-03-01T20:22:19.000Z
2022-01-23T16:16:48.000Z
Three-Column-Sortable-TableView.py
clarityD/ui-tutorial
90ba337f64c429b234a6d035df8d096fb3248fc2
[ "MIT" ]
8
2015-01-05T10:12:24.000Z
2020-08-02T07:43:10.000Z
Three-Column-Sortable-TableView.py
clarityD/ui-tutorial
90ba337f64c429b234a6d035df8d096fb3248fc2
[ "MIT" ]
37
2015-05-10T03:24:33.000Z
2022-03-11T04:06:47.000Z
# coding: utf-8 import ui, os, datetime from operator import itemgetter class MyTableViewDataSource(object): def __init__(self, row_height): self.row_height = row_height self.width = None def tableview_number_of_rows(self, tableview, section): return len(tableview.data_source.items) ...
31.953125
103
0.55868
494
4,090
4.461538
0.232794
0.049002
0.036298
0.024955
0.211434
0.194192
0.194192
0.194192
0.182849
0.107532
0
0.012686
0.325428
4,090
127
104
32.204724
0.786154
0.010269
0
0.238938
0
0
0.018793
0
0
0
0
0
0
1
0.079646
false
0
0.017699
0.00885
0.141593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af7371f20bd26e4f799d725d92aa211ad0557f49
668
py
Python
binning/pozo_5m_binning.py
UP-RS-ESP/GEW-DAP04-WS201819
18341620d9168e1eec476af1d8f568cf0017bf56
[ "MIT" ]
2
2020-10-12T11:33:00.000Z
2021-12-20T06:33:54.000Z
binning/pozo_5m_binning.py
UP-RS-ESP/GEW-DAP04-WS201819
18341620d9168e1eec476af1d8f568cf0017bf56
[ "MIT" ]
null
null
null
binning/pozo_5m_binning.py
UP-RS-ESP/GEW-DAP04-WS201819
18341620d9168e1eec476af1d8f568cf0017bf56
[ "MIT" ]
null
null
null
import numpy as np from matplotlib import pyplot as pl from matplotlib.colors import LogNorm fn = '../pozo-steep-vegetated-pcl.npy' pts = np.load(fn) x, y = pts[:, 0], pts[:, 1] ix = (0.2 * (x - x.min())).astype('int') iy = (0.2 * (y - y.min())).astype('int') shape = (100, 100) #xb = np.arange(shape[1]+1) #yb = np.ar...
22.266667
40
0.586826
121
668
3.223141
0.446281
0.082051
0.061538
0
0
0
0
0
0
0
0
0.045872
0.184132
668
29
41
23.034483
0.669725
0.095808
0
0
0
0
0.069884
0.051581
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af74d606a269a83e28010d18de482c23c6ab0542
5,600
py
Python
datary/operations/remove.py
Datary/python-sdk
2790a50e1ad262cbe3210665dc34f497625e923d
[ "MIT" ]
null
null
null
datary/operations/remove.py
Datary/python-sdk
2790a50e1ad262cbe3210665dc34f497625e923d
[ "MIT" ]
null
null
null
datary/operations/remove.py
Datary/python-sdk
2790a50e1ad262cbe3210665dc34f497625e923d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Datary sdk Remove Operations File """ import os from urllib.parse import urljoin from datary.auth import DataryAuth from datary.operations.limits import DataryOperationLimits import structlog logger = structlog.getLogger(__name__) class DataryRemoveOperation(DataryAuth, DataryOperationL...
32.55814
78
0.411786
426
5,600
5.323944
0.201878
0.091711
0.046296
0.035273
0.564815
0.527778
0.518519
0.439594
0.415344
0.298501
0
0.003408
0.37125
5,600
171
79
32.748538
0.640727
0.299107
0
0.553191
0
0
0.161863
0
0
0
0
0
0
1
0.042553
false
0
0.053191
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
af76cb63ff7f339b7e7e1d830fd28ab78f3db4d3
9,199
py
Python
parse_conceptual.py
HalimSD/A-eye
502dcdf47d54d93e8745be7c49897064550db8c7
[ "MIT" ]
null
null
null
parse_conceptual.py
HalimSD/A-eye
502dcdf47d54d93e8745be7c49897064550db8c7
[ "MIT" ]
null
null
null
parse_conceptual.py
HalimSD/A-eye
502dcdf47d54d93e8745be7c49897064550db8c7
[ "MIT" ]
null
null
null
import torch import clip from torch.utils.data import DataLoader, Dataset from PIL import Image import pickle from tqdm import tqdm import os import csv import threading import requests import shutil import PIL from typing import List, Tuple, Optional import argparse from pathlib import Path device = torch.device("cu...
37.70082
137
0.589521
1,174
9,199
4.400341
0.181431
0.03523
0.023422
0.012776
0.252226
0.21506
0.192412
0.15331
0.130081
0.130081
0
0.011553
0.294271
9,199
243
138
37.855967
0.784196
0.014567
0
0.254717
0
0
0.084115
0.053207
0
0
0
0
0
1
0.056604
false
0
0.070755
0.004717
0.183962
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af78d3f22f044a728a9a4c210c9bf8cdba9f1cf9
7,170
py
Python
TextSummarizer.py
venkattrj/Refresh
563c901cc0a8d90f5d716a2661302ff8858f7334
[ "BSD-3-Clause" ]
null
null
null
TextSummarizer.py
venkattrj/Refresh
563c901cc0a8d90f5d716a2661302ff8858f7334
[ "BSD-3-Clause" ]
null
null
null
TextSummarizer.py
venkattrj/Refresh
563c901cc0a8d90f5d716a2661302ff8858f7334
[ "BSD-3-Clause" ]
null
null
null
# Global objects import datetime import hashlib import subprocess import time import nltk from Prediction import Summarizer from data_utils import DataProcessor PAD_ID = 0 UNK_ID = 1 vocab_dict, word_embedding_array = DataProcessor().prepare_vocab_embeddingdict() # # print (len(vocab_embed_object.vocab_dict)-2) model...
40.055866
138
0.58159
751
7,170
5.336884
0.225033
0.045409
0.047904
0.031188
0.317615
0.217565
0.143962
0.114022
0.092565
0.036926
0
0.002287
0.329149
7,170
178
139
40.280899
0.830977
0.235704
0
0.144444
0
0.011111
0.112618
0.018026
0
0
0
0
0
1
0.077778
false
0
0.077778
0.011111
0.255556
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
af7b2d5d99f6baeaacbb0d347417a474259a0efd
447
py
Python
setup.py
rahulpshah/nbexamples
b14421ef9a88828b5a0e76d376043ee0f13f9da8
[ "BSD-3-Clause" ]
62
2015-11-19T18:28:56.000Z
2021-12-27T02:50:30.000Z
setup.py
rahulpshah/nbexamples
b14421ef9a88828b5a0e76d376043ee0f13f9da8
[ "BSD-3-Clause" ]
33
2015-11-23T01:11:33.000Z
2021-04-15T04:23:15.000Z
setup.py
rahulpshah/nbexamples
b14421ef9a88828b5a0e76d376043ee0f13f9da8
[ "BSD-3-Clause" ]
28
2015-11-24T18:49:33.000Z
2021-12-28T16:48:55.000Z
import versioneer from setuptools import setup setup_args = dict( name='nbexamples', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), license='BSD', platforms=['Jupyter Notebook'], packages=[ 'nbexamples' ], include_package_data=True, install_requires=[ ...
19.434783
39
0.626398
44
447
6.022727
0.704545
0.075472
0.10566
0
0
0
0
0
0
0
0
0.00885
0.241611
447
22
40
20.318182
0.772861
0
0
0
0
0
0.176734
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af7e5e86d0f60de6b492ec7b6eafdc2ebea4c16a
6,336
py
Python
project-management-api/app/routers/msprojects.py
paolo-demagistris-polito/pm-lab-polito-EnvForDigitalProjectDelivery
07e121a6613398bf3a8fbb9ec6831720bfcf2c33
[ "MIT" ]
1
2022-03-03T14:22:47.000Z
2022-03-03T14:22:47.000Z
project-management-api/app/routers/msprojects.py
paolo-demagistris-polito/pm-lab-polito-EnvForDigitalProjectDelivery
07e121a6613398bf3a8fbb9ec6831720bfcf2c33
[ "MIT" ]
3
2022-01-20T05:22:52.000Z
2022-01-28T09:34:19.000Z
project-management-api/app/routers/msprojects.py
pm-lab-polito/EnvForDigitalProjectDelivery
0bda402f70160eccb8959ffac3d9baeccce60781
[ "MIT" ]
null
null
null
""" Module for the methods regarding ms projects """ import jpype import jsonpath_ng.ext import mpxj from fastapi import APIRouter, File, UploadFile from datatypes.models import * from dependencies import * router = APIRouter( prefix="/msprojects", tags=["msprojects"], dependencies=[] ) @router.post("/...
37.94012
114
0.665404
755
6,336
5.365563
0.22649
0.037768
0.034559
0.022464
0.254505
0.250309
0.197729
0.182918
0.182918
0.130585
0
0.003228
0.217645
6,336
166
115
38.168675
0.814
0.006944
0
0.1
0
0
0.05149
0
0
0
0
0
0
1
0
false
0
0.063636
0
0.081818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af808a47b333d62757233f327d638f9ef66a62b6
563
py
Python
Leetcode/1000-2000/1103. Distribute Candies to People/1103.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1103. Distribute Candies to People/1103.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/1000-2000/1103. Distribute Candies to People/1103.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution: def distributeCandies(self, candies: int, n: int) -> List[int]: ans = [0] * n rows = int((-n + (n**2 + 8 * n**2 * candies)**0.5) / (2 * n**2)) accumN = rows * (rows - 1) * n // 2 for i in range(n): ans[i] = accumN + rows * (i + 1) givenCandies = (n**2 * rows**2 + n * rows) ...
24.478261
68
0.515098
78
563
3.717949
0.346154
0.034483
0
0
0
0
0
0
0
0
0
0.046997
0.319716
563
22
69
25.590909
0.710183
0
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af815fbf98829714e6eda7b837a98b8d597117ab
38,711
py
Python
bionic/persistence.py
baxen/bionic
f722a72e9571b81f537ed51fcf15bc964a928024
[ "Apache-2.0" ]
null
null
null
bionic/persistence.py
baxen/bionic
f722a72e9571b81f537ed51fcf15bc964a928024
[ "Apache-2.0" ]
null
null
null
bionic/persistence.py
baxen/bionic
f722a72e9571b81f537ed51fcf15bc964a928024
[ "Apache-2.0" ]
null
null
null
""" This module provides local and cloud storage of computed values. The main point of entry is the PersistentCache, which encapsulates this functionality. """ import attr import os import shutil import tempfile import yaml import warnings from uuid import uuid4 from pathlib import Path from bionic.exception import ...
34.656222
88
0.623415
4,657
38,711
4.927636
0.133562
0.020132
0.005229
0.007844
0.323296
0.264075
0.227079
0.19396
0.150558
0.126634
0
0.002351
0.307742
38,711
1,116
89
34.687276
0.853982
0.205213
0
0.283934
0
0
0.077908
0.008346
0
0
0
0.003584
0.012465
1
0.092798
false
0.001385
0.022161
0.024931
0.239612
0.006925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af84d23224addc1fdc1ef092243757bb1b97c61d
925
py
Python
faq/lambda_function.py
david-fisher/320-S20-Track2
4bdda4701dac75dafaa09fa68a8502d7c5279502
[ "BSD-3-Clause" ]
8
2019-12-30T16:37:53.000Z
2020-04-09T17:18:14.000Z
faq/lambda_function.py
david-fisher/320-S20-Track2
4bdda4701dac75dafaa09fa68a8502d7c5279502
[ "BSD-3-Clause" ]
95
2020-02-03T15:13:19.000Z
2020-05-05T01:00:16.000Z
faq/lambda_function.py
david-fisher/320-S20-Track2
4bdda4701dac75dafaa09fa68a8502d7c5279502
[ "BSD-3-Clause" ]
null
null
null
import json import boto3 #Last Updated #5/3/2020 s3 = boto3.client('s3') #S3 object def lambda_handler(event, context): #Initializing the variables bucket = 't2-bucket-storage' key = 'FAQ.txt' #CORS headers response_headers = {} response_headers["X-Requested-With"] = "*" response_heade...
30.833333
122
0.665946
116
925
5.241379
0.568966
0.148026
0.108553
0.138158
0.208882
0.154605
0.154605
0.154605
0
0
0
0.024423
0.203243
925
29
123
31.896552
0.800543
0.187027
0
0
0
0.052632
0.348118
0.235215
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af85b8246d06deab8fbd40d2dd688d0cf7df337f
1,582
py
Python
easy_rl/utils/learning_rate_utils.py
simonoso/EasyRL
3d8eb2bf138dd2a0b95f8b3743d15f34cfff0740
[ "Apache-2.0" ]
125
2019-12-05T02:50:56.000Z
2022-02-22T08:03:24.000Z
easy_rl/utils/learning_rate_utils.py
simonoso/EasyRL
3d8eb2bf138dd2a0b95f8b3743d15f34cfff0740
[ "Apache-2.0" ]
4
2020-03-18T05:56:22.000Z
2020-07-11T11:10:17.000Z
easy_rl/utils/learning_rate_utils.py
simonoso/EasyRL
3d8eb2bf138dd2a0b95f8b3743d15f34cfff0740
[ "Apache-2.0" ]
26
2019-12-12T06:25:47.000Z
2022-01-19T22:19:41.000Z
import tensorflow as tf class LearningRateStrategy(object): def __init__(self, init_lr, strategy_spec): self._type = strategy_spec.pop('type', 'exponential_decay') self._decay_steps = strategy_spec.pop('decay_steps', 1000) self._decay_rate = strategy_spec.pop('decay_rate', 0.9) sel...
38.585366
67
0.591656
180
1,582
4.711111
0.2
0.117925
0.070755
0.066038
0.502358
0.476415
0.476415
0.476415
0.476415
0.476415
0
0.005581
0.32048
1,582
40
68
39.55
0.783256
0
0
0.472222
0
0
0.069532
0
0
0
0
0
0
1
0.055556
false
0
0.027778
0
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af8721001b7e64b7b7d1b084ad899f44e8598884
2,841
py
Python
plenum/test/node_request/test_split_non_3pc_messages_on_batches.py
ArtObr/indy-plenum
c568eefb0042b3ec3aec84e9241cb1b5df419365
[ "Apache-2.0" ]
null
null
null
plenum/test/node_request/test_split_non_3pc_messages_on_batches.py
ArtObr/indy-plenum
c568eefb0042b3ec3aec84e9241cb1b5df419365
[ "Apache-2.0" ]
null
null
null
plenum/test/node_request/test_split_non_3pc_messages_on_batches.py
ArtObr/indy-plenum
c568eefb0042b3ec3aec84e9241cb1b5df419365
[ "Apache-2.0" ]
null
null
null
from functools import partial import pytest from plenum.test import waits from plenum.test.helper import sendRandomRequests, waitForSufficientRepliesForRequests, checkReqAck from plenum.test.pool_transactions.helper import buildPoolClientAndWallet from stp_core.loop.eventually import eventuallyAll from stp_core.vali...
38.917808
99
0.697994
297
2,841
6.52862
0.37037
0.028881
0.036101
0.027849
0.130995
0.092831
0.092831
0.047447
0
0
0
0.015726
0.239
2,841
72
100
39.458333
0.881129
0.114044
0
0
0
0
0.010459
0
0
0
0
0
0.043478
1
0.086957
false
0
0.195652
0
0.282609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af8a181071e7abdcc867b84eb6bf5ea64085f25a
717
py
Python
churnalyze/py/churn_stats.py
Rdeandres/fight-churn
88fbff9b00f5ec4a9622073db15ab8809dfb21b3
[ "MIT" ]
null
null
null
churnalyze/py/churn_stats.py
Rdeandres/fight-churn
88fbff9b00f5ec4a9622073db15ab8809dfb21b3
[ "MIT" ]
null
null
null
churnalyze/py/churn_stats.py
Rdeandres/fight-churn
88fbff9b00f5ec4a9622073db15ab8809dfb21b3
[ "MIT" ]
null
null
null
import sys from churn_calc import ChurnCalculator def main(): ''' Creates churn calculator and runs the statistics and correlation functions. The schema name is taken from the first command line argument. The dataset and all other parameters are then taken from the schema configuration. :return: ...
23.9
86
0.687587
97
717
4.907216
0.484536
0.094538
0.10084
0.05042
0.134454
0.134454
0.134454
0.134454
0
0
0
0.008993
0.224547
717
29
87
24.724138
0.847122
0.327755
0
0
0
0
0.037445
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af8b4f7cdd96f1e05ccc0b6456d5fe449a767019
2,888
py
Python
python/contrib/head_pose_picture/src/yolov3/yolov3.py
coldenheart/123
798768bba7dfaef051a46d8e1df48bc671de5213
[ "Apache-2.0" ]
25
2020-11-20T09:01:35.000Z
2022-03-29T10:35:38.000Z
python/contrib/head_pose_picture/src/yolov3/yolov3.py
coldenheart/123
798768bba7dfaef051a46d8e1df48bc671de5213
[ "Apache-2.0" ]
5
2021-02-28T20:49:37.000Z
2022-03-04T21:50:27.000Z
python/contrib/head_pose_picture/src/yolov3/yolov3.py
coldenheart/123
798768bba7dfaef051a46d8e1df48bc671de5213
[ "Apache-2.0" ]
16
2020-12-06T07:26:13.000Z
2022-03-01T07:51:55.000Z
"""Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License i...
39.027027
100
0.630194
398
2,888
4.454774
0.379397
0.033841
0.025381
0.038917
0.062042
0.031585
0
0
0
0
0
0.028972
0.259003
2,888
73
101
39.561644
0.799533
0.322715
0
0
0
0
0.014369
0
0
0
0
0
0
1
0.081081
false
0
0.108108
0
0.27027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af8d86b547c3138c87e5922ed826526a715c832e
3,466
py
Python
rstbx/simulation/sim_pdf.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
rstbx/simulation/sim_pdf.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
rstbx/simulation/sim_pdf.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
from __future__ import absolute_import, division, print_function from six.moves import range from scitbx.array_family import flex page_origin = (20.,220.) boxedge = 500. class PointTransform: '''provide the necessary transformation to go from image pixel coordinates to coordinates on the printed page of the .pd...
31.798165
89
0.671091
490
3,466
4.542857
0.322449
0.040431
0.044924
0.028302
0.196766
0.151842
0.127583
0.127583
0.127583
0.127583
0
0.036863
0.201673
3,466
108
90
32.092593
0.767618
0.055395
0
0.137931
0
0.011494
0.060374
0
0
0
0
0
0
1
0.091954
false
0.022989
0.16092
0
0.321839
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af950ed2adf47bfd5bbac8fc2d72461c9405f310
1,809
py
Python
lemonspotter/samplers/declare.py
martinruefenacht/lemonspotter
4e24759aded6536bbb3cdcc311e5eaf72d52c4e3
[ "MIT" ]
null
null
null
lemonspotter/samplers/declare.py
martinruefenacht/lemonspotter
4e24759aded6536bbb3cdcc311e5eaf72d52c4e3
[ "MIT" ]
20
2019-11-14T16:35:42.000Z
2021-05-17T14:55:44.000Z
lemonspotter/samplers/declare.py
martinruefenacht/lemonspotter
4e24759aded6536bbb3cdcc311e5eaf72d52c4e3
[ "MIT" ]
null
null
null
""" This module contains the definition of the DefaultSampler. """ import logging from typing import Iterable from lemonspotter.core.parameter import Direction from lemonspotter.core.sampler import Sampler from lemonspotter.core.variable import Variable from lemonspotter.core.function import Function from lemonspotte...
33.5
91
0.66335
183
1,809
6.480874
0.459016
0.067454
0.084317
0.048904
0.077572
0.077572
0.077572
0.077572
0
0
0
0
0.250415
1,809
53
92
34.132075
0.874631
0.139856
0
0.068966
0
0
0.147832
0.039422
0
0
0
0
0
1
0.103448
false
0
0.241379
0.034483
0.448276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af9558754aad314aeb8db737a2091bb0a63f662a
480
py
Python
source/python/LSWRC.py
JoHyukJun/algorithm-analysis
3eda22ce0eeb52490702206d73c04cff1eb3e72d
[ "Apache-2.0" ]
null
null
null
source/python/LSWRC.py
JoHyukJun/algorithm-analysis
3eda22ce0eeb52490702206d73c04cff1eb3e72d
[ "Apache-2.0" ]
null
null
null
source/python/LSWRC.py
JoHyukJun/algorithm-analysis
3eda22ce0eeb52490702206d73c04cff1eb3e72d
[ "Apache-2.0" ]
null
null
null
''' main.py Created by JO HYUK JUN on 2021 Copyright © 2021 JO HYUK JUN. All rights reserved. ''' class Solution: def lengthOfLongestSubstring(self, s: str) -> int: output = 0 str_set = [] for idx, val in enumerate(s): if val in str_set: s...
21.818182
58
0.525
62
480
3.967742
0.596774
0.170732
0.109756
0.146341
0.097561
0.097561
0
0
0
0
0
0.033784
0.383333
480
22
59
21.818182
0.793919
0.1875
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af95fa980c5195e3c75aff212645fcf4a36ea392
2,532
py
Python
tyranokiller.py
satoki/tyranokiller
9a4d707ca9f0d2469e9cbd0b57f474b2c96c2d9d
[ "MIT" ]
5
2021-12-23T11:23:40.000Z
2022-01-01T22:48:18.000Z
tyranokiller.py
satoki/tyranoscript_vulnerability
9a4d707ca9f0d2469e9cbd0b57f474b2c96c2d9d
[ "MIT" ]
null
null
null
tyranokiller.py
satoki/tyranoscript_vulnerability
9a4d707ca9f0d2469e9cbd0b57f474b2c96c2d9d
[ "MIT" ]
null
null
null
# Exploit Title: TyranoScript 5.13b - Arbitrary Code Execution # Date: 27/03/2022 # Exploit Author: Satoki # Vendor Homepage: https://tyrano.jp/ # Software Link: https://github.com/ShikemokuMK/tyranoscript # # Version (Save Data ACE): # TyranoScriptV5 <= 5.04b # TyranoScript <= 4.83 # # Version (Development Data ...
30.506024
110
0.527646
265
2,532
4.754717
0.490566
0.011111
0.011905
0.012698
0.005556
0.005556
0
0
0
0
0
0.035608
0.201422
2,532
82
111
30.878049
0.587537
0.236967
0
0.170213
0
0.085106
0.167715
0.036688
0
0
0
0
0
1
0
false
0
0.085106
0
0.085106
0.106383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af9c8aaccf0095264c9bcfb36a5958fdb4382d26
1,322
py
Python
core/loader.py
1x-eng/ext-a-cy
d6efbabca89243c9c41ce4c130e9f963b2b42229
[ "MIT" ]
null
null
null
core/loader.py
1x-eng/ext-a-cy
d6efbabca89243c9c41ce4c130e9f963b2b42229
[ "MIT" ]
null
null
null
core/loader.py
1x-eng/ext-a-cy
d6efbabca89243c9c41ce4c130e9f963b2b42229
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By __author__='Pruthvi Kumar' # 30 June 2019. # pruthvikumar.123@gmail.com # L...
33.897436
114
0.67171
178
1,322
4.842697
0.5
0.069606
0.097448
0.064965
0
0
0
0
0
0
0
0.011044
0.246596
1,322
38
115
34.789474
0.854418
0.229955
0
0
0
0
0.082097
0
0
0
0
0
0
1
0.086957
false
0
0.217391
0
0.391304
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af9cf05604e40321edbad3928cd57491f9b1fcff
1,598
py
Python
Classicist Express/api/urls.py
RisalatShahriar/ccNews
d7b73bff86ac938d47be4f97d04a81af9ed00faf
[ "Apache-2.0" ]
null
null
null
Classicist Express/api/urls.py
RisalatShahriar/ccNews
d7b73bff86ac938d47be4f97d04a81af9ed00faf
[ "Apache-2.0" ]
null
null
null
Classicist Express/api/urls.py
RisalatShahriar/ccNews
d7b73bff86ac938d47be4f97d04a81af9ed00faf
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('bd', views.bdaffair, name="bd_api"), path('home', views.home_data, name='home_api'), path('cultural', views.cultural_insights, name='cultural_api'), path('sports', views.sports_insights, name='sports_api'), path('international',...
55.103448
83
0.71214
221
1,598
4.895928
0.126697
0.148799
0.110906
0.049908
0
0
0
0
0
0
0
0
0.112641
1,598
29
84
55.103448
0.763047
0
0
0
0
0
0.316448
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
af9ec8c3e054bbb041579522842ad9b2da17d23a
11,544
py
Python
farmer/ncc/metrics/segmentation_metrics.py
aiorhiroki/farmer.tf2
5d78f4b47b753ab2d595829c17fef7c6061235b5
[ "Apache-2.0" ]
null
null
null
farmer/ncc/metrics/segmentation_metrics.py
aiorhiroki/farmer.tf2
5d78f4b47b753ab2d595829c17fef7c6061235b5
[ "Apache-2.0" ]
7
2021-11-12T05:58:48.000Z
2022-02-25T07:05:26.000Z
farmer/ncc/metrics/segmentation_metrics.py
aiorhiroki/farmer.tf2
5d78f4b47b753ab2d595829c17fef7c6061235b5
[ "Apache-2.0" ]
null
null
null
import numpy as np from pathlib import Path import itertools from tqdm import tqdm from ..utils import get_imageset import matplotlib.pyplot as plt import cv2 import json from ..metrics.surface_dice import metrics as surface_distance from ..metrics.functional import calc_isolated_fp def calc_segmentation_metrics(confu...
34.981818
116
0.628638
1,540
11,544
4.485065
0.166883
0.037788
0.034458
0.014768
0.357029
0.306645
0.241639
0.22137
0.185609
0.164181
0
0.011258
0.261348
11,544
329
117
35.088146
0.798757
0.109061
0
0.237668
0
0
0.049478
0.010743
0
0
0
0
0.008969
1
0.058296
false
0
0.044843
0
0.156951
0.022422
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afa04ed205e39049b31fa8fd4108f5232fadca75
1,774
py
Python
mrbaviirc/template/actions/action_var.py
brianvanderburg2/python-mrbaviirc-template
6da213b30580d66fe7231c40bb7bbebb026a0789
[ "Apache-2.0" ]
null
null
null
mrbaviirc/template/actions/action_var.py
brianvanderburg2/python-mrbaviirc-template
6da213b30580d66fe7231c40bb7bbebb026a0789
[ "Apache-2.0" ]
null
null
null
mrbaviirc/template/actions/action_var.py
brianvanderburg2/python-mrbaviirc-template
6da213b30580d66fe7231c40bb7bbebb026a0789
[ "Apache-2.0" ]
null
null
null
""" Handler for the var action tag. """ # pylint: disable=too-few-public-methods,too-many-arguments,protected-access,unused-argument __author__ = "Brian Allen Vanderburg II" __copyright__ = "Copyright 2016-2019" __license__ = "Apache License 2.0" from . import ActionHandler, DefaultActionHandler from ..nodes import ...
28.612903
92
0.653326
210
1,774
5.309524
0.404762
0.080717
0.043049
0.035874
0.059193
0.059193
0.059193
0.059193
0
0
0
0.009489
0.227734
1,774
61
93
29.081967
0.80438
0.155017
0
0.058824
0
0
0.044828
0
0
0
0
0
0
1
0.117647
false
0
0.088235
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
afa0c7a4dbfb00577736a7f5962a39c917e15a9e
1,623
py
Python
tests/test_exp_worker_cred.py
RogerEMO/srd
40eb8bb02cfd3b1f60ed9eb3e361877fea744cb5
[ "MIT" ]
1
2021-11-22T18:15:09.000Z
2021-11-22T18:15:09.000Z
tests/test_exp_worker_cred.py
RogerEMO/srd
40eb8bb02cfd3b1f60ed9eb3e361877fea744cb5
[ "MIT" ]
3
2021-05-10T18:46:16.000Z
2021-06-01T16:51:48.000Z
tests/test_exp_worker_cred.py
RogerEMO/srd
40eb8bb02cfd3b1f60ed9eb3e361877fea744cb5
[ "MIT" ]
1
2021-05-05T17:20:06.000Z
2021-05-05T17:20:06.000Z
import pytest from math import isclose import sys sys.path.append('/Users/pyann/Dropbox (CEDIA)/srd/Model') import srd from srd import quebec # I use https://cffp.recherche.usherbrooke.ca/outils-ressources/guide-mesures-fiscales/credit-impot-prolongation-carriere/ # since they don't seem to adjust for taxabl...
36.066667
123
0.637708
249
1,623
4.02008
0.413655
0.053946
0.051948
0.047952
0.470529
0.451548
0.451548
0.3996
0.3996
0.3996
0
0.111373
0.214418
1,623
44
124
36.886364
0.673725
0.158349
0
0.4
0
0
0.066009
0
0
0
0
0
0.1
1
0.1
false
0
0.166667
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
afa13b4e4fc345a627c690ebb66190bf2e512666
1,382
py
Python
Prog1.py
tudoriliuta/UR3RL
9a98d530318f5931ddc195d8ffa7ebc406cd6419
[ "MIT" ]
1
2019-05-23T14:26:21.000Z
2019-05-23T14:26:21.000Z
Prog1.py
tudoriliuta/UR3RL
9a98d530318f5931ddc195d8ffa7ebc406cd6419
[ "MIT" ]
null
null
null
Prog1.py
tudoriliuta/UR3RL
9a98d530318f5931ddc195d8ffa7ebc406cd6419
[ "MIT" ]
null
null
null
# Type help("robolink") or help("robodk") for more information # Press F5 to run the script # Documentation: https://robodk.com/doc/en/RoboDK-API.html # Reference: https://robodk.com/doc/en/PythonAPI/index.html # Note: It is not required to keep a copy of this file, your python script is saved with the station from...
32.139535
100
0.644718
218
1,382
4.036697
0.458716
0.068182
0.061364
0.038636
0.043182
0
0
0
0
0
0
0.021174
0.248191
1,382
42
101
32.904762
0.825794
0.560781
0
0
0
0
0.020513
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afa4b7d2595f4e0c541626173ba9e42640a0a707
6,471
py
Python
ekmap_core/qgslabel_parser/label_parser.py
eKMap/ekmap-publisher-for-qgis
cb9dac6c29be3617c2155c1e38d9d1dffbdbad96
[ "MIT" ]
4
2020-11-11T07:07:55.000Z
2022-02-22T02:39:01.000Z
ekmap_core/qgslabel_parser/label_parser.py
eKMap/ekmap-publisher-for-qgis
cb9dac6c29be3617c2155c1e38d9d1dffbdbad96
[ "MIT" ]
2
2021-03-17T17:46:56.000Z
2021-03-18T08:19:04.000Z
ekmap_core/qgslabel_parser/label_parser.py
eKMap/ekmap-publisher-for-qgis
cb9dac6c29be3617c2155c1e38d9d1dffbdbad96
[ "MIT" ]
1
2021-10-31T21:00:55.000Z
2021-10-31T21:00:55.000Z
from PyQt5.QtWidgets import QMainWindow from ..ekmap_converter import eKConverter import re from qgis.core import QgsMessageLog class LabelParser: def __init__(self, labeling): self.labeling = labeling def _readTextStyle(self, settings): labelFormat = settings.format() field = settin...
36.767045
111
0.591871
567
6,471
6.726631
0.326279
0.053225
0.062402
0.022286
0.125852
0.104352
0.104352
0.076036
0.050865
0.050865
0
0.021808
0.319734
6,471
176
112
36.767045
0.844616
0.245403
0
0.115385
0
0
0.03765
0
0
0
0
0
0
1
0.067308
false
0
0.038462
0
0.182692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afa690096a6121167933e215558dabc81606d2f3
8,069
py
Python
main.py
lyffly/CameraCalibration
aacdcc9ea711154060f078f0564f8143077cac88
[ "BSD-3-Clause" ]
null
null
null
main.py
lyffly/CameraCalibration
aacdcc9ea711154060f078f0564f8143077cac88
[ "BSD-3-Clause" ]
null
null
null
main.py
lyffly/CameraCalibration
aacdcc9ea711154060f078f0564f8143077cac88
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # coding by liuyunfei # 2020-4-12 import sys from PyQt5.QtWidgets import QApplication, QMainWindow, QMessageBox from PyQt5.QtCore import QThread, pyqtSignal, QDateTime, QObject, QMutexLocker, QMutex, QTimer from PyQt5.QtGui import QPixmap from PyQt5 import Qt, QtCore from PyQt5.QtCo...
34.33617
137
0.587433
919
8,069
5.002176
0.249184
0.028279
0.021753
0.026104
0.224712
0.159452
0.114422
0.075266
0.054818
0.03437
0
0.027903
0.311563
8,069
234
138
34.482906
0.79964
0.01735
0
0.17801
0
0.005236
0.023292
0.003643
0
0
0
0
0
1
0.073298
false
0.005236
0.073298
0
0.17801
0.015707
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afaaa12bee233defec8a78a507b98355a9769f87
11,423
py
Python
actorcritic/envs/atari/model.py
jrobine/actor-critic
2f72d296c0b550982b0400b6afb7a7a0dfe3f144
[ "MIT" ]
10
2018-07-31T21:04:02.000Z
2022-02-03T18:58:45.000Z
actorcritic/envs/atari/model.py
jrobine/actor-critic
2f72d296c0b550982b0400b6afb7a7a0dfe3f144
[ "MIT" ]
null
null
null
actorcritic/envs/atari/model.py
jrobine/actor-critic
2f72d296c0b550982b0400b6afb7a7a0dfe3f144
[ "MIT" ]
1
2018-08-01T18:09:35.000Z
2018-08-01T18:09:35.000Z
"""An implementation of an actor-critic model that is aimed at Atari games.""" import gym import numpy as np import tensorflow as tf import actorcritic.nn as nn from actorcritic.baselines import StateValueFunction from actorcritic.model import ActorCriticModel from actorcritic.policies import SoftmaxPolicy class A...
46.246964
119
0.660597
1,344
11,423
5.37872
0.186756
0.02075
0.025176
0.034168
0.27611
0.181353
0.135565
0.087011
0.052704
0.044958
0
0.025163
0.248534
11,423
246
120
46.434959
0.816985
0.269281
0
0.068702
0
0
0.064225
0.005445
0
0
0
0.004065
0.015267
1
0.030534
false
0
0.053435
0
0.099237
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afb151ddaf6fe45b7776879d93b6a4036ec2ff77
2,863
py
Python
flow54/fuel_injector.py
corygoates/Flow54
d24fe113afb932df6a910b560c6d491693b87592
[ "MIT" ]
null
null
null
flow54/fuel_injector.py
corygoates/Flow54
d24fe113afb932df6a910b560c6d491693b87592
[ "MIT" ]
null
null
null
flow54/fuel_injector.py
corygoates/Flow54
d24fe113afb932df6a910b560c6d491693b87592
[ "MIT" ]
null
null
null
import copy import numpy as np from compressible_tools import * class FuelInjector: """A fuel injector. Parameters ---------- fuel : Species The fluid being fed through the injector. T : float Inlet temperature of injector. A : float Cross-sectional area. """ ...
24.895652
176
0.550472
373
2,863
4.096515
0.294906
0.062827
0.068063
0.020942
0.311518
0.301047
0.281414
0.21466
0.187173
0.149215
0
0.026036
0.342648
2,863
115
177
24.895652
0.785866
0.389801
0
0.058824
0
0
0.051389
0
0
0
0
0
0
1
0.147059
false
0
0.088235
0.029412
0.382353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afb26810722dea2343152102b81238f0ece5d0c5
1,976
py
Python
owoencode.py
glitchfur/owoencoder
ed81a03ba4bd504ca2de4da80fa618b12363b9db
[ "MIT" ]
4
2020-08-10T06:01:35.000Z
2021-08-30T02:26:29.000Z
owoencode.py
glitchfur/owoencoder
ed81a03ba4bd504ca2de4da80fa618b12363b9db
[ "MIT" ]
null
null
null
owoencode.py
glitchfur/owoencoder
ed81a03ba4bd504ca2de4da80fa618b12363b9db
[ "MIT" ]
1
2021-06-02T09:16:43.000Z
2021-06-02T09:16:43.000Z
#!/usr/bin/env python3 # owoencode.py, a part of owoencoder # Made by Glitch, 2020 # https://www.glitchfur.net from sys import argv, stdout, stderr from os.path import exists, split from os import remove KEEP_ORIG = False STDOUT_FLAG = False def main(): if len(argv) < 2: print("The syntax for running th...
30.875
77
0.577935
292
1,976
3.753425
0.434932
0.036496
0.041058
0.016423
0.062044
0.040146
0
0
0
0
0
0.015373
0.308704
1,976
63
78
31.365079
0.786969
0.148785
0
0.078431
0
0
0.140382
0
0
0
0
0
0
1
0.039216
false
0
0.058824
0
0.098039
0.078431
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afb31209b87b0007cddea5b09c524bff1b45d36d
2,589
py
Python
generators/query_gen.py
Abhipanda4/RQs_in_Regex_Graphs
80b86b5b3f92ef28102ac0f5049bb495b5cc07f9
[ "Apache-2.0" ]
2
2018-10-09T09:59:45.000Z
2021-11-21T17:01:47.000Z
generators/query_gen.py
Abhipanda4/RQs_in_Regex_Graphs
80b86b5b3f92ef28102ac0f5049bb495b5cc07f9
[ "Apache-2.0" ]
null
null
null
generators/query_gen.py
Abhipanda4/RQs_in_Regex_Graphs
80b86b5b3f92ef28102ac0f5049bb495b5cc07f9
[ "Apache-2.0" ]
null
null
null
# Fix number of node predicates at 1 out of 6 # this ensures queries with larger space of possible nodes # The number of colors in a query is varied from 1 to 5 import argparse import numpy as np from graph_gen import birth_years, genders, num_posts, num_friends possibilities = [1, 3, 4, 5] # do not consider equaliy ...
27.83871
83
0.565469
332
2,589
4.259036
0.358434
0.079208
0.108911
0.056577
0.202263
0.17256
0.138614
0.138614
0.138614
0.11174
0
0.022384
0.309772
2,589
92
84
28.141304
0.768886
0.164156
0
0.2
0
0
0.016279
0
0
0
0
0
0
1
0.061538
false
0
0.046154
0
0.153846
0.030769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afb5ce60435e8b3c83936754903becf1fcb4fbdf
1,292
py
Python
communication/templatetags/discussion.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
null
null
null
communication/templatetags/discussion.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
11
2020-03-24T15:29:46.000Z
2022-03-11T23:14:48.000Z
communication/templatetags/discussion.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
null
null
null
import string from django.template import Context from django.template.loader import get_template from django import template register = template.Library() import crm @register.inclusion_tag('comments/form.html') def render_cedar_comment_form(**kwargs): object = kwargs.pop('object', None) parent_id = kwargs...
28.711111
81
0.670279
147
1,292
5.70068
0.408163
0.077566
0.042959
0
0
0
0
0
0
0
0
0
0.220588
1,292
44
82
29.363636
0.832175
0.517802
0
0
0
0
0.124585
0
0
0
0
0
0.055556
1
0.055556
false
0
0.277778
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afb6bce0846f3ad5fdbe2619d6c7b2dd5348269a
3,504
py
Python
fairseq/criterions/cross_entropy.py
emailandxu/KUST-Fairseq-ST
95316cebc99d963c4aa671914ce219c5692f5fd6
[ "BSD-3-Clause" ]
null
null
null
fairseq/criterions/cross_entropy.py
emailandxu/KUST-Fairseq-ST
95316cebc99d963c4aa671914ce219c5692f5fd6
[ "BSD-3-Clause" ]
null
null
null
fairseq/criterions/cross_entropy.py
emailandxu/KUST-Fairseq-ST
95316cebc99d963c4aa671914ce219c5692f5fd6
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import math import torch import to...
37.276596
111
0.623002
447
3,504
4.720358
0.342282
0.052133
0.017062
0.017062
0.096682
0.077725
0
0
0
0
0
0.010413
0.259989
3,504
93
112
37.677419
0.803317
0.384703
0
0.05
0
0
0.073147
0
0
0
0
0
0
1
0.075
false
0
0.125
0
0.275
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afbb87c6ab776c79d599ae4c17e47909e935b3eb
3,845
py
Python
Year-2/Computational-math/src/labs/lab_2/methods.py
zubrailx/University-ITMO
9c746ab6cfa95ecd6ff02eb23e1f49c93337ec61
[ "MIT" ]
3
2021-10-13T05:01:37.000Z
2022-01-21T15:25:47.000Z
Year-2/Computational-math/src/labs/lab_2/methods.py
zubrailx/university
9c746ab6cfa95ecd6ff02eb23e1f49c93337ec61
[ "MIT" ]
null
null
null
Year-2/Computational-math/src/labs/lab_2/methods.py
zubrailx/university
9c746ab6cfa95ecd6ff02eb23e1f49c93337ec61
[ "MIT" ]
null
null
null
from copy import copy from modules.parse import parse from modules.equation import grad, node_flatten from modules.matrix import Matrix from modules.util import ProjectException from modules.util import Color, color_string def split_half(data: dict) -> dict: node_root = data["equation"][0] var_list = data["v...
40.904255
115
0.640312
564
3,845
4.117021
0.177305
0.046512
0.034453
0.068906
0.422481
0.408269
0.319552
0.236865
0.236865
0.236865
0
0.016399
0.222887
3,845
93
116
41.344086
0.76071
0.004421
0
0.275
0
0
0.161265
0
0
0
0
0
0.0125
1
0.0375
false
0
0.075
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afbc104c7579cd278f56fcd197e11d8c1c44ade6
1,807
py
Python
TerraformToAnsibleInventory/args.py
mrlesmithjr/python-terraform-to-ansible-inventory
0ceb251c8fbdcf23d186f1a1d66684af1b28c86c
[ "MIT" ]
5
2018-07-17T15:46:57.000Z
2020-01-18T23:54:23.000Z
TerraformToAnsibleInventory/args.py
mrlesmithjr/python-terraform-to-ansible-inventory
0ceb251c8fbdcf23d186f1a1d66684af1b28c86c
[ "MIT" ]
11
2018-07-19T13:04:50.000Z
2019-10-22T13:38:01.000Z
TerraformToAnsibleInventory/args.py
mrlesmithjr/python-terraform-to-ansible-inventory
0ceb251c8fbdcf23d186f1a1d66684af1b28c86c
[ "MIT" ]
4
2019-09-27T18:27:17.000Z
2021-12-22T13:41:03.000Z
import argparse from _version import __version__ def parse(): """Parse command line arguments.""" PARSER = argparse.ArgumentParser() PARSER.add_argument('-b', '--backend', help='Define which Terraform backend to parse', choices=['local', 'consul'], default='...
51.628571
81
0.58052
187
1,807
5.502674
0.406417
0.078717
0.148688
0.06414
0.157434
0.112731
0
0
0
0
0
0.003063
0.277255
1,807
34
82
53.147059
0.784839
0.016049
0
0
0
0
0.348194
0.014108
0
0
0
0
0
1
0.032258
false
0
0.064516
0
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afbcd4f337d7fb85d3b0e527567a1d3d85e5d0ed
1,928
py
Python
test.py
raveendezoysa/American-Sign-Language-to-Text-Based-Translator
0e0d3bea9912c87c51f00728742dc67cd85b7e66
[ "MIT" ]
null
null
null
test.py
raveendezoysa/American-Sign-Language-to-Text-Based-Translator
0e0d3bea9912c87c51f00728742dc67cd85b7e66
[ "MIT" ]
null
null
null
test.py
raveendezoysa/American-Sign-Language-to-Text-Based-Translator
0e0d3bea9912c87c51f00728742dc67cd85b7e66
[ "MIT" ]
null
null
null
# importing libraries from keras.preprocessing.image import ImageDataGenerator from keras.models import Sequential from keras.layers import Conv2D, MaxPooling2D from keras.layers import Activation, Dropout, Flatten, Dense from keras import backend as K img_width, img_height = 224, 224 train_data_dir = 'v_data/train'...
27.542857
67
0.761411
277
1,928
5.039711
0.3213
0.08596
0.039398
0.060888
0.323782
0.272206
0.23639
0.23639
0.23639
0.23639
0
0.036173
0.110996
1,928
69
68
27.942029
0.778296
0.009855
0
0.207547
0
0
0.062926
0
0
0
0
0
0
1
0
false
0
0.09434
0
0.09434
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afbe04768d0e6a472f75c12cbd235fcaf4b5e777
2,113
py
Python
intersimple-expert-rollout-setobs2.py
sisl/InteractionImitation
9c9ee8f21b53e71bbca86b0b79c6e6d913a20567
[ "MIT" ]
2
2022-03-13T19:43:08.000Z
2022-03-14T03:19:33.000Z
intersimple-expert-rollout-setobs2.py
sisl/InteractionImitation
9c9ee8f21b53e71bbca86b0b79c6e6d913a20567
[ "MIT" ]
null
null
null
intersimple-expert-rollout-setobs2.py
sisl/InteractionImitation
9c9ee8f21b53e71bbca86b0b79c6e6d913a20567
[ "MIT" ]
null
null
null
import torch import functools from src.core.sampling import rollout_sb3 from intersim.envs import IntersimpleLidarFlatIncrementingAgent from intersim.envs.intersimple import speed_reward from intersim.expert import NormalizedIntersimpleExpert from src.util.wrappers import CollisionPenaltyWrapper, Setobs import numpy as...
32.507692
88
0.630857
311
2,113
4.196141
0.289389
0.067433
0.055172
0.064368
0.192337
0.186207
0.178544
0.138697
0.138697
0.138697
0
0.077335
0.204449
2,113
65
89
32.507692
0.698989
0
0
0.214286
0
0
0.111637
0.036897
0
0
0
0
0
1
0.035714
false
0
0.178571
0
0.214286
0.089286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afbe9673b618fa0388c83b7abcd87db09f9c7dda
2,840
py
Python
FeatureTransformation/UserInputFeatureScalling.py
Himanshu14k/AdultIncomePrediction_Project
522f170111c5e6e45ef1e26ef21f86f4ea3a8dcc
[ "MIT" ]
2
2021-09-06T08:31:46.000Z
2021-10-30T12:53:21.000Z
FeatureTransformation/UserInputFeatureScalling.py
Himanshu14k/AdultIncomePrediction_Project
522f170111c5e6e45ef1e26ef21f86f4ea3a8dcc
[ "MIT" ]
1
2021-09-07T13:53:26.000Z
2021-09-07T13:53:26.000Z
FeatureTransformation/UserInputFeatureScalling.py
Himanshu14k/AdultIncomePrediction_Project
522f170111c5e6e45ef1e26ef21f86f4ea3a8dcc
[ "MIT" ]
2
2021-09-13T17:20:56.000Z
2021-11-21T16:05:16.000Z
from joblib import load from pandas import DataFrame import pickle class FeatureScaling: def __init__(self, user_input, logger_obj, file_obj): try: self.logger_obj = logger_obj self.file_obj = file_obj self.logger_obj.log("INFO", 'Different user input value assign proce...
53.584906
171
0.633099
349
2,840
5
0.280802
0.103152
0.111748
0.082521
0.343266
0.296275
0.270487
0.234957
0.187966
0.187966
0
0.00096
0.266197
2,840
53
172
53.584906
0.836372
0.058803
0
0.093023
0
0
0.280367
0.012987
0
0
0
0
0
1
0.046512
false
0
0.069767
0
0.162791
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afbeec327d96ab2c12353a666a3a203a3a3bf18e
4,073
py
Python
pyShelly/debug.py
rfvermut/pyShelly
c2f27ef14d1eaf94c403858a898a919d0005d639
[ "MIT" ]
39
2019-03-19T11:09:26.000Z
2022-03-19T12:44:47.000Z
pyShelly/debug.py
rfvermut/pyShelly
c2f27ef14d1eaf94c403858a898a919d0005d639
[ "MIT" ]
34
2019-05-21T18:41:18.000Z
2022-03-27T07:30:49.000Z
pyShelly/debug.py
rfvermut/pyShelly
c2f27ef14d1eaf94c403858a898a919d0005d639
[ "MIT" ]
42
2019-03-28T15:18:59.000Z
2021-12-27T19:16:44.000Z
import socket import threading import json import sys from io import StringIO from .loop import Loop from .const import ( LOGGER ) class Debug_connection(Loop): def __init__(self, parent, connection, client_address): super(Debug_connection, self).__init__("Debug connection", parent._root) sel...
30.62406
94
0.499386
410
4,073
4.773171
0.282927
0.050077
0.035258
0.01533
0.099131
0.053143
0.053143
0.053143
0.053143
0.053143
0
0.008554
0.39725
4,073
133
95
30.62406
0.788595
0.273508
0
0.292683
0
0
0.027027
0
0
0
0
0
0
1
0.097561
false
0.036585
0.085366
0
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afc0461dd64d75f8650665858aa646a390a84868
972
py
Python
setup.py
AGOberprieler/allcopol
7fd3d8ad7c9ff8410155691d8a37fdbea7783c81
[ "MIT" ]
1
2020-10-19T08:22:50.000Z
2020-10-19T08:22:50.000Z
setup.py
AGOberprieler/allcopol
7fd3d8ad7c9ff8410155691d8a37fdbea7783c81
[ "MIT" ]
null
null
null
setup.py
AGOberprieler/allcopol
7fd3d8ad7c9ff8410155691d8a37fdbea7783c81
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages with open("README.md", "r") as f: long_description = f.read() setup(name = "allcopol", version = "0.1.1", description = "AllCoPol: Inferring allele co-ancestry in polyploids", long_description = long_description, long_description_content_type = "text/ma...
30.375
73
0.644033
102
972
5.941176
0.666667
0.09901
0.062706
0.09901
0
0
0
0
0
0
0
0.006623
0.223251
972
31
74
31.354839
0.796026
0
0
0.074074
0
0
0.410917
0.190525
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afc04d85e4ad399b752a6a1b506501312782c229
2,686
py
Python
genalg/sample.py
davidkant/thresholds-ga
78988bb1bfa1c1eb32afc24edf59e5fde2f1c212
[ "Apache-2.0" ]
null
null
null
genalg/sample.py
davidkant/thresholds-ga
78988bb1bfa1c1eb32afc24edf59e5fde2f1c212
[ "Apache-2.0" ]
9
2018-05-06T18:55:29.000Z
2018-05-06T19:13:33.000Z
genalg/sample.py
davidkant/thresholds-ga
78988bb1bfa1c1eb32afc24edf59e5fde2f1c212
[ "Apache-2.0" ]
null
null
null
import spec import sonicfeatures import display import random import os class Sample: """Keep track of samples and their stuff.""" def __init__(self, genotype, gen=0, index=0, parents=None, fitness_func=None): self.genotype = genotype self.phentype = None self.fitness_func = fitness_f...
40.089552
120
0.624348
342
2,686
4.78655
0.269006
0.047037
0.031765
0.029322
0.221747
0.182651
0.075748
0.075748
0.075748
0.075748
0
0.009995
0.255026
2,686
66
121
40.69697
0.808096
0.167163
0
0.088889
0
0.022222
0.080073
0
0
0
0
0
0
1
0.177778
false
0
0.111111
0.022222
0.466667
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afc24baeb3d33abb5be32b2647fa2afb09362e83
1,945
py
Python
youtube_rss_subscriber/config.py
miquelruiz/youtube-rss-subscriber
0dbdb011faf910be7dfd4757cd7295b898d4297c
[ "WTFPL" ]
3
2021-03-21T07:43:12.000Z
2021-07-23T11:07:55.000Z
youtube_rss_subscriber/config.py
miquelruiz/youtube-rss-subscriber
0dbdb011faf910be7dfd4757cd7295b898d4297c
[ "WTFPL" ]
null
null
null
youtube_rss_subscriber/config.py
miquelruiz/youtube-rss-subscriber
0dbdb011faf910be7dfd4757cd7295b898d4297c
[ "WTFPL" ]
2
2021-04-11T13:26:29.000Z
2021-07-25T18:03:34.000Z
from typing import Any, Dict, List, Optional, cast from pathlib import Path import yaml CONFIG_FILE_NAME = "config.yml" CONFIG_DIRS = ( Path.home() / Path(".yrs"), Path("/etc/youtube-rss-subscriber"), ) class Config: _instance: Optional["Config"] = None _config: Dict[str, Any] _required_keys: L...
28.602941
79
0.568123
240
1,945
4.316667
0.3375
0.125483
0.121622
0.034749
0.042471
0
0
0
0
0
0
0.000752
0.316195
1,945
67
80
29.029851
0.778195
0
0
0.038462
0
0
0.132648
0.041131
0
0
0
0
0
1
0.076923
false
0
0.057692
0.038462
0.288462
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afcab14f17dffbf6475626aeb921c67d6e9af7bc
4,494
py
Python
Assets/ExpressiveRangeAnalyses/example_generator.py
rafaeldolfe/Mixed-initiative-Tile-based-Designer
9001f0e1b68ec8c9fa49d876d2cc6ec1426d1d01
[ "MIT" ]
null
null
null
Assets/ExpressiveRangeAnalyses/example_generator.py
rafaeldolfe/Mixed-initiative-Tile-based-Designer
9001f0e1b68ec8c9fa49d876d2cc6ec1426d1d01
[ "MIT" ]
null
null
null
Assets/ExpressiveRangeAnalyses/example_generator.py
rafaeldolfe/Mixed-initiative-Tile-based-Designer
9001f0e1b68ec8c9fa49d876d2cc6ec1426d1d01
[ "MIT" ]
null
null
null
import sys import numpy as np import math import matplotlib.pyplot as plt from numpy.lib.polynomial import poly import pandas as pd from matplotlib import cm import matplotlib.patheffects as path_effects import random class Run: def __init__(self, run_name, linearities, leniencies, ids): self.run_name = ru...
36.536585
198
0.715398
593
4,494
5.175379
0.187184
0.022809
0.030955
0.013685
0.254154
0.206582
0.179211
0.138156
0.138156
0.115347
0
0.005887
0.168447
4,494
122
199
36.836066
0.81536
0
0
0.043478
0
0.01087
0.077694
0.019368
0
0
0
0
0
1
0.076087
false
0
0.097826
0.032609
0.228261
0.119565
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afcbed072ad157da39a96ed8b309d2b6f0eb45c5
781
py
Python
tests/test_utils.py
cdyfng/pyetheroll
84149f328a1dc6db47834d02ade50e21286f3409
[ "MIT" ]
1
2018-11-01T02:58:35.000Z
2018-11-01T02:58:35.000Z
tests/test_utils.py
cdyfng/pyetheroll
84149f328a1dc6db47834d02ade50e21286f3409
[ "MIT" ]
13
2019-03-13T13:21:42.000Z
2020-05-27T21:55:40.000Z
tests/test_utils.py
cdyfng/pyetheroll
84149f328a1dc6db47834d02ade50e21286f3409
[ "MIT" ]
2
2019-08-01T07:01:31.000Z
2021-12-20T05:09:02.000Z
from datetime import datetime from pyetheroll.utils import EtherollUtils, timestamp2datetime class TestEtherollUtils: def test_compute_profit(self): bet_size = 0.10 chances_win = 34 payout = EtherollUtils.compute_profit(bet_size, chances_win) assert payout == 0.19 bet_size...
28.925926
68
0.644046
89
781
5.505618
0.47191
0.057143
0.032653
0.040816
0.404082
0.334694
0.334694
0.24898
0.24898
0.24898
0
0.109929
0.277849
781
26
69
30.038462
0.758865
0.052497
0
0.3
0
0
0.0271
0
0
0
0.01355
0
0.2
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afceefa6ab42fdff336bb5e178d3b569a6751ee3
7,156
py
Python
adventxtend.py
Textovortex/AdventXtend
0818804daecb570c98b6d7793a99223d2f14665b
[ "MIT" ]
1
2021-04-16T12:04:56.000Z
2021-04-16T12:04:56.000Z
adventxtend.py
leha-code/adventXtend
0818804daecb570c98b6d7793a99223d2f14665b
[ "MIT" ]
2
2021-04-16T16:16:47.000Z
2021-04-18T01:19:06.000Z
adventxtend.py
leha-code/adventXtend
0818804daecb570c98b6d7793a99223d2f14665b
[ "MIT" ]
null
null
null
''' ________ ________ ___ ___ _______ ________ _________ ___ ___ _________ _______ ________ ________ |\ __ \|\ ___ \|\ \ / /|\ ___ \ |\ ___ \|\___ ___\|\ \ / /|\___ ___\\ ___ \ |\ ___ \|\ ___ \ \ \ \|\ \ \ \_|\ \ \ \ / / | \ __/|\ \ \\ \ \|___ \ \_|\ ...
50.394366
237
0.396311
560
7,156
4.242857
0.228571
0.114899
0.044192
0.042088
0.208333
0.196549
0.127104
0.046296
0.046296
0.046296
0
0.007242
0.479039
7,156
141
238
50.751773
0.630097
0.546115
0
0.27027
0
0
0.070381
0.013685
0
0
0
0
0
1
0.054054
false
0
0.054054
0
0.148649
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afcf06799a4c681aefacbbab3bd0c395c6f657a8
700
py
Python
led_panel_client/cli/commands.py
Glutexo/ledpanel-client
c23b5913f4a7727f0a878a4240187fb8c16be034
[ "MIT" ]
1
2019-01-26T14:53:36.000Z
2019-01-26T14:53:36.000Z
led_panel_client/cli/commands.py
Glutexo/ledpanel-client
c23b5913f4a7727f0a878a4240187fb8c16be034
[ "MIT" ]
3
2018-08-05T14:53:55.000Z
2019-01-27T11:15:45.000Z
led_panel_client/cli/commands.py
Glutexo/ledpanel-client
c23b5913f4a7727f0a878a4240187fb8c16be034
[ "MIT" ]
null
null
null
from ampy.pyboard import Pyboard from ampy.files import Files from .files import led_panel_client, max7219 from os.path import basename from sys import argv def put(): """ Uploads all necessary files to the pyboard. """ if len(argv) < 2: print("Pyboard COM port not specified. Usage: led_panel_...
28
102
0.687143
99
700
4.656566
0.454545
0.052061
0.091106
0.091106
0
0
0
0
0
0
0
0.027778
0.228571
700
24
103
29.166667
0.825926
0.061429
0
0
0
0
0.132605
0.039002
0
0
0
0
0
1
0.058824
false
0
0.294118
0
0.352941
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
afcfa558f77ea2152e94c0d489367f3ae1bc234b
3,241
py
Python
koopman-intro/args.py
AbsoluteStratos/blog-code
3a8e308d55931b053b8a47268c52d62e0fa16bd8
[ "MIT" ]
2
2021-07-30T10:04:18.000Z
2022-01-30T18:29:30.000Z
koopman-intro/args.py
AbsoluteStratos/blog-code
3a8e308d55931b053b8a47268c52d62e0fa16bd8
[ "MIT" ]
1
2021-10-17T20:08:41.000Z
2021-10-17T20:08:41.000Z
koopman-intro/args.py
AbsoluteStratos/blog-code
3a8e308d55931b053b8a47268c52d62e0fa16bd8
[ "MIT" ]
2
2021-07-30T10:04:20.000Z
2021-09-01T00:07:14.000Z
''' Into to deep learning Koopman operators === Author: Nicholas Geneva (MIT Liscense) url: https://nicholasgeneva.com/blog/ github: https://github.com/NickGeneva/blog-code === ''' import numpy as np import random import argparse import os, errno, copy, json import torch class Parser(argparse.ArgumentParser): def...
41.551282
122
0.624499
428
3,241
4.630841
0.373832
0.052977
0.113522
0.028759
0.104945
0.097376
0.097376
0.077699
0.038345
0.038345
0
0.012929
0.236347
3,241
78
123
41.551282
0.787879
0.11046
0
0
0
0
0.228033
0.008182
0
0
0
0
0
1
0.06383
false
0
0.106383
0
0.212766
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afd07ae84271209f560ab1e8af1cb6cd4f30c6a7
336
py
Python
server/object_detection/Constants.py
KimSangYeon-DGU/Fire_Alarm_CCTV
a5dd6c145c898e85bf0c42c03f12cb0415330d74
[ "Apache-2.0" ]
10
2018-09-05T15:20:05.000Z
2020-06-01T03:57:08.000Z
server/object_detection/Constants.py
KimSangYeon-DGU/Fire_Alarm_CCTV
a5dd6c145c898e85bf0c42c03f12cb0415330d74
[ "Apache-2.0" ]
null
null
null
server/object_detection/Constants.py
KimSangYeon-DGU/Fire_Alarm_CCTV
a5dd6c145c898e85bf0c42c03f12cb0415330d74
[ "Apache-2.0" ]
7
2019-06-19T05:44:23.000Z
2020-08-30T07:26:13.000Z
import socket as sock import os IP = sock.gethostname() CCTV_PORT = 9000 ANDR_PORT = 8000 CUR_DIR = os.getcwd() REC_DIR = os.path.join(CUR_DIR, "record") DB_ADDR = "Database server address" PUSH_ADDR = "Push notification server address" REG_ID = "Registration ID" NOTIF_COUNT = 4 QUEUE_SIZE = 30 REC_FILE_NUM = 60 NO...
18.666667
46
0.752976
55
336
4.363636
0.727273
0.05
0
0
0
0
0
0
0
0
0
0.052817
0.154762
336
18
47
18.666667
0.792254
0
0
0
0
0
0.225519
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afd20fab82d3922fc99876b2d016b1c0bd247c6a
7,878
py
Python
sanstitre1.py
mrrobotsca/NLP-AI2020
ff9c39f3a1d1dd2fbc57d596edf01d0e035d5b59
[ "Apache-2.0" ]
null
null
null
sanstitre1.py
mrrobotsca/NLP-AI2020
ff9c39f3a1d1dd2fbc57d596edf01d0e035d5b59
[ "Apache-2.0" ]
2
2021-06-08T21:48:56.000Z
2021-09-08T02:11:07.000Z
sanstitre1.py
mrrobotsca/NLP-AI2020
ff9c39f3a1d1dd2fbc57d596edf01d0e035d5b59
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Feb 27 14:14:47 2019 @author: DK0086 """ import odema as od import numpy as np from datetime import datetime import pandas as pd import geopy.distance import math import os import time import sys from geopy.geocoders import Nominatim geolocator = Nominatim(u...
37.514286
180
0.621351
1,058
7,878
4.405482
0.190926
0.040764
0.030895
0.029178
0.398198
0.304012
0.250161
0.222055
0.214117
0.150611
0
0.039988
0.184184
7,878
209
181
37.69378
0.685234
0.046839
0
0.248366
0
0.006536
0.201092
0.030668
0
0
0
0
0
1
0
false
0
0.065359
0
0.065359
0.013072
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afd2843c7e52da7b669cdb447daf485dad48b407
4,398
py
Python
GlassdoorScrape/GlassdoorScrape/GlassdoorScrapeCore/GlassdoorScrapeInterviews.py
tlarsen7572/AlteryxTools
4bfaefbf59f7206215f42a6ca5b364f71c35fa1f
[ "BSD-2-Clause" ]
9
2019-05-29T12:53:03.000Z
2020-07-01T13:26:12.000Z
GlassdoorScrape/GlassdoorScrape/GlassdoorScrapeCore/GlassdoorScrapeInterviews.py
tlarsen7572/AlteryxTools
4bfaefbf59f7206215f42a6ca5b364f71c35fa1f
[ "BSD-2-Clause" ]
2
2018-07-20T00:23:46.000Z
2018-10-16T20:37:34.000Z
GlassdoorScrape/GlassdoorScrape/GlassdoorScrapeCore/GlassdoorScrapeInterviews.py
tlarsen7572/AlteryxTools
4bfaefbf59f7206215f42a6ca5b364f71c35fa1f
[ "BSD-2-Clause" ]
2
2019-03-15T13:43:36.000Z
2020-04-27T00:15:53.000Z
import GlassdoorScrapeCore.GlassdoorScrapeUtilities as Ut def decode_experience(html_string): if html_string.find("Positive", 0) != -1: return "Positive Experience" elif html_string.find("Neutral", 0) != -1: return "Neutral Experience" elif html_string.find("Negative", 0) != -1: re...
35.467742
135
0.571851
460
4,398
5.234783
0.226087
0.099668
0.081395
0.074751
0.339286
0.19892
0.155316
0.13289
0.105482
0.105482
0
0.01083
0.307185
4,398
123
136
35.756098
0.779455
0.054116
0
0.232558
0
0
0.202846
0.023396
0
0
0
0
0
1
0.05814
false
0
0.011628
0
0.290698
0.023256
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afd5a7231c757b5d59c10582041a64bcee61c37a
4,155
py
Python
30-Days-of-Python/Day_12.py
davidusken/Python
56d2103d6be1e7be850ba87a1ba1e113333ddf13
[ "MIT" ]
null
null
null
30-Days-of-Python/Day_12.py
davidusken/Python
56d2103d6be1e7be850ba87a1ba1e113333ddf13
[ "MIT" ]
null
null
null
30-Days-of-Python/Day_12.py
davidusken/Python
56d2103d6be1e7be850ba87a1ba1e113333ddf13
[ "MIT" ]
1
2021-02-28T12:52:55.000Z
2021-02-28T12:52:55.000Z
# Day 12: Functions # Exercises # Define four functions: add, subtract, divide, and multiply. Each function should take two arguments, and they should print the result of the arithmetic operation indicated by the function name. # When orders matters for an operation, the first argument should be treated as the left o...
43.736842
210
0.726113
618
4,155
4.843042
0.368932
0.084196
0.026061
0.036084
0.107918
0.080187
0.028065
0.028065
0
0
0
0.017317
0.180024
4,155
95
211
43.736842
0.861168
0.505415
0
0.037037
0
0.018519
0.324006
0.013255
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb5dfba5c5533938d6a17b1b05c8c187bd4dad1b
3,450
py
Python
models/combiner/combiner_network.py
tunasoup/multimodal-scene-classification
85f72da3f6ab947fff0929a6ff0e4a8d1fd34377
[ "MIT" ]
null
null
null
models/combiner/combiner_network.py
tunasoup/multimodal-scene-classification
85f72da3f6ab947fff0929a6ff0e4a8d1fd34377
[ "MIT" ]
null
null
null
models/combiner/combiner_network.py
tunasoup/multimodal-scene-classification
85f72da3f6ab947fff0929a6ff0e4a8d1fd34377
[ "MIT" ]
null
null
null
""" Contains the trainable sub-network of an ensemble classifier. Handles calling the training and evaluation. """ import torch import torch.nn as nn import torch.optim as optim from matplotlib.pyplot import show from utility.fusion_functions import (train_nn_combiner_model, test_...
35.9375
102
0.595072
416
3,450
4.6875
0.307692
0.046667
0.01641
0.038462
0.238462
0.201538
0.201538
0.163077
0.117949
0.117949
0
0.058502
0.311304
3,450
95
103
36.315789
0.762205
0.04
0
0.084746
0
0
0.009023
0
0
0
0
0
0
1
0.033898
false
0
0.118644
0
0.186441
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb63df222835f6eb78ba3c732e704619ca12b613
899
py
Python
data/transcoder_evaluation_gfg/python/CHECK_STRING_FOLLOWS_ANBN_PATTERN_NOT.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/python/CHECK_STRING_FOLLOWS_ANBN_PATTERN_NOT.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/python/CHECK_STRING_FOLLOWS_ANBN_PATTERN_NOT.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # def f_gold ( str ) : n = len ( str ) for i in range ( n ) : if ( str [ i ] != 'a' ) : break if (...
23.051282
64
0.506118
113
899
3.876106
0.584071
0.054795
0.027397
0
0
0
0
0
0
0
0
0.024793
0.32703
899
39
65
23.051282
0.699174
0.205784
0
0.068966
0
0
0.114569
0
0
0
0
0
0
1
0.034483
false
0
0
0
0.137931
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb66ace576783c81b7f71f58e215ed9554b532e3
1,249
py
Python
iipython/embeds.py
plasma-chat/plugins
58dc5e6520e62fb473eb4fda4292b9adb424b75d
[ "MIT" ]
null
null
null
iipython/embeds.py
plasma-chat/plugins
58dc5e6520e62fb473eb4fda4292b9adb424b75d
[ "MIT" ]
null
null
null
iipython/embeds.py
plasma-chat/plugins
58dc5e6520e62fb473eb4fda4292b9adb424b75d
[ "MIT" ]
null
null
null
# Copyright 2022 iiPython # Modules import time # Initialization embed_size = 45 # Plugin class class EmbedPlugins(object): def __init__(self, eventmgr) -> None: self.meta = { "name": "Embeds", "author": "iiPython", "id": "embeds" } self.eventmgr = even...
29.046512
156
0.542834
153
1,249
4.366013
0.470588
0.053892
0.026946
0
0
0
0
0
0
0
0
0.018307
0.30024
1,249
42
157
29.738095
0.744851
0.069656
0
0
0
0
0.082251
0
0
0
0
0
0
1
0.153846
false
0
0.038462
0
0.384615
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb66fc7050d575d46b09f705e4a0c71d8c66cda1
11,303
py
Python
inn.py
NLipatov/INNer
88816c91bfb85f287b734aff69a5b60ad43f129e
[ "MIT" ]
null
null
null
inn.py
NLipatov/INNer
88816c91bfb85f287b734aff69a5b60ad43f129e
[ "MIT" ]
null
null
null
inn.py
NLipatov/INNer
88816c91bfb85f287b734aff69a5b60ad43f129e
[ "MIT" ]
null
null
null
import time, os, xlrd, xlwt, re, webbrowser, time_convert, Process_killer, tkinter as tk from tkinter import messagebox as mb from xlwt import easyxf from threading import Thread from selenium import webdriver from selenium.common.exceptions import SessionNotCreatedException from selenium.webdriver.chrome.options...
41.862963
116
0.508891
1,116
11,303
5.061828
0.305556
0.019472
0.033103
0.036998
0.203222
0.137723
0.111524
0.088865
0.052753
0.033634
0
0.016064
0.383173
11,303
269
117
42.018587
0.793316
0.009378
0
0.3125
0
0
0.184839
0.022704
0
0
0
0
0
1
0.033333
false
0.033333
0.041667
0.004167
0.079167
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
0
0
0
0
0
0
0
0
1
0
bb67eb4b7ecd3f699aaf7a537dafe8901082a0fc
1,474
py
Python
pdf_gen.py
MasatoHanayama/pdf_gen
b16491a31cea0d1a4931e979d600870d6be07c3e
[ "MIT" ]
1
2022-03-15T12:57:46.000Z
2022-03-15T12:57:46.000Z
pdf_gen.py
MasatoHanayama/pdf_gen
b16491a31cea0d1a4931e979d600870d6be07c3e
[ "MIT" ]
null
null
null
pdf_gen.py
MasatoHanayama/pdf_gen
b16491a31cea0d1a4931e979d600870d6be07c3e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import argparse import img2pdf import tqdm from natsort import natsorted from PIL import Image def pdf_gen(src, dst): pages = [] for file in natsorted(os.listdir(src)): if os.path.splitext(file)[-1] == '.jpg' or os.path.splitext(file)[-1] == '.jpeg' or os.path.splitex...
28.346154
129
0.586839
220
1,474
3.854545
0.295455
0.063679
0.082547
0.106132
0.475236
0.415094
0.365566
0.365566
0.308962
0.308962
0
0.010667
0.236771
1,474
51
130
28.901961
0.743111
0.154003
0
0.060606
0
0
0.053355
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.30303
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb67fb540424cdb298487932ac6c8b19b1c4e193
1,113
py
Python
userapiexpiry.py
tjarrettveracode/veracode-python-api_credentials_expiry-example
3188c53f81c4bf0b5f4d27f4aa1dc3de2f3f5aef
[ "MIT" ]
null
null
null
userapiexpiry.py
tjarrettveracode/veracode-python-api_credentials_expiry-example
3188c53f81c4bf0b5f4d27f4aa1dc3de2f3f5aef
[ "MIT" ]
null
null
null
userapiexpiry.py
tjarrettveracode/veracode-python-api_credentials_expiry-example
3188c53f81c4bf0b5f4d27f4aa1dc3de2f3f5aef
[ "MIT" ]
null
null
null
import sys import requests import datetime from dateutil.parser import parse from veracode_api_py import VeracodeAPI as vapi def creds_expire_days_warning(): creds = vapi().get_creds() exp = datetime.datetime.strptime(creds['expiration_ts'], "%Y-%m-%dT%H:%M:%S.%f%z") delta = exp - datetime.datetime.now()....
32.735294
115
0.645103
147
1,113
4.659864
0.414966
0.10219
0.048175
0.064234
0
0
0
0
0
0
0
0.004582
0.215633
1,113
34
116
32.735294
0.780069
0.060198
0
0
0
0
0.222967
0.021053
0
0
0
0
0
1
0.08
false
0
0.2
0
0.28
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb68392d7aa3e6ae41470c5c442a63fe00343194
3,258
py
Python
recipes/tensorflow/samples/pytorch/cifar10/samples/tensorflow/scorer.py
arturrutkiewicz-divae/aep-rfm-score
705fc54e505fdb8763073401be7b97c81474b0a9
[ "Apache-2.0" ]
18
2018-12-13T18:53:31.000Z
2021-09-29T20:14:05.000Z
recipes/tensorflow/samples/pytorch/cifar10/samples/tensorflow/scorer.py
DalavanCloud/experience-platform-dsw-reference
2e0af85a47ec05b7cda77d61954c1cde0a625f5c
[ "Apache-2.0" ]
27
2019-01-02T22:52:51.000Z
2021-05-26T15:14:17.000Z
recipes/tensorflow/samples/pytorch/cifar10/samples/tensorflow/scorer.py
DalavanCloud/experience-platform-dsw-reference
2e0af85a47ec05b7cda77d61954c1cde0a625f5c
[ "Apache-2.0" ]
18
2019-01-09T19:34:57.000Z
2020-10-19T11:06:50.000Z
# # Copyright 2017 Adobe. # # 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,...
34.659574
75
0.533456
380
3,258
4.523684
0.45
0.034904
0.008726
0.011635
0.029087
0.029087
0.029087
0.006981
0.006981
0.006981
0
0.039942
0.369859
3,258
93
76
35.032258
0.79737
0.229589
0
0
0
0
0.054076
0.011471
0
0
0
0
0
1
0.053571
false
0
0.142857
0
0.25
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb69a0519f4167f3e5c1740dabcb4206f8eb16f8
261
py
Python
Projects/ESP32Micropython/flash memory/newConnectTest.py
TizioMaurizio/ArduinoWorkshop
d38ede91c6b7a925eafb0272a5fa9f44885ae017
[ "MIT" ]
null
null
null
Projects/ESP32Micropython/flash memory/newConnectTest.py
TizioMaurizio/ArduinoWorkshop
d38ede91c6b7a925eafb0272a5fa9f44885ae017
[ "MIT" ]
null
null
null
Projects/ESP32Micropython/flash memory/newConnectTest.py
TizioMaurizio/ArduinoWorkshop
d38ede91c6b7a925eafb0272a5fa9f44885ae017
[ "MIT" ]
null
null
null
import network import time sta_if = network.WLAN(network.STA_IF) sta_if.active(True) for _ in range(10): sta_if.connect('RedmiMau', 'mau12397') time.sleep(1) if sta_if.isconnected(): print('Connected.') break time.sleep(11) else: print('Fail')
20.076923
39
0.701149
40
261
4.425
0.6
0.141243
0.079096
0
0
0
0
0
0
0
0
0.045045
0.149425
261
13
40
20.076923
0.752252
0
0
0
0
0
0.114504
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb6b66c4796e5839d80de0a9f7880f3c7a632215
2,829
py
Python
cogs/start.py
Yureehh/Perfecto---O---Tron
cfd6f1819a9e4b7a9a406061bb7fadfea4084a86
[ "MIT" ]
null
null
null
cogs/start.py
Yureehh/Perfecto---O---Tron
cfd6f1819a9e4b7a9a406061bb7fadfea4084a86
[ "MIT" ]
1
2020-09-16T16:27:52.000Z
2020-09-16T16:27:52.000Z
cogs/start.py
Yureehh/Perfecto---O---Tron
cfd6f1819a9e4b7a9a406061bb7fadfea4084a86
[ "MIT" ]
null
null
null
import discord from discord.ext import commands,tasks from datetime import datetime import asyncio from itertools import cycle #number of minutes used at timer for loops MINUTES_TO_WAIT = 30 #in the brackets there's the class you are extending class Start(commands.Cog): def __init__(self, bot, messages=0, joined...
36.269231
183
0.625309
374
2,829
4.649733
0.395722
0.028177
0.054629
0.069005
0.222542
0.222542
0.154687
0.057504
0.057504
0.057504
0
0.006715
0.26299
2,829
78
184
36.269231
0.827338
0.082715
0
0.157895
0
0.017544
0.170205
0
0
0
0
0
0
1
0.035088
false
0
0.087719
0
0.140351
0.035088
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb6cc5ff9b1a00d13872972359a28898848fa4c7
14,716
py
Python
tests/test_parser.py
RathmoreChaos/intficpy
a5076bba93208dc18dcbf2e4ad720af9e2127eda
[ "MIT" ]
25
2019-04-30T23:51:44.000Z
2022-03-23T02:02:54.000Z
tests/test_parser.py
RathmoreChaos/intficpy
a5076bba93208dc18dcbf2e4ad720af9e2127eda
[ "MIT" ]
4
2019-07-09T03:43:35.000Z
2022-01-10T23:41:46.000Z
tests/test_parser.py
RathmoreChaos/intficpy
a5076bba93208dc18dcbf2e4ad720af9e2127eda
[ "MIT" ]
5
2021-04-24T03:54:39.000Z
2022-01-06T20:59:03.000Z
from .helpers import IFPTestCase from intficpy.ifp_game import IFPGame from intficpy.thing_base import Thing from intficpy.things import Surface, UnderSpace from intficpy.actor import Actor, SpecialTopic from intficpy.verb import ( IndirectObjectVerb, GetVerb, LookVerb, SetOnVerb, LeadDirVerb, ...
32.414097
89
0.647323
1,733
14,716
5.345066
0.151183
0.08982
0.055921
0.083882
0.608118
0.576055
0.5346
0.488934
0.403865
0.370614
0
0.002631
0.251019
14,716
453
90
32.485651
0.837779
0
0
0.354167
0
0
0.189861
0.018279
0
0
0
0
0.14881
1
0.083333
false
0
0.020833
0.002976
0.151786
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb6e51b991925d3f2d075e10b6faa76829b92e27
965
py
Python
setup.py
KAJdev/pydisfish
aca538cb3e774b4e92469b4f0dd7c8f724088e16
[ "MIT" ]
1
2021-11-04T18:38:43.000Z
2021-11-04T18:38:43.000Z
setup.py
KAJdev/pydisfish
aca538cb3e774b4e92469b4f0dd7c8f724088e16
[ "MIT" ]
null
null
null
setup.py
KAJdev/pydisfish
aca538cb3e774b4e92469b4f0dd7c8f724088e16
[ "MIT" ]
null
null
null
import setuptools import re with open("README.md", "r") as fh: long_description = fh.read() version = '' with open('pydisfish/__init__.py') as f: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), re.MULTILINE).group(1) if not version: raise RuntimeError('version is not set') requi...
28.382353
99
0.65285
112
965
5.491071
0.625
0.097561
0.061789
0.097561
0
0
0
0
0
0
0
0.002564
0.19171
965
33
100
29.242424
0.785897
0
0
0
0
0
0.35544
0.043523
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb70059c996805e1f7f560d971daa768591ddbce
9,173
py
Python
backup/data_bk.py
ieee820/BraTS2018-tumor-segmentation
22e1a22909a0c21503b5ef5fc6860a1e1131e851
[ "MIT" ]
157
2018-09-22T20:45:04.000Z
2022-01-24T13:08:09.000Z
backup/data_bk.py
bonjoura/BraTS2018-tumor-segmentation
22e1a22909a0c21503b5ef5fc6860a1e1131e851
[ "MIT" ]
null
null
null
backup/data_bk.py
bonjoura/BraTS2018-tumor-segmentation
22e1a22909a0c21503b5ef5fc6860a1e1131e851
[ "MIT" ]
53
2018-10-09T09:34:15.000Z
2021-08-14T10:24:43.000Z
import sys if sys.version_info[0] == 2: import Queue as queue else: import queue import os import math import multiprocessing as mp import threading import torch from torch.utils.data import Dataset import numpy as np from data_utils import get_receptive_field, get_sub_patch_shape, \ get_offset, sampl...
29.782468
94
0.578764
1,245
9,173
4.105221
0.209639
0.035218
0.024653
0.009978
0.137351
0.121698
0.076306
0.054392
0.043044
0.043044
0
0.038438
0.296631
9,173
307
95
29.879479
0.75372
0.066172
0
0.146119
0
0
0.021946
0.005398
0
0
0
0
0
1
0.068493
false
0
0.073059
0.022831
0.200913
0.018265
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
bb715b8832fba253f15741c5824e20ae8941000e
2,364
py
Python
backintime/candles_providers/binance_api_candles/binance_api_candles.py
akim-mukhtarov/backtesting
2d0491b919885eeddd62c4079c9c7292381cb4f9
[ "MIT" ]
null
null
null
backintime/candles_providers/binance_api_candles/binance_api_candles.py
akim-mukhtarov/backtesting
2d0491b919885eeddd62c4079c9c7292381cb4f9
[ "MIT" ]
null
null
null
backintime/candles_providers/binance_api_candles/binance_api_candles.py
akim-mukhtarov/backtesting
2d0491b919885eeddd62c4079c9c7292381cb4f9
[ "MIT" ]
null
null
null
from .utils import to_ms, to_candle from ..api_candles import ApiCandles from ...timeframes import Timeframes import datetime, time import requests as r class BinanceApiCandles(ApiCandles): _url = 'https://api.binance.com/api/v3/klines' # <Timeframes> : <str - binance str repr> _binance_interv...
31.945946
76
0.576565
261
2,364
4.961686
0.429119
0.021622
0.030116
0
0
0
0
0
0
0
0
0.021237
0.322758
2,364
73
77
32.383562
0.787633
0.047377
0
0
0
0
0.073103
0
0
0
0
0
0
1
0.067797
false
0.033898
0.084746
0
0.237288
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0