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
53d70d3013eebf509bd463bbe169adf9205bf22b
4,367
py
Python
api_youtube.py
OnoArnaldo/PythonApiYoutube
8507eac234cd3d05a223db3beebd10412505bcf8
[ "MIT" ]
2
2019-11-15T16:46:36.000Z
2020-11-30T07:34:26.000Z
api_youtube.py
OnoArnaldo/PythonApiYoutube
8507eac234cd3d05a223db3beebd10412505bcf8
[ "MIT" ]
null
null
null
api_youtube.py
OnoArnaldo/PythonApiYoutube
8507eac234cd3d05a223db3beebd10412505bcf8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os import sys import json import urllib2 import codecs BASE_DIR = os.path.dirname(__file__) BASE_URL = 'https://www.googleapis.com/youtube/v3/' API_CHANNELS = 'channels' API_PLAYLIST = 'playlistItems' API_KEY = 'YOUR KEY' CHANNELS = [ 'videos...
24.672316
90
0.587589
520
4,367
4.773077
0.242308
0.032232
0.024174
0.016922
0.342466
0.293715
0.27357
0.230862
0.197824
0.197824
0
0.004473
0.283261
4,367
176
91
24.8125
0.788498
0.004809
0
0.343511
0
0
0.097376
0
0
0
0
0
0
1
0.145038
false
0
0.061069
0
0.351145
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53d750a045a189f59e633e7a1ce562b90e7d821b
2,744
py
Python
python_and_ebpf/train.py
be4r/ssh-miner-detection
47003db1d9f72ae44d5a27e92d0109d5111bec35
[ "MIT" ]
null
null
null
python_and_ebpf/train.py
be4r/ssh-miner-detection
47003db1d9f72ae44d5a27e92d0109d5111bec35
[ "MIT" ]
null
null
null
python_and_ebpf/train.py
be4r/ssh-miner-detection
47003db1d9f72ae44d5a27e92d0109d5111bec35
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from sklearn.tree import DecisionTreeClassifier import pickle import numpy as np no = [b'runc:[2:INIT]', b'containerssh-ag', b'apt',b'dpkg'] class model: def __init__(self): self.d = DecisionTreeClassifier() def load(self, filename = 'model.p'): try: f = open(filename, 'rb') self...
24.283186
95
0.622085
478
2,744
3.453975
0.217573
0.018171
0.053301
0.04361
0.513022
0.470018
0.470018
0.470018
0.470018
0.411872
0
0.016719
0.193513
2,744
112
96
24.5
0.729327
0.041545
0
0.460674
0
0
0.027429
0
0
0
0
0
0
1
0.134831
false
0
0.033708
0.022472
0.258427
0.033708
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53d8b7928beadd81971824eb5f4c9a1dab184d41
1,318
py
Python
data/parse_hipp_data.py
slinderman/pyhsmm-spiketrains
462d8d2c59bd2e7c39d20d624bd8b289a31baaa2
[ "MIT" ]
10
2016-04-23T00:23:20.000Z
2022-01-05T19:28:08.000Z
data/parse_hipp_data.py
slinderman/pyhsmm-spiketrains
462d8d2c59bd2e7c39d20d624bd8b289a31baaa2
[ "MIT" ]
1
2017-06-24T06:37:12.000Z
2017-07-07T17:19:59.000Z
data/parse_hipp_data.py
slinderman/pyhsmm-spiketrains
462d8d2c59bd2e7c39d20d624bd8b289a31baaa2
[ "MIT" ]
9
2016-03-29T21:37:46.000Z
2022-01-05T19:28:11.000Z
import os import numpy as np from scipy.io import loadmat data = loadmat("data/hipp_2dtrack_a/smJun03p2.dat") N = 49 data = reshape(data, 3, length(data)/3); data = data'; size(data) % 43799-by-3 fclose(fid); % sampling time Ts = 0.0333; duration = size(data,1) * Ts; % in second Tmax = data(end, 3); Tmin = d...
22.338983
78
0.634294
215
1,318
3.744186
0.44186
0.037267
0.069565
0.034783
0
0
0
0
0
0
0
0.050237
0.199545
1,318
59
79
22.338983
0.712796
0
0
0.05
0
0.025
0.033359
0.025019
0
0
0
0
0
0
null
null
0
0.075
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
53d94f243224facafe883070b86bd959182c98e6
9,455
py
Python
repokid/tests/test_roledata.py
tomdev/repokid
e1a4839290bafccfaa304d87bbdeae85b9dc80aa
[ "Apache-2.0" ]
null
null
null
repokid/tests/test_roledata.py
tomdev/repokid
e1a4839290bafccfaa304d87bbdeae85b9dc80aa
[ "Apache-2.0" ]
null
null
null
repokid/tests/test_roledata.py
tomdev/repokid
e1a4839290bafccfaa304d87bbdeae85b9dc80aa
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Netflix, 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...
51.950549
120
0.639662
1,068
9,455
5.368914
0.189139
0.046041
0.076735
0.0361
0.425009
0.295954
0.252006
0.154168
0.103767
0.069585
0
0.036081
0.237864
9,455
181
121
52.237569
0.759645
0.100793
0
0.12
0
0
0.242156
0.069946
0
0
0
0
0.152
1
0.072
false
0
0.04
0
0.12
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53da2e6911920cb3cc789891eed24c27f4a325c6
1,838
py
Python
DL_Scripts/image_recognition.py
Matnay/KPIT_Deep_Learning
14f3815fc2829db9bede86c31f23e721f6423f79
[ "MIT" ]
1
2020-05-01T15:28:12.000Z
2020-05-01T15:28:12.000Z
DL_Scripts/image_recognition.py
Matnay/KPIT_Deep_Learning
14f3815fc2829db9bede86c31f23e721f6423f79
[ "MIT" ]
null
null
null
DL_Scripts/image_recognition.py
Matnay/KPIT_Deep_Learning
14f3815fc2829db9bede86c31f23e721f6423f79
[ "MIT" ]
null
null
null
import rospy from sensor_msgs.msg import Image from std_msgs.msg import String from cv_bridge import CvBridge import cv2 import numpy as np import tensorflow as tf import classify_image class RosTensorFlow(): def __init__(self): classify_image.maybe_download_and_extract() self._session = tf.Sessio...
36.039216
94
0.661589
237
1,838
4.805907
0.383966
0.068481
0.018437
0.024583
0
0
0
0
0
0
0
0.009887
0.229597
1,838
50
95
36.76
0.794492
0.057127
0
0
0
0
0.072917
0.012153
0
0
0
0
0
1
0.075
false
0
0.2
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53dd0a97f61bddb70bdbb1861eb823497caf7e52
21,202
py
Python
plugins/grouputils.py
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
null
null
null
plugins/grouputils.py
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
null
null
null
plugins/grouputils.py
aviskumar/speedo
758e8ac1fdeeb0b72c3a57742032ca5c79f0b2fa
[ "BSD-3-Clause" ]
3
2021-10-12T08:17:01.000Z
2021-12-21T01:17:54.000Z
# Copyright (C) 2020-2021 by TeamSpeedo@Github, < https://github.com/TeamSpeedo >. # # This file is part of < https://github.com/TeamSpeedo/FridayUserBot > project, # and is released under the "GNU v3.0 License Agreement". # Please see < https://github.com/TeamSpeedo/blob/master/LICENSE > # # All rights reserved. imp...
33.076443
146
0.621215
2,834
21,202
4.434368
0.107622
0.047983
0.079971
0.0635
0.657436
0.608101
0.580886
0.527731
0.482534
0.44036
0
0.002512
0.248844
21,202
640
147
33.128125
0.78645
0.01415
0
0.438861
0
0.0134
0.183641
0.030392
0
0
0
0
0
1
0
false
0.001675
0.01675
0
0.088777
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53dd16873458e07dbdbf665e77a30bc20865dfcb
16,809
py
Python
carberretta/bot/cogs/feeds.py
Nereg/Carberretta
01e25bc8ece4c310ab541304e8809dfdd3eec3b8
[ "BSD-3-Clause" ]
null
null
null
carberretta/bot/cogs/feeds.py
Nereg/Carberretta
01e25bc8ece4c310ab541304e8809dfdd3eec3b8
[ "BSD-3-Clause" ]
null
null
null
carberretta/bot/cogs/feeds.py
Nereg/Carberretta
01e25bc8ece4c310ab541304e8809dfdd3eec3b8
[ "BSD-3-Clause" ]
null
null
null
""" FEEDS Handles YouTube and Twitch feed notifications. """ import datetime as dt import discord import feedparser from apscheduler.triggers.cron import CronTrigger from discord.ext import commands from carberretta import Config from carberretta.utils import DEFAULT_EMBED_COLOUR, chron LIVE_EMBED_COLOUR = 0x9146FF...
44.586207
166
0.50467
1,725
16,809
4.77913
0.151884
0.033843
0.029961
0.020378
0.551553
0.498544
0.488234
0.457666
0.413998
0.402596
0
0.011623
0.385805
16,809
376
167
44.704787
0.786904
0.029508
0
0.431579
0
0.024561
0.22958
0.036944
0
0
0.000982
0
0
1
0.007018
false
0.003509
0.024561
0
0.108772
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53dd795653b27c0823e1d06e1e8c37e9cd9ead3e
5,676
py
Python
gdb/proxy.py
abaire/gdb_sniffer
f330193c65a39ce6abb01f25737ca967a0af9629
[ "Unlicense" ]
1
2021-12-22T04:04:22.000Z
2021-12-22T04:04:22.000Z
gdb/proxy.py
abaire/gdb_sniffer
f330193c65a39ce6abb01f25737ca967a0af9629
[ "Unlicense" ]
null
null
null
gdb/proxy.py
abaire/gdb_sniffer
f330193c65a39ce6abb01f25737ca967a0af9629
[ "Unlicense" ]
null
null
null
"""Provides a GDB logging proxy. See https://sourceware.org/gdb/onlinedocs/gdb/Remote-Protocol.html See https://www.embecosm.com/appnotes/ean4/embecosm-howto-rsp-server-ean4-issue-2.html """ from __future__ import annotations import logging import socket from typing import Optional from typing import Tuple from .pa...
35.698113
112
0.617512
678
5,676
4.868732
0.234513
0.072705
0.038776
0.036353
0.277795
0.197213
0.144502
0.123902
0.111784
0.111784
0
0.010654
0.288936
5,676
158
113
35.924051
0.807235
0.090028
0
0.168142
0
0
0.101767
0.031462
0
0
0.002331
0
0
1
0.070796
false
0
0.061947
0
0.168142
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53ddde78f62a83aa118f0171be55b4c481a15868
1,373
py
Python
pylayers/em/openems/test/Rect_Waveguide.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
143
2015-01-09T07:50:20.000Z
2022-03-02T11:26:53.000Z
pylayers/em/openems/test/Rect_Waveguide.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
148
2015-01-13T04:19:34.000Z
2022-03-11T23:48:25.000Z
pylayers/em/openems/test/Rect_Waveguide.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
95
2015-05-01T13:22:42.000Z
2022-03-15T11:22:28.000Z
from openems.openems import * # A simple simulation # # FDTD Simulation Setting # F = FDTD() F.add(Exc(typ='Sinus',f0=100000)) F.add(BoundaryCond(['PMC','PMC','PEC','PEC','MUR','MUR'])) # # CSX (Geometry setting) # C = CSX() # The Box is added as a property C.add(Excitation('excitation'),p=Box(P1=[-10,-10,0],P2=...
25.90566
87
0.632921
264
1,373
3.291667
0.340909
0.050633
0.013809
0.041427
0.121979
0.113924
0.090909
0.090909
0.090909
0.090909
0
0.122353
0.071377
1,373
52
88
26.403846
0.559216
0.625637
0
0
0
0
0.109244
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
1
0
53debe5489e3f53b73538719925c989ad4ce399d
381
py
Python
DataPreprocessing/_segment_Y.py
vd1371/CBSA
f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47
[ "MIT" ]
null
null
null
DataPreprocessing/_segment_Y.py
vd1371/CBSA
f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47
[ "MIT" ]
null
null
null
DataPreprocessing/_segment_Y.py
vd1371/CBSA
f2b3f03c91ccd9ec02c2331f43573d7d6e72fd47
[ "MIT" ]
null
null
null
import numpy as np def segment_Y(Y, **params): Y_segments = params.get("Y_segments") Y_quantile = params.get("Y_quantile") print("segmenting Y") Y = Y.values.reshape(-1) Y_quantile = np.quantile(Y, Y_quantile, axis = 0) bigger_mask = (Y > Y_quantile).copy() smaller_mask = (Y <= Y_quantile).copy() Y[bigger_...
19.05
50
0.677165
64
381
3.828125
0.390625
0.057143
0.122449
0.114286
0.146939
0
0
0
0
0
0
0.012579
0.165354
381
20
51
19.05
0.757862
0
0
0
0
0
0.08377
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.230769
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
0
0
0
0
0
0
0
0
1
0
53df3216d619040fc2551d1e35eda4fe2e177604
3,868
py
Python
WifiEnigma/BattleAI/question.py
Puzzlebox-IMT/Puzzlebox
6b80e22a4aee3228140692bd6352de18b2f6a96d
[ "MIT" ]
null
null
null
WifiEnigma/BattleAI/question.py
Puzzlebox-IMT/Puzzlebox
6b80e22a4aee3228140692bd6352de18b2f6a96d
[ "MIT" ]
null
null
null
WifiEnigma/BattleAI/question.py
Puzzlebox-IMT/Puzzlebox
6b80e22a4aee3228140692bd6352de18b2f6a96d
[ "MIT" ]
null
null
null
import mysql.connector import random from voice import synthetize_voice, delete_wav def AllQuestionAI(id_theme): i = 0 #CONNEXION A LA BDD conn = mysql.connector.connect(host="localhost", user="phpmyadmin", password="Vince@Mysql1997", ...
31.447154
140
0.520941
388
3,868
5.085052
0.311856
0.064876
0.060821
0.009123
0.386214
0.386214
0.386214
0.386214
0.386214
0.386214
0
0.020265
0.298345
3,868
122
141
31.704918
0.706706
0.099793
0
0.345679
0
0
0.305187
0.107205
0
0
0
0
0
1
0.049383
false
0.024691
0.037037
0
0.098765
0.246914
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e02e91fc0737f80d21208f1511392c2bcd37d1
875
py
Python
toy-amr/flux_functions.py
IanHawke/toy-amr
1f616791993ccd83cc6034616c08e09fa4ba310d
[ "MIT" ]
5
2019-05-27T18:13:45.000Z
2021-01-06T09:42:28.000Z
toy-amr/flux_functions.py
IanHawke/toy-amr
1f616791993ccd83cc6034616c08e09fa4ba310d
[ "MIT" ]
1
2019-10-21T13:34:48.000Z
2019-12-11T22:11:17.000Z
toy-amr/flux_functions.py
IanHawke/toy-amr
1f616791993ccd83cc6034616c08e09fa4ba310d
[ "MIT" ]
2
2019-05-08T18:00:36.000Z
2021-05-27T16:57:57.000Z
import numpy def lax_friedrichs(cons_minus, cons_plus, simulation, tl): alpha = tl.grid.dx / tl.dt flux = numpy.zeros_like(cons_minus) prim_minus, aux_minus = simulation.model.cons2all(cons_minus, tl.prim) prim_plus, aux_plus = simulation.model.cons2all(cons_plus , tl.prim) f_minus = simulation.m...
39.772727
79
0.609143
123
875
4.081301
0.252033
0.143426
0.035857
0.067729
0.424303
0.316733
0.123506
0.123506
0.123506
0.123506
0
0.030488
0.250286
875
21
80
41.666667
0.734756
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e0390b65014122e4de16c06f08712946e2a007
2,084
py
Python
pi/auth.py
vmagamedov/pi
6ee98af69b757d96aa4eddc32513309e0fe05d1d
[ "BSD-3-Clause" ]
7
2016-06-24T04:49:48.000Z
2020-06-29T17:34:12.000Z
pi/auth.py
vmagamedov/pi
6ee98af69b757d96aa4eddc32513309e0fe05d1d
[ "BSD-3-Clause" ]
11
2016-06-19T13:16:59.000Z
2019-11-02T13:14:19.000Z
pi/auth.py
vmagamedov/pi
6ee98af69b757d96aa4eddc32513309e0fe05d1d
[ "BSD-3-Clause" ]
null
null
null
import re import json import base64 import codecs import os.path import asyncio import subprocess _PREFIX = 'docker-credential-' def read_config(): path = os.path.expanduser('~/.docker/config.json') if not os.path.exists(path): return {} with codecs.open(path, encoding='utf-8') as f: jso...
25.108434
72
0.644914
258
2,084
5.027132
0.29845
0.053971
0.032382
0.029298
0.075559
0
0
0
0
0
0
0.008228
0.241843
2,084
82
73
25.414634
0.812658
0
0
0.140625
0
0
0.09261
0.010077
0
0
0
0
0
1
0.0625
false
0.046875
0.109375
0
0.359375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e05b14f47fe11d4c2e4b89d1492b45ec46b072
5,199
py
Python
etl/transform.py
ACWI-SOGW/ngwmn_monitoring_locations_etl
e9ebfebbc5fa349a58669fb1d9944786f26729c3
[ "CC0-1.0" ]
1
2020-10-07T14:44:30.000Z
2020-10-07T14:44:30.000Z
etl/transform.py
ACWI-SOGW/ngwmn_monitoring_locations_etl
e9ebfebbc5fa349a58669fb1d9944786f26729c3
[ "CC0-1.0" ]
7
2020-10-14T19:13:10.000Z
2021-10-06T20:04:38.000Z
etl/transform.py
ACWI-SOGW/ngwmn_monitoring_locations_etl
e9ebfebbc5fa349a58669fb1d9944786f26729c3
[ "CC0-1.0" ]
1
2020-10-02T14:43:18.000Z
2020-10-02T14:43:18.000Z
""" Transform the data into a form that works with the WELL_REGISTRY_STG table. """ import re def mapping_factory(mapping): def map_func(key): if key is not None: ora_val = mapping.get(key.lower()) else: ora_val = None return ora_val return map_func WELL_TYPES...
38.227941
117
0.695903
766
5,199
4.278068
0.173629
0.201404
0.046994
0.018309
0.424474
0.227037
0.160818
0.081782
0.037229
0.037229
0
0.004583
0.160608
5,199
135
118
38.511111
0.746334
0.045009
0
0.111111
0
0
0.317592
0.029996
0
0
0
0
0
1
0.046296
false
0
0.009259
0.009259
0.092593
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
53e0d34e58ad9e0686dc6ee3e5a7f6fc0076f469
55
py
Python
django_reporter_pro/config/model_configs.py
shamilison/django-reporter-pro
0c6f60bbae939d318e7aafaec83613d2768a4f63
[ "Apache-2.0" ]
null
null
null
django_reporter_pro/config/model_configs.py
shamilison/django-reporter-pro
0c6f60bbae939d318e7aafaec83613d2768a4f63
[ "Apache-2.0" ]
null
null
null
django_reporter_pro/config/model_configs.py
shamilison/django-reporter-pro
0c6f60bbae939d318e7aafaec83613d2768a4f63
[ "Apache-2.0" ]
null
null
null
# Created by shamilsakib at 04/10/20 BASE_MODEL = None
18.333333
36
0.763636
10
55
4.1
1
0
0
0
0
0
0
0
0
0
0
0.130435
0.163636
55
3
37
18.333333
0.76087
0.618182
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
53e10c53f31c7e396a4573a421ae3212e9a11856
1,543
py
Python
DPSparkImplementations/paf_kernels.py
TEAlab/DPSpark
4d53ee13b03e2e12119c28fe2b2241ad20231eac
[ "MIT" ]
null
null
null
DPSparkImplementations/paf_kernels.py
TEAlab/DPSpark
4d53ee13b03e2e12119c28fe2b2241ad20231eac
[ "MIT" ]
null
null
null
DPSparkImplementations/paf_kernels.py
TEAlab/DPSpark
4d53ee13b03e2e12119c28fe2b2241ad20231eac
[ "MIT" ]
1
2020-12-30T22:12:55.000Z
2020-12-30T22:12:55.000Z
__author__ = "Zafar Ahmad, Mohammad Mahdi Javanmard" __copyright__ = "Copyright (c) 2019 Tealab@SBU" __license__ = "MIT" __version__ = "1.0.0" __maintainer__ = "Zafar Ahmad" __email__ = "zafahmad@cs.stonybrook.edu" __status__ = "Development" import numpy as np import numba as nb ''' Iterative kernels ''' def up...
35.068182
104
0.610499
266
1,543
3.180451
0.293233
0.120567
0.024823
0.085106
0.304965
0.268322
0.239953
0.239953
0.239953
0.068558
0
0.030586
0.2372
1,543
43
105
35.883721
0.68819
0.053791
0
0.060606
0
0
0.085374
0.018195
0
0
0
0
0
1
0.151515
false
0
0.060606
0.060606
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e339cc8fb766eb00e75883c4d6064e436e942f
1,343
py
Python
terrakg/rates.py
terrapain/terrakg
90c52ca3b227d2daabd604255e793ac5f536c246
[ "Apache-2.0" ]
null
null
null
terrakg/rates.py
terrapain/terrakg
90c52ca3b227d2daabd604255e793ac5f536c246
[ "Apache-2.0" ]
null
null
null
terrakg/rates.py
terrapain/terrakg
90c52ca3b227d2daabd604255e793ac5f536c246
[ "Apache-2.0" ]
null
null
null
from terra_sdk.exceptions import LCDResponseError from terrakg import logger # Logging from terrakg.client import ClientContainer logger = logger.get_logger(__name__) class Rates: """ Access the most recent rates. """ def __init__(self, client: ClientContainer): self.client = client de...
30.522727
117
0.568876
141
1,343
5.212766
0.524823
0.040816
0
0
0
0
0
0
0
0
0
0.007856
0.33656
1,343
43
118
31.232558
0.817059
0.125838
0
0
0
0
0.12866
0
0
0
0
0
0
1
0.074074
false
0
0.111111
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e44f41ef2d0962b6580e25176980ba9b2fe713
2,868
py
Python
src/tracking_module.py
HonzaKlicpera/Effective-footage-processing-Blender-add-on
f3faae3fc56a3ef8f2eabba9af8be718e57f4d35
[ "MIT" ]
1
2020-06-09T11:23:44.000Z
2020-06-09T11:23:44.000Z
src/tracking_module.py
HonzaKlicpera/Effective-footage-processing-Blender
f3faae3fc56a3ef8f2eabba9af8be718e57f4d35
[ "MIT" ]
null
null
null
src/tracking_module.py
HonzaKlicpera/Effective-footage-processing-Blender
f3faae3fc56a3ef8f2eabba9af8be718e57f4d35
[ "MIT" ]
null
null
null
import bpy import os, glob from pathlib import Path from enum import Enum from abc import ABC, abstractmethod import csv from . import keying_module def export_tracking_data(self, context): clip = context.space_data.clip clip_name = os.path.splitext(clip.name)[0] tracker_name = context.scene.tracking_loca...
30.189474
87
0.644003
335
2,868
5.364179
0.340299
0.043406
0.0601
0.024485
0.144686
0.031163
0
0
0
0
0
0.004955
0.225941
2,868
95
88
30.189474
0.804505
0.032427
0
0
0
0
0.142702
0.009754
0
0
0
0
0
1
0.068493
false
0
0.09589
0
0.356164
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e4b90b1159d838a8edfa7ab52a953ffb4eca72
437
py
Python
nodes/2.x/python/View.ViewTemplate.py
andydandy74/ClockworkForDynamo
bd4ac2c13956a02352a458d01096a35b7258d9f2
[ "MIT" ]
147
2016-02-24T16:37:03.000Z
2022-02-18T12:10:34.000Z
nodes/2.x/python/View.ViewTemplate.py
johnpierson/ClockworkForDynamo
953d3f56b75e99561978925756e527357f9978dd
[ "MIT" ]
269
2016-02-25T14:04:14.000Z
2022-03-26T07:30:53.000Z
nodes/2.x/python/View.ViewTemplate.py
johnpierson/ClockworkForDynamo
953d3f56b75e99561978925756e527357f9978dd
[ "MIT" ]
89
2016-03-16T18:21:56.000Z
2022-02-03T14:34:30.000Z
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * def GetViewTemplate(view): if not view: return None elif hasattr(view, "ViewTemplateId"): if view.ViewTemplateId.IntegerValue == -1: return None else: return view.Document.GetElement(view.ViewTemplateId) else: return None views = UnwrapEle...
29.133333
69
0.757437
59
437
5.610169
0.542373
0.090634
0
0
0
0
0
0
0
0
0
0.007853
0.125858
437
15
70
29.133333
0.858639
0
0
0
0
0
0.050228
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e73c9f153e27f98b4ee8cc325ad02d4ef90185
8,267
py
Python
infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_prepare.py
bohdana-kuzmenko/incubator-dlab
d052709450e7916860c7dd191708d5524cf44c1e
[ "Apache-2.0" ]
null
null
null
infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_prepare.py
bohdana-kuzmenko/incubator-dlab
d052709450e7916860c7dd191708d5524cf44c1e
[ "Apache-2.0" ]
null
null
null
infrastructure-provisioning/src/general/scripts/gcp/dataengine-service_prepare.py
bohdana-kuzmenko/incubator-dlab
d052709450e7916860c7dd191708d5524cf44c1e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # ***************************************************************************** # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The A...
57.013793
178
0.670134
963
8,267
5.475597
0.265836
0.125166
0.057652
0.036033
0.345534
0.227574
0.159492
0.121373
0.100891
0.100891
0
0.005332
0.160639
8,267
144
179
57.409722
0.754576
0.112254
0
0.117117
0
0
0.37073
0.077207
0
0
0
0
0
1
0
false
0
0.108108
0
0.108108
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e7f5b9bbd28821250ea584ab34945cec2c0582
931
py
Python
02.py
mattias-lundell/aoc2021
32bd41446d963c5788d4614106405be65de81bcd
[ "MIT" ]
null
null
null
02.py
mattias-lundell/aoc2021
32bd41446d963c5788d4614106405be65de81bcd
[ "MIT" ]
null
null
null
02.py
mattias-lundell/aoc2021
32bd41446d963c5788d4614106405be65de81bcd
[ "MIT" ]
null
null
null
test = """forward 5 down 5 forward 8 up 3 down 8 forward 2 """ def part1(lines): h = 0 d = 0 for line in lines: direction, delta = line.split() delta = int(delta) if direction == 'forward': h += delta elif direction == 'down': d += delta elif...
19.395833
39
0.493018
112
931
4.026786
0.294643
0.115299
0.119734
0.035477
0.381375
0.343681
0.226164
0.226164
0.226164
0.226164
0
0.035836
0.370569
931
47
40
19.808511
0.733788
0
0
0.487805
0
0
0.106452
0
0
0
0
0
0
1
0.04878
false
0
0
0
0.04878
0.073171
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53e86b46c3285488d7ebc41a01e6a577e706cb66
693
py
Python
associations/migrations/0001_initial.py
ollc-code/django-back
205f3adc61f9e62c88dfcc170999cef495cebed7
[ "MIT" ]
null
null
null
associations/migrations/0001_initial.py
ollc-code/django-back
205f3adc61f9e62c88dfcc170999cef495cebed7
[ "MIT" ]
null
null
null
associations/migrations/0001_initial.py
ollc-code/django-back
205f3adc61f9e62c88dfcc170999cef495cebed7
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-09 08:56 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Associations', fields=[ ('id', models.AutoF...
27.72
114
0.580087
70
693
5.628571
0.642857
0.152284
0.182741
0.243655
0.137056
0
0
0
0
0
0
0.05499
0.291486
693
24
115
28.875
0.747454
0.064935
0
0
1
0
0.082043
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.294118
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
53e96f34f945ecef4aebd95bbb66a14049ee97c2
4,631
py
Python
tests/pds/test_times.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
4
2019-09-16T15:50:22.000Z
2021-04-08T15:32:48.000Z
tests/pds/test_times.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
3
2018-05-04T09:28:24.000Z
2018-12-03T09:00:31.000Z
tests/pds/test_times.py
seignovert/pyvims
a70b5b9b8bc5c37fa43b7db4d15407f312a31849
[ "BSD-3-Clause" ]
1
2020-10-12T15:14:17.000Z
2020-10-12T15:14:17.000Z
"""Test PDS times modules.""" from datetime import datetime as dt from pyvims.pds.times import (cassini2utc, cassini_time, dt_date, dt_doy, dt_iso, dyear, pds_folder, pds_time, utc2cassini) from pytest import approx, raises def test_dt_iso(): """Test parsing ISO time pattern.""" ...
34.559701
89
0.628374
809
4,631
3.529048
0.144623
0.089667
0.06725
0.081961
0.527145
0.432224
0.382837
0.349562
0.310333
0.284764
0
0.335618
0.180954
4,631
133
90
34.819549
0.414711
0.060462
0
0.170732
0
0.012195
0.367442
0.064651
0
0
0
0
0.585366
1
0.109756
false
0
0.036585
0
0.146341
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
53e9f02f64051ff304c3ebef251b469302530c2e
626
py
Python
e/mail-relay/web/apps/mail/migrations/0109_auto_20171130_1047.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
null
null
null
e/mail-relay/web/apps/mail/migrations/0109_auto_20171130_1047.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
18
2020-06-05T18:17:40.000Z
2022-03-11T23:25:21.000Z
e/mail-relay/web/apps/mail/migrations/0109_auto_20171130_1047.py
zhouli121018/nodejsgm
0ccbc8acf61badc812f684dd39253d55c99f08eb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('mail', '0108_auto_20171130_1004'), ] operations = [ migrations.AlterModelOptions( name='relaysenderwhitelist', ...
27.217391
113
0.635783
59
626
6.576271
0.728814
0.139175
0.159794
0
0
0
0
0
0
0
0
0.149688
0.231629
626
22
114
28.454545
0.656965
0.033546
0
0.25
0
0.0625
0.343284
0.237148
0
0
0
0
0
1
0
false
0
0.125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53ea00fc5aec5aef16f52f772300f59c029df625
11,168
py
Python
venv/lib/python3.6/site-packages/ansible_test/_data/sanity/code-smell/runtime-metadata.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_test/_data/sanity/code-smell/runtime-metadata.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_test/_data/sanity/code-smell/runtime-metadata.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Schema validation of ansible-core's ansible_builtin_runtime.yml and collection's meta/runtime.yml""" from __future__ import (absolute_import, division, print_function) __metaclass__ = type import datetime import os import re import sys from distutils.version import StrictVersion, LooseVersion ...
39.885714
112
0.632969
1,334
11,168
5.068966
0.215142
0.04614
0.064626
0.062112
0.357734
0.292073
0.252292
0.128364
0.100266
0.065661
0
0.00392
0.268983
11,168
279
113
40.028674
0.824351
0.180068
0
0.281407
0
0
0.127463
0.003082
0
0
0
0
0
1
0.035176
false
0
0.100503
0
0.175879
0.025126
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53eb2f5275fa111e5a11e8a6b19fe5db87a5dc8d
2,160
py
Python
catkin_ws/src/o2ac_flexbe/o2ac_flexbe_states/src/o2ac_flexbe_states/align_bearing_holes.py
mitdo/o2ac-ur
74c82a54a693bf6a3fc995ff63e7c91ac1fda6fd
[ "MIT" ]
32
2021-09-02T12:29:47.000Z
2022-03-30T21:44:10.000Z
catkin_ws/src/o2ac_flexbe/o2ac_flexbe_states/src/o2ac_flexbe_states/align_bearing_holes.py
kroglice/o2ac-ur
f684f21fd280a22ec061dc5d503801f6fefb2422
[ "MIT" ]
4
2021-09-22T00:51:14.000Z
2022-01-30T11:54:19.000Z
catkin_ws/src/o2ac_flexbe/o2ac_flexbe_states/src/o2ac_flexbe_states/align_bearing_holes.py
kroglice/o2ac-ur
f684f21fd280a22ec061dc5d503801f6fefb2422
[ "MIT" ]
7
2021-11-02T12:26:09.000Z
2022-02-01T01:45:22.000Z
#!/usr/bin/env python from flexbe_core import EventState, Logger from flexbe_core.proxy import ProxyActionClient # example import of required action from o2ac_msgs.msg import AlignBearingHolesAction, AlignBearingHolesGoal class AlignBearingHolesActionState(EventState): ''' Actionlib for aligning the bearing ...
30.422535
72
0.600463
215
2,160
5.813953
0.390698
0.0504
0.0288
0.0304
0.0752
0.0448
0
0
0
0
0
0.001363
0.320833
2,160
70
73
30.857143
0.850716
0.144907
0
0.155556
0
0
0.119493
0.01707
0
0
0
0
0
1
0.088889
false
0
0.066667
0
0.244444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53eb9134fe73eaf59759bdec6bb46f044d4317f1
6,710
py
Python
find_unicode_control.py
sebastian-philipp/find-unicode-control
170730aff64d17a4d9c57b0284d862c932e1565c
[ "BSD-3-Clause" ]
null
null
null
find_unicode_control.py
sebastian-philipp/find-unicode-control
170730aff64d17a4d9c57b0284d862c932e1565c
[ "BSD-3-Clause" ]
null
null
null
find_unicode_control.py
sebastian-philipp/find-unicode-control
170730aff64d17a4d9c57b0284d862c932e1565c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 """Find unicode control characters in source files By default the script takes one or more files or directories and looks for unicode control characters in all text files. To narrow down the files, provide a config file with the -c command line, defining a scan_exclude list, which should be a l...
35.882353
109
0.634426
895
6,710
4.669274
0.275978
0.039483
0.021536
0.017947
0.181622
0.13161
0.079445
0.058387
0.058387
0.058387
0
0.009782
0.253502
6,710
186
110
36.075269
0.824516
0.20313
0
0.204545
0
0
0.143904
0
0
0
0.010145
0.005376
0
1
0.083333
false
0
0.037879
0
0.212121
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53ebe27af2c0c28dac914d098023620cb50fc322
1,529
py
Python
igibson/object_states/aabb.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
360
2020-04-02T11:12:09.000Z
2022-03-24T21:46:58.000Z
igibson/object_states/aabb.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
169
2020-04-07T21:01:05.000Z
2022-03-31T10:07:39.000Z
igibson/object_states/aabb.py
mamadbiabon/iGibson
d416a470240eb7ad86e04fee475ae4bd67263a7c
[ "MIT" ]
94
2020-04-09T23:22:17.000Z
2022-03-17T21:49:03.000Z
import numpy as np from igibson.external.pybullet_tools.utils import aabb_union, get_aabb, get_all_links from igibson.object_states.object_state_base import CachingEnabledObjectState class AABB(CachingEnabledObjectState): def _compute_value(self): body_id = self.obj.get_body_id() all_links = get_...
36.404762
109
0.699804
233
1,529
4.343348
0.381974
0.055336
0.043478
0.047431
0.077075
0.077075
0.077075
0.077075
0.077075
0.077075
0
0.003373
0.22433
1,529
41
110
37.292683
0.849916
0.16743
0
0.083333
0
0
0.047356
0
0
0
0
0.02439
0
1
0.166667
false
0
0.125
0.083333
0.541667
0
0
0
0
null
0
0
0
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
53ed119c9b07bf3b0dd5b8ddf0cc3d573400eed1
34,187
py
Python
vsphere/tests/test_vsphere.py
fujigon/integrations-core
256b1c138fd1bf1c71db63698737e813cfda00f8
[ "BSD-3-Clause" ]
null
null
null
vsphere/tests/test_vsphere.py
fujigon/integrations-core
256b1c138fd1bf1c71db63698737e813cfda00f8
[ "BSD-3-Clause" ]
null
null
null
vsphere/tests/test_vsphere.py
fujigon/integrations-core
256b1c138fd1bf1c71db63698737e813cfda00f8
[ "BSD-3-Clause" ]
1
2019-12-23T13:35:17.000Z
2019-12-23T13:35:17.000Z
# (C) Datadog, Inc. 2010-2017 # All rights reserved # Licensed under Simplified BSD License (see LICENSE) from __future__ import unicode_literals import time from datetime import datetime import mock import pytest from mock import MagicMock from pyVmomi import vim from datadog_checks.vsphere import VSphereCheck from...
42.363073
120
0.678796
3,889
34,187
5.673695
0.10414
0.026649
0.02266
0.019941
0.63671
0.552595
0.495037
0.433039
0.406028
0.379424
0
0.007219
0.218007
34,187
806
121
42.415633
0.818134
0.080089
0
0.440984
0
0
0.194327
0.098924
0
0
0
0
0.186885
1
0.045902
false
0
0.021311
0
0.070492
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53f022c5295afcf5069c62aac2f57d65cf97e719
2,147
py
Python
data_steward/constants/validation/email_notification.py
jp3477/curation
41f98d57c8273d9963ad6d466a237c99b63c74be
[ "MIT" ]
1
2021-04-05T18:06:25.000Z
2021-04-05T18:06:25.000Z
data_steward/constants/validation/email_notification.py
jp3477/curation
41f98d57c8273d9963ad6d466a237c99b63c74be
[ "MIT" ]
null
null
null
data_steward/constants/validation/email_notification.py
jp3477/curation
41f98d57c8273d9963ad6d466a237c99b63c74be
[ "MIT" ]
null
null
null
MANDRILL_API_KEY = 'MANDRILL_API_KEY' UNSET_MANDRILL_API_KEY_MSG = f"Mandrill API key not set in environment variable {MANDRILL_API_KEY}" CONTACT_LIST_QUERY = """ SELECT * FROM `{{project}}.{{dataset}}.{{contact_table}}` """ EHR_OPERATIONS = 'EHR Ops' EHR_OPS_ZENDESK = 'support@aou-ehr-ops.zendesk.com' DATA_CURATION_...
39.036364
116
0.726129
346
2,147
4.349711
0.427746
0.027907
0.046512
0.037209
0.089701
0.037209
0.025249
0
0
0
0
0.006417
0.129017
2,147
54
117
39.759259
0.798396
0.031206
0
0.05
0
0.075
0.832852
0.148362
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53f15f1ad7b41be043cf58489197157314abeded
2,110
py
Python
clip/clip.py
keshav11/clip
f426dee5c3a6885ddeba20d450d85fc71951c5ca
[ "MIT" ]
1
2018-03-27T05:13:43.000Z
2018-03-27T05:13:43.000Z
clip/clip.py
keshav11/clip
f426dee5c3a6885ddeba20d450d85fc71951c5ca
[ "MIT" ]
1
2018-03-27T14:57:05.000Z
2018-03-27T14:57:05.000Z
clip/clip.py
keshav11/clip
f426dee5c3a6885ddeba20d450d85fc71951c5ca
[ "MIT" ]
null
null
null
import os import argparse from pathlib import Path CLIP_FILE = os.path.join(Path.home(), '.clip') TEMP_FILE = '.TEMP_FILE' def add_text(key, text): if os.path.exists(CLIP_FILE): open_mode = 'a' else: open_mode = 'w+' with open(CLIP_FILE, open_mode) as clip_file: clip_file.write(ke...
26.708861
95
0.555924
290
2,110
3.862069
0.268966
0.107143
0.042857
0.057143
0.242857
0.201786
0.201786
0.201786
0.201786
0.201786
0
0.006734
0.296209
2,110
78
96
27.051282
0.747475
0
0
0.174603
0
0
0.087204
0
0
0
0
0
0
1
0.079365
false
0
0.047619
0
0.126984
0.079365
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53f16f379316b618805c2343722f2905bbfec891
2,383
py
Python
tests/unit/test_nsga2.py
learsi1911/GAMA_pygmo_v4
459807db352dd1c9f9c1e0e322f8c1e9b5abbca0
[ "Apache-2.0" ]
49
2018-10-22T06:05:29.000Z
2021-09-07T20:12:36.000Z
tests/unit/test_nsga2.py
learsi1911/GAMA_pygmo_v4
459807db352dd1c9f9c1e0e322f8c1e9b5abbca0
[ "Apache-2.0" ]
102
2018-10-02T12:00:47.000Z
2021-02-24T14:35:30.000Z
tests/unit/test_nsga2.py
learsi1911/GAMA_pygmo_v4
459807db352dd1c9f9c1e0e322f8c1e9b5abbca0
[ "Apache-2.0" ]
11
2021-06-04T11:56:19.000Z
2022-03-21T20:21:15.000Z
from typing import List, Tuple from gama.genetic_programming.nsga2 import ( NSGAMeta, fast_non_dominated_sort, crowding_distance_assignment, ) def _tuples_to_NSGAMeta(tuples: List[Tuple]) -> List[NSGAMeta]: """ Converts a list of tuples to NSGAMeta objects. """ # Can't declare it directly in a loo...
33.56338
84
0.698699
352
2,383
4.471591
0.230114
0.074333
0.071156
0.069886
0.461881
0.365311
0.348793
0.348793
0.280178
0.175985
0
0.027124
0.180025
2,383
70
85
34.042857
0.778403
0.090222
0
0.191489
0
0
0.006951
0
0
0
0
0
0.361702
1
0.148936
false
0
0.042553
0.021277
0.234043
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53f1e3a9ae5af85a04a5bf0c18896233f3416fe3
2,738
py
Python
stac_ingest/utils/tds.py
crim-ca/stac-ingest
e4cc2a66fee4b86ec238f139135d78215ec91ea4
[ "Apache-2.0" ]
null
null
null
stac_ingest/utils/tds.py
crim-ca/stac-ingest
e4cc2a66fee4b86ec238f139135d78215ec91ea4
[ "Apache-2.0" ]
null
null
null
stac_ingest/utils/tds.py
crim-ca/stac-ingest
e4cc2a66fee4b86ec238f139135d78215ec91ea4
[ "Apache-2.0" ]
null
null
null
# File taken from https://github.com/Ouranosinc/pavics-vdb/blob/master/catalog/tds.py """Utility function to parse metadata from a THREDDS Data Server catalog.""" def walk(cat, depth=1): """Return a generator walking a THREDDS data catalog for datasets. Parameters ---------- cat : TDSCatalog T...
29.44086
111
0.648283
355
2,738
4.870423
0.388732
0.036437
0.027762
0.048583
0.085599
0.042799
0
0
0
0
0
0.008095
0.233017
2,738
93
112
29.44086
0.815238
0.367787
0
0.095238
0
0
0.147004
0
0
0
0
0
0
1
0.095238
false
0
0.047619
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53f27d7f999c3ddce62ec7074bca13f18a96eb7b
4,484
py
Python
tact/util.py
brunel-physics/mva_scikit
b0182da89efa466461aaf2cff4387c821df1758b
[ "BSD-3-Clause" ]
null
null
null
tact/util.py
brunel-physics/mva_scikit
b0182da89efa466461aaf2cff4387c821df1758b
[ "BSD-3-Clause" ]
null
null
null
tact/util.py
brunel-physics/mva_scikit
b0182da89efa466461aaf2cff4387c821df1758b
[ "BSD-3-Clause" ]
2
2020-05-18T19:52:32.000Z
2022-01-24T10:07:35.000Z
# -*- coding: utf-8 -*- """ Module containing miscellaneous utility functions. """ from __future__ import (absolute_import, division, print_function, unicode_literals) import collections import itertools import numpy as np class BinaryTree(object): def __init__(self): self.left...
26.222222
79
0.61686
561
4,484
4.885918
0.404635
0.032835
0.017512
0.010215
0.083181
0.04305
0.04305
0.04305
0.04305
0
0
0.009157
0.293711
4,484
170
80
26.376471
0.856331
0.583408
0
0.104167
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.083333
0
0.3125
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53f2926766ffb4a7606e6a1c06800d6ce10ac775
3,893
py
Python
src/stochastic_tour.py
DavidNKraemer/ams553-final-project
fc23fe5f126a8bd9ea593c0b339883ec71820a05
[ "MIT" ]
null
null
null
src/stochastic_tour.py
DavidNKraemer/ams553-final-project
fc23fe5f126a8bd9ea593c0b339883ec71820a05
[ "MIT" ]
null
null
null
src/stochastic_tour.py
DavidNKraemer/ams553-final-project
fc23fe5f126a8bd9ea593c0b339883ec71820a05
[ "MIT" ]
null
null
null
import numpy as np import random from collections import namedtuple def generate_prob_matrix(n): matrix = np.random.rand(n, n) for i in range(n): matrix[i][i] = 0 for i in range(n): matrix[i] = (1/np.sum(matrix[i]))*matrix[i] return matrix def categorical(p): return np.random...
25.781457
75
0.5813
533
3,893
4.095685
0.15197
0.044892
0.030234
0.04535
0.158497
0.126432
0.120018
0.040312
0.040312
0
0
0.008062
0.298998
3,893
150
76
25.953333
0.791865
0
0
0.127273
1
0
0.008736
0
0
0
0
0
0
1
0.136364
false
0.009091
0.027273
0.045455
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
53f4891624f4d3bc5f0cf1971fce25d204c1cf18
1,325
py
Python
orbit/actions/conditional_action_test.py
mcasanova1445/models
37be0fdb4abccca633bb3199a4e6f3f71cd174d9
[ "Apache-2.0" ]
1
2020-09-14T10:46:07.000Z
2020-09-14T10:46:07.000Z
orbit/actions/conditional_action_test.py
mdsaifhaider/models
7214e17eb425963ec3d0295be215d5d26deaeb32
[ "Apache-2.0" ]
8
2020-05-19T00:52:30.000Z
2020-06-04T23:57:20.000Z
orbit/actions/conditional_action_test.py
mdsaifhaider/models
7214e17eb425963ec3d0295be215d5d26deaeb32
[ "Apache-2.0" ]
2
2021-10-07T04:47:04.000Z
2021-12-18T04:18:19.000Z
# Copyright 2022 The Orbit Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
33.125
79
0.739623
182
1,325
5.296703
0.593407
0.062241
0.026971
0.033195
0
0
0
0
0
0
0
0.007266
0.169057
1,325
39
80
33.974359
0.868302
0.538868
0
0
0
0
0.064298
0
0
0
0
0
0.357143
1
0.142857
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53f4cffa9d98d6fc50ab66c96fe1f4f487091562
880
py
Python
Customizations/Tagging/show_tags.task.py
phnomcobra/valarie-content
b1f6242605badd2b0b2e53c4320f5d963b5e0b21
[ "MIT" ]
null
null
null
Customizations/Tagging/show_tags.task.py
phnomcobra/valarie-content
b1f6242605badd2b0b2e53c4320f5d963b5e0b21
[ "MIT" ]
null
null
null
Customizations/Tagging/show_tags.task.py
phnomcobra/valarie-content
b1f6242605badd2b0b2e53c4320f5d963b5e0b21
[ "MIT" ]
null
null
null
#!/usr/bin/python ################################################################################ # DOCUMENTS # # Justin Dierking # justin.l.dierking.civ@mail.mil # 614 692 2050 # # 04/22/2018 Original Construction ################################################################################ import traceback impor...
25.882353
80
0.465909
80
880
5.0125
0.65
0.099751
0.119701
0
0
0
0
0
0
0
0
0.029641
0.271591
880
34
81
25.882353
0.595944
0.145455
0
0
0
0
0.006849
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53f8fdaf42e35a017e458aac366d4271e4baa22e
1,932
py
Python
examples/python/masked_hist.py
DerThorsten/seglib
4655079e390e301dd93e53f5beed6c9737d6df9f
[ "MIT" ]
null
null
null
examples/python/masked_hist.py
DerThorsten/seglib
4655079e390e301dd93e53f5beed6c9737d6df9f
[ "MIT" ]
null
null
null
examples/python/masked_hist.py
DerThorsten/seglib
4655079e390e301dd93e53f5beed6c9737d6df9f
[ "MIT" ]
null
null
null
import vigra import numpy import pylab from seglib import cgp2d from seglib.preprocessing import norm01 import seglib.edge_detectors.pixel as edp import seglib.region_descriptors.pixel as rdp from seglib.preprocessing import norm01 from seglib.histogram import jointHistogram,histogram from seglib.region_descriptors.p...
27.6
133
0.70911
263
1,932
5.193916
0.437262
0.036603
0.033675
0.04246
0.086384
0.035139
0.035139
0
0
0
0
0.042488
0.15942
1,932
69
134
28
0.798645
0.11853
0
0.052632
0
0
0.020106
0
0
0
0
0
0
0
null
null
0
0.263158
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
53fa17d1fb343f99d7928294d83a0d41844594ce
748
py
Python
backup/models.py
helwete/simple-backup
c7dd1a08d398f5b4005c187e274e192b2e024f30
[ "MIT" ]
null
null
null
backup/models.py
helwete/simple-backup
c7dd1a08d398f5b4005c187e274e192b2e024f30
[ "MIT" ]
null
null
null
backup/models.py
helwete/simple-backup
c7dd1a08d398f5b4005c187e274e192b2e024f30
[ "MIT" ]
null
null
null
from datetime import date from django.conf import settings from django.db import models # Create your models here. def user_directory_path(instance, filename): # file will be uploaded to MEDIA_ROOT/user_<id>/<filename> today = date.today() return '{0}/{2}/{1}'.format(instance.user.username, filename, toda...
35.619048
94
0.743316
108
748
4.953704
0.555556
0.059813
0.063551
0
0
0
0
0
0
0
0
0.009302
0.137701
748
20
95
37.4
0.820155
0.108289
0
0
0
0
0.03012
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.076923
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fa743e6670e6a8830a736afc87f494f4f511b4
2,713
py
Python
Kmeans Cluster/Kmeans_Compare.py
Jojoxiao/Machine-Learning-for-Beginner-by-Python3
71b91c9cba5803bd78d4d31be6dabb1d3989e968
[ "MIT" ]
397
2018-05-28T02:07:32.000Z
2022-03-30T09:53:37.000Z
Kmeans Cluster/Kmeans_Compare.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
4
2019-01-14T16:41:02.000Z
2021-03-11T13:23:06.000Z
Kmeans Cluster/Kmeans_Compare.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
235
2018-06-28T05:31:40.000Z
2022-03-11T03:20:07.000Z
#-*- coding:utf-8 -*- # &Author AnFany # 引入方法 import Kmeans_AnFany as K_Af # AnFany import Kmeans_Sklearn as K_Sk # Sklearn import matplotlib.pyplot as plt from pylab import mpl # 作图显示中文 mpl.rcParams['font.sans-serif'] = ['FangSong'] # 设置中文字体新宋体 mpl.rcParams['axes.unicode_minus'] = False import numpy as...
25.59434
123
0.573535
419
2,713
3.658711
0.353222
0.006523
0.028702
0.031311
0.100457
0.069145
0.037834
0.037834
0.037834
0.037834
0
0.036591
0.234427
2,713
105
124
25.838095
0.701493
0.093255
0
0.125
0
0
0.072719
0
0
0
0
0
0
1
0.0625
false
0
0.09375
0
0.203125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53faaa8c310593f3046382b5d7e3fa8922d7e1b7
5,544
py
Python
control_panel.py
Stayermax/5dof-bartender-robot
dd04303afd2c252e6f7105e33ba35b01f3915194
[ "MIT" ]
null
null
null
control_panel.py
Stayermax/5dof-bartender-robot
dd04303afd2c252e6f7105e33ba35b01f3915194
[ "MIT" ]
null
null
null
control_panel.py
Stayermax/5dof-bartender-robot
dd04303afd2c252e6f7105e33ba35b01f3915194
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Control panel file """ import pddl_solver as pddl import ik import rospy from get_object_position import get_object_position import time from constants import * from spawn_models import reset_model_position, reset_all, spawn_model, spawn_all_models from delete_models import delete_all, de...
40.173913
170
0.530483
696
5,544
4.033046
0.222701
0.049875
0.055575
0.049875
0.333096
0.286783
0.286783
0.265052
0.244389
0.215889
0
0.014782
0.341089
5,544
138
171
40.173913
0.753627
0.136724
0
0.140351
0
0.008772
0.154754
0
0
0
0
0
0
1
0.008772
false
0
0.070175
0
0.087719
0.096491
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fac3e7275b1080c646a6ed12952be14a9e25f1
1,427
py
Python
Enigma/Enigma.py
archanpatkar/Enigma
dbbc1fda99bf451a0284f051c724ed43915dfe2a
[ "MIT" ]
3
2019-06-25T06:46:50.000Z
2021-07-27T14:14:32.000Z
Enigma/Enigma.py
archanpatkar/Enigma
dbbc1fda99bf451a0284f051c724ed43915dfe2a
[ "MIT" ]
null
null
null
Enigma/Enigma.py
archanpatkar/Enigma
dbbc1fda99bf451a0284f051c724ed43915dfe2a
[ "MIT" ]
1
2021-07-27T14:20:30.000Z
2021-07-27T14:20:30.000Z
from Enigma.Rotor import Rotor from Enigma.Reflector import Reflector from Enigma.Plugboard import Plugboard class Enigma: def __init__(self , rotors = [ Rotor(0,"IC") , Rotor(0,"IIC") , Rotor(0,"IIIC") ] , plugboard = Plugboard() , reflector = Reflector("A")): self.rotors = rotors for i in r...
32.431818
143
0.5459
161
1,427
4.813665
0.279503
0.064516
0.030968
0.04129
0.36129
0.255484
0.255484
0.255484
0.255484
0.16
0
0.007307
0.328662
1,427
43
144
33.186047
0.80167
0
0
0.368421
0
0
0.013315
0
0
0
0
0
0
1
0.105263
false
0
0.078947
0
0.289474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fad9cdfe9f1c4fdba68eaa168284de33fce059
647
py
Python
var/spack/repos/builtin/packages/exiv2/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
9
2018-04-18T07:51:40.000Z
2021-09-10T03:56:57.000Z
var/spack/repos/builtin/packages/exiv2/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
907
2018-04-18T11:17:57.000Z
2022-03-31T13:20:25.000Z
var/spack/repos/builtin/packages/exiv2/package.py
xiki-tempula/spack
9d66c05e93ab8a933fc59915040c0e0c86a4aac4
[ "ECL-2.0", "Apache-2.0", "MIT" ]
29
2018-11-05T16:14:23.000Z
2022-02-03T16:07:09.000Z
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Exiv2(CMakePackage): """Exiv2 is a Cross-platform C++ library and a command line utility ...
30.809524
96
0.710974
87
647
5.264368
0.781609
0.0131
0
0
0
0
0
0
0
0
0
0.123389
0.160742
647
20
97
32.35
0.720074
0.431221
0
0
0
0.142857
0.482857
0.182857
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
53fb4aef0b525310a37b5aa5c278d91c9afe8fd1
2,711
py
Python
magicauth/send_token.py
JMIdeaMaker/django-magicauth
ffca3423c46f8f3d7e49eaf374b33265d4730587
[ "MIT" ]
null
null
null
magicauth/send_token.py
JMIdeaMaker/django-magicauth
ffca3423c46f8f3d7e49eaf374b33265d4730587
[ "MIT" ]
null
null
null
magicauth/send_token.py
JMIdeaMaker/django-magicauth
ffca3423c46f8f3d7e49eaf374b33265d4730587
[ "MIT" ]
null
null
null
import math from django.contrib.auth import get_user_model from django.contrib.sites.shortcuts import get_current_site from django.core.mail import send_mail from django.template import loader from magicauth import settings as magicauth_settings from django.conf import settings as django_settings from magicauth.model...
36.146667
98
0.69384
335
2,711
5.337313
0.280597
0.08557
0.061521
0.017897
0.14094
0.033557
0
0
0
0
0
0.000969
0.239026
2,711
74
99
36.635135
0.86573
0.130579
0
0
0
0
0.034121
0.028434
0
0
0
0
0
1
0.076923
false
0
0.211538
0
0.346154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fbcfdc398532d49a5138646d1108fbc979d12a
2,148
py
Python
qcdb/util/paths.py
loriab/qccddb
d9e156ef8b313ac0633211fc6b841f84a3ddde24
[ "BSD-3-Clause" ]
8
2019-03-28T11:54:59.000Z
2022-03-19T03:31:37.000Z
qcdb/util/paths.py
loriab/qccddb
d9e156ef8b313ac0633211fc6b841f84a3ddde24
[ "BSD-3-Clause" ]
39
2018-10-31T23:02:18.000Z
2021-12-12T22:11:37.000Z
qcdb/util/paths.py
loriab/qccddb
d9e156ef8b313ac0633211fc6b841f84a3ddde24
[ "BSD-3-Clause" ]
9
2018-03-12T20:51:50.000Z
2022-02-28T15:18:34.000Z
import os import sys ## {{{ http://code.activestate.com/recipes/52224/ (r1) def search_file(filename, search_path): """Given an os.pathsep divided `search_path`, find first occurrence of `filename`. Returns full path to file if found or None if unfound. """ file_found = False paths = search_path....
26.85
74
0.603352
277
2,148
4.519856
0.361011
0.052716
0.035942
0.050319
0.162939
0.127796
0.073482
0.073482
0.073482
0.073482
0
0.015202
0.295624
2,148
79
75
27.189873
0.812293
0.278864
0
0.173913
0
0
0
0
0
0
0
0
0
1
0.130435
false
0.021739
0.108696
0
0.326087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fbd095d48c73b6a23ec7ef2c3b6688ff51dfc5
2,380
py
Python
tests/models/DCN_test.py
JiangBowen-master/DeepCTR
291ffb0ff3b8322f64bd839f963d5c7a70e6b358
[ "Apache-2.0" ]
1
2021-09-20T14:12:35.000Z
2021-09-20T14:12:35.000Z
tests/models/DCN_test.py
JiangBowen-master/DeepCTR
291ffb0ff3b8322f64bd839f963d5c7a70e6b358
[ "Apache-2.0" ]
1
2022-02-10T06:29:19.000Z
2022-02-10T06:29:19.000Z
tests/models/DCN_test.py
JiangBowen-master/DeepCTR
291ffb0ff3b8322f64bd839f963d5c7a70e6b358
[ "Apache-2.0" ]
null
null
null
import pytest import tensorflow as tf from deepctr.estimator import DCNEstimator from deepctr.models import DCN from ..utils import check_model, get_test_data, SAMPLE_SIZE, get_test_data_estimator, check_estimator, \ Estimator_TEST_TF1 @pytest.mark.parametrize( 'cross_num,hidden_size,sparse_feature_num,cross...
42.5
122
0.654622
301
2,380
4.760797
0.215947
0.08374
0.111654
0.08374
0.542219
0.519888
0.447313
0.378925
0.343336
0.2903
0
0.024671
0.233613
2,380
55
123
43.272727
0.760965
0.191597
0
0.210526
0
0
0.082377
0.053702
0
0
0
0
0
1
0.052632
false
0.026316
0.131579
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fbe12da973d06be5b6afaae786b7644d276650
1,309
py
Python
workflows/post_process_run/fv3post/gsutil.py
jacnugent/fv3net
84958651bdd17784fdab98f87ad0d65414c03368
[ "MIT" ]
5
2021-03-20T22:42:40.000Z
2021-06-30T18:39:36.000Z
workflows/post_process_run/fv3post/gsutil.py
jacnugent/fv3net
84958651bdd17784fdab98f87ad0d65414c03368
[ "MIT" ]
195
2021-09-16T05:47:18.000Z
2022-03-31T22:03:15.000Z
workflows/post_process_run/fv3post/gsutil.py
ai2cm/fv3net
e62038aee0a97d6207e66baabd8938467838cf51
[ "MIT" ]
1
2021-06-16T22:04:24.000Z
2021-06-16T22:04:24.000Z
import os import subprocess import backoff class GSUtilResumableUploadException(Exception): pass def _decode_to_str_if_bytes(s, encoding="utf-8"): if isinstance(s, bytes): return s.decode(encoding) else: return s def authenticate(): try: credentials = os.environ["GOOGLE_AP...
25.666667
85
0.654698
146
1,309
5.712329
0.506849
0.071942
0.068345
0.031175
0.043165
0
0
0
0
0
0
0.001982
0.229183
1,309
50
86
26.18
0.824579
0.048892
0
0.194444
0
0
0.115044
0.062751
0
0
0
0
0
1
0.138889
false
0.055556
0.083333
0
0.305556
0
0
0
0
null
0
0
0
0
0
0
0
0
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
53fc42709c54959b0375cdc103e3419eb44ee072
3,012
py
Python
deploy_tix/__main__.py
rpappalax/deploy-tix
a53c7fa7898b9f0c2f530c8abd8bab322a2eb7bc
[ "MIT" ]
null
null
null
deploy_tix/__main__.py
rpappalax/deploy-tix
a53c7fa7898b9f0c2f530c8abd8bab322a2eb7bc
[ "MIT" ]
20
2015-02-24T08:56:47.000Z
2018-07-25T16:35:30.000Z
deploy_tix/__main__.py
rpappalax/deploy-tix
a53c7fa7898b9f0c2f530c8abd8bab322a2eb7bc
[ "MIT" ]
3
2015-04-01T21:39:50.000Z
2020-09-10T19:40:43.000Z
import argparse from deploy_tix.bugzilla_rest_client import BugzillaRESTClient from deploy_tix.release_notes import ReleaseNotes from output_helper import OutputHelper def main(args=None): parser = argparse.ArgumentParser( description='Scripts for creating / updating deployment tickets in \ Bugzi...
30.12
87
0.625166
327
3,012
5.608563
0.330275
0.041985
0.041439
0.037623
0.06325
0.06325
0.023991
0.023991
0
0
0
0.003135
0.258632
3,012
99
88
30.424242
0.818182
0.0249
0
0.181818
0
0
0.163655
0
0
0
0
0
0
1
0.012987
false
0
0.051948
0
0.064935
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fce9990550dc9cdc1a65b09b6de93156132380
2,583
py
Python
site-packages/visual/examples/drape.py
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
68
2015-01-17T05:41:58.000Z
2021-04-24T08:35:24.000Z
site-packages/visual/examples/drape.py
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
16
2015-01-02T19:36:06.000Z
2018-09-09T21:01:25.000Z
site-packages/visual/examples/drape.py
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
37
2015-02-04T04:23:00.000Z
2020-06-07T03:24:41.000Z
from visual import * print(""" Click to place spheres under falling string. Right button drag or Ctrl-drag to rotate view. Middle button drag or Alt-drag to zoom in or out. On a two-button mouse, middle is left + right. """) # David Scherer scene.title = "Drape" restlength = 0.02 m = 0.010 * restlengt...
27.189474
81
0.542005
414
2,583
3.381643
0.318841
0.060714
0.038571
0.02
0.172857
0.164286
0.137143
0.092857
0.065714
0.065714
0
0.051407
0.284553
2,583
94
82
27.478723
0.706169
0.16144
0
0.126984
0
0
0.095724
0
0
0
0
0
0
1
0
false
0
0.015873
0
0.015873
0.015873
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fd39f8be55af2124122647f83ca83013ed5b72
8,921
py
Python
sdc/utilities/sdc_typing_utils.py
dlee992/sdc
1ebf55c00ef38dfbd401a70b3945e352a5a38b87
[ "BSD-2-Clause" ]
540
2017-06-19T16:29:24.000Z
2019-05-21T09:30:07.000Z
sdc/utilities/sdc_typing_utils.py
dlee992/sdc
1ebf55c00ef38dfbd401a70b3945e352a5a38b87
[ "BSD-2-Clause" ]
389
2019-10-30T18:56:46.000Z
2022-03-09T08:21:36.000Z
sdc/utilities/sdc_typing_utils.py
dlee992/sdc
1ebf55c00ef38dfbd401a70b3945e352a5a38b87
[ "BSD-2-Clause" ]
36
2017-06-19T16:29:15.000Z
2019-04-26T09:22:39.000Z
# ***************************************************************************** # Copyright (c) 2020, Intel Corporation All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # Redistributions of sou...
34.311538
109
0.690954
1,189
8,921
4.997477
0.248949
0.012117
0.018849
0.021205
0.266914
0.176372
0.129923
0.099293
0.099293
0.073376
0
0.001143
0.215335
8,921
259
110
34.444015
0.847714
0.391212
0
0.119658
0
0
0.017818
0.00495
0
0
0
0.003861
0
1
0.162393
false
0.008547
0.076923
0.017094
0.478632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fde8ce197812a38b7631459a915158d4d2d39f
1,074
py
Python
Hackerrank/Contests/Project Euler/euler010.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
1
2021-01-10T13:29:21.000Z
2021-01-10T13:29:21.000Z
Hackerrank/Contests/Project Euler/euler010.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
null
null
null
Hackerrank/Contests/Project Euler/euler010.py
PROxZIMA/Competitive-Coding
ba6b365ea130b6fcaa15c5537b530ed363bab793
[ "MIT" ]
null
null
null
from math import sqrt # Naive method: Loop through N and check if every number is prime or not. If prime add to sum. Time complexity is O(√n). Time of execution ~ 8sec for n = 1000000 def prime(n): yield 2 yield 3 for p in range(5, n+1, 2): if p % 3 == 0: continue else: ...
23.347826
161
0.515829
183
1,074
3.021858
0.311475
0.075949
0.03255
0.065099
0.135624
0
0
0
0
0
0
0.091808
0.340782
1,074
45
162
23.866667
0.687853
0.241155
0
0.15625
0
0
0
0
0
0
0
0
0
1
0.03125
false
0
0.03125
0
0.0625
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53fe751d15505be94879d0853534a2ee2c6e3129
3,891
py
Python
DQM/L1TMonitorClient/python/L1EmulatorErrorFlagClient_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
DQM/L1TMonitorClient/python/L1EmulatorErrorFlagClient_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
DQM/L1TMonitorClient/python/L1EmulatorErrorFlagClient_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from DQMServices.Core.DQMEDHarvester import DQMEDHarvester l1EmulatorErrorFlagClient = DQMEDHarvester("L1EmulatorErrorFlagClient", # # for each L1 system, give: # - SystemLabel: system label # - HwValLabel: system label as used in hardware validation ...
45.776471
101
0.40992
274
3,891
5.821168
0.273723
0.186207
0.124138
0.144828
0.468966
0.452038
0.452038
0.426332
0.426332
0.426332
0
0.022495
0.497301
3,891
84
102
46.321429
0.792945
0.125161
0
0.583333
0
0
0.040672
0.013557
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53ff445026af64cf9c890da3e25303bb69266c4d
17,382
py
Python
codalab/model/tables.py
jzwang43/codalab-worksheets
b1d4c6cc4b72f4dfa35a15f876e2d0ce9a03d28d
[ "Apache-2.0" ]
null
null
null
codalab/model/tables.py
jzwang43/codalab-worksheets
b1d4c6cc4b72f4dfa35a15f876e2d0ce9a03d28d
[ "Apache-2.0" ]
null
null
null
codalab/model/tables.py
jzwang43/codalab-worksheets
b1d4c6cc4b72f4dfa35a15f876e2d0ce9a03d28d
[ "Apache-2.0" ]
null
null
null
""" The SQLAlchemy table objects for the CodaLab bundle system tables. """ # TODO: Replace String and Text columns with Unicode and UnicodeText as appropriate # This way, SQLAlchemy will automatically perform conversions to and from UTF-8 # encoding, or use appropriate database engine-specific data types for Unicode # ...
36.904459
136
0.676159
2,111
17,382
5.421601
0.153955
0.116994
0.058104
0.042289
0.529664
0.47287
0.420882
0.375273
0.359546
0.347401
0
0.014881
0.195835
17,382
470
137
36.982979
0.803906
0.220055
0
0.534005
0
0
0.16736
0.018637
0
0
0.001782
0.002128
0
1
0
false
0.005038
0.010076
0
0.010076
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
53ff8a47a271e5535277c6325b7ff8df26908ae6
31,403
py
Python
grpc/plugins/connection/gnmi.py
hansthienpondt/ansible-networking-collections
278c88fceac297693a31df3cb54c942284823fbd
[ "BSD-3-Clause" ]
null
null
null
grpc/plugins/connection/gnmi.py
hansthienpondt/ansible-networking-collections
278c88fceac297693a31df3cb54c942284823fbd
[ "BSD-3-Clause" ]
null
null
null
grpc/plugins/connection/gnmi.py
hansthienpondt/ansible-networking-collections
278c88fceac297693a31df3cb54c942284823fbd
[ "BSD-3-Clause" ]
null
null
null
# (c) 2020 Nokia # # Licensed under the BSD 3 Clause license # SPDX-License-Identifier: BSD-3-Clause # from __future__ import (absolute_import, division, print_function) __metaclass__ = type DOCUMENTATION = """ --- author: - "Hans Thienpondt (@HansThienpondt)" - "Sven Wisotzky (@wisotzky)" connection: gnmi short_...
37.74399
124
0.583384
3,438
31,403
5.220477
0.172193
0.015322
0.0117
0.008525
0.32973
0.25624
0.220303
0.193782
0.180187
0.174838
0
0.003383
0.331656
31,403
831
125
37.78941
0.851772
0.183008
0
0.326316
0
0.003509
0.365895
0.037773
0
0
0
0
0
1
0.026316
false
0.019298
0.02807
0
0.089474
0.001754
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9900a4818a6a2131c9358bacda678af44a4371c0
4,056
py
Python
testcases/cloud_admin/services_up_test.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
testcases/cloud_admin/services_up_test.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
testcases/cloud_admin/services_up_test.py
tbeckham/eutester
1440187150ce284bd87147e71ac7f0fda194b4d9
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python # Software License Agreement (BSD License) # # Copyright (c) 2009-2011, Eucalyptus Systems, Inc. # All rights reserved. # # Redistribution and use of this software in source and binary forms, with or # without modification, are permitted provided that the following conditions # are met: # # Redistri...
42.25
115
0.704389
535
4,056
5.246729
0.431776
0.021375
0.006413
0.012113
0.091201
0.0741
0.04845
0.04845
0.04845
0.04845
0
0.003796
0.220661
4,056
95
116
42.694737
0.884214
0.43146
0
0
0
0
0.139523
0.014713
0
0
0
0
0
0
null
null
0.071429
0.071429
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
99019a837f86e3b14c54300ab0d06ff51f85071a
173
py
Python
intValues.py
jules552/ProjetISN
20da3572b59af25a166022bc2f5b25d46add2650
[ "Unlicense" ]
null
null
null
intValues.py
jules552/ProjetISN
20da3572b59af25a166022bc2f5b25d46add2650
[ "Unlicense" ]
null
null
null
intValues.py
jules552/ProjetISN
20da3572b59af25a166022bc2f5b25d46add2650
[ "Unlicense" ]
null
null
null
MAP = 1 SPEED = 1.5 VELOCITYRESET = 6 WIDTH = 1280 HEIGHT = 720 X = WIDTH / 2 - 50 Y = HEIGHT / 2 - 50 MOUSER = 325 TICKRATES = 120 nfc = False raspberry = False
14.416667
20
0.606936
27
173
3.888889
0.777778
0.057143
0
0
0
0
0
0
0
0
0
0.190083
0.300578
173
12
21
14.416667
0.677686
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
990280dc9a383a0a37cbb821de57615b46aa6a23
401
py
Python
April/Apr_25_2019/builder.py
while1618/DailyCodingProblem
187909f78281828da543439646cdf52d64c2bd0c
[ "MIT" ]
1
2019-11-17T10:56:28.000Z
2019-11-17T10:56:28.000Z
April/Apr_25_2019/builder.py
while1618/DailyCodingProblem
187909f78281828da543439646cdf52d64c2bd0c
[ "MIT" ]
null
null
null
April/Apr_25_2019/builder.py
while1618/DailyCodingProblem
187909f78281828da543439646cdf52d64c2bd0c
[ "MIT" ]
1
2021-11-02T01:00:37.000Z
2021-11-02T01:00:37.000Z
# This problem was asked by Facebook. # # A builder is looking to build a row of N houses that can be of K different colors. # He has a goal of minimizing cost while ensuring that no two neighboring houses are of the same color. # # Given an N by K matrix where the nth row and kth column represents the cost to build th...
44.555556
116
0.763092
75
401
4.08
0.68
0.045752
0
0
0
0
0
0
0
0
0
0
0.206983
401
8
117
50.125
0.962264
0.9601
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
99050763178e67f3f1f7faee3c71dfb0a78b6af1
4,521
py
Python
experiments/delaney/plot.py
pfnet-research/bayesgrad
5db613391777b20b7a367c274804f0b736991b0a
[ "MIT" ]
57
2018-06-30T01:47:19.000Z
2022-03-03T17:21:42.000Z
experiments/delaney/plot.py
pfnet-research/bayesgrad
5db613391777b20b7a367c274804f0b736991b0a
[ "MIT" ]
null
null
null
experiments/delaney/plot.py
pfnet-research/bayesgrad
5db613391777b20b7a367c274804f0b736991b0a
[ "MIT" ]
8
2018-07-07T06:18:40.000Z
2021-02-23T21:58:45.000Z
import argparse import numpy as np import os import sys import matplotlib matplotlib.use('agg') import matplotlib.pyplot as plt sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) from saliency.visualizer.smiles_visualizer import SmilesVisualizer def visualize(dir_path): ...
35.320313
116
0.628622
624
4,521
4.366987
0.216346
0.04844
0.062385
0.039633
0.352294
0.327706
0.299083
0.26055
0.173578
0.162569
0
0.013241
0.231586
4,521
127
117
35.598425
0.771157
0.111701
0
0.0625
0
0
0.074675
0.005495
0
0
0
0
0
1
0.072917
false
0
0.072917
0
0.197917
0.010417
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
99062a5160d0b8327745e2f7901f243a1d23d8b8
853
py
Python
public/js/tinymice/plugins/bootstrap/jquery-file-tree/connectors/jqueryFileTree.py
btybug/main.albumbugs
2343466bae7ee3d8941abc4c9684667cccc3e103
[ "MIT" ]
13
2016-05-25T16:12:49.000Z
2021-04-09T01:49:24.000Z
public/js/tinymice/plugins/bootstrap/jquery-file-tree/connectors/jqueryFileTree.py
btybug/main.albumbugs
2343466bae7ee3d8941abc4c9684667cccc3e103
[ "MIT" ]
265
2015-10-19T02:40:55.000Z
2022-03-28T07:24:49.000Z
public/js/tinymice/plugins/bootstrap/jquery-file-tree/connectors/jqueryFileTree.py
btybug/main.albumbugs
2343466bae7ee3d8941abc4c9684667cccc3e103
[ "MIT" ]
7
2016-02-08T11:41:40.000Z
2021-06-08T18:18:02.000Z
# # jQuery File Tree # Python/Django connector script # By Martin Skou # import os import urllib def dirlist(request): r=['<ul class="jqueryFileTree" style="display: none;">'] try: r=['<ul class="jqueryFileTree" style="display: none;">'] d=urllib.unquote(request.POST.get('dir','c:\\temp')) f...
32.807692
101
0.548652
125
853
3.736
0.512
0.074946
0.034261
0.094218
0.218415
0.218415
0.218415
0
0
0
0
0.003067
0.235639
853
25
102
34.12
0.71319
0.100821
0
0.210526
0
0.052632
0.355263
0.085526
0
0
0
0
0
0
null
null
0
0.105263
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
990961ddde648d8a6e8bdae1002af6b0a3fe992c
1,639
py
Python
gpytorch/lazy/chol_lazy_tensor.py
harvineet/gpytorch
8aa8f1a4298ef61cfea9c4d11c75576a84ffcc3e
[ "MIT" ]
null
null
null
gpytorch/lazy/chol_lazy_tensor.py
harvineet/gpytorch
8aa8f1a4298ef61cfea9c4d11c75576a84ffcc3e
[ "MIT" ]
null
null
null
gpytorch/lazy/chol_lazy_tensor.py
harvineet/gpytorch
8aa8f1a4298ef61cfea9c4d11c75576a84ffcc3e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import torch from .lazy_tensor import LazyTensor from .root_lazy_tensor import RootLazyTensor from .. import settings class CholLazyTensor(RootLazyTensor): def __init__(self, chol): if isinstance(chol, LazyTensor): # Probably is an instance of NonLazyTensor chol = cho...
33.44898
113
0.654667
216
1,639
4.694444
0.393519
0.075937
0.047337
0.047337
0.126233
0.078895
0
0
0
0
0
0.008936
0.248932
1,639
48
114
34.145833
0.814785
0.078707
0
0.060606
0
0
0.066401
0
0
0
0
0
0
1
0.121212
false
0
0.121212
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9909642cf635ba7b413ffb8f974cd5801c613d72
5,765
py
Python
pirates/audio/AmbientManagerBase.py
ksmit799/POTCO-PS
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
8
2017-01-24T04:33:29.000Z
2020-11-01T08:36:24.000Z
pirates/audio/AmbientManagerBase.py
ksmit799/Pirates-Online-Remake
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
1
2017-03-02T18:05:17.000Z
2017-03-14T06:47:10.000Z
pirates/audio/AmbientManagerBase.py
ksmit799/Pirates-Online-Remake
520d38935ae8df4b452c733a82c94dddac01e275
[ "Apache-2.0" ]
11
2017-03-02T18:46:07.000Z
2020-11-01T08:36:26.000Z
# File: A (Python 2.4) from pandac.PandaModules import AudioSound from direct.directnotify import DirectNotifyGlobal from direct.interval.IntervalGlobal import LerpFunc, Sequence from direct.showbase.DirectObject import DirectObject class AmbientSound: notify = DirectNotifyGlobal.directNotify.newCategory('Ambient...
30.828877
153
0.601214
555
5,765
6.225225
0.196396
0.044573
0.049493
0.031259
0.280753
0.219971
0.145007
0.108538
0.108538
0.068307
0
0.010033
0.308413
5,765
186
154
30.994624
0.856534
0.003469
0
0.282258
0
0
0.025605
0
0
0
0
0
0
1
0.16129
false
0.016129
0.032258
0.016129
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
99096743e56d22ad0a53c9983c2e48c412dd1c0f
890
py
Python
test/tests/import_test.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/import_test.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/import_test.py
jmgc/pyston
9f672c1bbb75710ac17dd3d9107da05c8e9e8e8f
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
import import_target print import_target.x import import_target import_target.foo() c = import_target.C() print import_target.import_nested_target.y import_target.import_nested_target.bar() d = import_target.import_nested_target.D() print "testing importfrom:" from import_target import x as z print z import_nested...
20.227273
65
0.837079
137
890
5.058394
0.218978
0.207792
0.311688
0.137085
0.253968
0.168831
0.168831
0.141414
0.141414
0
0
0.007528
0.104494
890
43
66
20.697674
0.861982
0
0
0.30303
0
0
0.085393
0
0
0
0
0
0
0
null
null
0
0.727273
null
null
0.393939
0
0
0
null
1
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
1
0
0
0
1
0
0
0
0
4
99098c029853719101bfb8070fc7fe3e4ddbd2c3
6,801
py
Python
hexrd/ui/matrix_editor.py
HEXRD/hexrdgui
d92915463f237e0521b5830655ae73bc5bcd9f80
[ "BSD-3-Clause" ]
13
2020-02-18T00:23:02.000Z
2022-02-24T20:04:36.000Z
hexrd/ui/matrix_editor.py
HEXRD/hexrdgui
d92915463f237e0521b5830655ae73bc5bcd9f80
[ "BSD-3-Clause" ]
656
2020-01-14T02:33:40.000Z
2022-03-26T15:31:17.000Z
hexrd/ui/matrix_editor.py
HEXRD/hexrdgui
d92915463f237e0521b5830655ae73bc5bcd9f80
[ "BSD-3-Clause" ]
6
2020-01-17T15:02:53.000Z
2020-11-01T22:02:48.000Z
import numpy as np from PySide2.QtCore import QSignalBlocker, Signal from PySide2.QtWidgets import QGridLayout, QWidget from hexrd.ui.scientificspinbox import ScientificDoubleSpinBox DEFAULT_ENABLED_STYLE_SHEET = 'background-color: white' DEFAULT_DISABLED_STYLE_SHEET = 'background-color: #F0F0F0' INVALID_MATRIX_STY...
27.987654
78
0.617115
859
6,801
4.67986
0.194412
0.027861
0.027363
0.029851
0.247015
0.163184
0.151741
0.151741
0.091045
0.091045
0
0.004747
0.287605
6,801
242
79
28.103306
0.824974
0.070284
0
0.258824
0
0
0.037876
0.003962
0
0
0
0
0
1
0.176471
false
0
0.035294
0.047059
0.311765
0.005882
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
990aa6cbf16ed34f5030609c03ab43c0f0ed8c2a
674
py
Python
data/train/python/990aa6cbf16ed34f5030609c03ab43c0f0ed8c2aurls.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/python/990aa6cbf16ed34f5030609c03ab43c0f0ed8c2aurls.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/python/990aa6cbf16ed34f5030609c03ab43c0f0ed8c2aurls.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('pytorque.views', (r'^$', 'central_dispatch_view'), (r'^browse$', 'central_dispatch_view'), (r'^monitor$', 'central_dispatch_view'), (r'^submit$', 'central_dispatch_view'), (r'^stat$', 'central_dispatch_view'), (r'^login/$', 'login...
33.7
58
0.569733
88
674
4.227273
0.306818
0.241935
0.306452
0.322581
0.352151
0.241935
0.241935
0
0
0
0
0.025729
0.135015
674
20
59
33.7
0.61235
0.290801
0
0
0
0
0.545648
0.363057
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
1
1
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
3
990b3873866758deed49ecf19b9f6e265d5bd2a4
3,616
py
Python
checkerpy/types/all/typedtuple.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
1
2018-01-12T19:20:51.000Z
2018-01-12T19:20:51.000Z
checkerpy/types/all/typedtuple.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
null
null
null
checkerpy/types/all/typedtuple.py
yedivanseven/CheckerPy
04612086d25fecdd0b20ca0a050db8620c437b0e
[ "MIT" ]
null
null
null
from typing import Tuple, Union, Any, Sequence from collections import deque, defaultdict, OrderedDict from ...validators.one import JustLen from ...functional.mixins import CompositionClassMixin from ..one import Just dict_keys = type({}.keys()) odict_keys = type(OrderedDict({}).keys()) dict_values = type({}.values()...
35.45098
78
0.641316
465
3,616
4.84086
0.283871
0.021324
0.023989
0.013327
0.097734
0.023989
0.023989
0
0
0
0
0
0.264657
3,616
101
79
35.80198
0.846559
0.358407
0
0.040816
0
0
0.053142
0
0
0
0
0
0
1
0.081633
false
0
0.102041
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54c99a336aaeb2a2bf8fbb1530f743b492eca07a
2,019
py
Python
data/analyzer/linux/lib/common/abstracts.py
iswenhao/Panda-Sandbox
a04069d404cb4326ff459e703f14625dc45759ed
[ "MIT" ]
2
2021-01-12T15:42:05.000Z
2021-01-13T04:59:39.000Z
data/analyzer/linux/lib/common/abstracts.py
iswenhao/Panda-Sandbox
a04069d404cb4326ff459e703f14625dc45759ed
[ "MIT" ]
null
null
null
data/analyzer/linux/lib/common/abstracts.py
iswenhao/Panda-Sandbox
a04069d404cb4326ff459e703f14625dc45759ed
[ "MIT" ]
null
null
null
# Copyright (C) 2014-2016 Cuckoo Foundation. # This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org # See the file 'docs/LICENSE' for copying permission. from lib.api.process import Process from lib.exceptions.exceptions import CuckooPackageError class Package(object): """Base abstract analysis pack...
27.657534
102
0.583952
237
2,019
4.92827
0.434599
0.027397
0.020548
0.023973
0.034247
0
0
0
0
0
0
0.006569
0.321446
2,019
72
103
28.041667
0.845985
0.393759
0
0.181818
0
0
0.06297
0
0
0
0
0
0
1
0.272727
false
0
0.060606
0.060606
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
1
0
0
0
0
1
0
0
2
54ca6e875f242dc42891ee212f00bf7ca42878a5
182
py
Python
rdmo/options/apps.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
1
2021-12-13T16:32:25.000Z
2021-12-13T16:32:25.000Z
rdmo/options/apps.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
null
null
null
rdmo/options/apps.py
Raspeanut/rdmo
9f785010a499c372a2f8368ccf76d2ea4150adcb
[ "Apache-2.0" ]
1
2021-05-20T09:31:49.000Z
2021-05-20T09:31:49.000Z
from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class OptionsConfig(AppConfig): name = 'rdmo.options' verbose_name = _('Options')
22.75
55
0.763736
22
182
6.136364
0.727273
0.148148
0
0
0
0
0
0
0
0
0
0
0.153846
182
7
56
26
0.876623
0
0
0
0
0
0.104396
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
54d0c3f0ae68b706ed041587d739745d17917113
380
py
Python
main/admin.py
sirodoht/mal
82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9
[ "MIT" ]
2
2020-03-29T18:47:18.000Z
2020-05-12T07:03:36.000Z
main/admin.py
sirodoht/mal
82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9
[ "MIT" ]
null
null
null
main/admin.py
sirodoht/mal
82295e1b6a03cd9a7ee1357ca3f5be7a26d0ffe9
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.auth.admin import UserAdmin from main import models class Admin(UserAdmin): list_display = ("id", "username", "email", "date_joined", "last_login") admin.site.register(models.User, Admin) class DocumentAdmin(admin.ModelAdmin): list_display = ("id", "ti...
20
75
0.747368
48
380
5.833333
0.541667
0.071429
0.121429
0.164286
0
0
0
0
0
0
0
0
0.126316
380
18
76
21.111111
0.843373
0
0
0
0
0
0.113158
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.777778
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
1
0
1
0
0
3
54d0c963fcd5c7b6f9c7de58ed61e6d2623f1f5a
3,501
py
Python
cloudshell/cli/configurator.py
QualiSystems/cloudshell-cli
9a38ff37e91e7798511e860603f5a8a79b782472
[ "Apache-2.0" ]
4
2017-01-31T14:05:19.000Z
2019-04-10T16:35:44.000Z
cloudshell/cli/configurator.py
QualiSystems/cloudshell-cli
9a38ff37e91e7798511e860603f5a8a79b782472
[ "Apache-2.0" ]
89
2016-05-25T14:17:38.000Z
2022-03-17T13:09:59.000Z
cloudshell/cli/configurator.py
QualiSystems/cloudshell-cli
9a38ff37e91e7798511e860603f5a8a79b782472
[ "Apache-2.0" ]
6
2016-07-21T12:24:10.000Z
2022-02-21T06:33:18.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import sys from abc import ABCMeta, abstractmethod from collections import defaultdict from cloudshell.cli.factory.session_factory import ( CloudInfoAccessKeySessionFactory, GenericSessionFactory, SessionFactory, ) from cloudshell.cli.service.cli import CLI from cl...
32.119266
120
0.694087
380
3,501
6.139474
0.307895
0.061723
0.029147
0.02186
0.036005
0.036005
0.036005
0.036005
0.036005
0
0
0.004059
0.225935
3,501
108
121
32.416667
0.856827
0.234504
0
0.112676
0
0
0.004734
0
0
0
0
0
0
1
0.140845
false
0.028169
0.126761
0.042254
0.408451
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d0e7ae83bd72293871a6d51b4fbe8e0a0e701d
142
py
Python
examples/ingenerator.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
206
2021-06-24T16:16:13.000Z
2022-03-31T07:44:17.000Z
examples/ingenerator.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
13
2021-06-24T17:51:36.000Z
2022-02-23T10:07:17.000Z
examples/ingenerator.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
14
2021-06-26T02:19:45.000Z
2022-03-30T03:02:49.000Z
def main(): n = 111 gen = (n * 7 for x in range(10)) if 777 in gen: print("Yes!") if __name__ == '__main__': main()
14.2
36
0.485915
22
142
2.772727
0.727273
0
0
0
0
0
0
0
0
0
0
0.097826
0.352113
142
9
37
15.777778
0.565217
0
0
0
0
0
0.084507
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54d2af6cc6ffcbe94ad442887d35faa47a8ec2cd
1,090
py
Python
source/packages/scs-pm-server/src/python-server/app.py
amittkSharma/scs_predictive_maintenance
105a218b47d81d02f7e799287bd1e9279db452ce
[ "MIT" ]
null
null
null
source/packages/scs-pm-server/src/python-server/app.py
amittkSharma/scs_predictive_maintenance
105a218b47d81d02f7e799287bd1e9279db452ce
[ "MIT" ]
1
2022-02-05T17:13:00.000Z
2022-02-05T17:13:00.000Z
source/packages/scs-pm-server/src/python-server/app.py
amittkSharma/scs_predictive_maintenance
105a218b47d81d02f7e799287bd1e9279db452ce
[ "MIT" ]
null
null
null
import json import logging import joblib import pandas as pd from flask import Flask, jsonify, request from flask_cors import CORS, cross_origin app = Flask(__name__) CORS(app) @app.route("/api/machinePrediction", methods=['GET']) def home(): incomingMachineId = request.args.get('machineId') modelPath = requ...
24.222222
67
0.709174
141
1,090
5.319149
0.517731
0.058667
0.074667
0.048
0
0
0
0
0
0
0
0.00222
0.173395
1,090
44
68
24.772727
0.830189
0.031193
0
0
0
0
0.129155
0.020893
0
0
0
0
0
1
0.034483
false
0
0.206897
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d3039f58743cfa00e492ea3768046369054479
4,411
py
Python
tests/test_remove_from_dependee_chain.py
ess-dmsc/nexus-constructor
ae0026c48f8f2d4d88d3ff00e45cb6591983853b
[ "BSD-2-Clause" ]
3
2019-05-31T08:38:25.000Z
2022-01-06T09:23:21.000Z
tests/test_remove_from_dependee_chain.py
ess-dmsc/nexus-constructor
ae0026c48f8f2d4d88d3ff00e45cb6591983853b
[ "BSD-2-Clause" ]
709
2019-02-06T08:23:07.000Z
2022-03-29T23:03:37.000Z
tests/test_remove_from_dependee_chain.py
ess-dmsc/nexus-constructor
ae0026c48f8f2d4d88d3ff00e45cb6591983853b
[ "BSD-2-Clause" ]
2
2020-03-06T09:58:56.000Z
2020-08-04T18:32:57.000Z
import pytest from PySide2.QtGui import QVector3D from nexus_constructor.model.component import Component from nexus_constructor.model.dataset import Dataset from nexus_constructor.model.instrument import Instrument from nexus_constructor.model.value_type import ValueTypes values = Dataset( name="scalar_value", ...
28.275641
68
0.670143
526
4,411
5.479087
0.119772
0.030534
0.034351
0.030534
0.730396
0.620056
0.546149
0.546149
0.438584
0.403886
0
0.059478
0.226253
4,411
155
69
28.458065
0.78494
0
0
0.555556
0
0
0.043301
0
0
0
0
0
0.155556
1
0.044444
false
0
0.044444
0.007407
0.096296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d32f6738e6ad2c2884cf8b772cee6a6620a984
11,013
py
Python
fastmvsnet/train1.py
molspace/FastMVS_experiments
b897015d77600687ca2addf99bb6a6f0de524e5f
[ "MIT" ]
null
null
null
fastmvsnet/train1.py
molspace/FastMVS_experiments
b897015d77600687ca2addf99bb6a6f0de524e5f
[ "MIT" ]
null
null
null
fastmvsnet/train1.py
molspace/FastMVS_experiments
b897015d77600687ca2addf99bb6a6f0de524e5f
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import os.path as osp import logging import time import sys sys.path.insert(0, osp.dirname(__file__) + '/..') import torch import torch.nn as nn from fastmvsnet.config import load_cfg_from_file from fastmvsnet.utils.io import mkdir from fastmvsnet.utils.logger import setup_logger...
37.080808
119
0.562608
1,172
11,013
5.013652
0.171502
0.029101
0.022634
0.014466
0.470388
0.462049
0.429204
0.39857
0.382573
0.361811
0
0.005401
0.34432
11,013
296
120
37.206081
0.808337
0.025969
0
0.417021
0
0
0.05694
0
0
0
0
0
0
1
0.021277
false
0
0.076596
0
0.114894
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d41bf8d53f9ade04da7c58f9daea5fe0658840
857
py
Python
modulo2/3-detectores/3.2-detector/models.py
fossabot/unifacisa-visao-computacional
14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b
[ "MIT" ]
null
null
null
modulo2/3-detectores/3.2-detector/models.py
fossabot/unifacisa-visao-computacional
14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b
[ "MIT" ]
null
null
null
modulo2/3-detectores/3.2-detector/models.py
fossabot/unifacisa-visao-computacional
14aef22a3e7fe10ee820d31ce12ad21a3cad7b0b
[ "MIT" ]
1
2021-02-06T00:49:32.000Z
2021-02-06T00:49:32.000Z
# Estrutura básica para projetos de Machine Learning e Deep Learning # Por Adriano Santos. from torch import nn, relu import torch.nn.functional as F import torch.optim as optim import torch from torchvision import models class ResNet(nn.Module): def __init__(self, saida, pretreinado=True): super(ResNet,...
29.551724
86
0.655776
115
857
4.817391
0.478261
0.021661
0.064982
0.068592
0.083032
0
0
0
0
0
0
0.031484
0.221704
857
29
87
29.551724
0.7991
0.10035
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.25
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d5248eff89e3f435c1da7e63250cb5c736a60a
3,231
py
Python
python/setup.py
sbrodeur/evert
c7005ba29576145ab650144f9b9230eaf7bec460
[ "BSD-3-Clause" ]
28
2017-10-04T13:58:43.000Z
2021-11-06T10:46:51.000Z
python/setup.py
sbrodeur/evert
c7005ba29576145ab650144f9b9230eaf7bec460
[ "BSD-3-Clause" ]
7
2017-12-04T17:17:55.000Z
2021-07-29T08:58:26.000Z
python/setup.py
sbrodeur/evert
c7005ba29576145ab650144f9b9230eaf7bec460
[ "BSD-3-Clause" ]
10
2017-11-07T14:51:08.000Z
2019-06-05T04:17:44.000Z
#!/usr/bin/env python # Copyright (c) 2017, Simon Brodeur # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, th...
46.826087
89
0.556484
341
3,231
5.234604
0.557185
0.040336
0.019048
0.02577
0.103081
0.07619
0.07619
0.07619
0.07619
0.07619
0
0.006167
0.34757
3,231
68
90
47.514706
0.840607
0.501393
0
0
0
0
0.246349
0.045714
0
0
0
0
0
1
0
false
0
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d6049e6360802df5527ba35f15e6ff291748e2
530
py
Python
somegame/fps_osd.py
kodo-pp/somegame-but-not-that-one
6252d34b84fe7c83ada9e699df17688c50dd7596
[ "MIT" ]
null
null
null
somegame/fps_osd.py
kodo-pp/somegame-but-not-that-one
6252d34b84fe7c83ada9e699df17688c50dd7596
[ "MIT" ]
null
null
null
somegame/fps_osd.py
kodo-pp/somegame-but-not-that-one
6252d34b84fe7c83ada9e699df17688c50dd7596
[ "MIT" ]
null
null
null
import pygame from loguru import logger from somegame.osd import OSD class FpsOSD(OSD): def __init__(self, game): super().__init__(game) logger.info('Loading font') self.font = pygame.font.Font(pygame.font.get_default_font(), 32) def draw(self, surface): fps = self.game.get_a...
29.444444
85
0.635849
76
530
4.223684
0.513158
0.049844
0.087227
0
0
0
0
0
0
0
0
0.033816
0.218868
530
17
86
31.176471
0.741546
0
0
0
0
0
0.062264
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d6ce148b09071a1e33198868f6c84a03813ea1
11,846
py
Python
python/chronos/test/bigdl/chronos/data/experimental/test_xshardstsdataset.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
python/chronos/test/bigdl/chronos/data/experimental/test_xshardstsdataset.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
python/chronos/test/bigdl/chronos/data/experimental/test_xshardstsdataset.py
sgwhat/BigDL
25b402666fbb26b0bc18fc8100e9a00469844778
[ "Apache-2.0" ]
null
null
null
# # Copyright 2016 The BigDL Authors. # # 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 ...
46.454902
100
0.593534
1,435
11,846
4.715679
0.168641
0.062066
0.035171
0.052017
0.612236
0.600562
0.58608
0.581646
0.567312
0.556081
0
0.021901
0.286932
11,846
254
101
46.637795
0.779212
0.067871
0
0.510101
0
0
0.066013
0
0
0
0
0
0.287879
1
0.055556
false
0.005051
0.085859
0
0.156566
0.005051
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d7680f93fc7f5f7a46d60f37723337c7dce6f3
2,603
py
Python
zoom_functions.py
WXSD-Sales/ZoomToWebex
16cc663620e2ef2904b0e2857d709aee96b78eb7
[ "MIT" ]
1
2021-10-21T01:36:33.000Z
2021-10-21T01:36:33.000Z
zoom_functions.py
WXSD-Sales/integration-samples
2f18be740329f3c35c78c268a6d4544cae5d313e
[ "MIT" ]
null
null
null
zoom_functions.py
WXSD-Sales/integration-samples
2f18be740329f3c35c78c268a6d4544cae5d313e
[ "MIT" ]
null
null
null
import json import tornado.gen import traceback from base64 import b64encode from tornado.httpclient import AsyncHTTPClient, HTTPRequest, HTTPError from settings import Settings from mongo_db_controller import ZoomUserDB @tornado.gen.coroutine def zoomRefresh(zoom_user): url = "https://zoom.us/oauth/token" p...
38.850746
142
0.661929
325
2,603
5.166154
0.341538
0.085765
0.019655
0.026802
0.147707
0.045265
0.045265
0
0
0
0
0.01277
0.217826
2,603
66
143
39.439394
0.811886
0.036112
0
0.25
0
0
0.170722
0.023135
0
0
0
0
0
1
0.033333
false
0.05
0.116667
0
0.15
0.183333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d83fe60a2207f45c149a5e0cac230756ba7376
1,484
py
Python
crypten/mpc/__init__.py
gmuraru/CrypTen
e39a7aaf65436706321fe4e3fc055308c78b6b92
[ "MIT" ]
null
null
null
crypten/mpc/__init__.py
gmuraru/CrypTen
e39a7aaf65436706321fe4e3fc055308c78b6b92
[ "MIT" ]
null
null
null
crypten/mpc/__init__.py
gmuraru/CrypTen
e39a7aaf65436706321fe4e3fc055308c78b6b92
[ "MIT" ]
null
null
null
#!/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. import os from crypten.mpc import primitives # noqa: F401 from crypten.mpc import provider # noqa: F40 from .conte...
28.538462
81
0.768194
185
1,484
5.843243
0.432432
0.194265
0.116559
0.037003
0.142461
0.081406
0.081406
0
0
0
0
0.004781
0.154313
1,484
51
82
29.098039
0.856574
0.194744
0
0
0
0
0.108769
0.035413
0
0
0
0
0.1
1
0.1
false
0
0.2
0.066667
0.366667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54d943f36b7e93ff9b844e618cfa99e6c35ca662
2,011
py
Python
contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py
lahosken/pants
1b0340987c9b2eab9411416803c75b80736716e4
[ "Apache-2.0" ]
null
null
null
contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py
lahosken/pants
1b0340987c9b2eab9411416803c75b80736716e4
[ "Apache-2.0" ]
null
null
null
contrib/python/src/python/pants/contrib/python/checks/tasks/checkstyle/pyflakes.py
lahosken/pants
1b0340987c9b2eab9411416803c75b80736716e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2015 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). from __future__ import (absolute_import, division, generators, nested_scopes, print_function, unicode_literals, with_statement) from pyflakes.checke...
35.910714
93
0.721532
235
2,011
5.961702
0.604255
0.049964
0.039971
0.027123
0
0
0
0
0
0
0
0.030048
0.172551
2,011
55
94
36.563636
0.811899
0.218797
0
0
0
0
0.152662
0.014753
0
0
0
0.018182
0
1
0.081081
false
0
0.189189
0.027027
0.378378
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
54d95a6a219b638ddca6d85bef7b830f95b22592
2,426
py
Python
pharmrep/forum/models.py
boyombo/pharmrep
2293ceb235dec949c58fa40d1ee43fce172e0ceb
[ "MIT" ]
null
null
null
pharmrep/forum/models.py
boyombo/pharmrep
2293ceb235dec949c58fa40d1ee43fce172e0ceb
[ "MIT" ]
null
null
null
pharmrep/forum/models.py
boyombo/pharmrep
2293ceb235dec949c58fa40d1ee43fce172e0ceb
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.contrib import admin from django.utils.translation import ugettext_lazy as _ class Forum(models.Model): title = models.CharField(max_length=60) description = models.TextField(blank=True, default='') updated = models.DateTi...
32.783784
100
0.659934
323
2,426
4.80805
0.256966
0.051513
0.08886
0.100451
0.533162
0.412106
0.361236
0.334192
0.270444
0.270444
0
0.011129
0.222176
2,426
73
101
33.232877
0.811871
0
0
0.333333
0
0
0.019786
0
0
0
0
0
0
1
0.175439
false
0
0.070175
0.140351
0.842105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
54d9afa8624f72c8f6f8e3ffc3c4fcb52e42ad11
1,744
py
Python
iri-node/fabfile.py
jinnerbichler/home-automflashion
f93442712322ab819651f453437c11f685640e83
[ "Apache-2.0" ]
8
2018-02-06T15:18:08.000Z
2020-07-12T20:16:22.000Z
iri-node/fabfile.py
jinnerbichler/home-autoflashion
f93442712322ab819651f453437c11f685640e83
[ "Apache-2.0" ]
1
2018-09-02T17:10:57.000Z
2018-10-02T04:14:43.000Z
iri-node/fabfile.py
jinnerbichler/home-autoflashion
f93442712322ab819651f453437c11f685640e83
[ "Apache-2.0" ]
1
2019-08-14T04:39:48.000Z
2019-08-14T04:39:48.000Z
import time from fabric.api import run, env, task, put, cd, local, sudo env.use_ssh_config = True env.hosts = ['iota_node'] @task(default=True) def iri(): run('mkdir -p /srv/private-tangle/') with cd('/srv/private-tangle'): put('.', '.') run('docker-compose --project-name private-tangle pull'...
24.222222
113
0.639908
237
1,744
4.679325
0.270042
0.234445
0.158702
0.207394
0.620379
0.620379
0.620379
0.620379
0.586114
0.586114
0
0.007846
0.196101
1,744
71
114
24.56338
0.783167
0.030963
0
0.4
0
0.02
0.536455
0.018376
0
0
0
0
0
1
0.18
true
0
0.04
0
0.22
0
0
0
0
null
1
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
1
0
0
0
0
0
0
3
54da3dc2f38e9f403fcf4bc41db3259f59c8f372
1,763
py
Python
features.py
ptorresmanque/MachineLearning_v2.0
795e47b9cfc68f4e0fefb700d43af6c59e2f1d73
[ "MIT" ]
null
null
null
features.py
ptorresmanque/MachineLearning_v2.0
795e47b9cfc68f4e0fefb700d43af6c59e2f1d73
[ "MIT" ]
null
null
null
features.py
ptorresmanque/MachineLearning_v2.0
795e47b9cfc68f4e0fefb700d43af6c59e2f1d73
[ "MIT" ]
null
null
null
import sqlite3 from random import randint, choice import numpy as np conn = sqlite3.connect('ej.db') c = conn.cursor() #OBTENIENDO TAMAnOS MAXIMOS MINIMOS Y PROMEDIO# c.execute('SELECT MAX(alto) FROM features') resultado = c.fetchone() if resultado: altoMax = resultado[0] c.execute('SELECT MIN(alto) FROM featu...
23.506667
103
0.640953
233
1,763
4.759657
0.309013
0.036069
0.050496
0.079351
0.299369
0.259693
0.164112
0.164112
0
0
0
0.030236
0.230856
1,763
75
104
23.506667
0.787611
0.059558
0
0.181818
0
0
0.117433
0
0
0
0
0
0
1
0
false
0
0.068182
0
0.068182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54da935d3d5cf04aac496677e269b59710d17100
5,503
py
Python
dev/ideas/cython/playing_around.py
achilleas-k/brian2
906563b6b1321585b082f79f74f1b4ab386347ec
[ "BSD-2-Clause" ]
null
null
null
dev/ideas/cython/playing_around.py
achilleas-k/brian2
906563b6b1321585b082f79f74f1b4ab386347ec
[ "BSD-2-Clause" ]
null
null
null
dev/ideas/cython/playing_around.py
achilleas-k/brian2
906563b6b1321585b082f79f74f1b4ab386347ec
[ "BSD-2-Clause" ]
null
null
null
from pylab import * import cython import time, timeit from brian2.codegen.runtime.cython_rt.modified_inline import modified_cython_inline import numpy from scipy import weave import numexpr import theano from theano import tensor as tt tau = 20 * 0.001 N = 1000000 b = 1.2 # constant current mean, the modul...
30.743017
125
0.589678
853
5,503
3.504103
0.157093
0.112412
0.028438
0.051188
0.461024
0.362663
0.317497
0.301104
0.301104
0.243894
0
0.024644
0.247865
5,503
178
126
30.91573
0.697511
0.089042
0
0.155405
0
0.02027
0.262961
0.085027
0
0
0
0
0
0
null
null
0
0.067568
null
null
0.047297
0
0
0
null
0
0
0
0
0
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
54db106024a4f46cf548821fe280245ccaf57da7
114
py
Python
azbankgateways/views/__init__.py
lordmahyar/az-iranian-bank-gateways
e9eb7101f2b91318847d63d783c22c4a8d430ba3
[ "MIT" ]
196
2020-12-07T11:29:19.000Z
2022-03-23T09:32:56.000Z
azbankgateways/views/__init__.py
lordmahyar/az-iranian-bank-gateways
e9eb7101f2b91318847d63d783c22c4a8d430ba3
[ "MIT" ]
25
2021-01-13T11:56:35.000Z
2022-03-14T19:41:51.000Z
azbankgateways/views/__init__.py
lordmahyar/az-iranian-bank-gateways
e9eb7101f2b91318847d63d783c22c4a8d430ba3
[ "MIT" ]
44
2021-01-08T18:27:47.000Z
2022-03-22T03:36:04.000Z
from .banks import callback_view, go_to_bank_gateway from .samples import sample_payment_view, sample_result_view
38
60
0.877193
18
114
5.111111
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.087719
114
2
61
57
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
54db89c835de6895b4c1b46df78297a288ccdb1f
3,254
py
Python
dev/unittest/update.py
PowerDNS/exabgp
bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2
[ "BSD-3-Clause" ]
8
2015-01-11T09:57:26.000Z
2019-07-05T05:57:02.000Z
dev/unittest/update.py
Acidburn0zzz/exabgp
bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2
[ "BSD-3-Clause" ]
1
2018-11-15T22:10:09.000Z
2018-11-15T22:20:31.000Z
dev/unittest/update.py
Acidburn0zzz/exabgp
bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2
[ "BSD-3-Clause" ]
6
2015-09-11T01:51:06.000Z
2020-03-10T19:16:18.000Z
#!/usr/bin/env python # encoding: utf-8 """ update.py Created by Thomas Mangin on 2009-09-06. Copyright (c) 2009-2013 Exa Networks. All rights reserved. """ import unittest from exabgp.configuration.environment import environment env = environment.setup('') from exabgp.bgp.message.update.update import * from exabgp...
38.282353
313
0.667486
555
3,254
3.814414
0.228829
0.113368
0.158715
0.196504
0.508739
0.489844
0.425602
0.364667
0.273028
0.273028
0
0.155025
0.137677
3,254
84
314
38.738095
0.59943
0.103258
0
0.039216
0
0
0.050823
0
0
0
0.147817
0
0.235294
0
null
null
0
0.098039
null
null
0.058824
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
1
0
0
0
0
0
0
0
0
2
54dbf6330b24d0c6aff3e7ee1c31934c49d43385
12,082
py
Python
nuscenes/eval/detection/evaluate.py
WJ-Lai/NightFusion
1555692eceb6b85127d21cd43e6fc780b7f91ffd
[ "Apache-2.0" ]
null
null
null
nuscenes/eval/detection/evaluate.py
WJ-Lai/NightFusion
1555692eceb6b85127d21cd43e6fc780b7f91ffd
[ "Apache-2.0" ]
1
2019-04-24T12:14:59.000Z
2019-04-24T12:14:59.000Z
nuscenes/eval/detection/evaluate.py
WJ-Lai/NightFusion
1555692eceb6b85127d21cd43e6fc780b7f91ffd
[ "Apache-2.0" ]
null
null
null
# nuScenes dev-kit. # Code written by Holger Caesar & Oscar Beijbom, 2018. # Licensed under the Creative Commons [see licence.txt] import argparse import json import os import random import time from typing import Tuple, Dict, Any import numpy as np from nuscenes import NuScenes from nuscenes.eval.detection.algo imp...
45.421053
120
0.630525
1,515
12,082
4.815842
0.206601
0.024945
0.013706
0.020559
0.215872
0.158991
0.122259
0.081277
0.058936
0.029331
0
0.003611
0.266595
12,082
265
121
45.592453
0.819772
0.199388
0
0.073171
0
0
0.118392
0
0
0
0
0
0.006098
1
0.030488
false
0
0.085366
0.006098
0.140244
0.060976
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54dcf21edb2556756e4c18e431858f02788f9d3a
9,520
py
Python
tests/get_problem_atcoder.py
aberent/api-client
845e5f1daa02cc7fee5a65234a24bb59a7b71083
[ "MIT" ]
null
null
null
tests/get_problem_atcoder.py
aberent/api-client
845e5f1daa02cc7fee5a65234a24bb59a7b71083
[ "MIT" ]
null
null
null
tests/get_problem_atcoder.py
aberent/api-client
845e5f1daa02cc7fee5a65234a24bb59a7b71083
[ "MIT" ]
null
null
null
import unittest from onlinejudge_api.main import main class DownloadAtCoderTest(unittest.TestCase): def test_icpc2013spring_a(self): """This problem contains both words `Input` and `Output` for the headings for sample outputs. """ url = 'http://jag2013spring.contest.atcoder.jp/tasks/icpc...
36.615385
157
0.411029
892
9,520
4.338565
0.253363
0.041602
0.065891
0.074677
0.491473
0.451938
0.384496
0.365116
0.347028
0.299742
0
0.104319
0.43813
9,520
259
158
36.756757
0.619181
0.06229
0
0.481982
0
0.031532
0.358086
0.038596
0
0
0
0
0.036036
1
0.036036
false
0
0.009009
0
0.04955
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54dcf64898b0684c67b6786b86aa9adc1e8b99c7
681
py
Python
odm/libexec/odm_tenant.py
UMCollab/ODM
95da49939dbcd54318a58a132aa76725fd9c0b5f
[ "MIT" ]
2
2019-04-26T13:26:02.000Z
2019-10-18T10:36:52.000Z
odm/libexec/odm_tenant.py
flowerysong/ODM
95da49939dbcd54318a58a132aa76725fd9c0b5f
[ "MIT" ]
1
2020-10-28T00:38:07.000Z
2020-10-28T00:38:07.000Z
odm/libexec/odm_tenant.py
flowerysong/ODM
95da49939dbcd54318a58a132aa76725fd9c0b5f
[ "MIT" ]
1
2019-02-21T16:41:24.000Z
2019-02-21T16:41:24.000Z
#!/usr/bin/env python3 # This file is part of ODM and distributed under the terms of the # MIT license. See COPYING. import json import sys import odm.cli def main(): cli = odm.cli.CLI(['action']) client = cli.client if cli.args.action == 'list-users': print(json.dumps(client.list_users(), ind...
21.28125
79
0.638767
98
681
4.326531
0.459184
0.066038
0.122642
0.120283
0.301887
0.132075
0.132075
0
0
0
0
0.009294
0.209985
681
31
80
21.967742
0.77881
0.162996
0
0
0
0
0.116402
0
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.235294
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
0
0
0
0
0
0
1
0
54dde115e15519f27b695b4a4ec6e5589e225fb7
17,182
py
Python
tests/test_tag_value_parser.py
quaresmajose/tools-python
53c917a1a2491a373efa23e4ef8570b5e863fabc
[ "Apache-2.0" ]
74
2015-12-25T09:43:18.000Z
2022-03-30T00:23:30.000Z
tests/test_tag_value_parser.py
quaresmajose/tools-python
53c917a1a2491a373efa23e4ef8570b5e863fabc
[ "Apache-2.0" ]
184
2016-11-23T15:57:16.000Z
2022-03-15T05:25:59.000Z
tests/test_tag_value_parser.py
quaresmajose/tools-python
53c917a1a2491a373efa23e4ef8570b5e863fabc
[ "Apache-2.0" ]
98
2015-12-13T12:20:34.000Z
2022-03-18T15:28:35.000Z
# Copyright (c) 2014 Ahmed H. Ismail # 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...
49.091429
178
0.650506
2,066
17,182
5.277348
0.151016
0.031643
0.095111
0.117491
0.555994
0.478676
0.468403
0.442355
0.364303
0.295515
0
0.052878
0.217437
17,182
349
179
49.232092
0.757995
0.032359
0
0.190164
0
0.02623
0.416912
0.086127
0
0
0
0
0.380328
1
0.055738
false
0
0.036066
0
0.131148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54df90a5374a87e257978dcb4c0e1caa9abfa7f7
2,024
py
Python
mount_drives.py
DT-was-an-ET/fanshim-python-pwm
dd3e6e29251000946e34d80704c040b5bcad7f8e
[ "MIT" ]
null
null
null
mount_drives.py
DT-was-an-ET/fanshim-python-pwm
dd3e6e29251000946e34d80704c040b5bcad7f8e
[ "MIT" ]
null
null
null
mount_drives.py
DT-was-an-ET/fanshim-python-pwm
dd3e6e29251000946e34d80704c040b5bcad7f8e
[ "MIT" ]
3
2020-02-27T13:45:19.000Z
2020-03-26T13:38:17.000Z
# Standard library imports from subprocess import call as subprocess_call from utility import fileexists from time import sleep as time_sleep from datetime import datetime mount_try = 1 not_yet = True done = False start_time = datetime.now() if fileexists("/home/rpi4-sftp/usb/drive_present.txt"): when_usba...
36.142857
107
0.733202
301
2,024
4.694352
0.239203
0.084926
0.106157
0.080679
0.44586
0.44586
0.401982
0.375088
0.318471
0.290163
0
0.012768
0.148715
2,024
55
108
36.8
0.807313
0.011858
0
0.078431
0
0
0.252702
0.166752
0
0
0
0
0
1
0
false
0
0.078431
0
0.078431
0.098039
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54e0817402b9c2ce35c6af23684ce91b4042e10a
5,639
py
Python
home/views.py
Kshitij-Kumar-Singh-Chauhan/docon
bff0547e7bbd030e027217a2ca7800a8da529b56
[ "MIT" ]
null
null
null
home/views.py
Kshitij-Kumar-Singh-Chauhan/docon
bff0547e7bbd030e027217a2ca7800a8da529b56
[ "MIT" ]
null
null
null
home/views.py
Kshitij-Kumar-Singh-Chauhan/docon
bff0547e7bbd030e027217a2ca7800a8da529b56
[ "MIT" ]
2
2021-06-17T05:35:07.000Z
2021-06-17T06:01:23.000Z
from django.http.response import HttpResponse from django.shortcuts import render from django.shortcuts import redirect, render from cryptography.fernet import Fernet from .models import Book, UserDetails from .models import Contact from .models import Book from .models import Report from .models import Diagnostic from...
33.565476
124
0.567477
589
5,639
5.431239
0.183362
0.085964
0.109409
0.047515
0.417318
0.333542
0.281963
0.25758
0.25758
0.25758
0
0.005339
0.302536
5,639
168
125
33.565476
0.808035
0.109949
0
0.357143
0
0
0.09916
0
0
0
0
0
0
1
0.063492
false
0.103175
0.079365
0.015873
0.269841
0.007937
0
0
0
null
0
0
0
0
0
0
0
0
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
54e0e5e26d187af365758e0bf02412dfcafdb712
1,028
py
Python
hkube_python_wrapper/storage/base_storage_manager.py
kube-HPC/python-wrapper.hkube
74713d9fea6689c116ade7d67b7ab67373a79d3b
[ "MIT" ]
1
2021-03-20T06:18:57.000Z
2021-03-20T06:18:57.000Z
hkube_python_wrapper/storage/base_storage_manager.py
kube-HPC/python-wrapper.hkube
74713d9fea6689c116ade7d67b7ab67373a79d3b
[ "MIT" ]
10
2020-04-24T06:58:59.000Z
2022-03-30T14:42:55.000Z
hkube_python_wrapper/storage/base_storage_manager.py
kube-HPC/python-wrapper.hkube
74713d9fea6689c116ade7d67b7ab67373a79d3b
[ "MIT" ]
null
null
null
class BaseStorageManager(object): def __init__(self, adpter): self.adapter = adpter def put(self, options): try: return self.adapter.put(options) except Exception: raise Exception('Failed to write data to storage') def get(self, options): try: ...
27.783784
72
0.59144
112
1,028
5.392857
0.258929
0.109272
0.115894
0.182119
0.445364
0.445364
0.291391
0
0
0
0
0
0.327821
1,028
36
73
28.555556
0.874096
0
0
0.310345
0
0
0.148004
0
0
0
0
0
0
1
0.206897
false
0
0
0
0.37931
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
1
0
0
0
0
0
0
0
2
54e0ed7eefaaeac2cfcbec8d464ffc806c518afa
9,892
py
Python
compressor/tests/templatetags.py
bigmlcom/django_compressor
66dfda503633018275fdb64ad46ef80dc9a3901d
[ "Apache-2.0" ]
null
null
null
compressor/tests/templatetags.py
bigmlcom/django_compressor
66dfda503633018275fdb64ad46ef80dc9a3901d
[ "Apache-2.0" ]
null
null
null
compressor/tests/templatetags.py
bigmlcom/django_compressor
66dfda503633018275fdb64ad46ef80dc9a3901d
[ "Apache-2.0" ]
null
null
null
from __future__ import with_statement import os import sys from mock import Mock from django.template import Template, Context, TemplateSyntaxError from django.test import TestCase from compressor.conf import settings from compressor.signals import post_compress from compressor.tests.base import css_tag, test_dir ...
41.563025
107
0.616761
1,119
9,892
5.322609
0.138517
0.042982
0.044661
0.056414
0.708193
0.683848
0.663533
0.651612
0.622901
0.603425
0
0.011936
0.237768
9,892
237
108
41.738397
0.777984
0.021229
0
0.530928
0
0.046392
0.434097
0.120295
0
0
0
0
0.082474
1
0.118557
false
0.005155
0.046392
0
0.190722
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
54e0f7ad3e850fa6d21aab5200a2493a26332352
3,324
py
Python
cle/cle/backends/relocations/generic.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
cle/cle/backends/relocations/generic.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
cle/cle/backends/relocations/generic.py
Ruide/angr-dev
964dc80c758e25c698c2cbcc454ef5954c5fa0a0
[ "BSD-2-Clause" ]
null
null
null
from ...address_translator import AT from ...errors import CLEOperationError from . import Relocation import struct import logging l = logging.getLogger('cle.relocations.generic') class GenericAbsoluteReloc(Relocation): @property def value(self): return self.resolvedby.rebased_addr class GenericAbsol...
36.130435
117
0.666968
410
3,324
5.256098
0.331707
0.037123
0.050116
0.07239
0.472854
0.411601
0.296984
0.233411
0.210209
0.210209
0
0.014412
0.248496
3,324
91
118
36.527473
0.848279
0.134176
0
0.382353
0
0
0.05007
0.008053
0
0
0
0
0.014706
1
0.132353
false
0.058824
0.073529
0.073529
0.544118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
54e179a25d793c478f7e42c99a00025d13aed6d0
1,438
py
Python
codes/Lib/site-packages/openpyxl/writer/tests/test_style.py
charlescayno/automation
a4a34d87f372d49fd69740ad3ca46ae19bf2612d
[ "MIT" ]
null
null
null
codes/Lib/site-packages/openpyxl/writer/tests/test_style.py
charlescayno/automation
a4a34d87f372d49fd69740ad3ca46ae19bf2612d
[ "MIT" ]
null
null
null
codes/Lib/site-packages/openpyxl/writer/tests/test_style.py
charlescayno/automation
a4a34d87f372d49fd69740ad3ca46ae19bf2612d
[ "MIT" ]
null
null
null
# Copyright (c) 2010-2014 openpyxl import pytest from openpyxl.styles.borders import Border, Side from openpyxl.styles.fills import GradientFill from openpyxl.styles.colors import Color from openpyxl.writer.styles import StyleWriter from openpyxl.tests.helper import get_xml, compare_xml class DummyWorkbook: st...
25.678571
78
0.684284
173
1,438
5.566474
0.364162
0.062305
0.056075
0.074766
0.413292
0.328141
0.328141
0.328141
0.328141
0.328141
0
0.025274
0.174548
1,438
55
79
26.145455
0.786015
0.022253
0
0.4
0
0
0.36396
0
0
0
0
0
0.044444
1
0.044444
false
0
0.133333
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
54e1fce9e0db363710daf71e66104aba025bc831
477
py
Python
ringapp/migrations/0009_auto_20150116_1759.py
rschwiebert/RingApp
35675b3dd81728d71b7dc70071be3185d7f99bf4
[ "MIT" ]
10
2015-02-02T12:40:05.000Z
2022-01-29T14:11:03.000Z
ringapp/migrations/0009_auto_20150116_1759.py
rschwiebert/RingApp
35675b3dd81728d71b7dc70071be3185d7f99bf4
[ "MIT" ]
22
2015-01-07T21:29:24.000Z
2022-03-19T01:15:13.000Z
ringapp/migrations/0009_auto_20150116_1759.py
rschwiebert/RingApp
35675b3dd81728d71b7dc70071be3185d7f99bf4
[ "MIT" ]
1
2016-08-07T15:41:51.000Z
2016-08-07T15:41:51.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('ringapp', '0008_auto_20150116_1755'), ] operations = [ migrations.AlterModelTable( name='invariance', ...
20.73913
47
0.589099
38
477
7.157895
0.736842
0.183824
0.213235
0
0
0
0
0
0
0
0
0.050898
0.29979
477
22
48
21.681818
0.763473
0.044025
0
0.25
0
0
0.171806
0.050661
0
0
0
0
0
1
0
false
0
0.125
0
0.3125
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
54e218f734c2d85cbff6df8c45d35331a499ae96
654
py
Python
front-end/testsuite-python-lib/Python-3.1/Lib/json/tests/test_dump.py
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2020-11-26T18:53:46.000Z
2020-11-26T18:53:46.000Z
Lib/json/tests/test_dump.py
orestis/python
870a82aac7788ffa105e2a3e4480b3715c93bff6
[ "PSF-2.0" ]
null
null
null
Lib/json/tests/test_dump.py
orestis/python
870a82aac7788ffa105e2a3e4480b3715c93bff6
[ "PSF-2.0" ]
2
2018-08-06T04:37:38.000Z
2022-02-27T18:07:12.000Z
from unittest import TestCase from io import StringIO import json class TestDump(TestCase): def test_dump(self): sio = StringIO() json.dump({}, sio) self.assertEquals(sio.getvalue(), '{}') def test_dumps(self): self.assertEquals(json.dumps({}), '{}') def test_encode_truef...
29.727273
69
0.547401
81
654
4.345679
0.37037
0.181818
0.170455
0.213068
0.318182
0.034091
0
0
0
0
0
0.034115
0.282875
654
21
70
31.142857
0.716418
0
0
0.117647
0
0.058824
0.117737
0
0
0
0
0
0.235294
1
0.176471
false
0
0.176471
0
0.411765
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
54e3b8446107d9bccd2d0bc314395d7a3117387b
7,069
py
Python
src/resources/clients/python_client/visitstate.py
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
226
2018-12-29T01:13:49.000Z
2022-03-30T19:16:31.000Z
src/resources/clients/python_client/visitstate.py
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
5,100
2019-01-14T18:19:25.000Z
2022-03-31T23:08:36.000Z
src/resources/clients/python_client/visitstate.py
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
84
2019-01-24T17:41:50.000Z
2022-03-10T10:01:46.000Z
import sys class RPCType(object): CloseRPC = 0 DetachRPC = 1 AddWindowRPC = 2 DeleteWindowRPC = 3 SetWindowLayoutRPC = 4 SetActiveWindowRPC = 5 ClearWindowRPC = 6 ClearAllWindowsRPC = 7 OpenDatabaseRPC = 8 CloseDatabaseRPC = 9 Acti...
34.651961
54
0.660914
403
7,069
11.593052
1
0
0
0
0
0
0
0
0
0
0
0.100328
0.310511
7,069
203
55
34.82266
0.858227
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.014925
0
1.00995
0
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
1
0
0
2
54e459da47af69f9dc842497504519a50554986e
774
py
Python
tests/__init__.py
zhangyiming07/QT4C
2d8d60efe0a4ad78a2618c5beeb0c456a63da067
[ "BSD-3-Clause" ]
53
2020-02-20T06:56:03.000Z
2022-03-03T03:09:25.000Z
tests/__init__.py
zhangyiming07/QT4C
2d8d60efe0a4ad78a2618c5beeb0c456a63da067
[ "BSD-3-Clause" ]
6
2020-03-03T03:15:53.000Z
2021-01-29T02:24:06.000Z
tests/__init__.py
zhangyiming07/QT4C
2d8d60efe0a4ad78a2618c5beeb0c456a63da067
[ "BSD-3-Clause" ]
17
2020-02-26T03:51:41.000Z
2022-03-24T02:23:51.000Z
# -*- coding: utf-8 -*- # # Tencent is pleased to support the open source community by making QT4C available. # Copyright (C) 2020 THL A29 Limited, a Tencent company. All rights reserved. # QT4C is licensed under the BSD 3-Clause License, except for the third-party components listed below. # A copy of the BSD 3-Cla...
28.666667
103
0.719638
114
774
4.745614
0.692982
0.038817
0.025878
0.048059
0.073937
0
0
0
0
0
0
0.021472
0.157623
774
26
104
29.769231
0.808282
0.453488
0
0
0
0
0.046341
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0