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
c1b57c773021bffef1ff6103bd65ae45d1276d2b
2,694
py
Python
reporting.py
LuRsT/google_analytics_api_playground
0ad23134f23727f3412ae7cfcbb2b77857580c36
[ "Unlicense" ]
null
null
null
reporting.py
LuRsT/google_analytics_api_playground
0ad23134f23727f3412ae7cfcbb2b77857580c36
[ "Unlicense" ]
null
null
null
reporting.py
LuRsT/google_analytics_api_playground
0ad23134f23727f3412ae7cfcbb2b77857580c36
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from itertools import chain import argparse import sys from apiclient.errors import HttpError from oauth2client.client import AccessTokenRefreshError from utils import get_flags from utils import get_service from utils import create_dat_file _APP_NAME = 'analytics' _APP_SCO...
23.631579
76
0.587973
306
2,694
4.918301
0.444444
0.023256
0.0299
0.02392
0
0
0
0
0
0
0
0.012821
0.305122
2,694
113
77
23.840708
0.791132
0.024499
0
0.067416
0
0
0.184
0.011429
0
0
0
0
0
0
null
null
0
0.089888
null
null
0.067416
0
0
0
null
0
0
0
0
0
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
c1bf050ba0249611c83e01851fc485504909f163
751
py
Python
Count_Params_MACs.py
YiyongHuang/CSA-SR
522e946df50b52d9d560e255c8ca4abf1a89501f
[ "MIT" ]
6
2020-12-02T14:13:21.000Z
2021-05-18T07:22:27.000Z
Count_Params_MACs.py
YiyongHuang/CSA-SR
522e946df50b52d9d560e255c8ca4abf1a89501f
[ "MIT" ]
2
2020-12-02T14:20:27.000Z
2021-05-17T07:18:42.000Z
Count_Params_MACs.py
YiyongHuang/CSA-SR
522e946df50b52d9d560e255c8ca4abf1a89501f
[ "MIT" ]
null
null
null
import torch from torch import nn from thop import profile import numpy as np from SLSTM import * from SGRU_RCN_reconstruct_sem import * def print_network(net): num_params = 0 for param in net.parameters(): num_params += param.numel() print(net) print('Total number of parameters: %d' % num_para...
26.821429
65
0.715047
117
751
4.444444
0.512821
0.051923
0.05
0
0
0
0
0
0
0
0
0.07815
0.165113
751
28
66
26.821429
0.751196
0.296937
0
0
0
0
0.057471
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.368421
0.263158
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c1c3d0f18bf147b2f0cc01c775eeddaa721f7978
1,354
py
Python
pyflowline/algorithms/simplification/remove_small_river.py
changliao1025/pyflowline
fb8677c5ebb3d0db8638f7fcc495ffb97376e00f
[ "Unlicense" ]
4
2022-03-23T12:10:20.000Z
2022-03-29T13:41:16.000Z
pyflowline/algorithms/simplification/remove_small_river.py
changliao1025/pyflowline
fb8677c5ebb3d0db8638f7fcc495ffb97376e00f
[ "Unlicense" ]
1
2022-03-24T16:08:35.000Z
2022-03-24T16:08:35.000Z
pyflowline/algorithms/simplification/remove_small_river.py
changliao1025/pyflowline
fb8677c5ebb3d0db8638f7fcc495ffb97376e00f
[ "Unlicense" ]
null
null
null
from pyflowline.algorithms.auxiliary.check_head_water import check_head_water def remove_small_river(aFlowline_in, dThreshold_in): nFlowline = len(aFlowline_in) aFlowline_out=list() if nFlowline == 1: aFlowline_out.append(aFlowline_in[0]) else: lID = 0 for i in ra...
36.594595
77
0.488183
123
1,354
5.130081
0.325203
0.114105
0.114105
0.128368
0.259905
0.259905
0.259905
0.259905
0.259905
0.259905
0
0.010884
0.457164
1,354
37
78
36.594595
0.847619
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.029412
false
0.117647
0.029412
0
0.088235
0
0
0
0
null
0
0
0
0
0
0
0
0
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
c1cd86f8b7d979d0c3617d9e0732dc03f5c4a4e7
10,550
py
Python
varats/varats/plots/blame_verifier_report_plots.py
ajrox090/VaRA-Tool-Suite
1550d36a4049e0615afb0bacfb96b1d506a29c98
[ "BSD-2-Clause" ]
null
null
null
varats/varats/plots/blame_verifier_report_plots.py
ajrox090/VaRA-Tool-Suite
1550d36a4049e0615afb0bacfb96b1d506a29c98
[ "BSD-2-Clause" ]
null
null
null
varats/varats/plots/blame_verifier_report_plots.py
ajrox090/VaRA-Tool-Suite
1550d36a4049e0615afb0bacfb96b1d506a29c98
[ "BSD-2-Clause" ]
null
null
null
"""Generate plots for the annotations of the blame verifier.""" import abc import logging import typing as tp import matplotlib.pyplot as plt import matplotlib.ticker as mtick import numpy as np import pandas as pd from matplotlib import style from sklearn import preprocessing import varats.paper_mgmt.paper_config as...
31.586826
80
0.645403
1,324
10,550
4.818731
0.191088
0.047022
0.039498
0.018966
0.455329
0.365987
0.324608
0.286834
0.26395
0.226332
0
0.01085
0.24872
10,550
333
81
31.681682
0.794095
0.056209
0
0.26087
1
0
0.136332
0.035192
0
0
0
0
0
1
0.055336
false
0.003953
0.063241
0.003953
0.166008
0
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
c1db8876eee00a45811ba71c4cee12a973d71866
2,624
py
Python
SeleniumTest/Main/Pages/pgLogin.py
NayakwadiS/Selenium_Python_UnitTest_HTML
dceb17ccfa2a7da4659a9820333330145d648772
[ "MIT" ]
2
2022-01-06T04:58:22.000Z
2022-02-09T07:21:17.000Z
SeleniumTest/Main/Pages/pgLogin.py
NayakwadiS/Selenium_Python_UnitTest_HTML
dceb17ccfa2a7da4659a9820333330145d648772
[ "MIT" ]
null
null
null
SeleniumTest/Main/Pages/pgLogin.py
NayakwadiS/Selenium_Python_UnitTest_HTML
dceb17ccfa2a7da4659a9820333330145d648772
[ "MIT" ]
4
2020-08-20T05:33:54.000Z
2022-01-14T14:13:27.000Z
from seleniumpagefactory.Pagefactory import PageFactory from Main.Utility.xmlReader import XmlReader from Main.Utility import * class Login(PageFactory): #BasePage def __init__(self,driver,logger): self.driver =driver #BasePage.__init__(self) self.logger=logger self.use...
40.369231
111
0.662348
296
2,624
5.699324
0.256757
0.065205
0.094843
0.118554
0.567872
0.54179
0.461766
0.461766
0.461766
0.461766
0
0
0.201982
2,624
65
112
40.369231
0.805635
0.150915
0
0.4
0
0
0.280612
0.023191
0
0
0
0
0.25
1
0.1
false
0.35
0.075
0
0.225
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c1ddc2c91daa0935bf571474aeb62fd794493d1b
871
py
Python
05_algoritmos-y-poo-python/modulo_I/complementos/03-funciones-decoradoras.py
Aibique-Forks/articicial-inteligence-and-data-science
fbdc866e4e46060cbde5b887806bdfeac645838e
[ "MIT" ]
30
2020-06-19T16:21:04.000Z
2022-02-19T01:48:39.000Z
05_algoritmos-y-poo-python/modulo_I/complementos/03-funciones-decoradoras.py
Aibique-Forks/articicial-inteligence-and-data-science
fbdc866e4e46060cbde5b887806bdfeac645838e
[ "MIT" ]
87
2021-02-12T04:42:13.000Z
2021-09-20T04:25:29.000Z
05_algoritmos-y-poo-python/modulo_I/complementos/03-funciones-decoradoras.py
Aibique-Forks/articicial-inteligence-and-data-science
fbdc866e4e46060cbde5b887806bdfeac645838e
[ "MIT" ]
11
2020-08-13T04:04:01.000Z
2022-01-20T20:10:43.000Z
""" Tema: Funciones decoradoras. Curso: Curso de python, video 74. Plataforma: Youtube. Profesor: Juan diaz - Pildoras informaticas. Alumno: @edinsonrequena. """ def funcion_decoradora(funcion_como_parametro): def funcion_interior(*args, **kwargs): print('Codigo que se ejecutara antes de llamar a la fu...
20.738095
81
0.718714
118
871
5.152542
0.474576
0.078947
0.098684
0.069079
0.335526
0.335526
0.335526
0.134868
0
0
0
0.038674
0.168772
871
42
82
20.738095
0.801105
0.17566
0
0.166667
0
0
0.188999
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.388889
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c1df06d1e8d7613574361338120d460246a2afec
1,003
py
Python
coverage2GHChecksAnnotations/reportCoverage.py
KOLANICH-libs/coverage2GHChecksAnnotations.py
46a174253b5cbf5ce1ad2139e63fd2717a6b3621
[ "Unlicense" ]
null
null
null
coverage2GHChecksAnnotations/reportCoverage.py
KOLANICH-libs/coverage2GHChecksAnnotations.py
46a174253b5cbf5ce1ad2139e63fd2717a6b3621
[ "Unlicense" ]
null
null
null
coverage2GHChecksAnnotations/reportCoverage.py
KOLANICH-libs/coverage2GHChecksAnnotations.py
46a174253b5cbf5ce1ad2139e63fd2717a6b3621
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 import sys from pathlib import Path import coverage from . import generateGithubChecksAnnotations from miniGHAPI.GHActionsEnv import getGHEnv, getRepo from miniGHAPI.GitHubAPI import GHAPI def main(): env = getGHEnv() owner, repo = getRepo(env) if len(sys.argv) > 1: cov = coverage.Covera...
22.288889
83
0.704885
130
1,003
5.369231
0.453846
0.060172
0.034384
0.051576
0
0
0
0
0
0
0
0.009302
0.142572
1,003
44
84
22.795455
0.802326
0.020937
0
0
1
0
0.131498
0.028542
0
0
0
0
0
1
0.033333
false
0
0.2
0
0.233333
0.066667
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
c1dfeddc18ad98fd972b93c9220b87450d4663f5
6,994
py
Python
scripts/virtioforwarder_core_pinner.py
bluca/virtio-forwarder
cac604efcdc4cdfc8f458b41ada478c4025b52d9
[ "BSD-3-Clause" ]
23
2018-04-30T14:35:37.000Z
2021-12-08T01:27:13.000Z
scripts/virtioforwarder_core_pinner.py
bluca/virtio-forwarder
cac604efcdc4cdfc8f458b41ada478c4025b52d9
[ "BSD-3-Clause" ]
2
2018-12-03T17:53:01.000Z
2019-03-15T08:54:34.000Z
scripts/virtioforwarder_core_pinner.py
bluca/virtio-forwarder
cac604efcdc4cdfc8f458b41ada478c4025b52d9
[ "BSD-3-Clause" ]
16
2018-04-24T11:38:46.000Z
2021-08-16T07:56:50.000Z
#!/usr/bin/python2 # BSD LICENSE # # Copyright(c) 2016-2017 Netronome. # 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 source code must retain the above ...
38.640884
95
0.664427
864
6,994
5.22338
0.31713
0.023045
0.022601
0.014624
0.293375
0.233991
0.212276
0.150233
0.114336
0.114336
0
0.014914
0.233057
6,994
180
96
38.855556
0.826436
0.256792
0
0.303279
0
0.02459
0.113094
0.02192
0
0
0
0
0.008197
0
null
null
0.016393
0.057377
null
null
0.147541
0
0
0
null
0
0
0
0
0
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
c1e3cefffc5e0ae57413c9c65af084b23f193a04
9,724
py
Python
vgrocery/view/mainwindow1.py
ViniciusMadureira/ifsp-oop2-exercise001
c66727bfde82ee96b10b81a84f6b52bbcb62f68b
[ "CC0-1.0" ]
null
null
null
vgrocery/view/mainwindow1.py
ViniciusMadureira/ifsp-oop2-exercise001
c66727bfde82ee96b10b81a84f6b52bbcb62f68b
[ "CC0-1.0" ]
null
null
null
vgrocery/view/mainwindow1.py
ViniciusMadureira/ifsp-oop2-exercise001
c66727bfde82ee96b10b81a84f6b52bbcb62f68b
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'mainwindow1.ui' # # Created by: PyQt5 UI code generator 5.13.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): Ma...
53.428571
100
0.71956
1,078
9,724
6.302412
0.180891
0.102002
0.121431
0.046364
0.446718
0.367383
0.254342
0.170739
0.1466
0.109214
0
0.02915
0.167421
9,724
181
101
53.723757
0.81003
0.019025
0
0.144578
1
0
0.0812
0.002203
0
0
0
0
0
1
0.012048
false
0
0.018072
0
0.036145
0
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
c1e84a4e3b4ca1896ecc0b5e98d5017aef58696f
2,554
py
Python
pylayers/mobility/ban/dist.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
143
2015-01-09T07:50:20.000Z
2022-03-02T11:26:53.000Z
pylayers/mobility/ban/dist.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
148
2015-01-13T04:19:34.000Z
2022-03-11T23:48:25.000Z
pylayers/mobility/ban/dist.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
95
2015-05-01T13:22:42.000Z
2022-03-15T11:22:28.000Z
import numpy as np import scipy as sp import matplotlib.pyplot as plt import scipy.linalg as la def dist(A,B,C,D,alpha,beta): """ Parameters ---------- A B C D alpha beta Return ------ f g """ AC=C-A CD=D-C BA=A-B u0 = np.dot(AC,AC) u4 = ...
15.765432
114
0.536805
506
2,554
2.687747
0.219368
0.073529
0.046324
0.011765
0.344853
0.300735
0.281618
0.281618
0.281618
0.281618
0
0.12963
0.259984
2,554
161
115
15.863354
0.589947
0.093579
0
0.3625
0
0
0.015699
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c1e8dfc760df63ab5588e288d8207c713ab7f62c
526
py
Python
neighbour/admin.py
omarion3698/Neighbourhood
06ceea3dcc242c389627fbb625e834a900d0241d
[ "MIT" ]
null
null
null
neighbour/admin.py
omarion3698/Neighbourhood
06ceea3dcc242c389627fbb625e834a900d0241d
[ "MIT" ]
null
null
null
neighbour/admin.py
omarion3698/Neighbourhood
06ceea3dcc242c389627fbb625e834a900d0241d
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Neighbourhood, Healthservices, Notifications, Business, Health, Authorities, BlogPost, Profile class HealthAdmin(admin.ModelAdmin): filter_horizontal =['Healthservices'] # Register your models here. admin.site.register(Neighbourhood) admin.site.register(Health...
32.875
114
0.826996
60
526
7.233333
0.383333
0.165899
0.313364
0
0
0
0
0
0
0
0
0
0.072243
526
16
115
32.875
0.889344
0.04943
0
0
0
0
0.028056
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.333333
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
c1eeb83d79eebf144b8074207e46036254af29b9
960
py
Python
settings/Mondrian_settings.py
computer-solutions-gr/anonymity_loss_metrics
80d53a2b0b7995d35768ffa6116facd6fb601e27
[ "AFL-3.0" ]
null
null
null
settings/Mondrian_settings.py
computer-solutions-gr/anonymity_loss_metrics
80d53a2b0b7995d35768ffa6116facd6fb601e27
[ "AFL-3.0" ]
null
null
null
settings/Mondrian_settings.py
computer-solutions-gr/anonymity_loss_metrics
80d53a2b0b7995d35768ffa6116facd6fb601e27
[ "AFL-3.0" ]
null
null
null
""" Parameters for etl & mondrian """ Patient = { "resourceType" : "Patient", "QI": {"resourceType" : 0, "birthDate" : 1, "address" : 1, "gender" : 0, "ord_latitude" : 1, "ord_logitude" : 1, "version" : 0}, "CATEGORICAL": { "resourceType" : 1, "birthDate" : 0, "address" : 1, "gender" : 1, ...
24.615385
87
0.522917
79
960
6.303797
0.291139
0.140562
0.150602
0.251004
0.313253
0.313253
0
0
0
0
0
0.033755
0.259375
960
38
88
25.263158
0.666667
0.555208
0
0
0
0
0.408521
0
0
0
0
0
0
1
0
false
0
0
0
0
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
c1fe7488313f2059ecc532e23c44d381a251661b
29,228
py
Python
nodeconductor/structure/tests/test_project_group.py
p-p-m/nodeconductor
bc702302ef65c89793452f0fd6ca9a6bec79782f
[ "Apache-2.0" ]
null
null
null
nodeconductor/structure/tests/test_project_group.py
p-p-m/nodeconductor
bc702302ef65c89793452f0fd6ca9a6bec79782f
[ "Apache-2.0" ]
null
null
null
nodeconductor/structure/tests/test_project_group.py
p-p-m/nodeconductor
bc702302ef65c89793452f0fd6ca9a6bec79782f
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from itertools import chain from django.core.urlresolvers import reverse from django.test import TransactionTestCase from mock_django import mock_signal_receiver from rest_framework import status from rest_framework import test from nodeconductor.structure import signals from ...
46.173776
117
0.724134
3,423
29,228
5.832019
0.071867
0.084156
0.035165
0.056655
0.787607
0.729149
0.69193
0.647097
0.617793
0.565045
0
0.007763
0.184652
29,228
632
118
46.246835
0.829927
0.02087
0
0.479358
0
0
0.067103
0.015281
0
0
0
0.001582
0.15367
1
0.149083
false
0
0.025229
0.009174
0.199541
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
de02f2036099e8cf00191fac59e3fe192ffc7635
760
py
Python
mmtrack/models/utils/memory/memory_base.py
sunguanxiong/mmtracking
cb0b49dcfa45503105fed0ae91639ddf1a3f35ee
[ "Apache-2.0" ]
null
null
null
mmtrack/models/utils/memory/memory_base.py
sunguanxiong/mmtracking
cb0b49dcfa45503105fed0ae91639ddf1a3f35ee
[ "Apache-2.0" ]
null
null
null
mmtrack/models/utils/memory/memory_base.py
sunguanxiong/mmtracking
cb0b49dcfa45503105fed0ae91639ddf1a3f35ee
[ "Apache-2.0" ]
null
null
null
class BaseMemory(object): def __init__(self, max_num=20000, key_num=2000, sampling_policy='random', updating_policy='random', ): super(BaseMemory, self).__init__() self.max_num = max_num self.key_num = key_num self.s...
25.333333
46
0.576316
85
760
4.847059
0.352941
0.116505
0.053398
0.067961
0
0
0
0
0
0
0
0.02004
0.343421
760
29
47
26.206897
0.805611
0
0
0.166667
0
0
0.015789
0
0
0
0
0
0
1
0.25
false
0
0
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
1
0
0
0
0
0
0
0
1
a9aac189264ec8bac72f5ce757ba8d344abfae1c
2,294
py
Python
setup.py
jawahar273/practNLPTools-lite
c433708f43c99a9c2093f258790918a223ede8b0
[ "MIT" ]
29
2017-03-30T06:33:10.000Z
2021-11-14T17:18:22.000Z
setup.py
jawahar273/practNLPTools-lite
c433708f43c99a9c2093f258790918a223ede8b0
[ "MIT" ]
238
2017-04-20T19:33:29.000Z
2021-06-11T00:38:15.000Z
setup.py
jawahar273/practNLPTools-lite
c433708f43c99a9c2093f258790918a223ede8b0
[ "MIT" ]
5
2017-04-04T05:10:54.000Z
2019-05-02T01:51:30.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" # from distutils.command.install import INSTALL_SCHEMES from setuptools import setup, find_packages with open("README.rst") as readme_file: readme = readme_file.read() with open("CHANGELOG.rst") as history_file: history = history_file.rea...
31.861111
94
0.680907
265
2,294
5.754717
0.535849
0.066885
0.095082
0.051148
0
0
0
0
0
0
0
0.014902
0.180907
2,294
71
95
32.309859
0.7967
0.171752
0
0
0
0
0.380417
0.05939
0
0
0
0.014085
0
1
0.020833
false
0
0.020833
0
0.0625
0
0
0
0
null
0
0
0
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
a9ab5ea87555e2a6ea192922de8af9ef39dceea0
9,422
py
Python
api/swagger_client/models/component_settings.py
wujood/AquaPi
6b81291eed2341f9757cbb75f5f9ad48c4c4e83a
[ "MIT" ]
1
2020-03-20T20:11:33.000Z
2020-03-20T20:11:33.000Z
api/swagger_client/models/component_settings.py
wujood/AquaPi
6b81291eed2341f9757cbb75f5f9ad48c4c4e83a
[ "MIT" ]
null
null
null
api/swagger_client/models/component_settings.py
wujood/AquaPi
6b81291eed2341f9757cbb75f5f9ad48c4c4e83a
[ "MIT" ]
null
null
null
# coding: utf-8 """ AquaPi Swagger API REST API for the AquaPi OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class ComponentSettings(object): """ NOTE: This class is auto...
26.245125
192
0.587349
883
9,422
6.187995
0.133635
0.043924
0.168375
0.053075
0.364202
0.107247
0.081625
0.027086
0.013909
0.013909
0
0.001108
0.329548
9,422
358
193
26.318436
0.863859
0.310125
0
0.08
1
0
0.085579
0
0
0
0
0
0
1
0.173333
false
0
0.02
0
0.32
0.006667
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
a9ae102149b8bcf31fe1d7c57dff1f242f89aae1
2,684
py
Python
torchlife/models/cox.py
sachinruk/torchlife2
fc5217a9f48ff22f7c26126fa9a473f63c328bc0
[ "Apache-2.0" ]
10
2019-10-21T01:19:18.000Z
2022-03-26T17:03:07.000Z
torchlife/models/cox.py
sachinruk/torchlife2
fc5217a9f48ff22f7c26126fa9a473f63c328bc0
[ "Apache-2.0" ]
4
2020-11-30T04:53:30.000Z
2022-02-26T06:18:42.000Z
torchlife/models/cox.py
sachinruk/torchlife2
fc5217a9f48ff22f7c26126fa9a473f63c328bc0
[ "Apache-2.0" ]
1
2021-06-23T15:24:03.000Z
2021-06-23T15:24:03.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: 59_hazard.Cox.ipynb (unless otherwise specified). __all__ = ['ProportionalHazard'] # Cell import matplotlib.pyplot as plt import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from sklearn.preprocessing import MaxAbsScaler, StandardScaler fr...
33.135802
93
0.602459
367
2,684
4.288828
0.384196
0.022236
0.022872
0.015248
0.045743
0.045743
0.045743
0.045743
0.045743
0
0
0.00774
0.277943
2,684
81
94
33.135802
0.804438
0.204545
0
0
1
0
0.020067
0
0
0
0
0
0
1
0.08
false
0
0.16
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a9c2f266356d30e7c3d6af20a204055b16e8011f
1,189
py
Python
src/cutting_plane.py
mocurin/dt-lab-03
575a547ac349fc1dce020ab4964025f90f199644
[ "MIT" ]
null
null
null
src/cutting_plane.py
mocurin/dt-lab-03
575a547ac349fc1dce020ab4964025f90f199644
[ "MIT" ]
null
null
null
src/cutting_plane.py
mocurin/dt-lab-03
575a547ac349fc1dce020ab4964025f90f199644
[ "MIT" ]
null
null
null
import numpy as np from dataclasses import dataclass, field from simplexlib.src.table import Table, Simplex, V @dataclass class CuttingPlaneResult: history: list = field(default_factory=list) solved: bool = False @property def result(self): return self.history and self.history[-1] def has...
26.422222
88
0.650967
142
1,189
5.373239
0.422535
0.131062
0.076016
0
0
0
0
0
0
0
0
0.008949
0.248108
1,189
44
89
27.022727
0.844519
0
0
0.066667
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.1
0.066667
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
a9c4ce912bd3b83ee287aaf3a2ef264a68ad9119
1,473
py
Python
setup.py
TengGao/pandasxlframer
7a4c0cff8dd0e8830fc0165333746ae0c0261176
[ "MIT" ]
null
null
null
setup.py
TengGao/pandasxlframer
7a4c0cff8dd0e8830fc0165333746ae0c0261176
[ "MIT" ]
null
null
null
setup.py
TengGao/pandasxlframer
7a4c0cff8dd0e8830fc0165333746ae0c0261176
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages with open("README.md", encoding="utf-8") as f: readme = f.read() setup( name="PandasXlFramer", version="0.11", description="PandasXlFramer", long_description=readme, long_description_content_type="text/markdown", url="https://github.com/TengGao/p...
37.769231
99
0.634759
157
1,473
5.866242
0.573248
0.123779
0.162866
0.169381
0.114007
0
0
0
0
0
0
0.014431
0.200272
1,473
39
100
37.769231
0.767402
0
0
0
0
0
0.528494
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
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
a9cc4b7ea31c5b489229829df1c192a83a1dff20
1,277
py
Python
test_utils.py
brianhhu/micronet
eb85dfe296d6411fd1f21086b2ea3d8fd56f3da7
[ "MIT" ]
null
null
null
test_utils.py
brianhhu/micronet
eb85dfe296d6411fd1f21086b2ea3d8fd56f3da7
[ "MIT" ]
null
null
null
test_utils.py
brianhhu/micronet
eb85dfe296d6411fd1f21086b2ea3d8fd56f3da7
[ "MIT" ]
null
null
null
# This module cannot import any other PyTorch/XLA module. Only Python core modules. import argparse import sys def parse_common_options(datadir=None, num_cores=None, batch_size=128, num_epochs=10, num_workers=4, ...
41.193548
83
0.635082
158
1,277
4.93038
0.392405
0.115533
0.218229
0.077022
0
0
0
0
0
0
0
0.009365
0.247455
1,277
30
84
42.566667
0.801249
0.06343
0
0
0
0
0.089615
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.148148
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
a9cdd41ec3be2dab9df62d1c53dd782fdc718998
423
py
Python
backend/trun/user/migrations/0003_auto_20200411_1528.py
fernandoarrj/trun
f4f29deb6b951dcece79073b5526edac2bddbefe
[ "MIT" ]
null
null
null
backend/trun/user/migrations/0003_auto_20200411_1528.py
fernandoarrj/trun
f4f29deb6b951dcece79073b5526edac2bddbefe
[ "MIT" ]
null
null
null
backend/trun/user/migrations/0003_auto_20200411_1528.py
fernandoarrj/trun
f4f29deb6b951dcece79073b5526edac2bddbefe
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-11 15:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('user', '0002_usertoken'), ] operations = [ migrations.AlterField( model_name='usertoken', name='key', fi...
22.263158
99
0.612293
47
423
5.425532
0.808511
0
0
0
0
0
0
0
0
0
0
0.071197
0.269504
423
18
100
23.5
0.754045
0.106383
0
0
1
0
0.079787
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a9d7e7bd0a557fbd5b0e2f556923300e7e25609c
721
py
Python
snowViz/pyScripts/cleanSnowData.py
mdviz/mdviz.github.io
6265923f5cf3f417f02226e95b0ffcb10aa2edfe
[ "Apache-2.0" ]
null
null
null
snowViz/pyScripts/cleanSnowData.py
mdviz/mdviz.github.io
6265923f5cf3f417f02226e95b0ffcb10aa2edfe
[ "Apache-2.0" ]
null
null
null
snowViz/pyScripts/cleanSnowData.py
mdviz/mdviz.github.io
6265923f5cf3f417f02226e95b0ffcb10aa2edfe
[ "Apache-2.0" ]
null
null
null
__author__ = 'mdowd' path = r"/Users/mdowd/Programming/mdviz/snowViz/snow.txt" outpath = r"/Users/mdowd/Programming/mdviz/snowViz" out_file = open( outpath +'/'+ "cleanSnow.csv", 'w') import random with open(path, "r") as f: lines = f.readlines() runMe = 0 out_file.write("lat,lng,val\n") for index, line in enum...
24.033333
77
0.581137
92
721
4.467391
0.619565
0.068127
0.053528
0.107056
0.16545
0.16545
0
0
0
0
0
0.01845
0.248266
721
29
78
24.862069
0.739852
0
0
0
0
0
0.174757
0.117892
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a9d92ef1619a58eccc3ad3fe15618a544d211983
484
py
Python
src/roulette/slackbot/migrations/0008_auto_20200512_1521.py
krakeusz/coffee-roulette
835b2dbed42224671c6590587a803160b0e83186
[ "Apache-2.0" ]
null
null
null
src/roulette/slackbot/migrations/0008_auto_20200512_1521.py
krakeusz/coffee-roulette
835b2dbed42224671c6590587a803160b0e83186
[ "Apache-2.0" ]
3
2020-06-21T19:35:36.000Z
2021-06-10T18:22:56.000Z
src/roulette/slackbot/migrations/0008_auto_20200512_1521.py
krakeusz/coffee-roulette
835b2dbed42224671c6590587a803160b0e83186
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.3 on 2020-05-12 13:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('slackbot', '0007_slackroulette_channel_id'), ] operations = [ migrations.AlterField( model_name='slackadminuser', na...
24.2
90
0.628099
53
484
5.584906
0.811321
0
0
0
0
0
0
0
0
0
0
0.058659
0.260331
484
19
91
25.473684
0.768156
0.092975
0
0
1
0
0.180778
0.066362
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a9dae3a4242307cb01dcc843364decfa0e5080ae
1,266
py
Python
addons/Sprytile-6b68d00/rx/joins/activeplan.py
trisadmeslek/V-Sekai-Blender-tools
0d8747387c58584b50c69c61ba50a881319114f8
[ "MIT" ]
733
2017-08-22T09:47:54.000Z
2022-03-27T23:56:52.000Z
rx/joins/activeplan.py
asheraryam/Sprytile
c63be50d14b07192ff134ceab256f0d69b9c4c92
[ "MIT" ]
74
2017-08-16T09:13:05.000Z
2022-03-15T02:31:49.000Z
rx/joins/activeplan.py
asheraryam/Sprytile
c63be50d14b07192ff134ceab256f0d69b9c4c92
[ "MIT" ]
77
2017-09-14T16:56:11.000Z
2022-03-27T13:55:16.000Z
class ActivePlan(object): def __init__(self, join_observer_list, on_next, on_completed): self.join_observer_list = join_observer_list self.on_next = on_next self.on_completed = on_completed self.join_observers = {} for join_observer in self.join_observer_list: sel...
33.315789
66
0.57109
144
1,266
4.701389
0.243056
0.283604
0.141802
0.14771
0.200886
0.200886
0.163959
0.163959
0
0
0
0.003686
0.35703
1,266
37
67
34.216216
0.82801
0
0
0.09375
0
0
0.00079
0
0
0
0
0
0
1
0.09375
false
0
0
0
0.125
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
a9dd41ad407342bc171e2e2a5df8b93a4ddd3c96
8,626
py
Python
arjuna/configure/invoker/context.py
test-mile/arjuna
21880b41e061e11bac2e600a3614684f8af75b2f
[ "Apache-2.0" ]
9
2018-11-15T10:09:17.000Z
2021-01-12T05:59:19.000Z
arjuna/configure/invoker/context.py
test-mile/arjuna
21880b41e061e11bac2e600a3614684f8af75b2f
[ "Apache-2.0" ]
2
2019-07-01T15:33:46.000Z
2019-07-12T13:04:08.000Z
arjuna/configure/invoker/context.py
test-mile/arjuna
21880b41e061e11bac2e600a3614684f8af75b2f
[ "Apache-2.0" ]
4
2018-12-02T15:14:04.000Z
2020-05-28T12:57:24.000Z
from enum import Enum from arjuna.configure.impl.container import ConfigContainer from arjuna.tpi.enums import ArjunaOption, BrowserName class _ConfigBuilder: def __init__(self, test_session, config_map, conf_trace, code_mode): self.__code_mode = code_mode self.__test_session = test_session ...
37.021459
122
0.641781
1,012
8,626
5.045455
0.102767
0.052879
0.03819
0.049354
0.495691
0.395613
0.246377
0.181747
0.144536
0.10615
0
0
0.271273
8,626
232
123
37.181034
0.812281
0.174473
0
0.241379
0
0
0.028531
0
0
0
0
0
0
1
0.213793
false
0
0.027586
0.048276
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a9f0f9f2c59ca2d6963efd253bd6d8c16753a042
2,872
py
Python
proliantutils/redfish/main.py
openstack/deb-python-proliantutils
b9229a0ab3e7c7af0b9e59968a5c6c7fea53bd88
[ "Apache-2.0" ]
12
2016-09-14T21:59:39.000Z
2019-10-09T17:02:14.000Z
proliantutils/redfish/main.py
openstack/deb-python-proliantutils
b9229a0ab3e7c7af0b9e59968a5c6c7fea53bd88
[ "Apache-2.0" ]
null
null
null
proliantutils/redfish/main.py
openstack/deb-python-proliantutils
b9229a0ab3e7c7af0b9e59968a5c6c7fea53bd88
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Hewlett Packard Enterprise Development LP # # 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 applicabl...
37.789474
77
0.675487
328
2,872
5.753049
0.347561
0.059353
0.063593
0.069952
0.27663
0.27663
0.27663
0.154743
0.113408
0.113408
0
0.003777
0.262535
2,872
75
78
38.293333
0.887158
0.384053
0
0.133333
0
0
0.027256
0
0
0
0
0
0
1
0.2
false
0
0.2
0.066667
0.633333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
a9f4b706f0ff96717133f85a1dba09cad1e80f1b
4,346
py
Python
conductor/blueprints/datastore/controllers.py
openspending/os-conductor
5d2f5e5df57da8eda6e1ffd3614beb5e1aaad831
[ "MIT" ]
5
2016-03-02T15:07:56.000Z
2019-09-14T15:58:53.000Z
conductor/blueprints/datastore/controllers.py
openspending/os-conductor
5d2f5e5df57da8eda6e1ffd3614beb5e1aaad831
[ "MIT" ]
27
2015-12-10T07:51:38.000Z
2021-03-25T21:48:17.000Z
conductor/blueprints/datastore/controllers.py
openspending/os-conductor
5d2f5e5df57da8eda6e1ffd3614beb5e1aaad831
[ "MIT" ]
5
2016-06-17T09:51:30.000Z
2020-12-08T07:50:23.000Z
import json import os import boto from boto.s3.connection import OrdinaryCallingFormat try: from urllib.parse import urlparse, parse_qs except ImportError: from urlparse import urlparse, parse_qs # request imported here so it can be mocked in tests from flask import request, Response # noqa from ... import co...
33.430769
68
0.562126
481
4,346
4.910603
0.278586
0.03387
0.042337
0.035563
0.356478
0.294666
0.264183
0.169348
0.169348
0.169348
0
0.017981
0.334561
4,346
129
69
33.689922
0.798755
0.124942
0
0.173913
0
0
0.076168
0
0
0
0
0.015504
0
1
0.032609
false
0
0.108696
0
0.228261
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a9fdd073119e7f3d425bac136f0078bca06aa317
1,441
py
Python
2018/3.py
vla3089/adventofcode
0aefb5509e9f816f89eeab703393be7222632e02
[ "Apache-2.0" ]
null
null
null
2018/3.py
vla3089/adventofcode
0aefb5509e9f816f89eeab703393be7222632e02
[ "Apache-2.0" ]
null
null
null
2018/3.py
vla3089/adventofcode
0aefb5509e9f816f89eeab703393be7222632e02
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import collections fname = "input3.txt" with open(fname) as f: content = f.readlines() content = [line.strip() for line in content] # claim contract # #1 @ 432,394: 29x14 def parse_claim(claim): claim = claim[1:] claim_id, rest = claim.split('@', 1) left, rest = rest.split(',', ...
27.188679
68
0.628036
212
1,441
4.15566
0.287736
0.045403
0.034052
0.031782
0.267877
0.208854
0.133939
0.133939
0.133939
0.133939
0
0.020408
0.251908
1,441
52
69
27.711538
0.796846
0.037474
0
0.205128
0
0
0.010123
0
0
0
0
0
0
0
null
null
0
0.025641
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
e700e49021b8fe7abc7fdc1e4e765493cae65cfe
259
py
Python
python/bottle/hello_world.py
u1i/snippets
cc61b5ecaede1d1013df51c7b1b6ab10d927f95c
[ "MIT" ]
1
2018-06-24T15:40:40.000Z
2018-06-24T15:40:40.000Z
python/bottle/hello_world.py
u1i/snippets
cc61b5ecaede1d1013df51c7b1b6ab10d927f95c
[ "MIT" ]
null
null
null
python/bottle/hello_world.py
u1i/snippets
cc61b5ecaede1d1013df51c7b1b6ab10d927f95c
[ "MIT" ]
null
null
null
# A very simple Bottle Hello World app for you to get started with... from bottle import default_app, route, run @route('/') def hello_world(): return 'Hello from Bottle!' application = default_app() run(server='wsgiref', host="0.0.0.0", port=8080)
18.5
69
0.698842
41
259
4.341463
0.658537
0.033708
0.033708
0
0
0
0
0
0
0
0
0.037037
0.166023
259
13
70
19.923077
0.787037
0.258687
0
0
0
0
0.176471
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
e70372f8fe26152a69d5eee00ff1238ef19d8d03
650
py
Python
hackathon/urls.py
emeth-/the-foot-globalhack5
c2d999a75e53aaf7a20c0b34d7057bf2ea64f69e
[ "MIT" ]
null
null
null
hackathon/urls.py
emeth-/the-foot-globalhack5
c2d999a75e53aaf7a20c0b34d7057bf2ea64f69e
[ "MIT" ]
null
null
null
hackathon/urls.py
emeth-/the-foot-globalhack5
c2d999a75e53aaf7a20c0b34d7057bf2ea64f69e
[ "MIT" ]
null
null
null
from django.conf.urls import include, url from django.contrib import admin from django.conf import settings urlpatterns = [ # Examples: # url(r'^$', 'hackathon.views.home', name='home'), # url(r'^blog/', include('blog.urls')), url(r'^admin/', include(admin.site.urls)), url(r'^', include('api.urls'...
34.210526
100
0.721538
94
650
4.957447
0.542553
0.085837
0.090129
0.077253
0
0
0
0
0
0
0
0
0.124615
650
18
101
36.111111
0.818981
0.447692
0
0
0
0
0.045455
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e70b1df3ee73aa3d0725bb3919ed1da88773f5f8
458
py
Python
core/migrations/0019_questionresponse_correct.py
EthanMarrs/digit2
207569a3b7a61282a2d0bd5f354a837ad81ef55d
[ "BSD-2-Clause" ]
null
null
null
core/migrations/0019_questionresponse_correct.py
EthanMarrs/digit2
207569a3b7a61282a2d0bd5f354a837ad81ef55d
[ "BSD-2-Clause" ]
null
null
null
core/migrations/0019_questionresponse_correct.py
EthanMarrs/digit2
207569a3b7a61282a2d0bd5f354a837ad81ef55d
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-11-16 10:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0018_auto_20161116_0915'), ] operations = [ migrations.AddField( ...
21.809524
53
0.624454
48
458
5.770833
0.8125
0
0
0
0
0
0
0
0
0
0
0.094675
0.262009
458
20
54
22.9
0.724852
0.144105
0
0
1
0
0.128535
0.059126
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e711654902b4a8effc67f87fdee7504b4d2b92e2
644
py
Python
office365/onedrive/workbookWorksheet.py
nsmcan/Office365-REST-Python-Client
e5e00cc3604c1ed8cc629ef6b948887614ecb204
[ "MIT" ]
null
null
null
office365/onedrive/workbookWorksheet.py
nsmcan/Office365-REST-Python-Client
e5e00cc3604c1ed8cc629ef6b948887614ecb204
[ "MIT" ]
null
null
null
office365/onedrive/workbookWorksheet.py
nsmcan/Office365-REST-Python-Client
e5e00cc3604c1ed8cc629ef6b948887614ecb204
[ "MIT" ]
null
null
null
from office365.entity import Entity from office365.runtime.client_object_collection import ClientObjectCollection class WorkbookWorksheet(Entity): """ An Excel worksheet is a grid of cells. It can contain data, tables, charts, etc """ @property def name(self): """ The display name...
28
100
0.71118
69
644
6.463768
0.652174
0.058296
0
0
0
0
0
0
0
0
0
0.011742
0.206522
644
22
101
29.272727
0.861057
0.208075
0
0
0
0
0.008639
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e7125e949e2df483f9376cd59712a16d6048664d
838
py
Python
basic-data-types/lists.py
vcelis/hackerrank-python
bebb9901bcdd80eb1a7f80c8aaf91daedde65339
[ "MIT" ]
null
null
null
basic-data-types/lists.py
vcelis/hackerrank-python
bebb9901bcdd80eb1a7f80c8aaf91daedde65339
[ "MIT" ]
null
null
null
basic-data-types/lists.py
vcelis/hackerrank-python
bebb9901bcdd80eb1a7f80c8aaf91daedde65339
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Title : Lists Subdomain : Basic Data Types Author : Vincent Celis Created : 19 July 2018 https://www.hackerrank.com/challenges/python-lists/problem """ methods = { 'insert': lambda *args: args[0].insert(int(args[1]), int(args[2])), '...
27.032258
71
0.587112
113
838
4.274336
0.486726
0.144928
0.173913
0.186335
0
0
0
0
0
0
0
0.031915
0.214797
838
30
72
27.933333
0.702128
0.25895
0
0
0
0
0.073529
0
0
0
0
0
0
1
0
false
0
0
0
0
0.0625
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
e71381f1077c9450389d1384c265521fb5682e06
593
py
Python
XML/XML_to_python_objects__untagle__examples/from_url.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
117
2015-12-18T07:18:27.000Z
2022-03-28T00:25:54.000Z
XML/XML_to_python_objects__untagle__examples/from_url.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
8
2018-10-03T09:38:46.000Z
2021-12-13T19:51:09.000Z
XML/XML_to_python_objects__untagle__examples/from_url.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
28
2016-08-02T17:43:47.000Z
2022-03-21T08:31:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' # SOURCE: https://github.com/stchris/untangle # pip install untangle # OR: # pip install git+https://github.com/stchris/untangle.git import untangle obj = untangle.parse('https://news.yandex.ru/games.rss') channel = obj.rss.channel print(chann...
24.708333
76
0.713322
87
593
4.816092
0.528736
0.057279
0.066826
0.100239
0.243437
0
0
0
0
0
0
0.011494
0.11973
593
23
77
25.782609
0.791188
0.455312
0
0
0
0
0.127389
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e71dec6009de2904e6e57b60d030e0a0b4390d36
21,425
py
Python
Agents/MQTT.py
Nitin-Mane/HIAS
0478655097f86d04f6cefeb9e9d8407c0d521c49
[ "MIT" ]
null
null
null
Agents/MQTT.py
Nitin-Mane/HIAS
0478655097f86d04f6cefeb9e9d8407c0d521c49
[ "MIT" ]
null
null
null
Agents/MQTT.py
Nitin-Mane/HIAS
0478655097f86d04f6cefeb9e9d8407c0d521c49
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ###################################################################################################### # # Organization: Peter Moss Leukemia AI Research # Repository: HIAS: Hospital Intelligent Automation System # # Author: Adam Milton-Barker (AdamMiltonBarker.com) # # Title: i...
30.783046
114
0.665951
2,284
21,425
6.226357
0.136602
0.032487
0.031081
0.03101
0.705576
0.686309
0.654947
0.637227
0.618733
0.609732
0
0.004062
0.161214
21,425
695
115
30.827338
0.787268
0.109965
0
0.631048
0
0
0.200321
0
0
0
0
0
0
1
0.038306
false
0.004032
0.03629
0
0.104839
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
e7231e6577ef7e0901ba6482ebab8739215d9eda
11,011
py
Python
runtime/space/interface.py
cheery/lever
6fa8cd6afec440b32232f87236b0457fb8bfb8b1
[ "MIT" ]
136
2015-12-18T21:11:59.000Z
2022-02-21T19:47:36.000Z
runtime/space/interface.py
cheery/lever
6fa8cd6afec440b32232f87236b0457fb8bfb8b1
[ "MIT" ]
1
2021-05-07T11:17:02.000Z
2021-05-07T18:15:07.000Z
runtime/space/interface.py
cheery/lever
6fa8cd6afec440b32232f87236b0457fb8bfb8b1
[ "MIT" ]
13
2016-03-06T18:27:17.000Z
2020-06-18T14:27:32.000Z
import re from rpython.rlib.objectmodel import compute_hash, specialize, always_inline from rpython.rlib import jit, rgc import space, weakref class Object: _immutable_fields_ = ['interface', 'custom_interface', 'flag', 'number', 'value', 'contents', 'data', 'string', 'iterator', 'arity', 'methods', 'default', 'ce...
35.519355
167
0.628735
1,376
11,011
4.931686
0.22311
0.018862
0.028294
0.037135
0.21957
0.197907
0.116269
0.082375
0.028883
0
0
0.004061
0.262011
11,011
309
168
35.634304
0.831036
0.196258
0
0.248869
0
0
0.058389
0
0
0
0
0.003236
0.004525
1
0.20362
false
0.004525
0.031674
0.058824
0.452489
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e728af86a29ed357d75086fd8e37a7f561b2e357
7,742
py
Python
Ejercicio4/ejercicioV4.py
martinez022jose/POO-Python
c6c803b83d1d019d200e02b47c14ad23af5abfe8
[ "Apache-2.0" ]
1
2020-08-10T00:49:12.000Z
2020-08-10T00:49:12.000Z
Ejercicio4/ejercicioV4.py
martinez022jose/POO-Python
c6c803b83d1d019d200e02b47c14ad23af5abfe8
[ "Apache-2.0" ]
null
null
null
Ejercicio4/ejercicioV4.py
martinez022jose/POO-Python
c6c803b83d1d019d200e02b47c14ad23af5abfe8
[ "Apache-2.0" ]
null
null
null
import random class Persona(): def __init__(self,nombre,edad,carrera,monto,hijos,felicidadActual): self.__nombre = nombre self.__edad = edad self.__carrera = carrera self.__monto = monto self.__hijos = hijos self.__felicidadActual = felicidadActual self.__su...
30.722222
209
0.646345
715
7,742
6.702098
0.153846
0.070117
0.035058
0.032137
0.307387
0.229967
0.134182
0.134182
0.119574
0.119574
0
0.002644
0.267244
7,742
251
210
30.844622
0.842059
0
0
0.38191
0
0
0.052067
0
0
0
0
0
0
1
0.251256
false
0
0.015075
0.060302
0.437186
0.040201
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e72b44551f446396e4c51bafd2fe47919a9db6be
892
py
Python
yawn/worker/serializers.py
rsalmaso/yawn
5ede07f9015468481c941f8221cd70c99be6e895
[ "MIT" ]
28
2017-01-20T15:07:20.000Z
2022-02-18T17:25:38.000Z
yawn/worker/serializers.py
rsalmaso/yawn
5ede07f9015468481c941f8221cd70c99be6e895
[ "MIT" ]
83
2017-01-26T16:28:21.000Z
2022-03-08T23:48:04.000Z
yawn/worker/serializers.py
rsalmaso/yawn
5ede07f9015468481c941f8221cd70c99be6e895
[ "MIT" ]
5
2017-01-23T00:19:38.000Z
2020-05-12T15:36:59.000Z
from rest_framework import serializers from yawn.worker.models import Worker, Message, Queue class WorkerSerializer(serializers.ModelSerializer): class Meta: model = Worker fields = '__all__' class QueueSerializer(serializers.ModelSerializer): message_count = serializers.IntegerField(read_o...
27.030303
85
0.691704
93
892
6.419355
0.483871
0.130653
0.070352
0
0
0
0
0
0
0
0
0.001431
0.216368
892
32
86
27.875
0.852647
0
0
0.227273
0
0
0.065022
0
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e72c5c2fcc7fa1042bc69709c010b49db8aa430f
4,614
py
Python
group/urls.py
mgstigler/cs3240-s15-team19
f69bc3320b518e2f5da5e391d86ed3e1fdfed468
[ "MIT" ]
null
null
null
group/urls.py
mgstigler/cs3240-s15-team19
f69bc3320b518e2f5da5e391d86ed3e1fdfed468
[ "MIT" ]
4
2015-03-02T21:33:33.000Z
2015-03-28T20:48:22.000Z
group/urls.py
mgstigler/cs3240-s15-team19
f69bc3320b518e2f5da5e391d86ed3e1fdfed468
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, include, url from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.conf import settings from django.contrib import admin import secure_witness.views from secure_witness.views import saved urlpatterns = patterns('', #/admin/ url(r'^admin/', inc...
40.473684
113
0.648028
631
4,614
4.594295
0.139461
0.161435
0.223525
0.104864
0.201794
0.172818
0.09624
0.043463
0.027596
0
0
0.005544
0.140009
4,614
113
114
40.831858
0.72505
0.071088
0
0
0
0.014085
0.305634
0.162441
0
0
0
0
0
1
0
false
0
0.084507
0
0.084507
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
e7362b96b8660cb0c096120eb3a3d74d4a0cc4bd
617
py
Python
config/urls.py
bineetgh/examday
c9dc1e3268237dbfff60df91c257b514ef4e0227
[ "MIT" ]
null
null
null
config/urls.py
bineetgh/examday
c9dc1e3268237dbfff60df91c257b514ef4e0227
[ "MIT" ]
null
null
null
config/urls.py
bineetgh/examday
c9dc1e3268237dbfff60df91c257b514ef4e0227
[ "MIT" ]
null
null
null
from django.conf import settings from django.contrib import admin from django.urls import path, include from django.views.generic.base import TemplateView from django.conf.urls import include, url urlpatterns = [ path('admin/', admin.site.urls), path('accounts/', include('allauth.urls')), path('accounts/pr...
29.380952
69
0.701783
75
617
5.666667
0.413333
0.117647
0.065882
0
0
0
0
0
0
0
0
0
0.153971
617
20
70
30.85
0.814176
0
0
0.111111
0
0
0.158833
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e739eff48448c50dd84274b9f962ebcec0ac2781
7,280
py
Python
inference/PostEstimation_pb2.py
Unity-Technologies/drone-pose-estimation-navigation
676f67164abdb11547f6b1ff1d0e772afd02c7c9
[ "Apache-2.0" ]
2
2022-03-25T09:14:38.000Z
2022-03-30T13:31:10.000Z
inference/PostEstimation_pb2.py
Unity-Technologies/drone-pose-estimation-navigation
676f67164abdb11547f6b1ff1d0e772afd02c7c9
[ "Apache-2.0" ]
null
null
null
inference/PostEstimation_pb2.py
Unity-Technologies/drone-pose-estimation-navigation
676f67164abdb11547f6b1ff1d0e772afd02c7c9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: PostEstimation.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google....
37.142857
592
0.776099
800
7,280
6.73
0.18875
0.040119
0.052935
0.060178
0.482355
0.457095
0.442608
0.442608
0.43555
0.389859
0
0.027249
0.112775
7,280
195
593
37.333333
0.806317
0.056456
0
0.571429
1
0.005952
0.20916
0.16584
0
0
0
0
0
1
0
false
0
0.02381
0
0.02381
0
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
e73f6110e039cb94490d41debb6b67566d8b3812
2,807
py
Python
commerce/auctions/models.py
AlexGuidace/e-commerce-website
92696fffe84061db667c21dd9311e30eb70c5f30
[ "MIT" ]
null
null
null
commerce/auctions/models.py
AlexGuidace/e-commerce-website
92696fffe84061db667c21dd9311e30eb70c5f30
[ "MIT" ]
null
null
null
commerce/auctions/models.py
AlexGuidace/e-commerce-website
92696fffe84061db667c21dd9311e30eb70c5f30
[ "MIT" ]
null
null
null
# Our database tables. from django.contrib.auth.models import AbstractUser from django.db import models # Default primary key (ID) is provided by Django for each model created. # Each class variable is a column in our table. # A table for users that inherits from an abstract User class. class User(AbstractUser): ...
35.531646
121
0.719629
383
2,807
5.185379
0.302872
0.067976
0.081571
0.108761
0.389225
0.29708
0.29708
0.2714
0.229104
0.12286
0
0.012308
0.189526
2,807
79
122
35.531646
0.860659
0.419309
0
0.230769
0
0
0.017577
0
0
0
0
0
0
1
0
false
0.038462
0.076923
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e741ffb2bbc24c535c8dbb256d63f38ed41dfae7
3,725
py
Python
python/tests/global.py
mizuki-nana/coreVM
1ff863b890329265a86ff46b0fdf7bac8e362f0e
[ "MIT" ]
2
2017-02-12T21:59:54.000Z
2017-02-13T14:57:48.000Z
python/tests/global.py
mizuki-nana/coreVM
1ff863b890329265a86ff46b0fdf7bac8e362f0e
[ "MIT" ]
null
null
null
python/tests/global.py
mizuki-nana/coreVM
1ff863b890329265a86ff46b0fdf7bac8e362f0e
[ "MIT" ]
null
null
null
# The MIT License (MIT) # Copyright (c) 2015 Yanzheng Li # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify,...
25.868056
80
0.546577
427
3,725
4.533958
0.332553
0.099174
0.092975
0.055785
0.285124
0.223657
0.176136
0.086777
0.047521
0.047521
0
0.003629
0.186309
3,725
143
81
26.048951
0.635104
0.515436
0
0.289855
0
0
0.053258
0
0
0
0
0
0
0
null
null
0.028986
0
null
null
0.173913
0
0
0
null
0
0
0
0
0
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
e750c79601c8967cba3dde2781032c374fb91b52
878
py
Python
tests/test_find.py
whyfade/FadeMaxSize
1fc6be56d07e2a9a0db03f9ec78370b1d4576865
[ "MIT" ]
null
null
null
tests/test_find.py
whyfade/FadeMaxSize
1fc6be56d07e2a9a0db03f9ec78370b1d4576865
[ "MIT" ]
null
null
null
tests/test_find.py
whyfade/FadeMaxSize
1fc6be56d07e2a9a0db03f9ec78370b1d4576865
[ "MIT" ]
null
null
null
import unittest from os.path import join from FadeMaxSize.findMax import find_max_file class MaxTest(unittest.TestCase): def test_v1(self): self.assertEqual(find_max_file(join('tests', 'test_folder')), { 'file': join('tests', 'test_folder', 'Firefox_Installer.test'), 'size': ...
31.357143
89
0.591116
105
878
4.657143
0.4
0.09816
0.159509
0.208589
0.503067
0.456033
0.456033
0.392638
0.316973
0.316973
0
0.065868
0.23918
878
28
90
31.357143
0.666168
0
0
0.142857
0
0
0.242321
0.025028
0
0
0
0
0.142857
1
0.142857
false
0
0.142857
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e751bc751ba8974afe8668d4bde29dc1bbdcbe01
3,113
py
Python
plugins/teedoc-plugin-markdown-parser/teedoc_plugin_markdown_parser/renderer_old.py
tyhdefu/teedoc
4a4b4f29e4db73a1d03365ce68b7594917f13fc6
[ "MIT" ]
29
2021-02-05T10:00:45.000Z
2022-03-30T06:42:15.000Z
plugins/teedoc-plugin-markdown-parser/teedoc_plugin_markdown_parser/renderer_old.py
tyhdefu/teedoc
4a4b4f29e4db73a1d03365ce68b7594917f13fc6
[ "MIT" ]
13
2021-08-06T03:39:31.000Z
2022-03-29T10:39:53.000Z
plugins/teedoc-plugin-markdown-parser/teedoc_plugin_markdown_parser/renderer_old.py
tyhdefu/teedoc
4a4b4f29e4db73a1d03365ce68b7594917f13fc6
[ "MIT" ]
4
2021-02-23T08:31:35.000Z
2022-03-06T20:10:44.000Z
import mistune from mistune import InlineLexer, BlockLexer import re try: from .renderer_base import Block_Quote_Renderer, Header_Renderer from .renderer_math import MathInlineMixin, MathRendererMixin, MathBlockMixin except Exception: from renderer_base import Block_Quote_Renderer, Header_Renderer from ...
33.117021
100
0.628333
353
3,113
5.283286
0.300283
0.047185
0.029491
0.038606
0.327078
0.276676
0.217694
0.217694
0.217694
0.164075
0
0.006369
0.243495
3,113
93
101
33.473118
0.785563
0.093479
0
0.102941
0
0.029412
0.12362
0.043107
0
0
0
0.010753
0
1
0.117647
false
0
0.102941
0.014706
0.367647
0.014706
0
0
0
null
0
0
0
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
e756507e84be27bd519ba9b0d47b9713b2e3ee5a
753
py
Python
patchalerts/alerts/alert_class.py
silentdot/PatchAlerts
eee0ece48a39dcf16f6b4d6ea3335e56e1082d78
[ "MIT" ]
8
2019-07-08T05:59:50.000Z
2020-08-26T23:13:15.000Z
patchalerts/alerts/alert_class.py
silentdot/PatchAlerts
eee0ece48a39dcf16f6b4d6ea3335e56e1082d78
[ "MIT" ]
1
2020-05-27T21:10:54.000Z
2020-05-28T02:23:03.000Z
patchalerts/alerts/alert_class.py
silentdot/PatchAlerts
eee0ece48a39dcf16f6b4d6ea3335e56e1082d78
[ "MIT" ]
4
2018-11-20T07:30:25.000Z
2020-06-24T20:23:39.000Z
class Alert: def __init__(self, name): self.name = name self.enabled = False def load(self, values): for k, v in values.items(): if str(k).startswith('_') or k == 'name' or k not in vars(self): continue # !cover setattr(self, k, v) # self.__dict__.update(**values) def get_save_obj(self): ret =...
25.1
112
0.636122
121
753
3.85124
0.446281
0.06867
0.051502
0.030043
0
0
0
0
0
0
0
0
0.211155
753
29
113
25.965517
0.784512
0.189907
0
0
0
0
0.018333
0
0
0
0
0
0
1
0.238095
false
0
0
0
0.428571
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e75b004757c0b018f51b579cc8792e25312c8fdc
884
py
Python
drift/core/extensions/messagebus.py
dgnorth/drift
d4f52726dad1e8a1aa25d9295dd898c5514f729f
[ "MIT" ]
6
2016-09-24T13:40:12.000Z
2020-04-15T18:53:47.000Z
drift/core/extensions/messagebus.py
dgnorth/drift
d4f52726dad1e8a1aa25d9295dd898c5514f729f
[ "MIT" ]
4
2016-11-15T10:40:04.000Z
2020-11-26T09:48:37.000Z
drift/core/extensions/messagebus.py
dgnorth/drift
d4f52726dad1e8a1aa25d9295dd898c5514f729f
[ "MIT" ]
3
2016-10-31T09:48:02.000Z
2021-05-25T09:22:07.000Z
# -*- coding: utf-8 -*- """ Message bus - placeholder code until proper message broker is in place. """ from __future__ import absolute_import import logging log = logging.getLogger(__name__) class MessageBus(object): def __init__(self, app=None): self.app = None if app is not None: ...
23.891892
75
0.650452
106
884
5.169811
0.433962
0.082117
0.040146
0.094891
0
0
0
0
0
0
0
0.001481
0.236425
884
36
76
24.555556
0.81037
0.106335
0
0
0
0
0.025707
0
0
0
0
0
0
1
0.25
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e75ccb87f49d89149038a4dcf80cc48ff81a680b
420
py
Python
icekit_events/plugins/links/models.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
52
2016-09-13T03:50:58.000Z
2022-02-23T16:25:08.000Z
icekit_events/plugins/links/models.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
304
2016-08-11T14:17:30.000Z
2020-07-22T13:35:18.000Z
icekit_events/plugins/links/models.py
ic-labs/django-icekit
c507ea5b1864303732c53ad7c5800571fca5fa94
[ "MIT" ]
12
2016-09-21T18:46:35.000Z
2021-02-15T19:37:50.000Z
from django.db import models from icekit.plugins.links.abstract_models import AbstractLinkItem class EventLink(AbstractLinkItem): item = models.ForeignKey("icekit_events.EventBase", on_delete=models.CASCADE) include_even_when_finished = models.BooleanField( help_text="Show this link even when the eve...
28
81
0.740476
51
420
5.941176
0.72549
0.052805
0
0
0
0
0
0
0
0
0
0
0.185714
420
14
82
30
0.885965
0
0
0
0
0
0.192857
0.054762
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e761ec67fc9bfd8e20605e8ccf669668ebe04399
2,603
py
Python
firmwire/vendor/mtk/mtkdb/parse_mdb.py
j4s0n/FirmWire
d3a20e2429cb4827f538d1a16163afde8b45826b
[ "BSD-3-Clause" ]
null
null
null
firmwire/vendor/mtk/mtkdb/parse_mdb.py
j4s0n/FirmWire
d3a20e2429cb4827f538d1a16163afde8b45826b
[ "BSD-3-Clause" ]
null
null
null
firmwire/vendor/mtk/mtkdb/parse_mdb.py
j4s0n/FirmWire
d3a20e2429cb4827f538d1a16163afde8b45826b
[ "BSD-3-Clause" ]
null
null
null
## Copyright (c) 2022, Team FirmWire ## SPDX-License-Identifier: BSD-3-Clause import struct import lzma import logging log = logging.getLogger(__name__) def reads32(f): x = f.read(4) return struct.unpack("<i", x)[0] def read32(f): x = f.read(4) return struct.unpack("<I", x)[0] def read16(f): ...
27.114583
79
0.511333
308
2,603
4.292208
0.295455
0.068835
0.022693
0.02118
0.204992
0.152042
0.152042
0.08472
0.048412
0.048412
0
0.047647
0.354975
2,603
95
80
27.4
0.739726
0.067998
0
0.125
0
0
0.027307
0
0
0
0
0.010526
0.05
1
0.0625
false
0
0.0375
0
0.1625
0
0
0
0
null
0
0
0
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
e7661d6355adbad75114b47ac4cbae6d20612ffb
533
py
Python
example/urls.py
marknotfound/django-su
af989d8872a7add40eb1ec33a43a661f6429ea47
[ "MIT" ]
123
2015-01-06T00:38:04.000Z
2022-02-02T10:50:12.000Z
example/urls.py
marknotfound/django-su
af989d8872a7add40eb1ec33a43a661f6429ea47
[ "MIT" ]
42
2015-02-19T20:22:28.000Z
2022-03-30T14:11:21.000Z
example/urls.py
marknotfound/django-su
af989d8872a7add40eb1ec33a43a661f6429ea47
[ "MIT" ]
34
2015-06-15T22:24:00.000Z
2022-02-02T10:50:13.000Z
from django.conf import settings from django.conf.urls import include, url from django.views.generic import TemplateView from django.contrib import admin admin.autodiscover() urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^su/', include('django_su.urls')), url(r'^$', TemplateView.as_view(templa...
24.227273
65
0.714822
73
533
5.082192
0.424658
0.107817
0.075472
0.107817
0
0
0
0
0
0
0
0
0.153846
533
21
66
25.380952
0.822616
0
0
0
0
0
0.118199
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e767834ecc886c30cabfde47cb620894f96a3a9b
2,807
py
Python
src/matlab2cpp/mwhos.py
neilferg/matlab2cpp
aa26671fc73dad297c977511053b076e05bdd2df
[ "BSD-3-Clause" ]
28
2017-04-25T10:06:38.000Z
2022-02-09T07:25:34.000Z
src/matlab2cpp/mwhos.py
neilferg/matlab2cpp
aa26671fc73dad297c977511053b076e05bdd2df
[ "BSD-3-Clause" ]
null
null
null
src/matlab2cpp/mwhos.py
neilferg/matlab2cpp
aa26671fc73dad297c977511053b076e05bdd2df
[ "BSD-3-Clause" ]
5
2017-04-25T17:54:53.000Z
2022-03-21T20:15:15.000Z
code=r"""function whos_f() %Static variables %persistent l %cellFile counter %persistent m %cellFunc counter %persistent cellFile %persistent cellFunc %initialize counter k %if isempty(l) % l = 1; % m = 1; %end %Get info about caller, filename ST = dbstack(); ...
31.188889
93
0.479159
329
2,807
4.048632
0.370821
0.040541
0.036787
0.024775
0.171171
0.130631
0.12012
0.12012
0.12012
0.072072
0
0.009901
0.388315
2,807
89
94
31.539326
0.765871
0
0
0.155844
0
0.051948
0.995369
0.015675
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e76833042ef3bb3298d9cb9e52ca84dd7da2515c
971
py
Python
src/strategy/scripts/GA/calculate.py
jameschen0117/gazebo_visual
ead50beefdb9f7eb39aba45465422071aa812b3c
[ "Apache-2.0" ]
null
null
null
src/strategy/scripts/GA/calculate.py
jameschen0117/gazebo_visual
ead50beefdb9f7eb39aba45465422071aa812b3c
[ "Apache-2.0" ]
null
null
null
src/strategy/scripts/GA/calculate.py
jameschen0117/gazebo_visual
ead50beefdb9f7eb39aba45465422071aa812b3c
[ "Apache-2.0" ]
null
null
null
import rospy from transfer.msg import PPoint # Normalization HALF_MAX_DIS = 1500 #cm FULL_MAX_DIS = 2163 #cm input_std_list = [] def input2std_list(data): input_list = [data.rival_An, data.rival_Dis, data.right_angle, data.right_radius, data.border_An, data.border_Dis] print(all_input_list) global input_s...
18.673077
174
0.69207
136
971
4.588235
0.404412
0.048077
0.064103
0.048077
0
0
0
0
0
0
0
0.025094
0.179197
971
51
175
19.039216
0.757842
0.022657
0
0
0
0
0.063879
0.04878
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e775f70377a9f1d50a1d67d11af1bc70d8656b3f
1,241
py
Python
sdk/arena-python-sdk/arenasdk/logger/logger.py
thliang01/arena
8ec9325f4927744bb10483dac0b9399faf12ef12
[ "ECL-2.0", "Apache-2.0" ]
502
2018-08-30T13:27:12.000Z
2022-03-17T01:59:52.000Z
sdk/arena-python-sdk/arenasdk/logger/logger.py
thliang01/arena
8ec9325f4927744bb10483dac0b9399faf12ef12
[ "ECL-2.0", "Apache-2.0" ]
718
2018-08-30T13:15:39.000Z
2022-03-18T12:07:32.000Z
sdk/arena-python-sdk/arenasdk/logger/logger.py
xieydd/arena
b2cd6c5287e8bdba4b91116c660c8b308cf496cf
[ "ECL-2.0", "Apache-2.0" ]
155
2018-09-02T12:56:18.000Z
2022-03-07T07:06:59.000Z
#!/usr/bin/env python from __future__ import annotations import os import sys from typing import List from io import TextIOWrapper class LoggerBuilder(object): def __init__(self): self._args = list() self._accepter = sys.stdout def with_accepter(self, accepter: TextIOWrapper) -> LoggerBui...
25.326531
70
0.601934
138
1,241
5.202899
0.26087
0.125348
0.108635
0.118384
0.200557
0.097493
0
0
0
0
0
0.001145
0.296535
1,241
48
71
25.854167
0.821306
0.016116
0
0.212121
0
0
0.039344
0
0
0
0
0
0
1
0.272727
false
0
0.151515
0.060606
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e782df7e138cc375d44e4c6785675ab6b4f35080
26,614
py
Python
pysan/multisequence.py
pysan-dev/pysan_classic
27f6133bc0c5d299376e8d181fc7fcdee73bc657
[ "BSD-3-Clause" ]
1
2021-09-12T09:46:55.000Z
2021-09-12T09:46:55.000Z
pysan/multisequence.py
pysan-dev/pysan_classic
27f6133bc0c5d299376e8d181fc7fcdee73bc657
[ "BSD-3-Clause" ]
null
null
null
pysan/multisequence.py
pysan-dev/pysan_classic
27f6133bc0c5d299376e8d181fc7fcdee73bc657
[ "BSD-3-Clause" ]
null
null
null
import matplotlib.pyplot as plt import pysan.core as pysan_core import itertools, math import numpy as np import pandas as pd from sklearn import cluster import scipy def generate_sequences(count, length, alphabet): """ Generates a number of sequences of a given length, with elements uniformly distributed using a ...
28.403415
274
0.678477
4,396
26,614
3.999773
0.116015
0.016948
0.012967
0.01092
0.37923
0.3132
0.257294
0.230393
0.208269
0.192516
0
0.06271
0.160555
26,614
937
275
28.403415
0.724319
0.510859
0
0.296636
1
0
0.029174
0
0
0
0
0
0
1
0.119266
false
0.039755
0.021407
0
0.235474
0
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
e78303420992036c8cf16e4fdafb824e349e3c71
340
py
Python
hubcare/metrics/issue_metrics/activity_rate/serializers.py
aleronupe/2019.1-hubcare-api
3f031eac9559a10fdcf70a88ee4c548cf93e4ac2
[ "MIT" ]
7
2019-03-31T17:58:45.000Z
2020-02-29T22:44:27.000Z
hubcare/metrics/issue_metrics/activity_rate/serializers.py
aleronupe/2019.1-hubcare-api
3f031eac9559a10fdcf70a88ee4c548cf93e4ac2
[ "MIT" ]
90
2019-03-26T01:14:54.000Z
2021-06-10T21:30:25.000Z
hubcare/metrics/issue_metrics/activity_rate/serializers.py
aleronupe/2019.1-hubcare-api
3f031eac9559a10fdcf70a88ee4c548cf93e4ac2
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import ActivityRateIssue class ActivityRateIssueSerializer(serializers.ModelSerializer): class Meta: model = ActivityRateIssue fields = [ 'activity_rate', 'activity_max_rate', 'active_issues', 'dea...
22.666667
63
0.638235
27
340
7.814815
0.703704
0
0
0
0
0
0
0
0
0
0
0
0.3
340
14
64
24.285714
0.886555
0
0
0
0
0
0.158824
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.363636
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
e7920c932ddea7c63a8c35bc800c59457bf4adf3
1,102
py
Python
ex1.py
gitdumper/pynet-week4
0f7ca840a56f6159ff1adaffcd58d6b43f9858e7
[ "Apache-2.0" ]
null
null
null
ex1.py
gitdumper/pynet-week4
0f7ca840a56f6159ff1adaffcd58d6b43f9858e7
[ "Apache-2.0" ]
null
null
null
ex1.py
gitdumper/pynet-week4
0f7ca840a56f6159ff1adaffcd58d6b43f9858e7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Use Paramiko to retrieve the entire 'show version' output from pynet-rtr2. import paramiko import time from getpass import getpass import yaml def main(): with open("../store/inventory/devices.yml") as f: devices = yaml.load(f) print(devices['devices'][1]) remote_conn_pre = param...
25.627907
83
0.708711
158
1,102
4.702532
0.468354
0.148048
0.087483
0.064603
0.177658
0.177658
0.177658
0.177658
0.177658
0.129206
0
0.025723
0.153358
1,102
42
84
26.238095
0.770632
0.121597
0
0.178571
0
0
0.126425
0.031088
0
0
0
0
0
1
0.035714
false
0.107143
0.142857
0
0.178571
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e796111422ff4baca4d31bddbec4220f1d8e7f9e
781
py
Python
dataduit/dataset/io/download/download.py
JackBurdick/dataduit
b6fdc00c4638e4c41cf4fd824ddedcc19ce8ac8a
[ "Apache-2.0" ]
null
null
null
dataduit/dataset/io/download/download.py
JackBurdick/dataduit
b6fdc00c4638e4c41cf4fd824ddedcc19ce8ac8a
[ "Apache-2.0" ]
null
null
null
dataduit/dataset/io/download/download.py
JackBurdick/dataduit
b6fdc00c4638e4c41cf4fd824ddedcc19ce8ac8a
[ "Apache-2.0" ]
null
null
null
from dataduit.dataset.io.download.location.online.online import download_online from dataduit.dataset.io.download.location.online.tfd.tfd import information_tfd from dataduit.log.dataduit_logging import config_logger def download(config_dict): logger = config_logger(config_dict["meta"]["logging"], "download") ...
32.541667
80
0.729834
102
781
5.401961
0.352941
0.181488
0.076225
0.076225
0.406534
0.406534
0.406534
0.250454
0.250454
0.250454
0
0
0.137004
781
23
81
33.956522
0.817507
0.060179
0
0.142857
0
0
0.165527
0.031464
0
0
0
0.043478
0
1
0.142857
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e79bc66c376e75c6403b8dd78012abb81335bfba
1,001
py
Python
business_register/migrations/0124_auto_20210628_0857.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
business_register/migrations/0124_auto_20210628_0857.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
business_register/migrations/0124_auto_20210628_0857.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
# Generated by Django 3.1.12 on 2021-06-28 08:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('business_register', '0123_auto_20210622_1059'), ] operations = [ migrations.AlterField( model_name='vehicle', name=...
34.517241
218
0.597403
108
1,001
5.388889
0.574074
0.103093
0.128866
0.149485
0.357388
0.357388
0.151203
0.151203
0
0
0
0.058589
0.24975
1,001
28
219
35.75
0.716378
0.045954
0
0.409091
1
0
0.174187
0.024134
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e7a2e06939ed905aea48b4f81e04a288c4a4d267
1,446
py
Python
app/config.py
NewShadesDAO/api
1e66336f0ea526f245918ecdc328c9a66280be91
[ "CC0-1.0" ]
1
2022-03-21T07:37:02.000Z
2022-03-21T07:37:02.000Z
app/config.py
NewShadesDAO/api
1e66336f0ea526f245918ecdc328c9a66280be91
[ "CC0-1.0" ]
25
2022-01-16T13:18:21.000Z
2022-03-29T13:08:19.000Z
app/config.py
NewShadesDAO/api
1e66336f0ea526f245918ecdc328c9a66280be91
[ "CC0-1.0" ]
1
2022-01-15T21:42:00.000Z
2022-01-15T21:42:00.000Z
from functools import lru_cache from typing import Optional from pydantic import BaseSettings class Settings(BaseSettings): testing: bool = True profiling: bool = False profiling_json: bool = False cdn_url: str = "https://cdn.newshades.xyz" cdn_media_folder: str = "media" environment: str = "...
24.508475
59
0.715768
190
1,446
5.136842
0.405263
0.191598
0.086066
0.069672
0.059426
0
0
0
0
0
0
0.015491
0.196404
1,446
58
60
24.931034
0.824441
0
0
0
0
0
0.07538
0
0
0
0
0
0
1
0.02381
false
0.02381
0.071429
0.02381
0.952381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
e7b304bb2260cee73b473fb183e7b683e45ac188
56,018
py
Python
tools/mytools/ARIA/src/py/aria/legacy/PpmList.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
tools/mytools/ARIA/src/py/aria/legacy/PpmList.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
tools/mytools/ARIA/src/py/aria/legacy/PpmList.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
""" The general ARIA data format for the chemical shifts together with the converting scripts to XEASY, NMRVIEW and AURELIA. All the chemical shift data handling is done with this module. It contains two classes: -PpmList: the class represents an atom chemical shift list -Atom: represents one atom (with ppm, atomnam...
38.394791
122
0.509872
5,431
56,018
5.216535
0.130547
0.031061
0.01779
0.022872
0.455579
0.394797
0.358512
0.341358
0.317179
0.287847
0
0.021254
0.386019
56,018
1,458
123
38.421125
0.802466
0.104788
0
0.416274
0
0.002358
0.13281
0.021246
0
0
0
0.000686
0
0
null
null
0.001179
0.007075
null
null
0.058962
0
0
0
null
0
0
0
0
0
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
e7c6986674e12f15208abb35fa59abb9670bc7db
1,588
py
Python
alipay/aop/api/response/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/response/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/response/AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse from alipay.aop.api.domain.TbapiQueryAmountResponse import TbapiQueryAmountResponse class AlipayPcreditHuabeiPcreditamountQueryprocessorQueryResponse(AlipayResponse): def __init__(self): ...
31.76
132
0.700882
153
1,588
7.045752
0.248366
0.100186
0.059369
0.029685
0
0
0
0
0
0
0
0.000806
0.219144
1,588
49
133
32.408163
0.868548
0.026448
0
0.078947
0
0
0.036269
0
0
0
0
0
0
1
0.210526
false
0
0.078947
0.078947
0.394737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e7c7f5b62bcdda58cf54b04e628ca70646c228d2
647
py
Python
stockPrices.py
trishahanlon/algorithms-review
4e08938526020204d0a7f47982b46c05b0973636
[ "Apache-2.0" ]
null
null
null
stockPrices.py
trishahanlon/algorithms-review
4e08938526020204d0a7f47982b46c05b0973636
[ "Apache-2.0" ]
null
null
null
stockPrices.py
trishahanlon/algorithms-review
4e08938526020204d0a7f47982b46c05b0973636
[ "Apache-2.0" ]
null
null
null
def get_max_profits(stock_prices): if len(stock_prices) < 2: raise ValueError("Getting a profit requires at least two prices") min_price = stock_prices[0] max_profit = stock_prices[1] - stock_prices[0] for current_time in range(1, len(stock_prices)): print(current_time, "currenttime") ...
29.409091
73
0.698609
93
647
4.548387
0.408602
0.234043
0.061466
0.085106
0.113475
0
0
0
0
0
0
0.025391
0.208655
647
21
74
30.809524
0.800781
0
0
0
0
0
0.108192
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0.142857
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
e7ca6ab0c250e0881effffba0c3e1ea9a270b9a5
522
py
Python
dataer_tool/core.py
JunxinGao/dataer_tool
8b9f5e83edc0f8e05c1ed36bc9b9c43ed3b6b844
[ "Apache-2.0" ]
null
null
null
dataer_tool/core.py
JunxinGao/dataer_tool
8b9f5e83edc0f8e05c1ed36bc9b9c43ed3b6b844
[ "Apache-2.0" ]
null
null
null
dataer_tool/core.py
JunxinGao/dataer_tool
8b9f5e83edc0f8e05c1ed36bc9b9c43ed3b6b844
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/00_core.ipynb (unless otherwise specified). __all__ = ['kwargs2str', 'sorted_dict'] # Cell from .imports import * # Cell def kwargs2str(**kwargs): "kwargs to string split with `,`" str_list = [f"{k}: {v}" for k, v in kwargs.items()] return ", ".join(str_lis...
29
91
0.664751
77
522
4.337662
0.61039
0.062874
0
0
0
0
0
0
0
0
0
0.013953
0.176245
522
18
92
29
0.762791
0.262452
0
0
1
0
0.169082
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e7d17f22bbc3ba4d6501de339cbe9848e269f92f
466
py
Python
Assignment5/Assignment05_ck2840/train_files/test.py
Chandra-S-Narain-Kappera/Machine-Learning
324c1dcdb9ee7cc66248e50c6c1a3f0cfa441a28
[ "MIT" ]
null
null
null
Assignment5/Assignment05_ck2840/train_files/test.py
Chandra-S-Narain-Kappera/Machine-Learning
324c1dcdb9ee7cc66248e50c6c1a3f0cfa441a28
[ "MIT" ]
null
null
null
Assignment5/Assignment05_ck2840/train_files/test.py
Chandra-S-Narain-Kappera/Machine-Learning
324c1dcdb9ee7cc66248e50c6c1a3f0cfa441a28
[ "MIT" ]
null
null
null
# import some data to play with from sklearn.metrics import accuracy_score from predict import * import pandas as pd import numpy as np from sklearn.model_selection import train_test_split, GridSearchCV X_D= pd.read_csv('dataset1.csv').as_matrix() Y = X_D[:,0] X = np.delete(X_D, 0, 1) #split test and train X_train, X_t...
33.285714
102
0.772532
88
466
3.863636
0.488636
0.017647
0.082353
0
0
0
0
0
0
0
0
0.01956
0.122318
466
13
103
35.846154
0.811736
0.10515
0
0
0
0
0.028986
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
99b294313ca0a928a761485348ebb9d6ac0b944d
8,569
py
Python
pysnmp/SVRNTCLU-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/SVRNTCLU-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/SVRNTCLU-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module SVRNTCLU-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SVRNTCLU-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:04:39 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019,...
98.494253
1,174
0.731824
1,058
8,569
5.92155
0.152174
0.010535
0.014844
0.019793
0.442298
0.383081
0.317318
0.317318
0.24182
0.238308
0
0.089924
0.105847
8,569
86
1,175
99.639535
0.727747
0.037111
0
0
0
0
0.128731
0.005339
0
0
0
0
0
1
0
false
0.013514
0.081081
0
0.256757
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99b9607a4023161326de0b1b166f6e18d224884f
1,093
py
Python
apps/stores/admin.py
AJAkimana/py-store
f190bd5c2728ca80a1c0efcf199781ed5ca83645
[ "MIT" ]
null
null
null
apps/stores/admin.py
AJAkimana/py-store
f190bd5c2728ca80a1c0efcf199781ed5ca83645
[ "MIT" ]
3
2020-02-25T12:19:53.000Z
2021-06-10T19:52:29.000Z
apps/stores/admin.py
AJAkimana/py-store
f190bd5c2728ca80a1c0efcf199781ed5ca83645
[ "MIT" ]
null
null
null
from django.contrib import admin from django.contrib.admin import ModelAdmin as BaseModelAdmin from django.utils.translation import gettext_lazy as _ from apps.stores.models import Store from apps.stores.forms import StoreChangeForm, StoreCreationForm class StoreAdmin(BaseModelAdmin): ordering = ["action_date"] add...
35.258065
107
0.698079
119
1,093
6.184874
0.428571
0.054348
0.048913
0.07337
0.160326
0.160326
0.160326
0.160326
0.160326
0.160326
0
0
0.121683
1,093
30
108
36.433333
0.766667
0
0
0
0
0
0.330284
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
99cf73b34541df20453b8b65bf885167d011404b
10,670
py
Python
src/ea/automateactions/serverengine/usersmanager.py
ExtensiveAutomation/automateactions-server
d412086a29855a454cc2f3c55d3d224c0c8389a2
[ "MIT" ]
null
null
null
src/ea/automateactions/serverengine/usersmanager.py
ExtensiveAutomation/automateactions-server
d412086a29855a454cc2f3c55d3d224c0c8389a2
[ "MIT" ]
null
null
null
src/ea/automateactions/serverengine/usersmanager.py
ExtensiveAutomation/automateactions-server
d412086a29855a454cc2f3c55d3d224c0c8389a2
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # ------------------------------------------------------------------- # Copyright (c) 2010-2020 Denis Machard # This file is part of the extensive automation project # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Le...
33.239875
103
0.565979
1,242
10,670
4.768921
0.181159
0.024312
0.034949
0.023637
0.409252
0.328381
0.282965
0.241263
0.228094
0.205301
0
0.006907
0.307966
10,670
321
104
33.239875
0.795233
0.195127
0
0.333333
0
0
0.141209
0
0
0
0
0
0
1
0.15
false
0.161111
0.038889
0
0.338889
0
0
0
0
null
0
0
0
0
0
0
0
0
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
99d1ec6cac967234bf989b5dd63baa2bfecf21cc
580
py
Python
coffeecoin-autominer.py
siddharthkul/F.Block
13f4df46b5b379fbcb88ab05f0e487b91ce70eac
[ "MIT" ]
null
null
null
coffeecoin-autominer.py
siddharthkul/F.Block
13f4df46b5b379fbcb88ab05f0e487b91ce70eac
[ "MIT" ]
null
null
null
coffeecoin-autominer.py
siddharthkul/F.Block
13f4df46b5b379fbcb88ab05f0e487b91ce70eac
[ "MIT" ]
1
2020-05-31T05:22:48.000Z
2020-05-31T05:22:48.000Z
#import coffeecoin_multiminer import os, sys from random import randint import multiprocessing args_passed = False if(len(sys.argv)-2 == 0): print("No args passed") args_passed = True if(args_passed): sys.exit([arg]) def spawn(num, j): for j in range(1,4): print('spawning miner '+str(num)+"-...
24.166667
81
0.65
90
580
4.144444
0.511111
0.107239
0.042895
0
0
0
0
0
0
0
0
0.014583
0.172414
580
24
82
24.166667
0.7625
0.048276
0
0
0
0
0.141304
0.043478
0
0
0
0
0
1
0.058824
false
0.235294
0.176471
0
0.235294
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
99d1f4080979c73579e08aafc4fe9d8b4e9f36a3
613
py
Python
backend/clients/models.py
jahidulrudro/Invoice-Maker-Django-VueJs
bc1f1ee086e666f1f7e88c9f15083d26d8af156a
[ "MIT" ]
1
2019-05-24T21:40:37.000Z
2019-05-24T21:40:37.000Z
backend/clients/models.py
jahidulrudro/Invoice-Maker-Django-VueJs
bc1f1ee086e666f1f7e88c9f15083d26d8af156a
[ "MIT" ]
15
2019-10-21T19:11:26.000Z
2022-02-17T23:12:21.000Z
backend/clients/models.py
jahidulrudro/Invoice-Maker-Django-VueJs
bc1f1ee086e666f1f7e88c9f15083d26d8af156a
[ "MIT" ]
null
null
null
from django.db import models from django_countries.fields import CountryField from django.core.validators import MaxValueValidator, MinValueValidator class Client(models.Model): name = models.CharField(max_length=128) email = models.EmailField() phone = models.CharField(max_length=15) business = model...
32.263158
71
0.729201
73
613
6
0.575342
0.068493
0.123288
0.164384
0.123288
0
0
0
0
0
0
0.047904
0.182708
613
18
72
34.055556
0.826347
0
0
0
0
0
0.094617
0
0
0
0
0
0
1
0.066667
false
0
0.2
0.066667
0.8
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
99d8431104c3270218d105d134fb67172e25641e
545
py
Python
geveze/apps/chat/enums.py
bronze15/geveze
ca06b07c396296a3f5cf8f2c000f0d1db8a48db6
[ "MIT" ]
null
null
null
geveze/apps/chat/enums.py
bronze15/geveze
ca06b07c396296a3f5cf8f2c000f0d1db8a48db6
[ "MIT" ]
null
null
null
geveze/apps/chat/enums.py
bronze15/geveze
ca06b07c396296a3f5cf8f2c000f0d1db8a48db6
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding:utf-8 import enum class ClientEvents(enum.Enum): send_avatar = 10 get_avatars = 11 get_onlineusers = 12 send_text = 20 send_image = 21 send_video = 22 send_audio = 23 send_pdf = 24 send_file = 25 class ServerEvents(enum.Enum): subscribed = 0 ...
15.571429
30
0.629358
78
545
4.153846
0.5
0.049383
0.061728
0.08642
0.382716
0.382716
0.382716
0.382716
0.382716
0.382716
0
0.105263
0.302752
545
34
31
16.029412
0.747368
0.06055
0
0.5
0
0
0
0
0
0
0
0
0
1
0
false
0
0.041667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
99dd236e74046a3da7fb5aade138bf9dd99e5790
421
py
Python
externals/pyglet-1.2.4/pyglet-1.2.4/tests/image/PYPNG_RGB_LOAD.py
Soulrez/psychsim-teamwork
7c660a48c48664efcb863ba73bfbae2f5eb5566f
[ "MIT" ]
1
2016-07-19T16:56:46.000Z
2016-07-19T16:56:46.000Z
externals/pyglet-1.2.4/pyglet-1.2.4/tests/image/PYPNG_RGB_LOAD.py
Soulrez/psychsim-teamwork
7c660a48c48664efcb863ba73bfbae2f5eb5566f
[ "MIT" ]
1
2018-08-27T22:31:16.000Z
2018-08-27T22:31:16.000Z
externals/pyglet-1.2.4/pyglet-1.2.4/tests/image/PYPNG_RGB_LOAD.py
Soulrez/psychsim-teamwork
7c660a48c48664efcb863ba73bfbae2f5eb5566f
[ "MIT" ]
1
2019-09-06T03:05:35.000Z
2019-09-06T03:05:35.000Z
#!/usr/bin/env python '''Test RGB load using PyPNG. You should see the rgb.png image on a checkboard background. ''' __docformat__ = 'restructuredtext' __version__ = '$Id: $' import unittest import base_load from pyglet.image.codecs.png import PNGImageDecoder class TEST_PNG_RGB_LOAD(base_load.TestLoad): text...
20.047619
67
0.736342
55
421
5.236364
0.690909
0.048611
0
0
0
0
0
0
0
0
0
0
0.15677
421
20
68
21.05
0.811268
0.261283
0
0
0
0
0.121711
0
0
0
0
0
0
1
0
false
0
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
99ec5237d671c89c7894223b9173f747ed5dec35
729
py
Python
setup.py
tangram/eve-arango
7ced970a33ed737a74e2cfce0e6e5d83d28687db
[ "MIT" ]
null
null
null
setup.py
tangram/eve-arango
7ced970a33ed737a74e2cfce0e6e5d83d28687db
[ "MIT" ]
null
null
null
setup.py
tangram/eve-arango
7ced970a33ed737a74e2cfce0e6e5d83d28687db
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name='eve-arango', version='0.3.3', description='Eve ArangoDB data layer', long_description=open('README.rst').read(), author='Eirik Krogstad', author_email='eirikkr@gmail.com', url='https://github.com/tangram/eve-arango', lice...
27
49
0.628258
80
729
5.6375
0.7125
0.059867
0.110865
0
0
0
0
0
0
0
0
0.008696
0.211248
729
26
50
28.038462
0.775652
0.027435
0
0
0
0
0.454802
0
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
99f2174b6a05abcf2c887fc9e405532f85b94c75
873
py
Python
045_Pedra_papel_e_tesoura.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
045_Pedra_papel_e_tesoura.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
045_Pedra_papel_e_tesoura.py
fabioeomedeiros/Python-Base
ef9c1c66b3221f71d1c8dcaf4c2f86503712e9f1
[ "MIT" ]
null
null
null
#045_Pedra_papel_e_tesoura.py from time import sleep from random import randint print("Pedra, Papel ou Tesoura?") print('''[ 0 ] PEDRA [ 1 ] PAPEL [ 2 ] TESOURA''') lista = ["PEDRA", "PAPEL", "TESOURA"] c = randint(0, 2) j = int(input("Sua escolha: ")) sleep(1) print("JO") sleep(1) print("KEN") sleep(1) print("PO!!...
17.117647
37
0.520046
123
873
3.658537
0.308943
0.093333
0.097778
0.106667
0
0
0
0
0
0
0
0.03888
0.263459
873
50
38
17.46
0.660964
0.032073
0
0.47619
0
0
0.257414
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.404762
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
99f9f7b8c9f8ee4429798acbd6af4adada2645ad
3,149
py
Python
thompson_sampling/multi_armed_bandits.py
wooohoooo/thompson_sampling
259f4ba5d7ec023c5c48fa51e9d6c2ba0ee19fcc
[ "Apache-2.0" ]
1
2021-07-28T16:35:58.000Z
2021-07-28T16:35:58.000Z
thompson_sampling/multi_armed_bandits.py
wooohoooo/thompson_sampling
259f4ba5d7ec023c5c48fa51e9d6c2ba0ee19fcc
[ "Apache-2.0" ]
2
2020-04-24T12:58:34.000Z
2022-02-26T07:03:05.000Z
thompson_sampling/multi_armed_bandits.py
wooohoooo/thompson_sampling
259f4ba5d7ec023c5c48fa51e9d6c2ba0ee19fcc
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 01_multi_armed_bandits.ipynb (unless otherwise specified). __all__ = ['sigmoid', 'non_contextual_categorical_bandit', 'contextual_categorical_bandit', 'contextual_categorical_get_optimal_arm', 'NonlinearContextualCategoricalBandit', 'contextual_numerica...
29.157407
119
0.670372
441
3,149
4.650794
0.240363
0.027304
0.03803
0.023403
0.606046
0.502194
0.502194
0.502194
0.48903
0.48903
0
0.016579
0.214671
3,149
108
120
29.157407
0.812778
0.12893
0
0.548387
1
0
0.087912
0.085348
0
0
0
0
0
1
0.193548
false
0
0.048387
0.016129
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
99fdaae2096eb0a0228a315221fd8a889eca70a4
934
py
Python
shuffleindex/layers/encryptionlayer.py
escudocloud/distributed-shuffleindex
b1a78ecae87149897df7e239b55daeda20503fac
[ "MIT" ]
1
2017-01-23T13:27:55.000Z
2017-01-23T13:27:55.000Z
shuffleindex/layers/encryptionlayer.py
escudocloud/distributed-shuffleindex
b1a78ecae87149897df7e239b55daeda20503fac
[ "MIT" ]
null
null
null
shuffleindex/layers/encryptionlayer.py
escudocloud/distributed-shuffleindex
b1a78ecae87149897df7e239b55daeda20503fac
[ "MIT" ]
null
null
null
from Crypto.Random import get_random_bytes from Crypto.Cipher import AES from Crypto.Util import Counter from datalayer import DataLayer class EncryptionLayer(DataLayer): def __init__(self, datalayer, key): self._datalayer = datalayer self._key = key def _make_cipher(self, iv=None): "...
33.357143
73
0.664882
126
934
4.753968
0.357143
0.086811
0.046745
0
0
0
0
0
0
0
0
0.015299
0.230193
934
27
74
34.592593
0.817803
0.063169
0
0
0
0
0.003452
0
0
0
0
0
0
1
0.190476
false
0
0.190476
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
82082068042815ed9e4c06dcf30369dde84ebd56
7,105
py
Python
src/app/voltdb/voltdb_src/tests/test_apps/adhocbenchmark/scripts/generate.py
OpenMPDK/SMDK
8f19d32d999731242cb1ab116a4cb445d9993b15
[ "BSD-3-Clause" ]
44
2022-03-16T08:32:31.000Z
2022-03-31T16:02:35.000Z
src/app/voltdb/voltdb_src/tests/test_apps/adhocbenchmark/scripts/generate.py
H2O0Lee/SMDK
eff49bc17a55a83ea968112feb2e2f2ea18c4ff5
[ "BSD-3-Clause" ]
1
2022-03-29T02:30:28.000Z
2022-03-30T03:40:46.000Z
src/app/voltdb/voltdb_src/tests/test_apps/adhocbenchmark/scripts/generate.py
H2O0Lee/SMDK
eff49bc17a55a83ea968112feb2e2f2ea18c4ff5
[ "BSD-3-Clause" ]
18
2022-03-19T04:41:04.000Z
2022-03-31T03:32:12.000Z
#!/usr/bin/env python # This file is part of VoltDB. # Copyright (C) 2008-2020 VoltDB Inc. # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitati...
37.394737
106
0.625053
889
7,105
4.902137
0.287964
0.02983
0.014915
0.014456
0.14112
0.092015
0.066774
0.051629
0
0
0
0.004274
0.27544
7,105
189
107
37.592593
0.842269
0.184799
0
0.154362
0
0
0.136986
0
0
0
0
0
0
0
null
null
0
0.013423
null
null
0.033557
0
0
0
null
0
0
0
0
0
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
821362fb9301e4c5e2aad566a85b6f68eff51130
1,359
py
Python
sources/voting/management/commands/pdf2html.py
audiua/dev_XI
ddd59f206a98adf5606f0a065ec2323e847c545a
[ "MIT" ]
null
null
null
sources/voting/management/commands/pdf2html.py
audiua/dev_XI
ddd59f206a98adf5606f0a065ec2323e847c545a
[ "MIT" ]
null
null
null
sources/voting/management/commands/pdf2html.py
audiua/dev_XI
ddd59f206a98adf5606f0a065ec2323e847c545a
[ "MIT" ]
null
null
null
import os import glob import subprocess import logging from django.conf import settings from django.core.management.base import BaseCommand, CommandError logger = logging.getLogger('voting_app') class Command(BaseCommand): help = """Конвертирует pdf в html. Параметры in, out пути к папкам, относительно корня пр...
35.763158
176
0.636497
170
1,359
5.017647
0.547059
0.03517
0.042204
0.03517
0.131301
0.131301
0.063306
0
0
0
0
0.004794
0.232524
1,359
37
177
36.72973
0.813039
0.042678
0
0
0
0.037037
0.274827
0
0
0
0
0.027027
0
1
0.037037
false
0
0.222222
0
0.37037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8214c1bfd244cbe2b78415e0d1aea5a817b27c8f
453
py
Python
test/test_nj_tree.py
zuevval/snp-visualizer
622366c98c2e776494277c35b9f80eac28e43e6f
[ "Apache-2.0" ]
null
null
null
test/test_nj_tree.py
zuevval/snp-visualizer
622366c98c2e776494277c35b9f80eac28e43e6f
[ "Apache-2.0" ]
8
2020-11-29T17:43:10.000Z
2020-11-29T19:45:52.000Z
test/test_nj_tree.py
zuevval/snp-visualizer
622366c98c2e776494277c35b9f80eac28e43e6f
[ "Apache-2.0" ]
null
null
null
from pathlib import Path from src.modules.nj_tree import NjStep from src.utils import get_data_path from test.testing_utils import get_out_test_path def test_nj_tree(): png_path = Path(get_out_test_path() / "dm_tree.png") njs = NjStep(input_dm_csv=get_data_path() / "test/dm_expected.csv", ou...
30.2
71
0.706402
73
453
4.013699
0.369863
0.061433
0.102389
0.143345
0.163823
0.163823
0.163823
0
0
0
0
0
0.19426
453
14
72
32.357143
0.80274
0
0
0
0
0
0.092715
0
0
0
0
0
0.090909
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8214e65db5c9bb655bb1e855c670baea0fd5d7a3
26,119
py
Python
scripts/decode.py
appotry/openofdm
0ab83ce22385c132f055ef85dcbcea8eeffd77f0
[ "Apache-2.0" ]
200
2017-05-03T19:17:11.000Z
2022-03-22T00:19:50.000Z
scripts/decode.py
jools76/openofdm
229da948ae4df55fb3b6d9a055ca3e75079e50b1
[ "Apache-2.0" ]
8
2018-05-08T12:01:56.000Z
2021-12-09T13:54:44.000Z
scripts/decode.py
jools76/openofdm
229da948ae4df55fb3b6d9a055ca3e75079e50b1
[ "Apache-2.0" ]
78
2017-05-12T09:36:17.000Z
2022-03-28T14:38:07.000Z
#!/usr/bin/env python import os import numpy as np import cmath import collections import itertools import array import math from cStringIO import StringIO import commpy.channelcoding.convcode as cc from wltrace import dot11 LONG_PREAMBLE_TXT =\ """ 0 -0.078 0.000 40 0.098 -0.026 80 0.062 0.062 120 -0.035 -0.15...
35.536054
97
0.524178
4,323
26,119
3.071941
0.1226
0.035994
0.052184
0.068373
0.265964
0.213931
0.16122
0.124398
0.112048
0.075377
0
0.18833
0.328114
26,119
734
98
35.584469
0.568408
0.022934
0
0.178707
0
0.001901
0.043372
0
0
0
0
0
0.019011
0
null
null
0
0.019011
null
null
0.070342
0
0
0
null
0
0
0
0
0
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
82169f88ed831fff5e86a7c53701a9427b38a730
1,779
py
Python
suggestionbox/models.py
sorenh/python-django-suggestionbox
e8eddf549a3eec7a0836cba93fbea9a71cc9095a
[ "Apache-2.0" ]
null
null
null
suggestionbox/models.py
sorenh/python-django-suggestionbox
e8eddf549a3eec7a0836cba93fbea9a71cc9095a
[ "Apache-2.0" ]
null
null
null
suggestionbox/models.py
sorenh/python-django-suggestionbox
e8eddf549a3eec7a0836cba93fbea9a71cc9095a
[ "Apache-2.0" ]
1
2021-01-21T14:57:59.000Z
2021-01-21T14:57:59.000Z
from django.db import models from django.contrib.auth import models as auth_models from django.utils.timezone import now class SuggestionManager(models.Manager): def get_query_set(self): return super(SuggestionManager, self).get_query_set().filter(in_reply_to=None) class Comment(models.Model): author ...
34.882353
98
0.652052
232
1,779
4.840517
0.392241
0.024933
0.032057
0.045414
0.090828
0.090828
0.090828
0.090828
0.090828
0
0
0.003695
0.23946
1,779
50
99
35.58
0.826312
0.068578
0
0.052632
0
0
0.046582
0
0
0
0
0
0
1
0.131579
false
0
0.078947
0.052632
0.657895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
821aba738121dc4dff3f79275128f186760b77ca
21,499
py
Python
ImgLook.py
cforth/CryptoApp
c8c62e13a3ba4cbc3c90c954984a88b0e946de8e
[ "MIT" ]
29
2017-07-09T04:45:51.000Z
2021-12-20T04:08:55.000Z
ImgLook.py
cforth/CryptoApp
c8c62e13a3ba4cbc3c90c954984a88b0e946de8e
[ "MIT" ]
1
2020-07-23T05:50:01.000Z
2020-07-24T01:13:13.000Z
ImgLook.py
cforth/CryptoApp
c8c62e13a3ba4cbc3c90c954984a88b0e946de8e
[ "MIT" ]
12
2018-01-11T13:39:40.000Z
2022-03-28T00:10:04.000Z
import io import os import logging import tkinter as tk import tkinter.ttk as ttk import tkinter.filedialog as filedialog import tkinter.messagebox as tkmessagebox import libs.CFCrypto as CFCrypto import libs.CFCryptoX as CFCryptoX from libs.CFCanvas import CFCanvas from libs.Util import set_combobox_item from libs.Uti...
43.87551
127
0.60347
2,592
21,499
4.763889
0.11304
0.044218
0.048753
0.062682
0.525834
0.477648
0.426628
0.376255
0.345562
0.303288
0
0.01237
0.281781
21,499
489
128
43.965235
0.787319
0.035118
0
0.414322
0
0
0.033496
0
0
0
0
0
0
1
0.071611
false
0.051151
0.030691
0
0.138107
0.002558
0
0
0
null
0
0
0
0
0
0
0
0
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
822b48851d3e07bbed7d076a156e3236aed1acad
251
py
Python
src/sendMail.py
jin10086/ftx-monitor
7f4a3514d90edf5f82746d534f2afaf6f62e4bed
[ "MIT" ]
1
2021-02-21T07:23:17.000Z
2021-02-21T07:23:17.000Z
src/sendMail.py
jin10086/ftx-monitor
7f4a3514d90edf5f82746d534f2afaf6f62e4bed
[ "MIT" ]
null
null
null
src/sendMail.py
jin10086/ftx-monitor
7f4a3514d90edf5f82746d534f2afaf6f62e4bed
[ "MIT" ]
2
2021-07-31T21:16:57.000Z
2021-12-21T22:31:00.000Z
import yagmail from conf import emailUser, emailPassword yag = yagmail.SMTP(user=emailUser, password=emailPassword, host="smtp.163.com") def sendMail(subject, contents, to): yag.send(to, subject, contents) if __name__ == "__main__": pass
19.307692
79
0.737052
32
251
5.53125
0.71875
0.169492
0
0
0
0
0
0
0
0
0
0.014019
0.14741
251
12
80
20.916667
0.813084
0
0
0
0
0
0.079681
0
0
0
0
0
0
1
0.142857
false
0.428571
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
822da971cd6b2e4d610fa7716afefb7425da83e0
874
py
Python
web/utils/assets_readers.py
MichalKyjovsky/introduction-ice-breaker
9a9a9cdfa1c5e033be43bc30d7873e2e52a80b72
[ "MIT" ]
null
null
null
web/utils/assets_readers.py
MichalKyjovsky/introduction-ice-breaker
9a9a9cdfa1c5e033be43bc30d7873e2e52a80b72
[ "MIT" ]
null
null
null
web/utils/assets_readers.py
MichalKyjovsky/introduction-ice-breaker
9a9a9cdfa1c5e033be43bc30d7873e2e52a80b72
[ "MIT" ]
null
null
null
import csv from pathlib import Path def get_student_dict() -> list: pom = [] with open(f"{Path(__file__).parent.absolute()}/../assets/students.csv", mode="rt+") as f: reader = csv.reader(f) header = reader.__iter__().__next__() for line in reader: pom.append(l...
29.133333
97
0.569794
120
874
3.916667
0.333333
0.025532
0.046809
0.055319
0.561702
0.561702
0.561702
0.561702
0.404255
0.404255
0
0.024615
0.256293
874
29
98
30.137931
0.698462
0.030892
0
0.555556
0
0
0.144608
0.137255
0
0
0
0.034483
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
823b79794492aea0dc07abe614413596e02bd85e
1,687
py
Python
handler.py
freedomofkeima/mackerel-lambda-monitor
fe114c43e08e809aed52151fe4b15e27a35a3f3a
[ "MIT" ]
null
null
null
handler.py
freedomofkeima/mackerel-lambda-monitor
fe114c43e08e809aed52151fe4b15e27a35a3f3a
[ "MIT" ]
null
null
null
handler.py
freedomofkeima/mackerel-lambda-monitor
fe114c43e08e809aed52151fe4b15e27a35a3f3a
[ "MIT" ]
null
null
null
#!/usr/bin/env python from mackerel.clienthde import Client, MackerelClientError import json def handler(event, context): filename = event.get('filename') if filename is None: print "Filename is required" return "error" with open(filename) as data_file: data = json.load(data_file...
29.596491
71
0.563723
177
1,687
5.214689
0.40678
0.078007
0.052004
0.03467
0.052004
0
0
0
0
0
0
0
0.353883
1,687
56
72
30.125
0.846789
0.091879
0
0.052632
0
0
0.127869
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.078947
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
823ecbba857961385860188fac60acf86321ebfb
489
py
Python
src/plot_scripts/plot_sim_log.py
ChenGeng-ZJU/PCC-RL
6627a186643175ea68269d78e206e6bc45ac634f
[ "Apache-2.0" ]
1
2022-02-04T17:51:42.000Z
2022-02-04T17:51:42.000Z
src/plot_scripts/plot_sim_log.py
ChenGeng-ZJU/PCC-RL
6627a186643175ea68269d78e206e6bc45ac634f
[ "Apache-2.0" ]
null
null
null
src/plot_scripts/plot_sim_log.py
ChenGeng-ZJU/PCC-RL
6627a186643175ea68269d78e206e6bc45ac634f
[ "Apache-2.0" ]
2
2021-06-05T02:29:51.000Z
2021-08-16T16:15:19.000Z
import pandas as pd import matplotlib.pyplot as plt import numpy as np # df = pd.read_csv("./tmp/sim_debug_log") # mask = df['event_type'] == 'S' # plt.plot(df[mask]['event_time'], np.arange(len(df[mask]['event_time']))) # print(df) emu = pd.read_csv("./tmp/obs.csv", header=None) sim = pd.read_csv("./obs.csv", head...
25.736842
74
0.654397
86
489
3.627907
0.418605
0.057692
0.086538
0.076923
0.115385
0
0
0
0
0
0
0.009153
0.106339
489
18
75
27.166667
0.704805
0.312883
0
0
0
0
0.135952
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8244a14620745542616b8d01b26bda714d573a6f
2,910
py
Python
airmail/commands/cmd_ecs.py
nymag/leviosa
6dabbb417a6a54fec956c132dd89b2e7117bd9de
[ "MIT" ]
null
null
null
airmail/commands/cmd_ecs.py
nymag/leviosa
6dabbb417a6a54fec956c132dd89b2e7117bd9de
[ "MIT" ]
10
2019-02-07T13:59:16.000Z
2019-03-28T13:16:16.000Z
airmail/commands/cmd_ecs.py
nymag/leviosa
6dabbb417a6a54fec956c132dd89b2e7117bd9de
[ "MIT" ]
1
2019-02-09T18:35:41.000Z
2019-02-09T18:35:41.000Z
import os import click import boto3 import json from airmail.cli import pass_context from airmail.services.ecs_service import ECSService @click.group(short_help='Create/modify ECS services') @pass_context def cli(ctx): if ctx.dry_run: ctx.warn_log("Running in dry run mode! Commands will not execute against...
40.985915
123
0.720962
437
2,910
4.608696
0.24714
0.079444
0.045184
0.023833
0.26713
0.200596
0.118669
0.087885
0.047666
0
0
0.00042
0.1811
2,910
70
124
41.571429
0.844734
0.007904
0
0.274194
0
0
0.339688
0
0
0
0
0
0
1
0.064516
false
0.080645
0.096774
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
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
412eb848f529d348f3f2a7930a1c71ad76afeb76
312
py
Python
ex040.py
thaisouza30/Exercicios-Python3-Curso-em-Video
ec9ccf57fae7bd86ec7a80efb1df779dd2128154
[ "Apache-2.0" ]
1
2021-02-01T17:22:11.000Z
2021-02-01T17:22:11.000Z
ex040.py
thaisouza30/Exercicios-Python3-Curso-em-Video
ec9ccf57fae7bd86ec7a80efb1df779dd2128154
[ "Apache-2.0" ]
null
null
null
ex040.py
thaisouza30/Exercicios-Python3-Curso-em-Video
ec9ccf57fae7bd86ec7a80efb1df779dd2128154
[ "Apache-2.0" ]
null
null
null
nota1 = float(input('Digite a primeira nota :')) nota2 = float(input('Digite a segunda nota:')) media = (nota1+nota2) / 2 print('A média é {:.1f}'.format(media)) if media < 5.0: print('Reprovado') elif media == 5.0 or media <= 6.9: print('Recuperação') elif media >= 7.0: print('Aprovado')
28.363636
49
0.612179
47
312
4.06383
0.574468
0.104712
0.167539
0.17801
0
0
0
0
0
0
0
0.056225
0.201923
312
10
50
31.2
0.710843
0
0
0
0
0
0.298013
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
413253f412ff32aa7182c3f97fdf962460bd47af
997
py
Python
posts_api_v1/views.py
ilearnToday/django_series
aaff52cade1ac45e459d9a5e0bade8c16b53e248
[ "MIT" ]
null
null
null
posts_api_v1/views.py
ilearnToday/django_series
aaff52cade1ac45e459d9a5e0bade8c16b53e248
[ "MIT" ]
8
2020-06-06T00:43:02.000Z
2022-02-10T11:52:43.000Z
posts_api_v1/views.py
ilearnToday/django_series
aaff52cade1ac45e459d9a5e0bade8c16b53e248
[ "MIT" ]
null
null
null
from rest_framework.generics import ListCreateAPIView, RetrieveUpdateDestroyAPIView from rest_framework import permissions from .permissions import IsOwnerOrReadOnly from .serializers import PostSerializer from main_page.models import Post class PostListView(ListCreateAPIView): queryset = Post.objects.all().s...
27.694444
83
0.759278
92
997
8.065217
0.434783
0.021563
0.045822
0.059299
0.576819
0.576819
0.576819
0.361186
0.229111
0.229111
0
0
0.169509
997
35
84
28.485714
0.896135
0
0
0.48
0
0
0.05015
0
0
0
0
0
0
1
0.08
false
0
0.2
0
0.68
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
413f377776287ded36cce945c561bfb1fd5f0c45
1,100
py
Python
app/__init__.py
Tomos-Evans/garrison
6a0eea6822f7a5a64e80852427d4576c9018d0b4
[ "MIT" ]
1
2018-10-20T15:53:15.000Z
2018-10-20T15:53:15.000Z
app/__init__.py
Tomos-Evans/garrison
6a0eea6822f7a5a64e80852427d4576c9018d0b4
[ "MIT" ]
null
null
null
app/__init__.py
Tomos-Evans/garrison
6a0eea6822f7a5a64e80852427d4576c9018d0b4
[ "MIT" ]
null
null
null
from flask import Flask from flask_restplus import Api from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from app import constants db = SQLAlchemy() migrate = Migrate() from app import models def create_app(config): app = Flask(__name__) app.config.from_object(config) constants.FA...
28.205128
78
0.716364
161
1,100
4.708075
0.273292
0.064644
0.072559
0.112137
0
0
0
0
0
0
0
0.001145
0.206364
1,100
38
79
28.947368
0.867125
0
0
0
0
0
0.079091
0
0
0
0
0
0
1
0.032258
false
0
0.354839
0
0.419355
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
414404f6b5339b6b1bfe26b00ead125146b85c21
822
py
Python
2020/day5.py
natedileas/advent-of-code
e7d7963162966651e599d9d8f5f770137111440b
[ "MIT" ]
null
null
null
2020/day5.py
natedileas/advent-of-code
e7d7963162966651e599d9d8f5f770137111440b
[ "MIT" ]
null
null
null
2020/day5.py
natedileas/advent-of-code
e7d7963162966651e599d9d8f5f770137111440b
[ "MIT" ]
null
null
null
def boarding_pass_row(seq): assert len(seq) == 7 # FBFBBFF seqb = seq.replace('F', '0').replace('B', '1') return int(seqb, 2) def boarding_pass_col(seq): assert len(seq) == 3 seqb = seq.replace('R', '1').replace('L', '0') return int(seqb, 2) def row_id(seq): row, col = boarding_pass_row(seq[:7]), boardin...
20.04878
66
0.621655
136
822
3.558824
0.441176
0.061983
0.082645
0.07438
0.070248
0
0
0
0
0
0
0.062857
0.148418
822
41
67
20.04878
0.628571
0.008516
0
0.1
0
0
0.114286
0
0
0
0
0
0.1
1
0.15
false
0.15
0
0
0.3
0.3
0
0
0
null
0
0
0
0
0
0
0
0
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
41468b02c4622ae3217f7cbf5b4a0e9fc1f6d5b3
2,909
py
Python
math.py
Neurocam/Math
8734d1fd1ec3bd71c0a9f9d73af804d890f4578c
[ "MIT" ]
null
null
null
math.py
Neurocam/Math
8734d1fd1ec3bd71c0a9f9d73af804d890f4578c
[ "MIT" ]
null
null
null
math.py
Neurocam/Math
8734d1fd1ec3bd71c0a9f9d73af804d890f4578c
[ "MIT" ]
null
null
null
from math import factorial from math import cos from math import radians from math import sin from math import sqrt from math import atan2 from math import degrees from math import gcd import statistics def typeint(value): try: int(value) return True except ValueError: return False de...
22.550388
61
0.584737
471
2,909
3.611465
0.199575
0.037625
0.065844
0.011758
0.463845
0.443857
0.421517
0.421517
0.342152
0.302175
0
0.059768
0.229288
2,909
128
62
22.726563
0.69893
0.199037
0
0.453333
0
0
0.003911
0
0
0
0
0
0
1
0.146667
false
0
0.12
0.04
0.506667
0.013333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
414a16292baab65d63fe1437b8cd4b1e8e8c5d30
1,667
py
Python
testfile.py
sandeepinigithub/IPM
aa4ed033c78880beb854d1fdaeaf25c52ea7a1be
[ "MIT" ]
null
null
null
testfile.py
sandeepinigithub/IPM
aa4ed033c78880beb854d1fdaeaf25c52ea7a1be
[ "MIT" ]
null
null
null
testfile.py
sandeepinigithub/IPM
aa4ed033c78880beb854d1fdaeaf25c52ea7a1be
[ "MIT" ]
null
null
null
def func1(arg1, arg2, **kwargs): print("I am func1 ", arg1, arg2) def func2(arg21, arg22, **kwargs): print(" I am func2", arg21, arg22) FUNC_MAP = { "func1": func1, "func2": func2 } some_arguments = {"arg1": 1, "arg2": 2, "arg21": 3, "arg22": 4} FUNC_MAP["func1"](**some_arguments) FU...
25.646154
135
0.681464
286
1,667
3.944056
0.461538
0.057624
0.031915
0.035461
0.23227
0.23227
0.184397
0.184397
0.14539
0.14539
0
0.061622
0.230954
1,667
65
136
25.646154
0.818253
0.146371
0
0.2
0
0
0.064993
0
0
0
0
0
0
0
null
null
0.025
0
null
null
0.05
0
0
0
null
0
0
0
0
0
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
414d02a160808ed76be5467e56b72fb6c101a4e9
2,046
py
Python
src/catalog_engine/explorer.py
rxng8/Gettysburg-Course-Crawling-System
ba8a4d4b7beec0ed8554d8d9d8c57f26750463ec
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/catalog_engine/explorer.py
rxng8/Gettysburg-Course-Crawling-System
ba8a4d4b7beec0ed8554d8d9d8c57f26750463ec
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/catalog_engine/explorer.py
rxng8/Gettysburg-Course-Crawling-System
ba8a4d4b7beec0ed8554d8d9d8c57f26750463ec
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
""" @file explorer.py @author Alex Nguyen This file contains the classes and methods for the courses api communication Catalog Engine for Gettysburg College (catalog_engine) is the engine which extracts content from Gettysburg website, together with Gettysburg website policies and courses api, ...
31.96875
104
0.630499
241
2,046
5.278008
0.477178
0.055031
0.025157
0.033019
0.083333
0.053459
0
0
0
0
0
0.008621
0.262952
2,046
64
105
31.96875
0.834881
0.438416
0
0.222222
0
0
0.229572
0
0
0
0
0
0
1
0.111111
false
0.037037
0.222222
0
0.518519
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
414fca58004408d4f6170917fec63f675b1cca21
31,091
py
Python
wflow-py/wflow/wflow_lib.py
edwinkost/wflow
ee9291d4b556d7b61f7f13bcb972774be9a16cec
[ "MIT" ]
null
null
null
wflow-py/wflow/wflow_lib.py
edwinkost/wflow
ee9291d4b556d7b61f7f13bcb972774be9a16cec
[ "MIT" ]
null
null
null
wflow-py/wflow/wflow_lib.py
edwinkost/wflow
ee9291d4b556d7b61f7f13bcb972774be9a16cec
[ "MIT" ]
null
null
null
# Copyright (c) J. Schellekens 2005-2011 # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distribut...
30.571288
140
0.615033
4,030
31,091
4.713151
0.194541
0.003264
0.00516
0.004107
0.26898
0.238602
0.217858
0.19464
0.188533
0.183163
0
0.019743
0.286449
31,091
1,016
141
30.601378
0.836421
0.072368
0
0.286822
0
0
0.013919
0
0
0
0
0
0
0
null
null
0
0.033592
null
null
0.020672
0
0
0
null
0
0
0
0
0
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
4154c507d35490074875c368867603b68dd477fd
2,762
py
Python
dlcs_iris_data/tests/expansion_data.py
digirati-co-uk/dlcs-iris-data
5965df944e8cfb8960ca9dfb8330d41cfafe5e56
[ "MIT" ]
null
null
null
dlcs_iris_data/tests/expansion_data.py
digirati-co-uk/dlcs-iris-data
5965df944e8cfb8960ca9dfb8330d41cfafe5e56
[ "MIT" ]
null
null
null
dlcs_iris_data/tests/expansion_data.py
digirati-co-uk/dlcs-iris-data
5965df944e8cfb8960ca9dfb8330d41cfafe5e56
[ "MIT" ]
null
null
null
import json ID1 = "3a569cbc-49a3-4772-bf3d-3d46c4a51d32" TEST_JSON_1 = { "name": "some_name", "values": [ "value1", "value2" ] } SHARED_ID = "2d34bed8-c79a-4f90-b992-f7d3b5bc1308" SHARED_JSON = { "shared_value": "psx" } EXPANSION_JSON = { "services": { "starsky": { ...
21.748031
84
0.338885
174
2,762
5.183908
0.362069
0.033259
0.036585
0.046563
0.517738
0.496674
0.496674
0.496674
0.368071
0.368071
0
0.040208
0.513758
2,762
126
85
21.920635
0.631422
0
0
0.412281
0
0
0.263577
0.026068
0
0
0
0
0
1
0
false
0
0.008772
0
0.008772
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
415fdc25c0b57a21b37be7d53be298db86501a3b
6,484
py
Python
lighthouse/docker_api.py
Nizebulous/lighthouse
e02af152fc8b3bdd2ce55e70eb0cfe7768547113
[ "MIT" ]
null
null
null
lighthouse/docker_api.py
Nizebulous/lighthouse
e02af152fc8b3bdd2ce55e70eb0cfe7768547113
[ "MIT" ]
null
null
null
lighthouse/docker_api.py
Nizebulous/lighthouse
e02af152fc8b3bdd2ce55e70eb0cfe7768547113
[ "MIT" ]
null
null
null
import os from pytz import utc from datetime import datetime from ConfigParser import ConfigParser from docker.utils import kwargs_from_env from docker import Client from werkzeug.local import LocalProxy from flask import Blueprint, current_app, jsonify docker_bp = Blueprint('docker_api', __name__, url_prefix='/api...
28.069264
128
0.625694
812
6,484
4.837438
0.25
0.01833
0.015275
0.015275
0.269857
0.161151
0.074084
0.051935
0.025967
0.025967
0
0.005979
0.252005
6,484
230
129
28.191304
0.803918
0.023442
0
0.185629
0
0
0.076064
0.017802
0
0
0
0.004348
0.005988
0
null
null
0.011976
0.047904
null
null
0.023952
0
0
0
null
0
0
0
0
0
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
4164029157501818d71d7e06321bb12300dca82b
328
py
Python
example_python/__about__.py
ma-al/example-python
8358254f342d07ab9ee62043e251b6b410199b13
[ "MIT" ]
null
null
null
example_python/__about__.py
ma-al/example-python
8358254f342d07ab9ee62043e251b6b410199b13
[ "MIT" ]
null
null
null
example_python/__about__.py
ma-al/example-python
8358254f342d07ab9ee62043e251b6b410199b13
[ "MIT" ]
null
null
null
''' Details about this Python package. ''' __version__ = '1.1.0' __title__ = 'example-python' __author__ = 'Mahathir Almashor' __author_email__ = 'mahathir.almashor@data61.csiro.au' __description__ = 'Example Python repository for Cyber Security Cooperative Research Centre' __url__ = 'https://github.com/ma-al/example-...
29.818182
92
0.771341
40
328
5.7
0.775
0.171053
0
0
0
0
0
0
0
0
0
0.017065
0.106707
328
10
93
32.8
0.761092
0.103659
0
0
0
0
0.629371
0.115385
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
4164ab5e47c1be3e628ac3280f5b1e8711bb7719
3,313
py
Python
localstack/services/opensearch/versions.py
rubencosta/localstack
369f65f1635c09934e23e3dbca54fbdb31cb7b74
[ "Apache-2.0" ]
1
2021-07-11T09:40:53.000Z
2021-07-11T09:40:53.000Z
localstack/services/opensearch/versions.py
rubencosta/localstack
369f65f1635c09934e23e3dbca54fbdb31cb7b74
[ "Apache-2.0" ]
43
2021-09-08T19:03:36.000Z
2021-10-07T01:47:05.000Z
localstack/services/opensearch/versions.py
lambdafunc/localstack
6285b43bec57435a2179310a8de2af8d8d8cf8dd
[ "Apache-2.0" ]
null
null
null
""" Functions for querying opensearch versions and getting download URLs. This script is also runnable to generate the latest install_versions from the github repository tags. Run:: python -m localstack.services.opensearch.versions """ from typing import Dict import semver from localstack.aws.api.opensearch imp...
30.394495
117
0.660127
435
3,313
4.903448
0.347126
0.049226
0.005626
0.024379
0.057196
0.009376
0.009376
0.009376
0.009376
0.009376
0
0.016471
0.230305
3,313
108
118
30.675926
0.82
0.301238
0
0.067797
1
0.016949
0.18113
0.044504
0
0
0
0
0
1
0.050847
false
0.016949
0.118644
0
0.220339
0.033898
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
41682eedd14d49754419ad756ecba865d9d06b57
556
py
Python
downsample.py
fairwell-coding/speech_synthesis
f2fd089d5bef87d2229df63da8614878e6ba1430
[ "Apache-2.0" ]
null
null
null
downsample.py
fairwell-coding/speech_synthesis
f2fd089d5bef87d2229df63da8614878e6ba1430
[ "Apache-2.0" ]
null
null
null
downsample.py
fairwell-coding/speech_synthesis
f2fd089d5bef87d2229df63da8614878e6ba1430
[ "Apache-2.0" ]
null
null
null
import librosa import os import soundfile as sf # Press the green button in the gutter to run the script. if __name__ == '__main__': arr = os.listdir('/Users/DanielZirat/Desktop/aridialect/aridialect_wav22050') for file in arr: filename = '/Users/DanielZirat/Desktop/aridialect/aridialect_wav22050/' +...
32.705882
86
0.715827
73
556
5.30137
0.589041
0.124031
0.178295
0.255814
0.416021
0.416021
0
0
0
0
0
0.043668
0.176259
556
16
87
34.75
0.80131
0.206835
0
0
0
0
0.413242
0.394977
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
4172a00a606c98096f55817348c18ff0b95ebf81
349
py
Python
Datacamp Assignments/Data Engineer Track/2. Streamlined Data Ingestion with pandas/24_counting_groups.py
Ali-Parandeh/Data_Science_Playground
c529e9b3692381572de259e7c93938d6611d83da
[ "MIT" ]
null
null
null
Datacamp Assignments/Data Engineer Track/2. Streamlined Data Ingestion with pandas/24_counting_groups.py
Ali-Parandeh/Data_Science_Playground
c529e9b3692381572de259e7c93938d6611d83da
[ "MIT" ]
null
null
null
Datacamp Assignments/Data Engineer Track/2. Streamlined Data Ingestion with pandas/24_counting_groups.py
Ali-Parandeh/Data_Science_Playground
c529e9b3692381572de259e7c93938d6611d83da
[ "MIT" ]
1
2021-03-10T09:40:05.000Z
2021-03-10T09:40:05.000Z
# Create query to get call counts by complaint_type query = """ SELECT complaint_type, COUNT(*) FROM hpd311calls GROUP BY complaint_type; """ # Create data frame of call counts by issue calls_by_issue = pd.read_sql(query, engine) # Graph the number of calls for each housing issue calls_by_issue.plot.barh(x...
24.928571
51
0.747851
55
349
4.581818
0.618182
0.206349
0.095238
0.134921
0
0
0
0
0
0
0
0.010309
0.166189
349
14
52
24.928571
0.85567
0.401146
0
0
0
0
0.485437
0
0
0
0
0
0
1
0
false
0
0
0
0
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