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
806fe60353ed1a2e39330d425617b5fb47e04792
1,951
py
Python
tests/test_lambda.py
ZhukovAlexander/lambdify
e291c15bacffc871cd1c10aefe9f132420259dfd
[ "Apache-2.0" ]
51
2016-04-07T12:50:08.000Z
2020-05-19T14:56:47.000Z
tests/test_lambda.py
ZhukovAlexander/easy-lambda
e291c15bacffc871cd1c10aefe9f132420259dfd
[ "Apache-2.0" ]
null
null
null
tests/test_lambda.py
ZhukovAlexander/easy-lambda
e291c15bacffc871cd1c10aefe9f132420259dfd
[ "Apache-2.0" ]
8
2016-04-08T10:05:30.000Z
2020-01-20T14:01:05.000Z
import unittest import zipfile from StringIO import StringIO import tempfile import shutil import boto3 import dill import moto import mock import pip from easy_lambda.deployment import Lambda, DeploymentPackage @moto.mock_lambda class Test(unittest.TestCase): def setUp(self): super(Test, self).setUp() ...
28.691176
86
0.671963
240
1,951
5.370833
0.454167
0.037238
0.031032
0.037238
0.043445
0
0
0
0
0
0
0.01361
0.209124
1,951
67
87
29.119403
0.821776
0.136853
0
0.047619
0
0
0.118068
0.045915
0
0
0
0
0.071429
1
0.142857
false
0
0.261905
0.02381
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
807024c63669049ff37fa7c1466e2b39243f3485
2,397
py
Python
command_executor/command.py
stephrdev/python-command-executor
87b43da25e86cd60ca29b31fe5d0202e7be53cf9
[ "MIT" ]
null
null
null
command_executor/command.py
stephrdev/python-command-executor
87b43da25e86cd60ca29b31fe5d0202e7be53cf9
[ "MIT" ]
2
2021-06-01T22:31:14.000Z
2021-06-01T22:32:14.000Z
command_executor/command.py
stephrdev/python-command-executor
87b43da25e86cd60ca29b31fe5d0202e7be53cf9
[ "MIT" ]
null
null
null
import shlex import subprocess from .exceptions import CommandExecutionError, CommandParameterError class Command(object): process = None command = 'true' ignore_output = True fail_silently = False required_parameters = None stdout = subprocess.PIPE stderr = subprocess.PIPE def __ini...
34.242857
90
0.637046
269
2,397
5.565056
0.315985
0.056112
0.029392
0.017368
0.022712
0
0
0
0
0
0
0.001741
0.281185
2,397
69
91
34.73913
0.867092
0.047977
0
0
0
0
0.038613
0
0
0
0
0
0
1
0.132075
false
0
0.056604
0.075472
0.45283
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
80727ce2ec20ae44ac4f84444e1d4ed99b47a36d
2,926
py
Python
tests/test_types.py
tonysimpson/pointbreak
04e59cdda19a797b926b9541607077ad77522503
[ "MIT" ]
6
2018-07-13T09:52:14.000Z
2019-11-27T12:39:27.000Z
tests/test_types.py
tonysimpson/pointbreak
04e59cdda19a797b926b9541607077ad77522503
[ "MIT" ]
10
2018-07-12T14:44:44.000Z
2019-02-07T18:59:02.000Z
tests/test_types.py
tonysimpson/pointbreak
04e59cdda19a797b926b9541607077ad77522503
[ "MIT" ]
null
null
null
import struct import pointbreak import pointbreak.types as types from pointbreak.types import TestAccessor as Accessor def test_type_get_simple_value(): accessor = Accessor(b"\x01\x00\x00\x00") ref = types.reference(types.int32, 0, accessor) assert ref.value == 1 def test_type_set_simple_value(): ...
32.153846
75
0.679084
445
2,926
4.289888
0.14382
0.092195
0.095338
0.080671
0.53955
0.393924
0.357255
0.321111
0.24044
0.203248
0
0.089084
0.182843
2,926
90
76
32.511111
0.709327
0
0
0.189189
0
0
0.062564
0.008205
0
0
0
0
0.202703
1
0.148649
false
0
0.054054
0
0.202703
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
8072dab55c7898746ef42113226d03eadb2ebafb
9,853
py
Python
data/bonecell.py
edocoh87/ssd.pytorch
09fe21af84976dd6ab09ff0c5649db2793e47468
[ "MIT" ]
null
null
null
data/bonecell.py
edocoh87/ssd.pytorch
09fe21af84976dd6ab09ff0c5649db2793e47468
[ "MIT" ]
null
null
null
data/bonecell.py
edocoh87/ssd.pytorch
09fe21af84976dd6ab09ff0c5649db2793e47468
[ "MIT" ]
null
null
null
""" Author: Edo Cohen-Karlik """ from __future__ import division # import os.path as osp import json # import sys import os import torch import torch.utils.data as data import cv2 import numpy as np #from augmentations import SSDAugmentation, SSDBoneCellAugmentation # ignore classes with label value -1. BONE_CELL_CL...
36.492593
99
0.603978
1,309
9,853
4.362872
0.194041
0.014708
0.014708
0.01681
0.376642
0.366661
0.349501
0.316757
0.303449
0.291893
0
0.017027
0.266822
9,853
270
100
36.492593
0.773533
0.32792
0
0.136054
0
0
0.026084
0
0
0
0
0
0
1
0.115646
false
0
0.047619
0.006803
0.29932
0.006803
0
0
0
null
0
0
0
0
0
0
0
0
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
80743b7e8796f67c8ef10fc04ba79b234767738a
58
py
Python
clinicadl/tsvtools/restrict/__init__.py
Raelag0112/clinicadl
4b9508ea6bbe5498069b1d76ad2c3636f67e3184
[ "MIT" ]
25
2021-08-01T05:52:34.000Z
2022-03-22T04:18:01.000Z
clinicadl/tsvtools/restrict/__init__.py
Raelag0112/clinicadl
4b9508ea6bbe5498069b1d76ad2c3636f67e3184
[ "MIT" ]
82
2021-07-12T08:28:36.000Z
2022-03-02T16:12:04.000Z
clinicadl/tsvtools/restrict/__init__.py
Raelag0112/clinicadl
4b9508ea6bbe5498069b1d76ad2c3636f67e3184
[ "MIT" ]
12
2021-07-30T08:01:02.000Z
2022-03-14T11:45:03.000Z
from .restrict import aibl_restriction, oasis_restriction
29
57
0.87931
7
58
7
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.086207
58
1
58
58
0.924528
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
807550fad07fb0b1cb61d8b299a86f07564ce6d8
1,989
py
Python
tests/test_macros.py
KennethBlaney/rivescript-python
87db472847ab526060afd9a5b8548e9689501a85
[ "MIT" ]
154
2015-02-04T08:41:23.000Z
2022-03-18T19:39:53.000Z
tests/test_macros.py
KennethBlaney/rivescript-python
87db472847ab526060afd9a5b8548e9689501a85
[ "MIT" ]
115
2015-06-14T13:31:07.000Z
2022-02-14T23:02:19.000Z
tests/test_macros.py
KennethBlaney/rivescript-python
87db472847ab526060afd9a5b8548e9689501a85
[ "MIT" ]
87
2015-04-18T23:15:18.000Z
2022-03-18T09:52:06.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import from .config import RiveScriptTestCase class ObjectMacroTests(RiveScriptTestCase): """Test object macros.""" def test_python_objects(self): self.new(""" > object nolang ...
28.014085
68
0.507793
200
1,989
4.99
0.32
0.072144
0.091182
0.051102
0.06012
0.06012
0.06012
0
0
0
0
0.001596
0.370035
1,989
70
69
28.414286
0.794892
0.031171
0
0.156863
0
0
0.714583
0
0
0
0
0
0
1
0.039216
false
0
0.039216
0
0.215686
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
80757abfd788a13520ba7245a84a078943b84c38
2,556
py
Python
ABONO/__init__.py
SalahEddineLahniche/MLC-Kaggle-2017
489b76182227cbf51812c051381da4e58098d338
[ "MIT" ]
null
null
null
ABONO/__init__.py
SalahEddineLahniche/MLC-Kaggle-2017
489b76182227cbf51812c051381da4e58098d338
[ "MIT" ]
1
2018-04-25T20:48:35.000Z
2020-06-19T00:48:49.000Z
ABONO/__init__.py
SalahEddineLahniche/MLC-Kaggle-2017
489b76182227cbf51812c051381da4e58098d338
[ "MIT" ]
null
null
null
import functools import pandas as pd from ABONO.Regressor import Regressor from ABONO.Processer import Processer from ABONO.Session import Session TRAIN_PATH = 'data/train.csv' TEST_PATH = 'data/test.csv' def timed(session): def innertimed(f): import time @functools.wraps(f) def wrapped(*args): ...
38.149254
100
0.621283
338
2,556
4.550296
0.242604
0.071521
0.046814
0.057217
0.236671
0.236671
0.213264
0.213264
0.213264
0.157347
0
0.001082
0.276604
2,556
66
101
38.727273
0.830719
0.039906
0
0.068966
0
0
0.071807
0
0
0
0
0
0
1
0.086207
false
0
0.103448
0
0.293103
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
8075ab5a27998d20f0817eccb49607a1460552d7
29,946
py
Python
neon/layers/recurrent.py
sjuvekar/neon
abe5d30a68663c739a97a9e657516d530c66dbd9
[ "Apache-2.0" ]
null
null
null
neon/layers/recurrent.py
sjuvekar/neon
abe5d30a68663c739a97a9e657516d530c66dbd9
[ "Apache-2.0" ]
4
2021-03-26T00:21:20.000Z
2022-03-12T00:46:11.000Z
neon/layers/recurrent.py
huamichaelchen/neon
abe5d30a68663c739a97a9e657516d530c66dbd9
[ "Apache-2.0" ]
1
2016-08-12T09:05:04.000Z
2016-08-12T09:05:04.000Z
# ---------------------------------------------------------------------------- # Copyright 2015 Nervana Systems Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.o...
40.522327
98
0.601783
4,063
29,946
4.280581
0.108048
0.021159
0.017709
0.021504
0.589696
0.538466
0.486718
0.448655
0.391157
0.361373
0
0.012879
0.29994
29,946
738
99
40.577236
0.816733
0.367996
0
0.284431
0
0
0.006089
0
0
0
0
0
0.005988
1
0.086826
false
0
0.002994
0.002994
0.161677
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
8075ab5b7644cd6b940830cbdac14017e16f9d27
439
py
Python
Exercise_7_9.py
kushrami/Python-Crash-Course-book-Excersice
7093181940a90d9f4bab5775ef56f57963450393
[ "Apache-2.0" ]
null
null
null
Exercise_7_9.py
kushrami/Python-Crash-Course-book-Excersice
7093181940a90d9f4bab5775ef56f57963450393
[ "Apache-2.0" ]
null
null
null
Exercise_7_9.py
kushrami/Python-Crash-Course-book-Excersice
7093181940a90d9f4bab5775ef56f57963450393
[ "Apache-2.0" ]
null
null
null
#No pastrami: sandwich_orders = ['maxican','pastrami','aloo','pastrami','spicypoteto''pastrami','lulu'] finished_sandwich = [] while sandwich_orders: sandwich = sandwich_orders.pop() if sandwich == 'pastrami': print("We are out of pastrami.") continue print("I made your",sandwich,"sandwich...
27.4375
89
0.697039
50
439
6
0.52
0.14
0
0
0
0
0
0
0
0
0
0
0.166287
439
15
90
29.266667
0.819672
0.027335
0
0
0
0
0.276995
0
0
0
0
0
0
1
0
false
0
0
0
0
0.272727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8077f1dd7b219933df17d90b224491a92c222729
174
py
Python
secrets.py
bethskw/botcocktails
1090d6e85161efb174891911a4cdb4523c97719a
[ "MIT" ]
3
2019-02-20T21:47:08.000Z
2021-03-19T19:23:17.000Z
secrets.py
bethskw/botcocktails
1090d6e85161efb174891911a4cdb4523c97719a
[ "MIT" ]
null
null
null
secrets.py
bethskw/botcocktails
1090d6e85161efb174891911a4cdb4523c97719a
[ "MIT" ]
1
2018-11-27T22:03:24.000Z
2018-11-27T22:03:24.000Z
C_KEY = "XXXXX" # replace with your own C_SECRET = "XXXXX" # replace with your own A_TOKEN = "xxxxx" # replace with your own A_TOKEN_SECRET = "XXXXX" # replace with your own
43.5
48
0.724138
29
174
4.172414
0.344828
0.396694
0.528926
0.661157
0.958678
0.768595
0.479339
0
0
0
0
0
0.183908
174
4
48
43.5
0.852113
0.505747
0
0
0
0
0.243902
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
1
1
1
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
7
80785349bd512737005eabd1247ba002964d3d8f
6,811
py
Python
keyhandler.py
egriffith/AWSKeyHandler
9dbe1068440f801a7c522f7fd212bebef1af2a65
[ "MIT" ]
null
null
null
keyhandler.py
egriffith/AWSKeyHandler
9dbe1068440f801a7c522f7fd212bebef1af2a65
[ "MIT" ]
null
null
null
keyhandler.py
egriffith/AWSKeyHandler
9dbe1068440f801a7c522f7fd212bebef1af2a65
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 import sys from os.path import expanduser import argparse import boto3 import botocore def printDebug(action, publicKeyName, publicKeyText, regionList, debug, dryRun, credProfile): return 0 def buildArgParser(argv): parser = argparse.ArgumentParser(description="Upload, delete, or lis...
38.050279
145
0.550286
645
6,811
5.75969
0.268217
0.01319
0.015074
0.035532
0.401346
0.394886
0.386272
0.331898
0.331898
0.30821
0
0.005117
0.340038
6,811
178
146
38.264045
0.821357
0.00323
0
0.445255
0
0.007299
0.182823
0.009281
0
0
0
0
0
1
0.058394
false
0
0.051095
0.007299
0.160584
0.175182
0
0
0
null
0
0
0
0
0
0
0
0
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
807a1e3f55548f5582ab4aedb29f22ea0b5d8d38
1,072
py
Python
SimpyTest.py
EternalVeryRookie/ParticleConstrainedOnCurve
d8248bb90560bc7193bca46886587412ca2fa70b
[ "MIT" ]
null
null
null
SimpyTest.py
EternalVeryRookie/ParticleConstrainedOnCurve
d8248bb90560bc7193bca46886587412ca2fa70b
[ "MIT" ]
null
null
null
SimpyTest.py
EternalVeryRookie/ParticleConstrainedOnCurve
d8248bb90560bc7193bca46886587412ca2fa70b
[ "MIT" ]
null
null
null
from sympy import * #3次曲線と点の距離を陽に書き下すプログラム X = Symbol("X") Y = Symbol("Y") t = Symbol("t") l_x = Symbol("l_x") l_y = Symbol("l_y") a_x = Symbol("a_x") b_x = Symbol("b_x") c_x = Symbol("c_x") d_x = Symbol("d_x") a_y = Symbol("a_y") b_y = Symbol("b_y") c_y = Symbol("c_y") d_y = Symbol("d_y") print( expand( (X - (a...
34.580645
250
0.477612
283
1,072
1.5053
0.081272
0.089202
0.070423
0.084507
0.394366
0.309859
0.295775
0.295775
0.295775
0.295775
0
0.039459
0.172575
1,072
30
251
35.733333
0.440812
0.01959
0
0
0
0
0.035238
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.190476
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
807ac64b53208d8bf2363b570ae4aa35ea88e5a3
8,868
py
Python
scripts/cros_list_modified_packages.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
null
null
null
scripts/cros_list_modified_packages.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
2
2021-03-26T00:29:32.000Z
2021-04-30T21:29:33.000Z
scripts/cros_list_modified_packages.py
khromiumos/chromiumos-chromite
a42a85481cdd9d635dc40a04585e427f89f3bb3f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2012 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Calculate what workon packages have changed since the last build. A workon package is treated as changed if any of the bel...
36.195918
80
0.726545
1,206
8,868
5.230514
0.310945
0.019023
0.023779
0.033291
0.09591
0.047559
0.015219
0.015219
0.015219
0
0
0.003621
0.190347
8,868
244
81
36.344262
0.87493
0.400992
0
0.05
0
0.008333
0.045779
0
0
0
0
0.004098
0.008333
1
0.1
false
0
0.133333
0
0.325
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
807bc3f452b97032c17869ac27799d53c9ea920a
4,316
py
Python
test/data/test_sampler.py
130ndim/pytorch_geometric
1d3e63ba9ec3e37b6bae1ee5cbf460a1382497c6
[ "MIT" ]
3
2019-05-31T15:23:59.000Z
2021-06-17T09:32:39.000Z
test/data/test_sampler.py
LiJFrank/pytorch_geometric
70e575d69c77f6c234373257dcf02014a290bed8
[ "MIT" ]
null
null
null
test/data/test_sampler.py
LiJFrank/pytorch_geometric
70e575d69c77f6c234373257dcf02014a290bed8
[ "MIT" ]
3
2020-11-06T22:02:43.000Z
2021-01-28T13:52:22.000Z
import sys import random import os.path as osp import shutil import torch from torch.nn.functional import relu from torch_geometric.utils import erdos_renyi_graph from torch_geometric.data import Data, NeighborSampler from torch_geometric.datasets import Planetoid from torch_geometric.nn.conv import SAGEConv import t...
37.530435
79
0.610519
610
4,316
4.116393
0.208197
0.073278
0.026284
0.031063
0.387495
0.312226
0.303067
0.291119
0.264038
0.236161
0
0.03416
0.281047
4,316
114
80
37.859649
0.775056
0
0
0.195652
0
0
0.004866
0
0
0
0
0
0.076087
1
0.054348
false
0.054348
0.119565
0
0.206522
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
807d3ab6f17cdae70028ea61e5d4a7c531be358c
529
py
Python
test/test_departures.py
leonardbinet/navitia-python
f3886793c84b541ed3d410a1732e12ac4b5e3dde
[ "MIT" ]
9
2017-01-10T14:40:31.000Z
2022-02-14T19:25:18.000Z
test/test_departures.py
leonardbinet/navitia-python
f3886793c84b541ed3d410a1732e12ac4b5e3dde
[ "MIT" ]
2
2016-12-15T15:05:58.000Z
2019-05-30T10:30:21.000Z
test/test_departures.py
leonardbinet/navitia-python
f3886793c84b541ed3d410a1732e12ac4b5e3dde
[ "MIT" ]
3
2017-10-06T10:45:38.000Z
2021-01-21T14:29:43.000Z
"""Tests for the object departures module.""" import responses # initialize package, and does not mix up names import test as _test import navitia_client import requests class DeparturesTest(_test.TestCase): def setUp(self): self.user = 'leo' self.core_url = "https://api.navitia.io/v1/" ...
24.045455
62
0.689981
73
529
4.876712
0.671233
0.073034
0.061798
0.095506
0
0
0
0
0
0
0
0.038741
0.219282
529
21
63
25.190476
0.823245
0.26276
0
0
0
0
0.123037
0
0
0
0
0
0
1
0.166667
false
0.083333
0.333333
0
0.583333
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
1
0
1
0
0
3
807d9d3bca9503251f4ab16f47e0f015f14cf3d1
264
py
Python
api/status/admin.py
OMO-NOSA/REST-API
455295b34dc048c3756e0c5ae6c531c280ccc8c8
[ "bzip2-1.0.6" ]
null
null
null
api/status/admin.py
OMO-NOSA/REST-API
455295b34dc048c3756e0c5ae6c531c280ccc8c8
[ "bzip2-1.0.6" ]
11
2020-06-06T00:07:30.000Z
2022-03-12T00:04:06.000Z
api/status/admin.py
OMO-NOSA/REST-API
455295b34dc048c3756e0c5ae6c531c280ccc8c8
[ "bzip2-1.0.6" ]
null
null
null
from django.contrib import admin # Register your models here from . forms import StatusForm from .models import Status class StatusAdmin(admin.ModelAdmin): list_display = ['user', '__str__', 'image'] form = StatusForm admin.site.register(Status)
24
47
0.731061
32
264
5.875
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.17803
264
11
48
24
0.866359
0.094697
0
0
0
0
0.067227
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
807e9b1b026b86213f993cb57eef6c26141e77e2
3,222
py
Python
share/ttkwidgets/debugwindow.py
Marusoftware/Marutools
2b462ea02abaf957eb037c281b62d7efe053840e
[ "MIT" ]
null
null
null
share/ttkwidgets/debugwindow.py
Marusoftware/Marutools
2b462ea02abaf957eb037c281b62d7efe053840e
[ "MIT" ]
5
2021-01-21T09:46:12.000Z
2022-02-14T13:54:44.000Z
share/ttkwidgets/debugwindow.py
Marusoftware/Marutools
2b462ea02abaf957eb037c281b62d7efe053840e
[ "MIT" ]
2
2021-11-02T11:01:53.000Z
2022-02-14T10:11:21.000Z
""" Author: RedFantom License: GNU GPLv3 Source: This repository """ try: import Tkinter as tk import ttk import tkFileDialog as fd except ImportError: import tkinter as tk from tkinter import ttk import tkinter.filedialog as fd import sys from ttkwidgets import AutoHideScrollbar class DebugWi...
33.915789
118
0.619491
404
3,222
4.873762
0.331683
0.032504
0.019807
0.017268
0.068055
0.04063
0.04063
0.04063
0
0
0
0.005978
0.273122
3,222
94
119
34.276596
0.834757
0.251397
0
0
0
0
0.029372
0
0
0
0
0
0
1
0.107143
false
0.017857
0.160714
0
0.303571
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
807f29911fba7b1a336c50a170090123fe9e9f0c
967
py
Python
migrations/versions/e9596ed3a618_add_release_date_uk_field_and_director_.py
jimmybutton/moviedb
61028ac4db7f58a671ab3a1c2afd3bfb53372773
[ "MIT" ]
null
null
null
migrations/versions/e9596ed3a618_add_release_date_uk_field_and_director_.py
jimmybutton/moviedb
61028ac4db7f58a671ab3a1c2afd3bfb53372773
[ "MIT" ]
null
null
null
migrations/versions/e9596ed3a618_add_release_date_uk_field_and_director_.py
jimmybutton/moviedb
61028ac4db7f58a671ab3a1c2afd3bfb53372773
[ "MIT" ]
null
null
null
"""add release_date_uk field and director_id to movie model Revision ID: e9596ed3a618 Revises: affd804a37d8 Create Date: 2020-08-05 17:34:58.197456 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'e9596ed3a618' down_revision = 'affd804a37d8' branch_labels = Non...
29.30303
82
0.698035
128
967
5.109375
0.460938
0.061162
0.059633
0.070336
0.204893
0.204893
0.134557
0.134557
0
0
0
0.058752
0.155119
967
32
83
30.21875
0.741738
0.349535
0
0
0
0
0.228041
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
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
808194511d3bb385bc1da7eb37a9fb429a3efa5a
26,267
py
Python
retro/tables/generate_tdi_table.py
ellohfin/retro
58ec8f5b698e6140acd215717f051d99e407c4e5
[ "Apache-2.0" ]
1
2018-03-02T01:05:52.000Z
2018-03-02T01:05:52.000Z
retro/tables/generate_tdi_table.py
ellohfin/retro
58ec8f5b698e6140acd215717f051d99e407c4e5
[ "Apache-2.0" ]
30
2018-01-30T21:03:28.000Z
2019-11-07T16:42:07.000Z
retro/tables/generate_tdi_table.py
ellohfin/retro
58ec8f5b698e6140acd215717f051d99e407c4e5
[ "Apache-2.0" ]
6
2017-07-27T19:49:13.000Z
2019-11-19T13:38:27.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # pylint: disable=wrong-import-position, too-many-locals """ Create time- and DOM-independent (TDI) whole-detector Cartesian-binned Retro table. The generated table is useful for computing the total charge expected to be deposited by a hypothesis across the entire detecto...
37.685796
86
0.619751
3,555
26,267
4.374684
0.167651
0.014918
0.019097
0.010867
0.363812
0.277456
0.234311
0.207819
0.160108
0.14982
0
0.012624
0.273195
26,267
696
87
37.739943
0.802001
0.227015
0
0.156118
0
0.006329
0.241334
0.002408
0
0
0
0.001437
0.008439
1
0.006329
false
0
0.033755
0
0.048523
0.061181
0
0
0
null
0
0
0
0
0
0
0
0
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
8083275f4400ee1792daa63652d62cc4e6bfe804
885
py
Python
commandment/alembics/disabled_versions/e47e29a9537c_create_certificate_payload_table.py
pythonModule/commandment
32ca167e44753014857a3f0329c8662f0df97f02
[ "MIT" ]
138
2017-11-21T17:57:59.000Z
2022-02-16T13:08:39.000Z
commandment/alembics/disabled_versions/e47e29a9537c_create_certificate_payload_table.py
pythonModule/commandment
32ca167e44753014857a3f0329c8662f0df97f02
[ "MIT" ]
24
2017-11-12T01:42:13.000Z
2022-02-24T21:53:28.000Z
commandment/alembics/disabled_versions/e47e29a9537c_create_certificate_payload_table.py
pythonModule/commandment
32ca167e44753014857a3f0329c8662f0df97f02
[ "MIT" ]
35
2017-11-15T12:14:44.000Z
2022-02-26T00:44:36.000Z
"""Create certificate_payload table Revision ID: e47e29a9537c Revises: 072fba4a2256 Create Date: 2017-05-19 19:51:20.672688 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'e47e29a9537c' down_revision = '072fba4a2256' branch_labels = None depends_on = None de...
27.65625
83
0.629379
95
885
5.747368
0.526316
0.058608
0.076923
0.07326
0.080586
0
0
0
0
0
0
0.077961
0.246328
885
31
84
28.548387
0.74063
0.181921
0
0
0
0
0.171788
0.02933
0
0
0
0
0
1
0.117647
false
0.058824
0.117647
0
0.235294
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
8083cb6483b18e6dd4299dd81d56acefd37473b1
28,929
py
Python
exipicrename/exipicrename.py
unixhex/exipicrename2
b2a2f5af224c4a2c93f81e48c2622c7522d76489
[ "MIT" ]
1
2020-02-14T13:41:28.000Z
2020-02-14T13:41:28.000Z
exipicrename/exipicrename.py
unixhex/exipicrename2
b2a2f5af224c4a2c93f81e48c2622c7522d76489
[ "MIT" ]
3
2021-06-08T19:46:29.000Z
2022-03-11T23:44:57.000Z
exipicrename/exipicrename.py
unixhex/exipicrename2
b2a2f5af224c4a2c93f81e48c2622c7522d76489
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ exipicrename beta of python3 version. Reads exif data from pictures and rename them. Used exif tags are: * DateTimeOriginal * FNumber * ExposureTime * FocalLength * Model * ISOSpeedRatings """ # Copyright (c) 2019 Hella Breitkopf, https://www.unixwitch.de # MIT License -> see LICENSE fil...
35.023002
108
0.624564
3,649
28,929
4.67635
0.155385
0.021331
0.016409
0.009845
0.305556
0.243436
0.197082
0.165436
0.157876
0.14135
0
0.006009
0.257907
28,929
825
109
35.065455
0.788849
0.255246
0
0.202677
0
0
0.192381
0.027469
0
0
0
0.001212
0
1
0.116635
false
0.005736
0.024857
0
0.216061
0.030593
0
0
0
null
0
0
0
0
0
0
0
0
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
80855b801b71f76158fe03a357cb9349f1c0a767
4,324
py
Python
api/urls.py
deka108/meas_deka
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
null
null
null
api/urls.py
deka108/meas_deka
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
1
2018-06-19T16:27:31.000Z
2018-06-21T02:57:03.000Z
api/urls.py
deka108/mathqa-server
9646b04b878f325ade0a59e41bfcb10ab962d753
[ "Apache-2.0" ]
null
null
null
""" # Name: cms/urls.py # Description: # Created by: Phuc Le-Sanh # Date Created: Nov 23, 2016 # Last Modified: Nov 23, 2016 # Modified by: Phuc Le-Sanh """ from django.conf.urls import url, include # from rest_framework import routers from rest_framework.authtoken import views as rest_views from re...
37.275862
85
0.640148
556
4,324
4.859712
0.197842
0.057735
0.103627
0.014804
0.338268
0.280533
0.137306
0.125833
0.11695
0
0
0.01252
0.150324
4,324
115
86
37.6
0.722918
0.128816
0
0.028571
0
0
0.363005
0.187918
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
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
8085b1f5f46541c577be405f9307b4ff5a65fd68
8,396
py
Python
tests/unit_tests/test_syntheticdataset2_shapes.py
liyu711/SUAS
2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b
[ "MIT" ]
null
null
null
tests/unit_tests/test_syntheticdataset2_shapes.py
liyu711/SUAS
2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b
[ "MIT" ]
null
null
null
tests/unit_tests/test_syntheticdataset2_shapes.py
liyu711/SUAS
2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b
[ "MIT" ]
null
null
null
from SyntheticDataset2.ElementsCreator import * import unittest from PIL import Image class UpdatedSyntheticDatasetShapesTestCase(unittest.TestCase): def test_rectangle(self): width = 100 height = 50 color = (255,0,0) rotation = 45 midpoint = (250,250) test_backgrou...
41.156863
87
0.638161
1,112
8,396
4.704137
0.072842
0.029822
0.06213
0.079526
0.903651
0.852418
0.67272
0.63831
0.632766
0.632766
0
0.1477
0.202477
8,396
203
88
41.359606
0.633513
0
0
0.472393
0
0
0.006193
0
0
0
0
0
0.319018
1
0.079755
false
0
0.018405
0
0.104294
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8088b3c5ba94e3f16d523776ee4f502d91b3b6b5
1,243
py
Python
44.wildcard-matching.py
leonhx/leetcode-practice
35fabe5a1b98c05a5dd5d6a62201e9cb54be69ec
[ "MIT" ]
null
null
null
44.wildcard-matching.py
leonhx/leetcode-practice
35fabe5a1b98c05a5dd5d6a62201e9cb54be69ec
[ "MIT" ]
null
null
null
44.wildcard-matching.py
leonhx/leetcode-practice
35fabe5a1b98c05a5dd5d6a62201e9cb54be69ec
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=44 lang=python3 # # [44] Wildcard Matching # class Solution: def _consume_seq(self, s: str, p: str, s_i: int, p_i: int): while p_i < len(p) and p[p_i] != '*': if s_i >= len(s) or (p[p_i] != s[s_i] and p[p_i] != '?'): return -1, -1 s_i, p_i = s_...
34.527778
69
0.436846
221
1,243
2.171946
0.167421
0.104167
0.06875
0.083333
0.504167
0.25
0.25
0.1625
0.1625
0.1625
0
0.027586
0.416734
1,243
35
70
35.514286
0.634483
0.046661
0
0.137931
0
0
0.005089
0
0
0
0
0
0
1
0.068966
false
0
0
0
0.241379
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
8089824c1db000c6c79126935002dddc0b661de7
664
py
Python
Scripts/Utilities/linear_regg.py
aryanmangal769/UGV-DTU_ROS_Stack
6a00c83d076361bdf171c1ad4ef383ad262da4e6
[ "BSD-3-Clause" ]
null
null
null
Scripts/Utilities/linear_regg.py
aryanmangal769/UGV-DTU_ROS_Stack
6a00c83d076361bdf171c1ad4ef383ad262da4e6
[ "BSD-3-Clause" ]
null
null
null
Scripts/Utilities/linear_regg.py
aryanmangal769/UGV-DTU_ROS_Stack
6a00c83d076361bdf171c1ad4ef383ad262da4e6
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from fractions import Fraction if __name__ == '__main__': #enter coordinates vectors Y = np.array([[-420,-330]]).T X = np.array([[300,0]]).T # y =mx +c O = np.ones(X.shape) A = np.append(X,O,axis=1) A_t = A.T A_t_dot_A = A_t.dot(A) A_t_dot_A_inv = np.linalg.inv(A_t_dot_A) ...
16.6
48
0.643072
133
664
2.87218
0.323308
0.062827
0.104712
0.109948
0.185864
0.185864
0.180628
0.180628
0.078534
0
0
0.026022
0.189759
664
39
49
17.025641
0.684015
0.120482
0
0
0
0
0.052083
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
808a844aeabff3fdc0f7f9b10b9c6a241b07b945
2,159
py
Python
pythia/pyre/inventory/FacilityArrayFacility.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
1
2015-11-30T08:01:39.000Z
2015-11-30T08:01:39.000Z
pythia/pyre/inventory/FacilityArrayFacility.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
27
2018-05-24T18:31:25.000Z
2021-10-16T03:57:52.000Z
pythia/pyre/inventory/FacilityArrayFacility.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
7
2019-07-19T02:30:56.000Z
2021-06-02T22:00:01.000Z
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # California Institute of Technology # (C) 2008 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
29.986111
94
0.544697
198
2,159
5.878788
0.419192
0.034364
0.024055
0.042955
0
0
0
0
0
0
0
0.007124
0.284854
2,159
71
95
30.408451
0.746762
0.181102
0
0
0
0
0.061003
0.013113
0
0
0
0
0
1
0.076923
false
0
0.102564
0
0.282051
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
808ba59db073ed00f5b7a13b6e51d1825bca7ae9
2,052
py
Python
psearch/scripts/split.py
meddwl/psearch
58c374bdf6550ab43a8832aeaf9b18d5969640b5
[ "BSD-3-Clause" ]
24
2018-11-05T10:07:26.000Z
2022-03-28T06:26:23.000Z
psearch/scripts/split.py
meddwl/psearch
58c374bdf6550ab43a8832aeaf9b18d5969640b5
[ "BSD-3-Clause" ]
4
2020-01-03T21:10:16.000Z
2021-11-04T16:47:55.000Z
psearch/scripts/split.py
meddwl/psearch
58c374bdf6550ab43a8832aeaf9b18d5969640b5
[ "BSD-3-Clause" ]
10
2019-11-21T18:48:28.000Z
2021-08-22T12:19:01.000Z
#!/usr/bin/env python3 # author : Alina Kutlushina # date : 01.05.2018 # license : BSD-3 #============================================================================== import sys import argparse import pandas as pd def main(in_fname, out_act_fname, out_inact_fname): """ split a d...
41.04
113
0.60039
278
2,052
4.226619
0.381295
0.040851
0.05617
0.040851
0.201702
0.181277
0.168511
0.071489
0.071489
0
0
0.009038
0.245127
2,052
49
114
41.877551
0.749516
0.209064
0
0
0
0
0.276623
0
0
0
0
0
0
1
0.035714
false
0
0.107143
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
808ef805aa204de16575cc7dc058ed93b79e7158
175
py
Python
mxnet/process.py
ParadoxZW/Face_Cam_Exe
4623a8abb8d485f4c714081b6e3b78105e7423a7
[ "MIT" ]
4
2018-11-04T06:13:39.000Z
2019-12-16T13:32:18.000Z
mxnet/process.py
ParadoxZW/Face_Cam_Exe
4623a8abb8d485f4c714081b6e3b78105e7423a7
[ "MIT" ]
null
null
null
mxnet/process.py
ParadoxZW/Face_Cam_Exe
4623a8abb8d485f4c714081b6e3b78105e7423a7
[ "MIT" ]
null
null
null
# import cv2 import os # import numpy as np list = os.listdir('./') names = open('sn.txt', 'a') for path in list: names.write('(\'mxnet\\\\' + path +'\' ,\'.\'),\n')
25
55
0.531429
25
175
3.72
0.76
0
0
0
0
0
0
0
0
0
0
0.007143
0.2
175
7
55
25
0.657143
0.165714
0
0
0
0
0.195652
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
808f76f97cbe057b74c0a81a931896d5d9eb9b7d
2,084
py
Python
1024/cl/spiders/grass.py
wkias/1024
501e9cb2563e8dc6cad84e99db2128f2a447af91
[ "MIT" ]
2
2020-12-02T12:25:52.000Z
2021-01-08T02:51:54.000Z
1024/cl/spiders/grass.py
wkias/1024
501e9cb2563e8dc6cad84e99db2128f2a447af91
[ "MIT" ]
null
null
null
1024/cl/spiders/grass.py
wkias/1024
501e9cb2563e8dc6cad84e99db2128f2a447af91
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import scrapy from ..items import ClItem from ..settings import META_URL from ..settings import SELECT from ..settings import TYPE from ..settings import DOWNLOAD_HISTORY class GrassSpider(scrapy.Spider): name = 'grass' # allowed_domains = [] start_urls = [META_URL + 'thread.php?fi...
41.68
88
0.490883
240
2,084
4.1625
0.329167
0.088088
0.03003
0.054054
0.211211
0.144144
0.144144
0.102102
0.102102
0.102102
0
0.011494
0.332054
2,084
49
89
42.530612
0.706178
0.056142
0
0.209302
0
0
0.137035
0
0
0
0
0
0
1
0.023256
false
0
0.139535
0
0.232558
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
808fdabed7258384deb736c07d8b5eb6ec74e18d
97
py
Python
src/constants.py
lbilic/Soft
ebdf52f28b60c89f8efb89b7b3cada01026950bc
[ "MIT" ]
20
2018-12-18T06:46:04.000Z
2022-02-20T16:04:46.000Z
src/constants.py
lbilic/Soft
ebdf52f28b60c89f8efb89b7b3cada01026950bc
[ "MIT" ]
6
2018-03-30T13:12:05.000Z
2018-03-30T13:12:16.000Z
src/constants.py
lbilic/Soft
ebdf52f28b60c89f8efb89b7b3cada01026950bc
[ "MIT" ]
14
2018-06-19T13:33:41.000Z
2021-12-22T13:58:38.000Z
FOREGROUND_THRESHOLD = .25 IMG_PATCH_SIZE = 16 NUM_CHANNELS = 3 NUM_LABELS = 2 PIXEL_DEPTH = 255
16.166667
26
0.783505
16
97
4.375
0.9375
0
0
0
0
0
0
0
0
0
0
0.109756
0.154639
97
5
27
19.4
0.743902
0
0
0
0
0
0
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
8091841aebc9cd0d5574ba4316a7afa63efa62f3
12,177
py
Python
doc/test-keys.py
marmidr/TWins
3e29cc9dbe348ffd59f6aad06ddd6ddd3aef91a7
[ "MIT" ]
null
null
null
doc/test-keys.py
marmidr/TWins
3e29cc9dbe348ffd59f6aad06ddd6ddd3aef91a7
[ "MIT" ]
null
null
null
doc/test-keys.py
marmidr/TWins
3e29cc9dbe348ffd59f6aad06ddd6ddd3aef91a7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # https://wiki.bash-hackers.org/scripting/terminalcodes import sys,termios, time ## Font attributes ## # off off = '\x1b[0m' # off default = '\x1b[39m' # default foreground DEFAULT = '\x1b[49m' # default background # bd = '\x1b[1m' # bold ft = '\x1b[2m' # faint st = '\x1b[3m' # standout ul = '\...
31.710938
88
0.302538
1,352
12,177
2.704142
0.256657
0.014223
0.011488
0.0186
0.159737
0.14442
0.126368
0.116521
0.10558
0.065098
0
0.103093
0.450357
12,177
383
89
31.793734
0.44315
0.15595
0
0.080386
0
0
0.214807
0
0
0
0
0
0
1
0.016077
false
0
0.003215
0
0.022508
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8091f803a97bac3ff576f5dd377c3775b3de1ebd
740
py
Python
Twitoff-01/twitoff/app.py
ivan-mihailov/LS-Unit-3-Sprint-3-Module-1
964029740d8db34121f19e5dec4c76c23c256c01
[ "Apache-2.0" ]
null
null
null
Twitoff-01/twitoff/app.py
ivan-mihailov/LS-Unit-3-Sprint-3-Module-1
964029740d8db34121f19e5dec4c76c23c256c01
[ "Apache-2.0" ]
null
null
null
Twitoff-01/twitoff/app.py
ivan-mihailov/LS-Unit-3-Sprint-3-Module-1
964029740d8db34121f19e5dec4c76c23c256c01
[ "Apache-2.0" ]
null
null
null
import os from flask import Flask, render_template, request from .models import db, User def create_app(): """Create and configure an instance of the Flask appication.""" app_dir = os.path.dirname(os.path.abspath(__file__)) database = "sqlite:///{}".format(os.path.join(app_dir, "twitoff.sqlite3")) ...
29.6
83
0.644595
94
740
4.882979
0.56383
0.039216
0.082789
0.074074
0.100218
0
0
0
0
0
0
0.001712
0.210811
740
24
84
30.833333
0.784247
0.133784
0
0
0
0
0.159306
0.083596
0
0
0
0
0
1
0.133333
false
0
0.2
0
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
809321ce7f4ed89b3d9c2cee1b729e5803693f21
1,664
py
Python
locations/spiders/costacoffee_pl.py
cmecklenborg/alltheplaces
e62b59fb0071b6e289c4622d368fdb203a28347e
[ "MIT" ]
null
null
null
locations/spiders/costacoffee_pl.py
cmecklenborg/alltheplaces
e62b59fb0071b6e289c4622d368fdb203a28347e
[ "MIT" ]
null
null
null
locations/spiders/costacoffee_pl.py
cmecklenborg/alltheplaces
e62b59fb0071b6e289c4622d368fdb203a28347e
[ "MIT" ]
null
null
null
import scrapy from locations.items import GeojsonPointItem class CostaCoffeePLSpider(scrapy.Spider): name = "costacoffee_pl" item_attributes = {"brand": "Costa Coffee", "brand_wikidata": "Q608845"} allowed_domains = ["api.costacoffee.pl"] start_urls = ["https://api.costacoffee.pl/api/storelocator/lis...
32.627451
86
0.412861
121
1,664
5.61157
0.578512
0.057437
0.047128
0
0
0
0
0
0
0
0
0.006704
0.462139
1,664
50
87
33.28
0.751955
0.043269
0
0.069767
0
0
0.183019
0
0
0
0
0
0
1
0.023256
false
0
0.046512
0
0.186047
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
809358564886b7b38cfb4df0981ded339161c3b7
7,530
py
Python
Recurrent Neural Network.py
Sayansree/Recurrent-Neural-Network-from-scrach
16daa7a203b4558fecbd783d9218929561485bb3
[ "MIT" ]
null
null
null
Recurrent Neural Network.py
Sayansree/Recurrent-Neural-Network-from-scrach
16daa7a203b4558fecbd783d9218929561485bb3
[ "MIT" ]
null
null
null
Recurrent Neural Network.py
Sayansree/Recurrent-Neural-Network-from-scrach
16daa7a203b4558fecbd783d9218929561485bb3
[ "MIT" ]
null
null
null
import numpy as np """ basic implementation of Recurrent Neural Networks from scrach to train model to learn to add any number pair when given in binary arrayed format devloper-->sayaneree paria """ class RecurrentNeuralNetwork: def __init__(self,hidden_size=10): """hidden_size is number of...
41.147541
165
0.619389
1,012
7,530
4.501976
0.238142
0.026339
0.027656
0.005268
0.098771
0.065189
0.04741
0.032924
0.032924
0.015803
0
0.024004
0.286321
7,530
182
166
41.373626
0.823781
0.290704
0
0.023529
0
0
0.01052
0
0
0
0
0
0
1
0.117647
false
0
0.011765
0
0.223529
0.035294
0
0
0
null
0
0
0
0
0
0
0
0
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
8093a2725077b2b49d9c6858f567993bef3daea9
572
py
Python
Asyncio/asyncio_ensure_future.py
xlui/PythonExamples
0389efb84e01dc1310bb2bab7aa2433c0e1b45c4
[ "MIT" ]
null
null
null
Asyncio/asyncio_ensure_future.py
xlui/PythonExamples
0389efb84e01dc1310bb2bab7aa2433c0e1b45c4
[ "MIT" ]
null
null
null
Asyncio/asyncio_ensure_future.py
xlui/PythonExamples
0389efb84e01dc1310bb2bab7aa2433c0e1b45c4
[ "MIT" ]
null
null
null
# asyncio_ensure_future.py import asyncio async def wrapped(): print('now in function wrapped') return 'result' async def inner(task): print('now in function inner') print('inner: waiting for {!r}'.format(task)) ret = await task print('inner: task return: {}'.format(ret)) async def outer()...
20.428571
49
0.685315
77
572
4.961039
0.415584
0.094241
0.099476
0.094241
0
0
0
0
0
0
0
0
0.181818
572
27
50
21.185185
0.816239
0.041958
0
0
0
0
0.254579
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.111111
0.388889
0
0
0
null
0
0
0
0
0
0
0
0
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
80940e10972b61cf1900104bd927a2163e4fae1d
1,737
py
Python
tests/test_db_operations.py
antoniodimariano/metrics_consumer
5c485f3b6c2b6788f947c02b49083ce237424bfc
[ "Apache-2.0" ]
null
null
null
tests/test_db_operations.py
antoniodimariano/metrics_consumer
5c485f3b6c2b6788f947c02b49083ce237424bfc
[ "Apache-2.0" ]
null
null
null
tests/test_db_operations.py
antoniodimariano/metrics_consumer
5c485f3b6c2b6788f947c02b49083ce237424bfc
[ "Apache-2.0" ]
null
null
null
from psycopg2 import pool import psycopg2 import psycopg2.extras import unittest class TestDB(unittest.TestCase): def setUp(self): self.connection_pool = pool.ThreadedConnectionPool(1, 2, database='test', user='postgresql', password='test123', hos...
39.477273
185
0.666091
209
1,737
5.315789
0.416268
0.113411
0.113411
0.018002
0.191719
0.10261
0.10261
0
0
0
0
0.038971
0.217041
1,737
43
186
40.395349
0.777941
0
0
0
0
0.028571
0.157743
0.027058
0
0
0
0
0.2
1
0.142857
false
0.028571
0.114286
0
0.285714
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
8094696f113e89bc44cd16bd0305b2a5ac21b60d
747
py
Python
productive/producer/models/livestock_sales_channel.py
tapiaw38/productive-app
b862069700882a242b8ae350c146bb8950142436
[ "MIT" ]
null
null
null
productive/producer/models/livestock_sales_channel.py
tapiaw38/productive-app
b862069700882a242b8ae350c146bb8950142436
[ "MIT" ]
null
null
null
productive/producer/models/livestock_sales_channel.py
tapiaw38/productive-app
b862069700882a242b8ae350c146bb8950142436
[ "MIT" ]
null
null
null
""" Model Sales Channel Production Livestock """ from django.db import models class LivestockSalesChannel(models.Model): """ Modelo canal de ventas relacionado con la produccion """ production_livestock = models.OneToOneField( "producer.ProductionLivestock", related_name="livestock_sale...
31.125
69
0.709505
76
747
6.75
0.565789
0.245614
0.163743
0
0
0
0
0
0
0
0
0
0.196787
747
24
69
31.125
0.855
0.127175
0
0
0
0
0.108661
0.080315
0
0
0
0
0
1
0.0625
false
0
0.0625
0.0625
0.75
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
1
0
0
2
8095fed737853a16f266e29c70aa1c6f509f7dd8
967
py
Python
test-framework/test-suites/integration/tests/report/test_report_discovery.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
null
null
null
test-framework/test-suites/integration/tests/report/test_report_discovery.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
null
null
null
test-framework/test-suites/integration/tests/report/test_report_discovery.py
khanfluence/stacki-cumulus-switch
df54afb20f6ea6a3a136b3c09b30df54ea79ffcc
[ "BSD-3-Clause" ]
null
null
null
import os import subprocess import pytest @pytest.mark.usefixtures("revert_discovery") class TestReportDiscovery: def test_report_daemon_not_running(self, host): "Test the output when the discovery daemon is not running" # Make sure discovery isn't running result = host.run("stack disable discovery") asser...
28.441176
60
0.741468
137
967
5.175182
0.335766
0.135402
0.09591
0.101551
0.561354
0.561354
0.561354
0.561354
0.561354
0.561354
0
0.004988
0.170631
967
33
61
29.30303
0.879052
0.219235
0
0.285714
0
0
0.384437
0
0
0
0
0
0.380952
1
0.095238
false
0
0.142857
0
0.285714
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
809668ea6678e6fc0ac8190a7a64ddbf086a2f6c
862
py
Python
Python/magic_8_ball.py
rockchipgh/Hacktoberfest2020-1
1d1e28614aa16c1bac2560b0250ce0014e48241d
[ "MIT" ]
null
null
null
Python/magic_8_ball.py
rockchipgh/Hacktoberfest2020-1
1d1e28614aa16c1bac2560b0250ce0014e48241d
[ "MIT" ]
null
null
null
Python/magic_8_ball.py
rockchipgh/Hacktoberfest2020-1
1d1e28614aa16c1bac2560b0250ce0014e48241d
[ "MIT" ]
null
null
null
#*****MAGIC 8 BALL CODE***** import sys import random ans = True while ans: question = input("ask the magic 8 ball a question: (press enter to quit) ") answers = random.randint(1,8) if question == "": sys.exit() elif answers == 1: print ("Good:)") elif answ...
22.684211
88
0.512761
109
862
4.055046
0.513761
0.199095
0.045249
0.049774
0.167421
0.167421
0.167421
0.167421
0.167421
0.167421
0
0.021467
0.351508
862
37
89
23.297297
0.769231
0.031323
0
0
0
0.041667
0.332134
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
8097ac4f2c3ab576de8d5aa4f37130c113315bd2
1,060
py
Python
scripts/dhp19/generate_DHP19/Python_Files/BackgroundFilter.py
preshmalinetpereira/lifting_events_to_3d_hpe
2d7b196dc6ab85e10ae07466657304f324a64a37
[ "Apache-2.0" ]
null
null
null
scripts/dhp19/generate_DHP19/Python_Files/BackgroundFilter.py
preshmalinetpereira/lifting_events_to_3d_hpe
2d7b196dc6ab85e10ae07466657304f324a64a37
[ "Apache-2.0" ]
null
null
null
scripts/dhp19/generate_DHP19/Python_Files/BackgroundFilter.py
preshmalinetpereira/lifting_events_to_3d_hpe
2d7b196dc6ab85e10ae07466657304f324a64a37
[ "Apache-2.0" ]
null
null
null
### File created by preshma import numpy as np import math def BackgroundFilter(x,y,t,pol,cam,xdim,ydim,dt): lastTimesMap=np.zeros((xdim,ydim)) index=np.zeros((len(t),1)) for i in range(len(t)): ts=t[i] xs=x[i]-1 #to compensate for matlab indexing starting from 1 ys=y[i]-1 d...
32.121212
68
0.551887
173
1,060
3.381503
0.265896
0.215385
0.218803
0.174359
0.502564
0.471795
0.266667
0.205128
0.145299
0.145299
0
0.032342
0.270755
1,060
33
69
32.121212
0.72445
0.067925
0
0
0
0
0
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.148148
0
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
0
0
0
0
0
0
0
3
8098871e0930a689062b0ccaa88626806d0cc195
3,372
py
Python
venus/venus/test_venus.py
FrederichRiver/neutrino2
65e158f0d64046628cf2d1d52bdb3161489c7595
[ "BSD-3-Clause" ]
null
null
null
venus/venus/test_venus.py
FrederichRiver/neutrino2
65e158f0d64046628cf2d1d52bdb3161489c7595
[ "BSD-3-Clause" ]
null
null
null
venus/venus/test_venus.py
FrederichRiver/neutrino2
65e158f0d64046628cf2d1d52bdb3161489c7595
[ "BSD-3-Clause" ]
null
null
null
from stock_base import StockEventBase, dataLine def unit_test_NoneHeaderError(): try: raise NoneHeaderError('Test!') except NoneHeaderError as e: print(e) def unit_test_stockEventBase(): from dev_global.env import GLOBAL_HEADER import pandas as pd event = StockEventBase(GLOBAL_HE...
28.576271
68
0.673191
430
3,372
4.990698
0.3
0.067102
0.051258
0.022367
0.173346
0.102516
0.069897
0.035415
0
0
0
0.026417
0.225386
3,372
117
69
28.820513
0.795176
0.051008
0
0.179775
0
0
0.076441
0
0
0
0
0
0
1
0.11236
false
0
0.191011
0
0.303371
0.168539
0
0
0
null
0
0
0
0
0
0
0
0
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
8099edc75a8e1289de2d8bd7684b17513889d966
7,592
py
Python
io_mesh_urho/utils.py
practicing01/Urho3D-Blender
820f03c34adda7594aa8ebc3f95cd71382a51528
[ "Unlicense" ]
null
null
null
io_mesh_urho/utils.py
practicing01/Urho3D-Blender
820f03c34adda7594aa8ebc3f95cd71382a51528
[ "Unlicense" ]
null
null
null
io_mesh_urho/utils.py
practicing01/Urho3D-Blender
820f03c34adda7594aa8ebc3f95cd71382a51528
[ "Unlicense" ]
null
null
null
# # This script is licensed as public domain. # # http://docs.python.org/2/library/struct.html from xml.etree import ElementTree as ET from xml.dom import minidom import os import struct import array import logging log = logging.getLogger("ExportLogger") def enum(**enums): return type('Enum', (), enums) PathT...
27.607273
83
0.576264
890
7,592
4.898876
0.291011
0.022936
0.01445
0.024083
0.155963
0.124771
0.120642
0.059174
0.059174
0.059174
0
0.007742
0.285432
7,592
274
84
27.708029
0.795945
0.18638
0
0.147929
0
0
0.056462
0
0
0
0
0
0
1
0.16568
false
0.005917
0.035503
0.035503
0.331361
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
809cbc92d834b903ea9a7f231c4069974f14b439
793
py
Python
751_ConcatenationCoincidence.py
joetache4/project-euler
82f9e25b414929d9f62d94905906ba2f57db7935
[ "MIT" ]
null
null
null
751_ConcatenationCoincidence.py
joetache4/project-euler
82f9e25b414929d9f62d94905906ba2f57db7935
[ "MIT" ]
null
null
null
751_ConcatenationCoincidence.py
joetache4/project-euler
82f9e25b414929d9f62d94905906ba2f57db7935
[ "MIT" ]
null
null
null
""" Joe Tacheron difficulty: TBD runtime: instant answer: 2.223561019313554106173177 *** 751 Concatenation Coincidence Find the only value of theta for which the concatenated sequence equals theta. Give your answer rounded to 24 places after the decimal point. """ from math import floor from decimal import getco...
19.341463
141
0.682219
126
793
4.285714
0.5
0.014815
0.038889
0.048148
0
0
0
0
0
0
0
0.108271
0.161412
793
41
142
19.341463
0.703759
0.351829
0
0.105263
0
0
0.064202
0
0
0
0
0
0.052632
1
0.052632
false
0
0.105263
0
0.210526
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
809d031223a45a8f910ee17a551eeb4a17745210
487
py
Python
wildlifecompliance/migrations/0466_inspection_informed_datetime.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
1
2020-12-07T17:12:40.000Z
2020-12-07T17:12:40.000Z
wildlifecompliance/migrations/0466_inspection_informed_datetime.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
14
2020-01-08T08:08:26.000Z
2021-03-19T22:59:46.000Z
wildlifecompliance/migrations/0466_inspection_informed_datetime.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
15
2020-01-08T08:02:28.000Z
2021-11-03T06:48:32.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2020-04-20 02:34 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('wildlifecompliance', '0465_auto_20200415_1227'), ] operations = [ migration...
23.190476
62
0.638604
52
487
5.788462
0.807692
0
0
0
0
0
0
0
0
0
0
0.090164
0.24846
487
20
63
24.35
0.73224
0.13963
0
0
1
0
0.163462
0.055288
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
809d6db57d7ccbeed3286156e788d7b40de4e64f
2,991
py
Python
apps/cuenta/views.py
mariomtzjr/podemos_test
5efaf02a19aa8c4849e3ad0108546e95af524126
[ "MIT" ]
null
null
null
apps/cuenta/views.py
mariomtzjr/podemos_test
5efaf02a19aa8c4849e3ad0108546e95af524126
[ "MIT" ]
null
null
null
apps/cuenta/views.py
mariomtzjr/podemos_test
5efaf02a19aa8c4849e3ad0108546e95af524126
[ "MIT" ]
null
null
null
import json from datetime import datetime, timedelta from collections import defaultdict from django.shortcuts import redirect from rest_framework import generics from rest_framework import status from rest_framework.response import Response from rest_framework.renderers import TemplateHTMLRenderer from api.serialize...
33.606742
82
0.63223
311
2,991
5.961415
0.321543
0.052859
0.037756
0.043689
0.157497
0.134844
0.134844
0.097087
0.097087
0.097087
0
0.005991
0.27449
2,991
88
83
33.988636
0.848387
0.00769
0
0.089552
0
0
0.057991
0.016521
0
0
0
0
0
1
0.044776
false
0
0.19403
0
0.41791
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
809dce66f1ae4ba19a16cb38353f61a408805045
2,651
py
Python
BioClients/pubtator/Client.py
jeremyjyang/BioClients
b78ab2b948c79616fed080112e31d383346bec58
[ "CC0-1.0" ]
10
2020-05-26T07:29:14.000Z
2021-12-06T21:33:40.000Z
BioClients/pubtator/Client.py
jeremyjyang/BioClients
b78ab2b948c79616fed080112e31d383346bec58
[ "CC0-1.0" ]
1
2021-10-05T12:25:30.000Z
2021-10-05T17:05:56.000Z
BioClients/pubtator/Client.py
jeremyjyang/BioClients
b78ab2b948c79616fed080112e31d383346bec58
[ "CC0-1.0" ]
2
2021-03-16T03:20:24.000Z
2021-08-08T20:17:10.000Z
#!/usr/bin/env python3 """ Pubtator REST API client https://www.ncbi.nlm.nih.gov/CBBresearch/Lu/Demo/tmTools/RESTfulAPIs.html Formats: JSON, PubTator, BioC. Nomenclatures: Gene : NCBI Gene e.g. https://www.ncbi.nlm.nih.gov/sites/entrez?db=gene&term=145226 Disease : MEDIC (CTD, CTD_diseases.csv) e.g. http://ctdbase...
38.42029
138
0.692569
386
2,651
4.663212
0.450777
0.045
0.085
0.043333
0.106667
0.097778
0.097778
0.097778
0.072222
0.051111
0
0.016553
0.111279
2,651
68
139
38.985294
0.747453
0.296492
0
0
0
0
0.273495
0.036016
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
809fc3dd1ab1b80d5c8a28d77f62a444addf0bea
270
py
Python
python/utils/RunnerTypes.py
coreyjadams/harvard_production
233f20ef62ca34375f09417f4a507aa977c53a2a
[ "MIT" ]
null
null
null
python/utils/RunnerTypes.py
coreyjadams/harvard_production
233f20ef62ca34375f09417f4a507aa977c53a2a
[ "MIT" ]
null
null
null
python/utils/RunnerTypes.py
coreyjadams/harvard_production
233f20ef62ca34375f09417f4a507aa977c53a2a
[ "MIT" ]
1
2018-10-15T16:44:55.000Z
2018-10-15T16:44:55.000Z
from GalleryRunner import GalleryRunner from LarsoftRunner import LarsoftRunner class RunnerTypes(dict): def __init__(self, **kwargs): super(RunnerTypes, self).__init__(kwargs) self['larsoft'] = LarsoftRunner self['gallery'] = GalleryRunner
30
49
0.722222
26
270
7.192308
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.185185
270
9
50
30
0.85
0
0
0
0
0
0.051661
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
1
0
0
3
80a03041f1e4b028ca0717c34d104f8912df41aa
6,258
py
Python
pyshooter/main.py
stes/pyshooter
670748eac8e5c7a29b67dcf95fbd7fd14831b518
[ "MIT", "Unlicense" ]
null
null
null
pyshooter/main.py
stes/pyshooter
670748eac8e5c7a29b67dcf95fbd7fd14831b518
[ "MIT", "Unlicense" ]
null
null
null
pyshooter/main.py
stes/pyshooter
670748eac8e5c7a29b67dcf95fbd7fd14831b518
[ "MIT", "Unlicense" ]
null
null
null
from entities import Tank, Missile, Base from particlesys import ParticleSystem import ai import pygame import sys import copy ''' General constants ''' WIDTH = 800 HEIGHT = 600 ''' ''' psys = ParticleSystem() ''' Key bindings for both players ''' KEY_BINDINGS_1 = {pygame.K_LEFT: "left", ...
35.355932
114
0.606903
851
6,258
4.358402
0.27027
0.026422
0.037746
0.053923
0.249933
0.183338
0.166622
0.150445
0.150445
0.107846
0
0.058487
0.27325
6,258
176
115
35.556818
0.757036
0.034835
0
0.036697
0
0
0.039015
0
0
0
0.007511
0
0
0
null
null
0
0.055046
null
null
0.009174
0
0
0
null
0
0
0
0
0
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
80a12c4987e87f980393646110ccfe0a77ee3cbb
3,340
py
Python
mdnc/utils/tools.py
cainmagi/MDNC
ce5e88b4c4880e8ecdbd82ee1da48335bad20b53
[ "MIT" ]
null
null
null
mdnc/utils/tools.py
cainmagi/MDNC
ce5e88b4c4880e8ecdbd82ee1da48335bad20b53
[ "MIT" ]
null
null
null
mdnc/utils/tools.py
cainmagi/MDNC
ce5e88b4c4880e8ecdbd82ee1da48335bad20b53
[ "MIT" ]
null
null
null
#!python # -*- coding: UTF-8 -*- ''' ################################################################ # Utilities - Tools # @ Modern Deep Network Toolkits for pyTorch # Yuchen Jin @ cainmagi@gmail.com # Requirements: (Pay attention to version) # python 3.5+ # numpy 1.13+ # Useful tools for data analysis and recordi...
30.925926
75
0.577844
398
3,340
4.663317
0.376884
0.041487
0.02694
0.038793
0.052802
0.052802
0
0
0
0
0
0.00251
0.284431
3,340
107
76
31.214953
0.774059
0.414671
0
0.081633
0
0
0.037016
0
0
0
0
0
0
1
0.244898
false
0
0.020408
0.020408
0.44898
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
80a1edfb39244009248c251e763cdd1deed6666f
925
py
Python
2. Programming Fundamentals With Python (May 2021)/18. Mid Exam Preparation/More Exercises/02_array_modifier.py
kzborisov/SoftUni
ccb2b8850adc79bfb2652a45124c3ff11183412e
[ "MIT" ]
1
2021-02-07T07:51:12.000Z
2021-02-07T07:51:12.000Z
2. Programming Fundamentals With Python (May 2021)/18. Mid Exam Preparation/More Exercises/02_array_modifier.py
kzborisov/softuni
9c5b45c74fa7d9748e9b3ea65a5ae4e15c142751
[ "MIT" ]
null
null
null
2. Programming Fundamentals With Python (May 2021)/18. Mid Exam Preparation/More Exercises/02_array_modifier.py
kzborisov/softuni
9c5b45c74fa7d9748e9b3ea65a5ae4e15c142751
[ "MIT" ]
null
null
null
class Modifier: def __init__(self, lst): self.lst = lst def swap(self, index_1, index_2): self.lst[index_1], self.lst[index_2] = self.lst[index_2], self.lst[index_1] def multiply(self, index_1, index_2): self.lst[index_1] = int(self.lst[index_1]) * int(self.lst[index_2]) def d...
26.428571
83
0.597838
137
925
3.854015
0.226277
0.145833
0.159091
0.098485
0.481061
0.481061
0.422348
0.350379
0.291667
0.181818
0
0.035511
0.238919
925
34
84
27.205882
0.714489
0
0
0.230769
0
0
0.027027
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.192308
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
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
80a2a8d0820253e95e290a620678375fc27af9cc
6,023
py
Python
undeployed/subjects/chunking/chunk_bundle.py
NASA-DEVELOP/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
65
2015-09-10T12:59:56.000Z
2022-02-27T22:09:03.000Z
undeployed/subjects/chunking/chunk_bundle.py
snowzm/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
40
2015-04-08T19:23:30.000Z
2015-08-04T15:53:11.000Z
undeployed/subjects/chunking/chunk_bundle.py
snowzm/dnppy
8f7ef6f0653f5a4ea730ee557c72a2c89c06ce0b
[ "NASA-1.3" ]
45
2015-08-14T19:09:38.000Z
2022-02-15T18:53:16.000Z
__author__ = 'jwely' import numpy import os from chunk import chunk # from dnppy import raster # please see chunk_bundle.read() for dnppy.raster import class chunk_bundle(): """ Creates a chunk bundle object. it can be used to pass smaller pieces of raster data to complex functions and reduce me...
33.648045
123
0.62859
779
6,023
4.724005
0.322208
0.029348
0.031793
0.01712
0.1375
0.128804
0.099185
0.083424
0.063859
0.063859
0
0.010024
0.304333
6,023
179
124
33.648045
0.868258
0.442305
0
0.235294
0
0
0.105246
0.05214
0
0
0
0
0
1
0.102941
false
0.029412
0.073529
0
0.294118
0.014706
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80a2d988e41df3a0c79d453576a3823c0cb38741
58,965
py
Python
quart_app/beyondchaosmaster/wor.py
razzlestorm/BCRandomizer-API
2e5aec91c34b46e845bca695d3468eb8f3bae401
[ "MIT" ]
1
2021-06-15T03:54:53.000Z
2021-06-15T03:54:53.000Z
quart_app/beyondchaosmaster/wor.py
razzlestorm/BCRandomizer-API
2e5aec91c34b46e845bca695d3468eb8f3bae401
[ "MIT" ]
1
2021-09-13T04:32:43.000Z
2021-09-13T04:32:43.000Z
BeyondChaos/Wor.py
razzlestorm/BeyondChaosRandomizer
04a0acdcd9d4c3991a3e42cf1bba4299adda4435
[ "MIT" ]
null
null
null
import dataclasses from chestrandomizer import get_event_items from character import get_character, get_characters from dialoguemanager import get_dialogue, set_dialogue from locationrandomizer import get_location, get_locations, NPCBlock from monsterrandomizer import change_enemy_name from utils import (WOB_TREASURE_...
38.58966
540
0.602663
7,689
58,965
4.460918
0.151905
0.023557
0.022566
0.014927
0.406968
0.359592
0.326152
0.306997
0.284082
0.266414
0
0.121329
0.302501
58,965
1,527
541
38.614931
0.712653
0.218214
0
0.441132
0
0.000765
0.012208
0.001295
0
0
0.162612
0.000655
0.001529
1
0.013761
false
0.000765
0.005352
0
0.028287
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
80a53a59d7c9cc5fc9f43fec4ffd711ec190d7c2
3,742
py
Python
acs/acs/UtilitiesFWK/CommandLine.py
intel/test-framework-and-suites-for-android
3aae8452ae931437b3b5ac30f068dc22a8dc5b85
[ "Apache-2.0" ]
8
2018-09-14T01:34:01.000Z
2021-07-01T02:00:23.000Z
acs/acs/UtilitiesFWK/CommandLine.py
intel/test-framework-and-suites-for-android
3aae8452ae931437b3b5ac30f068dc22a8dc5b85
[ "Apache-2.0" ]
3
2019-09-10T11:39:50.000Z
2019-10-10T08:26:22.000Z
acs/acs/UtilitiesFWK/CommandLine.py
intel/test-framework-and-suites-for-android
3aae8452ae931437b3b5ac30f068dc22a8dc5b85
[ "Apache-2.0" ]
9
2018-10-11T15:14:03.000Z
2021-02-17T11:37:20.000Z
""" Copyright (C) 2018 Intel 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 writing, softw...
32.824561
103
0.613576
482
3,742
4.674274
0.348548
0.04261
0.024412
0.035952
0.110963
0.110963
0.063027
0.063027
0.063027
0.063027
0
0.009862
0.322555
3,742
113
104
33.115044
0.878895
0.504543
0
0.105263
0
0
0.013845
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.342105
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
80a591d2578be8c5e1c257e2cb19cda394c34edb
4,078
py
Python
azimuth-api.py
kgao/azimuth-ws
2db01323810c8c32f10326b3a6f2db0f08a5328d
[ "BSD-3-Clause" ]
null
null
null
azimuth-api.py
kgao/azimuth-ws
2db01323810c8c32f10326b3a6f2db0f08a5328d
[ "BSD-3-Clause" ]
null
null
null
azimuth-api.py
kgao/azimuth-ws
2db01323810c8c32f10326b3a6f2db0f08a5328d
[ "BSD-3-Clause" ]
null
null
null
from flask import Flask, jsonify, request import azimuth.model_comparison import numpy as np from azure_service import azure_service from azure_service.azure_service import Settings, AzureService app = Flask(__name__) @app.route("/") def home(): return "Welcome to use Azimuth Web Service API!" @app.route("/test...
36.088496
128
0.646395
480
4,078
5.341667
0.21875
0.031201
0.044462
0.050702
0.609594
0.568643
0.546802
0.542902
0.542902
0.542902
0
0.035421
0.22462
4,078
113
129
36.088496
0.775459
0.172143
0
0.488372
0
0
0.117927
0.052412
0
0
0
0
0
0
null
null
0
0.05814
null
null
0.011628
0
0
0
null
0
0
0
0
0
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
80a62709eb8bf8541d7beaf9230346f7765bbac5
939
py
Python
classification/classification.py
nsudhanva/Ohms
50f3308650ca6873b48991b6b862594e65c6b776
[ "MIT" ]
null
null
null
classification/classification.py
nsudhanva/Ohms
50f3308650ca6873b48991b6b862594e65c6b776
[ "MIT" ]
null
null
null
classification/classification.py
nsudhanva/Ohms
50f3308650ca6873b48991b6b862594e65c6b776
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import matplotlib.pyplot as plt import os from sklearn.neighbors import KNeighborsClassifier from sklearn.model_selection import train_test_split from sklearn.preprocessing import StandardScaler from sklearn.metrics import confusion_matrix from sklearn.metrics import classificatio...
36.115385
132
0.761448
148
939
4.601351
0.493243
0.080764
0.041116
0.070485
0
0
0
0
0
0
0
0.008294
0.101171
939
25
133
37.56
0.798578
0
0
0
0
0
0.090522
0.034079
0
0
0
0
0
1
0
false
0
0.473684
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
80a88e5e9ecb5d15095f3dd23e117c386a2556aa
30
py
Python
UNUSED - DON'T CHECK/mySQLImportTest.py
jamesxu123/ICS3U-FSE
7ec821dfa69856e3daa1a1bf4e86947c2b0ddeb3
[ "MIT" ]
null
null
null
UNUSED - DON'T CHECK/mySQLImportTest.py
jamesxu123/ICS3U-FSE
7ec821dfa69856e3daa1a1bf4e86947c2b0ddeb3
[ "MIT" ]
1
2018-06-11T14:12:00.000Z
2018-06-11T14:12:00.000Z
UNUSED - DON'T CHECK/mySQLImportTest.py
jamesxu123/ICS3U-FSE
7ec821dfa69856e3daa1a1bf4e86947c2b0ddeb3
[ "MIT" ]
1
2018-08-26T22:31:59.000Z
2018-08-26T22:31:59.000Z
import mysqlTest print('yay')
10
16
0.766667
4
30
5.75
1
0
0
0
0
0
0
0
0
0
0
0
0.1
30
2
17
15
0.851852
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
6
80a9421a4d5a2a46406e97fdc0d72056dcd5de4f
756
py
Python
users/urls.py
juliosinaysantos/django-auth-app
3309c68ee354171fd3548564e6e1733c81edb352
[ "MIT" ]
null
null
null
users/urls.py
juliosinaysantos/django-auth-app
3309c68ee354171fd3548564e6e1733c81edb352
[ "MIT" ]
null
null
null
users/urls.py
juliosinaysantos/django-auth-app
3309c68ee354171fd3548564e6e1733c81edb352
[ "MIT" ]
null
null
null
from django.urls import path from users.views import ( login, register, logout, profile, unverified_email, verify_email, password_reset, new_password, settings ) app_name = 'users' urlpatterns = [ path('register/', register, name='register'), path('login/', login, name='log...
28
75
0.662698
86
756
5.72093
0.27907
0.132114
0.065041
0
0
0
0
0
0
0
0
0
0.166667
756
26
76
29.076923
0.780952
0
0
0
0
0
0.280423
0.035714
0
0
0
0
0
1
0
false
0.166667
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
80aa11171d981757abd23c45640f5c0e84c66506
9,132
py
Python
scripts/image_dataset.py
KentJames/crocodile
83c34c0530521774ba48063bb2357fc92a74d334
[ "Apache-2.0" ]
4
2015-02-10T17:26:50.000Z
2019-12-28T17:14:48.000Z
scripts/image_dataset.py
KentJames/crocodile
83c34c0530521774ba48063bb2357fc92a74d334
[ "Apache-2.0" ]
5
2015-03-19T12:15:08.000Z
2015-06-19T12:51:26.000Z
scripts/image_dataset.py
KentJames/crocodile
83c34c0530521774ba48063bb2357fc92a74d334
[ "Apache-2.0" ]
10
2015-03-05T18:21:19.000Z
2018-07-30T02:04:23.000Z
#!/bin/env python3 import sys import os project_root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(project_root) import argparse import h5py import itertools import numpy import pylru from multiprocessing import Process, Array, Queue import ctypes import arl.test_support from crocodil...
38.209205
103
0.611695
1,281
9,132
4.278689
0.210773
0.021346
0.040321
0.015326
0.27568
0.207809
0.166575
0.135559
0.108009
0.108009
0
0.015685
0.232041
9,132
238
104
38.369748
0.765863
0.102606
0
0.08046
0
0.005747
0.153337
0.002694
0
0
0
0
0
1
0.034483
false
0
0.074713
0.011494
0.137931
0.143678
0
0
0
null
0
0
0
0
0
0
0
0
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
80aabb1ddedea47d5c34aa5cba9b2d4d107cdc8e
328
py
Python
spiders/SpiderThread.py
mazhen18/ScrapyAccordingISBN
43f8362c117247e03659c61d267b8cef435e8b64
[ "MIT" ]
null
null
null
spiders/SpiderThread.py
mazhen18/ScrapyAccordingISBN
43f8362c117247e03659c61d267b8cef435e8b64
[ "MIT" ]
null
null
null
spiders/SpiderThread.py
mazhen18/ScrapyAccordingISBN
43f8362c117247e03659c61d267b8cef435e8b64
[ "MIT" ]
null
null
null
import threading from local_utils.scrapyutils import scrap_bookinfos class SpiderThread(threading.Thread): """""" def __init__(self, name, isbn): """Constructor""" threading.Thread.__init__(self) self.name = name self.isbn = isbn def run(self): scrap_bookinfos(sel...
20.5
51
0.646341
36
328
5.583333
0.5
0.139303
0
0
0
0
0
0
0
0
0
0
0.243902
328
15
52
21.866667
0.810484
0.033537
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
80abd6f3fe8befc671d67477788549118eb7bfc2
2,953
py
Python
test/test_maps.py
mancellin/labelled_functions
4b6e1d646fbf5988ea2b522361fd792a7cbacd6f
[ "MIT" ]
1
2021-04-26T04:42:53.000Z
2021-04-26T04:42:53.000Z
test/test_maps.py
mancellin/labelled_functions
4b6e1d646fbf5988ea2b522361fd792a7cbacd6f
[ "MIT" ]
null
null
null
test/test_maps.py
mancellin/labelled_functions
4b6e1d646fbf5988ea2b522361fd792a7cbacd6f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 import pytest import numpy as np import pandas as pd import xarray as xr from labelled_functions import label from labelled_functions.maps import * from example_functions import * def test_map_with_several_kind_of_inputs(): length = np.random.rand(5) radius = np.random...
30.760417
122
0.511006
426
2,953
3.382629
0.192488
0.068702
0.014573
0.019431
0.480916
0.342817
0.233865
0.217904
0.142262
0.142262
0
0.030216
0.293938
2,953
95
123
31.084211
0.660911
0.043007
0
0.101449
0
0
0.032979
0
0
0
0
0.010526
0.202899
1
0.072464
false
0
0.101449
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
80abf46212f6da83161663ae23c53b1b475847f2
2,740
py
Python
api/posts/models.py
flatcoke/django-structure
d0a7a7489d2f49c72ec4ec030f87c3942d84bb90
[ "MIT" ]
6
2019-02-27T14:16:48.000Z
2021-08-12T23:47:13.000Z
api/posts/models.py
flatcoke/django-structure
d0a7a7489d2f49c72ec4ec030f87c3942d84bb90
[ "MIT" ]
3
2020-02-11T23:47:05.000Z
2021-06-10T17:46:35.000Z
api/posts/models.py
flatcoke/django-structure
d0a7a7489d2f49c72ec4ec030f87c3942d84bb90
[ "MIT" ]
1
2019-07-24T12:02:02.000Z
2019-07-24T12:02:02.000Z
from django.contrib.contenttypes.fields import GenericForeignKey, \ GenericRelation from django.contrib.contenttypes.models import ContentType from django.db import models as m from django.utils.translation import ugettext_lazy as _ class Post(m.Model): id = m.AutoField(primary_key=True) user = m.ForeignK...
36.052632
80
0.637591
327
2,740
5.082569
0.204893
0.048736
0.057762
0.048135
0.585439
0.568592
0.568592
0.568592
0.568592
0.568592
0
0.002845
0.230292
2,740
75
81
36.533333
0.785206
0
0
0.45
0
0
0.121898
0.016058
0
0
0
0
0
1
0
false
0
0.066667
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
80ac180f9a1f733a4e347f78769bceb79ce6c95d
719
py
Python
examples/api_csv_to_file.py
gjpower/python-sdk
e2f1bd7078afe0ed13364037992477a13ca8e4dc
[ "MIT" ]
18
2018-09-25T11:47:28.000Z
2021-12-14T20:28:39.000Z
examples/api_csv_to_file.py
gjpower/python-sdk
e2f1bd7078afe0ed13364037992477a13ca8e4dc
[ "MIT" ]
57
2018-11-08T12:40:30.000Z
2022-03-31T13:01:19.000Z
examples/api_csv_to_file.py
gjpower/python-sdk
e2f1bd7078afe0ed13364037992477a13ca8e4dc
[ "MIT" ]
34
2018-11-05T16:09:15.000Z
2022-03-08T10:51:34.000Z
import os from devo.api import Client, ClientConfig, TO_BYTES key = os.getenv('DEVO_API_KEY', None) secret = os.getenv('DEVO_API_SECRET', None) api = Client(auth={"key": key, "secret": secret}, address="https://apiv2-eu.devo.com/search/query", config=ClientConfig(response="csv", ...
29.958333
72
0.584145
93
719
4.44086
0.580645
0.050847
0.058111
0.072639
0
0
0
0
0
0
0
0.007547
0.262865
719
23
73
31.26087
0.771698
0
0
0
0
0
0.243394
0.03338
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80ac6e530ef3e3ca2f4277c6ca59011dab2aece5
2,246
py
Python
ovs/dal/lists/rolelist.py
mflu/openvstorage_centos
280a98d3e5d212d58297e0ffcecd325dfecef0f8
[ "Apache-2.0" ]
1
2015-08-29T16:36:40.000Z
2015-08-29T16:36:40.000Z
ovs/dal/lists/rolelist.py
rootfs-analytics/openvstorage
6184822340faea1d2927643330a7aaa781d92d36
[ "Apache-2.0" ]
null
null
null
ovs/dal/lists/rolelist.py
rootfs-analytics/openvstorage
6184822340faea1d2927643330a7aaa781d92d36
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 CloudFounders NV # # 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 writ...
35.650794
103
0.59528
262
2,246
5.061069
0.427481
0.045249
0.030166
0.052036
0.220211
0.220211
0.220211
0.220211
0.220211
0.220211
0
0.006402
0.304541
2,246
62
104
36.225806
0.84251
0.355744
0
0.5
0
0
0.059657
0
0
0
0
0
0
1
0.107143
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
80ad6ed4380cff811437166d91bf4e659300cfcd
5,776
py
Python
urfiles/load.py
rikfaith/urfiles
95319aae9e6400075cd5ee4a35b1f3a5e32eb571
[ "MIT" ]
null
null
null
urfiles/load.py
rikfaith/urfiles
95319aae9e6400075cd5ee4a35b1f3a5e32eb571
[ "MIT" ]
null
null
null
urfiles/load.py
rikfaith/urfiles
95319aae9e6400075cd5ee4a35b1f3a5e32eb571
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # load.py -*-python-*- import csv import io import os import re import time import urfiles.db # pylint: disable=unused-import from urfiles.log import DEBUG, INFO, ERROR, FATAL class Load(): def __init__(self, directories, config, source=None, debug=False, md5file='md5sum.t...
32.818182
77
0.540166
701
5,776
4.35378
0.256776
0.026212
0.019659
0.018349
0.241809
0.23329
0.197248
0.179554
0.179554
0.179554
0
0.019078
0.346607
5,776
175
78
33.005714
0.789613
0.116343
0
0.341085
0
0
0.09654
0
0
0
0
0
0
1
0.054264
false
0
0.054264
0
0.162791
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
80b391e2678d590743874f2eed1fba1b2919164c
375
py
Python
pyAitu/models/media/image.py
waihislam/pyAitu
6e7c3bfa7454d6ae91ba998017cf772bb6a25770
[ "Apache-2.0" ]
11
2019-09-26T05:09:20.000Z
2021-05-20T10:45:28.000Z
pyAitu/models/media/image.py
waihislam/pyAitu
6e7c3bfa7454d6ae91ba998017cf772bb6a25770
[ "Apache-2.0" ]
8
2019-10-08T13:41:09.000Z
2020-06-25T11:35:56.000Z
pyAitu/models/media/image.py
waihislam/pyAitu
6e7c3bfa7454d6ae91ba998017cf772bb6a25770
[ "Apache-2.0" ]
4
2020-02-18T09:02:37.000Z
2020-11-25T06:11:05.000Z
class Image: def __init__(self, json_object): self.type = json_object.get("type") self.fileId = json_object.get("fileId") self.mimeType = json_object.get("mimeType") self.name = json_object.get("name") self.size = json_object.get("size") self.width = json_object.get("...
41.666667
51
0.629333
49
375
4.571429
0.306122
0.357143
0.40625
0
0
0
0
0
0
0
0
0
0.226667
375
9
52
41.666667
0.772414
0
0
0
0
0
0.098404
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
80b3c7b4f629bbefdfd831c27a4993d38d32c777
2,656
py
Python
ffg_geo/vector3.py
GarrettGutierrez1/FFG_Geo
88a53407fbd7d0ae4908b4dfe4ee20f36be3d69f
[ "Apache-2.0" ]
null
null
null
ffg_geo/vector3.py
GarrettGutierrez1/FFG_Geo
88a53407fbd7d0ae4908b4dfe4ee20f36be3d69f
[ "Apache-2.0" ]
null
null
null
ffg_geo/vector3.py
GarrettGutierrez1/FFG_Geo
88a53407fbd7d0ae4908b4dfe4ee20f36be3d69f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """vector3.py Representation of a vector in 3D. License: http://www.apache.org/licenses/LICENSE-2.0""" import math class Vector3(object): def __init__(self, x: float, y: float, z: float) -> None: self.__c = (x, y, z) def __add__(self, other: 'Vector3') -> 'Vector3': ...
30.181818
120
0.569277
395
2,656
3.529114
0.162025
0.114778
0.043042
0.120517
0.5
0.378766
0.286944
0.286944
0.252511
0.252511
0
0.044532
0.239081
2,656
87
121
30.528736
0.645225
0.047063
0
0.055556
0
0
0.069307
0
0
0
0
0
0
1
0.444444
false
0
0.018519
0.425926
0.907407
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
80b3ded7af8cd9841983dca1a2e3c26add8a24cb
2,109
py
Python
tomoproc/util/logger.py
KedoKudo/tomoproc
b20270e87af4ce7459004a6ed928037ae8573b1e
[ "MIT" ]
1
2020-07-19T21:12:33.000Z
2020-07-19T21:12:33.000Z
tomoproc/util/logger.py
KedoKudo/xproc
b20270e87af4ce7459004a6ed928037ae8573b1e
[ "MIT" ]
null
null
null
tomoproc/util/logger.py
KedoKudo/xproc
b20270e87af4ce7459004a6ed928037ae8573b1e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Event and exception handeling with logger """ import functools import logging def create_logger(logfile=r"/tmp/tomoproc.log"): """Default logger for exception tracking""" logger = logging.getLogger("tomoproc_logger") logger.setLevel(logging.INFO) # ...
28.12
104
0.596017
258
2,109
4.670543
0.321705
0.049793
0.029876
0.041494
0.298755
0.298755
0.298755
0.298755
0.253942
0.253942
0
0.004496
0.261735
2,109
74
105
28.5
0.769428
0.158369
0
0.340426
0
0.021277
0.198622
0.096441
0
0
0
0
0
1
0.170213
false
0
0.042553
0
0.382979
0.085106
0
0
0
null
0
0
0
0
0
0
0
0
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
80b6a23d570751524a2f07ff3ef236f65d15c194
674
py
Python
trivial-forms/caller_1.py
mykespb/damba
1e16a6823fc2b307b023388f8dd61e5a83c6431b
[ "MIT" ]
null
null
null
trivial-forms/caller_1.py
mykespb/damba
1e16a6823fc2b307b023388f8dd61e5a83c6431b
[ "MIT" ]
null
null
null
trivial-forms/caller_1.py
mykespb/damba
1e16a6823fc2b307b023388f8dd61e5a83c6431b
[ "MIT" ]
null
null
null
#!python # caller_1.py # caller file for forms # Mikhail Kolodin, 2020 # ver. 2020-02-27 1.0 from forms_1 import * global_values = {'max': 5000, 'min': 100, 'name': 'Vasya'} def main(args): local_values = {'max': 3000, 'name': 'Kirill'} my_values = {**global_values, **local_values} temp = templates['ma...
21.741935
58
0.632047
90
674
4.5
0.477778
0.098765
0.093827
0.123457
0.355556
0.355556
0.355556
0.355556
0.355556
0.355556
0
0.052336
0.206231
674
30
59
22.466667
0.704673
0.123145
0
0.352941
0
0
0.165529
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.235294
0.352941
0
0
0
null
0
0
0
0
0
0
0
0
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
80b76c60f3c086d23ccee1b13b44a713627c6e19
142
py
Python
web-programming/python/classes.py
KamalSinghKhanna/Web-Programming
5c026ccca5b11257048f77ef95ff028c719e506a
[ "MIT" ]
null
null
null
web-programming/python/classes.py
KamalSinghKhanna/Web-Programming
5c026ccca5b11257048f77ef95ff028c719e506a
[ "MIT" ]
null
null
null
web-programming/python/classes.py
KamalSinghKhanna/Web-Programming
5c026ccca5b11257048f77ef95ff028c719e506a
[ "MIT" ]
null
null
null
class Point(): def __init__(self, input1, input2): self.x = input1 self.y = input2 p = Point(2, 8) print(p.x) print(p.y)
15.777778
39
0.570423
23
142
3.347826
0.565217
0.155844
0
0
0
0
0
0
0
0
0
0.058252
0.274648
142
9
40
15.777778
0.68932
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.285714
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
80b8a6cce37192bf40ffca015c22b4b54d5f60e3
3,614
py
Python
sahara/config.py
hortonworksqe/sahara
b8edeaf2b6a475728bf9fd2ddc3a860dc6c23270
[ "Apache-2.0" ]
1
2016-04-13T17:07:05.000Z
2016-04-13T17:07:05.000Z
sahara/config.py
hortonworksqe/sahara
b8edeaf2b6a475728bf9fd2ddc3a860dc6c23270
[ "Apache-2.0" ]
null
null
null
sahara/config.py
hortonworksqe/sahara
b8edeaf2b6a475728bf9fd2ddc3a860dc6c23270
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2013 Mirantis 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 writ...
33.775701
79
0.633647
454
3,614
4.936123
0.4163
0.026774
0.021419
0.014279
0.024096
0.024096
0.024096
0.024096
0
0
0
0.007634
0.275042
3,614
106
80
34.09434
0.84771
0.153016
0
0.052632
0
0
0.392646
0.018056
0
0
0
0
0
1
0.039474
false
0
0.052632
0
0.092105
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
80b8af7d0e63b2441f4f96ef7b409613e1e3bbf6
3,308
py
Python
scripts/python/set_districts_on_parking_places.py
grvl/grvl.github.io
1eff80b1dc01a612cc699f5f32e8ae342153e786
[ "MIT" ]
null
null
null
scripts/python/set_districts_on_parking_places.py
grvl/grvl.github.io
1eff80b1dc01a612cc699f5f32e8ae342153e786
[ "MIT" ]
null
null
null
scripts/python/set_districts_on_parking_places.py
grvl/grvl.github.io
1eff80b1dc01a612cc699f5f32e8ae342153e786
[ "MIT" ]
null
null
null
"""set_districts_on_parkgin_places.py set the district from SP, on the parking place. """ import json import math from sp_districts import get_districts, get_district_from_point _VAGAS_FILE = 'data/vagas/ZonaAzuVagas_DF_ID_latlong.json' _OUTPUT_FILE_RAW = 'data/vagas/vagas_latlong.csv' _OUTPUT_FILE_SCORED = 'data/v...
28.273504
78
0.58283
398
3,308
4.673367
0.301508
0.018817
0.027419
0.021505
0.146774
0.066667
0
0
0
0
0
0.005467
0.281137
3,308
116
79
28.517241
0.776703
0.137243
0
0.151899
0
0
0.168145
0.037247
0
0
0
0
0
1
0.050633
false
0
0.037975
0
0.101266
0.037975
0
0
0
null
0
0
0
0
0
0
0
0
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
80b9a3fc573c3c4f2095f1c187ca7ad44b7fa13f
10,744
py
Python
pybilt/bilayer_analyzer/leaflet.py
blakeaw/ORBILT
ed402dd496534dccd00f3e75b57007d944c58c1d
[ "MIT" ]
11
2019-07-29T16:21:53.000Z
2022-02-02T11:44:57.000Z
pybilt/bilayer_analyzer/leaflet.py
blakeaw/ORBILT
ed402dd496534dccd00f3e75b57007d944c58c1d
[ "MIT" ]
11
2019-05-15T09:30:05.000Z
2021-07-19T16:49:59.000Z
pybilt/bilayer_analyzer/leaflet.py
blakeaw/ORBILT
ed402dd496534dccd00f3e75b57007d944c58c1d
[ "MIT" ]
9
2019-08-12T11:14:45.000Z
2020-12-22T18:22:55.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function from builtins import object # leaflet object class Leaflet(object): """ Create a bilayer Leaflet representation. This class object is used to group lipids together according to their bilayer leaflet. ...
39.5
135
0.625558
1,427
10,744
4.608269
0.131044
0.0441
0.023723
0.010645
0.519465
0.448145
0.411496
0.395377
0.368461
0.349148
0
0.001469
0.302867
10,744
271
136
39.645756
0.876502
0.493206
0
0.378378
0
0
0.080504
0
0
0
0
0
0
1
0.162162
false
0
0.036036
0.018018
0.414414
0.045045
0
0
0
null
0
0
0
0
0
0
0
0
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
80ba70e30ea60ba73100e502e98b6715cae9406e
11,797
py
Python
train_dqn.py
jamqd/EE239AS
d1e45d8878ac61e0b6af38d6ce24b9d3a87fa285
[ "MIT" ]
2
2020-08-24T08:09:39.000Z
2020-08-31T11:42:12.000Z
train_dqn.py
jamqd/EE239AS
d1e45d8878ac61e0b6af38d6ce24b9d3a87fa285
[ "MIT" ]
null
null
null
train_dqn.py
jamqd/EE239AS
d1e45d8878ac61e0b6af38d6ce24b9d3a87fa285
[ "MIT" ]
null
null
null
import torch from torch import optim import torch.nn.functional as F from dqn import DQN import run import gym import numpy as np from trajectory_dataset import TrajectoryDataset from torch.utils.tensorboard import SummaryWriter from run import collect_trajectories import os import datetime import qvalues import random...
36.981191
127
0.610325
1,474
11,797
4.675712
0.183175
0.029019
0.033517
0.018572
0.448491
0.386535
0.351857
0.298752
0.262188
0.25
0
0.008504
0.282275
11,797
318
128
37.097484
0.80548
0.080953
0
0.307359
0
0
0.063669
0.013125
0
0
0
0
0
1
0.021645
false
0
0.064935
0
0.108225
0.064935
0
0
0
null
0
0
0
0
0
0
0
0
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
80ba74d0606b498a8e643910a20eeff2e8a3db5b
4,105
py
Python
tests/ClientServer/interop_tools/client_sc_renew.py
workerVA/S2OPC
9a5b6008559501f46a4bc079beea2d6655b1bfe5
[ "ECL-2.0", "Apache-2.0" ]
8
2018-09-28T16:03:55.000Z
2021-09-23T09:07:10.000Z
tests/ClientServer/interop_tools/client_sc_renew.py
workerVA/S2OPC
9a5b6008559501f46a4bc079beea2d6655b1bfe5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tests/ClientServer/interop_tools/client_sc_renew.py
workerVA/S2OPC
9a5b6008559501f46a4bc079beea2d6655b1bfe5
[ "ECL-2.0", "Apache-2.0" ]
1
2020-04-28T08:32:27.000Z
2020-04-28T08:32:27.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Licensed to Systerel under one or more contributor license # agreements. See the NOTICE file distributed with this work # for additional information regarding copyright ownership. # Systerel licenses this file to you under the Apache # License, Version 2.0 (the "License...
37.318182
111
0.703045
571
4,105
4.935201
0.345009
0.064585
0.038325
0.046132
0.407026
0.407026
0.351668
0.351668
0.323989
0.310859
0
0.016273
0.206577
4,105
109
112
37.66055
0.848941
0.350548
0
0.416667
0
0
0.185383
0.007994
0
0
0
0
0
1
0.033333
false
0.016667
0.15
0
0.183333
0.133333
0
0
0
null
0
0
0
0
0
0
0
0
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
80bc2884ecba206ed21a7fb62256701a985367e5
832
py
Python
roblox/promotionchannels.py
speer-kinjo/ro.py
2d5b80aec8fd143b11101fbbfdf3b557f798a27f
[ "MIT" ]
28
2021-11-04T11:13:38.000Z
2022-03-11T05:00:16.000Z
roblox/promotionchannels.py
speer-kinjo/ro.py
2d5b80aec8fd143b11101fbbfdf3b557f798a27f
[ "MIT" ]
12
2021-11-24T06:25:24.000Z
2022-03-18T14:37:01.000Z
roblox/promotionchannels.py
speer-kinjo/ro.py
2d5b80aec8fd143b11101fbbfdf3b557f798a27f
[ "MIT" ]
21
2021-10-20T16:36:55.000Z
2022-03-27T21:43:53.000Z
""" This module contains classes intended to parse and deal with data from Roblox promotion channel endpoints. """ from typing import Optional class UserPromotionChannels: """ Represents a user's promotion channels. Attributes: facebook: A link to the user's Facebook profile. twitter: ...
27.733333
106
0.652644
103
832
5.116505
0.436893
0.104364
0.142315
0.056926
0.085389
0.085389
0
0
0
0
0
0
0.240385
832
29
107
28.689655
0.833861
0.41226
0
0
0
0
0.13964
0.060811
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80bcc9aff7166b320e85d3dea2785530a717ef20
1,256
py
Python
training/Toxic_CNN1_MCD.py
jsandersen/CMT
1be6e36b9a6042386395bc654c9dd4b579e6ce6d
[ "Apache-2.0" ]
null
null
null
training/Toxic_CNN1_MCD.py
jsandersen/CMT
1be6e36b9a6042386395bc654c9dd4b579e6ce6d
[ "Apache-2.0" ]
null
null
null
training/Toxic_CNN1_MCD.py
jsandersen/CMT
1be6e36b9a6042386395bc654c9dd4b579e6ce6d
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf tf.compat.v1.disable_v2_behavior() from src.datasets.toxic import Toxic from src.models.cnn1 import getCNN1 from src.models.predict import predict_mcdropout import tensorflow as tf def build(): # config RANDOM_STATE = 1 VOCAB_SIZE = 20000 MAX_SEQUENCE_LENGTH = 500 ...
22.035088
83
0.636146
178
1,256
4.235955
0.410112
0.047745
0.067639
0.05305
0.05305
0.05305
0
0
0
0
0
0.03452
0.261943
1,256
57
84
22.035088
0.778857
0.030255
0
0.054054
0
0
0.091509
0.044518
0
0
0
0
0
1
0.027027
false
0
0.135135
0
0.162162
0.108108
0
0
0
null
0
0
0
0
0
0
0
0
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
80be7ef53052c878fdc38ea2f892c9d1a8f45ee3
1,691
py
Python
pal.py
pfreese/py_test
bf1cb713d63259c8b6db666924b69bd101b55674
[ "MIT" ]
null
null
null
pal.py
pfreese/py_test
bf1cb713d63259c8b6db666924b69bd101b55674
[ "MIT" ]
null
null
null
pal.py
pfreese/py_test
bf1cb713d63259c8b6db666924b69bd101b55674
[ "MIT" ]
null
null
null
def isPalindrome(r): rL = len(r) rHalf = rL // 2 for i in range(rHalf): if r[i] != r[rL - i - 1]: return False return True def longestPalindrome(s): sLen = len(s) if sLen < 2: return s if sLen == 2: if isPalindrome(s): return s else...
28.183333
90
0.591957
199
1,691
5.030151
0.246231
0.034965
0.017982
0.021978
0
0
0
0
0
0
0
0.020322
0.301597
1,691
59
91
28.661017
0.827265
0.009462
0
0.166667
0
0
0.002392
0
0
0
0
0
0
1
0.104167
false
0
0
0
0.354167
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
80bece861972253f223e4ca2fe5fcdbcc32983b7
8,437
py
Python
ignite/contrib/handlers/time_profilers.py
Patil2099/ignite
5d01c306150345e081b41b9b623bd04a3f599448
[ "BSD-3-Clause" ]
null
null
null
ignite/contrib/handlers/time_profilers.py
Patil2099/ignite
5d01c306150345e081b41b9b623bd04a3f599448
[ "BSD-3-Clause" ]
null
null
null
ignite/contrib/handlers/time_profilers.py
Patil2099/ignite
5d01c306150345e081b41b9b623bd04a3f599448
[ "BSD-3-Clause" ]
null
null
null
from collections import OrderedDict import torch from ignite.engine import Engine, Events from ignite.handlers import Timer class BasicTimeProfiler(object): def __init__(self): self._dataflow_timer = Timer() self._processing_timer = Timer() self._event_handlers_timer = Timer() def ...
35.154167
112
0.644779
1,009
8,437
5.021804
0.132805
0.087231
0.080521
0.056444
0.523584
0.452339
0.402802
0.3657
0.319518
0.313203
0
0.001872
0.24037
8,437
239
113
35.301255
0.788735
0.012919
0
0.314917
0
0
0.142634
0.057078
0
0
0
0
0
1
0.110497
false
0
0.033149
0.005525
0.176796
0.016575
0
0
0
null
0
0
0
0
0
0
0
0
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
80bfb4b7a7a0c88d0a0cf52ced86fbe80cb85e15
4,678
py
Python
hopla/tests/test_converter.py
AGrigis/hopla
60147969267b8bf71aec774053d33fa797e2f668
[ "CECILL-B" ]
null
null
null
hopla/tests/test_converter.py
AGrigis/hopla
60147969267b8bf71aec774053d33fa797e2f668
[ "CECILL-B" ]
null
null
null
hopla/tests/test_converter.py
AGrigis/hopla
60147969267b8bf71aec774053d33fa797e2f668
[ "CECILL-B" ]
null
null
null
#! /usr/bin/env python ########################################################################## # Hopla - Copyright (C) AGrigis, 2015 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.ht...
42.144144
78
0.551945
512
4,678
4.886719
0.263672
0.083133
0.043965
0.059952
0.572342
0.569145
0.534373
0.523181
0.464428
0.410072
0
0.021578
0.276828
4,678
110
79
42.527273
0.718002
0.161394
0
0.533333
0
0
0.088692
0.006699
0
0
0
0
0.08
1
0.053333
false
0
0.093333
0
0.16
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
80bff1f35b026d788a822b1166f2ed86dd9836a7
999
py
Python
quartz_metadata/handlers/on_mint.py
dipdup-net/quartz-metadata
78b90319359cbc641abdbbbfbf2fec59e601429b
[ "MIT" ]
null
null
null
quartz_metadata/handlers/on_mint.py
dipdup-net/quartz-metadata
78b90319359cbc641abdbbbfbf2fec59e601429b
[ "MIT" ]
null
null
null
quartz_metadata/handlers/on_mint.py
dipdup-net/quartz-metadata
78b90319359cbc641abdbbbfbf2fec59e601429b
[ "MIT" ]
null
null
null
from dipdup.context import HandlerContext from dipdup.models import Transaction from tortoise.exceptions import IntegrityError from quartz_metadata.manager import ResolveMetadataTaskManager from quartz_metadata.models import ResolveToken from quartz_metadata.types.ubisoft_quartz_minter.parameter.mint import MintParame...
31.21875
84
0.76977
106
999
7.037736
0.433962
0.053619
0.096515
0.061662
0.112601
0.112601
0.112601
0
0
0
0
0
0.176176
999
31
85
32.225806
0.90644
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.038462
0.269231
0
0.269231
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
80c11af0a9e842802c77c72389868b3417a646eb
87
py
Python
sam-app/sam-checker/get_contents.py
Aishwarya26l/sam-testing
bb2d78944ba5f816edc4de7d48a57c00bc4dfc21
[ "MIT" ]
null
null
null
sam-app/sam-checker/get_contents.py
Aishwarya26l/sam-testing
bb2d78944ba5f816edc4de7d48a57c00bc4dfc21
[ "MIT" ]
null
null
null
sam-app/sam-checker/get_contents.py
Aishwarya26l/sam-testing
bb2d78944ba5f816edc4de7d48a57c00bc4dfc21
[ "MIT" ]
1
2019-10-22T02:48:04.000Z
2019-10-22T02:48:04.000Z
import os def getIndexPage(): return os.popen('cat /var/task/index.html').read()
14.5
54
0.678161
13
87
4.538462
0.923077
0
0
0
0
0
0
0
0
0
0
0
0.149425
87
5
55
17.4
0.797297
0
0
0
0
0
0.275862
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0.333333
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
1
0
1
1
1
0
0
7
80c133884608c388783cc004a5ae950066a8bd8a
1,161
py
Python
app/gws/lib/ows/formats/get_feature_info_response.py
gbd-consult/gbd-websuite
7212f41081c04614fdb4641e902d4de3424da8c5
[ "Apache-2.0" ]
3
2020-07-24T10:10:18.000Z
2022-03-16T10:22:04.000Z
app/gws/lib/ows/formats/get_feature_info_response.py
gbd-consult/gbd-websuite
7212f41081c04614fdb4641e902d4de3424da8c5
[ "Apache-2.0" ]
28
2020-03-03T17:35:58.000Z
2021-07-12T12:05:47.000Z
app/gws/lib/ows/formats/get_feature_info_response.py
gbd-consult/gbd-websuite
7212f41081c04614fdb4641e902d4de3424da8c5
[ "Apache-2.0" ]
1
2021-02-22T14:32:10.000Z
2021-02-22T14:32:10.000Z
import gws.lib.feature import gws.lib.shape import gws.lib.xml2 # geoserver # # <GetFeatureInfoResponse> # <Layer name="...."> # <Feature id="..."> # <Attribute name="..." value="..."/> # <Attribute name="geometry" value="wkt"/> def parse(text, first_el, crs=None, invert_axis=None, **kwar...
27
73
0.511628
130
1,161
4.523077
0.361538
0.061224
0.061224
0
0
0
0
0
0
0
0
0.002581
0.332472
1,161
42
74
27.642857
0.756129
0.153316
0
0
0
0
0.083077
0.022564
0
0
0
0
0
1
0.038462
false
0
0.115385
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80c177317b86f12b3cc0d167ca3f3fa31354fb1d
981
py
Python
parkingsystem/migrations/0016_auto_20180702_1618.py
magaust/jaipurSmartPark
03430a885f1e98badf852985c5b4ba4db2b3795c
[ "MIT" ]
null
null
null
parkingsystem/migrations/0016_auto_20180702_1618.py
magaust/jaipurSmartPark
03430a885f1e98badf852985c5b4ba4db2b3795c
[ "MIT" ]
null
null
null
parkingsystem/migrations/0016_auto_20180702_1618.py
magaust/jaipurSmartPark
03430a885f1e98badf852985c5b4ba4db2b3795c
[ "MIT" ]
1
2018-09-06T17:30:51.000Z
2018-09-06T17:30:51.000Z
# Generated by Django 2.0.6 on 2018-07-02 10:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('parkingsystem', '0015_auto_20180629_1215'), ] operations = [ migrations.AlterField( model_name='parkinglot', name='l...
28.852941
70
0.600408
93
981
6.172043
0.430108
0.139373
0.174216
0.202091
0.728223
0.728223
0.642857
0.642857
0.642857
0.642857
0
0.056115
0.291539
981
33
71
29.727273
0.769784
0.045872
0
0.740741
1
0
0.143469
0.071734
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
80c2a4c56b25c8d0daa6417069d865c0369c616f
1,287
py
Python
imagefilter/imagefilter-rank.py
martinmcbride/python-imaging-book-examples
37e4ccf9b7b2fc3ff75b1fdb9f772de452a843b2
[ "MIT" ]
1
2021-08-22T17:09:44.000Z
2021-08-22T17:09:44.000Z
imagefilter/imagefilter-rank.py
sthagen/python-imaging-book-examples
2a079c5271f9849bc90a33bed6f3288142035ea7
[ "MIT" ]
null
null
null
imagefilter/imagefilter-rank.py
sthagen/python-imaging-book-examples
2a079c5271f9849bc90a33bed6f3288142035ea7
[ "MIT" ]
1
2021-08-22T17:09:48.000Z
2021-08-22T17:09:48.000Z
# Author: Martin McBride # Created: 2021-05-23 # Copyright (C) 2021, Martin McBride # License: MIT # Use the ranking filters. # Create a final image with all the filters. from PIL import Image, ImageFilter, ImageDraw, ImageFont image = Image.open('boat-small.jpg') min_image = image.filter(ImageFilter.MinFilter()) m...
29.25
56
0.706294
215
1,287
4.144186
0.339535
0.022447
0.089787
0.151515
0.304153
0.283951
0.257015
0
0
0
0
0.066313
0.121212
1,287
43
57
29.930233
0.721485
0.156177
0
0
0
0
0.068646
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80c334bb39045d805035eb994c6817b18dd7c10e
4,974
py
Python
prepare_training_dataset.py
Koziev/masked_np_language_model
b2173682adb77b424ffa192f3030d8c8e78e88e2
[ "CC0-1.0" ]
null
null
null
prepare_training_dataset.py
Koziev/masked_np_language_model
b2173682adb77b424ffa192f3030d8c8e78e88e2
[ "CC0-1.0" ]
1
2022-03-04T14:48:02.000Z
2022-03-04T15:21:37.000Z
prepare_training_dataset.py
Koziev/masked_np_language_model
b2173682adb77b424ffa192f3030d8c8e78e88e2
[ "CC0-1.0" ]
null
null
null
""" Подготовка датасета для файнтюнинга ruT5 и ruGPT, чтобы модель могла подставлять NP в предложения. Используется неразмеченный текст и синтаксический парсер UDPipe для выделения именных групп. ATT: используются всякие локальные корпуса, которые я не выгружаю в общий доступ по разным соображениям. Тем не менее, не в...
40.112903
163
0.567752
588
4,974
4.683673
0.421769
0.017792
0.019608
0.025418
0.125272
0.082789
0.058097
0.058097
0.021786
0.021786
0
0.02
0.326498
4,974
123
164
40.439024
0.80209
0.237033
0
0.066667
0
0
0.146674
0.074539
0.013333
0
0
0
0
1
0.04
false
0.013333
0.093333
0.013333
0.16
0.053333
0
0
0
null
0
0
0
0
0
0
0
0
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
80c3575c2734a1ea3e2894cddf66ae5e01537fa7
601
py
Python
server/loaddata.py
deb17/nearby-places
0d05f888f3c90cd021c67d446bc16ccb59efc8bc
[ "MIT" ]
null
null
null
server/loaddata.py
deb17/nearby-places
0d05f888f3c90cd021c67d446bc16ccb59efc8bc
[ "MIT" ]
6
2021-03-09T13:19:32.000Z
2022-02-26T15:52:16.000Z
server/loaddata.py
deb17/nearby-places
0d05f888f3c90cd021c67d446bc16ccb59efc8bc
[ "MIT" ]
null
null
null
import csv from app import db from app.models import Feature def process_row(row): key, value = row[0], row[1] if '/' in value: values = [val.strip() for val in value.split('/')] for v in values: f = Feature(key=key, value=v) db.session.add(f) db.session.commit(...
25.041667
58
0.567388
84
601
3.940476
0.428571
0.108761
0.07855
0.084592
0.283988
0.169184
0.169184
0
0
0
0
0.004762
0.301165
601
23
59
26.130435
0.783333
0
0
0.2
0
0
0.036606
0
0
0
0
0
0
1
0.05
false
0
0.15
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
80c840becea67eb126d76791a8e10c1596e705d5
2,918
py
Python
src/com/inductiveautomation/ignition/common/__init__.py
thecesrom/8.1
0a0fa304137d9eca3e9fd8517b2c9569243121e4
[ "MIT" ]
1
2022-03-16T23:22:27.000Z
2022-03-16T23:22:27.000Z
src/com/inductiveautomation/ignition/common/__init__.py
thecesrom/8.1
0a0fa304137d9eca3e9fd8517b2c9569243121e4
[ "MIT" ]
4
2022-03-15T21:33:46.000Z
2022-03-22T21:25:18.000Z
src/com/inductiveautomation/ignition/common/__init__.py
thecesrom/7.9
6dc59a1e920382345837d620907578b35fe7e96b
[ "MIT" ]
2
2022-03-16T18:26:29.000Z
2022-03-28T20:12:56.000Z
__all__ = ["AbstractDataset", "BasicDataset", "Dataset"] class Dataset(object): """A dataset is a collection of values arranged in a structured format. Most datasets are two dimensional -- they can be viewed as a table with rows and columns being the two dimensions. Values in a dataset are usuall...
21.455882
74
0.655243
289
2,918
6.536332
0.318339
0.081525
0.142933
0.079407
0.171519
0.058761
0
0
0
0
0
0
0.274503
2,918
135
75
21.614815
0.8923
0.104524
0
0.647059
0
0
0.013168
0
0
0
0
0
0
1
0.435294
false
0.294118
0
0
0.517647
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
0
1
0
0
3
80c8628f774c95ee9df7395733a5d80589d0278f
2,234
py
Python
detection_ctpn/utils/tf_utils.py
EuphoriaYan/Chinese-ancient-book-recognition-HSK
865736d16389037f555f0eea7ec6c4ab7e4319c9
[ "Apache-2.0" ]
null
null
null
detection_ctpn/utils/tf_utils.py
EuphoriaYan/Chinese-ancient-book-recognition-HSK
865736d16389037f555f0eea7ec6c4ab7e4319c9
[ "Apache-2.0" ]
null
null
null
detection_ctpn/utils/tf_utils.py
EuphoriaYan/Chinese-ancient-book-recognition-HSK
865736d16389037f555f0eea7ec6c4ab7e4319c9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ File Name: tf_utils Description : tensorflow工具类 Author : mick.yi date: 2019/3/13 """ import tensorflow as tf def pad_to_fixed_size(input_tensor, fixed_size): """padding到固定长度, 在第二维度末位增加一个padding_flag, no_pad:1, pad:0. Parameter: input_ten...
25.976744
93
0.562668
346
2,234
3.531792
0.289017
0.063011
0.03437
0.03928
0.06874
0.021277
0
0
0
0
0
0.072196
0.249776
2,234
85
94
26.282353
0.656921
0.252014
0
0
0
0
0.01859
0
0
0
0
0
0
1
0.111111
false
0
0.027778
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
80c94708b0f74b66e6d49ed413132347b371694e
291
py
Python
InterviewBit/Scripting/TransformCSV.py
CRAZYGEEKS04/competitive-programming-1
f27b8a718761b7bfeb8ff9e294398ca1a294cb5d
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
InterviewBit/Scripting/TransformCSV.py
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
1
2020-10-10T16:14:54.000Z
2020-10-10T16:14:54.000Z
InterviewBit/Scripting/TransformCSV.py
gauravsingh58/competitive-programming
fa5548f435cdf2aa059e1d6ab733885790c6a592
[ "MIT" ]
2
2021-01-23T14:35:48.000Z
2021-03-15T05:04:24.000Z
while True : try : text = input() arr = text.split(',') for i in range(len(arr)) : if i == 4 : continue if i == 6 : print("+", end = "") print(arr[4], end = "-") print(arr[6], end = "") else : print(arr[i], end = ",") print() except EOFError : break
17.117647
28
0.474227
40
291
3.45
0.55
0.173913
0.15942
0
0
0
0
0
0
0
0
0.02
0.312715
291
16
29
18.1875
0.67
0
0
0
0
0
0.013746
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3125
0
0
0
null
0
0
0
0
0
0
0
0
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
80c9f68534b6e93dc236ef38e36dca90fb996522
15,621
py
Python
response_model/python/metric_learning/metric_eval.py
googlearchive/rgc-models
0dea94bbd54f591d82d95169e33d40bb55b6be94
[ "Apache-2.0" ]
1
2018-09-18T16:47:09.000Z
2018-09-18T16:47:09.000Z
response_model/python/metric_learning/metric_eval.py
google/rgc-models
0dea94bbd54f591d82d95169e33d40bb55b6be94
[ "Apache-2.0" ]
null
null
null
response_model/python/metric_learning/metric_eval.py
google/rgc-models
0dea94bbd54f591d82d95169e33d40bb55b6be94
[ "Apache-2.0" ]
1
2022-01-12T12:44:17.000Z
2022-01-12T12:44:17.000Z
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
41.991935
116
0.626272
1,934
15,621
4.795243
0.20424
0.013586
0.018223
0.009165
0.301919
0.233556
0.206168
0.191611
0.173927
0.16336
0
0.011724
0.279239
15,621
371
117
42.105121
0.811973
0.275334
0
0.069565
0
0
0.090115
0.004369
0
0
0
0.008086
0
1
0.008696
false
0
0.13913
0
0.147826
0.034783
0
0
0
null
0
0
0
0
0
0
0
0
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
80ccacda9ed617aea8bee5d29e3d10548c5a83e0
9,922
py
Python
functionTerms/membraneTerms.py
XingchengLin/openawsem
a9f155d72e359b76d350e6d4c2ee476410ebe4c6
[ "MIT" ]
1
2020-12-22T02:52:26.000Z
2020-12-22T02:52:26.000Z
functionTerms/membraneTerms.py
XingchengLin/openawsem
a9f155d72e359b76d350e6d4c2ee476410ebe4c6
[ "MIT" ]
null
null
null
functionTerms/membraneTerms.py
XingchengLin/openawsem
a9f155d72e359b76d350e6d4c2ee476410ebe4c6
[ "MIT" ]
null
null
null
from simtk.openmm.app import * from simtk.openmm import * from simtk.unit import * import numpy as np def membrane_term(oa, k=1*kilocalorie_per_mole, k_m=20, z_m=1.5, membrane_center=0*angstrom, forceGroup=24): # k_m in units of nm^-1, z_m in units of nm. # z_m is half of membrane thickness # membrane_cent...
43.327511
180
0.664382
1,526
9,922
4.13827
0.102228
0.07981
0.053207
0.015835
0.718131
0.675693
0.662074
0.643072
0.633888
0.627553
0
0.027542
0.205906
9,922
228
181
43.517544
0.773956
0.266982
0
0.547771
0
0.038217
0.098433
0.065576
0
0
0
0
0
1
0.063694
false
0
0.025478
0
0.165605
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
80cd12bb7a5b93faddb12652ac494f409752a60f
8,192
py
Python
apps/graph.py
csgobeta/csgobetabot
4d37b0eb166d500869d9b271d417b61e95333824
[ "MIT" ]
9
2021-01-08T05:21:38.000Z
2021-12-10T12:35:59.000Z
apps/graph.py
csgobeta/csgobetabot
4d37b0eb166d500869d9b271d417b61e95333824
[ "MIT" ]
null
null
null
apps/graph.py
csgobeta/csgobetabot
4d37b0eb166d500869d9b271d417b61e95333824
[ "MIT" ]
2
2021-01-14T21:58:46.000Z
2022-01-23T23:21:15.000Z
import sys import os import inspect currentdir = os.path.dirname(os.path.abspath( inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(currentdir) sys.path.insert(0, parentdir) import matplotlib.pyplot as plt import matplotlib.dates as mdates import seaborn as sns import pandas as pd from datetim...
41.373737
111
0.521606
957
8,192
4.299896
0.241379
0.031106
0.027218
0.072904
0.667072
0.64034
0.615796
0.594897
0.564277
0.553584
0
0.055451
0.350586
8,192
197
112
41.583756
0.717857
0
0
0.43125
0
0
0.070068
0
0
0
0
0
0
1
0.00625
false
0.0125
0.08125
0
0.0875
0.0125
0
0
0
null
0
0
0
0
0
0
0
0
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
80cd34d4c3de75f8809daa825ae704111f692f54
36
py
Python
invMLEnc_toy/loss/__init__.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
1
2021-12-14T09:16:17.000Z
2021-12-14T09:16:17.000Z
invMLEnc_toy/loss/__init__.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
null
null
null
invMLEnc_toy/loss/__init__.py
Lupin1998/inv-ML
9f3db461911748292dff18024587538eb66d44bf
[ "MIT" ]
2
2021-12-14T09:10:00.000Z
2022-01-21T16:57:44.000Z
# Loss for AE, VAE, ML-AE, Inv-ML-AE
36
36
0.638889
9
36
2.555556
0.666667
0.347826
0
0
0
0
0
0
0
0
0
0
0.166667
36
1
36
36
0.766667
0.944444
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
6
80cd62ec15badfd33866992ef09a6d8c71ac2b2f
5,443
py
Python
vicarui/src/vicarui/analysis/missions/cassini/set_info.py
joniumGit/moons
f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85
[ "MIT" ]
1
2021-07-16T06:30:37.000Z
2021-07-16T06:30:37.000Z
vicarui/src/vicarui/analysis/missions/cassini/set_info.py
joniumGit/moons
f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85
[ "MIT" ]
null
null
null
vicarui/src/vicarui/analysis/missions/cassini/set_info.py
joniumGit/moons
f5f8b7e23e707c8cf7e1081c4a1c0fcc22182d85
[ "MIT" ]
1
2021-05-26T03:53:41.000Z
2021-05-26T03:53:41.000Z
from .config import * from .funcs import norm, target_estimate from .helpers import ImageHelper from ...common import load_kernels_for_image, release_kernels from ....support import sci_2 def set_info( image: ImageWrapper, image_axis=None, analysis_axis=None, **config ): raw = imag...
40.924812
105
0.482271
587
5,443
4.250426
0.277683
0.028056
0.012024
0.028858
0.235271
0.177555
0.04489
0
0
0
0
0.019726
0.422561
5,443
132
106
41.234848
0.774101
0.00643
0
0.107143
0
0.017857
0.119127
0.019423
0.008929
0
0
0
0
1
0.017857
false
0
0.080357
0
0.116071
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
80cddf253a619a7f9e2bea2ab9271db73ba0ccb6
2,187
py
Python
python/tvm/contrib/msir/core/utils/info.py
Archermmt/tvm
8b900cec1a9c3cb453e159db4d497ebeb26ed289
[ "Apache-2.0" ]
null
null
null
python/tvm/contrib/msir/core/utils/info.py
Archermmt/tvm
8b900cec1a9c3cb453e159db4d497ebeb26ed289
[ "Apache-2.0" ]
null
null
null
python/tvm/contrib/msir/core/utils/info.py
Archermmt/tvm
8b900cec1a9c3cb453e159db4d497ebeb26ed289
[ "Apache-2.0" ]
null
null
null
import tvm import logging import numpy as np from collections.abc import Iterable from .namespace import MSIR_COLLECTION,MSIR_NAME,MSIR_TARGET def _get_logger(): if not MSIR_COLLECTION.get(MSIR_NAME.LOGGER): MSIR_COLLECTION.set(MSIR_NAME.LOGGER, logging.getLogger("MSIR")) return MSIR_COLLECTION.get(MS...
30.375
141
0.666667
303
2,187
4.640264
0.290429
0.021337
0.02845
0.044808
0.061878
0.044097
0
0
0
0
0
0.002809
0.1861
2,187
72
142
30.375
0.787079
0
0
0.038462
0
0
0.126143
0
0
0
0
0
0.096154
1
0.192308
false
0.019231
0.153846
0
0.461538
0.019231
0
0
0
null
0
0
0
0
0
0
0
0
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
80cf8406717293e85d168ad077e6680849900737
2,072
py
Python
src/python/dicomifier/bruker_to_dicom/modules/series.py
DimitriPapadopoulos/dicomifier
708e4e1c932f6411200aa010f857823dfcc495f1
[ "CECILL-B" ]
null
null
null
src/python/dicomifier/bruker_to_dicom/modules/series.py
DimitriPapadopoulos/dicomifier
708e4e1c932f6411200aa010f857823dfcc495f1
[ "CECILL-B" ]
null
null
null
src/python/dicomifier/bruker_to_dicom/modules/series.py
DimitriPapadopoulos/dicomifier
708e4e1c932f6411200aa010f857823dfcc495f1
[ "CECILL-B" ]
null
null
null
######################################################################### # Dicomifier - Copyright (C) Universite de Strasbourg # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # for...
42.285714
76
0.56805
214
2,072
5.350467
0.518692
0.052402
0.027948
0.031441
0.076856
0.076856
0.076856
0.076856
0.076856
0.076856
0
0.017263
0.217181
2,072
48
77
43.166667
0.688656
0.188707
0
0.058824
0
0
0.352131
0.061639
0
0
0
0
0
1
0.029412
false
0
0.029412
0
0.088235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
80cf9b726d141aa64359a81571dc5cc74e78eff7
12,365
py
Python
TranskribusDU/tasks/TablePrototypes/DU_ABPTableSkewed_txtTOMBS_sepSIO_line.py
Transkribus/TranskribusDU
61028ee5f5f39f435bf9c461f8073e75bca344ac
[ "BSD-3-Clause" ]
20
2017-01-24T20:08:25.000Z
2021-10-30T15:20:44.000Z
TranskribusDU/tasks/TablePrototypes/DU_ABPTableSkewed_txtTOMBS_sepSIO_line.py
Transkribus/TranskribusDU
61028ee5f5f39f435bf9c461f8073e75bca344ac
[ "BSD-3-Clause" ]
11
2017-06-27T11:41:42.000Z
2020-10-12T04:59:25.000Z
TranskribusDU/tasks/TablePrototypes/DU_ABPTableSkewed_txtTOMBS_sepSIO_line.py
Transkribus/TranskribusDU
61028ee5f5f39f435bf9c461f8073e75bca344ac
[ "BSD-3-Clause" ]
5
2017-01-12T15:55:34.000Z
2019-10-10T05:13:20.000Z
# -*- coding: utf-8 -*- """ *** Labelling is T O M B S It depends on the distance between the baseline and its above and below valid (S) cut Cuts are SIO Copyright Naver Labs Europe(C) 2018 JL Meunier Developed for the EU project READ. The READ project has received fun...
39.006309
135
0.510069
1,213
12,365
5.065128
0.309975
0.011393
0.020508
0.016276
0.125163
0.081055
0.072266
0.072266
0.072266
0.058919
0
0.011008
0.390214
12,365
316
136
39.129747
0.803846
0.228629
0
0.171123
0
0
0.037984
0.003374
0
0
0
0
0.010695
1
0.042781
false
0
0.085562
0
0.245989
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
80cfa666e310014576d03dad3c75588c0786534a
574
py
Python
LeetCode/2044. Count Number of Maximum Bitwise-OR Subsets/solution.py
InnoFang/oh-my-algorithms
f559dba371ce725a926725ad28d5e1c2facd0ab2
[ "Apache-2.0" ]
1
2017-03-31T15:24:01.000Z
2017-03-31T15:24:01.000Z
LeetCode/2044. Count Number of Maximum Bitwise-OR Subsets/solution.py
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
LeetCode/2044. Count Number of Maximum Bitwise-OR Subsets/solution.py
InnoFang/Algorithm-Library
1896b9d8b1fa4cd73879aaecf97bc32d13ae0169
[ "Apache-2.0" ]
null
null
null
""" 111 / 111 test cases passed. Runtime: 440 ms Memory Usage: 14.9 MB """ class Solution: def countMaxOrSubsets(self, nums: List[int]) -> int: count = largest = 0 def dfs(idx, res): nonlocal count, largest if idx == len(nums): if res > largest: ...
26.090909
56
0.444251
65
574
3.923077
0.492308
0.070588
0.054902
0.078431
0
0
0
0
0
0
0
0.064309
0.458188
574
21
57
27.333333
0.755627
0.114983
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.3125
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
80d072dd7f1dfab164b7c6fe152a6fe9d577cdab
111,008
py
Python
src/libraries/reactive_planner_lib.py
vvasilo/semnav
e1141035fa4ea8ad3d5f077198a141209693625b
[ "MIT" ]
10
2020-02-28T22:26:55.000Z
2021-12-14T08:34:18.000Z
src/libraries/reactive_planner_lib.py
KodlabPenn/semnav
489cfe203516e359cc488740b99c8e208a757c2d
[ "MIT" ]
1
2020-08-24T23:37:51.000Z
2021-11-10T14:29:34.000Z
src/libraries/reactive_planner_lib.py
vvasilo/semnav
e1141035fa4ea8ad3d5f077198a141209693625b
[ "MIT" ]
3
2020-02-27T20:22:57.000Z
2022-01-21T12:58:32.000Z
#!/usr/bin/env python """ MIT License (modified) Copyright (c) 2020 The Trustees of the University of Pennsylvania Authors: Vasileios Vasilopoulos <vvasilo@seas.upenn.edu> Omur Arslan <omur@seas.upenn.edu> Permission is hereby granted, free of charge, to any person obtaining a copy of this **file** (the "Software"),...
61.432208
1,155
0.628982
16,738
111,008
4.052814
0.045346
0.01026
0.006368
0.007076
0.800239
0.774559
0.75202
0.728035
0.709771
0.698243
0
0.042397
0.182383
111,008
1,806
1,156
61.466224
0.705009
0.263657
0
0.568946
0
0
0.06476
0
0
0
0
0
0
1
0.040556
false
0.003476
0.017381
0
0.110081
0.00927
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
80d0c88dd8f53a8f60bd96e1c996107c2f40ffba
33,529
py
Python
Manage/VM.py
btalebali/pysphere
cda8bbc480f9942911fb8f9c7f3c5c9a4da8bd43
[ "Unlicense" ]
null
null
null
Manage/VM.py
btalebali/pysphere
cda8bbc480f9942911fb8f9c7f3c5c9a4da8bd43
[ "Unlicense" ]
null
null
null
Manage/VM.py
btalebali/pysphere
cda8bbc480f9942911fb8f9c7f3c5c9a4da8bd43
[ "Unlicense" ]
null
null
null
from time import sleep from pysphere import VITask, FaultTypes from pysphere.vi_virtual_machine import VIVirtualMachine from pysphere.resources.vi_exception import VIException, VIApiException from pysphere.vi_mor import VIMor from pysphere.vi_task import VITask import ssl import pypacksrc import re, subprocess def ...
35.442918
192
0.744609
4,347
33,529
5.482172
0.10375
0.039864
0.07058
0.028324
0.657631
0.632873
0.593345
0.555621
0.53829
0.508036
0
0.009813
0.151988
33,529
945
193
35.480423
0.828333
0.061738
0
0.583206
0
0.001527
0.099344
0.007021
0
0
0
0.003175
0
0
null
null
0.109924
0.018321
null
null
0.003053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2