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
647f1a2745d409d408f040287d5811bb8c5667a4
1,788
py
Python
tests/test_inf_dim_rosenbrock.py
jungtaekkim/bayeso-benchmarks
3650aaeeaa123da14f0f839da664b071ee17bf9a
[ "MIT" ]
20
2019-12-17T09:01:59.000Z
2022-01-17T02:06:28.000Z
tests/test_inf_dim_rosenbrock.py
jungtaekkim/bayeso-benchmarks
3650aaeeaa123da14f0f839da664b071ee17bf9a
[ "MIT" ]
null
null
null
tests/test_inf_dim_rosenbrock.py
jungtaekkim/bayeso-benchmarks
3650aaeeaa123da14f0f839da664b071ee17bf9a
[ "MIT" ]
5
2019-12-18T08:41:36.000Z
2020-11-06T07:25:57.000Z
# # author: Jungtaek Kim (jtkim@postech.ac.kr) # last updated: February 8, 2021 # import numpy as np import pytest from bayeso_benchmarks.inf_dim_rosenbrock import * class_fun = Rosenbrock TEST_EPSILON = 1e-5 def test_init(): obj_fun = class_fun(2) with pytest.raises(TypeError) as error: class_fu...
24.493151
78
0.599553
238
1,788
4.361345
0.344538
0.069364
0.077071
0.072254
0.303468
0.274566
0.274566
0.274566
0.231214
0.231214
0
0.236624
0.25783
1,788
72
79
24.833333
0.545592
0.040828
0
0.245614
0
0
0.003509
0
0
0
0
0
0.087719
1
0.052632
false
0
0.052632
0
0.105263
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
647f55fab23ad506dc4f355454eebadf13262216
26,314
py
Python
pgoapi/protos/POGOProtos/Data/Battle_pb2.py
neoz/pgoapi
fd462be412ac347ab517b68f269e2342a7226909
[ "MIT" ]
1,457
2016-07-19T00:35:05.000Z
2022-02-05T15:19:44.000Z
pgoapi/protos/POGOProtos/Data/Battle_pb2.py
neoz/pgoapi
fd462be412ac347ab517b68f269e2342a7226909
[ "MIT" ]
196
2016-07-19T00:23:53.000Z
2018-06-07T16:12:27.000Z
pgoapi/protos/POGOProtos/Data/Battle_pb2.py
neoz/pgoapi
fd462be412ac347ab517b68f269e2342a7226909
[ "MIT" ]
501
2016-07-19T00:31:16.000Z
2022-03-25T06:31:59.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: POGOProtos.Data.Battle.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf impor...
44.751701
3,275
0.764802
3,482
26,314
5.454624
0.082998
0.050545
0.06634
0.050545
0.691255
0.642974
0.586742
0.539199
0.486442
0.470752
0
0.048763
0.120126
26,314
587
3,276
44.827939
0.771563
0.020673
0
0.622951
1
0.001821
0.254464
0.213859
0
0
0
0
0
1
0
false
0
0.023679
0
0.023679
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6480456942a3d47797294bda49a77fcd8def40ed
28
py
Python
tests/tattoos_controllers/test_get_all.py
Poketnans/capstone-q3
38d550a54ff41387534241df85eb8aa8c9b6ba7e
[ "MIT" ]
null
null
null
tests/tattoos_controllers/test_get_all.py
Poketnans/capstone-q3
38d550a54ff41387534241df85eb8aa8c9b6ba7e
[ "MIT" ]
4
2022-03-03T12:47:02.000Z
2022-03-08T18:10:34.000Z
tests/tattoos_controllers/test_get_all.py
Poketnans/capstone-q3
38d550a54ff41387534241df85eb8aa8c9b6ba7e
[ "MIT" ]
1
2022-03-17T14:21:30.000Z
2022-03-17T14:21:30.000Z
def test_get_all(): ...
9.333333
19
0.535714
4
28
3.25
1
0
0
0
0
0
0
0
0
0
0
0
0.25
28
2
20
14
0.619048
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0
1
1
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
1
1
0
0
0
0
0
0
5
64808ef89b84bb0c8f0cd239793909c476cae64b
1,162
py
Python
function_zoo.py
RamiroFuentes/Procesos-de-separacion-II
d68873f8ee3e9eb081f1040f9510335746b1a0b4
[ "MIT" ]
null
null
null
function_zoo.py
RamiroFuentes/Procesos-de-separacion-II
d68873f8ee3e9eb081f1040f9510335746b1a0b4
[ "MIT" ]
null
null
null
function_zoo.py
RamiroFuentes/Procesos-de-separacion-II
d68873f8ee3e9eb081f1040f9510335746b1a0b4
[ "MIT" ]
null
null
null
# Librerias import numpy as np from numpy import poly1d,polyfit import matplotlib.pyplot as plt from sympy import Symbol import pandas as pd # Para imprimir en formato LaTex from sympy.interactive import printing printing.init_printing(use_latex=True) def Rachford_Rice_4(z,k,Li,Ls,p): psi = np.arange(Li,Ls+p,...
24.208333
168
0.557659
252
1,162
2.337302
0.238095
0.020374
0.025467
0.027165
0.120543
0.101868
0.039049
0.027165
0
0
0
0.067285
0.258176
1,162
48
169
24.208333
0.616009
0.035284
0
0.162162
0
0
0
0
0
0
0
0
0
1
0.135135
false
0
0.162162
0
0.432432
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6480abc07da7997c5213c7de64b16b108725ed90
840
py
Python
Python/lc_523_continuous_subarray_sum.py
cmattey/leetcode_problems
fe57e668db23f7c480835c0a10f363d718fbaefd
[ "MIT" ]
6
2019-07-01T22:03:25.000Z
2020-04-06T15:17:46.000Z
Python/lc_523_continuous_subarray_sum.py
cmattey/leetcode_problems
fe57e668db23f7c480835c0a10f363d718fbaefd
[ "MIT" ]
null
null
null
Python/lc_523_continuous_subarray_sum.py
cmattey/leetcode_problems
fe57e668db23f7c480835c0a10f363d718fbaefd
[ "MIT" ]
1
2020-04-01T22:31:41.000Z
2020-04-01T22:31:41.000Z
# Time: O(n) # Space: O(n) , min(n,k) since only storing num%k element in map. class Solution: def checkSubarraySum(self, nums: List[int], k: int) -> bool: """ Lots of edge cases to take care of with 0. if a%k == b%k, then b-a%k==0 eg: if a%k==3, b%k==3, then (a+3)%k==0, (b+3)%k==0,...
30
122
0.492857
137
840
2.963504
0.437956
0.118227
0.022167
0.029557
0.036946
0
0
0
0
0
0
0.032075
0.369048
840
27
123
31.111111
0.733962
0.39881
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
648156a0f59f1f2c08d7464a8925a30d4b6a2f12
1,180
py
Python
api/routers/gifs.py
janaSunrise/AIO-API-discord-bots
e280959f7023bb9d745c843e823b980ccf627438
[ "Apache-2.0" ]
2
2021-02-13T08:08:23.000Z
2021-05-09T13:10:54.000Z
api/routers/gifs.py
janaSunrise/AIO-API-discord-bots
e280959f7023bb9d745c843e823b980ccf627438
[ "Apache-2.0" ]
null
null
null
api/routers/gifs.py
janaSunrise/AIO-API-discord-bots
e280959f7023bb9d745c843e823b980ccf627438
[ "Apache-2.0" ]
1
2021-04-17T19:44:52.000Z
2021-04-17T19:44:52.000Z
from fastapi import APIRouter, Request from api.core import log_error router = APIRouter( prefix="/gifs", tags=["GIF generation endpoints"], responses={ 404: {"description": "Not found"}, }, ) # -- Router paths -- @router.get("/wink") @log_error() async def wink(request: Request) -> dict: ...
24.081633
88
0.64322
164
1,180
4.54878
0.292683
0.120643
0.052279
0.064343
0.66756
0.66756
0.55496
0.55496
0.55496
0.55496
0
0.003132
0.188136
1,180
48
89
24.583333
0.775574
0.015254
0
0.4
0
0
0.178108
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6483fef3d85844e7f3c1dc2eb3bf6958fc1d4faa
565
py
Python
feature_extract_pc/demo.py
zzc-1998/NR-3DQA
4773b598a92f707892fabafd7061b758dfb37508
[ "MIT" ]
5
2021-08-04T08:24:28.000Z
2022-02-16T15:30:18.000Z
feature_extract_pc/demo.py
zzc-1998/NR-QA-for-point-cloud
4773b598a92f707892fabafd7061b758dfb37508
[ "MIT" ]
null
null
null
feature_extract_pc/demo.py
zzc-1998/NR-QA-for-point-cloud
4773b598a92f707892fabafd7061b758dfb37508
[ "MIT" ]
null
null
null
from feature_extract import get_feature_vector import time #demo objpath = "models/hhi_5.ply" start = time.time() features = get_feature_vector(objpath) end = time.time() time_cost = end-start #show the features cnt = 0 for feature_domain in ['l','a','b','curvature','anisotropy','linearity','planarity','sphericity']...
29.736842
106
0.661947
77
565
4.714286
0.623377
0.066116
0.088154
0
0
0
0
0
0
0
0
0.022727
0.143363
565
18
107
31.388889
0.727273
0.037168
0
0
0
0
0.245387
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64850fc8936473f12079768631779f5e9426371c
784
py
Python
docs/pyxamples/glyphs.py
JuliaPackageMirrors/Bokeh.jl
47ec974a2759f81069e5143d74c22876e60f8ec2
[ "MIT", "BSD-3-Clause" ]
31
2015-02-23T03:21:48.000Z
2017-05-13T13:10:22.000Z
docs/pyxamples/glyphs.py
JuliaPackageMirrors/Bokeh.jl
47ec974a2759f81069e5143d74c22876e60f8ec2
[ "MIT", "BSD-3-Clause" ]
35
2015-01-03T16:38:01.000Z
2017-05-19T19:55:14.000Z
docs/pyxamples/glyphs.py
JuliaPackageMirrors/Bokeh.jl
47ec974a2759f81069e5143d74c22876e60f8ec2
[ "MIT", "BSD-3-Clause" ]
13
2015-01-06T12:38:32.000Z
2017-05-16T05:54:38.000Z
import numpy as np from bokeh.plotting import * N = 100 x = np.linspace(0, 4*np.pi, N) y = np.sin(x) output_file("glyphs.html", title="glyphs.py example") TOOLS = "pan,wheel_zoom,box_zoom,reset,save,box_select" p2 = figure(title="Another Legend Example", tools=TOOLS) p2.circle(x, y, legend="sin(x)") p2.line(x, y...
23.757576
56
0.690051
142
784
3.71831
0.415493
0.045455
0.039773
0.041667
0.225379
0.225379
0.225379
0.225379
0.155303
0.155303
0
0.033333
0.119898
784
33
57
23.757576
0.731884
0
0
0.086957
0
0
0.202548
0.057325
0
0
0
0
0
1
0
false
0
0.173913
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64855ec485719a4209443f6e47f00e7cc576af85
2,103
py
Python
unit_tests/test_main.py
cloverleaf/npm
4845bc7e483291f2a2a847c242613bae2c6a11d2
[ "MIT" ]
null
null
null
unit_tests/test_main.py
cloverleaf/npm
4845bc7e483291f2a2a847c242613bae2c6a11d2
[ "MIT" ]
4
2021-01-29T11:17:53.000Z
2021-09-04T16:01:28.000Z
unit_tests/test_main.py
cloverleaf/npm
4845bc7e483291f2a2a847c242613bae2c6a11d2
[ "MIT" ]
1
2021-11-23T09:59:36.000Z
2021-11-23T09:59:36.000Z
import pytest import json import subprocess defaultMinLength = 4 defaultMaxLength = 512 sites = {} with open("../data/sites.json", 'r') as json_file: sites = json.load(json_file) def test_lengths(): for length in range(defaultMinLength, defaultMaxLength): batcmd = "node -e \"consol...
31.38806
136
0.555873
225
2,103
5.128889
0.32
0.055459
0.034662
0.028596
0.214038
0.175043
0.175043
0.175043
0.105719
0.105719
0
0.006689
0.289111
2,103
66
137
31.863636
0.765217
0.018069
0
0.1
0
0
0.127191
0
0
0
0
0
0.075
1
0.075
false
0.05
0.075
0
0.15
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6486381637823d2233cc5e2e755dff8914311f6f
5,841
py
Python
third-party/rlimit/scripts/codegen.py
capyloon/api-daemon
ab4e4b60aa9bb617734c64655c0b8940fff098bc
[ "Apache-2.0" ]
4
2022-02-08T05:32:15.000Z
2022-03-29T22:35:33.000Z
third-party/rlimit/scripts/codegen.py
capyloon/api-daemon
ab4e4b60aa9bb617734c64655c0b8940fff098bc
[ "Apache-2.0" ]
null
null
null
third-party/rlimit/scripts/codegen.py
capyloon/api-daemon
ab4e4b60aa9bb617734c64655c0b8940fff098bc
[ "Apache-2.0" ]
1
2022-03-20T11:14:51.000Z
2022-03-20T11:14:51.000Z
from typing import Optional, Dict, List import json import os import re from pprint import pprint LIBC_REPO_PATH = os.getenv("LIBC_REPO_PATH", "libc") PREDICATES = { "fuchsia/mod.rs": {"os": ["fuchsia"]}, "unix/bsd/apple/mod.rs": {"os": ["macos", "ios"]}, "unix/bsd/freebsdlike/dragonfly/mod.rs": {"os": ["...
34.56213
104
0.541174
723
5,841
4.250346
0.250346
0.043931
0.056948
0.04686
0.235926
0.117475
0.07029
0.058575
0.022128
0.022128
0
0.012999
0.23609
5,841
168
105
34.767857
0.675706
0.002054
0
0.115646
0
0
0.398661
0.140724
0
0
0
0
0.013605
1
0.027211
false
0
0.034014
0
0.095238
0.204082
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64866e488fcf4d0cd9c082174609e3027b9764d4
686
py
Python
pyaviso/custom_exceptions.py
mpejcoch/aviso
250b5646220fae85725278b3ca80fed4e15a103a
[ "Apache-2.0" ]
6
2021-02-03T17:55:05.000Z
2022-02-20T08:05:42.000Z
pyaviso/custom_exceptions.py
mpejcoch/aviso
250b5646220fae85725278b3ca80fed4e15a103a
[ "Apache-2.0" ]
1
2021-04-26T14:42:39.000Z
2021-04-26T14:42:39.000Z
pyaviso/custom_exceptions.py
mpejcoch/aviso
250b5646220fae85725278b3ca80fed4e15a103a
[ "Apache-2.0" ]
2
2021-02-09T15:07:41.000Z
2021-08-13T09:55:30.000Z
# (C) Copyright 1996- ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # In applying this licence, ECMWF does not waive the privileges and immunities # granted to it by virtue of its status as an intergovernment...
21.4375
78
0.771137
86
686
6.151163
0.686047
0.122873
0.136106
0
0
0
0
0
0
0
0
0.014011
0.167638
686
31
79
22.129032
0.912434
0.529155
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
1
0
0
0
0
0
2
648750adbc05c90a3008835050a97537f6588346
45
py
Python
packages/pyright-internal/src/tests/samples/package1/psyche/pysche.py
lipovsek/pytea
c536515a5e5947fac8871784323ba7eddc58956d
[ "MIT" ]
null
null
null
packages/pyright-internal/src/tests/samples/package1/psyche/pysche.py
lipovsek/pytea
c536515a5e5947fac8871784323ba7eddc58956d
[ "MIT" ]
null
null
null
packages/pyright-internal/src/tests/samples/package1/psyche/pysche.py
lipovsek/pytea
c536515a5e5947fac8871784323ba7eddc58956d
[ "MIT" ]
null
null
null
def psyche1() -> str: return "3"
11.25
22
0.444444
5
45
4
1
0
0
0
0
0
0
0
0
0
0
0.074074
0.4
45
4
23
11.25
0.666667
0
0
0
0
0
0.02381
0
0
0
0
0
0
1
0.5
true
0
0
0.5
1
0
1
1
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
1
1
0
0
1
0
0
0
6
64879ceed73b3f3ed843d40690f61395ac4530f2
13,389
py
Python
deepatari/tools/statistics.py
cowhi/deepatari
3b676ca4fc66266d766cd2366226f3e10213bc78
[ "MIT" ]
10
2016-06-10T01:13:44.000Z
2017-10-15T10:47:09.000Z
deepatari/tools/statistics.py
cowhi/deepatari
3b676ca4fc66266d766cd2366226f3e10213bc78
[ "MIT" ]
null
null
null
deepatari/tools/statistics.py
cowhi/deepatari
3b676ca4fc66266d766cd2366226f3e10213bc78
[ "MIT" ]
2
2016-06-10T14:38:08.000Z
2020-08-29T03:11:06.000Z
import logging _logger = logging.getLogger(__name__) import sys import os import csv import time import numpy as np class Statistics(object): """ This class handles all statistics of an experiment. The class keeps the statistics running and saves certain paramaters at the end of an epoch to files. It's a...
44.481728
276
0.56778
1,622
13,389
4.448829
0.146732
0.031596
0.036031
0.031181
0.54296
0.440549
0.41311
0.388997
0.336752
0.326774
0
0.003377
0.314288
13,389
300
277
44.63
0.782594
0.219359
0
0.492147
0
0.005236
0.197568
0.00224
0
0
0
0.003333
0
1
0.036649
false
0
0.031414
0
0.094241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6488b1c28baaff292669122a86d2163e41ff8cf6
1,284
py
Python
cmskit/products/views.py
ozgurgunes/django-cmskit
19d14fbb57702a6c56b6b3a5d859c93533ff1535
[ "MIT" ]
1
2015-09-28T10:10:34.000Z
2015-09-28T10:10:34.000Z
cmskit/products/views.py
ozgurgunes/django-cmskit
19d14fbb57702a6c56b6b3a5d859c93533ff1535
[ "MIT" ]
null
null
null
cmskit/products/views.py
ozgurgunes/django-cmskit
19d14fbb57702a6c56b6b3a5d859c93533ff1535
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.utils.translation import get_language from django.shortcuts import get_object_or_404, render_to_response from django.template import RequestContext from django.http import Http404 from cmskit.products.models import Category, Product def index(request): categories = Category.obje...
41.419355
80
0.662773
139
1,284
5.913669
0.402878
0.048662
0.077859
0.080292
0.160584
0
0
0
0
0
0
0.012795
0.208723
1,284
31
81
41.419355
0.79626
0.016355
0
0.125
0
0
0.142631
0.05309
0
0
0
0
0
1
0.083333
false
0.041667
0.208333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
648919faa81c812b312bc58cbd08e8cc789afe5f
307
py
Python
main.py
baifengbai/xlart
d4568dcc3c221b25a9227af1ae022c4f0a5b3476
[ "MIT" ]
1
2022-03-12T02:40:51.000Z
2022-03-12T02:40:51.000Z
main.py
baifengbai/xlart
d4568dcc3c221b25a9227af1ae022c4f0a5b3476
[ "MIT" ]
null
null
null
main.py
baifengbai/xlart
d4568dcc3c221b25a9227af1ae022c4f0a5b3476
[ "MIT" ]
null
null
null
from time import time import xlart if __name__ == '__main__': start = time() xlart.resize_image('picture.jpg', 'picture_resized.jpg', 200, 200) xlart.image_to_xlsx('picture_resized.jpg', 'demo.xlsx') end = time() print('An xlart file has been generated in ' + str(end - start) + 's.')
27.909091
75
0.664495
44
307
4.340909
0.613636
0.104712
0.17801
0
0
0
0
0
0
0
0
0.024096
0.188925
307
10
76
30.7
0.742972
0
0
0
0
0
0.338762
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6489d5635a822fcdc10fe744a26044fe5cedea48
528
py
Python
tests/units/Vault/test_withdraw_all.py
benber86/alcom_contracts
57136d97d0d30088679e358a2fc3345e82ccb0f7
[ "MIT" ]
2
2021-07-14T16:26:14.000Z
2021-08-01T22:24:51.000Z
tests/units/Vault/test_withdraw_all.py
benber86/alcom_contracts
57136d97d0d30088679e358a2fc3345e82ccb0f7
[ "MIT" ]
null
null
null
tests/units/Vault/test_withdraw_all.py
benber86/alcom_contracts
57136d97d0d30088679e358a2fc3345e82ccb0f7
[ "MIT" ]
null
null
null
import brownie AMOUNT = 10 ** 18 def test_single_withdraw_all(alice, vault, alcx, ss_compounder): prior_pool_balance = ss_compounder.stakeBalance() prior_alcx_balance = alcx.balanceOf(alice) alcx.approve(vault, AMOUNT, {'from': alice}) vault.deposit(AMOUNT, {'from': alice}) vault.withdrawAll({'...
27.789474
64
0.717803
65
528
5.615385
0.415385
0.082192
0.087671
0.158904
0
0
0
0
0
0
0
0.013544
0.160985
528
18
65
29.333333
0.810384
0
0
0
0
0
0.022727
0
0
0
0
0
0.333333
1
0.083333
false
0
0.083333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
648a4501d473d939e72e3971c0c63e4c5c253da2
34
py
Python
sigcom/__main__.py
dcic/signature-commons-controller
b69c4063235d927da27891e8a30d2822c6768a66
[ "Apache-2.0" ]
null
null
null
sigcom/__main__.py
dcic/signature-commons-controller
b69c4063235d927da27891e8a30d2822c6768a66
[ "Apache-2.0" ]
2
2020-06-09T14:52:34.000Z
2020-11-06T18:02:49.000Z
sigcom/__main__.py
dcic/signature-commons-controller
b69c4063235d927da27891e8a30d2822c6768a66
[ "Apache-2.0" ]
null
null
null
from sigcom.cli import main main()
17
27
0.794118
6
34
4.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.117647
34
2
28
17
0.9
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
648aec550e075b1bc9c41b89b9001500027781fb
221
py
Python
mentorship_api/views.py
brickfaced/mentorship-app
b2fd44f2689bd0e613f2f4836c81aa1de9ecf0b3
[ "MIT" ]
null
null
null
mentorship_api/views.py
brickfaced/mentorship-app
b2fd44f2689bd0e613f2f4836c81aa1de9ecf0b3
[ "MIT" ]
null
null
null
mentorship_api/views.py
brickfaced/mentorship-app
b2fd44f2689bd0e613f2f4836c81aa1de9ecf0b3
[ "MIT" ]
null
null
null
from rest_framework.decorators import api_view from rest_framework.response import Response @api_view() def hello_world(request): """Get for the hello world test.""" return Response({'message': 'Hello World!'})
24.555556
48
0.746606
30
221
5.333333
0.6
0.1875
0.2125
0
0
0
0
0
0
0
0
0
0.140271
221
8
49
27.625
0.842105
0.131222
0
0
0
0
0.102151
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
648b823acfa1c931f329b120da5595b30d0999f3
685
py
Python
tests/test_constituency_parsing.py
jayten42/pororo
0b02e6a633b9a32ec4241b8ed96745e6592db317
[ "Apache-2.0" ]
1,137
2021-02-02T02:09:06.000Z
2022-03-29T03:10:40.000Z
tests/test_constituency_parsing.py
jayten42/pororo
0b02e6a633b9a32ec4241b8ed96745e6592db317
[ "Apache-2.0" ]
57
2021-02-02T03:29:54.000Z
2022-03-31T16:20:00.000Z
tests/test_constituency_parsing.py
jayten42/pororo
0b02e6a633b9a32ec4241b8ed96745e6592db317
[ "Apache-2.0" ]
216
2021-02-02T02:49:02.000Z
2022-03-28T01:19:58.000Z
"""Test Constituency Parsing module""" import unittest from pororo import Pororo class PororoConstParsingTester(unittest.TestCase): def test_modules(self): const = Pororo(task="const", lang="ko") const_res = const( "지금까지 최원호 한화 이글스 감독대행, 이동욱 NC 다이노스 감독, 이강철 KT 감독에 이어 4번째 선물이었다.") ...
25.37037
77
0.640876
85
685
4.988235
0.541176
0.113208
0.106132
0.141509
0.389151
0.259434
0.259434
0.259434
0.259434
0.259434
0
0.001923
0.240876
685
26
78
26.346154
0.813462
0.046715
0
0.1875
0
0
0.174652
0
0
0
0
0
0.1875
1
0.0625
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
648bc0fbcc9b572dd1e815e182903fd435d432c6
6,120
py
Python
goat_scraper.py
Joseph1337/Snkr-Findr-API
7caf2eef5beb487d1a5446dafec796c37c7e6be4
[ "MIT" ]
4
2021-03-03T17:14:25.000Z
2022-01-22T14:52:49.000Z
goat_scraper.py
Joseph1337/Snkr-Trakr-API
7caf2eef5beb487d1a5446dafec796c37c7e6be4
[ "MIT" ]
null
null
null
goat_scraper.py
Joseph1337/Snkr-Trakr-API
7caf2eef5beb487d1a5446dafec796c37c7e6be4
[ "MIT" ]
null
null
null
import json import requests import pprint from time import sleep import random #extracts all user-agents from the provided 'ua_file.txt' into a list then randomly selects a user-agent def getUserAgent(): randomUserAgent = "" listOfUserAgents = [] userAgentFile = 'ua_file.txt' with open('ua_file.txt') ...
39.483871
244
0.584967
648
6,120
5.399691
0.371914
0.022006
0.009145
0.008574
0.135467
0.110889
0.110889
0.110889
0.110889
0.092026
0
0.022212
0.286438
6,120
154
245
39.74026
0.779025
0.103595
0
0.201613
0
0.008065
0.254662
0.029616
0
0
0
0
0
1
0.040323
false
0
0.040323
0
0.129032
0.016129
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
648cfa630e52c9714c4474f00133814086416c14
585
py
Python
src/ChapterTwo/insertionSort.py
Ivehui/Algorithms
3f5e183100f84f59cf62fe35422128490b7be0cb
[ "MIT" ]
null
null
null
src/ChapterTwo/insertionSort.py
Ivehui/Algorithms
3f5e183100f84f59cf62fe35422128490b7be0cb
[ "MIT" ]
null
null
null
src/ChapterTwo/insertionSort.py
Ivehui/Algorithms
3f5e183100f84f59cf62fe35422128490b7be0cb
[ "MIT" ]
null
null
null
import numpy as np class InsertionSort(object): def insertionSort(self, array): """ :type array: before sort :rtype: array: after sort """ l = len(array) for i in range(1, l): key = array[i] j = i - 1 while j >= 0 and array[j] > ke...
24.375
44
0.495726
70
585
4.028571
0.514286
0.085106
0.049645
0.056738
0
0
0
0
0
0
0
0.022535
0.393162
585
24
45
24.375
0.771831
0
0
0
0
0
0.015905
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
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
1
0
0
0
0
0
0
0
0
1
648e62a712e9527d4e41e9d0aa25cde0e47d754b
4,674
py
Python
src/morsecoder.py
PyMorseCoder/MorseCoder
3266f2ec7c0563affd0c6d7a71a621245fb890e4
[ "Apache-2.0" ]
7
2021-06-20T22:57:36.000Z
2021-07-05T21:43:24.000Z
src/morsecoder.py
HestStudio/MorseCoder
3266f2ec7c0563affd0c6d7a71a621245fb890e4
[ "Apache-2.0" ]
null
null
null
src/morsecoder.py
HestStudio/MorseCoder
3266f2ec7c0563affd0c6d7a71a621245fb890e4
[ "Apache-2.0" ]
2
2021-07-30T04:28:14.000Z
2022-01-02T07:45:30.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Update time: 2021/6/19 class MorsecodeError(Exception): ''' 自定义异常, 更明了的异常信息 ''' def __init__(self, value): self.value = value def __str__(self): return repr(self.value) class Morsecoder: ''' 基于Python3.6+的摩斯密码库, 支持编码...
22.257143
78
0.384467
370
4,674
4.540541
0.413514
0.071429
0.02619
0.017857
0.107143
0.075
0
0
0
0
0
0.01124
0.409927
4,674
210
79
22.257143
0.597897
0.081729
0
0.141667
0
0
0.12698
0.043249
0
0
0
0
0
1
0.083333
false
0
0
0.016667
0.183333
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
648f3c72677968d9346724e918ca2c01342d3bfb
6,629
py
Python
third_party/chromite/scripts/sysmon/puppet_metrics_unittest.py
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/chromite/scripts/sysmon/puppet_metrics_unittest.py
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/chromite/scripts/sysmon/puppet_metrics_unittest.py
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
# -*- coding: utf-8 -*- # Copyright 2017 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Unit tests for puppet_metrics.""" # pylint: disable=protected-access from __future__ import absolute_import from __future__ i...
33.821429
77
0.607633
774
6,629
5.050388
0.224806
0.057304
0.100281
0.114607
0.568688
0.553083
0.53671
0.521361
0.39166
0.310565
0
0.116757
0.251923
6,629
195
78
33.994872
0.671506
0.045256
0
0.10241
0
0
0.25107
0.017277
0
0
0
0
0.048193
1
0.048193
false
0
0.042169
0
0.10241
0.006024
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6490cc9b76431e255aeab4722b02c97b8014ad01
5,628
py
Python
src/flocker/blueprints/mvg-frame/__init__.py
Muxelmann/home-projects
85bd06873174b9c5c6276160988c19b460370db8
[ "MIT" ]
null
null
null
src/flocker/blueprints/mvg-frame/__init__.py
Muxelmann/home-projects
85bd06873174b9c5c6276160988c19b460370db8
[ "MIT" ]
null
null
null
src/flocker/blueprints/mvg-frame/__init__.py
Muxelmann/home-projects
85bd06873174b9c5c6276160988c19b460370db8
[ "MIT" ]
null
null
null
import os import time from flask import Blueprint, render_template, redirect, url_for, request, current_app from . import mvg from . import displays from PIL import Image, ImageFont, ImageDraw def create_bp(app): bp_mvg = Blueprint('mvg-frame', __name__, url_prefix='/mvg-frame') displays.init(app) @bp_m...
39.083333
122
0.555792
781
5,628
3.850192
0.254802
0.053874
0.019953
0.013967
0.203193
0.163951
0.14433
0.14433
0.091786
0.091786
0
0.022675
0.302594
5,628
144
123
39.083333
0.743439
0.120469
0
0.09
0
0
0.099291
0.023506
0
0
0
0
0
1
0.06
false
0
0.06
0.02
0.21
0.02
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
649106bcf86144f6cc9ff5c528dd98e420f849a0
4,770
py
Python
friendly/runtime_errors/value_error.py
MrGreenTea/friendly
091f6af1d3c2be8fee078e52db6e16074d5518e5
[ "MIT" ]
null
null
null
friendly/runtime_errors/value_error.py
MrGreenTea/friendly
091f6af1d3c2be8fee078e52db6e16074d5518e5
[ "MIT" ]
null
null
null
friendly/runtime_errors/value_error.py
MrGreenTea/friendly
091f6af1d3c2be8fee078e52db6e16074d5518e5
[ "MIT" ]
null
null
null
"""value_error.py Collection of functions useful in parsing ValueError messages and providing a more detailed explanation. """ import re from ..my_gettext import current_lang, no_information, internal_error from .. import info_variables from .. import debug_helper from .. import utils convert_type = info_variables....
31.176471
87
0.639832
641
4,770
4.588144
0.24805
0.047603
0.048963
0.040802
0.478069
0.442367
0.427406
0.409045
0.409045
0.381163
0
0.004462
0.248218
4,770
152
88
31.381579
0.815672
0.098323
0
0.418182
0
0
0.21791
0
0
0
0
0
0
1
0.072727
false
0
0.045455
0.009091
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64925ae9eca3932ebf1ffc775b41ccb44e8ec05b
874
py
Python
tests/api_test.py
pierscin/battleships
1014c6c87769c687838f43644d534d5f034e53bc
[ "MIT" ]
null
null
null
tests/api_test.py
pierscin/battleships
1014c6c87769c687838f43644d534d5f034e53bc
[ "MIT" ]
null
null
null
tests/api_test.py
pierscin/battleships
1014c6c87769c687838f43644d534d5f034e53bc
[ "MIT" ]
null
null
null
import jwt from flask import json def test_token_with_game_data_is_generated_after_posting_valid_data(app, test_client, session): grid = ('CCCCC.....' + 'BBBB......' + 'RRR.......' + 'SSS.......' + 'DD........' + '..........' + '..........' + '..........' ...
28.193548
95
0.509153
90
874
4.644444
0.577778
0.07177
0.066986
0
0
0
0
0
0
0
0
0.009494
0.276888
874
30
96
29.133333
0.651899
0
0
0.181818
1
0
0.197022
0
0
0
0
0
0.136364
1
0.045455
false
0
0.090909
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6492a201029a7d225176b66fd3ca085b9340bf5b
5,951
py
Python
bctree/bctree.py
lad/bctree
7f99917fab9071af8ad870ba39304bd804e78e12
[ "Apache-2.0" ]
1
2016-02-16T20:07:34.000Z
2016-02-16T20:07:34.000Z
bctree/bctree.py
lad/bctree
7f99917fab9071af8ad870ba39304bd804e78e12
[ "Apache-2.0" ]
null
null
null
bctree/bctree.py
lad/bctree
7f99917fab9071af8ad870ba39304bd804e78e12
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """BeatCleaver Unsorted Tree Implementation.""" from collections import deque # pylint: disable-msg=W0212 # pylint can't figure out that we're accessing a protected member of our own # class. class BcTree(object): """Unsorted Native Python Tree.""" DFS = 0 BFS = 1 def __init_...
33.621469
77
0.584104
762
5,951
4.450131
0.181102
0.031849
0.023002
0.024771
0.323503
0.258036
0.210852
0.179298
0.158065
0.158065
0
0.002728
0.322467
5,951
176
78
33.8125
0.838294
0.232062
0
0.345455
0
0
0.063481
0
0
0
0
0
0
1
0.154545
false
0
0.009091
0
0.354545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6493ad91016eb24320a1dda1bde3e1ebc624f532
324
py
Python
pypheus/__init__.py
xod442/pypheus
11988d7c0efe2772bca80c2d40a71cc8ba707153
[ "Apache-2.0" ]
null
null
null
pypheus/__init__.py
xod442/pypheus
11988d7c0efe2772bca80c2d40a71cc8ba707153
[ "Apache-2.0" ]
null
null
null
pypheus/__init__.py
xod442/pypheus
11988d7c0efe2772bca80c2d40a71cc8ba707153
[ "Apache-2.0" ]
null
null
null
""" Information ================== pypheus is a Python binding for Morpheus a prominent Cloud Management Platform. This application will abstract the the Morpheus API and allow users to make simple python requests. wookieware 2022 version 0.1.0 - init release """ from pypheus import (auth, network, storage, monitori...
24.923077
99
0.743827
44
324
5.477273
0.863636
0
0
0
0
0
0
0
0
0
0
0.025455
0.151235
324
12
100
27
0.850909
0.796296
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
1
0
0
3
64949fc4b1f9f8284a4942246dab5340df67e65c
773
py
Python
src/main.py
juhovan/stuk-dose-rate-exporter
7eec62cc3c9dad48a0a2868dcb55e9a9b4bd569e
[ "MIT" ]
null
null
null
src/main.py
juhovan/stuk-dose-rate-exporter
7eec62cc3c9dad48a0a2868dcb55e9a9b4bd569e
[ "MIT" ]
1
2022-03-08T20:52:02.000Z
2022-03-08T20:52:02.000Z
src/main.py
juhovan/stuk-dose-rate-exporter
7eec62cc3c9dad48a0a2868dcb55e9a9b4bd569e
[ "MIT" ]
null
null
null
#!/bin/python import datetime from http.server import HTTPServer, BaseHTTPRequestHandler import dose_rates class SimpleHTTPRequestHandler(BaseHTTPRequestHandler): def do_GET(self): if self.path == '/metrics': results = dose_rates.get_data() body = '\n'.join(results) s...
26.655172
75
0.609314
87
773
5.298851
0.597701
0.017354
0.069414
0.078091
0.164859
0.164859
0.164859
0.164859
0
0
0
0.0373
0.271669
773
28
76
27.607143
0.781528
0.015524
0
0.2
0
0
0.107895
0
0
0
0
0
0
1
0.05
false
0
0.15
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64964ba79d274a79f8d5db3be6c5c4e25679a0db
824
py
Python
trpg/views/auth.py
jffifa/trpg
d808e5ce208a164154d93b177cb0c013a0d5f742
[ "MIT" ]
2
2018-08-01T16:02:10.000Z
2018-08-11T05:08:14.000Z
trpg/views/auth.py
jffifa/trpg
d808e5ce208a164154d93b177cb0c013a0d5f742
[ "MIT" ]
5
2018-08-01T12:59:03.000Z
2018-08-10T19:32:20.000Z
trpg/views/auth.py
jffifa/trpg
d808e5ce208a164154d93b177cb0c013a0d5f742
[ "MIT" ]
null
null
null
from .base import JSONView from django.contrib.auth import authenticate, login, logout from django.urls import reverse from ..registration.utility import decrypt as password_decrypt class LoginView(JSONView): def get_context_data(self, **kwargs): username = self.request.POST['username'] password ...
28.413793
79
0.639563
90
824
5.788889
0.455556
0.105566
0.053743
0.080614
0.134357
0.134357
0.134357
0
0
0
0
0
0.257282
824
28
80
29.428571
0.851307
0
0
0.090909
0
0
0.048544
0
0
0
0
0
0
1
0.090909
false
0.181818
0.181818
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
6496e828b7afe578a9d14aa5a0c97a8185b15a63
7,487
py
Python
service/api.py
psorianom/csv_detective_api
7c96f497374d842226a95a26cb6627ac22cd799b
[ "MIT" ]
2
2020-02-04T05:24:56.000Z
2021-05-05T17:22:55.000Z
service/api.py
psorianom/csv_detective_api
7c96f497374d842226a95a26cb6627ac22cd799b
[ "MIT" ]
10
2019-10-24T13:29:59.000Z
2022-02-26T17:06:15.000Z
service/api.py
psorianom/csv_detective_api
7c96f497374d842226a95a26cb6627ac22cd799b
[ "MIT" ]
2
2019-12-30T23:26:53.000Z
2020-03-27T17:23:28.000Z
#!flask/bin/python import os import sys from collections import defaultdict sys.path.append("./csv_detective_ml") # horrible hack to load my features class to load my ML pipeline :/ from flask import Flask from flask import request from flask import jsonify from flask_restplus import Api, Resource, fields from flask_...
33.573991
112
0.625351
908
7,487
4.932819
0.21696
0.034383
0.04376
0.016968
0.322617
0.268587
0.236213
0.228176
0.228176
0.207189
0
0.008684
0.277147
7,487
222
113
33.725225
0.818921
0.042073
0
0.323353
0
0
0.1448
0.012195
0
0
0
0
0
1
0.05988
false
0
0.08982
0.005988
0.275449
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6497557f12dce30fe9d34eda6e562520909cd934
624
py
Python
Python-code-snippets-001-100/080-crop image and save.py
abartoha/python-snippets-ref
04e4feada96077f0e849b277204c012194e8fbcd
[ "Unlicense" ]
null
null
null
Python-code-snippets-001-100/080-crop image and save.py
abartoha/python-snippets-ref
04e4feada96077f0e849b277204c012194e8fbcd
[ "Unlicense" ]
null
null
null
Python-code-snippets-001-100/080-crop image and save.py
abartoha/python-snippets-ref
04e4feada96077f0e849b277204c012194e8fbcd
[ "Unlicense" ]
null
null
null
''' 80-Crop Image Source: vars sources and shambleized pip install opencv-python ''' import cv2 # Load image to crop. img = cv2.imread('weird.jpg', cv2.IMREAD_UNCHANGED) # Set crop dimensions # We first supply the startY and endY coordinates, #followed by the startX and endX coordinates to the slice. #top-line-230 ...
20.8
61
0.740385
96
624
4.802083
0.625
0.02603
0
0
0
0
0
0
0
0
0
0.065421
0.142628
624
29
62
21.517241
0.796262
0.572115
0
0
0
0
0.163347
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
649796fc6892373cd358b9ae0ff0471d9dffe9cf
1,474
py
Python
own/recursive_lomuto_quick_select_k_set_coderpad.py
MrCsabaToth/IK
713f91c28af7b4a964ba854ede9fec73bf0c4682
[ "Apache-2.0" ]
null
null
null
own/recursive_lomuto_quick_select_k_set_coderpad.py
MrCsabaToth/IK
713f91c28af7b4a964ba854ede9fec73bf0c4682
[ "Apache-2.0" ]
null
null
null
own/recursive_lomuto_quick_select_k_set_coderpad.py
MrCsabaToth/IK
713f91c28af7b4a964ba854ede9fec73bf0c4682
[ "Apache-2.0" ]
null
null
null
import random def quick_select_helper(a, beg, end, k): if beg >= end: return if end == beg + 1: if a[beg] > a[end]: a[beg], a[end] = a[end], a[beg] return pivot_index = random.randint(beg, end) pivot = a[pivot_index] # 1 swap pivot with beginning if pivot_i...
23.03125
90
0.57327
233
1,474
3.549356
0.300429
0.043531
0.082225
0.087062
0.095526
0
0
0
0
0
0
0.030769
0.294437
1,474
63
91
23.396825
0.764423
0.12483
0
0.068182
0
0
0.000778
0
0
0
0
0
0.022727
1
0.068182
false
0
0.045455
0
0.181818
0.113636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
6497a361fbfe4776b2db4e33d8ba9a4805544636
1,212
py
Python
app.py
Programmer-RD-AI/Simple-Blog
188343b9ed039690e2081026ec604c37d821ad57
[ "Apache-2.0" ]
null
null
null
app.py
Programmer-RD-AI/Simple-Blog
188343b9ed039690e2081026ec604c37d821ad57
[ "Apache-2.0" ]
null
null
null
app.py
Programmer-RD-AI/Simple-Blog
188343b9ed039690e2081026ec604c37d821ad57
[ "Apache-2.0" ]
null
null
null
from flask import * import pymongo from pymongo import * app = Flask(__name__) app.debug = True app.secret_key = 'test' cluster = MongoClient("mongodb://Ranuga:ranuga2008@cluster0-shard-00-00.odlbl.mongodb.net:27017,cluster0-shard-00-01.odlbl.mongodb.net:27017,cluster0-shard-00-02.odlbl.mongodb.net:27017/myFirstDatabas...
36.727273
289
0.670792
165
1,212
4.806061
0.430303
0.035309
0.056747
0.075662
0.300126
0.257251
0.257251
0
0
0
0
0.036893
0.150165
1,212
32
290
37.875
0.73301
0
0
0.066667
0
0.033333
0.353135
0.217822
0
0
0
0
0
1
0.066667
false
0
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
649a540a7b30e7793e5deda92e69dcaf44168a57
371
py
Python
app/src/subtitle/models.py
robertzm/VideoWebDemo
96e0e80b794c35ef77e92d1afce2e9bb498f0a2a
[ "Apache-2.0" ]
2
2020-12-09T23:34:58.000Z
2020-12-10T06:39:28.000Z
app/src/subtitle/models.py
robertzm/VideoWebDemo
96e0e80b794c35ef77e92d1afce2e9bb498f0a2a
[ "Apache-2.0" ]
2
2021-01-11T08:59:37.000Z
2021-01-11T09:00:06.000Z
app/src/subtitle/models.py
robertzm/VideoWebDemo
96e0e80b794c35ef77e92d1afce2e9bb498f0a2a
[ "Apache-2.0" ]
null
null
null
from app import db class SubtitlePath(db.Model): __tablename__ = "subtitle" id = db.Column(db.Integer, primary_key=True) uuid = db.Column(db.String(64), unique=True, nullable=True) lang = db.Column(db.String(32)) filepath = db.Column(db.String(128), nullable=False) def __repr__(self): ...
28.538462
63
0.67655
51
371
4.745098
0.607843
0.132231
0.165289
0.198347
0
0
0
0
0
0
0
0.022951
0.177898
371
12
64
30.916667
0.770492
0
0
0
0
0
0.070081
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
1
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
1
1
0
0
3
649bebb548c8b13728e620cc10bd445dcea417f4
263
py
Python
meme/admin.py
mkimartinez/Lyfey
8a27ef7fea92146f043c68c7ef5ee3672014c3fc
[ "MIT" ]
null
null
null
meme/admin.py
mkimartinez/Lyfey
8a27ef7fea92146f043c68c7ef5ee3672014c3fc
[ "MIT" ]
null
null
null
meme/admin.py
mkimartinez/Lyfey
8a27ef7fea92146f043c68c7ef5ee3672014c3fc
[ "MIT" ]
null
null
null
from django.contrib import admin from .import models from meme.models import Comment # Register your models here. admin.site.register(models.Mem) class CommentAdmin(admin.ModelAdmin): list_display =('user','approved') admin.site.register(Comment,CommentAdmin)
26.3
41
0.802281
35
263
6
0.571429
0.085714
0.161905
0
0
0
0
0
0
0
0
0
0.095057
263
10
41
26.3
0.882353
0.098859
0
0
0
0
0.050847
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
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
649d0ca596b6a034bd16e8ed6193bec8d572c9c4
2,033
py
Python
ProgrammingAssignments/IrisClassification/Vowpal/convertToVowpal.py
ckcortright/CSCI4830MachineLearning
5d1c6c7bfb05b54f7c000c940b1f6410054f10f0
[ "MIT" ]
null
null
null
ProgrammingAssignments/IrisClassification/Vowpal/convertToVowpal.py
ckcortright/CSCI4830MachineLearning
5d1c6c7bfb05b54f7c000c940b1f6410054f10f0
[ "MIT" ]
null
null
null
ProgrammingAssignments/IrisClassification/Vowpal/convertToVowpal.py
ckcortright/CSCI4830MachineLearning
5d1c6c7bfb05b54f7c000c940b1f6410054f10f0
[ "MIT" ]
2
2016-11-30T07:28:47.000Z
2017-01-28T05:52:45.000Z
################################################################################ # A simple script to convert the iris training data to the vowpal wabbit format. # # Author: Carl Cortright # Date: 9/10/2016 # # Copyright 2016 Carl Cortright ###############################################################################...
27.849315
80
0.567634
266
2,033
4.165414
0.304511
0.073105
0.086643
0.06769
0.097473
0.051444
0
0
0
0
0
0.019255
0.233645
2,033
72
81
28.236111
0.691913
0.1697
0
0
0
0
0.069444
0
0
0
0
0
0
1
0.046512
false
0
0.069767
0
0.116279
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
649d8bfa1c8ee1ea90e6d40d1fff1eb930a5b1f6
767
py
Python
trainstalker/sncfdata_rt/views.py
miludmann/trainstalker
7ecb6f052f459b66d42d727c9b162f47b908b98f
[ "BSD-3-Clause" ]
null
null
null
trainstalker/sncfdata_rt/views.py
miludmann/trainstalker
7ecb6f052f459b66d42d727c9b162f47b908b98f
[ "BSD-3-Clause" ]
null
null
null
trainstalker/sncfdata_rt/views.py
miludmann/trainstalker
7ecb6f052f459b66d42d727c9b162f47b908b98f
[ "BSD-3-Clause" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse from sncfdata_rt.models import Station # Create your views here. def index(request): stations_list = Station.objects.order_by('station_name')[:5] context = {'stations_list': stations_list} return render(request, 'sncfdata_rt/index.ht...
30.68
67
0.749674
100
767
5.64
0.39
0.06383
0.074468
0.111702
0.335106
0.234043
0
0
0
0
0
0.001555
0.161669
767
24
68
31.958333
0.875583
0.029987
0
0
0
0
0.234501
0.02965
0
0
0
0
0
1
0.25
false
0
0.1875
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
649fc4b512a5b9fc6782de731a26e50560bffbcf
516
py
Python
z.uncategorized/programmers87946.py
kimminki10/algorithms2
5d3b2d970dbc88169108632ce0d234bf74446316
[ "MIT" ]
null
null
null
z.uncategorized/programmers87946.py
kimminki10/algorithms2
5d3b2d970dbc88169108632ce0d234bf74446316
[ "MIT" ]
null
null
null
z.uncategorized/programmers87946.py
kimminki10/algorithms2
5d3b2d970dbc88169108632ce0d234bf74446316
[ "MIT" ]
null
null
null
""" https://programmers.co.kr/learn/courses/30/lessons/87946 피로도 """ result = 0 def gogo(k, dun, depth=0): global result if result < depth: result = depth if k < 1: return if dun == None: return for i in range(len(dun)): if k >= dun[i][0]: gogo(k - dun[i]...
19.111111
61
0.550388
80
516
3.55
0.475
0.056338
0.056338
0
0
0
0
0
0
0
0
0.075067
0.277132
516
27
62
19.111111
0.686327
0.116279
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0
0
0.263158
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64a02aaa94244083fe284a70aa2f56168c273094
10,914
py
Python
nicos/clients/gui/utils.py
ess-dmsc/nicos
755d61d403ff7123f804c45fc80c7ff4d762993b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
1
2021-03-26T10:30:45.000Z
2021-03-26T10:30:45.000Z
nicos/clients/gui/utils.py
ess-dmsc/nicos
755d61d403ff7123f804c45fc80c7ff4d762993b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
91
2020-08-18T09:20:26.000Z
2022-02-01T11:07:14.000Z
nicos/clients/gui/utils.py
ess-dmsc/nicos
755d61d403ff7123f804c45fc80c7ff4d762993b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
3
2020-08-04T18:35:05.000Z
2021-04-16T11:22:08.000Z
# -*- coding: utf-8 -*- # ***************************************************************************** # NICOS, the Networked Instrument Control System of the MLZ # Copyright (c) 2009-2021 by the NICOS contributors (see AUTHORS) # # This program is free software; you can redistribute it and/or modify it under # the t...
31.45245
87
0.616731
1,220
10,914
5.431967
0.32623
0.024295
0.01509
0.017655
0.189226
0.158292
0.101102
0.078769
0.047382
0.036517
0
0.007561
0.260766
10,914
346
88
31.543353
0.813832
0.125252
0
0.229839
0
0
0.037883
0
0
0
0
0
0
1
0.189516
false
0.012097
0.020161
0.044355
0.314516
0.008065
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64a323ffac34c092ee3ab917bb34c846d0e4e329
5,391
py
Python
python/functest/sv_perf_check_full.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
16
2021-07-14T23:32:31.000Z
2022-03-24T16:25:15.000Z
python/functest/sv_perf_check_full.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-20T20:39:47.000Z
2021-09-16T20:57:59.000Z
python/functest/sv_perf_check_full.py
spiralgenetics/biograph
33c78278ce673e885f38435384f9578bfbf9cdb8
[ "BSD-2-Clause" ]
9
2021-07-15T19:38:35.000Z
2022-01-31T19:24:56.000Z
""" sv_performance_test.py: Medium tests to ensure variant discovery hasn't changed too much """ import os import json import unittest import sys import subprocess from glob import glob from python.functest.utils.setup import ( ftest_setup, ftest_teardown, ftest_module_setup ) SEARCH_PATH = ["/scratch"] ...
35.235294
201
0.592283
678
5,391
4.528024
0.349558
0.026059
0.019544
0.018241
0.081433
0.061889
0
0
0
0
0
0.015681
0.278427
5,391
152
202
35.467105
0.773522
0.095344
0
0.060345
0
0.017241
0.301018
0.116497
0
0
0
0
0.025862
1
0.051724
false
0.051724
0.060345
0
0.146552
0.043103
0
0
0
null
0
0
0
0
0
0
0
0
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
64a35f680e8ea36296637c6eb5830f1e36cb28a7
177
py
Python
fireCatcher.py
n1cfury/ViolentPython
c758de753bd56fe8b5c5b6db6f0f1b134023bf6f
[ "MIT" ]
null
null
null
fireCatcher.py
n1cfury/ViolentPython
c758de753bd56fe8b5c5b6db6f0f1b134023bf6f
[ "MIT" ]
null
null
null
fireCatcher.py
n1cfury/ViolentPython
c758de753bd56fe8b5c5b6db6f0f1b134023bf6f
[ "MIT" ]
null
null
null
def banner(): print "### Firesheep Detector p197-200 ###" print "" def fireCatcher(pkt): def main(): banner() fireCatcher(pkt): if __name__ == '__main__': main()
11.0625
48
0.615819
20
177
5.05
0.6
0.277228
0
0
0
0
0
0
0
0
0
0.042553
0.20339
177
16
49
11.0625
0.673759
0
0
0
0
0
0.267045
0
0
0
0
0
0
0
null
null
0
0
null
null
0.222222
1
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
1
0
0
0
0
0
0
0
0
3
64a5e4b1934441d33265c0c90517da3ddd60146a
27,257
py
Python
pythonScripts/blenderMeshExport.py
dsnettleton/whipstitch-game-engine
1c91a2e90274f18723141ec57d0cb4930bd29b25
[ "MIT" ]
null
null
null
pythonScripts/blenderMeshExport.py
dsnettleton/whipstitch-game-engine
1c91a2e90274f18723141ec57d0cb4930bd29b25
[ "MIT" ]
null
null
null
pythonScripts/blenderMeshExport.py
dsnettleton/whipstitch-game-engine
1c91a2e90274f18723141ec57d0cb4930bd29b25
[ "MIT" ]
null
null
null
# Blender Mesh Export for the Whipstitch Game Engine # Copyright D. Scott Nettleton, 2013 # This software is released under the terms of the # Lesser GNU Public License (LGPL). import bpy,os from math import sqrt from mathutils import Matrix, Vector, Quaternion from copy import deepcopy workingDirectory = "./"...
39.849415
125
0.602341
3,657
27,257
4.450643
0.093793
0.064881
0.044237
0.002949
0.352421
0.253195
0.19495
0.170742
0.12374
0.086569
0
0.015099
0.244304
27,257
683
126
39.90776
0.775075
0.071064
0
0.179795
0
0.001712
0.075814
0.004159
0
0
0.000475
0
0
1
0.02911
false
0
0.006849
0
0.058219
0.001712
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64a6891558cc648a2a978e43a61510b62a12beb7
2,214
py
Python
cogs/Basic.py
yoggys/discord-bot-template
25b2e8dd830c0900323927cd9bbc0ec6baa22fec
[ "MIT" ]
2
2021-01-12T11:36:23.000Z
2021-01-13T12:29:58.000Z
cogs/Basic.py
yoggys/discord-bot-template
25b2e8dd830c0900323927cd9bbc0ec6baa22fec
[ "MIT" ]
1
2021-12-07T12:47:36.000Z
2021-12-16T14:07:00.000Z
cogs/Basic.py
yoggys/discord-bot-template
25b2e8dd830c0900323927cd9bbc0ec6baa22fec
[ "MIT" ]
null
null
null
from functions.Logger import log_info, error_handle from discord.ext import commands import sys class Basic(commands.Cog): def __init__(self, client): self.client = client #on_ready event example @commands.Cog.listener() async def on_ready(self): log_info("Basic module loaded!") ...
36.9
114
0.631436
278
2,214
4.78777
0.363309
0.036063
0.051089
0.054095
0.316304
0.316304
0.316304
0.316304
0.223892
0.223892
0
0.00489
0.261066
2,214
59
115
37.525424
0.80868
0.138663
0
0.463415
0
0
0.248418
0.133966
0
0
0
0.016949
0
1
0.04878
false
0.04878
0.073171
0
0.146341
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
64a70ed160e992e374d323deae21b2f96b2a2c39
638
py
Python
python/listnode/219.contains-duplicate-ii.py
Nobodylesszb/LeetCode
0e902f6bff4834a93ce64cf9c57fd64297e63523
[ "MIT" ]
null
null
null
python/listnode/219.contains-duplicate-ii.py
Nobodylesszb/LeetCode
0e902f6bff4834a93ce64cf9c57fd64297e63523
[ "MIT" ]
null
null
null
python/listnode/219.contains-duplicate-ii.py
Nobodylesszb/LeetCode
0e902f6bff4834a93ce64cf9c57fd64297e63523
[ "MIT" ]
null
null
null
# Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute difference between i and j is at most k. # Example 1: # Input: nums = [1,2,3,1], k = 3 # Output: true # Example 2: # Input: nums = [1,0,1,1], k = 1 # Output...
25.52
201
0.597179
109
638
3.495413
0.458716
0.070866
0.07874
0.057743
0.068241
0.068241
0
0
0
0
0
0.043956
0.286834
638
24
202
26.583333
0.793407
0.57837
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
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
0
0
0
0
1
0
64a73e1098cc1dff298ecb88f5712e1ebc04b918
23,120
py
Python
network/utils.py
lukaspie/xpsdeeplearning
0e5cf818cb0fe7bcfda707f58a1d2194301a9f24
[ "MIT" ]
1
2022-01-05T09:41:58.000Z
2022-01-05T09:41:58.000Z
network/utils.py
lukaspie/xpsdeeplearning
0e5cf818cb0fe7bcfda707f58a1d2194301a9f24
[ "MIT" ]
null
null
null
network/utils.py
lukaspie/xpsdeeplearning
0e5cf818cb0fe7bcfda707f58a1d2194301a9f24
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Jun 9 14:10:44 2020. @author: pielsticker """ import os import pickle import numpy as np import json from matplotlib import pyplot as plt import matplotlib.colors as mcolors import seaborn as sns from docx import Document from docx.enum.table import WD_TABLE_ALIGNMENT, WD_R...
31.033557
80
0.530882
2,739
23,120
4.323111
0.147864
0.030403
0.03167
0.01858
0.414745
0.343214
0.285111
0.253019
0.193058
0.154886
0
0.014253
0.356661
23,120
744
81
31.075269
0.781834
0.160856
0
0.263889
0
0
0.086225
0.003917
0
0
0
0
0
1
0.043981
false
0.00463
0.027778
0
0.097222
0.006944
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64a76d80d9db98ea61ff9254492492045784c0fa
7,743
py
Python
pyzbar/wrapper.py
spmallick/pyzbar
372003b5fc129e15bcf35d464118ea43432a56b8
[ "MIT" ]
null
null
null
pyzbar/wrapper.py
spmallick/pyzbar
372003b5fc129e15bcf35d464118ea43432a56b8
[ "MIT" ]
null
null
null
pyzbar/wrapper.py
spmallick/pyzbar
372003b5fc129e15bcf35d464118ea43432a56b8
[ "MIT" ]
2
2018-11-21T14:17:48.000Z
2020-02-26T22:21:59.000Z
"""Low-level wrapper around zbar's interface """ import platform import sys from ctypes import ( cdll, c_ubyte, c_char_p, c_int, c_uint, c_ulong, c_void_p, Structure, CFUNCTYPE, POINTER ) from ctypes.util import find_library from enum import IntEnum, unique from pathlib import Path # Types c_ubyte_p = POINTE...
28.784387
76
0.592923
915
7,743
4.791257
0.292896
0.063641
0.058394
0.043111
0.314325
0.157391
0.060675
0.040602
0
0
0
0.028953
0.304146
7,743
268
77
28.891791
0.784707
0.332042
0
0.26257
0
0
0.084948
0.030468
0
0
0.005246
0
0
1
0.01676
false
0.011173
0.039106
0
0.268156
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64a8df9ffa0c33a95bf84e16379536e77b819f43
1,281
py
Python
connector/write_rnd.py
lodrantl/pimenk
7871c872d1d93c2e2bb17d48c891696887dbf3b4
[ "Apache-2.0" ]
null
null
null
connector/write_rnd.py
lodrantl/pimenk
7871c872d1d93c2e2bb17d48c891696887dbf3b4
[ "Apache-2.0" ]
2
2016-10-12T15:43:59.000Z
2016-10-12T15:46:38.000Z
connector/write_rnd.py
lodrantl/pimenk
7871c872d1d93c2e2bb17d48c891696887dbf3b4
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import argparse import time import random from configparser import ConfigParser from influxdb import SeriesHelper, InfluxDBClient parser = argparse.ArgumentParser() parser.add_argument('config', help='path to the config file') args = parser.parse_args() config_parser = ConfigParser() config_...
23.722222
79
0.693208
163
1,281
5.257669
0.484663
0.070012
0.105018
0.067678
0
0
0
0
0
0
0
0.03128
0.176425
1,281
53
80
24.169811
0.781043
0.02498
0
0
0
0
0.165196
0.017642
0
0
0
0
0
1
0.025641
false
0.025641
0.128205
0
0.205128
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64a8e9e329731638734656b698ff0ab9bec0827e
2,084
py
Python
kyu_5/number_of_trailing_zeros_of_n/test_zeros.py
pedrocodacyorg2/codewars
ba3ea81125b6082d867f0ae34c6c9be15e153966
[ "Unlicense" ]
1
2022-02-12T05:56:04.000Z
2022-02-12T05:56:04.000Z
kyu_5/number_of_trailing_zeros_of_n/test_zeros.py
pedrocodacyorg2/codewars
ba3ea81125b6082d867f0ae34c6c9be15e153966
[ "Unlicense" ]
182
2020-04-30T00:51:36.000Z
2021-09-07T04:15:05.000Z
kyu_5/number_of_trailing_zeros_of_n/test_zeros.py
pedrocodacyorg2/codewars
ba3ea81125b6082d867f0ae34c6c9be15e153966
[ "Unlicense" ]
4
2020-04-29T22:04:20.000Z
2021-07-13T20:04:14.000Z
# Created by Egor Kostan. # GitHub: https://github.com/ikostan # LinkedIn: https://www.linkedin.com/in/egor-kostan/ # ALGORITHMS MATHEMATICS NUMBERS import unittest import allure from kyu_5.number_of_trailing_zeros_of_n.zeros import zeros from utils.log_func import print_log @allure.epic('5 kyu') @allure.parent_...
32.061538
94
0.540787
225
2,084
4.937778
0.448889
0.049505
0.054005
0.056706
0.043204
0.043204
0
0
0
0
0
0.033479
0.340691
2,084
64
95
32.5625
0.775109
0.136756
0
0
0
0
0.258046
0
0
0
0
0
0.025641
1
0.025641
false
0
0.102564
0
0.153846
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64a9349d4758e8a5e3292009a5229618d221633a
1,404
py
Python
fairness/visualise_target_distribution_datasets_joosje.py
JSGoedhart/fairness-comparison
f6fcb7f39f15bb63aeab03ef24e41d0ffe353bb8
[ "Apache-2.0" ]
null
null
null
fairness/visualise_target_distribution_datasets_joosje.py
JSGoedhart/fairness-comparison
f6fcb7f39f15bb63aeab03ef24e41d0ffe353bb8
[ "Apache-2.0" ]
1
2021-11-15T17:52:04.000Z
2021-11-15T17:52:04.000Z
fairness/visualise_target_distribution_datasets_joosje.py
JSGoedhart/fairness-comparison
f6fcb7f39f15bb63aeab03ef24e41d0ffe353bb8
[ "Apache-2.0" ]
null
null
null
import numpy as np import pandas as pd import os import seaborn as sns import matplotlib.pyplot as plt from fairness.data.objects.list import DATASETS, get_dataset_names sns.set_context(rc={"figure.figsize": (8, 4)}) sns.set(style = 'white', font_scale = 1.5) colors = ['#2ECC71' , '#FFEB3B'] # Green, yellow curren...
33.428571
134
0.698718
214
1,404
4.443925
0.457944
0.012618
0.042061
0.029443
0.121977
0.121977
0.121977
0
0
0
0
0.022463
0.143875
1,404
42
135
33.428571
0.768719
0.009259
0
0
0
0
0.117266
0.019424
0
0
0
0
0
1
0
false
0
0.193548
0
0.193548
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64aa3d37b85cc243ccdf71e09e84298f1e19d500
25,744
py
Python
venv/Lib/site-packages/dateparser/data/date_translation_data/pt.py
realwaynesun/cryptotradedata
4bd4d3f80438507fbb2b611a9cf451ed1aa2bde1
[ "MIT" ]
2
2020-09-28T21:23:59.000Z
2021-11-10T15:01:15.000Z
venv/Lib/site-packages/dateparser/data/date_translation_data/pt.py
realwaynesun/cryptotradedata
4bd4d3f80438507fbb2b611a9cf451ed1aa2bde1
[ "MIT" ]
21
2021-02-04T01:37:44.000Z
2022-03-12T01:00:55.000Z
venv/Lib/site-packages/dateparser/data/date_translation_data/pt.py
realwaynesun/cryptotradedata
4bd4d3f80438507fbb2b611a9cf451ed1aa2bde1
[ "MIT" ]
1
2021-03-27T19:41:10.000Z
2021-03-27T19:41:10.000Z
info = { "name": "pt", "date_order": "DMY", "january": [ "janeiro", "jan" ], "february": [ "fevereiro", "fev" ], "march": [ "março", "mar" ], "april": [ "abril", "abr" ], "may": [ "maio", "mai" ...
26.215886
48
0.235977
1,747
25,744
3.4751
0.084717
0.260913
0.293527
0.037556
0.770713
0.766431
0.762477
0.762477
0.762477
0.762477
0
0.011936
0.599713
25,744
981
49
26.24261
0.577196
0
0
0.729867
0
0
0.331844
0.000893
0
0
0
0
0
1
0
false
0.003058
0
0
0
0
0
0
0
null
1
1
0
0
1
1
1
1
1
0
0
1
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
9
64aa3e1874f0f343663a3b5eb7d3f0e4ccdcb368
284
py
Python
pyinstagram/agents/web_agent.py
OlegYurchik/pyInstagram
d71ce6918fa0a3d6ed641318efa6a55a41dec939
[ "MIT" ]
152
2019-03-26T23:33:28.000Z
2022-01-04T15:33:25.000Z
pyinstagram/agents/web_agent.py
OlegYurchik/pyInstagram
d71ce6918fa0a3d6ed641318efa6a55a41dec939
[ "MIT" ]
58
2019-03-27T09:30:21.000Z
2020-12-03T13:40:39.000Z
pyinstagram/agents/web_agent.py
OlegYurchik/pyInstagram
d71ce6918fa0a3d6ed641318efa6a55a41dec939
[ "MIT" ]
60
2019-04-05T14:34:45.000Z
2021-01-20T02:44:24.000Z
from .async_web_agent import AsyncWebAgent from .utils import sync class WebAgent(AsyncWebAgent): update = sync(AsyncWebAgent.update) get_media = sync(AsyncWebAgent.get_media) get_likes = sync(AsyncWebAgent.get_likes) get_comments = sync(AsyncWebAgent.get_comments)
28.4
51
0.785211
35
284
6.142857
0.428571
0.316279
0.27907
0
0
0
0
0
0
0
0
0
0.140845
284
9
52
31.555556
0.881148
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
1
1
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
1
0
0
4
64ac038d0826dd17f9a516ada94d2873b01d30ab
511
py
Python
examples/ex1.py
nathanfdunn/ipymd
cca5f98e34a024396e21ab7a3f322bbe2e3f37d1
[ "BSD-3-Clause" ]
521
2015-01-01T09:22:05.000Z
2022-02-06T23:54:10.000Z
examples/ex1.py
nathanfdunn/ipymd
cca5f98e34a024396e21ab7a3f322bbe2e3f37d1
[ "BSD-3-Clause" ]
79
2015-01-04T21:17:29.000Z
2018-08-28T16:39:21.000Z
examples/ex1.py
nathanfdunn/ipymd
cca5f98e34a024396e21ab7a3f322bbe2e3f37d1
[ "BSD-3-Clause" ]
56
2015-03-01T08:48:26.000Z
2022-01-29T03:11:13.000Z
# List of ipymd cells expected for this example. output = [ {'cell_type': 'markdown', 'source': '# Header'}, {'cell_type': 'markdown', 'source': 'A paragraph.'}, {'cell_type': 'markdown', 'source': 'Python code:'}, {'cell_type': 'code', 'input': 'print("Hello world!")', 'out...
21.291667
66
0.547945
52
511
5.269231
0.5
0.175182
0.291971
0.40146
0.233577
0
0
0
0
0
0
0
0.219178
511
23
67
22.217391
0.686717
0.09002
0
0.333333
0
0
0.578834
0.071274
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
64ac4e0c696328a0793c73c2ffb9c229acc0aada
2,508
py
Python
examples/kddcup2021/WikiKG90M/feature/dump_feat/1_rrt_feat.py
zbmain/PGL
dbded6a1543248b0a33c05eb476ddc513401a774
[ "Apache-2.0" ]
1,389
2019-06-11T03:29:20.000Z
2022-03-29T18:25:43.000Z
examples/kddcup2021/WikiKG90M/feature/dump_feat/1_rrt_feat.py
zbmain/PGL
dbded6a1543248b0a33c05eb476ddc513401a774
[ "Apache-2.0" ]
232
2019-06-21T06:52:10.000Z
2022-03-29T08:20:31.000Z
examples/kddcup2021/WikiKG90M/feature/dump_feat/1_rrt_feat.py
zbmain/PGL
dbded6a1543248b0a33c05eb476ddc513401a774
[ "Apache-2.0" ]
229
2019-06-20T12:13:58.000Z
2022-03-25T12:04:48.000Z
# -*- coding: utf-8 -*- ######################################################################## # # Copyright (c) 2021 Baidu.com, Inc. All Rights Reserved # # Author: suweiyue(suweiyue@baidu.com) # Date: 2021/06/03 23:12:20 # ######################################################################## """ Comment. """...
30.216867
78
0.637959
368
2,508
4.057065
0.271739
0.073677
0.040188
0.052244
0.359009
0.316142
0.267917
0.166109
0.101139
0
0
0.048293
0.182616
2,508
82
79
30.585366
0.68
0.08134
0
0.067797
0
0
0.201308
0.159271
0
0
0
0
0
1
0.016949
false
0
0.20339
0
0.220339
0.067797
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64ac9a9800fc56bffbd8416996ff63c66a3c1e04
1,463
py
Python
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/occlusion_query.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/occlusion_query.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/occlusion_query.py
frederica07/Dragon_Programming_Process
c0dff2e20c1be6db5adc6f9977efae8f7f888ef5
[ "BSD-2-Clause" ]
null
null
null
'''Autogenerated by get_gl_extensions script, do not edit!''' from OpenGL import platform as _p, constants as _cs, arrays from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_ARB_occlusion_query' def _f( function ): return _p.createFunction( function,_p.GL,'GL_ARB_occlusion_query',False) _p.unpack_constan...
33.25
76
0.796309
212
1,463
5.179245
0.363208
0.014572
0.051002
0.070128
0.324226
0.251366
0.230419
0.230419
0.160291
0.087432
0
0.019549
0.090909
1,463
43
77
34.023256
0.806015
0.079973
0
0.25641
1
0
0.147566
0.089139
0
0
0.022472
0
0
1
0.25641
false
0.230769
0.102564
0.025641
0.410256
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
1
0
1
0
0
0
0
0
3
64ae4132f882d01178b0d9e0b77c964a7b55c91a
959
py
Python
tests/test_db_access_in_repr.py
bdauvergne/pytest-django
66205b3d6ac21e65fbd3d95f1f541db30a596e53
[ "BSD-3-Clause" ]
967
2015-01-06T14:36:22.000Z
2022-03-29T21:07:03.000Z
tests/test_db_access_in_repr.py
bdauvergne/pytest-django
66205b3d6ac21e65fbd3d95f1f541db30a596e53
[ "BSD-3-Clause" ]
743
2015-01-02T12:20:13.000Z
2022-03-25T17:13:05.000Z
tests/test_db_access_in_repr.py
bdauvergne/pytest-django
66205b3d6ac21e65fbd3d95f1f541db30a596e53
[ "BSD-3-Clause" ]
308
2015-01-08T11:40:23.000Z
2022-03-23T02:53:14.000Z
def test_db_access_with_repr_in_report(django_testdir) -> None: django_testdir.create_test_module( """ import pytest from .app.models import Item def test_via_db_blocker(django_db_setup, django_db_blocker): with django_db_blocker.unblock(): Item.objects....
34.25
73
0.637122
124
959
4.693548
0.508065
0.036082
0.034364
0.041237
0.323024
0.264605
0.264605
0.264605
0.120275
0
0
0.004196
0.254432
959
27
74
35.518519
0.80979
0
0
0.142857
0
0
0.390523
0.109477
0
0
0
0
0.142857
1
0.071429
false
0
0
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64b1a7488c274f4dd72529847c355261e656d578
2,754
py
Python
myssh/threads_func.py
samblabla/myssh
ed105766e7d295652bce72352e0ac9ee3348dfd2
[ "Apache-2.0" ]
65
2018-02-09T07:28:57.000Z
2021-11-02T22:53:35.000Z
myssh/threads_func.py
samblabla/myssh
ed105766e7d295652bce72352e0ac9ee3348dfd2
[ "Apache-2.0" ]
3
2019-05-02T09:47:54.000Z
2020-08-11T15:06:28.000Z
myssh/threads_func.py
samblabla/myssh
ed105766e7d295652bce72352e0ac9ee3348dfd2
[ "Apache-2.0" ]
8
2018-10-19T03:49:02.000Z
2021-03-25T08:09:32.000Z
#coding:utf-8 import data import ssh import sftp import common import time import threading def threads_connect(name,i): ssh.create_conn(i) sftp.create_conn(i) print('\33[34m%d:\33[31m%s成功:%s(%s) \33[0m' %(i,name,data.servers[i]['name'],common.hideipFun(data.servers[i]['host']))) def threads_handle(threa...
31.655172
124
0.526507
330
2,754
4.206061
0.239394
0.063401
0.069164
0.099424
0.699568
0.659222
0.652017
0.652017
0.652017
0.652017
0
0.022624
0.358025
2,754
86
125
32.023256
0.762443
0.009078
0
0.621622
0
0.040541
0.056106
0.03667
0
0
0
0
0
1
0.067568
false
0
0.081081
0
0.148649
0.067568
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
64b306b8769d1a5395b2ff462d244969453f0281
39
py
Python
main/models/__init__.py
trandat9h/GotitFinalProject
c32b12ab7099ee7d389ba67816fde7d48b3014bc
[ "MIT" ]
1
2022-03-29T09:58:16.000Z
2022-03-29T09:58:16.000Z
main/models/__init__.py
trandat9h/GotitFinalProject
c32b12ab7099ee7d389ba67816fde7d48b3014bc
[ "MIT" ]
null
null
null
main/models/__init__.py
trandat9h/GotitFinalProject
c32b12ab7099ee7d389ba67816fde7d48b3014bc
[ "MIT" ]
null
null
null
__all__ = ["category", "item", "user"]
19.5
38
0.589744
4
39
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.128205
39
1
39
39
0.558824
0
0
0
0
0
0.410256
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
64b3729d10855edc071cb1c3176a8d1e927629f4
588
py
Python
tests/test_need_to_wrap.py
ffreemt/simple-proxy-pool
15cb083904e515ad909cc5fa30cb030e200f5787
[ "MIT" ]
2
2020-01-01T12:55:01.000Z
2020-02-25T03:59:12.000Z
tests/test_need_to_wrap.py
ffreemt/simple-proxy-pool
15cb083904e515ad909cc5fa30cb030e200f5787
[ "MIT" ]
null
null
null
tests/test_need_to_wrap.py
ffreemt/simple-proxy-pool
15cb083904e515ad909cc5fa30cb030e200f5787
[ "MIT" ]
1
2020-08-06T02:29:00.000Z
2020-08-06T02:29:00.000Z
''' test need_to_wrap >>> assert not need_to_wrap(['127.0.0.1:8889', '127.0.0.1']) >>> assert need_to_wrap(['127.0.0.1:8889', 'source']) ''' from simple_pp.need_to_wrap import need_to_wrap def test_trivial(): ''' trivial tests''' assert not need_to_wrap(['127.0.0.1:8889', '127.0.0.1']) # extra...
24.5
64
0.636054
106
588
3.311321
0.273585
0.17094
0.25641
0.136752
0.564103
0.509972
0.464387
0.464387
0.464387
0.464387
0
0.148148
0.173469
588
23
65
25.565217
0.574074
0.481293
0
0
0
0
0.197232
0
0
0
0
0
0.666667
1
0.166667
true
0
0.166667
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
64b6cb679b43df545569ed71a1c4d61297d2aef9
6,304
py
Python
CIM14/IEC61970/Generation/Production/__init__.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
58
2015-04-22T10:41:03.000Z
2022-03-29T16:04:34.000Z
CIM14/IEC61970/Generation/Production/__init__.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
12
2015-08-26T03:57:23.000Z
2020-12-11T20:14:42.000Z
CIM14/IEC61970/Generation/Production/__init__.py
MaximeBaudette/PyCIM
d68ee5ccfc1d32d44c5cd09fb173142fb5ff4f14
[ "MIT" ]
35
2015-01-10T12:21:03.000Z
2020-09-09T08:18:16.000Z
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
43.178082
256
0.805996
714
6,304
7.116247
0.37395
0.061996
0.117103
0.185987
0.254871
0
0
0
0
0
0
0.047923
0.129442
6,304
145
257
43.475862
0.877915
0.383249
0
0.223881
0
0
0.017223
0
0
0
0
0
0
1
0
false
0.223881
0.522388
0
0.746269
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
1
1
0
0
0
0
3
64b89274265285939232ef95666539dcfdd02614
319
py
Python
client.py
cms42/i-display
fc1737ec522c7e1088d8891dd0838f11454e8f38
[ "MIT" ]
null
null
null
client.py
cms42/i-display
fc1737ec522c7e1088d8891dd0838f11454e8f38
[ "MIT" ]
null
null
null
client.py
cms42/i-display
fc1737ec522c7e1088d8891dd0838f11454e8f38
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import configparser import cv2 import sys if (len(sys.argv)<2) : print("usage: ",sys.argv[0]," [config]") exit() if (sys.argv[1] == '--help')|(sys.argv[1] == '-h') : print("usage: ",sys.argv[0]," [config]") exit() config = configparser.ConfigParser() config.read(sys.argv[1])
19.9375
52
0.583072
45
319
4.133333
0.444444
0.225806
0.129032
0.182796
0.301075
0.301075
0.301075
0
0
0
0
0.029963
0.163009
319
15
53
21.266667
0.666667
0.065831
0
0.363636
0
0
0.135593
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.181818
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
64b9710adc87f43f75a6a4f22eff06a3622b0bf8
411
py
Python
interface_blockchain/product/forms.py
kultimovn/interface_blockchain
5e827d7241200c1aed1ca551649a1ef651297032
[ "MIT" ]
null
null
null
interface_blockchain/product/forms.py
kultimovn/interface_blockchain
5e827d7241200c1aed1ca551649a1ef651297032
[ "MIT" ]
null
null
null
interface_blockchain/product/forms.py
kultimovn/interface_blockchain
5e827d7241200c1aed1ca551649a1ef651297032
[ "MIT" ]
null
null
null
from django import forms from .models import Product, Good class GoodForm(forms.ModelForm): def __init__(self, *args, **kwargs): super(GoodForm, self).__init__(*args, **kwargs) class Meta: model = Good fields = ('name', 'options', 'description', 'image', 'tmp_responsibility', 'tmp_amo...
27.4
96
0.620438
42
411
5.809524
0.666667
0.081967
0
0
0
0
0
0
0
0
0
0
0.243309
411
14
97
29.357143
0.784566
0
0
0
0
0
0.177616
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64b97f2e2ba70fea221b6d73b9b60cadc991d3e9
9,219
py
Python
shark/shark/report/warehouse_wise_stock_ageing/warehouse_wise_stock_ageing.py
umaepoch/Shark
2ebf715efba796f96c2d9807bbe930e354606492
[ "MIT" ]
null
null
null
shark/shark/report/warehouse_wise_stock_ageing/warehouse_wise_stock_ageing.py
umaepoch/Shark
2ebf715efba796f96c2d9807bbe930e354606492
[ "MIT" ]
null
null
null
shark/shark/report/warehouse_wise_stock_ageing/warehouse_wise_stock_ageing.py
umaepoch/Shark
2ebf715efba796f96c2d9807bbe930e354606492
[ "MIT" ]
null
null
null
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals from operator import itemgetter import frappe from frappe import _ from frappe.utils import cint, date_diff, flt from six import iteritems from erpne...
29.082019
108
0.678599
1,260
9,219
4.711905
0.139683
0.037729
0.014149
0.021897
0.258548
0.183931
0.158329
0.052889
0.028971
0.013812
0
0.021165
0.174856
9,219
317
109
29.082019
0.759301
0.024732
0
0.157088
0
0.003831
0.209238
0.020812
0
0
0
0
0
1
0.042146
false
0
0.02682
0.003831
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
0
0
0
0
0
0
0
0
0
0
1
0
64b9f79dfb03bb9df611fd80e6a0c850dbeafe2f
248
py
Python
savejpg.py
gewangcn/spiders
991ccc571417c721aea5ed92fd81419522d07869
[ "MIT" ]
null
null
null
savejpg.py
gewangcn/spiders
991ccc571417c721aea5ed92fd81419522d07869
[ "MIT" ]
null
null
null
savejpg.py
gewangcn/spiders
991ccc571417c721aea5ed92fd81419522d07869
[ "MIT" ]
null
null
null
import requests resp = requests.get("https://edu-tob.bdimg.com/v1/pc/pc%E5%85%88%E9%A6%96%E9%A1%B5%E5%A4%B4%E5%9B%BE5120-640-1608686903810.png") with open("a.png", "wb") as f: f.write(resp.content) # 返回cookie信息转换的字典 键值对 se = requests.session()
35.428571
128
0.709677
47
248
3.744681
0.808511
0
0
0
0
0
0
0
0
0
0
0.167401
0.084677
248
7
129
35.428571
0.60793
0.076613
0
0
0
0.2
0.491228
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
64bb99f7ba68e5c75620ffdbf50cc594972bec36
2,652
py
Python
src/nasty_analysis/document/maxqda_coded_nasty.py
lschmelzeisen/nasty-analysis
50e2f2d5f6b8b9649a8c8adba1d94b59f01a8dca
[ "ECL-2.0", "Apache-2.0" ]
2
2020-05-23T19:18:42.000Z
2020-05-26T12:33:44.000Z
src/nasty_analysis/document/maxqda_coded_nasty.py
lschmelzeisen/nasty-analysis
50e2f2d5f6b8b9649a8c8adba1d94b59f01a8dca
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/nasty_analysis/document/maxqda_coded_nasty.py
lschmelzeisen/nasty-analysis
50e2f2d5f6b8b9649a8c8adba1d94b59f01a8dca
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# # Copyright 2019-2020 Lukas Schmelzeisen # # 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 t...
34
82
0.691931
335
2,652
5.268657
0.444776
0.075354
0.045326
0.01813
0
0
0
0
0
0
0
0.006179
0.206637
2,652
77
83
34.441558
0.8327
0.211161
0
0
0
0
0.100674
0.010597
0
0
0
0
0
1
0.037037
false
0
0.148148
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64bbd761800292d0813bdc9b13e2cbfd9dcb6e21
80
py
Python
tests/__init__.py
xakiy/falcon-ratelimit
68bb239f0bbe5c09657dd06d230e9923039beb10
[ "MIT" ]
10
2018-06-24T08:33:46.000Z
2022-01-02T14:23:20.000Z
tests/__init__.py
xakiy/falcon-ratelimit
68bb239f0bbe5c09657dd06d230e9923039beb10
[ "MIT" ]
4
2018-04-24T12:00:49.000Z
2021-08-05T14:49:31.000Z
tests/__init__.py
xakiy/falcon-ratelimit
68bb239f0bbe5c09657dd06d230e9923039beb10
[ "MIT" ]
9
2018-04-09T10:40:47.000Z
2020-07-02T13:27:23.000Z
# coding=UTF-8 from __future__ import print_function, absolute_import, division
26.666667
64
0.8375
11
80
5.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0.013889
0.1
80
2
65
40
0.833333
0.15
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
64bd2dcfa1b16991bf3ec6fda735704c506a25ed
358
py
Python
mq/rabbitmq/py/helloworld/producer.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
mq/rabbitmq/py/helloworld/producer.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
1
2016-09-15T07:06:15.000Z
2016-09-15T07:06:15.000Z
mq/rabbitmq/py/helloworld/producer.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # Copyright (C) 2019 jayson # from utils.connection import get_connection from config import RABBITMQ_MASTER if __name__ == '__main__': with get_connection(RABBITMQ_MASTER, 'hello') as channel: while True: channel.basic_publish(exchange='', routing_key='hell...
27.538462
101
0.695531
45
358
5.222222
0.755556
0.110638
0
0
0
0
0
0
0
0
0
0.017483
0.201117
358
12
102
29.833333
0.804196
0.131285
0
0
0
0
0.138983
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
64bd439f7c8735ddf6edf662567de783df1b760f
6,188
py
Python
mpinterfaces/nanoparticle.py
yw-fang/MPInterfaces
ca2e43b590fdfbcf87a116c5c758e54cb7cb2d2e
[ "MIT" ]
null
null
null
mpinterfaces/nanoparticle.py
yw-fang/MPInterfaces
ca2e43b590fdfbcf87a116c5c758e54cb7cb2d2e
[ "MIT" ]
12
2016-11-07T23:46:01.000Z
2018-08-24T19:00:12.000Z
mpinterfaces/nanoparticle.py
joshgabriel/MPInterfaces
2799ae161fa94c78842092fb24ef468607afa465
[ "MIT" ]
null
null
null
# coding: utf-8 # Copyright (c) Henniggroup. # Distributed under the terms of the MIT License. from __future__ import division, print_function, unicode_literals, \ absolute_import """ Wulff construction to create the nanoparticle """ from six.moves import range import itertools from math import gcd from functoo...
36.833333
83
0.626212
747
6,188
4.97992
0.302544
0.060484
0.004032
0.023656
0.027957
0.012903
0.01129
0.01129
0
0
0
0.015176
0.286522
6,188
167
84
37.053892
0.827407
0.136231
0
0
0
0
0.006993
0
0
0
0
0
0
1
0.054348
false
0
0.130435
0
0.217391
0.01087
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64bd7c10430f6a161fe1d2e13a9a45bf6a6cda3c
1,262
py
Python
src/day07.py
birdman74/advent-of-code-2021
190cd4110ef3553258a26c8521bdf372c006a77c
[ "Apache-2.0" ]
null
null
null
src/day07.py
birdman74/advent-of-code-2021
190cd4110ef3553258a26c8521bdf372c006a77c
[ "Apache-2.0" ]
null
null
null
src/day07.py
birdman74/advent-of-code-2021
190cd4110ef3553258a26c8521bdf372c006a77c
[ "Apache-2.0" ]
null
null
null
import os from collections import Counter MODULE_DIR = os.path.dirname(os.path.realpath(__file__)) PROJECT_DIR = os.path.join(MODULE_DIR, "..") INPUT_SOURCE_DIR = os.path.join(PROJECT_DIR, "input") def get_data_lines(input_file_name): input_file = os.path.join(INPUT_SOURCE_DIR, input_file_name) print(f"Inpu...
25.755102
120
0.659271
215
1,262
3.572093
0.311628
0.140625
0.135417
0.058594
0.264323
0.264323
0.169271
0.169271
0.169271
0.075521
0
0.028763
0.173534
1,262
48
121
26.291667
0.707574
0.029319
0
0
0
0
0.129191
0.06296
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.25
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64bdb2fbf30aa7f6c7c89de13064542fa9d7162e
1,460
py
Python
bin/check_files_yml.py
synesthesiam/voice2json-profiles
4618d121d8d64985deb43d14e2f01b1e12743a18
[ "MIT" ]
10
2020-01-01T09:08:50.000Z
2022-01-09T00:18:33.000Z
bin/check_files_yml.py
synesthesiam/voice2json-profiles
4618d121d8d64985deb43d14e2f01b1e12743a18
[ "MIT" ]
null
null
null
bin/check_files_yml.py
synesthesiam/voice2json-profiles
4618d121d8d64985deb43d14e2f01b1e12743a18
[ "MIT" ]
3
2020-07-25T03:20:21.000Z
2022-01-23T03:56:16.000Z
#!/usr/bin/env python3 """Verifies sizes and sha256 sums for files.yml files.""" import os import subprocess import sys from pathlib import Path import yaml def main(): """Main entry point""" for files_yaml_path in sys.argv[1:]: profile_root = Path(files_yaml_path).parent with open(files_yaml...
31.06383
100
0.584247
181
1,460
4.425414
0.381215
0.078652
0.048689
0.029963
0.054931
0.054931
0
0
0
0
0
0.02004
0.316438
1,460
46
101
31.73913
0.782565
0.084247
0
0.068966
0
0
0.132175
0
0
0
0
0
0.068966
1
0.034483
false
0
0.172414
0
0.206897
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
0
0
0
0
0
0
0
0
1
0
64beb60d078cf10c3f14199bcdc7a0d43c7a432a
1,370
py
Python
witness.py
barryZZJ/dp-finder
ddf8e3589110b4b35920b437d605b45dd56291da
[ "MIT" ]
null
null
null
witness.py
barryZZJ/dp-finder
ddf8e3589110b4b35920b437d605b45dd56291da
[ "MIT" ]
null
null
null
witness.py
barryZZJ/dp-finder
ddf8e3589110b4b35920b437d605b45dd56291da
[ "MIT" ]
null
null
null
from abc import ABC from collections import OrderedDict class Witness(ABC): def __init__(self, a1, a2, s, eps, method, **kwargs): self.meth = method self.a1 = a1 self.a2 = a2 self.s = s self.eps = eps self.kwargs = OrderedDict(kwargs) def get_witness(self): ...
24.909091
57
0.550365
189
1,370
3.783069
0.365079
0.048951
0.022378
0.036364
0
0
0
0
0
0
0
0.026233
0.30438
1,370
55
58
24.909091
0.724029
0.089051
0
0.05
0
0
0.035398
0
0
0
0
0
0
1
0.175
false
0
0.125
0.075
0.475
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64c0a446da789593ff960351a0ce0f86e665e35a
6,873
py
Python
TicTacToe/classes/TicTacToe.py
camilleAmaury/ReinforcementLearning
c5d9ec3f17ca02e84ea3786fa2048b35864fc724
[ "CNRI-Python", "Info-ZIP" ]
null
null
null
TicTacToe/classes/TicTacToe.py
camilleAmaury/ReinforcementLearning
c5d9ec3f17ca02e84ea3786fa2048b35864fc724
[ "CNRI-Python", "Info-ZIP" ]
null
null
null
TicTacToe/classes/TicTacToe.py
camilleAmaury/ReinforcementLearning
c5d9ec3f17ca02e84ea3786fa2048b35864fc724
[ "CNRI-Python", "Info-ZIP" ]
null
null
null
import numpy as np from tqdm import tqdm class TicTacToe(object): # Constructor of the TicTacToe class # <Params name="player1" type="Agent">The first player</Params> # <Params name="player2" type="Agent">The second player</Params> # <Params name="rewards" type="object"> # <Contains key="w...
45.217105
112
0.559144
897
6,873
4.142698
0.16388
0.092034
0.055974
0.077503
0.636168
0.581539
0.535791
0.458019
0.422766
0.344187
0
0.021697
0.322712
6,873
152
113
45.217105
0.776584
0.279645
0
0.381443
0
0
0.050672
0
0
0
0
0
0
1
0.103093
false
0
0.020619
0.010309
0.175258
0.041237
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64c0d45dc9b180f6c1dd6f97a24cb3227649d735
9,780
py
Python
poem/cv_mim/action_recognition/train_with_encoder_base.py
DionysisChristopoulos/google-research
7f59ef421beef32ca16c2a7215be74f7eba01a0f
[ "Apache-2.0" ]
23,901
2018-10-04T19:48:53.000Z
2022-03-31T21:27:42.000Z
poem/cv_mim/action_recognition/train_with_encoder_base.py
DionysisChristopoulos/google-research
7f59ef421beef32ca16c2a7215be74f7eba01a0f
[ "Apache-2.0" ]
891
2018-11-10T06:16:13.000Z
2022-03-31T10:42:34.000Z
poem/cv_mim/action_recognition/train_with_encoder_base.py
admariner/google-research
7cee4b22b925581d912e8d993625c180da2a5a4f
[ "Apache-2.0" ]
6,047
2018-10-12T06:31:02.000Z
2022-03-31T13:59:28.000Z
# coding=utf-8 # Copyright 2021 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
37.760618
80
0.720143
1,251
9,780
5.353317
0.258193
0.031208
0.021502
0.007765
0.122742
0.05271
0.031059
0.008959
0
0
0
0.011641
0.191922
9,780
258
81
37.906977
0.835759
0.129346
0
0.04023
0
0
0.176199
0.029011
0
0
0
0
0
1
0.011494
false
0
0.068966
0
0.086207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64c210806c5cc219f6c4e3fa272f46558ce9bbfc
1,216
py
Python
misc/get_magnitude.py
cinjon/ml-capsules-inverted-attention-routing
978b0f58eba1007bcef0b6cb045f3d2040f76a31
[ "AML" ]
null
null
null
misc/get_magnitude.py
cinjon/ml-capsules-inverted-attention-routing
978b0f58eba1007bcef0b6cb045f3d2040f76a31
[ "AML" ]
null
null
null
misc/get_magnitude.py
cinjon/ml-capsules-inverted-attention-routing
978b0f58eba1007bcef0b6cb045f3d2040f76a31
[ "AML" ]
null
null
null
import os import json import argparse import numpy as np from glob import glob from multiprocessing import Pool parser = argparse.ArgumentParser() parser.add_argument( "--root", default="/misc/kcgscratch1/ChoGroup/resnick/spaceofmotion/flows", type=str) parser.add_argument( "--store_dir", default="...
29.658537
73
0.629934
169
1,216
4.390533
0.402367
0.040431
0.040431
0.080863
0.328841
0.274933
0.072776
0.072776
0.072776
0
0
0.010384
0.208059
1,216
40
74
30.4
0.760125
0.11102
0
0.129032
0
0
0.140465
0.094884
0
0
0
0
0
1
0.032258
false
0
0.193548
0
0.258065
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64c2188244333a65c7be325fa85c1fffbc0b6a2e
1,171
py
Python
libs/core/setup.py
ggsdc/corn
4c17c46a70f95b8882bcb6a55ef7daa1f69e0456
[ "MIT" ]
2
2020-07-09T20:58:47.000Z
2020-07-20T20:40:46.000Z
libs/core/setup.py
baobabsoluciones/cornflow
bd7cae22107e5fe148704d5f41d4f58f9c410b40
[ "Apache-2.0" ]
2
2022-03-31T08:42:10.000Z
2022-03-31T12:05:23.000Z
libs/core/setup.py
ggsdc/corn
4c17c46a70f95b8882bcb6a55ef7daa1f69e0456
[ "MIT" ]
null
null
null
import setuptools with open("README.rst") as fh: long_description = fh.read() required = [] with open("requirements.txt", "r") as fh: required.append(fh.read().splitlines()) setuptools.setup( name="cornflow-core", version="0.0.3a11", author="baobab soluciones", author_email="sistemas@baobabso...
32.527778
97
0.680615
134
1,171
5.738806
0.634328
0.078023
0.070221
0.078023
0
0
0
0
0
0
0
0.009544
0.194705
1,171
35
98
33.457143
0.805938
0
0
0
0
0
0.458582
0.121264
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64c23f62d2310087d63f2f3ff158df2b5e9d0168
1,265
py
Python
eoana/readers/xlsx.py
JohannesSMHI/eoana
7950a3567cdd9726296021f3de031493c8dfeba6
[ "MIT" ]
null
null
null
eoana/readers/xlsx.py
JohannesSMHI/eoana
7950a3567cdd9726296021f3de031493c8dfeba6
[ "MIT" ]
null
null
null
eoana/readers/xlsx.py
JohannesSMHI/eoana
7950a3567cdd9726296021f3de031493c8dfeba6
[ "MIT" ]
null
null
null
# Copyright (c) 2020 SMHI, Swedish Meteorological and Hydrological Institute # License: MIT License (see LICENSE.txt or http://opensource.org/licenses/mit). """ Created on 2020-12-11 16:04 @author: johannes """ import pandas as pd class PandasReaderBase: """ """ def __init__(self, *args, **kwargs): ...
23.425926
79
0.544664
129
1,265
5.131783
0.620155
0.060423
0.033233
0.045317
0.07855
0.07855
0
0
0
0
0
0.019208
0.341502
1,265
53
80
23.867925
0.77431
0.325692
0
0.111111
0
0
0.053546
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0
0.555556
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
64c2c755c64c0a9f83d7975c84e2954e482ade05
575
py
Python
appinit_backend/app/lib/websockets/server.py
lost-osiris/webplatform-backend
8b1b7c94dbc5314450fbe75b8ca4625d39608d4a
[ "MIT" ]
1
2020-09-11T01:20:07.000Z
2020-09-11T01:20:07.000Z
appinit_backend/app/lib/websockets/server.py
lost-osiris/webplatform-backend
8b1b7c94dbc5314450fbe75b8ca4625d39608d4a
[ "MIT" ]
null
null
null
appinit_backend/app/lib/websockets/server.py
lost-osiris/webplatform-backend
8b1b7c94dbc5314450fbe75b8ca4625d39608d4a
[ "MIT" ]
null
null
null
from gevent import pywsgi from geventwebsocket.handler import WebSocketHandler from flask import Flask, render_template, session, request app = Flask(__name__) server = pywsgi.WSGIServer(('127.0.0.1', 3001), app, handler_class=WebSocketHandler) if __name__ == '__main__': server.serve_forever() # import os # ...
28.75
66
0.791304
68
575
6.426471
0.588235
0.05492
0
0
0
0
0
0
0
0
0
0.021526
0.111304
575
19
67
30.263158
0.833659
0.441739
0
0
0
0
0.054313
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
64c313cfd9b762378f88f2ab75f1f1485ab4f677
17,890
py
Python
quex/output/analyzer/lexeme_converter.py
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
quex/output/analyzer/lexeme_converter.py
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
quex/output/analyzer/lexeme_converter.py
smmckay/quex-mirror
7d75ed560e9f3a591935e59243188676eecb112a
[ "MIT" ]
null
null
null
"""PURPOSE: Converters: Lexemes towards encodings UTF8/UTF16/UTF32. During exical analysis matches delivers lexemes in the encoding of the buffer. The functions develops converters of those lexemes to standard encodings, so that they can easily be reflected. Let 'Character' be a character in the buffer's encoding, '...
41.896956
110
0.578927
1,968
17,890
4.991362
0.192581
0.022804
0.021073
0.010995
0.268553
0.220605
0.13784
0.114833
0.079711
0.051308
0
0.03498
0.325657
17,890
426
111
41.995305
0.779261
0.253102
0
0.194444
0
0
0.093684
0.011214
0
0
0.011526
0
0.015873
1
0.095238
false
0
0.047619
0.02381
0.253968
0.015873
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64c3753507f4f5601298a10f34ef315b523cd811
642
py
Python
02 - Functions, logic and conditionals/exercises/hours-to-seconds.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
8
2018-10-01T17:35:57.000Z
2022-02-01T08:12:12.000Z
02 - Functions, logic and conditionals/exercises/hours-to-seconds.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
null
null
null
02 - Functions, logic and conditionals/exercises/hours-to-seconds.py
PableraShow/python-exercises
e1648fd42f3009ec6fb1e2096852b6d399e91d5b
[ "MIT" ]
6
2018-07-22T19:15:21.000Z
2022-02-05T07:54:58.000Z
""" Write a function total_seconds that takes three parameters hours, minutes and seconds and returns the total number of seconds for hours hours, minutes minutes and seconds seconds """ # Hours, minutes, and seconds to seconds conversion formula def total_seconds(hours, minutes, seconds): return (hours *...
30.571429
68
0.682243
89
642
4.88764
0.393258
0.165517
0.117241
0.101149
0.142529
0
0
0
0
0
0
0.031434
0.207165
642
21
69
30.571429
0.823183
0.109034
0
0
0
0
0.132231
0
0
0
0
0
0
0
null
null
0
0
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
64c3d1fff1672856579374529a10c8f0ae92b828
1,089
py
Python
media_nommer/utils/logger.py
duointeractive/media-nommer
ba8095748582934ab44f6972210381b074bd9d14
[ "BSD-3-Clause" ]
2
2015-11-05T18:52:05.000Z
2021-02-16T20:26:23.000Z
media_nommer/utils/logger.py
duointeractive/media-nommer
ba8095748582934ab44f6972210381b074bd9d14
[ "BSD-3-Clause" ]
null
null
null
media_nommer/utils/logger.py
duointeractive/media-nommer
ba8095748582934ab44f6972210381b074bd9d14
[ "BSD-3-Clause" ]
3
2015-06-04T11:27:39.000Z
2017-12-06T22:10:07.000Z
""" Some logging configuration and shortcut methods. """ from twisted.python import log def debug(message): """ Shortcut to logging a debug message through Twisted's logging module. :param str message: The message to log. """ log.msg(message) def info(message): """ Shortcut to logging...
26.560976
76
0.672176
155
1,089
4.683871
0.43871
0.049587
0.070248
0.099174
0.403581
0.334711
0.334711
0.334711
0.334711
0.334711
0
0
0.245179
1,089
40
77
27.225
0.883212
0.673095
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
64c42589b65636e8d944299c620d7537a9631738
1,084
py
Python
RecoTracker/TkNavigation/python/CosmicsNavigationSchoolESProducer_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoTracker/TkNavigation/python/CosmicsNavigationSchoolESProducer_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoTracker/TkNavigation/python/CosmicsNavigationSchoolESProducer_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
#do not comment that line import FWCore.ParameterSet.Config as cms #cosmicsNavigationSchoolESProducer = cms.ESProducer("NavigationSchoolESProducer", # ComponentName = cms.string('CosmicNavigationSchool') #) cosmicsNavigationSchoolESProducer = cms.ESProducer("SkippingLayerCosmicNavigationSchoolESProducer", ...
51.619048
104
0.412362
59
1,084
7.576271
0.491525
0.12528
0.161074
0.196868
0
0
0
0
0
0
0
0
0.521218
1,084
20
105
54.2
0.861272
0.148524
0
0
0
0
0.073064
0.073064
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
1
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
2
64c4bf7462033e3ab3a3144b3d87044b6d19e736
1,568
py
Python
script/model/sklearn_like_model/SessionManager.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
script/model/sklearn_like_model/SessionManager.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
script/model/sklearn_like_model/SessionManager.py
demetoir/MLtools
8c42fcd4cc71728333d9c116ade639fe57d50d37
[ "MIT" ]
null
null
null
import tensorflow as tf from script.util.MixIn import LoggerMixIn from script.util.misc_util import error_trace class SessionManager(LoggerMixIn): def __init__(self, sess=None, config=None, verbose=0): super().__init__(verbose) self.sess = sess self.config = config if...
26.576271
85
0.589286
197
1,568
4.431472
0.314721
0.091638
0.04811
0.041237
0.26575
0.242841
0.199313
0.199313
0.199313
0.199313
0
0.000943
0.32398
1,568
58
86
27.034483
0.822642
0.014668
0
0.190476
0
0
0.104377
0.03367
0
0
0
0.017241
0
1
0.214286
false
0
0.071429
0.071429
0.404762
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
1
0
0
0
0
0
0
0
2
64c6ded8ce35837ed8c633aa32ede13e3f7ab314
9,500
py
Python
code/reasoningtool/QueryBioLink.py
dkoslicki/NCATS
5d8e38d5868d830d8f8c215b8c649e3979ca03fb
[ "MIT" ]
2
2018-02-26T19:16:26.000Z
2020-12-16T03:31:58.000Z
code/reasoningtool/QueryBioLink.py
dkoslicki/NCATS
5d8e38d5868d830d8f8c215b8c649e3979ca03fb
[ "MIT" ]
17
2017-12-09T01:13:20.000Z
2018-03-06T02:17:32.000Z
code/reasoningtool/QueryBioLink.py
dkoslicki/NCATS
5d8e38d5868d830d8f8c215b8c649e3979ca03fb
[ "MIT" ]
null
null
null
''' This module defines the class QueryBioLink. QueryBioLink class is designed to communicate with Monarch APIs and their corresponding data sources. The available methods include: * query phenotype for disease * query disease for gene * query gene for disease * query phenotype for gene * query gene...
39.915966
124
0.666211
1,191
9,500
4.97649
0.126784
0.029526
0.05399
0.044036
0.714864
0.55863
0.509701
0.453518
0.353805
0.338451
0
0.016346
0.233684
9,500
237
125
40.084388
0.797802
0.108842
0
0.443787
0
0
0.192974
0.096308
0
0
0
0
0.005917
1
0.065089
false
0
0.011834
0
0.218935
0.159763
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64c7153fbfe5b356314570fdcfd44d046cdbf473
2,056
py
Python
mpf/plugins/twitch_bot.py
Scottacus64/mpf
fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a
[ "MIT" ]
163
2015-01-25T02:19:50.000Z
2022-03-26T12:00:28.000Z
mpf/plugins/twitch_bot.py
Scottacus64/mpf
fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a
[ "MIT" ]
1,086
2015-03-23T19:53:17.000Z
2022-03-24T20:46:11.000Z
mpf/plugins/twitch_bot.py
Scottacus64/mpf
fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a
[ "MIT" ]
148
2015-01-28T02:31:39.000Z
2022-03-22T13:54:01.000Z
"""MPF plugin which adds events from monitoring a Twitch chat room.""" import threading from mpf.core.logging import LogMixin from .twitch.twitch_client import TwitchClient MYPY = False if MYPY: # pragma: no cover from mpf.core.machine import MachineController # pylint: disable-msg=cyclic-import,unused-import ...
34.847458
101
0.633755
240
2,056
5.270833
0.3375
0.078261
0.03083
0.054545
0.139921
0.139921
0.06166
0
0
0
0
0
0.269942
2,056
58
102
35.448276
0.842771
0.10214
0
0
0
0
0.154267
0
0
0
0
0
0
1
0.025
false
0.125
0.1
0
0.175
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
64c72ead265362a6fd2cf5c37958f0fa44622e3f
7,319
py
Python
tb_auto_publsh/publish_product.py
sinalma/taobao_tools
222800ccd808ef4bbbcbcffc6b3f4fde133d8685
[ "MIT" ]
null
null
null
tb_auto_publsh/publish_product.py
sinalma/taobao_tools
222800ccd808ef4bbbcbcffc6b3f4fde133d8685
[ "MIT" ]
null
null
null
tb_auto_publsh/publish_product.py
sinalma/taobao_tools
222800ccd808ef4bbbcbcffc6b3f4fde133d8685
[ "MIT" ]
null
null
null
import os from selenium import webdriver driver = webdriver.Chrome("D:/Programming/python/chromedriver.exe") driver.maximize_window() from os import path from selenium.webdriver.common.action_chains import ActionChains from selenium.common.exceptions import UnexpectedAlertPresentException import time,unittest, re fro...
35.357488
148
0.704741
933
7,319
5.353698
0.239014
0.054655
0.078078
0.041842
0.606607
0.564164
0.466867
0.419419
0.378378
0.335135
0
0.067068
0.13827
7,319
206
149
35.529126
0.724909
0.134445
0
0.404255
0
0.014184
0.25
0.032161
0
0
0
0
0
1
0.078014
false
0
0.049645
0
0.148936
0.014184
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64cab6ea6f760144dc93cfc4e17978d33d93817a
778
py
Python
djangoenv/lib/python3.8/site-packages/pypl/scale.py
zawad2221/courier_delivery
f96c41a60943946f9f7e0837d017215aa8cd02dd
[ "MIT" ]
6
2020-02-21T15:50:34.000Z
2021-11-09T19:45:50.000Z
djangoenv/lib/python3.8/site-packages/pypl/scale.py
zawad2221/courier_delivery
f96c41a60943946f9f7e0837d017215aa8cd02dd
[ "MIT" ]
null
null
null
djangoenv/lib/python3.8/site-packages/pypl/scale.py
zawad2221/courier_delivery
f96c41a60943946f9f7e0837d017215aa8cd02dd
[ "MIT" ]
null
null
null
from . import utils class ContinuousScale(object): def __init__(self, data_lim, svg_lim): self.data_0 = data_lim[0] self.data_len = utils.lims2len(data_lim) self.svg_0 = svg_lim[0] self.svg_len = utils.lims2len(svg_lim) def __call__(self, value): return self.svg_0 + s...
27.785714
76
0.637532
118
778
3.872881
0.237288
0.157549
0.078775
0.105033
0.463895
0.306346
0.19256
0.19256
0.19256
0.19256
0
0.025424
0.241645
778
27
77
28.814815
0.749153
0
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0.105263
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
64cc4da63c52447e3507f875e905f219bd67e494
271
py
Python
config/__init__.py
hajareshyam/flask-seed
5e1cddebd8496e39cc99c012e8a203ef9bd4b834
[ "MIT" ]
3
2018-02-11T23:20:18.000Z
2019-12-15T10:29:22.000Z
config/__init__.py
hajareshyam/flask-seed
5e1cddebd8496e39cc99c012e8a203ef9bd4b834
[ "MIT" ]
null
null
null
config/__init__.py
hajareshyam/flask-seed
5e1cddebd8496e39cc99c012e8a203ef9bd4b834
[ "MIT" ]
1
2019-11-01T06:42:47.000Z
2019-11-01T06:42:47.000Z
__all__ = ['local', 'development', 'production', 'test', 'constants'] # from .base import BaseConfig from .development import DevelopmentConfig from .local import LocalConfig from .production import ProductionConfig from .test import TestConfig from .constants import *
30.111111
69
0.785978
29
271
7.206897
0.482759
0
0
0
0
0
0
0
0
0
0
0
0.121771
271
8
70
33.875
0.878151
0.103321
0
0
0
0
0.161826
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
64cc5aac32b4fc2a5556f4d550730a0acdbd74d3
5,781
py
Python
sailor/assetcentral/workorder.py
gecko17/project-sailor
7a35eeec2a6a8ec9bc998e39e8ffad4703cec5d7
[ "Apache-2.0" ]
19
2021-03-02T12:27:48.000Z
2022-03-31T15:24:41.000Z
sailor/assetcentral/workorder.py
gecko17/project-sailor
7a35eeec2a6a8ec9bc998e39e8ffad4703cec5d7
[ "Apache-2.0" ]
75
2021-03-04T16:58:47.000Z
2022-03-31T08:31:06.000Z
sailor/assetcentral/workorder.py
gecko17/project-sailor
7a35eeec2a6a8ec9bc998e39e8ffad4703cec5d7
[ "Apache-2.0" ]
2
2021-11-08T12:45:05.000Z
2022-02-27T18:42:13.000Z
""" Workorder module can be used to retrieve Workorder information from AssetCentral. Classes are provided for individual Workorders as well as groups of Workorders (WorkorderSet). """ from sailor import _base from ..utils.timestamps import _string_to_timestamp_parser from .constants import VIEW_WORKORDERS from .util...
43.141791
116
0.733437
589
5,781
6.872666
0.36163
0.020751
0.020998
0.028409
0.141057
0.132411
0.104743
0.060277
0.060277
0.031621
0
0.005371
0.162602
5,781
133
117
43.466165
0.83082
0.331431
0
0.030303
0
0
0.284406
0.027202
0
0
0
0
0
1
0.015152
false
0
0.060606
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64cc7a5f5c43f80efef521c2171660053264a4c7
796
py
Python
widgets2/pixmap.py
gnthibault/PyQt6-Tutorial-Examples
c54819f74154de923df0bdfaa302d62b4bad890b
[ "BSD-2-Clause" ]
38
2021-05-18T07:47:54.000Z
2022-03-31T13:10:41.000Z
widgets2/pixmap.py
gnthibault/PyQt6-Tutorial-Examples
c54819f74154de923df0bdfaa302d62b4bad890b
[ "BSD-2-Clause" ]
3
2021-08-03T03:49:42.000Z
2021-09-09T08:09:23.000Z
widgets2/pixmap.py
gnthibault/PyQt6-Tutorial-Examples
c54819f74154de923df0bdfaa302d62b4bad890b
[ "BSD-2-Clause" ]
16
2021-06-12T11:25:58.000Z
2022-03-05T07:43:10.000Z
#!/usr/bin/python """ ZetCode PyQt6 tutorial In this example, we display an image on the window. Author: Jan Bodnar Website: zetcode.com """ from PyQt6.QtWidgets import (QWidget, QHBoxLayout, QLabel, QApplication) from PyQt6.QtGui import QPixmap import sys class Example(QWidget): def __init__(self): ...
15.307692
50
0.614322
94
796
5.031915
0.617021
0.038055
0
0
0
0
0
0
0
0
0
0.015385
0.265075
796
51
51
15.607843
0.793162
0.167085
0
0
0
0
0.027481
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64ce6f6efb2fdb2724c45647b09d052115673dcc
3,423
py
Python
scripts/get_dataset100.py
AShedko/UIR8_im2gps
f4a7adb7e632b42a306ebdfbffb8a3843d43a594
[ "MIT" ]
1
2020-11-12T11:46:30.000Z
2020-11-12T11:46:30.000Z
scripts/get_dataset100.py
AShedko/UIR8_im2gps
f4a7adb7e632b42a306ebdfbffb8a3843d43a594
[ "MIT" ]
null
null
null
scripts/get_dataset100.py
AShedko/UIR8_im2gps
f4a7adb7e632b42a306ebdfbffb8a3843d43a594
[ "MIT" ]
null
null
null
import math import os import random import sys from multiprocessing.pool import ThreadPool import urllib import file_util import pandas as pd ds = pd.read_csv("../data/simplemaps-worldcities-basic.csv") # Heuristically select from DB cities likely to be on google maps cities = ds[ds["pop"]>20000][ds....
36.414894
103
0.646217
488
3,423
4.366803
0.368852
0.022994
0.023463
0.01267
0.075551
0.066166
0.05725
0
0
0
0
0.020183
0.232837
3,423
93
104
36.806452
0.791318
0.189308
0
0
0
0
0.130206
0.049531
0
0
0
0
0
1
0.032787
false
0
0.131148
0
0.163934
0.032787
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64cecd3b99a712aa861b433a62ca164039a43fef
146
py
Python
MLSD/__init__.py
HaoranXue/Machine_Learning_For_Structured_Data
376fb2b78ba5dea4d6214931f6a60e3b4477c883
[ "MIT" ]
4
2017-09-03T23:09:02.000Z
2017-09-15T13:01:38.000Z
MLSD/__init__.py
HaoranXue/SDM
376fb2b78ba5dea4d6214931f6a60e3b4477c883
[ "MIT" ]
null
null
null
MLSD/__init__.py
HaoranXue/SDM
376fb2b78ba5dea4d6214931f6a60e3b4477c883
[ "MIT" ]
null
null
null
''' SDM is a package for using Series as features ''' from .StructureData import * from .StructureDataFrame import * from .Transformers import *
18.25
45
0.753425
18
146
6.111111
0.777778
0.181818
0
0
0
0
0
0
0
0
0
0
0.164384
146
7
46
20.857143
0.901639
0.308219
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
64cf331bf3aec4cd73fb15b8c3551c47a61671fb
1,501
py
Python
mistral/auth/keystone.py
soda-research/mistral
550a3de9c2defc7ce26336cb705d9c8d87bbaddd
[ "Apache-2.0" ]
205
2015-06-21T11:51:47.000Z
2022-03-05T04:00:04.000Z
mistral/auth/keystone.py
soda-research/mistral
550a3de9c2defc7ce26336cb705d9c8d87bbaddd
[ "Apache-2.0" ]
21
2015-04-14T22:41:53.000Z
2019-02-20T09:30:10.000Z
mistral/auth/keystone.py
soda-research/mistral
550a3de9c2defc7ce26336cb705d9c8d87bbaddd
[ "Apache-2.0" ]
110
2015-06-14T03:34:38.000Z
2021-11-11T12:12:56.000Z
# Copyright 2016 - Brocade Communications Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
34.906977
78
0.691539
193
1,501
5.341969
0.580311
0.058196
0.037827
0.040737
0.054316
0.054316
0
0
0
0
0
0.00692
0.229847
1,501
42
79
35.738095
0.884948
0.507662
0
0
0
0
0.182825
0.034626
0
0
0
0
0
1
0.0625
false
0
0.1875
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64d17a7f9f6e04f18e7fe0677f5b3c4e404da64e
1,587
py
Python
integrationtests/utils_tests.py
landcast/flaskseed
15b73fef7345e8c05c4b6efe26c889f9818fabe3
[ "Apache-2.0" ]
null
null
null
integrationtests/utils_tests.py
landcast/flaskseed
15b73fef7345e8c05c4b6efe26c889f9818fabe3
[ "Apache-2.0" ]
1
2018-10-21T14:28:46.000Z
2018-10-21T14:28:46.000Z
integrationtests/utils_tests.py
landcast/flaskseed
15b73fef7345e8c05c4b6efe26c889f9818fabe3
[ "Apache-2.0" ]
null
null
null
import json import re import subprocess import sys import unittest sys.path.append('.') from integrationtests import TestBase, json_header, server_location class CourseTest(TestBase): def test_course(self): url = f'{server_location}/test/add_account_single_session' json_data = "'" + json.dumps(...
31.117647
76
0.558286
180
1,587
4.688889
0.405556
0.037915
0.023697
0.042654
0.545024
0.545024
0.545024
0.469194
0.469194
0.372038
0
0.031475
0.299307
1,587
50
77
31.74
0.727518
0
0
0.47619
0
0.047619
0.321991
0.061752
0
0
0
0
0.071429
1
0.02381
false
0
0.142857
0
0.190476
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64d1b1489599d8bc0f2e6f5976da2e6c4b0ee762
3,465
py
Python
pylinquery/enumerable.py
mw-ste/PyLinQuery
ef0e941503577f4adf867d6b499efe7b9e114c65
[ "MIT" ]
null
null
null
pylinquery/enumerable.py
mw-ste/PyLinQuery
ef0e941503577f4adf867d6b499efe7b9e114c65
[ "MIT" ]
null
null
null
pylinquery/enumerable.py
mw-ste/PyLinQuery
ef0e941503577f4adf867d6b499efe7b9e114c65
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Apr 11 15:51:21 2019 @author: michi """ import inspect from types import FunctionType # In[] class Enumerable: _generator = None _values = None # In[] def __init__(self, values): if Enumerable._is_generator_type(va...
25.477941
93
0.598846
394
3,465
5.007614
0.213198
0.040547
0.060821
0.08515
0.423213
0.272681
0.210846
0.169285
0.121642
0.121642
0
0.006219
0.303896
3,465
136
94
25.477941
0.811774
0.053102
0
0.25641
0
0
0.035363
0
0
0
0
0
0
1
0.24359
false
0
0.025641
0.025641
0.474359
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
64d2c172df3283a327a114c985bcc7b09bf329f7
5,309
py
Python
scripts/evalutate_excell_data_condition_study.py
llucid-97/AdaS
298beca98d5b432460c9f268364c0fe7ce8323a6
[ "MIT" ]
1
2020-06-12T17:14:31.000Z
2020-06-12T17:14:31.000Z
scripts/evalutate_excell_data_condition_study.py
llucid-97/AdaS
298beca98d5b432460c9f268364c0fe7ce8323a6
[ "MIT" ]
1
2020-08-12T21:10:48.000Z
2020-08-12T21:10:48.000Z
scripts/evalutate_excell_data_condition_study.py
llucid-97/AdaS
298beca98d5b432460c9f268364c0fe7ce8323a6
[ "MIT" ]
3
2020-06-17T21:51:16.000Z
2020-07-23T03:26:13.000Z
""" MIT License Copyright (c) 2020 Mahdi S. Hosseini Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, mer...
41.476563
140
0.680542
864
5,309
4.027778
0.236111
0.045977
0.045977
0.036207
0.517529
0.455172
0.40977
0.317816
0.293103
0.280172
0
0.039128
0.162366
5,309
127
141
41.80315
0.743423
0.353927
0
0.36
0
0
0.072278
0
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64d2fdd94ccdefb499475d5010e12ef3310e43be
13,438
py
Python
debexpo/tests/test_gnupg.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
null
null
null
debexpo/tests/test_gnupg.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
null
null
null
debexpo/tests/test_gnupg.py
jadonk/debexpo
a022160492e40cd02bafc413a3cb009551fd6f8d
[ "MIT" ]
2
2017-01-20T23:08:40.000Z
2019-08-13T20:30:00.000Z
# -*- coding: utf-8 -*- # # utils.py — Debexpo utility functions # # This file is part of debexpo - https://alioth.debian.org/projects/debexpo/ # # Copyright © 2008 Serafeim Zanikolas <serzan@hellug.gr> # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and ass...
45.398649
81
0.828992
1,078
13,438
10.192022
0.498145
0.015564
0.013106
0.018567
0.126695
0.099663
0.07427
0.068445
0.0537
0.049422
0
0.09541
0.113186
13,438
295
82
45.552542
0.826299
0.093094
0
0.282353
0
0
0.096749
0.024848
0
1
0
0
0.235294
0
null
null
0.023529
0.047059
null
null
0.035294
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
1
0
0
0
1
0
0
0
0
0
0
0
0
3
64d38dd03c462339859dc58f5f3a4b1ad11731fd
3,272
py
Python
bombolone/core/utils/utils.py
LaudateCorpus1/bombolone
2658bfe2ea3e659fe98e86c548e49ff0aa08f0c2
[ "BSD-3-Clause" ]
31
2015-01-04T08:38:55.000Z
2021-09-05T08:53:03.000Z
bombolone/core/utils/utils.py
LaudateCorpus1/bombolone
2658bfe2ea3e659fe98e86c548e49ff0aa08f0c2
[ "BSD-3-Clause" ]
6
2015-02-26T12:57:05.000Z
2015-06-24T06:11:43.000Z
bombolone/core/utils/utils.py
LaudateCorpus1/bombolone
2658bfe2ea3e659fe98e86c548e49ff0aa08f0c2
[ "BSD-3-Clause" ]
11
2015-01-09T21:54:05.000Z
2021-11-30T04:54:19.000Z
# -*- coding: utf-8 -*- """ utils.py ~~~~~~~~~~~ Generic helper functions :copyright: (c) 2014 by @zizzamia :license: BSD (See LICENSE for details) """ import datetime import json import string import re import unicodedata from collections import Iterable from flask import request, render_template from hashlib import...
29.477477
105
0.67665
418
3,272
5.212919
0.406699
0.0257
0.015145
0.014686
0.086278
0.086278
0.086278
0.047728
0.047728
0
0
0.005749
0.202628
3,272
110
106
29.745455
0.829437
0.006418
0
0
0
0
0.049286
0
0
0
0
0
0
0
null
null
0.134615
0.211538
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
1
0
0
0
0
0
2
64d4eca2a01366e3a22a289ad383de96073f8bac
1,286
py
Python
var/spack/repos/builtin/packages/netcdf-fortran/package.py
mrzv/spack
a0fb2838ea60f020179f480a2db1438da9d2e2ab
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2018-11-27T03:39:44.000Z
2021-09-06T15:50:35.000Z
var/spack/repos/builtin/packages/netcdf-fortran/package.py
matzke1/spack
9af44814b12639744926c56cdf16ac9e95490011
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/netcdf-fortran/package.py
matzke1/spack
9af44814b12639744926c56cdf16ac9e95490011
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class NetcdfFortran(AutotoolsPackage): """Fortran interface for NetCDF4""" homepage = "http...
32.974359
93
0.688958
162
1,286
5.425926
0.67284
0.013652
0.031854
0.040956
0.047782
0
0
0
0
0
0
0.059788
0.193624
1,286
38
94
33.842105
0.78785
0.341369
0
0
0
0.055556
0.302158
0.076739
0
0
0
0
0
1
0.111111
false
0
0.055556
0.055556
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64d5db1f326dd6948ae5b6aa2e86f60f45afe760
2,293
py
Python
tests/db/test_v5_to_v6.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
6
2021-03-09T10:24:02.000Z
2022-01-16T03:52:11.000Z
tests/db/test_v5_to_v6.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
1,319
2020-12-18T08:52:29.000Z
2022-03-31T18:17:32.000Z
tests/db/test_v5_to_v6.py
inmanta/inmanta-core
ae2153d57f124d00ad1b58e6d4bc6818364be4a8
[ "Apache-2.0" ]
4
2021-03-03T15:36:50.000Z
2022-03-11T11:41:51.000Z
""" Copyright 2020 Inmanta Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
34.742424
105
0.73659
318
2,293
5.160377
0.496855
0.036563
0.06947
0.0195
0.075564
0
0
0
0
0
0
0.008663
0.194505
2,293
65
106
35.276923
0.879805
0.355866
0
0
0
0
0.096596
0.038638
0
0
0
0
0.12
1
0
false
0
0.24
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
64d7181aa28285f0d3f1964a7724ac9342f291a9
306
py
Python
home/views.py
morion4000/ophion
016310ec0f702cb7f5d6b4e72e11817ef8bcdfae
[ "MIT" ]
null
null
null
home/views.py
morion4000/ophion
016310ec0f702cb7f5d6b4e72e11817ef8bcdfae
[ "MIT" ]
3
2020-02-12T03:26:52.000Z
2021-06-10T22:29:27.000Z
home/views.py
morion4000/ophion
016310ec0f702cb7f5d6b4e72e11817ef8bcdfae
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic.base import TemplateView from lists.models import List def index(request): my_lists = List.objects.filter(user=request.user) if request.user.username else [] return render(request, 'home.html', { 'my_lists': my_lists })
23.538462
86
0.728758
42
306
5.238095
0.595238
0.095455
0
0
0
0
0
0
0
0
0
0
0.169935
306
12
87
25.5
0.866142
0
0
0
0
0
0.055556
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2