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
de44c06366bdb1cf83f5f3bb8ad925cefb959cf0
1,222
py
Python
app/wqFull/dev/trans.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
app/wqFull/dev/trans.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
null
null
null
app/wqFull/dev/trans.py
fkwai/geolearn
30cb4353d22af5020a48100d07ab04f465a315b0
[ "MIT" ]
2
2021-04-04T02:45:59.000Z
2022-03-19T09:41:39.000Z
from sklearn.preprocessing import QuantileTransformer, PowerTransformer from hydroDL.data import usgs, gageII, gridMET, ntn, GLASS, transform, dbBasin import numpy as np import matplotlib.pyplot as plt from hydroDL.post import axplot, figplot from hydroDL import kPath import json import os import importlib importlib.re...
25.458333
78
0.714403
180
1,222
4.85
0.522222
0.037801
0.04811
0.052692
0.222222
0.222222
0.066438
0.066438
0
0
0
0.079703
0.117021
1,222
47
79
26
0.729379
0.022095
0
0.114286
0
0
0.084803
0
0
0
0
0
0
1
0
false
0
0.314286
0
0.314286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
de463062073e4c38b0ef746845b5c9b821ed145e
659
py
Python
pysad/statistics/__init__.py
selimfirat/pysad
dff2ff38258eb8a85c9d34cf5f0b876fc1dc9ede
[ "BSD-3-Clause" ]
155
2020-08-17T12:52:38.000Z
2022-03-19T02:59:26.000Z
pysad/statistics/__init__.py
shubhsoni/pysad
dff2ff38258eb8a85c9d34cf5f0b876fc1dc9ede
[ "BSD-3-Clause" ]
2
2020-10-22T09:50:28.000Z
2021-02-15T02:01:44.000Z
pysad/statistics/__init__.py
shubhsoni/pysad
dff2ff38258eb8a85c9d34cf5f0b876fc1dc9ede
[ "BSD-3-Clause" ]
14
2020-10-09T17:08:23.000Z
2022-03-25T11:30:12.000Z
""" The :mod:`pysad.statistics` module contains methods to keep track of statistics on streaming data. """ from .abs_statistic import AbsStatistic from .average_meter import AverageMeter from .count_meter import CountMeter from .max_meter import MaxMeter from .median_meter import MedianMeter from .min_meter import MinM...
41.1875
163
0.814871
77
659
6.779221
0.506494
0.168582
0
0
0
0
0
0
0
0
0
0
0.103187
659
15
164
43.933333
0.883249
0.14871
0
0
0
0
0.20434
0
0
0
0
0
0
1
0
false
0
0.909091
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
de4f23bfb5a827684724b1fa6940e53745dbb142
1,166
py
Python
krpc_client.py
janismac/ksp_rtls_launch_to_rendezvous
195ebfb5aacf1a857aaaf0a69bf071d93d887efd
[ "Apache-2.0" ]
1
2020-11-07T15:53:19.000Z
2020-11-07T15:53:19.000Z
krpc_client.py
janismac/ksp_rtls_launch_to_rendezvous
195ebfb5aacf1a857aaaf0a69bf071d93d887efd
[ "Apache-2.0" ]
null
null
null
krpc_client.py
janismac/ksp_rtls_launch_to_rendezvous
195ebfb5aacf1a857aaaf0a69bf071d93d887efd
[ "Apache-2.0" ]
1
2020-11-07T15:56:06.000Z
2020-11-07T15:56:06.000Z
import sys import subprocess import time import json import krpc import math import scipy.integrate import numpy as np from PrePlanningChecklist import PrePlanningChecklist from PlannerUiPanel import PlannerUiPanel from MainUiPanel import MainUiPanel from ConfigUiPanel import ConfigUiPanel from AutopilotUiPanel import ...
25.911111
76
0.736707
142
1,166
5.84507
0.373239
0.038554
0.038554
0.050602
0
0
0
0
0
0
0
0.008584
0.200686
1,166
44
77
26.5
0.881974
0.044597
0
0.058824
0
0
0
0
0
0
0
0
0
1
0.029412
false
0
0.411765
0
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
de51709d96e27d7e3576d5ee6ad6f2ebabdc7ebc
1,441
py
Python
launch/gazebo.launch.py
fly4future/fog_gazebo_resources
1af1aa2d3a5e7c67bf39605655ca96a154daa4b3
[ "BSD-3-Clause" ]
null
null
null
launch/gazebo.launch.py
fly4future/fog_gazebo_resources
1af1aa2d3a5e7c67bf39605655ca96a154daa4b3
[ "BSD-3-Clause" ]
null
null
null
launch/gazebo.launch.py
fly4future/fog_gazebo_resources
1af1aa2d3a5e7c67bf39605655ca96a154daa4b3
[ "BSD-3-Clause" ]
null
null
null
"""Launch Gazebo server and client with command line arguments.""" from launch import LaunchDescription from launch.substitutions import LaunchConfiguration from launch.actions import DeclareLaunchArgument from launch.actions import IncludeLaunchDescription from launch.actions import ExecuteProcess from launch.conditi...
38.945946
117
0.696738
126
1,441
7.793651
0.444444
0.071283
0.051935
0.070265
0.187373
0.187373
0.187373
0.187373
0.187373
0
0
0
0.218598
1,441
36
118
40.027778
0.872114
0.041638
0
0.148148
0
0
0.155636
0.037818
0
0
0
0
0
1
0.037037
true
0
0.296296
0.037037
0.37037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
de55352cff35ae8596924966eb4c23a46054b461
1,124
py
Python
Weather API/app.py
TanushreeShaw/Weather
0bebe029536f579bbd9d28c07d3e33f3438a1a56
[ "MIT" ]
null
null
null
Weather API/app.py
TanushreeShaw/Weather
0bebe029536f579bbd9d28c07d3e33f3438a1a56
[ "MIT" ]
null
null
null
Weather API/app.py
TanushreeShaw/Weather
0bebe029536f579bbd9d28c07d3e33f3438a1a56
[ "MIT" ]
null
null
null
from flask import Flask, render_template, request import requests import json import os app = Flask(__name__) picfolder = os.path.join('static','pics') app.config['UPLOAD_FOLDER'] = picfolder @app.route('/temperature', methods=['POST']) def temperature(): pic1 = os.path.join(app.config['UPLO...
33.058824
152
0.670819
140
1,124
5.192857
0.492857
0.082531
0.061898
0.078404
0
0
0
0
0
0
0
0.034079
0.164591
1,124
33
153
34.060606
0.740149
0
0
0
0
0
0.222731
0.038497
0
0
0
0
0
0
null
null
0
0.153846
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
de65eb26862ea6588043a83de4e49020ae4daf2c
1,853
py
Python
socketserver_extra.py
sim642/pyqwebirc
cd0cc120eacd3eea60b827ff7b2b157ab4a5dd1e
[ "MIT" ]
null
null
null
socketserver_extra.py
sim642/pyqwebirc
cd0cc120eacd3eea60b827ff7b2b157ab4a5dd1e
[ "MIT" ]
2
2017-01-04T18:24:00.000Z
2017-01-04T18:50:32.000Z
socketserver_extra.py
sim642/pyqwebirc
cd0cc120eacd3eea60b827ff7b2b157ab4a5dd1e
[ "MIT" ]
null
null
null
import socketserver import socket class TextStreamRequestHandler(socketserver.BaseRequestHandler): """Define textual self.rfile and self.wfile for stream sockets.""" # Default buffer sizes for rfile, wfile. # We default rfile to buffered because otherwise it could be # really slow for large data (a g...
33.089286
88
0.652455
227
1,853
5.290749
0.524229
0.037469
0.052456
0
0
0
0
0
0
0
0
0.00223
0.27415
1,853
55
89
33.690909
0.890706
0.354021
0
0.066667
0
0
0.001695
0
0
0
0
0
0
1
0.066667
false
0.066667
0.066667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
de6c4ab063a946c3b3fd6bbb89fa20997b2be723
5,105
py
Python
src/carts/views.py
dhaval6552/ecommerce-2
ab80fbbf15c0fbd37db94cfd7aa9a3ac0b46c737
[ "MIT" ]
null
null
null
src/carts/views.py
dhaval6552/ecommerce-2
ab80fbbf15c0fbd37db94cfd7aa9a3ac0b46c737
[ "MIT" ]
null
null
null
src/carts/views.py
dhaval6552/ecommerce-2
ab80fbbf15c0fbd37db94cfd7aa9a3ac0b46c737
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import AuthenticationForm from django.core.urlresolvers import reverse from django.views.generic.base import View from django.views.generic.detail import SingleObjectMixin,DetailView from django.shortcuts import render,get_object_or_404,redirect from django.http import HttpResponseRedirec...
33.807947
92
0.582174
571
5,105
5.015762
0.210158
0.03352
0.031425
0.023743
0.17074
0.133729
0.074372
0.047137
0.047137
0.047137
0
0.006967
0.325171
5,105
151
93
33.807947
0.824383
0.004505
0
0.288889
0
0
0.064357
0.004723
0
0
0
0
0
0
null
null
0
0.074074
null
null
0.007407
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
de71e1c800cd0628725b2dd49b907881044e1b6d
721
py
Python
Python/PythonCgiMock03/src/maincgi/test/TestCgiMainXml.py
tduoth/JsObjects
eb3e2a8b1f47d0da53c8b1a85a7949269711932f
[ "MIT" ]
22
2015-02-26T09:07:18.000Z
2020-05-10T16:22:05.000Z
Python/PythonCgiMock03/src/maincgi/test/TestCgiMainXml.py
tduoth/JsObjects
eb3e2a8b1f47d0da53c8b1a85a7949269711932f
[ "MIT" ]
123
2016-04-05T18:32:41.000Z
2022-03-13T21:09:21.000Z
Python/PythonCgiMock03/src/maincgi/test/TestCgiMainXml.py
tduoth/JsObjects
eb3e2a8b1f47d0da53c8b1a85a7949269711932f
[ "MIT" ]
56
2015-03-19T22:26:37.000Z
2021-12-06T02:52:02.000Z
#!/usr/bin/python ''' Created on May 23, 2012 @author: Charlie ''' import unittest from mock import patch import xml.etree.ElementTree as ET from TestCgiMainBase import TestCgiMainBase @patch('cgi.FieldStorage') class TestCgiMainXml(TestCgiMainBase): def tearDown(self): pass def testName(self, MockC...
24.862069
71
0.647712
82
721
5.585366
0.670732
0.065502
0
0
0
0
0
0
0
0
0
0.014572
0.238558
721
29
72
24.862069
0.819672
0.166436
0
0
0
0
0.070826
0
0
0
0
0
0.111111
1
0.111111
false
0.055556
0.222222
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
de7659b57f254205c0bc591d8af1e1375127f4d8
336
py
Python
Chat app/Check IP.py
ArturWagnerBusiness/Projects-2018-2020
37a217dc325f3ba42d8a7a1a743e5b6f8fab5df4
[ "MIT" ]
null
null
null
Chat app/Check IP.py
ArturWagnerBusiness/Projects-2018-2020
37a217dc325f3ba42d8a7a1a743e5b6f8fab5df4
[ "MIT" ]
null
null
null
Chat app/Check IP.py
ArturWagnerBusiness/Projects-2018-2020
37a217dc325f3ba42d8a7a1a743e5b6f8fab5df4
[ "MIT" ]
null
null
null
from os import system as c i = "ipconfig" input(c(i)) # import win32clipboard # from time import sleep as wait # set clipboard data # while True: # win32clipboard.OpenClipboard() # win32clipboard.EmptyClipboard() # win32clipboard.SetClipboardText('Clipboard Blocked!') # win32clipboard.CloseClipboard() ...
24
59
0.720238
37
336
6.540541
0.675676
0.016529
0
0
0
0
0
0
0
0
0
0.043321
0.175595
336
13
60
25.846154
0.830325
0.779762
0
0
0
0
0.125
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
de7a78e426a815b7bd976727be3160a469af797a
9,185
py
Python
probedb/certs/builddb.py
dingdang2012/tlsprober
927f6177939470235bf336bca27096369932fc66
[ "Apache-2.0" ]
1
2019-01-30T13:18:02.000Z
2019-01-30T13:18:02.000Z
probedb/certs/builddb.py
dingdang2012/tlsprober
927f6177939470235bf336bca27096369932fc66
[ "Apache-2.0" ]
null
null
null
probedb/certs/builddb.py
dingdang2012/tlsprober
927f6177939470235bf336bca27096369932fc66
[ "Apache-2.0" ]
null
null
null
# Copyright 2010-2012 Opera Software ASA # # 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 ...
27.665663
163
0.706369
1,256
9,185
4.978503
0.184713
0.10331
0.080921
0.006397
0.477051
0.41676
0.379978
0.324004
0.304014
0.304014
0
0.016592
0.192923
9,185
332
164
27.665663
0.826926
0.114535
0
0.457143
0
0
0.029326
0
0
0
0
0
0.004082
0
null
null
0.008163
0.032653
null
null
0.077551
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
de852461942a9c2a911b8c95e145d87c827bf61c
651
py
Python
mezzanine_recipes/forms.py
tjetzinger/mezzanine-recipes
f00be89ae5b93fdb2cf2771270efb4ecfa30e313
[ "MIT" ]
6
2015-02-01T18:08:41.000Z
2021-06-20T16:24:11.000Z
mezzanine_recipes/forms.py
tjetzinger/mezzanine-recipes
f00be89ae5b93fdb2cf2771270efb4ecfa30e313
[ "MIT" ]
2
2020-02-11T21:19:13.000Z
2020-06-05T16:38:44.000Z
mezzanine_recipes/forms.py
tjetzinger/mezzanine-recipes
f00be89ae5b93fdb2cf2771270efb4ecfa30e313
[ "MIT" ]
1
2016-05-17T20:16:25.000Z
2016-05-17T20:16:25.000Z
from django import forms from mezzanine.blog.forms import BlogPostForm from .models import BlogPost # These fields need to be in the form, hidden, with default values, # since it posts to the blog post admin, which includes these fields # and will use empty values instead of the model defaults, without # these spe...
26.04
73
0.723502
86
651
5.406977
0.627907
0.047312
0.08172
0
0
0
0
0
0
0
0
0
0.201229
651
24
74
27.125
0.894231
0.463902
0
0
0
0
0.144615
0
0
0
0
0
0
1
0
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
de88715741307a44df748cb0254417ebbcf130e6
70,016
py
Python
MOTION.py
catubc/MOTION
528ce8a860e4f1f1075b85d3bcb162fb78bdad81
[ "MIT" ]
null
null
null
MOTION.py
catubc/MOTION
528ce8a860e4f1f1075b85d3bcb162fb78bdad81
[ "MIT" ]
null
null
null
MOTION.py
catubc/MOTION
528ce8a860e4f1f1075b85d3bcb162fb78bdad81
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec import cv2, os, sys, glob import scipy import sklearn import imageio import matplotlib.cm as cm import matplotlib import time from sklearn import decomposition, metrics, manifold, svm from tsne import bh_sne from matplotlib.path ...
39.049637
257
0.638211
9,472
70,016
4.574008
0.105997
0.021881
0.018904
0.015695
0.501489
0.452002
0.412072
0.383728
0.342435
0.325609
0
0.01988
0.210452
70,016
1,792
258
39.071429
0.763843
0.219393
0
0.350097
0
0.001934
0.088489
0.002879
0
0
0
0.001674
0
0
null
null
0.004836
0.021277
null
null
0.110251
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
de8d539f5152c1d0482b8d70ccc7c573352b8f81
6,061
py
Python
tableloader/tableFunctions/types.py
warlof/yamlloader
ff1c1e62ec40787dd77115f6deded8a93e77ebf6
[ "MIT" ]
26
2015-07-08T12:55:30.000Z
2022-01-21T11:44:35.000Z
tableloader/tableFunctions/types.py
warlof/yamlloader
ff1c1e62ec40787dd77115f6deded8a93e77ebf6
[ "MIT" ]
16
2016-05-01T17:42:44.000Z
2021-06-02T04:33:53.000Z
tableloader/tableFunctions/types.py
warlof/yamlloader
ff1c1e62ec40787dd77115f6deded8a93e77ebf6
[ "MIT" ]
17
2016-05-01T11:15:00.000Z
2021-12-02T03:25:04.000Z
# -*- coding: utf-8 -*- from yaml import load, dump try: from yaml import CSafeLoader as SafeLoader print "Using CSafeLoader" except ImportError: from yaml import SafeLoader print "Using Python SafeLoader" import os import sys reload(sys) sys.setdefaultencoding("utf-8") from sqlalchemy import Table def importyaml...
63.135417
193
0.530606
542
6,061
5.905904
0.202952
0.142143
0.079975
0.035614
0.491097
0.415183
0.379569
0.379569
0.324274
0.302406
0
0.00996
0.337403
6,061
95
194
63.8
0.787102
0.003465
0
0.282609
0
0
0.115932
0.006956
0
0
0
0
0
0
null
null
0
0.097826
null
null
0.054348
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
de949d00cedaeb2c6790aaae5c34a82b7c16d8c5
230
py
Python
ethernet/recv.py
bobbae/pingcap
c573688b42d35cefdbfa0121580807885aae8869
[ "Unlicense" ]
null
null
null
ethernet/recv.py
bobbae/pingcap
c573688b42d35cefdbfa0121580807885aae8869
[ "Unlicense" ]
1
2019-10-11T16:16:22.000Z
2019-10-11T16:16:22.000Z
ethernet/recv.py
bobbae/pingcap
c573688b42d35cefdbfa0121580807885aae8869
[ "Unlicense" ]
null
null
null
import sys import socket ETH_P_ALL=3 # not defined in socket module, sadly... s=socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(ETH_P_ALL)) s.bind((sys.argv[1], 0)) r=s.recv(2000) sys.stdout.write("<%s>\n"%repr(r))
25.555556
75
0.726087
45
230
3.577778
0.644444
0.049689
0.086957
0
0
0
0
0
0
0
0
0.033333
0.086957
230
8
76
28.75
0.733333
0.165217
0
0
0
0
0.031579
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
de94dc8dcf783cae1964a6addda472d802119e98
1,110
py
Python
legacy/exam.py
wangxinhe2006/xyzzyy
3267614132a3b9e448b6733f13e8019aa79db922
[ "MIT" ]
1
2021-07-16T02:29:35.000Z
2021-07-16T02:29:35.000Z
legacy/exam.py
wangxinhe2006/xyzzyy
3267614132a3b9e448b6733f13e8019aa79db922
[ "MIT" ]
null
null
null
legacy/exam.py
wangxinhe2006/xyzzyy
3267614132a3b9e448b6733f13e8019aa79db922
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from json import loads from urllib.request import urlopen, Request SITE = input('Site: ') COOKIE = 'pj=' + input('pj=') examList = loads(urlopen(Request(f'{SITE}/data/module/homework/all.asp?sAct=GetHomeworkListByStudent&iIsExam=1&iPageCount=' + loads(urlopen(Request(f'{SITE}/data/module/home...
48.26087
312
0.664865
128
1,110
5.765625
0.476563
0.075881
0.077236
0.081301
0.352304
0.273713
0.273713
0.227642
0.227642
0.227642
0
0.003226
0.162162
1,110
22
313
50.454545
0.790323
0.018919
0
0
0
0.058824
0.330882
0.204044
0
0
0
0
0.117647
1
0
false
0.058824
0.117647
0
0.117647
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
de97499bd44b3c33d3853cafca12103889273c3c
6,005
py
Python
core/polyaxon/cli/components/tuner.py
Ohtar10/polyaxon
1e41804e4ae6466b6928d06bc6ee6d2d9c7b8931
[ "Apache-2.0" ]
null
null
null
core/polyaxon/cli/components/tuner.py
Ohtar10/polyaxon
1e41804e4ae6466b6928d06bc6ee6d2d9c7b8931
[ "Apache-2.0" ]
null
null
null
core/polyaxon/cli/components/tuner.py
Ohtar10/polyaxon
1e41804e4ae6466b6928d06bc6ee6d2d9c7b8931
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2018-2021 Polyaxon, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
28.732057
85
0.657119
648
6,005
6.00463
0.220679
0.040093
0.016962
0.035466
0.72552
0.696479
0.696479
0.662041
0.648162
0.602673
0
0.007374
0.254788
6,005
208
86
28.870192
0.862123
0.116903
0
0.666667
0
0
0.120994
0
0
0
0
0
0
1
0.02381
false
0.005952
0.083333
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
de9ca51de5e3ba22b379f50a5e136405d59c8422
4,361
py
Python
estimator.py
2besweet/Covid-19-project
8cfa76662ed0b84999134a9faacbf390e8de31f3
[ "MIT" ]
1
2021-01-31T19:04:11.000Z
2021-01-31T19:04:11.000Z
estimator.py
2besweet/Covid-19-project
8cfa76662ed0b84999134a9faacbf390e8de31f3
[ "MIT" ]
1
2021-05-11T10:34:00.000Z
2021-05-11T10:34:00.000Z
estimator.py
2besweet/Covid-19-project
8cfa76662ed0b84999134a9faacbf390e8de31f3
[ "MIT" ]
null
null
null
def estimator(data): return data def __init__(self,reportedCases,name,days,totalHospitalbeds,avgDailyIncomeInUsd,avgDailyIncomePopulation): self.reportedCases=reportedCases self.name=name self.days=days self.totalHospitalbeds=totalHospitalbeds self.avgDailyIncomeInUsd=avg...
40.757009
127
0.698234
265
4,361
11.475472
0.309434
0.01973
0.025649
0.027951
0.137455
0.016442
0
0
0
0
0
0.03246
0.229993
4,361
106
128
41.141509
0.873139
0
0
0.051282
0
0
0.185441
0.087077
0
0
0
0
0
1
0.038462
false
0
0
0
0.051282
0.012821
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dea4ec2e4ccc51ad602efcb7e648252790b6ff2d
984
py
Python
src/pages/artists_main.py
haoweini/spotify_stream
83fd13d4da9fb54a595611d4c0cd594eb5b8a9fd
[ "MIT" ]
null
null
null
src/pages/artists_main.py
haoweini/spotify_stream
83fd13d4da9fb54a595611d4c0cd594eb5b8a9fd
[ "MIT" ]
null
null
null
src/pages/artists_main.py
haoweini/spotify_stream
83fd13d4da9fb54a595611d4c0cd594eb5b8a9fd
[ "MIT" ]
null
null
null
from turtle import width import streamlit as st import numpy as np import pandas as pd from dis import dis import streamlit as st from data.get_saved_library import get_saved_library, display_user_name, display_user_pic from data.get_recently_played import get_recently_played from data.get_top_artists import get_top_ar...
31.741935
136
0.816057
158
984
4.797468
0.417722
0.065963
0.043536
0.050132
0
0
0
0
0
0
0
0.001171
0.132114
984
31
137
31.741935
0.886417
0.049797
0
0.086957
0
0
0.034298
0
0
0
0
0
0
1
0.043478
false
0
0.782609
0
0.826087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
deadc8ea87d0e57d203447ee89704b440dd4a622
3,650
py
Python
read_csv.py
BigTony666/football-manager
12a4c3dc2bb60f9634b419b7c230d6f78df8d650
[ "MIT" ]
11
2019-04-23T23:15:43.000Z
2021-07-13T06:37:25.000Z
read_csv.py
BigTony666/football-manager
12a4c3dc2bb60f9634b419b7c230d6f78df8d650
[ "MIT" ]
null
null
null
read_csv.py
BigTony666/football-manager
12a4c3dc2bb60f9634b419b7c230d6f78df8d650
[ "MIT" ]
2
2019-03-07T21:07:34.000Z
2020-04-19T15:28:31.000Z
#!/usr/bin/env python # coding: utf-8 # In[2]: from collections import defaultdict import csv import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt # ## read data to numpy(not in use) # In[385]: # def readCsvToNumpy(file_name, feat_num): # util_mat = [] # with open...
27.037037
117
0.596164
460
3,650
4.53913
0.376087
0.056992
0.022989
0.015805
0.123563
0.029693
0.029693
0.029693
0
0
0
0.013578
0.253425
3,650
134
118
27.238806
0.752661
0.603288
0
0
0
0
0.235552
0
0
0
0
0
0
1
0
false
0.08
0.24
0
0.24
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
1
0
0
0
0
0
1
deaf2eb47ddc3dd822c0c77690801b5b8b2a48b0
1,492
py
Python
layers/ternary_ops.py
victorjoos/QuantizedNeuralNetworks-Keras-Tensorflow
4080ddff9c9e9a6fd5c1dd90997c63968195bb7e
[ "BSD-3-Clause" ]
1
2018-08-22T12:13:25.000Z
2018-08-22T12:13:25.000Z
layers/ternary_ops.py
victorjoos/QuantizedNeuralNetworks-Keras-Tensorflow
4080ddff9c9e9a6fd5c1dd90997c63968195bb7e
[ "BSD-3-Clause" ]
null
null
null
layers/ternary_ops.py
victorjoos/QuantizedNeuralNetworks-Keras-Tensorflow
4080ddff9c9e9a6fd5c1dd90997c63968195bb7e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import import keras.backend as K from time import sleep def switch(condition, t, e): if K.backend() == 'tensorflow': import tensorflow as tf return tf.where(condition, t, e) elif K.backend() == 'theano': import theano.tensor as tt ...
27.127273
99
0.632038
218
1,492
4.261468
0.376147
0.043057
0.051668
0.064586
0.437029
0.437029
0.437029
0.381055
0.381055
0.381055
0
0.038927
0.225201
1,492
54
100
27.62963
0.764706
0.386729
0
0
0
0
0.018779
0
0
0
0
0.018519
0
1
0.185185
false
0
0.185185
0
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
deb449183523148b00bdabf18e21714bbe3551c8
467
py
Python
src/courses/migrations/0006_auto_20200521_2038.py
GiomarOsorio/another-e-learning-platform
5cfc76420eb3466691f5187c915c179afb13199a
[ "MIT" ]
null
null
null
src/courses/migrations/0006_auto_20200521_2038.py
GiomarOsorio/another-e-learning-platform
5cfc76420eb3466691f5187c915c179afb13199a
[ "MIT" ]
8
2020-06-25T22:16:20.000Z
2022-03-12T00:39:27.000Z
src/courses/migrations/0006_auto_20200521_2038.py
GiomarOsorio/another-e-learning-platform
5cfc76420eb3466691f5187c915c179afb13199a
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-21 20:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('courses', '0005_auto_20200521_2038'), ] operations = [ migrations.AlterField( model_name='module', name='segments', ...
24.578947
129
0.631692
55
467
5.254545
0.727273
0.055363
0.110727
0.124567
0.17301
0.17301
0
0
0
0
0
0.089855
0.261242
467
18
130
25.944444
0.747826
0.09636
0
0
1
0
0.247619
0.054762
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
deb684b2e0198456aadb77cab383b2b6c0c2748f
776
py
Python
mypi/settings.py
sujaymansingh/mypi
768bdda2ed43faba8a69c7985ee063e1016b9299
[ "BSD-2-Clause-FreeBSD" ]
4
2016-08-22T17:13:43.000Z
2020-10-21T16:50:07.000Z
mypi/settings.py
sujaymansingh/mypi
768bdda2ed43faba8a69c7985ee063e1016b9299
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
mypi/settings.py
sujaymansingh/mypi
768bdda2ed43faba8a69c7985ee063e1016b9299
[ "BSD-2-Clause-FreeBSD" ]
1
2016-08-22T17:13:47.000Z
2016-08-22T17:13:47.000Z
import os def import_module(name): module = __import__(name) components = name.split('.') for components in components[1:]: module = getattr(module, components) return module # We should try to import any custom settings. SETTINGS_MODULE_NAME = os.getenv("MYPI_SETTINGS_MODULE") if SETTINGS_M...
29.846154
72
0.744845
104
776
5.240385
0.384615
0.231193
0.100917
0.091743
0
0
0
0
0
0
0
0.003035
0.150773
776
25
73
31.04
0.823976
0.148196
0
0
0
0
0.12462
0
0
0
0
0
0
1
0.058824
false
0
0.235294
0
0.352941
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
deb7178741e12b76740cccb10cf2e3f8e186116d
1,866
py
Python
alipay/aop/api/domain/KbAdvertPreserveCommissionClause.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/KbAdvertPreserveCommissionClause.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/KbAdvertPreserveCommissionClause.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import simplejson as json from alipay.aop.api.constant.ParamConstants import * class KbAdvertPreserveCommissionClause(object): def __init__(self): self._claimer_id_type = None self._claimers = None @property def claimer_id_type(self): ...
29.15625
81
0.587889
218
1,866
4.770642
0.238532
0.129808
0.1875
0.114423
0.269231
0.150962
0.108654
0.069231
0
0
0
0.00157
0.317256
1,866
63
82
29.619048
0.814757
0.022508
0
0.081633
0
0
0.073626
0
0
0
0
0
0
1
0.142857
false
0
0.040816
0.040816
0.306122
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
debd457fd6d2c1141a031eefaca5f163110cfa64
1,130
py
Python
src/wtfjson/validators/url.py
binary-butterfly/wtfjson
551ad07c895ce3c94ac3015b6b5ecc2102599b56
[ "MIT" ]
null
null
null
src/wtfjson/validators/url.py
binary-butterfly/wtfjson
551ad07c895ce3c94ac3015b6b5ecc2102599b56
[ "MIT" ]
1
2021-10-11T08:55:45.000Z
2021-10-11T08:55:45.000Z
src/wtfjson/validators/url.py
binary-butterfly/wtfjson
551ad07c895ce3c94ac3015b6b5ecc2102599b56
[ "MIT" ]
null
null
null
# encoding: utf-8 """ binary butterfly validator Copyright (c) 2021, binary butterfly GmbH Use of this source code is governed by an MIT-style license that can be found in the LICENSE.txt. """ import re from typing import Any, Optional from ..abstract_input import AbstractInput from ..fields import Field from ..vali...
30.540541
103
0.650442
139
1,130
5.100719
0.604317
0.042313
0.056417
0
0
0
0
0
0
0
0
0.007928
0.218584
1,130
36
104
31.388889
0.795017
0.161947
0
0
0
0.043478
0.101171
0.085197
0
0
0
0
0
1
0.086957
false
0
0.304348
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
debed6abf0cd6d720ad9aac4713a4ef0c18b842a
383
py
Python
xappt_qt/__init__.py
cmontesano/xappt_qt
74f8c62e0104a67b4b4eb65382df851221bf0bab
[ "MIT" ]
null
null
null
xappt_qt/__init__.py
cmontesano/xappt_qt
74f8c62e0104a67b4b4eb65382df851221bf0bab
[ "MIT" ]
12
2020-10-11T22:42:12.000Z
2021-10-04T19:38:51.000Z
xappt_qt/__init__.py
cmontesano/xappt_qt
74f8c62e0104a67b4b4eb65382df851221bf0bab
[ "MIT" ]
1
2021-09-29T23:53:34.000Z
2021-09-29T23:53:34.000Z
import os from xappt_qt.__version__ import __version__, __build__ from xappt_qt.plugins.interfaces.qt import QtInterface # suppress "qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow)" os.environ['QT_LOGGING_RULES'] = '*.debug=false;qt.qpa.*=false' version = tuple(map(int, __version__.split('.'))) + (__build__, )...
27.357143
65
0.749347
50
383
5.08
0.6
0.070866
0.086614
0
0
0
0
0
0
0
0
0.002915
0.104439
383
13
66
29.461538
0.737609
0.164491
0
0
0
0
0.220126
0.166667
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
dec3721fd14d0e108bf21ac443dd1b7796946011
286
py
Python
pythons/reTesting.py
whats2000/coding-stuff-I-make-from-learning
d82809ba12f9d74bdb41eca5ba8f12f4cd96929e
[ "MIT" ]
null
null
null
pythons/reTesting.py
whats2000/coding-stuff-I-make-from-learning
d82809ba12f9d74bdb41eca5ba8f12f4cd96929e
[ "MIT" ]
null
null
null
pythons/reTesting.py
whats2000/coding-stuff-I-make-from-learning
d82809ba12f9d74bdb41eca5ba8f12f4cd96929e
[ "MIT" ]
null
null
null
import re test = input("請輸入字串 : ") test.encode('unicode-escape').decode().replace('\\\\', '\\') print("輸入為 : "+test) if re.match(test, "a"): print(test + " Match 1") if re.match(test, "aa"): print(test + " Match 2") if re.match(test, "aaaa"): print(test + " Match 3")
16.823529
60
0.562937
41
286
3.926829
0.487805
0.074534
0.167702
0.242236
0
0
0
0
0
0
0
0.012931
0.188811
286
16
61
17.875
0.681034
0
0
0
0
0
0.227273
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.4
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
decdd56ee9283490fb231ea62e1de89aa2fa1fee
2,596
py
Python
pool/serializer/PoolSerializer.py
salran40/POAP
9ff2ab68b55aeffe104d127c4beb8b1372b2c8de
[ "Apache-2.0" ]
null
null
null
pool/serializer/PoolSerializer.py
salran40/POAP
9ff2ab68b55aeffe104d127c4beb8b1372b2c8de
[ "Apache-2.0" ]
null
null
null
pool/serializer/PoolSerializer.py
salran40/POAP
9ff2ab68b55aeffe104d127c4beb8b1372b2c8de
[ "Apache-2.0" ]
null
null
null
__author__ = "arunrajms" from rest_framework import serializers from pool.models import Pool from rest_framework.validators import UniqueValidator import re TYPE_CHOICES = ['Integer','IP','IPv6','AutoGenerate','Vlan','MgmtIP'] PUT_TYPE_CHOICES = ['Integer','IP','IPv6','Vlan','MgmtIP'] SCOPE_CHOICES = ['global','fabri...
36.56338
91
0.724961
275
2,596
6.701818
0.272727
0.119371
0.124797
0.157352
0.582203
0.510038
0.488334
0.441671
0.441671
0.441671
0
0.013876
0.16718
2,596
71
92
36.56338
0.838575
0.096302
0
0.23913
0
0
0.037102
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0.043478
0.891304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ded08df80894e1241c99188254ecd7f7c259352b
380
py
Python
linked_lists/find_loop.py
maanavshah/coding-interview
4c842cdbc6870da79684635f379966d1caec2162
[ "MIT" ]
null
null
null
linked_lists/find_loop.py
maanavshah/coding-interview
4c842cdbc6870da79684635f379966d1caec2162
[ "MIT" ]
null
null
null
linked_lists/find_loop.py
maanavshah/coding-interview
4c842cdbc6870da79684635f379966d1caec2162
[ "MIT" ]
null
null
null
# O(n) time | O(1) space class LinkedList: def __init__(self, value): self.value = value self.next = None def findLoop(head): slow = head.next fast = head.next.next while fast != slow: slow = slow.next fast = fast.next.next fast = head while fast != slow: ...
20
30
0.560526
51
380
4.098039
0.372549
0.15311
0.114833
0.162679
0.354067
0.354067
0.354067
0.354067
0.354067
0
0
0.003968
0.336842
380
18
31
21.111111
0.825397
0.057895
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0
0
0.266667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dedd33f5b7d0869e4ad454abba7866e56edaacbb
301
py
Python
examples/matplotlib/mpl_plot_dot.py
sudojarvis/arviz
73531be4f23df7d764b2e3bec8c5ef5cb882590d
[ "Apache-2.0" ]
1,159
2018-04-03T08:50:54.000Z
2022-03-31T18:03:52.000Z
examples/matplotlib/mpl_plot_dot.py
sudojarvis/arviz
73531be4f23df7d764b2e3bec8c5ef5cb882590d
[ "Apache-2.0" ]
1,656
2018-03-23T14:15:05.000Z
2022-03-31T14:00:28.000Z
examples/matplotlib/mpl_plot_dot.py
sudojarvis/arviz
73531be4f23df7d764b2e3bec8c5ef5cb882590d
[ "Apache-2.0" ]
316
2018-04-03T14:25:52.000Z
2022-03-25T10:41:29.000Z
""" Dot Plot ========= _thumb: .2, .8 _example_title: Plot distribution. """ import matplotlib.pyplot as plt import numpy as np import arviz as az az.style.use("arviz-darkgrid") data = np.random.normal(0, 1, 1000) az.plot_dot(data, dotcolor="C1", point_interval=True, figsize=(12, 6)) plt.show()
15.842105
70
0.69103
48
301
4.229167
0.729167
0
0
0
0
0
0
0
0
0
0
0.045977
0.13289
301
18
71
16.722222
0.731801
0.229236
0
0
0
0
0.071429
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
dee00922a67f6dff4732cf526028648896d0fc92
2,290
py
Python
Phototweet.py
sbamueller/RasperryPi_BildFeinstaub
3666db384ead64893b3c548065aa31cef6c126af
[ "Apache-2.0" ]
null
null
null
Phototweet.py
sbamueller/RasperryPi_BildFeinstaub
3666db384ead64893b3c548065aa31cef6c126af
[ "Apache-2.0" ]
null
null
null
Phototweet.py
sbamueller/RasperryPi_BildFeinstaub
3666db384ead64893b3c548065aa31cef6c126af
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2.7 # coding=<UTF-8> # tweetpic.py take a photo with the Pi camera and tweet it # by Alex Eames http://raspi.tv/?p=5918 import tweepy from subprocess import call from datetime import datetime import requests import json i = datetime.now() #take time and date for filename no...
31.369863
80
0.691266
328
2,290
4.72561
0.518293
0.045161
0.028387
0.069677
0.159355
0.108387
0.108387
0.108387
0.060645
0
0
0.027426
0.172052
2,290
72
81
31.805556
0.790084
0
0
0.05
0
0
0.258249
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
dee4deb771683414d1b0181d259bc1acc86fbf9f
1,101
py
Python
fastspider/item/item.py
coco369/fastspider
464ba47176c005ed97005a79c5c4eee0bf0740b6
[ "MIT" ]
6
2021-08-09T01:35:44.000Z
2022-02-15T08:14:29.000Z
fastspider/item/item.py
coco369/fastspider
464ba47176c005ed97005a79c5c4eee0bf0740b6
[ "MIT" ]
null
null
null
fastspider/item/item.py
coco369/fastspider
464ba47176c005ed97005a79c5c4eee0bf0740b6
[ "MIT" ]
4
2021-08-13T06:41:13.000Z
2021-12-07T15:53:56.000Z
# encoding=utf-8 """ Auth: coco369 Email: 779598160@qq.com CreateTime: 2021/07/30 Desc: fastspider核心代码, 实体Item """ class BaseItemMetaClass(type): def __new__(cls, name, bases, attrs): attrs.setdefault("__name__", None) attrs.setdefault("__table_name__", None) attrs.setdefault("__update_key__", None) attrs...
20.018182
84
0.728429
142
1,101
4.915493
0.366197
0.090258
0.081662
0.04298
0.057307
0
0
0
0
0
0
0.022317
0.145322
1,101
54
85
20.388889
0.719447
0.118074
0
0.1
0
0
0.104932
0
0
0
0
0
0
1
0.266667
false
0.033333
0
0.1
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
dee9227b4b6629ca39d002a84205390a69b06f7b
29,997
py
Python
Code/Minner/SumDialog.py
lizhangjie316/Minner
f6aebd51cef981d726b53db8d62d1b1703fe2649
[ "MIT" ]
1
2020-11-05T07:11:33.000Z
2020-11-05T07:11:33.000Z
Code/Minner0827/ui/SumDialog.py
lizhangjie316/Minner
f6aebd51cef981d726b53db8d62d1b1703fe2649
[ "MIT" ]
null
null
null
Code/Minner0827/ui/SumDialog.py
lizhangjie316/Minner
f6aebd51cef981d726b53db8d62d1b1703fe2649
[ "MIT" ]
1
2020-11-05T07:19:44.000Z
2020-11-05T07:19:44.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'SumDialog.ui' # # Created by: PyQt5 UI code generator 5.15.0 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, Qt...
43.791241
116
0.657432
3,880
29,997
4.908763
0.065464
0.147433
0.037541
0.040953
0.706343
0.599758
0.455056
0.281634
0.163499
0.125171
0
0.071979
0.186252
29,997
684
117
43.855263
0.708275
0.009134
0
0.305514
1
0.004471
0.179606
0.019351
0
0
0
0
0
1
0.002981
false
0
0.002981
0
0.007452
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
deecfb2ff8809fa583a186388e95973a391ea0c6
3,577
py
Python
volDB/migrations/0001_initial.py
leg2015/CSCapstone19Volunteers
ae0fcf1e8ce4fafe8578edd0a3943574703046fa
[ "MIT" ]
4
2020-01-13T23:30:34.000Z
2021-03-17T21:23:57.000Z
volDB/migrations/0001_initial.py
leg2015/CSCapstone19Volunteers
ae0fcf1e8ce4fafe8578edd0a3943574703046fa
[ "MIT" ]
5
2020-02-12T03:25:17.000Z
2021-06-10T22:29:16.000Z
volDB/migrations/0001_initial.py
leg2015/CSCapstone19Volunteers
ae0fcf1e8ce4fafe8578edd0a3943574703046fa
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-02-23 18:47 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Address', fields=[ ...
41.593023
137
0.574224
342
3,577
5.853801
0.225146
0.095904
0.059441
0.08042
0.420579
0.378621
0.378621
0.378621
0.299201
0.299201
0
0.013266
0.283478
3,577
85
138
42.082353
0.76785
0.01258
0
0.512821
1
0
0.139093
0
0
0
0
0
0
1
0
false
0
0.025641
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
def0f90a3cae5abac2b0927d079c001b98668c18
1,365
py
Python
python-socket-mult-thread/server.py
Programmer-Edilson/min-projects
62dfa55e8875b3d0d3e6cc9cb504c3f3f7da064e
[ "MIT" ]
1
2021-02-28T17:33:59.000Z
2021-02-28T17:33:59.000Z
python-socket-mult-thread/server.py
Programmer-Edilson/min-projects
62dfa55e8875b3d0d3e6cc9cb504c3f3f7da064e
[ "MIT" ]
null
null
null
python-socket-mult-thread/server.py
Programmer-Edilson/min-projects
62dfa55e8875b3d0d3e6cc9cb504c3f3f7da064e
[ "MIT" ]
null
null
null
import socket import os from _thread import start_new_thread ip = "localhost" port = 1234 global number_of_connections number_of_connections = 0 server = socket.socket() server.bind((ip, port)) server.listen(5) def handle_client(socket_client): global number_of_connections msg = "You are connected!" ...
24.375
74
0.621245
154
1,365
5.318182
0.337662
0.078144
0.185592
0.091575
0.26862
0.14652
0.14652
0.14652
0.14652
0.14652
0
0.01938
0.243956
1,365
55
75
24.818182
0.774225
0
0
0.225
0
0
0.12381
0
0
0
0
0
0
1
0.05
false
0
0.075
0
0.125
0.175
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
def712afd23e0562bd689a7a3ab2431ec0fae53a
631
py
Python
Chatbot_Rest/urls.py
chenpocufa/Chatbot_CN
5e13c129c159143610f4dfc99478d401dd5777e6
[ "Apache-2.0" ]
1
2019-08-02T06:09:34.000Z
2019-08-02T06:09:34.000Z
Chatbot_Rest/urls.py
yuxuan2015/Chatbot_CN
1adf1c01d3eced5f0644102bdec9be22705b6f3f
[ "Apache-2.0" ]
null
null
null
Chatbot_Rest/urls.py
yuxuan2015/Chatbot_CN
1adf1c01d3eced5f0644102bdec9be22705b6f3f
[ "Apache-2.0" ]
null
null
null
#-*- coding:utf-8 _*- """ @author:charlesXu @file: urls.py @desc: 接口url @time: 2019/05/10 """ # =============== # # apis 下面的路由 # # =============== from django.urls import path from intent_rest_controller import intent_controller from entity_extraction_controller import entity_ext_controller from bot_controll...
21.033333
62
0.667195
76
631
5.263158
0.5
0.11
0.095
0
0
0
0
0
0
0
0
0.01751
0.18542
631
30
63
21.033333
0.7607
0.266244
0
0
0
0
0.063063
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
defd13835bf657af58b23494bf16c9abcbbae2e8
1,217
py
Python
BlackJack/UserInterface/BlackJackUI.py
Kasyx709/BlackJack
a99cd9327e466ed51dadbf4b5407c2370f998b82
[ "MIT" ]
null
null
null
BlackJack/UserInterface/BlackJackUI.py
Kasyx709/BlackJack
a99cd9327e466ed51dadbf4b5407c2370f998b82
[ "MIT" ]
null
null
null
BlackJack/UserInterface/BlackJackUI.py
Kasyx709/BlackJack
a99cd9327e466ed51dadbf4b5407c2370f998b82
[ "MIT" ]
null
null
null
from __future__ import division from BlackJack.UserInterface import tk from BlackJack.UserInterface import tkFont from BlackJack.UserInterface import BlackJackWindows from BlackJack.UserInterface import SelectGameType from BlackJack.UserInterface import Helpers class BlackJackUI(object): def __init__(self): ...
40.566667
92
0.696795
150
1,217
5.52
0.4
0.193237
0.157005
0.193237
0.11715
0.092995
0.065217
0
0
0
0
0.023928
0.175842
1,217
29
93
41.965517
0.801595
0.026294
0
0
0
0
0.081995
0
0
0
0
0
0
1
0.041667
false
0
0.25
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
defd4d718f41568b76388eb0230161d0d48bb24e
263
py
Python
winecasino/core/entities/__init__.py
harlov/winecasino
ae29b2c8f75bfd05ad141fd3b596f1db7c103690
[ "MIT" ]
null
null
null
winecasino/core/entities/__init__.py
harlov/winecasino
ae29b2c8f75bfd05ad141fd3b596f1db7c103690
[ "MIT" ]
null
null
null
winecasino/core/entities/__init__.py
harlov/winecasino
ae29b2c8f75bfd05ad141fd3b596f1db7c103690
[ "MIT" ]
null
null
null
from .country import Country from .game import Game from .game import Bid from .user import User from .grape import Grape from .wine import Wine from .base import new_id __all__ = [ "new_id", "Country", "Game", "Grape", "User", "Wine", ]
15.470588
28
0.653992
37
263
4.486486
0.324324
0.096386
0.168675
0
0
0
0
0
0
0
0
0
0.239544
263
16
29
16.4375
0.83
0
0
0
0
0
0.114068
0
0
0
0
0
0
1
0
false
0
0.466667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
720247461650041909a7ce79fd85da841234a38b
6,425
py
Python
app.py
aniketjana03/TimeSheet
519b3bdad79dedb7210747906bf4b8e24e64691a
[ "Apache-2.0" ]
null
null
null
app.py
aniketjana03/TimeSheet
519b3bdad79dedb7210747906bf4b8e24e64691a
[ "Apache-2.0" ]
null
null
null
app.py
aniketjana03/TimeSheet
519b3bdad79dedb7210747906bf4b8e24e64691a
[ "Apache-2.0" ]
null
null
null
import sys import os from flask import Flask, flash, redirect, render_template, request, url_for, session from flaskext.mysql import MySQL from flask_login import LoginManager from flask_bcrypt import Bcrypt from flask_session import Session from database import Database from makedb import MakeDB from helpers import ge...
32.125
144
0.598599
740
6,425
5.104054
0.235135
0.043685
0.048186
0.047657
0.334128
0.241197
0.217104
0.140853
0.118613
0.075721
0
0.002426
0.294163
6,425
199
145
32.286432
0.83043
0.143502
0
0.347826
0
0
0.176826
0.003844
0
0
0
0.005025
0
1
0.028986
false
0.086957
0.086957
0
0.268116
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
72118299f37a0a55a9f0a207024fcdd8ae01fcd7
445
py
Python
alembic/versions/175f5441bd46_adding_usrname_column.py
thiere18/fastapi-boilerplate
6760e0e49caa915563d44897262d493b012207c0
[ "MIT" ]
5
2021-12-10T17:35:31.000Z
2021-12-30T18:36:23.000Z
alembic/versions/175f5441bd46_adding_usrname_column.py
thiere18/fastapi-boilerplate
6760e0e49caa915563d44897262d493b012207c0
[ "MIT" ]
1
2021-11-21T13:59:03.000Z
2021-11-21T13:59:03.000Z
alembic/versions/175f5441bd46_adding_usrname_column.py
thiere18/fastapi-boilerplate
6760e0e49caa915563d44897262d493b012207c0
[ "MIT" ]
1
2021-12-07T14:08:12.000Z
2021-12-07T14:08:12.000Z
"""adding usrname column Revision ID: 175f5441bd46 Revises: 186abcf43cae Create Date: 2021-11-20 22:54:04.157131 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '175f5441bd46' down_revision = '186abcf43cae' branch_labels = None depends_on = None def upgrade()...
16.481481
79
0.72809
59
445
5.423729
0.745763
0
0
0
0
0
0
0
0
0
0
0.137097
0.164045
445
26
80
17.115385
0.723118
0.337079
0
0.166667
0
0
0.12892
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
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
1
0
0
0
0
0
1
721813c43ddcb76146e7ed608cacf427665451b5
414
py
Python
crop_yield_prediction/models/deep_gaussian_process/__init__.py
facebookresearch/Context-Aware-Representation-Crop-Yield-Prediction
9c29459e9521303f40d9d6aaa938da0c23ab4ad8
[ "MIT" ]
12
2020-09-17T21:55:18.000Z
2022-01-14T21:05:23.000Z
crop_yield_prediction/models/deep_gaussian_process/__init__.py
hulaba/Context-Aware-Representation-Crop-Yield-Prediction
9c29459e9521303f40d9d6aaa938da0c23ab4ad8
[ "MIT" ]
null
null
null
crop_yield_prediction/models/deep_gaussian_process/__init__.py
hulaba/Context-Aware-Representation-Crop-Yield-Prediction
9c29459e9521303f40d9d6aaa938da0c23ab4ad8
[ "MIT" ]
5
2020-10-10T10:18:14.000Z
2021-12-21T07:36:27.000Z
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from .feature_engineering import get_features_for_deep_gaussian from .convnet import ConvModel from .rnn import RNNModel...
29.571429
65
0.748792
58
414
5.12069
0.706897
0.06734
0.094276
0.121212
0.175084
0
0
0
0
0
0
0.002959
0.183575
414
13
66
31.846154
0.87574
0.458937
0
0
0
0
0.213636
0.136364
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7218bf5a5c0b747c4d1438e666c01d7117d13c58
3,546
py
Python
projector_server/projects/views.py
changyang-liu/Projector
4924400f54e0ce823fd488f9cfd0f7e52d2df55f
[ "MIT" ]
null
null
null
projector_server/projects/views.py
changyang-liu/Projector
4924400f54e0ce823fd488f9cfd0f7e52d2df55f
[ "MIT" ]
2
2021-06-10T19:12:07.000Z
2021-09-22T19:00:50.000Z
projector_server/projects/views.py
CS97-Projector/Projector
4924400f54e0ce823fd488f9cfd0f7e52d2df55f
[ "MIT" ]
null
null
null
from django.http import HttpResponse, JsonResponse, Http404 from django.core.exceptions import PermissionDenied from rest_framework.parsers import JSONParser, FormParser, MultiPartParser from rest_framework.permissions import IsAuthenticatedOrReadOnly from rest_framework import generics from rest_framework.response im...
38.129032
86
0.683305
377
3,546
6.35809
0.299735
0.036713
0.039633
0.041719
0.377972
0.335836
0.279933
0.256154
0.220275
0.220275
0
0.003674
0.232375
3,546
92
87
38.543478
0.876929
0.128032
0
0.435484
0
0
0.032045
0
0
0
0
0
0
1
0.048387
false
0
0.16129
0
0.564516
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
721b25bd54ec37339248810e92f0fd66777d24b1
586
py
Python
Projectreview/Projectreview/urls.py
bestgunman/Gitwaxingproduct
44c5fdd57aaa87765929e12a828d1cd17cfbbc0d
[ "MIT" ]
1
2017-01-30T07:02:51.000Z
2017-01-30T07:02:51.000Z
Projectreview/Projectreview/urls.py
bestgunman/Gitwaxingproduct
44c5fdd57aaa87765929e12a828d1cd17cfbbc0d
[ "MIT" ]
null
null
null
Projectreview/Projectreview/urls.py
bestgunman/Gitwaxingproduct
44c5fdd57aaa87765929e12a828d1cd17cfbbc0d
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from django.contrib import admin from django.conf import settings from django.conf.urls.static import static from productapp.views import product_list from reviewapp.views import index urlpatterns = [ url(r'^$', index, name='index'), url(r'^admin/', admin.site.urls), ...
30.842105
61
0.711604
78
586
5.294872
0.371795
0.048426
0.101695
0.087167
0
0
0
0
0
0
0
0
0.145051
586
19
62
30.842105
0.824351
0
0
0
0
0
0.143101
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
721ec82c86e8517afd6fcd583254496b9ad3500f
400
py
Python
cursoemvideo/ex008.py
rafaelsantosmg/cev_python3
2fa2561b46409bebbd6a2020c60aa8f946fe6244
[ "MIT" ]
1
2021-03-22T03:08:41.000Z
2021-03-22T03:08:41.000Z
cursoemvideo/ex008.py
rafaelsantosmg/cev_python3
2fa2561b46409bebbd6a2020c60aa8f946fe6244
[ "MIT" ]
null
null
null
cursoemvideo/ex008.py
rafaelsantosmg/cev_python3
2fa2561b46409bebbd6a2020c60aa8f946fe6244
[ "MIT" ]
null
null
null
"""Escreva um programa que leia o valor em metros e o exiba convertido em centímetros e milímetros""" from utilidadescev.dado import leia_real n = leia_real('Digite a metragem: ') km = n / 1000 hec = n / 100 dam = n / 10 dec = n * 10 cent = n * 100 mil = n * 1000 print(f'{km:.3f}km') print(f'{hec:.2f}hm') print(f'{da...
22.222222
101
0.6525
77
400
3.363636
0.545455
0.138996
0
0
0
0
0
0
0
0
0
0.071856
0.165
400
17
102
23.529412
0.703593
0.2375
0
0
0
0
0.29097
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7222d418de71e1a6408735de5ac964a29e9e3865
83,182
py
Python
motor/__init__.py
globocom/motor
a1c91ab7b223bb1ada742605e2e8d11a39fe5f1e
[ "Apache-2.0" ]
null
null
null
motor/__init__.py
globocom/motor
a1c91ab7b223bb1ada742605e2e8d11a39fe5f1e
[ "Apache-2.0" ]
null
null
null
motor/__init__.py
globocom/motor
a1c91ab7b223bb1ada742605e2e8d11a39fe5f1e
[ "Apache-2.0" ]
null
null
null
# Copyright 2011-2012 10gen, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
36.936945
118
0.608112
9,494
83,182
5.150305
0.114493
0.008958
0.005726
0.00497
0.28198
0.227028
0.183549
0.160337
0.143874
0.123402
0
0.002261
0.308673
83,182
2,251
119
36.953354
0.848033
0.098555
0
0.313964
0
0
0.049641
0.00175
0
0
0
0.003554
0.006938
0
null
null
0.008673
0.024284
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
72244921b06692f1b6e6b261aabc73be9e8ccb0e
897
py
Python
tests/test_as_class_methods.py
pokidovea/immobilus
42f115a13b4aa060b7ed186e81fe56e1a07c4b2d
[ "Apache-2.0" ]
13
2016-11-26T16:13:11.000Z
2021-12-21T11:10:50.000Z
tests/test_as_class_methods.py
pokidovea/immobilus
42f115a13b4aa060b7ed186e81fe56e1a07c4b2d
[ "Apache-2.0" ]
20
2017-03-06T00:50:22.000Z
2019-08-26T20:12:39.000Z
tests/test_as_class_methods.py
pokidovea/immobilus
42f115a13b4aa060b7ed186e81fe56e1a07c4b2d
[ "Apache-2.0" ]
6
2017-08-28T07:23:54.000Z
2021-12-03T13:03:50.000Z
# https://github.com/pokidovea/immobilus/issues/30 from immobilus import immobilus # noqa from immobilus.logic import fake_time, fake_localtime, fake_gmtime, fake_strftime, fake_mktime from datetime import datetime class SomeClass(object): method = None def test_fake_time(): SomeClass.method = fake_time ...
18.6875
94
0.723523
104
897
6.048077
0.298077
0.055644
0.08744
0.246423
0.149444
0.149444
0.149444
0.149444
0
0
0
0.016327
0.180602
897
47
95
19.085106
0.839456
0.059086
0
0.269231
0
0
0.005945
0
0
0
0
0
0
1
0.192308
false
0
0.115385
0
0.384615
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
722c1e45a1768734b80ecc9c4958f9182d017de1
1,241
py
Python
src/si/supervised/Ensemble.py
pg42862/Sistemas_Inteligentes_para_a_MBIONF
5dd5b487da5b3c6a0989274598c911cc639138a3
[ "Apache-2.0" ]
null
null
null
src/si/supervised/Ensemble.py
pg42862/Sistemas_Inteligentes_para_a_MBIONF
5dd5b487da5b3c6a0989274598c911cc639138a3
[ "Apache-2.0" ]
null
null
null
src/si/supervised/Ensemble.py
pg42862/Sistemas_Inteligentes_para_a_MBIONF
5dd5b487da5b3c6a0989274598c911cc639138a3
[ "Apache-2.0" ]
1
2021-11-15T16:15:50.000Z
2021-11-15T16:15:50.000Z
from.Model import Model import numpy as np def majority(values): return max(set(values), key=values.count)#melhor valor def average(values): return sum(values)/len(values)#ou a media class Ensemble(Model): def __init__(self, models, fvote, score): super(Ensemble, self).__init__() self.m...
32.657895
140
0.65834
194
1,241
4.128866
0.391753
0.049938
0.034956
0.034956
0.109863
0.059925
0
0
0
0
0
0.00108
0.253828
1,241
37
141
33.540541
0.863931
0.213537
0
0
0
0
0.016546
0
0
0
0
0
0.037037
1
0.222222
false
0
0.074074
0.074074
0.481481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
722cd36e985871c8a2f5b1f558365071a7104a73
11,915
py
Python
pygto900.py
marissakotze/timDIMM
dde00a3bb6ca7c3d9b71e24f9363350a0e2a323f
[ "BSD-3-Clause" ]
1
2021-06-06T15:26:36.000Z
2021-06-06T15:26:36.000Z
pygto900.py
marissakotze/timDIMM
dde00a3bb6ca7c3d9b71e24f9363350a0e2a323f
[ "BSD-3-Clause" ]
null
null
null
pygto900.py
marissakotze/timDIMM
dde00a3bb6ca7c3d9b71e24f9363350a0e2a323f
[ "BSD-3-Clause" ]
3
2015-07-29T15:16:35.000Z
2017-12-01T13:02:36.000Z
#!/usr/bin/env python """pygto900 contains commands to interface with a astro-physics gto900 mount """ import serial import io import sys import string import math import time from binutils import * from datetime import datetime from astropy.coordinates import Angle def airmass(a): ang = Angle(90, unit='degree'...
24.56701
130
0.544943
1,638
11,915
3.89011
0.190476
0.09322
0.068267
0.014281
0.252197
0.1629
0.101381
0.094476
0.07533
0.052888
0
0.019528
0.295174
11,915
484
131
24.617769
0.739224
0.1671
0
0.219269
0
0.006645
0.095573
0.005195
0
0
0
0
0
0
null
null
0
0.0299
null
null
0.0299
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7233257f2eb3efc2be88861adf3e83bb76f78498
442
py
Python
tests/components/eafm/conftest.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
2
2021-05-19T19:05:08.000Z
2021-06-06T06:51:05.000Z
tests/components/eafm/conftest.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
56
2020-08-03T07:30:54.000Z
2022-03-31T06:02:04.000Z
tests/components/eafm/conftest.py
erogleva/core
994ae09f69afe772150a698953c0d7386a745de2
[ "Apache-2.0" ]
2
2020-12-25T16:31:22.000Z
2020-12-30T20:53:56.000Z
"""eafm fixtures.""" import pytest from tests.async_mock import patch @pytest.fixture() def mock_get_stations(): """Mock aioeafm.get_stations.""" with patch("homeassistant.components.eafm.config_flow.get_stations") as patched: yield patched @pytest.fixture() def mock_get_station(): """Mock aio...
22.1
84
0.719457
55
442
5.6
0.436364
0.107143
0.103896
0.12987
0.383117
0
0
0
0
0
0
0
0.153846
442
19
85
23.263158
0.823529
0.151584
0
0.4
0
0
0.284123
0.284123
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
72349a7b999fcd7724c457b5d3ee54f95ec82969
36,028
py
Python
otk/trains.py
draustin/otk
c6e91423ec79b85b380ee9385f6d27c91f92503d
[ "MIT" ]
7
2020-05-17T14:26:42.000Z
2022-02-14T04:52:54.000Z
otk/trains.py
uamhforever/otk
c6e91423ec79b85b380ee9385f6d27c91f92503d
[ "MIT" ]
17
2020-04-10T22:50:00.000Z
2020-06-18T04:54:19.000Z
otk/trains.py
uamhforever/otk
c6e91423ec79b85b380ee9385f6d27c91f92503d
[ "MIT" ]
1
2022-02-14T04:52:45.000Z
2022-02-14T04:52:45.000Z
"""Defining and analysing axisymmetric optical systems.""" import itertools from functools import singledispatch from dataclasses import dataclass from abc import ABC, abstractmethod from typing import Sequence, Tuple, Mapping import numpy as np import scipy.optimize from . import abcd, paraxial, functions, ri from .fu...
39.634763
199
0.601865
4,564
36,028
4.650088
0.113716
0.020732
0.009848
0.007209
0.352071
0.280592
0.240164
0.199783
0.163502
0.139424
0
0.017804
0.284418
36,028
908
200
39.678414
0.805399
0.217164
0
0.304189
0
0.009107
0.051658
0.010835
0
0
0
0.012115
0.032787
1
0.169399
false
0.007286
0.016393
0.047359
0.384335
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
723871eadc62b9694db68243f51e537122c22e01
299
py
Python
tests/data/test_to_array.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
3
2021-05-03T13:40:46.000Z
2022-03-06T07:59:30.000Z
tests/data/test_to_array.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
9
2020-10-22T21:08:10.000Z
2021-08-05T09:01:26.000Z
tests/data/test_to_array.py
maki-nage/rxsci
64c9956752cbdd4c65aa9f054b6b28318a056625
[ "MIT" ]
2
2021-01-05T16:48:54.000Z
2021-08-07T12:51:01.000Z
from array import array import rx import rxsci as rs def test_to_array(): actual_result = [] source = [1, 2, 3, 4] rx.from_(source).pipe( rs.data.to_array('d') ).subscribe( on_next=actual_result.append ) assert actual_result == [array('d', [1, 2, 3, 4])]
17.588235
54
0.595318
45
299
3.777778
0.555556
0.211765
0.035294
0.047059
0
0
0
0
0
0
0
0.036199
0.26087
299
16
55
18.6875
0.733032
0
0
0
0
0
0.006689
0
0
0
0
0
0.083333
1
0.083333
false
0
0.25
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
723d7e8a6d6158d63e1b5536dbcf3fd946d29dec
2,440
py
Python
tests/test_functions.py
aerial-defence/pytak
e20c2dedfee88489bf21ad931970c2cb982d72ed
[ "Apache-2.0" ]
null
null
null
tests/test_functions.py
aerial-defence/pytak
e20c2dedfee88489bf21ad931970c2cb982d72ed
[ "Apache-2.0" ]
null
null
null
tests/test_functions.py
aerial-defence/pytak
e20c2dedfee88489bf21ad931970c2cb982d72ed
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Python Team Awareness Kit (PyTAK) Module Tests.""" import asyncio import urllib import pytest import pytak __author__ = 'Greg Albrecht W2GMD <oss@undef.net>' __copyright__ = 'Copyright 2022 Greg Albrecht' __license__ = 'Apache License, Version 2.0' def test_parse_c...
29.047619
73
0.702049
354
2,440
4.564972
0.19774
0.09901
0.128713
0.094059
0.725248
0.69802
0.680074
0.623762
0.602104
0.602104
0
0.048587
0.173361
2,440
84
74
29.047619
0.752603
0.036885
0
0.566667
0
0
0.171075
0.033276
0
0
0
0
0.3
1
0.15
false
0
0.066667
0
0.216667
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
723d802339794483e5614abac1a27413e8db4aa8
1,054
py
Python
tests/test_aoc_day_02.py
ladokp/AdventOfCode2021
03f8b9f8579ae562d5f2784a131370a32ed19f8b
[ "BSD-2-Clause" ]
null
null
null
tests/test_aoc_day_02.py
ladokp/AdventOfCode2021
03f8b9f8579ae562d5f2784a131370a32ed19f8b
[ "BSD-2-Clause" ]
null
null
null
tests/test_aoc_day_02.py
ladokp/AdventOfCode2021
03f8b9f8579ae562d5f2784a131370a32ed19f8b
[ "BSD-2-Clause" ]
null
null
null
# test_aoc_day_02.py import pytest import solution.aoc_day_02 as aoc @pytest.fixture def test_solution(): return aoc.AocSolution(test_suffix="_test") @pytest.fixture def exercise_solution(): return aoc.AocSolution() def test_parse_test_solution(test_solution): """Test that input is parsed properly"""...
22.425532
52
0.683112
136
1,054
5.029412
0.294118
0.175439
0.140351
0.105263
0.482456
0.435673
0.131579
0
0
0
0
0.053066
0.195446
1,054
46
53
22.913043
0.753538
0.180266
0
0.08
0
0
0.042959
0
0
0
0
0
0.2
1
0.28
false
0
0.08
0.08
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
72404631e2e0ae2fb28f9c18c6b107f7f88a83f4
23,165
py
Python
django_tidb/features.py
killuminatixhr/django-tidb
8de093dd7242fc70a5b9b5240711bef00722ff03
[ "Apache-2.0" ]
17
2021-07-30T17:02:53.000Z
2021-12-10T02:28:59.000Z
django_tidb/features.py
killuminatixhr/django-tidb
8de093dd7242fc70a5b9b5240711bef00722ff03
[ "Apache-2.0" ]
7
2021-08-02T09:56:27.000Z
2022-03-23T03:36:07.000Z
django_tidb/features.py
killuminatixhr/django-tidb
8de093dd7242fc70a5b9b5240711bef00722ff03
[ "Apache-2.0" ]
6
2021-07-30T10:04:15.000Z
2022-03-29T05:44:37.000Z
# Copyright 2021 PingCAP, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
55.286396
118
0.699763
2,412
23,165
6.315091
0.247927
0.028887
0.057773
0.068277
0.509848
0.413275
0.309546
0.195116
0.157432
0.13511
0
0.008779
0.232894
23,165
418
119
55.41866
0.848396
0.131837
0
0.164948
0
0
0.599691
0.580989
0
0
0
0
0
1
0.068729
false
0.003436
0.010309
0.065292
0.209622
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
72422e4892bc1b2767ffe8812f2e9e5e44e84b64
10,491
py
Python
app/auth/api.py
Anti-Counter021/Anti-YouTube-back-end
eca9b26b4a1feb7e516c0164e86c5d6444af8db5
[ "MIT" ]
null
null
null
app/auth/api.py
Anti-Counter021/Anti-YouTube-back-end
eca9b26b4a1feb7e516c0164e86c5d6444af8db5
[ "MIT" ]
null
null
null
app/auth/api.py
Anti-Counter021/Anti-YouTube-back-end
eca9b26b4a1feb7e516c0164e86c5d6444af8db5
[ "MIT" ]
null
null
null
from typing import List from celery.result import AsyncResult from fastapi import APIRouter, status, Depends, Form, UploadFile, File, Request, WebSocket from fastapi.responses import RedirectResponse from app.auth import service from app.auth.models import User from app.auth.permission import is_active from app.auth....
29.304469
96
0.691354
1,258
10,491
5.593005
0.107313
0.051165
0.050028
0.062536
0.491757
0.441728
0.418277
0.396959
0.383599
0.36498
0
0.010263
0.20122
10,491
357
97
29.386555
0.829356
0
0
0.348534
0
0
0.116576
0.002192
0
0
0
0
0
1
0
false
0.078176
0.039088
0
0.110749
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
724561c601c848d5d6d0e629507abb99ee03ff0a
1,329
py
Python
app.py
jesseokeya/linkedin-scraper
6b9d5af5167c8c936db63a855a9885728efbfeb5
[ "MIT" ]
null
null
null
app.py
jesseokeya/linkedin-scraper
6b9d5af5167c8c936db63a855a9885728efbfeb5
[ "MIT" ]
1
2020-01-04T19:33:58.000Z
2021-09-07T15:03:03.000Z
app.py
jesseokeya/linkedin-scraper
6b9d5af5167c8c936db63a855a9885728efbfeb5
[ "MIT" ]
1
2021-12-02T06:51:46.000Z
2021-12-02T06:51:46.000Z
from lib import Scrape from typing import List from os import environ def main(): seconds: int = 60 username: str = environ.get('EMAIL') password: str = environ.get('PASSWORD') # Navigates to Linkedin's website scraper = Scrape() # Takes in credentials to login into the url sepecified scr...
27.122449
74
0.678706
178
1,329
5.011236
0.449438
0.035874
0.029148
0.03139
0.038117
0
0
0
0
0
0
0.009862
0.23702
1,329
48
75
27.6875
0.869822
0.388262
0
0
0
0
0.09625
0
0
0
0
0
0
1
0.041667
false
0.083333
0.125
0
0.166667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7247650bb946b4cd8155dc4709b0e70976c42ea4
546
py
Python
forum/migrations/0003_auto_20190307_1825.py
AdityaJ42/DJ-Comps-Book-Exchange
12bba45f016e1b708477c642c2595b7f15e3dcfc
[ "MIT" ]
null
null
null
forum/migrations/0003_auto_20190307_1825.py
AdityaJ42/DJ-Comps-Book-Exchange
12bba45f016e1b708477c642c2595b7f15e3dcfc
[ "MIT" ]
null
null
null
forum/migrations/0003_auto_20190307_1825.py
AdityaJ42/DJ-Comps-Book-Exchange
12bba45f016e1b708477c642c2595b7f15e3dcfc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2019-03-07 12:55 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('forum', '0002_upvote'), ] operations = [ m...
24.818182
125
0.64652
63
546
5.460317
0.650794
0.069767
0.081395
0.127907
0
0
0
0
0
0
0
0.049763
0.227106
546
21
126
26
0.765403
0.124542
0
0
1
0
0.103158
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
724a427f96e1eeeba039df150a14e4acaeb34725
495
py
Python
datahub/event/migrations/0018_move_to_metadata_trade_agreement.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
6
2019-12-02T16:11:24.000Z
2022-03-18T10:02:02.000Z
datahub/event/migrations/0018_move_to_metadata_trade_agreement.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
1,696
2019-10-31T14:08:37.000Z
2022-03-29T12:35:57.000Z
datahub/event/migrations/0018_move_to_metadata_trade_agreement.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
9
2019-11-22T12:42:03.000Z
2021-09-03T14:25:05.000Z
# Generated by Django 3.1.7 on 2021-04-08 11:12 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('metadata', '0009_tradeagreement'), ('event', '0017_add_related_trade_agreement_fields'), ] operations = [ migrations.AlterField( ...
24.75
83
0.638384
51
495
6.019608
0.784314
0.078176
0
0
0
0
0
0
0
0
0
0.061662
0.246465
495
19
84
26.052632
0.761394
0.090909
0
0
1
0
0.274554
0.191964
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
724a51915fb64beb06bbeb6fa5488524f3f99f3f
16,905
py
Python
pbs/scripts/update_burn_dataOLD.py
jawaidm/pbs
87f5c535c976d6a5eccbfbbf2073589b6e366d04
[ "Apache-2.0" ]
null
null
null
pbs/scripts/update_burn_dataOLD.py
jawaidm/pbs
87f5c535c976d6a5eccbfbbf2073589b6e366d04
[ "Apache-2.0" ]
12
2019-10-22T23:16:38.000Z
2022-03-11T23:17:45.000Z
pbs/scripts/update_burn_dataOLD.py
jawaidm/pbs
87f5c535c976d6a5eccbfbbf2073589b6e366d04
[ "Apache-2.0" ]
5
2019-12-19T06:18:42.000Z
2022-01-07T01:16:18.000Z
''' ---------------------------------------------------------------------------------------- This script will update the Prescribed Burn System's ePFP data according to txt input files found in the relevant scripts folder. It requires user input of the Corporate Executive Approval date, which it will then use to set PR...
47.089136
125
0.644898
2,193
16,905
4.789786
0.115367
0.069307
0.031988
0.041603
0.677456
0.635472
0.581588
0.559311
0.54503
0.520373
0
0.024173
0.243833
16,905
358
126
47.22067
0.797544
0.102455
0
0.487395
0
0
0.202433
0.010518
0
0
0
0
0
0
null
null
0
0.042017
null
null
0.193277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a0c68d4449b586355649b08e113c775fd8d862f6
398
py
Python
Timofei-Khirianov-2019/lesson_001/003_anketa.py
anklav24/Python-Education
49ebcfabda1376390ee71e1fe321a51e33831f9e
[ "Apache-2.0" ]
null
null
null
Timofei-Khirianov-2019/lesson_001/003_anketa.py
anklav24/Python-Education
49ebcfabda1376390ee71e1fe321a51e33831f9e
[ "Apache-2.0" ]
null
null
null
Timofei-Khirianov-2019/lesson_001/003_anketa.py
anklav24/Python-Education
49ebcfabda1376390ee71e1fe321a51e33831f9e
[ "Apache-2.0" ]
null
null
null
name = input('Hello! What is your name? : ') print('Nice to meet you,', name + '!') print() age = int(input('How old are you ' + name + '? : ')) print() x = age + 1 print('А я думал тебе', x, end=' ') if x >= 11 and x <= 19: print('лет', end='') elif x % 10 == 1: print('год', end='') elif x % 10 >= 2 and x %...
19.9
52
0.502513
65
398
3.076923
0.538462
0.135
0.12
0.1
0
0
0
0
0
0
0
0.046667
0.246231
398
19
53
20.947368
0.62
0
0
0.25
0
0
0.238693
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
a0cc5ea31e6d19f7b084b456d80ccf0e5baf6865
1,604
py
Python
orders-api/orders_api/models.py
kelvinducray/fastapi-orders-api
37176329f717adf8ad8749be4ed50f7c875b0cf5
[ "MIT" ]
null
null
null
orders-api/orders_api/models.py
kelvinducray/fastapi-orders-api
37176329f717adf8ad8749be4ed50f7c875b0cf5
[ "MIT" ]
null
null
null
orders-api/orders_api/models.py
kelvinducray/fastapi-orders-api
37176329f717adf8ad8749be4ed50f7c875b0cf5
[ "MIT" ]
null
null
null
from uuid import uuid4 from sqlalchemy import Boolean, Column, DateTime, Integer, String from sqlalchemy.dialects.postgresql import UUID from sqlalchemy.orm import relationship from .database import Base class Customers(Base): __tablename__ = "customers" id = Column(UUID(as_uuid=True), primary_key=True, de...
27.655172
68
0.704489
197
1,604
5.517767
0.263959
0.110396
0.064397
0.038638
0.382705
0.333027
0.333027
0.333027
0.222631
0.132475
0
0.003035
0.178304
1,604
57
69
28.140351
0.8217
0.367207
0
0.208333
0
0
0.032
0
0
0
0
0
0
1
0
false
0
0.208333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a0cc745e3a8e279006b132f30ea4111764df2ce1
32,293
py
Python
src/ID_meshes.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
4
2019-09-26T21:34:32.000Z
2021-11-18T19:31:15.000Z
src/ID_meshes.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
null
null
null
src/ID_meshes.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
null
null
null
mesh_pic_bandits = 0 mesh_pic_mb_warrior_1 = 1 mesh_pic_messenger = 2 mesh_pic_prisoner_man = 3 mesh_pic_prisoner_fem = 4 mesh_pic_prisoner_wilderness = 5 mesh_pic_siege_sighted = 6 mesh_pic_siege_sighted_fem = 7 mesh_pic_camp = 8 mesh_pic_payment = 9 mesh_pic_escape_1 = 10 mesh_pic_escape_1_fem = 11 mesh_pic_victory =...
25.528063
58
0.843619
6,082
32,293
3.894278
0.317988
0.097108
0.087144
0.042727
0.059447
0.007304
0
0
0
0
0
0.201088
0.117301
32,293
1,264
59
25.548259
0.629819
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a0cc84ea1f11da3af87cb6aff03136b234f94184
30,936
py
Python
q2_longitudinal/_vega.py
thermokarst/q2-longitudinal
1967617214417b7097ce96e4a7dfdfbb5fd17faf
[ "BSD-3-Clause" ]
null
null
null
q2_longitudinal/_vega.py
thermokarst/q2-longitudinal
1967617214417b7097ce96e4a7dfdfbb5fd17faf
[ "BSD-3-Clause" ]
null
null
null
q2_longitudinal/_vega.py
thermokarst/q2-longitudinal
1967617214417b7097ce96e4a7dfdfbb5fd17faf
[ "BSD-3-Clause" ]
null
null
null
# ---------------------------------------------------------------------------- # Copyright (c) 2017-2018, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
33.699346
79
0.230185
1,450
30,936
4.874483
0.244828
0.005093
0.023345
0.016978
0.407329
0.357102
0.335173
0.316214
0.276316
0.24236
0
0.020312
0.64989
30,936
917
80
33.736096
0.632259
0.056245
0
0.455275
0
0.001147
0.176063
0.016941
0
0
0
0.001091
0
1
0.001147
false
0
0.002294
0
0.004587
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a0e1d41f3732cef98c2895b100facec425069d9c
4,252
py
Python
src/django_website/django_website/tests/test_views.py
jdheinz/project-ordo_ab_chao
4063f93b297bab43cff6ca64fa5ba103f0c75158
[ "MIT" ]
2
2019-09-23T18:42:32.000Z
2019-09-27T00:33:38.000Z
src/django_website/django_website/tests/test_views.py
jdheinz/project-ordo_ab_chao
4063f93b297bab43cff6ca64fa5ba103f0c75158
[ "MIT" ]
6
2021-03-19T03:25:33.000Z
2022-02-10T08:48:14.000Z
src/django_website/django_website/tests/test_views.py
jdheinz/project-ordo_ab_chao
4063f93b297bab43cff6ca64fa5ba103f0c75158
[ "MIT" ]
6
2019-09-23T18:53:41.000Z
2020-02-06T00:20:06.000Z
from django.test import TransactionTestCase from django.test import TestCase from django.urls import reverse from home_page.models import Search from ebaysdk.finding import Connection as finding class PageTest(TransactionTestCase): def test_home_page_status_code_1(self): response = self.client.get('/'...
38.654545
107
0.670508
503
4,252
5.411531
0.198807
0.091844
0.111683
0.153564
0.700955
0.671932
0.64989
0.62748
0.567965
0.465099
0
0.02468
0.228128
4,252
110
108
38.654545
0.804692
0
0
0.320513
0
0
0.097108
0.009405
0
0
0
0
0.282051
1
0.269231
false
0
0.064103
0
0.371795
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a0e28476be0fa65ebedd554ed275a8386f751e73
869
py
Python
tests/string/generate_string.py
om719/Bloom-Filter-CPP
8093448b3ea357831b6de25aee9e0e7271b762fa
[ "MIT" ]
3
2021-05-31T18:41:34.000Z
2021-06-01T04:44:15.000Z
tests/string/generate_string.py
om719/Bloom-Filter-CPP
8093448b3ea357831b6de25aee9e0e7271b762fa
[ "MIT" ]
null
null
null
tests/string/generate_string.py
om719/Bloom-Filter-CPP
8093448b3ea357831b6de25aee9e0e7271b762fa
[ "MIT" ]
2
2021-05-31T18:41:48.000Z
2021-05-31T18:47:14.000Z
from key_generator.key_generator import generate all_sizes_required = [(100, '100'), (500, '500'), (1000, '1K'), (5000, '5K'), (10000, '10K'), (50000, '50K'), (100000, '100K'), (500000, '500K')] for file_size in all_sizes_required: OUTPUT_PATH = "./string_test_" + file_size[1] + ".txt" STRING_COUNT = file_size[0] ...
22.868421
145
0.611047
118
869
4.211864
0.542373
0.04829
0.064386
0.06841
0.16499
0.16499
0.16499
0.16499
0.16499
0.16499
0
0.086831
0.204833
869
37
146
23.486486
0.632417
0
0
0.275862
1
0
0.082854
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a0ed35cd2a2fcaf79d84a20f492250006d069eb3
3,586
py
Python
dz_se_comm.py
strebrah/Solaredge_Domoticz_Modbus
802bfde4f4b458ad0d30d3a9433315e12e3aa837
[ "MIT" ]
null
null
null
dz_se_comm.py
strebrah/Solaredge_Domoticz_Modbus
802bfde4f4b458ad0d30d3a9433315e12e3aa837
[ "MIT" ]
null
null
null
dz_se_comm.py
strebrah/Solaredge_Domoticz_Modbus
802bfde4f4b458ad0d30d3a9433315e12e3aa837
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 #################################################################################################### # Created by EH (NL) https://github.com/strebrah/Solaredge_Domoticz_Modbus # # Date: August 2020 ...
59.766667
118
0.499721
318
3,586
5.386792
0.36478
0.016346
0.023351
0.032107
0.30181
0.201985
0.036194
0
0
0
0
0.008152
0.384272
3,586
59
119
60.779661
0.767663
0.481874
0
0.137931
0
0
0.121639
0.049296
0
0
0
0
0
1
0
false
0
0.310345
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a0edb39559fc23e931152b94ffea25ac01150fa0
10,632
py
Python
parse_mitchell.py
cfwelch/targeted_sentiment
1c1b063339cdead8f5860df784a0fa170bcdd3ef
[ "MIT" ]
1
2020-12-28T13:51:02.000Z
2020-12-28T13:51:02.000Z
parse_mitchell.py
cfwelch/targeted_sentiment
1c1b063339cdead8f5860df784a0fa170bcdd3ef
[ "MIT" ]
2
2018-04-23T02:13:44.000Z
2018-04-25T04:58:35.000Z
parse_mitchell.py
cfwelch/targeted_sentiment
1c1b063339cdead8f5860df784a0fa170bcdd3ef
[ "MIT" ]
null
null
null
import senti_lexis import datetime, string, numpy, spwrap, random time, sys, re from sklearn import svm from sklearn import cross_validation from sklearn.feature_extraction.text import CountVectorizer from sklearn.cross_validation import KFold from scipy.sparse import csr_matrix def main(): for i in range(1, 11): ...
28.891304
93
0.60506
1,475
10,632
4.286102
0.170169
0.022778
0.020247
0.027839
0.288358
0.255141
0.237109
0.218127
0.214489
0.198039
0
0.022815
0.196106
10,632
367
94
28.970027
0.71686
0.210591
0
0.334586
0
0
0.067079
0.006683
0
0
0
0
0
0
null
null
0
0.026316
null
null
0.06391
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a0f1fbf8cfec77c2b1ef56f17fd04592b977c305
9,115
py
Python
tests/Preprocessing_Test.py
Maxence-Labesse/MLKit
7f8d92b5d3e025dc3719c3bbaf1f2e55afda5107
[ "MIT" ]
1
2022-01-11T14:13:22.000Z
2022-01-11T14:13:22.000Z
tests/Preprocessing_Test.py
Maxence-Labesse/MLKit
7f8d92b5d3e025dc3719c3bbaf1f2e55afda5107
[ "MIT" ]
null
null
null
tests/Preprocessing_Test.py
Maxence-Labesse/MLKit
7f8d92b5d3e025dc3719c3bbaf1f2e55afda5107
[ "MIT" ]
1
2020-07-10T09:51:22.000Z
2020-07-10T09:51:22.000Z
from AutoMxL.Preprocessing.Categorical import * from AutoMxL.Preprocessing.Date import * from AutoMxL.Preprocessing.Outliers import * from AutoMxL.Preprocessing.Missing_Values import * import unittest import pandas as pd import math # test config df = pd.read_csv('tests/df_test_bis.csv') class TestMissingValues(unit...
43.822115
120
0.622929
1,170
9,115
4.578632
0.150427
0.089602
0.063468
0.036588
0.479186
0.337129
0.207952
0.126003
0.044615
0.044615
0
0.030715
0.192759
9,115
207
121
44.033816
0.697336
0.065277
0
0.032
0
0
0.141991
0.018198
0
0
0
0
0.504
1
0.088
false
0
0.056
0
0.176
0.024
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
a0f92a83ae88dda1724d8249cb3715aea8d6c4ad
2,073
py
Python
execute.py
r-kapoor/ranking-extractions
59ed7f23d120d1bc7f0ee2af48ffa61817fd1715
[ "MIT" ]
null
null
null
execute.py
r-kapoor/ranking-extractions
59ed7f23d120d1bc7f0ee2af48ffa61817fd1715
[ "MIT" ]
null
null
null
execute.py
r-kapoor/ranking-extractions
59ed7f23d120d1bc7f0ee2af48ffa61817fd1715
[ "MIT" ]
null
null
null
import codecs import json import rank import train_ranker #Files to be present in home dir TRAINING_FILE_CITIES = 'manual_7_cities.jl' TRAINING_FILE_NAMES = 'manual_50_names.jl' TRAINING_FILE_ETHNICITIES = 'manual_50_ethnicities.jl' ACTUAL_FILE_CITIES = 'manual_50_cities.jl' ACTUAL_FILE_NAMES = 'manual_50_names.jl' A...
29.614286
97
0.721177
270
2,073
5.181481
0.240741
0.042888
0.045747
0.051465
0.38456
0.322373
0.149392
0.048606
0.048606
0.048606
0
0.01117
0.17945
2,073
69
98
30.043478
0.811287
0.014954
0
0.134615
0
0
0.244318
0.04907
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a0f9bbfc405c03e8dff904c969ce60482f1a635c
567
py
Python
thesis/code/fairness/gen.py
fz1989/master-thesis
e47af8c90d8d18d87f906a7a4bcadb64669e70db
[ "MIT" ]
null
null
null
thesis/code/fairness/gen.py
fz1989/master-thesis
e47af8c90d8d18d87f906a7a4bcadb64669e70db
[ "MIT" ]
null
null
null
thesis/code/fairness/gen.py
fz1989/master-thesis
e47af8c90d8d18d87f906a7a4bcadb64669e70db
[ "MIT" ]
null
null
null
#!/usr/bin/env python #coding=utf-8 import numpy class Task(object): def __init__(self, cpu, mem): self.cpu = cpu self.mem = mem def __repr__(self): return ("%d,%d") % (self.cpu, self.mem) def get_task_list(): task_list = [] for i in range(0,30): cpu = numpy.random.r...
21
47
0.589065
87
567
3.551724
0.425287
0.18123
0.064725
0.122977
0.12945
0
0
0
0
0
0
0.019139
0.262787
567
26
48
21.807692
0.720096
0.056437
0
0
0
0
0.035647
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a0fd132d4d35c39d83a7f211d5d4e4443ddf2030
1,399
py
Python
src/modeling/train_test.py
samsonq/Macroeconomic-Default-Analysis
1a155873f951b1584c33c2d91bd525b67f78136d
[ "MIT" ]
4
2020-06-12T22:20:48.000Z
2021-08-08T15:49:38.000Z
src/modeling/train_test.py
samsonq/Macroeconomic-Default-Analysis
1a155873f951b1584c33c2d91bd525b67f78136d
[ "MIT" ]
1
2020-04-15T07:11:43.000Z
2020-04-15T07:11:43.000Z
src/modeling/train_test.py
samsonq/Macroeconomic-Default-Analysis
1a155873f951b1584c33c2d91bd525b67f78136d
[ "MIT" ]
3
2020-09-18T02:27:58.000Z
2021-10-30T21:22:10.000Z
""" Prepare training, validation, and testing data after preprocessing of the large dataset. Used in training and evaluating models. """ import numpy as np import pandas as pd from sklearn.model_selection import train_test_split def feature_selection(data, features): """ Choose which features to use for trai...
35.871795
114
0.735525
216
1,399
4.578704
0.300926
0.054601
0.042467
0.056623
0.204247
0.068756
0.068756
0.068756
0.068756
0
0
0.006189
0.191565
1,399
38
115
36.815789
0.868258
0.505361
0
0
0
0
0.017771
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9d19f0ff06adc850dcf2436e1f6a4aeadf9e7144
1,130
py
Python
example/undistort_ir_images.py
greeknerd1/stereo-rectify
98a23c3ff96dd4344ecad13d4ff145060c8fb992
[ "MIT" ]
null
null
null
example/undistort_ir_images.py
greeknerd1/stereo-rectify
98a23c3ff96dd4344ecad13d4ff145060c8fb992
[ "MIT" ]
null
null
null
example/undistort_ir_images.py
greeknerd1/stereo-rectify
98a23c3ff96dd4344ecad13d4ff145060c8fb992
[ "MIT" ]
null
null
null
#!/usr/bin/env python import cv2 import numpy as np import os import glob import itertools import json from numpy.core.fromnumeric import argmax #SECTION 1: UNDISTORT FISHEYE #Read in OpenCV compatible instrinsics & distortion coeffs COLOR_INTRINSIC = np.load('./savedCoeff/colorIntr.npy') COLOR_DIST = np.load('./sav...
36.451613
115
0.752212
161
1,130
5.10559
0.496894
0.029197
0.077859
0.060827
0
0
0
0
0
0
0
0.027613
0.102655
1,130
30
116
37.666667
0.783037
0.115929
0
0
0
0
0.21407
0.182915
0
0
0
0
0
1
0
false
0
0.318182
0
0.318182
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9d1aff1bfb4da29713d9d7f9b89454bc608165f8
359
py
Python
terra_layer/apps.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
1
2019-08-08T15:17:32.000Z
2019-08-08T15:17:32.000Z
terra_layer/apps.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
65
2019-10-21T10:05:00.000Z
2022-03-08T14:08:27.000Z
terra_layer/apps.py
Terralego/terra-layer
6564a63d389503d3ae1f63ce46e674b228d6764b
[ "MIT" ]
null
null
null
from django.apps import AppConfig from terra_accounts.permissions_mixins import PermissionRegistrationMixin class TerraLayerConfig(PermissionRegistrationMixin, AppConfig): name = "terra_layer" permissions = ( ("DataLayer", "can_manage_layers", "Can manage layers"), ("DataSource", "can_manage_...
29.916667
73
0.740947
34
359
7.617647
0.588235
0.138996
0.11583
0
0
0
0
0
0
0
0
0
0.164345
359
11
74
32.636364
0.863333
0
0
0
0
0
0.278552
0
0
0
0
0
0
1
0
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9d208e0e14d75f5e83f5d7ca01135d1ab258d6e8
317
py
Python
src/hark_lang/machine/stdout_item.py
krrome/teal-lang
594ac0f0baae047fdb19ac9126d174408d487905
[ "Apache-2.0" ]
85
2020-04-29T13:51:33.000Z
2020-08-28T04:40:11.000Z
src/hark_lang/machine/stdout_item.py
krrome/teal-lang
594ac0f0baae047fdb19ac9126d174408d487905
[ "Apache-2.0" ]
15
2020-05-06T07:58:18.000Z
2020-08-28T10:29:28.000Z
src/hark_lang/machine/stdout_item.py
krrome/teal-lang
594ac0f0baae047fdb19ac9126d174408d487905
[ "Apache-2.0" ]
4
2020-05-31T09:42:08.000Z
2020-08-27T17:04:26.000Z
"""StdoutItem class""" from dataclasses import asdict, dataclass from .hark_serialisable import HarkSerialisable, now_str @dataclass class StdoutItem(HarkSerialisable): thread: int text: str time: str = None def __post_init__(self): if self.time is None: self.time = now_str()
19.8125
56
0.690852
38
317
5.552632
0.605263
0.056872
0
0
0
0
0
0
0
0
0
0
0.227129
317
15
57
21.133333
0.861224
0.050473
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9d280cecbd0d584acd8037cf6b0f18c473484417
3,031
py
Python
shiftmanager/redshift.py
whitmo/shiftmanager
49cd461854a9e8bc270b5cc6f9a2303cf87c2fb3
[ "BSD-2-Clause" ]
null
null
null
shiftmanager/redshift.py
whitmo/shiftmanager
49cd461854a9e8bc270b5cc6f9a2303cf87c2fb3
[ "BSD-2-Clause" ]
null
null
null
shiftmanager/redshift.py
whitmo/shiftmanager
49cd461854a9e8bc270b5cc6f9a2303cf87c2fb3
[ "BSD-2-Clause" ]
1
2020-09-02T04:37:37.000Z
2020-09-02T04:37:37.000Z
""" Defines a Redshift class which encapsulates a database connection and utility functions for managing that database. """ from __future__ import (absolute_import, division, print_function, unicode_literals) import os import psycopg2 from shiftmanager.mixins import AdminMixin, ReflectionMix...
32.244681
75
0.629165
349
3,031
5.355301
0.366762
0.028892
0.029428
0.037453
0.079187
0.047084
0.047084
0.047084
0.047084
0.047084
0
0.005594
0.292313
3,031
93
76
32.591398
0.865734
0.352029
0
0.108108
0
0
0.032149
0
0
0
0
0
0
1
0.108108
false
0.081081
0.135135
0
0.324324
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9d2c9923a0dda16187c578d67868231654968587
358
py
Python
setup.py
kckaiwei/pysteamcmd
273f114352975268b01cb8007cc2336115aea4fc
[ "MIT" ]
null
null
null
setup.py
kckaiwei/pysteamcmd
273f114352975268b01cb8007cc2336115aea4fc
[ "MIT" ]
null
null
null
setup.py
kckaiwei/pysteamcmd
273f114352975268b01cb8007cc2336115aea4fc
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='pysteamcmd', version='0.1.2', description='Python package to install and utilize steamcmd', url='http://github.com/f0rkz/pysteamcmd', author='f0rkz', author_email='f0rkz@f0rkznet.net', license='MIT', packages=['pysteamcmd'], insta...
27.538462
67
0.648045
41
358
5.585366
0.829268
0
0
0
0
0
0
0
0
0
0
0.024735
0.209497
358
12
68
29.833333
0.784452
0
0
0
0
0
0.365922
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9d3448187e277186c37746a8eee21eed655db199
1,030
py
Python
questions/univalued-binary-tree/Solution.py
marcus-aurelianus/leetcode-solutions
8b43e72fe1f51c84abc3e89b181ca51f09dc7ca6
[ "MIT" ]
141
2017-12-12T21:45:53.000Z
2022-03-25T07:03:39.000Z
questions/univalued-binary-tree/Solution.py
marcus-aurelianus/leetcode-solutions
8b43e72fe1f51c84abc3e89b181ca51f09dc7ca6
[ "MIT" ]
32
2015-10-05T14:09:52.000Z
2021-05-30T10:28:41.000Z
questions/univalued-binary-tree/Solution.py
marcus-aurelianus/leetcode-solutions
8b43e72fe1f51c84abc3e89b181ca51f09dc7ca6
[ "MIT" ]
56
2015-09-30T05:23:28.000Z
2022-03-08T07:57:11.000Z
""" A binary tree is univalued if every node in the tree has the same value. Return true if and only if the given tree is univalued.   Example 1: Input: [1,1,1,1,1,null,1] Output: true Example 2: Input: [2,2,2,5,2] Output: false   Note: The number of nodes in the given tree will be in the range [1, 100]...
20.196078
77
0.586408
155
1,030
3.870968
0.387097
0.05
0.015
0.013333
0.073333
0.073333
0.073333
0
0
0
0
0.028409
0.316505
1,030
51
77
20.196078
0.823864
0.545631
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9d3825f401efd886ac45bc856e7732ecfff783b3
1,418
py
Python
src/TestValues/TestProtractor3D.py
SvenKratz/Protractor3D
39b6c877cc88cae028ca938e994034b83fcccb68
[ "MIT" ]
4
2018-02-06T14:41:26.000Z
2020-03-19T14:16:05.000Z
src/TestValues/TestProtractor3D.py
SvenKratz/Protractor3D
39b6c877cc88cae028ca938e994034b83fcccb68
[ "MIT" ]
null
null
null
src/TestValues/TestProtractor3D.py
SvenKratz/Protractor3D
39b6c877cc88cae028ca938e994034b83fcccb68
[ "MIT" ]
null
null
null
''' Created on Apr 12, 2011 @author: svenkratz ''' import TestGestures import Protractor3D.Protractor3D from Protractor3D.Protractor3D import * def triplify(g): out = [] if len(g) % 3 != 0: print "Warning: Data not divisible by 3" for k in xrange(len(g)/3): out = out + [[g[3*k], g[3*k+1], g[3*k+2]]] return...
22.507937
121
0.693935
173
1,418
5.589595
0.306358
0.06515
0.009307
0
0
0
0
0
0
0
0
0.038088
0.12976
1,418
62
122
22.870968
0.745543
0.139633
0
0
0
0
0.135345
0.033621
0
0
0
0
0
0
null
null
0
0.096774
null
null
0.16129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9d3ac14e7019eef027448de09382a14cd8c888c7
352
py
Python
radical_translations/core/migrations/0033_delete_work.py
kingsdigitallab/radical_translations
c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a
[ "MIT" ]
3
2022-02-08T18:03:44.000Z
2022-03-18T18:10:43.000Z
radical_translations/core/migrations/0033_delete_work.py
kingsdigitallab/radical_translations
c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a
[ "MIT" ]
19
2020-05-11T15:36:35.000Z
2022-02-08T11:26:40.000Z
radical_translations/core/migrations/0033_delete_work.py
kingsdigitallab/radical_translations
c18ca1ccc0ab2d88ae472dc2eda58e2ff9dcc76a
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2020-05-18 10:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('events', '0008_alter_field_classification_on_event'), ('core', '0032_delete_instance'), ] operations = [ migrations.DeleteModel( ...
19.555556
63
0.616477
38
352
5.526316
0.815789
0
0
0
0
0
0
0
0
0
0
0.093023
0.267045
352
17
64
20.705882
0.72093
0.130682
0
0
1
0
0.243421
0.131579
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d44ee135064ae4d96e5b84d0ccf61816f50cfb1
1,253
py
Python
irekua_dev_tools/cli.py
CONABIO-audio/irekua-dev-tools
87485592b7d4793c5e1f6eda2e00247810bfc99c
[ "BSD-4-Clause" ]
null
null
null
irekua_dev_tools/cli.py
CONABIO-audio/irekua-dev-tools
87485592b7d4793c5e1f6eda2e00247810bfc99c
[ "BSD-4-Clause" ]
null
null
null
irekua_dev_tools/cli.py
CONABIO-audio/irekua-dev-tools
87485592b7d4793c5e1f6eda2e00247810bfc99c
[ "BSD-4-Clause" ]
null
null
null
import click from irekua_dev_tools.utils import load_config from irekua_dev_tools.utils import get_working_directory from irekua_dev_tools.utils import load_environment_variables from irekua_dev_tools.utils import load_repository_info from . import git from . import dev from . import config from . import db from .ex...
29.833333
73
0.751796
178
1,253
5.05618
0.286517
0.077778
0.072222
0.08
0.142222
0.142222
0.11
0
0
0
0
0
0.122905
1,253
41
74
30.560976
0.818926
0
0
0
0
0
0.117318
0
0
0
0
0
0
1
0.03125
false
0.03125
0.3125
0
0.34375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9d4cf41e0ad2b23397f4ee9bbfa792895ce345d0
277
py
Python
alviscorpus/status.py
Bibliome/alviscorpus
ec7bf45efbc6a3cd864fda48e0066090cfb93313
[ "MIT" ]
null
null
null
alviscorpus/status.py
Bibliome/alviscorpus
ec7bf45efbc6a3cd864fda48e0066090cfb93313
[ "MIT" ]
null
null
null
alviscorpus/status.py
Bibliome/alviscorpus
ec7bf45efbc6a3cd864fda48e0066090cfb93313
[ "MIT" ]
null
null
null
import enum class Status(enum.Enum): QUEUED = 'queued' STARTED = 'started' FINISHED = 'finished' ERROR = 'error' def __str__(self): return self.value QUEUED = Status.QUEUED STARTED = Status.STARTED FINISHED = Status.FINISHED ERROR = Status.ERROR
17.3125
26
0.67148
32
277
5.6875
0.40625
0.142857
0
0
0
0
0
0
0
0
0
0
0.227437
277
15
27
18.466667
0.850467
0
0
0
0
0
0.093863
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9d4d51c8583e8a9e583bab2100d07d40d0fad696
977
py
Python
01_simulate_competition_experiment.py
stevenshave/competition-label-affinity
2383309e852954a1bd88c6364087c3d57e7acec0
[ "MIT" ]
null
null
null
01_simulate_competition_experiment.py
stevenshave/competition-label-affinity
2383309e852954a1bd88c6364087c3d57e7acec0
[ "MIT" ]
null
null
null
01_simulate_competition_experiment.py
stevenshave/competition-label-affinity
2383309e852954a1bd88c6364087c3d57e7acec0
[ "MIT" ]
null
null
null
"""Simulation 1:1:1 comptition binding""" import numpy as np from high_accuracy_binding_equations import * # We can choose to work in a common unit, typically nM, or uM, as long as all # numbers are in the same unit, the result is valid. We assume uM for all # concentrations bellow. # First, lets simulate a few sin...
36.185185
95
0.745138
161
977
4.459627
0.534161
0.033426
0.047354
0.069638
0.108635
0.108635
0.108635
0.108635
0
0
0
0.020681
0.158649
977
26
96
37.576923
0.852798
0.708291
0
0
0
0.2
0.363636
0.117424
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9d6069e2ba0263497aa9f814cd08018989e4473f
1,928
py
Python
reviewboard/reviews/search_indexes.py
znick/reviewboard
f32320b267efcdf2feff1661eabe57f99ef490a7
[ "MIT" ]
1
2018-08-23T09:19:02.000Z
2018-08-23T09:19:02.000Z
reviewboard/reviews/search_indexes.py
klpyang/reviewboard
d7dabf36e5b492f18048dd7084026bf99d6933c5
[ "MIT" ]
null
null
null
reviewboard/reviews/search_indexes.py
klpyang/reviewboard
d7dabf36e5b492f18048dd7084026bf99d6933c5
[ "MIT" ]
1
2021-11-23T15:25:44.000Z
2021-11-23T15:25:44.000Z
from django.db.models import Q from haystack import indexes from reviewboard.reviews.models import ReviewRequest class ReviewRequestIndex(indexes.SearchIndex, indexes.Indexable): """A Haystack search index for Review Requests.""" # By Haystack convention, the full-text template is automatically # referen...
39.346939
76
0.705394
231
1,928
5.718615
0.458874
0.096896
0.095382
0.11355
0.051476
0
0
0
0
0
0
0
0.200207
1,928
48
77
40.166667
0.85668
0.223548
0
0
0
0
0.10562
0.037915
0
0
0
0
0
1
0.129032
false
0
0.096774
0.064516
0.677419
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
19b3b12f916bfa71763e1f5555965f2dffc3a223
727
py
Python
utils/update.py
adavila0703/warehouse-hub
29778d605e372d6d6b41d05a3637edefb047f0bc
[ "MIT" ]
null
null
null
utils/update.py
adavila0703/warehouse-hub
29778d605e372d6d6b41d05a3637edefb047f0bc
[ "MIT" ]
null
null
null
utils/update.py
adavila0703/warehouse-hub
29778d605e372d6d6b41d05a3637edefb047f0bc
[ "MIT" ]
null
null
null
from shutil import copy, copytree, rmtree import pathlib import os import time def update(): """Update is a script to auto update all the files that the user is using""" print('Warehouse Hub is updating, do not close this window...') time.sleep(3) print('Applying patch...') time.sleep(1) c...
25.068966
83
0.672627
95
727
5.063158
0.547368
0.091476
0.158004
0.079002
0.120582
0
0
0
0
0
0
0.0033
0.166437
727
28
84
25.964286
0.790429
0.096286
0
0
0
0
0.494624
0.271889
0
0
0
0
0
1
0.058824
true
0
0.235294
0
0.294118
0.235294
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
19b4fbf622ea3b5c2b94266b63984fdd1ea1e133
460
py
Python
config.py
icewing1996/biaffine-parser
f5a4ece7ba9a087d81b76dd6a8ea6aa7d90c6c82
[ "MIT" ]
1
2019-04-02T14:42:20.000Z
2019-04-02T14:42:20.000Z
config.py
icewing1996/biaffine-parser
f5a4ece7ba9a087d81b76dd6a8ea6aa7d90c6c82
[ "MIT" ]
null
null
null
config.py
icewing1996/biaffine-parser
f5a4ece7ba9a087d81b76dd6a8ea6aa7d90c6c82
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- class Config(object): # [Network] n_embed = 100 n_tag_embed = 100 embed_dropout = 0.33 n_lstm_hidden = 400 n_lstm_layers = 3 lstm_dropout = 0.33 n_mlp_arc = 500 n_mlp_rel = 100 mlp_dropout = 0.33 # [Optimizer] lr = 2e-3 beta_1 = 0.9 bet...
15.862069
24
0.558696
70
460
3.414286
0.628571
0.100418
0.125523
0.09205
0
0
0
0
0
0
0
0.174342
0.33913
460
28
25
16.428571
0.611842
0.106522
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
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
1
0
0
1
19c32bbd1169664ffd8d06d663183110a2d5e53c
391
py
Python
src/app/migrations/0004_history_missed.py
deadlock-delegate/arkdelegates
8a5262f51b519ba3bc10094756c8866fc550df65
[ "MIT" ]
2
2018-05-22T13:47:09.000Z
2018-05-23T12:45:05.000Z
src/app/migrations/0004_history_missed.py
deadlock-delegate/arkdelegates
8a5262f51b519ba3bc10094756c8866fc550df65
[ "MIT" ]
21
2018-05-08T12:56:46.000Z
2020-06-05T18:59:38.000Z
src/app/migrations/0004_history_missed.py
deadlock-delegate/arkdelegates
8a5262f51b519ba3bc10094756c8866fc550df65
[ "MIT" ]
4
2018-05-04T15:00:59.000Z
2019-02-13T02:39:07.000Z
# Generated by Django 2.0.3 on 2018-03-14 09:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0003_delegate_public_key'), ] operations = [ migrations.AddField( model_name='history', name='missed', ...
20.578947
59
0.595908
43
391
5.325581
0.837209
0
0
0
0
0
0
0
0
0
0
0.0681
0.286445
391
18
60
21.722222
0.752688
0.11509
0
0
1
0
0.116279
0.069767
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
19c4cd4bbbc8cea75d64211787db92e8b023d09a
3,135
py
Python
pytanga/components/OpenConfig/routing/ospfv2/ospfv2Interface.py
renatoalmeidaoliveira/Pytanga
aa02f1c0f2573da1330d1d246ab780fa3be336a5
[ "MIT" ]
null
null
null
pytanga/components/OpenConfig/routing/ospfv2/ospfv2Interface.py
renatoalmeidaoliveira/Pytanga
aa02f1c0f2573da1330d1d246ab780fa3be336a5
[ "MIT" ]
null
null
null
pytanga/components/OpenConfig/routing/ospfv2/ospfv2Interface.py
renatoalmeidaoliveira/Pytanga
aa02f1c0f2573da1330d1d246ab780fa3be336a5
[ "MIT" ]
null
null
null
from pytanga.components import AbstractComponent class ospfv2InterfaceComponent(AbstractComponent): def __init__( self, if_id, network_type=None, priority=None, multi_area_adjacency_primary=None, authentication_type=None, metric=...
32.319588
94
0.500797
257
3,135
5.914397
0.249027
0.088816
0.071053
0.098684
0.205921
0.152632
0.118421
0.118421
0.118421
0.118421
0
0.000536
0.404785
3,135
96
95
32.65625
0.814041
0
0
0.216867
0
0
0.081685
0.017869
0
0
0
0
0
1
0.108434
false
0.060241
0.012048
0.024096
0.192771
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
19c7ee6d99159a70af01f16f7e183bb9ec3972a5
7,017
py
Python
app_mongo.py
emmpets/MongoProject
cbef19b590503825158909703125b34c1bf536ec
[ "Apache-2.0" ]
null
null
null
app_mongo.py
emmpets/MongoProject
cbef19b590503825158909703125b34c1bf536ec
[ "Apache-2.0" ]
null
null
null
app_mongo.py
emmpets/MongoProject
cbef19b590503825158909703125b34c1bf536ec
[ "Apache-2.0" ]
null
null
null
from pymongo import MongoClient import pymongo from datetime import datetime,time import time from bson.code import Code mongo_client=MongoClient('mongodb://localhost:27017/') db=mongo_client.mydb db_col=db.things dbc = mongo_client.mydb.things print mongo_client print(db) print("connected") def first_querry(): ...
30.11588
110
0.584865
859
7,017
4.686845
0.271246
0.021858
0.019374
0.032787
0.272479
0.205912
0.15077
0.107799
0.036264
0.014406
0
0.020549
0.257945
7,017
232
111
30.24569
0.752641
0.012113
0
0.111111
0
0.011111
0.481594
0.050527
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
19cc949ad53b4cdcbc1b975b94608f7737a43f64
825
py
Python
main.py
cltl-students/hamersma-agression-causes
11cbfd94031a0a3c84a27afa20d8a539acdab609
[ "MIT" ]
null
null
null
main.py
cltl-students/hamersma-agression-causes
11cbfd94031a0a3c84a27afa20d8a539acdab609
[ "MIT" ]
null
null
null
main.py
cltl-students/hamersma-agression-causes
11cbfd94031a0a3c84a27afa20d8a539acdab609
[ "MIT" ]
null
null
null
from preprocessing import preprocess from approach1_rulebased import get_predictions_rulebased from approach2_machine_learning import get_predictions_ml from bertopic_clustering import cluster_precursors def main(): '''Main function to use from commandline, preprocess input to generate embeddings, detect agr...
43.421053
118
0.778182
100
825
6.19
0.59
0.090469
0.06462
0
0
0
0
0
0
0
0
0.002946
0.17697
825
19
119
43.421053
0.908689
0.46303
0
0
0
0
0.058537
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
19cd9765a8c1a72e36854304f427fda7349e31d0
8,985
pyw
Python
12th project cs/Gui pages.pyw
Jatin-Ya/ChatApp-12th-project-
77ced9b18205728334f4370fbce8d74687bc5373
[ "Apache-2.0" ]
null
null
null
12th project cs/Gui pages.pyw
Jatin-Ya/ChatApp-12th-project-
77ced9b18205728334f4370fbce8d74687bc5373
[ "Apache-2.0" ]
null
null
null
12th project cs/Gui pages.pyw
Jatin-Ya/ChatApp-12th-project-
77ced9b18205728334f4370fbce8d74687bc5373
[ "Apache-2.0" ]
null
null
null
from tkinter import * import threading import sql_manager as ss def temp(er,s): er.destroy() s.sperson() def temp2(er,s): er.destroy() s.w.destroy() def close_w(self): self.w.destroy() class GUI: def __init__(self): self.w=Tk() p1 = PhotoImage(fi...
35.654762
111
0.575292
1,163
8,985
4.414445
0.185727
0.042852
0.046747
0.024932
0.473899
0.397741
0.329178
0.316323
0.2836
0.248344
0
0.055006
0.279688
8,985
251
112
35.796813
0.738257
0
0
0.178771
0
0
0.094
0
0
0
0
0
0
1
0.089385
false
0.050279
0.01676
0
0.111732
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
19cea24c1060f2d6ff7113c23c57266d177697db
1,528
py
Python
19/19a.py
jamOne-/adventofcode2018
d51c01578ae7e4f30824c4f6ace66958491c1ed4
[ "MIT" ]
null
null
null
19/19a.py
jamOne-/adventofcode2018
d51c01578ae7e4f30824c4f6ace66958491c1ed4
[ "MIT" ]
null
null
null
19/19a.py
jamOne-/adventofcode2018
d51c01578ae7e4f30824c4f6ace66958491c1ed4
[ "MIT" ]
null
null
null
import sys OPERATIONS = { 'addr': lambda a, b, c, registers: registers[a] + registers[b], 'addi': lambda a, b, c, registers: registers[a] + b, 'mulr': lambda a, b, c, registers: registers[a] * registers[b], 'muli': lambda a, b, c, registers: registers[a] * b, 'banr': lambda a, b, c, registers: registers[a] ...
36.380952
77
0.633508
242
1,528
3.966942
0.223141
0.05
0.05625
0.2125
0.598958
0.558333
0.558333
0.529167
0.408333
0.25
0
0.015397
0.192408
1,528
41
78
37.268293
0.762561
0
0
0
0
0
0.043194
0
0
0
0
0
0
1
0.03125
false
0
0.03125
0
0.09375
0.03125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
19d1e57d2a97ef66002ffa2d6966b97f5f533bee
1,878
py
Python
examples/websocket_echo_server.py
HMXHIU/VeryPowerfulAgents
06abd52776aeaf701637533f760176459c9c361c
[ "MIT" ]
2
2021-11-30T16:14:01.000Z
2022-03-04T09:20:51.000Z
examples/websocket_echo_server.py
HMXHIU/VeryPowerfulAgents
06abd52776aeaf701637533f760176459c9c361c
[ "MIT" ]
8
2021-02-10T15:43:49.000Z
2021-02-10T16:00:16.000Z
examples/websocket_echo_server.py
HMXHIU/VeryPowerfulAgents
06abd52776aeaf701637533f760176459c9c361c
[ "MIT" ]
1
2021-01-01T12:31:48.000Z
2021-01-01T12:31:48.000Z
from aiohttp import web from agents import Agent class WebServer(Agent): html = """ <!DOCTYPE html> <html> <head> <title>WebSocket Echo</title> </head> <body> <h1>WebSocket Echo</h1> <form action="" onsubmit="sendMessage(event)"> ...
30.786885
86
0.510117
177
1,878
5.338983
0.440678
0.025397
0.025397
0
0
0
0
0
0
0
0
0.010017
0.362087
1,878
60
87
31.3
0.778798
0
0
0
0
0
0.633653
0.155485
0
0
0
0
0
1
0.019608
false
0
0.039216
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
19f24b3bd880d9e6bed48acb8886bc868d4be2dd
14,592
py
Python
gui/python/photogate/photogate/photogate_app.py
iorodeo/photogate_software
c9a97dc3da644fe093397dd11024825ba0d79519
[ "Apache-2.0" ]
1
2020-07-23T19:02:50.000Z
2020-07-23T19:02:50.000Z
gui/python/photogate/photogate/photogate_app.py
iorodeo/photogate_software
c9a97dc3da644fe093397dd11024825ba0d79519
[ "Apache-2.0" ]
null
null
null
gui/python/photogate/photogate/photogate_app.py
iorodeo/photogate_software
c9a97dc3da644fe093397dd11024825ba0d79519
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function import os import sys import serial.tools.list_ports from PyQt4 import QtCore from PyQt4 import QtGui from photogate_ui import Ui_PhotogateMainWindow from photogate_serial import PhotogateDevice from photogate_serial import getListOfPorts import dependency_hack try: import scipy...
37.22449
94
0.614172
1,297
14,592
6.841943
0.216654
0.018932
0.017129
0.008677
0.205995
0.179175
0.170385
0.149538
0.11652
0.081812
0
0.005521
0.280085
14,592
391
95
37.319693
0.839219
0.028988
0
0.277108
0
0
0.076651
0
0
0
0
0
0
0
null
null
0.003012
0.036145
null
null
0.003012
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
19f6287b8eec32e7e9ec1cec1c39636f68949b75
2,308
py
Python
src/E_get_mpns_v8_analyses_answers/query_mpns_v8_name_relationships.py
feiphoon/mpns-pipeline
d34a8609dc4cb04ccc3f5c9b79a52bfeecdb38f6
[ "MIT" ]
1
2022-03-28T10:46:58.000Z
2022-03-28T10:46:58.000Z
src/E_get_mpns_v8_analyses_answers/query_mpns_v8_name_relationships.py
feiphoon/mpns-pipeline
d34a8609dc4cb04ccc3f5c9b79a52bfeecdb38f6
[ "MIT" ]
null
null
null
src/E_get_mpns_v8_analyses_answers/query_mpns_v8_name_relationships.py
feiphoon/mpns-pipeline
d34a8609dc4cb04ccc3f5c9b79a52bfeecdb38f6
[ "MIT" ]
null
null
null
from pathlib import Path from pyspark.sql import SparkSession, functions as f from pyspark.sql.dataframe import DataFrame # Monkeypatch in case I don't use Spark 3.0 def transform(self, f): return f(self) DataFrame.transform = transform def query_mpns_v8_name_relationships( input_filepath: str, outp...
30.368421
86
0.747834
304
2,308
5.319079
0.279605
0.157699
0.074212
0.170686
0.538033
0.486704
0.366729
0.307978
0.307978
0.262832
0
0.010725
0.151646
2,308
75
87
30.773333
0.815117
0.184575
0
0
0
0
0.137728
0.123794
0
0
0
0
0
1
0.093023
false
0
0.069767
0.023256
0.209302
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
19ffa347e490ab19819ef9b329ffa153417391c5
826
py
Python
CPAC/utils/tests/test_symlinks.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
125
2015-03-04T09:14:46.000Z
2022-03-29T07:46:12.000Z
CPAC/utils/tests/test_symlinks.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
1,018
2015-01-04T16:01:29.000Z
2022-03-31T19:23:09.000Z
CPAC/utils/tests/test_symlinks.py
Lawreros/C-PAC
ce26ba9a38cbd401cd405150eeed23b805007724
[ "BSD-3-Clause" ]
117
2015-01-10T08:05:52.000Z
2022-01-18T05:16:51.000Z
import os import tempfile import pkg_resources as p from CPAC.utils.symlinks import create_symlinks mocked_outputs = \ p.resource_filename( "CPAC", os.path.join( 'utils', 'tests', 'test_symlinks-outputs.txt' ) ) def test_symlinks(): temp_dir ...
19.666667
55
0.579903
95
826
4.884211
0.589474
0.077586
0.064655
0
0
0
0
0
0
0
0
0.014363
0.325666
826
42
56
19.666667
0.818671
0.117433
0
0
0
0
0.153103
0.067586
0
0
0
0.02381
0
1
0.037037
false
0
0.148148
0
0.185185
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c205b5f889cdcc188c5b89c3efa9505bfb938fe3
384
py
Python
UsefulLink.py
qyu6/TAILab
6c3e7a7e2e49f7c673ab46b90c1568a96cce75b7
[ "Apache-2.0" ]
1
2022-01-10T15:14:55.000Z
2022-01-10T15:14:55.000Z
UsefulLink.py
qyu6/TAILab
6c3e7a7e2e49f7c673ab46b90c1568a96cce75b7
[ "Apache-2.0" ]
null
null
null
UsefulLink.py
qyu6/TAILab
6c3e7a7e2e49f7c673ab46b90c1568a96cce75b7
[ "Apache-2.0" ]
null
null
null
''' @func:to store useful links module @create:2021.10.20 ''' def usefullink(): import streamlit as st st.write('[1].在线Latex公式编辑器') st.write('https://latex.codecogs.com/eqneditor/editor.php?lang=zh-cn') st.write('[2].装饰Github README.md文件的logo') st.write('https://shields.io/') st.write('[3...
25.6
74
0.65625
54
384
4.666667
0.740741
0.166667
0.142857
0
0
0
0
0
0
0
0
0.033435
0.143229
384
15
75
25.6
0.732523
0.138021
0
0
0
0
0.521605
0
0
0
0
0
0
1
0.125
true
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c223b2854d4053fb4e412891092b11e58745c844
339
py
Python
kiteconnect/__version__.py
AnjayGoel/pykiteconnect
e33833a86d3e6483f2cff1be8bed74f40d5771c5
[ "MIT" ]
1
2022-02-05T08:43:37.000Z
2022-02-05T08:43:37.000Z
kiteconnect/__version__.py
AnjayGoel/pykiteconnect
e33833a86d3e6483f2cff1be8bed74f40d5771c5
[ "MIT" ]
null
null
null
kiteconnect/__version__.py
AnjayGoel/pykiteconnect
e33833a86d3e6483f2cff1be8bed74f40d5771c5
[ "MIT" ]
null
null
null
__title__ = "open_kite_connect" __description__ = "Fork of the official Kite Connect python client, allowing free access to the api." __url__ = "https://kite.trade" __download_url__ = "https://github.com/AnjayGoel/pykiteconnect" __version__ = "4.0.0" __author__ = "Anjay Goel" __author_email__ = "anjay.goel@gmail.com" _...
37.666667
101
0.766962
45
339
4.977778
0.755556
0.098214
0
0
0
0
0
0
0
0
0
0.009967
0.112094
339
8
102
42.375
0.734219
0
0
0
0
0
0.578171
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c223dd7e30b36ebfa0f41bf3e5a06ae1a6e0b5cd
1,679
py
Python
CrsData/pipelines.py
DivineEnder/CrsData
cd0cf14e79b4a3bbf7347b8612a5b67e2a185208
[ "MIT" ]
null
null
null
CrsData/pipelines.py
DivineEnder/CrsData
cd0cf14e79b4a3bbf7347b8612a5b67e2a185208
[ "MIT" ]
null
null
null
CrsData/pipelines.py
DivineEnder/CrsData
cd0cf14e79b4a3bbf7347b8612a5b67e2a185208
[ "MIT" ]
null
null
null
# @Author: DivineEnder # @Date: 2018-03-08 22:24:45 # @Email: danuta@u.rochester.edu # @Last modified by: DivineEnder # @Last modified time: 2018-03-11 01:25:41 # -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy....
34.265306
214
0.731983
244
1,679
4.97541
0.545082
0.037068
0.049423
0.032949
0
0
0
0
0
0
0
0.021038
0.150685
1,679
48
215
34.979167
0.830295
0.442525
0
0
0
0
0.102732
0
0
0
0
0
0
1
0.157895
false
0.052632
0.210526
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c229b5ef4f038beb67f6eb13b6306e08e27df0c9
4,051
py
Python
3-compressor/compress.py
JamesG3/Search-Engine
790f32c7833eb82d9b01b84af634e650ef7a9e75
[ "BSD-2-Clause" ]
null
null
null
3-compressor/compress.py
JamesG3/Search-Engine
790f32c7833eb82d9b01b84af634e650ef7a9e75
[ "BSD-2-Clause" ]
null
null
null
3-compressor/compress.py
JamesG3/Search-Engine
790f32c7833eb82d9b01b84af634e650ef7a9e75
[ "BSD-2-Clause" ]
null
null
null
import sys import struct from io import FileIO, BufferedWriter import S9Compressor as S9 BLOCKSIZE = (64*1024) / 4 # number of Int LexiPos = 0 # record the current position for new lexicon writing lexiconBuffer = [] IIBuffer = [] WriteThreshold = 0 def docidPrepare(docidList): # calculate the diff, return ...
26.827815
96
0.674155
501
4,051
5.451098
0.265469
0.003662
0.008788
0.017576
0.168803
0.127426
0.127426
0.107653
0.084218
0.060784
0
0.026498
0.180202
4,051
151
97
26.827815
0.795845
0.163663
0
0.256881
0
0
0.026425
0.006235
0
0
0
0
0
0
null
null
0
0.036697
null
null
0.009174
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c231926cf5107bb89588302bb3bc85d7ec967624
2,806
py
Python
Graphy/setup.py
andrepbento/OpenTracingProcessor
9e4b01cb59cecbfa04af8d5d93e3b7deb76d9ee6
[ "MIT" ]
4
2021-03-06T13:50:58.000Z
2022-03-28T15:17:07.000Z
Graphy/setup.py
andrepbento/OpenTracingProcessor
9e4b01cb59cecbfa04af8d5d93e3b7deb76d9ee6
[ "MIT" ]
null
null
null
Graphy/setup.py
andrepbento/OpenTracingProcessor
9e4b01cb59cecbfa04af8d5d93e3b7deb76d9ee6
[ "MIT" ]
null
null
null
""" Author: André Bento Date last modified: 26-02-2019 """ import subprocess import sys from os.path import dirname, abspath, join from setuptools import find_packages, Command, setup from setuptools.command.test import test as TestCommand this_dir = abspath(dirname(__file__)) NAME = 'graphy' VERSION = '0.0....
24.189655
82
0.62794
325
2,806
5.304615
0.436923
0.051044
0.048724
0.041763
0.12355
0.069606
0.069606
0.069606
0.069606
0.069606
0
0.010441
0.249109
2,806
115
83
24.4
0.807784
0.090877
0
0.12987
0
0
0.21061
0.009897
0
0
0
0
0
1
0.116883
false
0.064935
0.090909
0
0.285714
0.012987
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c2329a7b9e06911a1ed82d81214f1385b352823d
398
py
Python
Http-api-auth0-jwt/src/list-all-unicorns.py
JimmyDqv/blogs-and-sessions-code
737a2e88f3fd84bd8426be609f7474374d4ac4d6
[ "MIT" ]
2
2021-07-08T10:31:11.000Z
2022-01-07T23:04:31.000Z
Http-api-auth0-jwt/src/list-all-unicorns.py
JimmyDqv/blogs-and-sessions-code
737a2e88f3fd84bd8426be609f7474374d4ac4d6
[ "MIT" ]
null
null
null
Http-api-auth0-jwt/src/list-all-unicorns.py
JimmyDqv/blogs-and-sessions-code
737a2e88f3fd84bd8426be609f7474374d4ac4d6
[ "MIT" ]
null
null
null
import json def lambda_handler(event, context): unicorns = [ { "name": "Gaia", "gift": "Speed" }, { "name": "Magestic", "gift": "Magic" }, { "name": "Sparkles", "gift": "Glitter" } ] r...
15.92
36
0.371859
27
398
5.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0.014423
0.477387
398
24
37
16.583333
0.692308
0
0
0
0
0
0.188442
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.15
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1