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
4e21a1559e332d6e30465dc4491398ad0196958e
803
py
Python
angr/engines/soot/expressions/phi.py
vwvw/angr
956b75c1908b786d51a5af3a29a96b5ef35c756e
[ "BSD-2-Clause" ]
null
null
null
angr/engines/soot/expressions/phi.py
vwvw/angr
956b75c1908b786d51a5af3a29a96b5ef35c756e
[ "BSD-2-Clause" ]
1
2019-04-08T12:10:07.000Z
2019-04-08T12:10:07.000Z
angr/engines/soot/expressions/phi.py
vwvw/angr
956b75c1908b786d51a5af3a29a96b5ef35c756e
[ "BSD-2-Clause" ]
null
null
null
import logging from .base import SimSootExpr l = logging.getLogger('angr.engines.soot.expressions.phi') class SimSootExpr_Phi(SimSootExpr): def _execute(self): try: local = [self._translate_value(v) for v, idx in self.expr.values if idx == self.state.scratch.source.block_idx][0] ...
33.458333
126
0.608966
105
803
4.533333
0.495238
0.067227
0.07563
0.079832
0.369748
0.369748
0.369748
0.369748
0.369748
0.369748
0
0.003552
0.298879
803
23
127
34.913043
0.841918
0.047323
0
0.25
0
0
0.043364
0.043364
0
0
0
0.043478
0
1
0.0625
false
0
0.125
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
1
0
0
0
0
0
0
0
0
0
0
1
4e22b58053bbefb1735861548e52f611b73780d4
1,800
py
Python
src/models/main.py
bh1995/mnist_cookiecutter
38b9f308b6335149f2e5907819a78aaafd7cefb4
[ "MIT" ]
null
null
null
src/models/main.py
bh1995/mnist_cookiecutter
38b9f308b6335149f2e5907819a78aaafd7cefb4
[ "MIT" ]
null
null
null
src/models/main.py
bh1995/mnist_cookiecutter
38b9f308b6335149f2e5907819a78aaafd7cefb4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Jun 4 13:01:26 2021 @author: bjorn main script to call and run all functions from for mnist_cookiecutter """ # from google.colab import files import sys import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import torchvision # sy...
29.508197
132
0.757778
282
1,800
4.72695
0.48227
0.051013
0.056264
0.060765
0.181545
0.15904
0.126032
0.126032
0.126032
0.126032
0
0.043871
0.138889
1,800
60
133
30
0.816129
0.441667
0
0
0
0.033333
0.202648
0.125255
0
0
0
0
0
1
0
false
0
0.366667
0
0.366667
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
4e24ae2c35db2a915bf0971e57ed92a84f190b0d
1,438
py
Python
run/sb3_NeedlePick_tester.py
rokas-bendikas/SurRoL
4b347469c61ea2893e67062ac5be630f088e01bc
[ "MIT" ]
null
null
null
run/sb3_NeedlePick_tester.py
rokas-bendikas/SurRoL
4b347469c61ea2893e67062ac5be630f088e01bc
[ "MIT" ]
null
null
null
run/sb3_NeedlePick_tester.py
rokas-bendikas/SurRoL
4b347469c61ea2893e67062ac5be630f088e01bc
[ "MIT" ]
null
null
null
import gym import surrol import numpy as np from matplotlib import pyplot as plt import time from stable_baselines3 import DDPG,PPO,TD3, HerReplayBuffer, VecHerReplayBuffer from stable_baselines3.common.noise import NormalActionNoise from stable_baselines3.common.vec_env import DummyVecEnv, VecNormalize, SubprocVecEn...
24.372881
104
0.616829
177
1,438
4.785311
0.457627
0.059032
0.118064
0.122786
0.049587
0.049587
0.049587
0
0
0
0
0.016725
0.210014
1,438
58
105
24.793103
0.728873
0.063978
0
0
0
0
0.080858
0.021452
0
0
0
0
0
1
0
false
0
0.37037
0
0.37037
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
4e26086998750355510a6b12bb251793f0f8b29c
1,542
py
Python
ecdc_status/upcoming_events/admin.py
ess-dmsc/ecdc-status
8057b2995f2404b6eac6b6a723f8776137a71328
[ "BSD-2-Clause" ]
null
null
null
ecdc_status/upcoming_events/admin.py
ess-dmsc/ecdc-status
8057b2995f2404b6eac6b6a723f8776137a71328
[ "BSD-2-Clause" ]
null
null
null
ecdc_status/upcoming_events/admin.py
ess-dmsc/ecdc-status
8057b2995f2404b6eac6b6a723f8776137a71328
[ "BSD-2-Clause" ]
null
null
null
from django.contrib import admin from django.utils import timezone from .models import EventIcon, Event from django.utils.translation import gettext_lazy as _ class FilterOld(admin.SimpleListFilter): title = _('future events') # Parameter for the filter that will be used in the URL query. parameter_name ...
35.045455
144
0.660182
188
1,542
5.329787
0.510638
0.01996
0.02994
0.025948
0.061876
0.061876
0.061876
0.061876
0
0
0
0.003445
0.247082
1,542
43
145
35.860465
0.859604
0.319066
0
0
0
0
0.065058
0
0
0
0
0
0
1
0.095238
false
0
0.190476
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4e3698cc54b0bfb718098a0e144125c22241804e
13,297
py
Python
pandaf/000/mc.py
cpausmit/Kraken
54a5b69d274f928a5e53475b9c281815fadfc139
[ "MIT" ]
null
null
null
pandaf/000/mc.py
cpausmit/Kraken
54a5b69d274f928a5e53475b9c281815fadfc139
[ "MIT" ]
null
null
null
pandaf/000/mc.py
cpausmit/Kraken
54a5b69d274f928a5e53475b9c281815fadfc139
[ "MIT" ]
2
2017-03-22T17:33:38.000Z
2017-09-29T02:38:24.000Z
import FWCore.ParameterSet.Config as cms import FWCore.ParameterSet.VarParsing as VarParsing import re import os process = cms.Process("PandaNtupler") cmssw_base = os.environ['CMSSW_BASE'] options = VarParsing.VarParsing ('analysis') options.register('isData', False, VarParsing.VarPa...
42.079114
241
0.659171
1,138
13,297
7.632689
0.315466
0.025904
0.014967
0.01842
0.277458
0.216555
0.207345
0.137002
0.134009
0.134009
0
0.016498
0.211401
13,297
315
242
42.212698
0.811844
0.068737
0
0.246964
0
0.004049
0.207671
0.113425
0
0
0
0
0
0
null
null
0
0.05668
null
null
0.004049
0
0
0
null
0
0
0
0
0
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
4e4020f515b281c89142e46ee45980f585c14f49
540
py
Python
checkout/migrations/0013_auto_20211024_1504.py
kevin-ci/janeric2
df07508a76ad8194a63be7786d8b84a905b3d2e9
[ "MIT" ]
1
2021-02-28T11:54:14.000Z
2021-02-28T11:54:14.000Z
checkout/migrations/0013_auto_20211024_1504.py
kevin-ci/janeric2
df07508a76ad8194a63be7786d8b84a905b3d2e9
[ "MIT" ]
6
2021-12-01T11:39:03.000Z
2021-12-04T22:28:57.000Z
checkout/migrations/0013_auto_20211024_1504.py
kevin-ci/janeric2
df07508a76ad8194a63be7786d8b84a905b3d2e9
[ "MIT" ]
1
2021-12-21T16:20:49.000Z
2021-12-21T16:20:49.000Z
# Generated by Django 3.1.5 on 2021-10-24 15:04 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('checkout', '0012_auto_20211024_1453'), ] operations = [ migrations.AlterModelOptions( name='productshippingdata', options={'...
30
224
0.688889
56
540
6.196429
0.714286
0.086455
0.103746
0
0
0
0
0
0
0
0
0.071429
0.196296
540
17
225
31.764706
0.728111
0.083333
0
0
1
0
0.444219
0.261663
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
9d6ced415be2b3443c13b76779130dbd36b414ba
1,112
py
Python
main_website/migrations/0004_auto_20201228_1649.py
kiza054/woodhall-website
73a27e93da818bff2c3efbea3409cf63356a4d32
[ "MIT" ]
2
2021-02-01T13:50:51.000Z
2022-02-03T19:30:16.000Z
main_website/migrations/0004_auto_20201228_1649.py
kiza054/woodhall-website
73a27e93da818bff2c3efbea3409cf63356a4d32
[ "MIT" ]
null
null
null
main_website/migrations/0004_auto_20201228_1649.py
kiza054/woodhall-website
73a27e93da818bff2c3efbea3409cf63356a4d32
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-28 16:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_website', '0003_auto_20201228_1456'), ] operations = [ migrations.CreateModel( name='Event', fiel...
33.69697
115
0.56295
103
1,112
5.902913
0.660194
0.072368
0.075658
0
0
0
0
0
0
0
0
0.048366
0.31205
1,112
32
116
34.75
0.746405
0.040468
0
0.115385
1
0
0.201355
0.022265
0
0
0
0
0
1
0
false
0
0.038462
0
0.153846
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
9d70e5c27ca0902df742045d6d0274112435c17e
933
py
Python
bootloader/waflib/Tools/bison.py
BA7JCM/pyinstaller
51ff689509391921bdce42848f3a077dcbb40ca0
[ "Apache-2.0" ]
null
null
null
bootloader/waflib/Tools/bison.py
BA7JCM/pyinstaller
51ff689509391921bdce42848f3a077dcbb40ca0
[ "Apache-2.0" ]
null
null
null
bootloader/waflib/Tools/bison.py
BA7JCM/pyinstaller
51ff689509391921bdce42848f3a077dcbb40ca0
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python # encoding: utf-8 # WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file from waflib import Task from waflib.TaskGen import extension class bison(Task.Task): color = 'BLUE' run_str = '${BISON} ${BISONFLAGS} ${SRC[0].abspath()} -o ${TGT[0].name}' ext_out = ['...
26.657143
78
0.612004
138
933
4.014493
0.536232
0.072202
0.101083
0.144404
0.209386
0.209386
0.115523
0.115523
0.115523
0
0
0.005362
0.200429
933
34
79
27.441176
0.737265
0.121115
0
0.083333
1
0.041667
0.14951
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d772396e2059302f0e0d224e337d078ed956605
939
py
Python
setup.py
numpde/bugs
b162dfbf670ae0c3a6fbe425bdbffd6b459b065e
[ "Unlicense" ]
null
null
null
setup.py
numpde/bugs
b162dfbf670ae0c3a6fbe425bdbffd6b459b065e
[ "Unlicense" ]
null
null
null
setup.py
numpde/bugs
b162dfbf670ae0c3a6fbe425bdbffd6b459b065e
[ "Unlicense" ]
null
null
null
import setuptools # python setup.py sdist bdist_wheel # twine upload dist/* && rm -rf build dist *.egg-info setuptools.setup( name="bugs", version="0.0.2", author="RA", author_email="numpde@null.net", keywords="python essentials", description="Python essential imports.", long_description="...
30.290323
89
0.666667
109
939
5.614679
0.724771
0.055556
0.084967
0.107843
0.078431
0
0
0
0
0
0
0.007802
0.181044
939
30
90
31.3
0.788036
0.157614
0
0
0
0
0.436387
0
0
0
0
0
0
1
0
true
0
0.136364
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9d8881b942e5b6ef2473afffb56585647ed436d7
414
py
Python
nn/neuron.py
prabhatnagarajan/rl_lib
43fecc6ceb3b9299f6a55804e736a0a2b3247e9a
[ "MIT" ]
1
2017-09-29T02:14:43.000Z
2017-09-29T02:14:43.000Z
nn/neuron.py
prabhatnagarajan/rl_lib
43fecc6ceb3b9299f6a55804e736a0a2b3247e9a
[ "MIT" ]
null
null
null
nn/neuron.py
prabhatnagarajan/rl_lib
43fecc6ceb3b9299f6a55804e736a0a2b3247e9a
[ "MIT" ]
null
null
null
from activation import * import numpy as np from pdb import set_trace class Neuron: # takes in initialized weights with the final term def __init__(self, init_weights, init_bias, activation=Activation.sigmoid): self.weights = init_weights self.bias = init_bias obj = Activation() self.activation = obj.sigmoid...
25.875
76
0.76087
60
414
5.1
0.483333
0.071895
0.098039
0
0
0
0
0
0
0
0
0
0.154589
414
15
77
27.6
0.874286
0.115942
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9d8cf07f793b1d175e22e89e08aa9741ab7be6eb
1,143
py
Python
betfair/exceptions.py
mkapuza/betfair.py
1ceb83f04e7c5657db874d5ba253ecb10d277df5
[ "MIT" ]
94
2015-01-05T01:23:06.000Z
2022-02-18T09:57:47.000Z
betfair/exceptions.py
mkapuza/betfair.py
1ceb83f04e7c5657db874d5ba253ecb10d277df5
[ "MIT" ]
48
2015-01-09T19:00:57.000Z
2020-07-05T12:34:21.000Z
betfair/exceptions.py
mkapuza/betfair.py
1ceb83f04e7c5657db874d5ba253ecb10d277df5
[ "MIT" ]
101
2015-01-05T16:24:35.000Z
2022-03-30T08:22:19.000Z
# -*- coding: utf-8 -*- class BetfairError(Exception): pass class NotLoggedIn(BetfairError): pass class LoginError(BetfairError): def __init__(self, response, data): self.response = response self.status_code = response.status_code self.message = data.get('loginStatus', 'UNKNOW...
26.581395
65
0.641295
120
1,143
5.833333
0.266667
0.11
0.081429
0.098571
0.492857
0.424286
0.424286
0.424286
0.424286
0.424286
0
0.001155
0.242345
1,143
42
66
27.214286
0.807159
0.018373
0
0.392857
0
0
0.078571
0
0
0
0
0
0
1
0.107143
false
0.071429
0
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
1
0
0
0
0
0
1
9d94e61e3800a479449f0543d81843ec863d7a35
22,866
py
Python
core/utils/k8s.py
kubesys/kubevm
d74afef685b512b9aa90a8258a91223a2b1c961d
[ "Apache-2.0" ]
null
null
null
core/utils/k8s.py
kubesys/kubevm
d74afef685b512b9aa90a8258a91223a2b1c961d
[ "Apache-2.0" ]
null
null
null
core/utils/k8s.py
kubesys/kubevm
d74afef685b512b9aa90a8258a91223a2b1c961d
[ "Apache-2.0" ]
null
null
null
import socket import time import traceback import operator from json import dumps import os, sys from sys import exit from kubernetes import client, config from kubernetes.client import V1DeleteOptions from kubernetes.client.rest import ApiException import logging import logging.handlers try: from utils import c...
43.224953
120
0.545745
2,325
22,866
5.257204
0.091613
0.032071
0.026507
0.040906
0.704246
0.692301
0.685756
0.685756
0.676593
0.662685
0
0.012342
0.337401
22,866
528
121
43.306818
0.794403
0.035774
0
0.662069
0
0
0.112125
0.002224
0
0
0
0
0
1
0.068966
false
0
0.036782
0.004598
0.204598
0.009195
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
9d955c7aba2cdc6b1ec63fafc6b6bcff28aa6bac
1,424
py
Python
upload/views.py
travelgeezer/sasukekun-flask
e435da7b6ff4d25b32f3c12bea885d7693aa01a5
[ "MIT" ]
null
null
null
upload/views.py
travelgeezer/sasukekun-flask
e435da7b6ff4d25b32f3c12bea885d7693aa01a5
[ "MIT" ]
3
2021-03-18T19:59:07.000Z
2021-09-07T23:26:24.000Z
upload/views.py
travelgeezer/sasukekun_flask
e435da7b6ff4d25b32f3c12bea885d7693aa01a5
[ "MIT" ]
null
null
null
from flask import request, Blueprint, send_file from sasukekun_flask.utils import v1, format_response from sasukekun_flask.config import API_IMAGE from .models import PasteFile ONE_MONTH = 60 * 60 * 24 * 30 upload = Blueprint('upload', __name__) @upload.route(v1('/upload/'), methods=['GET', 'POST']) def upload_file(...
32.363636
80
0.662219
185
1,424
4.875676
0.432432
0.0898
0.059867
0.042129
0
0
0
0
0
0
0
0.013501
0.219803
1,424
43
81
33.116279
0.79838
0.011236
0
0
0
0
0.067568
0.01707
0
0
0
0.023256
0
1
0.058824
false
0
0.117647
0
0.264706
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
1
0
0
0
0
0
0
0
0
0
0
1
9da8ab147f9beea08daa49fca7e9e4853c89e630
10,839
py
Python
resnet.py
geodekid/resnet1
e9e58d033332c5aadbb7474bace1c2e239cb38c2
[ "MIT" ]
12
2018-06-28T07:34:37.000Z
2021-11-12T11:23:45.000Z
resnet.py
geodekid/resnet1
e9e58d033332c5aadbb7474bace1c2e239cb38c2
[ "MIT" ]
null
null
null
resnet.py
geodekid/resnet1
e9e58d033332c5aadbb7474bace1c2e239cb38c2
[ "MIT" ]
9
2018-07-31T15:38:15.000Z
2020-12-31T12:22:08.000Z
# You will learn how to build very deep convolutional networks, using Residual Networks (ResNets) # In theory, very deep networks can represent very complex functions; but in practice, they are hard to train. Residual Networks, introduced by He et al., allow you to train much deeper networks than were previously practi...
41.370229
237
0.672664
1,691
10,839
4.191603
0.192785
0.015237
0.025677
0.025395
0.560666
0.538657
0.522856
0.500282
0.479543
0.461202
0
0.043503
0.196236
10,839
262
238
41.370229
0.769972
0.180367
0
0.363636
0
0
0.059754
0.00339
0
0
0
0
0
0
null
null
0
0.140496
null
null
0.099174
0
0
0
null
0
0
0
0
0
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
9da9c7616de2b24b169229bc1e2476e12aca2245
2,264
py
Python
api/reports/migrations/0001_initial.py
Egor4ik325/rankrise
c4377237c9afbdda365c01453f73151189129aa9
[ "MIT" ]
null
null
null
api/reports/migrations/0001_initial.py
Egor4ik325/rankrise
c4377237c9afbdda365c01453f73151189129aa9
[ "MIT" ]
null
null
null
api/reports/migrations/0001_initial.py
Egor4ik325/rankrise
c4377237c9afbdda365c01453f73151189129aa9
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2022-01-02 17:46 import uuid import django.db.models.deletion import model_utils.fields from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(se...
31.887324
84
0.44258
168
2,264
5.77381
0.47619
0.090722
0.043299
0.068041
0.140206
0.140206
0.078351
0
0
0
0
0.02147
0.465106
2,264
70
85
32.342857
0.779521
0.019876
0
0.209677
1
0
0.112765
0.023906
0
0
0
0
0
1
0
false
0
0.080645
0
0.145161
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
9dad508c71638904c511bdb4aac5cb6058a28796
764
py
Python
level_05.py
katsukaree/chapter-weasel
fa9a6c890eb6bca1f25dd89a97ef10ea7b62c2b7
[ "MIT" ]
null
null
null
level_05.py
katsukaree/chapter-weasel
fa9a6c890eb6bca1f25dd89a97ef10ea7b62c2b7
[ "MIT" ]
null
null
null
level_05.py
katsukaree/chapter-weasel
fa9a6c890eb6bca1f25dd89a97ef10ea7b62c2b7
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import requests import base64 import re from levels_credentials import credentials level_url = credentials[5]["url"] level_username = credentials[5]["level"] level_password = credentials[5]["password"] next_level_url = credentials[6]["url"] next_level_username = credentials[6]["level"] creden...
28.296296
93
0.744764
101
764
5.445545
0.435644
0.058182
0.069091
0
0
0
0
0
0
0
0
0.02029
0.096859
764
26
94
29.384615
0.776812
0.027487
0
0
0
0
0.117251
0
0
0
0
0
0
1
0
false
0.222222
0.222222
0
0.222222
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9dc06b994468f69ef40e064a73e2f9e96ecfcbc1
294
py
Python
Interview/evenNumberList.py
dnootana/Python
2881bafe8bc378fa3cae50a747fcea1a55630c63
[ "MIT" ]
1
2021-02-19T11:00:11.000Z
2021-02-19T11:00:11.000Z
Interview/evenNumberList.py
dnootana/Python
2881bafe8bc378fa3cae50a747fcea1a55630c63
[ "MIT" ]
null
null
null
Interview/evenNumberList.py
dnootana/Python
2881bafe8bc378fa3cae50a747fcea1a55630c63
[ "MIT" ]
null
null
null
# Enter your code here. Read input from STDIN. Print output to STDOUT def evenlist(): list = input("Enter numbers : ") L = list.split() E = [] for i in range(len(L)): num = int(L[i],10) if(num%2==0): E.append(L[i]) print("Even numbers are : ",E)
26.727273
69
0.537415
46
294
3.434783
0.717391
0.025316
0
0
0
0
0
0
0
0
0
0.019512
0.302721
294
10
70
29.4
0.75122
0.227891
0
0
0
0
0.155556
0
0
0
0
0.1
0
1
0.111111
false
0
0
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
1
0
0
0
0
0
0
0
0
0
0
1
9dc0b3cd0d117ec44bf11718dfc68bd86646bbe7
5,172
py
Python
impstall/core.py
ryanniehaus/impstall
e28207f30f4041cb6ad6596151cb90f7d8a4197c
[ "MIT" ]
2
2017-07-22T04:33:37.000Z
2021-07-16T10:56:45.000Z
impstall/core.py
ryanniehaus/impstall
e28207f30f4041cb6ad6596151cb90f7d8a4197c
[ "MIT" ]
1
2021-07-16T11:02:05.000Z
2021-07-16T11:02:05.000Z
impstall/core.py
ryanniehaus/impstall
e28207f30f4041cb6ad6596151cb90f7d8a4197c
[ "MIT" ]
null
null
null
#!/usr/bin/env python ''' This module can be used to import python packages and install them if not already installed. ''' import os import sys import subprocess import tempfile import urllib _pipSetupUrl = 'https://bootstrap.pypa.io/get-pip.py' PIP_OPTIONS=[] INSTALL_PIP_OPTIONS=[] PYTHON_EXE_PATH=sys.executable HTT...
28.262295
144
0.750193
743
5,172
5.053836
0.195155
0.062317
0.028762
0.033555
0.30972
0.277763
0.26285
0.193609
0.186152
0.180027
0
0.00136
0.146945
5,172
182
145
28.417582
0.849728
0.017595
0
0.226563
0
0
0.124821
0
0
0
0
0
0
0
null
null
0.023438
0.132813
null
null
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9dc8b8aa3210152f5fcee2878393cb2a3dd62591
2,003
py
Python
lib/surface/data_fusion/operations/wait.py
kustodian/google-cloud-sdk
b6bae4137d4b58030adb3dcb1271216dfb19f96d
[ "Apache-2.0" ]
2
2019-11-10T09:17:07.000Z
2019-12-18T13:44:08.000Z
lib/surface/data_fusion/operations/wait.py
kustodian/google-cloud-sdk
b6bae4137d4b58030adb3dcb1271216dfb19f96d
[ "Apache-2.0" ]
11
2020-02-29T02:51:12.000Z
2022-03-30T23:20:08.000Z
lib/surface/data_fusion/operations/wait.py
kustodian/google-cloud-sdk
b6bae4137d4b58030adb3dcb1271216dfb19f96d
[ "Apache-2.0" ]
1
2020-07-25T18:17:57.000Z
2020-07-25T18:17:57.000Z
# -*- coding: utf-8 -*- # # Copyright 2019 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
33.949153
79
0.759361
260
2,003
5.715385
0.5
0.040377
0.01817
0.038358
0.059219
0.059219
0.059219
0
0
0
0
0.010071
0.157264
2,003
58
80
34.534483
0.870261
0.428857
0
0
0
0
0.049639
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9dd3208be874a640882935d3800faaaa165f22c9
496
py
Python
configs/train_config.py
Open-Speech-EkStep/speech_music_classification
0e394ec0f0d0ac7a177171f7ac7c254b1db38c2a
[ "MIT" ]
null
null
null
configs/train_config.py
Open-Speech-EkStep/speech_music_classification
0e394ec0f0d0ac7a177171f7ac7c254b1db38c2a
[ "MIT" ]
null
null
null
configs/train_config.py
Open-Speech-EkStep/speech_music_classification
0e394ec0f0d0ac7a177171f7ac7c254b1db38c2a
[ "MIT" ]
1
2021-04-12T05:31:42.000Z
2021-04-12T05:31:42.000Z
from dataclasses import dataclass @dataclass class SpectConfig: samp_rate : int = 16000 # Sampling rate for extracting spectrogram features n_fft : int = 512 # Length of the windowed signal after padding win_dur : float = 0.025 # Window size in seconds win_stride : float = 0.01 # Window stride in secon...
31
79
0.697581
69
496
4.869565
0.710145
0.053571
0.077381
0
0
0
0
0
0
0
0
0.063325
0.235887
496
16
80
31
0.823219
0.284274
0
0.142857
0
0
0
0
0
0
0
0
0
1
0
true
0
0.071429
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
1
0
0
0
0
0
0
1
9dded3d948d1ce1ff638449b0a2e2eb30fbaca06
1,142
py
Python
docker/output/Neo_Gene_EC_Map.py
PhilPalmer/onemetagenome
1ef1ca6378357691c9b11b9ca64f0d2600d4843b
[ "MIT" ]
1
2019-03-12T05:54:29.000Z
2019-03-12T05:54:29.000Z
docker/output/Neo_Gene_EC_Map.py
PhilPalmer/onemetagenome
1ef1ca6378357691c9b11b9ca64f0d2600d4843b
[ "MIT" ]
null
null
null
docker/output/Neo_Gene_EC_Map.py
PhilPalmer/onemetagenome
1ef1ca6378357691c9b11b9ca64f0d2600d4843b
[ "MIT" ]
2
2018-10-11T14:08:29.000Z
2019-03-08T06:34:29.000Z
#!/usr/bin/env python import os import os.path import sys import shutil Swiss_prot_map = sys.argv[1] Prot_file = sys.argv[2] Gene_EC_map = sys.argv[3] mapping_dict = {} with open(Swiss_prot_map, "r") as mapping: for line in mapping: line_as_list = line.strip("\n").split("\t") mapping_dict[line_as...
27.853659
113
0.582312
176
1,142
3.551136
0.340909
0.0672
0.112
0.0528
0.0832
0.0832
0.0832
0.0832
0
0
0
0.018496
0.289842
1,142
40
114
28.55
0.752158
0.017513
0
0.0625
0
0
0.070473
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9de83efbe4ce118e2dcf961824e7537c6da06779
2,871
py
Python
OJS/teste3.py
r-luis/Projeto-PUB
7f1fad66614e7d5ba26a554aad6df6e65b0bc5d1
[ "MIT" ]
null
null
null
OJS/teste3.py
r-luis/Projeto-PUB
7f1fad66614e7d5ba26a554aad6df6e65b0bc5d1
[ "MIT" ]
null
null
null
OJS/teste3.py
r-luis/Projeto-PUB
7f1fad66614e7d5ba26a554aad6df6e65b0bc5d1
[ "MIT" ]
null
null
null
from urllib.request import urlopen from urllib.error import URLError from urllib.error import HTTPError from bs4 import BeautifulSoup import requests def baixadireto(url, nomearquivo): """ Faz o download direto do arquivo PDF e coloca direto no diretório que é mostrado. """ nomearquivo = nomearqui...
33
114
0.622083
389
2,871
4.542416
0.403599
0.019808
0.01528
0.025467
0.138653
0.1279
0.095076
0.095076
0.052066
0.052066
0
0.010695
0.218391
2,871
87
115
33
0.776738
0.187739
0
0.105263
0
0.035088
0.253738
0.103782
0
0
0
0.011494
0
1
0.052632
false
0.035088
0.087719
0
0.157895
0.105263
0
0
0
null
0
0
0
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
9deb9d7511c0928cc171bfb50e94f224570dacb7
9,314
py
Python
extra_foam/gui/windows/tests/test_filestream_window.py
ebadkamil/EXtra-foam
8e58143040c788dc70ea98ea5adc1fb63b7cfe0d
[ "BSD-3-Clause" ]
7
2019-11-27T09:31:37.000Z
2022-02-12T21:28:49.000Z
extra_foam/gui/windows/tests/test_filestream_window.py
ebadkamil/EXtra-foam
8e58143040c788dc70ea98ea5adc1fb63b7cfe0d
[ "BSD-3-Clause" ]
172
2019-12-03T07:56:02.000Z
2022-03-25T15:46:45.000Z
extra_foam/gui/windows/tests/test_filestream_window.py
ebadkamil/EXtra-foam
8e58143040c788dc70ea98ea5adc1fb63b7cfe0d
[ "BSD-3-Clause" ]
9
2019-11-27T09:32:38.000Z
2022-01-05T09:56:10.000Z
import unittest from unittest.mock import MagicMock, patch from PyQt5.QtTest import QSignalSpy from PyQt5.QtWidgets import QMainWindow from extra_foam.logger import logger_stream as logger from extra_foam.gui import mkQApp from extra_foam.gui.windows.file_stream_w import FileStreamWindow app = mkQApp() logger.setLe...
46.108911
103
0.598776
1,042
9,314
5.133397
0.233205
0.1318
0.038886
0.031969
0.473733
0.369976
0.341746
0.151804
0.134979
0.070294
0
0.029945
0.300837
9,314
201
104
46.338308
0.791462
0.115847
0
0.174825
0
0
0.056408
0.026438
0
0
0
0
0.440559
1
0.034965
false
0.006993
0.055944
0
0.097902
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
1
0
0
0
0
0
0
0
0
0
1
9deec8c9c6e36be799833aa303792021a1fe51dd
9,663
py
Python
aioffmpeg/cmd_opts.py
ucrux/aioffmpeg
c0e773d1ab484a62a5656d408a9771b35256c3b5
[ "MIT" ]
4
2019-11-01T02:15:15.000Z
2020-09-02T12:53:34.000Z
aioffmpeg/cmd_opts.py
ucrux/aioffmpeg
c0e773d1ab484a62a5656d408a9771b35256c3b5
[ "MIT" ]
null
null
null
aioffmpeg/cmd_opts.py
ucrux/aioffmpeg
c0e773d1ab484a62a5656d408a9771b35256c3b5
[ "MIT" ]
1
2020-09-02T12:53:35.000Z
2020-09-02T12:53:35.000Z
from aioffmpeg._cmd_raw_str import * # h264编码参数选项 class H264EncoderArgs(): """ h.264 编码的一些参数 ; -profile:v ; -level ; -preset ; -crf ; -c:v ; -r 如果ffmpeg编译时加了external的libx264,那就这么写: aioffmpeg -i input.mp4 -c:v libx264 -x264-params "profile=high:level=3.0" output.mp4 aioffmpeg...
42.196507
108
0.437131
979
9,663
4.065373
0.310521
0.027638
0.031658
0.009799
0.071859
0.071859
0.06608
0.058291
0.047739
0.019598
0
0.184087
0.494049
9,663
228
109
42.381579
0.629986
0.427714
0
0
0
0
0.111298
0
0
0
0
0
0
1
0
false
0
0.009259
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9df37a57aa7e8f95eee8833718171fdef24f3577
1,269
py
Python
pylgrum/tests/test_hand.py
jrheling/pylgrum
1e95a56acdfdd865404da5dc94e47c7fe858095f
[ "MIT" ]
2
2020-12-27T09:35:19.000Z
2021-07-27T01:29:05.000Z
pylgrum/tests/test_hand.py
jrheling/pylgrum
1e95a56acdfdd865404da5dc94e47c7fe858095f
[ "MIT" ]
4
2020-03-24T18:15:38.000Z
2021-06-02T00:55:56.000Z
pylgrum/tests/test_hand.py
jrheling/pylgrum
1e95a56acdfdd865404da5dc94e47c7fe858095f
[ "MIT" ]
2
2020-12-01T15:24:16.000Z
2020-12-27T09:47:00.000Z
import unittest from pylgrum.card import Card, Rank, Suit from pylgrum.hand import Hand from pylgrum.errors import OverdealtHandError class TestHand(unittest.TestCase): def test_too_many_cards(self): """Implicitly tests the add() override in Hand, too.""" h = Hand() self.assertEqual(h.size...
39.65625
66
0.603625
191
1,269
3.95288
0.387435
0.137748
0.127152
0.190728
0.254305
0
0
0
0
0
0
0.023933
0.242711
1,269
31
67
40.935484
0.761707
0.110323
0
0
0
0
0.007201
0
0
0
0
0
0.125
1
0.041667
false
0
0.166667
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9dfa4869af71d0fd7e774a8706a81d608ec3c593
889
py
Python
src/testplates/impl/validators/type.py
kprzybyla/testplates
156a373d9a0818c6074ec8d622d6ef1f867eafd3
[ "MIT" ]
null
null
null
src/testplates/impl/validators/type.py
kprzybyla/testplates
156a373d9a0818c6074ec8d622d6ef1f867eafd3
[ "MIT" ]
null
null
null
src/testplates/impl/validators/type.py
kprzybyla/testplates
156a373d9a0818c6074ec8d622d6ef1f867eafd3
[ "MIT" ]
null
null
null
__all__ = ("TypeValidator",) import testplates from typing import ( Any, ) from resultful import ( success, failure, Result, ) from testplates.impl.exceptions import TestplatesError, InvalidTypeError from testplates.impl.utils import ( format_like_tuple, ) class TypeValidator: __slots__ ...
20.204545
72
0.674916
94
889
5.957447
0.414894
0.235714
0.114286
0.078571
0
0
0
0
0
0
0
0
0.230596
889
43
73
20.674419
0.818713
0
0
0
0
0
0.088864
0.059618
0
0
0
0
0
1
0.103448
false
0
0.172414
0
0.448276
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3b02330bca88fa2610393be45b0c079d7ea15432
1,037
py
Python
utils/SRCNN/SR_CNN.py
roman-vygon/pyFAST
fda27d6e027f9b8607d97209a4474fd08363e3b0
[ "MIT" ]
null
null
null
utils/SRCNN/SR_CNN.py
roman-vygon/pyFAST
fda27d6e027f9b8607d97209a4474fd08363e3b0
[ "MIT" ]
1
2020-06-30T16:13:36.000Z
2020-06-30T16:13:36.000Z
utils/SRCNN/SR_CNN.py
roman-vygon/pyFAST
fda27d6e027f9b8607d97209a4474fd08363e3b0
[ "MIT" ]
null
null
null
# Generated with SMOP 0.41 from libsmop import * # SR_CNN.m @function def SR_CNN(iml=None,ratio=None,model=None,*args,**kwargs): varargin = SR_CNN.varargin nargin = SR_CNN.nargin if 2 == ratio: sr_model=model.x2_model # SR_CNN.m:5 else: if 3 == ratio: sr_model=model.x...
24.116279
168
0.594021
162
1,037
3.592593
0.37037
0.120275
0.113402
0.109966
0.206186
0.151203
0.151203
0.151203
0.151203
0.151203
0
0.047619
0.250723
1,037
43
169
24.116279
0.701416
0.145612
0
0.12
1
0
0.053776
0
0
0
0
0
0
1
0.04
false
0.04
0.04
0
0.12
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
d181398641b7a71b50607bb2ea9e44e551644430
2,478
py
Python
pyETM/parameters/flexibility_order.py
robcalon/PyETM
323418ad57b2df7d47f2495919c943db28ca55cc
[ "MIT" ]
null
null
null
pyETM/parameters/flexibility_order.py
robcalon/PyETM
323418ad57b2df7d47f2495919c943db28ca55cc
[ "MIT" ]
null
null
null
pyETM/parameters/flexibility_order.py
robcalon/PyETM
323418ad57b2df7d47f2495919c943db28ca55cc
[ "MIT" ]
null
null
null
import json import numpy class FlexibilityOrder: @property def flexibility_order(self): # get flexibility order if self._flexibility_order is None: self.get_flexibility_order() return self._flexibility_order @flexibility_order.setter d...
28.813953
68
0.557708
246
2,478
5.46748
0.300813
0.237918
0.074349
0.055762
0.1829
0.1829
0.1829
0.1829
0.1829
0.114498
0
0
0.360371
2,478
86
69
28.813953
0.84858
0.206618
0
0.263158
0
0
0.11281
0.049552
0
0
0
0
0
1
0.131579
false
0
0.052632
0
0.289474
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1828cb2b490d9d19ab61c6d59b90e94896ee56e
857
py
Python
examples/10-kdh.py
hebrewsnabla/dh
222e3d4d8d4d04cd63074327ebb5fb39ea4441b7
[ "Apache-2.0" ]
1
2022-02-05T08:58:13.000Z
2022-02-05T08:58:13.000Z
examples/10-kdh.py
hebrewsnabla/dh
222e3d4d8d4d04cd63074327ebb5fb39ea4441b7
[ "Apache-2.0" ]
null
null
null
examples/10-kdh.py
hebrewsnabla/dh
222e3d4d8d4d04cd63074327ebb5fb39ea4441b7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ''' KDH at an individual k-point ''' from functools import reduce import numpy from pyscf.pbc import gto from pyscf import pbcdh, lib #lib.num_threads(28) cell = gto.Cell() cell.atom=''' C 0.000000000000 0.000000000000 0.000000000000 C 1.685068664391 1.685068664391 1.685068664391 ''' c...
19.930233
54
0.69895
142
857
4.169014
0.5
0.101351
0.074324
0.135135
0.152027
0.152027
0.152027
0.152027
0.152027
0.152027
0
0.252362
0.135356
857
42
55
20.404762
0.546559
0.227538
0
0
0
0
0.419255
0
0
0
0
0
0
1
0
false
0
0.173913
0
0.173913
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d189a0fe07713ec6822d030c46d1e5b7ab1325f1
765
py
Python
dork_compose/plugins/cleanup.py
iamdork/dork-compose
ae757c5832b359b75f0b0864244132bb3312db29
[ "MIT" ]
2
2016-05-15T10:35:02.000Z
2016-08-09T12:29:15.000Z
dork_compose/plugins/cleanup.py
iamdork/dork-compose
ae757c5832b359b75f0b0864244132bb3312db29
[ "MIT" ]
41
2016-05-15T10:47:51.000Z
2017-07-19T11:21:36.000Z
dork_compose/plugins/cleanup.py
iamdork/dork-compose
ae757c5832b359b75f0b0864244132bb3312db29
[ "MIT" ]
3
2016-05-15T10:30:35.000Z
2017-02-24T14:48:23.000Z
import dork_compose.plugin from docker.api.client import APIClient class Plugin(dork_compose.plugin.Plugin): def cleanup(self): client = APIClient() # Remove unused volumes. volumes = client.volumes({'dangling': True}) if volumes and volumes['Volumes']: for volume in v...
29.423077
64
0.535948
74
765
5.486486
0.445946
0.103448
0.083744
0
0
0
0
0
0
0
0
0
0.373856
765
25
65
30.6
0.847599
0.057516
0
0.315789
0
0
0.050139
0
0
0
0
0
0
1
0.052632
false
0.105263
0.105263
0
0.210526
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
d18f7bccfb3fe111188f15653fe4732f3a3c746c
3,389
py
Python
Customer Lifetime Value/pre_processing.py
uicloudanalytics/Data-Apps
7fdc66ad8ebc23dfb86e079cace3d51113ea0f33
[ "MIT" ]
null
null
null
Customer Lifetime Value/pre_processing.py
uicloudanalytics/Data-Apps
7fdc66ad8ebc23dfb86e079cace3d51113ea0f33
[ "MIT" ]
null
null
null
Customer Lifetime Value/pre_processing.py
uicloudanalytics/Data-Apps
7fdc66ad8ebc23dfb86e079cace3d51113ea0f33
[ "MIT" ]
null
null
null
import pandas as pd import matplotlib.pyplot as plt import seaborn as sns import datetime as dt import numpy as np import plotly.express as px # pd.options.display.float_format = '${:,.2f}'.format # Load the data data = pd.read_excel("./data/Online_Retail.xlsx") # remove duplicate rows filtered_data = data.drop_du...
37.655556
163
0.728238
459
3,389
5.119826
0.305011
0.214468
0.166383
0.037447
0.324681
0.170213
0.111489
0.078298
0.051915
0
0
0.012589
0.132783
3,389
89
164
38.078652
0.787002
0.226616
0
0
0
0
0.186826
0.00963
0
0
0
0
0
1
0
false
0
0.162162
0
0.162162
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d19565397538be899a940d58c7758ddac1767ffb
975
py
Python
run.py
RavicharanN/Messenger-scheduler
bf5cb596b4cc090c93c4784b13051f797cf2859e
[ "MIT" ]
1
2020-01-23T13:53:39.000Z
2020-01-23T13:53:39.000Z
run.py
RavicharanN/Messenger-scheduler
bf5cb596b4cc090c93c4784b13051f797cf2859e
[ "MIT" ]
null
null
null
run.py
RavicharanN/Messenger-scheduler
bf5cb596b4cc090c93c4784b13051f797cf2859e
[ "MIT" ]
1
2020-03-21T15:37:49.000Z
2020-03-21T15:37:49.000Z
import os import time from selenium import webdriver from selenium.webdriver.common.keys import Keys import os # Change the info here messenger_link = "https://www.messenger.com/t/abc" email = "" password = "" message = "" os.environ["SELENIUM_SERVER_JAR"] = "selenium-server-standalone-2.41.0.jar" browser = webdrive...
28.676471
84
0.762051
147
975
4.857143
0.462585
0.077031
0.12605
0.140056
0.208683
0.103641
0.103641
0.103641
0
0
0
0.008929
0.081026
975
34
85
28.676471
0.787946
0.072821
0
0.08
0
0
0.281596
0.166297
0
0
0
0
0
1
0
false
0.12
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d196b2282b297ad6845d0702ab48deab986d624f
438
py
Python
Assignments/Assignment 2/DS_Assignment2_201911189/A5-4.py
h0han/SE274_2020_spring
a699e1d7e7bbc7cc2035b3748eea039b9a95d634
[ "MIT" ]
null
null
null
Assignments/Assignment 2/DS_Assignment2_201911189/A5-4.py
h0han/SE274_2020_spring
a699e1d7e7bbc7cc2035b3748eea039b9a95d634
[ "MIT" ]
null
null
null
Assignments/Assignment 2/DS_Assignment2_201911189/A5-4.py
h0han/SE274_2020_spring
a699e1d7e7bbc7cc2035b3748eea039b9a95d634
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # In[ ]: #A5-4 (3 points) from linked_binary_tree import LinkedBinaryTree class personal_LBP(LinkedBinaryTree): def _delete_subtree(self, p): if self.num_children(p) != 0: for child in self.children(p): self._delete_subtree(child) ...
21.9
48
0.623288
59
438
4.457627
0.694915
0.114068
0.121673
0
0
0
0
0
0
0
0
0.015625
0.269406
438
19
49
23.052632
0.80625
0.127854
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d19b6c823c39d8bd504df80f78f1c9dbae8b27d1
4,255
py
Python
crawler.py
EnzoPB/WankilFinderCrawler
3365e79550a340b94cc2a54a4107ea6e496bc903
[ "MIT" ]
1
2021-05-09T21:27:40.000Z
2021-05-09T21:27:40.000Z
crawler.py
EnzoPB/WankilFinderCrawler
3365e79550a340b94cc2a54a4107ea6e496bc903
[ "MIT" ]
null
null
null
crawler.py
EnzoPB/WankilFinderCrawler
3365e79550a340b94cc2a54a4107ea6e496bc903
[ "MIT" ]
null
null
null
from youtube_transcript_api import YouTubeTranscriptApi, _errors as YouTubeTranscriptApiErrors from datetime import datetime from database import con, cur # on importe la connexion et le curseur de la base de donnée from youtubeAPI import youtubeAPI # on importe la fonction youtubeAPI, qui sert juste à formatter des r...
59.097222
159
0.645828
471
4,255
5.798301
0.382166
0.032955
0.038081
0.020871
0.261443
0.203588
0.203588
0.180886
0.151593
0.151593
0
0.003839
0.265335
4,255
72
160
59.097222
0.869802
0.370388
0
0.175439
0
0.017544
0.173338
0
0
0
0
0
0
1
0
false
0.052632
0.087719
0
0.087719
0.017544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d19f633d55199d64852ad556410ce88432be6109
673
py
Python
batch_requests/authentication.py
GoLorry/django-batch-requests
a3313420df0653556b826f98d9490b5053b521c9
[ "MIT" ]
null
null
null
batch_requests/authentication.py
GoLorry/django-batch-requests
a3313420df0653556b826f98d9490b5053b521c9
[ "MIT" ]
null
null
null
batch_requests/authentication.py
GoLorry/django-batch-requests
a3313420df0653556b826f98d9490b5053b521c9
[ "MIT" ]
1
2021-01-14T08:13:02.000Z
2021-01-14T08:13:02.000Z
from django.contrib.auth import authenticate from rest_framework.authentication import BaseAuthentication class BatchAuthentication(BaseAuthentication): ''' Similar to session authentication. Authenticates users already authenticated by batch_requests. ''' def authenticate(self, request): ...
29.26087
83
0.682021
75
673
6.053333
0.613333
0.035242
0
0
0
0
0
0
0
0
0
0
0.251114
673
23
84
29.26087
0.900794
0.368499
0
0
0
0
0.026667
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d1a2b2ff15ce5870c1595afa8d12e3b95eecc6cb
15,461
py
Python
plugins/modules/unpackage.py
bferguso/nr-ansible
549dcaf854c111f54e1d307f6cd23e33b86c6492
[ "Apache-2.0" ]
null
null
null
plugins/modules/unpackage.py
bferguso/nr-ansible
549dcaf854c111f54e1d307f6cd23e33b86c6492
[ "Apache-2.0" ]
13
2021-07-28T18:15:48.000Z
2022-03-03T16:16:46.000Z
plugins/modules/unpackage.py
bferguso/nr-ansible
549dcaf854c111f54e1d307f6cd23e33b86c6492
[ "Apache-2.0" ]
2
2021-10-29T21:50:21.000Z
2022-01-20T02:12:41.000Z
#!/usr/bin/env python ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], 'supported_by': 'community'} DOCUMENTATION = ''' --- module: unpackage.py short_description: A Custom Version of unarchive description: - Untars/Unzips if no valid checksum file is ...
43.798867
248
0.470409
1,479
15,461
4.803922
0.189993
0.045602
0.024771
0.015764
0.44152
0.424631
0.384659
0.368051
0.323012
0.28487
0
0.003597
0.442533
15,461
352
249
43.923295
0.820745
0.001294
0
0.431894
0
0.009967
0.468459
0.005635
0.009967
0
0
0
0
0
null
null
0
0.046512
null
null
0.066445
0
0
0
null
0
0
0
0
0
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
d1ad06e925b480d9894a2ae0a02db851f95f6788
1,064
py
Python
storage/models/fighter.py
Some1Nebo/ufcpy
bcb6dad900ff0f9b3d09785908905dffeb2b92db
[ "Apache-2.0" ]
null
null
null
storage/models/fighter.py
Some1Nebo/ufcpy
bcb6dad900ff0f9b3d09785908905dffeb2b92db
[ "Apache-2.0" ]
null
null
null
storage/models/fighter.py
Some1Nebo/ufcpy
bcb6dad900ff0f9b3d09785908905dffeb2b92db
[ "Apache-2.0" ]
null
null
null
from storage.models.base import * from sqlalchemy.orm import validates class Fighter(Base): __tablename__ = 'fighters' id = Column(Integer, primary_key=True) ref = Column(String(STR_SIZE), unique=True, nullable=False) name = Column(String(STR_SIZE), nullable=False) country = Column(String(STR_SIZ...
29.555556
96
0.656015
123
1,064
5.544715
0.406504
0.087977
0.109971
0.139296
0
0
0
0
0
0
0
0.006143
0.234962
1,064
36
97
29.555556
0.831695
0.024436
0
0
0
0
0.095652
0
0
0
0
0
0.103448
1
0.103448
false
0
0.068966
0
0.724138
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
d1ad7ebd2984d3b8aeb35b761e11fb0b8963f977
25,222
py
Python
tensorlayerx/nn/core/core_mindspore.py
tensorlayer/TensorLayerX
4e3e6f13687309dda7787f0b86e35a62bb3adbad
[ "Apache-2.0" ]
34
2021-12-03T08:19:23.000Z
2022-03-13T08:34:34.000Z
tensorlayerx/nn/core/core_mindspore.py
tensorlayer/TensorLayerX
4e3e6f13687309dda7787f0b86e35a62bb3adbad
[ "Apache-2.0" ]
null
null
null
tensorlayerx/nn/core/core_mindspore.py
tensorlayer/TensorLayerX
4e3e6f13687309dda7787f0b86e35a62bb3adbad
[ "Apache-2.0" ]
3
2021-12-28T16:57:20.000Z
2022-03-18T02:23:14.000Z
#! /usr/bin/python # -*- coding: utf-8 -*- from .common import check_parameter, processing_act, str2init, random_normal, tolist, construct_graph, ModuleNode, select_attrs from .common import _save_weights, _load_weights, _save_standard_weights_dict, _load_standard_weights_dict from mindspore.nn import Cell import tens...
33.056356
127
0.6036
3,054
25,222
4.749181
0.121807
0.026682
0.011376
0.01441
0.403475
0.336735
0.268064
0.211183
0.17147
0.149545
0
0.005166
0.29391
25,222
762
128
33.099738
0.809254
0.18583
0
0.332609
0
0
0.067916
0.00106
0
0
0
0.001312
0
1
0.202174
false
0.004348
0.023913
0.067391
0.367391
0.002174
0
0
0
null
0
0
0
0
0
0
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
d1aea7febf6c447e7396423f5d887cc172c7d067
1,036
py
Python
10.68. Reversed.py
kyumiouchi/python-basic-to-advanced
a774085a5d0e0bfed90098e0f27c8fb7b760d9a7
[ "Apache-2.0" ]
null
null
null
10.68. Reversed.py
kyumiouchi/python-basic-to-advanced
a774085a5d0e0bfed90098e0f27c8fb7b760d9a7
[ "Apache-2.0" ]
null
null
null
10.68. Reversed.py
kyumiouchi/python-basic-to-advanced
a774085a5d0e0bfed90098e0f27c8fb7b760d9a7
[ "Apache-2.0" ]
null
null
null
""" Reversed OBS: It is different from reverse() from list => the function reverse() just work with list and reversed() with any iterable. """ list_number = [1, 2, 3, 4, 5] result = reversed(list_number) print(result) # <list_reverseiterator object at 0x0000029BC4B12FD0> print(type(result)) # <class 'list_reversei...
23.545455
87
0.671815
153
1,036
4.503268
0.431373
0.072569
0.104499
0.034833
0.214804
0.110305
0.110305
0.066763
0
0
0
0.068685
0.170849
1,036
43
88
24.093023
0.733411
0.464286
0
0.235294
0
0
0.083019
0
0
0
0
0
0
1
0
false
0
0
0
0
0.705882
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d1b7d6d93aa53439bfe1dd1d89a9e5c7a44df104
2,572
py
Python
giftest.py
TimothyBergstrom/Zergy
ca9e51afccd0907dc343c36e3421211ed9861319
[ "Apache-2.0" ]
null
null
null
giftest.py
TimothyBergstrom/Zergy
ca9e51afccd0907dc343c36e3421211ed9861319
[ "Apache-2.0" ]
1
2017-11-06T21:59:41.000Z
2017-11-06T21:59:41.000Z
giftest.py
TimothyBergstrom/Zergy
ca9e51afccd0907dc343c36e3421211ed9861319
[ "Apache-2.0" ]
null
null
null
import tkinter as tk from Gifhandler import * #Main window top=tk.Tk() #Icon top.iconbitmap('gifs/zergyicon.ico') #Setting color top.configure(background='gold') #Title top.title('Zergy') #Fixing picture canvas (will load later) topcanvas=tk.Canvas(top,width=250,height=250,background='gold') topcanvas.pack() #Ope...
27.655914
75
0.753499
281
2,572
6.850534
0.274021
0.143377
0.162078
0.218182
0.617662
0.602597
0.602597
0.567273
0.531429
0.531429
0
0.034192
0.124417
2,572
92
76
27.956522
0.820604
0.031104
0
0.522388
0
0
0.090909
0
0
0
0
0
0
1
0.164179
false
0
0.029851
0
0.19403
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1c4c37d36fe74346de1cf840cb82efb21258571
3,957
py
Python
roles/sensu/client/files/plugins/metrics-process-usage.py
Shasthojoy/cuttle
652822f716c09846629ad11746bec9cd27cc0cc6
[ "Apache-2.0" ]
21
2017-10-03T01:17:48.000Z
2021-08-18T06:22:45.000Z
roles/sensu/client/files/plugins/metrics-process-usage.py
Shasthojoy/cuttle
652822f716c09846629ad11746bec9cd27cc0cc6
[ "Apache-2.0" ]
4
2017-06-20T17:33:52.000Z
2017-07-26T21:26:53.000Z
roles/sensu/client/files/plugins/metrics-process-usage.py
Shasthojoy/cuttle
652822f716c09846629ad11746bec9cd27cc0cc6
[ "Apache-2.0" ]
14
2017-06-20T16:07:27.000Z
2017-08-02T17:57:40.000Z
#!/usr/bin/env python # # metrics-process-usage.py # # PLATFORMS: # Linux # # DEPENDENCIES: # Python 2.7+ (untested on Python3, should work though) # Python module: psutil https://pypi.python.org/pypi/psutil # # USAGE: # # metrics-process-usage.py -n <process_name> -w <cpu_warning_pct> -c <cpu_critical_pct> -W <m...
32.170732
173
0.694213
552
3,957
4.762681
0.291667
0.04108
0.045264
0.047927
0.189426
0.160137
0.130087
0.099658
0.069228
0.038037
0
0.005554
0.180945
3,957
122
174
32.434426
0.805616
0.216578
0
0.084507
0
0
0.156122
0.007143
0
0
0
0
0
0
null
null
0
0.070423
null
null
0.084507
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d1c7568ebb3bd26d50aede5d634071b30235d7e7
323
py
Python
insta/migrations/0007_remove_post_likes.py
Kennedy-karuri/insta-clone
87b13e445f8384eb38f35bff920e62e08663fec3
[ "Unlicense" ]
null
null
null
insta/migrations/0007_remove_post_likes.py
Kennedy-karuri/insta-clone
87b13e445f8384eb38f35bff920e62e08663fec3
[ "Unlicense" ]
null
null
null
insta/migrations/0007_remove_post_likes.py
Kennedy-karuri/insta-clone
87b13e445f8384eb38f35bff920e62e08663fec3
[ "Unlicense" ]
null
null
null
# Generated by Django 2.2.8 on 2020-10-22 01:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('insta', '0006_auto_20201022_0146'), ] operations = [ migrations.RemoveField( model_name='post', name='likes', ), ...
17.944444
47
0.585139
35
323
5.285714
0.828571
0
0
0
0
0
0
0
0
0
0
0.137168
0.30031
323
17
48
19
0.681416
0.139319
0
0
1
0
0.134058
0.083333
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
d1d2a6f013d6b9c06a6d2680781091ddfd82f628
2,022
py
Python
python/server/backends/mock.py
liamstar97/searchhub
b936eff55d0d6e9631464095d11ef30788e4bdce
[ "Apache-2.0" ]
48
2016-05-17T14:39:47.000Z
2019-11-20T16:35:02.000Z
python/server/backends/mock.py
liamstar97/searchhub
b936eff55d0d6e9631464095d11ef30788e4bdce
[ "Apache-2.0" ]
95
2016-05-20T03:55:03.000Z
2017-12-04T17:23:16.000Z
python/server/backends/mock.py
liamstar97/searchhub
b936eff55d0d6e9631464095d11ef30788e4bdce
[ "Apache-2.0" ]
18
2016-06-09T21:53:54.000Z
2021-08-15T08:18:55.000Z
from collections import defaultdict import random from loremipsum import get_sentences from lucidfind.backends import Backend, Document from lucidfind.fusion import compare_datasources class MockBackend(Backend): def __init__(self): self.datasources = {} def get_document(self, doc_id): retur...
35.473684
153
0.622651
240
2,022
5.116667
0.391667
0.04886
0.017915
0.037459
0.050489
0.050489
0
0
0
0
0
0.01738
0.260138
2,022
57
154
35.473684
0.803476
0.008408
0
0.113636
0
0
0.102794
0.011976
0
0
0
0
0
0
null
null
0
0.113636
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d1d367fc307ab901e0cf20dfdd4e2639c6e7b6d2
11,942
py
Python
pyapps/sensorapp.py
helena-project/beetle
6f07d864c38ea6aed962263eca20ecf8436cfb4e
[ "Apache-2.0" ]
16
2016-06-27T08:08:04.000Z
2020-10-24T21:20:27.000Z
pyapps/sensorapp.py
helena-project/beetle
6f07d864c38ea6aed962263eca20ecf8436cfb4e
[ "Apache-2.0" ]
1
2018-01-23T19:18:06.000Z
2018-01-23T19:18:06.000Z
pyapps/sensorapp.py
helena-project/beetle
6f07d864c38ea6aed962263eca20ecf8436cfb4e
[ "Apache-2.0" ]
2
2018-03-16T08:49:10.000Z
2019-02-14T04:30:03.000Z
#!/usr/bin/env python """ pygatt cloud monitoring ======================= This module implements a cloud monitoring application for home sensors """ import argparse import os import socket import ssl import struct import sys import threading from datetime import datetime from jinja2 import Environment, FileSystemLoa...
25.247357
71
0.690169
1,542
11,942
5.179637
0.19585
0.023789
0.018029
0.025917
0.287718
0.2305
0.190685
0.136597
0.121072
0.121072
0
0.014095
0.192011
11,942
472
72
25.300847
0.813659
0.023865
0
0.348189
0
0
0.058917
0
0
0
0.00318
0
0.002786
0
null
null
0
0.038997
null
null
0.086351
0
0
0
null
0
0
0
0
0
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
d1d82f8472dbae110bd6fc49e188276051e3aee5
1,584
py
Python
tools/bin/pythonSrc/PSI-0.3b2_gp/psi/_version.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
450
2015-09-05T09:12:51.000Z
2018-08-30T01:45:36.000Z
tools/bin/pythonSrc/PSI-0.3b2_gp/psi/_version.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
1,274
2015-09-22T20:06:16.000Z
2018-08-31T22:14:00.000Z
tools/bin/pythonSrc/PSI-0.3b2_gp/psi/_version.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
278
2015-09-21T19:15:06.000Z
2018-08-31T00:36:51.000Z
# The MIT License # # Copyright (C) 2007 Chris Miles # # Copyright (C) 2008-2009 Floris Bruynooghe # # Copyright (C) 2008-2009 Abilisoft Ltd. # # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files # (the "Software"), to deal in the Softwa...
35.2
70
0.75947
239
1,584
5.029289
0.502092
0.073211
0.046589
0.0599
0.123128
0.123128
0.123128
0.123128
0.123128
0.123128
0
0.038813
0.170455
1,584
44
71
36
0.875951
0.789773
0
0
0
0
0.702341
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
d1e49abb5b86546d8bdb8d26b604bf6ca779a61e
13,094
py
Python
instagramNotifier.py
akaeme/InstagramNotifier
60a1eb09ddc52f8b61397b91ca6e6833367c1f68
[ "MIT" ]
null
null
null
instagramNotifier.py
akaeme/InstagramNotifier
60a1eb09ddc52f8b61397b91ca6e6833367c1f68
[ "MIT" ]
null
null
null
instagramNotifier.py
akaeme/InstagramNotifier
60a1eb09ddc52f8b61397b91ca6e6833367c1f68
[ "MIT" ]
null
null
null
import argparse # from fbchat.models import * import logging import os import sys import urllib.request from getpass import getpass from time import sleep from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from fbchat import Client from API.InstagramAPI import I...
47.100719
117
0.60585
1,573
13,094
4.858868
0.186268
0.038859
0.020411
0.013738
0.353003
0.311527
0.286537
0.272014
0.256705
0.242837
0
0.005888
0.273637
13,094
277
118
47.270758
0.797708
0.042768
0
0.273913
0
0.008696
0.191029
0.001682
0
0
0
0
0
1
0.030435
false
0.113043
0.056522
0
0.130435
0.078261
0
0
0
null
0
0
0
0
0
0
0
0
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
d1e5d63194e419a02cb6742e5ce07f86602cb3b0
351
py
Python
denma_contact_form/migrations/0004_remove_contactform_subscribed_user.py
denma-group/website-backend-django
5a7ffb72915996d7b052b063b86e728ec5303a66
[ "Apache-2.0" ]
null
null
null
denma_contact_form/migrations/0004_remove_contactform_subscribed_user.py
denma-group/website-backend-django
5a7ffb72915996d7b052b063b86e728ec5303a66
[ "Apache-2.0" ]
7
2019-12-05T00:08:11.000Z
2022-02-10T11:21:59.000Z
denma_contact_form/migrations/0004_remove_contactform_subscribed_user.py
denma-group/website-backend-django
5a7ffb72915996d7b052b063b86e728ec5303a66
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2 on 2019-09-05 23:51 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('denma_contact_form', '0003_auto_20190905_1300'), ] operations = [ migrations.RemoveField( model_name='contactform', name='subs...
19.5
58
0.621083
37
351
5.702703
0.837838
0
0
0
0
0
0
0
0
0
0
0.11811
0.276353
351
17
59
20.647059
0.712598
0.122507
0
0
1
0
0.218954
0.075163
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
d1e7197801b3ebdc16d231ea2c409e73f582151a
423
py
Python
Pyton_Exp/__temp_migrations/vote_s/0003_group_tipo_votante.py
hbahamonde/Vote_Buying_Inequality
aa1c79f1396aefcbffb2aa8a47b478d04457ea65
[ "BSD-2-Clause" ]
null
null
null
Pyton_Exp/__temp_migrations/vote_s/0003_group_tipo_votante.py
hbahamonde/Vote_Buying_Inequality
aa1c79f1396aefcbffb2aa8a47b478d04457ea65
[ "BSD-2-Clause" ]
null
null
null
Pyton_Exp/__temp_migrations/vote_s/0003_group_tipo_votante.py
hbahamonde/Vote_Buying_Inequality
aa1c79f1396aefcbffb2aa8a47b478d04457ea65
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 2.2.12 on 2021-03-26 13:39 from django.db import migrations import otree.db.models class Migration(migrations.Migration): dependencies = [ ('vote_s', '0002_auto_20210326_1039'), ] operations = [ migrations.AddField( model_name='group', name=...
21.15
69
0.617021
50
423
5.1
0.78
0.054902
0.101961
0
0
0
0
0
0
0
0
0.106452
0.267139
423
19
70
22.263158
0.716129
0.108747
0
0
1
0
0.122667
0.061333
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
d1e8318c4e796e833b170f44931426650730eff7
438
py
Python
core_pipeline.py
Kelsiii/Gaze
88e1b278cd9a7ea3d836309e70a292573682191c
[ "MIT" ]
null
null
null
core_pipeline.py
Kelsiii/Gaze
88e1b278cd9a7ea3d836309e70a292573682191c
[ "MIT" ]
null
null
null
core_pipeline.py
Kelsiii/Gaze
88e1b278cd9a7ea3d836309e70a292573682191c
[ "MIT" ]
1
2019-01-12T08:45:31.000Z
2019-01-12T08:45:31.000Z
from gaze.pipes import Graph from gaze.nodes import NetworkSource from gaze.nodes import NetworkSink import os IN_IP="0.0.0.0" IN_PORT=5001 OUT_IP = os.getenv("OUT_IP") if os.getenv("OUT_IP") else "127.0.0.1" OUT_PORT = int(os.getenv("OUT_PORT")) if os.getenv("OUT_PORT") else 5001 print(IN_IP,IN_PORT,OUT_IP,OUT_PORT...
23.052632
72
0.748858
87
438
3.586207
0.275862
0.080128
0.141026
0.121795
0
0
0
0
0
0
0
0.045918
0.105023
438
18
73
24.333333
0.75
0
0
0
0
0
0.100457
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d1ebecece716c2d2e6e7b972e4f5b7878dc2dd6c
2,620
py
Python
pypardot/objects_v3/accounts.py
andyoneal/PyPardotSF
90e3ef1d0eda44daea08d6db5312e8ca7fcaa00d
[ "MIT" ]
18
2015-02-10T03:09:21.000Z
2019-11-15T14:23:29.000Z
pypardot/objects_v3/accounts.py
andyoneal/PyPardotSF
90e3ef1d0eda44daea08d6db5312e8ca7fcaa00d
[ "MIT" ]
14
2015-07-06T11:42:59.000Z
2017-08-12T16:47:44.000Z
pypardot/objects_v3/accounts.py
andyoneal/PyPardotSF
90e3ef1d0eda44daea08d6db5312e8ca7fcaa00d
[ "MIT" ]
15
2015-04-30T15:12:19.000Z
2018-12-13T18:51:16.000Z
class Accounts(object): """ A class to query and use Pardot accounts. Account field reference: http://developer.pardot.com/kb/api-version-3/object-field-references/#prospectAccount """ def __init__(self, client): self.client = client def query(self, **kwargs): """ Retur...
38.529412
124
0.627099
312
2,620
5.205128
0.278846
0.051724
0.05234
0.064039
0.512931
0.451355
0.451355
0.428571
0.327586
0.327586
0
0.002044
0.253053
2,620
67
125
39.104478
0.827798
0.352672
0
0.30303
0
0
0.111906
0
0
0
0
0
0
1
0.242424
false
0
0
0
0.484848
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
d1ecc70ff9707501c13c77792506d3c244e9eda4
347
py
Python
day24/aoc2018-day24.py
SebastiaanZ/aoc-2018
fb4d6db2ed592fa17554c80531384afdc0c34180
[ "MIT" ]
1
2019-03-16T19:20:11.000Z
2019-03-16T19:20:11.000Z
day24/aoc2018-day24.py
SebastiaanZ/aoc-2018
fb4d6db2ed592fa17554c80531384afdc0c34180
[ "MIT" ]
null
null
null
day24/aoc2018-day24.py
SebastiaanZ/aoc-2018
fb4d6db2ed592fa17554c80531384afdc0c34180
[ "MIT" ]
null
null
null
from reindeer import Disease # Part I disease = Disease("day24-input.txt") found, result = disease.battle() print(f"Answer part I: {result}") # Part II for boost in range(10000): body = Disease("day24-input.txt", boost) found, result = body.battle() if found: break print(f"Answer part II: {resu...
20.411765
55
0.662824
50
347
4.6
0.5
0.043478
0.147826
0.173913
0
0
0
0
0
0
0
0.032143
0.193084
347
16
56
21.6875
0.789286
0.040346
0
0
0
0
0.3
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.2
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1ed0b0696700610e22951ae8b72a888fe1ea25e
535
py
Python
Curso Udemy 2022/Curso_Luiz_Otavio/Aula 41.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
Curso Udemy 2022/Curso_Luiz_Otavio/Aula 41.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
Curso Udemy 2022/Curso_Luiz_Otavio/Aula 41.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
# uso do split e count '''string = 'O Brasil Brasil I I I I' lista_1 = string.split(' ') palavra = '' cont = 0 for valor in lista_1: quantvezes = lista_1.count(valor) if quantvezes > cont: cont = quantvezes palavra = valor print(f'A palavra que mais apareceu nessa frase foi {palavra} ')''' # uso...
26.75
67
0.64486
76
535
4.5
0.5
0.04386
0.017544
0
0
0
0
0
0
0
0
0.009324
0.198131
535
19
68
28.157895
0.787879
0.657944
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d1ee67784988177c900338db1e125d02a957135f
4,461
py
Python
tests/test_data.py
lgray/AwkwardQL
53802afa248740893512d01b8b7365a2e3a34367
[ "BSD-3-Clause" ]
1
2019-12-28T21:11:22.000Z
2019-12-28T21:11:22.000Z
tests/test_data.py
lgray/AwkwardQL
53802afa248740893512d01b8b7365a2e3a34367
[ "BSD-3-Clause" ]
3
2020-01-08T07:01:57.000Z
2020-01-08T15:54:48.000Z
tests/test_data.py
lgray/AwkwardQL
53802afa248740893512d01b8b7365a2e3a34367
[ "BSD-3-Clause" ]
1
2020-01-08T06:50:13.000Z
2020-01-08T06:50:13.000Z
import pytest def test_data(): from awkwardql.data import (RecordArray, PrimitiveArray, ListArray, UnionArray, instantiate) # data in columnar form events = RecordArray({ ...
34.315385
97
0.41067
593
4,461
3.08769
0.134907
0.0142
0.083561
0.068815
0.383397
0.317313
0.222829
0.222829
0.222829
0.222829
0
0.123649
0.336472
4,461
129
98
34.581395
0.494932
0.042367
0
0.268519
0
0
0.095171
0
0
0
0
0
0.194444
1
0.009259
false
0
0.018519
0
0.027778
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
d1f8402d87c3351909d3d683dc5e4015cb48fbef
507
py
Python
modules/py/bindings/setup.py
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
29
2020-04-13T04:40:35.000Z
2021-12-17T11:21:35.000Z
modules/py/bindings/setup.py
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
6
2020-03-12T17:40:00.000Z
2021-01-20T12:15:08.000Z
modules/py/bindings/setup.py
ICHEC/QNLP
2966c7f71e6979c7ddef62520c3749cf6473fabe
[ "Apache-2.0" ]
9
2020-09-28T05:00:30.000Z
2022-03-04T02:11:49.000Z
import setuptools setuptools.setup( name="PyQNLPSimulator", version="0.1", author="Lee J. O\'Riordan (ICHEC), Myles Doyle (ICHEC)", author_email="lee.oriordan@ichec.ie, myles.doyle@ichec.ie", description="Quantum NLP package", long_description="Quantum NLP project @ ICHEC", url="https://git...
29.823529
63
0.658777
57
507
5.77193
0.684211
0.06079
0.091185
0
0
0
0
0
0
0
0
0.00716
0.17357
507
16
64
31.6875
0.778043
0
0
0
0
0
0.469428
0.084813
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d1fad066424352d07b159c1116080befa0a0f862
1,394
py
Python
pymclevel/id_definitions_2.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
237
2018-02-04T19:13:31.000Z
2022-03-26T03:06:07.000Z
pymclevel/id_definitions_2.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
551
2015-01-01T02:36:53.000Z
2018-02-01T00:03:12.000Z
pymclevel/id_definitions_2.py
bennettdc/MCEdit-Unified
90abfb170c65b877ac67193e717fa3a3ded635dd
[ "0BSD" ]
97
2015-01-02T01:31:12.000Z
2018-01-22T05:37:47.000Z
import os import json from logging import getLogger import collections #from pymclevel import MCEDIT_DEFS, MCEDIT_IDS #import pymclevel import re #import id_definitions log = getLogger(__name__) def get_deps(base_version, file_name): deps = [base_version] print "Base: {}".format(base_version) fp = open(os...
26.807692
61
0.644907
194
1,394
4.443299
0.324742
0.064965
0.069606
0.088167
0.263341
0.197216
0.148492
0.078886
0.078886
0
0
0.005581
0.228838
1,394
51
62
27.333333
0.796279
0.086801
0
0.102564
0
0
0.041831
0
0
0
0
0
0
0
null
null
0
0.128205
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d1fbdab59f36c045f5aa4ceaa89127dd7667962a
1,707
py
Python
sync_operation.py
judsoncrouch/photo_sync
eea2d6f4f3dcb1c9744522aafb7e82ef3663c30b
[ "MIT" ]
null
null
null
sync_operation.py
judsoncrouch/photo_sync
eea2d6f4f3dcb1c9744522aafb7e82ef3663c30b
[ "MIT" ]
null
null
null
sync_operation.py
judsoncrouch/photo_sync
eea2d6f4f3dcb1c9744522aafb7e82ef3663c30b
[ "MIT" ]
null
null
null
from dirsync import sync import win32api as win import os import click def get_drive_names(): drives = win.GetLogicalDriveStrings() drives = drives.split('\000')[:-1] drive_map = {} for d in drives: drive_name = win.GetVolumeInformation(d)[0] drive_map[drive_name] = d return drive_...
24.73913
61
0.626831
228
1,707
4.421053
0.263158
0.047619
0.035714
0.035714
0.300595
0.270833
0.110119
0.089286
0.089286
0.089286
0
0.006988
0.24546
1,707
69
62
24.73913
0.775621
0
0
0.176471
0
0
0.163934
0
0
0
0
0
0
0
null
null
0
0.078431
null
null
0.137255
0
0
0
null
0
0
0
0
0
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
d1fc22b9b6167a158bb4b33648cb25dc6e6ac294
1,568
py
Python
fluxgapfill/metrics/metrics.py
stanfordmlgroup/methane-gapfill-ml
c6c5c9a11ffdcc001e215fec69d2ecc28bd58ad5
[ "Apache-2.0" ]
8
2021-07-16T02:00:22.000Z
2022-01-28T23:24:26.000Z
fluxgapfill/metrics/metrics.py
stanfordmlgroup/methane-gapfill-ml
c6c5c9a11ffdcc001e215fec69d2ecc28bd58ad5
[ "Apache-2.0" ]
7
2021-05-25T04:56:30.000Z
2021-09-29T16:58:48.000Z
fluxgapfill/metrics/metrics.py
stanfordmlgroup/methane-gapfill-ml
c6c5c9a11ffdcc001e215fec69d2ecc28bd58ad5
[ "Apache-2.0" ]
4
2021-04-11T07:57:40.000Z
2021-12-21T14:46:30.000Z
import numpy as np from sklearn.metrics import ( mean_squared_error, mean_absolute_error, r2_score ) from scipy.stats import pearsonr def pearson_r_squared(truth, prediction): return pearsonr(truth, prediction)[0] ** 2 def reference_standard_dev(truth, prediction): return np.std(truth) def nor...
23.402985
69
0.715561
203
1,568
5.216749
0.261084
0.124646
0.080264
0.071766
0.425873
0.23796
0.23796
0.23796
0.23796
0.23796
0
0.010109
0.179847
1,568
66
70
23.757576
0.813375
0
0
0.108696
0
0
0.037628
0
0
0
0
0
0
1
0.173913
false
0
0.065217
0.108696
0.413043
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0607c48b9d46c95e07a4fa7a404a110b5d75a367
967
py
Python
customer/migrations/0008_contact.py
martinlehoux/erp-reloaded
db7dea603095dec558f4b0ad9a0d2dbd20f8703c
[ "MIT" ]
null
null
null
customer/migrations/0008_contact.py
martinlehoux/erp-reloaded
db7dea603095dec558f4b0ad9a0d2dbd20f8703c
[ "MIT" ]
5
2021-04-08T18:54:04.000Z
2021-06-10T18:37:26.000Z
customer/migrations/0008_contact.py
martinlehoux/erp-reloaded
db7dea603095dec558f4b0ad9a0d2dbd20f8703c
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-03-02 02:54 from django.db import migrations, models import django.db.models.deletion import phonenumber_field.modelfields class Migration(migrations.Migration): dependencies = [ ('customer', '0007_customer_logo'), ] operations = [ migrations.CreateMo...
35.814815
122
0.631851
104
967
5.730769
0.576923
0.060403
0.04698
0.073826
0.104027
0.104027
0
0
0
0
0
0.042062
0.237849
967
26
123
37.192308
0.766621
0.046536
0
0
1
0
0.106522
0
0
0
0
0
0
1
0
false
0
0.15
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0617517662e1d2e357543072a7c9c4ee7a911cb8
64,832
py
Python
cuffdiffgui.py
AgazW/Seq-Pip
d5c396517e92a8126293452bfb003901e2f66980
[ "MIT" ]
null
null
null
cuffdiffgui.py
AgazW/Seq-Pip
d5c396517e92a8126293452bfb003901e2f66980
[ "MIT" ]
null
null
null
cuffdiffgui.py
AgazW/Seq-Pip
d5c396517e92a8126293452bfb003901e2f66980
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'bowtiegui.ui' # # Created: Tue Mar 1 14:46:40 2016 # by: PyQt4 UI code generator 4.10.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except Attr...
47.811209
162
0.671088
7,233
64,832
5.961012
0.083644
0.064292
0.065822
0.035068
0.555316
0.463146
0.407227
0.368633
0.327906
0.30513
0
0.041836
0.207691
64,832
1,355
163
47.846494
0.797535
0.052212
0
0.399149
1
0.000851
0.14227
0.010348
0
0
0
0
0
1
0.004255
false
0
0.000851
0.002553
0.008511
0.005957
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
ae0631d0bfb605b47ecfa577a4f37273e6bcb6fb
4,663
py
Python
SalesforceApi.py
mvogelgesang/SF-Event-Monitoring-Log-Retrieval
4efa0df8a743844fb6da456cc8e931addf22a2ef
[ "CC0-1.0" ]
null
null
null
SalesforceApi.py
mvogelgesang/SF-Event-Monitoring-Log-Retrieval
4efa0df8a743844fb6da456cc8e931addf22a2ef
[ "CC0-1.0" ]
null
null
null
SalesforceApi.py
mvogelgesang/SF-Event-Monitoring-Log-Retrieval
4efa0df8a743844fb6da456cc8e931addf22a2ef
[ "CC0-1.0" ]
null
null
null
import datetime import getopt import json import logging import os import requests import sys from FileWriter import FileWriter from requests.auth import HTTPBasicAuth """ Salesforce API """ class SalesforceApi: def __init__(self,environment,debug=0): self.username = environment['username'] self.p...
36.147287
194
0.615055
462
4,663
6.188312
0.374459
0.01469
0.01539
0.022385
0.189227
0.181882
0.174886
0.137111
0.137111
0.137111
0
0.021339
0.266352
4,663
128
195
36.429688
0.814382
0.102509
0
0.237288
0
0.016949
0.253386
0.067063
0
0
0
0
0
0
null
null
0.033898
0.152542
null
null
0.135593
0
0
0
null
0
0
0
0
0
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
ae07a4fbafaa0b992f3e1c8b5f12648751efc548
3,776
py
Python
app/auth/forms.py
INASIC/AnnotateChange
91b804c59adf1bd26700b3aa541603f7c2506da3
[ "MIT" ]
13
2020-07-14T05:51:13.000Z
2021-12-26T12:01:51.000Z
app/auth/forms.py
INASIC/AnnotateChange
91b804c59adf1bd26700b3aa541603f7c2506da3
[ "MIT" ]
2
2020-12-04T21:15:55.000Z
2021-02-18T22:24:32.000Z
app/auth/forms.py
INASIC/AnnotateChange
91b804c59adf1bd26700b3aa541603f7c2506da3
[ "MIT" ]
10
2020-11-30T17:21:14.000Z
2022-02-09T23:11:49.000Z
# -*- coding: utf-8 -*- # Author: G.J.J. van den Burg <gvandenburg@turing.ac.uk> # License: See LICENSE file # Copyright: 2020 (c) The Alan Turing Institute from flask import current_app, flash from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField, BooleanField from wtforms.vali...
36.660194
81
0.629767
395
3,776
5.977215
0.362025
0.093181
0.063532
0.033884
0.473105
0.373571
0.232105
0.232105
0.203304
0.166031
0
0.00292
0.274364
3,776
102
82
37.019608
0.858759
0.039195
0
0.253012
0
0
0.288987
0
0
0
0
0
0
1
0.036145
false
0.144578
0.060241
0
0.361446
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
ae0847bb5b94782766b90beeb78d807906efa1f7
1,075
py
Python
{{cookiecutter.project_slug}}/backend/app/app/core/config.py
abnerjacobsen/full-stack
f9c08f65a8c8ef68127c671f12c43d29656dcf16
[ "MIT" ]
516
2018-03-06T19:20:47.000Z
2022-03-30T22:22:11.000Z
{{cookiecutter.project_slug}}/backend/app/app/core/config.py
abnerjacobsen/full-stack
f9c08f65a8c8ef68127c671f12c43d29656dcf16
[ "MIT" ]
23
2018-03-21T19:38:40.000Z
2020-12-27T23:08:09.000Z
{{cookiecutter.project_slug}}/backend/app/app/core/config.py
abnerjacobsen/full-stack
f9c08f65a8c8ef68127c671f12c43d29656dcf16
[ "MIT" ]
85
2018-03-29T16:46:40.000Z
2022-01-27T18:47:39.000Z
import os def getenv_boolean(var_name, default_value=False): result = default_value env_value = os.getenv(var_name) if env_value is not None: result = env_value.upper() in ("TRUE", "1") return result API_V1_STR = "/api/v1" SECRET_KEY = os.getenvb(b"SECRET_KEY") if not SECRET_KEY: SECRET...
29.054054
87
0.757209
153
1,075
4.980392
0.392157
0.115486
0.08399
0.073491
0
0
0
0
0
0
0
0.015924
0.123721
1,075
36
88
29.861111
0.792994
0.027907
0
0
0
0
0.261745
0.121764
0
0
0
0
0
1
0.038462
false
0.115385
0.038462
0
0.115385
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
ae09b9179b89473bc804f6e6cb9984f59bf39e35
490
py
Python
setup.py
petejh/catclass
4101cf3352ad7e3fb1e3226d88fc290a743268c3
[ "MIT" ]
null
null
null
setup.py
petejh/catclass
4101cf3352ad7e3fb1e3226d88fc290a743268c3
[ "MIT" ]
null
null
null
setup.py
petejh/catclass
4101cf3352ad7e3fb1e3226d88fc290a743268c3
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'cat-class', version = '0.1.0', description = ('An image classifier employing a deep neural network ' 'to identify pictures of cats.'), url = 'https://github.com/petejh/cat-class', author = 'Peter J. Hinckley', author_email = 'p...
28.823529
73
0.597959
57
490
5.070175
0.859649
0.055363
0
0
0
0
0
0
0
0
0
0.010959
0.255102
490
16
74
30.625
0.780822
0
0
0
0
0
0.387755
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ae0a9415499c77cc0cabf8b93bcfacf2698dfc21
2,514
py
Python
2014-2015/2-jan2015/p2/CowRouting2.py
esqu1/USACO
ed7ac787b17b5e17b179d901ac0bbc8a124e66e6
[ "MIT" ]
null
null
null
2014-2015/2-jan2015/p2/CowRouting2.py
esqu1/USACO
ed7ac787b17b5e17b179d901ac0bbc8a124e66e6
[ "MIT" ]
null
null
null
2014-2015/2-jan2015/p2/CowRouting2.py
esqu1/USACO
ed7ac787b17b5e17b179d901ac0bbc8a124e66e6
[ "MIT" ]
null
null
null
######### # USACO CONTEST 1 PROBLEM 2 # SOLUTION BY BRANDON LIN # PYTHON 2.7.6 ######### import sys def readin(): f = open("cowroute.in",'r') s = f.read().split("\n") f.close() return s def find(list,el): if el in list: return list.index(el) else: return -1 l = readin() min = s...
39.904762
243
0.547335
382
2,514
3.602094
0.21466
0.082849
0.09593
0.109012
0.623547
0.576308
0.501453
0.446221
0.281977
0.281977
0
0.038671
0.26969
2,514
62
244
40.548387
0.710784
0.136834
0
0.326923
0
0
0.013551
0
0
0
0
0
0
0
null
null
0
0.019231
null
null
0.115385
0
0
0
null
0
0
0
0
0
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
ae0fde8e0f4ac8ac70e0600b9a6dfc726bb192ad
4,196
py
Python
networkmonitor/src/configuration/contextConfig.py
luther38/NetworkMonitor
bd5e9336342e7af71c19ca484f8d386b6b79ad69
[ "MIT" ]
null
null
null
networkmonitor/src/configuration/contextConfig.py
luther38/NetworkMonitor
bd5e9336342e7af71c19ca484f8d386b6b79ad69
[ "MIT" ]
null
null
null
networkmonitor/src/configuration/contextConfig.py
luther38/NetworkMonitor
bd5e9336342e7af71c19ca484f8d386b6b79ad69
[ "MIT" ]
null
null
null
import os from networkmonitor.src.configuration import IConfig, YamlConfig, JsonConfig from networkmonitor.src.collections import Configuration class ContextConfig: """ ConfigContext is the handler for the IConfig and tells the process who needs to do what. Methods are the same as IConfig """ ...
32.276923
125
0.486177
359
4,196
5.632312
0.364903
0.084075
0.031652
0.014837
0.228487
0.176063
0.12364
0.088032
0.088032
0
0
0.007829
0.421592
4,196
129
126
32.527132
0.825299
0.208294
0
0.336957
0
0
0.110317
0
0
0
0
0
0
1
0.065217
false
0.097826
0.032609
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
ae135234bf0d90af826a17a206c15563d8fd5b6b
523
py
Python
or_testbed/solvers/tabusearch/multistart.py
Fynardo/or-testbed
9cc58edd71f400da7a933f166cd325e43562cfb6
[ "MIT" ]
1
2020-07-23T14:59:03.000Z
2020-07-23T14:59:03.000Z
or_testbed/solvers/tabusearch/multistart.py
Fynardo/or-testbed
9cc58edd71f400da7a933f166cd325e43562cfb6
[ "MIT" ]
null
null
null
or_testbed/solvers/tabusearch/multistart.py
Fynardo/or-testbed
9cc58edd71f400da7a933f166cd325e43562cfb6
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- import or_testbed.solvers.base.solver as base_solver class MultiStartTabuSearch(base_solver.MultiStartSolver): """ MultiStart version of Tabu Search. This is just an extension of base multistart solver. It works fine out of the box. """ def __init__(self...
32.6875
91
0.694073
67
523
5.149254
0.641791
0.086957
0.115942
0.156522
0.185507
0
0
0
0
0
0
0.002433
0.214149
523
15
92
34.866667
0.836983
0.267686
0
0
0
0
0.064897
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
ae1c8e7f5988016b8dcc6b9b0b2484649d968501
14,303
py
Python
oauth2_backend/migrations/0001_initial.py
practian-reusable-applications/django-oauth2-backend
102e7f78095f11864e832aa894275f334e1d8015
[ "BSD-3-Clause" ]
null
null
null
oauth2_backend/migrations/0001_initial.py
practian-reusable-applications/django-oauth2-backend
102e7f78095f11864e832aa894275f334e1d8015
[ "BSD-3-Clause" ]
null
null
null
oauth2_backend/migrations/0001_initial.py
practian-reusable-applications/django-oauth2-backend
102e7f78095f11864e832aa894275f334e1d8015
[ "BSD-3-Clause" ]
1
2021-01-03T22:25:03.000Z
2021-01-03T22:25:03.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2016-11-29 03:12 from __future__ import unicode_literals from django.conf import settings import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import oauth2_backend.models.use...
69.770732
329
0.627281
1,554
14,303
5.586873
0.161519
0.101359
0.057015
0.052522
0.615872
0.583045
0.521193
0.496314
0.480995
0.424096
0
0.008773
0.226945
14,303
204
330
70.112745
0.776431
0.004754
0
0.47449
1
0
0.245433
0.021571
0
0
0
0
0
1
0
false
0.005102
0.040816
0
0.061224
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
ae1da722003b749699b9215cf7f4fde3fc68320e
951
py
Python
scraper/storage_spiders/giadungsmartcom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
null
null
null
scraper/storage_spiders/giadungsmartcom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
10
2020-02-11T23:34:28.000Z
2022-03-11T23:16:12.000Z
scraper/storage_spiders/giadungsmartcom.py
chongiadung/choinho
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
[ "MIT" ]
3
2018-08-05T14:54:25.000Z
2021-06-07T01:49:59.000Z
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@class='tensp']/h2", 'price' : "//div[@class='pd-right fr']/p[@class='p-price']", 'category' : "//ul[@class='breadcrumb all'...
35.222222
84
0.621451
118
951
4.881356
0.601695
0.055556
0.076389
0.079861
0.086806
0
0
0
0
0
0
0.003645
0.134595
951
26
85
36.576923
0.696233
0.126183
0
0
1
0
0.478261
0.297101
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
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
ae1e443b7a08e95c757e6701ccfd40194903c0d3
1,016
py
Python
aiopyarr/models/common.py
yoki31/aiopyarr
9fc8b4967388f733dfb7984c8c5dbfa652b6c30a
[ "MIT" ]
1
2021-11-30T14:23:05.000Z
2021-11-30T14:23:05.000Z
aiopyarr/models/common.py
yoki31/aiopyarr
9fc8b4967388f733dfb7984c8c5dbfa652b6c30a
[ "MIT" ]
1
2022-03-01T06:31:05.000Z
2022-03-01T06:31:05.000Z
aiopyarr/models/common.py
yoki31/aiopyarr
9fc8b4967388f733dfb7984c8c5dbfa652b6c30a
[ "MIT" ]
null
null
null
"""Common Models.""" # pylint: disable=invalid-name, too-many-instance-attributes from __future__ import annotations from dataclasses import dataclass from aiopyarr.models.base import APIResponseType, BaseModel @dataclass(init=False) class Diskspace(BaseModel): """Radarr diskspace attributes.""" _responset...
26.051282
60
0.682087
113
1,016
6.079646
0.433628
0.197962
0.144105
0.066958
0
0
0
0
0
0
0
0
0.220472
1,016
38
61
26.736842
0.867424
0.120079
0
0.08
0
0
0
0
0
0
0
0
0
1
0
false
0
0.12
0
0.92
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
ae21036f3c84374aadecf55e3bec9625dd76551f
3,263
py
Python
src/old_encoder_decoder.py
suhasjs/upgraded-system
dd81dc76d12ac765b6ce480e17d3b657e559227b
[ "MIT" ]
1
2022-01-08T01:42:35.000Z
2022-01-08T01:42:35.000Z
src/old_encoder_decoder.py
rrmenon10/nlg-rom-lstm
6966722dadd912f1d0dd794b4f3f6ecd30c5e0e1
[ "MIT" ]
1
2019-03-14T20:30:12.000Z
2019-03-14T20:30:12.000Z
src/old_encoder_decoder.py
rrmenon10/nlg-rom-lstm
6966722dadd912f1d0dd794b4f3f6ecd30c5e0e1
[ "MIT" ]
null
null
null
import collections import csv import random import numpy as np import tensorflow as tf def _read_words(filename): with tf.gfile.GFile(filename, "r") as f: return filter(None, f.read().decode("utf-8").replace(".", " <eos>"). replace(", ", " <comma> ").replace("\n", " <eop> ").split()...
28.876106
119
0.598835
478
3,263
3.914226
0.297071
0.029931
0.019241
0.022448
0.160877
0.123463
0.089792
0.089792
0.089792
0.051309
0
0.014286
0.249157
3,263
112
120
29.133929
0.749388
0.084891
0
0.028571
0
0
0.065958
0.025284
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.042857
0
0
0
null
0
0
0
0
0
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
ae25073e4433f1a16dd0db23ed1408549d490928
432
py
Python
api/test.py
mingweiarthurli/CMPUT-404-Project
b88bafc3e107f2b5271b58056d8ef778c861eaf9
[ "MIT" ]
null
null
null
api/test.py
mingweiarthurli/CMPUT-404-Project
b88bafc3e107f2b5271b58056d8ef778c861eaf9
[ "MIT" ]
null
null
null
api/test.py
mingweiarthurli/CMPUT-404-Project
b88bafc3e107f2b5271b58056d8ef778c861eaf9
[ "MIT" ]
2
2020-01-31T22:09:39.000Z
2020-02-01T03:25:28.000Z
import re # text = ["http://127.0.0.1:5454/author/de305d54-75b4-431b-adb2-eb6b9e546013", # "http://127.0.0.1:5454/author/ae345d54-75b4-431b-adb2-fb6b9e547891",] text = "https://cmput404-socialdistribution.herokuapp.com/posts/da61a3f4-8cfb-4046-881f-50e12bfb4a4d" # for t in text: r = re.findall(r"(https?://[-A-Za-z0...
36
101
0.675926
67
432
4.343284
0.641791
0.04811
0.054983
0.061856
0.137457
0.137457
0.137457
0
0
0
0
0.21608
0.078704
432
12
102
36
0.515075
0.377315
0
0
0
0.166667
0.578947
0.154135
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae2ada6d5d09dd62a3a98b123b315ee76db3a712
965
py
Python
Modulo-03/ex112/utilidadescev/moeda/__init__.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
Modulo-03/ex112/utilidadescev/moeda/__init__.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
Modulo-03/ex112/utilidadescev/moeda/__init__.py
Matheus-Henrique-Burey/Curso-de-Python
448aebaab96527affa1e45897a662bb0407c11c6
[ "MIT" ]
null
null
null
def almentar(preco, taxa, formato=False): res = preco + preco * taxa / 100 return res if not formato else moeda(res) def diminuir(preco, taxa, formato=False): res = preco - preco * taxa / 100 return res if not formato else moeda(res) def dobro(preco, formato=False): res = preco * 2 return re...
28.382353
74
0.630052
143
965
4.251748
0.258741
0.059211
0.098684
0.131579
0.457237
0.457237
0.457237
0.457237
0.457237
0.457237
0
0.022222
0.207254
965
33
75
29.242424
0.772549
0
0
0.291667
0
0
0.283938
0
0
0
0
0
0
1
0.25
false
0
0
0.041667
0.458333
0.375
0
0
0
null
0
0
0
0
0
0
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
ae324af94170b8dff15f15554cdcc9bfedbb5340
2,446
py
Python
app/v1/authentication.py
arnxun/Space
3a6162a87df3be7085e1f019e5b5bb421af7ed87
[ "MIT" ]
null
null
null
app/v1/authentication.py
arnxun/Space
3a6162a87df3be7085e1f019e5b5bb421af7ed87
[ "MIT" ]
null
null
null
app/v1/authentication.py
arnxun/Space
3a6162a87df3be7085e1f019e5b5bb421af7ed87
[ "MIT" ]
null
null
null
import os import re from flask import g, jsonify, request from flask_httpauth import HTTPTokenAuth # HTTPBasicAuth from app.models import User from app.v1 import api from app.v1.errors import forbidden, unauthorized from config import config auth = HTTPTokenAuth() @auth.verify_token def verify_token(token): g...
26.586957
73
0.677433
323
2,446
5.003096
0.244582
0.034653
0.037129
0.037129
0.334158
0.284653
0.210396
0.164604
0.164604
0.164604
0
0.005629
0.201145
2,446
91
74
26.879121
0.821392
0.293132
0
0.192308
0
0
0.101176
0
0
0
0
0
0
1
0.096154
false
0.057692
0.153846
0.038462
0.423077
0.096154
0
0
0
null
0
0
0
0
0
0
0
0
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
ae3416357ec72f7c7ee20c6e77fdc0a95e19151d
1,030
py
Python
tests/highlevel/transformer-redefine.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
15
2017-06-07T12:49:12.000Z
2020-07-25T18:06:04.000Z
tests/highlevel/transformer-redefine.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
110
2016-06-21T23:20:44.000Z
2022-02-24T16:15:22.000Z
tests/highlevel/transformer-redefine.py
sjdv1982/seamless
1b814341e74a56333c163f10e6f6ceab508b7df9
[ "MIT" ]
6
2016-06-21T11:19:22.000Z
2019-01-21T13:45:39.000Z
import os, tempfile from seamless.highlevel import Context, Cell import json ctx = Context() ctx.transform = lambda a,b: a + b ctx.transform.a = 2 ctx.transform.b = 3 ctx.translate() ctx.transform.example.a = 0 ctx.transform.example.b = 0 ctx.result = ctx.transform ctx.result.celltype = "plain" ctx.transform.result....
23.953488
68
0.692233
156
1,030
4.570513
0.358974
0.286115
0.063114
0.075736
0.242637
0.179523
0.098177
0.098177
0.098177
0.098177
0
0.017523
0.168932
1,030
42
69
24.52381
0.815421
0.107767
0
0.361111
0
0
0.113661
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.111111
0.222222
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae3541e17066943c7bb49cd13523fa6f921b8fca
4,615
py
Python
metnet_pytorch/model.py
tcapelle/metnet_pytorch
2d9a2c2f23dd5f6e454fe94118a440ee41bde657
[ "Apache-2.0" ]
15
2021-06-29T10:59:39.000Z
2022-03-03T00:03:21.000Z
metnet_pytorch/model.py
tcapelle/metnet_pytorch
2d9a2c2f23dd5f6e454fe94118a440ee41bde657
[ "Apache-2.0" ]
1
2021-11-14T20:44:11.000Z
2021-11-15T13:29:57.000Z
metnet_pytorch/model.py
tcapelle/metnet_pytorch
2d9a2c2f23dd5f6e454fe94118a440ee41bde657
[ "Apache-2.0" ]
6
2021-10-13T20:17:16.000Z
2022-02-26T04:26:12.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: 01_model.ipynb (unless otherwise specified). __all__ = ['DownSampler', 'TemporalEncoder', 'condition_time', 'ConditionTime', 'feat2image', 'MetNet', 'metnet_splitter'] # Cell from .layers import * from fastai.vision.all import * # Cell def DownSampler(in_channel...
36.92
145
0.597616
655
4,615
4.083969
0.259542
0.020187
0.032897
0.04785
0.137196
0.109907
0.051963
0.051963
0.051963
0.034393
0
0.033254
0.270206
4,615
125
146
36.92
0.760986
0.130661
0
0.068966
1
0
0.128309
0
0
0
0
0
0.022989
1
0.126437
false
0
0.034483
0.011494
0.287356
0.091954
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
ae3ef0549f6c3dcb0af4c2c4416b7ae3a1279244
2,066
py
Python
qatrack/faults/migrations/0006_auto_20210317_1651.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
20
2021-03-11T18:37:32.000Z
2022-03-23T19:38:07.000Z
qatrack/faults/migrations/0006_auto_20210317_1651.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
75
2021-02-12T02:37:33.000Z
2022-03-29T20:56:16.000Z
qatrack/faults/migrations/0006_auto_20210317_1651.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
5
2021-04-07T15:46:53.000Z
2021-09-18T16:55:00.000Z
# Generated by Django 2.2.18 on 2021-03-17 20:51 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('auth', '0011_update_pro...
46.954545
196
0.647628
227
2,066
5.722467
0.387665
0.059276
0.053888
0.084681
0.297152
0.297152
0.250962
0.121632
0.121632
0.121632
0
0.022556
0.227493
2,066
43
197
48.046512
0.791353
0.022265
0
0.432432
1
0
0.214073
0.037166
0
0
0
0
0
1
0
false
0
0.081081
0
0.162162
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
ae4a5e09ca90ef6e27e6657a6353a637c727117c
503
py
Python
gallery/models.py
reddevilcero/SchoolWeb
7adb0d6a82a803aab3e06ebedfcb022ab758c56e
[ "MIT" ]
null
null
null
gallery/models.py
reddevilcero/SchoolWeb
7adb0d6a82a803aab3e06ebedfcb022ab758c56e
[ "MIT" ]
null
null
null
gallery/models.py
reddevilcero/SchoolWeb
7adb0d6a82a803aab3e06ebedfcb022ab758c56e
[ "MIT" ]
null
null
null
from django.db import models from core.models import BaseModel from django.utils.translation import gettext as _ # Create your models here. class GalleryImage(BaseModel): name = models.CharField(_("Picture Name"), max_length=50) picture = models.ImageField(_("Image"), upload_to="img/gallery") def __str...
23.952381
68
0.683897
61
503
5.42623
0.639344
0.060423
0
0
0
0
0
0
0
0
0
0.005115
0.222664
503
20
69
25.15
0.841432
0.047714
0
0
0
0
0.115304
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0.076923
0.692308
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
ae4bc9775822ee02122d5d7d2a7681718e6aa716
4,622
py
Python
pyCWD/mesh.py
rdzotz/Coda-Analysis
c0567b7d7ebae60e56d6322284e27ee88a26a6cc
[ "Apache-2.0" ]
7
2019-07-02T08:58:25.000Z
2022-02-19T22:30:13.000Z
pyCWD/mesh.py
rdzotz/Coda-Analysis
c0567b7d7ebae60e56d6322284e27ee88a26a6cc
[ "Apache-2.0" ]
2
2021-06-08T21:23:01.000Z
2021-09-08T01:55:38.000Z
pyCWD/mesh.py
rdzotz/Coda-Analysis
c0567b7d7ebae60e56d6322284e27ee88a26a6cc
[ "Apache-2.0" ]
1
2019-07-30T08:40:05.000Z
2019-07-30T08:40:05.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jun 4 11:19:57 2018 @author: rwilson """ import pygmsh import meshio import numpy as np import pickle class utilities(): '''A collection of functions for interacting with the mesh object ''' def meshOjfromDisk(meshObjectPath='cly.Mesh')...
30.609272
98
0.553873
545
4,622
4.60367
0.324771
0.041451
0.033479
0.037864
0.231566
0.189717
0.138701
0.138701
0.112395
0.078916
0
0.012362
0.33492
4,622
150
99
30.813333
0.803839
0.499351
0
0.046512
0
0
0.039619
0
0
0
0
0.006667
0
1
0.209302
false
0
0.093023
0
0.395349
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
ae53bbdad44ff6ab62db04faecf0beab58f48bb0
976
py
Python
models/__init__.py
mihamerstan/lidar_ordered_points
ca0aca20cbb5c1434529d4722ee1125b095e37e1
[ "MIT" ]
1
2021-05-17T19:08:05.000Z
2021-05-17T19:08:05.000Z
models/__init__.py
mihamerstan/lidar_ordered_points
ca0aca20cbb5c1434529d4722ee1125b095e37e1
[ "MIT" ]
null
null
null
models/__init__.py
mihamerstan/lidar_ordered_points
ca0aca20cbb5c1434529d4722ee1125b095e37e1
[ "MIT" ]
null
null
null
import importlib import os import torch.nn as nn MODEL_REGISTRY = {} def build_model(args): return MODEL_REGISTRY[args.model].build_model(args) def build_model_gan(args): return MODEL_REGISTRY[args.modelG].build_model(args), MODEL_REGISTRY[args.modelD].build_model(args) def register_model(name): """D...
29.575758
103
0.694672
132
976
4.939394
0.393939
0.119632
0.08589
0.070552
0.082822
0
0
0
0
0
0
0.001267
0.191598
976
32
104
30.5
0.825095
0.099385
0
0
0
0
0.080183
0
0
0
0
0
0
1
0.190476
false
0
0.190476
0.095238
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ae56ca1c96bbdcb48a039821f0c9cc75f82f92d1
1,705
py
Python
adapter/acumos/setup.py
onap/dcaegen2-platform
9e930892d28fc4a3378fad8f942c9f91cffe4698
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
adapter/acumos/setup.py
onap/dcaegen2-platform
9e930892d28fc4a3378fad8f942c9f91cffe4698
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
adapter/acumos/setup.py
onap/dcaegen2-platform
9e930892d28fc4a3378fad8f942c9f91cffe4698
[ "Apache-2.0", "CC-BY-4.0" ]
1
2021-10-15T15:02:20.000Z
2021-10-15T15:02:20.000Z
# ============LICENSE_START==================================================== # org.onap.dcae # ============================================================================= # Copyright (c) 2019 AT&T Intellectual Property. All rights reserved. # ========================================================================...
43.717949
82
0.56305
182
1,705
5.225275
0.675824
0.063091
0.035752
0.033649
0
0
0
0
0
0
0
0.014237
0.134897
1,705
38
83
44.868421
0.630508
0.624047
0
0
0
0
0.450886
0.10628
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ae5c227fc4a58923cddbdeeab5958c93d7eb9783
4,404
py
Python
pycloud/pycloud/network/finder.py
SEI-AMS/pycloud
62764e9d2aae280e019306e3b151b7218bf82f4d
[ "MIT" ]
14
2015-08-20T11:54:56.000Z
2018-05-23T21:07:44.000Z
pycloud/pycloud/network/finder.py
SEI-TAS/pycloud
62764e9d2aae280e019306e3b151b7218bf82f4d
[ "MIT" ]
10
2015-10-17T07:33:54.000Z
2018-04-27T20:50:52.000Z
pycloud/pycloud/network/finder.py
SEI-AMS/pycloud
62764e9d2aae280e019306e3b151b7218bf82f4d
[ "MIT" ]
8
2016-03-31T07:04:26.000Z
2018-04-09T18:08:10.000Z
# KVM-based Discoverable Cloudlet (KD-Cloudlet) # Copyright (c) 2015 Carnegie Mellon University. # All Rights Reserved. # # THIS SOFTWARE IS PROVIDED "AS IS," WITH NO WARRANTIES WHATSOEVER. CARNEGIE MELLON UNIVERSITY EXPRESSLY DISCLAIMS TO THE FULLEST EXTENT PERMITTEDBY LAW ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIE...
46.357895
344
0.512943
404
4,404
5.527228
0.44802
0.042991
0.028661
0.039409
0.122705
0.054635
0.054635
0.054635
0.054635
0.054635
0
0.010817
0.160309
4,404
94
345
46.851064
0.593023
0.354223
0
0.114286
0
0
0.137805
0.012805
0
0
0
0
0
0
null
null
0
0.085714
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ae62993b32621b45191768fa4bd23bc000b6684b
765
py
Python
tools/build/v2/test/testing_primitives.py
mike-code/boost_1_38_0
7ff8b2069344ea6b0b757aa1f0778dfb8526df3c
[ "BSL-1.0" ]
130
2015-01-04T23:34:53.000Z
2022-02-09T19:22:35.000Z
tools/build/v2/test/testing_primitives.py
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
13
2015-01-12T19:30:52.000Z
2020-10-27T10:53:56.000Z
tools/build/v2/test/testing_primitives.py
boost-cmake/vintage
dcfb7da3177134eddaee6789d6f582259cb0d6ee
[ "BSL-1.0" ]
25
2015-01-15T16:33:54.000Z
2021-02-27T17:45:57.000Z
#!/usr/bin/python # Copyright 2002 Dave Abrahams # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) import BoostBuild import re def match_re(actual, expected): return re.match(expected, actual, re.DOTALL) != None t = ...
24.677419
82
0.746405
128
765
4.3125
0.507813
0.11413
0.217391
0.130435
0.072464
0
0
0
0
0
0
0.03207
0.103268
765
30
83
25.5
0.772595
0.313725
0
0
0
0
0.173077
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0.058824
0.235294
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae65cd87889e23e3fae7be4b55943867bc57d723
4,450
py
Python
message_creator/actions_pb2.py
jameshp/deviceadminserver
15d640a2c73c68251c73bb7780205050362a59ca
[ "BSD-3-Clause" ]
null
null
null
message_creator/actions_pb2.py
jameshp/deviceadminserver
15d640a2c73c68251c73bb7780205050362a59ca
[ "BSD-3-Clause" ]
null
null
null
message_creator/actions_pb2.py
jameshp/deviceadminserver
15d640a2c73c68251c73bb7780205050362a59ca
[ "BSD-3-Clause" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: actions.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database from google.prot...
35.887097
423
0.766292
569
4,450
5.660808
0.235501
0.093139
0.083825
0.092207
0.640795
0.538342
0.465383
0.404222
0.404222
0.359516
0
0.03252
0.115506
4,450
123
424
36.178862
0.785823
0.06764
0
0.574257
1
0.009901
0.226461
0.184693
0
0
0
0
0
1
0
false
0
0.049505
0
0.049505
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
ae6a588878f34b2c22afe138e21158fcadb9e96a
13,310
py
Python
main.py
mishok-jd/j2d
a6be3fe4776e26180d3b69fbd934658a220a729c
[ "MIT" ]
null
null
null
main.py
mishok-jd/j2d
a6be3fe4776e26180d3b69fbd934658a220a729c
[ "MIT" ]
null
null
null
main.py
mishok-jd/j2d
a6be3fe4776e26180d3b69fbd934658a220a729c
[ "MIT" ]
1
2020-11-27T17:14:28.000Z
2020-11-27T17:14:28.000Z
import json import os try: ok.mkdir("input/") ok.mkdir("output/") codename = input("Codename: ") except: codename = input("Codename: ") input_json = "input/" + codename + ".json" moves0_json = "input/" + codename + "_moves0.json" moves1_json = "input/" + codename + "_moves1.json" moves2_json ...
73.131868
1,957
0.684298
1,484
13,310
5.842992
0.141509
0.117633
0.037251
0.048437
0.595087
0.560143
0.44447
0.428324
0.428324
0.415523
0
0.03946
0.131781
13,310
181
1,958
73.535912
0.710886
0.020436
0
0.354651
0
0.034884
0.391064
0.287304
0
0
0
0
0
1
0.005814
false
0
0.011628
0.005814
0.017442
0.017442
0
0
0
null
0
0
0
0
0
0
0
0
0
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
1
ae70799fa0f9fe74a1812b8a4887741e56dc86e0
2,321
py
Python
class12pythoncbse-master/Practical3/studentrecordqueue.py
SubrataSarkar32/college3rdsem3035
5cb501d0bf3742029121076cb7a2affa97d2a13b
[ "Apache-2.0" ]
null
null
null
class12pythoncbse-master/Practical3/studentrecordqueue.py
SubrataSarkar32/college3rdsem3035
5cb501d0bf3742029121076cb7a2affa97d2a13b
[ "Apache-2.0" ]
null
null
null
class12pythoncbse-master/Practical3/studentrecordqueue.py
SubrataSarkar32/college3rdsem3035
5cb501d0bf3742029121076cb7a2affa97d2a13b
[ "Apache-2.0" ]
null
null
null
class Student: def __init__(self,name,classs,section,rollno): self.name=name self.classs=classs self.section=section self.rollno=rollno def __str__(self): string='Student Name:'+str(self.name)+'\nS\ tudent Class:'+str(self.classs)+'\nStudent Section:'+\ str(self.section)+...
28.654321
74
0.503662
276
2,321
4.177536
0.311594
0.041631
0.030356
0.038161
0.053773
0.053773
0.032958
0
0
0
0
0.017196
0.348557
2,321
80
75
29.0125
0.74537
0.027574
0
0.125
0
0
0.161116
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.208333
0
0
0
null
0
0
0
0
0
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
ae786bd12450dd063f6f602464b510b221737e3a
4,707
py
Python
python/032-LongestValidParentheses.py
vermouth1992/Leetcode
0d7dda52b12f9e01d88fc279243742cd8b4bcfd1
[ "MIT" ]
null
null
null
python/032-LongestValidParentheses.py
vermouth1992/Leetcode
0d7dda52b12f9e01d88fc279243742cd8b4bcfd1
[ "MIT" ]
null
null
null
python/032-LongestValidParentheses.py
vermouth1992/Leetcode
0d7dda52b12f9e01d88fc279243742cd8b4bcfd1
[ "MIT" ]
null
null
null
""" Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring. For "(()", the longest valid parentheses substring is "()", which has length = 2. Another example is ")()())", where the longest valid parentheses substring is "()()", which has len...
48.030612
149
0.297004
320
4,707
4.24375
0.2625
0.088365
0.087629
0.053019
0.340206
0.229013
0.202504
0.07511
0.07511
0
0
0.014431
0.249203
4,707
97
150
48.525773
0.369836
0.552369
0
0.358974
0
0
0.002022
0
0
0
0
0
0
1
0.025641
false
0
0
0
0.102564
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
ae7f04d9ab477f69116a3ce80b824f33c1a7063e
328
py
Python
training/src/training/logger.py
raman-nbg/model-serving
bf342f123bcb73ef95e25f3b76a1c8440616c548
[ "MIT" ]
null
null
null
training/src/training/logger.py
raman-nbg/model-serving
bf342f123bcb73ef95e25f3b76a1c8440616c548
[ "MIT" ]
null
null
null
training/src/training/logger.py
raman-nbg/model-serving
bf342f123bcb73ef95e25f3b76a1c8440616c548
[ "MIT" ]
null
null
null
import logging def get_logger(module_name: str): suffix = "" if module_name != "__main__": suffix = "." + module_name # logger = logging.getLogger("serving.model-server" + suffix) logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger() logger.setLevel("INFO") return...
21.866667
65
0.661585
36
328
5.805556
0.583333
0.143541
0.210526
0
0
0
0
0
0
0
0
0
0.213415
328
14
66
23.428571
0.810078
0.179878
0
0
0
0
0.048689
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae83476ec82b92ac8c2341b078503e871fe7be88
2,537
py
Python
tests/losses/test_neuralndcg.py
almajo/allRank
845c191ed00e112351437c8884cbe5573def9531
[ "Apache-2.0" ]
473
2019-10-10T13:51:24.000Z
2022-03-31T18:19:42.000Z
tests/losses/test_neuralndcg.py
almajo/allRank
845c191ed00e112351437c8884cbe5573def9531
[ "Apache-2.0" ]
26
2020-01-23T09:06:17.000Z
2022-03-04T23:08:13.000Z
tests/losses/test_neuralndcg.py
almajo/allRank
845c191ed00e112351437c8884cbe5573def9531
[ "Apache-2.0" ]
63
2019-10-14T18:12:27.000Z
2022-03-18T20:47:04.000Z
import math from functools import partial from pytest import approx from allrank.data.dataset_loading import PADDED_Y_VALUE from tests.losses.utils import neuralNDCG_wrap, ndcg_wrap test_cases = [{"stochastic": False, "transposed": False}, {"stochastic": True, "transposed": False}, {"sto...
26.705263
96
0.659834
414
2,537
3.806763
0.135266
0.022843
0.050761
0.063452
0.725888
0.719543
0.422589
0.398477
0.398477
0.366117
0
0.060158
0.200631
2,537
94
97
26.989362
0.716963
0
0
0.466667
0
0
0.031533
0
0
0
0
0
0.166667
1
0.166667
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae836f915c6ea75b75e1dd4e88a6780e2daae751
7,478
py
Python
src/repair/localization.py
jyi/fangelix
59abc49617c48f3bd2f5352ecdb30e28de777553
[ "MIT" ]
null
null
null
src/repair/localization.py
jyi/fangelix
59abc49617c48f3bd2f5352ecdb30e28de777553
[ "MIT" ]
null
null
null
src/repair/localization.py
jyi/fangelix
59abc49617c48f3bd2f5352ecdb30e28de777553
[ "MIT" ]
2
2021-11-09T15:18:35.000Z
2022-02-17T13:47:02.000Z
from math import sqrt, ceil from runtime import TraceItem from utils import LocationInfo as LI import logging logger = logging.getLogger(__name__) class NoNegativeTestException(Exception): pass def ochiai(executed_passing, executed_failing, total_passing, total_failing): if not total_failing > 0: ...
35.609524
95
0.575421
819
7,478
5.084249
0.17094
0.043228
0.020173
0.028818
0.315322
0.256964
0.232469
0.20317
0.184918
0.169549
0
0.007196
0.312383
7,478
209
96
35.779904
0.802606
0.057502
0
0.248366
0
0
0.098898
0.007156
0
0
0
0
0
1
0.045752
false
0.065359
0.026144
0
0.137255
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
ae94bc9e49034d8fa694ce01eec5e4f2423d75eb
498
py
Python
python_practice/python_tricks/chp3/args_kwargs/example_3_return_nothing.py
sokunmin/deep_learning_practices
49e1a08adbfcd2054adb1c08236d57405fad14d3
[ "Apache-2.0" ]
null
null
null
python_practice/python_tricks/chp3/args_kwargs/example_3_return_nothing.py
sokunmin/deep_learning_practices
49e1a08adbfcd2054adb1c08236d57405fad14d3
[ "Apache-2.0" ]
null
null
null
python_practice/python_tricks/chp3/args_kwargs/example_3_return_nothing.py
sokunmin/deep_learning_practices
49e1a08adbfcd2054adb1c08236d57405fad14d3
[ "Apache-2.0" ]
null
null
null
def foo(value): if value: return value else: return None def foo2(value): """Bare return statement implies `return None`""" if value: return value else: return def foo3(value): """Missing return statement implies `return None`""" if value: return v...
18.444444
56
0.542169
71
498
3.802817
0.267606
0.111111
0.144444
0.2
0.511111
0.511111
0.37037
0.37037
0.37037
0
0
0.064516
0.253012
498
27
57
18.444444
0.66129
0.180723
0
0.421053
0
0
0.090452
0
0
0
0
0
0
1
0.157895
false
0
0
0
0.421053
0.315789
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae988e05a228afc3be962d8fdc3ab9a53b2cca28
237
py
Python
primeiros-exercicios/lpc072.py
miguelsndc/PythonFirstLooks
1b4a1b4feaf3638fb4304ca0c42d332a64cab478
[ "MIT" ]
1
2020-10-30T12:57:38.000Z
2020-10-30T12:57:38.000Z
primeiros-exercicios/lpc072.py
miguelsndc/python
1b4a1b4feaf3638fb4304ca0c42d332a64cab478
[ "MIT" ]
null
null
null
primeiros-exercicios/lpc072.py
miguelsndc/python
1b4a1b4feaf3638fb4304ca0c42d332a64cab478
[ "MIT" ]
null
null
null
menor = 0 for c in range(0, 3): produto = float(input('Digite o preço dos Produtos: ')) menor = produto if produto < menor: menor = produto print(f'Você deve optar pelo produto de {menor}, pois ele é o mais barato.')
33.857143
76
0.64557
38
237
4.026316
0.736842
0.156863
0
0
0
0
0
0
0
0
0
0.016854
0.248945
237
7
76
33.857143
0.842697
0
0
0.285714
0
0
0.39916
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8816c2f0ce0b2f867fbaf64c76065ccc1b60ed82
1,537
py
Python
core/page/todo/todo.py
gangadhar-kadam/sapphite_lib
90cecbd53f781747d09d967ef5794fc8d77d3fe0
[ "MIT" ]
null
null
null
core/page/todo/todo.py
gangadhar-kadam/sapphite_lib
90cecbd53f781747d09d967ef5794fc8d77d3fe0
[ "MIT" ]
null
null
null
core/page/todo/todo.py
gangadhar-kadam/sapphite_lib
90cecbd53f781747d09d967ef5794fc8d77d3fe0
[ "MIT" ]
1
2018-10-26T01:06:38.000Z
2018-10-26T01:06:38.000Z
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. # MIT License. See license.txt from __future__ import unicode_literals import webnotes from webnotes.model.doc import Document @webnotes.whitelist() def get(arg=None): """get todo list""" return webnotes.conn.sql("""select name, owner, description, date, prio...
30.137255
71
0.724789
236
1,537
4.59322
0.309322
0.055351
0.070111
0.042435
0.046125
0
0
0
0
0
0
0.006772
0.135329
1,537
51
72
30.137255
0.808879
0.062459
0
0.131579
0
0
0.228571
0
0
0
0
0.019608
0
1
0.105263
false
0
0.131579
0
0.289474
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
88197322ec06974b3278ff7787446837042b6898
292
py
Python
scripts/neo4j-delete_all.py
t-umeno/find_udp_server
e917f277e69188ec4540813507a9973f24da3a75
[ "BSD-3-Clause" ]
null
null
null
scripts/neo4j-delete_all.py
t-umeno/find_udp_server
e917f277e69188ec4540813507a9973f24da3a75
[ "BSD-3-Clause" ]
null
null
null
scripts/neo4j-delete_all.py
t-umeno/find_udp_server
e917f277e69188ec4540813507a9973f24da3a75
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python from neo4j.v1 import GraphDatabase, basic_auth password = "test" driver = GraphDatabase.driver("bolt://localhost:7687", auth=basic_auth("neo4j", password)) session = driver.session() result = session.run("MATCH (n) OPTIONAL MATCH (n)-[r]-() DELETE n,r") session.close()
24.333333
90
0.719178
40
292
5.2
0.625
0.086538
0
0
0
0
0
0
0
0
0
0.02682
0.106164
292
11
91
26.545455
0.770115
0.054795
0
0
0
0
0.276364
0.076364
0
0
0
0
0
1
0
false
0.333333
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
881a8e8caadacbf6e282e0dbba0007bcc7fa0494
1,135
py
Python
exercicios/ex036.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
exercicios/ex036.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
exercicios/ex036.py
LucasLima337/CEV_Python_Exercicios
7959fd2977a26ffca6a9adb13067d4727dc433fe
[ "MIT" ]
null
null
null
# Aprovando Empréstimo import time n = str(input('\033[1;30mDigite seu nome completo: ')).strip().title() vc = float(input('Digite o valor da casa: R$')) s = float(input('Digite o seu salário: R$')) a = int(input('Digite por quantos anos irá pagar: ')) prest = vc / (a * 12) print('') print(f'Olá, {n.split()[0]} {n.spli...
35.46875
70
0.620264
190
1,135
3.684211
0.389474
0.077143
0.051429
0.057143
0.32
0.32
0.237143
0.117143
0.117143
0.117143
0
0.103734
0.150661
1,135
31
71
36.612903
0.622407
0.017621
0
0.233333
0
0
0.484277
0.087152
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.533333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
881e505477fae2ca0989928868131d0ee9cb86f9
511
py
Python
process/pkg/src/song_lyrics/util.py
edublancas/song-lyrics
0e5d41bd4bd3dc85b5409871e3ea08ea65bacb39
[ "MIT" ]
6
2018-04-25T21:16:10.000Z
2021-03-31T07:15:43.000Z
process/pkg/src/song_lyrics/util.py
edublancas/song-lyrics
0e5d41bd4bd3dc85b5409871e3ea08ea65bacb39
[ "MIT" ]
9
2018-04-25T21:06:57.000Z
2018-04-26T22:51:57.000Z
process/pkg/src/song_lyrics/util.py
edublancas/song-lyrics
0e5d41bd4bd3dc85b5409871e3ea08ea65bacb39
[ "MIT" ]
1
2018-05-28T23:28:47.000Z
2018-05-28T23:28:47.000Z
import os import yaml from pkg_resources import resource_filename def load_yaml_asset(path): """ Load a yaml located in the assets folder by specifying a relative path to the assets/ folder """ relative_path = os.path.join('assets', path) absolute_path = resource_filename('song_lyrics', relati...
22.217391
67
0.712329
72
511
4.847222
0.486111
0.103152
0.074499
0
0
0
0
0
0
0
0
0
0.209393
511
22
68
23.227273
0.863861
0.180039
0
0
0
0
0.072682
0
0
0
0
0
0
1
0.166667
false
0
0.25
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
0
0
0
1
0
0
1
88201c1929405255f5c5291437e80f70d16d9a51
2,539
py
Python
votakvot/resumable.py
allegro/votakvot
76338c4c957374da55eb9de8c7c8c5fe07b51f9c
[ "Apache-2.0" ]
2
2021-10-09T06:59:46.000Z
2021-11-22T09:53:54.000Z
votakvot/resumable.py
allegro/votakvot
76338c4c957374da55eb9de8c7c8c5fe07b51f9c
[ "Apache-2.0" ]
null
null
null
votakvot/resumable.py
allegro/votakvot
76338c4c957374da55eb9de8c7c8c5fe07b51f9c
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import abc import datetime import time from typing import Any, Dict, Optional, Union import votakvot class resumable_fn(abc.ABC): snapshot_each: Optional[int] = None snapshot_period: Union[datetime.timedelta, float, None] = None def __init__(self, *args, **kwargs): ...
24.892157
89
0.583301
282
2,539
4.975177
0.255319
0.085531
0.064148
0.021383
0.133999
0.068425
0
0
0
0
0
0.005196
0.317842
2,539
101
90
25.138614
0.80485
0.006696
0
0.173333
0
0
0
0
0
0
0
0
0
1
0.213333
false
0.013333
0.08
0.08
0.426667
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
88243f86c1f4c7f8c604365148e4b68dbbe3e64e
393
py
Python
uitwerkingen/2-2darrays.py
harcel/PyDataScienceIntroNL
8041b55203b941d8c0f189cdd19bdfd96420225c
[ "MIT" ]
null
null
null
uitwerkingen/2-2darrays.py
harcel/PyDataScienceIntroNL
8041b55203b941d8c0f189cdd19bdfd96420225c
[ "MIT" ]
null
null
null
uitwerkingen/2-2darrays.py
harcel/PyDataScienceIntroNL
8041b55203b941d8c0f189cdd19bdfd96420225c
[ "MIT" ]
null
null
null
arr = np.random.randint(0, 10, size=(5,3)) print(arr) arr_reshaped = arr.reshape((3,5)) print(arr_reshaped) print() print(arr.sum(axis=0)) print(arr_reshaped.sum(axis=1)) # Deze zijn niet hetzelfde. De arrays zijn dezelfde als je van links naar rechts van boven naar beneden leest. print() print(arr.transpose().sum(axi...
35.727273
142
0.740458
69
393
4.173913
0.594203
0.138889
0.111111
0
0
0
0
0
0
0
0
0.02907
0.124682
393
10
143
39.3
0.80814
0.437659
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.777778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
882de3749cc5a9b23c4069972da130961765f79e
2,151
py
Python
datasets/nmr_wine/__init__.py
ryuzakyl/data-bloodhound
ae0413e748e55a0d2dbae35bbe96a672f313a64b
[ "Apache-2.0" ]
3
2019-03-18T03:22:06.000Z
2021-04-06T07:53:51.000Z
datasets/nmr_wine/__init__.py
ryuzakyl/data-bloodhound
ae0413e748e55a0d2dbae35bbe96a672f313a64b
[ "Apache-2.0" ]
null
null
null
datasets/nmr_wine/__init__.py
ryuzakyl/data-bloodhound
ae0413e748e55a0d2dbae35bbe96a672f313a64b
[ "Apache-2.0" ]
2
2020-10-05T08:22:25.000Z
2020-10-05T08:24:02.000Z
#!/usr/bin/env # -*- coding: utf-8 -*- # Copyright (C) Victor M. Mendiola Lau - All Rights Reserved # Unauthorized copying of this file, via any medium is strictly prohibited # Proprietary and confidential # Written by Victor M. Mendiola Lau <ryuzakyl@gmail.com>, January 2017 import os import numpy as np import panda...
25.607143
79
0.610879
285
2,151
4.375439
0.42807
0.050521
0.026464
0.028869
0.035285
0.035285
0
0
0
0
0
0.014068
0.206881
2,151
83
80
25.915663
0.716882
0.447234
0
0
0
0
0.108444
0.041778
0
0
0
0.012048
0
1
0.037037
false
0
0.185185
0
0.259259
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
882fda314d681637bb02653784fe5c34f616a107
674
py
Python
run_game.py
hdaftary/Flappy-Birds
8a47401f64fee15502f2f9caec78e221ba02400a
[ "MIT" ]
null
null
null
run_game.py
hdaftary/Flappy-Birds
8a47401f64fee15502f2f9caec78e221ba02400a
[ "MIT" ]
null
null
null
run_game.py
hdaftary/Flappy-Birds
8a47401f64fee15502f2f9caec78e221ba02400a
[ "MIT" ]
null
null
null
import pygame import flappy from thread import callback import speech_recognition as sr import sys if __name__ == '__main__': if len(sys.argv) == 3 and sys.argv[2] == "False": r = sr.Recognizer() m = sr.Microphone() with m as source: r.adjust_for_ambient_noise(source) # we only...
32.095238
107
0.688427
96
674
4.65625
0.666667
0.03132
0
0
0
0
0
0
0
0
0
0.003846
0.228487
674
20
108
33.7
0.855769
0.255193
0
0
0
0
0.096579
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
88313936280fd8ed1292388e676387cb52d2050c
878
py
Python
aws_network_tap/tap.py
vectranetworks/AWS-Session-Mirroring-Tool
d3137e4b649d4d54b3023fc7c860b11c7dd535a4
[ "Apache-2.0" ]
3
2020-05-14T21:13:03.000Z
2021-06-14T20:45:12.000Z
aws_network_tap/tap.py
vectranetworks/AWS-Traffic-Mirroring-Session-Manager
d3137e4b649d4d54b3023fc7c860b11c7dd535a4
[ "Apache-2.0" ]
6
2020-01-14T23:20:13.000Z
2021-04-30T20:58:32.000Z
aws_network_tap/tap.py
vectranetworks/AWS-Session-Mirroring-Tool
d3137e4b649d4d54b3023fc7c860b11c7dd535a4
[ "Apache-2.0" ]
1
2020-02-19T16:31:27.000Z
2020-02-19T16:31:27.000Z
""" AWS Network Tapping Tool For installing AWS Session Mirroring on Eligible Nitro instances. Took takes a "tap everything" approach at the VPC level. Specific instances can be opted out with the blacklist tool. """ import logging from aws_network_tap.models.ec2_api_client import Ec2ApiClient, VPC_Props from aws_net...
33.769231
95
0.765376
125
878
5.136
0.52
0.054517
0.065421
0.079439
0.163551
0
0
0
0
0
0
0.005355
0.149203
878
25
96
35.12
0.854083
0.257403
0
0
0
0
0.121306
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1