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
8a5657a9ba609c4b80f71648ff43f36e553c66c2
26,287
py
Python
azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
null
null
null
azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
37
2020-04-27T07:45:19.000Z
2021-04-05T07:27:15.000Z
azure-devops/azext_devops/vstsCompressed/work_item_tracking_process/v4_0/models/models.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
33.316857
223
0.608666
2,966
26,287
5.234997
0.070128
0.029755
0.015586
0.022026
0.576351
0.514523
0.4516
0.39222
0.360726
0.321569
0
0.00189
0.235021
26,287
788
224
33.359137
0.770252
0.345494
0
0.498599
0
0
0.211704
0.013192
0
0
0
0
0
1
0.061625
false
0
0.002801
0
0.187675
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
8a56af27e9c2f89056b41302d904e7b48a70d0c4
1,379
py
Python
responder.py
ziggyzacks/pyrecs
06e760aad4b49a62322f1d46660c52c81eeb1b11
[ "MIT" ]
2
2018-03-21T17:55:57.000Z
2018-03-21T17:56:00.000Z
responder.py
ziggyzacks/pyrecs
06e760aad4b49a62322f1d46660c52c81eeb1b11
[ "MIT" ]
null
null
null
responder.py
ziggyzacks/pyrecs
06e760aad4b49a62322f1d46660c52c81eeb1b11
[ "MIT" ]
null
null
null
import abc from utils import LogMixin class Reponse(object): __metaclass__ = abc.ABCMeta @abc.abstractmethod def redis(self): """ redis connection """ return @abc.abstractmethod def fetch(self, ids): """ hydrate relevant ids with data """ return class Movies(Rep...
28.729167
94
0.57723
161
1,379
4.832298
0.403727
0.046272
0.051414
0
0
0
0
0
0
0
0
0
0.294416
1,379
47
95
29.340426
0.799589
0.092096
0
0.121212
0
0
0.073052
0.017857
0
0
0
0
0
1
0.151515
false
0
0.060606
0.030303
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
8a56cef3b3f2ca89cec426bc77ad6809415c305d
1,327
bzl
Python
python/library.bzl
robfig/rules_proto
6a85b0e4c3eeddf8863890ef48f2daab7a524ab7
[ "Apache-2.0" ]
null
null
null
python/library.bzl
robfig/rules_proto
6a85b0e4c3eeddf8863890ef48f2daab7a524ab7
[ "Apache-2.0" ]
null
null
null
python/library.bzl
robfig/rules_proto
6a85b0e4c3eeddf8863890ef48f2daab7a524ab7
[ "Apache-2.0" ]
null
null
null
load("//python:compile.bzl", "py_proto_compile", "py_grpc_compile") load("@grpc_py_deps//:requirements.bzl", "all_requirements") def py_proto_library(**kwargs): name = kwargs.get("name") deps = kwargs.get("deps") verbose = kwargs.get("verbose") visibility = kwargs.get("visibility") name_pb = name ...
28.847826
82
0.609646
152
1,327
5.092105
0.217105
0.093023
0.05168
0.059432
0.819121
0.819121
0.819121
0.819121
0.819121
0.819121
0
0
0.271289
1,327
46
83
28.847826
0.800414
0.129616
0
0.75
0
0
0.134549
0.027778
0
0
0
0.021739
0
1
0.05
false
0
0.05
0
0.1
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
8
8a58853ac66bc8f5b8cfad78774a49e43b593fba
2,786
py
Python
src/mem/slicc/ast/TypeDeclAST.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
135
2016-10-21T03:31:49.000Z
2022-03-25T01:22:20.000Z
src/mem/slicc/ast/TypeDeclAST.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
148
2018-07-20T00:58:36.000Z
2021-11-16T01:52:33.000Z
src/mem/slicc/ast/TypeDeclAST.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
48
2016-12-08T12:03:13.000Z
2022-02-16T09:16:13.000Z
# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood # Copyright (c) 2009 The Hewlett-Packard Development Company # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source co...
39.8
72
0.709261
387
2,786
5.028424
0.45478
0.02518
0.028263
0.026208
0.094553
0.069887
0.069887
0.069887
0.069887
0.069887
0
0.005533
0.221464
2,786
69
73
40.376812
0.891655
0.576813
0
0
0
0
0.032174
0
0
0
0
0
0
1
0.137931
false
0
0.068966
0.034483
0.344828
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
8a59e89d09e32fec1b404a96ad1edf1ccd223adb
8,871
py
Python
tests/test_preempt_return.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
null
null
null
tests/test_preempt_return.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
2
2017-09-05T11:12:05.000Z
2017-09-07T19:23:15.000Z
tests/test_preempt_return.py
vpv11110000/pyss
bc2226e2e66e0b551a09ae6ab6835b0bb6c7f32b
[ "MIT" ]
null
null
null
# #!/usr/bin/python # -*- coding: utf-8 -*- # test_preempt_return.py # pylint: disable=line-too-long,missing-docstring,bad-whitespace, unused-argument, too-many-locals import sys import os import random import unittest DIRNAME_MODULE = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(sys.argv[0]))))...
35.342629
106
0.578289
1,021
8,871
4.89618
0.199804
0.009202
0.064013
0.041808
0.602721
0.556511
0.524505
0.458092
0.434687
0.417083
0
0.016611
0.294217
8,871
250
107
35.484
0.781824
0.153872
0
0.356643
0
0
0.048515
0.01676
0
0
0
0
0.132867
0
null
null
0.013986
0.167832
null
null
0.06993
0
0
0
null
0
0
0
0
0
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
8a5ab5ed3f3ad80694d11c3e4b2aca3d095ca892
2,400
py
Python
python/ray/rllib/ddpg2/ddpg_evaluator.py
songqing/ray
166000b089ee15d44635ebca00f12320f51ce587
[ "Apache-2.0" ]
1
2018-06-25T08:00:51.000Z
2018-06-25T08:00:51.000Z
python/ray/rllib/ddpg2/ddpg_evaluator.py
songqing/ray
166000b089ee15d44635ebca00f12320f51ce587
[ "Apache-2.0" ]
1
2018-01-26T05:11:04.000Z
2018-01-26T05:11:04.000Z
python/ray/rllib/ddpg2/ddpg_evaluator.py
songqing/ray
166000b089ee15d44635ebca00f12320f51ce587
[ "Apache-2.0" ]
1
2020-10-16T08:42:32.000Z
2020-10-16T08:42:32.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import ray from ray.rllib.ddpg2.models import DDPGModel from ray.rllib.models.catalog import ModelCatalog from ray.rllib.optimizers import PolicyEvaluator from ray.rllib.utils.filter import ...
31.578947
77
0.675417
279
2,400
5.62724
0.365591
0.040127
0.04586
0.032484
0
0
0
0
0
0
0
0.001628
0.232083
2,400
75
78
32
0.850244
0.17875
0
0
0
0
0.024008
0
0
0
0
0
0
1
0.214286
false
0
0.261905
0
0.595238
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
8a5d2dc08b304db2757537f331d99b9fccf16fe7
3,064
py
Python
python/sysmap/graph.py
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
1
2020-05-08T13:55:31.000Z
2020-05-08T13:55:31.000Z
python/sysmap/graph.py
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
3
2020-01-16T10:30:28.000Z
2020-01-27T11:23:49.000Z
python/sysmap/graph.py
harryherold/sysmap
293e5f0dc22ed709c8fd5c170662e433c039eeab
[ "BSD-3-Clause" ]
1
2020-01-16T09:08:14.000Z
2020-01-16T09:08:14.000Z
from graphviz import Digraph from collections import namedtuple class NetworkGraph: ''' Representation of the network connections. This class contains the entities in the network e.g. hosts or switches. And the connections between them. ''' Vertex = namedtuple('Vertexes', ['hosts', 'switc...
29.461538
92
0.582572
351
3,064
4.94302
0.225071
0.027666
0.036311
0.043804
0.162536
0.092795
0.068588
0
0
0
0
0
0.304504
3,064
103
93
29.747573
0.814172
0.320496
0
0.088889
0
0
0.083102
0
0
0
0
0
0
1
0.177778
false
0
0.044444
0
0.422222
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
8a5d63158988a4154bd4df2b897b694d5cad31f9
46,478
py
Python
alembic/versions/1d092815507a_add_huawei_2g_managedobjects.py
bodastage/bts-database
96df7915621dd46daf55016eedf5cfc84dd0e3a2
[ "Apache-2.0" ]
1
2019-08-30T01:20:14.000Z
2019-08-30T01:20:14.000Z
alembic/versions/1d092815507a_add_huawei_2g_managedobjects.py
bodastage/bts-database
96df7915621dd46daf55016eedf5cfc84dd0e3a2
[ "Apache-2.0" ]
1
2018-05-30T09:29:24.000Z
2018-05-30T10:04:37.000Z
alembic/versions/1d092815507a_add_huawei_2g_managedobjects.py
bodastage/bts-database
96df7915621dd46daf55016eedf5cfc84dd0e3a2
[ "Apache-2.0" ]
3
2018-03-10T23:29:30.000Z
2019-02-19T22:11:09.000Z
"""Add Huawei 2G managedobjects Revision ID: 1d092815507a Revises: 3fa514f1b7a9 Create Date: 2018-02-13 01:38:59.965000 """ from alembic import op import sqlalchemy as sa import datetime # revision identifiers, used by Alembic. revision = '1d092815507a' down_revision = '3fa514f1b7a9' branch_labels = None depends_on ...
103.055432
133
0.570162
7,093
46,478
3.446074
0.068659
0.099906
0.116843
0.249765
0.806202
0.802316
0.799043
0.799043
0.799043
0.799043
0
0.056081
0.180516
46,478
450
134
103.284444
0.58567
0.003378
0
0.004587
0
0
0.514111
0.00136
0
0
0
0
0
1
0.004587
false
0
0.006881
0
0.011468
0
0
0
0
null
0
0
1
1
1
1
1
1
1
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
8a5d6681ce10a3af268cfdb475c6d9aff87499c6
1,211
py
Python
png/imageRecognition_Simple.py
tanthanadon/senior
89fc24889b34860982b551e5ea5e0d3550505f65
[ "MIT" ]
null
null
null
png/imageRecognition_Simple.py
tanthanadon/senior
89fc24889b34860982b551e5ea5e0d3550505f65
[ "MIT" ]
5
2020-03-04T13:49:10.000Z
2020-03-20T04:06:23.000Z
png/imageRecognition_Simple.py
tanthanadon/senior
89fc24889b34860982b551e5ea5e0d3550505f65
[ "MIT" ]
null
null
null
from math import sqrt from skimage import data from skimage.feature import blob_dog, blob_log, blob_doh from skimage.color import rgb2gray from skimage import io import matplotlib.pyplot as plt image = io.imread("star.jpg") image_gray = rgb2gray(image) blobs_log = blob_log(image_gray, max_sigma=30, num_sigma=10, th...
28.833333
74
0.696945
195
1,211
4.169231
0.435897
0.054121
0.04428
0.062731
0.092251
0.068881
0
0
0
0
0
0.025641
0.162675
1,211
42
75
28.833333
0.776134
0.026424
0
0
0
0
0.073005
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
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
8a5de963629a6bc23b3e927dcbf31f83ecc1590d
171
py
Python
indexof.py
gnuchev/homework
4083d44561cc9738d3cd8da99f8ef91b69961b6c
[ "MIT" ]
null
null
null
indexof.py
gnuchev/homework
4083d44561cc9738d3cd8da99f8ef91b69961b6c
[ "MIT" ]
null
null
null
indexof.py
gnuchev/homework
4083d44561cc9738d3cd8da99f8ef91b69961b6c
[ "MIT" ]
null
null
null
def indexof(listofnames, value): if value in listofnames: value_index = listofnames.index(value) return(listofnames, value_index) else: return(-1)
28.5
46
0.684211
20
171
5.75
0.5
0.417391
0.365217
0
0
0
0
0
0
0
0
0.007519
0.222222
171
5
47
34.2
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
1
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
0
0
0
4
8a5e3b1295194140be07e7851df9a2e6e39cc960
529
py
Python
Day22_Pong/ball.py
syt1209/PythonProjects
0409dbd3c0b0ddf00debc38875059c828eb31dec
[ "MIT" ]
1
2021-02-16T00:59:29.000Z
2021-02-16T00:59:29.000Z
Day22_Pong/ball.py
syt1209/PythonProjects
0409dbd3c0b0ddf00debc38875059c828eb31dec
[ "MIT" ]
null
null
null
Day22_Pong/ball.py
syt1209/PythonProjects
0409dbd3c0b0ddf00debc38875059c828eb31dec
[ "MIT" ]
null
null
null
from turtle import Turtle SPEED = 10 class Ball(Turtle): def __init__(self): super().__init__() self.penup() self.color("white") self.shape("circle") self.move_speed = 0.1 self.y_bounce = 1 self.x_bounce = 1 def move(self): new_x = self.xcor() ...
20.346154
49
0.551985
76
529
3.592105
0.355263
0.054945
0.120879
0.102564
0.216117
0.139194
0
0
0
0
0
0.030641
0.321361
529
25
50
21.16
0.729805
0
0
0.105263
0
0
0.020833
0
0
0
0
0
0
1
0.157895
false
0
0.052632
0
0.263158
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
8a5eacf969c02364f5e4daefab7f03dd79ff6a0f
447
py
Python
programs/combine/jry2/treedef.py
lsrcz/SyGuS
5aab1b2c324d8a3c20e51f8acb2866190a1431d3
[ "MIT" ]
1
2021-07-11T08:32:32.000Z
2021-07-11T08:32:32.000Z
programs/combine/jry2/treedef.py
lsrcz/SyGuS
5aab1b2c324d8a3c20e51f8acb2866190a1431d3
[ "MIT" ]
null
null
null
programs/combine/jry2/treedef.py
lsrcz/SyGuS
5aab1b2c324d8a3c20e51f8acb2866190a1431d3
[ "MIT" ]
1
2020-12-20T16:08:10.000Z
2020-12-20T16:08:10.000Z
from jry2.semantics import Expr class TreeNode: pass class TreeLeaf(TreeNode): def __init__(self, term): self.term = term def getExpr(self): return self.term class TreeInnerNode(TreeNode): def __init__(self, pred, left, right): self.pred = pred self.left = left ...
20.318182
80
0.630872
56
447
4.892857
0.357143
0.087591
0.109489
0.138686
0
0
0
0
0
0
0
0.003021
0.259508
447
21
81
21.285714
0.824773
0
0
0.133333
0
0
0.006711
0
0
0
0
0
0
1
0.266667
false
0.066667
0.066667
0.133333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
8a5ec6dd61aef0b828a5fdf8e68715be0262b256
103,584
py
Python
src/sage/modular/dirichlet.py
hsm207/sage
020bd59ec28717bfab9af44d2231c53da1ff99f1
[ "BSL-1.0" ]
1
2021-10-18T01:24:04.000Z
2021-10-18T01:24:04.000Z
src/sage/modular/dirichlet.py
hsm207/sage
020bd59ec28717bfab9af44d2231c53da1ff99f1
[ "BSL-1.0" ]
null
null
null
src/sage/modular/dirichlet.py
hsm207/sage
020bd59ec28717bfab9af44d2231c53da1ff99f1
[ "BSL-1.0" ]
null
null
null
# -*- coding: utf-8 -*- r""" Dirichlet characters A :class:`DirichletCharacter` is the extension of a homomorphism .. MATH:: (\ZZ/N\ZZ)^* \to R^*, for some ring `R`, to the map `\ZZ/N\ZZ \to R` obtained by sending those `x\in\ZZ/N\ZZ` with `\gcd(N,x)>1` to `0`. EXAMPLES:: sage: G = DirichletGroup(35) ...
34.562563
378
0.545557
13,353
103,584
4.161312
0.072568
0.011698
0.0406
0.017781
0.462531
0.399687
0.342728
0.303081
0.278858
0.23581
0
0.049846
0.343431
103,584
2,996
379
34.574099
0.767181
0.598046
0
0.25
0
0.002688
0.059202
0.002134
0
0
0
0
0
1
0.104839
false
0.002688
0.038978
0
0.274194
0.001344
0
0
0
null
0
0
0
0
0
0
0
0
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
8a5f3213a4f40ad41fa4289061fc1bfb9a560419
6,445
py
Python
src/biotite/file.py
danijoo/biotite
22072e64676e4e917236eac8493eed4c6a22cc33
[ "BSD-3-Clause" ]
208
2018-04-20T15:59:42.000Z
2022-03-22T07:47:12.000Z
src/biotite/file.py
danielmuthama/biotite
cb238a8d8d7dc82b3bcea274d7d91d5c876badcd
[ "BSD-3-Clause" ]
121
2017-11-15T14:52:07.000Z
2022-03-30T16:31:41.000Z
src/biotite/file.py
danielmuthama/biotite
cb238a8d8d7dc82b3bcea274d7d91d5c876badcd
[ "BSD-3-Clause" ]
49
2018-07-19T09:06:24.000Z
2022-03-23T17:21:34.000Z
# This source code is part of the Biotite package and is distributed # under the 3-Clause BSD License. Please see 'LICENSE.rst' for further # information. __name__ = "biotite" __author__ = "Patrick Kunzmann" __all__ = ["File", "TextFile", "InvalidFileError"] import abc import io import warnings from .copyable import ...
29.162896
76
0.565244
770
6,445
4.646753
0.280519
0.020961
0.02739
0.017887
0.37479
0.316098
0.304919
0.259922
0.248183
0.226942
0
0.000472
0.342126
6,445
220
77
29.295455
0.843396
0.407758
0
0.43617
0
0
0.079086
0
0
0
0
0
0
1
0.138298
false
0.031915
0.053191
0.010638
0.308511
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
8a5fa0d5b2ac5b94aac410a26a9a516f09e6dcbd
4,918
py
Python
src/cms/views/push_notifications/push_notification_sender.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
null
null
null
src/cms/views/push_notifications/push_notification_sender.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
5
2021-02-10T02:41:20.000Z
2022-03-12T00:56:56.000Z
src/cms/views/push_notifications/push_notification_sender.py
mckinly/cms-django
c9995a3bfab6ee2d02f2406a7f83cf91b7ccfcca
[ "Apache-2.0" ]
null
null
null
""" Module for sending Push Notifications """ import logging import requests from django.conf import settings from ...models import PushNotificationTranslation from ...models import Region from ...constants import push_notifications as pnt_const logger = logging.getLogger(__name__) # pylint: disable=too-few-public...
34.391608
110
0.610207
543
4,918
5.355433
0.300184
0.126547
0.048143
0.022696
0.129986
0.082531
0.021321
0
0
0
0
0.001458
0.302765
4,918
142
111
34.633803
0.846603
0.242375
0
0.117647
0
0
0.107421
0.021369
0
0
0
0
0
1
0.070588
false
0
0.070588
0
0.247059
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
8a5fbb70b61ec5fc6c7b862f0da3b78b40dc8aa0
984
py
Python
tests/functional/index/create/test_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/functional/index/create/test_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/functional/index/create/test_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: functional.index.create.03 # title: CREATE ASC INDEX # decription: CREATE ASC INDEX # # Dependencies: # CREATE DATABASE # CREATE TABLE # SHOW INDEX # tracker_id: # min_versions: [] # versions: 1.0 # qm...
23.428571
70
0.654472
139
984
4.374101
0.381295
0.039474
0.069079
0.039474
0
0
0
0
0
0
0
0.03836
0.231707
984
41
71
24
0.765873
0.379065
0
0
0
0
0.183502
0
0
0
0
0
0.066667
1
0.066667
false
0
0.133333
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a6044d55abd530531d11b4f87fb12061cb65199
370
py
Python
app/logic/httpcommon/Page.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
10
2017-01-13T06:28:04.000Z
2020-11-18T13:00:26.000Z
app/logic/httpcommon/Page.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
null
null
null
app/logic/httpcommon/Page.py
imvu/bluesteel
ab52133249a693b3cd2d8593c5d47408a3b0fce6
[ "MIT" ]
2
2018-03-29T14:10:53.000Z
2019-11-20T08:21:57.000Z
""" Page object file """ class Page(): """ Page object, it contains information about the pare we are refering, index, items per page, etc. """ page_index = 0 items_per_page = 0 def __init__(self, items_per_page, page_index): """ Creates the page """ self.page_index = int(page_index) ...
28.461538
108
0.648649
53
370
4.226415
0.433962
0.178571
0.267857
0.142857
0
0
0
0
0
0
0
0.007117
0.240541
370
12
109
30.833333
0.790036
0.356757
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
8a60852354e6415290eaf2e5371028a21ee46376
1,004
py
Python
models/AI-Model-Zoo/VAI-1.3-Model-Zoo-Code/PyTorch/pt_personreid-res18_market1501_176_80_1.1G_1.3/code/core/data_manager.py
guochunhe/Vitis-AI
e86b6efae11f8703ee647e4a99004dc980b84989
[ "Apache-2.0" ]
1
2020-12-18T14:49:19.000Z
2020-12-18T14:49:19.000Z
models/AI-Model-Zoo/VAI-1.3-Model-Zoo-Code/PyTorch/pt_personreid-res50_market1501_256_128_5.4G_1.3/code/core/data_manager.py
guochunhe/Vitis-AI
e86b6efae11f8703ee647e4a99004dc980b84989
[ "Apache-2.0" ]
null
null
null
models/AI-Model-Zoo/VAI-1.3-Model-Zoo-Code/PyTorch/pt_personreid-res50_market1501_256_128_5.4G_1.3/code/core/data_manager.py
guochunhe/Vitis-AI
e86b6efae11f8703ee647e4a99004dc980b84989
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Xilinx Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
27.888889
74
0.737052
144
1,004
5.027778
0.645833
0.082873
0.035912
0.044199
0
0
0
0
0
0
0
0.029126
0.179283
1,004
35
75
28.685714
0.849515
0.545817
0
0
0
0
0.067873
0
0
0
0
0
0
1
0.142857
false
0
0.357143
0.071429
0.642857
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
1
0
1
0
0
2
8a61523d34a63b6c1b5541a6127f60a7a5d5ec7e
4,684
py
Python
PyBank/.ipynb_checkpoints/Pymain-checkpoint.py
yash5OG/PythonChallengeW3-Y5
4a20ea5bae2d88af5a7d56f43ddc63ac64eaee67
[ "MIT" ]
null
null
null
PyBank/.ipynb_checkpoints/Pymain-checkpoint.py
yash5OG/PythonChallengeW3-Y5
4a20ea5bae2d88af5a7d56f43ddc63ac64eaee67
[ "MIT" ]
null
null
null
PyBank/.ipynb_checkpoints/Pymain-checkpoint.py
yash5OG/PythonChallengeW3-Y5
4a20ea5bae2d88af5a7d56f43ddc63ac64eaee67
[ "MIT" ]
null
null
null
{ "cells": [ { "cell_type": "code", "execution_count": 64, "metadata": {}, "outputs": [], "source": [ "# Import libraries\n", "import os, csv" ] }, { "cell_type": "code", "execution_count": 65, "metadata": {}, "outputs": [], "source": [ "#variables for the script\n", ...
29.093168
104
0.51281
592
4,684
3.952703
0.256757
0.01453
0.035897
0.053846
0.230342
0.185897
0.142735
0.095727
0.02735
0
0
0.024327
0.254056
4,684
160
105
29.275
0.645392
0
0
0.20625
0
0.00625
0.599701
0.058497
0
0
0
0
0
1
0
true
0
0.0125
0
0.0125
0.075
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8a6266df7a1375925ee79de0d3567238f763ecfa
165
py
Python
xlib/api/win32/oleaut32/oleaut32.py
jkennedyvz/DeepFaceLive
274c20808da089eb7fc0fc0e8abe649379a29ffe
[ "MIT" ]
null
null
null
xlib/api/win32/oleaut32/oleaut32.py
jkennedyvz/DeepFaceLive
274c20808da089eb7fc0fc0e8abe649379a29ffe
[ "MIT" ]
null
null
null
xlib/api/win32/oleaut32/oleaut32.py
jkennedyvz/DeepFaceLive
274c20808da089eb7fc0fc0e8abe649379a29ffe
[ "MIT" ]
null
null
null
from ctypes import POINTER, Structure from ..wintypes import VARIANT, dll_import @dll_import('OleAut32') def VariantInit( pvarg : POINTER(VARIANT) ) -> None: ...
20.625
56
0.739394
20
165
6
0.65
0.15
0
0
0
0
0
0
0
0
0
0.014085
0.139394
165
7
57
23.571429
0.830986
0
0
0
0
0
0.048485
0
0
0
0
0
0
1
0.25
false
0
0.75
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
1
0
0
1
0
0
0
0
4
8a62e622419e3b5175ed6a324e076188b956be4c
2,313
py
Python
azure-devops/azext_devops/vstsCompressed/service_hooks/v4_0/models/__init__.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
null
null
null
azure-devops/azext_devops/vstsCompressed/service_hooks/v4_0/models/__init__.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
37
2020-04-27T07:45:19.000Z
2021-04-05T07:27:15.000Z
azure-devops/azext_devops/vstsCompressed/service_hooks/v4_0/models/__init__.py
vijayraavi/azure-devops-cli-extension
88f1420c5815cb09bea15b050f4c553e0f326dad
[ "MIT" ]
null
null
null
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
33.042857
94
0.685257
187
2,313
8.454545
0.368984
0.183428
0.293485
0
0
0
0
0
0
0
0
0
0.137051
2,313
69
95
33.521739
0.792084
0.233031
0
0
0
0
0.255379
0.047565
0
0
0
0
0
1
0
false
0
0.483333
0
0.483333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8a643abfeb244244f7979e846782a5b379e9f35e
935
py
Python
pizdyuk/pzd_logging.py
DeathAdder1999/Pizdyuk
3fd7c71508c79b36e3cc801d78cd1a87eee5aa0b
[ "Apache-2.0" ]
1
2021-05-06T20:23:08.000Z
2021-05-06T20:23:08.000Z
pizdyuk/pzd_logging.py
aufdnb/Pizdyuk
75096ffa54df831eb05360d7b39f49000d466f80
[ "Apache-2.0" ]
null
null
null
pizdyuk/pzd_logging.py
aufdnb/Pizdyuk
75096ffa54df831eb05360d7b39f49000d466f80
[ "Apache-2.0" ]
null
null
null
import datetime as date from pzd_utils import datetime_to_str class PizdyukLogger: __logger = None def __init__(self): global __logger if self.__logger: raise RuntimeError("Logger instance already exists") @staticmethod def get_logger(): global __logger ...
25.27027
66
0.632086
108
935
5.074074
0.37037
0.054745
0.175182
0.164234
0
0
0
0
0
0
0
0.00438
0.26738
935
37
67
25.27027
0.79562
0
0
0.076923
0
0
0.070513
0
0
0
0
0
0
1
0.269231
false
0
0.076923
0
0.461538
0.038462
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
8a64487109643353c0e84bbee6dfb1cf09044927
834
py
Python
beta_reconstruction/crystal_relations.py
LightForm-group/beta-reconstruction
67584f75ee08690226595c5f9dc75dfd164a11a0
[ "MIT" ]
null
null
null
beta_reconstruction/crystal_relations.py
LightForm-group/beta-reconstruction
67584f75ee08690226595c5f9dc75dfd164a11a0
[ "MIT" ]
1
2020-01-07T12:41:26.000Z
2020-01-07T12:50:40.000Z
beta_reconstruction/crystal_relations.py
LightForm-group/beta-reconstruction
67584f75ee08690226595c5f9dc75dfd164a11a0
[ "MIT" ]
null
null
null
import numpy as np from defdap.quat import Quat hex_syms = Quat.symEqv("hexagonal") # subset of hexagonal symmetries that give unique orientations when the # Burgers transformation is applied unq_hex_syms = [ hex_syms[0], hex_syms[5], hex_syms[4], hex_syms[2], hex_syms[10], hex_syms[11] ] cubi...
22.540541
71
0.689448
127
834
4.314961
0.448819
0.213504
0.051095
0.087591
0.277372
0.277372
0.277372
0.277372
0.277372
0.277372
0
0.058122
0.195444
834
36
72
23.166667
0.758569
0.256595
0
0
0
0
0.022801
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a64819227bba93979e4413095e01b50e7c00dec
13
py
Python
a2.py
Changhong-Jiang/test
b907b984cbd9703711f52c9f497cf36b5b4e8752
[ "MIT" ]
null
null
null
a2.py
Changhong-Jiang/test
b907b984cbd9703711f52c9f497cf36b5b4e8752
[ "MIT" ]
1
2020-02-28T08:15:58.000Z
2020-02-28T08:16:41.000Z
a2.py
Changhong-Jiang/test
b907b984cbd9703711f52c9f497cf36b5b4e8752
[ "MIT" ]
null
null
null
print('222')
6.5
12
0.615385
2
13
4
1
0
0
0
0
0
0
0
0
0
0
0.25
0.076923
13
1
13
13
0.416667
0
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
7
8a65b0ad04c9a2a75abc3c11ac9fc679788fe298
4,318
py
Python
app/api/v1/views/auth_views.py
emdeechege/Questionaire-API
1dd05dc25f96ea8ecdce82fe28449ea684991251
[ "MIT" ]
null
null
null
app/api/v1/views/auth_views.py
emdeechege/Questionaire-API
1dd05dc25f96ea8ecdce82fe28449ea684991251
[ "MIT" ]
20
2019-01-08T19:16:45.000Z
2019-08-22T10:21:43.000Z
app/api/v1/views/auth_views.py
emdeechege/Questioner-API
1dd05dc25f96ea8ecdce82fe28449ea684991251
[ "MIT" ]
1
2019-01-11T10:13:42.000Z
2019-01-11T10:13:42.000Z
from flask import jsonify, Blueprint, request, json, make_response from werkzeug.security import generate_password_hash, check_password_hash from datetime import datetime from ..utils.validators import Validation from ..models.auth_models import Users v1_auth_blueprint = Blueprint('auth', __name__, url_prefix='/api/v...
28.596026
90
0.568782
445
4,318
5.395506
0.2
0.097459
0.099958
0.14369
0.453978
0.371095
0.284465
0.187422
0.125781
0.125781
0
0.039275
0.310097
4,318
150
91
28.786667
0.7667
0.016443
0
0.484375
1
0
0.174262
0
0
0
0
0
0
1
0.015625
false
0.09375
0.039063
0
0.195313
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
8a66a4e65b6c15a92cb15d2436631fabac501551
4,314
py
Python
pint/testsuite/test_definitions.py
s-avni/pint
4e33d44437991bf7c5e30977643f42ebd6ed40da
[ "BSD-3-Clause" ]
null
null
null
pint/testsuite/test_definitions.py
s-avni/pint
4e33d44437991bf7c5e30977643f42ebd6ed40da
[ "BSD-3-Clause" ]
null
null
null
pint/testsuite/test_definitions.py
s-avni/pint
4e33d44437991bf7c5e30977643f42ebd6ed40da
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import division, unicode_literals, print_function, absolute_import from pint.util import (UnitsContainer) from pint.converters import (ScaleConverter, OffsetConverter) from pint.definitions import (Definition, PrefixDefinition, UnitDefinition, Dime...
44.474227
89
0.660176
477
4,314
5.878407
0.194969
0.171184
0.17689
0.098074
0.618759
0.502496
0.46505
0.429743
0.36234
0.322397
0
0.028338
0.206537
4,314
96
90
44.9375
0.790827
0.004868
0
0.35443
0
0
0.098112
0
0
0
0
0
0.683544
1
0.075949
false
0
0.063291
0
0.151899
0.012658
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
8a678b6dfe1f80688ee851169cd059181b03b309
5,922
py
Python
electrum/dnssec.py
Jesusown/electrum
0df05dd914c823acae1828cad3b20bdeb13150e9
[ "MIT" ]
5,905
2015-01-02T17:05:36.000Z
2022-03-29T07:28:29.000Z
electrum/dnssec.py
Jesusown/electrum
0df05dd914c823acae1828cad3b20bdeb13150e9
[ "MIT" ]
6,097
2015-01-01T21:20:25.000Z
2022-03-31T23:55:01.000Z
electrum/dnssec.py
Jesusown/electrum
0df05dd914c823acae1828cad3b20bdeb13150e9
[ "MIT" ]
2,202
2015-01-02T18:31:25.000Z
2022-03-28T15:35:03.000Z
#!/usr/bin/env python # # Electrum - lightweight Bitcoin client # Copyright (C) 2015 Thomas Voegtlin # # 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...
39.218543
418
0.700777
777
5,922
5.274131
0.365508
0.043924
0.050756
0.051
0.050756
0.015617
0.015617
0
0
0
0
0.035593
0.2077
5,922
150
419
39.48
0.837809
0.295002
0
0.141304
0
0.021739
0.224401
0.165577
0
0
0
0.006667
0.043478
1
0.032609
false
0
0.228261
0
0.293478
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
8a681bd50a01e317584f76158f59adbe05396fb6
61,870
py
Python
specs/d3d11.py
ds-hwang/apitrace
b74347ebae0d033a013c4de3efb0e9165e9cea8f
[ "MIT" ]
1
2017-06-07T15:28:36.000Z
2017-06-07T15:28:36.000Z
specs/d3d11.py
jciehl/apitrace
0e01acc36de14e9ca7c0ced258767ffb99ac96ea
[ "MIT" ]
null
null
null
specs/d3d11.py
jciehl/apitrace
0e01acc36de14e9ca7c0ced258767ffb99ac96ea
[ "MIT" ]
1
2021-05-21T18:27:29.000Z
2021-05-21T18:27:29.000Z
########################################################################## # # Copyright 2012 Jose Fonseca # All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without res...
50.016168
596
0.739227
5,939
61,870
7.334063
0.159286
0.037606
0.024336
0.019101
0.440526
0.327731
0.251578
0.217508
0.207177
0.190991
0
0.058657
0.107225
61,870
1,236
597
50.056634
0.729904
0.018846
0
0.214019
0
0
0.419811
0.220379
0
0
0
0
0
1
0
false
0.000935
0.002804
0
0.002804
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
8a682a5b6be55bf5cb429b4f53cde390f56c0458
1,244
py
Python
day08.py
Pil0u/adventofcode2020
97a6c291fc1653bcb1ea7abd7f38e71e2c0458f8
[ "MIT" ]
null
null
null
day08.py
Pil0u/adventofcode2020
97a6c291fc1653bcb1ea7abd7f38e71e2c0458f8
[ "MIT" ]
null
null
null
day08.py
Pil0u/adventofcode2020
97a6c291fc1653bcb1ea7abd7f38e71e2c0458f8
[ "MIT" ]
null
null
null
from copy import deepcopy def boot(seq): index = 0 played_indices = set() acc = 0 while True: if index == len(seq): return True, acc if index in played_indices: return False, acc played_indices.add(index) line = seq[index].split() op ...
19.4375
46
0.498392
151
1,244
3.960265
0.324503
0.046823
0.025084
0.033445
0.143813
0.073579
0
0
0
0
0
0.019815
0.391479
1,244
63
47
19.746032
0.770145
0.01045
0
0.142857
0
0
0.017101
0
0
0
0
0
0
1
0.071429
false
0
0.02381
0
0.190476
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
8a685db25a2acacd77798f8f41ad85739a6b001d
3,825
py
Python
train_fcn.py
onlyNata/segModel
7a823e096b3ed7f554a331c5fba39e24c9e0d8bf
[ "MIT" ]
3
2018-07-02T06:15:36.000Z
2019-06-10T06:26:18.000Z
train_fcn.py
onlyNata/segModel
7a823e096b3ed7f554a331c5fba39e24c9e0d8bf
[ "MIT" ]
null
null
null
train_fcn.py
onlyNata/segModel
7a823e096b3ed7f554a331c5fba39e24c9e0d8bf
[ "MIT" ]
1
2018-10-19T08:07:59.000Z
2018-10-19T08:07:59.000Z
# -*- coding: utf-8 -*- """ Created on Tue Jun 26 16:34:21 2018 @author: LiHongWang """ import os import tensorflow as tf from model import fcn_vgg from model import fcn_mobile from model import fcn_resnet_v2 from data import input_data slim = tf.contrib.slim def main(): num_classes...
34.151786
99
0.539608
427
3,825
4.576112
0.412178
0.036847
0.033265
0.027636
0.156602
0.144831
0.113613
0.076766
0.0348
0
0
0.038193
0.363399
3,825
112
100
34.151786
0.764271
0.152941
0
0
0
0
0.059769
0.015424
0
0
0
0
0
1
0.017857
false
0
0.107143
0
0.125
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
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
8a69c6a560d7f1d6a12a9bb69281971b56733693
1,637
py
Python
setup.py
xbabka01/filetype.py
faba42b86988bd21a50d5b20919ecff0c6a84957
[ "MIT" ]
null
null
null
setup.py
xbabka01/filetype.py
faba42b86988bd21a50d5b20919ecff0c6a84957
[ "MIT" ]
null
null
null
setup.py
xbabka01/filetype.py
faba42b86988bd21a50d5b20919ecff0c6a84957
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import codecs from setuptools import find_packages, setup setup( name='filetype', version='1.0.7', description='Infer file type and MIME type of any file/buffer. ' 'No external dependencies.', long_description=codecs.open('README.rst', 'r',...
38.069767
77
0.588882
167
1,637
5.724551
0.622754
0.099372
0.130753
0.135983
0.066946
0.066946
0.066946
0
0
0
0
0.013992
0.257789
1,637
42
78
38.97619
0.77284
0.025657
0
0
0
0
0.52919
0
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8a69d4b012c5607f3bca22996d7b21d1f2aed261
2,049
py
Python
demos/netmiko_textfsm.py
ryanaa08/NPA
45173efa60713858bb8b1d884fe12c50fe69920c
[ "BSD-Source-Code" ]
4
2019-01-15T16:15:26.000Z
2021-12-05T16:03:15.000Z
demos/netmiko_textfsm.py
krishnakadiyala/NPAcourse
74f097107839d990b44adcee69d4f949696a332c
[ "BSD-Source-Code" ]
null
null
null
demos/netmiko_textfsm.py
krishnakadiyala/NPAcourse
74f097107839d990b44adcee69d4f949696a332c
[ "BSD-Source-Code" ]
2
2019-07-04T16:38:19.000Z
2020-01-31T15:38:27.000Z
# make sure templates are present and netmiko knows about them # git clone https://github.com/networktocode/ntc-templates # export NET_TEXTFSM=/home/ntc/ntc-templates/templates/ # see https://github.com/networktocode/ntc-templates/tree/master/templates # for list of templates from netmiko import ConnectHandler import...
35.947368
420
0.660322
307
2,049
4.257329
0.387622
0.022953
0.036725
0.03443
0.309105
0.232594
0.145371
0.091813
0.091813
0.052028
0
0.032468
0.173255
2,049
56
421
36.589286
0.739079
0.499756
0
0.290323
0
0
0.068249
0
0
0
0
0
0
0
null
null
0.032258
0.064516
null
null
0.451613
0
0
0
null
0
0
0
0
0
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
1
0
2
8a69e368874ca389ea7a44e379f62b44b8a60c98
4,411
py
Python
iap/validate_jwt.py
spitfire55/python-docs-samples
b8fe0d1c5c9f7f5d27965fa3367117af7b1f0aed
[ "Apache-2.0" ]
4
2018-12-23T18:17:14.000Z
2020-01-05T19:13:58.000Z
iap/validate_jwt.py
spitfire55/python-docs-samples
b8fe0d1c5c9f7f5d27965fa3367117af7b1f0aed
[ "Apache-2.0" ]
16
2019-06-15T00:02:56.000Z
2021-03-25T23:22:38.000Z
iap/validate_jwt.py
spitfire55/python-docs-samples
b8fe0d1c5c9f7f5d27965fa3367117af7b1f0aed
[ "Apache-2.0" ]
4
2018-06-03T14:43:25.000Z
2019-11-24T04:05:18.000Z
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
38.692982
79
0.682838
620
4,411
4.691935
0.316129
0.037126
0.037126
0.020626
0.341354
0.314541
0.24407
0.236507
0.236507
0.236507
0
0.004148
0.234867
4,411
113
80
39.035398
0.857778
0.533893
0
0.139535
0
0
0.119209
0.019781
0
0
0
0
0
1
0.093023
false
0
0.046512
0
0.27907
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
8a6b4f25018fb455967003872eafa0810ca93675
1,995
py
Python
examples/calc.py
manatlan/htag
cf085077adf04bec8a2b059497efedb210c59936
[ "MIT" ]
1
2022-03-12T09:42:13.000Z
2022-03-12T09:42:13.000Z
examples/calc.py
manatlan/thag
0c57a103a8dbdbf9e1f09c759f1c35c1c3eff359
[ "MIT" ]
null
null
null
examples/calc.py
manatlan/thag
0c57a103a8dbdbf9e1f09c759f1c35c1c3eff359
[ "MIT" ]
null
null
null
import os,sys; sys.path.insert(0,os.path.dirname(os.path.dirname(__file__))) from htag import Tag """ This example show you how to make a "Calc App" (with physical buttons + keyboard events) There is no work for rendering the layout ;-) Can't be simpler ! """ class Calc(Tag.div): statics=[Tag.H.style(""" .myc...
28.913043
96
0.543358
246
1,995
4.341463
0.487805
0.052434
0.044944
0.039326
0.08427
0
0
0
0
0
0
0.015852
0.241103
1,995
68
97
29.338235
0.689564
0.214536
0
0.131579
0
0
0.132616
0.019355
0
0
0
0
0
1
0.131579
false
0
0.078947
0
0.263158
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
8a6c2e5a6d6baef647e0e3b1e7b605691b398cfe
188
py
Python
res/example1.py
tghira16/Giraphics
74265c4c0220c677e0fa3e5e65fd0b7087401106
[ "MIT" ]
1
2021-03-24T10:09:57.000Z
2021-03-24T10:09:57.000Z
res/example1.py
tghira16/Giraphics
74265c4c0220c677e0fa3e5e65fd0b7087401106
[ "MIT" ]
null
null
null
res/example1.py
tghira16/Giraphics
74265c4c0220c677e0fa3e5e65fd0b7087401106
[ "MIT" ]
null
null
null
from giraphics.graphing.graph import Graph def func(x): return (x-3)*(x+2)*x*0.2 g = Graph(800,600,8,6, 'example1.svg') g.bg() g.grid() g.axes() g.graph(func) g.save() g.display()
12.533333
42
0.632979
38
188
3.131579
0.631579
0.10084
0
0
0
0
0
0
0
0
0
0.080247
0.138298
188
15
43
12.533333
0.654321
0
0
0
0
0
0.063492
0
0
0
0
0
0
1
0.1
false
0
0.1
0.1
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
8a6c4e202130d51c730ab01bd3f2f21e5ec32862
758
py
Python
tools/data.py
seanys/2D-Irregular-Packing-Algorithm
cc10edff2bc2631fcbcb47acf7bb3215e5c5023c
[ "MIT" ]
29
2020-02-07T06:41:25.000Z
2022-03-16T18:04:07.000Z
tools/data.py
seanys/2D-Irregular-Packing-Algorithm
cc10edff2bc2631fcbcb47acf7bb3215e5c5023c
[ "MIT" ]
6
2020-04-27T01:36:27.000Z
2022-01-31T11:59:05.000Z
tools/data.py
seanys/2D-Irregular-Packing-Algorithm
cc10edff2bc2631fcbcb47acf7bb3215e5c5023c
[ "MIT" ]
12
2020-05-05T05:34:06.000Z
2022-03-26T07:32:46.000Z
from tools.geofunc import GeoFunc import pandas as pd import json def getData(index): '''报错数据集有(空心):han,jakobs1,jakobs2 ''' '''形状过多暂时未处理:shapes、shirt、swim、trousers''' name=["ga","albano","blaz1","blaz2","dighe1","dighe2","fu","han","jakobs1","jakobs2","mao","marques","shapes","shirts","swim","trousers"] ...
36.095238
141
0.60686
110
758
4.172727
0.581818
0.026144
0.074074
0.043573
0
0
0
0
0
0
0
0.063291
0.166227
758
20
142
37.9
0.662975
0.039578
0
0
0
0
0.170472
0
0
0
0
0
0
1
0.0625
false
0
0.1875
0
0.3125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a6c803544f7e0d285bc37ff4aefd197349a5940
456
py
Python
src/trw/reporting/__init__.py
civodlu/trw
b9a1cf045f61d6df9c65c014ef63b4048972dcdc
[ "MIT" ]
3
2019-07-04T01:20:41.000Z
2020-01-27T02:36:12.000Z
src/trw/reporting/__init__.py
civodlu/trw
b9a1cf045f61d6df9c65c014ef63b4048972dcdc
[ "MIT" ]
null
null
null
src/trw/reporting/__init__.py
civodlu/trw
b9a1cf045f61d6df9c65c014ef63b4048972dcdc
[ "MIT" ]
2
2020-10-19T13:46:06.000Z
2021-12-27T02:18:10.000Z
#from trw.utils import collect_hierarchical_module_name, collect_hierarchical_parameter_name, get_batch_n, to_value, \ # safe_lookup, len_batch from .export import as_image_ui8, as_rgb_image, export_image, export_sample, export_as_image from .table_sqlite import TableStream, SQLITE_TYPE_PATTERN, get_table_number_of_...
65.142857
118
0.875
65
456
5.646154
0.6
0.103542
0.098093
0
0
0
0
0
0
0
0
0.002387
0.08114
456
6
119
76
0.873508
0.313596
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
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
3
8a6d51f8a422fff8bc79749ffb6d71189dc006bc
2,509
py
Python
vframe_cli/commands/templates/image-mp.py
julescarbon/vframe
0798841fa9eb7e1252e4cdf71d68d991c26acab8
[ "MIT" ]
1
2021-05-15T11:06:39.000Z
2021-05-15T11:06:39.000Z
vframe_cli/commands/templates/image-mp.py
julescarbon/vframe
0798841fa9eb7e1252e4cdf71d68d991c26acab8
[ "MIT" ]
null
null
null
vframe_cli/commands/templates/image-mp.py
julescarbon/vframe
0798841fa9eb7e1252e4cdf71d68d991c26acab8
[ "MIT" ]
null
null
null
############################################################################# # # VFRAME # MIT License # Copyright (c) 2020 Adam Harvey and VFRAME # https://vframe.io # ############################################################################# import click @click.command('') @click.option('-i', '--input', 'opt_...
28.83908
94
0.610602
326
2,509
4.552147
0.432515
0.040431
0.016173
0.014825
0
0
0
0
0
0
0
0.009915
0.155839
2,509
87
94
28.83908
0.690746
0.209247
0
0
0
0
0.111296
0
0
0
0
0
0
1
0.046512
false
0.023256
0.348837
0
0.418605
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
8a6d637336ee5d703603ebc196b3672612c215ab
1,976
py
Python
src/learndash/api_resources/user.py
MarkMacDon/learndash-python
a3fbfc45567a524b80c732d735f2ae101119f2e4
[ "MIT" ]
null
null
null
src/learndash/api_resources/user.py
MarkMacDon/learndash-python
a3fbfc45567a524b80c732d735f2ae101119f2e4
[ "MIT" ]
1
2021-05-06T19:01:24.000Z
2021-05-06T19:01:24.000Z
src/learndash/api_resources/user.py
MarkMacDon/learndash-python
a3fbfc45567a524b80c732d735f2ae101119f2e4
[ "MIT" ]
2
2021-05-05T22:45:04.000Z
2021-07-24T08:47:02.000Z
import learndash from learndash.api_resources.abstract import ListableAPIResource from learndash.api_resources.abstract import RetrievableAPIResource from learndash.api_resources.abstract import UpdateableAPIResource from learndash.api_resources.abstract import NestedAPIResource from learndash.api_resources.typing imp...
35.927273
113
0.802632
212
1,976
7.334906
0.240566
0.075241
0.092605
0.144695
0.457235
0.395498
0.123473
0.123473
0.123473
0.123473
0
0
0.136134
1,976
54
114
36.592593
0.910955
0.117915
0
0.125
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.3125
0.1875
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
8a6dd286ad198b0a16465871a4cd84854d419ad0
1,824
py
Python
lib/galaxy/tool_util/deps/container_resolvers/__init__.py
sneumann/galaxy
f6011bab5b8adbabae4986a45849bb9158ffc8bb
[ "CC-BY-3.0" ]
1
2019-07-27T19:30:55.000Z
2019-07-27T19:30:55.000Z
lib/galaxy/tool_util/deps/container_resolvers/__init__.py
userssss/galaxy
9662164ad68b39adf5a5606a7aa8e388f6a79f1e
[ "CC-BY-3.0" ]
4
2021-02-08T20:28:34.000Z
2022-03-02T02:52:55.000Z
lib/galaxy/tool_util/deps/container_resolvers/__init__.py
userssss/galaxy
9662164ad68b39adf5a5606a7aa8e388f6a79f1e
[ "CC-BY-3.0" ]
1
2018-05-30T07:38:54.000Z
2018-05-30T07:38:54.000Z
"""The module defines the abstract interface for resolving container images for tool execution.""" from abc import ( ABCMeta, abstractmethod, abstractproperty, ) import six from galaxy.util.dictifiable import Dictifiable @six.python_2_unicode_compatible @six.add_metaclass(ABCMeta) class ContainerResolve...
33.777778
98
0.707237
215
1,824
5.75814
0.44186
0.033926
0.044426
0.043619
0.069467
0.069467
0.069467
0
0
0
0
0.000695
0.211075
1,824
53
99
34.415094
0.859625
0.354167
0
0
0
0
0.039091
0.023636
0
0
0
0
0
1
0.214286
false
0
0.107143
0.035714
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8a6e9d6c995b4c34ef5a6722c4973c2c7fb333f1
1,065
py
Python
projects/eyetracking/gen_adhd_sin.py
nirdslab/streaminghub
a0d9f5f8be0ee6f090bd2b48b9f596695497c2bf
[ "MIT" ]
null
null
null
projects/eyetracking/gen_adhd_sin.py
nirdslab/streaminghub
a0d9f5f8be0ee6f090bd2b48b9f596695497c2bf
[ "MIT" ]
null
null
null
projects/eyetracking/gen_adhd_sin.py
nirdslab/streaminghub
a0d9f5f8be0ee6f090bd2b48b9f596695497c2bf
[ "MIT" ]
1
2020-01-22T15:35:29.000Z
2020-01-22T15:35:29.000Z
#!/usr/bin/env python3 import glob import os import pandas as pd import dfs SRC_DIR = f"{dfs.get_data_dir()}/adhd_sin_orig" OUT_DIR = f"{dfs.get_data_dir()}/adhd_sin" if __name__ == '__main__': files = glob.glob(f"{SRC_DIR}/*.csv") file_names = list(map(os.path.basename, files)) for file_name in file_names: ...
35.5
107
0.613146
170
1,065
3.652941
0.482353
0.05153
0.022544
0.032206
0.077295
0.077295
0.077295
0.077295
0
0
0
0.01891
0.155869
1,065
29
108
36.724138
0.671858
0.117371
0
0
0
0
0.277481
0.11206
0
0
0
0
0
1
0
false
0
0.190476
0
0.190476
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a6f626dba5ce35c66724326d654b9ba19117497
4,322
py
Python
dataProcessing.py
TauferLab/PENGUIN
af789163078310f2504b8a0163df4395ccf119f1
[ "Apache-2.0" ]
null
null
null
dataProcessing.py
TauferLab/PENGUIN
af789163078310f2504b8a0163df4395ccf119f1
[ "Apache-2.0" ]
null
null
null
dataProcessing.py
TauferLab/PENGUIN
af789163078310f2504b8a0163df4395ccf119f1
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np import matplotlib.pyplot as plt import os import matplotlib.pyplot as plt import CurveFit import shutil #find all DIRECTORIES containing non-hidden files ending in FILENAME def getDataDirectories(DIRECTORY, FILENAME="valLoss.txt"): directories=[] for directory in os.scand...
38.936937
204
0.657103
601
4,322
4.703827
0.31614
0.027237
0.066148
0.045278
0.303856
0.259993
0.22179
0.22179
0.22179
0.22179
0
0.004846
0.236002
4,322
110
205
39.290909
0.851302
0.215178
0
0.246753
0
0.012987
0.110027
0
0
0
0
0
0
1
0.077922
false
0.012987
0.090909
0
0.272727
0.012987
0
0
0
null
0
0
0
0
0
0
0
0
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
8a6fea40902a5d1ec59a6cdd9117e96fcdef70a1
572
py
Python
algo_probs/newcoder/classic/nc52.py
Jackthebighead/recruiment-2022
a81007908e3c2f65a6be3ff2d62dfb92d0753b0d
[ "MIT" ]
null
null
null
algo_probs/newcoder/classic/nc52.py
Jackthebighead/recruiment-2022
a81007908e3c2f65a6be3ff2d62dfb92d0753b0d
[ "MIT" ]
null
null
null
algo_probs/newcoder/classic/nc52.py
Jackthebighead/recruiment-2022
a81007908e3c2f65a6be3ff2d62dfb92d0753b0d
[ "MIT" ]
null
null
null
# 题意:给出一个仅包含字符'(',')','{','}','['和']',的字符串,判断给出的字符串是否是合法的括号序列。括号必须以正确的顺序关闭,"()"和"()[]{}"都是合法的括号序列,但"(]"和"([)]"不合法。 # @param s string字符串 # @return bool布尔型 # class Solution: def isValid(self , s ): # write code here if not s: return True stack = [] dic = {'{':'}','[':']','(':')'} ...
30.105263
114
0.47028
62
572
4.33871
0.645161
0.037175
0
0
0
0
0
0
0
0
0
0.002632
0.335664
572
19
115
30.105263
0.705263
0.286713
0
0
0
0
0.014888
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
8a73038a9d54b6fdd609f321f9fbc694a2017b7b
2,385
py
Python
piecrust/processing/util.py
airbornemint/PieCrust2
bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb
[ "Apache-2.0" ]
null
null
null
piecrust/processing/util.py
airbornemint/PieCrust2
bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb
[ "Apache-2.0" ]
null
null
null
piecrust/processing/util.py
airbornemint/PieCrust2
bd8e44a1a3ba646a9ebfbb4d4f1fa01a1daa3beb
[ "Apache-2.0" ]
null
null
null
import os.path import time import logging import yaml from piecrust.processing.base import Processor logger = logging.getLogger(__name__) class _ConcatInfo(object): timestamp = 0 files = None delim = "\n" class ConcatProcessor(Processor): PROCESSOR_NAME = 'concat' def __init__(self): ...
28.392857
71
0.554717
288
2,385
4.458333
0.322917
0.063084
0.023364
0.024922
0.054517
0.024922
0
0
0
0
0
0.003127
0.32956
2,385
83
72
28.73494
0.799875
0
0
0.0625
0
0
0.060403
0
0
0
0
0
0
1
0.09375
false
0
0.078125
0.03125
0.359375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a7310d8abb463c70846c800ef296e8c1423ac2b
186
py
Python
src/events/cell_pressed.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
2
2021-09-09T14:03:40.000Z
2021-11-03T03:35:55.000Z
src/events/cell_pressed.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
null
null
null
src/events/cell_pressed.py
ArcosJuan/Get-out-of-my-fucking-maze
ca2cfeaaeecb6c6f583ad647d020f25176170805
[ "MIT" ]
null
null
null
from src.events import Event class CellPressed(Event): def __init__(self, position): self.position = position def get_position(self): return self.position
18.6
33
0.672043
22
186
5.454545
0.590909
0.3
0
0
0
0
0
0
0
0
0
0
0.252688
186
10
34
18.6
0.863309
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
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
0
1
0
0
0
1
0
0
0
4
8a73f2115b3d49a7048eebbbf6a7d009bf2bcb02
864
py
Python
TopQuarkAnalysis/TopJetCombination/python/TtSemiLepJetCombMaxSumPtWMass_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
TopQuarkAnalysis/TopJetCombination/python/TtSemiLepJetCombMaxSumPtWMass_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
TopQuarkAnalysis/TopJetCombination/python/TtSemiLepJetCombMaxSumPtWMass_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # # module to make the MaxSumPtWMass jet combination # findTtSemiLepJetCombMaxSumPtWMass = cms.EDProducer("TtSemiLepJetCombMaxSumPtWMass", ## jet input jets = cms.InputTag("selectedPatJets"), ## lepton input leps = cms.InputTag("selectedPatMuons"), ## ma...
36
83
0.706019
101
864
6.039604
0.653465
0.044262
0.062295
0
0
0
0
0
0
0
0
0.014472
0.200231
864
23
84
37.565217
0.868307
0.392361
0
0
0
0
0.174257
0.112871
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a746baf4af656a91220d07018cb78e6eb2e1b1f
119
py
Python
xortool/__init__.py
runapp/xortool
9dac27387e7883775936a31e67598eaba182e053
[ "MIT" ]
14
2017-06-14T06:10:07.000Z
2019-02-22T03:21:15.000Z
Cryptography/tools/xortool-master/xortool/__init__.py
rookie-12/My-Gray-Hacker-Resources
e9b10ac7b0e557a9e624a5a6e761f9af4488d777
[ "MIT" ]
1
2021-04-30T21:19:32.000Z
2021-04-30T21:19:32.000Z
Cryptography/tools/xortool-master/xortool/__init__.py
rookie-12/My-Gray-Hacker-Resources
e9b10ac7b0e557a9e624a5a6e761f9af4488d777
[ "MIT" ]
7
2015-10-01T09:47:05.000Z
2022-01-21T14:25:37.000Z
#!/usr/bin/env python #-*- coding:utf-8 -*- __all__ = ["args", "colors", "libcolors", "routine"] __version__ = "0.96"
19.833333
52
0.605042
15
119
4.266667
1
0
0
0
0
0
0
0
0
0
0
0.038462
0.12605
119
5
53
23.8
0.576923
0.336134
0
0
0
0
0.38961
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8a748a255fe78209cc5338aaab9ff134d24befab
1,134
py
Python
baopig/ressources/ressources.py
ChreSyr/baopig
6264ab9a851b1ed0a031292abe7f159a53b3fc5e
[ "MIT" ]
null
null
null
baopig/ressources/ressources.py
ChreSyr/baopig
6264ab9a851b1ed0a031292abe7f159a53b3fc5e
[ "MIT" ]
null
null
null
baopig/ressources/ressources.py
ChreSyr/baopig
6264ab9a851b1ed0a031292abe7f159a53b3fc5e
[ "MIT" ]
null
null
null
from baopig.pybao.objectutilities import Object from baopig.pybao.issomething import * class RessourcePack: def config(self, **kwargs): for name, value in kwargs.items(): self.__setattr__('_'+name, value) class FontsRessourcePack(RessourcePack): def __init__(self, file=None,...
19.894737
68
0.666667
120
1,134
6
0.358333
0.125
0.1
0.122222
0.075
0
0
0
0
0
0
0.016222
0.238977
1,134
56
69
20.25
0.818076
0.046737
0
0.129032
0
0
0.000929
0
0
0
0
0.017857
0.064516
1
0.129032
false
0
0.064516
0
0.451613
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
8a75b4a74e6ecd635d9404db9ea5df06d5114069
10,282
py
Python
bufr_extract_unique_stations.py
glamod/glamod-misc
4c8743dd3aa436377017c49bec990b11fe1c6f7d
[ "BSD-3-Clause" ]
null
null
null
bufr_extract_unique_stations.py
glamod/glamod-misc
4c8743dd3aa436377017c49bec990b11fe1c6f7d
[ "BSD-3-Clause" ]
16
2018-10-23T08:06:18.000Z
2018-10-30T10:20:01.000Z
bufr_extract_unique_stations.py
glamod/glamod-misc
4c8743dd3aa436377017c49bec990b11fe1c6f7d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python2.7 """ Extract unique set of station locations (and names) along with number of obs RJHD - Exeter - October 2017 """ # ECMWF import defaults import traceback import sys from eccodes import * # RJHD imports import cartopy import numpy as np import matplotlib as mpl mpl.use('Agg') import matplotli...
33.167742
184
0.540751
1,142
10,282
4.74606
0.283713
0.042066
0.012177
0.017712
0.240959
0.228967
0.192066
0.1869
0.1869
0.1869
0
0.025263
0.326298
10,282
309
185
33.275081
0.757182
0.15814
0
0.181287
0
0
0.080679
0.028656
0
0
0
0
0
0
null
null
0.005848
0.052632
null
null
0.017544
0
0
0
null
0
0
0
0
0
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
8a7777964dadf66bcb5c8207f5f26c1301e49cee
3,977
py
Python
libsaas/services/twilio/applications.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
155
2015-01-27T15:17:59.000Z
2022-02-20T00:14:08.000Z
libsaas/services/twilio/applications.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
14
2015-01-12T08:22:37.000Z
2021-06-16T19:49:31.000Z
libsaas/services/twilio/applications.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
43
2015-01-28T22:41:45.000Z
2021-09-21T04:44:26.000Z
from libsaas import http, parsers from libsaas.services import base from libsaas.services.twilio import resource class ApplicationsBase(resource.TwilioResource): path = 'Applications' class Application(ApplicationsBase): def create(self, *args, **kwargs): raise base.MethodNotSupported() class A...
28.007042
78
0.652753
458
3,977
5.648472
0.220524
0.027831
0.048705
0.0661
0.752223
0.734441
0.734441
0.730576
0.695787
0.67298
0
0.007187
0.265275
3,977
141
79
28.205674
0.878166
0.378175
0
0.68
0
0
0.024778
0.009818
0
0
0
0
0
1
0.24
false
0.04
0.06
0
0.6
0
0
0
0
null
0
0
0
0
1
1
1
0
1
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
6
8a78745915eb3a4aaf90865a024b4d8bafd46ca7
5,151
py
Python
research/gnn/sgcn/postprocess.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
1
2021-11-18T08:17:44.000Z
2021-11-18T08:17:44.000Z
research/gnn/sgcn/postprocess.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
null
null
null
research/gnn/sgcn/postprocess.py
leelige/mindspore
5199e05ba3888963473f2b07da3f7bca5b9ef6dc
[ "Apache-2.0" ]
2
2019-09-01T06:17:04.000Z
2019-10-04T08:39:45.000Z
# Copyright 2021 Huawei Technologies Co., Ltd # # 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 a...
48.140187
117
0.644729
685
5,151
4.674453
0.340146
0.033729
0.06371
0.016864
0.138663
0.094316
0.078701
0.063086
0.063086
0.042473
0
0.021423
0.211609
5,151
106
118
48.59434
0.767052
0.230052
0
0.03125
0
0
0.214512
0.037995
0
0
0
0
0
1
0.046875
false
0
0.078125
0
0.15625
0.078125
0
0
0
null
0
0
0
0
0
0
0
0
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
8a78d7cdf72b62f6c5c9341d633e72ed6d4ea01c
4,001
py
Python
pykeops/common/get_options.py
dvolgyes/keops
58b2c5f7822a7468a6da2ce439939e7dad04d7f3
[ "MIT" ]
1
2020-09-29T13:21:30.000Z
2020-09-29T13:21:30.000Z
pykeops/common/get_options.py
dvolgyes/keops
58b2c5f7822a7468a6da2ce439939e7dad04d7f3
[ "MIT" ]
null
null
null
pykeops/common/get_options.py
dvolgyes/keops
58b2c5f7822a7468a6da2ce439939e7dad04d7f3
[ "MIT" ]
null
null
null
import re import numpy as np from collections import OrderedDict import pykeops import pykeops.config ############################################################ # define backend ############################################################ class SetBackend(): """ This class is used to centralized the op...
38.84466
125
0.59935
476
4,001
4.890756
0.260504
0.056701
0.039519
0.044674
0.292096
0.243127
0.213918
0.166667
0.097079
0.097079
0
0.014972
0.282179
4,001
102
126
39.22549
0.795613
0.227443
0
0.133333
0
0
0.091419
0
0
0
0
0
0
1
0.1
false
0
0.116667
0.033333
0.466667
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
8a78e9f69beda0a9b40161770e8196cc19774191
4,306
py
Python
prepare_features_vc.py
tkm2261/dnn-voice-changer
63a4ca0b2d8a33a26fc5aaec168180152df1b429
[ "MIT" ]
13
2018-03-09T07:56:50.000Z
2022-03-26T12:23:22.000Z
prepare_features_vc.py
tkm2261/dnn-voice-changer
63a4ca0b2d8a33a26fc5aaec168180152df1b429
[ "MIT" ]
null
null
null
prepare_features_vc.py
tkm2261/dnn-voice-changer
63a4ca0b2d8a33a26fc5aaec168180152df1b429
[ "MIT" ]
2
2018-06-16T03:44:56.000Z
2021-04-06T17:32:38.000Z
"""Prepare acoustic features for one-to-one voice conversion. usage: prepare_features_vc.py [options] <DATA_ROOT> <source_speaker> <target_speaker> options: --max_files=<N> Max num files to be collected. [default: 100] --dst_dir=<d> Destination directory [default: data/cmu_arctic_vc]. --ov...
35.883333
86
0.656061
567
4,306
4.781305
0.340388
0.029509
0.018443
0.023239
0.101807
0.019181
0
0
0
0
0
0.012154
0.235718
4,306
119
87
36.184874
0.811607
0.171621
0
0.025641
0
0
0.072435
0
0
0
0
0
0
1
0.025641
false
0
0.205128
0
0.25641
0.102564
0
0
0
null
0
0
0
0
0
0
0
0
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
8a7905cf7b3fc947d0fefe5c680371a050d82807
1,855
py
Python
lib/tests/streamlit/pydeck_test.py
zgtz/streamlit
be797682394955ef2b94a5f7641b6f9d8fd1dbfc
[ "Apache-2.0" ]
1
2022-01-19T10:48:49.000Z
2022-01-19T10:48:49.000Z
lib/tests/streamlit/pydeck_test.py
zgtz/streamlit
be797682394955ef2b94a5f7641b6f9d8fd1dbfc
[ "Apache-2.0" ]
52
2021-10-04T21:52:48.000Z
2021-12-29T02:18:44.000Z
lib/tests/streamlit/pydeck_test.py
zgtz/streamlit
be797682394955ef2b94a5f7641b6f9d8fd1dbfc
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2021 Streamlit Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
30.409836
75
0.618329
247
1,855
4.526316
0.489879
0.053667
0.044723
0.067084
0.192308
0.161002
0.161002
0.161002
0.161002
0.161002
0
0.029477
0.268464
1,855
60
76
30.916667
0.794399
0.338005
0
0.121212
0
0
0.06971
0
0
0
0
0
0.090909
1
0.060606
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a790773c525636d7fecb88a7d84df906ba09ba6
40,698
py
Python
sdks/python/apache_beam/io/gcp/bigquery_tools.py
Doctusoft/beam
91d59e78ffec3771a1d646c4e320fff571393829
[ "Apache-2.0" ]
null
null
null
sdks/python/apache_beam/io/gcp/bigquery_tools.py
Doctusoft/beam
91d59e78ffec3771a1d646c4e320fff571393829
[ "Apache-2.0" ]
1
2022-02-10T06:56:11.000Z
2022-02-10T06:56:11.000Z
sdks/python/apache_beam/io/gcp/bigquery_tools.py
Doctusoft/beam
91d59e78ffec3771a1d646c4e320fff571393829
[ "Apache-2.0" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
39.095101
80
0.685832
5,124
40,698
5.263466
0.149688
0.027364
0.016611
0.01802
0.319355
0.278865
0.238747
0.221246
0.205451
0.17297
0
0.00557
0.236793
40,698
1,040
81
39.132692
0.862722
0.282373
0
0.331325
0
0
0.066047
0.004368
0
0
0
0.002885
0.001506
1
0.070783
false
0.004518
0.037651
0.003012
0.21988
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
8a790aaa3beecccbae1e5fe2d0bb1478dbadd597
1,841
py
Python
VENV/lib/python3.6/site-packages/PyInstaller/hooks/hook-PyQt5.py
workingyifei/display-pattern-generator
b27be84c6221fa93833f283109870737b05bfbf6
[ "MIT" ]
3
2018-11-27T06:30:23.000Z
2021-05-30T15:56:32.000Z
VENV/lib/python3.6/site-packages/PyInstaller/hooks/hook-PyQt5.py
workingyifei/display-pattern-generator
b27be84c6221fa93833f283109870737b05bfbf6
[ "MIT" ]
1
2018-11-15T02:00:31.000Z
2021-12-06T02:20:32.000Z
VENV/lib/python3.6/site-packages/PyInstaller/hooks/hook-PyQt5.py
workingyifei/display-pattern-generator
b27be84c6221fa93833f283109870737b05bfbf6
[ "MIT" ]
1
2020-11-06T18:46:35.000Z
2020-11-06T18:46:35.000Z
#----------------------------------------------------------------------------- # Copyright (c) 2005-2017, PyInstaller Development Team. # # Distributed under the terms of the GNU General Public License with exception # for distributing bootloader. # # The full license is in the file COPYING.txt, distributed with this s...
42.813953
90
0.669745
257
1,841
4.642023
0.455253
0.030176
0.022632
0.031852
0.043588
0.043588
0
0
0
0
0
0.014887
0.160782
1,841
42
91
43.833333
0.757282
0.501901
0
0
0
0
0.091111
0
0
0
0
0
0
1
0
false
0
0.294118
0
0.294118
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
8a7922d582e70ee076c3374be8cdb74d33423c9b
1,038
py
Python
tests/ast/nodes/test_from_node.py
upgradvisor/vyper
642884ea938a25793c1b2fac866e8458e63a7b49
[ "Apache-2.0" ]
1,471
2017-12-25T05:47:57.000Z
2019-11-19T07:47:53.000Z
tests/ast/nodes/test_from_node.py
upgradvisor/vyper
642884ea938a25793c1b2fac866e8458e63a7b49
[ "Apache-2.0" ]
915
2019-11-21T05:48:16.000Z
2022-03-31T23:51:03.000Z
tests/ast/nodes/test_from_node.py
upgradvisor/vyper
642884ea938a25793c1b2fac866e8458e63a7b49
[ "Apache-2.0" ]
321
2017-12-25T16:37:21.000Z
2019-11-15T17:44:06.000Z
from vyper import ast as vy_ast def test_output_class(): old_node = vy_ast.parse_to_ast("foo = 42") new_node = vy_ast.Int.from_node(old_node, value=666) assert isinstance(new_node, vy_ast.Int) def test_source(): old_node = vy_ast.parse_to_ast("foo = 42") new_node = vy_ast.Int.from_node(old_node...
25.95
65
0.719653
186
1,038
3.629032
0.198925
0.145185
0.146667
0.106667
0.561481
0.539259
0.539259
0.506667
0.506667
0.506667
0
0.037166
0.17052
1,038
39
66
26.615385
0.746806
0
0
0.375
0
0
0.032755
0
0
0
0
0
0.333333
1
0.208333
false
0
0.041667
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
1
0
0
0
0
0
0
0
1
8a79bd5eb2532e1ffdd3b87d6be696b8303afc7f
2,624
py
Python
generator/modules/opencv.py
dayta-ai/deepo
fa720e39052e63adfe0f2b9dbd8444a0d69c2540
[ "MIT" ]
1
2021-11-18T18:34:29.000Z
2021-11-18T18:34:29.000Z
generator/modules/opencv.py
dayta-ai/deepo
fa720e39052e63adfe0f2b9dbd8444a0d69c2540
[ "MIT" ]
null
null
null
generator/modules/opencv.py
dayta-ai/deepo
fa720e39052e63adfe0f2b9dbd8444a0d69c2540
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .__module__ import Module, dependency, source, version from .tools import Tools from .boost import Boost from .python import Python @dependency(Tools, Python, Boost) @source('git') @version('4.0.1') class Opencv(Module): def build(self): return r''' RUN ln -fs /usr/sh...
35.945205
100
0.463796
249
2,624
4.763052
0.497992
0.037943
0.029511
0.025295
0.06914
0.06914
0.06914
0.06914
0.06914
0
0
0.018256
0.436357
2,624
72
101
36.444444
0.783638
0.008003
0
0
0
0.044118
0.889658
0.105729
0
0
0
0
0
1
0.014706
false
0
0.058824
0.014706
0.102941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8a7a7334b3428135d28ee8a3da56e39eed250254
1,564
py
Python
day16/solve16.py
jmacarthur/aoc2017
2a3096aabf464ef52c05f9437498035cfb5ca1a6
[ "MIT" ]
null
null
null
day16/solve16.py
jmacarthur/aoc2017
2a3096aabf464ef52c05f9437498035cfb5ca1a6
[ "MIT" ]
null
null
null
day16/solve16.py
jmacarthur/aoc2017
2a3096aabf464ef52c05f9437498035cfb5ca1a6
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import copy stage_length = 16 stage = map(chr, range(ord('a'),ord('a')+stage_length)) def spin(amount): """To save time, this function isn't used except at the end. Normally, a counter marks the start of the stage and this changes instead. """ global stage stage = stag...
30.076923
101
0.621483
229
1,564
4.170306
0.375546
0.06911
0.058639
0.027225
0.05445
0
0
0
0
0
0
0.029826
0.228261
1,564
51
102
30.666667
0.761392
0.039003
0
0.052632
0
0
0.045052
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8a7abfc40ef422e33ab3c8284edc61617b59e3dc
1,165
py
Python
skimage/segmentation/tests/test_felzenszwalb.py
jaberg/scikits-image
2ab3e2dfb341189ef2ff9370c6cf3d33ef6ec88d
[ "BSD-3-Clause" ]
2
2020-02-17T18:54:33.000Z
2021-09-28T15:18:23.000Z
skimage/segmentation/tests/test_felzenszwalb.py
jaberg/scikits-image
2ab3e2dfb341189ef2ff9370c6cf3d33ef6ec88d
[ "BSD-3-Clause" ]
1
2020-03-30T12:31:55.000Z
2020-03-30T12:31:55.000Z
skimage/segmentation/tests/test_felzenszwalb.py
emmanuelle/scikit-image
eccc41907135cf81b99c4be18a480a9bc705485d
[ "BSD-3-Clause" ]
1
2019-12-20T19:19:59.000Z
2019-12-20T19:19:59.000Z
import numpy as np from numpy.testing import assert_equal, assert_array_equal from nose.tools import assert_greater from skimage.segmentation import felzenszwalb def test_grey(): # very weak tests. This algorithm is pretty unstable. img = np.zeros((20, 21)) img[:10, 10:] = 0.2 img[10:, :10] = 0.4 ...
29.125
73
0.628326
190
1,165
3.710526
0.342105
0.056738
0.059574
0.04539
0.479433
0.479433
0.348936
0.348936
0.348936
0.348936
0
0.092715
0.222318
1,165
39
74
29.871795
0.68543
0.156223
0
0.142857
0
0
0.008188
0
0
0
0
0
0.321429
1
0.071429
false
0
0.178571
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
8a7ac7f87e160e8f864dafce2acd68a6454b8a68
1,419
py
Python
tests/middleware/test_csrf_middleware.py
w3x10e8/core
d8f0ca29c2bd5e86d199391fa916ce2f5c9b0f49
[ "MIT" ]
null
null
null
tests/middleware/test_csrf_middleware.py
w3x10e8/core
d8f0ca29c2bd5e86d199391fa916ce2f5c9b0f49
[ "MIT" ]
null
null
null
tests/middleware/test_csrf_middleware.py
w3x10e8/core
d8f0ca29c2bd5e86d199391fa916ce2f5c9b0f49
[ "MIT" ]
null
null
null
from masonite.request import Request from masonite.view import View from masonite.auth.Csrf import Csrf from masonite.app import App from masonite.middleware import CsrfMiddleware from masonite.testsuite.TestSuite import generate_wsgi import pytest from masonite.exceptions import InvalidCSRFToken class TestCSRFMiddle...
36.384615
107
0.718816
170
1,419
5.817647
0.323529
0.100101
0.045501
0.044489
0.086957
0.086957
0.086957
0.086957
0
0
0
0
0.176885
1,419
38
108
37.342105
0.846747
0
0
0.233333
0
0
0.091614
0
0
0
0
0
0.066667
1
0.133333
false
0
0.266667
0
0.433333
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
8a7bd23662f4d2b0b0c83db0df08df0f16f7923c
690
py
Python
phoible/views.py
ltxom/phoible
7ce6f5e62d885f142dba61937d920e68fa7f9fca
[ "Apache-2.0" ]
31
2015-01-20T01:36:22.000Z
2022-03-11T16:47:30.000Z
phoible/views.py
ltxom/phoible
7ce6f5e62d885f142dba61937d920e68fa7f9fca
[ "Apache-2.0" ]
22
2015-03-09T11:11:31.000Z
2022-03-07T14:08:29.000Z
phoible/views.py
ltxom/phoible
7ce6f5e62d885f142dba61937d920e68fa7f9fca
[ "Apache-2.0" ]
12
2015-11-16T18:28:43.000Z
2021-05-20T21:55:49.000Z
from pyramid.view import view_config import os @view_config(route_name='faq', renderer='faq.mako') def faq_view(request): dir_path = os.path.dirname(__file__) faq_file = os.path.join(dir_path, 'static/faq_with_indexes.html') with open(faq_file, 'r') as f: faq_page = f.read() return {'content':...
32.857143
72
0.708696
98
690
4.693878
0.336735
0.06087
0.065217
0.082609
0.269565
0.269565
0.269565
0.152174
0
0
0
0
0.149275
690
20
73
34.5
0.783646
0
0
0.125
0
0
0.155072
0.073913
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a7c5a43d05f7336921551d124cf954c34bc06e5
46,013
py
Python
tests/restapi/test_routes.py
aiace9/aiida-core
09ac91654648adb684a58d5d2d7b1c11a503dae8
[ "MIT", "BSD-3-Clause" ]
null
null
null
tests/restapi/test_routes.py
aiace9/aiida-core
09ac91654648adb684a58d5d2d7b1c11a503dae8
[ "MIT", "BSD-3-Clause" ]
null
null
null
tests/restapi/test_routes.py
aiace9/aiida-core
09ac91654648adb684a58d5d2d7b1c11a503dae8
[ "MIT", "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### # Copyright (c), The AiiDA team. All rights reserved. # # This file is part of the AiiDA code. # # ...
40.186026
117
0.583878
5,197
46,013
4.981335
0.090437
0.021361
0.016224
0.021014
0.585522
0.554465
0.518812
0.472922
0.432401
0.410229
0
0.008314
0.283768
46,013
1,144
118
40.221154
0.777218
0.181949
0
0.330827
0
0.009023
0.193589
0.097403
0
0
0
0.001748
0.094737
1
0.103759
false
0.001504
0.02406
0.003008
0.141353
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
8a7d500dd98fa04ac32ae6b712ad22a261bd4d52
3,644
py
Python
processmonitor.py
yletallec/processmonitor
95db3416ec35fcb1325a1ac6c5a26807e4c3a474
[ "MIT" ]
null
null
null
processmonitor.py
yletallec/processmonitor
95db3416ec35fcb1325a1ac6c5a26807e4c3a474
[ "MIT" ]
null
null
null
processmonitor.py
yletallec/processmonitor
95db3416ec35fcb1325a1ac6c5a26807e4c3a474
[ "MIT" ]
null
null
null
"""Process Monitor Usage: processmonitor.py <process_name> <overall_duration> [<sampling_interval>] processmonitor.py -h|--help processmonitor.py -v|--version Options: <process_name> Process name argument. <overall_duration> Overall duration of the monitoring in seconds. <sampling_interval> Sam...
31.145299
94
0.630626
430
3,644
5.181395
0.304651
0.029623
0.020197
0.035009
0.113106
0.037702
0.037702
0.037702
0
0
0
0.005014
0.233809
3,644
116
95
31.413793
0.79298
0.118002
0
0.179775
0
0.011236
0.227627
0.046773
0
0
0
0
0
1
0.078652
false
0
0.11236
0
0.370787
0.134831
0
0
0
null
0
0
0
0
0
0
0
0
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
8a7d668b99ceea74e75c844a87347ac04ef02b71
6,740
py
Python
Projects/DeepLearningTechniques/MobileNet_v2/tiny_imagenet/data_loader.py
Tim232/Python-Things
05f0f373a4cf298e70d9668c88a6e3a9d1cd8146
[ "MIT" ]
2
2020-12-05T07:42:55.000Z
2021-01-06T23:23:18.000Z
Projects/DeepLearningTechniques/MobileNet_v2/tiny_imagenet/data_loader.py
Tim232/Python-Things
05f0f373a4cf298e70d9668c88a6e3a9d1cd8146
[ "MIT" ]
null
null
null
Projects/DeepLearningTechniques/MobileNet_v2/tiny_imagenet/data_loader.py
Tim232/Python-Things
05f0f373a4cf298e70d9668c88a6e3a9d1cd8146
[ "MIT" ]
null
null
null
import os import re import numpy as np from Projects.DeepLearningTechniques.MobileNet_v2.tiny_imagenet.constants import * class DataLoader: # todo train/test/validation => (클래스 당 500/50/50) def __init__(self): self.image_width = flags.FLAGS.image_width self.image_height = flags.FLAGS.image_he...
41.863354
145
0.616914
990
6,740
3.989899
0.162626
0.022785
0.038987
0.052911
0.622025
0.562532
0.506329
0.437722
0.398734
0.338987
0
0.034026
0.25
6,740
161
146
41.863354
0.747379
0.050593
0
0.294643
0
0
0.051732
0
0
0
0
0.006211
0
1
0.125
false
0
0.035714
0
0.241071
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
8a7d81f9fd3f30534398ff05abd7412a6f78b709
4,035
py
Python
MarkReport/MarkReport.py
dedukun/MarkReport
2d92c87a69db5868d14b7a59e815b9ee72d439f9
[ "MIT" ]
null
null
null
MarkReport/MarkReport.py
dedukun/MarkReport
2d92c87a69db5868d14b7a59e815b9ee72d439f9
[ "MIT" ]
null
null
null
MarkReport/MarkReport.py
dedukun/MarkReport
2d92c87a69db5868d14b7a59e815b9ee72d439f9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Command line flags import os import glob import re import pyinotify import subprocess from sys import stdout, stderr from time import time, sleep from tempfile import gettempdir from distutils.dir_util import copy_tree from shutil import copyfile from weasyprint import HTML import argparse p...
27.827586
105
0.662949
533
4,035
4.874296
0.35272
0.030793
0.024249
0.021555
0.092379
0.084681
0
0
0
0
0
0.002847
0.216605
4,035
144
106
28.020833
0.819045
0.034449
0
0.138614
0
0
0.164352
0
0
0
0
0
0
1
0.009901
false
0
0.148515
0
0.178218
0.009901
0
0
0
null
0
0
0
0
0
0
0
0
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
8a7e18d0d0b30bb03c5125997bb7d29ab2737184
902
py
Python
DFS/13023.py
kjh9267/BOJ_Python
b4d2ae09c252cc9280df93ccecbd07880947827e
[ "Apache-2.0" ]
null
null
null
DFS/13023.py
kjh9267/BOJ_Python
b4d2ae09c252cc9280df93ccecbd07880947827e
[ "Apache-2.0" ]
null
null
null
DFS/13023.py
kjh9267/BOJ_Python
b4d2ae09c252cc9280df93ccecbd07880947827e
[ "Apache-2.0" ]
null
null
null
# https://www.acmicpc.net/problem/13023 import sys sys.setrecursionlimit(999999999) def dfs_all(): is_possible = [False] for node in range(N): visited = [False for _ in range(N)] dfs(node, 0, visited, is_possible) if is_possible[0]: return 1 return 0 def dfs(cur, ...
19.191489
49
0.578714
124
902
4.008065
0.379032
0.120724
0.04829
0.044266
0.084507
0
0
0
0
0
0
0.03271
0.288248
902
46
50
19.608696
0.741433
0.04102
0
0.066667
0
0
0.012746
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.266667
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
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
8a7ecd71a92cf19cd5b6422ac30a671d4195653c
1,358
py
Python
experiments/bst/setup.py
bigchaindb/privacy-protocols
d220f642c7c056e5ec179b47a8d0863dbc373d9d
[ "CC-BY-4.0" ]
68
2017-08-02T14:22:59.000Z
2022-02-19T05:27:42.000Z
experiments/bst/setup.py
bigchaindb/privacy-protocols
d220f642c7c056e5ec179b47a8d0863dbc373d9d
[ "CC-BY-4.0" ]
6
2017-08-05T18:30:14.000Z
2017-08-22T19:54:53.000Z
experiments/bst/setup.py
bigchaindb/privacy-protocols
d220f642c7c056e5ec179b47a8d0863dbc373d9d
[ "CC-BY-4.0" ]
15
2017-08-22T16:04:26.000Z
2022-03-13T10:36:02.000Z
"""bst: BigchainDB Sharing Tools""" from setuptools import setup, find_packages install_requires = [ 'base58~=0.2.2', 'PyNaCl~=1.1.0', 'bigchaindb-driver', 'click==6.7', 'colorama', ] setup( name='bst', version='0.1.0', description='bst: BigchainDB Sharing Tools', long_descriptio...
26.115385
74
0.594993
141
1,358
5.659574
0.64539
0.056391
0.093985
0.097744
0
0
0
0
0
0
0
0.020937
0.261414
1,358
51
75
26.627451
0.774676
0.021355
0
0.047619
0
0
0.540438
0.016629
0
0
0
0
0
1
0
false
0
0.02381
0
0.02381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a7f754432204bffd274f53972f0d99bc17086e5
118
py
Python
polyaxon/db/admin/job_resources.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/db/admin/job_resources.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
polyaxon/db/admin/job_resources.py
elyase/polyaxon
1c19f059a010a6889e2b7ea340715b2bcfa382a0
[ "MIT" ]
null
null
null
from django.contrib import admin from db.models.job_resources import JobResources admin.site.register(JobResources)
19.666667
48
0.847458
16
118
6.1875
0.75
0
0
0
0
0
0
0
0
0
0
0
0.09322
118
5
49
23.6
0.925234
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
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
8a7f7c81cefa2649d2218e763e7fb484932406a9
8,498
py
Python
voting_ml/main.py
tommy-waltmann/voting-ml
327de4515d8f2f7b8e072833df20eca651621ea6
[ "BSD-3-Clause" ]
null
null
null
voting_ml/main.py
tommy-waltmann/voting-ml
327de4515d8f2f7b8e072833df20eca651621ea6
[ "BSD-3-Clause" ]
2
2021-04-20T19:04:36.000Z
2021-04-24T22:33:47.000Z
voting_ml/main.py
tommy-waltmann/voting-ml
327de4515d8f2f7b8e072833df20eca651621ea6
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import sklearn import subprocess from sklearn import model_selection, tree import data import feature_selection import model_sel import os import matplotlib.pyplot as plt import seaborn as sns def main(): #parameter space list_test_size = [0.1,0.15,0.2] # decide this list_ftsel_method...
47.741573
222
0.564603
997
8,498
4.469408
0.201605
0.029847
0.046903
0.061041
0.342011
0.278276
0.27693
0.236535
0.194345
0.194345
0
0.011119
0.333255
8,498
177
223
48.011299
0.775327
0.040833
0
0.117647
0
0.007353
0.151889
0.067288
0
0
0
0
0
1
0.022059
false
0
0.073529
0
0.110294
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
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
8a7f9273d28271b0f56005e762e91504d2293322
12,334
py
Python
src/the_tale/the_tale/game/heroes/tests/test_logic.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/heroes/tests/test_logic.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
null
null
null
src/the_tale/the_tale/game/heroes/tests/test_logic.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
null
null
null
import smart_imports smart_imports.all() class HeroDescriptionTests(utils_testcase.TestCase): def setUp(self): super().setUp() game_logic.create_test_map() account = self.accounts_factory.create_account(is_fast=True) self.storage = game_logic_storage.LogicStorage() se...
44.688406
137
0.652749
1,499
12,334
5.098065
0.12475
0.064774
0.040304
0.01675
0.654148
0.632426
0.587804
0.503402
0.474483
0.443339
0
0.012953
0.236339
12,334
275
138
44.850909
0.798386
0
0
0.328283
0
0
0.053191
0.018163
0
0
0
0
0.212121
1
0.126263
false
0
0.010101
0.005051
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
8a7fb03f3abaa9ff95210abc3bc840c8008d9076
41
py
Python
tinylinks/tests/test_app/models.py
brad/django-tinylinks
b3ae58ebe0d0292b7f618e9b0f1a08d2fb61b173
[ "MIT" ]
11
2016-11-27T15:46:42.000Z
2021-07-31T14:03:54.000Z
tinylinks/tests/test_app/models.py
brad/django-tinylinks
b3ae58ebe0d0292b7f618e9b0f1a08d2fb61b173
[ "MIT" ]
2
2016-12-27T19:53:59.000Z
2017-05-26T07:12:02.000Z
tinylinks/tests/test_app/models.py
brad/django-tinylinks
b3ae58ebe0d0292b7f618e9b0f1a08d2fb61b173
[ "MIT" ]
5
2015-02-01T01:10:31.000Z
2015-10-29T18:48:59.000Z
"""Dummy model needed for tests.""" pass
13.666667
35
0.682927
6
41
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.146341
41
2
36
20.5
0.8
0.707317
0
0
0
0
0
0
0
0
0
0
0
1
0
true
1
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
1
1
0
0
0
0
0
5
8a7fb88f2b8f8ab7d00332f23a58d29ccc1392ee
1,346
py
Python
postcipes/hydraulic_jump.py
timofeymukha/postcipes
f37b349038e26bb0295a2511295a46ef63fcd851
[ "MIT" ]
null
null
null
postcipes/hydraulic_jump.py
timofeymukha/postcipes
f37b349038e26bb0295a2511295a46ef63fcd851
[ "MIT" ]
null
null
null
postcipes/hydraulic_jump.py
timofeymukha/postcipes
f37b349038e26bb0295a2511295a46ef63fcd851
[ "MIT" ]
1
2019-03-20T22:39:55.000Z
2019-03-20T22:39:55.000Z
# This file is part of postcipes # (c) Timofey Mukha # The code is released under the MIT Licence. # See LICENCE.txt and the Legal section in the README for more information from __future__ import absolute_import from __future__ import division from __future__ import print_function from .postcipe import Postcipe impor...
33.65
81
0.653046
211
1,346
3.990521
0.412322
0.066508
0.057007
0.052257
0.114014
0.114014
0.114014
0
0
0
0
0.04116
0.205795
1,346
39
82
34.512821
0.746492
0.122585
0
0
0
0
0.060374
0
0
0
0
0
0
1
0.037037
false
0
0.296296
0
0.37037
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
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
8a80483513e593a3c49ee46795ac3b8d601f6b9a
416
py
Python
main/SimulationSettings/ScreenshotsSteppable/Simulation/screenshots_steppables.py
JulianoGianlupi/nh-cc3d-4x-base-tool
c0f4aceebd4c5bf3ec39e831ef851e419b161259
[ "CC0-1.0" ]
null
null
null
main/SimulationSettings/ScreenshotsSteppable/Simulation/screenshots_steppables.py
JulianoGianlupi/nh-cc3d-4x-base-tool
c0f4aceebd4c5bf3ec39e831ef851e419b161259
[ "CC0-1.0" ]
null
null
null
main/SimulationSettings/ScreenshotsSteppable/Simulation/screenshots_steppables.py
JulianoGianlupi/nh-cc3d-4x-base-tool
c0f4aceebd4c5bf3ec39e831ef851e419b161259
[ "CC0-1.0" ]
1
2021-02-26T21:50:29.000Z
2021-02-26T21:50:29.000Z
from cc3d.core.PySteppables import * from cc3d import CompuCellSetup from random import random class ScreenshotSteppable(SteppableBasePy): def __init__(self, frequency=10): SteppableBasePy.__init__(self, frequency) def step(self, mcs): if mcs in [3, 5, 19,20, 23, 29, 31]: self.req...
27.733333
93
0.6875
52
416
5.211538
0.673077
0.059041
0.125461
0
0
0
0
0
0
0
0
0.055901
0.225962
416
15
94
27.733333
0.785714
0
0
0
0
0
0.067146
0.067146
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
8a80b1c774bd44450fbb371648857468404e7e42
3,350
py
Python
aesara/gpuarray/optdb.py
anirudhacharya/aesara
cbf91122296b68ee2ad592b2312d56f6ff65ba53
[ "BSD-3-Clause" ]
1
2021-11-09T10:19:46.000Z
2021-11-09T10:19:46.000Z
aesara/gpuarray/optdb.py
anirudhacharya/aesara
cbf91122296b68ee2ad592b2312d56f6ff65ba53
[ "BSD-3-Clause" ]
null
null
null
aesara/gpuarray/optdb.py
anirudhacharya/aesara
cbf91122296b68ee2ad592b2312d56f6ff65ba53
[ "BSD-3-Clause" ]
null
null
null
from aesara.compile import optdb from aesara.graph.opt import GraphToGPULocalOptGroup, TopoOptimizer, local_optimizer from aesara.graph.optdb import ( EquilibriumDB, LocalGroupDB, OptimizationDatabase, SequenceDB, ) gpu_optimizer = EquilibriumDB() gpu_cut_copies = EquilibriumDB() # Not used for an Eq...
28.632479
90
0.711343
406
3,350
5.573892
0.349754
0.060097
0.045073
0.030491
0.201061
0.14008
0.14008
0.125497
0.125497
0.125497
0
0.007124
0.203881
3,350
116
91
28.87931
0.841395
0.223284
0
0.238806
0
0
0.083695
0.028425
0
0
0
0
0
1
0.104478
false
0
0.059701
0
0.283582
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
8a810acd6b334888a1432a3e590727946894d380
4,579
py
Python
jenkinsapi/node.py
imsardine/jenkinsapi
d4bfac62a4d01394ff41540c4d8d897ab566f4eb
[ "MIT" ]
null
null
null
jenkinsapi/node.py
imsardine/jenkinsapi
d4bfac62a4d01394ff41540c4d8d897ab566f4eb
[ "MIT" ]
null
null
null
jenkinsapi/node.py
imsardine/jenkinsapi
d4bfac62a4d01394ff41540c4d8d897ab566f4eb
[ "MIT" ]
null
null
null
""" Module for jenkinsapi Node class """ from jenkinsapi.jenkinsbase import JenkinsBase from jenkinsapi.custom_exceptions import PostRequired import logging try: from urllib import quote as urlquote except ImportError: # Python3 from urllib.parse import quote as urlquote log = logging.getLogger(__name__)...
37.227642
79
0.580913
466
4,579
5.575107
0.281116
0.036952
0.034642
0.017321
0.265974
0.208622
0.177059
0.177059
0.148576
0.110855
0
0.000331
0.340249
4,579
122
80
37.532787
0.859649
0.233675
0
0.144928
0
0
0.198838
0.017131
0
0
0
0
0.057971
1
0.144928
false
0
0.086957
0.086957
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
8a82d93e4ba8abbe55f44853090dbccbc8c6e819
48,277
py
Python
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/GenericHazards.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/GenericHazards.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
null
null
null
edexOsgi/com.raytheon.edex.plugin.gfe/utility/common_static/base/gfe/textproducts/templates/product/GenericHazards.py
srcarter3/awips2
37f31f5e88516b9fd576eaa49d43bfb762e1d174
[ "Apache-2.0" ]
1
2021-10-30T00:03:05.000Z
2021-10-30T00:03:05.000Z
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to non...
41.29769
151
0.53106
4,665
48,277
5.465166
0.18821
0.003138
0.008237
0.007688
0.223416
0.196038
0.167327
0.150971
0.134262
0.120455
0
0.009976
0.358432
48,277
1,168
152
41.333048
0.81316
0.306378
0
0.274096
0
0
0.101009
0.012153
0
0
0
0
0
0
null
null
0.003012
0.009036
null
null
0.02259
0
0
0
null
0
0
0
0
0
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
8a8396f2f3ab51a489f606b57146366f183507ea
14,346
py
Python
virtualscreening/vina/spark/buried_areas.py
rodrigofaccioli/drugdesign
de15880af361a010729b1f4fbc8a75a2b36688a6
[ "Apache-2.0" ]
3
2015-01-19T20:12:59.000Z
2019-02-21T18:43:04.000Z
virtualscreening/vina/spark/buried_areas.py
rodrigofaccioli/drugdesign
de15880af361a010729b1f4fbc8a75a2b36688a6
[ "Apache-2.0" ]
22
2015-01-05T16:48:54.000Z
2017-01-21T16:36:10.000Z
virtualscreening/vina/spark/buried_areas.py
rodrigofaccioli/drugdesign
de15880af361a010729b1f4fbc8a75a2b36688a6
[ "Apache-2.0" ]
11
2015-03-03T13:32:24.000Z
2020-04-03T11:22:24.000Z
from pyspark import SparkContext, SparkConf, SparkFiles from pyspark.sql import SQLContext, Row import ConfigParser as configparser from subprocess import Popen, PIPE from datetime import datetime from vina_utils import get_directory_complex_pdb_analysis, get_files_pdb, get_name_model_pdb, get_ligand_from_receptor_liga...
43.87156
253
0.748292
2,164
14,346
4.58549
0.123845
0.061473
0.020155
0.023985
0.424972
0.3636
0.293964
0.249723
0.217878
0.201552
0
0.005366
0.116688
14,346
326
254
44.006135
0.777699
0.20856
0
0.149533
0
0
0.106228
0.037034
0.009346
0
0
0
0
1
0.051402
false
0
0.051402
0
0.126168
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
8a84ca10fd051b6b0bb8be0088246cc71958f9d5
12,062
py
Python
oase-root/web_app/views/system/mail/action_mail.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
9
2020-03-25T07:51:47.000Z
2022-02-07T00:07:28.000Z
oase-root/web_app/views/system/mail/action_mail.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
1,164
2021-01-28T23:16:11.000Z
2022-03-28T07:23:10.000Z
oase-root/web_app/views/system/mail/action_mail.py
Masa-Yasuno/oase
90f3cee73c0d9b3153808a4a72bd19984a4873f9
[ "Apache-2.0" ]
25
2020-03-17T06:48:30.000Z
2022-02-15T15:13:44.000Z
# Copyright 2019 NEC Corporation # # 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 wri...
35.372434
122
0.596419
1,433
12,062
4.750174
0.193999
0.029382
0.035258
0.044954
0.418834
0.367563
0.327163
0.276627
0.240341
0.20332
0
0.026942
0.286105
12,062
340
123
35.476471
0.763558
0.072293
0
0.212963
0
0
0.122767
0.004443
0
0
0
0.002941
0
1
0.055556
false
0.060185
0.074074
0.023148
0.180556
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
8a85a524c6381c0f4e277dd284d072a8b41daaac
3,427
py
Python
queue/animal_queue.py
cozek/code-practice
bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80
[ "MIT" ]
null
null
null
queue/animal_queue.py
cozek/code-practice
bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80
[ "MIT" ]
null
null
null
queue/animal_queue.py
cozek/code-practice
bf3098dbeb502cab2e22ce7ea73c2aa05a3caf80
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from typing import Any, Union class Animal: def __init__(self, name: str) -> None: self.name = name def set_order(self, order: int) -> None: self.order = order def peek_order(self) -> int: return self.order def __str__(self) -> str: return f"{...
24.133803
79
0.541873
424
3,427
4.216981
0.188679
0.044743
0.036913
0.028523
0.139821
0.060403
0.04698
0.04698
0.04698
0.04698
0
0.003915
0.329151
3,427
141
80
24.304965
0.773815
0.012547
0
0.214953
0
0
0.046718
0.006801
0
0
0
0
0
1
0.186916
false
0
0.009346
0.046729
0.383178
0.037383
0
0
0
null
0
0
0
0
0
0
0
0
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
8a85f7a1837485544e723eea52a8cc5f16480c6c
6,816
py
Python
ophyd/areadetector/detectors.py
NSLS-II/ophyd
d5fc722eef4d3d83845b1d523004302ec3aadb78
[ "BSD-3-Clause" ]
16
2015-05-20T20:48:25.000Z
2019-04-24T21:12:59.000Z
ophyd/areadetector/detectors.py
NSLS-II/ophyd
d5fc722eef4d3d83845b1d523004302ec3aadb78
[ "BSD-3-Clause" ]
594
2015-01-05T21:55:21.000Z
2019-05-10T02:05:24.000Z
ophyd/areadetector/detectors.py
NSLS-II/ophyd
d5fc722eef4d3d83845b1d523004302ec3aadb78
[ "BSD-3-Clause" ]
34
2015-01-23T19:50:58.000Z
2019-05-07T05:38:57.000Z
# vi: ts=4 sw=4 '''AreaDetector Devices `areaDetector`_ detector abstractions .. _areaDetector: https://areadetector.github.io/master/index.html ''' import warnings from .base import (ADBase, ADComponent as C) from . import cam __all__ = ['DetectorBase', 'AreaDetector', 'AdscDetector', ...
27.264
81
0.639965
689
6,816
6.172714
0.330914
0.025394
0.044439
0.06466
0.063485
0.05549
0.05549
0.042323
0.021162
0.021162
0
0.009916
0.245452
6,816
249
82
27.373494
0.817033
0.165346
0
0.042254
0
0
0.184794
0.004001
0
0
0
0
0
1
0.028169
false
0
0.021127
0
0.640845
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8a86ee599744eb8c45294e523b8309fa29706768
261
py
Python
python/EXERCICIO 96 - FUNCAO QUE CALCULA A AREA.py
debor4h/exerciciosPython
a18d88c6e98bc49005bfcb8badeb712007c16d69
[ "MIT" ]
1
2022-03-15T02:25:17.000Z
2022-03-15T02:25:17.000Z
python/EXERCICIO 96 - FUNCAO QUE CALCULA A AREA.py
debor4h/exerciciosPython
a18d88c6e98bc49005bfcb8badeb712007c16d69
[ "MIT" ]
null
null
null
python/EXERCICIO 96 - FUNCAO QUE CALCULA A AREA.py
debor4h/exerciciosPython
a18d88c6e98bc49005bfcb8badeb712007c16d69
[ "MIT" ]
null
null
null
def area(msg):#declaracao da funcao com o parametro msg print(msg)#aqui msg e a area print('Controle de Terrenos') print('-' * 20) l = float(input('Largura (m): ')) c = float(input('Comprimento (m): ')) area(f'A área do seu terreno {l}X{c} é de {l*c}m².')
26.1
55
0.64751
48
261
3.520833
0.666667
0.118343
0
0
0
0
0
0
0
0
0
0.013761
0.164751
261
9
56
29
0.761468
0.218391
0
0
0
0.142857
0.465347
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.428571
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
1
0
2
8a8756b0429224a6d5fdf07d18eb3a9eed2f7a05
2,373
py
Python
auth_iam/dashboard/auth/routes.py
santiher/dash-auth-example
9854bfe953f86a0c7ed97660da30b7b7d1d3069f
[ "MIT" ]
11
2020-03-05T18:50:07.000Z
2022-02-16T19:45:35.000Z
auth_iam/dashboard/auth/routes.py
santiher/dash-auth-example
9854bfe953f86a0c7ed97660da30b7b7d1d3069f
[ "MIT" ]
null
null
null
auth_iam/dashboard/auth/routes.py
santiher/dash-auth-example
9854bfe953f86a0c7ed97660da30b7b7d1d3069f
[ "MIT" ]
null
null
null
import os from functools import wraps from os.path import join as join_path from dash import Dash from flask import make_response, render_template_string, redirect excluded_resources_endpoints = ( 'static', '_dash_assets.static', '/_favicon.ico', '/login', '/logout', '/_user', '/auth') def add_routes(app,...
29.296296
77
0.634218
268
2,373
5.447761
0.391791
0.012329
0.053425
0.026712
0.038356
0
0
0
0
0
0
0.001702
0.257059
2,373
80
78
29.6625
0.826432
0.268858
0
0.119048
0
0
0.072605
0
0
0
0
0
0
1
0.166667
false
0
0.119048
0
0.47619
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
8a8789db154d951e04619fad043530fa0eb6fd39
935
py
Python
amazon/model_api/migrations/0005_remove_order_datetimecreated_alter_order__id_and_more.py
gabrielkarras/SOEN341
da7241abd894bda4d5f7465b3de70e51afacf3f5
[ "MIT" ]
3
2022-01-16T19:12:37.000Z
2022-01-25T18:50:15.000Z
amazon/model_api/migrations/0005_remove_order_datetimecreated_alter_order__id_and_more.py
gabrielkarras/SOEN341
da7241abd894bda4d5f7465b3de70e51afacf3f5
[ "MIT" ]
83
2022-01-16T18:57:50.000Z
2022-03-30T00:44:35.000Z
amazon/model_api/migrations/0005_remove_order_datetimecreated_alter_order__id_and_more.py
gabrielkarras/SOEN341
da7241abd894bda4d5f7465b3de70e51afacf3f5
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-04-07 01:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('model_api', '0004_remove_order_created_remove_order_id_and_more'), ] operations = [ migrations.RemoveField( model_name='order', ...
28.333333
86
0.594652
93
935
5.784946
0.526882
0.066915
0.139405
0.16171
0.416357
0.416357
0.416357
0.416357
0.416357
0.416357
0
0.031818
0.294118
935
32
87
29.21875
0.783333
0.048128
0
0.576923
1
0
0.138514
0.056306
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8a88b11de563042688caafdaffa71f1207edee67
8,082
py
Python
items/migrations/0001_initial.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
1
2020-05-06T16:59:47.000Z
2020-05-06T16:59:47.000Z
items/migrations/0001_initial.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
null
null
null
items/migrations/0001_initial.py
tony-joseph/livre
3a6a851ed58029d5d14edde647b15ed22d65f24b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-21 12:22 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations....
56.915493
191
0.614081
847
8,082
5.670602
0.136954
0.033313
0.055382
0.087029
0.860712
0.854466
0.804497
0.797835
0.752446
0.752446
0
0.013031
0.240411
8,082
141
192
57.319149
0.769344
0.008043
0
0.661654
1
0
0.126029
0.008735
0
0
0
0
0
1
0
false
0
0.030075
0
0.06015
0
0
0
0
null
0
0
0
1
1
1
1
1
1
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
7
8a894222f80aae1db1ccdaaadeb6288f55d6b62f
267
py
Python
compliance_suite/exceptions/user_config_exception.py
alextsaihi/rnaget-compliance-suite
a3accae431b9e4f7791dfa5ae867e70da2dd6278
[ "Apache-2.0" ]
1
2019-09-18T14:38:55.000Z
2019-09-18T14:38:55.000Z
compliance_suite/exceptions/user_config_exception.py
alextsaihi/rnaget-compliance-suite
a3accae431b9e4f7791dfa5ae867e70da2dd6278
[ "Apache-2.0" ]
14
2019-05-24T18:55:23.000Z
2022-02-25T16:56:28.000Z
compliance_suite/exceptions/user_config_exception.py
alextsaihi/rnaget-compliance-suite
a3accae431b9e4f7791dfa5ae867e70da2dd6278
[ "Apache-2.0" ]
8
2019-04-08T14:48:35.000Z
2022-02-04T16:59:59.000Z
# -*- coding: utf-8 -*- """Module compliance_suite.exceptions.user_config_exception.py This module contains class definition for user config file exceptions. """ class UserConfigException(Exception): """Exception for user config file-related errors""" pass
26.7
70
0.752809
32
267
6.1875
0.65625
0.151515
0.131313
0.171717
0
0
0
0
0
0
0
0.004348
0.138577
267
10
71
26.7
0.856522
0.749064
0
0
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
8a8988f59a7e29aadd9cfcc08e9db137ae34f210
3,677
py
Python
2021/day15/aoc-2021-d15.py
bbornstein/aoc
624dacfe591a46aa34e3071b894076cf60091e7d
[ "MIT" ]
null
null
null
2021/day15/aoc-2021-d15.py
bbornstein/aoc
624dacfe591a46aa34e3071b894076cf60091e7d
[ "MIT" ]
null
null
null
2021/day15/aoc-2021-d15.py
bbornstein/aoc
624dacfe591a46aa34e3071b894076cf60091e7d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Advent of Code 2021, Day 15 (https://adventofcode.com/2021/day/15) # Author: Ben Bornstein import collections import heapq Point = collections.namedtuple('Point', ['x', 'y']) Point.__add__ = lambda self, q: Point(self[0] + q[0], self[1] + q[1]) class RiskMap: def __init__ (se...
25.184932
78
0.56731
499
3,677
4.116232
0.312625
0.030672
0.014606
0.02629
0.166504
0.148978
0.122687
0.090555
0.063291
0.063291
0
0.024504
0.300789
3,677
145
79
25.358621
0.774407
0.283927
0
0.088235
0
0
0.047354
0
0
0
0
0
0
1
0.147059
false
0
0.029412
0
0.279412
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
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
8a89fcb6aa9605bd61ebc69c816df71f6eb1ab81
673
py
Python
indico/modules/events/abstracts/compat.py
aiforrural/Digital-Events-Example
628aaa8727b259b9367ac0ae1c5ba8e9e95eca82
[ "MIT" ]
1
2021-02-08T09:34:27.000Z
2021-02-08T09:34:27.000Z
indico/modules/events/abstracts/compat.py
pamirk/indico
c3b4e06b11cc21ad497f74d0b2ca901bc1b2a768
[ "MIT" ]
null
null
null
indico/modules/events/abstracts/compat.py
pamirk/indico
c3b4e06b11cc21ad497f74d0b2ca901bc1b2a768
[ "MIT" ]
null
null
null
# This file is part of Indico. # Copyright (C) 2002 - 2020 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from flask import redirect from indico.modules.events.abstracts.models.abstracts import Abstract from ind...
35.421053
86
0.786033
101
673
5.128713
0.594059
0.057915
0.050193
0
0
0
0
0
0
0
0
0.018803
0.130758
673
18
87
37.388889
0.866667
0.297177
0
0
0
0
0.021459
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8a8a2f0c0a2dfbb11e77c498d88fd4e6f73817b2
2,168
py
Python
src/cosmosdb-preview/azext_cosmosdb_preview/vendored_sdks/azure_mgmt_cosmosdb/models/database_account_list_keys_result_py3.py
limingu/azure-cli-extensions
1bc29f089f4da42ab8905e440f2f46d6b5b0aa97
[ "MIT" ]
2
2021-06-05T17:51:26.000Z
2021-11-17T11:17:56.000Z
src/cosmosdb-preview/azext_cosmosdb_preview/vendored_sdks/azure_mgmt_cosmosdb/models/database_account_list_keys_result_py3.py
limingu/azure-cli-extensions
1bc29f089f4da42ab8905e440f2f46d6b5b0aa97
[ "MIT" ]
1
2020-06-12T01:39:40.000Z
2020-06-12T01:39:40.000Z
src/cosmosdb-preview/azext_cosmosdb_preview/vendored_sdks/azure_mgmt_cosmosdb/models/database_account_list_keys_result_py3.py
anpaz-msft/azure-cli-extensions
847fd487fe61e83f2a4163a9393edc9555267bc2
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
40.90566
98
0.66928
239
2,168
5.811715
0.389121
0.116631
0.097912
0.069114
0.267099
0.138229
0.138229
0.138229
0.138229
0.12671
0
0.00559
0.174816
2,168
52
99
41.692308
0.770822
0.502306
0
0
0
0
0.342971
0.161515
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8a8aa73cf4c767bf7b906925d1382b404b94f301
1,834
py
Python
Google/google_books/scrape_google_books.py
dimitryzub/blog-posts-archive
0978aaa0c9f0142d6f996b81ce391930c5e3be35
[ "CC0-1.0" ]
null
null
null
Google/google_books/scrape_google_books.py
dimitryzub/blog-posts-archive
0978aaa0c9f0142d6f996b81ce391930c5e3be35
[ "CC0-1.0" ]
null
null
null
Google/google_books/scrape_google_books.py
dimitryzub/blog-posts-archive
0978aaa0c9f0142d6f996b81ce391930c5e3be35
[ "CC0-1.0" ]
null
null
null
from parsel import Selector import requests, json, re params = { "q": "richard branson", "tbm": "bks", "gl": "us", "hl": "en" } headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Safari/537.36", } html = requests.get("ht...
39.869565
135
0.657579
254
1,834
4.606299
0.437008
0.08547
0.1
0.05812
0.170085
0.145299
0.107692
0.063248
0.063248
0
0
0.030225
0.152127
1,834
45
136
40.755556
0.722187
0.016903
0
0
0
0.054054
0.367018
0.069406
0
0
0
0
0
1
0
false
0
0.054054
0
0.054054
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
8a8bbdd35a1d135f6e6a32befca7b762678940d4
327
py
Python
Python/Higher-Or-Lower/hol/__init__.py
AustinTSchaffer/DailyProgrammer
b16d9babb298ac5e879c514f9c4646b99c6860a8
[ "MIT" ]
1
2020-07-28T17:07:35.000Z
2020-07-28T17:07:35.000Z
Python/Higher-Or-Lower/hol/__init__.py
AustinTSchaffer/DailyProgrammer
b16d9babb298ac5e879c514f9c4646b99c6860a8
[ "MIT" ]
5
2021-04-06T18:25:29.000Z
2021-04-10T15:13:28.000Z
Python/Higher-Or-Lower/hol/__init__.py
AustinTSchaffer/DailyProgrammer
b16d9babb298ac5e879c514f9c4646b99c6860a8
[ "MIT" ]
null
null
null
r""" Contains classes and methods that can be used when simulating the game Higher-or-Lower and performing statistical analysis on different games. """ from hol import ( cards, constants, ) from hol._hol import ( generate_all_games, should_pick_higher, is_a_winning_game, generate_win_statist...
17.210526
71
0.737003
45
327
5.133333
0.8
0.060606
0
0
0
0
0
0
0
0
0
0
0.201835
327
18
72
18.166667
0.885057
0.434251
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8a8bd51e1880ca1483e91fca0ab41237e4c4f869
4,896
py
Python
Lib/hTools2/dialogs/glyphs/slide.py
gferreira/hTools2
a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c
[ "BSD-3-Clause" ]
11
2015-01-06T15:43:56.000Z
2019-07-27T00:35:20.000Z
Lib/hTools2/dialogs/glyphs/slide.py
gferreira/hTools2
a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c
[ "BSD-3-Clause" ]
2
2017-05-17T10:11:46.000Z
2018-11-21T21:43:43.000Z
Lib/hTools2/dialogs/glyphs/slide.py
gferreira/hTools2
a75a671b81a0f4ce5c82b2ad3e2f971ca3e3d98c
[ "BSD-3-Clause" ]
4
2015-01-10T13:58:50.000Z
2019-12-18T15:40:14.000Z
# [h] slide selected glyphs from mojo.roboFont import CurrentFont, CurrentGlyph, version from vanilla import * from hTools2 import hDialog from hTools2.modules.fontutils import get_full_name, get_glyphs from hTools2.modules.messages import no_font_open, no_glyph_selected class slideGlyphsDialog(hDialog): '''A di...
31.184713
89
0.55576
611
4,896
4.217676
0.175123
0.069849
0.065192
0.046566
0.397749
0.35196
0.32402
0.313931
0.313931
0.282499
0
0.019565
0.34232
4,896
156
90
31.384615
0.780745
0.020221
0
0.291667
0
0
0.009854
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.016667
0
0
0
null
0
0
0
0
0
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
8a8c544c5af946feba8528e8627d4c6fff3edf22
3,495
py
Python
werobot/utils.py
lilac/WeRobot
29fd70631b736a0c339f16f7729ea89f986c8bae
[ "MIT" ]
2
2018-06-03T16:32:07.000Z
2018-06-03T16:32:10.000Z
werobot/utils.py
Milleree/WeRoBot
f9777f792d55ae70e7262f13e6e3f3667a167036
[ "MIT" ]
9
2020-06-05T19:51:33.000Z
2022-03-11T23:40:25.000Z
werobot/utils.py
Milleree/WeRoBot
f9777f792d55ae70e7262f13e6e3f3667a167036
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import io import json import os import random import re import string import time from functools import wraps from hashlib import sha1 import six try: from secrets import choice except ImportError: from random import choice str...
22.403846
73
0.645207
480
3,495
4.539583
0.2875
0.041303
0.020193
0.036714
0.117485
0.089032
0.089032
0.089032
0
0
0
0.009235
0.225465
3,495
155
74
22.548387
0.795715
0.050072
0
0.058824
0
0
0.04418
0
0
0
0
0
0.019608
1
0.147059
false
0
0.137255
0.039216
0.490196
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
8a8c957af09c1662e1613d8819301ef9871bcd5c
5,914
py
Python
tensorflow/python/ops/standard_ops.py
ashutom/tensorflow-upstream
c16069c19de9e286dd664abb78d0ea421e9f32d4
[ "Apache-2.0" ]
8
2021-08-03T03:57:10.000Z
2021-12-13T01:19:02.000Z
tensorflow/python/ops/standard_ops.py
CaptainGizzy21/tensorflow
3457a2b122e50b4d44ceaaed5a663d635e5c22df
[ "Apache-2.0" ]
17
2021-08-12T19:38:42.000Z
2022-01-27T14:39:35.000Z
tensorflow/python/ops/standard_ops.py
CaptainGizzy21/tensorflow
3457a2b122e50b4d44ceaaed5a663d635e5c22df
[ "Apache-2.0" ]
4
2022-01-13T11:23:44.000Z
2022-03-02T11:11:42.000Z
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
46.936508
93
0.825668
875
5,914
5.410286
0.244571
0.227714
0.325306
0.34981
0.5921
0.53929
0.367343
0.277989
0.118293
0.025771
0
0.001496
0.095536
5,914
125
94
47.312
0.88353
0.263274
0
0
0
0
0.001621
0
0
0
0
0.008
0.012048
1
0
true
0
0.963855
0
0.963855
0.012048
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
8a8ce25aff69e17f6f7281d206c301403a98d23f
3,208
py
Python
src/tango_scaling_test/TestDeviceServer/__main__.py
rtobar/sdp-prototype
9f1527b884bf80daa509a7fe3722160c77260f4f
[ "BSD-3-Clause" ]
null
null
null
src/tango_scaling_test/TestDeviceServer/__main__.py
rtobar/sdp-prototype
9f1527b884bf80daa509a7fe3722160c77260f4f
[ "BSD-3-Clause" ]
null
null
null
src/tango_scaling_test/TestDeviceServer/__main__.py
rtobar/sdp-prototype
9f1527b884bf80daa509a7fe3722160c77260f4f
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Test Tango device server for use with scaling tests.""" import sys import time import argparse import tango from tango.server import run from TestDevice import TestDevice def init_callback(): """Report server start up times. This callback is executed post ...
29.981308
77
0.65586
395
3,208
5.149367
0.303797
0.054081
0.029499
0.047198
0.211406
0.132743
0.075713
0.048181
0.048181
0
0
0.008956
0.199501
3,208
106
78
30.264151
0.7831
0.129676
0
0.220588
0
0
0.176064
0.008367
0
0
0
0
0
1
0.073529
false
0
0.088235
0
0.161765
0.102941
0
0
0
null
0
0
0
0
0
0
0
0
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
8a8d44634b296be16e3e3fe11b62e194bcce203d
14,955
py
Python
test/test_pipeline.py
ParikhKadam/haystack
8a57f6b16af0bdd41dc02bf1200e0adbdf1da39b
[ "Apache-2.0" ]
1
2021-08-04T09:06:43.000Z
2021-08-04T09:06:43.000Z
test/test_pipeline.py
jacksbox/haystack
65f1da00cc4b6757752dafb8bf756531fad46dd0
[ "Apache-2.0" ]
null
null
null
test/test_pipeline.py
jacksbox/haystack
65f1da00cc4b6757752dafb8bf756531fad46dd0
[ "Apache-2.0" ]
null
null
null
from pathlib import Path import pytest from haystack.document_store.elasticsearch import ElasticsearchDocumentStore from haystack.pipeline import TranslationWrapperPipeline, JoinDocuments, ExtractiveQAPipeline, Pipeline, FAQPipeline, \ DocumentSearchPipeline, RootNode from haystack.retriever.dense import DensePas...
42.126761
119
0.664527
1,844
14,955
5.232104
0.106833
0.0341
0.052861
0.066957
0.784411
0.689677
0.661795
0.633603
0.598673
0.598673
0
0.011612
0.170779
14,955
354
120
42.245763
0.76639
0.014443
0
0.578014
0
0
0.187873
0.022814
0
0
0
0
0.141844
1
0.088652
false
0.010638
0.021277
0
0.219858
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
8a8db025d17d202dce4f03767b8394c4ff63db8d
14,254
py
Python
src/telr/TELR_assembly.py
dominik-handler/TELR
3e34e54fc959c13fa45dc911facf0d5179fbb34b
[ "BSD-2-Clause" ]
22
2020-09-22T21:21:17.000Z
2022-01-21T17:52:12.000Z
src/telr/TELR_assembly.py
dominik-handler/TELR
3e34e54fc959c13fa45dc911facf0d5179fbb34b
[ "BSD-2-Clause" ]
6
2021-05-07T13:52:30.000Z
2022-03-27T18:21:10.000Z
src/telr/TELR_assembly.py
dominik-handler/TELR
3e34e54fc959c13fa45dc911facf0d5179fbb34b
[ "BSD-2-Clause" ]
6
2020-10-01T12:47:19.000Z
2021-08-13T14:38:11.000Z
import sys import os import subprocess import shutil import time import logging from Bio import SeqIO from multiprocessing import Pool import pysam from telr.TELR_utility import mkdir, check_exist, format_time def get_local_contigs( assembler, polisher, contig_dir, vcf_parsed, out, sample_name...
30.32766
88
0.525116
1,601
14,254
4.480325
0.15178
0.020075
0.023561
0.022306
0.352293
0.300293
0.269483
0.249268
0.212463
0.185418
0
0.009323
0.367897
14,254
469
89
30.392324
0.786792
0.059913
0
0.428934
0
0
0.084258
0
0
0
0
0.002132
0
1
0.020305
false
0.007614
0.025381
0
0.093909
0.045685
0
0
0
null
0
0
0
0
0
0
0
0
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
8a900957322aa8d59dab3c2935590611098dad34
28,015
py
Python
pygmt/tests/test_clib.py
aliciaha1997/pygmt
a10af5d8deb3bf3090eab4b6492bcf8cf722cb71
[ "BSD-3-Clause" ]
null
null
null
pygmt/tests/test_clib.py
aliciaha1997/pygmt
a10af5d8deb3bf3090eab4b6492bcf8cf722cb71
[ "BSD-3-Clause" ]
null
null
null
pygmt/tests/test_clib.py
aliciaha1997/pygmt
a10af5d8deb3bf3090eab4b6492bcf8cf722cb71
[ "BSD-3-Clause" ]
1
2021-11-03T07:47:18.000Z
2021-11-03T07:47:18.000Z
# pylint: disable=protected-access """ Test the wrappers for the C API. """ import os from contextlib import contextmanager import numpy as np import numpy.testing as npt import pandas as pd import pytest import xarray as xr from packaging.version import Version from pygmt import Figure, clib from pygmt.clib.conversio...
34.332108
85
0.60464
3,696
28,015
4.443182
0.126623
0.032152
0.030142
0.034161
0.563451
0.510961
0.46523
0.440324
0.419072
0.37876
0
0.021568
0.271783
28,015
815
86
34.374233
0.783393
0.179083
0
0.470019
0
0
0.111762
0.020874
0
0
0
0
0.088975
1
0.088975
false
0.001934
0.025145
0
0.123791
0.007737
0
0
0
null
0
0
0
0
0
0
0
0
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
8a9030707f61608d50658393cbb2098e6e4bfbb7
300
py
Python
stubs/_pytest/_code.py
questioneer-ltd/scrut
8cb914c9c35eee0d9e17a6051683c970db2649b5
[ "MIT" ]
null
null
null
stubs/_pytest/_code.py
questioneer-ltd/scrut
8cb914c9c35eee0d9e17a6051683c970db2649b5
[ "MIT" ]
null
null
null
stubs/_pytest/_code.py
questioneer-ltd/scrut
8cb914c9c35eee0d9e17a6051683c970db2649b5
[ "MIT" ]
null
null
null
"""Type stubs for _pytest._code.""" # This class actually has more functions than are specified here. # We don't use these features, so I don't think its worth including # them in our type stub. We can always change it later. class ExceptionInfo: @property def value(self) -> Exception: ...
33.333333
67
0.72
47
300
4.553191
0.893617
0.037383
0
0
0
0
0
0
0
0
0
0
0.19
300
8
68
37.5
0.880658
0.713333
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
0
0
0
0
0
2
8a9169fbe2dd0a7e667174a77f2109a3f57e8580
1,808
py
Python
Prime Factorization/prime_factorization_II.py
rayvantsahni/Let-us-Math
571ee70452feae0b15f37d46de658b0c0251bd3d
[ "MIT" ]
2
2020-08-06T07:09:38.000Z
2020-09-12T02:32:23.000Z
Prime Factorization/prime_factorization_II.py
rayvantsahni/Math-is-Fun
571ee70452feae0b15f37d46de658b0c0251bd3d
[ "MIT" ]
null
null
null
Prime Factorization/prime_factorization_II.py
rayvantsahni/Math-is-Fun
571ee70452feae0b15f37d46de658b0c0251bd3d
[ "MIT" ]
1
2021-08-30T14:17:28.000Z
2021-08-30T14:17:28.000Z
def get_primes(n): primes = [] # stores the prime numbers within the reange of the number sieve = [False] * (n + 1) # stores boolean values indicating whether a number is prime or not sieve[0] = sieve[1] = True # marking 0 and 1 as not prime for i in range(2, n + 1): # loops over all the numbers to...
54.787879
198
0.672566
286
1,808
4.199301
0.318182
0.089925
0.045795
0.032473
0.121565
0.053289
0
0
0
0
0
0.009893
0.27323
1,808
32
199
56.5
0.90411
0.606195
0
0
0
0
0.034632
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
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