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
f61d162134f520eaed2779c8b47fde1648352f14
954
py
Python
exerc_25.py
marcelocmedeiros/EstruturaDeRepeticao
23e917377e41083901a4ffbf3e0fda31e3a78982
[ "MIT" ]
null
null
null
exerc_25.py
marcelocmedeiros/EstruturaDeRepeticao
23e917377e41083901a4ffbf3e0fda31e3a78982
[ "MIT" ]
null
null
null
exerc_25.py
marcelocmedeiros/EstruturaDeRepeticao
23e917377e41083901a4ffbf3e0fda31e3a78982
[ "MIT" ]
null
null
null
# Marcelo Campos de Medeiros # ADS UNIFIP # Estrutura de Repetição # 25/03/2020 ''' 25 -Faça um programa que peça para n pessoas a sua idade, ao final o programa devera verificar se a média de idade da turma varia entre 0 e 25,26 e 60 e maior que 60; e então, dizer se a turma é jovem, adulta ou idosa, conforme a média...
27.257143
78
0.659329
172
954
3.662791
0.453488
0.047619
0.033333
0.057143
0.301587
0.211111
0.211111
0.211111
0.168254
0.168254
0
0.050599
0.212788
954
34
79
28.058824
0.786951
0.360587
0
0
0
0
0.477234
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f61dc2bab26e07654cfc84f3ad968a59e5a75412
4,089
py
Python
appengine/main.py
luiscielak/bl.ocks.org
c971a001fa9c1c65a64b641937b88d078376e77d
[ "BSD-3-Clause" ]
6
2016-09-05T17:22:01.000Z
2021-11-16T13:44:07.000Z
appengine/main.py
luiscielak/bl.ocks.org
c971a001fa9c1c65a64b641937b88d078376e77d
[ "BSD-3-Clause" ]
null
null
null
appengine/main.py
luiscielak/bl.ocks.org
c971a001fa9c1c65a64b641937b88d078376e77d
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
32.452381
107
0.63414
569
4,089
4.530756
0.340949
0.055857
0.040729
0.054306
0.192397
0.138092
0.089992
0.045772
0.045772
0.045772
0
0.007162
0.180484
4,089
125
108
32.712
0.762161
0.158474
0
0.066667
0
0.044444
0.361777
0.037697
0
0
0
0
0
1
0.044444
false
0
0.133333
0
0.211111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f61e9e34b58ff2774a550e28faa9fff8e5f174d1
8,658
py
Python
S4/S4 Library/simulation/bucks/bucks_perk.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/simulation/bucks/bucks_perk.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/simulation/bucks/bucks_perk.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
from bucks.bucks_enums import BucksType from buffs.tunable import TunableBuffReference from event_testing.tests import TunableTestSetWithTooltip from interactions.utils.tunable_icon import TunableIconFactory from rewards.reward_tuning import TunableSpecificReward from sims4.localization import TunableLocalizedStringFac...
288.6
6,720
0.688496
1,107
8,658
5.301716
0.222222
0.063384
0.03544
0.039871
0.357642
0.336344
0.309252
0.297666
0.249105
0.225933
0
0.003491
0.239085
8,658
29
6,721
298.551724
0.887371
0
0
0
0
0.6
0.575768
0.013745
0
0
0
0
0
1
0.04
false
0.04
0.52
0
0.84
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
f61ea36a80ff949ca3af1089782d87beac3f347c
387
py
Python
ml_algorithms/linear_model/__init__.py
f4str/neural-networks-sandbox
d771cf8f62fe33c1fcab614ad250af6d0ef30a23
[ "MIT" ]
null
null
null
ml_algorithms/linear_model/__init__.py
f4str/neural-networks-sandbox
d771cf8f62fe33c1fcab614ad250af6d0ef30a23
[ "MIT" ]
8
2021-06-30T03:36:44.000Z
2021-09-28T23:11:14.000Z
ml_algorithms/linear_model/__init__.py
f4str/neural-networks-sandbox
d771cf8f62fe33c1fcab614ad250af6d0ef30a23
[ "MIT" ]
1
2021-04-04T23:09:31.000Z
2021-04-04T23:09:31.000Z
from .elasticnet_regression import ElasticNetRegression from .lasso_regression import LassoRegression from .linear_regression import LinearRegression from .logistic_regression import LogisticRegression from .ridge_regression import RidgeRegression __all__ = [ 'ElasticNetRegression', 'LassoRegression', 'Lin...
27.642857
55
0.81137
31
387
9.83871
0.451613
0.262295
0
0
0
0
0
0
0
0
0
0
0.129199
387
13
56
29.769231
0.905045
0
0
0
0
0
0.217054
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
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
1
0
0
0
0
2
f61f02c078332b8fc380bf074e7157b43f51dde5
831
py
Python
junk.py
blue-army/azuretools-docker
255a17b0adf25ccaf9797079fd59c98b3fc48095
[ "MIT" ]
null
null
null
junk.py
blue-army/azuretools-docker
255a17b0adf25ccaf9797079fd59c98b3fc48095
[ "MIT" ]
1
2021-06-01T22:07:59.000Z
2021-06-01T22:07:59.000Z
junk.py
blue-army/azuretools-docker
255a17b0adf25ccaf9797079fd59c98b3fc48095
[ "MIT" ]
null
null
null
import os, uuid, sys from azure.storage.blob import BlockBlobService, PublicAccess def run_sample(): try: # Create the BlockBlockService that is used to call the Blob service for the storage account block_blob_service = BlockBlobService(account_name='planck', account_key='dXskxcS8enXEWXbk2K4dAfh5k...
36.130435
172
0.700361
94
831
5.989362
0.553191
0.058615
0.056838
0.067496
0
0
0
0
0
0
0
0.020155
0.223827
831
23
173
36.130435
0.852713
0.216607
0
0
0
0
0.248841
0.136012
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.214286
0.214286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f621c4152cb5134441f2e29cffa3dab4475d0a8b
2,078
py
Python
examples/compare_methods_kld_air_quality.py
hsivan/automon
222b17651533bdb2abce7de36a80156ab7b9cc21
[ "BSD-3-Clause" ]
1
2022-02-25T17:50:32.000Z
2022-02-25T17:50:32.000Z
examples/compare_methods_kld_air_quality.py
hsivan/automon
222b17651533bdb2abce7de36a80156ab7b9cc21
[ "BSD-3-Clause" ]
null
null
null
examples/compare_methods_kld_air_quality.py
hsivan/automon
222b17651533bdb2abce7de36a80156ab7b9cc21
[ "BSD-3-Clause" ]
1
2022-03-12T08:12:37.000Z
2022-03-12T08:12:37.000Z
from automon import AutomonNode, AutomonCoordinator, RlvNode, RlvCoordinator from test_utils.functions_to_monitor import func_kld from test_utils.tune_neighborhood_size import tune_neighborhood_size from test_utils.data_generator import DataGeneratorKldAirQuality from test_utils.test_utils import start_test, end_test, ...
53.282051
199
0.701155
250
2,078
5.428
0.316
0.046426
0.05748
0.048637
0.168018
0.138541
0.138541
0.138541
0
0
0
0.01231
0.179018
2,078
38
200
54.684211
0.783118
0
0
0.142857
0
0
0.149832
0.096521
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6224d3a2801a7df8d62a2a94a132fbef822cef0
902
py
Python
test/test_default_not_tight.py
ttesileanu/pydove
35fd2cd36c55d949d7d76add8ce026851e8c7dd1
[ "MIT" ]
6
2021-03-28T21:13:21.000Z
2022-03-25T15:42:22.000Z
test/test_default_not_tight.py
ttesileanu/pygrutils
35fd2cd36c55d949d7d76add8ce026851e8c7dd1
[ "MIT" ]
1
2021-03-30T22:24:51.000Z
2021-04-01T19:20:23.000Z
test/test_default_not_tight.py
ttesileanu/pygrutils
35fd2cd36c55d949d7d76add8ce026851e8c7dd1
[ "MIT" ]
null
null
null
# --- # jupyter: # jupytext: # formats: ipynb,py:percent # text_representation: # extension: .py # format_name: percent # format_version: '1.3' # jupytext_version: 1.4.2 # kernelspec: # display_name: pydove # language: python # name: pydove # --- # %% [markdown] # # Test...
20.5
82
0.575388
114
902
4.464912
0.596491
0.015717
0.074656
0.027505
0.031434
0
0
0
0
0
0
0.033898
0.280488
902
43
83
20.976744
0.750385
0.395787
0
0.333333
0
0
0.281071
0.049713
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
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
f622c63183c5ab98481217bec0358ab5279f4cbd
643
py
Python
beecrowd-1007.py
jessicabessaoliveira/Python
c4732f5e9528a40721b7c16364e6310e7ed8d490
[ "MIT" ]
null
null
null
beecrowd-1007.py
jessicabessaoliveira/Python
c4732f5e9528a40721b7c16364e6310e7ed8d490
[ "MIT" ]
null
null
null
beecrowd-1007.py
jessicabessaoliveira/Python
c4732f5e9528a40721b7c16364e6310e7ed8d490
[ "MIT" ]
null
null
null
# https://www.beecrowd.com.br/judge/pt/problems/view/1007 ''' Leia quatro valores inteiros A, B, C e D. A seguir, calcule e mostre a diferença do produto de A e B pelo produto de C e D segundo a fórmula: DIFERENCA = (A * B - C * D). Entrada O arquivo de entrada contém 4 valores inteiros. Saída Imprima a mensagem DIF...
27.956522
170
0.7014
109
643
4.137615
0.577982
0.070953
0.019956
0.053215
0.05765
0
0
0
0
0
0
0.013109
0.169518
643
22
171
29.227273
0.831461
0.66874
0
0
0
0
0.10219
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f62329758cd5399f4ed0ac810b952ed937df5568
15,450
py
Python
earthquake/generator.py
viktorsapozhok/earthquake-prediction
aca49d2c7e25deb385f98ef030c904ebae96135e
[ "MIT" ]
8
2019-06-20T13:31:42.000Z
2020-05-01T21:53:20.000Z
earthquake/generator.py
viktorsapozhok/earthquake-prediction
aca49d2c7e25deb385f98ef030c904ebae96135e
[ "MIT" ]
null
null
null
earthquake/generator.py
viktorsapozhok/earthquake-prediction
aca49d2c7e25deb385f98ef030c904ebae96135e
[ "MIT" ]
1
2019-06-05T19:15:14.000Z
2019-06-05T19:15:14.000Z
import argparse from itertools import product import warnings from joblib import Parallel, delayed import librosa import numpy as np import pandas as pd from scipy import signal, stats from sklearn.linear_model import LinearRegression from tqdm import tqdm from tsfresh.feature_extraction import feature_calculators fr...
36.438679
96
0.569968
2,021
15,450
4.095992
0.180604
0.11295
0.057985
0.015221
0.376419
0.282194
0.202464
0.133366
0.110292
0.087461
0
0.031812
0.302136
15,450
423
97
36.524823
0.735949
0.065566
0
0.084967
0
0
0.11877
0.057043
0
0
0
0
0
1
0.03268
false
0
0.039216
0
0.094771
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f623afc62a37f314f4ef2755fd09527fe4c169f9
101
py
Python
sd/VBx/__init__.py
DanBerrebbi/AISHELL-4
75ea24e547b671eae05aac365e32b3cd09bb3b3c
[ "Apache-2.0" ]
77
2021-06-08T11:16:53.000Z
2022-03-31T03:06:03.000Z
sd/VBx/__init__.py
DanBerrebbi/AISHELL-4
75ea24e547b671eae05aac365e32b3cd09bb3b3c
[ "Apache-2.0" ]
5
2021-07-19T09:36:31.000Z
2022-01-21T13:27:34.000Z
sd/VBx/__init__.py
DanBerrebbi/AISHELL-4
75ea24e547b671eae05aac365e32b3cd09bb3b3c
[ "Apache-2.0" ]
15
2021-07-02T03:02:29.000Z
2022-01-16T04:44:17.000Z
# Copyright (C) 2018 Phonexia # Author: Jan Profant <jan.profant@phonexia.com> # All Rights Reserved
25.25
48
0.752475
14
101
5.428571
0.785714
0.263158
0
0
0
0
0
0
0
0
0
0.045977
0.138614
101
3
49
33.666667
0.827586
0.930693
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
f62407c57d381ccdc8ffc3bcd761bf3a8e917443
378
py
Python
criminals/migrations/0003_auto_20210219_1552.py
Three-Dev-Musketeers/Mumbai_Police
293fbc1d81db459c23649c9c6b1eef8c38da1939
[ "MIT" ]
5
2021-02-19T20:37:35.000Z
2021-12-19T06:41:50.000Z
criminals/migrations/0003_auto_20210219_1552.py
Divesh2201/Mumbai_Police
dfabf8494de2c790178541ee20d37d3002ca12af
[ "MIT" ]
1
2021-10-04T17:37:51.000Z
2021-10-05T10:50:36.000Z
criminals/migrations/0003_auto_20210219_1552.py
Divesh2201/Mumbai_Police
dfabf8494de2c790178541ee20d37d3002ca12af
[ "MIT" ]
4
2021-03-05T05:44:20.000Z
2021-04-25T17:23:16.000Z
# Generated by Django 3.1.6 on 2021-02-19 10:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('criminals', '0002_criminalsinfo_image'), ] operations = [ migrations.RenameField( model_name='criminalsinfo', old_name='full...
19.894737
50
0.600529
38
378
5.842105
0.815789
0
0
0
0
0
0
0
0
0
0
0.070896
0.291005
378
18
51
21
0.757463
0.119048
0
0
1
0
0.190332
0.072508
0
0
0
0
0
1
0
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
f624a3b08dbe23f4cc9dd7e3eb52a25e697add1f
13,281
py
Python
SeenAPI.py
dxmahata/pySeen
5cf9dbd33e4fce66de7d27af5c2b29d148c6359e
[ "Apache-2.0" ]
1
2016-06-07T14:22:12.000Z
2016-06-07T14:22:12.000Z
SeenAPI.py
dxmahata/pySeen
5cf9dbd33e4fce66de7d27af5c2b29d148c6359e
[ "Apache-2.0" ]
null
null
null
SeenAPI.py
dxmahata/pySeen
5cf9dbd33e4fce66de7d27af5c2b29d148c6359e
[ "Apache-2.0" ]
null
null
null
''' Created on Dec 10, 2014 @author: Dxmahata ''' __author__ = "Debanjan Mahata" import requests import sys import json API_REQUEST_COUNT = 0 #Base Url for calling Seen API BASE_URL = "http://api.seen.co/v0.1" #Setting up the endpoints ENDPOINTS = {} #setting up events endpoint ENDPOINTS["events"] = {} #setting ...
33.622785
410
0.649575
1,790
13,281
4.743575
0.196089
0.033918
0.040631
0.025439
0.494053
0.487575
0.480744
0.480744
0.460959
0.460959
0
0.018223
0.239741
13,281
394
411
33.708122
0.82272
0.036067
0
0.702564
0
0.020513
0.190686
0.003078
0
0
0
0
0
0
null
null
0
0.015385
null
null
0.148718
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
f625073f4f20ce3c62fee8004fceed128eacec8d
1,981
py
Python
losses/test_ssim.py
sunshinnnn/DSMnet
eed7a4de12f93cd625e1e68758aa4c3193a60d28
[ "Apache-2.0" ]
31
2018-08-14T04:05:41.000Z
2022-02-07T06:23:22.000Z
losses/test_ssim.py
sunshinnnn/DSMnet
eed7a4de12f93cd625e1e68758aa4c3193a60d28
[ "Apache-2.0" ]
3
2019-04-08T23:25:03.000Z
2020-12-09T20:05:38.000Z
losses/test_ssim.py
sunshinnnn/DSMnet
eed7a4de12f93cd625e1e68758aa4c3193a60d28
[ "Apache-2.0" ]
8
2018-08-14T04:05:44.000Z
2021-03-16T16:10:57.000Z
import sys sys.path.append("../") import torch import matplotlib.pyplot as plt from util.util import to_tensor, imsplot_tensor from util.imwrap import imwrap_BCHW # as imwrap from dataloader.imagerw import load_image, load_disp #, save_image from SSIM import SSIM def implot(im1, im2, im3, im4, im5, im6, im7, im8): ...
38.843137
74
0.638062
325
1,981
3.806154
0.298462
0.05093
0.077607
0.058205
0.383185
0.247373
0.247373
0.247373
0.203719
0.203719
0
0.092212
0.189803
1,981
50
75
39.62
0.678505
0.277133
0
0
0
0
0.048557
0.023927
0
0
0
0
0
0
null
null
0
0.179487
null
null
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f6262ab64348d90863c6a1288397d28b818c68b1
6,611
py
Python
main.py
haoyfan/SemiTime
9604900bd5d67513d128d33d395bf78e5186b467
[ "MIT" ]
14
2020-10-28T11:29:43.000Z
2022-03-31T02:20:27.000Z
main.py
haoyfan/SemiTime
9604900bd5d67513d128d33d395bf78e5186b467
[ "MIT" ]
1
2022-03-31T08:16:35.000Z
2022-03-31T08:16:35.000Z
main.py
haoyfan/SemiTime
9604900bd5d67513d128d33d395bf78e5186b467
[ "MIT" ]
1
2021-06-21T16:30:43.000Z
2021-06-21T16:30:43.000Z
# -*- coding: utf-8 -*- import datetime from optim.pretrain import * import argparse import torch from optim.train import supervised_train def parse_option(): parser = argparse.ArgumentParser('argument for training') parser.add_argument('--save_freq', type=int, default=200, help='save...
36.932961
122
0.588262
821
6,611
4.501827
0.218027
0.046266
0.087392
0.00974
0.322511
0.225379
0.225379
0.176407
0.147457
0.118236
0
0.017795
0.260475
6,611
178
123
37.140449
0.738188
0.018152
0
0.123077
0
0
0.175109
0.048322
0
0
0
0
0
1
0.007692
false
0
0.053846
0
0.069231
0.184615
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6294efecd7299adfde8c96549534a1b8251ef79
610
py
Python
dash_app/config.py
pykcel/myportfolio
958ffe6a8ab541007f7182e7ff5c86931a0c0ccd
[ "MIT" ]
null
null
null
dash_app/config.py
pykcel/myportfolio
958ffe6a8ab541007f7182e7ff5c86931a0c0ccd
[ "MIT" ]
1
2021-04-12T11:25:42.000Z
2021-04-12T15:52:43.000Z
dash_app/config.py
pykcel/myportfolio
958ffe6a8ab541007f7182e7ff5c86931a0c0ccd
[ "MIT" ]
null
null
null
import os basedir = os.path.abspath(os.path.dirname(__file__)) DATA_PATH = os.path.join(os.path.dirname(basedir), "data") DEGIRO_PATH = os.path.join(os.path.dirname(basedir), "degiro_creds.json") EXCHANGE_MAPPING_PATH = os.path.join(DATA_PATH, "raw/exchange_symbol_map.json") # Path to DB with SQLAlchemy syntax: # Refe...
35.882353
80
0.777049
92
610
4.956522
0.576087
0.092105
0.085526
0.092105
0.149123
0.149123
0.149123
0.149123
0
0
0
0.003552
0.077049
610
16
81
38.125
0.806394
0.193443
0
0
0
0
0.359343
0.166324
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f629e22842baa9b9e544f6bc70c6cffc9be541af
57
py
Python
groups/__init__.py
ThomasJunk/ToDo
222a94c7d9e95f42333fbab303243a1b6b8d6810
[ "MIT" ]
null
null
null
groups/__init__.py
ThomasJunk/ToDo
222a94c7d9e95f42333fbab303243a1b6b8d6810
[ "MIT" ]
2
2021-07-17T14:51:10.000Z
2021-07-17T14:51:11.000Z
groups/__init__.py
ThomasJunk/ToDo
222a94c7d9e95f42333fbab303243a1b6b8d6810
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT default_groups = ["user"]
19
30
0.736842
7
57
5.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
57
2
31
28.5
0.803922
0.491228
0
0
0
0
0.148148
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f62b5eeb8c988346be283fc9dfbe7ef972666e1e
713
py
Python
src/controllers/out.py
marijadebe/lab
b3b213116b25fc89db374f6e61a2513508d00934
[ "MIT" ]
null
null
null
src/controllers/out.py
marijadebe/lab
b3b213116b25fc89db374f6e61a2513508d00934
[ "MIT" ]
null
null
null
src/controllers/out.py
marijadebe/lab
b3b213116b25fc89db374f6e61a2513508d00934
[ "MIT" ]
null
null
null
import sys import re from models.types import Types def out(treechildren, variables): print("") for j in range(len(treechildren.children)): if treechildren.getChild(j).getToken().getType() == Types.STRING: sys.stdout.write(treechildren.getChild(j).getToken().getValue()) elif treech...
44.5625
87
0.653576
84
713
5.547619
0.428571
0.257511
0.270386
0.373391
0.519313
0.439914
0.351931
0.351931
0.351931
0.351931
0
0.006861
0.182328
713
16
88
44.5625
0.792453
0
0
0
0
0
0.008403
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.285714
0.071429
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f62f27041be15aaaced95b59a1845cdded1bc93a
307
py
Python
src/the_tale/the_tale/game/emissaries/management/commands/emissaries_remove_orphan_effects.py
Alacrate/the-tale
43b211f3a99e93964e95abc20a8ed649a205ffcf
[ "BSD-3-Clause" ]
85
2017-11-21T12:22:02.000Z
2022-03-27T23:07:17.000Z
src/the_tale/the_tale/game/emissaries/management/commands/emissaries_remove_orphan_effects.py
Alacrate/the-tale
43b211f3a99e93964e95abc20a8ed649a205ffcf
[ "BSD-3-Clause" ]
545
2017-11-04T14:15:04.000Z
2022-03-27T14:19:27.000Z
src/the_tale/the_tale/game/emissaries/management/commands/emissaries_remove_orphan_effects.py
Alacrate/the-tale
43b211f3a99e93964e95abc20a8ed649a205ffcf
[ "BSD-3-Clause" ]
45
2017-11-11T12:36:30.000Z
2022-02-25T06:10:44.000Z
import smart_imports smart_imports.all() class Command(utilities_base.Command): help = 'Search orphan effects' LOCKS = ['game_commands'] def _handle(self, *args, **options): self.logger.info('remove orphan effects') logic.remove_orphan_event_effects(logger=self.logger)
17.055556
61
0.700326
37
307
5.594595
0.675676
0.115942
0
0
0
0
0
0
0
0
0
0
0.188925
307
17
62
18.058824
0.831325
0
0
0
0
0
0.179739
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
f6306e5dbd5f299747a7bcacf37b900f61ec3359
2,731
py
Python
boundingbox/distances.py
nickhalmagyi/boundingbox
76aae366171b64ed938aa22912e0c9684fecd351
[ "MIT" ]
1
2019-05-10T13:07:40.000Z
2019-05-10T13:07:40.000Z
boundingbox/distances.py
nickhalmagyi/BoundingBox
76aae366171b64ed938aa22912e0c9684fecd351
[ "MIT" ]
null
null
null
boundingbox/distances.py
nickhalmagyi/BoundingBox
76aae366171b64ed938aa22912e0c9684fecd351
[ "MIT" ]
null
null
null
from boundingbox.boundingbox import BoundingBox from haversine import haversine import numpy as np import time from importlib import reload import boundingbox.validations; reload(boundingbox.validations) from boundingbox.validations.numbers import validate_strictly_positive_integer, validate_positive_number def get_...
42.671875
119
0.737459
346
2,731
5.601156
0.263006
0.069659
0.057792
0.041796
0.379773
0.272446
0.272446
0.272446
0.194014
0.158927
0
0.004971
0.189674
2,731
63
120
43.349206
0.870764
0.220066
0
0.222222
0
0
0.025666
0
0
0
0
0
0
1
0.083333
false
0
0.194444
0
0.361111
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f630cd0ac8ff9fcf66251d9af12794677c609746
709
py
Python
apis/betterself/v1/constants.py
jeffshek/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
98
2017-07-29T14:26:36.000Z
2022-02-28T04:10:15.000Z
apis/betterself/v1/constants.py
jeffshek/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
1,483
2017-05-30T00:05:56.000Z
2022-03-31T12:37:06.000Z
apis/betterself/v1/constants.py
lawrendran/betterself
51468253fc31373eb96e0e82189b9413f3d76ff5
[ "MIT" ]
13
2017-11-08T00:02:35.000Z
2022-02-28T04:10:32.000Z
from events.models import SupplementLog from supplements.models import IngredientComposition, Supplement, Ingredient, Measurement from vendors.models import Vendor VALID_REST_RESOURCES = [ SupplementLog, Supplement, IngredientComposition, Ingredient, Measurement, Vendor ] # a lot of frontend (...
33.761905
119
0.782793
93
709
5.903226
0.677419
0.065574
0
0
0
0
0
0
0
0
0
0
0.169252
709
20
120
35.45
0.932088
0.440056
0
0
0
0
0.053435
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f630fb65819047b6f622503fb05a79444a7a296e
4,538
py
Python
Data/DataExploitation.py
Someone-42/BonapioSQL
1d059ed1796cfc33f1a580c6320b5e569db8cb5d
[ "MIT" ]
null
null
null
Data/DataExploitation.py
Someone-42/BonapioSQL
1d059ed1796cfc33f1a580c6320b5e569db8cb5d
[ "MIT" ]
1
2021-12-19T16:49:46.000Z
2021-12-19T16:49:58.000Z
Data/DataExploitation.py
Someone-42/BonapioSQL
1d059ed1796cfc33f1a580c6320b5e569db8cb5d
[ "MIT" ]
null
null
null
import os _NamePath = "Data/noms2008nat_text.txt" _SurnameGirlsPath = "Data/prenoms_donnees_filles.csv" _SurnameBoysPath = "Data/prenoms_donnees_garcons.csv" _FreqPathPrenom = "Data/freq_prenoms.csv" _FreqPathNom = "Data/freq_noms.csv" def _get_first_name_freq(file_name: str, d: dict) -> int: """ Modifies the dic...
41.254545
132
0.659982
613
4,538
4.628059
0.239804
0.034896
0.021149
0.026789
0.196687
0.070497
0.052168
0.031019
0.031019
0
0
0.010718
0.239312
4,538
109
133
41.633028
0.811124
0.161084
0
0.095238
0
0
0.132626
0.028912
0
0
0
0
0.02381
1
0.083333
false
0
0.011905
0
0.142857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6323866975c2773aa564a86869863a47d476760
1,126
py
Python
backend/moves/signals.py
mnieber/lindyscience
468160aa6da42f45d8c37a2141a077a48410f81d
[ "MIT" ]
null
null
null
backend/moves/signals.py
mnieber/lindyscience
468160aa6da42f45d8c37a2141a077a48410f81d
[ "MIT" ]
21
2020-02-11T23:50:05.000Z
2022-02-27T17:44:29.000Z
backend/moves/signals.py
mnieber/lindyscience
468160aa6da42f45d8c37a2141a077a48410f81d
[ "MIT" ]
null
null
null
from django.dispatch import receiver from django_rtk.signals import account_activated from moves import models from profiles.models import Profile, ProfileToMoveList @receiver(account_activated) def create_profile_on_activation(sender, user, request, **kwargs): trash = models.MoveList( role="trash", ...
23.458333
84
0.60302
122
1,126
5.45082
0.401639
0.054135
0.081203
0.07218
0.099248
0.099248
0
0
0
0
0
0.003667
0.273535
1,126
47
85
23.957447
0.809291
0
0
0.2
0
0
0.047957
0
0
0
0
0
0
1
0.025
false
0
0.1
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6323adb71601500b2b7dcfcad40e64e877063c6
431
py
Python
First_Flask_Platform/app/views.py
neuJump/COMP30670-Assignment2-Flask
770b9fa0f18f7d0d4ea7a8fabe5ac5817c72dc2d
[ "MIT" ]
null
null
null
First_Flask_Platform/app/views.py
neuJump/COMP30670-Assignment2-Flask
770b9fa0f18f7d0d4ea7a8fabe5ac5817c72dc2d
[ "MIT" ]
null
null
null
First_Flask_Platform/app/views.py
neuJump/COMP30670-Assignment2-Flask
770b9fa0f18f7d0d4ea7a8fabe5ac5817c72dc2d
[ "MIT" ]
null
null
null
from flask import render_template from app import app import SystemInfo.main @app.route('/') def index(): sysInfo = SystemInfo.main.main() returnDict = {} returnDict['title'] = 'Assignment 2: Flask & Systeminfo' returnDict['heading'] = 'COMP30670' returnDict['subHeading'] = 'Assignment 2:...
33.153846
66
0.675174
45
431
6.422222
0.488889
0.096886
0.110727
0.179931
0.249135
0
0
0
0
0
0
0.020057
0.190255
431
13
67
33.153846
0.808023
0
0
0
0
0
0.264286
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.416667
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
f633bface7b821abb8c0114dbe26ac4f098225a4
535
py
Python
python/plugin_unet/dataset.py
serjik85kg/UnetV2-pytorch-segmentation
c53598d00aeb0c79cb9dd52b6ab3b4976d127f21
[ "MIT" ]
null
null
null
python/plugin_unet/dataset.py
serjik85kg/UnetV2-pytorch-segmentation
c53598d00aeb0c79cb9dd52b6ab3b4976d127f21
[ "MIT" ]
null
null
null
python/plugin_unet/dataset.py
serjik85kg/UnetV2-pytorch-segmentation
c53598d00aeb0c79cb9dd52b6ab3b4976d127f21
[ "MIT" ]
null
null
null
# coding: utf-8 import numpy as np from torchvision.transforms import ToTensor, Normalize, Compose # from sd_lib.nn.dataset import SlyDataset input_image_normalizer = Compose([ ToTensor(), Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]), ]) # class UnetV2Dataset(SlyDataset): # def _get...
28.157895
86
0.699065
79
535
4.506329
0.56962
0.067416
0.109551
0.089888
0
0
0
0
0
0
0
0.061086
0.173832
535
18
87
29.722222
0.744344
0.575701
0
0
0
0
0
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
f6347a3ec7983daa3f16a31ca1dbd8d5e0049877
5,131
py
Python
Assets/Python/Victories.py
dguenms/Dawn-of-Civilization
1c4f510af97a869637cddb4c0859759158cea5ce
[ "MIT" ]
93
2015-11-20T04:13:36.000Z
2022-03-24T00:03:08.000Z
Assets/Python/Victories.py
dguenms/Dawn-of-Civilization
1c4f510af97a869637cddb4c0859759158cea5ce
[ "MIT" ]
206
2015-11-09T00:27:15.000Z
2021-12-04T19:05:18.000Z
Assets/Python/Victories.py
dguenms/Dawn-of-Civilization
1c4f510af97a869637cddb4c0859759158cea5ce
[ "MIT" ]
117
2015-11-08T02:43:46.000Z
2022-02-12T06:29:00.000Z
from Core import * from StoredData import data from Events import handler ### SCENARIO SETUP ### lLostIn1700AD = [iChina, iIndia, iTamils, iKorea, iVikings, iTurks, iSpain, iHolyRome, iPoland, iPortugal, iMughals, iOttomans, iThailand] lWonIn1700AD = [(iIran, 0), (iJapan, 0), (iFrance, 0), (iCongo, 0), (iNetherland...
27.586022
138
0.764958
519
5,131
7.55106
0.308285
0.05333
0.050523
0.016586
0.193672
0.187803
0.142894
0.127073
0.071447
0.038785
0
0.008473
0.125901
5,131
186
139
27.586022
0.865329
0.022413
0
0.142857
0
0
0.020068
0.009833
0
0
0
0
0
1
0.159664
false
0.008403
0.05042
0.016807
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f634d3bb4f093f386bc4f87d452b8f879ce45cb6
8,015
py
Python
src/cpePaser/day_extract.py
MAE-M/PotentiallyInactiveCpeAnalysisTool
58f897fb45437ff72a6db4d490f364061d779c50
[ "Apache-2.0" ]
null
null
null
src/cpePaser/day_extract.py
MAE-M/PotentiallyInactiveCpeAnalysisTool
58f897fb45437ff72a6db4d490f364061d779c50
[ "Apache-2.0" ]
null
null
null
src/cpePaser/day_extract.py
MAE-M/PotentiallyInactiveCpeAnalysisTool
58f897fb45437ff72a6db4d490f364061d779c50
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 Huawei Technologies Co., Ltd. # foss@huawei.com # # 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 requi...
37.629108
106
0.648534
1,049
8,015
4.824595
0.224023
0.073108
0.116973
0.024699
0.405453
0.17131
0.147994
0.11065
0.065995
0.05493
0
0.007021
0.218091
8,015
212
107
37.806604
0.800543
0.108796
0
0.154839
0
0
0.076404
0
0
0
0
0
0
1
0.090323
false
0
0.058065
0
0.264516
0.012903
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f635b3eca92319c1097c2f0cdb0375a22892f53e
1,138
py
Python
module/seeding/seeder/threshold_seed.py
ObliviousJamie/opic-prototype
a925ce9faa38b9a6c8976d4c63b47349a53fd07e
[ "BSD-3-Clause" ]
null
null
null
module/seeding/seeder/threshold_seed.py
ObliviousJamie/opic-prototype
a925ce9faa38b9a6c8976d4c63b47349a53fd07e
[ "BSD-3-Clause" ]
null
null
null
module/seeding/seeder/threshold_seed.py
ObliviousJamie/opic-prototype
a925ce9faa38b9a6c8976d4c63b47349a53fd07e
[ "BSD-3-Clause" ]
null
null
null
import peakutils from module.seeding.seeder.seeder import Seeder class ThresholdSeeder(Seeder): def __init__(self, threshold, return_type='string', s_filter=None, peak_filter=None): super(ThresholdSeeder, self).__init__(return_type) self.threshold = threshold self.s_filter = s_filter ...
29.947368
89
0.598418
150
1,138
4.313333
0.3
0.098918
0.055641
0.060278
0.137558
0.111283
0.111283
0.111283
0.111283
0.111283
0
0
0.301406
1,138
37
90
30.756757
0.813836
0
0
0
0
0
0.105448
0.094903
0
0
0
0
0
1
0.111111
false
0
0.074074
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
0
0
0
0
0
0
0
0
0
0
1
0
f635f47508977479e51aeb2a2d9a8692db618aa8
1,620
py
Python
ball.py
iliescua/Pong
88c62cc9db44b76b98130546582aa601859e0041
[ "MIT" ]
null
null
null
ball.py
iliescua/Pong
88c62cc9db44b76b98130546582aa601859e0041
[ "MIT" ]
null
null
null
ball.py
iliescua/Pong
88c62cc9db44b76b98130546582aa601859e0041
[ "MIT" ]
null
null
null
from turtle import Turtle TOP_BORDER = 280 SIDE_BORDER = 380 P_SIZE = 50 P_POSITION = 320 class Ball: def __init__(self): self.ball = Turtle("circle") self.ball.pu() self.ball.color("white") self.x_move = 10 self.y_move = 10 self.r_score = 0 self.l_score =...
23.142857
90
0.559877
245
1,620
3.453061
0.204082
0.189125
0.074468
0.066194
0.429078
0.334515
0.315603
0.212766
0.212766
0.137116
0
0.033976
0.327778
1,620
69
91
23.478261
0.742883
0
0
0.166667
0
0
0.00679
0
0
0
0
0
0
1
0.166667
false
0
0.020833
0.041667
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f63677a352c96443fb84314f00dd42cf61e97b33
2,404
py
Python
nicos_sinq/devices/epics/motor.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
nicos_sinq/devices/epics/motor.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
nicos_sinq/devices/epics/motor.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
# -*- coding: utf-8 -*- # ***************************************************************************** # NICOS, the Networked Instrument Control System of the MLZ # Copyright (c) 2009-2022 by the NICOS contributors (see AUTHORS) # # This program is free software; you can redistribute it and/or modify it under # the t...
36.424242
79
0.635191
291
2,404
5.216495
0.505155
0.013175
0.025692
0.037549
0.11726
0.036891
0
0
0
0
0
0.013499
0.229617
2,404
65
80
36.984615
0.806156
0.431364
0
0.0625
0
0
0.090909
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f637709339851920c290c85068ff77de0d14dc64
2,941
py
Python
tests/test_matrix.py
cmc333333/mapbox-sdk-py
c38d177fc4f235b08a9e8dcda711e09a6edf0e20
[ "MIT" ]
null
null
null
tests/test_matrix.py
cmc333333/mapbox-sdk-py
c38d177fc4f235b08a9e8dcda711e09a6edf0e20
[ "MIT" ]
null
null
null
tests/test_matrix.py
cmc333333/mapbox-sdk-py
c38d177fc4f235b08a9e8dcda711e09a6edf0e20
[ "MIT" ]
null
null
null
import pytest import responses from mapbox import DirectionsMatrix from mapbox.errors import MapboxDeprecationWarning points = [{ "type": "Feature", "properties": {}, "geometry": { "type": "Point", "coordinates": [ -87, 36]}}, { "type": "Feature", "properties": {}, ...
31.287234
128
0.633798
340
2,941
5.385294
0.338235
0.026761
0.0355
0.046423
0.43692
0.418897
0.418897
0.339705
0.283998
0.283998
0
0.051586
0.195852
2,941
94
129
31.287234
0.722622
0.082625
0
0.441176
0
0.058824
0.269806
0.042601
0
0
0
0
0.132353
1
0.102941
false
0
0.058824
0
0.161765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f63771cbca3bfd63d672bd871a2472a63c4173ca
41,409
py
Python
code/adversarial/train.py
urkax/CollageNet
337098b40afbf0b3c8514f80a9953a797988938d
[ "MIT" ]
10
2021-07-12T14:32:16.000Z
2021-12-10T09:11:30.000Z
code/adversarial/train.py
urkax/CollageNet
337098b40afbf0b3c8514f80a9953a797988938d
[ "MIT" ]
null
null
null
code/adversarial/train.py
urkax/CollageNet
337098b40afbf0b3c8514f80a9953a797988938d
[ "MIT" ]
3
2021-11-16T12:54:19.000Z
2022-01-07T13:52:26.000Z
import os import sys import json import socket import getpass import glog as log import numpy as np import torch import torch.nn.functional as F from torch.utils.data import DataLoader from tensorboardX import SummaryWriter import time p = os.path.dirname(os.path.dirname((os.path.abspath(__file__)))) if p not in sys.p...
64.701563
327
0.698351
6,152
41,409
4.218791
0.046814
0.027048
0.041612
0.035255
0.792479
0.701048
0.671534
0.641982
0.604223
0.561339
0
0.014056
0.189089
41,409
640
328
64.701563
0.758867
0.003019
0
0.32696
0
0.007648
0.113463
0.039049
0
0
0
0
0.003824
1
0.005736
false
0.003824
0.030593
0
0.040153
0.003824
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
f637b629ac57da2447d1ec193883db4f65a06e49
784
py
Python
base/migrations/0007_auto_20191031_1524.py
amin-da71/Benbb96
0c9e37425d0665e403ba6fecf0c4b17669c29ada
[ "MIT" ]
null
null
null
base/migrations/0007_auto_20191031_1524.py
amin-da71/Benbb96
0c9e37425d0665e403ba6fecf0c4b17669c29ada
[ "MIT" ]
13
2021-02-13T20:15:18.000Z
2022-03-11T23:57:07.000Z
base/migrations/0007_auto_20191031_1524.py
amin-da71/Benbb96
0c9e37425d0665e403ba6fecf0c4b17669c29ada
[ "MIT" ]
null
null
null
# Generated by Django 2.1.11 on 2019-10-31 14:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('base', '0006_auto_20190731_1549'), ] operations = [ migrations.AddField( model_name='projet', name='logged_only', ...
32.666667
171
0.647959
91
784
5.461538
0.604396
0.072435
0.092555
0.108652
0.498994
0.498994
0.350101
0.350101
0.350101
0.350101
0
0.054237
0.247449
784
23
172
34.086957
0.788136
0.058673
0
0.352941
1
0
0.317935
0.03125
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f637e3392c8c6461ada801c17a43ac56bfdc0ba3
123
py
Python
python/pygimli/misc/__init__.py
mjziebarth/gimli
196ac4d6dd67e0326cccc44a87b367f64051e490
[ "Apache-2.0" ]
3
2021-07-10T00:56:59.000Z
2022-02-17T12:43:38.000Z
python/pygimli/misc/__init__.py
ivek1312/gimli
5fafebb7c96dd0e04e2616df402fa27a01609d63
[ "Apache-2.0" ]
null
null
null
python/pygimli/misc/__init__.py
ivek1312/gimli
5fafebb7c96dd0e04e2616df402fa27a01609d63
[ "Apache-2.0" ]
1
2022-03-29T04:28:40.000Z
2022-03-29T04:28:40.000Z
# -*- coding: utf-8 -*- """ Unsorted miscellaneous stuff """ from .unsorted import * from .unsorted import streamline
15.375
32
0.666667
13
123
6.307692
0.692308
0.292683
0.439024
0
0
0
0
0
0
0
0
0.01
0.186992
123
7
33
17.571429
0.81
0.414634
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
f6380063f172c32604eb7d88b92e65b8adccba98
4,660
py
Python
handlers/category.py
cstieg/Item-Catalog
7e91c268872a6aaea231b979fdd27a666aab1764
[ "MIT" ]
null
null
null
handlers/category.py
cstieg/Item-Catalog
7e91c268872a6aaea231b979fdd27a666aab1764
[ "MIT" ]
null
null
null
handlers/category.py
cstieg/Item-Catalog
7e91c268872a6aaea231b979fdd27a666aab1764
[ "MIT" ]
null
null
null
"""Handlers for category""" import flask from werkzeug.exceptions import BadRequest, Unauthorized from json import dumps from itemcatalog import app import models import login @app.route('/catalog/<catalog_id>/addcategory', methods=['GET', 'POST']) @login.check_logged_in def add_category_handler(catalog_id): ""...
36.692913
105
0.670172
580
4,660
5.168966
0.143103
0.084056
0.051034
0.0507
0.727819
0.719813
0.597398
0.570714
0.547365
0.547365
0
0
0.236695
4,660
126
106
36.984127
0.842845
0.18412
0
0.597222
0
0
0.13079
0.049046
0
0
0
0
0
1
0.055556
false
0
0.083333
0
0.222222
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
f63ae4ae1659c3703f55d9ef00455b73d7a5f9b7
2,801
py
Python
scripts/no_bool_in_generic.py
umangino/pandas
c492672699110fe711b7f76ded5828ff24bce5ab
[ "BSD-3-Clause" ]
28,899
2016-10-13T03:32:12.000Z
2022-03-31T21:39:05.000Z
scripts/no_bool_in_generic.py
umangino/pandas
c492672699110fe711b7f76ded5828ff24bce5ab
[ "BSD-3-Clause" ]
31,004
2016-10-12T23:22:27.000Z
2022-03-31T23:17:38.000Z
scripts/no_bool_in_generic.py
umangino/pandas
c492672699110fe711b7f76ded5828ff24bce5ab
[ "BSD-3-Clause" ]
15,149
2016-10-13T03:21:31.000Z
2022-03-31T18:46:47.000Z
""" Check that pandas/core/generic.py doesn't use bool as a type annotation. There is already the method `bool`, so the alias `bool_t` should be used instead. This is meant to be run as a pre-commit hook - to run it manually, you can do: pre-commit run no-bool-in-core-generic --all-files The function `visit` is...
31.829545
111
0.646912
377
2,801
4.633952
0.3687
0.068689
0.036634
0.022896
0.154551
0.136234
0.104179
0.104179
0.062965
0.062965
0
0.016667
0.250268
2,801
87
112
32.195402
0.815238
0.193859
0
0.071429
0
0
0.048918
0
0
0
0
0
0
1
0.071429
false
0
0.089286
0
0.232143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f63b5c57bfdbb91b31f33dd30b40f9e108f599e0
4,786
py
Python
tests/unit/configuration_subsystem/test_sample_configurations.py
richm/ansible-navigator
c9cd9a4b2eeb424145d4953aca79c4cc8ee8afd4
[ "Apache-2.0", "MIT" ]
null
null
null
tests/unit/configuration_subsystem/test_sample_configurations.py
richm/ansible-navigator
c9cd9a4b2eeb424145d4953aca79c4cc8ee8afd4
[ "Apache-2.0", "MIT" ]
1
2022-02-04T02:38:15.000Z
2022-02-04T02:38:15.000Z
tests/unit/configuration_subsystem/test_sample_configurations.py
richm/ansible-navigator
c9cd9a4b2eeb424145d4953aca79c4cc8ee8afd4
[ "Apache-2.0", "MIT" ]
1
2021-11-17T09:45:18.000Z
2021-11-17T09:45:18.000Z
""" Some tests using a alternate test configurations to prove code paths not covered by the ansible-navigator configuration """ import pytest from ansible_navigator.configuration_subsystem.configurator import Configurator from ansible_navigator.configuration_subsystem.navigator_post_processor import ( NavigatorP...
34.431655
90
0.635395
425
4,786
6.962353
0.249412
0.033795
0.088205
0.089219
0.689084
0.592092
0.574518
0.474823
0.474823
0.449814
0
0.009464
0.271417
4,786
138
91
34.681159
0.839117
0.08901
0
0.663717
0
0
0.104046
0
0
0
0
0
0.026549
1
0.044248
false
0
0.079646
0
0.123894
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f63c50d1bf29bb5718b52213b5b39bdaa380f0e3
199
py
Python
Algorithms/Implementation/Kangaroo.py
gauthamkrishna-g/HackerRank
472d7a56fc1c1c4f8f03fcabc09d08da4000efde
[ "MIT" ]
1
2017-12-02T14:23:44.000Z
2017-12-02T14:23:44.000Z
Algorithms/Implementation/Kangaroo.py
gauthamkrishna-g/HackerRank
472d7a56fc1c1c4f8f03fcabc09d08da4000efde
[ "MIT" ]
null
null
null
Algorithms/Implementation/Kangaroo.py
gauthamkrishna-g/HackerRank
472d7a56fc1c1c4f8f03fcabc09d08da4000efde
[ "MIT" ]
null
null
null
#!/bin/python3 x1,v1,x2,v2 = input().strip().split(' ') x1,v1,x2,v2 = [int(x1),int(v1),int(x2),int(v2)] print("YES" if (x2 - x1) * (v2 - v1) < 0 and (x2 - x1) % (v2 - v1) == 0 else "NO")
28.428571
83
0.492462
37
199
2.648649
0.459459
0.081633
0.122449
0.163265
0.183673
0
0
0
0
0
0
0.147436
0.21608
199
7
84
28.428571
0.480769
0.065327
0
0
0
0
0.033333
0
0
0
0
0
0
1
0
true
0
0
0
0
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
f63c6d71a21a96cea4d40db191c51264cea7cefe
792
py
Python
blog_app/posts/migrations/0001_initial.py
haddercone/Blog.github.io
1908706312bfd2946b01e988806d37d861d6395d
[ "MIT" ]
1
2019-06-10T10:49:02.000Z
2019-06-10T10:49:02.000Z
blog_app/posts/migrations/0001_initial.py
haddercone/Blog.github.io
1908706312bfd2946b01e988806d37d861d6395d
[ "MIT" ]
null
null
null
blog_app/posts/migrations/0001_initial.py
haddercone/Blog.github.io
1908706312bfd2946b01e988806d37d861d6395d
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-04-17 16:19 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Auther', ...
29.333333
128
0.60101
87
792
5.37931
0.609195
0.096154
0.115385
0.153846
0.111111
0
0
0
0
0
0
0.067591
0.271465
792
26
129
30.461538
0.743501
0.054293
0
0
1
0
0.05087
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.368421
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
f63d7e029bf5a5228b9983d3d3b72e181cfc36c8
2,313
py
Python
tests/test_prometheus_querybuilder.py
m-chrome/prometheus-query-builder
14c391346b99742909265fc00b0e620fc0d6134c
[ "MIT" ]
null
null
null
tests/test_prometheus_querybuilder.py
m-chrome/prometheus-query-builder
14c391346b99742909265fc00b0e620fc0d6134c
[ "MIT" ]
null
null
null
tests/test_prometheus_querybuilder.py
m-chrome/prometheus-query-builder
14c391346b99742909265fc00b0e620fc0d6134c
[ "MIT" ]
null
null
null
from prometheus_query_builder.query import Query import pytest def test_query(): """ Test query with only metric name """ query = Query("http_requests_total") assert str(query) == "http_requests_total" def test_query_with_label(): query = Query("http_requests_total") query.add_label("environmen...
30.434211
85
0.722006
288
2,313
5.461806
0.149306
0.114431
0.216147
0.27972
0.78131
0.664971
0.621742
0.576605
0.48061
0.425938
0
0.02423
0.143537
2,313
75
86
30.84
0.769813
0.013835
0
0.392157
0
0
0.344919
0.104707
0
0
0
0
0.215686
1
0.215686
false
0
0.039216
0
0.254902
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f63e34643f9ce8bcd233959f49016f41e28a7a1f
699
py
Python
tests/test_main.py
tokusumi/drudgeyer
5282b92c22493ae43421493b9850e10df34ef34f
[ "MIT" ]
null
null
null
tests/test_main.py
tokusumi/drudgeyer
5282b92c22493ae43421493b9850e10df34ef34f
[ "MIT" ]
3
2021-03-06T11:28:39.000Z
2021-03-11T08:12:07.000Z
tests/test_main.py
tokusumi/drudgeyer
5282b92c22493ae43421493b9850e10df34ef34f
[ "MIT" ]
null
null
null
from typer.testing import CliRunner from drudgeyer import app runner = CliRunner() def test_app(): result = runner.invoke(app, ["--help"]) assert result.exit_code == 0, result.stdout result = runner.invoke(app, ["run", "--help"]) assert result.exit_code == 0, result.stdout result = runner.invo...
26.884615
53
0.646638
91
699
4.89011
0.252747
0.161798
0.242697
0.283146
0.734831
0.734831
0.734831
0.734831
0.651685
0.651685
0
0.010526
0.184549
699
25
54
27.96
0.770175
0
0
0.375
0
0
0.078684
0
0
0
0
0
0.375
1
0.0625
false
0
0.125
0
0.1875
0
0
0
0
null
0
1
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
f63e8c61c7288fdc96e3a4c021f87342a2409094
563
py
Python
tests/shared.py
award7/dicomsort
b83a8d9468a6599cfc36f497dcdb38ea62c2c783
[ "MIT" ]
15
2015-02-26T17:27:48.000Z
2019-10-22T12:28:24.000Z
tests/shared.py
BigHeartDB/dicomsort
e4e73241cc08e2fe34ea5a3fae606c9ce5afd3ff
[ "MIT" ]
61
2020-02-07T21:56:23.000Z
2022-03-31T22:12:08.000Z
tests/shared.py
suever/dicomsort
d2a09887ebe7e3f2bcdc07eb1375d995ba365205
[ "MIT" ]
7
2015-09-07T04:47:29.000Z
2019-03-18T09:29:48.000Z
import wx class WxTestCase: def setup(self): self.app = wx.App() self.frame = wx.Frame(None) self.frame.Show() def teardown(self): def _cleanup(): for win in wx.GetTopLevelWindows(): if win: if isinstance(win, wx.Dialog) and win....
23.458333
68
0.479574
59
563
4.542373
0.576271
0.052239
0
0
0
0
0
0
0
0
0
0.012158
0.415631
563
23
69
24.478261
0.802432
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f63fd47e767276cc8e0cf77a0beb6b73482acef3
2,705
py
Python
bin/scrape_software_versions.py
jpfeuffer/quantms
4762fd62e59352cdf04797275c1aa50e11bea4dc
[ "MIT" ]
null
null
null
bin/scrape_software_versions.py
jpfeuffer/quantms
4762fd62e59352cdf04797275c1aa50e11bea4dc
[ "MIT" ]
null
null
null
bin/scrape_software_versions.py
jpfeuffer/quantms
4762fd62e59352cdf04797275c1aa50e11bea4dc
[ "MIT" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function import os import re results = {} version_files = [x for x in os.listdir(".") if x.endswith(".version.txt")] # TODO https://github.com/nf-core/proteomicslfq/pull/165 def get_versions(software, version_file): semver_regex = r"((?P<major>0|[1-9]\d*)\.(?P<mi...
33.8125
259
0.603697
333
2,705
4.771772
0.405405
0.173065
0.00944
0.012587
0.092511
0.05601
0.050346
0.01888
0.01888
0.01888
0
0.015661
0.197412
2,705
79
260
34.240506
0.71626
0.041035
0
0.035088
0
0.017544
0.355613
0.14653
0
0
0
0.012658
0
1
0.017544
false
0
0.052632
0
0.087719
0.070175
0
0
0
null
0
0
0
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
f6403a7748cde59ed1c5a1bdb63ee72fbf187a9c
637
py
Python
tests/utilities/read_properties.py
BSE21-13/FrontEndSite
3592b7c0f62bdc3868d93221b27e9d365e9120b8
[ "MIT" ]
null
null
null
tests/utilities/read_properties.py
BSE21-13/FrontEndSite
3592b7c0f62bdc3868d93221b27e9d365e9120b8
[ "MIT" ]
5
2021-12-28T12:48:56.000Z
2022-01-24T12:07:17.000Z
tests/utilities/read_properties.py
BSE21-13/FrontEndSite
3592b7c0f62bdc3868d93221b27e9d365e9120b8
[ "MIT" ]
null
null
null
import configparser config = configparser.RawConfigParser() config.read("../tests/configurations/config.ini") class ReadConfig: """This class consists of methods that retrieve information from the configuration file""" @staticmethod def get_application_url(): """This method retrieves the URL ...
27.695652
67
0.676609
69
637
6.072464
0.507246
0.095465
0.143198
0.109785
0.162291
0
0
0
0
0
0
0
0.238619
637
22
68
28.954545
0.863918
0.205651
0
0.133333
0
0
0.230143
0.069246
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6406e119d2329e146c0e9ca048882d418cdc911
20,678
py
Python
s2protocol/decoders.py
karlgluck/heroes-of-the-storm-replay-parser
5dd407e3ce2bd06d1acd279dd85c2a2a924c3c62
[ "MIT" ]
31
2015-01-19T09:42:02.000Z
2021-01-02T12:42:07.000Z
s2protocol/decoders.py
karlgluck/heroes-of-the-storm-replay-parser
5dd407e3ce2bd06d1acd279dd85c2a2a924c3c62
[ "MIT" ]
null
null
null
s2protocol/decoders.py
karlgluck/heroes-of-the-storm-replay-parser
5dd407e3ce2bd06d1acd279dd85c2a2a924c3c62
[ "MIT" ]
9
2015-04-02T04:24:54.000Z
2017-09-08T11:17:19.000Z
# Copyright (c) 2013 Blizzard Entertainment # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publi...
35.106961
146
0.587678
2,566
20,678
4.518316
0.127046
0.042091
0.040366
0.034501
0.609539
0.57133
0.492841
0.468432
0.424357
0.380887
0
0.014355
0.289148
20,678
588
147
35.166667
0.774406
0.112922
0
0.608791
0
0
0.050036
0.002844
0
0
0.000656
0
0
1
0.162637
false
0.004396
0.004396
0.050549
0.325275
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6409463cc8856df6f86a4d40066e1cd24e510d1
9,669
py
Python
eventbus/util/transcoding.py
adyshev/eventbus
7479e42fe8d2749cc5798921a49a9e30bbbd7c29
[ "MIT" ]
2
2020-10-02T20:22:23.000Z
2020-12-08T11:37:29.000Z
eventbus/util/transcoding.py
adyshev/eventbus
7479e42fe8d2749cc5798921a49a9e30bbbd7c29
[ "MIT" ]
107
2020-12-03T09:44:06.000Z
2022-03-31T22:58:40.000Z
eventbus/util/transcoding.py
adyshev/eventbus
7479e42fe8d2749cc5798921a49a9e30bbbd7c29
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from enum import Enum from json import JSONDecoder, JSONEncoder from uuid import UUID from types import MethodType, FunctionType from base64 import b64decode, b64encode from typing import Optional from decimal import Decimal from functools import wraps, singledispatch from collec...
26.203252
111
0.637088
1,202
9,669
4.796173
0.143927
0.034345
0.030529
0.019428
0.251865
0.215785
0.171032
0.154727
0.146574
0.135126
0
0.008369
0.23384
9,669
368
112
26.274457
0.769843
0.048402
0
0.220472
0
0
0.080398
0.002406
0
0
0
0
0
1
0.19685
false
0
0.062992
0.086614
0.503937
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
f640c75d44329cd62f0bd63d9e71a578d7df4871
95
py
Python
osc_bge/branch/apps.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
osc_bge/branch/apps.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
5
2020-06-05T19:49:47.000Z
2021-09-08T00:50:55.000Z
osc_bge/branch/apps.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BranchConfig(AppConfig): name = 'osc_bge.branch'
15.833333
33
0.757895
12
95
5.916667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
34
19
0.8875
0
0
0
0
0
0.147368
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
f641c36178a65bbfc610b9a5571bcb7865d2f5ec
16,135
py
Python
magenta/models/lookback_rnn/lookback_rnn_encoder_decoder_test.py
Sprog-gle/Magenta
55bfd53f8112cf34952e67efc646b98523837f8f
[ "Apache-2.0" ]
null
null
null
magenta/models/lookback_rnn/lookback_rnn_encoder_decoder_test.py
Sprog-gle/Magenta
55bfd53f8112cf34952e67efc646b98523837f8f
[ "Apache-2.0" ]
null
null
null
magenta/models/lookback_rnn/lookback_rnn_encoder_decoder_test.py
Sprog-gle/Magenta
55bfd53f8112cf34952e67efc646b98523837f8f
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
59.759259
80
0.464642
4,424
16,135
1.643083
0.035036
0.928876
1.360297
1.771908
0.874398
0.865594
0.856789
0.834503
0.834503
0.834503
0
0.328276
0.264642
16,135
269
81
59.981413
0.284366
0.038798
0
0.757447
0
0
0.000516
0
0
0
0
0
0.085106
1
0.008511
false
0
0.012766
0
0.025532
0
0
0
1
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
13
f643292170807073c85638207f54d2d80f2a5b0f
68
py
Python
python/testData/formatter/pep8KeywordArguments.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/formatter/pep8KeywordArguments.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/formatter/pep8KeywordArguments.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def complex(real, imag = 0.0): return magic(r = real, i = imag)
22.666667
36
0.602941
12
68
3.416667
0.75
0
0
0
0
0
0
0
0
0
0
0.038462
0.235294
68
2
37
34
0.75
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
f644aba561ae3d5fafa3e422d691f77a18559858
3,594
py
Python
util/Stacker.py
demetoir/ALLGANS
2f972db5e9a65f18aee0695d817f4acc221e54da
[ "MIT" ]
11
2018-01-25T15:31:54.000Z
2019-12-17T06:12:57.000Z
util/Stacker.py
demetoir/ALLGANs
2f972db5e9a65f18aee0695d817f4acc221e54da
[ "MIT" ]
19
2018-01-29T16:12:09.000Z
2018-02-15T15:56:48.000Z
util/Stacker.py
demetoir/ALLGANs
2f972db5e9a65f18aee0695d817f4acc221e54da
[ "MIT" ]
2
2018-02-06T00:31:55.000Z
2018-02-19T15:29:10.000Z
from util.tensor_ops import * class Stacker: """help easily make graph model by stacking layer and naming for tensorflow ex) stacker = Stacker(input_) stacker.add_layer(conv2d, 64, CONV_FILTER_5522) stacker.add_layer(bn) stacker.add_layer(lrelu) stacker.add_layer(conv2d, 128,...
32.378378
83
0.628548
448
3,594
4.808036
0.203125
0.092851
0.104457
0.125348
0.390436
0.312906
0.212163
0.090529
0.090529
0.090529
0
0.014925
0.272955
3,594
110
84
32.672727
0.809414
0.301057
0
0
0
0
0.005952
0
0
0
0
0
0
1
0.369565
false
0.021739
0.021739
0
0.76087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f646c5cb4299bf70a2742fabb4cedc310b92d3e0
6,019
py
Python
rl_rvo_nav/policy_test/post_train.py
hanruihua/rl_rvo_nav
9ce17853336ee3231860e0a0f8df9269515adfb4
[ "MIT" ]
8
2022-03-18T06:41:07.000Z
2022-03-31T03:49:55.000Z
rl_rvo_nav/policy_test/post_train.py
hanruihua/rl_rvo_nav
9ce17853336ee3231860e0a0f8df9269515adfb4
[ "MIT" ]
null
null
null
rl_rvo_nav/policy_test/post_train.py
hanruihua/rl_rvo_nav
9ce17853336ee3231860e0a0f8df9269515adfb4
[ "MIT" ]
2
2022-03-29T01:43:54.000Z
2022-03-29T07:47:02.000Z
import torch import numpy as np from pathlib import Path import platform from rl_rvo_nav.policy.policy_rnn_ac import rnn_ac from math import pi, sin, cos, sqrt import time class post_train: def __init__(self, env, num_episodes=100, max_ep_len=150, acceler_vel = 1.0, reset_mode=3, render=True, save=False, neighbor...
41.510345
323
0.579
849
6,019
3.839812
0.199058
0.026074
0.016564
0.022086
0.211963
0.177301
0.164417
0.156442
0.156442
0.156442
0
0.014166
0.308025
6,019
145
324
41.510345
0.768547
0.018275
0
0.118812
0
0
0.066226
0
0
0
0
0
0
1
0.049505
false
0
0.069307
0.009901
0.158416
0.059406
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6483d57aeed490b4f308d885d8bb0758430e6ca
4,866
py
Python
scripts/NIRISS_AMI_tutorial.py
vandalt/ImPlaneIA
72b22e487ef45a8a665e4a6a88a91e99e382fdd0
[ "BSD-3-Clause" ]
6
2020-03-03T16:15:40.000Z
2022-03-23T16:15:09.000Z
scripts/NIRISS_AMI_tutorial.py
vandalt/ImPlaneIA
72b22e487ef45a8a665e4a6a88a91e99e382fdd0
[ "BSD-3-Clause" ]
5
2020-02-03T17:46:59.000Z
2022-03-07T20:00:59.000Z
scripts/NIRISS_AMI_tutorial.py
vandalt/ImPlaneIA
72b22e487ef45a8a665e4a6a88a91e99e382fdd0
[ "BSD-3-Clause" ]
1
2021-07-06T23:02:01.000Z
2021-07-06T23:02:01.000Z
#!/usr/bin/env python # coding: utf-8 # # A short Tutorial to process sample NIRISS AMI simulations # # * fit fringes for a simulated target and calibrator sequence (no WFE evolution between them) # * calibrate target closure phases with the calibrator # * fit for a binary import glob import os, sys, time from astro...
39.560976
101
0.723387
741
4,866
4.635628
0.403509
0.00524
0.006987
0.022707
0.136245
0.136245
0.136245
0.109461
0.066376
0.066376
0
0.02773
0.169955
4,866
122
102
39.885246
0.822728
0.427661
0
0.153846
0
0
0.193277
0.073073
0
0
0
0
0
1
0
false
0.015385
0.107692
0
0.107692
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6491069571690a0457248fa03941dc4de624512
139
py
Python
python_tutorial/main.py
vchatchai/python101
c2f1c7b0f62a4600f9c64af566dc5630742580f2
[ "Apache-2.0" ]
null
null
null
python_tutorial/main.py
vchatchai/python101
c2f1c7b0f62a4600f9c64af566dc5630742580f2
[ "Apache-2.0" ]
null
null
null
python_tutorial/main.py
vchatchai/python101
c2f1c7b0f62a4600f9c64af566dc5630742580f2
[ "Apache-2.0" ]
null
null
null
from fibo import fib, fib2 import fibo import importlib print(fibo.__name__) print(fib(1000)) print(fibo.fib2(100)) importlib.reload(fibo)
17.375
26
0.791367
22
139
4.818182
0.5
0.188679
0
0
0
0
0
0
0
0
0
0.071429
0.093525
139
7
27
19.857143
0.769841
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
6
f64b7a8173c2b1a5bbc6c0e6c85a655208cbfcdc
1,363
py
Python
openstacksdk_learn/connect_to_openstack.py
PyLearner/myworks
6dd87bfce5d0b3b17d02248fceb3d91d97cab7d5
[ "Apache-2.0" ]
null
null
null
openstacksdk_learn/connect_to_openstack.py
PyLearner/myworks
6dd87bfce5d0b3b17d02248fceb3d91d97cab7d5
[ "Apache-2.0" ]
null
null
null
openstacksdk_learn/connect_to_openstack.py
PyLearner/myworks
6dd87bfce5d0b3b17d02248fceb3d91d97cab7d5
[ "Apache-2.0" ]
null
null
null
import sys from openstack import connection from openstack import profile from openstack import utils # open logging # utils.enable_logging(debug=True, stream=sys.stdout) # get the connection to the def create_connection(auth_url, region, project_name, username, password): prof = profile.Profile() prof.set_r...
26.72549
74
0.637564
174
1,363
4.850575
0.390805
0.049763
0.067536
0.035545
0.199052
0.199052
0.199052
0.199052
0
0
0
0.033882
0.242113
1,363
51
75
26.72549
0.783156
0.210565
0
0.1875
0
0
0.070356
0
0
0
0
0
0
1
0.0625
false
0.125
0.125
0
0.21875
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f64bb2f111d4579927862540613c0debd02f8fa0
3,817
py
Python
vilya/views/api/git.py
mubashshirjamal/code
d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382
[ "BSD-3-Clause" ]
1,582
2015-01-05T02:41:44.000Z
2022-03-30T20:03:22.000Z
vilya/views/api/git.py
mubashshirjamal/code
d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382
[ "BSD-3-Clause" ]
66
2015-01-23T07:58:04.000Z
2021-11-12T02:23:27.000Z
vilya/views/api/git.py
mubashshirjamal/code
d9c7adf7efed8e9c1ab3ff8cdeb94e7eb1a45382
[ "BSD-3-Clause" ]
347
2015-01-05T07:47:07.000Z
2021-09-20T21:22:32.000Z
# coding: UTF-8 from __future__ import absolute_import import json import PyRSS2Gen as RSS2 from vilya.config import DOMAIN from vilya.libs.reltime import compute_relative_time from vilya.views.api.utils import jsonize class GitUI(object): _q_exports = ['branches', 'allfiles', 'lastlog', 'lineblame'] def _...
30.055118
75
0.530259
433
3,817
4.505774
0.265589
0.056381
0.057406
0.069708
0.157868
0.141466
0.099436
0
0
0
0
0.00359
0.343201
3,817
126
76
30.293651
0.774631
0.011789
0
0.190476
0
0
0.071106
0
0
0
0
0.007937
0
1
0.104762
false
0
0.057143
0.028571
0.304762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f64c6ab7f6e36bf7679b8e6652f68eaedb1efce2
3,237
py
Python
source/tests/lineFollow_color_test.py
nikhilrj/CARDS
509815f23c11881e6444308fa1014aed6a1af358
[ "MIT" ]
null
null
null
source/tests/lineFollow_color_test.py
nikhilrj/CARDS
509815f23c11881e6444308fa1014aed6a1af358
[ "MIT" ]
null
null
null
source/tests/lineFollow_color_test.py
nikhilrj/CARDS
509815f23c11881e6444308fa1014aed6a1af358
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import sys,tty,termios,time from Adafruit_MotorHAT import Adafruit_MotorHAT, Adafruit_DCMotor import atexit import os # create a default object, no changes to I2C address or frequency mh = Adafruit_MotorHAT(addr=0x60) # recommended for auto-disabling motors on shutdown! def turnOffMotors(): m...
23.121429
120
0.697868
481
3,237
4.654886
0.35343
0.078607
0.022331
0.033497
0.077713
0.048236
0
0
0
0
0
0.080456
0.159098
3,237
139
121
23.28777
0.742101
0.175471
0
0.021277
0
0
0.011694
0
0
0
0.016598
0
0
0
null
null
0
0.06383
null
null
0.031915
0
0
0
null
0
0
0
0
0
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
f64c8b2cad206f15a32b0791a1effdab5558a028
1,912
py
Python
src/graph.py
kb2ma/nethead-ui
950aa85806aa31e1d7857af8f933e75588c1fdc5
[ "Apache-2.0" ]
null
null
null
src/graph.py
kb2ma/nethead-ui
950aa85806aa31e1d7857af8f933e75588c1fdc5
[ "Apache-2.0" ]
null
null
null
src/graph.py
kb2ma/nethead-ui
950aa85806aa31e1d7857af8f933e75588c1fdc5
[ "Apache-2.0" ]
null
null
null
import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output, State from app import app from app import applog from datetime import datetime import json import numpy as np import pandas as pd import plotly.express as px import requests """Displays graph of time s...
29.415385
88
0.605649
250
1,912
4.544
0.436
0.056338
0.044894
0.050176
0.123239
0.086268
0.086268
0
0
0
0
0.017349
0.246339
1,912
64
89
29.875
0.770992
0.046548
0
0.044444
0
0
0.167245
0.01331
0
0
0
0
0
1
0.066667
false
0
0.244444
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f64c8c0ad69d6d3faab6d5fe3c733e51363ca006
1,985
py
Python
xprize_robojudge.py
anibalsolon/covid-xprize
cafc2c65c7e4f4184c16a1793da85371b6bc3218
[ "Apache-2.0" ]
null
null
null
xprize_robojudge.py
anibalsolon/covid-xprize
cafc2c65c7e4f4184c16a1793da85371b6bc3218
[ "Apache-2.0" ]
null
null
null
xprize_robojudge.py
anibalsolon/covid-xprize
cafc2c65c7e4f4184c16a1793da85371b6bc3218
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 (c) Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 License. import numpy as np import pandas as pd LATEST_DATA_URL = 'https://raw.githubusercontent.com/OxCGRT/covid-policy-tracker/master/data/OxCGRT_latest.csv' LOCAL_DATA_URL = "tests/fixtures/OxCGRT_lat...
43.152174
123
0.582872
219
1,985
5.045662
0.561644
0.072398
0.068778
0.028959
0.110407
0.068778
0.068778
0.068778
0.068778
0
0
0.019288
0.320907
1,985
45
124
44.111111
0.800445
0.110327
0
0
0
0.029412
0.280522
0.018171
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.205882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f64c94177f64a2f9e4145e71f70d7ea87d65280f
3,282
py
Python
ooobuild/lo/frame/frame_action_event.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/frame/frame_action_event.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/frame/frame_action_event.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http: // www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
32.176471
221
0.666057
395
3,282
5.36962
0.41519
0.028289
0.023574
0.035361
0.057049
0.042433
0
0
0
0
0
0.033708
0.240707
3,282
101
222
32.49505
0.817416
0.360146
0
0.044444
0
0
0.078836
0.037037
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f64d006c79ff144996e84e5aa827cbb38d274052
4,446
py
Python
actions/lib/bestfit.py
StackStorm-Exchange/manageiq
e94b3bb0f3d68fee4d749cee1b5d1d24012ffe81
[ "Apache-2.0" ]
1
2019-08-26T02:31:19.000Z
2019-08-26T02:31:19.000Z
actions/lib/bestfit.py
StackStorm-Exchange/manageiq
e94b3bb0f3d68fee4d749cee1b5d1d24012ffe81
[ "Apache-2.0" ]
5
2018-09-27T16:51:18.000Z
2020-09-25T18:06:05.000Z
actions/lib/bestfit.py
StackStorm-Exchange/manageiq
e94b3bb0f3d68fee4d749cee1b5d1d24012ffe81
[ "Apache-2.0" ]
2
2018-09-25T23:21:03.000Z
2021-01-28T17:45:20.000Z
import base_action import re import json class BestFit(base_action.BaseAction): def __init__(self, config): """Creates a new BaseAction given a StackStorm config object (kwargs works too) :param config: StackStorm configuration object for the pack :returns: a new BaseAction """ ...
39
95
0.593342
474
4,446
5.398734
0.295359
0.039078
0.018757
0.02501
0.023447
0.023447
0.023447
0
0
0
0
0.000675
0.333108
4,446
113
96
39.345133
0.862395
0.104363
0
0.123457
0
0
0.065876
0
0
0
0
0
0
1
0.08642
false
0
0.037037
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f64d45024fdca2b02f876052c1128c86faaa43e6
134
py
Python
crypto/prime/admin.py
aberrier/crypto-api-back
170014de1d4b7d8622e4e86d7bf75f6273d0f062
[ "MIT" ]
null
null
null
crypto/prime/admin.py
aberrier/crypto-api-back
170014de1d4b7d8622e4e86d7bf75f6273d0f062
[ "MIT" ]
null
null
null
crypto/prime/admin.py
aberrier/crypto-api-back
170014de1d4b7d8622e4e86d7bf75f6273d0f062
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Alert # Register the Alert model in the admin panel admin.site.register(Alert)
19.142857
45
0.798507
21
134
5.095238
0.619048
0
0
0
0
0
0
0
0
0
0
0
0.149254
134
6
46
22.333333
0.938596
0.320896
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
f64d4cb44725ca01b18c26fa31d360e83ae96dc0
622
py
Python
tests/IOExpander.py
Footleg/rocky-rover-board
83d2f7a75fe362304fbc54bf71b6cd89718098f6
[ "MIT" ]
1
2022-01-15T17:51:08.000Z
2022-01-15T17:51:08.000Z
tests/IOExpander.py
Footleg/rocky-rover-board
83d2f7a75fe362304fbc54bf71b6cd89718098f6
[ "MIT" ]
null
null
null
tests/IOExpander.py
Footleg/rocky-rover-board
83d2f7a75fe362304fbc54bf71b6cd89718098f6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Test case for the Footleg Robotics Sentinel robot controller board Pulses all IO expander pins configured as outputs """ from time import sleep import digitalio from sentinelboard import SentinelHardware sh = SentinelHardware() # Set all pins as outputs, setting them LOW for pin in ran...
23.923077
70
0.686495
95
622
4.473684
0.578947
0.049412
0.037647
0.061176
0.164706
0.164706
0.164706
0.164706
0.164706
0.164706
0
0.043841
0.229904
622
26
71
23.923077
0.843424
0.336013
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f64ef28d2932094a9e57197502304041dd4681ae
882
py
Python
airflow/upload.py
jordanparker6/coronva-virus
bd9ea4e8f3b9ebd193b5425bf4268bf6c0baf275
[ "Apache-2.0" ]
2
2020-05-09T06:45:38.000Z
2020-06-01T21:50:27.000Z
airflow/upload.py
jordanparker6/coronva-virus
bd9ea4e8f3b9ebd193b5425bf4268bf6c0baf275
[ "Apache-2.0" ]
4
2021-03-10T11:46:52.000Z
2022-02-27T01:33:20.000Z
airflow/upload.py
jordanparker6/COVID-19
bd9ea4e8f3b9ebd193b5425bf4268bf6c0baf275
[ "Apache-2.0" ]
null
null
null
import boto3, os from datetime import datetime as dt from botocore.client import Config def main(): ACCESS_KEY = os.environ['DIGITAL_OCEAN_ACCESS_KEY'] SECRET = os.environ['DIGITAL_OCEAN_SECRET_KEY'] date = dt.today().strftime('%Y.%m.%d') files = ['data.csv', 'agg_data.csv', 'confirmed_cases.csv'] ...
33.923077
79
0.600907
105
882
4.790476
0.552381
0.089463
0.063618
0.083499
0
0
0
0
0
0
0
0.011006
0.278912
882
26
80
33.923077
0.779874
0.068027
0
0
0
0
0.214634
0.058537
0
0
0
0
0
1
0.05
false
0
0.15
0
0.2
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f64f0bf8607a8268530c54c53c865bb99234b740
491
py
Python
k_road/entity/curb.py
NREL/K_Road
ec8049cf1b81c58dd3b95f8298a362d863cd4a68
[ "BSD-3-Clause" ]
1
2021-04-19T23:28:26.000Z
2021-04-19T23:28:26.000Z
k_road/entity/curb.py
NREL/K_Road
ec8049cf1b81c58dd3b95f8298a362d863cd4a68
[ "BSD-3-Clause" ]
null
null
null
k_road/entity/curb.py
NREL/K_Road
ec8049cf1b81c58dd3b95f8298a362d863cd4a68
[ "BSD-3-Clause" ]
null
null
null
from typing import TYPE_CHECKING from pymunk import Vec2d from k_road.entity.entity_type import EntityType from k_road.entity.linear_entity import LinearEntity if TYPE_CHECKING: from k_road.k_road_process import KRoadProcess class Curb(LinearEntity): """ """ def __init__(self, parent: 'KRoadProces...
27.277778
109
0.733198
66
491
5.19697
0.469697
0.058309
0.078717
0.087464
0
0
0
0
0
0
0
0.031477
0.158859
491
17
110
28.882353
0.799031
0
0
0
0
0
0.025
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0
0.777778
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
f64f2f22b9f3bcf769fdc52943788c73b7058eaa
3,100
py
Python
src/eduid_common/session/testing.py
SUNET/eduid-common
d666aec7e47e6b0ccb575d621bb6e9f40bcea4e4
[ "BSD-3-Clause" ]
1
2016-04-14T13:45:10.000Z
2016-04-14T13:45:10.000Z
src/eduid_common/session/testing.py
SUNET/eduid-common
d666aec7e47e6b0ccb575d621bb6e9f40bcea4e4
[ "BSD-3-Clause" ]
16
2017-03-10T11:47:59.000Z
2020-03-19T13:51:01.000Z
src/eduid_common/session/testing.py
SUNET/eduid-common
d666aec7e47e6b0ccb575d621bb6e9f40bcea4e4
[ "BSD-3-Clause" ]
3
2016-11-21T11:39:49.000Z
2019-09-18T12:32:02.000Z
# # Copyright (c) 2016 NORDUnet A/S # Copyright (c) 2018 SUNET # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # ...
34.831461
91
0.671613
390
3,100
5.3
0.510256
0.009676
0.016449
0.022254
0.089018
0.065796
0.065796
0.065796
0.065796
0.065796
0
0.008651
0.254194
3,100
88
92
35.227273
0.885381
0.587742
0
0.055556
0
0
0.136288
0.046823
0
0
0
0
0
1
0.111111
false
0
0.111111
0.027778
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f65146c393969c774797935b3458611949f43a82
285
py
Python
lectures/19-functional-ideas/examples/gematria2.py
mattmiller899/biosys-analytics
ab24a4c7206ed9a865e896daa57cee3c4e62df1f
[ "MIT" ]
14
2019-07-14T08:29:04.000Z
2022-03-07T06:33:26.000Z
lectures/19-functional-ideas/examples/gematria2.py
mattmiller899/biosys-analytics
ab24a4c7206ed9a865e896daa57cee3c4e62df1f
[ "MIT" ]
null
null
null
lectures/19-functional-ideas/examples/gematria2.py
mattmiller899/biosys-analytics
ab24a4c7206ed9a865e896daa57cee3c4e62df1f
[ "MIT" ]
33
2019-01-05T17:03:47.000Z
2019-11-11T20:48:24.000Z
#!/usr/bin/env python3 import os import sys args = sys.argv[1:] if len(args) != 1: print('Usage: {} WORD'.format(os.path.basename(sys.argv[0]))) sys.exit(1) word = args[0] number = 0 for letter in word: number += ord(letter) print('"{}" = "{}"'.format(word, number))
15
65
0.603509
45
285
3.822222
0.555556
0.081395
0
0
0
0
0
0
0
0
0
0.030043
0.182456
285
18
66
15.833333
0.708155
0.073684
0
0
0
0
0.095057
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f653d42bc6c243aed7bff8e1f420a4f32e076ef4
1,113
py
Python
setup.py
andreped/livermask
4bfc3dd858fc8ed6ee87468458cae7a4736e1551
[ "MIT" ]
38
2020-02-11T08:34:33.000Z
2022-03-24T10:54:48.000Z
setup.py
andreped/livermask
4bfc3dd858fc8ed6ee87468458cae7a4736e1551
[ "MIT" ]
9
2020-02-06T22:49:21.000Z
2022-01-31T12:27:52.000Z
setup.py
andreped/livermask
4bfc3dd858fc8ed6ee87468458cae7a4736e1551
[ "MIT" ]
6
2020-02-29T16:01:11.000Z
2021-11-04T10:27:36.000Z
import setuptools with open("README.md", "r") as f: long_description = f.read() with open('requirements.txt', 'r', encoding='utf-16') as ff: required = ff.read().splitlines() setuptools.setup( name='livermask', version='1.2.0', author="André Pedersen", author_email="andrped94@gmail.com"...
30.916667
78
0.619946
121
1,113
5.603306
0.644628
0.088496
0.147493
0.153392
0
0
0
0
0
0
0
0.020047
0.238095
1,113
35
79
31.8
0.779481
0
0
0
0
0
0.419587
0.021563
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f654fd291c8b54b41d59a2fb5e8750235276c4ea
1,039
py
Python
pycontrol/libcpu/discovery.py
Velko/8-bit-CPU
30cab1bd157da01149898607a5c1a15961b56294
[ "MIT" ]
7
2021-02-22T19:29:35.000Z
2022-03-27T23:17:04.000Z
pycontrol/libcpu/discovery.py
Velko/8-bit-CPU
30cab1bd157da01149898607a5c1a15961b56294
[ "MIT" ]
8
2021-01-05T19:08:24.000Z
2021-08-16T20:50:13.000Z
pycontrol/libcpu/discovery.py
Velko/8-bit-CPU
30cab1bd157da01149898607a5c1a15961b56294
[ "MIT" ]
null
null
null
import sys from typing import Iterator, Tuple from .pin import PinBase, Pin, MuxPin, Mux from . import DeviceSetup def all_pins() -> Iterator[Tuple[str, PinBase]]: dupe_filter = set() for v_name, var in vars(DeviceSetup).items(): if not hasattr(var, "__dict__"): continue for a_name, attr in var...
37.107143
128
0.623677
148
1,039
4.243243
0.277027
0.103503
0.101911
0.063694
0.219745
0.219745
0.219745
0.219745
0.219745
0
0
0
0.246391
1,039
28
129
37.107143
0.802043
0
0
0.25
0
0
0.013462
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f65533e82f38d22c049fe300eaa8d9c21a02aaae
749
py
Python
tests/apis/test_yara.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
76
2020-02-27T06:36:27.000Z
2022-03-10T20:18:03.000Z
tests/apis/test_yara.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
33
2020-03-13T02:04:14.000Z
2022-03-04T02:06:11.000Z
tests/apis/test_yara.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
6
2020-03-17T16:42:25.000Z
2021-04-27T06:35:46.000Z
import asyncio import pytest from fastapi.testclient import TestClient @pytest.mark.usefixtures("snapshots_setup") def test_yara_scan(client: TestClient, event_loop: asyncio.AbstractEventLoop): # it matches with all snapshots payload = {"source": 'rule foo: bar {strings: $a = "foo" condition: $a}'} respo...
29.96
78
0.715621
93
749
5.634409
0.494624
0.061069
0.041985
0.057252
0.431298
0.431298
0.244275
0.244275
0.244275
0.244275
0
0.009509
0.157543
749
24
79
31.208333
0.820919
0.038718
0
0.117647
0
0
0.162953
0
0
0
0
0
0.235294
1
0.117647
false
0
0.176471
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f65616e8ab785eb5bbe6be4380ea358255ea489d
323
py
Python
test/normalizer_issue_files/E21.py
bryanforbes/parso
93206f6eba3fe29a200c328c11535e58c56e9635
[ "PSF-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
test/normalizer_issue_files/E21.py
bryanforbes/parso
93206f6eba3fe29a200c328c11535e58c56e9635
[ "PSF-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
test/normalizer_issue_files/E21.py
bryanforbes/parso
93206f6eba3fe29a200c328c11535e58c56e9635
[ "PSF-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
#: E211:4 spam (1) #: E211:4 E211:19 dict ['key'] = list [index] #: E211:11 dict['key'] ['subkey'] = list[index] # Okay spam(1) dict['key'] = list[index] # This is not prohibited by PEP8, but avoid it. # Dave: I think this is extremely stupid. Use the same convention everywhere. #: E211:9 class Foo (Bar, Baz): pa...
19
77
0.647059
54
323
3.87037
0.685185
0.100478
0.105263
0.15311
0
0
0
0
0
0
0
0.095057
0.185759
323
16
78
20.1875
0.69962
0.520124
0
0.571429
0
0
0.101351
0
0
0
0
0
0
1
0
true
0.142857
0
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
f6564c3aa86d6886e8b682e54e0af816a7485bc7
834
py
Python
migdb/forms.py
roundium/migdb
b855b4126d614176913b453004f444af6b13c8a4
[ "MIT" ]
1
2019-07-31T11:33:55.000Z
2019-07-31T11:33:55.000Z
migdb/forms.py
roundium/migdb
b855b4126d614176913b453004f444af6b13c8a4
[ "MIT" ]
6
2019-12-04T23:56:56.000Z
2021-06-10T18:42:08.000Z
migdb/forms.py
roundium/migdb
b855b4126d614176913b453004f444af6b13c8a4
[ "MIT" ]
2
2019-07-31T11:40:31.000Z
2019-08-05T17:11:17.000Z
from django import forms # if you wanto add more actions add them here. ACTIONS = ( ("nochange", "No Change"), ("rename", "Rename"), ("format", "Format"), ("format_rename", "Format And Rename"), ("delete", "Delete"), ) class FieldForm(forms.Form): current_field_name = forms.CharField(max_leng...
32.076923
68
0.707434
105
834
5.504762
0.428571
0.134948
0.17301
0.207612
0.235294
0.235294
0.235294
0.15917
0.15917
0
0
0.016035
0.177458
834
25
69
33.36
0.826531
0.191847
0
0
0
0
0.124066
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.588235
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
f656ca916c5e4b551ec247056d8e8cd69797a168
576
py
Python
src/text/text_clean/rm_biaodian.py
TongtongSong/tools
598417a018ab01b8dcda7fdbce118ce261246ea3
[ "Apache-2.0" ]
null
null
null
src/text/text_clean/rm_biaodian.py
TongtongSong/tools
598417a018ab01b8dcda7fdbce118ce261246ea3
[ "Apache-2.0" ]
null
null
null
src/text/text_clean/rm_biaodian.py
TongtongSong/tools
598417a018ab01b8dcda7fdbce118ce261246ea3
[ "Apache-2.0" ]
null
null
null
import re import sys #!/bin/env python import sys import re if len(sys.argv) != 1: print >>sys.stderr,"%s < in > out"%(__file__) sys.exit(1) for line in sys.stdin: # 中文的正则匹配式 zh_patt = u'[\u4e00-\u9fa5]' # 英文的正则匹配式 en_patt = u'[A-Za-z]' src_word_list = [] for word in line.strip().sp...
20.571429
49
0.581597
86
576
3.686047
0.476744
0.11041
0.173502
0.094637
0.182965
0.182965
0.182965
0
0
0
0
0.016827
0.277778
576
27
50
21.333333
0.745192
0.059028
0
0.315789
0
0
0.070501
0
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
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
0
0
0
0
0
0
0
0
0
0
1
0
f657d3da0f2df7785004ba54e89b91a1863dc311
2,343
py
Python
king.py
iamaris/pystock
864f8beba0cf50a7a4f52bf7c67e83fdfd774a9c
[ "Apache-2.0" ]
null
null
null
king.py
iamaris/pystock
864f8beba0cf50a7a4f52bf7c67e83fdfd774a9c
[ "Apache-2.0" ]
null
null
null
king.py
iamaris/pystock
864f8beba0cf50a7a4f52bf7c67e83fdfd774a9c
[ "Apache-2.0" ]
null
null
null
import urllib import pandas as pd import pandas.io.data as web from datetime import datetime import matplotlib.pyplot as plt import pickle as pk znga = web.DataReader("ZNGA", "yahoo", datetime(2009,1,1)) gluu = web.DataReader("GLUU", "yahoo", datetime(2009,1,1)) vix = web.DataReader("^vix", "yahoo", datetime(2009,1,1)...
33
102
0.638498
389
2,343
3.827764
0.22365
0.075218
0.114171
0.120887
0.274681
0.147079
0.132975
0.112156
0.112156
0.112156
0
0.050356
0.101579
2,343
70
103
33.471429
0.657007
0.145113
0
0
0
0
0.190263
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.025641
0
0
0
null
0
0
0
0
0
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
f659b0d045cb305375adfbb54ef5b317d1bd67ed
8,327
py
Python
system.py
Attachment-Studios/PackedBerry
cb1d47c00cce8d31d6d1e95b1ec2deb330a184e0
[ "CNRI-Python" ]
null
null
null
system.py
Attachment-Studios/PackedBerry
cb1d47c00cce8d31d6d1e95b1ec2deb330a184e0
[ "CNRI-Python" ]
null
null
null
system.py
Attachment-Studios/PackedBerry
cb1d47c00cce8d31d6d1e95b1ec2deb330a184e0
[ "CNRI-Python" ]
null
null
null
# PackedBerry System import requests import random import os import youtubesearchpython def search_video(query:str): videosSearch = youtubesearchpython.VideosSearch(str(query), limit = 1) return videosSearch.result() def get_video_data(query:dict): r = {} d = search_video(query) for _ in d: l = d[_] for e i...
29.424028
185
0.549418
1,067
8,327
4.20806
0.200562
0.016036
0.03029
0.058797
0.36147
0.335412
0.295991
0.257016
0.257016
0.257016
0
0.019357
0.286538
8,327
282
186
29.528369
0.736408
0.002162
0
0.324627
0
0.003731
0.21635
0.016133
0
0
0
0
0
1
0.018657
false
0.007463
0.014925
0
0.05597
0.003731
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f65a7ec7b72b3e226df57c1b794a36c6fc4b224e
179
py
Python
mapry/__main__.py
Parquery/mapry
93515307f9eba8447fe64b0ac7cc68b2d07205a7
[ "MIT" ]
11
2019-06-26T05:56:41.000Z
2021-03-28T16:44:16.000Z
mapry/__main__.py
Parquery/mapry
93515307f9eba8447fe64b0ac7cc68b2d07205a7
[ "MIT" ]
4
2019-10-18T14:43:59.000Z
2020-04-02T19:12:07.000Z
mapry/__main__.py
Parquery/mapry
93515307f9eba8447fe64b0ac7cc68b2d07205a7
[ "MIT" ]
3
2019-06-17T07:39:03.000Z
2020-04-01T14:01:23.000Z
"""Link to ``mapry.main`` so that you can execute it with ``python`` CLI.""" import sys import mapry.main if __name__ == "__main__": sys.exit(mapry.main.run(prog="mapry"))
19.888889
76
0.664804
28
179
3.964286
0.714286
0.243243
0
0
0
0
0
0
0
0
0
0
0.156425
179
8
77
22.375
0.735099
0.391061
0
0
0
0
0.126214
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
f65ac0eedabd1229f3ef273bd194acbc19de95ce
260
py
Python
December-05/python_kamali1511_csvtohtml.py
subinvelleringatt/A-December-of-Algorithms-2019
504e4a688726ce92e1414114ebace5ea1fc9ece7
[ "MIT" ]
228
2019-11-20T12:57:05.000Z
2021-12-09T03:35:09.000Z
December-05/python_kamali1511_csvtohtml.py
subinvelleringatt/A-December-of-Algorithms-2019
504e4a688726ce92e1414114ebace5ea1fc9ece7
[ "MIT" ]
29
2019-11-30T14:19:43.000Z
2020-01-17T17:38:28.000Z
December-05/python_kamali1511_csvtohtml.py
subinvelleringatt/A-December-of-Algorithms-2019
504e4a688726ce92e1414114ebace5ea1fc9ece7
[ "MIT" ]
188
2019-11-27T14:29:55.000Z
2021-12-25T02:18:29.000Z
import pandas csv_location = 'C:\\Users\\KAMALI\\Documents\\ACM.csv' html_location = 'C:\\Users\\KAMALI\\Desktop\\table.html' dfObj = pandas.read_csv(csv_location) htmlData = dfObj.to_html() with open(html_location, 'w') as infile: infile.write(htmlData)
21.666667
56
0.738462
38
260
4.894737
0.578947
0.11828
0.150538
0.215054
0
0
0
0
0
0
0
0
0.096154
260
11
57
23.636364
0.791489
0
0
0
0
0
0.293436
0.289575
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
f65acd232e8fbfd6fb6fb9d47b48f78f7cfaabe4
2,623
py
Python
tests/test_modules/test_system/test_iociconpart.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
11
2016-10-04T23:11:39.000Z
2022-01-25T15:44:43.000Z
tests/test_modules/test_system/test_iociconpart.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
153
2016-06-01T13:31:02.000Z
2022-03-31T11:17:18.000Z
tests/test_modules/test_system/test_iociconpart.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
16
2016-06-10T13:45:27.000Z
2020-10-24T13:45:04.000Z
import os import unittest from mock import ANY, patch from malcolm.core import Context, Process, StringMeta from malcolm.modules.ca.util import catools from malcolm.modules.scanning.controllers import RunnableController from malcolm.modules.system.parts import IocIconPart defaultIcon = "" with open( os.path.spli...
28.51087
88
0.629813
329
2,623
4.851064
0.322188
0.078947
0.075188
0.046992
0.350251
0.300125
0.300125
0.300125
0.276316
0.276316
0
0.007393
0.226458
2,623
91
89
28.824176
0.779202
0
0
0.202703
0
0
0.14411
0.11361
0
0
0
0
0.121622
1
0.067568
false
0
0.094595
0
0.202703
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f65c06725e5ddb8fb4ebfd63d95e68a494b80930
416
py
Python
aiida_mock_codes/_env_keys.py
greschd/aiida-mock-codes
004e0ca603899eabe57f2768812e9459d3e0e5a9
[ "Apache-2.0" ]
null
null
null
aiida_mock_codes/_env_keys.py
greschd/aiida-mock-codes
004e0ca603899eabe57f2768812e9459d3e0e5a9
[ "Apache-2.0" ]
1
2020-11-28T21:03:55.000Z
2020-11-30T12:40:45.000Z
aiida_mock_codes/_env_keys.py
greschd/aiida-mock-codes
004e0ca603899eabe57f2768812e9459d3e0e5a9
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Defines the environment variable names for the mock code execution. """ from enum import Enum class EnvKeys(Enum): """ An enum containing the environment variables defined for the mock code execution. """ LABEL = 'AIIDA_MOCK_LABEL' DATA_DIR = 'AIIDA_MOCK_DATA_DIR' ...
23.111111
67
0.706731
54
416
5.185185
0.537037
0.128571
0.071429
0.1
0.164286
0
0
0
0
0
0
0.003012
0.201923
416
17
68
24.470588
0.840361
0.413462
0
0
0
0
0.387097
0.225806
0
0
0
0
0
1
0
false
0
0.166667
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
f65d05ee6da3acc0082713c25be1c98fa8f80dcf
763
py
Python
Chapter03/Chapter3_sniifing/Chapter3_sniifing/Chapter_3_programs/arpspex.py
kaisaryousuf/Python-Penetration-Testing-Essentials-Second-Edition
f2a666b62826b4adc334a8e69ccbfe20b5cf12c2
[ "MIT" ]
18
2018-06-04T08:27:25.000Z
2022-02-24T02:08:51.000Z
Chapter03/Chapter3_sniifing/Chapter3_sniifing/Chapter_3_programs/arpspex.py
kaisaryousuf/Python-Penetration-Testing-Essentials-Second-Edition
f2a666b62826b4adc334a8e69ccbfe20b5cf12c2
[ "MIT" ]
null
null
null
Chapter03/Chapter3_sniifing/Chapter3_sniifing/Chapter_3_programs/arpspex.py
kaisaryousuf/Python-Penetration-Testing-Essentials-Second-Edition
f2a666b62826b4adc334a8e69ccbfe20b5cf12c2
[ "MIT" ]
11
2018-04-12T00:43:49.000Z
2022-03-13T18:24:55.000Z
import socket import struct import binascii s = socket.socket(socket.PF_PACKET, socket.SOCK_RAW, socket.ntohs(0x0800)) s.bind(("eth0",socket.htons(0x0800))) sor = '\x00\x0c\x29\x4f\x8e\x35' victmac ='\x88\x53\x2e\x0a\x75\x3f' gatemac = '\x84\x1b\x5e\x50\xc8\x6e' code ='\x08\x06' eth1 = victmac+sor+code #for victim e...
21.194444
74
0.711664
131
763
4.053435
0.48855
0.045198
0.037665
0.022599
0.116761
0.116761
0
0
0
0
0
0.106667
0.115334
763
35
75
21.8
0.68
0.028834
0
0
0
0
0.179104
0.097693
0
0
0.016282
0
0
1
0
false
0
0.12
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f65e003ea60103b50a34da17a8e176a9ae7573bb
2,049
py
Python
sentiments_in_political_speeches/main.py
Jana-Z/sentiments_in_german_political_speeches
4ef558c5872202a7899c660b3e600c165f3a6ce2
[ "MIT" ]
null
null
null
sentiments_in_political_speeches/main.py
Jana-Z/sentiments_in_german_political_speeches
4ef558c5872202a7899c660b3e600c165f3a6ce2
[ "MIT" ]
null
null
null
sentiments_in_political_speeches/main.py
Jana-Z/sentiments_in_german_political_speeches
4ef558c5872202a7899c660b3e600c165f3a6ce2
[ "MIT" ]
null
null
null
import os import numpy as np import pandas as pd import matplotlib.pyplot as plt import collections from itertools import cycle, islice from readability import plotter as read import speeches from emotions import data from emotions import stemmer from emotions import calculator from plotting import emotions_plott...
31.523077
96
0.674963
272
2,049
4.838235
0.279412
0.100304
0.086626
0.049392
0.378419
0.269757
0.224164
0.203647
0.203647
0.203647
0
0.001884
0.223036
2,049
64
97
32.015625
0.824749
0.030259
0
0.163636
0
0
0.085181
0.010585
0
0
0
0
0
0
null
null
0
0.236364
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
f65e8499d1c5b6cd15665f571e02ba58033f1920
4,749
py
Python
test/test_pipeline.py
MilesCranmer/bifrost
951dd4a449850d22cfd74f4db13ecf806fe5cc30
[ "BSD-3-Clause" ]
1
2017-06-27T10:12:44.000Z
2017-06-27T10:12:44.000Z
test/test_pipeline.py
MilesCranmer/bifrost
951dd4a449850d22cfd74f4db13ecf806fe5cc30
[ "BSD-3-Clause" ]
null
null
null
test/test_pipeline.py
MilesCranmer/bifrost
951dd4a449850d22cfd74f4db13ecf806fe5cc30
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2016, The Bifrost Authors. All rights reserved. # Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # * Redistributions of source code must r...
43.172727
73
0.730891
659
4,749
5.171472
0.3217
0.06162
0.049296
0.019953
0.359742
0.287559
0.277582
0.253521
0.232394
0.232394
0
0.011236
0.156665
4,749
109
74
43.568807
0.8397
0.355443
0
0.416667
0
0
0.061329
0.008177
0
0
0
0.009174
0.208333
0
null
null
0
0.083333
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
f66035f56d78b423d31ea48cacdd05224e0feb79
1,311
py
Python
snakypy/zshpower/prompt/sections/hostname.py
williamcanin/zshpower
797533b60cd7f9dbd8cf2162db9a19d970a7be33
[ "MIT" ]
10
2020-04-03T20:39:44.000Z
2021-12-09T22:26:56.000Z
snakypy/zshpower/prompt/sections/hostname.py
williamcanin/zshpower
797533b60cd7f9dbd8cf2162db9a19d970a7be33
[ "MIT" ]
9
2021-05-15T13:26:48.000Z
2021-11-15T07:03:00.000Z
snakypy/zshpower/prompt/sections/hostname.py
williamcanin/zshpower
797533b60cd7f9dbd8cf2162db9a19d970a7be33
[ "MIT" ]
2
2020-04-22T08:50:11.000Z
2021-06-23T05:03:02.000Z
from os import environ as os_environ from socket import gethostname from snakypy.zshpower.utils.catch import get_key from .utils import Color, element_spacing, symbol_ssh class Hostname: def __init__(self, config: dict): self.config: dict = config self.symbol = symbol_ssh(get_key(config, "hostn...
34.5
83
0.592677
150
1,311
4.926667
0.266667
0.129905
0.081191
0.135318
0.244926
0
0
0
0
0
0
0
0.283753
1,311
37
84
35.432432
0.787007
0
0
0
0
0
0.218917
0.115942
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6618a1b92f87b0c01aea0561400b4b29521929e
9,067
py
Python
src/main/resources/templates/c/gcc/test/testUtils/AbstractTest.py
AutoscanForJavaFork/Artemis
43a1da12e5dc6a2f54ec8c29f9f4512520fb0c46
[ "MIT" ]
213
2019-06-20T19:22:05.000Z
2022-03-29T14:49:53.000Z
src/main/resources/templates/c/gcc/test/testUtils/AbstractTest.py
AutoscanForJavaFork/Artemis
43a1da12e5dc6a2f54ec8c29f9f4512520fb0c46
[ "MIT" ]
2,992
2019-06-19T13:40:38.000Z
2022-03-31T21:17:12.000Z
src/main/resources/templates/c/test/testUtils/AbstractTest.py
FreshLlamanade/Artemis
19d971ea76e0218cc21936da567b5e2cc3c200e4
[ "MIT" ]
365
2019-07-30T11:30:58.000Z
2022-03-22T07:23:16.000Z
from abc import ABC, abstractmethod from traceback import print_exc from signal import SIGALRM, SIG_IGN, alarm, signal from datetime import datetime, timedelta from contextlib import contextmanager from typing import Optional, List, Dict from os import path, makedirs from io import TextIOWrapper from testUtils.junit.Te...
32.851449
159
0.598654
991
9,067
5.399596
0.275479
0.020931
0.00841
0.013455
0.224444
0.173239
0.164642
0.130817
0.114745
0.114745
0
0.002089
0.313555
9,067
275
160
32.970909
0.857648
0.251792
0
0.255319
0
0.014184
0.116513
0.015233
0
0
0
0
0
1
0.141844
false
0.028369
0.085106
0
0.35461
0.078014
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f661cc62c8f1f288fdb74e3ee65e3731208bb505
311
py
Python
bassl/pretrain/__init__.py
kakaobrain/bassl
551fe94343debf60a64c787be6752284153a0f7a
[ "Apache-2.0" ]
55
2022-01-17T02:18:40.000Z
2022-03-25T08:24:28.000Z
bassl/finetune/__init__.py
kakaobrain/bassl
551fe94343debf60a64c787be6752284153a0f7a
[ "Apache-2.0" ]
5
2022-01-18T01:59:49.000Z
2022-03-24T00:20:35.000Z
bassl/finetune/__init__.py
kakaobrain/bassl
551fe94343debf60a64c787be6752284153a0f7a
[ "Apache-2.0" ]
1
2022-01-23T10:50:15.000Z
2022-01-23T10:50:15.000Z
# ------------------------------------------------------------------------------------ # BaSSL # Copyright (c) 2021 KakaoBrain. All Rights Reserved. # Licensed under the Apache License, Version 2.0 [see LICENSE for details] # ------------------------------------------------------------------------------------
51.833333
86
0.334405
20
311
5.2
0.95
0
0
0
0
0
0
0
0
0
0
0.021053
0.083601
311
5
87
62.2
0.34386
0.96463
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
f66373f676f7fc2f78b1b39bfeacfa7e3aaf7994
3,574
py
Python
thirdweb/types/nft.py
nftlabs/nftlabs-sdk-python
ea533142dc0881872b347cd8ce635dc0bfff3153
[ "Apache-2.0" ]
30
2021-10-31T13:17:58.000Z
2022-02-04T13:41:13.000Z
thirdweb/types/nft.py
nftlabs/nftlabs-sdk-python
ea533142dc0881872b347cd8ce635dc0bfff3153
[ "Apache-2.0" ]
36
2021-11-03T20:30:38.000Z
2022-02-14T10:15:40.000Z
thirdweb/types/nft.py
nftlabs/nftlabs-sdk-python
ea533142dc0881872b347cd8ce635dc0bfff3153
[ "Apache-2.0" ]
10
2021-11-10T19:59:41.000Z
2022-01-21T21:26:55.000Z
from dataclasses import dataclass from typing import Any, Dict, Optional, Union @dataclass class NFTMetadataInput: """ The metadata of an NFT to mint You can use the NFTMetadataInput.from_json(json) method to create an instance of this class from a dictionary. :param name: The name of the NFT ...
27.705426
69
0.628707
421
3,574
5.268409
0.159145
0.044184
0.067628
0.041028
0.359333
0.329125
0.329125
0.329125
0.329125
0.329125
0
0.001541
0.273643
3,574
128
70
27.921875
0.852851
0.181309
0
0.511364
0
0
0.096457
0
0
0
0
0
0
1
0.034091
false
0
0.022727
0.022727
0.488636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f663a3710764487e9930ac48b883d9c2b9f1ba2a
5,304
py
Python
hello.py
jvns/git-workflow
f67c12b444a2a9eaf6d677cee093b44d9359fa3b
[ "MIT" ]
205
2015-01-07T07:33:17.000Z
2022-03-10T15:36:48.000Z
hello.py
usmanakram232/git-workflow
f67c12b444a2a9eaf6d677cee093b44d9359fa3b
[ "MIT" ]
3
2015-11-28T23:40:54.000Z
2021-07-08T01:11:23.000Z
hello.py
usmanakram232/git-workflow
f67c12b444a2a9eaf6d677cee093b44d9359fa3b
[ "MIT" ]
28
2015-02-18T16:35:04.000Z
2022-02-03T07:30:29.000Z
from flask import Flask, render_template, jsonify, request, g, abort import pandas as pd import networkx as nx import pygraphviz as pgv import json import tempfile import numpy as np import brewer2mpl from StringIO import StringIO import psycopg2 import urlparse import os app = Flask(__name__) app.config['DEBUG'] = T...
30.65896
109
0.637821
742
5,304
4.40566
0.300539
0.039768
0.019272
0.02019
0.087489
0.075252
0.019578
0
0
0
0
0.010875
0.219834
5,304
172
110
30.837209
0.77912
0.014517
0
0.075862
0
0
0.104799
0.009207
0
0
0
0
0
0
null
null
0.013793
0.082759
null
null
0.006897
0
0
0
null
0
0
0
0
0
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
f664121a0591f3c49d3c27c79769fde8a288b705
4,530
py
Python
fn_whois_rdap/fn_whois_rdap/util/helper.py
khirazo/resilient-community-apps
76d21d899945a5458203d6ba9cfaaf9907b395b2
[ "MIT" ]
null
null
null
fn_whois_rdap/fn_whois_rdap/util/helper.py
khirazo/resilient-community-apps
76d21d899945a5458203d6ba9cfaaf9907b395b2
[ "MIT" ]
null
null
null
fn_whois_rdap/fn_whois_rdap/util/helper.py
khirazo/resilient-community-apps
76d21d899945a5458203d6ba9cfaaf9907b395b2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # (c) Copyright IBM Corp. 2019. All Rights Reserved. # pragma pylint: disable=unused-argument, no-self-use import socket from past.builtins import basestring, unicode import tldextract import logging import time import traceback from ipwhois import IPWhois, exceptions from datetime import date...
31.901408
112
0.678587
567
4,530
5.216931
0.275132
0.033469
0.062204
0.078431
0.405003
0.361731
0.288032
0.242055
0.210277
0.210277
0
0.00569
0.224062
4,530
141
113
32.12766
0.835846
0.179912
0
0.247191
0
0
0.0266
0
0
0
0
0
0
1
0.089888
false
0.011236
0.101124
0
0.292135
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f66596fd7558631f8b9f361150e7e02c8bbae04c
2,086
py
Python
unity-environment/Learning/plot_with_std.py
KooroshNaderi/UnityClimberAgent
1953dc6786872304a2fd19140f685895557ad052
[ "Apache-2.0" ]
null
null
null
unity-environment/Learning/plot_with_std.py
KooroshNaderi/UnityClimberAgent
1953dc6786872304a2fd19140f685895557ad052
[ "Apache-2.0" ]
6
2019-12-23T21:43:11.000Z
2022-02-10T00:40:39.000Z
unity-environment/Learning/plot_with_std.py
KooroshNaderi/UnityClimberAgent
1953dc6786872304a2fd19140f685895557ad052
[ "Apache-2.0" ]
null
null
null
''' Created on Oct 4, 2017 @author: amin ''' from __future__ import division, print_function from matplotlib import pyplot as plt import numpy as np import matplotlib import os # Set some parameters to apply to all plots. These can be overridden # in each plot if desired # Plot size to 14" x 7" matplotlib.rc('figure...
33.111111
119
0.645733
338
2,086
3.87574
0.37574
0.045802
0.030534
0.032061
0.145802
0.070229
0.035115
0.035115
0.035115
0
0
0.026029
0.208054
2,086
62
120
33.645161
0.766949
0.183605
0
0
0
0
0.103142
0
0
0
0
0
0
1
0
false
0
0.113636
0
0.113636
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f666a22d035d3d4a25437e0747c3477add75b192
3,373
py
Python
docker/laaws-demo-webui/cgi-bin/text-search.py
lockss/laaws-demo
f7aeb1b3a15f5955ae7ab41b64b5e45d07e0433e
[ "BSD-3-Clause" ]
null
null
null
docker/laaws-demo-webui/cgi-bin/text-search.py
lockss/laaws-demo
f7aeb1b3a15f5955ae7ab41b64b5e45d07e0433e
[ "BSD-3-Clause" ]
null
null
null
docker/laaws-demo-webui/cgi-bin/text-search.py
lockss/laaws-demo
f7aeb1b3a15f5955ae7ab41b64b5e45d07e0433e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import requests import json import cgi import cgitb import sys cgitb.enable(display=0, logdir="/usr/local/apache2/logs/cgitb") # URL prefix for SOLR query service # XXX should work with both EDINA and BL service = "http://laaws-indexer-solr:8983/solr/test-core/select" # URL prefix for OpenWayba...
35.505263
106
0.558257
401
3,373
4.680798
0.36409
0.096963
0.012786
0.011721
0.05967
0.044752
0.044752
0.044752
0
0
0
0.011693
0.315446
3,373
94
107
35.882979
0.801213
0.137563
0
0.121622
0
0
0.209744
0.017623
0.013514
0
0
0
0
1
0.013514
false
0
0.067568
0
0.094595
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f66747f467bda95dc0b3cabad44bd181726ed982
4,682
py
Python
src/Dijkstra.py
CATHY0706/Dijkstra_tsp
efbfe88410d2dfa8b5f25f0b85e9309d283dbfeb
[ "Apache-2.0" ]
null
null
null
src/Dijkstra.py
CATHY0706/Dijkstra_tsp
efbfe88410d2dfa8b5f25f0b85e9309d283dbfeb
[ "Apache-2.0" ]
null
null
null
src/Dijkstra.py
CATHY0706/Dijkstra_tsp
efbfe88410d2dfa8b5f25f0b85e9309d283dbfeb
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Tianyi Zhang and Botao Gao Created on Tue Dec 1st 14:03:37 2020 Based on the code found in tutorial at this website: 'https://blog.csdn.net/u014798883/article/details/106200697' """ def dijkstra(adjacency_matrix, start, path, cost, max): """ ...
44.590476
124
0.602307
676
4,682
4.093195
0.279586
0.035417
0.043368
0.019516
0.122515
0.091073
0.091073
0.091073
0.091073
0.061438
0
0.093898
0.324434
4,682
104
125
45.019231
0.780904
0.519436
0
0
0
0
0.023426
0
0
0
0
0
0
1
0.02439
false
0
0
0
0.04878
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6682ef64e0abbac8e8a75420b895edbc5772431
250
py
Python
OOPs/inheritance.py
Shivams9/pythoncodecamp
e6cd27f4704a407ee360414a8c9236b254117a59
[ "MIT" ]
6
2021-08-04T08:15:22.000Z
2022-02-02T11:15:56.000Z
OOPs/inheritance.py
Maurya232Abhishek/Python-repository-for-basics
3dcec5c529a0847df07c9dcc1424675754ce6376
[ "MIT" ]
14
2021-08-02T06:28:00.000Z
2022-03-25T10:44:15.000Z
OOPs/inheritance.py
Maurya232Abhishek/Python-repository-for-basics
3dcec5c529a0847df07c9dcc1424675754ce6376
[ "MIT" ]
6
2021-07-16T04:56:41.000Z
2022-02-16T04:40:06.000Z
class A: def f1(self): print("F1 in A") class B: def f2(self): print("F2 in B") def f1(self): print("F1 in B") class C(A,B): def f(self): A().f1() B().f1() c = C() c.f1() c.f2() c.f()
13.157895
24
0.404
44
250
2.295455
0.25
0.267327
0.178218
0.277228
0.356436
0.356436
0
0
0
0
0
0.065359
0.388
250
18
25
13.888889
0.594771
0
0
0.125
0
0
0.084
0
0
0
0
0
0
1
0.25
false
0
0
0
0.4375
0.1875
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f66acfa950756b0265e49ea6bcbefcc97bbaa364
187
py
Python
lead_manager/venv/Scripts/django-admin.py
MartinMwiti/Django-React-Apps
1e4c91faeda9d129142d4dbe7fd95a70c7a58d5d
[ "MIT" ]
null
null
null
lead_manager/venv/Scripts/django-admin.py
MartinMwiti/Django-React-Apps
1e4c91faeda9d129142d4dbe7fd95a70c7a58d5d
[ "MIT" ]
21
2021-03-11T00:34:32.000Z
2022-03-12T00:39:44.000Z
lead_manager/venv/Scripts/django-admin.py
MartinMwiti/Django-React-Apps
1e4c91faeda9d129142d4dbe7fd95a70c7a58d5d
[ "MIT" ]
null
null
null
#!d:\software development\django-react-apps\lead_manager\venv\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
31.166667
80
0.802139
25
187
5.52
0.88
0
0
0
0
0
0
0
0
0
0
0
0.085562
187
5
81
37.4
0.807018
0.42246
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
f66f9216ccf7018139eacffb698b267bfd4e1bbc
2,189
py
Python
examples/webapp_flask.py
avalente/appmetrics
366fc7e1ca897e49a2227cbfa43bfa02a47f1acc
[ "Apache-2.0" ]
60
2015-01-19T05:32:32.000Z
2021-06-08T07:35:02.000Z
examples/webapp_flask.py
alexKeleon/appmetrics
366fc7e1ca897e49a2227cbfa43bfa02a47f1acc
[ "Apache-2.0" ]
6
2015-03-02T19:25:02.000Z
2021-03-27T17:26:07.000Z
examples/webapp_flask.py
alexKeleon/appmetrics
366fc7e1ca897e49a2227cbfa43bfa02a47f1acc
[ "Apache-2.0" ]
12
2015-01-19T05:04:14.000Z
2020-09-08T07:49:54.000Z
""" simple flask application to show appmetrics usage. """ # a couple of endpoints are defined and a couple of metrics # measuring throughput and latency for each endpoint plus one # for the global throughput # # of course, flask must be installed (pip install flask) # Example: # # $ python examples/webapp_flask.py ...
32.191176
394
0.734125
241
2,189
6.560166
0.406639
0.041746
0.043011
0.053131
0.110057
0.084756
0
0
0
0
0
0.279255
0.14116
2,189
67
395
32.671642
0.561702
0.561444
0
0.137931
0
0
0.130388
0
0
0
0
0
0
1
0.068966
false
0
0.103448
0
0.241379
0
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
f6715c20809e2e51e6fcf8fa73b5bb43564256b6
29,278
py
Python
game/particle/p4system.py
Sipondo/ulix-dexflow
de46482fe08e3d600dd5da581f0524b55e5df961
[ "MIT" ]
5
2021-06-25T16:44:38.000Z
2021-12-31T01:29:00.000Z
game/particle/p4system.py
Sipondo/ulix-dexflow
de46482fe08e3d600dd5da581f0524b55e5df961
[ "MIT" ]
null
null
null
game/particle/p4system.py
Sipondo/ulix-dexflow
de46482fe08e3d600dd5da581f0524b55e5df961
[ "MIT" ]
1
2021-06-25T20:33:47.000Z
2021-06-25T20:33:47.000Z
import moderngl from .p4dyna.equation import Equation from numpy.random import random class ParticleSystem: def __init__(self, game, brender, fname, target, miss, move_data): self.game = game self.brender = brender # meh self.N = 500000 self.particles = 0 self.fname = fnam...
35.661389
132
0.546622
3,660
29,278
4.21694
0.088525
0.086173
0.060581
0.08261
0.600492
0.51406
0.415576
0.341195
0.303356
0.287482
0
0.01079
0.319455
29,278
820
133
35.704878
0.763814
0.049559
0
0.3552
0
0.0048
0.07984
0.007995
0
0
0
0.00122
0
1
0.0832
false
0.0096
0.0048
0.0096
0.1296
0.0032
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f6723d1d3ec3bf091fc0f8a529233ad8594ca943
1,764
py
Python
server/comm/tests/IpcCommTest.py
belre/DllWrapper-Win32Pipe
e2a81689cb3018a8ee79a9d5e38d0f32dc979997
[ "MIT" ]
null
null
null
server/comm/tests/IpcCommTest.py
belre/DllWrapper-Win32Pipe
e2a81689cb3018a8ee79a9d5e38d0f32dc979997
[ "MIT" ]
null
null
null
server/comm/tests/IpcCommTest.py
belre/DllWrapper-Win32Pipe
e2a81689cb3018a8ee79a9d5e38d0f32dc979997
[ "MIT" ]
null
null
null
import unittest from comm import IpcComm from comm import IpcTransmitter import json class IpcCommTest(unittest.TestCase): def setUp(self): pass def test_IpcCommTest_0011(self): """ テストケースNo.11 """ ### No.11-1 コンストラクタ生成 ### try: com_obj = IpcComm...
23.837838
101
0.475624
192
1,764
4.317708
0.286458
0.038601
0.135103
0.135103
0.595899
0.523522
0.500603
0.377563
0.377563
0.377563
0
0.050577
0.361111
1,764
73
102
24.164384
0.685004
0.105442
0
0.622222
0
0
0.056441
0
0
0
0
0
0.177778
1
0.066667
false
0.044444
0.088889
0
0.177778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f672cd8f72a56c9f5ec0fdbb9ba4d18a17feb3e0
10,093
py
Python
scqubits/io_utils/fileio_serializers.py
saipavanc/scqubits
a99ff75498110558c64e6a6e276834e5714793a5
[ "BSD-3-Clause" ]
108
2019-12-14T16:08:04.000Z
2022-03-21T03:48:33.000Z
scqubits/io_utils/fileio_serializers.py
saipavanc/scqubits
a99ff75498110558c64e6a6e276834e5714793a5
[ "BSD-3-Clause" ]
62
2019-12-14T02:41:00.000Z
2022-02-06T07:32:42.000Z
scqubits/io_utils/fileio_serializers.py
saipavanc/scqubits
a99ff75498110558c64e6a6e276834e5714793a5
[ "BSD-3-Clause" ]
46
2019-12-21T12:13:11.000Z
2022-03-31T17:09:53.000Z
# fileio_serializers.py # # This file is part of scqubits: a Python package for superconducting qubits, # arXiv:2107.08552 (2021). https://arxiv.org/abs/2107.08552 # # Copyright (c) 2019 and later, Jens Koch and Peter Groszkowski # All rights reserved. # # This source code is licensed under the BSD-style licen...
30.218563
89
0.661151
1,235
10,093
5.234008
0.176518
0.031405
0.065749
0.029239
0.384901
0.375155
0.342203
0.332766
0.280167
0.26547
0
0.003442
0.222729
10,093
333
90
30.309309
0.820523
0.211434
0
0.362162
0
0
0.034574
0
0
0
0
0
0
1
0.135135
false
0
0.097297
0.005405
0.389189
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f672f9dedd21cb0b5ca593d026104393d22f9ce8
39
py
Python
lhotse/tools/__init__.py
csukuangfj/lhotse
9b12055ca75718914c5457b33e498d1c8e8b86d8
[ "Apache-2.0" ]
353
2020-10-31T10:38:51.000Z
2022-03-30T05:22:52.000Z
lhotse/tools/__init__.py
csukuangfj/lhotse
9b12055ca75718914c5457b33e498d1c8e8b86d8
[ "Apache-2.0" ]
353
2020-10-27T23:25:12.000Z
2022-03-31T22:16:05.000Z
lhotse/tools/__init__.py
csukuangfj/lhotse
9b12055ca75718914c5457b33e498d1c8e8b86d8
[ "Apache-2.0" ]
66
2020-11-01T06:08:08.000Z
2022-03-29T02:03:07.000Z
from .sph2pipe import install_sph2pipe
19.5
38
0.871795
5
39
6.6
0.8
0
0
0
0
0
0
0
0
0
0
0.057143
0.102564
39
1
39
39
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
f6748a527fcca89db5882d6c5fe0f761006224a7
2,328
py
Python
dolphin/api/v1/access_info.py
ThisIsClark/dolphin
204cffd3faa1c83fde90942537737fe441406cd1
[ "Apache-2.0" ]
null
null
null
dolphin/api/v1/access_info.py
ThisIsClark/dolphin
204cffd3faa1c83fde90942537737fe441406cd1
[ "Apache-2.0" ]
null
null
null
dolphin/api/v1/access_info.py
ThisIsClark/dolphin
204cffd3faa1c83fde90942537737fe441406cd1
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 The SODA Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
36.375
79
0.707904
290
2,328
5.544828
0.413793
0.099502
0.034826
0.019901
0.121891
0.121891
0.121891
0.121891
0.121891
0.121891
0
0.004384
0.216065
2,328
63
80
36.952381
0.876712
0.270189
0
0.162162
0
0
0.0179
0
0
0
0
0
0
1
0.108108
false
0
0.216216
0.027027
0.432432
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f674f950bc65f3ca25e588c8f6a8f3b548831ffe
1,826
py
Python
Pokemon/LegendaryPokemonKNN.py
pranavj1001/MachineLearningRecipes
513e24ba0b5a8994158131cb0c84e779eee78c68
[ "MIT" ]
2
2018-01-14T06:14:44.000Z
2018-01-15T15:35:07.000Z
Pokemon/LegendaryPokemonKNN.py
pranavj1001/MachineLearningRecipes
513e24ba0b5a8994158131cb0c84e779eee78c68
[ "MIT" ]
null
null
null
Pokemon/LegendaryPokemonKNN.py
pranavj1001/MachineLearningRecipes
513e24ba0b5a8994158131cb0c84e779eee78c68
[ "MIT" ]
2
2019-06-10T09:01:20.000Z
2019-12-05T01:10:48.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Nov 24 23:08:26 2017 @author: pranavjain This model classifies a pokemon as legendary or not-legendary. Required Data to predict Hit Points, Attack Points, Defence Points, Special Attack Points, Special Defence Points, Speed Points """ # import libra...
30.949153
127
0.766703
288
1,826
4.760417
0.482639
0.040117
0.021882
0.030635
0.122538
0.122538
0.122538
0.122538
0.122538
0.122538
0
0.036492
0.144578
1,826
58
128
31.482759
0.841229
0.451807
0
0
0
0
0.044012
0
0
0
0
0
0
1
0
false
0
0.291667
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f675b2a5f4cdacd4a31a0ac2238ec1c5c5d23ed6
4,392
py
Python
test/test_builder.py
equinor/curvy
791a2202f02fd0c86797d7052deeca50333e66f6
[ "MIT" ]
3
2021-03-17T01:00:50.000Z
2021-06-20T03:17:50.000Z
test/test_builder.py
Statoil/curvy
791a2202f02fd0c86797d7052deeca50333e66f6
[ "MIT" ]
1
2022-02-11T16:57:29.000Z
2022-02-13T19:56:59.000Z
test/test_builder.py
Statoil/curvy
791a2202f02fd0c86797d7052deeca50333e66f6
[ "MIT" ]
3
2019-03-11T12:17:03.000Z
2022-02-15T03:37:27.000Z
import unittest from curvy import builder, axis import datetime import numpy as np taus = [[2,5],[5,7],[7,11]] prices = [3,5,4] knots = [5,7] class TestBuilderMethods(unittest.TestCase): def test_calc_H(self): H = np.load('test/test_files/H.npy') np.testing.assert_array_equal( builder...
30.289655
92
0.589936
575
4,392
4.194783
0.149565
0.100332
0.058043
0.08126
0.619818
0.527363
0.473466
0.41874
0.333748
0.249585
0
0.025147
0.302823
4,392
145
93
30.289655
0.762573
0.133424
0
0.262136
0
0
0.099075
0.096962
0
0
0
0
0.135922
1
0.097087
false
0
0.038835
0
0.145631
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f67699a54e5a98e0d273159f57f639b8fe6cfffb
2,091
py
Python
steps/make/npm.py
flipcoder/siege-tools
df8a9fa5a4a6f2bcce4789cebe17b0c4dd3f7e60
[ "MIT" ]
6
2015-08-14T15:26:38.000Z
2019-11-14T01:08:31.000Z
steps/make/npm.py
flipcoder/siege-tools
df8a9fa5a4a6f2bcce4789cebe17b0c4dd3f7e60
[ "MIT" ]
null
null
null
steps/make/npm.py
flipcoder/siege-tools
df8a9fa5a4a6f2bcce4789cebe17b0c4dd3f7e60
[ "MIT" ]
1
2019-05-10T04:52:40.000Z
2019-05-10T04:52:40.000Z
#!/usr/bin/env python import os import sgmake import subprocess import json from common import Status from common import Settings from common import Support from common import call def make(project): try: project.npmpath = os.path.abspath(os.path.expanduser(Settings.get('npm_path'))) except: pr...
27.155844
91
0.573888
242
2,091
4.933884
0.285124
0.080402
0.090452
0.143216
0.417923
0.396985
0.28727
0.264657
0.197655
0.128978
0
0
0.297944
2,091
76
92
27.513158
0.813352
0.159254
0
0.291667
0
0
0.10786
0
0
0
0
0
0
1
0.041667
false
0
0.166667
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0