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
95736cadf09763fa46e1b4862b1cea0326fca033
2,090
py
Python
Codes/Analysis.py
bikram-sahu/Photometry-Toolkit
3b240ff73736f8bf1400a47af19ecc5e2ca671ae
[ "MIT" ]
null
null
null
Codes/Analysis.py
bikram-sahu/Photometry-Toolkit
3b240ff73736f8bf1400a47af19ecc5e2ca671ae
[ "MIT" ]
null
null
null
Codes/Analysis.py
bikram-sahu/Photometry-Toolkit
3b240ff73736f8bf1400a47af19ecc5e2ca671ae
[ "MIT" ]
null
null
null
#Author(s): Bikram Keshari Sahu (15051) and Parth Nayak (15118) #Code under the project of the course PHY312 Numerical Methods and Programming from matplotlib.pylab import * import pyfits as pf from math import * def local_peak(A, y, x, ar): c = 0 for i in range(y-ar, y+ar): for j in range(x-ar, x+ar...
19.53271
78
0.450718
356
2,090
2.547753
0.247191
0.06946
0.033076
0.048512
0.266814
0.266814
0.266814
0.266814
0.229327
0.229327
0
0.065873
0.397129
2,090
107
79
19.53271
0.653968
0.081818
0
0.311688
0
0
0.022953
0.018258
0
0
0
0
0
0
null
null
0
0.038961
null
null
0.025974
0
0
0
null
0
0
0
0
0
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
9575c3d5688ff02f103cc153d808ac953f3f5fd5
1,730
py
Python
qcircuit.py
rpmuller/PlotQCircuit
17ff7f04c3c1de4e47dcbb68cdb4b823a227e2d4
[ "BSD-2-Clause" ]
7
2017-03-24T20:22:40.000Z
2021-09-20T10:41:24.000Z
qcircuit.py
rpmuller/PlotQCircuit
17ff7f04c3c1de4e47dcbb68cdb4b823a227e2d4
[ "BSD-2-Clause" ]
null
null
null
qcircuit.py
rpmuller/PlotQCircuit
17ff7f04c3c1de4e47dcbb68cdb4b823a227e2d4
[ "BSD-2-Clause" ]
5
2017-10-24T07:39:51.000Z
2022-03-21T21:54:41.000Z
from plot_quantum_circuit import plot_quantum_circuit class QCircuit: def __init__(self): self._gates = [] self._qubits = [] self._inits = {} return def reset(self): "Just reset the gates, not the qubits" self._gates = [] return def qub...
26.212121
86
0.571098
238
1,730
4.016807
0.319328
0.052301
0.056485
0.046025
0.108787
0.058577
0
0
0
0
0
0.009091
0.300578
1,730
65
87
26.615385
0.780992
0.145665
0
0.16
0
0
0.065161
0
0
0
0
0.015385
0
1
0.18
false
0
0.02
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
957b5b2f1cf69fd9a022323dd639c1044a5f8512
948
py
Python
supervisor/hardware/data.py
peddamat/home-assistant-supervisor-test
5da55772bcb2db3c6d8432cbc08e2ac9fbf480c4
[ "Apache-2.0" ]
1
2021-09-22T00:15:17.000Z
2021-09-22T00:15:17.000Z
supervisor/hardware/data.py
peddamat/home-assistant-supervisor-test
5da55772bcb2db3c6d8432cbc08e2ac9fbf480c4
[ "Apache-2.0" ]
200
2020-10-13T06:35:51.000Z
2022-03-31T06:03:35.000Z
supervisor/hardware/data.py
peddamat/home-assistant-supervisor-test
5da55772bcb2db3c6d8432cbc08e2ac9fbf480c4
[ "Apache-2.0" ]
2
2021-09-22T00:13:58.000Z
2021-09-22T15:06:27.000Z
"""Data representation of Hardware.""" from pathlib import Path from typing import Dict, List, Optional import attr @attr.s(slots=True, frozen=True) class Device: """Represent a device.""" name: str = attr.ib(eq=False) path: Path = attr.ib(eq=False) sysfs: Path = attr.ib(eq=True) subsystem: str ...
25.621622
51
0.593882
126
948
4.444444
0.404762
0.064286
0.085714
0.116071
0.328571
0.182143
0.182143
0.182143
0.182143
0.182143
0
0.002845
0.258439
948
36
52
26.333333
0.793741
0.121308
0
0.125
0
0
0.02974
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.708333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
957dc4a82ff7dcf9fe629eae12c8c2d677dc60b9
1,401
py
Python
src/env_handler.py
lewis-neal/rl-ee
e6388982997013df218a9b4667e3eef5f288ca1d
[ "MIT" ]
null
null
null
src/env_handler.py
lewis-neal/rl-ee
e6388982997013df218a9b4667e3eef5f288ca1d
[ "MIT" ]
null
null
null
src/env_handler.py
lewis-neal/rl-ee
e6388982997013df218a9b4667e3eef5f288ca1d
[ "MIT" ]
null
null
null
import gym from envs.tape_env_wrapper import TapeEnvWrapper from envs.discrete_env_wrapper import DiscreteEnvWrapper from envs.blackjack_env_wrapper import BlackjackEnvWrapper from envs.guess_env_wrapper import GuessEnvWrapper from envs.continuous_state_env_wrapper import ContinuousStateEnvWrapper from envs.pendulum_en...
41.205882
131
0.684511
168
1,401
5.625
0.345238
0.050794
0.067725
0.063492
0.238095
0.173545
0
0
0
0
0
0.045374
0.197716
1,401
33
132
42.454545
0.795374
0
0
0
0
0
0.164882
0
0
0
0
0
0
1
0.04
false
0
0.28
0
0.68
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
957ef0bee3f82cfc8415a47df91e4d152f30a0ff
255
py
Python
more_zeros.py
JuanVidal/Katas
e5ec3731cb3350516235cfbb21d2a47ab4658a22
[ "MIT" ]
null
null
null
more_zeros.py
JuanVidal/Katas
e5ec3731cb3350516235cfbb21d2a47ab4658a22
[ "MIT" ]
null
null
null
more_zeros.py
JuanVidal/Katas
e5ec3731cb3350516235cfbb21d2a47ab4658a22
[ "MIT" ]
null
null
null
def more_zeros(s): s = "".join(dict.fromkeys(s)) # Getting rid of the duplicates in order s2 = [bin(ord(i))[2:] for i in s] s2 = [len(i)>2*i.count('1') for i in s2] return [i for j, i in enumerate(s) if s2[j]] print(more_zeros("DIGEST"))
31.875
74
0.6
51
255
2.960784
0.568627
0.059603
0.07947
0
0
0
0
0
0
0
0
0.034826
0.211765
255
7
75
36.428571
0.716418
0.14902
0
0
0
0
0.032558
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9585bce6754e30c2fad7c69df9af95fe652b5a40
1,997
py
Python
tests/verifyctop.py
asestes1/ctop-tests
baabbdce3d8125268f6b05a8cb161a48478a13cf
[ "MIT" ]
null
null
null
tests/verifyctop.py
asestes1/ctop-tests
baabbdce3d8125268f6b05a8cb161a48478a13cf
[ "MIT" ]
null
null
null
tests/verifyctop.py
asestes1/ctop-tests
baabbdce3d8125268f6b05a8cb161a48478a13cf
[ "MIT" ]
null
null
null
import operator import sys import os sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) import bctop.allocations import tests.instance_def instance = tests.instance_def.small_instance() methods = {'RBS': bctop.allocations.rbs, 'CTOP': bctop.allocations.CtopRunner(cost_method=bc...
57.057143
114
0.618428
194
1,997
6.247423
0.273196
0.290429
0.128713
0.128713
0.620462
0.572607
0.569307
0.569307
0.569307
0.569307
0
0
0.272409
1,997
35
115
57.057143
0.834136
0
0
0
0
0
0.048549
0
0
0
0
0
0
1
0
false
0
0.16129
0
0.16129
0.096774
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
9589cb9672a934d21de036214969674ad4ba0d4a
1,344
py
Python
Week-1/Converter.py
soham129/Robotics-Automation-QSTP-2020
b1f408c4a527f4241dd00d09faa8bddaeebb5f97
[ "MIT" ]
null
null
null
Week-1/Converter.py
soham129/Robotics-Automation-QSTP-2020
b1f408c4a527f4241dd00d09faa8bddaeebb5f97
[ "MIT" ]
null
null
null
Week-1/Converter.py
soham129/Robotics-Automation-QSTP-2020
b1f408c4a527f4241dd00d09faa8bddaeebb5f97
[ "MIT" ]
null
null
null
import math print("Greetings! This is co-ordinate converter") print("Choose Your Option:") print("1.Polar to Cartesian") print("2.Cartesian to Polar") n = int(input()) def PtoC(): #Polar to Cartesian a=float(input('Enter radius:')) b=float(input('Enter theta in degrees:')) ...
32.780488
75
0.506696
175
1,344
3.891429
0.337143
0.058737
0.088106
0.044053
0.044053
0
0
0
0
0
0
0.022042
0.358631
1,344
40
76
33.6
0.767981
0.175595
0
0
0
0
0.260711
0
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.233333
0
0
0
null
0
0
0
0
0
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
958fbd311caea2637413077304f3b9139d391d03
2,370
py
Python
cvxpy/atoms/sigma_max.py
NunoEdgarGFlowHub/cvxpy
43270fcc8af8fc4742f1b3519800b0074f2e6693
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cvxpy/atoms/sigma_max.py
NunoEdgarGFlowHub/cvxpy
43270fcc8af8fc4742f1b3519800b0074f2e6693
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cvxpy/atoms/sigma_max.py
NunoEdgarGFlowHub/cvxpy
43270fcc8af8fc4742f1b3519800b0074f2e6693
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
""" Copyright 2013 Steven Diamond This file is part of CVXPY. CVXPY is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. CVXPY is distributed i...
27.241379
74
0.629536
344
2,370
4.261628
0.456395
0.020464
0.026603
0.038881
0.124147
0.07367
0
0
0
0
0
0.006433
0.278481
2,370
86
75
27.55814
0.850877
0.556962
0
0.103448
0
0
0.001057
0
0
0
0
0
0
1
0.310345
false
0
0.137931
0
0.793103
0
0
0
0
null
0
0
0
0
0
0
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
9592059737eb6d7a04fec2778c813337730cb6ca
16,082
py
Python
tool/binary_dependency_graph/cpfs/setter_getter.py
MageWeiG/karonte
2ffe649557adccdd3c2c77c0ae0a5f27a385fdcb
[ "BSD-2-Clause" ]
1
2021-04-15T12:00:56.000Z
2021-04-15T12:00:56.000Z
tool/binary_dependency_graph/cpfs/setter_getter.py
cascades-sjtu/karonte
2ffe649557adccdd3c2c77c0ae0a5f27a385fdcb
[ "BSD-2-Clause" ]
null
null
null
tool/binary_dependency_graph/cpfs/setter_getter.py
cascades-sjtu/karonte
2ffe649557adccdd3c2c77c0ae0a5f27a385fdcb
[ "BSD-2-Clause" ]
1
2021-06-09T07:37:59.000Z
2021-06-09T07:37:59.000Z
from __init__ import CPF, LIB_KEYWORD import angr import itertools from taint_analysis.utils import ordered_argument_regs, get_arity from binary_dependency_graph.utils import get_string, are_parameters_in_registers, run_command, contains from binary_dependency_graph.bdp_enum import Role, RoleInfo, BuffType from taint...
36.55
117
0.566658
2,016
16,082
4.268849
0.153274
0.033465
0.027888
0.017662
0.391703
0.348362
0.305485
0.305485
0.298048
0.289682
0
0.002509
0.355615
16,082
439
118
36.633257
0.827946
0.036065
0
0.446886
0
0
0.046128
0
0
0
0
0
0.007326
0
null
null
0
0.025641
null
null
0.018315
0
0
0
null
0
0
0
0
0
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
95a00aec0150240c2abcbb5cab7edec09f1ae106
577
py
Python
sksurgerytrackervisualisation/ui/sksurgerytrackervisualisation_demo.py
SciKit-Surgery/scikit-surgerytrackervisualisation
b4b0a23a8a297243c19592bf0eaaf5d0454ea8d1
[ "BSD-3-Clause" ]
1
2020-10-03T14:32:37.000Z
2020-10-03T14:32:37.000Z
sksurgerytrackervisualisation/ui/sksurgerytrackervisualisation_demo.py
SciKit-Surgery/scikit-surgerytrackervisualisation
b4b0a23a8a297243c19592bf0eaaf5d0454ea8d1
[ "BSD-3-Clause" ]
13
2020-07-28T09:11:20.000Z
2021-03-18T11:31:10.000Z
sksurgerytrackervisualisation/ui/sksurgerytrackervisualisation_demo.py
SciKit-Surgery/scikit-surgerytrackervisualisation
b4b0a23a8a297243c19592bf0eaaf5d0454ea8d1
[ "BSD-3-Clause" ]
null
null
null
# coding=utf-8 """Tracker visualisation demo module""" import sys from PySide2.QtWidgets import QApplication from sksurgerycore.configuration.configuration_manager import ( ConfigurationManager ) from sksurgerytrackervisualisation.overlay_app.overlay import OverlayApp def run(configfile): """ Ru...
20.607143
72
0.734835
55
577
7.636364
0.6
0.066667
0
0
0
0
0
0
0
0
0
0.004219
0.17851
577
27
73
21.37037
0.881857
0.154246
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.307692
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
95a0405a81a6e34776b8c5d1b613b63844182cd5
428
py
Python
source/_sample/ptt/friendships-lookup.py
showa-yojyo/notebook
82c15074c24d64a1dfcb70a526bc1deb2ecffe68
[ "MIT" ]
14
2016-04-13T08:10:02.000Z
2021-04-19T09:42:51.000Z
source/_sample/ptt/friendships-lookup.py
showa-yojyo/note
5f262ecda3df132cb66206c465d16e174061d6b9
[ "MIT" ]
88
2017-09-27T15:07:05.000Z
2019-10-02T04:05:03.000Z
source/_sample/ptt/friendships-lookup.py
showa-yojyo/note
5f262ecda3df132cb66206c465d16e174061d6b9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Demonstration GET friendships/lookup # See https://dev.twitter.com/rest/reference/get/friendships/lookup from secret import twitter_instance from json import dump import sys tw = twitter_instance() # [1] ids = ','.join((str(i) for i in (577367985, 1220723053, 1288619659))) response = tw.frie...
23.777778
72
0.752336
63
428
5.031746
0.730159
0.160883
0.126183
0
0
0
0
0
0
0
0
0.084211
0.11215
428
17
73
25.176471
0.75
0.306075
0
0
0
0
0.003425
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
95a5116b4022eed76bf09c520e68dd424216f2f9
816
py
Python
espei/citing.py
wahab2604/ESPEI
70a4185ce87a125e926f88e7ef93c02276fd6e90
[ "MIT" ]
39
2017-11-03T03:07:46.000Z
2022-03-17T02:41:59.000Z
espei/citing.py
richardotis/ESPEI
70a4185ce87a125e926f88e7ef93c02276fd6e90
[ "MIT" ]
122
2017-06-23T16:34:13.000Z
2022-02-21T18:26:01.000Z
espei/citing.py
richardotis/ESPEI
70a4185ce87a125e926f88e7ef93c02276fd6e90
[ "MIT" ]
21
2017-06-18T02:36:38.000Z
2022-03-29T00:17:21.000Z
""" Define citations for ESPEI """ ESPEI_CITATION = "B. Bocklund, R. Otis, A. Egorov, A. Obaied, I. Roslyakova, Z.-K. Liu, ESPEI for efficient thermodynamic database development, modification, and uncertainty quantification: application to Cu-Mg, MRS Commun. (2019) 1-10. doi:10.1557/mrc.2019.59." ESPEI_BIBTEX = """@ar...
38.857143
262
0.727941
109
816
5.431193
0.59633
0.027027
0.057432
0.101351
0.418919
0.418919
0.358108
0.358108
0.358108
0.358108
0
0.09591
0.131127
816
20
263
40.8
0.739069
0.031863
0
0
0
0.2
0.943662
0.09347
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
95affabf6bdb3ba482d8711e39d19e2d638502db
593
py
Python
application/model.py
jmgirven/warehouse
1813f9198b7c1a6399c240765b91d9148b97fd2d
[ "Apache-2.0" ]
null
null
null
application/model.py
jmgirven/warehouse
1813f9198b7c1a6399c240765b91d9148b97fd2d
[ "Apache-2.0" ]
null
null
null
application/model.py
jmgirven/warehouse
1813f9198b7c1a6399c240765b91d9148b97fd2d
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 from google.appengine.ext import ndb import config import modelx class Base(ndb.Model, modelx.BaseX): created = ndb.DateTimeProperty(auto_now_add=True) modified = ndb.DateTimeProperty(auto_now=True) version = ndb.IntegerProperty(default=config.CURRENT_VERSION_TIMESTAMP) _PROPERTIES ...
20.448276
75
0.679595
66
593
6.015152
0.575758
0.09068
0.115869
0.130982
0
0
0
0
0
0
0
0.002137
0.210793
593
28
76
21.178571
0.846154
0.021922
0
0
0
0
0.046875
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
95b6e247a25f771d2fae89fce8331b284554a3dd
3,626
py
Python
sahara/service/edp/data_sources/swift/implementation.py
ksshanam/sahara
0d259f7a71447cd0cefe4f11184cc2ee335f4e33
[ "Apache-2.0" ]
161
2015-01-05T11:46:42.000Z
2022-01-05T07:41:39.000Z
sahara/service/edp/data_sources/swift/implementation.py
ksshanam/sahara
0d259f7a71447cd0cefe4f11184cc2ee335f4e33
[ "Apache-2.0" ]
5
2019-08-14T06:46:03.000Z
2021-12-13T20:01:25.000Z
sahara/service/edp/data_sources/swift/implementation.py
ksshanam/sahara
0d259f7a71447cd0cefe4f11184cc2ee335f4e33
[ "Apache-2.0" ]
118
2015-01-29T06:34:35.000Z
2021-12-06T07:30:09.000Z
# Copyright (c) 2017 OpenStack Foundation # # 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 ...
43.166667
79
0.654992
485
3,626
4.779381
0.350515
0.043141
0.024159
0.015531
0.179465
0.179465
0.179465
0.114754
0.084556
0.036238
0
0.004506
0.265582
3,626
83
80
43.686747
0.865941
0.269167
0
0.083333
0
0
0.138942
0.009897
0
0
0
0
0
1
0.0625
false
0.125
0.166667
0
0.270833
0
0
0
0
null
0
0
0
0
0
0
0
0
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
95c2e20c95dab70f5e37ae4f30d32406f3c306fc
574
py
Python
setup.py
Starlitnightly/ClassifyGene
63011c20728a8748b28a0b1cb1577dfa745a134e
[ "MIT" ]
null
null
null
setup.py
Starlitnightly/ClassifyGene
63011c20728a8748b28a0b1cb1577dfa745a134e
[ "MIT" ]
null
null
null
setup.py
Starlitnightly/ClassifyGene
63011c20728a8748b28a0b1cb1577dfa745a134e
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name = 'ClassifyGene', version = '1.0.0', # keywords = ('chinesename',), description = 'A python library for screening classified dignosed Gene', license = 'MIT License', install_requires = ['Pyomic'], packages = ['ClassifyGe...
31.888889
78
0.642857
55
574
6.6
0.763636
0.066116
0
0
0
0
0
0
0
0
0
0.013453
0.222997
574
17
79
33.764706
0.800448
0.165505
0
0
0
0
0.377919
0.046709
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
95d0cd394c39800f87fb09a1e2903f0a223fef3d
6,960
py
Python
pose/pose_finder.py
Jacob-Lapkin/UCL_Thesis
6c36cf3b1604deccdbdc9dda58f2aab5b42fa504
[ "MIT" ]
null
null
null
pose/pose_finder.py
Jacob-Lapkin/UCL_Thesis
6c36cf3b1604deccdbdc9dda58f2aab5b42fa504
[ "MIT" ]
null
null
null
pose/pose_finder.py
Jacob-Lapkin/UCL_Thesis
6c36cf3b1604deccdbdc9dda58f2aab5b42fa504
[ "MIT" ]
null
null
null
import cv2 import mediapipe as mp import numpy as np import pandas as pd mp_drawing = mp.solutions.drawing_utils mp_pose = mp.solutions.pose def calculate_angle(a,b,c): a = np.array(a) # First b = np.array(b) # Mid c = np.array(c) # End radians = np.arctan2(c[1]-b[1], c[0]-b[0]) - np.arctan2(a[1]-...
45.789474
166
0.612931
848
6,960
4.766509
0.194575
0.046017
0.10762
0.187036
0.448788
0.364671
0.337952
0.133102
0.133102
0.133102
0
0.022921
0.291667
6,960
152
167
45.789474
0.796957
0.098276
0
0.042105
0
0
0.01824
0
0
0
0.00064
0
0
1
0.031579
false
0.010526
0.042105
0
0.105263
0.021053
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
95d47c41bd99063a19cc39a7f13788fae87c5ae3
276
py
Python
cosima_cookbook/diagnostics/__init__.py
OceansAus/cosima-cookbook
ac2d674bf7639558e125d390457fcf6692b92b7a
[ "Apache-2.0" ]
30
2017-03-30T14:22:43.000Z
2019-04-08T10:27:14.000Z
cosima_cookbook/diagnostics/__init__.py
COSIMA/cosima-cookbook
ac2d674bf7639558e125d390457fcf6692b92b7a
[ "Apache-2.0" ]
170
2019-04-18T04:02:13.000Z
2022-03-24T04:12:42.000Z
cosima_cookbook/diagnostics/__init__.py
COSIMA/cosima-cookbook
ac2d674bf7639558e125d390457fcf6692b92b7a
[ "Apache-2.0" ]
16
2019-05-31T01:42:41.000Z
2021-11-19T02:41:12.000Z
from .mean_tau_x import mean_tau_x from .simple import * from .overturning import * __all__ = [ "mean_tau_x", "annual_scalar", "drake_passage", "sea_surface_temperature", "sea_surface_salinity", "psi_avg", "zonal_mean", "mixed_layer_depth", ]
18.4
34
0.677536
35
276
4.771429
0.628571
0.125749
0.143713
0
0
0
0
0
0
0
0
0
0.206522
276
14
35
19.714286
0.762557
0
0
0
0
0
0.40942
0.083333
0
0
0
0
0
1
0
false
0.076923
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
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
95d4d0d269c2f7b9dacde9bcfd53efe92515e1fa
3,739
py
Python
sokannonser/rest/endpoint/historical.py
JobtechSwe/sokannonser-api
84214c51429fcedffa9a5d7d93afd9fdc080dcbb
[ "Apache-2.0" ]
14
2018-09-12T14:08:54.000Z
2021-09-20T11:54:20.000Z
sokannonser/rest/endpoint/historical.py
JobtechSwe/sokannonser-api
84214c51429fcedffa9a5d7d93afd9fdc080dcbb
[ "Apache-2.0" ]
43
2018-09-25T14:39:02.000Z
2021-10-01T08:40:23.000Z
sokannonser/rest/endpoint/historical.py
JobtechSwe/sokannonser-api
84214c51429fcedffa9a5d7d93afd9fdc080dcbb
[ "Apache-2.0" ]
8
2018-11-21T23:51:47.000Z
2021-06-04T10:34:16.000Z
import logging import time from flask_restx import abort from flask_restx import Resource from jobtech.common.rest.decorators import check_api_key_and_return_metadata from sokannonser.repository.platsannonser import fetch_platsannons from sokannonser.repository.querybuilder import QueryBuilderType from sokannonser.rep...
42.977011
125
0.718909
464
3,739
5.543103
0.306034
0.07465
0.027994
0.021773
0.354977
0.319984
0.284215
0.254666
0.254666
0.236003
0
0.006566
0.185344
3,739
86
126
43.476744
0.83782
0.015245
0
0.202703
0
0
0.180484
0
0
0
0
0.011628
0
1
0.040541
false
0
0.189189
0
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
95d7fefac040741107d88f1c99856c9412a0bf69
1,087
py
Python
src/chaperone-localisation/0_initial_cleanup.py
dezeraecox-manuscripts/RAEBURN_Nuclear-versus-cytoplasmic-proteostasis
40ada06c3c547ce46c87beb27ff89902f9dc685e
[ "MIT" ]
null
null
null
src/chaperone-localisation/0_initial_cleanup.py
dezeraecox-manuscripts/RAEBURN_Nuclear-versus-cytoplasmic-proteostasis
40ada06c3c547ce46c87beb27ff89902f9dc685e
[ "MIT" ]
null
null
null
src/chaperone-localisation/0_initial_cleanup.py
dezeraecox-manuscripts/RAEBURN_Nuclear-versus-cytoplasmic-proteostasis
40ada06c3c547ce46c87beb27ff89902f9dc685e
[ "MIT" ]
null
null
null
import os import re from shutil import copyfile import numpy as np import skimage.io from loguru import logger logger.info('Import ok') def jarvis(input_path, output_path): """Simple filename cleansing for exported TIF filenames (as these are normally a mess following export via ImageJ) Parameters -----...
28.605263
118
0.669733
143
1,087
4.881119
0.496504
0.08596
0.047278
0.051576
0
0
0
0
0
0
0
0.001175
0.217111
1,087
37
119
29.378378
0.819036
0.24011
0
0
0
0
0.278481
0.150633
0
0
0
0
0
1
0.052632
false
0
0.368421
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
95da0dcab8cf344a56e0d46afff570c12d23673f
1,981
py
Python
app/models/interfaces.py
lguobin/KB_API
f7180cf430cb8de2eac8fa78e3937666da950c7a
[ "Apache-2.0" ]
null
null
null
app/models/interfaces.py
lguobin/KB_API
f7180cf430cb8de2eac8fa78e3937666da950c7a
[ "Apache-2.0" ]
null
null
null
app/models/interfaces.py
lguobin/KB_API
f7180cf430cb8de2eac8fa78e3937666da950c7a
[ "Apache-2.0" ]
null
null
null
# !/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2021/08/09 11:50:26 # @File : Interfaces.py # @Author : K.B.Lam # @Version : 1.0 from .base import _BaseModel from app.extensions import db from app.models.tools import get_username class Interfaces(_BaseModel): __tablename__ = "Interfaces" ...
34.754386
93
0.595659
237
1,981
4.831224
0.35865
0.062882
0.122271
0.047162
0.131004
0.131004
0
0
0
0
0
0.024733
0.244826
1,981
57
94
34.754386
0.740642
0.068652
0
0.04878
0
0
0.147363
0
0
0
0
0
0
1
0.04878
false
0
0.073171
0.02439
0.512195
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
95e949c06f9df59e92143df76700543c9503fda8
566
py
Python
15_dicts.py
benjiyo/EulerProject
47b6c5cc0ff969c050320efed98f5769cdc25c6e
[ "MIT" ]
null
null
null
15_dicts.py
benjiyo/EulerProject
47b6c5cc0ff969c050320efed98f5769cdc25c6e
[ "MIT" ]
null
null
null
15_dicts.py
benjiyo/EulerProject
47b6c5cc0ff969c050320efed98f5769cdc25c6e
[ "MIT" ]
null
null
null
from datetime import datetime startTime = datetime.now() end = 20 d = {(end,end): 0} def calculate(x,y): if (x,y) in d: return d[(x,y)] elif x == y: ans = 2*calculate(x + 1,y) d[(x,y)] = ans return ans elif x < end and y < end: ans = calculate(x+1,y) + ...
19.517241
49
0.491166
91
566
3.054945
0.318681
0.057554
0.043165
0.086331
0.107914
0.107914
0
0
0
0
0
0.02965
0.344523
566
28
50
20.214286
0.719677
0.100707
0
0.2
0
0
0.019724
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
95f1ea81444a879545070ec4e2e67121a75a6e6d
4,094
py
Python
geo/forms.py
mariobp/geoactivos
02234dee8ae9d95f3b9187104b75e2bb68957f71
[ "MIT" ]
null
null
null
geo/forms.py
mariobp/geoactivos
02234dee8ae9d95f3b9187104b75e2bb68957f71
[ "MIT" ]
null
null
null
geo/forms.py
mariobp/geoactivos
02234dee8ae9d95f3b9187104b75e2bb68957f71
[ "MIT" ]
null
null
null
from cuser.middleware import CuserMiddleware from django import forms from django.db.utils import NotSupportedError from django_select2.forms import ( Select2Widget ) from geo import models as geo from inventario import models as inv class GeoEditForm(forms.ModelForm): class Meta: model = geo.GeoActi...
31.984375
117
0.574255
424
4,094
5.481132
0.254717
0.050344
0.015491
0.02969
0.339501
0.29432
0.26463
0.241394
0.171687
0.171687
0
0.002168
0.324133
4,094
127
118
32.23622
0.83773
0.053493
0
0.349398
0
0
0.07369
0
0
0
0
0
0
0
null
null
0
0.072289
null
null
0.012048
0
0
0
null
0
0
0
0
0
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
95febfeb6e6215eff6cd26ab1dc6043158e1ecdd
1,505
py
Python
oo/pessoa.py
MatheusLeandro01/pythonbirds
d39de76e65c9d753a4b7a79a844658637b8c4beb
[ "MIT" ]
null
null
null
oo/pessoa.py
MatheusLeandro01/pythonbirds
d39de76e65c9d753a4b7a79a844658637b8c4beb
[ "MIT" ]
null
null
null
oo/pessoa.py
MatheusLeandro01/pythonbirds
d39de76e65c9d753a4b7a79a844658637b8c4beb
[ "MIT" ]
null
null
null
class Pessoa: olhos = 2 # atributo de classe def __init__(self, idade=None, nome='', *filhos): # Método construtor self.idade = idade # atributo de objeto ou atributo de Instância self.nome = nome self.filhos = list(filhos) # atributo complexo def cumprimentar(self): re...
35
124
0.680399
191
1,505
5.183246
0.340314
0.040404
0.032323
0.046465
0
0
0
0
0
0
0
0.005085
0.215947
1,505
42
125
35.833333
0.833898
0.235216
0
0.060606
0
0
0.133685
0.025506
0
0
0
0.02381
0
1
0.121212
false
0
0
0.060606
0.363636
0.272727
0
0
0
null
0
0
0
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
25057be6d8e02af0daac48ef7765db0e0dde4d4e
2,630
py
Python
atlas/testing/acceptance/test_cli_init.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
296
2020-03-16T19:55:00.000Z
2022-01-10T19:46:05.000Z
atlas/testing/acceptance/test_cli_init.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
57
2020-03-17T11:15:57.000Z
2021-07-10T14:42:27.000Z
atlas/testing/acceptance/test_cli_init.py
DeepLearnI/atlas
8aca652d7e647b4e88530b93e265b536de7055ed
[ "Apache-2.0" ]
38
2020-03-17T21:06:05.000Z
2022-02-08T03:19:34.000Z
from foundations_spec import * from foundations_spec.extensions import run_process from acceptance.mixins.run_local_job import RunLocalJob class TestCLIInit(Spec, RunLocalJob): @let def job_root(self): from foundations_contrib.utils import foundations_home from os.path import expanduser ...
38.115942
108
0.688213
339
2,630
5.020649
0.309735
0.029377
0.038778
0.047004
0.277321
0.232667
0.199765
0.141011
0.050529
0
0
0.00048
0.208365
2,630
68
109
38.676471
0.817003
0
0
0.156863
0
0
0.214911
0.126664
0
0
0
0
0.117647
1
0.156863
false
0
0.294118
0
0.509804
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
2509d69ad965161456991f26e513f18b712a2c7a
2,589
py
Python
ph5/core/ibmfloat.py
mbriggs134/PH5
691790269c4f80c892bacb84fdcaba905b9e0d6b
[ "MIT" ]
21
2016-12-07T20:09:31.000Z
2022-03-07T22:23:57.000Z
ph5/core/ibmfloat.py
mbriggs134/PH5
691790269c4f80c892bacb84fdcaba905b9e0d6b
[ "MIT" ]
395
2016-11-03T03:43:55.000Z
2022-03-08T20:54:22.000Z
ph5/core/ibmfloat.py
mbriggs134/PH5
691790269c4f80c892bacb84fdcaba905b9e0d6b
[ "MIT" ]
6
2016-10-25T22:22:38.000Z
2021-05-10T18:19:45.000Z
#!/usr/bin/env pnpython3 # # Convert 32 bit IBM floats to 32 bit IEEE floats # and visa versa in pure python # Note: # # Steve Azevedo, March 2007 # Original C versions from David Okaya, and Jim Fowler July 1992 # import construct PROG_VERSION = '2015.092' # Masks # IBMSIGN = 0x80000000 # IBMEXP = 0x7F000000 # ...
20.712
64
0.528776
342
2,589
3.923977
0.312866
0.076006
0.042474
0.028316
0.157973
0.065574
0.065574
0
0
0
0
0.090212
0.344921
2,589
124
65
20.879032
0.701061
0.20085
0
0.273973
0
0
0.039101
0
0
0
0.014663
0
0
0
null
null
0
0.013699
null
null
0.041096
0
0
0
null
0
0
0
0
0
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
2510b136c1d76c07dbc50bad1fa6f9754ae68a35
23,325
py
Python
.sagemathcloud/cassandra.py
febman/elastic-3D-model
4984b0bdf5d116b0aaf8d4b70d33cbcee97fc83d
[ "Zlib" ]
null
null
null
.sagemathcloud/cassandra.py
febman/elastic-3D-model
4984b0bdf5d116b0aaf8d4b70d33cbcee97fc83d
[ "Zlib" ]
null
null
null
.sagemathcloud/cassandra.py
febman/elastic-3D-model
4984b0bdf5d116b0aaf8d4b70d33cbcee97fc83d
[ "Zlib" ]
null
null
null
############################################################################### # # SageMathCloud: A collaborative web-based interface to Sage, IPython, LaTeX and the Terminal. # # Copyright (C) 2014, William Stein # # This program is free software: you can redistribute it and/or modify # it under the terms of...
39.871795
249
0.596613
3,003
23,325
4.471861
0.153846
0.042222
0.028297
0.026808
0.365329
0.307841
0.257428
0.215057
0.178867
0.139623
0
0.008469
0.230568
23,325
584
250
39.940068
0.739789
0.107438
0
0.267267
0
0.027027
0.232952
0.004281
0
0
0
0.001712
0
0
null
null
0.036036
0.012012
null
null
0.051051
0
0
0
null
0
0
0
0
0
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
25141dbfe872031c15c0983b1923233295594947
2,454
py
Python
django_openpay/views.py
letops/django-openpay
4e9d050327a0e99b99031b771d8f3b670a91ddae
[ "MIT" ]
3
2016-12-06T01:30:15.000Z
2020-09-18T19:40:49.000Z
django_openpay/views.py
letops/django-openpay
4e9d050327a0e99b99031b771d8f3b670a91ddae
[ "MIT" ]
5
2016-12-12T14:53:24.000Z
2022-01-06T20:58:54.000Z
django_openpay/views.py
letops/django-openpay
4e9d050327a0e99b99031b771d8f3b670a91ddae
[ "MIT" ]
6
2017-01-04T11:52:24.000Z
2020-07-22T20:18:33.000Z
from django.db import transaction from django.shortcuts import render from django.http import HttpResponse from django.views.decorators.csrf import csrf_exempt from django.views.decorators.http import require_POST import json from . import openpay, models, webhooks, decorators @require_POST @transaction.atomic def ...
31.063291
62
0.582315
230
2,454
6.169565
0.391304
0.035236
0.021142
0.035236
0.15081
0.15081
0.047921
0.047921
0
0
0
0.004681
0.303586
2,454
78
63
31.461538
0.825629
0.192747
0
0.26087
0
0
0.062819
0
0
0
0
0.012821
0
1
0.043478
false
0
0.152174
0
0.282609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
25187ab7aa942e75f9eabdf91e29841de969f9c0
1,144
py
Python
recohut/models/svd.py
sparsh-ai/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
null
null
null
recohut/models/svd.py
sparsh-ai/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
1
2022-01-12T05:40:57.000Z
2022-01-12T05:40:57.000Z
recohut/models/svd.py
RecoHut-Projects/recohut
4121f665761ffe38c9b6337eaa9293b26bee2376
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/models/models.svd.ipynb (unless otherwise specified). __all__ = ['SVDSimilarity'] # Cell import pandas as pd import numpy as np from sklearn.metrics.pairwise import cosine_similarity from scipy.sparse.linalg import svds # Cell class SVDSimilarity: def fit(self, df,...
40.857143
101
0.68007
171
1,144
4.339181
0.450292
0.067385
0.036388
0.040431
0.059299
0
0
0
0
0
0
0.015152
0.192308
1,144
28
102
40.857143
0.787879
0.119755
0
0
1
0
0.032901
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
25197a7ffd81a81d4d16f132e5b43f746f6cf51a
531
py
Python
galry/test/texture_default_test.py
fiath/test
b50898dafa90e93da48f573e0b3feb1bb6acd8de
[ "MIT", "BSD-3-Clause" ]
55
2015-01-12T06:08:36.000Z
2021-08-13T17:24:50.000Z
galry/test/texture_default_test.py
fiath/test
b50898dafa90e93da48f573e0b3feb1bb6acd8de
[ "MIT", "BSD-3-Clause" ]
2
2017-03-08T12:04:22.000Z
2017-07-27T07:13:00.000Z
galry/test/texture_default_test.py
fiath/test
b50898dafa90e93da48f573e0b3feb1bb6acd8de
[ "MIT", "BSD-3-Clause" ]
10
2015-01-01T10:51:38.000Z
2021-12-10T02:53:45.000Z
import unittest from galry import * from test import GalryTest import numpy as np class PM(PaintManager): def initialize(self): texture = np.zeros((600, 600, 4)) texture[150, 150:-150, :] = 1 texture[-150, 150:-150, :] = 1 texture[150:-150, 150, :] = 1 texture[150:-150, -150...
25.285714
55
0.619586
67
531
4.761194
0.462687
0.15047
0.163009
0.200627
0.213166
0.213166
0.213166
0.213166
0.213166
0.213166
0
0.117207
0.244821
531
20
56
26.55
0.678304
0
0
0
0
0
0.015066
0
0
0
0
0
0
1
0.117647
false
0
0.235294
0
0.470588
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
251a5eb825643c599b31e4dad93b01033cf5b2fc
4,085
py
Python
tests/TwitterMiningTests/test_TwitterDataProcessors.py
AdamSwenson/TwitterProject
8c5dc7a57eac611b555058736d609f2f204cb836
[ "MIT" ]
null
null
null
tests/TwitterMiningTests/test_TwitterDataProcessors.py
AdamSwenson/TwitterProject
8c5dc7a57eac611b555058736d609f2f204cb836
[ "MIT" ]
6
2020-03-24T17:34:24.000Z
2021-12-13T20:14:34.000Z
tests/TwitterMiningTests/test_TwitterDataProcessors.py
AdamSwenson/TwitterProject
8c5dc7a57eac611b555058736d609f2f204cb836
[ "MIT" ]
null
null
null
""" Unit tests for test_twitterdataprocessors """ import unittest from Mining.SearchResultsProcessing.TweetResults import * from tests.helpers.TwitterProjectTestEntities import * taglist = ('tag1', 'tag2', 'tag3', 'tag4') # expected_pairs = [('tag1', 'tag2'), ('tag1', 'tag3'), ('tag1', 'tag4'), ('tag2', 'tag3'), ('t...
30.485075
127
0.623011
444
4,085
5.585586
0.171171
0.129032
0.079032
0.041129
0.486694
0.431048
0.411694
0.232661
0.232661
0.232661
0
0.013487
0.237699
4,085
134
128
30.485075
0.782916
0.128764
0
0.366667
0
0
0.047391
0
0
0
0
0
0.144444
1
0.244444
false
0.022222
0.033333
0
0.333333
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
251a834b3d2c8c5ae35160af96c4fdd81f42f4f0
1,151
py
Python
examples/can_replay.py
adhintz/panda
e475f0053d45ce107259d1d0ef1ae98b562e7fdf
[ "MIT" ]
null
null
null
examples/can_replay.py
adhintz/panda
e475f0053d45ce107259d1d0ef1ae98b562e7fdf
[ "MIT" ]
null
null
null
examples/can_replay.py
adhintz/panda
e475f0053d45ce107259d1d0ef1ae98b562e7fdf
[ "MIT" ]
null
null
null
#!/usr/bin/env python import csv import sys import time from panda import Panda # Replays message logs saved from Cabana. # Sends messages on the same bus and with the same timing that they were seen. # Converts messages sent by Panda (bus 128+) to the actual bus number. # format from Cabana's Save Log: # time,addr,b...
26.767442
78
0.705474
185
1,151
4.340541
0.545946
0.03736
0.034869
0.047323
0
0
0
0
0
0
0
0.054957
0.193745
1,151
42
79
27.404762
0.810345
0.483058
0
0
0
0
0.077453
0
0
0
0
0.02381
0
1
0
false
0
0.181818
0
0.181818
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
25239e59456ae273ff49f9ef7d7a3b3f684f801b
5,909
py
Python
tests/test_cushion.py
nod/tornado_addons
386b2d6f7e42062ac1229ff18d1f8bfc37fdef8b
[ "Apache-2.0" ]
4
2015-01-14T05:32:58.000Z
2016-09-15T07:22:55.000Z
tests/test_cushion.py
nod/tornado_addons
386b2d6f7e42062ac1229ff18d1f8bfc37fdef8b
[ "Apache-2.0" ]
null
null
null
tests/test_cushion.py
nod/tornado_addons
386b2d6f7e42062ac1229ff18d1f8bfc37fdef8b
[ "Apache-2.0" ]
null
null
null
""" Tests the base cushion class. Gets skipped if trombi doesn't import. """ try: import trombi no_trombi = False except: no_trombi = True from unittest import skipIf from random import randint from tornado.testing import AsyncTestCase from ..tornado_addons.cushion import Cushion, CushionException, Cushi...
33.765714
81
0.618548
781
5,909
4.548015
0.256082
0.077421
0.033784
0.036036
0.360642
0.313908
0.289133
0.251408
0.251408
0.251408
0
0.009017
0.268066
5,909
174
82
33.95977
0.812254
0.165003
0
0.278261
0
0
0.066005
0
0
0
0
0
0.147826
0
null
null
0
0.069565
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
252570399de313695490787ba9494919f64dbf1d
18,095
py
Python
sample/Step_6_NLP_Preprocessing.py
georgetown-analytics/Music-Lyrics
82ff9493bf3a888f664895743c5a324af6bc82e3
[ "MIT" ]
1
2021-03-18T00:41:54.000Z
2021-03-18T00:41:54.000Z
sample/Step_6_NLP_Preprocessing.py
georgetown-analytics/Music-Lyrics
82ff9493bf3a888f664895743c5a324af6bc82e3
[ "MIT" ]
null
null
null
sample/Step_6_NLP_Preprocessing.py
georgetown-analytics/Music-Lyrics
82ff9493bf3a888f664895743c5a324af6bc82e3
[ "MIT" ]
null
null
null
''' This notebook will perform some amount of wrangling, repeat all previous Natural Language Processing (NLP) preprocessing, and conduct feature engineering. The feature engineering leverages work conducted in Step_5_Create_Stop_and_Unique_words and will be used to domain-specifc scoring (like sentiment) and expan...
32.9
132
0.72241
2,721
18,095
4.579566
0.16685
0.027927
0.022149
0.018779
0.541449
0.500441
0.479897
0.447476
0.368911
0.343391
0
0.006736
0.146726
18,095
549
133
32.959927
0.800194
0
0
0.412308
0
0.015385
0.216588
0.031933
0
0
0
0
0
0
null
null
0.015385
0.156923
null
null
0.067692
0
0
0
null
0
0
0
0
0
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
2528bb557de2c8c9c129e3604fae68268e265ac3
861
py
Python
DataStructAndAlgo/LCList.py
ggwhsd/PythonPractice
58248be9bb5700bc9a1914f8e41c30931fad8b82
[ "MIT" ]
null
null
null
DataStructAndAlgo/LCList.py
ggwhsd/PythonPractice
58248be9bb5700bc9a1914f8e41c30931fad8b82
[ "MIT" ]
null
null
null
DataStructAndAlgo/LCList.py
ggwhsd/PythonPractice
58248be9bb5700bc9a1914f8e41c30931fad8b82
[ "MIT" ]
null
null
null
class LNode: def __init__(self, elem, next_=None): self.elem = elem self.next = next_ class LCList: def __init__(self): self._rear = None def is_empty(self): return self._rear is None def prepend(self, elem): p = LNode(elem) if self._rear is None: p.next = p self._rear = p else: p.next = s...
16.245283
38
0.644599
140
861
3.685714
0.228571
0.232558
0.139535
0.081395
0.062016
0
0
0
0
0
0
0
0.229965
861
52
39
16.557692
0.778281
0
0
0.214286
0
0
0.045402
0
0
0
0
0
0
1
0.166667
false
0
0
0.02381
0.285714
0.119048
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
2528da0697d91426b35d9eba6af42ac124f1323c
599
py
Python
tools/bam_ani-filter.py
alexmsalmeida/metamap
2b8813b538fcc6d0873385001aaa83fe9900d70f
[ "MIT" ]
7
2021-07-05T16:40:59.000Z
2022-03-18T13:43:32.000Z
tools/bam_ani-filter.py
alexmsalmeida/metamap
2b8813b538fcc6d0873385001aaa83fe9900d70f
[ "MIT" ]
null
null
null
tools/bam_ani-filter.py
alexmsalmeida/metamap
2b8813b538fcc6d0873385001aaa83fe9900d70f
[ "MIT" ]
3
2021-07-06T18:04:54.000Z
2022-02-08T11:16:17.000Z
#!/usr/bin/env python import pysam import sys if len(sys.argv) == 1: print("usage: script.py in.bam id_thresh[%] cov_thresh[%]") sys.exit(1) samfile = pysam.AlignmentFile(sys.argv[1], "rb") outfile = pysam.AlignmentFile("-", "w", template=samfile) for read in samfile.fetch(): try: ani = (read.que...
29.95
101
0.657763
87
599
4.413793
0.528736
0.072917
0.140625
0.1875
0
0
0
0
0
0
0
0.022495
0.183639
599
19
102
31.526316
0.762781
0.033389
0
0
0
0
0.096886
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.066667
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
252b089c48908004c796e3eefb176a30efa4352c
1,127
py
Python
GuessNumberConsole.py
OlegKuch/GuessNumber
9924b80ab8708d0b653f687296f3766dab988c43
[ "Unlicense" ]
1
2020-02-29T09:54:44.000Z
2020-02-29T09:54:44.000Z
GuessNumberConsole.py
OlegKuch/GuessNumber
9924b80ab8708d0b653f687296f3766dab988c43
[ "Unlicense" ]
null
null
null
GuessNumberConsole.py
OlegKuch/GuessNumber
9924b80ab8708d0b653f687296f3766dab988c43
[ "Unlicense" ]
null
null
null
from random import randint from colorama import * from ctypes import windll from time import sleep # Игра "Угадай число" windll.kernel32.SetConsoleTitleW("GuessNumber") init() number = None guess = None print(Fore.GREEN) print('Game "GuessNumber" by Oleg4260 ') sleep(0.5) print(Fore.CYAN) print("I make a number from...
26.209302
82
0.569654
157
1,127
4.095541
0.420382
0.083981
0.097978
0.093313
0.292379
0.205288
0.205288
0.205288
0.205288
0.205288
0
0.045977
0.305235
1,127
43
83
26.209302
0.773946
0.016859
0
0.384615
0
0
0.226944
0
0
0
0
0
0
0
null
null
0
0.102564
null
null
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
1
0
0
0
0
0
0
0
0
1
252b943a506e2e862ec95bea2c9b07ebf7ac1911
385
py
Python
gisela/helpers.py
toirl/gisela
aa7317b7c1eb703bb5d767a7bb08f11ff1936b15
[ "MIT" ]
2
2015-11-17T07:54:53.000Z
2017-07-26T02:01:51.000Z
gisela/helpers.py
toirl/gisela
aa7317b7c1eb703bb5d767a7bb08f11ff1936b15
[ "MIT" ]
null
null
null
gisela/helpers.py
toirl/gisela
aa7317b7c1eb703bb5d767a7bb08f11ff1936b15
[ "MIT" ]
null
null
null
from gisela.model import Timelog, Tag def sum_times(session, tags=None): """TODO: Docstring for sum_times. :session: TODO :tags: TODO :returns: TODO """ total = 0 result = session.query(Timelog).join(Tag, Timelog.tags) if tags: result = result.filter(Tag.id.in_(tags)) for ...
20.263158
59
0.618182
52
385
4.519231
0.557692
0.068085
0.12766
0
0
0
0
0
0
0
0
0.003509
0.25974
385
18
60
21.388889
0.821053
0.18961
0
0
0
0
0
0
0
0
0
0.222222
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
252c0894cb58c700d426d0498d3d962c34e062e7
3,715
py
Python
gui/GUI_usb.py
h2016157/DGA-Botnet
138e6242a219f265957e077e97d5af84ed26e362
[ "MIT" ]
null
null
null
gui/GUI_usb.py
h2016157/DGA-Botnet
138e6242a219f265957e077e97d5af84ed26e362
[ "MIT" ]
null
null
null
gui/GUI_usb.py
h2016157/DGA-Botnet
138e6242a219f265957e077e97d5af84ed26e362
[ "MIT" ]
1
2018-11-13T03:19:28.000Z
2018-11-13T03:19:28.000Z
__author__ = 'Administrator' from PySide.QtGui import * from PySide.QtCore import Slot,QTime,SIGNAL import socket import thread ################################################################################### class GUI_usb: host = '' port = 0 port_suffix = '2347' tmp_buffer = '' def __init_...
30.958333
97
0.49179
386
3,715
4.634715
0.336788
0.075461
0.050866
0.031302
0.30967
0.30967
0.268306
0.217999
0.192286
0.15763
0
0.02992
0.361238
3,715
119
98
31.218487
0.723978
0.039838
0
0.2
0
0
0.077963
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.0375
0
0
0
null
0
0
0
0
0
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
2530304afdc24fd678c22aa72c4ac6f32c44481f
16,975
py
Python
schemeconfigs.py
luisbocanegra/kde-material-you-colors
5c296b550ce0bd5585117794d5441e2c3b59ceb5
[ "Apache-2.0" ]
17
2022-03-23T10:36:32.000Z
2022-03-31T06:41:30.000Z
schemeconfigs.py
luisbocanegra/kde-material-you-colors
5c296b550ce0bd5585117794d5441e2c3b59ceb5
[ "Apache-2.0" ]
5
2022-03-25T19:09:42.000Z
2022-03-31T20:46:06.000Z
schemeconfigs.py
luisbocanegra/kde-material-you-colors
5c296b550ce0bd5585117794d5441e2c3b59ceb5
[ "Apache-2.0" ]
1
2022-03-26T15:16:32.000Z
2022-03-26T15:16:32.000Z
from color_utils import blendColors, hex2rgb from utils import range_check, tup2str class ThemeConfig: def __init__(self, colors, wallpaper_data, light_blend_multiplier=1, dark_blend_multiplier=1): colors_best = colors['bestColors'] tones_primary = colors['primaryTones'] tones_neutral = colo...
41.402439
116
0.672577
1,621
16,975
6.835904
0.134485
0.074001
0.055591
0.043317
0.639202
0.593899
0.526667
0.411064
0.387961
0.362873
0
0.024174
0.156819
16,975
409
117
41.503667
0.750017
0.006186
0
0.477654
0
0
0.572479
0.422482
0
0
0
0
0
1
0.019553
false
0
0.005587
0.01676
0.039106
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2532df3508383d409896ceaafc5063240072c2d6
493
py
Python
Seeder/api/__init__.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
8
2017-08-16T19:18:57.000Z
2022-01-24T10:08:19.000Z
Seeder/api/__init__.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
242
2017-02-03T19:15:52.000Z
2022-03-25T08:02:52.000Z
Seeder/api/__init__.py
WebarchivCZ/Seeder
1958c5d3f6bdcbbdb2c81dcb6abc7f689125b6a8
[ "MIT" ]
2
2019-03-06T12:36:29.000Z
2019-07-08T12:52:20.000Z
from . import viewsets from harvests.viewsets import (HarvestConfigurationViewSet) from rest_framework import routers api_router = routers.SimpleRouter() api_router.register('category', viewsets.CategoryViewSet) api_router.register('source', viewsets.SourceViewSet) api_router.register('seed', viewsets.SeedViewSet) a...
35.214286
66
0.807302
50
493
7.78
0.46
0.138817
0.218509
0
0
0
0
0
0
0
0
0
0.099391
493
13
67
37.923077
0.876126
0
0
0
0
0
0.111562
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
2534ef12555c2bb1159d8f3ea10407d2ec7ca1c9
1,638
py
Python
sutta_publisher/tests/unit/test_github_handler.py
suttacentral/publications
878befcfeb7af7f2f511697f2769cd00441aec57
[ "CC0-1.0" ]
1
2022-02-16T09:02:58.000Z
2022-02-16T09:02:58.000Z
sutta_publisher/tests/unit/test_github_handler.py
suttacentral/publications
878befcfeb7af7f2f511697f2769cd00441aec57
[ "CC0-1.0" ]
43
2022-02-07T11:37:29.000Z
2022-03-30T08:54:55.000Z
sutta_publisher/tests/unit/test_github_handler.py
suttacentral/publications
878befcfeb7af7f2f511697f2769cd00441aec57
[ "CC0-1.0" ]
null
null
null
from base64 import b64encode from io import BytesIO, StringIO import pytest from _pytest.monkeypatch import MonkeyPatch from sutta_publisher.shared import github_handler def test_generate_request_headers(bot_api_key: str) -> None: header = github_handler.__get_request_headers(bot_api_key) assert header["Au...
35.608696
107
0.777778
218
1,638
5.399083
0.270642
0.08836
0.095157
0.101105
0.551402
0.46644
0.419711
0.419711
0.419711
0.419711
0
0.004892
0.126374
1,638
45
108
36.4
0.81761
0
0
0.185185
1
0
0.124542
0.013431
0
0
0
0
0.148148
1
0.148148
false
0
0.185185
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
2542f9f6fffafbc3caff4af9f4d302fe88bc6946
10,629
py
Python
ramandecompy/tests/test_interpolatespectra.py
kernb2/raman-spectra-decomp-analysis
9ee09021e8e57735209812b062607de7e123beea
[ "MIT" ]
14
2019-04-23T19:09:56.000Z
2022-03-19T16:51:41.000Z
ramandecompy/tests/test_interpolatespectra.py
kernb2/raman-spectra-decomp-analysis
9ee09021e8e57735209812b062607de7e123beea
[ "MIT" ]
53
2019-04-23T19:55:35.000Z
2020-05-20T03:43:11.000Z
ramandecompy/tests/test_interpolatespectra.py
kernb2/raman-spectra-decomp-analysis
9ee09021e8e57735209812b062607de7e123beea
[ "MIT" ]
10
2020-03-31T18:37:52.000Z
2022-02-12T23:14:16.000Z
""" Module used to unit test the functionality and outputs of the interpolatespectra.py module """ import os import h5py import numpy as np from ramandecompy import interpolatespectra from ramandecompy import dataprep HDF5_FILENAME = 'ramandecompy/tests/test_files/test_calibration.hdf5' TARGET_COMPOUND = 'water' HDF...
46.618421
99
0.654436
1,340
10,629
5.040299
0.115672
0.077732
0.040717
0.051821
0.699437
0.630589
0.605271
0.531833
0.475422
0.446994
0
0.017193
0.266723
10,629
227
100
46.823789
0.849371
0.074137
0
0.434066
0
0
0.326585
0.043778
0
0
0
0
0.098901
1
0.027473
false
0.137363
0.027473
0
0.054945
0.137363
0
0
0
null
0
0
0
0
0
0
0
0
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
254e781751a8400051ea4626ba8b8e0fd4cabee8
374
py
Python
Hw2/datasets/transforms.py
crocodile001/ML
44f4e8455ab14f19724800b0ff15b22c1a1ceb32
[ "MIT" ]
null
null
null
Hw2/datasets/transforms.py
crocodile001/ML
44f4e8455ab14f19724800b0ff15b22c1a1ceb32
[ "MIT" ]
null
null
null
Hw2/datasets/transforms.py
crocodile001/ML
44f4e8455ab14f19724800b0ff15b22c1a1ceb32
[ "MIT" ]
null
null
null
from torchvision import transforms def build_transform(cfg): transform = transforms.Compose([transforms.Resize(cfg.DATA.RESIZE), transforms.ToTensor(), transforms.Normalize(cfg.DATA.PIXEL_MEAN, ...
41.555556
79
0.513369
30
374
6.3
0.566667
0.111111
0.126984
0
0
0
0
0
0
0
0
0
0.414439
374
9
80
41.555556
0.863014
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2558878c427e043b0a934ce48fd983597b515f5a
2,428
py
Python
python/desc/simulation_tools/imsim_truth.py
jchiang87/desc_simulation_tools
f4d997f0e6916b7b526bff549ba025d7b5682897
[ "BSD-3-Clause" ]
1
2018-08-02T17:40:38.000Z
2018-08-02T17:40:38.000Z
python/desc/simulation_tools/imsim_truth.py
jchiang87/desc_simulation_tools
f4d997f0e6916b7b526bff549ba025d7b5682897
[ "BSD-3-Clause" ]
null
null
null
python/desc/simulation_tools/imsim_truth.py
jchiang87/desc_simulation_tools
f4d997f0e6916b7b526bff549ba025d7b5682897
[ "BSD-3-Clause" ]
null
null
null
""" Tools to compute the apparent magnitudes from the SED, mag_norm, redshift, and reddening info in the input imsim object catalogs. """ from __future__ import absolute_import, print_function import os import copy from collections import OrderedDict import lsst.sims.photUtils as photUtils import lsst.utils as lsstUtil...
35.188406
74
0.645799
293
2,428
5.098976
0.412969
0.056225
0.021419
0.016064
0.053548
0.053548
0.053548
0.053548
0.053548
0.053548
0
0.005042
0.264827
2,428
68
75
35.705882
0.831933
0.129736
0
0
0
0
0.046973
0
0
0
0
0
0
1
0.043478
false
0.173913
0.130435
0
0.26087
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
255e7ff3f4317fee937839bb91b6947f5cbd9cac
23,316
py
Python
backend_server/sql_queries.py
tfrisk/Epimetheus
e2b45c9eb0a4d519c110b7efc3f7401380dfefb0
[ "Apache-2.0" ]
21
2020-02-14T13:10:02.000Z
2022-03-23T07:42:42.000Z
backend_server/sql_queries.py
tfrisk/Epimetheus
e2b45c9eb0a4d519c110b7efc3f7401380dfefb0
[ "Apache-2.0" ]
86
2020-02-14T13:17:30.000Z
2022-02-23T15:38:53.000Z
backend_server/sql_queries.py
tfrisk/Epimetheus
e2b45c9eb0a4d519c110b7efc3f7401380dfefb0
[ "Apache-2.0" ]
3
2020-04-01T11:27:53.000Z
2021-04-09T07:06:37.000Z
LIMIT_STATEMENT = "LIMIT {last} OFFSET {offset}" SUBTREES = """ SELECT keyword_tree.fingerprint, keyword, library, status, arguments, call_index FROM keyword_tree JOIN tree_hierarchy ON tree_hierarchy.subtree=keyword_tree.fingerprint WHERE tree_hierarchy.fingerprint=%(fingerprint)s ORDER BY call_index::int; """ TEAM...
42.625229
108
0.703894
3,507
23,316
4.357
0.052181
0.083377
0.075393
0.03534
0.712042
0.672382
0.639856
0.590052
0.564202
0.539463
0
0.000607
0.222208
23,316
546
109
42.703297
0.841963
0.013596
0
0.515504
0
0.001938
0.859443
0.208747
0.001938
0
0
0
0
1
0.025194
false
0.011628
0.00969
0.021318
0.060078
0.03876
0
0
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
25638db4b6bdac6c4f710e0a524bf4f321c02e52
2,157
py
Python
nagare_vdom/vdom_renderer.py
ygravrand/nagare_vdom
88d0daddf409006fdfa7ac40986a99387586f802
[ "MIT" ]
null
null
null
nagare_vdom/vdom_renderer.py
ygravrand/nagare_vdom
88d0daddf409006fdfa7ac40986a99387586f802
[ "MIT" ]
null
null
null
nagare_vdom/vdom_renderer.py
ygravrand/nagare_vdom
88d0daddf409006fdfa7ac40986a99387586f802
[ "MIT" ]
null
null
null
from nagare.namespaces import xhtml, xhtml_base from nagare.namespaces.xml import TagProp from nagare.namespaces.xhtml5 import Renderer, AsyncRenderer from nagare.ajax import ViewToJs, javascript_dependencies def generate_action(self, renderer, action, with_request): act = renderer.register_callback(self._act...
34.790323
183
0.644414
252
2,157
5.380952
0.388889
0.036873
0.062684
0.053097
0.174779
0.134956
0.109145
0
0
0
0
0.002417
0.232731
2,157
62
184
34.790323
0.816918
0.041261
0
0.066667
0
0
0.109877
0.012858
0
0
0
0
0
0
null
null
0
0.133333
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
2565595956c31b8fed4d17d29aeb91f7c9c5ee8f
3,149
py
Python
rest_introduction_app/api/challenges/challenge_6/model.py
Mjusick/rest-api-introduction-app
fabf56abb06db3885e6f95c7cbe962f6483ad822
[ "MIT" ]
null
null
null
rest_introduction_app/api/challenges/challenge_6/model.py
Mjusick/rest-api-introduction-app
fabf56abb06db3885e6f95c7cbe962f6483ad822
[ "MIT" ]
1
2022-03-26T12:45:17.000Z
2022-03-26T12:45:17.000Z
rest_introduction_app/api/challenges/challenge_6/model.py
Mjusick/rest-api-introduction-app
fabf56abb06db3885e6f95c7cbe962f6483ad822
[ "MIT" ]
17
2021-04-01T18:38:40.000Z
2022-02-28T15:39:26.000Z
from enum import Enum from dataclasses import dataclass, field from typing import List from pydantic import BaseModel from starlette.exceptions import HTTPException class ItemName(Enum): map = "map" tent = "tent" knife = "knife" torch = "torch" camera = "camera" matches = "matches" lighte...
26.462185
119
0.70054
415
3,149
5.125301
0.238554
0.059238
0.023507
0.028209
0.22473
0.172073
0.172073
0.172073
0.112835
0.112835
0
0.005194
0.205144
3,149
118
120
26.686441
0.844587
0.009209
0
0.131579
0
0
0.092076
0.015079
0
0
0
0
0
1
0.157895
false
0.026316
0.065789
0.065789
0.657895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
256c41cc1a09f61ae354a6f1ef7fe9c0da88d860
1,255
py
Python
core/custom_context_processor.py
EzekielCarvalho/costas_commerce_store
d7f00ffd5d5c7bbd0c1dcec9adaa4ddd70d19ea8
[ "MIT" ]
null
null
null
core/custom_context_processor.py
EzekielCarvalho/costas_commerce_store
d7f00ffd5d5c7bbd0c1dcec9adaa4ddd70d19ea8
[ "MIT" ]
null
null
null
core/custom_context_processor.py
EzekielCarvalho/costas_commerce_store
d7f00ffd5d5c7bbd0c1dcec9adaa4ddd70d19ea8
[ "MIT" ]
null
null
null
# This is made as part of our categories obtainer to put on the navbar. get_context_data: This method is used to populate a dictionary to use as the template context. https://stackoverflow.com/questions/36950416/when-to-use-get-get-queryset-get-context-data-in-django from .models import Category from django.db.utils i...
96.538462
446
0.728287
175
1,255
5.188571
0.548571
0.03304
0.046256
0.059471
0.10793
0.10793
0.10793
0
0
0
0
0.018981
0.20239
1,255
13
447
96.538462
0.888112
0.749004
0
0
0
0
0.009646
0
0
0
0
0
0
1
0.125
false
0.125
0.25
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
1
0
0
0
0
0
1
25734d7e7f29570f0dc74d8e2bf56a86f8e0e6a1
1,315
py
Python
app/__init__.py
marynganga/WatchList
dca5b8fd2947080f1c3330b231e9b86745f25209
[ "MIT" ]
2
2020-10-31T10:07:11.000Z
2021-07-09T13:30:24.000Z
app/__init__.py
marynganga/WatchList
dca5b8fd2947080f1c3330b231e9b86745f25209
[ "MIT" ]
null
null
null
app/__init__.py
marynganga/WatchList
dca5b8fd2947080f1c3330b231e9b86745f25209
[ "MIT" ]
1
2020-09-11T09:00:30.000Z
2020-09-11T09:00:30.000Z
from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bootstrap import Bootstrap from flask_login import LoginManager from flask_uploads import UploadSet, configure_uploads, IMAGES from flask_mail import Mail from flask_simplemde import SimpleMDE from config import config_options # Creating Flask ...
25.784314
69
0.811407
173
1,315
5.936416
0.294798
0.061344
0.048685
0.029211
0.042843
0
0
0
0
0
0
0
0.121673
1,315
51
70
25.784314
0.889177
0.132319
0
0
0
0
0.030864
0
0
0
0
0
0
1
0.029412
false
0
0.352941
0
0.411765
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c259eb4bbcbbf6cd6b7bcc3893a355fae64fb5cd
1,596
py
Python
pwn/shellcode/network/findpeer.py
Haabb/pwnfork
c2530ea2fd2f9d4e65df234afeb8f7def93afe49
[ "MIT" ]
1
2016-08-29T03:38:42.000Z
2016-08-29T03:38:42.000Z
pwn/shellcode/network/findpeer.py
Haabb/pwnfork
c2530ea2fd2f9d4e65df234afeb8f7def93afe49
[ "MIT" ]
null
null
null
pwn/shellcode/network/findpeer.py
Haabb/pwnfork
c2530ea2fd2f9d4e65df234afeb8f7def93afe49
[ "MIT" ]
null
null
null
from pwn.internal.shellcode_helper import * from .. import dupsh @shellcode_reqs(arch='i386', os=['linux', 'freebsd'], network=['ipv4', 'ipv6']) def findpeersh(port = None): """Args: port (defaults to any) Finds an open socket which connects to a specified port, and then opens a dup2 shell on it.""" re...
17.733333
79
0.555138
211
1,596
4.165877
0.421801
0.036405
0.03868
0.047782
0.400455
0.400455
0.284414
0.229807
0.229807
0.229807
0
0.028651
0.322055
1,596
89
80
17.932584
0.783734
0.146617
0
0.746269
0
0
0.510112
0.019476
0
0
0.005993
0
0
1
0.029851
false
0
0.029851
0
0.134328
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c25a4a5baa333d8124092f9a2a18ea07a2fb50f0
1,416
py
Python
data_source/rating_compose.py
ssttkkl/another-mai-bot
85f4bb204b919fb223b8ac24329538990b810750
[ "MIT" ]
null
null
null
data_source/rating_compose.py
ssttkkl/another-mai-bot
85f4bb204b919fb223b8ac24329538990b810750
[ "MIT" ]
null
null
null
data_source/rating_compose.py
ssttkkl/another-mai-bot
85f4bb204b919fb223b8ac24329538990b810750
[ "MIT" ]
null
null
null
import asyncio import heapq from concurrent.futures import ThreadPoolExecutor from typing import * from PIL.Image import Image from . import api from ..utils.b40_drawer import B40Drawer from ..utils.b50_drawer import B50Drawer _img_executor = ThreadPoolExecutor(2, "maibot_b40_painter_thread") async def generate_b4...
32.181818
99
0.721045
191
1,416
5.13089
0.293194
0.053061
0.032653
0.04898
0.616327
0.616327
0.616327
0.616327
0.616327
0.616327
0
0.040343
0.17726
1,416
43
100
32.930233
0.800858
0
0
0.466667
0
0
0.043079
0.017655
0
0
0
0
0
1
0
false
0
0.266667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c25c0b768652c99b8a24f59552c71db71c9c79f4
916
py
Python
data/datasets/image/unsupervised_wrappers/mnist.py
tranbahien/bae_prior
6bb385ed765ae1dd8c961e597f1ed91e036ae470
[ "Apache-2.0" ]
null
null
null
data/datasets/image/unsupervised_wrappers/mnist.py
tranbahien/bae_prior
6bb385ed765ae1dd8c961e597f1ed91e036ae470
[ "Apache-2.0" ]
null
null
null
data/datasets/image/unsupervised_wrappers/mnist.py
tranbahien/bae_prior
6bb385ed765ae1dd8c961e597f1ed91e036ae470
[ "Apache-2.0" ]
null
null
null
import os import torch from torchvision.datasets import MNIST from data import DATA_PATH class UnsupervisedMNIST(MNIST): def __init__(self, root=DATA_PATH, train=True, transform=None, download=False, label=False): super(UnsupervisedMNIST, self).__init__(root, ...
31.586207
96
0.581878
92
916
5.532609
0.369565
0.047151
0.153242
0.125737
0.32613
0.32613
0.153242
0.153242
0.153242
0
0
0.001626
0.328603
916
28
97
32.714286
0.826016
0
0
0.090909
0
0
0.024017
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.090909
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
c2635357e7486b2b4638a11557cc8f8b67b60c05
933
py
Python
quick_orm/testsuite/models.py
tylerlong/quick_orm
7d43060a7fc93b09c6f6eca978e49815c6e06d3a
[ "BSD-3-Clause" ]
19
2015-01-05T08:42:52.000Z
2021-06-15T00:33:00.000Z
quick_orm/testsuite/models.py
tylerlong/quick_orm
7d43060a7fc93b09c6f6eca978e49815c6e06d3a
[ "BSD-3-Clause" ]
null
null
null
quick_orm/testsuite/models.py
tylerlong/quick_orm
7d43060a7fc93b09c6f6eca978e49815c6e06d3a
[ "BSD-3-Clause" ]
5
2015-12-29T06:39:08.000Z
2018-12-02T14:36:23.000Z
# coding=utf-8 """ quick_orm.testsuite.models ~~~~~~~~~~~~~~~~~~~~~~~~~~ database models to be tested against """ from quick_orm.core import Database from sqlalchemy import Column, String, Text, DateTime, func __metaclass__ = Database.DefaultMeta @Database.many_to_many('Group') class User:...
20.282609
63
0.654877
113
933
5.265487
0.415929
0.121008
0.094118
0.110924
0.361345
0.245378
0.137815
0.137815
0
0
0
0.014946
0.211147
933
46
64
20.282609
0.793478
0.111468
0
0.26087
0
0
0.022222
0
0
0
0
0
0
1
0
false
0.043478
0.086957
0
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
c2682d007a6132d4347e0cbcaa76b0ef2a662cb4
5,837
py
Python
build/lib/pyonly/document.py
pyonly/pyonly
7d6305f494d7c8256e7131616420a47e0e55937d
[ "Apache-2.0" ]
null
null
null
build/lib/pyonly/document.py
pyonly/pyonly
7d6305f494d7c8256e7131616420a47e0e55937d
[ "Apache-2.0" ]
null
null
null
build/lib/pyonly/document.py
pyonly/pyonly
7d6305f494d7c8256e7131616420a47e0e55937d
[ "Apache-2.0" ]
null
null
null
# This Document class simulates the HTML DOM document object. class Document: def __init__(self, window): self.window = window self.created_elements_index = 0 # This property is required to ensure that every created HTML element can be accessed using a unique reference. def getE...
66.329545
197
0.603221
643
5,837
5.391913
0.197512
0.060283
0.029997
0.071532
0.449957
0.352755
0.3167
0.254399
0.208538
0.179117
0
0.0005
0.314203
5,837
87
198
67.091954
0.865601
0.429673
0
0.222222
0
0
0.090219
0.055589
0
0
0
0
0
1
0.244444
false
0
0
0.022222
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c26b899d9ee83c62b6fd0e7c7e39c2a1941ff616
521
py
Python
app/Python3/connectViaSocket.py
Pongpisit-Thanasutives/DjKaldi
9e2ef77858120de274c9287fdb51aecb3228898a
[ "Apache-2.0" ]
3
2019-02-07T06:24:09.000Z
2019-03-11T17:41:21.000Z
app/Python3/connectViaSocket.py
Pongpisit-Thanasutives/DjKaldi
9e2ef77858120de274c9287fdb51aecb3228898a
[ "Apache-2.0" ]
null
null
null
app/Python3/connectViaSocket.py
Pongpisit-Thanasutives/DjKaldi
9e2ef77858120de274c9287fdb51aecb3228898a
[ "Apache-2.0" ]
null
null
null
from socketIO_client import SocketIO, LoggingNamespace def on_connect(): print('connect') def on_disconnect(): print('disconnect') def on_reconnect(): print('reconnect') def on_aaa_response(*args): print('on_aaa_response', args) socketIO = SocketIO('127.0.0.1', 3001, LoggingNamespace) socketIO.on('...
22.652174
56
0.729367
69
521
5.318841
0.376812
0.06812
0.076294
0.092643
0
0
0
0
0
0
0
0.024017
0.120921
521
22
57
23.681818
0.777293
0
0
0
0
0
0.172745
0
0
0
0
0
0
1
0.3125
false
0
0.0625
0
0.375
0.25
0
0
0
null
0
0
0
0
0
0
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
c27bf4ea5aa2a232befba2fd1143218fe6bf8518
4,643
py
Python
datcom/Record255_1.py
Shmink/uav-log-analysis
26abc396d4a1c95fc8d75f64a675e0a66c470508
[ "Apache-2.0" ]
1
2017-08-28T11:35:42.000Z
2017-08-28T11:35:42.000Z
datcom/Record255_1.py
Shmink/uav-log-analysis
26abc396d4a1c95fc8d75f64a675e0a66c470508
[ "Apache-2.0" ]
null
null
null
datcom/Record255_1.py
Shmink/uav-log-analysis
26abc396d4a1c95fc8d75f64a675e0a66c470508
[ "Apache-2.0" ]
null
null
null
''' Created on Sep 4, 2016 @author: isaac /* Record255_1 class Redistribution and use in source and binary forms, with or without modification, are permitted provided that redistribution of source code include the following disclaimer in the documentation and/or other materials provided with the distribution...
39.683761
109
0.578721
468
4,643
5.694444
0.388889
0.042026
0.009006
0.037523
0.056285
0.035272
0
0
0
0
0
0.024839
0.332328
4,643
116
110
40.025862
0.834839
0
0
0.029851
0
0
0.038462
0.016568
0
0
0
0
0
0
null
null
0.014925
0.074627
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
c27c509b18f13e721302b913e1cc19e4d7f45744
2,341
py
Python
typhos/designer.py
ZLLentz/typhos
1fb321c1f1c222ac02552ecb9c86d37d5ddf3274
[ "BSD-3-Clause-LBNL" ]
9
2017-11-05T17:22:23.000Z
2019-10-18T14:21:24.000Z
typhos/designer.py
ZLLentz/typhos
1fb321c1f1c222ac02552ecb9c86d37d5ddf3274
[ "BSD-3-Clause-LBNL" ]
244
2020-01-09T22:13:29.000Z
2022-02-24T21:40:16.000Z
typhos/designer.py
ZLLentz/typhos
1fb321c1f1c222ac02552ecb9c86d37d5ddf3274
[ "BSD-3-Clause-LBNL" ]
11
2020-05-20T19:08:37.000Z
2022-02-08T19:20:35.000Z
from pydm.widgets.qtplugin_base import qtplugin_factory from .alarm import (TyphosAlarmCircle, TyphosAlarmEllipse, TyphosAlarmPolygon, TyphosAlarmRectangle, TyphosAlarmTriangle) from .display import (TyphosDeviceDisplay, TyphosDisplaySwitcher, TyphosDisplayTitle, TyphosHelpFra...
58.525
79
0.646305
143
2,341
10.356643
0.307692
0.151924
0.132343
0
0
0
0
0
0
0
0
0
0.313968
2,341
39
80
60.025641
0.922167
0
0
0.351351
0
0
0.00598
0
0
0
0
0
0
1
0
false
0
0.189189
0
0.189189
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c27cd2d7b2c5fb8f66df3a42dd613e073cf773ad
2,517
py
Python
pyiArduinoI2Cmotor/examples/GetInfo.py
tremaru/pyiArduinoI2Cmotor
5e83c4ab1beaf6041663f4399028a5d3f5fa3f56
[ "MIT" ]
null
null
null
pyiArduinoI2Cmotor/examples/GetInfo.py
tremaru/pyiArduinoI2Cmotor
5e83c4ab1beaf6041663f4399028a5d3f5fa3f56
[ "MIT" ]
null
null
null
pyiArduinoI2Cmotor/examples/GetInfo.py
tremaru/pyiArduinoI2Cmotor
5e83c4ab1beaf6041663f4399028a5d3f5fa3f56
[ "MIT" ]
null
null
null
# ПРИМЕР ВЫВОДИТ ИНФОРМАЦИЮ О МОДУЛЕ: # # Для определения реального передаточного отношения # # запустите пример библиотеки FindReducer # # # Для определения реального количества магнитных полюсо...
39.328125
188
0.598331
266
2,517
5.642857
0.481203
0.027981
0.051965
0.075949
0.105263
0
0
0
0
0
0
0.007593
0.319825
2,517
63
189
39.952381
0.869159
0.441796
0
0.314286
0
0
0.347101
0
0
0
0.002899
0
0
0
null
null
0
0.028571
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c2806b43244552b304af6818246f34fb098f7783
1,319
py
Python
tests/ut_repytests_testconcurrentopenconns.py
SeattleTestbed/repy_v1
f40a02e2e398b1ec67fede84b41a264ae7356d2c
[ "MIT" ]
1
2021-08-18T05:58:17.000Z
2021-08-18T05:58:17.000Z
tests/ut_repytests_testconcurrentopenconns.py
SeattleTestbed/repy_v1
f40a02e2e398b1ec67fede84b41a264ae7356d2c
[ "MIT" ]
3
2015-11-17T21:01:03.000Z
2016-07-14T09:08:04.000Z
tests/ut_repytests_testconcurrentopenconns.py
SeattleTestbed/repy_v1
f40a02e2e398b1ec67fede84b41a264ae7356d2c
[ "MIT" ]
5
2015-07-02T13:29:23.000Z
2021-09-25T07:48:30.000Z
#pragma repy if callfunc == "initialize": ip = getmyip() port = <connport> # Use yahoo.com to avoid a conflict with the duplicateopenconn test remoteip = gethostbyname_ex("yahoo.com")[2][1] remoteport = 80 # First openconn should work fine try: sock1 = openconn(remoteip, remoteport, ip, port,timeo...
31.404762
103
0.682335
182
1,319
4.93956
0.554945
0.040044
0.086763
0.093437
0.262514
0.262514
0.129032
0.129032
0.129032
0.129032
0
0.018429
0.218347
1,319
41
104
32.170732
0.85354
0.396513
0
0.375
0
0
0.22449
0
0
0
0
0
0
0
null
null
0.041667
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
c2816e250df47f83271e423ea4f962ae932f1ebe
6,451
py
Python
olympic_sports_retrieval/calculate_roc_auc.py
asanakoy/cliquecnn
86ed8b8860db4b2d8da42a4159153b5f9c0b8995
[ "BSD-2-Clause" ]
23
2016-11-28T22:44:41.000Z
2022-03-24T07:55:03.000Z
olympic_sports_retrieval/calculate_roc_auc.py
CompVis/cliquecnn
0cbda519b1ac4ac5b1d0920d61b6ae9d9ba06ec2
[ "BSD-2-Clause" ]
1
2017-11-10T01:14:45.000Z
2017-11-10T16:49:02.000Z
olympic_sports_retrieval/calculate_roc_auc.py
asanakoy/cliquecnn
86ed8b8860db4b2d8da42a4159153b5f9c0b8995
[ "BSD-2-Clause" ]
6
2016-11-29T09:00:20.000Z
2021-05-26T12:57:00.000Z
################################################################################ # Copyright (c) 2016 Artsiom Sanakoyeu # # Script for calculating ROC AUC for categories of Olympic Sports dataset # given a similarity matrix. ################################################################################ from os.path i...
36.446328
97
0.614168
914
6,451
4.070022
0.239606
0.043548
0.044355
0.034409
0.250538
0.141667
0.119355
0.058602
0.041935
0.041935
0
0.013502
0.242288
6,451
176
98
36.653409
0.747545
0.056425
0
0.034483
0
0
0.123435
0.015063
0
0
0
0
0.077586
0
null
null
0
0.060345
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c283ae2812f37b636705093742e54ca7a3490e95
1,837
py
Python
app/util/exception.py
proglang/servercodetest
f0acd5940a22be9a72a95494afb308bb3017ea64
[ "MIT" ]
null
null
null
app/util/exception.py
proglang/servercodetest
f0acd5940a22be9a72a95494afb308bb3017ea64
[ "MIT" ]
2
2020-06-05T16:24:37.000Z
2020-11-15T09:02:48.000Z
app/util/exception.py
proglang/servercodetest
f0acd5940a22be9a72a95494afb308bb3017ea64
[ "MIT" ]
1
2020-10-22T05:46:52.000Z
2020-10-22T05:46:52.000Z
import traceback import json from django.conf import settings from . import log as logging, format DEBUG = settings.DEBUG #TODO: Loca class Traceback: class Entry: def __init__(self, index, file, line, func, code): self.index = index self.file = file self.line = line...
31.135593
166
0.573762
223
1,837
4.542601
0.313901
0.035538
0.041461
0.027641
0.102665
0.102665
0
0
0
0
0
0.003063
0.289058
1,837
58
167
31.672414
0.772588
0.005444
0
0.043478
0
0.021739
0.13965
0.084885
0
0
0
0.017241
0
1
0.108696
false
0.021739
0.086957
0.021739
0.304348
0
0
0
0
null
0
0
0
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
c28721ce0f7461080e2d786a8048dbeabbc82f3f
509
py
Python
games/game_darksouls.py
ddbb07/modorganizer-basic_games
b7a383200fa4a4cda0d4f6450b47e8b0f376b62d
[ "MIT" ]
22
2020-07-30T12:08:12.000Z
2022-03-12T00:33:34.000Z
games/game_darksouls.py
ddbb07/modorganizer-basic_games
b7a383200fa4a4cda0d4f6450b47e8b0f376b62d
[ "MIT" ]
32
2020-08-03T22:04:50.000Z
2022-03-31T20:08:26.000Z
games/game_darksouls.py
ddbb07/modorganizer-basic_games
b7a383200fa4a4cda0d4f6450b47e8b0f376b62d
[ "MIT" ]
32
2020-07-30T18:34:08.000Z
2022-02-25T23:03:06.000Z
# -*- encoding: utf-8 -*- from ..basic_game import BasicGame class DarkSoulsGame(BasicGame): Name = "DarkSouls" Author = "Holt59" Version = "0.1.0" GameName = "Dark Souls" GameShortName = "darksouls" GameNexusName = "darksouls" GameNexusId = 162 GameSteamId = 211420 GameBinary = ...
24.238095
57
0.669941
46
509
7.391304
0.782609
0.076471
0.129412
0
0
0
0
0
0
0
0
0.039801
0.210216
509
20
58
25.45
0.80597
0.045187
0
0
0
0
0.258264
0.107438
0
0
0
0
0
1
0
false
0
0.066667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c288b6aa55e574a53495e6ed7d075c035385a8d0
2,213
py
Python
plugins/templates/sql.py
KashchenkoP/docker-airflow
1f2995e3b5bbc88af5f41dc0e967a22b067740d4
[ "Apache-2.0" ]
null
null
null
plugins/templates/sql.py
KashchenkoP/docker-airflow
1f2995e3b5bbc88af5f41dc0e967a22b067740d4
[ "Apache-2.0" ]
null
null
null
plugins/templates/sql.py
KashchenkoP/docker-airflow
1f2995e3b5bbc88af5f41dc0e967a22b067740d4
[ "Apache-2.0" ]
null
null
null
LOAD_HUB_FROM_EXT_TEMP = """ insert into {{ params.hub_name }} select ext.* from {{ params.hub_name }}_ext ext left join {{ params.hub_name }} h on h.{{ params.pk_name }} = ext.{{ params.pk_name }} where h.{{ params.pk_name }} is null and ext.load_dtm::time > '{{ params.from_dtm }}'; """ LOAD_LINK_FR...
34.578125
119
0.65296
329
2,213
3.981763
0.303951
0.030534
0.048855
0.070229
0.190076
0.122137
0.041221
0
0
0
0
0.008808
0.230456
2,213
64
120
34.578125
0.760423
0
0
0.183333
0
0
0.940379
0.174345
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
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
c28aed14a9421b6ea6215d406501e31895263286
1,259
py
Python
app/summarization/nltk_summarization.py
lukas-abegg/nemo-nlp-service
f718715dc99a5f0b17fb394104764cb950f2da8b
[ "Apache-2.0" ]
2
2020-05-06T18:59:34.000Z
2020-08-10T09:47:54.000Z
app/summarization/nltk_summarization.py
lukas-abegg/nemo-nlp-service
f718715dc99a5f0b17fb394104764cb950f2da8b
[ "Apache-2.0" ]
null
null
null
app/summarization/nltk_summarization.py
lukas-abegg/nemo-nlp-service
f718715dc99a5f0b17fb394104764cb950f2da8b
[ "Apache-2.0" ]
null
null
null
import nltk from nltk.corpus import stopwords import heapq nltk.download('stopwords') nltk.download('punkt') def nltk_summarizer(raw_text): stop_words = set(stopwords.words("english")) word_frequencies = {} for word in nltk.word_tokenize(raw_text): if word not in stop_words: if word n...
32.282051
83
0.632248
148
1,259
5.162162
0.310811
0.215969
0.149215
0.082461
0.304974
0.267016
0.104712
0
0
0
0
0.00547
0.274027
1,259
38
84
33.131579
0.830416
0
0
0.066667
0
0
0.018268
0
0
0
0
0
0
1
0.033333
false
0
0.1
0
0.166667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c28cf2301fe15aa3499a9c89a53a5394ebddde8a
733
py
Python
controller/app/migrations/0007_auto_20210928_1605.py
nestorcalvo/Backend-AudioClean
7edb373c518193bc5643e9524d78d9ba32163b3f
[ "MIT" ]
null
null
null
controller/app/migrations/0007_auto_20210928_1605.py
nestorcalvo/Backend-AudioClean
7edb373c518193bc5643e9524d78d9ba32163b3f
[ "MIT" ]
null
null
null
controller/app/migrations/0007_auto_20210928_1605.py
nestorcalvo/Backend-AudioClean
7edb373c518193bc5643e9524d78d9ba32163b3f
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-09-28 21:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0006_alter_savefile_file'), ] operations = [ migrations.CreateModel( name='UploadFileForm', fields=[ ...
27.148148
117
0.559345
71
733
5.633803
0.774648
0
0
0
0
0
0
0
0
0
0
0.041339
0.306958
733
26
118
28.192308
0.746063
0.061392
0
0.1
1
0
0.103499
0.034985
0
0
0
0
0
1
0
false
0
0.05
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c28ebf81f05459d30d800216dcbf8ffc272009c8
678
py
Python
src/datalakebundle/table/parameters/ValueResolverFactory.py
bricksflow/datalake-bundle
2d435a46a74915a23738482a71f240a89ab32389
[ "MIT" ]
null
null
null
src/datalakebundle/table/parameters/ValueResolverFactory.py
bricksflow/datalake-bundle
2d435a46a74915a23738482a71f240a89ab32389
[ "MIT" ]
1
2021-11-04T13:01:15.000Z
2021-11-04T13:01:15.000Z
src/datalakebundle/table/parameters/ValueResolverFactory.py
daipe-ai/datalake-bundle
01bd0e2e7361561f2278fe08ee78b92beb9cda26
[ "MIT" ]
null
null
null
from injecta.module import attribute_loader from injecta.service.parser.DTypeResolver import DTypeResolver from datalakebundle.table.identifier.ValueResolverInterface import ValueResolverInterface class ValueResolverFactory: def __init__(self): self.__d_type_resolver = DTypeResolver() def create(self...
42.375
99
0.789086
74
678
6.878378
0.418919
0.133595
0.035363
0.066798
0
0
0
0
0
0
0
0
0.138643
678
15
100
45.2
0.871575
0
0
0
0
0
0.073746
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
c28f5b6d6cc8a74bb186fdfcd65637473d8b079f
5,634
py
Python
news/views.py
GoodGuy4221/mysite
0c94fb6c8a35a2051bd87e1dcd1a5efa21587e7f
[ "MIT" ]
null
null
null
news/views.py
GoodGuy4221/mysite
0c94fb6c8a35a2051bd87e1dcd1a5efa21587e7f
[ "MIT" ]
null
null
null
news/views.py
GoodGuy4221/mysite
0c94fb6c8a35a2051bd87e1dcd1a5efa21587e7f
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.shortcuts import get_object_or_404, redirect from django.views.generic import ListView, DetailView, CreateView from django.urls import reverse_lazy from django.contrib.auth.mixins import LoginRequiredMixin from django.core.paginator import Paginator from django.contrib.au...
30.619565
92
0.639688
638
5,634
5.5
0.19906
0.025078
0.036478
0.026218
0.447421
0.405244
0.31063
0.247364
0.216586
0.216586
0
0.002332
0.238907
5,634
183
93
30.786885
0.815998
0.426163
0
0.373494
0
0
0.092405
0
0
0
0
0
0
1
0.084337
false
0
0.144578
0.012048
0.590361
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
c2968ad24f3cd83ffe1b901559e927a4b469d5e5
830
py
Python
setup.py
Mic92/int3
6057ddd7db9b5ae6c78429da983a0cd5e3686216
[ "MIT" ]
1
2018-08-17T10:02:30.000Z
2018-08-17T10:02:30.000Z
setup.py
Mic92/int3
6057ddd7db9b5ae6c78429da983a0cd5e3686216
[ "MIT" ]
null
null
null
setup.py
Mic92/int3
6057ddd7db9b5ae6c78429da983a0cd5e3686216
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages import sys assert sys.version_info >= (3, 6, 0), "int3 requires Python 3.6+" setup( name="int3", version="0.2.0", description="Better debugger breakpoints", author="Jörg Thalheim", author_email="joerg@thalheim.io", url="https://...
29.642857
66
0.618072
97
830
5.195876
0.701031
0.015873
0.031746
0
0
0
0
0
0
0
0
0.037594
0.198795
830
27
67
30.740741
0.720301
0.024096
0
0
0
0
0.431397
0
0
0
0
0
0.041667
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
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
c29be39ec2bd90491ecf5ec6a85cb2d5afc60fb0
1,765
py
Python
static/data/pre_processed/additional_scripts/generation/remove_guides_with_off_target_2.py
joshim5/CRISPR-Library-Designer
2def1e4351c82056587620f7520ec922761ac8f3
[ "BSD-3-Clause" ]
17
2017-05-24T18:57:56.000Z
2021-04-18T05:00:10.000Z
static/data/pre_processed/additional_scripts/generation/remove_guides_with_off_target_2.py
joshim5/CRISPR-Library-Designer
2def1e4351c82056587620f7520ec922761ac8f3
[ "BSD-3-Clause" ]
10
2017-09-11T09:17:51.000Z
2022-03-11T23:18:50.000Z
static/data/pre_processed/additional_scripts/generation/remove_guides_with_off_target_2.py
joshim5/CRISPR-Library-Designer
2def1e4351c82056587620f7520ec922761ac8f3
[ "BSD-3-Clause" ]
5
2017-07-28T23:59:51.000Z
2022-01-04T19:22:22.000Z
# Remove guides that have an exact match elsewhere in the genome import os import os.path import msgpack APP_STATIC = "/home/joshm/GUIDES/CRISPR-Library-Designer/static" path1 = os.path.join(APP_STATIC, 'data/GRCh37_guides_msgpack_Azimuth/') path2 = os.path.join(APP_STATIC, 'data/GRCm38_guides_msgpack_Azimuth/') exo...
28.015873
71
0.673654
293
1,765
3.928328
0.262799
0.086012
0.069505
0.045178
0.634231
0.596003
0.514335
0.417029
0.349262
0.349262
0
0.013966
0.188669
1,765
62
72
28.467742
0.789804
0.035127
0
0.431373
0
0
0.148148
0.069959
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.078431
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c29ea5297ff0f696d9473b1f84c1bc43c7f191e9
636
py
Python
setup.py
URSUroman/hvc-custom
04fedb9611b6a6d12d56c126843bd0d30ee1d779
[ "BSD-3-Clause" ]
null
null
null
setup.py
URSUroman/hvc-custom
04fedb9611b6a6d12d56c126843bd0d30ee1d779
[ "BSD-3-Clause" ]
null
null
null
setup.py
URSUroman/hvc-custom
04fedb9611b6a6d12d56c126843bd0d30ee1d779
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( version='1.0b', description='Python package for automated segmentation and classification of vocalizations', author='David Nicholson', author_email='nicholdav at gmail dot com', url='https://github.com/NickleDave/hybrid-vocal...
28.909091
96
0.65566
74
636
5.581081
0.810811
0.058111
0
0
0
0
0
0
0
0
0
0.00994
0.20912
636
21
97
30.285714
0.811133
0.099057
0
0
0
0
0.506151
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c2a6ca3885157cb495ca664ef09d222c7e25386c
1,303
py
Python
wax/modules/diff.py
eserie/wax-ml
9cf92ff5c41ea681fd3eaaf4560b3380f986ee1e
[ "MIT", "ECL-2.0", "Apache-2.0", "BSD-3-Clause" ]
42
2021-06-14T16:27:54.000Z
2022-03-23T09:51:42.000Z
wax/modules/diff.py
eserie/wax-ml
9cf92ff5c41ea681fd3eaaf4560b3380f986ee1e
[ "MIT", "ECL-2.0", "Apache-2.0", "BSD-3-Clause" ]
1
2021-10-01T12:45:29.000Z
2021-10-03T18:06:39.000Z
wax/modules/diff.py
eserie/wax-ml
9cf92ff5c41ea681fd3eaaf4560b3380f986ee1e
[ "MIT", "ECL-2.0", "Apache-2.0", "BSD-3-Clause" ]
5
2021-06-11T12:32:41.000Z
2022-02-17T16:13:15.000Z
# Copyright 2021 The WAX-ML Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
31.02381
74
0.660783
179
1,303
4.743017
0.553073
0.070671
0.030624
0.037691
0.101296
0.101296
0.101296
0
0
0
0
0.014286
0.247889
1,303
41
75
31.780488
0.852041
0.599386
0
0
0
0
0.063781
0
0
0
0
0
0.090909
1
0.181818
false
0
0.181818
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
c2bf7474e930385c74548258c57530271eccfc86
476
py
Python
test_chrome_logging.py
babraham123/rpi-cast2
872d95f9ebeec09ef860db101e29afcb5204c66d
[ "MIT" ]
null
null
null
test_chrome_logging.py
babraham123/rpi-cast2
872d95f9ebeec09ef860db101e29afcb5204c66d
[ "MIT" ]
null
null
null
test_chrome_logging.py
babraham123/rpi-cast2
872d95f9ebeec09ef860db101e29afcb5204c66d
[ "MIT" ]
null
null
null
# test that console.log can be accessed from the browser from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities # enable browser logging d = DesiredCapabilities.CHROME d['loggingPrefs'] = { 'browser':'ALL' } browser = webdriver.Chrome(desired_capabilities=d) ...
26.444444
81
0.77521
59
476
6.20339
0.576271
0.065574
0
0
0
0
0
0
0
0
0
0
0.130252
476
17
82
28
0.884058
0.193277
0
0
0
0
0.142105
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c2c02824ce60a6a9742c3b4be1a64e28c3c91b7e
961
py
Python
xen/xen-4.2.2/tools/python/xen/util/oshelp.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
1
2018-02-02T00:15:26.000Z
2018-02-02T00:15:26.000Z
xen/xen-4.2.2/tools/python/xen/util/oshelp.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
null
null
null
xen/xen-4.2.2/tools/python/xen/util/oshelp.py
zhiming-shen/Xen-Blanket-NG
47e59d9bb92e8fdc60942df526790ddb983a5496
[ "Apache-2.0" ]
1
2019-05-27T09:47:18.000Z
2019-05-27T09:47:18.000Z
import fcntl import os def close_fds(pass_fds=()): try: MAXFD = os.sysconf('SC_OPEN_MAX') except: MAXFD = 256 for i in range(3, MAXFD): if i in pass_fds: continue try: os.close(i) except OSError: pass def fcntl_setfd_cloexec(file,...
28.264706
67
0.528616
124
961
4
0.451613
0.03629
0.040323
0.076613
0.080645
0
0
0
0
0
0
0.006623
0.371488
961
33
68
29.121212
0.81457
0
0
0.066667
0
0
0.122789
0
0
0
0
0
0
1
0.1
false
0.1
0.066667
0
0.233333
0
0
0
0
null
0
0
0
0
0
0
0
0
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
c2c46b9f43f65ee7f8f160366598ea341d380075
2,234
py
Python
installation/migrations/dbschema.fixup-extensionroles.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
216
2015-01-05T12:48:10.000Z
2022-03-08T00:12:23.000Z
installation/migrations/dbschema.fixup-extensionroles.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
55
2015-02-28T12:10:26.000Z
2020-11-18T17:45:16.000Z
installation/migrations/dbschema.fixup-extensionroles.py
fekblom/critic
a6b60c9053e13d4c878d50531860d7389568626d
[ "Apache-2.0" ]
34
2015-05-02T15:15:10.000Z
2020-06-15T19:20:37.000Z
# -*- mode: python; encoding: utf-8 -*- # # Copyright 2014 Jens Lindström, Opera Software ASA # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in compliance with the License. You may obtain a copy of # the License at # # http://www.apache.org/licenses/LICENSE-2.0...
30.60274
81
0.689346
278
2,234
5.510791
0.539568
0.039164
0.025457
0.020888
0.024804
0
0
0
0
0
0
0.009238
0.224709
2,234
72
82
31.027778
0.875289
0.335721
0
0
0
0
0.469986
0.141201
0
0
0
0
0
0
null
null
0
0.119048
null
null
0.02381
0
0
0
null
0
0
0
0
0
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
c2d0f1f1858066ddbc5efc00de7b1529da6e06e4
2,172
py
Python
saku/auction/migrations/0001_initial.py
Mehdi-MosTafavi/Saku-Backend
348a1a676ffc8ddd9077f8c94733c5f6dce98fbd
[ "MIT" ]
null
null
null
saku/auction/migrations/0001_initial.py
Mehdi-MosTafavi/Saku-Backend
348a1a676ffc8ddd9077f8c94733c5f6dce98fbd
[ "MIT" ]
null
null
null
saku/auction/migrations/0001_initial.py
Mehdi-MosTafavi/Saku-Backend
348a1a676ffc8ddd9077f8c94733c5f6dce98fbd
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-04-23 09:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
38.105263
119
0.558471
208
2,172
5.682692
0.375
0.027073
0.050761
0.081218
0.392555
0.392555
0.367174
0.367174
0.28934
0.28934
0
0.01715
0.302026
2,172
56
120
38.785714
0.762533
0.020718
0
0.428571
1
0
0.098824
0
0
0
0
0
0
1
0
false
0
0.061224
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c2d7d3c7ea5492fac882e3eb4dcd1b2858409e94
594
py
Python
human_evaluation/prototype_example.py
InitialBug/MarCo-Dialog
2b9ff5929e4b924ec130cd7ceeeda9991186ab99
[ "MIT" ]
33
2020-04-28T02:26:22.000Z
2022-01-10T03:26:08.000Z
human_evaluation/prototype_example.py
Alibaba-NLP/MarCo-Dialog
ed55573a7d663a99152c540c9425be0a0ff99fe8
[ "MIT" ]
2
2020-09-12T04:02:40.000Z
2021-04-12T12:59:50.000Z
human_evaluation/prototype_example.py
Alibaba-NLP/MarCo-Dialog
ed55573a7d663a99152c540c9425be0a0ff99fe8
[ "MIT" ]
12
2020-04-27T02:49:17.000Z
2021-10-16T05:36:51.000Z
examples = [ { "file": "FILENAME", "info": [ { "turn_num": 1, "user": "USER QUERY", "system": "HUMAN RESPONSE", "HDSA": "HDSA RESPONSE", "MarCo": "MarCo RESPONSE", "MarCo vs. system": ...
23.76
55
0.26936
30
594
5.3
0.6
0.163522
0
0
0
0
0
0
0
0
0
0.004115
0.590909
594
25
56
23.76
0.650206
0
0
0
0
0
0.266442
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
c2d90004d55089569f37dad08b7a004d764f16a6
1,860
py
Python
app/scrape/not_a_bot.py
yeeeeees/eventio-backend
85f245220c36e1e8a243097cbb9ca68533b69c7e
[ "Apache-2.0" ]
2
2020-02-04T07:48:48.000Z
2020-03-03T11:15:54.000Z
app/scrape/not_a_bot.py
yeeeeees/eventio-backend
85f245220c36e1e8a243097cbb9ca68533b69c7e
[ "Apache-2.0" ]
4
2020-02-01T15:42:13.000Z
2020-02-03T21:03:02.000Z
app/scrape/not_a_bot.py
yeeeeees/eventio-backend
85f245220c36e1e8a243097cbb9ca68533b69c7e
[ "Apache-2.0" ]
null
null
null
from selenium import webdriver import os import time class Not_a_IG_bot: def __init__(self, username, password): self.username = username self.password = password options = webdriver.ChromeOptions() options.add_argument('headless') self.driver = webdriver...
28.181818
138
0.603226
235
1,860
4.506383
0.302128
0.084986
0.07932
0.11898
0.237016
0.215297
0.215297
0.064212
0.064212
0
0
0.005878
0.26828
1,860
65
139
28.615385
0.772226
0
0
0.136364
0
0.022727
0.12702
0.046797
0
0
0
0
0
1
0.136364
false
0.113636
0.068182
0
0.227273
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c2e14f2c12136a92ef90c53d0209ecd04b2bfd96
1,152
py
Python
deployment/functions.py
earaujoassis/deployment
c1c4d9c4d180e955d716b21219dd862f00dbe93c
[ "MIT" ]
1
2019-02-10T22:08:09.000Z
2019-02-10T22:08:09.000Z
deployment/functions.py
earaujoassis/deployment
c1c4d9c4d180e955d716b21219dd862f00dbe93c
[ "MIT" ]
null
null
null
deployment/functions.py
earaujoassis/deployment
c1c4d9c4d180e955d716b21219dd862f00dbe93c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys from mako.template import Template from deployment.errors import MissingData, MissingDeploymentType from deployment.utils import DEPLOYMENT_TYPE_STATIC from deployment.utils import DEPLOYMENT_TYPE_CONTAINERS from deployment.utils import DEPLOYMENT_TYPE_COMPOSE def genera...
39.724138
95
0.791667
134
1,152
6.522388
0.30597
0.19222
0.065217
0.085812
0.255149
0.220824
0.086957
0
0
0
0
0.001015
0.144965
1,152
28
96
41.142857
0.886294
0.018229
0
0
0
0
0.109832
0.062888
0
0
0
0
0
1
0.043478
false
0
0.304348
0
0.391304
0
0
0
0
null
0
0
0
0
0
0
0
0
0
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
c2e1611fc7f142e5d8c870dc8a0dc7e45cb4ea08
2,755
py
Python
forma/detector.py
dpoulopoulos/forma
64f0d9c30b9cf01bc025c8cb6e172a6f338c5118
[ "Apache-2.0" ]
null
null
null
forma/detector.py
dpoulopoulos/forma
64f0d9c30b9cf01bc025c8cb6e172a6f338c5118
[ "Apache-2.0" ]
null
null
null
forma/detector.py
dpoulopoulos/forma
64f0d9c30b9cf01bc025c8cb6e172a6f338c5118
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/detector.ipynb (unless otherwise specified). __all__ = ['FormatDetector'] # Cell import numpy as np import pandas as pd from typing import Any, Dict, Callable from tqdm import tqdm from .judge import FormatJudge from .utils import PatternGenerator # Cell class Format...
37.739726
97
0.515064
295
2,755
4.691525
0.301695
0.047688
0.039017
0.026012
0.377168
0.356936
0.325145
0.219653
0.219653
0.219653
0
0.00423
0.399274
2,755
73
98
37.739726
0.832024
0.036298
0
0.393443
1
0
0.006787
0
0
0
0
0
0
1
0.04918
false
0
0.098361
0
0.180328
0
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
c2e34fd47cab6b6768a7442f3cc786a72285bee9
2,344
py
Python
03_Data Structure/Algorithms/Map/DFS_App/Bi_connected/biconnect.py
Robert-Stackflow/HUST-Courses
300752552e7af035b0e5c7663953850c81871242
[ "MIT" ]
4
2021-11-01T09:27:32.000Z
2022-03-07T14:24:10.000Z
03_Data Structure/Algorithms/Map/DFS_App/Bi_connected/biconnect.py
Robert-Stackflow/HUST-Courses
300752552e7af035b0e5c7663953850c81871242
[ "MIT" ]
null
null
null
03_Data Structure/Algorithms/Map/DFS_App/Bi_connected/biconnect.py
Robert-Stackflow/HUST-Courses
300752552e7af035b0e5c7663953850c81871242
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- encoding=utf-8 -*- import sys def readmap(filename): graph={} with open(filename,'r') as mapfile: line=mapfile.readline() directed=int(line[:-1]) line=mapfile.readline() nodes=line[:-1].split(' ') for node in nodes: graph[int(node)]=[] for line in mapfile: node1,node2=lin...
24.673684
71
0.709471
327
2,344
5.055046
0.211009
0.046582
0.045372
0.056261
0.157895
0.114943
0.114943
0.114943
0.114943
0
0
0.015331
0.137372
2,344
95
72
24.673684
0.802176
0.053328
0
0.189873
0
0
0.005425
0
0
0
0
0
0
0
null
null
0
0.012658
null
null
0.012658
0
0
0
null
0
0
0
0
0
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
c2e5f4c770d250f3d94d94b55c91d01fdce3faf5
267
py
Python
tests/functions/test_convert_excel_date.py
zbarry/pyjanitor
e0815417d0cf8b087b6f51b0dc7e20b16de8cb6e
[ "MIT" ]
null
null
null
tests/functions/test_convert_excel_date.py
zbarry/pyjanitor
e0815417d0cf8b087b6f51b0dc7e20b16de8cb6e
[ "MIT" ]
null
null
null
tests/functions/test_convert_excel_date.py
zbarry/pyjanitor
e0815417d0cf8b087b6f51b0dc7e20b16de8cb6e
[ "MIT" ]
null
null
null
import pandas as pd import pytest @pytest.mark.functions def test_convert_excel_date(): df = ( pd.read_excel("examples/dirty_data.xlsx") .clean_names() .convert_excel_date("hire_date") ) assert df["hire_date"].dtype == "M8[ns]"
19.071429
49
0.64794
36
267
4.527778
0.694444
0.147239
0.196319
0
0
0
0
0
0
0
0
0.004808
0.220974
267
13
50
20.538462
0.778846
0
0
0
0
0
0.179775
0.089888
0
0
0
0
0.1
1
0.1
false
0
0.2
0
0.3
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
c2ea5c243cebe9f01d8bd465a8959ae6b2e65faa
468
py
Python
talentmap_api/common/pagination.py
burgwyn/State-TalentMAP-API
1f4f3659c5743ebfd558cd87af381f5460f284b3
[ "CC0-1.0" ]
7
2018-10-17T15:13:05.000Z
2021-12-10T14:53:38.000Z
talentmap_api/common/pagination.py
burgwyn/State-TalentMAP-API
1f4f3659c5743ebfd558cd87af381f5460f284b3
[ "CC0-1.0" ]
232
2017-06-16T02:09:54.000Z
2018-05-10T16:15:48.000Z
talentmap_api/common/pagination.py
MetaPhase-Consulting/State-TalentMAP-API
4e238cbfe241fd3d0a718a9a0fc038dbed00f13b
[ "CC0-1.0" ]
4
2018-06-13T14:49:27.000Z
2021-06-30T22:29:15.000Z
from rest_framework.pagination import PageNumberPagination class ControllablePageNumberPagination(PageNumberPagination): # Query parameter for the page number page_query_param = "page" # Default page size page_size = 100 max_page_size = 1000 # Query parameter for the page size limit page...
27.529412
69
0.735043
60
468
5.55
0.516667
0.12012
0.102102
0.12012
0.144144
0
0
0
0
0
0
0.018868
0.207265
468
16
70
29.25
0.878706
0.33547
0
0
0
0
0.068627
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c2ece91e5034e120e4992dd9754cefc1c125b184
2,831
py
Python
Brie/brie/plugins/wifi/controller.py
yohan-b/brie-aurore
be30a9fb47c3629505a6d0d89e44ce51ec06d51e
[ "BSD-2-Clause" ]
1
2015-11-05T22:35:50.000Z
2015-11-05T22:35:50.000Z
Brie/brie/plugins/wifi/controller.py
yohan-b/brie-aurore
be30a9fb47c3629505a6d0d89e44ce51ec06d51e
[ "BSD-2-Clause" ]
null
null
null
Brie/brie/plugins/wifi/controller.py
yohan-b/brie-aurore
be30a9fb47c3629505a6d0d89e44ce51ec06d51e
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from tg.decorators import expose from tg.controllers import redirect from brie.config import ldap_config, groups_enum from brie.lib.ldap_helper import * from brie.lib.aurore_helper import * from brie.lib.name_translation_helpers import Passwords from brie.lib.smtp_helper import SmtpHelper from ...
33.305882
294
0.664076
357
2,831
5.12605
0.327731
0.039344
0.046448
0.021858
0.28306
0.206557
0.178142
0.178142
0.178142
0.178142
0
0.000464
0.238785
2,831
84
295
33.702381
0.848724
0.027199
0
0.181818
0
0
0.10674
0.024408
0
0
0
0
0
1
0.054545
false
0.109091
0.2
0
0.345455
0
0
0
0
null
0
0
0
0
0
0
0
0
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
c2edf73fd5c858e55e4bca6e6be8a98fdcdfee05
1,651
py
Python
rspmsg/__init__.py
darkdarkfruit/rspmsg
5dfbaa539aa5ed273e49fa120b6fe56b26267419
[ "MIT" ]
1
2018-01-11T11:27:36.000Z
2018-01-11T11:27:36.000Z
rspmsg/__init__.py
darkdarkfruit/rspmsg
5dfbaa539aa5ed273e49fa120b6fe56b26267419
[ "MIT" ]
null
null
null
rspmsg/__init__.py
darkdarkfruit/rspmsg
5dfbaa539aa5ed273e49fa120b6fe56b26267419
[ "MIT" ]
null
null
null
""" Rspmsg specification:: |--------+--------+-----------+-----------+------------+-------------------------------------------------------| | Field | type | Required? | Optional? | value | Meaning | |--------+--------+-----------+-----------+----------...
47.171429
116
0.361599
119
1,651
4.731092
0.605042
0.085258
0.01421
0.060391
0
0
0
0
0
0
0
0.003749
0.353725
1,651
34
117
48.558824
0.523899
0.781345
0
0
0
0
0.062678
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
c2f618a3a5b55838cc797598a556f7e8a14360e7
7,170
py
Python
training/src/tests/tests/python/range_pe.py
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
training/src/tests/tests/python/range_pe.py
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
training/src/tests/tests/python/range_pe.py
steelONIONknight/bolt
9bd3d08f2abb14435ca3ad0179889e48fa7e9b47
[ "MIT" ]
null
null
null
# Copyright (C) 2021. Huawei Technologies Co., Ltd. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation the rights to use, c...
24.305085
148
0.450488
859
7,170
3.623981
0.267753
0.048828
0.068423
0.08866
0.170575
0.113074
0.085448
0.085448
0.077417
0.054288
0
0.065679
0.454254
7,170
294
149
24.387755
0.729875
0.253835
0
0.728395
0
0
0.003027
0
0
0
0
0
0
1
0.024691
false
0
0.00823
0
0.057613
0.004115
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6c076e20fda5e0126f10e0eb03212d994f6d49d9
1,641
py
Python
resteasycli/cmd/main.py
rapidstack/RESTEasyCLI
f65fc86163c25f843a94341f09b20db28c1511d7
[ "MIT" ]
null
null
null
resteasycli/cmd/main.py
rapidstack/RESTEasyCLI
f65fc86163c25f843a94341f09b20db28c1511d7
[ "MIT" ]
55
2019-01-01T12:03:58.000Z
2019-05-23T16:36:30.000Z
resteasycli/cmd/main.py
sayanarijit/RESTEasyCLI
f65fc86163c25f843a94341f09b20db28c1511d7
[ "MIT" ]
5
2019-01-01T17:04:37.000Z
2019-03-02T17:59:49.000Z
import sys from cliff.app import App from cliff.help import HelpCommand from cliff.commandmanager import CommandManager from resteasycli.config import Config from resteasycli.lib.workspace import Workspace from resteasycli.exceptions import FileNotFoundException class CLIApp(App): '''The main CLI app''' def ...
30.388889
78
0.650213
194
1,641
5.257732
0.402062
0.068627
0.070588
0.052941
0
0
0
0
0
0
0
0.001608
0.241926
1,641
53
79
30.962264
0.818328
0.074954
0
0.051282
0
0
0.088079
0.013907
0
0
0
0.018868
0
1
0.128205
false
0.025641
0.179487
0
0.358974
0
0
0
0
null
0
0
0
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
6c09832e71fed39abda7fbc0e59a8dec53d1e2a6
3,713
py
Python
authentication/models.py
kali-physi-hacker/KaliBlog
3a64bb668670e1df22276155e9f883203b3b25bb
[ "MIT" ]
2
2020-05-27T23:56:32.000Z
2021-02-19T21:11:49.000Z
authentication/models.py
kali-physi-hacker/KaliBlog
3a64bb668670e1df22276155e9f883203b3b25bb
[ "MIT" ]
7
2021-04-08T21:49:28.000Z
2022-02-10T10:33:40.000Z
authentication/models.py
kali-physi-hacker/KaliBlog
3a64bb668670e1df22276155e9f883203b3b25bb
[ "MIT" ]
null
null
null
from django.contrib.auth.models import AbstractBaseUser, BaseUserManager, PermissionsMixin from django.db import models from django.utils import timezone from django.utils.translation import gettext_lazy as _ class UserManager(BaseUserManager): """Object Manager for the Custom User Model """ def create_...
24.753333
90
0.588742
409
3,713
5.161369
0.288509
0.059687
0.045476
0.040265
0.345808
0.288963
0.233065
0.11369
0.11369
0.11369
0
0.003593
0.325343
3,713
150
91
24.753333
0.839122
0.183679
0
0.192771
0
0
0.11926
0
0
0
0
0
0
1
0.072289
false
0.072289
0.048193
0.024096
0.349398
0
0
0
0
null
0
0
0
0
0
0
0
0
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
6c137225dcf9a96082567913c6f13baf600bad02
3,302
py
Python
src/decrypt_data/decrypt_motor_data.py
AnBesp/crazyflie-dataset
67dfd127ca1ab93f36b62a0af162be4becfaa892
[ "MIT" ]
null
null
null
src/decrypt_data/decrypt_motor_data.py
AnBesp/crazyflie-dataset
67dfd127ca1ab93f36b62a0af162be4becfaa892
[ "MIT" ]
null
null
null
src/decrypt_data/decrypt_motor_data.py
AnBesp/crazyflie-dataset
67dfd127ca1ab93f36b62a0af162be4becfaa892
[ "MIT" ]
1
2022-03-06T15:09:30.000Z
2022-03-06T15:09:30.000Z
# -*- coding: utf-8 -*- """ plotting a motor data log """ import cfusdlog import matplotlib.pyplot as plt import re import argparse parser = argparse.ArgumentParser() parser.add_argument("filename") args = parser.parse_args() # decode binary log data logData = cfusdlog.decode(args.filename) #only focus on regular lo...
32.058252
80
0.699576
444
3,302
5.18018
0.25
0.06087
0.121739
0.2
0.661739
0.661739
0.393478
0.346522
0.332609
0.332609
0
0.016
0.09146
3,302
103
81
32.058252
0.750667
0.080557
0
0.369863
0
0
0.241562
0
0
0
0
0
0
1
0
false
0
0.054795
0
0.054795
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
6c2e62e284b8b64516be671bd46ec0455267138e
2,731
py
Python
syn/utils/analytics/treasury.py
ChiTimesChi/SYN-Tracker-API
c099e78b5833cca2c771a86b37a6ab9deae05f3c
[ "BSL-1.0" ]
null
null
null
syn/utils/analytics/treasury.py
ChiTimesChi/SYN-Tracker-API
c099e78b5833cca2c771a86b37a6ab9deae05f3c
[ "BSL-1.0" ]
null
null
null
syn/utils/analytics/treasury.py
ChiTimesChi/SYN-Tracker-API
c099e78b5833cca2c771a86b37a6ab9deae05f3c
[ "BSL-1.0" ]
1
2021-11-01T18:55:55.000Z
2021-11-01T18:55:55.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Copyright Blaze 2021. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt) """ from collections import defaultdict from decimal import Decimal from typing import D...
30.685393
76
0.623215
318
2,731
5.166667
0.374214
0.029823
0.051126
0.043822
0.091905
0
0
0
0
0
0
0.067797
0.265471
2,731
88
77
31.034091
0.751246
0.115342
0
0.063492
0
0
0.1067
0.069479
0
0
0.069479
0.011364
0
1
0.031746
false
0
0.174603
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6c2fbcd3edeaf251a747946feaab7d3a83b1a13d
288
py
Python
Dataset/Leetcode/test/104/513.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/104/513.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/104/513.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution(object): def XXX(self, root): def dfs(node, num, ret): if node is None: return num num += 1 return max(dfs(node.left, num, ret), dfs(node.right, num, ret)) num -= 1 return dfs(root, 0, 0)
26.181818
75
0.475694
39
288
3.512821
0.512821
0.153285
0.145985
0
0
0
0
0
0
0
0
0.023392
0.40625
288
10
76
28.8
0.777778
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6c30c87da94763bb38f1609da6c324058db96c9d
9,129
py
Python
openapi_client/models/common_cloud_metadata.py
hi-artem/twistlock-py
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
[ "RSA-MD" ]
null
null
null
openapi_client/models/common_cloud_metadata.py
hi-artem/twistlock-py
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
[ "RSA-MD" ]
null
null
null
openapi_client/models/common_cloud_metadata.py
hi-artem/twistlock-py
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
[ "RSA-MD" ]
null
null
null
# coding: utf-8 """ Prisma Cloud Compute API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 21.04.439 Generated by: https://openapi-generator.tech """ try: from inspect import getfulla...
27.832317
178
0.583854
1,009
9,129
5.171457
0.139742
0.062859
0.153315
0.133384
0.408586
0.326562
0.2867
0.126677
0.073975
0.034879
0
0.022284
0.326542
9,129
327
179
27.917431
0.826448
0.373425
0
0.103448
1
0
0.047828
0.005221
0
0
0
0
0
1
0.158621
false
0
0.048276
0
0.351724
0.013793
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
6c3541f64c860fe9cea05794ced502bd03579f8b
3,124
py
Python
wildlifecompliance/components/section_regulation/models.py
Djandwich/wildlifecompliance
ca296798526a56ce67ffc2f7e8ebdbae95077e6d
[ "Apache-2.0" ]
null
null
null
wildlifecompliance/components/section_regulation/models.py
Djandwich/wildlifecompliance
ca296798526a56ce67ffc2f7e8ebdbae95077e6d
[ "Apache-2.0" ]
null
null
null
wildlifecompliance/components/section_regulation/models.py
Djandwich/wildlifecompliance
ca296798526a56ce67ffc2f7e8ebdbae95077e6d
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.db.models import Q from ledger.accounts.models import RevisionedMixin class Act(RevisionedMixin): NAME_CHOICES = ( ('BCA', 'Biodiversity Conservation Act 2016'), ('CALM', 'Conservation and Land Management Act 1984'), ('BCR', 'Biodivers...
44
208
0.704545
370
3,124
5.724324
0.362162
0.041549
0.042493
0.056657
0.202077
0.173749
0.14542
0.117092
0.049103
0.049103
0
0.02104
0.193662
3,124
70
209
44.628571
0.81977
0.084507
0
0.176471
0
0.019608
0.268207
0.022759
0
0
0
0
0
1
0.078431
false
0
0.058824
0.078431
0.568627
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
6c4d841096dbbffdb79ebee8c6cce05568a5d7bf
1,811
py
Python
h2o-py/tests/testdir_algos/kmeans/pyunit_convergeKmeans.py
suhassatish/h2o-dev
cb82974b93193b9fe6df4db5caa44016f83880c4
[ "Apache-2.0" ]
null
null
null
h2o-py/tests/testdir_algos/kmeans/pyunit_convergeKmeans.py
suhassatish/h2o-dev
cb82974b93193b9fe6df4db5caa44016f83880c4
[ "Apache-2.0" ]
null
null
null
h2o-py/tests/testdir_algos/kmeans/pyunit_convergeKmeans.py
suhassatish/h2o-dev
cb82974b93193b9fe6df4db5caa44016f83880c4
[ "Apache-2.0" ]
null
null
null
import sys sys.path.insert(1, "../../../") import h2o def convergeKmeans(ip,port): # Connect to a pre-existing cluster h2o.init(ip,port) # connect to localhost:54321 # Log.info("Importing ozone.csv data...\n") ozone_h2o = h2o.import_frame(path=h2o.locate("smalldata/glm_test/ozone.csv")) #ozone_h2o.summary...
33.537037
132
0.686361
306
1,811
3.901961
0.45098
0.040201
0.033501
0.050251
0.140704
0.125628
0.090452
0.090452
0.090452
0.061977
0
0.090084
0.147985
1,811
54
133
33.537037
0.683733
0.200994
0
0
0
0
0.078581
0.019471
0
0
0
0.018519
0.111111
1
0.027778
false
0
0.083333
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6c509a6c263fd8f06138ef2f1bbcf11cba5acdfc
617
py
Python
sample_programs/python_sample_programs/ipfallbacks.py
3v1lW1th1n/locationapi-client-libraries
0d5619e38e54e650a9907d6ad4034c611da97eb5
[ "MIT" ]
7
2019-03-11T10:13:10.000Z
2021-12-12T20:06:08.000Z
sample_programs/python_sample_programs/ipfallbacks.py
3v1lW1th1n/locationapi-client-libraries
0d5619e38e54e650a9907d6ad4034c611da97eb5
[ "MIT" ]
1
2019-12-02T11:58:14.000Z
2019-12-09T05:32:07.000Z
sample_programs/python_sample_programs/ipfallbacks.py
3v1lW1th1n/locationapi-client-libraries
0d5619e38e54e650a9907d6ad4034c611da97eb5
[ "MIT" ]
10
2019-04-14T13:14:46.000Z
2021-08-16T06:38:26.000Z
from __future__ import print_function import time import unwired from unwired.rest import ApiException from pprint import pprint # create an instance of the API class api_instance = unwired.GEOLOCATIONApi() #Fallback Schema f=unwired.FallbackSchema(ipf=1) # GeolocationSchema | geolocation_schema = unwired.Geolocati...
25.708333
73
0.777958
79
617
5.911392
0.582278
0.047109
0
0
0
0
0
0
0
0
0
0.024482
0.139384
617
23
74
26.826087
0.854991
0.134522
0
0
0
0
0.155009
0.05293
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.266667
0
0
0
null
0
0
0
0
0
0
0
0
0
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
6c5679ff771ab281845a5cdbdf38e607cabc98e1
722
py
Python
src/cpp/qpsolver/cvxopt/examples/doc/chap8/sdp.py
Hap-Hugh/quicksel
10eee90b759638d5c54ba19994ae8e36e90e12b8
[ "Apache-2.0" ]
15
2020-07-07T16:32:53.000Z
2022-03-16T14:23:23.000Z
src/cpp/qpsolver/cvxopt/examples/doc/chap8/sdp.py
Hap-Hugh/quicksel
10eee90b759638d5c54ba19994ae8e36e90e12b8
[ "Apache-2.0" ]
2
2020-09-02T15:25:39.000Z
2020-09-24T08:37:18.000Z
src/cpp/qpsolver/cvxopt/examples/doc/chap8/sdp.py
Hap-Hugh/quicksel
10eee90b759638d5c54ba19994ae8e36e90e12b8
[ "Apache-2.0" ]
6
2020-08-14T22:02:07.000Z
2021-03-31T07:08:29.000Z
# The small SDP of section 8.6 (Semidefinite programming). from cvxopt import matrix, solvers c = matrix([1.,-1.,1.]) G = [ matrix([[-7., -11., -11., 3.], [ 7., -18., -18., 8.], [-2., -8., -8., 1.]]) ] G += [ matrix([[-21., -11., 0., -11., 10., 8., 0., 8., 5.], ...
36.1
73
0.369806
109
722
2.449541
0.40367
0.067416
0.101124
0.082397
0
0
0
0
0
0
0
0.170588
0.293629
722
19
74
38
0.352941
0.077562
0
0
0
0
0.048338
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.352941
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6c5bb527722a39f87ebcb626a857f124c4b44c90
1,890
py
Python
scripts/core/utils/PoseDict.py
hcngdaniel/home_service_robot
18cc376097b33b5cab9efcd8f63c38a6bdc4b5c2
[ "MIT" ]
null
null
null
scripts/core/utils/PoseDict.py
hcngdaniel/home_service_robot
18cc376097b33b5cab9efcd8f63c38a6bdc4b5c2
[ "MIT" ]
null
null
null
scripts/core/utils/PoseDict.py
hcngdaniel/home_service_robot
18cc376097b33b5cab9efcd8f63c38a6bdc4b5c2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import io import yaml import typing from geometry_msgs.msg import Pose, Point, Quaternion class PoseDict: def __init__(self): self.dict: typing.Dict[typing.Any, Pose] = {} def __setitem__(self, key, value): self.dict[key] = value def __getitem__(self, key...
30.483871
108
0.525926
228
1,890
4.162281
0.302632
0.059009
0.034773
0.029505
0.134879
0.134879
0.134879
0.065332
0.065332
0
0
0.002392
0.336508
1,890
61
109
30.983607
0.754386
0.011111
0
0.104167
0
0
0.031585
0
0
0
0
0
0
1
0.229167
false
0
0.104167
0.083333
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
6c64eaab023c2ecd2593d11add981f5c492aefbd
5,846
py
Python
build/lib/miaodump/controller/filter.py
ch4r04/MiaoDump
04020c45e5212077a8981080738bc0113582a049
[ "MIT" ]
5
2018-05-14T05:48:27.000Z
2019-06-22T06:04:27.000Z
build/lib/miaodump/controller/filter.py
ch4r04/MiaoDump
04020c45e5212077a8981080738bc0113582a049
[ "MIT" ]
null
null
null
build/lib/miaodump/controller/filter.py
ch4r04/MiaoDump
04020c45e5212077a8981080738bc0113582a049
[ "MIT" ]
2
2018-05-14T05:48:28.000Z
2018-12-07T07:17:22.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/3/6 17:58 # @Author : ch4r0n # @Site : # @File : filter.py # @Software: PyCharm import os import re import commands import struct ''' 文件类的Filter ''' class FileFilter: def __init__(self): pass # 字节码转16进制字符串 def bytes2hex(s...
26.816514
108
0.528738
662
5,846
4.460725
0.267372
0.0596
0.036573
0.016255
0.128005
0.09211
0.09211
0.09211
0.09211
0.09211
0
0.006984
0.363154
5,846
217
109
26.940092
0.786194
0.039172
0
0.182609
0
0
0.042121
0
0
0
0
0
0
0
null
null
0.017391
0.034783
null
null
0.026087
0
0
0
null
0
0
0
0
0
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
6c65d907a564dc8c71dca1c0915204a6c7217e59
3,640
py
Python
Tools/resourceCompiler/mayaExporter/workers/meshExporter.py
giordi91/SirEngineThe3rd
551328144f513e7e7ea9af03327672096baae610
[ "MIT" ]
114
2020-12-03T10:25:21.000Z
2022-03-16T20:06:15.000Z
Tools/resourceCompiler/mayaExporter/workers/meshExporter.py
giordi91/SirEngineThe3rd
551328144f513e7e7ea9af03327672096baae610
[ "MIT" ]
null
null
null
Tools/resourceCompiler/mayaExporter/workers/meshExporter.py
giordi91/SirEngineThe3rd
551328144f513e7e7ea9af03327672096baae610
[ "MIT" ]
3
2021-01-11T16:22:26.000Z
2022-01-29T16:41:09.000Z
#from maya import cmds import os from maya import cmds import json from maya.api import OpenMaya def get_dag_node( xform ): selectionList = OpenMaya.MSelectionList() try: selectionList.add( xform ) except: return None dagPath = OpenMaya.MDagPath() dagPath = selectionList.getDagPat...
25.103448
92
0.598077
507
3,640
4.16568
0.303748
0.019886
0.018939
0.020833
0.069602
0.03267
0
0
0
0
0
0.020362
0.271429
3,640
144
93
25.277778
0.776018
0.068407
0
0.050505
0
0
0.055901
0
0
0
0
0
0
0
null
null
0
0.040404
null
null
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6c6fa32e44ce50a6a4730898bb27a0fc161b472e
715
py
Python
simframe/integration/__init__.py
firefly-cpp/simframe
63475e1cf41fcd6baa9c27fb1451c47a87d77ac7
[ "BSD-3-Clause" ]
null
null
null
simframe/integration/__init__.py
firefly-cpp/simframe
63475e1cf41fcd6baa9c27fb1451c47a87d77ac7
[ "BSD-3-Clause" ]
null
null
null
simframe/integration/__init__.py
firefly-cpp/simframe
63475e1cf41fcd6baa9c27fb1451c47a87d77ac7
[ "BSD-3-Clause" ]
null
null
null
"""This package contains infrastructure for solving differential equations within ``simframe``. The ``Integrator`` class is the basic class that advances the simulation from snapshot to snapshot by executing one integration ``Instruction`` at a time. Instructions contain a list of integration ``Scheme``. The ``schemes`...
47.666667
121
0.765035
84
715
6.464286
0.52381
0.139963
0.127072
0
0
0
0
0
0
0
0
0
0.155245
715
14
122
51.071429
0.899007
0.567832
0
0
0
0
0.112211
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6c7c1092d541ebd020ef8fc25654c1ca2e79b7ec
2,255
py
Python
underworld/systems/sle/_eqnum.py
longgangfan/underworld2
5c8acc17fa4d97e86a62b13b8bfb2af6e81a8ee4
[ "CC-BY-4.0" ]
116
2015-09-28T10:30:55.000Z
2022-03-22T04:12:38.000Z
underworld/systems/sle/_eqnum.py
longgangfan/underworld2
5c8acc17fa4d97e86a62b13b8bfb2af6e81a8ee4
[ "CC-BY-4.0" ]
561
2015-09-29T06:05:50.000Z
2022-03-22T23:37:29.000Z
underworld/systems/sle/_eqnum.py
longgangfan/underworld2
5c8acc17fa4d97e86a62b13b8bfb2af6e81a8ee4
[ "CC-BY-4.0" ]
68
2015-12-14T21:57:46.000Z
2021-08-25T04:54:26.000Z
##~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~#~## ## ## ## This file forms part of the Underworld geophysics modelling application. ## ## ...
46.979167
133
0.552993
205
2,255
5.995122
0.546341
0.019528
0.043938
0.04882
0
0
0
0
0
0
0
0.005625
0.290466
2,255
47
134
47.978723
0.7625
0.587583
0
0
0
0
0.128514
0
0
0
0
0
0
1
0.142857
false
0.071429
0.142857
0.071429
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1