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
211c75d1ce345663287e561ba0ec949a24fb73b6
3,078
py
Python
workflow/plugins/gcp_plugins/operators/gcs_to_bq_operator_test.py
isabella232/driblet
2d51de919681deca1ca4cb483996c68587fd9ba8
[ "Apache-2.0" ]
22
2019-07-09T08:57:37.000Z
2021-11-14T18:36:17.000Z
workflow/plugins/gcp_plugins/operators/gcs_to_bq_operator_test.py
isabella232/driblet
2d51de919681deca1ca4cb483996c68587fd9ba8
[ "Apache-2.0" ]
17
2019-12-16T22:01:23.000Z
2022-03-01T23:10:23.000Z
workflow/plugins/gcp_plugins/operators/gcs_to_bq_operator_test.py
isabella232/driblet
2d51de919681deca1ca4cb483996c68587fd9ba8
[ "Apache-2.0" ]
8
2019-11-03T20:11:33.000Z
2021-09-15T10:01:02.000Z
# coding=utf-8 # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
37.084337
79
0.747888
437
3,078
4.951945
0.30206
0.085028
0.038817
0.036969
0.132163
0.049908
0.049908
0.049908
0.049908
0.049908
0
0.005045
0.162768
3,078
82
80
37.536585
0.834692
0.225471
0
0.037736
0
0
0.047279
0
0
0
0
0
0.037736
0
null
null
0
0.09434
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
211e63368c92aebb2c6602a2a765f8e7a0d5b4c1
1,793
py
Python
backend/api/character.py
XoriensLair/XoriensLair.github.io
61675ba296ee747a2a0bd729ec50becb6c903a18
[ "MIT" ]
null
null
null
backend/api/character.py
XoriensLair/XoriensLair.github.io
61675ba296ee747a2a0bd729ec50becb6c903a18
[ "MIT" ]
null
null
null
backend/api/character.py
XoriensLair/XoriensLair.github.io
61675ba296ee747a2a0bd729ec50becb6c903a18
[ "MIT" ]
null
null
null
#from api.avrae.cogs5e.sheets.beyond import getJSON as beyond_getJSON from api.avrae.cogs5e.sheets.gsheet import getJSON_gsheet as gsheet_getJSON import json from api.dndutil import * def get_mod(score): modref = { '1':-5, '2-3':-4, '4-5':-3, '6-7':-2, '8-9':-1, '10-...
28.015625
132
0.54657
238
1,793
3.983193
0.378151
0.088608
0.050633
0.037975
0.194093
0.067511
0.067511
0
0
0
0
0.058915
0.280535
1,793
63
133
28.460317
0.675969
0.037925
0
0.038462
0
0
0.100348
0
0
0
0
0
0
1
0.173077
false
0
0.057692
0.115385
0.403846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
2120dd5e1041bd58e6521ba251fa9b98e538fbdf
580
py
Python
UnityPy/Logger.py
hydrargyrum/UnityPy
d119f5a27fa56270630ff40d7762cdf9b4abbac3
[ "MIT" ]
null
null
null
UnityPy/Logger.py
hydrargyrum/UnityPy
d119f5a27fa56270630ff40d7762cdf9b4abbac3
[ "MIT" ]
null
null
null
UnityPy/Logger.py
hydrargyrum/UnityPy
d119f5a27fa56270630ff40d7762cdf9b4abbac3
[ "MIT" ]
null
null
null
import logging import sys from termcolor import colored if sys.platform == 'win32': from colorama import init init() COLORS = { 'DEBUG': 'green', 'INFO': 'yellow', 'WARNING': 'magenta', 'ERROR': 'red', } class ListHandler(logging.Handler): def __init__(self): super().__init__() self.logs = [] def e...
16.111111
42
0.687931
72
580
5.444444
0.527778
0.040816
0
0
0
0
0
0
0
0
0
0.004149
0.168966
580
35
43
16.571429
0.807054
0
0
0
0
0
0.081174
0
0
0
0
0
0
0
null
null
0
0.16
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
21353c8aaa61715f003a31803a7d1e42233e090c
40,928
py
Python
setup.py
LeeKamentsky/build-ilastik-on-windows
3c95d5f48e35d7686222d20145bee08428c1c7d5
[ "BSD-2-Clause" ]
null
null
null
setup.py
LeeKamentsky/build-ilastik-on-windows
3c95d5f48e35d7686222d20145bee08428c1c7d5
[ "BSD-2-Clause" ]
null
null
null
setup.py
LeeKamentsky/build-ilastik-on-windows
3c95d5f48e35d7686222d20145bee08428c1c7d5
[ "BSD-2-Clause" ]
null
null
null
import setuptools import distutils.command.build from distutils.errors import DistutilsSetupError import distutils.sysconfig import distutils.spawn import hashlib import os import re import shutil import StringIO import sys import tarfile import tempfile import urllib2 import urlparse import zipfile # # Things that ne...
38.720908
128
0.582682
4,923
40,928
4.627666
0.113955
0.02897
0.025459
0.019665
0.393995
0.320692
0.236415
0.164516
0.137916
0.099069
0
0.008993
0.301749
40,928
1,056
129
38.757576
0.788194
0.030615
0
0.265607
0
0.007946
0.179139
0.042342
0
0
0
0
0
0
null
null
0
0.026107
null
null
0.001135
0
0
0
null
0
0
0
0
0
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
2136d57032796c382b2bcf676789e3a7dbaf74ca
19,149
py
Python
onlinejudge_template/generator/julia.py
kameyama/template-generator
420a9c787c6f8f6bc7c575f6267b0ef4f1c2c2b0
[ "MIT" ]
null
null
null
onlinejudge_template/generator/julia.py
kameyama/template-generator
420a9c787c6f8f6bc7c575f6267b0ef4f1c2c2b0
[ "MIT" ]
null
null
null
onlinejudge_template/generator/julia.py
kameyama/template-generator
420a9c787c6f8f6bc7c575f6267b0ef4f1c2c2b0
[ "MIT" ]
null
null
null
""" the module to generate Julia code この module は Python のコードを生成します。 ただしmain.pyを元に適当に書き換えたのでうまく生成できない場合があるかもしれません。 以下の関数を提供します。 - :func:`read_input` - :func:`write_output` - :func:`declare_constants` - :func:`formal_arguments` - :func:`actual_arguments` - :func:`return_type` - :func:`return_value` 加えて、ランダムケースの生成のため...
40.656051
193
0.646457
2,293
19,149
5.249891
0.087222
0.031899
0.047848
0.024423
0.678435
0.599767
0.555242
0.538628
0.518275
0.492108
0
0.003519
0.22821
19,149
470
194
40.742553
0.811016
0.025745
0
0.479893
1
0.008043
0.080956
0.013537
0
0
0
0
0.032172
1
0.061662
false
0
0.016086
0
0.276139
0.013405
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
21380f91fe35f66985a11aadbd6ba2faf7888044
1,852
py
Python
index.py
cs-fullstack-2019-fall/python-classobject-review-cw-LilPrice-Code-1
ca26b088252254cebc41b5d7236e887f513652dd
[ "Apache-2.0" ]
null
null
null
index.py
cs-fullstack-2019-fall/python-classobject-review-cw-LilPrice-Code-1
ca26b088252254cebc41b5d7236e887f513652dd
[ "Apache-2.0" ]
null
null
null
index.py
cs-fullstack-2019-fall/python-classobject-review-cw-LilPrice-Code-1
ca26b088252254cebc41b5d7236e887f513652dd
[ "Apache-2.0" ]
null
null
null
def main(): pro1() pro2() # Problem 1: # # Create a Movie class with the following properties/attributes: movieName, rating, and yearReleased. # # Override the default str (to-String) method and implement the code that will print the value of all the properties/attributes of the Movie class # # # Assign a value...
29.396825
148
0.61933
242
1,852
4.673554
0.301653
0.026525
0.02122
0.037135
0.381963
0.381963
0.346596
0.346596
0.346596
0.346596
0
0.015789
0.281857
1,852
63
149
29.396825
0.834586
0.460043
0
0.133333
0
0
0.188272
0
0
0
0
0
0
1
0.233333
false
0
0
0
0.366667
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2142e2114d52df5ead364aee160bbcf0ccdc04e6
4,995
py
Python
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/minigame/BlendActor.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.minigame.BlendActor from direct.interval.MetaInterval import Sequence from direct.interval.MetaInterval import Parallel from dir...
41.625
153
0.673273
431
4,995
7.761021
0.301624
0.055904
0.021525
0.026308
0.266966
0.178774
0.1142
0.1142
0.079522
0.079522
0
0.018543
0.244244
4,995
120
154
41.625
0.86755
0.040641
0
0.287129
0
0
0.01274
0
0
0
0
0
0
0
null
null
0
0.108911
null
null
0.049505
0
0
0
null
0
0
0
0
0
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
2143fa672c59acab513578369d0301062ae5ff0e
10,872
py
Python
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
2
2020-02-11T16:37:03.000Z
2020-03-06T10:49:32.000Z
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
null
null
null
overplot_lags.py
abigailStev/lag_spectra
58742d9a3d82fa117ef397819b59b837265b8ed0
[ "MIT" ]
2
2015-11-19T13:05:17.000Z
2020-03-06T10:51:25.000Z
#!/usr/bin/env """ Plots multiple lag-energy spectra (from different observations, simulations, etc.) on the same plot. Change lag_dir and sim_dir to suit your machine and setup. Example call: python overplot_lag-energy.py cygx1 """ import argparse import subprocess import numpy as np from astropy.io import fits from...
36.979592
128
0.558131
1,434
10,872
4.042538
0.264993
0.01449
0.015525
0.0138
0.377437
0.314473
0.286528
0.245127
0.186993
0.147318
0
0.053891
0.266096
10,872
293
129
37.105802
0.672641
0.281733
0
0.130769
0
0
0.112595
0.037691
0
0
0
0
0
0
null
null
0
0.1
null
null
0.015385
0
0
0
null
0
0
0
0
0
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
214f14a5207071c70160fd6f3b0be764212c9e14
422
py
Python
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
koi/config/vae_mnist_config.py
BouncyButton/koi
309c4c6485d61ad097fc9392c765cd186b7cb483
[ "MIT" ]
null
null
null
from koi.config.vae_config import VAEConfig class MNISTVAEConfig(VAEConfig): def __init__(self, **kwargs): super().__init__(**kwargs) self.x_dim = 784 self.latent_size = 2 self.encoder_layer_sizes = [784, 300, 100] # todo remove first self.decoder_layer_sizes = [100, 300, ...
30.142857
71
0.630332
54
422
4.611111
0.685185
0.056225
0
0
0
0
0
0
0
0
0
0.076923
0.260664
422
14
72
30.142857
0.721154
0.040284
0
0
0
0
0.027228
0
0
0
0
0.071429
0
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
0
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
215098d699d54adea5d7cb74f7c705781808e543
372
py
Python
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
1
2016-05-08T17:54:57.000Z
2016-05-08T17:54:57.000Z
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
null
null
null
examples/vandermonde.py
certik/sympy-oldcore
eb5bd061c309d88cdfb502bfd5df511b30368458
[ "BSD-3-Clause" ]
null
null
null
import sys sys.path.append("..") from sympy import sqrt, symbols, eye w, x, y, z = symbols("wxyz") L = [x,y,z] V = eye(len(L)) for i in range(len(L)): for j in range(len(L)): V[i,j] = L[i]**j det = 1 for i in range(len(L)): det *= L[i]-L[i-1] print "matrix" print V print "det:" print V.det().expand() ...
16.909091
36
0.594086
75
372
2.946667
0.386667
0.072398
0.135747
0.149321
0.135747
0.135747
0
0
0
0
0
0.006734
0.201613
372
21
37
17.714286
0.737374
0
0
0.105263
0
0
0.080645
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.368421
0
0
0
null
0
0
0
0
0
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
2153553196359339fb29feea81a827dad6d4e3e8
3,385
py
Python
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
null
null
null
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
2
2017-02-22T18:27:25.000Z
2018-06-18T21:40:58.000Z
profile_xf23id2bs/startup/10-machine.py
NSLS-II-CSX/xf23id2_profiles
7bfd3aa5c617e4b145b40933608eafe551f215a4
[ "BSD-3-Clause" ]
3
2017-02-22T18:19:59.000Z
2018-08-31T16:20:17.000Z
from ophyd import EpicsMotor, PVPositioner, PVPositionerPC, EpicsSignal, EpicsSignalRO, Device from ophyd import Component as Cpt, FormattedComponent as FmCpt # Undulator class GapMotor1(PVPositionerPC): readback = Cpt(EpicsSignalRO, 'Pos-I') setpoint = Cpt(EpicsSignal, 'Pos-SP') stop_signal = FmCpt(Epics...
36.397849
94
0.58257
437
3,385
4.430206
0.23341
0.03719
0.033058
0.045455
0.554752
0.530992
0.530992
0.530992
0.46281
0.413223
0
0.041352
0.257016
3,385
92
95
36.793478
0.728429
0.338257
0
0.340426
0
0
0.183461
0.066878
0
0
0
0
0
1
0
false
0
0.042553
0
0.87234
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
2154ec2471f6fa3ff03b5c747051552bb06f618f
449
py
Python
accounts/admin.py
simpledatatools/django-starter-api
6c11b9a236230e47b8358ef9fbaae550002bb1a8
[ "MIT" ]
1
2022-02-25T18:39:44.000Z
2022-02-25T18:39:44.000Z
accounts/admin.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
null
null
null
accounts/admin.py
prateekmohanty63/microfinance
39839c0d378be4ccc40a9dde5dc38a10773a38a1
[ "MIT" ]
1
2022-02-24T13:17:20.000Z
2022-02-24T13:17:20.000Z
from django.contrib import admin from .models import CustomUser from django.contrib.auth.admin import UserAdmin class CustomUserAdmin(UserAdmin): model = CustomUser fieldsets = ( *UserAdmin.fieldsets, ) list_display = ('email', 'first_name', 'last_name', 'is_staff', 'is_active',) search_...
24.944444
81
0.706013
51
449
6.019608
0.529412
0.065147
0.110749
0.110749
0
0
0
0
0
0
0
0
0.169265
449
17
82
26.411765
0.823056
0
0
0
0
0
0.162584
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
215c1b73c79d715648cf7f009f7c23a8bfe11e9d
3,374
bzl
Python
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
1
2020-03-20T08:51:18.000Z
2020-03-20T08:51:18.000Z
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
null
null
null
repositories.bzl
prehistoric-penguin/prometheus-cpp
2eba2847b13b1144ff7331cc7e1a7343ceb27a0f
[ "MIT" ]
null
null
null
_PROMETHEUS_CLIENT_MODEL_BUILD_FILE = """ licenses(["notice"]) # BSD license load("@com_google_protobuf//:protobuf.bzl", "cc_proto_library") cc_proto_library( name = "prometheus_client_model", srcs = ["metrics.proto"], default_runtime = "@com_google_protobuf//:protobuf", protoc = "@com_google_protobu...
25.179104
84
0.593361
326
3,374
5.825153
0.291411
0.07109
0.077409
0.037915
0.153239
0.031596
0
0
0
0
0
0.063081
0.267042
3,374
133
85
25.368421
0.704812
0
0
0.363636
0
0.024793
0.614404
0.172496
0
0
0
0
0
1
0.049587
false
0
0
0
0.049587
0
0
0
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
216944bc1ade0040eed2f392a6b52e0c45059445
3,445
py
Python
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day18/test_day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
from advent.common import utils from .day import part1, part2 from .number import SnailInt, SnailNumber, SnailPair def test_parse1(): input = "[1,2]" expected = SnailPair(SnailInt(1), SnailInt(2)) result = SnailNumber.from_str(input) assert result == expected def test_parse1a(): input = "[10,12...
29.444444
100
0.63135
492
3,445
4.288618
0.134146
0.149289
0.179147
0.163507
0.722275
0.650711
0.6109
0.589573
0.552133
0.415166
0
0.074695
0.16836
3,445
116
101
29.698276
0.66178
0
0
0.445783
0
0.036145
0.153556
0.11611
0
0
0
0
0.192771
1
0.192771
false
0
0.036145
0
0.228916
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
dccf13a2d3c43a0138e2d1dfdb3119a402dd9a6f
7,897
py
Python
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
null
null
null
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
2
2018-06-10T04:44:16.000Z
2018-06-14T18:11:46.000Z
eazy.py
tddesjardins/image-stacking
a9477987b7d267d6604deafaf0080794193264eb
[ "Unlicense" ]
null
null
null
import pandas as pd from astropy.table import Table import pdb,os import matplotlib.pyplot as plt import threedhst.eazyPy as eazy import numpy as np from astropy.stats.funcs import biweight_location as bl from astropy.stats.funcs import biweight_midvariance as bs flux={'cB':'fB1','kB':'fB1','V':'fV1','R':'fR1','I':'fI...
36.224771
136
0.595416
1,146
7,897
4.034031
0.260908
0.022064
0.024227
0.02812
0.306078
0.27082
0.212632
0.144711
0.144711
0.131733
0
0.048415
0.181335
7,897
217
137
36.391705
0.666667
0.004812
0
0.179012
0
0
0.143694
0
0
0
0
0
0
0
null
null
0
0.049383
null
null
0.006173
0
0
0
null
0
0
0
0
0
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
dcd52bc300b5c8c984d399df10df6360c5a1fbf3
1,151
py
Python
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
198
2019-08-16T15:09:23.000Z
2022-03-30T12:44:00.000Z
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
13
2021-01-07T10:15:19.000Z
2022-03-29T13:01:47.000Z
qf_lib/plotting/charts/heatmap/color_bar.py
webclinic017/qf-lib
96463876719bba8a76c8269cef76addf3a2d836d
[ "Apache-2.0" ]
29
2019-08-16T15:21:28.000Z
2022-02-23T09:53:49.000Z
# Copyright 2016-present CERN – European Organization for Nuclear Research # # 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...
41.107143
109
0.721981
157
1,151
5.152866
0.630573
0.074166
0.032138
0.039555
0
0
0
0
0
0
0
0.008667
0.198089
1,151
27
110
42.62963
0.866739
0.580365
0
0
0
0
0.025862
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
dcd5ea4327eaa7ba736fe1d45c3f903efcd52cd3
5,401
py
Python
lib/evernote/edam/limits/constants.py
zapier/zapier-evernote-sdk-python-old
a95444969c2ae00ea573b4af35c9c851a40a4813
[ "Apache-2.0", "BSD-2-Clause" ]
9
2015-01-08T17:48:50.000Z
2017-08-11T00:24:38.000Z
lib/evernote/edam/limits/constants.py
zapier/zapier-evernote-sdk-python-old
a95444969c2ae00ea573b4af35c9c851a40a4813
[ "Apache-2.0", "BSD-2-Clause" ]
1
2015-07-25T09:41:50.000Z
2015-07-25T15:40:18.000Z
lib/evernote/edam/limits/constants.py
mindprince/pinboardToEvernote
4dd2b462f4100853c66ab433c0e94533863f2352
[ "Apache-2.0" ]
1
2021-09-08T09:31:43.000Z
2021-09-08T09:31:43.000Z
# # Autogenerated by Thrift Compiler (0.5.0-en-262021) # # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING # # options string: py:new_style # from thrift.Thrift import TType, TMessageType, TException, TApplicationException from ttypes import * EDAM_ATTRIBUTE_LEN_MIN = 1 EDAM_ATTRIBUTE_LEN_MAX = 4096...
39.423358
141
0.733383
922
5,401
3.852495
0.191974
0.037162
0.023649
0.021959
0.273649
0.11205
0.100507
0.096284
0.077703
0.072917
0
0.063966
0.076652
5,401
136
142
39.713235
0.648286
0.026847
0
0.015748
1
0.094488
0.282393
0.227325
0
0
0
0
0
1
0
false
0.023622
0.015748
0
0.015748
0
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
dcd956d859b1b4126c88e2fcc1d30c3967daf4d3
317
py
Python
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
1
2022-03-03T12:04:23.000Z
2022-03-03T12:04:23.000Z
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
null
null
null
tester.py
jonah-sullivan/language-server-presentation
343c42382eb0a9caad2881ea9141b3f5eca9450a
[ "CC0-1.0" ]
null
null
null
from twoInts import add_two_ints import typing firstInt = 5 secondInt = 2 additionOutput = add_two_ints(firstInt, secondInt) print(f"firstInt: {firstInt}, secondInt: {secondInt}") print(f"additionOutput: {additionOutput}") print("addTwoInts.__doc__", add_two_ints.__doc__) add_two_ints(1, 2) add_two_ints(1, "a")
21.133333
54
0.776025
45
317
5.066667
0.4
0.131579
0.219298
0.114035
0
0
0
0
0
0
0
0.017544
0.100946
317
14
55
22.642857
0.782456
0
0
0
0
0
0.299685
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.3
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
dcda06fca71ac791b2cd5f224de59dc2d3b33b14
1,966
py
Python
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
1,074
2015-01-02T07:52:35.000Z
2022-03-28T08:58:55.000Z
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
273
2015-01-02T19:49:30.000Z
2021-12-15T11:02:53.000Z
glumpy/ext/freetype/ft_enums/ft_render_modes.py
antoineMoPa/glumpy
901df7eb37cd728c2fe7e54920392b700b46c0ac
[ "BSD-3-Clause" ]
235
2015-07-20T09:42:42.000Z
2021-12-06T18:12:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # # FreeType high-level python API - Copyright 2011-2012 Nicolas P. Rougier # Distributed under the terms of the new BSD license. # # ----------------------------------------------------------...
33.896552
79
0.682096
290
1,966
4.437931
0.431034
0.087024
0.111888
0.04662
0.25641
0.231546
0.158508
0.113442
0.057498
0.057498
0
0.015763
0.193286
1,966
57
80
34.491228
0.795712
0.854018
0
0
0
0
0.3391
0.072664
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dcdaeb321a2d41ba91fe6e7a27a8591de912bd95
1,349
py
Python
bpmn/views/event_view.py
marcelobbfonseca/SFDjango-BPMN
50565763414f52d9e84004494cf550c6fe2358fa
[ "MIT" ]
1
2021-09-22T02:04:07.000Z
2021-09-22T02:04:07.000Z
bpmn/views/event_view.py
VSSantana/SFDjango-BPMN
e5a3fb8da9282fd88f72a85a4b34d89d38391e36
[ "MIT" ]
5
2021-09-22T13:54:06.000Z
2021-09-22T14:05:56.000Z
bpmn/views/event_view.py
marcelobbfonseca/SFDjango-BPMN
50565763414f52d9e84004494cf550c6fe2358fa
[ "MIT" ]
1
2021-09-18T01:22:25.000Z
2021-09-18T01:22:25.000Z
from django.views.generic.base import TemplateView from django.views.generic.edit import UpdateView, DeleteView, FormView from django.urls import reverse_lazy from django.http import HttpResponseRedirect from ..models import Event from ..forms import EventForm class EventView(TemplateView): template_name = "bpmn...
25.942308
70
0.697554
161
1,349
5.63354
0.354037
0.066152
0.070562
0.092613
0.145535
0.145535
0.112459
0.112459
0.112459
0.112459
0
0
0.203855
1,349
51
71
26.45098
0.844507
0
0
0.151515
0
0
0.113417
0.065975
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
dcdde9a31ea174b05d5ac70e403cbbcd1fb9ab3b
2,989
py
Python
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
null
null
null
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
null
null
null
tools/linphone-sample.py
garronej/linphone
f61a337f5363b991d6e866a6aa7d303658c04073
[ "BSD-2-Clause" ]
1
2021-03-17T10:04:06.000Z
2021-03-17T10:04:06.000Z
#!/usr/bin/env python import logging import signal import time import linphone class SecurityCamera: def __init__(self, username='', password='', whitelist=[], camera='', snd_capture='', snd_playback=''): self.quit = False self.whitelist = whitelist callbacks = linphone.Factory.get().creat...
41.513889
181
0.668786
374
2,989
5.088235
0.326203
0.07567
0.029427
0.025223
0.055702
0
0
0
0
0
0
0.006496
0.227501
2,989
71
182
42.098592
0.81767
0.024757
0
0
0
0
0.071429
0.03331
0
0
0.003434
0
0
1
0.103448
false
0.086207
0.068966
0
0.189655
0
0
0
0
null
0
0
0
0
0
0
0
0
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
dce0c50e458be59e923eedd9c95b66857cc10f8f
1,820
py
Python
mihifepe/feature.py
cloudbopper/feature-importance-analysis
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
1
2019-11-01T12:31:45.000Z
2019-11-01T12:31:45.000Z
mihifepe/feature.py
cloudbopper/feature-importance-analysis
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
10
2018-11-14T17:44:39.000Z
2020-01-02T03:25:14.000Z
mihifepe/feature.py
cloudbopper/mihifepe
7f03e4413d1e42e9265d790cb64c41f34dbea5ab
[ "MIT" ]
3
2018-11-14T04:17:17.000Z
2020-01-04T20:32:00.000Z
"""Feature class""" import anytree import cityhash import numpy as np from mihifepe import constants # pylint: disable = too-many-instance-attributes class Feature(anytree.Node): """Class representing feature/feature group""" def __init__(self, name, **kwargs): super().__init__(name) self.par...
32.5
95
0.656044
221
1,820
5.239819
0.361991
0.060449
0.07772
0.043178
0
0
0
0
0
0
0
0.002839
0.225824
1,820
55
96
33.090909
0.819021
0.206593
0
0.085714
0
0
0.008584
0
0
0
0
0
0.028571
1
0.228571
false
0
0.114286
0
0.514286
0
0
0
0
null
0
0
0
0
0
0
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
dcea809f24c7a2aad0a5248fa551dcc279ce1cac
367
py
Python
data processing/data/merge_data.py
RayL0707/Finance_KG
c4614bfb12a7ce20e05b42ab81ab6038ab5143f4
[ "MIT" ]
null
null
null
data processing/data/merge_data.py
RayL0707/Finance_KG
c4614bfb12a7ce20e05b42ab81ab6038ab5143f4
[ "MIT" ]
null
null
null
data processing/data/merge_data.py
RayL0707/Finance_KG
c4614bfb12a7ce20e05b42ab81ab6038ab5143f4
[ "MIT" ]
null
null
null
def merge(): s = set() for i in range(10): filename = 'table'+str(i)+".txt" file_object = open('table'+str(i)+".txt",'r').read() table = file_object.split() for c in table: s.add(c) print(len(s)) file_object = open("merge_table3.txt",'w') file_text = "" for i in s: file_text += i + " " file_object....
20.388889
54
0.615804
62
367
3.5
0.451613
0.230415
0.0553
0.110599
0
0
0
0
0
0
0
0.009967
0.179837
367
18
55
20.388889
0.710963
0
0
0
0
0
0.100817
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.0625
0.0625
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
dcedcc270063f96de05822968d44edd696574450
10,531
py
Python
src/python/peak_functions.py
alexjgriffith/alpha-score
a262a79523c796078506f88db5ee6c6a60c0b8d0
[ "BSD-3-Clause" ]
null
null
null
src/python/peak_functions.py
alexjgriffith/alpha-score
a262a79523c796078506f88db5ee6c6a60c0b8d0
[ "BSD-3-Clause" ]
null
null
null
src/python/peak_functions.py
alexjgriffith/alpha-score
a262a79523c796078506f88db5ee6c6a60c0b8d0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python2.7 # # This file is part of peakAnalysis, http://github.com/alexjgriffith/peaks/, # and is Copyright (C) University of Ottawa, 2014. It is Licensed under # the three-clause BSD License; see doc/LICENSE.txt. # Contact: griffitaj@gmail.com # # Created : AU1862014 # File : peak_functions # Autho...
28.462162
82
0.567183
1,410
10,531
4.182979
0.213475
0.018311
0.009156
0.008477
0.186504
0.15056
0.12411
0.116141
0.096473
0.060359
0
0.0147
0.302345
10,531
369
83
28.539295
0.788077
0.070459
0
0.243028
0
0.003984
0.017904
0
0
0
0
0
0
0
null
null
0
0.023904
null
null
0.007968
0
0
0
null
0
0
0
0
0
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
dcf12e78cd43b62ae889013cd4f3dacacb7cb0bc
410
py
Python
ants/utils/jsonextends.py
wcong/scale-crawl
52918d18c94a9a69c3b2495286e3384ba57ad6f8
[ "BSD-3-Clause" ]
18
2015-01-16T02:25:03.000Z
2018-11-18T03:47:07.000Z
ants/utils/jsonextends.py
wcong/ants
52918d18c94a9a69c3b2495286e3384ba57ad6f8
[ "BSD-3-Clause" ]
15
2015-01-12T02:28:23.000Z
2015-02-03T03:41:07.000Z
ants/utils/jsonextends.py
wcong/scale-crawl
52918d18c94a9a69c3b2495286e3384ba57ad6f8
[ "BSD-3-Clause" ]
5
2015-01-22T12:38:38.000Z
2019-06-07T14:35:07.000Z
__author__ = 'wcong' import json import datetime class JSON(json.JSONEncoder): def default(self, o): o_type = type(o) if o_type == datetime.datetime: return o.strftime('%Y-%m-%d %H:%M:%S') elif o_type == datetime.date: return o.strftime('%Y-%m-%d') elif has...
24.117647
50
0.543902
54
410
3.851852
0.481481
0.072115
0.125
0.153846
0.173077
0.173077
0
0
0
0
0
0
0.317073
410
17
51
24.117647
0.742857
0
0
0
0
0
0.092457
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0d092644246b35d8dfc64fca71163cf2d39cf763
41,824
py
Python
python3/Ecc.py
sebastien-riou/EccToys
3ab5c88ef45282795c6aeb0bab0756287cb542cf
[ "Apache-2.0" ]
null
null
null
python3/Ecc.py
sebastien-riou/EccToys
3ab5c88ef45282795c6aeb0bab0756287cb542cf
[ "Apache-2.0" ]
null
null
null
python3/Ecc.py
sebastien-riou/EccToys
3ab5c88ef45282795c6aeb0bab0756287cb542cf
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 from hashlib import sha256 import hmac import binascii from collections import namedtuple Point = namedtuple("Point", "x y") #E : y 2 + a 1 xy + a 3 y = x 3 + a 2 x 2 + a 4 x + a 6 Curve = namedtuple("Curve", "a1 a3 a2 a4 a6") def CurveToString(curve): out = "y2" if curve.a1: i...
37.849774
199
0.638581
4,275
41,824
6.108772
0.117661
0.018265
0.010722
0.013211
0.289833
0.251733
0.229638
0.214742
0.201034
0.176412
0
0.269217
0.255045
41,824
1,104
200
37.884058
0.568476
0.071801
0
0.377926
0
0
0.016183
0
0
0
0.237753
0
0.054627
1
0.063545
false
0
0.004459
0.015608
0.143813
0.035674
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0d0969bbcbec21f2ea03d898592c045dca79690c
4,652
py
Python
stock/migrations/0005_auto_20200909_1547.py
zhou-en/turf_portal
2424ac15248c9f1c0fa4f65ca18fe0ea71d7ff4e
[ "MIT" ]
null
null
null
stock/migrations/0005_auto_20200909_1547.py
zhou-en/turf_portal
2424ac15248c9f1c0fa4f65ca18fe0ea71d7ff4e
[ "MIT" ]
47
2020-10-14T21:54:35.000Z
2022-02-25T05:21:39.000Z
stock/migrations/0005_auto_20200909_1547.py
zhou-en/turf_portal
2424ac15248c9f1c0fa4f65ca18fe0ea71d7ff4e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-09 15:47 from django.db import migrations, models import django.db.models.deletion import django_extensions.db.fields class Migration(migrations.Migration): dependencies = [ ('stock', '0004_auto_20200908_1407'), ] operations = [ migrations.CreateMo...
41.168142
158
0.576526
430
4,652
6.081395
0.213953
0.034417
0.04283
0.067304
0.615679
0.595794
0.458509
0.458509
0.458509
0.458509
0
0.01294
0.285684
4,652
112
159
41.535714
0.773999
0.009673
0
0.603774
1
0
0.128339
0.004995
0
0
0
0
0
1
0
false
0
0.028302
0
0.056604
0
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
0d1213b55876a1f2a9e42dbe712806a7f20ed144
4,711
py
Python
onboarding-common/src/test/resources/model_pb2.py
fabiojna02/on-boarding
92a03ba99da144177404b3cdb3f409dc63d87077
[ "Apache-2.0" ]
3
2018-05-02T05:15:47.000Z
2021-04-16T16:09:48.000Z
onboarding-common/src/test/resources/model_pb2.py
fabiojna02/on-boarding
92a03ba99da144177404b3cdb3f409dc63d87077
[ "Apache-2.0" ]
1
2021-06-15T10:45:35.000Z
2021-06-15T10:45:35.000Z
onboarding-common/src/test/resources/model_pb2.py
fabiojna02/on-boarding
92a03ba99da144177404b3cdb3f409dc63d87077
[ "Apache-2.0" ]
4
2018-05-30T23:33:32.000Z
2021-01-13T13:32:04.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: model_pb2.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _ref...
32.715278
427
0.727234
612
4,711
5.328431
0.222222
0.056424
0.049678
0.034345
0.543392
0.48942
0.48942
0.48942
0.48942
0.460595
0
0.042327
0.142433
4,711
143
428
32.944056
0.764851
0.053067
0
0.6
1
0.008333
0.157836
0.094297
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
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
0d127119d73c7030ec7f9cc2898f2e3a301807d8
598
py
Python
prtsc.py
xulu199705/RT_Check
9f1ade3bca18cf720839c182bd0e772ce0dc6212
[ "MIT" ]
null
null
null
prtsc.py
xulu199705/RT_Check
9f1ade3bca18cf720839c182bd0e772ce0dc6212
[ "MIT" ]
null
null
null
prtsc.py
xulu199705/RT_Check
9f1ade3bca18cf720839c182bd0e772ce0dc6212
[ "MIT" ]
null
null
null
from PyQt5.QtWidgets import QApplication from PyQt5.QtGui import * import win32gui import sys import json import get_hwnd import get_time f = open('setting.json', encoding='utf-8') setting_data = json.loads(f.read()) # 根据title截图 def prtsc(title): hwnd = win32gui.FindWindow(None, title) app = QApplication(sys...
23
82
0.732441
82
598
5.182927
0.512195
0.049412
0.065882
0
0
0
0
0
0
0
0
0.013619
0.140468
598
25
83
23.92
0.81323
0.048495
0
0
0
0
0.144876
0.114841
0
0
0
0
0
1
0.111111
false
0
0.388889
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0d1c477919b18db1aa360b14fced79bbd1b06be3
3,173
py
Python
social_scrapper/spiders/mecenova_spider.py
Ptival/social_scrapper
62631f4c3c34f84990937fe8d917f512c958b41e
[ "BSD-2-Clause-FreeBSD" ]
1
2016-11-08T17:00:33.000Z
2016-11-08T17:00:33.000Z
social_scrapper/spiders/mecenova_spider.py
Ptival/social_scrapper
62631f4c3c34f84990937fe8d917f512c958b41e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
social_scrapper/spiders/mecenova_spider.py
Ptival/social_scrapper
62631f4c3c34f84990937fe8d917f512c958b41e
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# coding=utf-8 from scrapy import log from scrapy.spider import BaseSpider from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor from scrapy.http import Request from scrapy.selector import HtmlXPathSelector from social_scrapper.items import OpportunityItem import re import string class MecenovaSpider(BaseS...
39.6625
79
0.600378
383
3,173
4.835509
0.29765
0.059395
0.041577
0.061555
0.288877
0.174406
0.143629
0.107991
0.107991
0.107991
0
0.009909
0.236685
3,173
79
80
40.164557
0.754748
0.035613
0
0.0625
0
0
0.215455
0.036018
0
0
0
0.012658
0
1
0.046875
false
0
0.125
0
0.28125
0
0
0
0
null
0
0
0
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
0d226d1f6cfd99b44cb7009663d19a87f591f745
740
py
Python
setup.py
vishalbelsare/conjugate_prior
9b1c623643d74f2fca1b08ccc5aa9f82a5152afa
[ "MIT" ]
44
2017-09-27T13:02:23.000Z
2022-03-27T11:54:58.000Z
setup.py
vishalbelsare/conjugate_prior
9b1c623643d74f2fca1b08ccc5aa9f82a5152afa
[ "MIT" ]
5
2018-01-11T22:09:39.000Z
2022-03-02T18:41:41.000Z
setup.py
vishalbelsare/conjugate_prior
9b1c623643d74f2fca1b08ccc5aa9f82a5152afa
[ "MIT" ]
8
2017-11-16T22:16:10.000Z
2022-03-02T16:59:22.000Z
from distutils.core import setup setup( name="conjugate_prior", packages=["conjugate_prior"], install_requires=[ 'setuptools', 'scipy', 'numpy', 'matplotlib', ], long_description="https://github.com/urigoren/conjugate_prior/blob/master/README.md", long_descriptio...
32.173913
115
0.660811
73
740
6.561644
0.69863
0.146138
0.058455
0.091858
0.150313
0.150313
0
0
0
0
0
0.004975
0.185135
740
22
116
33.636364
0.789386
0
0
0
0
0
0.474324
0
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
0
0
0
0
null
0
0
0
0
0
0
0
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
0d25e78273bf0fb2530639adedc0b08ba41c54b5
7,412
py
Python
formation/migrations/0001_initial.py
ahemery/formation_usagers
eb50682db798922ec393050624c4cbd3bb23675a
[ "Apache-2.0" ]
null
null
null
formation/migrations/0001_initial.py
ahemery/formation_usagers
eb50682db798922ec393050624c4cbd3bb23675a
[ "Apache-2.0" ]
null
null
null
formation/migrations/0001_initial.py
ahemery/formation_usagers
eb50682db798922ec393050624c4cbd3bb23675a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-22 09:06 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Create...
38.806283
125
0.527253
632
7,412
6.061709
0.170886
0.074393
0.089272
0.119029
0.660924
0.60402
0.495693
0.480553
0.480553
0.427304
0
0.012556
0.333783
7,412
190
126
39.010526
0.763264
0.008904
0
0.543956
1
0
0.126379
0
0
0
0
0
0
1
0
false
0
0.016484
0
0.038462
0
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
0d29d6a3791f034f1468053cbd3889c90964d234
6,421
py
Python
lib/bot.py
Simplicitus/YouTube-Comment-Bot
66e89f5f19d4dc815efb97e705d2fa8ed1795659
[ "MIT" ]
3
2019-12-06T21:19:01.000Z
2021-05-09T02:10:50.000Z
lib/bot.py
Simplicitus/YouTube-Comment-Bot
66e89f5f19d4dc815efb97e705d2fa8ed1795659
[ "MIT" ]
1
2020-06-24T03:59:46.000Z
2020-06-24T13:18:05.000Z
lib/bot.py
Simplicitus/YouTube-Comment-Bot
66e89f5f19d4dc815efb97e705d2fa8ed1795659
[ "MIT" ]
3
2021-03-01T06:40:48.000Z
2021-11-16T14:52:04.000Z
import time import random import selenium from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import NoSuchElementException def yout...
32.429293
252
0.633858
757
6,421
5.231176
0.30251
0.017172
0.051515
0.057576
0.213636
0.156313
0.143182
0.123485
0.123485
0.123485
0
0.012223
0.248248
6,421
197
253
32.593909
0.808162
0.114935
0
0.09322
0
0.016949
0.163247
0.034262
0
0
0
0
0.008475
1
0.076271
false
0.084746
0.067797
0
0.20339
0.076271
0
0
0
null
0
0
0
0
0
0
0
0
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
0d2abaf7d4625450ee48b619ae33cd5c8bf035ab
369
py
Python
program3solution/kargsexample.py
dpocheng/Python-Data-Structure-of-Python
66b99fa41f831e8c3089e4e2fd664a7ef3268e5e
[ "Apache-2.0" ]
null
null
null
program3solution/kargsexample.py
dpocheng/Python-Data-Structure-of-Python
66b99fa41f831e8c3089e4e2fd664a7ef3268e5e
[ "Apache-2.0" ]
null
null
null
program3solution/kargsexample.py
dpocheng/Python-Data-Structure-of-Python
66b99fa41f831e8c3089e4e2fd664a7ef3268e5e
[ "Apache-2.0" ]
null
null
null
# kargs example print('Demonstrating how kargs works in functions') def f(**kargs): # prints dict print ('\nkargs =',kargs) # raises exception # equivalent to calling print(a=1,b=2) order of arguments based on dict d = dict(a=1,b=2) print (**d) #Call successfully (watch what i...
26.357143
76
0.612466
58
369
3.896552
0.62069
0.026549
0.039823
0.035398
0
0
0
0
0
0
0
0.017668
0.233062
369
14
77
26.357143
0.780919
0.414634
0
0
0
0
0.272727
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
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
0d30ba0c9547dae71e9f9210ae262d6b86afc144
480
py
Python
intake/migrations/0031_add_view_app_stats_permission.py
cforlando/intake
a5233d5c0f862f28ee265b9b4831405aabeec7e2
[ "MIT" ]
51
2016-07-20T02:26:57.000Z
2021-07-07T14:45:06.000Z
intake/migrations/0031_add_view_app_stats_permission.py
enterstudio/intake
793a8935914fdc8356321ec46e54d9ae1eeeee04
[ "MIT" ]
1,091
2016-04-29T18:07:45.000Z
2021-04-19T18:39:39.000Z
intake/migrations/0031_add_view_app_stats_permission.py
enterstudio/intake
793a8935914fdc8356321ec46e54d9ae1eeeee04
[ "MIT" ]
24
2016-06-14T18:10:43.000Z
2021-11-14T20:26:39.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-12-04 00:00 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('intake', '0030_add_visitor_model'), ] operations = [ migrations.AlterModelOptions( ...
24
112
0.639583
52
480
5.711538
0.846154
0
0
0
0
0
0
0
0
0
0
0.057377
0.2375
480
19
113
25.263158
0.754098
0.141667
0
0
1
0
0.271394
0.05379
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0d34eb346bb9dfbe63517e654bace4e32c34725e
347
py
Python
vaccinate/core/migrations/0113_populate_last_imported_at.py
MoralCode/vial
cdaaab053a9cf1cef40104a2cdf480b7932d58f7
[ "MIT" ]
7
2021-06-28T17:33:47.000Z
2022-02-12T21:54:59.000Z
vaccinate/core/migrations/0113_populate_last_imported_at.py
MoralCode/vial
cdaaab053a9cf1cef40104a2cdf480b7932d58f7
[ "MIT" ]
104
2021-06-17T21:25:30.000Z
2022-03-28T14:21:57.000Z
vaccinate/core/migrations/0113_populate_last_imported_at.py
MoralCode/vial
cdaaab053a9cf1cef40104a2cdf480b7932d58f7
[ "MIT" ]
1
2021-06-25T17:52:23.000Z
2021-06-25T17:52:23.000Z
from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("core", "0112_sourcelocation_last_imported_at"), ] operations = [ migrations.RunSQL( sql="update source_location set last_imported_at = created_at", reverse_sql=migrations.Ru...
21.6875
75
0.642651
34
347
6.294118
0.705882
0.11215
0.130841
0
0
0
0
0
0
0
0
0.015748
0.268012
347
15
76
23.133333
0.826772
0
0
0
0
0
0.276657
0.103746
0
0
0
0
0
1
0
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0d3675ca0a5f53791722399a192cdf57f9d7f538
2,539
py
Python
extra/fibfrog.py
lsbardel/mathfun
98e7c210409c2b5777e91059c3651cef4f3045dd
[ "BSD-3-Clause" ]
null
null
null
extra/fibfrog.py
lsbardel/mathfun
98e7c210409c2b5777e91059c3651cef4f3045dd
[ "BSD-3-Clause" ]
null
null
null
extra/fibfrog.py
lsbardel/mathfun
98e7c210409c2b5777e91059c3651cef4f3045dd
[ "BSD-3-Clause" ]
null
null
null
""" A small frog wants to get to the other side of a river. The frog is initially located at one bank of the river (position −1) and wants to get to the other bank (position N). The frog can jump over any distance F(K), where F(K) is the K-th Fibonacci number. Luckily, there are many leaves on the river, and the frog c...
30.22619
396
0.64041
490
2,539
3.312245
0.310204
0.017252
0.036969
0.032039
0.261245
0.21565
0.14541
0.14541
0.14541
0.097351
0
0.047978
0.269397
2,539
83
397
30.590361
0.824259
0.833005
0
0.095238
0
0
0.019231
0
0
0
0
0
0
1
0.095238
false
0
0
0
0.095238
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0d37601c36fc07b6996503d8e3a5bf10dc917cf4
499
py
Python
src/olympia/hero/migrations/0012_auto_20200709_0316.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
843
2016-02-09T13:00:37.000Z
2022-03-20T19:17:06.000Z
src/olympia/hero/migrations/0012_auto_20200709_0316.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
10,187
2016-02-05T23:51:05.000Z
2022-03-31T15:24:44.000Z
src/olympia/hero/migrations/0012_auto_20200709_0316.py
shashwatsingh/addons-server
8fce98901104349055a828b5a47865f5e8f4120b
[ "BSD-3-Clause" ]
551
2016-02-08T20:32:16.000Z
2022-03-15T16:49:24.000Z
# Generated by Django 2.2.14 on 2020-07-09 03:16 from django.db import migrations, models import olympia.hero.models class Migration(migrations.Migration): dependencies = [ ('hero', '0011_auto_20200624_1809'), ] operations = [ migrations.AlterField( model_name='primaryheroim...
24.95
122
0.661323
57
499
5.631579
0.684211
0.068536
0.105919
0
0
0
0
0
0
0
0
0.083551
0.232465
499
19
123
26.263158
0.754569
0.092184
0
0
1
0
0.159645
0.050998
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
0d378d1920e988479dd11424edf919287eb9238f
5,512
py
Python
bindings/pydrake/__init__.py
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
bindings/pydrake/__init__.py
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
bindings/pydrake/__init__.py
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
""" Python bindings for `Drake: Model-Based Design and Verification for Robotics <https://drake.mit.edu/>`_. This Python API documentation is a work in progress. Most of it is generated automatically from the C++ API documentation, and thus may have some C++-specific artifacts. For general overview and API documentati...
39.654676
79
0.719884
782
5,512
4.863171
0.397698
0.031554
0.015777
0.012622
0.022614
0
0
0
0
0
0
0.018036
0.185232
5,512
138
80
39.942029
0.828769
0.427068
0
0.067568
1
0
0.252408
0.029223
0
0
0
0
0.013514
1
0.067568
false
0.027027
0.189189
0.013514
0.351351
0
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
0d41c887cb9f6706361db0802341cfc70a71a865
267
py
Python
Code/square.py
CompBiochBiophLab/IntroBioinfo
ddbfb45f6cbcede2e10b589e3d6dab840cccb484
[ "MIT" ]
null
null
null
Code/square.py
CompBiochBiophLab/IntroBioinfo
ddbfb45f6cbcede2e10b589e3d6dab840cccb484
[ "MIT" ]
null
null
null
Code/square.py
CompBiochBiophLab/IntroBioinfo
ddbfb45f6cbcede2e10b589e3d6dab840cccb484
[ "MIT" ]
null
null
null
#! /usr/bin/python """square.py -- Make some noise about a square. """ class Square: def __init__(self, length, width): self.length = length self.width = width def area(self): return self.length * self.width my_square = Square(5, 2) print my_square.area()
17.8
47
0.685393
41
267
4.317073
0.536585
0.169492
0.169492
0
0
0
0
0
0
0
0
0.00905
0.172285
267
14
48
19.071429
0.791855
0.06367
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
0
0
0
null
0
0
0
0
0
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
0d44c925facd78aa51cb6104a890b5594d2404be
368
py
Python
tests/__init__.py
tunystom-rossum/rossum
a49c5e02bdfbae95fe54e7ee556439355e4c339d
[ "MIT" ]
5
2021-07-27T02:20:37.000Z
2022-03-30T07:53:30.000Z
tests/__init__.py
tunystom-rossum/rossum
a49c5e02bdfbae95fe54e7ee556439355e4c339d
[ "MIT" ]
31
2020-09-29T15:06:46.000Z
2022-02-17T09:51:16.000Z
tests/__init__.py
tunystom-rossum/rossum
a49c5e02bdfbae95fe54e7ee556439355e4c339d
[ "MIT" ]
6
2021-02-25T08:17:44.000Z
2022-02-16T17:09:35.000Z
from collections import UserDict class SuperDictOf(UserDict): def __eq__(self, other): if not isinstance(other, dict): return False for k, v in self.items(): if k not in other or v != other[k]: return False return True def __repr__(self): ...
21.647059
51
0.57337
45
368
4.422222
0.577778
0.110553
0
0
0
0
0
0
0
0
0
0
0.331522
368
16
52
23
0.808943
0
0
0.181818
0
0
0.089674
0.089674
0
0
0
0
0
1
0.181818
false
0
0.090909
0.090909
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
0
0
0
0
0
1
0
0
1
0d46999df264f1cd3022334f4843567100fc4d39
1,738
py
Python
src/Domain/Entities/Game.py
Urbistondo/EventbriteShogi
0160d31080a0c69e843b64feab47d93d1f22a425
[ "MIT" ]
null
null
null
src/Domain/Entities/Game.py
Urbistondo/EventbriteShogi
0160d31080a0c69e843b64feab47d93d1f22a425
[ "MIT" ]
null
null
null
src/Domain/Entities/Game.py
Urbistondo/EventbriteShogi
0160d31080a0c69e843b64feab47d93d1f22a425
[ "MIT" ]
null
null
null
import datetime from Domain.Entities.Piece import Color class Game: board = None piece_factory = None start_date = None end_date = None pieces_white = None pieces_black = None captured_white = None captured_black = None finished = False winner = None turn = None curre...
25.940299
96
0.649597
219
1,738
4.940639
0.205479
0.110906
0.078558
0.060998
0.330869
0.232902
0.170055
0.170055
0.103512
0.103512
0
0.001572
0.268124
1,738
67
97
25.940299
0.849057
0
0
0.078431
0
0
0
0
0
0
0
0
0
1
0.215686
false
0
0.039216
0.078431
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0d46cd9844d76b97b0c12ebdd843bc1779a4f31f
2,630
py
Python
Scripts/Concept Whitening Classifier/Scripts/Make_Concept_Dataset.py
alen-smajic/OCR-for-customs-declarations-and-transport-documents
5a885ceacee614dcd2f5a8490857dc7d945dcf0d
[ "MIT" ]
null
null
null
Scripts/Concept Whitening Classifier/Scripts/Make_Concept_Dataset.py
alen-smajic/OCR-for-customs-declarations-and-transport-documents
5a885ceacee614dcd2f5a8490857dc7d945dcf0d
[ "MIT" ]
null
null
null
Scripts/Concept Whitening Classifier/Scripts/Make_Concept_Dataset.py
alen-smajic/OCR-for-customs-declarations-and-transport-documents
5a885ceacee614dcd2f5a8490857dc7d945dcf0d
[ "MIT" ]
null
null
null
import numpy as np import cv2 import random import os path = "./Concept_Dataset_script_generated/" def make_geometric_objects(path, number, geom): path = path + geom + "/" if not os.path.exists(path): os.makedirs(path) for i in range(number): image = np.ones((240,240,3), np.uint...
26.565657
100
0.58365
348
2,630
4.324713
0.298851
0.146844
0.130233
0.07907
0.304983
0.221262
0.221262
0.180066
0.078405
0.078405
0
0.07154
0.271863
2,630
98
101
26.836735
0.71436
0.101901
0
0.115385
1
0
0.059149
0.014894
0
0
0
0
0
1
0.038462
false
0
0.076923
0
0.115385
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0d47b3c871b167725d4d584aad7ea2eef5991580
469
py
Python
src/models/rf_class.py
justinessert/feature-selection
86abef593746e27416f4901d2803bd9eb8b4051e
[ "MIT" ]
null
null
null
src/models/rf_class.py
justinessert/feature-selection
86abef593746e27416f4901d2803bd9eb8b4051e
[ "MIT" ]
null
null
null
src/models/rf_class.py
justinessert/feature-selection
86abef593746e27416f4901d2803bd9eb8b4051e
[ "MIT" ]
1
2019-05-15T00:20:08.000Z
2019-05-15T00:20:08.000Z
from sklearn.ensemble import RandomForestClassifier import pandas as pd from models.model import Model class RfClass(Model): def __init__(self, model_params): super().__init__(model_params,'RF Classifier') def build_model(self): max_depth = self.model_params['max_depth'] n_estimators =...
26.055556
83
0.716418
58
469
5.431034
0.431034
0.139683
0.142857
0.120635
0
0
0
0
0
0
0
0
0.202559
469
17
84
27.588235
0.842246
0
0
0
0
0
0.072495
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0d49718c4750f5419b254d35be2e7597bfe67a84
3,742
py
Python
old/p4diff.py
jtilander/p4scripts
0af2ed414deb7ed5c5d3e1890075fbd45fb42ba3
[ "MIT" ]
1
2016-06-28T11:08:54.000Z
2016-06-28T11:08:54.000Z
old/p4diff.py
jtilander/p4scripts
0af2ed414deb7ed5c5d3e1890075fbd45fb42ba3
[ "MIT" ]
null
null
null
old/p4diff.py
jtilander/p4scripts
0af2ed414deb7ed5c5d3e1890075fbd45fb42ba3
[ "MIT" ]
null
null
null
#!/usr/bin/python # (c) 2006 Jim Tilander import sys import os import string import re import base64 import zlib P4EXE = 'p4' NEWFILEPATTERN = re.compile( r'==== ([^#]+)#([\d]+) - (.+) ====(.*)$' ) MARKER = '================' USAGE = """Usage: p4diff <outputfile> [options] Produces input to p4patch O...
27.514706
143
0.546232
431
3,742
4.693736
0.354988
0.032131
0.020761
0.015818
0.083045
0.074147
0
0
0
0
0
0.017097
0.3279
3,742
135
144
27.718519
0.787276
0.046766
0
0.11
0
0.01
0.116991
0
0
0
0
0
0
0
null
null
0
0.06
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0d49e9c5572e12815fd80216fbeda6ddc1dd1c90
756
py
Python
test/msvs/config_attrs/gyptest-config_attrs.py
Jet-Streaming/gyp
6488d24fc7bdd8bc563998d77d9a0950781bbaf5
[ "BSD-3-Clause" ]
null
null
null
test/msvs/config_attrs/gyptest-config_attrs.py
Jet-Streaming/gyp
6488d24fc7bdd8bc563998d77d9a0950781bbaf5
[ "BSD-3-Clause" ]
null
null
null
test/msvs/config_attrs/gyptest-config_attrs.py
Jet-Streaming/gyp
6488d24fc7bdd8bc563998d77d9a0950781bbaf5
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Verifies that msvs_configuration_attributes and msbuild_configuration_attributes are applied by using them to set the OutputDir...
23.625
76
0.723545
112
756
4.714286
0.625
0.051136
0.049242
0.056818
0.083333
0
0
0
0
0
0
0.023511
0.156085
756
31
77
24.387097
0.804075
0.403439
0
0
0
0
0.215159
0
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b4955baf2c5dfc4e228d772814f138530642e06e
673
py
Python
api/gql/mutations/shopper.py
novanda1/sayurmax
82588735e2305b658ce5b668d3d29e413ea6f5d9
[ "Apache-2.0" ]
null
null
null
api/gql/mutations/shopper.py
novanda1/sayurmax
82588735e2305b658ce5b668d3d29e413ea6f5d9
[ "Apache-2.0" ]
1
2022-03-12T01:01:57.000Z
2022-03-12T01:01:57.000Z
api/gql/mutations/shopper.py
novanda1/sayurmax
82588735e2305b658ce5b668d3d29e413ea6f5d9
[ "Apache-2.0" ]
null
null
null
from strawberry import mutation from gql.services.shopper import ShopperServices from gql.utils.authentication.shopper import ShopperAuth from gql.types.order import OrderStatusCode from asgiref.sync import sync_to_async services = ShopperServices() class ShopperMutation: @mutation @sync_to_async def lo...
28.041667
68
0.762259
81
673
6.148148
0.419753
0.088353
0.066265
0.056225
0
0
0
0
0
0
0
0
0.170877
673
23
69
29.26087
0.892473
0
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.117647
false
0.117647
0.294118
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b495d6846e8bc7d829b7b7db20d4bf0c49d9625c
4,648
py
Python
GUI/GtkGI/BaseFileDialogs.py
gcewing/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
9
2019-07-15T19:03:27.000Z
2021-11-24T19:50:02.000Z
GUI/GtkGI/BaseFileDialogs.py
mnabeelp/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
3
2019-09-11T13:22:10.000Z
2020-08-19T20:13:00.000Z
GUI/GtkGI/BaseFileDialogs.py
mnabeelp/PyGUI
58c6c38ccb8e66acdf98dea6b24bef1d9a03147c
[ "MIT" ]
4
2020-02-23T16:50:06.000Z
2022-02-10T07:15:35.000Z
# # Python GUI - File selection dialogs - Gtk # import os from gi.repository import Gtk from GUI.Files import FileRef from GUI.AlertFunctions import confirm from GUI.Applications import application #------------------------------------------------------------------ class _FileDialog(Gtk.FileChooserDialog): def _...
28.169697
73
0.657917
589
4,648
4.976231
0.185059
0.051859
0.033436
0.030024
0.534971
0.464688
0.454794
0.454794
0.432617
0.432617
0
0.002762
0.143072
4,648
164
74
28.341463
0.733116
0.406196
0
0.341176
0
0
0.034547
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.011765
0
0
0
null
0
0
0
0
0
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
b49b9b4c960812cbbb38751eb57c7f0355124d6a
948
py
Python
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
discordbot.py
2339145977/discordpy-startup
c69906961514bd7d6d13ff666e9326589f672d81
[ "MIT" ]
null
null
null
from os import getenv import traceback import random import discord PREFIX = "yz " class MyClient(discord.Client): async def on_ready(self): print(f'Logged in as {self.user} (ID: {self.user.id})') print('------') async def on_message(self, message): # we do not want the bot to reply ...
27.085714
72
0.631857
122
948
4.860656
0.47541
0.075885
0.107926
0.175379
0.161889
0
0
0
0
0
0
0.001379
0.235232
948
34
73
27.882353
0.816552
0.043249
0
0
0
0
0.128177
0
0
0
0
0
0
1
0
false
0
0.173913
0
0.26087
0.086957
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
b4a4e97414c6b6c88561b6464b26eaeee459ebc6
6,013
py
Python
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
checkproject/case.py
perror/checkproject
9321470164e010778d32e24dc77c0b28eccd9429
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 # Checkcase class implementation. """Checkcase class implementation. There is three kinds of ways to fail a check: - Warning: Generate a warning message but do not count as an error. - Error: Generate an error message and count as an error. - Failure: Generate a failure message and stop the run...
35.370588
78
0.640113
826
6,013
4.627119
0.266344
0.028781
0.020408
0.025118
0.299581
0.265568
0.217949
0.217949
0.217949
0.1719
0
0.000472
0.295027
6,013
169
79
35.579882
0.901156
0.616498
0
0.283019
1
0
0.086345
0
0
0
0
0
0
1
0.169811
false
0.037736
0.056604
0
0.320755
0
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
b4b108ba267b965113bd6553053c7e28217a887f
381
py
Python
py/contiguous-array.py
ckclark/leetcode
844c6f18d06dcb397db76436e5f4b8ddcb1beddc
[ "Apache-2.0" ]
null
null
null
py/contiguous-array.py
ckclark/leetcode
844c6f18d06dcb397db76436e5f4b8ddcb1beddc
[ "Apache-2.0" ]
null
null
null
py/contiguous-array.py
ckclark/leetcode
844c6f18d06dcb397db76436e5f4b8ddcb1beddc
[ "Apache-2.0" ]
null
null
null
class Solution(object): def findMaxLength(self, nums): """ :type nums: List[int] :rtype: int """ pos = {0: -1} v = 0 ans = 0 for i, n in enumerate(nums): v += n * 2 - 1 if v in pos: ans = max(ans, i - pos[v]) ...
22.411765
42
0.370079
46
381
3.065217
0.565217
0.056738
0
0
0
0
0
0
0
0
0
0.032086
0.509186
381
16
43
23.8125
0.721925
0.086614
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
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
b4b3d80e55a5aa21605c46650fbb8fb3c8a414dc
17,666
py
Python
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
14
2016-08-31T15:21:59.000Z
2021-03-24T07:11:07.000Z
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
1
2017-09-07T01:13:49.000Z
2017-09-07T01:13:49.000Z
dotastats/models.py
romanalexander/opendota
e0ad79db9b425055a5a3ed40be793ddfb082ecd8
[ "MIT" ]
6
2016-09-06T04:45:28.000Z
2019-07-19T17:13:41.000Z
from datetime import datetime from datetime import timedelta from django.db import models from django.db.models import Q from django.core import serializers from django.core.exceptions import ObjectDoesNotExist from django.conf import settings from django.utils.timezone import get_current_timezone from django.utils imp...
40.518349
185
0.657874
2,138
17,666
5.212816
0.183349
0.037147
0.012831
0.018753
0.366981
0.310902
0.262719
0.225482
0.175774
0.175774
0
0.01246
0.241311
17,666
435
186
40.611494
0.81907
0.16178
0
0.283019
0
0
0.091704
0.001622
0
0
0
0
0
1
0.100629
false
0.003145
0.031447
0.04717
0.584906
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
b4ba681dc4c92ddb5d2f438ede0c482768226c4a
16,306
py
Python
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
3
2020-10-05T14:34:46.000Z
2020-11-27T07:44:57.000Z
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
1
2022-02-15T16:01:12.000Z
2022-02-15T16:01:12.000Z
dracoon/groups.py
Quirinwierer/dracoon-python-api
7fad8cdb95069fb80069e76c740547f3ad02b910
[ "Apache-2.0" ]
1
2021-03-04T08:16:07.000Z
2021-03-04T08:16:07.000Z
""" Async DRACOON users adapter based on httpx and pydantic V1.0.0 (c) Octavio Simone, November 2021 Collection of DRACOON API calls for user management Documentation: https://dracoon.team/api/swagger-ui/index.html?configUrl=/api/spec_v4/swagger-config#/groups Please note: maximum 500 items are returned in GET reque...
35.680525
170
0.631976
2,056
16,306
4.835603
0.098249
0.073024
0.053309
0.030175
0.740193
0.722189
0.674613
0.649065
0.616375
0.577449
0
0.002319
0.259659
16,306
456
171
35.758772
0.821239
0.07623
0
0.648734
0
0
0.110736
0.009515
0
0
0
0
0
1
0.041139
false
0
0.028481
0
0.142405
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
b4c62c1d188683a74a0962fac84688ac5b97821d
2,606
py
Python
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
null
null
null
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
null
null
null
Externals/micromegas_4.3.5/Packages/smodels-v1.1.0patch1/Unum-4.1.3-py2.7.egg/unum/units/others/__init__.py
yuanfangtardis/vscode_project
2d78a85413cc85789cc4fee8ec991eb2a0563ef8
[ "Apache-2.0" ]
1
2022-01-15T12:22:30.000Z
2022-01-15T12:22:30.000Z
"""Define common units that are not SI units. Source: http://physics.nist.gov/cuu/Units/outside.html """ from math import pi from unum import Unum from unum.units.si import * unit = Unum.unit min = MIN = unit( 'min' , 60 * s , 'minute' ) h = H =...
63.560976
93
0.331926
253
2,606
3.418972
0.474308
0.006936
0
0
0
0
0
0
0
0
0
0.067953
0.542594
2,606
41
94
63.560976
0.657718
0.079432
0
0
0
0
0.110166
0
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
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
b4caab1d782450ff5523fe9d995e78cea4812cc6
552
py
Python
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
google-calendar-notifier.py
motchy869/Google-Calendar-notifier
f25ff114f600bcf051622290ce5ee46fa6763b40
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ google-calendar-notifier Google Calendar から直近の予定を取得し、通知時刻になったらデスクトップに通知を表示する。 """ import sys from modules.Global import APPLICATION_NAME from modules.Manager import Manager import setproctitle from PyQt5.QtWidgets import (QApplication, QWidget) def main(): """ ...
18.4
52
0.748188
63
552
6.380952
0.619048
0.069652
0
0
0
0
0
0
0
0
0
0.014553
0.128623
552
29
53
19.034483
0.821206
0.28442
0
0
0
0
0.021277
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b4cb7e7c29d9db6eb7015f3523a78eabfadd2701
6,121
py
Python
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
250
2021-04-24T18:06:30.000Z
2022-03-31T04:37:47.000Z
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
129
2021-04-24T17:09:50.000Z
2022-03-29T08:52:14.000Z
tests/alerters/exotel_test.py
perceptron01/elastalert2
bb91ecdb03dedda207237ca83d628fd5d40d29c6
[ "Apache-2.0" ]
128
2021-04-25T15:20:34.000Z
2022-03-31T04:37:49.000Z
import logging import pytest from unittest import mock from requests import RequestException from elastalert.alerters.exotel import ExotelAlerter from elastalert.loaders import FileRulesLoader from elastalert.util import EAException def test_exotel_getinfo(): rule = { 'name': 'Test Rule', 'type...
34.581921
123
0.59255
641
6,121
5.330733
0.165367
0.077261
0.094527
0.126427
0.724612
0.71554
0.642084
0.590284
0.537899
0.524729
0
0.026108
0.274138
6,121
176
124
34.778409
0.742966
0
0
0.550336
0
0
0.23983
0.018134
0
0
0
0
0.04698
1
0.033557
false
0
0.04698
0
0.080537
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
b4cb904211fffa6f3cd36f4d79779477007b846c
1,664
py
Python
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
4
2016-10-23T12:52:51.000Z
2018-12-07T04:44:17.000Z
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
null
null
null
gensort/gen_partitions.py
bskim45/akka-clustered-sorting
af9b5846c346fd758b90c66317edcc620acdaf67
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- import argparse import os import shlex import subprocess import sys def main(argv): command = "" path = os.path.dirname(os.path.abspath(__file__)) if sys.platform.startswith('win'): command = os.path.join(path, "gensort.exe") + " -a -b%d %d %s\partition%d" elif sys.pl...
32
106
0.616587
216
1,664
4.62037
0.37963
0.054108
0.068136
0.046092
0.138277
0.086172
0.03006
0
0
0
0
0.011719
0.230769
1,664
51
107
32.627451
0.767969
0.01262
0
0.054054
0
0
0.17855
0
0
0
0
0
0
0
null
null
0
0.135135
null
null
0.081081
0
0
0
null
0
0
0
0
0
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
b4d9d7e8ab9eba17dd2d34e0f48b7c7da2f7aa12
620
py
Python
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
21
2021-06-01T09:54:20.000Z
2022-03-11T16:50:42.000Z
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
1
2020-07-05T15:39:54.000Z
2020-07-05T15:39:54.000Z
Teaching-Evaluation-Assistant/main.py
xsx-123/awesome-sdu-scripts
bc371fda9d4d2a616f82c9a44b7d1d6eddb2c6eb
[ "MIT" ]
8
2021-07-21T03:11:40.000Z
2021-12-03T08:25:19.000Z
# -*- coding: utf-8 -*- #!/usr/bin/env python # Copyright 2018 ZhangT. All Rights Reserved. # Author: ZhangT # Author-Github: github.com/zhangt2333 # main.py 2019/1/18 10:24 from spider import * def main(): username = input('请输入学号: ') password = input('请输入密码: ') print('下面将为你进行所有课的教评,一律好评,如需特...
25.833333
77
0.651613
77
620
5.038961
0.714286
0.14433
0.097938
0
0
0
0
0
0
0
0
0.040486
0.203226
620
23
78
26.956522
0.744939
0.259677
0
0
0
0
0.200466
0.125874
0
0
0
0
0
1
0.083333
false
0.166667
0.083333
0
0.166667
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
0
0
1
0
0
0
0
0
1
b4e304de012fad4ec3d5be2223cfc1f74ac57b63
1,997
py
Python
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
edit_exercise_page.py
delereyus/ProLog
b08c9d4c1aae5c0d7cf2dbafd5fd764b46243406
[ "MIT" ]
null
null
null
from tkinter import * from back_end import Database import confirm_sets_page import edit_workout_page import config database = Database("py_project.db") class EditExercisePage: def __init__(self, content, exercise, workout_id, workout_date, username): self.show_edit_exercise_page(content, exercise, worko...
46.44186
210
0.751127
268
1,997
5.272388
0.231343
0.135881
0.188252
0.127389
0.474168
0.412597
0.266808
0.236377
0.154282
0
0
0.013634
0.155233
1,997
42
211
47.547619
0.823948
0
0
0.066667
0
0
0.02003
0
0
0
0
0
0
1
0.133333
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
b4e4ea35c0b136bd77ad4305316db6545dfc8ef0
957
py
Python
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
1
2019-05-11T14:45:47.000Z
2019-05-11T14:45:47.000Z
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
6
2021-03-18T20:45:02.000Z
2021-09-22T17:41:38.000Z
api/migrations/0008_auto_20180527_2054.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-27 20:54 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0007_auto_20180527_2014'), ] operations = [ migrations.AlterField( model_name='parents', ...
38.28
329
0.667712
104
957
6.057692
0.644231
0.079365
0.15873
0.092063
0.126984
0.126984
0
0
0
0
0
0.049479
0.197492
957
24
330
39.875
0.770833
0.047022
0
0.333333
1
0
0.171429
0.025275
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
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
b4e51bf7923cd3c56e111afff2886221c0eb4630
9,221
py
Python
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
designs/migrations/0001_initial.py
ygrass/handsome
0ea016745d92054bd4df8d934c1b67fd61b6f845
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'DesignPhoto' db.create_table(u'designs_designphoto', ( ...
69.856061
195
0.584102
1,024
9,221
5.125977
0.137695
0.102115
0.176034
0.251476
0.711564
0.652124
0.634788
0.565822
0.531911
0.391122
0
0.008671
0.187073
9,221
132
196
69.856061
0.691569
0.023533
0
0.141593
0
0
0.534734
0.295654
0
0
0
0
0
1
0.017699
false
0.00885
0.035398
0
0.079646
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
b4e976b9f90b3ddddb85b1feba1420243bbfa81c
1,894
py
Python
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
2
2021-09-17T10:15:57.000Z
2021-12-28T08:09:18.000Z
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
null
null
null
scripts/genmanualtrimlist.py
taneliang/mellotron
259ffb66b0c23d571a5350ee5f05618c4101a59d
[ "BSD-3-Clause" ]
2
2020-11-19T23:03:18.000Z
2021-12-18T11:38:41.000Z
#!/usr/bin/env python3 # Generates a list of files to be manually trimmed. To aid pre-processing of # our existing files. import glob import os import re EMOVDB_CMUARCTIC_PATH = '/home/e/e-liang/is4152/tacotron2/cmuarctic.data' # Transcripts for emovdb dataset located in repo root dataLookup = {} with open(EMOVDB_C...
43.045455
159
0.67529
301
1,894
4.172757
0.421927
0.023885
0.044586
0.031051
0.228503
0.228503
0.109873
0.109873
0.109873
0.057325
0
0.018389
0.167371
1,894
43
160
44.046512
0.77806
0.510032
0
0
1
0
0.250821
0.117196
0
0
0
0
0
1
0
false
0
0.136364
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b4eb14a0b04fc6b011592ad8a874f914b0b2709b
943
py
Python
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
systems/models.py
KenkoGeek/assigned-it-resources
2407dc309b9cc4751dc556898596d60b3b57b539
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. PERMISSIONS_NAMES = ( ("Lectura","Lectura"), ("Escritura","Escritura"), ("Administrador","Administrador"), ("Superusuario","Superusuario") ) class Permissions (models.Model): p...
25.486486
79
0.700954
98
943
6.510204
0.44898
0.094044
0.112853
0.15047
0.081505
0.081505
0
0
0
0
0
0.012739
0.16755
943
36
80
26.194444
0.8
0.04878
0
0.130435
0
0
0.106264
0
0
0
0
0
0
1
0.130435
false
0
0.086957
0.130435
0.73913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
b4f33c8f5454d70f21eee639b9eaec15c00e3876
553
py
Python
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
2020/2/part1.py
atsvetkov/adventofcode2020
392ca75f89214fce696cd4facfcf34a7a91d74c8
[ "MIT" ]
null
null
null
valid_count = 0 for line in open('input.txt'): space_index = line.index(' ') limits = [int(limit) for limit in line[:space_index].split('-')] lo, hi = limits[0], limits[1] colon_index = line.index(':') letter = line[space_index+1:colon_index] word = line[colon_index+1:] letter_count = 0 ...
29.105263
68
0.582278
78
553
3.961538
0.358974
0.142395
0.058252
0
0
0
0
0
0
0
0
0.020253
0.285714
553
18
69
30.722222
0.762025
0
0
0
0
0
0.068716
0
0
0
0
0
0
1
0
false
0.058824
0
0
0
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b4f880d130da7c09dd7f3647df3d4c2bfe447453
2,961
py
Python
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
SentiLARE/finetune/run_sentilr_tests.py
authorAnonymousGit/WOCEL
5edcf1c0cce07c8280ef3c10c9e01ad0d2643885
[ "Apache-2.0" ]
null
null
null
import os import numpy as np SEEDS = [1, 2, 3, 4, 5] LOSS_TYPES = ["OCE_loss_final_with_prox_dynamic_L7_with_alpha", "CrossEntropy"] ALPHAS = np.linspace(0.5, 0.9, 5) # Irrelevant for CrossEntropy # SEEDS = [1, 3, 5] # LOSS_TYPES = ['OCE_loss_final_with_prox_dynamic_L7_with_alpha_ablation_prox', # ...
55.867925
116
0.444107
281
2,961
4.316726
0.345196
0.089035
0.049464
0.039571
0.435284
0.402308
0.351195
0.351195
0.351195
0.351195
0
0.033877
0.461668
2,961
52
117
56.942308
0.727102
0.108072
0
0.047619
0
0
0.093023
0.045349
0
0
0
0.019231
0
1
0
false
0
0.047619
0
0.047619
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
1
0
0
0
0
0
0
0
0
0
0
1
b4fa243292a8aeaaab2484645654ac37e38928e0
16,093
py
Python
domain.py
acrovato/geoGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
1
2021-01-05T11:53:13.000Z
2021-01-05T11:53:13.000Z
domain.py
acrovato/gridGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
1
2019-09-17T07:18:23.000Z
2019-10-17T16:24:37.000Z
domain.py
acrovato/geoGen
55cea28f9d6cea7a9b04cb8403e6b9b69e326133
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' Copyright 2019 University of Liege 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 requir...
48.914894
346
0.512956
2,627
16,093
3.128283
0.082223
0.128133
0.065588
0.059869
0.77817
0.710514
0.657703
0.607934
0.573254
0.553541
0
0.061267
0.222084
16,093
328
347
49.064024
0.595175
0.105885
0
0.472973
0
0.076577
0.213374
0.045353
0
0
0
0
0
1
0.085586
false
0
0.004505
0
0.103604
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
3709f8e7baa86d5eba77825422a9508af95fef1e
2,240
py
Python
bitstream/decoder/lib/annotations.py
mfkiwl/NEM-Relay-CGRA
1ad59b83b9a61ee56da43e5491a95d2f4e6c2ac4
[ "BSD-3-Clause" ]
2
2021-03-28T08:03:01.000Z
2021-09-19T08:10:02.000Z
bitstream/decoder/lib/annotations.py
mfkiwl/NEM-Relay-CGRA
1ad59b83b9a61ee56da43e5491a95d2f4e6c2ac4
[ "BSD-3-Clause" ]
null
null
null
bitstream/decoder/lib/annotations.py
mfkiwl/NEM-Relay-CGRA
1ad59b83b9a61ee56da43e5491a95d2f4e6c2ac4
[ "BSD-3-Clause" ]
2
2021-03-28T08:02:57.000Z
2021-11-06T05:14:17.000Z
#!/usr/bin/python class Annotations: ''' Class to hold the annotation formats To be used at multiple levels in tool flow for comparison purposes ''' #format strings _connect_wire_str = 'connect wire {} ({}) to {}' _latch_wire_str = 'latch wire {} ({}) before connecting to {}...
33.432836
97
0.614286
322
2,240
4.006211
0.28882
0.086822
0.054264
0.069767
0.294574
0.268217
0.254264
0.237209
0.237209
0.206977
0
0
0.265625
2,240
66
98
33.939394
0.784195
0.151339
0
0.272727
0
0
0.099839
0
0
0
0
0
0.022727
1
0.181818
false
0
0
0.022727
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
371903e153c996cac483357a3df834531c766dc4
9,579
py
Python
ldap2pg/format.py
jeanpommier/ldap2pg
58a193ac79c13b99c13a2b963492678f553731d1
[ "PostgreSQL" ]
151
2017-06-29T08:09:33.000Z
2022-03-07T21:50:27.000Z
ldap2pg/format.py
jeanpommier/ldap2pg
58a193ac79c13b99c13a2b963492678f553731d1
[ "PostgreSQL" ]
363
2017-06-19T15:01:12.000Z
2022-03-16T08:34:35.000Z
ldap2pg/format.py
jeanpommier/ldap2pg
58a193ac79c13b99c13a2b963492678f553731d1
[ "PostgreSQL" ]
31
2017-06-16T08:40:54.000Z
2021-11-11T12:37:01.000Z
import itertools from copy import deepcopy from string import Formatter from .utils import unicode class FormatSpec(object): # A format string to generate e.g. role names. def __init__(self, spec): self.spec = spec self._fields = None def __repr__(self): return "%s(%r)" % (self....
29.383436
79
0.549431
1,104
9,579
4.548007
0.206522
0.025891
0.010954
0.016929
0.096793
0.027485
0.010357
0
0
0
0
0.000804
0.35108
9,579
325
80
29.473846
0.80695
0.21662
0
0.247706
1
0
0.024701
0
0
0
0
0
0
1
0.169725
false
0
0.018349
0.073394
0.348624
0
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
371ae39ecd84c32c520c1b09dada1780df5bee65
9,456
py
Python
util/graph.py
natduca/ndbg
f8da43be62dac18072e9b0e6e5ecd0d1818aea4d
[ "Apache-2.0" ]
5
2016-05-12T08:48:41.000Z
2018-07-17T00:48:32.000Z
util/graph.py
natduca/ndbg
f8da43be62dac18072e9b0e6e5ecd0d1818aea4d
[ "Apache-2.0" ]
1
2022-01-16T12:18:50.000Z
2022-01-16T12:18:50.000Z
util/graph.py
natduca/ndbg
f8da43be62dac18072e9b0e6e5ecd0d1818aea4d
[ "Apache-2.0" ]
null
null
null
# Copyright 2011 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
27.893805
99
0.64467
1,385
9,456
4.088087
0.175451
0.026846
0.050865
0.058283
0.248146
0.139173
0.099435
0.055104
0.046273
0.037089
0
0.022825
0.212352
9,456
338
100
27.976331
0.737379
0.103215
0
0.178138
0
0
0.019966
0
0
0
0
0
0
0
null
null
0
0.032389
null
null
0.012146
0
0
0
null
0
0
0
0
0
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
37216d3efdd9c931e8fe08aa0d3a0f964dd8a029
1,811
py
Python
test_power_of_four.py
brigitteunger/katas
3f9af88fe5d98753360457084741f573c863dc25
[ "MIT" ]
null
null
null
test_power_of_four.py
brigitteunger/katas
3f9af88fe5d98753360457084741f573c863dc25
[ "MIT" ]
null
null
null
test_power_of_four.py
brigitteunger/katas
3f9af88fe5d98753360457084741f573c863dc25
[ "MIT" ]
null
null
null
import unittest class Solution: def isPowerOfFour(self, num: int) -> bool: if num <= 0: return False number_format_bin = format(num, 'b') number_ones = number_format_bin.count('1') if number_ones == 1: if (len(number_format_bin)-1) % 2 == 0: ...
20.816092
51
0.617891
214
1,811
4.981308
0.21028
0.065666
0.101313
0.118199
0.638837
0.621951
0.621951
0.621951
0.567542
0.567542
0
0.035853
0.291552
1,811
86
52
21.05814
0.795012
0
0
0.377358
0
0
0.005522
0
0
0
0
0
0.169811
1
0.207547
false
0
0.018868
0
0.320755
0
0
0
0
null
0
0
0
0
0
0
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
3721f9b4857aebb54eda364b32c37163c9b97b18
561
py
Python
vanir/core/exchange/urls.py
guanana/vanir
b0bb9c874795a5803e6437ff0105ea036f1ae7b6
[ "Apache-2.0" ]
1
2022-01-19T07:11:05.000Z
2022-01-19T07:11:05.000Z
vanir/core/exchange/urls.py
guanana/vanir
b0bb9c874795a5803e6437ff0105ea036f1ae7b6
[ "Apache-2.0" ]
10
2021-11-07T14:17:07.000Z
2022-03-30T18:24:48.000Z
vanir/core/exchange/urls.py
guanana/vanir
b0bb9c874795a5803e6437ff0105ea036f1ae7b6
[ "Apache-2.0" ]
null
null
null
from django.urls import path from .views import ExchangeCreateView, ExchangeDeleteView, ExchangeDetailView, ExchangeListView, ExchangeUpdateView app_name = "exchange" urlpatterns = [ path("", ExchangeListView.as_view(), name="exchange_list"), path("add/", ExchangeCreateView.as_view(), name="exchange_add"), ...
43.153846
115
0.736185
61
561
6.590164
0.393443
0.179104
0.124378
0.223881
0
0
0
0
0
0
0
0
0.099822
561
12
116
46.75
0.79604
0
0
0
0
0
0.212121
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
37289cb1a30c4bf356b2cf2d3ff9602d8438b905
1,756
py
Python
custom/m4change/migrations/0004_auto__add_field_mcctstatus_modified_on.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2015-02-10T23:26:39.000Z
2015-02-10T23:26:39.000Z
custom/m4change/migrations/0004_auto__add_field_mcctstatus_modified_on.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
null
null
null
custom/m4change/migrations/0004_auto__add_field_mcctstatus_modified_on.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'McctStatus.modified_on' db.add_column(u'm4change_mcctstatus', 'modified_on', self.gf('djan...
46.210526
193
0.602506
195
1,756
5.297436
0.379487
0.092933
0.14908
0.212972
0.52759
0.420136
0.352372
0.085189
0
0
0
0.016277
0.19533
1,756
37
194
47.459459
0.714791
0.052961
0
0
0
0
0.45208
0.227245
0
0
0
0
0
1
0.08
false
0
0.16
0
0.36
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
372f64e338493a2a24b995d3c6180d315a7bd7b3
11,735
py
Python
fast_tmp/admin/utils_bak.py
Chise1/fastapi-cli
e8e1bb20279880ea4de9c3358e49412dc644c98a
[ "Apache-2.0" ]
5
2021-01-23T06:43:01.000Z
2022-02-22T06:40:03.000Z
fast_tmp/admin/utils_bak.py
Chise1/fastapi-cli
e8e1bb20279880ea4de9c3358e49412dc644c98a
[ "Apache-2.0" ]
4
2022-02-09T04:44:50.000Z
2022-02-09T04:48:26.000Z
fast_tmp/admin/utils_bak.py
Chise1/fastapi-cli
e8e1bb20279880ea4de9c3358e49412dc644c98a
[ "Apache-2.0" ]
3
2021-01-13T09:40:42.000Z
2021-01-14T03:18:26.000Z
from typing import List, Optional, Type from tortoise import BackwardFKRelation, ForeignKeyFieldInstance, ManyToManyFieldInstance, Model from tortoise.fields import ( BigIntField, BooleanField, CharField, DateField, DatetimeField, DecimalField, FloatField, IntField, JSONField, S...
40.32646
100
0.545718
1,125
11,735
5.499556
0.16
0.177469
0.135769
0.160013
0.591078
0.507354
0.463229
0.449329
0.43252
0.417003
0
0.000656
0.350405
11,735
290
101
40.465517
0.810967
0.043715
0
0.452471
0
0
0.06203
0.011278
0
0
0
0.006897
0
1
0.011407
false
0.003802
0.026616
0
0.04943
0.003802
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
2e9452a258961100ea70bee55910c45c7ca053fb
721
py
Python
0150_Evaluate_Reverse_Polish_Notation.py
coldmanck/leetcode-python
f644b8a0711c96f312326b4d025e9be3340fec42
[ "MIT" ]
4
2021-01-11T09:53:58.000Z
2022-01-18T13:11:54.000Z
0150_Evaluate_Reverse_Polish_Notation.py
coldmanck/leetcode-python
f644b8a0711c96f312326b4d025e9be3340fec42
[ "MIT" ]
null
null
null
0150_Evaluate_Reverse_Polish_Notation.py
coldmanck/leetcode-python
f644b8a0711c96f312326b4d025e9be3340fec42
[ "MIT" ]
2
2020-04-13T13:55:48.000Z
2020-08-25T16:16:11.000Z
class Solution: def evalRPN(self, tokens: List[str]) -> int: stack = [] ops = {'+', '-', '*', '/'} for token in tokens: if token not in ops: stack.append(int(token)) else: a = stack.pop() b = stack.pop() ...
34.333333
100
0.363384
69
721
3.797101
0.521739
0.030534
0.103053
0.114504
0.145038
0.145038
0.145038
0.145038
0.145038
0
0
0.002857
0.514563
721
21
101
34.333333
0.745714
0.108183
0
0.1
0
0
0.010903
0
0
0
0
0
0
1
0.05
false
0
0
0
0.15
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
2e963cd2a0462916e761886c42ba2584a9589e19
2,762
py
Python
plugins/ibm_qradar/unit_test/test_start_ariel_search.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
null
null
null
plugins/ibm_qradar/unit_test/test_start_ariel_search.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
null
null
null
plugins/ibm_qradar/unit_test/test_start_ariel_search.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
null
null
null
import os import sys from unittest.mock import patch from unittest import TestCase from insightconnect_plugin_runtime.exceptions import ( PluginException, ConnectionTestException, ) from icon_ibm_qradar.actions.start_ariel_search import StartArielSearch from unit_test.helpers.ariel_search import ArielSearchH...
32.116279
100
0.652788
288
2,762
6.059028
0.274306
0.069341
0.055014
0.048138
0.562751
0.460172
0.460172
0.460172
0.416619
0.416619
0
0.000475
0.237871
2,762
85
101
32.494118
0.828504
0.106083
0
0.3
0
0
0.118987
0
0
0
0
0
0.1
1
0.1
false
0.06
0.14
0
0.26
0
0
0
0
null
0
0
0
0
0
0
0
0
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
2e993f4791d05c0ec353fdb6e68bb9e8aa5e5559
1,677
py
Python
evaluator/evaluator_matrix.py
CryptoRichy/OctoBot
1ca5bd2ba4b8fc09859518fcb2a62f74a1435019
[ "Apache-2.0" ]
1
2018-11-26T16:43:36.000Z
2018-11-26T16:43:36.000Z
evaluator/evaluator_matrix.py
CryptoRichy/OctoBot
1ca5bd2ba4b8fc09859518fcb2a62f74a1435019
[ "Apache-2.0" ]
null
null
null
evaluator/evaluator_matrix.py
CryptoRichy/OctoBot
1ca5bd2ba4b8fc09859518fcb2a62f74a1435019
[ "Apache-2.0" ]
null
null
null
from config.cst import EvaluatorMatrixTypes from tools.evaluators_util import check_valid_eval_note class EvaluatorMatrix: def __init__(self, config): self.config = config self.matrix = { EvaluatorMatrixTypes.TA: {}, EvaluatorMatrixTypes.SOCIAL: {}, EvaluatorMat...
37.266667
79
0.630292
190
1,677
5.252632
0.231579
0.140281
0.176353
0.207415
0.41483
0.323647
0.251503
0.176353
0.176353
0.084168
0
0
0.290996
1,677
44
80
38.113636
0.839361
0.016696
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.138889
false
0
0.055556
0.055556
0.361111
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
2e9bd9729c6377e6989819bbf1d32c6c58841a32
403
py
Python
apps/users/migrations/0004_user_username.py
kevotovar/topdeck-arena
e09753a29837847bdc239cd98a1942711c953bbe
[ "MIT" ]
null
null
null
apps/users/migrations/0004_user_username.py
kevotovar/topdeck-arena
e09753a29837847bdc239cd98a1942711c953bbe
[ "MIT" ]
24
2018-08-16T03:17:08.000Z
2021-06-10T20:43:13.000Z
apps/users/migrations/0004_user_username.py
kevotovar/topdeck-arena
e09753a29837847bdc239cd98a1942711c953bbe
[ "MIT" ]
null
null
null
# Generated by Django 2.1 on 2018-08-18 15:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0003_auto_20180815_2234'), ] operations = [ migrations.AddField( model_name='user', name='username', ...
21.210526
73
0.602978
45
403
5.288889
0.844444
0
0
0
0
0
0
0
0
0
0
0.110345
0.280397
403
18
74
22.388889
0.710345
0.1067
0
0
1
0
0.111732
0.064246
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
2ea10f31b9ad39b588a659cb52c25dc409daa644
207
py
Python
pytijo/constants.py
darinsikanic/structifytext
ff36ee92f483d8499710827773560f4886b07765
[ "Apache-2.0" ]
5
2017-04-28T08:03:15.000Z
2018-12-29T03:52:46.000Z
pytijo/constants.py
darinsikanic/structifytext
ff36ee92f483d8499710827773560f4886b07765
[ "Apache-2.0" ]
2
2020-01-15T06:25:48.000Z
2020-11-23T13:58:27.000Z
pytijo/constants.py
darinsikanic/structifytext
ff36ee92f483d8499710827773560f4886b07765
[ "Apache-2.0" ]
1
2019-05-02T10:44:53.000Z
2019-05-02T10:44:53.000Z
# Global KEYWORD_CHAR = "#" # API Keywords KEYWORD_ID = "#id" KEYWORD_START = "#start" KEYWORD_END = "#end" # Modules MODULE_CHAR = "@" CORE_MODULE_PACKAGE = "pytijo.modules" DEFAULT_MODULE_NAME = "tijo_re"
18.818182
38
0.719807
27
207
5.148148
0.62963
0
0
0
0
0
0
0
0
0
0
0
0.135266
207
10
39
20.7
0.776536
0.130435
0
0
0
0
0.204545
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2ea11475a7fe329519530a13d7b064e4322a451f
742
py
Python
rpi_rilla/light.py
gthar/rpi_rilla
50cb6aac0ead4094d72447538aca0296d1335a5a
[ "BSD-2-Clause" ]
null
null
null
rpi_rilla/light.py
gthar/rpi_rilla
50cb6aac0ead4094d72447538aca0296d1335a5a
[ "BSD-2-Clause" ]
null
null
null
rpi_rilla/light.py
gthar/rpi_rilla
50cb6aac0ead4094d72447538aca0296d1335a5a
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 import RPi.GPIO as GPIO from rpi_rilla.helpers import update_yaml GPIO.setmode(GPIO.BOARD) class Light: def __init__(self, id, pin, default, state_file): GPIO.setup(pin, GPIO.OUT) self.id = id self.pin = pin self.state_file = state_file self.set(def...
21.2
57
0.603774
107
742
4.065421
0.35514
0.124138
0.05977
0.096552
0
0
0
0
0
0
0
0.001876
0.281671
742
34
58
21.823529
0.814259
0.028302
0
0
0
0
0.045833
0
0
0
0
0
0
1
0.25
false
0
0.083333
0
0.375
0.083333
0
0
0
null
0
0
0
0
0
0
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
2ea32157d60a32cc39cebcfdf2909acc3fb3af7b
16,006
py
Python
tmp.py
devYaoYH/CodinGame_GitC
f55db74dc53d8f2e8d71bc652dc792e6d005adf2
[ "MIT" ]
2
2018-05-15T12:07:24.000Z
2020-03-10T15:49:29.000Z
tmp.py
devYaoYH/codingame_gitc
f55db74dc53d8f2e8d71bc652dc792e6d005adf2
[ "MIT" ]
null
null
null
tmp.py
devYaoYH/codingame_gitc
f55db74dc53d8f2e8d71bc652dc792e6d005adf2
[ "MIT" ]
1
2018-04-02T14:53:22.000Z
2018-04-02T14:53:22.000Z
''' Reinforce function - Takes a list of targets to be reinforced - Weighs targets - Sends reinforcements if available ''' def reinforce(self, simulStates): #TODO: How to bring troops to the front? curTroops = min(self.troops, readMaxAvailTroops(simulStates[self.ID])[0]) ...
49.401235
211
0.590216
1,609
16,006
5.845245
0.170914
0.020415
0.029771
0.034556
0.393939
0.356087
0.326635
0.2958
0.272727
0.26252
0
0.012183
0.317943
16,006
323
212
49.55418
0.849318
0.161939
0
0.536797
0
0.008658
0.041812
0.003715
0
0
0
0.009288
0
0
null
null
0
0
null
null
0.08658
0
0
0
null
0
0
0
0
0
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
2ea3a75a5f2751bf316fd5b79db613c01ad75117
1,106
py
Python
src/frr/tests/topotests/lib/exa-receive.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
src/frr/tests/topotests/lib/exa-receive.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
src/frr/tests/topotests/lib/exa-receive.py
zhouhaifeng/vpe
9c644ffd561988e5740021ed26e0f7739844353d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 """ exa-receive.py: Save received routes form ExaBGP into file """ import argparse import os from sys import stdin from datetime import datetime parser = argparse.ArgumentParser() parser.add_argument( "--no-timestamp", dest="timestamp", action="store_false", help="Disable timestamps" ) par...
25.136364
88
0.660036
136
1,106
5.323529
0.617647
0.037293
0.070442
0
0
0
0
0
0
0
0
0.001153
0.216094
1,106
43
89
25.72093
0.83391
0.105787
0
0.129032
0
0
0.173469
0
0
0
0
0
0
1
0
false
0.064516
0.129032
0
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2ea88745253e3b4338317f561c7e7bcfe24b4d43
1,237
py
Python
util.py
melkamar/fitanketa-miner
fa1d990a20f218cf1a2dde1d8485453f19ab597e
[ "MIT" ]
null
null
null
util.py
melkamar/fitanketa-miner
fa1d990a20f218cf1a2dde1d8485453f19ab597e
[ "MIT" ]
null
null
null
util.py
melkamar/fitanketa-miner
fa1d990a20f218cf1a2dde1d8485453f19ab597e
[ "MIT" ]
null
null
null
import datetime def get_semester(date: datetime.datetime) -> str: """ Semesters are coded B161 (winter 2016/2017), B162 (summer 2016/2017) etc. They are obtained by comparing dates: January-February year X -> winter semester of year (X-1)/X March-September year X -> summer semester of ye...
30.170732
86
0.641067
195
1,237
3.974359
0.435897
0.03871
0.054194
0.058065
0.141935
0.091613
0.067097
0
0
0
0
0.063608
0.224737
1,237
40
87
30.925
0.744526
0.290218
0
0
0
0
0.125891
0.059382
0
0
0
0
0
1
0.2
false
0
0.05
0.1
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
2ea90ea2807bc0d66bfcd1a09e321202c437d6ed
951
py
Python
tests/conftest.py
carlegbert/crocodile
8b78c9d1610ba4977f718807e4ec442ce249f62a
[ "MIT" ]
null
null
null
tests/conftest.py
carlegbert/crocodile
8b78c9d1610ba4977f718807e4ec442ce249f62a
[ "MIT" ]
null
null
null
tests/conftest.py
carlegbert/crocodile
8b78c9d1610ba4977f718807e4ec442ce249f62a
[ "MIT" ]
null
null
null
import json from hashlib import sha1 import hmac from os import path import pytest from crocodile.app import create_app TEST_SECRET = 'test_secret' @pytest.fixture def app(): test_config = { 'CROCODILE_SECRET': TEST_SECRET, 'TESTING': True, 'CONSUMERSFILE': path.join(path.dirname(__file_...
19.02
75
0.674027
120
951
5.166667
0.391667
0.125806
0.154839
0
0
0
0
0
0
0
0
0.006527
0.194532
951
49
76
19.408163
0.802872
0
0
0.171429
0
0
0.168244
0
0
0
0
0
0
1
0.171429
false
0
0.171429
0.114286
0.485714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
2ea9f0f2aa03f595d96934647cb51c4753435863
728
py
Python
server/server/main.py
john-sonz/federated-learning-iot
4eb698dff6c43bfefeea8f99eaa6aa0765200fc8
[ "MIT" ]
null
null
null
server/server/main.py
john-sonz/federated-learning-iot
4eb698dff6c43bfefeea8f99eaa6aa0765200fc8
[ "MIT" ]
null
null
null
server/server/main.py
john-sonz/federated-learning-iot
4eb698dff6c43bfefeea8f99eaa6aa0765200fc8
[ "MIT" ]
1
2022-01-10T15:39:32.000Z
2022-01-10T15:39:32.000Z
import flwr as fl import os from flwr.server.strategy import FedAvg os.environ["TF_CPP_MIN_LOG_LEVEL"] = "3" ENV = os.environ FRACTION_FIT = float(ENV.get('FRACTION_FIT', "0.5")) MIN_AVAILABLE_CLIENTS = int(ENV.get('MIN_AVAILABLE_CLIENTS', "5")) NUM_ROUNDS = int(ENV.get('NUM_ROUNDS', "10")) SERVER_ADDRESS = ENV.get...
33.090909
96
0.773352
108
728
4.824074
0.351852
0.126679
0.21881
0.084453
0.115163
0
0
0
0
0
0
0.015267
0.100275
728
21
97
34.666667
0.780153
0
0
0
0
0
0.159341
0.028846
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.285714
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
2eaa925e072fda3917a52d9ce1d563a4bee27bae
599
py
Python
Mask_RCNN/Faster_RCNN_New/vis_data.py
pkasten/Chiral-molecule-detection
fdeac581484b2b058eff863e2b5cd49b217fc4f5
[ "MIT" ]
2
2021-02-25T12:58:23.000Z
2021-11-30T13:03:27.000Z
Mask_RCNN/Faster_RCNN_New/vis_data.py
pkasten/Chiral-molecule-detection
fdeac581484b2b058eff863e2b5cd49b217fc4f5
[ "MIT" ]
null
null
null
Mask_RCNN/Faster_RCNN_New/vis_data.py
pkasten/Chiral-molecule-detection
fdeac581484b2b058eff863e2b5cd49b217fc4f5
[ "MIT" ]
1
2021-12-01T15:55:04.000Z
2021-12-01T15:55:04.000Z
import random from detectron2.utils.visualizer import Visualizer from detectron2.data.catalog import MetadataCatalog, DatasetCatalog import mol_data import cv2 mol_metadata = MetadataCatalog.get("mol") print(mol_metadata) dataset_dicts = DatasetCatalog.get("mol") for d in random.sample(dataset_dicts, ...
28.52381
68
0.686144
77
599
5.194805
0.454545
0.0825
0.055
0.06
0
0
0
0
0
0
0
0.022133
0.170284
599
21
69
28.52381
0.782696
0
0
0
0
0
0.02931
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
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
2eb22faa9efa6dff300c7bf44da3227149fe3aa6
7,636
py
Python
src/DataBase/LogTool/LogTool.py
swipswaps/Wind-Blade-Inspection
24613b9f2fbab224ffd3bbfc1082aa1547c19779
[ "MIT" ]
null
null
null
src/DataBase/LogTool/LogTool.py
swipswaps/Wind-Blade-Inspection
24613b9f2fbab224ffd3bbfc1082aa1547c19779
[ "MIT" ]
null
null
null
src/DataBase/LogTool/LogTool.py
swipswaps/Wind-Blade-Inspection
24613b9f2fbab224ffd3bbfc1082aa1547c19779
[ "MIT" ]
null
null
null
''' Author: Hans Erik Heggem Email: hans.erik.heggem@gmail.com Project: Master's Thesis - Autonomous Inspection Of Wind Blades Repository: Master's Thesis - CV (Computer Vision ''' import timeit from getpass import getpass from src.DroneVision.DroneVision_src.hardware.imageTools import MatplotShow ''' @brief LogT...
38.761421
226
0.64484
926
7,636
5.149028
0.2473
0.071728
0.016779
0.018456
0.26573
0.220847
0.152475
0.07005
0.042785
0.042785
0
0.008429
0.145495
7,636
196
227
38.959184
0.722299
0.004976
0
0.147059
0
0.029412
0.339975
0.052414
0
0
0
0
0
0
null
null
0.019608
0.029412
null
null
0.039216
0
0
0
null
0
0
0
0
0
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
2eb3d07900dd0c7f4751ad09bc670f3fadf5606f
458
py
Python
examples/zeromq_first.py
msabramo/diesel
a1ed7ed0358d0fec8592e23aafc3b7ec167ab649
[ "BSD-3-Clause" ]
224
2015-01-03T06:33:05.000Z
2021-11-22T03:19:02.000Z
examples/zeromq_first.py
dowski/diesel
d9824e467805caf40e0ba21b88a27db38e64c352
[ "BSD-3-Clause" ]
12
2015-01-01T03:35:15.000Z
2021-05-22T23:37:28.000Z
examples/zeromq_first.py
dowski/diesel
d9824e467805caf40e0ba21b88a27db38e64c352
[ "BSD-3-Clause" ]
37
2015-01-04T01:47:55.000Z
2022-03-03T02:04:15.000Z
from diesel import quickstart, quickstop, sleep, first from diesel.protocols.zeromq import DieselZMQSocket, zctx, zmq import time def get_messages(): outsock = DieselZMQSocket(zctx.socket(zmq.DEALER), bind="tcp://127.0.0.1:5000") for x in xrange(1000): t, m = first(sleep=1.0, waits=[outsock]) ...
24.105263
83
0.637555
60
458
4.833333
0.616667
0.068966
0
0
0
0
0
0
0
0
0
0.045714
0.235808
458
18
84
25.444444
0.782857
0
0
0
0
0
0.093886
0
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2eb6625729f0d7d088a530fc6cdd71cef8012fd9
641
py
Python
tests/unit/api_notebook/test_Jp_GSheets.py
pbx-gs/OSBot-Jupyter
4c05384c46b6ba818a6856bf016b829b737cd72c
[ "Apache-2.0" ]
null
null
null
tests/unit/api_notebook/test_Jp_GSheets.py
pbx-gs/OSBot-Jupyter
4c05384c46b6ba818a6856bf016b829b737cd72c
[ "Apache-2.0" ]
2
2020-02-02T18:27:23.000Z
2020-02-02T18:49:24.000Z
tests/unit/api_notebook/test_Jp_GSheets.py
pbx-gs/OSBot-Jupyter
4c05384c46b6ba818a6856bf016b829b737cd72c
[ "Apache-2.0" ]
2
2019-12-15T23:36:37.000Z
2020-03-23T11:22:03.000Z
from unittest import TestCase from osbot_utils.utils.Dev import Dev from osbot_jupyter.api_notebook.Jp_GSheets import Jp_GSheets class test_Jp_GSheets(TestCase): def setUp(self): self.file_id = '1_Bwz6z34wALFGb1ILUXG8CtF1-Km6F9_sGXnAu4gewY' self.sheet_name = 'Jira Data' self.sheets ...
22.103448
72
0.672387
85
641
4.882353
0.435294
0.120482
0.048193
0.086747
0.115663
0
0
0
0
0
0
0.020576
0.24181
641
28
73
22.892857
0.833333
0
0
0
0
0
0.083203
0.069074
0
0
0
0
0
1
0.25
false
0
0.1875
0
0.5
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2eba2b798479eb6da1c8d9471ea3f803852412fc
2,894
py
Python
library/library/modules/bigip_drop_connection.py
meverett1167/Ansible_Demos
dad515d43af19bcb201f31929e03352d09097efc
[ "Apache-2.0" ]
null
null
null
library/library/modules/bigip_drop_connection.py
meverett1167/Ansible_Demos
dad515d43af19bcb201f31929e03352d09097efc
[ "Apache-2.0" ]
null
null
null
library/library/modules/bigip_drop_connection.py
meverett1167/Ansible_Demos
dad515d43af19bcb201f31929e03352d09097efc
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (c) 2017 F5 Networks Inc. # Copyright (c) 2016 Michael Perzel # GNU General Public License v3.0 (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type ANSIBLE_METADATA = {'...
24.735043
91
0.622668
332
2,894
5.26506
0.475904
0.034325
0.02746
0.039474
0.108124
0.108124
0.044622
0.044622
0
0
0
0.01644
0.26434
2,894
116
92
24.948276
0.804603
0.085003
0
0.266667
0
0
0.522529
0
0
0
0
0
0
1
0.011111
false
0.055556
0.055556
0
0.066667
0.011111
0
0
0
null
0
0
0
0
0
0
0
0
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
2ec2995f108d272af9ac037584f7345c85dce882
1,516
py
Python
vpn_server/accounts_server/accounts/views.py
kekeho/vpn4friends
c469a632b15b2f8ec93fd6bb3839b7686841b83a
[ "MIT" ]
10
2019-04-14T12:31:42.000Z
2019-04-15T06:33:05.000Z
vpn_server/accounts_server/accounts/views.py
kekeho/vpn4friends
c469a632b15b2f8ec93fd6bb3839b7686841b83a
[ "MIT" ]
9
2019-12-04T22:39:41.000Z
2022-02-10T09:55:02.000Z
vpn_server/accounts_server/accounts/views.py
kekeho/vpn4friends
c469a632b15b2f8ec93fd6bb3839b7686841b83a
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.shortcuts import HttpResponse from django.core.mail import EmailMessage import subprocess import os PROFILES_DIR = '/code/profiles' def index(request): return render(request, 'index.html') def profile_create(request): if request.method != 'POST': ...
31.583333
114
0.672164
188
1,516
5.31383
0.457447
0.044044
0.036036
0.051051
0.089089
0.068068
0.068068
0.068068
0
0
0
0.003273
0.193931
1,516
47
115
32.255319
0.814239
0.026385
0
0
0
0
0.197011
0.055027
0
0
0
0
0
1
0.09375
false
0.0625
0.15625
0.0625
0.375
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
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
2ec532c0146facd913a1b49703627fa105784fd7
1,742
py
Python
Badger/private/output/MergeFile.py
zhangxt-ihep/IHEPDIRAC
fb53500a998adc43ff0c65c02caf492da2965de5
[ "MIT" ]
null
null
null
Badger/private/output/MergeFile.py
zhangxt-ihep/IHEPDIRAC
fb53500a998adc43ff0c65c02caf492da2965de5
[ "MIT" ]
1
2021-03-04T08:48:38.000Z
2021-03-04T08:48:38.000Z
Badger/private/output/MergeFile.py
zhangxt-ihep/IHEPDIRAC
fb53500a998adc43ff0c65c02caf492da2965de5
[ "MIT" ]
2
2020-08-26T06:36:51.000Z
2021-03-04T08:08:34.000Z
import os import time import subprocess from DIRAC import gLogger class MergeFile(object): def __init__(self): self._directlyRead = False self._localValidation = True def merge(self, fileList, outputDir, mergeName, mergeExt, mergeMaxSize, mergeCallback): allFileSize = self.__getAllFileSize(fileList)...
27.650794
115
0.644087
201
1,742
5.507463
0.40796
0.03252
0.030714
0
0
0
0
0
0
0
0
0.007692
0.253731
1,742
62
116
28.096774
0.843846
0
0
0.142857
0
0
0.075201
0
0
0
0
0
0
0
null
null
0
0.081633
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2ec6e351dbc729dce4e6093ba50a29cd08481843
1,757
py
Python
src/mainLogging.py
madsmcmillan/banner
3af13f9f98f82a76a35fa0710b2d91e8f5700f68
[ "MIT" ]
1
2018-02-16T00:07:53.000Z
2018-02-16T00:07:53.000Z
src/mainLogging.py
npeirson/banner
111fab25186218616154427aa89cb760da27856f
[ "MIT" ]
null
null
null
src/mainLogging.py
npeirson/banner
111fab25186218616154427aa89cb760da27856f
[ "MIT" ]
1
2018-09-13T03:07:29.000Z
2018-09-13T03:07:29.000Z
############################################################################## ## Project Banner: Sensor Data Logging ## Created: 07-11-2016 by Madeline McMillan and Nate Peirson ## Texas A&M University, Department of Aerospace Engineering ## High Altitude Balloon Club ## Sensor data points are taken by this script ...
45.051282
269
0.659078
225
1,757
5.102222
0.533333
0.031359
0.038328
0.027875
0
0
0
0
0
0
0
0.011765
0.129198
1,757
38
270
46.236842
0.738562
0.326693
0
0
0
0.05
0.247269
0.050645
0
0
0
0
0
1
0
false
0
0.45
0
0.45
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2ec8dec92401e9edf634f58ca9898bb731b42c37
1,064
py
Python
send-sms.py
ssb22/wm6-utils
f50a7ab9d8af0ec66d8c0ef0a1940a0f0aa47110
[ "Unlicense" ]
null
null
null
send-sms.py
ssb22/wm6-utils
f50a7ab9d8af0ec66d8c0ef0a1940a0f0aa47110
[ "Unlicense" ]
null
null
null
send-sms.py
ssb22/wm6-utils
f50a7ab9d8af0ec66d8c0ef0a1940a0f0aa47110
[ "Unlicense" ]
null
null
null
# Send SMS message on WM6 phone from Python 2 # Silas S. Brown - public domain import ctypes import ctypes.wintypes as wintypes def send_SMS_message(number, unicode_text, confirm_delivery=True): print "Sending to "+number+"..." handle = wintypes.DWORD() ret = ctypes.cdll.sms.SmsOpen(u"Microsoft Text SMS Protocol...
39.407407
66
0.706767
160
1,064
4.6125
0.425
0.02168
0.02439
0.02168
0.044715
0.009485
0
0
0
0
0
0.029736
0.146617
1,064
26
67
40.923077
0.78304
0.091165
0
0
0
0.043478
0.148494
0.022845
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.130435
0
0
0
null
0
0
0
0
0
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
2ec8fa8c17f427ed5b596ab0b26621b33bf8f593
3,861
py
Python
temp_model.py
MashaIO/dlmladv
5b29980fe747c9930d00809e744f7ce7d14361bf
[ "MIT" ]
null
null
null
temp_model.py
MashaIO/dlmladv
5b29980fe747c9930d00809e744f7ce7d14361bf
[ "MIT" ]
null
null
null
temp_model.py
MashaIO/dlmladv
5b29980fe747c9930d00809e744f7ce7d14361bf
[ "MIT" ]
null
null
null
#coding=utf-8 from __future__ import print_function try: import numpy as np except: pass try: from hyperopt import Trials, STATUS_OK, tpe except: pass try: from keras.datasets import mnist except: pass try: from keras.layers.core import Dense, Dropout, Activation except: pass try: ...
23.833333
83
0.668998
526
3,861
4.785171
0.325095
0.063568
0.072308
0.094557
0.363131
0.328168
0.304331
0.304331
0.304331
0.304331
0
0.023502
0.21756
3,861
161
84
23.981366
0.809666
0.160321
0
0.607143
0
0
0.111801
0.007846
0
0
0
0
0
1
0.017857
false
0.142857
0.169643
0.008929
0.205357
0.026786
0
0
0
null
0
0
0
0
0
0
0
0
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
2ecac107d81b614bc0d2dcd0fc9f423d25ba08b6
4,313
py
Python
hard/tools/bom_html_with_advanced_grouping.py
agustinBassi/juegoSimon
8ada5b5fcc456dcffcc0cbb1a93fbc4754572007
[ "BSD-2-Clause" ]
null
null
null
hard/tools/bom_html_with_advanced_grouping.py
agustinBassi/juegoSimon
8ada5b5fcc456dcffcc0cbb1a93fbc4754572007
[ "BSD-2-Clause" ]
null
null
null
hard/tools/bom_html_with_advanced_grouping.py
agustinBassi/juegoSimon
8ada5b5fcc456dcffcc0cbb1a93fbc4754572007
[ "BSD-2-Clause" ]
null
null
null
# # Example python script to generate a BOM from a KiCad generic netlist # # Example: Sorted and Grouped HTML BOM with advanced grouping # """ @package Generate a HTML BOM list. Components are sorted and grouped by value Fields are (if exist) Ref, Quantity, Value, Part, Footprint, Description, Vend...
33.176923
79
0.646882
585
4,313
4.733333
0.386325
0.023835
0.032503
0.034308
0.055255
0.026002
0.026002
0
0
0
0
0.006379
0.200325
4,313
129
80
33.434109
0.796463
0.371203
0
0.112676
1
0.028169
0.359452
0.037277
0.042254
0
0
0
0
1
0.014085
false
0
0.042254
0
0.070423
0.084507
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
2ed237d4467097a51db0627eb2ded835cad1f51c
783
py
Python
Chatbot_Model/Time_Convert/setup.py
guci314/Chatbot_CN
02044eed4a141aa8c61d6064c166f95dbdae894c
[ "Apache-2.0" ]
8
2019-08-12T12:38:35.000Z
2022-02-21T03:25:04.000Z
Chatbot_Model/Time_Convert/setup.py
JianboTang/Chatbot_CN
a0f7194252a189f8bc2b62fd16eb2abe432c0bf9
[ "Apache-2.0" ]
null
null
null
Chatbot_Model/Time_Convert/setup.py
JianboTang/Chatbot_CN
a0f7194252a189f8bc2b62fd16eb2abe432c0bf9
[ "Apache-2.0" ]
5
2020-01-08T15:30:38.000Z
2022-02-15T02:39:46.000Z
#-*- coding:utf-8 _*- """ @author:charlesXu @file: setup.py @desc: 设置 @time: 2019/05/23 """ from setuptools import setup setup( name="TimeConverter", version="1.1.0", keywords=("time", "nlp"), description="...", long_description="...", license="MIT Licence", url="http://test.com", auth...
23.727273
52
0.556833
84
783
5.095238
0.738095
0.133178
0.175234
0.121495
0
0
0
0
0
0
0
0.042159
0.242656
783
33
53
23.727273
0.679595
0.104725
0
0
0
0
0.342939
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
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
2ed7cd4779677abe2c51e5cf328f96abc94a57d9
346
py
Python
assignments/activity_plots.py
olzama/Ling471-Spring2021-UW
ed05fa17874ce1f267c6e76ddbf9bfac7aadfb5e
[ "MIT" ]
null
null
null
assignments/activity_plots.py
olzama/Ling471-Spring2021-UW
ed05fa17874ce1f267c6e76ddbf9bfac7aadfb5e
[ "MIT" ]
null
null
null
assignments/activity_plots.py
olzama/Ling471-Spring2021-UW
ed05fa17874ce1f267c6e76ddbf9bfac7aadfb5e
[ "MIT" ]
1
2022-03-28T17:26:46.000Z
2022-03-28T17:26:46.000Z
import matplotlib.pyplot as plt # Example plot X = range(-5, 5) # Note the missing +5! Y = [pow(x, 2) for x in X] plt.plot(X, Y) plt.show() plt.xlabel('X', color='fuchsia', fontweight='bold') plt.ylabel('f(x)') plt.plot(X, Y, 'o-', label='squared') # other styles: '--', ':' plt.legend(loc="upper left") plt.savefig...
21.625
63
0.632948
59
346
3.711864
0.661017
0.068493
0.073059
0.082192
0.091324
0
0
0
0
0
0
0.013468
0.141619
346
15
64
23.066667
0.723906
0.16474
0
0
0
0
0.193662
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2ed935028fe8c43b6cd7752c0576990680836a21
1,866
py
Python
project/bots/analyser/elastic_analyser.py
VendettaTeam/botov-net
40da19c03793e15653b0cc2b5cde3987b64b202f
[ "MIT" ]
null
null
null
project/bots/analyser/elastic_analyser.py
VendettaTeam/botov-net
40da19c03793e15653b0cc2b5cde3987b64b202f
[ "MIT" ]
5
2021-03-19T02:24:29.000Z
2022-02-10T13:19:13.000Z
project/bots/analyser/elastic_analyser.py
VendettaTeam/botov-net
40da19c03793e15653b0cc2b5cde3987b64b202f
[ "MIT" ]
null
null
null
from .analyser import Analyser from project.bots.response.response_answer import ResponseAnswer from project.bots.response.response import BotResponse from project.bots.response.unknown_response import UnknownResponse from project.bots.documents import MessagesDocument from project.bots.models import Messages class E...
35.884615
87
0.65702
211
1,866
5.630332
0.35545
0.035354
0.063131
0.058081
0.186869
0.099327
0.099327
0.099327
0.099327
0.099327
0
0
0.271704
1,866
51
88
36.588235
0.874172
0.079314
0
0.216216
0
0
0.015762
0
0
0
0
0.019608
0
1
0.054054
false
0
0.162162
0
0.378378
0.081081
0
0
0
null
0
0
0
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
2ed98896d9e5eef596d50440a0d845385714e30d
1,258
py
Python
tasks/supporters/settings.py
breefkase/tasks-cli
fcc785d4ab8710606aac37d52256d250d06af204
[ "MIT" ]
null
null
null
tasks/supporters/settings.py
breefkase/tasks-cli
fcc785d4ab8710606aac37d52256d250d06af204
[ "MIT" ]
null
null
null
tasks/supporters/settings.py
breefkase/tasks-cli
fcc785d4ab8710606aac37d52256d250d06af204
[ "MIT" ]
null
null
null
from pathlib import Path import json class Settings: def __init__(self): self.config = {} self.path_settings_file = Path.home().joinpath('.breefkase') self.breefkase_dir = None self.load() def load(self): f = self.path_settings_file try: with open(f...
34.944444
87
0.569952
139
1,258
5.064748
0.417266
0.085227
0.068182
0.085227
0.071023
0.071023
0
0
0
0
0
0
0.334658
1,258
35
88
35.942857
0.841099
0.058029
0
0.066667
0
0
0.174134
0
0
0
0
0.028571
0
1
0.1
false
0
0.066667
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2ee26b71fd2072fa05c57d9cb340d3820903a6ac
221
py
Python
examples/example_image_clear.py
cloudmesh-community/cm-burn
536e2762d3c28ff539161dd3eb10c1cd2dedf9b1
[ "Apache-2.0" ]
null
null
null
examples/example_image_clear.py
cloudmesh-community/cm-burn
536e2762d3c28ff539161dd3eb10c1cd2dedf9b1
[ "Apache-2.0" ]
1
2018-11-20T16:17:03.000Z
2018-11-20T16:17:03.000Z
examples/example_image_clear.py
cloudmesh-community/cm-burn
536e2762d3c28ff539161dd3eb10c1cd2dedf9b1
[ "Apache-2.0" ]
3
2018-09-18T00:00:02.000Z
2018-12-05T17:16:30.000Z
from cloudmesh.burn.image import Image import os i = Image() os.system("touch ~/.cloudmesh/cmburn/images/junk.img") os.system("touch ~/.cloudmesh/cmburn/images/junk.zip") r = i.ls() print (r) r = i.clear() print (r)
14.733333
54
0.687783
36
221
4.222222
0.5
0.144737
0.171053
0.289474
0.5
0.5
0.5
0
0
0
0
0
0.126697
221
14
55
15.785714
0.787565
0
0
0.222222
0
0
0.371041
0.316742
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.222222
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