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
e0fe0415316c414b1ca979fc6bc2d0bb2366825f
606
py
Python
tests/test_stats.py
RushanKhan1/mltype
a082bf66e5425bac16d7ffc1249c9994821fca4f
[ "MIT" ]
351
2020-10-30T03:36:22.000Z
2022-03-20T11:35:40.000Z
tests/test_stats.py
surazkarn/mltype
5d7aa9d56701ad297ed3f5e29bb92c38dd6d4e8e
[ "MIT" ]
76
2020-10-10T08:44:49.000Z
2022-03-31T09:26:10.000Z
tests/test_stats.py
surazkarn/mltype
5d7aa9d56701ad297ed3f5e29bb92c38dd6d4e8e
[ "MIT" ]
20
2020-11-01T02:24:58.000Z
2022-03-05T06:15:11.000Z
"""Collection of tests covering stats.py""" from mltype.base import TypedText from mltype.stats import times_per_character def test_time_per_character(): text = "hello" tt = TypedText(text) tt.type_character(0, "h") # first caracter does not count tt.type_character(1, "e") tt.type_character(2, ...
25.25
62
0.646865
89
606
4.258427
0.460674
0.094987
0.237467
0.084433
0
0
0
0
0
0
0
0.018634
0.20297
606
23
63
26.347826
0.766046
0.141914
0
0
0
0
0.027344
0
0
0
0
0
0.25
1
0.0625
false
0
0.125
0
0.1875
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
460629c6e263bf9ca23529de3abffd3f7c01ad16
5,689
py
Python
regressiontests/test-coverage.py
Arvada13/SEO-Marketing-Reseller-White-Label-Hosting
2a088f53c8c04b423072a78d7a0b9db48c6ea8c8
[ "BSD-3-Clause" ]
137
2015-01-15T04:53:39.000Z
2022-02-14T06:04:32.000Z
regressiontests/test-coverage.py
Arvada13/SEO-Marketing-Reseller-White-Label-Hosting
2a088f53c8c04b423072a78d7a0b9db48c6ea8c8
[ "BSD-3-Clause" ]
14
2015-02-23T20:13:57.000Z
2017-07-05T13:59:47.000Z
regressiontests/test-coverage.py
Arvada13/SEO-Marketing-Reseller-White-Label-Hosting
2a088f53c8c04b423072a78d7a0b9db48c6ea8c8
[ "BSD-3-Clause" ]
69
2015-01-04T14:00:35.000Z
2022-03-01T14:12:00.000Z
#!/usr/bin/env python """ Run Django Tests with full test coverage This starts coverage early enough to get all of the model loading & other startup code. It also allows you to change the output location from $PROJECT_ROOT/coverage by setting the $TEST_COVERAGE_OUTPUT_DIR environmental variable. This is a customised...
36.235669
129
0.641765
739
5,689
4.811908
0.364005
0.022778
0.011249
0.011811
0.067492
0.024747
0.024747
0
0
0
0
0.006129
0.225699
5,689
156
130
36.467949
0.801135
0.24187
0
0.195402
0
0
0.192799
0.099139
0
0
0
0
0
0
null
null
0.011494
0.137931
null
null
0.103448
0
0
0
null
0
0
0
0
0
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
4608fc78df27e5b1fbcdc021d7ea0210d24f1b88
402
py
Python
core/migrations/0014_auto_20210127_0404.py
Braineanear/AL3wn
b523d25386a8b2e45487d1b9d2c78cead623c1e6
[ "Apache-2.0" ]
null
null
null
core/migrations/0014_auto_20210127_0404.py
Braineanear/AL3wn
b523d25386a8b2e45487d1b9d2c78cead623c1e6
[ "Apache-2.0" ]
null
null
null
core/migrations/0014_auto_20210127_0404.py
Braineanear/AL3wn
b523d25386a8b2e45487d1b9d2c78cead623c1e6
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-27 02:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0013_auto_20210127_0313'), ] operations = [ migrations.AlterField( model_name='outerexam', nam...
21.157895
51
0.569652
42
402
5.333333
0.857143
0
0
0
0
0
0
0
0
0
0
0.124542
0.320896
402
18
52
22.333333
0.695971
0.11194
0
0
1
0
0.118694
0.068249
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
460b68c25e002f7300bf0645e931e1b0b040b251
2,279
py
Python
tests/opentracing_instrumentation/test_mysqldb.py
rsinner99/opentracing-python-instrumentation
5eedaf52052d9878b7f258cbafaae8410d948ba9
[ "MIT" ]
176
2016-03-18T00:47:07.000Z
2022-03-03T09:16:04.000Z
tests/opentracing_instrumentation/test_mysqldb.py
rsinner99/opentracing-python-instrumentation
5eedaf52052d9878b7f258cbafaae8410d948ba9
[ "MIT" ]
108
2016-02-04T15:37:24.000Z
2022-02-07T17:42:49.000Z
tests/opentracing_instrumentation/test_mysqldb.py
rsinner99/opentracing-python-instrumentation
5eedaf52052d9878b7f258cbafaae8410d948ba9
[ "MIT" ]
63
2016-01-20T20:17:31.000Z
2022-02-23T06:43:00.000Z
import sys import pytest from opentracing.ext import tags from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from opentracing_instrumentation.client_hooks import mysqldb as mysqldb_hooks from opentracing_instrumentation.request_context import span_in_context from .sql_common import metadata...
28.848101
77
0.724002
303
2,279
5.221122
0.346535
0.063211
0.037927
0.021492
0
0
0
0
0
0
0
0.00914
0.183853
2,279
78
78
29.217949
0.841398
0.028521
0
0.118644
0
0
0.082731
0.012206
0
0
0
0
0.186441
1
0.084746
false
0.050847
0.152542
0
0.271186
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
460d248ca301f66d2bcc7c74f58da151c6d16aa6
10,153
py
Python
smartsim_md_thetagpu.py
CrayLabs/smartsim-openmm
ba5f2b562d3f9f73922099dc744b852b0de49144
[ "BSD-2-Clause" ]
5
2021-10-16T08:46:36.000Z
2022-01-06T04:36:54.000Z
smartsim_md_thetagpu.py
CrayLabs/smartsim-openmm
ba5f2b562d3f9f73922099dc744b852b0de49144
[ "BSD-2-Clause" ]
null
null
null
smartsim_md_thetagpu.py
CrayLabs/smartsim-openmm
ba5f2b562d3f9f73922099dc744b852b0de49144
[ "BSD-2-Clause" ]
1
2022-02-07T21:24:03.000Z
2022-02-07T21:24:03.000Z
import os, time import numpy as np from smartsim import Experiment from smartredis import Client, Dataset from smartsim_utils import put_text_file from thetagpu.thetagpu_utils import generate_rankfiles, assign_hosts TINY = False base_path = os.path.abspath(os.curdir) gpus_per_node = 8 # 1 on Cray XC-50 INTERFACE="...
39.972441
124
0.581503
1,245
10,153
4.432129
0.192771
0.04585
0.023922
0.01776
0.374049
0.274556
0.245379
0.208953
0.189561
0.178688
0
0.009565
0.310056
10,153
253
125
40.130435
0.778158
0.060967
0
0.100592
1
0
0.143174
0.059445
0
0
0
0
0
1
0.047337
false
0
0.035503
0
0.112426
0.053254
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
461579875fe59e47dc839fa35474701797092522
1,181
py
Python
web/blueprints/infrastructure/forms.py
agdsn/pycroft
ea771141d59c88fdb8a782eafbe106240550a33a
[ "Apache-2.0" ]
18
2016-04-20T19:00:56.000Z
2021-12-19T16:43:57.000Z
web/blueprints/infrastructure/forms.py
agdsn/pycroft
ea771141d59c88fdb8a782eafbe106240550a33a
[ "Apache-2.0" ]
461
2016-07-20T00:42:59.000Z
2022-03-25T17:03:07.000Z
web/blueprints/infrastructure/forms.py
agdsn/pycroft
ea771141d59c88fdb8a782eafbe106240550a33a
[ "Apache-2.0" ]
15
2016-07-15T18:46:43.000Z
2021-03-17T20:08:39.000Z
from flask_wtf import FlaskForm as Form from wtforms.validators import DataRequired, IPAddress from pycroft.model.net import VLAN from web.blueprints.facilities.forms import SelectRoomForm from wtforms_widgets.fields.core import TextField, QuerySelectField, \ QuerySelectMultipleField from wtforms_widgets.fields.fi...
42.178571
94
0.683319
126
1,181
6.253968
0.47619
0.041878
0.045685
0.060914
0.134518
0.134518
0.134518
0.134518
0
0
0
0.00216
0.215919
1,181
27
95
43.740741
0.848812
0
0
0
0
0
0.065199
0
0
0
0
0
0
1
0.05
false
0
0.3
0.05
0.75
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
1
0
0
1
1ca75468fe65dc468b3e9e33753c055f4b09bd13
2,765
py
Python
TumFoodCam/classification/deep/nets/net_nouri2_cnn.py
felixSchober/Deep-Food
1cac55e945949cb5a04d742b35c023379a162c34
[ "MIT" ]
6
2018-05-30T09:19:46.000Z
2020-02-13T19:38:17.000Z
TumFoodCam/classification/deep/nets/net_nouri2_cnn.py
Jorba123/Deep-Food
1cac55e945949cb5a04d742b35c023379a162c34
[ "MIT" ]
null
null
null
TumFoodCam/classification/deep/nets/net_nouri2_cnn.py
Jorba123/Deep-Food
1cac55e945949cb5a04d742b35c023379a162c34
[ "MIT" ]
3
2018-03-25T07:53:09.000Z
2018-06-13T14:17:35.000Z
import theano import lasagne from lasagne import layers, nonlinearities from nolearn.lasagne import NeuralNet from lasagne.updates import nesterov_momentum from misc import utils import data_io.settings as Settings import numpy as np class net_nouri2_cnn(object): """ Net 2 used in Daniel Nouris ...
34.135802
184
0.594937
296
2,765
5.334459
0.442568
0.050665
0.018999
0.037999
0.08993
0.051932
0.051932
0.051932
0
0
0
0.076638
0.315732
2,765
80
185
34.5625
0.757928
0.031826
0
0
0
0
0.047464
0.021871
0
0
0
0
0
0
null
null
0
0.173913
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
1ca7cd98ff57640b2a87c85f1acfb5f0211497c1
3,251
py
Python
tests/utils/test_utilities.py
clatlan/bcdi
afd50b474995378556195c007dc20316dcbc32af
[ "CECILL-B" ]
null
null
null
tests/utils/test_utilities.py
clatlan/bcdi
afd50b474995378556195c007dc20316dcbc32af
[ "CECILL-B" ]
null
null
null
tests/utils/test_utilities.py
clatlan/bcdi
afd50b474995378556195c007dc20316dcbc32af
[ "CECILL-B" ]
null
null
null
# -*- coding: utf-8 -*- # BCDI: tools for pre(post)-processing Bragg coherent X-ray diffraction imaging data # (c) 07/2017-06/2019 : CNRS UMR 7344 IM2NP # (c) 07/2019-05/2021 : DESY PHOTON SCIENCE # (c) 06/2021-present : DESY CFEL # authors: # Jerome Carnis, carnis_jerome@yahoo.fr import numpy as ...
30.961905
84
0.684712
477
3,251
4.429769
0.245283
0.069569
0.086133
0.098438
0.635116
0.635116
0.582111
0.512068
0.401798
0.24231
0
0.045712
0.185789
3,251
104
85
31.259615
0.75255
0.144263
0
0.035714
0
0
0.010189
0
0
0
0
0
0.357143
1
0.392857
false
0
0.053571
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
1
0
0
0
0
0
0
0
1
1cb3e7f42590e6ab413fcd58c0ea7666f295c183
3,128
py
Python
src/SgFactory/multiline.py
WDonegan/psg-factories
5a6e362d9159a0d5c82960d9e2e7d446f1ab013d
[ "MIT" ]
null
null
null
src/SgFactory/multiline.py
WDonegan/psg-factories
5a6e362d9159a0d5c82960d9e2e7d446f1ab013d
[ "MIT" ]
null
null
null
src/SgFactory/multiline.py
WDonegan/psg-factories
5a6e362d9159a0d5c82960d9e2e7d446f1ab013d
[ "MIT" ]
null
null
null
import PySimpleGUI as sg from .base import GeneratorBase class Multiline(GeneratorBase): DEFAULT_TEXT = 'default_text' ENTER_SUBMITS = 'enter_submits' DISABLED = 'disabled' AUTOSCROLL = 'autoscroll' BORDER_WIDTH = 'border_width' SIZE = 'size' AUTO_SIZE_TEXT = 'auto_size_text' BACKGROUN...
39.594937
60
0.536445
309
3,128
5.139159
0.223301
0.18136
0.253778
0.037783
0
0
0
0
0
0
0
0
0.359655
3,128
78
61
40.102564
0.792811
0
0
0
0
0
0.107737
0
0
0
0
0
0
1
0.027027
false
0
0.027027
0
0.513514
0.013514
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cb7000247114d2022070b17b15803ef98d16a6d
4,042
py
Python
pseudo_dojo/scripts/dojodjson.py
fnaccarato/pseudo_dojo
5a887c13d617b533ab3aab23af2c9466728d2f75
[ "CC-BY-4.0" ]
null
null
null
pseudo_dojo/scripts/dojodjson.py
fnaccarato/pseudo_dojo
5a887c13d617b533ab3aab23af2c9466728d2f75
[ "CC-BY-4.0" ]
null
null
null
pseudo_dojo/scripts/dojodjson.py
fnaccarato/pseudo_dojo
5a887c13d617b533ab3aab23af2c9466728d2f75
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env python """Script to validate/regenerate djson files.""" import sys import os import argparse import json from monty.functools import prof_main from monty.termcolor import cprint from pseudo_dojo.core.pseudos import DojoTable, OfficialDojoTable def djson_new(options, stream=sys.stdout): """Create a...
38.132075
121
0.671945
525
4,042
5.022857
0.373333
0.020478
0.009101
0.012135
0.020478
0
0
0
0
0
0
0.0038
0.218704
4,042
105
122
38.495238
0.831222
0.161059
0
0.029412
1
0
0.200417
0
0
0
0
0
0
1
0.073529
false
0
0.117647
0.014706
0.25
0.088235
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
1cba58815f1f7bd24a75fe0681a2af8038db245b
389
py
Python
gitz_doc/movies/colors.py
rec/gitz
cbb07f99dd002c85b5ca95896b33d03150bf9282
[ "MIT" ]
24
2019-07-26T03:57:16.000Z
2021-11-22T22:39:13.000Z
gitz_doc/movies/colors.py
rec/gitz
cbb07f99dd002c85b5ca95896b33d03150bf9282
[ "MIT" ]
212
2019-06-13T13:44:26.000Z
2020-06-02T17:59:51.000Z
gitz_doc/movies/colors.py
rec/gitz
cbb07f99dd002c85b5ca95896b33d03150bf9282
[ "MIT" ]
2
2019-08-09T13:55:38.000Z
2019-09-07T11:17:59.000Z
BLACK = '\x1b[0;30m' RED = '\x1b[0;31m' GREEN = '\x1b[0;32m' BROWN = '\x1b[0;33m' BLUE = '\x1b[0;34m' PURPLE = '\x1b[0;35m' CYAN = '\x1b[0;36m' LIGHT_GRAY = '\x1b[0;37m' DARK_GRAY = '\x1b[1;30m' LIGHT_RED = '\x1b[1;31m' LIGHT_GREEN = '\x1b[1;32m' YELLOW = '\x1b[1;33m' LIGHT_BLUE = '\x1b[1;34m' LIGHT_PURPLE = '\x1b[1;3...
19.45
27
0.604113
74
389
3.081081
0.337838
0.140351
0
0
0
0
0
0
0
0
0
0.196429
0.136247
389
19
28
20.473684
0.482143
0
0
0
0
0
0.429306
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cbb21e6023560266a4f4750dd1e163ddd0d6d45
894
py
Python
auto_qc/main.py
michaelbarton/auto-qc
347d687f5dc49c2623eafe590ab1b1eca807c0a9
[ "BSD-3-Clause-LBNL" ]
1
2018-02-28T22:54:35.000Z
2018-02-28T22:54:35.000Z
auto_qc/main.py
michaelbarton/auto-qc
347d687f5dc49c2623eafe590ab1b1eca807c0a9
[ "BSD-3-Clause-LBNL" ]
null
null
null
auto_qc/main.py
michaelbarton/auto-qc
347d687f5dc49c2623eafe590ab1b1eca807c0a9
[ "BSD-3-Clause-LBNL" ]
1
2020-11-12T04:38:10.000Z
2020-11-12T04:38:10.000Z
import auto_qc.util.file_system as fs import auto_qc.util.workflow as flow import auto_qc.printers as prn import auto_qc.evaluate.qc as qc import auto_qc.evaluate.error as er method_chain = [ (fs.check_for_file, ['analysis_file']), (fs.check_for_file, ['threshold_file']), (fs.read_yaml_f...
27.9375
66
0.652125
121
894
4.53719
0.380165
0.091075
0.10929
0.058288
0
0
0
0
0
0
0
0
0.197987
894
31
67
28.83871
0.76569
0
0
0
0
0
0.174497
0
0
0
0
0
0
0
null
null
0
0.217391
null
null
0.086957
0
0
0
null
0
0
0
0
0
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
1cbd78ddcb96772eaeb3feb2ab26d7a9d50f743a
1,608
py
Python
cats/data_modules/marcs.py
AWehrhahn/CATS
40b9f21ffccda8f70f9d1a9d7335102083847ce3
[ "MIT" ]
1
2022-02-02T16:14:02.000Z
2022-02-02T16:14:02.000Z
cats/data_modules/marcs.py
AWehrhahn/CATS
40b9f21ffccda8f70f9d1a9d7335102083847ce3
[ "MIT" ]
null
null
null
cats/data_modules/marcs.py
AWehrhahn/CATS
40b9f21ffccda8f70f9d1a9d7335102083847ce3
[ "MIT" ]
null
null
null
import logging from os.path import dirname, join import numpy as np import pandas as pd from astropy import units as u from .datasource import DataSource from ..spectrum import Spectrum1D logger = logging.getLogger(__name__) class MarcsStellar(DataSource): flux_units = u.erg / u.cm ** 2 / u.s / u.AA def ...
27.724138
159
0.578358
242
1,608
3.68595
0.417355
0.071749
0.036996
0.035874
0.042601
0
0
0
0
0
0
0.02773
0.282338
1,608
57
160
28.210526
0.745234
0.062811
0
0
0
0.025641
0.155792
0.093209
0
0
0
0.017544
0
1
0.051282
false
0
0.179487
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1cc0c93acfd88f71840dd447d01006cd6daf98d8
10,499
py
Python
tests/test_algebra_onnx_operator_mixin_syntax.py
xiaowuhu/sklearn-onnx
e85674a67a0a043e19c2ffe181e5d31eca8ce40b
[ "Apache-2.0" ]
323
2018-12-18T20:23:19.000Z
2022-03-25T09:47:31.000Z
tests/test_algebra_onnx_operator_mixin_syntax.py
xiaowuhu/sklearn-onnx
e85674a67a0a043e19c2ffe181e5d31eca8ce40b
[ "Apache-2.0" ]
408
2019-01-02T12:16:10.000Z
2022-03-21T14:01:28.000Z
tests/test_algebra_onnx_operator_mixin_syntax.py
xiaowuhu/sklearn-onnx
e85674a67a0a043e19c2ffe181e5d31eca8ce40b
[ "Apache-2.0" ]
70
2018-12-20T19:36:07.000Z
2022-03-14T06:41:36.000Z
# SPDX-License-Identifier: Apache-2.0 import unittest import numpy as np from numpy.testing import assert_almost_equal import onnx from sklearn.base import BaseEstimator, TransformerMixin from sklearn.cluster import KMeans from sklearn.pipeline import make_pipeline from onnxruntime import InferenceSession from skl2onn...
36.32872
78
0.576912
1,294
10,499
4.472952
0.136785
0.083621
0.046648
0.044229
0.650829
0.630788
0.626123
0.626123
0.626123
0.619212
0
0.032955
0.320792
10,499
288
79
36.454861
0.778713
0.006667
0
0.594142
0
0
0.105601
0.037694
0
0
0
0
0.066946
1
0.066946
false
0
0.054393
0.004184
0.167364
0.004184
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cc5b841ed88d9e62478f8ff147bb7c5c4cede91
6,154
py
Python
samsung.py
JDiaz11/BlackBeanControl
d8987b6470169b10399c2309dd0d4e22f4632459
[ "OLDAP-2.7", "OLDAP-2.4", "OLDAP-2.3" ]
246
2016-06-21T12:27:31.000Z
2022-01-07T12:26:27.000Z
samsung.py
JDiaz11/BlackBeanControl
d8987b6470169b10399c2309dd0d4e22f4632459
[ "OLDAP-2.7", "OLDAP-2.4", "OLDAP-2.3" ]
43
2016-07-11T15:29:06.000Z
2021-10-08T15:07:08.000Z
samsung.py
JDiaz11/BlackBeanControl
d8987b6470169b10399c2309dd0d4e22f4632459
[ "OLDAP-2.7", "OLDAP-2.4", "OLDAP-2.3" ]
63
2016-07-14T03:46:52.000Z
2021-08-19T19:01:54.000Z
#!python2 import Settings import copy import string import sys, getopt import time, binascii import netaddr import broadlink, configparser from os import path from Crypto.Cipher import AES def eq(cnst, val): return ((cnst * 1.2 > val) and ((cnst * 0.8) < val)) def BinDecode(sbin): if len(sbin) <> 48: ...
34.965909
140
0.532987
758
6,154
4.325858
0.25066
0.022873
0.007319
0.008234
0.125343
0.097896
0.089357
0.083867
0.068618
0.068618
0
0.061868
0.293468
6,154
175
141
35.165714
0.692272
0.120897
0
0.216418
0
0
0.162683
0.008153
0.007463
0
0
0
0
0
null
null
0
0.067164
null
null
0.208955
0
0
0
null
0
0
0
0
0
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
1cc60561b8858da25053326dfa1556c1da4c9a6f
1,886
py
Python
tests/models/test_composer_model.py
ravi-mosaicml/ravi-composer
d100053198524672f628c3959a8c4e51a9302e2d
[ "Apache-2.0" ]
null
null
null
tests/models/test_composer_model.py
ravi-mosaicml/ravi-composer
d100053198524672f628c3959a8c4e51a9302e2d
[ "Apache-2.0" ]
null
null
null
tests/models/test_composer_model.py
ravi-mosaicml/ravi-composer
d100053198524672f628c3959a8c4e51a9302e2d
[ "Apache-2.0" ]
null
null
null
import copy import pickle from typing import Iterable from composer.trainer import Trainer from tests.common.models import SimpleModel def test_model_access_to_logger(dummy_train_dataloader: Iterable): model = SimpleModel(num_features=1, num_classes=1) assert model.logger is None trainer = Trainer(model=...
41
106
0.78632
264
1,886
5.393939
0.181818
0.100421
0.100421
0.106742
0.697331
0.697331
0.697331
0.697331
0.697331
0.697331
0
0.007421
0.14263
1,886
45
107
41.911111
0.873222
0.053022
0
0.542857
0
0
0.006726
0
0
0
0
0
0.4
1
0.114286
false
0
0.142857
0
0.257143
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1ccbc3f00b56557304a5e0593d2dfac335ab9006
1,050
py
Python
company/InfyTQ/Oops/03SET/aggregation.py
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
company/InfyTQ/Oops/03SET/aggregation.py
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
company/InfyTQ/Oops/03SET/aggregation.py
vikkastiwari/cpp-coding-questions
020790e1a3b26c7b24991427004730b3f0785c71
[ "MIT" ]
null
null
null
class Customer: def __init__(self, name, age, phone_no, address): self.name = name self.age = age self.phone_no = phone_no self.address = address def view_details(self): print(self.name, self.age, self.phone_no) print(self.address.get_door_no(), sel...
22.826087
68
0.627619
139
1,050
4.381295
0.223022
0.078818
0.065681
0.045977
0
0
0
0
0
0
0
0.024837
0.271429
1,050
45
69
23.333333
0.771242
0
0
0
0
0
0.011429
0
0
0
0
0
0
1
0.3125
false
0.03125
0
0.09375
0.46875
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1cd117ffed363294272f89e69948066027c608e5
2,674
py
Python
SeleniumCookies/cookie_injector.py
ATechnoHazard/Selenium-Cookie-Injector
3c0e65f297639b95a43e9ffab8537f5e24fce048
[ "MIT" ]
5
2020-01-22T11:06:01.000Z
2020-08-10T09:31:57.000Z
SeleniumCookies/cookie_injector.py
ATechnoHazard/Selenium-Cookie-Injector
3c0e65f297639b95a43e9ffab8537f5e24fce048
[ "MIT" ]
11
2020-01-16T17:39:56.000Z
2020-02-02T12:13:34.000Z
SeleniumCookies/cookie_injector.py
ATechnoHazard/Selenium-Cookie-Injector
3c0e65f297639b95a43e9ffab8537f5e24fce048
[ "MIT" ]
4
2020-01-15T18:57:31.000Z
2020-01-20T20:58:09.000Z
# -*- coding:utf-8 -*- import logging # external imports try: from SeleniumCookies import wrapper except: import wrapper __doc__ = 'Process cookies from cookiejar to be injected in selenium' # Clearning older logs if any try: with open('SeleniumCookies/selenium_cookies.log', 'w') as clear_logs: ...
30.044944
86
0.608826
258
2,674
6.178295
0.434109
0.037641
0.065245
0.05458
0.197616
0.197616
0.067754
0.067754
0
0
0
0.042047
0.26178
2,674
88
87
30.386364
0.765451
0.040389
0
0.104478
0
0
0.311328
0.028125
0
0
0
0
0
0
null
null
0.044776
0.044776
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
1cd21f8a2f9aa41d5972d0b63c1235ddc2dc0bba
1,399
py
Python
RjDj Scene Composer Pack/RJC-1000.app/Contents/Resources/PdLANParty/PdServer.py
ruohoruotsi/pure-data-workbench
d15d23401f7135386e94b3b2c316281c6c34c925
[ "MIT" ]
7
2015-06-16T20:22:59.000Z
2022-03-30T11:09:47.000Z
RjDj Scene Composer Pack/RJC-1000.app/Contents/Resources/PdLANParty/PdServer.py
ruohoruotsi/pure-data-workbench
d15d23401f7135386e94b3b2c316281c6c34c925
[ "MIT" ]
null
null
null
RjDj Scene Composer Pack/RJC-1000.app/Contents/Resources/PdLANParty/PdServer.py
ruohoruotsi/pure-data-workbench
d15d23401f7135386e94b3b2c316281c6c34c925
[ "MIT" ]
5
2015-01-14T09:57:13.000Z
2017-08-22T10:13:48.000Z
from Server import Server class PdServer(Server): def __init__(self, **kwargs): Server.__init__(self, **kwargs) self.IDs = {} self.inQueue = [] self.outQueue = [] def Connected(self, channel, addr): print "PdServer connection from", addr, channel self.outQueue.append(["connected", str(channel.id)]) ...
25.436364
115
0.674053
192
1,399
4.869792
0.348958
0.077005
0.057754
0.053476
0
0
0
0
0
0
0
0.00524
0.181558
1,399
54
116
25.907407
0.811354
0.092924
0
0.054054
0
0
0.040941
0
0
0
0
0
0
0
null
null
0
0.027027
null
null
0.027027
0
0
0
null
0
0
0
0
0
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
1cd51f8687266e16c002d337ce2c958ebb8e8a34
790
py
Python
endpoints/api/subscribe_models_interface.py
giuseppe/quay
a1b7e4b51974edfe86f66788621011eef2667e6a
[ "Apache-2.0" ]
2,027
2019-11-12T18:05:48.000Z
2022-03-31T22:25:04.000Z
endpoints/api/subscribe_models_interface.py
giuseppe/quay
a1b7e4b51974edfe86f66788621011eef2667e6a
[ "Apache-2.0" ]
496
2019-11-12T18:13:37.000Z
2022-03-31T10:43:45.000Z
endpoints/api/subscribe_models_interface.py
giuseppe/quay
a1b7e4b51974edfe86f66788621011eef2667e6a
[ "Apache-2.0" ]
249
2019-11-12T18:02:27.000Z
2022-03-22T12:19:19.000Z
from abc import ABCMeta, abstractmethod from six import add_metaclass @add_metaclass(ABCMeta) class SubscribeInterface(object): """ Interface that represents all data store interactions required by the subscribe API endpoint. """ @abstractmethod def get_private_repo_count(self, username): ...
28.214286
97
0.689873
87
790
6.103448
0.632184
0.096045
0
0
0
0
0
0
0
0
0
0
0.239241
790
27
98
29.259259
0.883527
0.350633
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1cd9625248ae11ccb27d60697a31a7579a1a3c41
8,352
py
Python
rdr_service/lib_fhir/fhirclient_1_0_6/models/medicationadministration.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
fhirclient/models/medicationadministration.py
NematiLab/Streaming-Sepsis-Prediction-System-for-Intensive-Care-Units
fb5ad260fb8d264d85aea9e6c895d1700eea4d11
[ "Apache-2.0" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/lib_fhir/fhirclient_1_0_6/models/medicationadministration.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 1.0.2.7202 (http://hl7.org/fhir/StructureDefinition/MedicationAdministration) on 2016-06-23. # 2016, SMART Health IT. from . import domainresource class MedicationAdministration(domainresource.DomainResource): """ Administration of medicatio...
42.830769
131
0.62955
787
8,352
6.658196
0.237611
0.049618
0.038168
0.068893
0.376908
0.314122
0.230153
0.211832
0.166794
0.166794
0
0.003412
0.263171
8,352
194
132
43.051546
0.848066
0.141044
0
0.131579
1
0
0.14346
0.032423
0
0
0
0
0
1
0.052632
false
0
0.131579
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cda5a6a981abd0326690639b979e1b9d33a0658
551
py
Python
backend/core/tests/test_client_user.py
alvesgabriel/medicar-intmed
9e8bc10ba810088ff1cc91544cc68e6805af1df8
[ "MIT" ]
null
null
null
backend/core/tests/test_client_user.py
alvesgabriel/medicar-intmed
9e8bc10ba810088ff1cc91544cc68e6805af1df8
[ "MIT" ]
228
2020-06-10T22:53:15.000Z
2022-03-13T18:58:07.000Z
backend/core/tests/test_client_user.py
alvesgabriel/medicar-intmed
9e8bc10ba810088ff1cc91544cc68e6805af1df8
[ "MIT" ]
null
null
null
import pytest from django.urls import reverse @pytest.mark.parametrize( 'user', [ { 'email': 'rebecca.addler@gmail.com', 'password': 'rebecca@123', 'name': 'Rebecca Adler', } ] ) def test_create(db, client, user): resp = client.post('/users/', user) ...
22.958333
64
0.607985
66
551
4.969697
0.590909
0.042683
0.085366
0.109756
0.146341
0
0
0
0
0
0
0.021635
0.245009
551
23
65
23.956522
0.766827
0
0
0
0
0
0.166969
0.043557
0
0
0
0
0.157895
1
0.105263
false
0.052632
0.105263
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1cdb0259630952ef67b75aee880e452f739f70e0
1,994
py
Python
src/cli/ovirt_lldp_labeler_cli.py
sandrobonazzola/ovirt-lldp-labeler
5fdbfba0934ec01b249fdc930e31a7130e632f77
[ "Apache-2.0" ]
5
2018-03-22T10:57:13.000Z
2018-08-14T14:19:24.000Z
src/cli/ovirt_lldp_labeler_cli.py
sandrobonazzola/ovirt-lldp-labeler
5fdbfba0934ec01b249fdc930e31a7130e632f77
[ "Apache-2.0" ]
2
2018-07-22T09:12:38.000Z
2018-08-23T10:54:30.000Z
src/cli/ovirt_lldp_labeler_cli.py
sandrobonazzola/ovirt-lldp-labeler
5fdbfba0934ec01b249fdc930e31a7130e632f77
[ "Apache-2.0" ]
6
2018-12-14T12:34:12.000Z
2022-01-05T09:41:41.000Z
# Copyright 2018 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
27.315068
74
0.652959
259
1,994
4.891892
0.455598
0.047356
0.020521
0.025257
0
0
0
0
0
0
0
0.007874
0.235707
1,994
72
75
27.694444
0.823491
0.275827
0
0.088889
0
0
0.215535
0
0
0
0
0
0
1
0.088889
false
0.155556
0.111111
0
0.2
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1ce2b0ae6722b312c669bc77cf5598be72843f7a
3,198
py
Python
tools/random_vm_test_generator.py
c-castillo/pyethereum
6e0e9a937c16d67faed16c5fce9a21bdef5a58ee
[ "MIT" ]
null
null
null
tools/random_vm_test_generator.py
c-castillo/pyethereum
6e0e9a937c16d67faed16c5fce9a21bdef5a58ee
[ "MIT" ]
null
null
null
tools/random_vm_test_generator.py
c-castillo/pyethereum
6e0e9a937c16d67faed16c5fce9a21bdef5a58ee
[ "MIT" ]
null
null
null
import json import pyethereum t = pyethereum.tester pb = pyethereum.processblock u = pyethereum.utils import sys import random from rlp.utils import encode_hex, ascii_chr def mkrndgen(seed): state = [0, 0] def rnd(n): if state[0] < 2**32: state[0] = u.big_endian_to_int(u.sha3(seed+str(stat...
31.048544
86
0.508443
392
3,198
4.002551
0.308673
0.038241
0.04334
0.021033
0.094328
0.036966
0.036966
0
0
0
0
0.035317
0.353659
3,198
102
87
31.352941
0.723754
0.010944
0
0.022727
0
0
0.058861
0
0
0
0
0
0
0
null
null
0
0.056818
null
null
0.011364
0
0
0
null
0
0
0
0
0
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
1cea2974abf9faf92c5619f7614f1ec519961b2e
2,596
py
Python
detect_chords_microphone_old.py
audio-is-fun/chord-detection-algorithm
8cf41ccd72a035131bc744b440b4dd12671c1fac
[ "Apache-2.0" ]
null
null
null
detect_chords_microphone_old.py
audio-is-fun/chord-detection-algorithm
8cf41ccd72a035131bc744b440b4dd12671c1fac
[ "Apache-2.0" ]
null
null
null
detect_chords_microphone_old.py
audio-is-fun/chord-detection-algorithm
8cf41ccd72a035131bc744b440b4dd12671c1fac
[ "Apache-2.0" ]
null
null
null
''' Automatic chords detection algorithm (real time). Implementation of the algorithm described in Described in the Bachelor Thesis: Design and Evaluation of a Simple Chord Detection Algorithm by Christoph Hausner. Implemented by Haldo Sponton (haldosponton@gmail.com). Note: this functionality requires pyaudio. I ...
26.762887
102
0.659861
313
2,596
5.396166
0.514377
0.033156
0.02013
0.031972
0
0
0
0
0
0
0
0.011334
0.252311
2,596
97
103
26.762887
0.858836
0.315485
0
0.037736
0
0
0.051911
0
0
0
0
0
0
1
0
false
0
0.301887
0
0.301887
0.132075
0
0
0
null
0
0
0
0
0
0
0
0
0
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
1cf207baaf4ac771eb1aaeca200f2ca009fc736e
6,792
py
Python
datawinners/main/couchdb/view_updater.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
1
2015-11-02T09:11:12.000Z
2015-11-02T09:11:12.000Z
datawinners/main/couchdb/view_updater.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
null
null
null
datawinners/main/couchdb/view_updater.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
null
null
null
from collections import defaultdict from functools import partial import cPickle import socket import os from time import sleep import sys import logging import jsonpickle import requests from django.conf import settings from datawinners.main.couchdb.utils import all_db_names DOC_COUNT_THRESHOLD = 2000 COMMITTED_SE...
35.560209
106
0.580389
827
6,792
4.441354
0.234583
0.039205
0.019058
0.015246
0.247482
0.160359
0.082222
0.065886
0.043561
0.021236
0
0.008791
0.31331
6,792
190
107
35.747368
0.778731
0
0
0.108974
0
0
0.145024
0.076561
0
0
0
0
0
0
null
null
0.019231
0.076923
null
null
0.00641
0
0
0
null
0
0
0
0
0
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
1cf20a874c337eb96ece67f33e0bafa53c6f1ab6
882
py
Python
scholarships/scholarship/migrations/0009_auto_20160415_1959.py
smi96/django_scholarship_sample
e12915212a68882aad9ff48fa161343177e065e9
[ "MIT" ]
null
null
null
scholarships/scholarship/migrations/0009_auto_20160415_1959.py
smi96/django_scholarship_sample
e12915212a68882aad9ff48fa161343177e065e9
[ "MIT" ]
null
null
null
scholarships/scholarship/migrations/0009_auto_20160415_1959.py
smi96/django_scholarship_sample
e12915212a68882aad9ff48fa161343177e065e9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-04-15 19:59 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('scholarship', '0008_auto_20160415_1838'), ] operations = [ migrations.AlterFie...
33.923077
183
0.5839
93
882
5.397849
0.612903
0.079681
0.099602
0.115538
0.434263
0.434263
0.434263
0.434263
0.434263
0.434263
0
0.048601
0.230159
882
25
184
35.28
0.690722
0.073696
0
0.333333
1
0
0.237101
0.028256
0
0
0
0
0
1
0
false
0
0.111111
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1cf517d16503c634bfd160226ada7762eb42cd86
2,443
py
Python
Bridge/Bidding.py
balarsen/Bridge
258d79558bb9871f2e0e51b69b02aecf6a129ed9
[ "BSD-3-Clause" ]
1
2020-08-12T09:21:47.000Z
2020-08-12T09:21:47.000Z
Bridge/Bidding.py
balarsen/Bridge
258d79558bb9871f2e0e51b69b02aecf6a129ed9
[ "BSD-3-Clause" ]
null
null
null
Bridge/Bidding.py
balarsen/Bridge
258d79558bb9871f2e0e51b69b02aecf6a129ed9
[ "BSD-3-Clause" ]
1
2017-11-18T01:45:28.000Z
2017-11-18T01:45:28.000Z
import itertools from abc import ABCMeta, abstractmethod import numpy as np """ this module is quite complicated, it will need to both do the mechanics of bidding but also allow for puggable "smarts" accordng to different conventions """ class Redeal(Exception): pass class Bidding_logic(object): __metacla...
27.144444
86
0.561195
286
2,443
4.681818
0.43007
0.048544
0.023898
0.026886
0.080657
0.080657
0.040329
0
0
0
0
0.005583
0.340156
2,443
89
87
27.449438
0.825062
0.091281
0
0.216667
0
0
0.067036
0
0
0
0
0
0
1
0.15
false
0.216667
0.05
0
0.366667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1cf62b525fa6da51ba7e28250a04f80595d61e5d
1,087
py
Python
DmxPy.py
Hemisphere-Project/HDmx
9c4e0edacf148ded4a3583f531995e346d1d72a2
[ "MIT" ]
1
2016-06-20T20:44:19.000Z
2016-06-20T20:44:19.000Z
DmxPy.py
Hemisphere-Project/HDmx
9c4e0edacf148ded4a3583f531995e346d1d72a2
[ "MIT" ]
null
null
null
DmxPy.py
Hemisphere-Project/HDmx
9c4e0edacf148ded4a3583f531995e346d1d72a2
[ "MIT" ]
null
null
null
import serial import sys ###CODE IMPORTED FROM ############## #https://github.com/davepaul0/DmxPy# def hello(): print "Hello World!" DMXOPEN = chr(126) DMXCLOSE = chr(231) DMXINTENSITY=chr(6)+chr(1)+chr(2) DMXINIT1= chr(03)+chr(02)+chr(0)+chr(0)+chr(0) DMXINIT2= chr(10)+chr(02)+chr(0)+chr(0)+chr(0) class DmxPy: ...
25.880952
56
0.665133
162
1,087
4.438272
0.419753
0.038943
0.038943
0.044506
0.047288
0.047288
0.047288
0.047288
0
0
0
0.069339
0.150874
1,087
41
57
26.512195
0.709642
0.084637
0
0
0
0
0.048472
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e80a2392b4459ac68e2f988472983bfc312b4911
842
py
Python
locustfile.py
jfcb853/Udacity-DevOps-Azure-Project-2
adf3b5a5bed083604d2a8f57780766921f129ac1
[ "MIT" ]
1
2021-02-08T01:18:03.000Z
2021-02-08T01:18:03.000Z
locustfile.py
jfcb853/Udacity-DevOps-Azure-Project-2
adf3b5a5bed083604d2a8f57780766921f129ac1
[ "MIT" ]
null
null
null
locustfile.py
jfcb853/Udacity-DevOps-Azure-Project-2
adf3b5a5bed083604d2a8f57780766921f129ac1
[ "MIT" ]
1
2021-03-07T12:06:49.000Z
2021-03-07T12:06:49.000Z
import time from locust import HttpUser, task, between class WebsiteTestUser(HttpUser): wait_time = between(0.5, 3.0) def on_start(self): """ on_start is called when a Locust start before any task is scheduled """ pass def on_stop(self): """ on_stop is called when the TaskSet is s...
20.047619
83
0.480998
102
842
3.921569
0.607843
0.025
0.06
0
0
0
0
0
0
0
0
0.057836
0.36342
842
41
84
20.536585
0.688433
0.13658
0
0.058824
0
0
0.147265
0
0
0
0
0
0
1
0.117647
false
0.058824
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e80ae2d402db3662b897d121bbf7652d75f212bd
767
py
Python
models/args.py
nzhiltsov/hedwig
255624be90001adee179fcee98447349dfe4f596
[ "Apache-2.0" ]
null
null
null
models/args.py
nzhiltsov/hedwig
255624be90001adee179fcee98447349dfe4f596
[ "Apache-2.0" ]
17
2019-03-17T20:45:46.000Z
2019-04-19T01:15:34.000Z
models/args.py
nzhiltsov/hedwig
255624be90001adee179fcee98447349dfe4f596
[ "Apache-2.0" ]
1
2019-04-07T06:34:58.000Z
2019-04-07T06:34:58.000Z
import os from argparse import ArgumentParser def get_args(): parser = ArgumentParser(description="PyTorch deep learning models for document classification") parser.add_argument('--no-cuda', action='store_false', dest='cuda') parser.add_argument('--gpu', type=int, default=0) parser.add_argument('--ep...
40.368421
99
0.710561
104
767
5.134615
0.509615
0.151685
0.286517
0
0
0
0
0
0
0
0
0.026786
0.123859
767
18
100
42.611111
0.767857
0
0
0
0
0
0.215124
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.285714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e814008a1606c62241824e1c120138d7070604e4
21,230
py
Python
external/webkit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
15
2015-05-25T19:28:05.000Z
2021-05-03T09:21:22.000Z
external/webkit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
2
2017-07-25T09:37:22.000Z
2017-08-04T07:18:56.000Z
external/webkit/Tools/Scripts/webkitpy/layout_tests/run_webkit_tests.py
ghsecuritylab/android_platform_sony_nicki
526381be7808e5202d7865aa10303cb5d249388a
[ "Apache-2.0" ]
7
2019-01-30T08:56:04.000Z
2021-11-19T16:14:54.000Z
#!/usr/bin/env python # Copyright (C) 2010 Google Inc. All rights reserved. # Copyright (C) 2010 Gabor Rapcsanyi (rgabor@inf.u-szeged.hu), University of Szeged # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # *...
47.177778
112
0.647527
2,562
21,230
5.233021
0.224044
0.053703
0.080555
0.036101
0.261058
0.181696
0.140449
0.080257
0.056388
0.032819
0
0.002638
0.249976
21,230
449
113
47.282851
0.839352
0.180782
0
0.081967
0
0
0.329443
0.034166
0
0
0
0.002227
0
0
null
null
0.013115
0.042623
null
null
0.062295
0
0
0
null
0
0
0
0
0
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
e81596dfe5c0dec52ee30c1ee187de1a302e3c53
8,372
py
Python
Old_20190104/Multispec_server/multispec_runner_ctypes.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
null
null
null
Old_20190104/Multispec_server/multispec_runner_ctypes.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
null
null
null
Old_20190104/Multispec_server/multispec_runner_ctypes.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
null
null
null
#NOTE: Uses pi_controller class, which is currently based in "CavityLock" folder, but will be moved to PythonPackages #This class re-uses a lot of code from /Control/CavityLock/stabiliser_class.py import sys from socket import gethostname if gethostname()=="ph-rnyman-01": sys.path.append("D:\\Control\\PythonPackages\\...
35.474576
138
0.736025
1,195
8,372
4.948117
0.272803
0.011162
0.014206
0.013191
0.153222
0.122611
0.090986
0.060545
0.05175
0.05175
0
0.014354
0.151218
8,372
235
139
35.625532
0.81776
0
0
0.117978
0
0
0.062453
0.023231
0
0
0
0
0
0
null
null
0
0.08427
null
null
0.078652
0
0
0
null
0
0
0
0
0
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
e823306d5d622bddb05267c4795d4f1e1e4cc66a
834
py
Python
examples/pytorch/eager/image_recognition/resnest/tests/test_gluon.py
intelkevinputnam/lpot-docs
1ff32b4d89074a6bd133ba531f7c0cea3b73152f
[ "Apache-2.0" ]
3,168
2020-04-04T01:22:28.000Z
2022-03-31T12:14:50.000Z
examples/pytorch/eager/image_recognition/resnest/tests/test_gluon.py
intelkevinputnam/lpot-docs
1ff32b4d89074a6bd133ba531f7c0cea3b73152f
[ "Apache-2.0" ]
138
2020-04-04T02:12:30.000Z
2022-03-21T03:20:52.000Z
examples/pytorch/eager/image_recognition/resnest/tests/test_gluon.py
intelkevinputnam/lpot-docs
1ff32b4d89074a6bd133ba531f7c0cea3b73152f
[ "Apache-2.0" ]
527
2020-04-04T05:17:26.000Z
2022-03-31T06:15:34.000Z
##+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ## Created by: Hang Zhang ## Email: zhanghang0704@gmail.com ## Copyright (c) 2020 ## ## This source code is licensed under the MIT-style license found in the ## LICENSE file in the root directory of this source tree ##+++++++++++++++++++++++++...
28.758621
75
0.563549
100
834
4.48
0.64
0.060268
0.071429
0
0
0
0
0
0
0
0
0.026316
0.179856
834
28
76
29.785714
0.628655
0.431655
0
0
0
0
0.032895
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1c0dc3471cc3ab10a52c5bf74998f7fb7a77668c
5,886
py
Python
HostUnityProj/Assets/Testing/testserver/HelloRpc_pb2.py
boostmerlin/UnityPolymer
07ac3a3734609b837ca37cb2986ca3ea14da33c0
[ "MIT" ]
1
2018-03-22T05:45:02.000Z
2018-03-22T05:45:02.000Z
HostUnityProj/Assets/Testing/testserver/HelloRpc_pb2.py
moonlight1986/UnityPolymer
07ac3a3734609b837ca37cb2986ca3ea14da33c0
[ "MIT" ]
null
null
null
HostUnityProj/Assets/Testing/testserver/HelloRpc_pb2.py
moonlight1986/UnityPolymer
07ac3a3734609b837ca37cb2986ca3ea14da33c0
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: HelloRpc.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _refl...
30.340206
602
0.7421
695
5,886
6.011511
0.198561
0.036381
0.028004
0.028722
0.530876
0.487793
0.480134
0.469603
0.456199
0.406415
0
0.033846
0.126572
5,886
193
603
30.497409
0.778837
0.0649
0
0.623457
1
0.006173
0.19818
0.125933
0
0
0
0
0
1
0
false
0
0.037037
0
0.037037
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
1c0f67c2b590dc0b12f13903f2ddf2be4ef7abfb
377
py
Python
dkron/migrations/0002_job_retries.py
surface-security/django-dkron
e85810cfebfc51ad6143befebf758b000662494e
[ "MIT" ]
1
2022-01-24T10:29:14.000Z
2022-01-24T10:29:14.000Z
dkron/migrations/0002_job_retries.py
surface-security/django-dkron
e85810cfebfc51ad6143befebf758b000662494e
[ "MIT" ]
6
2022-01-17T16:50:38.000Z
2022-03-23T17:46:33.000Z
dkron/migrations/0002_job_retries.py
surface-security/django-dkron
e85810cfebfc51ad6143befebf758b000662494e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-09-29 12:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dkron', '0001_initial_20210729'), ] operations = [ migrations.AddField( model_name='job', name='retries', ...
19.842105
49
0.588859
40
377
5.475
0.85
0
0
0
0
0
0
0
0
0
0
0.105263
0.29443
377
18
50
20.944444
0.718045
0.119363
0
0
1
0
0.109091
0.063636
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
1c11afa0b141b6dbaf27046aabb04cc7540092c5
7,289
py
Python
ci/configs.py
mikkowus/BESSPIN-Tool-Suite
e87e9abb1156a8627aacc3272f1925b034129146
[ "Apache-2.0" ]
null
null
null
ci/configs.py
mikkowus/BESSPIN-Tool-Suite
e87e9abb1156a8627aacc3272f1925b034129146
[ "Apache-2.0" ]
null
null
null
ci/configs.py
mikkowus/BESSPIN-Tool-Suite
e87e9abb1156a8627aacc3272f1925b034129146
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python3 """ --- besspin-ci.py is the CI entry to the BESSPIN program. --- This file provide the combinations of CI files generated. --- Every combination is represented as a set of tuples. Each tuple represents one setting and its possible values. Each "values" should be a tuple. Please note t...
33.74537
137
0.612841
620
7,289
7.03871
0.319355
0.063245
0.047663
0.037809
0.434006
0.28506
0.141842
0.08593
0.043996
0.043996
0
0.023122
0.187131
7,289
215
138
33.902326
0.713418
0.086157
0
0.412088
1
0.010989
0.345217
0.04302
0
0
0
0
0
1
0
false
0.005495
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c128c55453a3cbe371d03d64edf49ea8564477b
1,183
py
Python
new_v1.0.py
ggrp-china/autowx
b9e173b11238a2b6977edfa4a8219241c39d4c15
[ "MIT" ]
1
2021-07-23T04:18:01.000Z
2021-07-23T04:18:01.000Z
new_v1.0.py
ggrp-china/autowx
b9e173b11238a2b6977edfa4a8219241c39d4c15
[ "MIT" ]
null
null
null
new_v1.0.py
ggrp-china/autowx
b9e173b11238a2b6977edfa4a8219241c39d4c15
[ "MIT" ]
null
null
null
# -*- encoding=utf8 -*- ''' *Created on 2020-2-6 *Author:ggrp *Version 1.0 ''' import time import datetime from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By def load(x,name,password): x.find_element_by_xpath("//*[@id='username']").click() ...
28.853659
70
0.743026
177
1,183
4.694915
0.338983
0.145608
0.172082
0.137184
0.602888
0.566787
0.524669
0.333333
0.333333
0.134777
0
0.020036
0.071851
1,183
40
71
29.575
0.736794
0.058326
0
0.357143
0
0
0.150362
0.019928
0
0
0
0
0
1
0.035714
false
0.107143
0.178571
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
1
0
0
0
0
0
1
1c131a4503739b1911e398565348c5ba6cd43808
8,792
py
Python
old_files/pdf_parameters.py
ZhouHUB/xpd_workflow
be3d5dee1f8021b45f7e810c96a3dfefa8942bb5
[ "BSD-3-Clause" ]
null
null
null
old_files/pdf_parameters.py
ZhouHUB/xpd_workflow
be3d5dee1f8021b45f7e810c96a3dfefa8942bb5
[ "BSD-3-Clause" ]
4
2016-08-25T02:59:05.000Z
2016-09-28T22:32:34.000Z
old_files/pdf_parameters.py
ZhouHUB/xpd_workflow
be3d5dee1f8021b45f7e810c96a3dfefa8942bb5
[ "BSD-3-Clause" ]
null
null
null
""" Copyright (c) 2014 Brookhaven National Laboratory All rights reserved. Use is subject to license terms and conditions. @author: Christopher J. Wright""" __author__ = 'Christopher J. Wright' import IO import Calculate import numpy as np import scipy.signal as signal import os import matplotlib.pyplot as plt plt.i...
35.309237
91
0.599295
1,064
8,792
4.704887
0.216165
0.020775
0.04135
0.023771
0.206552
0.18338
0.14982
0.080304
0.035158
0.035158
0
0.009778
0.313694
8,792
248
92
35.451613
0.819854
0.097702
0
0.164634
0
0
0.061953
0
0
0
0
0.008065
0
0
null
null
0
0.036585
null
null
0.085366
0
0
0
null
0
0
0
0
0
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
1c14842008dd81a0aa15a1dd48c56e181960babb
700
py
Python
scripts/database/create_tables.py
patrickjchap/Static-Bug-Detectors-ASE-Artifact
9104a6c9d8105725d3f2351893ff3f4022b02faa
[ "BSD-3-Clause" ]
1
2022-01-07T09:32:48.000Z
2022-01-07T09:32:48.000Z
scripts/database/create_tables.py
patrickjchap/Static-Bug-Detectors-ASE-Artifact
9104a6c9d8105725d3f2351893ff3f4022b02faa
[ "BSD-3-Clause" ]
null
null
null
scripts/database/create_tables.py
patrickjchap/Static-Bug-Detectors-ASE-Artifact
9104a6c9d8105725d3f2351893ff3f4022b02faa
[ "BSD-3-Clause" ]
1
2021-11-19T00:33:30.000Z
2021-11-19T00:33:30.000Z
import re import sys import pymysql.cursors from db_utils import DatabaseConnection def main(): db_name = sys.argv[1] db = DatabaseConnection('root', 'password') # Create and select DB db.create_db(db_name) db.select_database(db_name) # Create auxillary data tables db.create_clover_tab...
21.875
47
0.707143
96
700
4.8125
0.416667
0.17316
0.155844
0.220779
0
0
0
0
0
0
0
0.001739
0.178571
700
31
48
22.580645
0.801739
0.097143
0
0
0
0
0.130573
0
0
0
0
0
0
1
0.05
false
0.05
0.2
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c14f72e9c45e809e7b283b9ae0104a50041322f
358
py
Python
tests/scratch.py
jarreguit/pymoo
0496a3c6765826148d8bab21650736760517dd25
[ "Apache-2.0" ]
250
2021-09-17T08:07:50.000Z
2022-03-31T11:32:37.000Z
tests/scratch.py
jarreguit/pymoo
0496a3c6765826148d8bab21650736760517dd25
[ "Apache-2.0" ]
40
2021-09-14T19:21:59.000Z
2022-03-30T16:23:49.000Z
tests/scratch.py
jarreguit/pymoo
0496a3c6765826148d8bab21650736760517dd25
[ "Apache-2.0" ]
47
2021-09-22T09:20:23.000Z
2022-03-31T11:32:36.000Z
from pymoo.algorithms.soo.nonconvex.de import DE from pymoo.factory import get_problem from pymoo.operators.sampling.lhs import LHS from pymoo.optimize import minimize problem = get_problem("ackley", n_var=10) algorithm = DE( pop_size=100, sampling=LHS(), variant='DE/current-to-pbest/1/bin') res = minimize(problem, ...
17.047619
48
0.776536
55
358
4.981818
0.6
0.131387
0
0
0
0
0
0
0
0
0
0.021944
0.108939
358
20
49
17.9
0.836991
0
0
0
0
0
0.087571
0.070621
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
1c15b0045b09de4ca53eee9c584353159c784c54
700
py
Python
utils.py
Pomaru/simple-credentials
565c1b1e23ec30c64eb5f5eea67c04e6f3311ed5
[ "MIT" ]
null
null
null
utils.py
Pomaru/simple-credentials
565c1b1e23ec30c64eb5f5eea67c04e6f3311ed5
[ "MIT" ]
null
null
null
utils.py
Pomaru/simple-credentials
565c1b1e23ec30c64eb5f5eea67c04e6f3311ed5
[ "MIT" ]
null
null
null
import json import os class Credentials: def __init__(self, argv): for key, val in argv.items(): self.__dict__[key] = val def __repr__(self): return f"These are the available keys: {list(self.__dict__.keys()}." @classmethod def from_json(cls, json_data, f...
26.923077
77
0.548571
86
700
4.162791
0.465116
0.078212
0.039106
0.044693
0.268156
0.268156
0.268156
0.268156
0.268156
0.268156
0
0
0.355714
700
25
78
28
0.793792
0
0
0.210526
0
0
0.088889
0.041481
0
0
0
0
0
0
null
null
0
0.105263
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
1c18ec8c2c287afba860bc841a88a4cf9a801d68
1,096
py
Python
0x06-python-classes/4-square.py
Dev-Loup/holbertonschool-higher_level_programming
af6fe9a05c87dcdbb88270eec4c7ec81d6a70d9b
[ "FSFAP" ]
null
null
null
0x06-python-classes/4-square.py
Dev-Loup/holbertonschool-higher_level_programming
af6fe9a05c87dcdbb88270eec4c7ec81d6a70d9b
[ "FSFAP" ]
null
null
null
0x06-python-classes/4-square.py
Dev-Loup/holbertonschool-higher_level_programming
af6fe9a05c87dcdbb88270eec4c7ec81d6a70d9b
[ "FSFAP" ]
null
null
null
#!/usr/bin/python3 """ Class Square creation module A Blueprint for squares """ class Square: """Set the class square""" def __init__(self, size=0): """Iniatiate Attributes for Square class. Args: size: integer with size of the square. """ self.__size = size ...
21.490196
54
0.521898
128
1,096
4.367188
0.40625
0.085868
0.075134
0
0
0
0
0
0
0
0
0.008889
0.384124
1,096
50
55
21.92
0.819259
0.40146
0
0
0
0
0.080808
0
0
0
0
0
0
1
0.25
false
0
0
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1c199d1423b4d52f9b964137e1c6bf44b63ab84c
724
py
Python
image_process/algorithm.py
storyoftime66/AlgorithmSheet
90e530a791507127a71449bdd0adcd459ced946e
[ "MIT" ]
null
null
null
image_process/algorithm.py
storyoftime66/AlgorithmSheet
90e530a791507127a71449bdd0adcd459ced946e
[ "MIT" ]
null
null
null
image_process/algorithm.py
storyoftime66/AlgorithmSheet
90e530a791507127a71449bdd0adcd459ced946e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding:utf-8 -*- import numpy as np # 基础算法 def C(m, n): ''' <time>2018.11.27</time> <summary>组合</summary> ''' result = 1 if m*n > 0 and isinstance(m*n, int) and n > m: for i in range(n-m+1, n+1): result *= i for i in range(1, m+1): ...
18.1
50
0.475138
118
724
2.898305
0.423729
0.035088
0.070175
0.096491
0.619883
0.526316
0.526316
0.526316
0.380117
0.380117
0
0.077419
0.357735
724
40
51
18.1
0.658065
0.236188
0
0.588235
0
0
0
0
0
0
0
0
0
1
0.176471
false
0.058824
0.058824
0
0.352941
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
1c19f2b5e50ed09f338bab660257e2262cf0a3ab
3,056
py
Python
TcpPortForward.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
2
2021-11-17T03:35:03.000Z
2021-12-08T06:00:31.000Z
TcpPortForward.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
null
null
null
TcpPortForward.py
Zusyaku/Termux-And-Lali-Linux-V2
b1a1b0841d22d4bf2cc7932b72716d55f070871e
[ "Apache-2.0" ]
2
2021-11-05T18:07:48.000Z
2022-02-24T21:25:07.000Z
#/usr/bin/python env # -*- coding: utf-8 -*- ''' filename:TcpPortForward.py @desc: 利用python的socket端口转发,用于远程维护,Hack 如果连接不到远程,会sleep 36s,最多尝试200(即两小时) @usage: ./TcpPortForward.py stream1 stream2 stream为:l:port或c:host:port l:port表示监听指定的本地端口 c:host:port表示监听远程指定的端口 ''' import socket import sys import threading import time...
20.238411
84
0.647251
462
3,056
4.188312
0.333333
0.028941
0.024806
0.029457
0.230491
0.109561
0.109561
0.109561
0.068217
0.068217
0
0.031643
0.19339
3,056
150
85
20.373333
0.753347
0.080825
0
0.317308
0
0
0.109244
0
0
0
0
0
0
0
null
null
0.019231
0.038462
null
null
0.105769
0
0
0
null
0
0
0
0
0
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
1c1c79e27a64c29349d6b010d301f5f49d9fff05
714
py
Python
action_plugins/password.py
benthomasson/ansible-jupyter-widgets
f67fd88f611ab594e6d8d56efa4ed835a58082da
[ "Apache-2.0" ]
null
null
null
action_plugins/password.py
benthomasson/ansible-jupyter-widgets
f67fd88f611ab594e6d8d56efa4ed835a58082da
[ "Apache-2.0" ]
null
null
null
action_plugins/password.py
benthomasson/ansible-jupyter-widgets
f67fd88f611ab594e6d8d56efa4ed835a58082da
[ "Apache-2.0" ]
null
null
null
from ansible.plugins.action import ActionBase class ActionModule(ActionBase): BYPASS_HOST_LOOP = True def run(self, tmp=None, task_vars=None): if task_vars is None: task_vars = dict() result = super(ActionModule, self).run(tmp, task_vars) var_name = self._task.args.get('v...
35.7
74
0.670868
93
714
4.946237
0.483871
0.106522
0.052174
0.065217
0
0
0
0
0
0
0
0.007055
0.205882
714
19
75
37.578947
0.804233
0
0
0
0
0
0.264706
0.09944
0
0
0
0
0
1
0.066667
false
0.133333
0.133333
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
1
0
0
0
0
0
1
1c1d023fb08ffc5820053950b81c6438da2b8c04
3,701
py
Python
src/common/EventManager.py
SwatKat1977/secureshed
9b82f1358bd710dfe4b8c3e49ff11ecb4c77250e
[ "Apache-2.0" ]
null
null
null
src/common/EventManager.py
SwatKat1977/secureshed
9b82f1358bd710dfe4b8c3e49ff11ecb4c77250e
[ "Apache-2.0" ]
2
2019-12-03T23:26:25.000Z
2020-09-16T20:17:25.000Z
src/common/EventManager.py
SwatKat1977/secureshed
9b82f1358bd710dfe4b8c3e49ff11ecb4c77250e
[ "Apache-2.0" ]
null
null
null
''' Copyright 2019-2020 Secure Shed Project Dev Team 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 i...
32.464912
79
0.677655
447
3,701
5.57047
0.357942
0.032129
0.019277
0.028916
0.156627
0.136546
0.069076
0.069076
0
0
0
0.006557
0.258309
3,701
113
80
32.752212
0.900546
0.57525
0
0.147059
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.029412
0.029412
0.588235
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
1c1f753e8e7f631ed5cfd28adec16bb2f1d335fa
1,256
py
Python
sec_4.1_using_custom_models/params.py
Anonymous-ARR/code
ede7a3b73cb97905454c21d2f9260a788751f8d8
[ "MIT" ]
null
null
null
sec_4.1_using_custom_models/params.py
Anonymous-ARR/code
ede7a3b73cb97905454c21d2f9260a788751f8d8
[ "MIT" ]
null
null
null
sec_4.1_using_custom_models/params.py
Anonymous-ARR/code
ede7a3b73cb97905454c21d2f9260a788751f8d8
[ "MIT" ]
null
null
null
import argparse parser = argparse.ArgumentParser() parser.add_argument("--seed", type=int, default=4214) parser.add_argument("--test_mode", type=str, default="True") # parser.add_argument("--dataset_path", type=str, default="data") parser.add_argument("--batch_size", type=int, default=5) parser.add_argument("--lr", ...
44.857143
145
0.742834
187
1,256
4.828877
0.331551
0.149502
0.282392
0.097453
0.335548
0.305648
0.305648
0.234773
0
0
0
0.006891
0.075637
1,256
27
146
46.518519
0.770887
0.050159
0
0
0
0
0.274559
0
0
0
0
0
0.055556
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c22c205a37c6009f0e5022523eb93b327ca7892
1,422
py
Python
examples/fieldsets/forms.py
fpoulain/django-tapeforms
701a7272cb4c4957d5cf18be7821b2e8c784437b
[ "MIT" ]
1
2019-01-28T10:59:55.000Z
2019-01-28T10:59:55.000Z
examples/fieldsets/forms.py
fpoulain/django-tapeforms
701a7272cb4c4957d5cf18be7821b2e8c784437b
[ "MIT" ]
23
2018-08-26T09:30:57.000Z
2022-02-10T10:43:14.000Z
examples/fieldsets/forms.py
fpoulain/django-tapeforms
701a7272cb4c4957d5cf18be7821b2e8c784437b
[ "MIT" ]
4
2018-08-26T09:00:46.000Z
2021-03-13T13:24:26.000Z
from django import forms from tapeforms.fieldsets import TapeformFieldset, TapeformFieldsetsMixin from tapeforms.mixins import TapeformMixin class LargeForm(TapeformMixin, forms.Form): first_name = forms.CharField(label='First name') last_name = forms.CharField(label='Last name', help_text='Some hints') ...
30.913043
79
0.646273
143
1,422
6.307692
0.412587
0.069845
0.072062
0.094235
0.226164
0
0
0
0
0
0
0
0.214487
1,422
45
80
31.6
0.80752
0
0
0.057143
0
0
0.16948
0
0
0
0
0
0
1
0.057143
false
0
0.085714
0.057143
0.542857
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
1c23b59426b9d0801ef02eef2e705a59857d46be
2,911
py
Python
generate_augmented_pair_list.py
cbilodeau2/hgraph2graph
cde0630b2de7f63125b3d296450409d45b62f4a8
[ "MIT" ]
2
2020-10-27T17:59:43.000Z
2021-06-30T15:27:58.000Z
generate_augmented_pair_list.py
cbilodeau2/hgraph2graph
cde0630b2de7f63125b3d296450409d45b62f4a8
[ "MIT" ]
null
null
null
generate_augmented_pair_list.py
cbilodeau2/hgraph2graph
cde0630b2de7f63125b3d296450409d45b62f4a8
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import argparse from rdkit.Chem.Descriptors import ExactMolWt from rdkit import Chem from chemprop.data.scaffold import generate_scaffold from hgraph.pairing import * # SETTINGS: parser = argparse.ArgumentParser() parser.add_argument('--gen_out', type=str, required=True) # Inp...
49.338983
140
0.761937
420
2,911
5.183333
0.330952
0.041341
0.078089
0.043638
0.26045
0.096463
0.096463
0.062471
0.062471
0.062471
0
0.007154
0.087599
2,911
58
141
50.189655
0.8125
0.253865
0
0
1
0
0.131041
0
0
0
0
0
0
1
0
false
0
0.194444
0
0.194444
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
1c246069ca4eb3ae4707c3bd7091f98f32473945
285
py
Python
synaps-api/doc/ext/synaps_autodoc.py
gochist/synaps
a5d7f0428aa30e4d1e96cc29fd80f42c32aed1e8
[ "Apache-2.0" ]
null
null
null
synaps-api/doc/ext/synaps_autodoc.py
gochist/synaps
a5d7f0428aa30e4d1e96cc29fd80f42c32aed1e8
[ "Apache-2.0" ]
null
null
null
synaps-api/doc/ext/synaps_autodoc.py
gochist/synaps
a5d7f0428aa30e4d1e96cc29fd80f42c32aed1e8
[ "Apache-2.0" ]
null
null
null
import gettext import os gettext.install('synaps') from synaps import utils def setup(app): rootdir = os.path.abspath(app.srcdir + '/..') print "**Autodocumenting from %s" % rootdir os.chdir(rootdir) rv = utils.execute('./generate_autodoc_index.sh') print rv[0]
20.357143
53
0.680702
38
285
5.052632
0.657895
0.09375
0
0
0
0
0
0
0
0
0
0.004274
0.178947
285
13
54
21.923077
0.816239
0
0
0
0
0
0.214035
0.094737
0
0
0
0
0
0
null
null
0
0.3
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1c26f17d2185eda40065447ee1354e5564503292
643
py
Python
keras_malicious_url_detector/library/utility/url_data_loader.py
Adrimeov/keras-malicious-url-detector
22b8d075b41117f016100bb5ebff14a77907dacb
[ "MIT" ]
null
null
null
keras_malicious_url_detector/library/utility/url_data_loader.py
Adrimeov/keras-malicious-url-detector
22b8d075b41117f016100bb5ebff14a77907dacb
[ "MIT" ]
null
null
null
keras_malicious_url_detector/library/utility/url_data_loader.py
Adrimeov/keras-malicious-url-detector
22b8d075b41117f016100bb5ebff14a77907dacb
[ "MIT" ]
null
null
null
import pandas as pd import os def load_url_data(data_dir_path): url_data = pd.read_csv(data_dir_path, sep=',') url_data.columns = ['text', 'label'] class_zero = url_data[url_data['label'] == 0].reset_index() class_one = url_data[url_data['label'] == 1].reset_index() class_zero = class_zero.trun...
21.433333
72
0.678072
102
643
3.852941
0.362745
0.249364
0.111959
0.10687
0.284987
0.223919
0
0
0
0
0
0.011321
0.175739
643
29
73
22.172414
0.730189
0
0
0
0
0
0.052877
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.294118
0.058824
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c273aef5f076fdf0385cf72b56e9de1d603c482
329
py
Python
firesong/__init__.py
TGarfield17/FIRESONG
ad9e3688ed88563cfdb81b9f25aaa63850cc99f9
[ "BSD-3-Clause" ]
null
null
null
firesong/__init__.py
TGarfield17/FIRESONG
ad9e3688ed88563cfdb81b9f25aaa63850cc99f9
[ "BSD-3-Clause" ]
null
null
null
firesong/__init__.py
TGarfield17/FIRESONG
ad9e3688ed88563cfdb81b9f25aaa63850cc99f9
[ "BSD-3-Clause" ]
null
null
null
"""Welcome to FIRESONG, the FIRst Extragalactic Simulation Of Neutrinos and Gamma-rays""" __author__ = 'C.F. Tung, T. Glauch, M. Larson, A. Pizzuto, R. Reimann, I. Taboada' __email__ = '' __version__ = '1.8' __all__ = ['Firesong', 'Evolution', 'distance', 'FluxPDF', 'input_out', 'Luminosity', 'sampling', '...
41.125
89
0.665653
40
329
5.05
0.975
0
0
0
0
0
0
0
0
0
0
0.007273
0.164134
329
7
90
47
0.727273
0.25228
0
0
0
0.2
0.5625
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c27f0cbf2f40cffcd07277b82ee7769b86dcc8a
5,516
py
Python
horizon/horizon/dashboards/nova/security_groups/forms.py
katzj/horizon
195b70bcf161987d2568e7c9dbebdfffd22004f8
[ "Apache-2.0" ]
null
null
null
horizon/horizon/dashboards/nova/security_groups/forms.py
katzj/horizon
195b70bcf161987d2568e7c9dbebdfffd22004f8
[ "Apache-2.0" ]
null
null
null
horizon/horizon/dashboards/nova/security_groups/forms.py
katzj/horizon
195b70bcf161987d2568e7c9dbebdfffd22004f8
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2011 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Copyright 2011 Nebula, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # no...
42.75969
79
0.589558
551
5,516
5.745917
0.294011
0.110865
0.048326
0.048642
0.462413
0.422299
0.373342
0.348705
0.281112
0.228996
0
0.004009
0.32161
5,516
128
80
43.09375
0.842063
0.151378
0
0.317647
0
0
0.156223
0.019313
0
0
0
0.007813
0
0
null
null
0
0.094118
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
1c2d11ff8e57664d9a10a9757b4355520a675e8a
3,325
py
Python
mlio/resources/manager.py
Workable/milo
66c6425188cd20efaadfea7dfb31d730e68fe84b
[ "MIT" ]
5
2018-07-17T07:09:08.000Z
2020-03-14T21:06:37.000Z
mlio/resources/manager.py
Workable/mlio
66c6425188cd20efaadfea7dfb31d730e68fe84b
[ "MIT" ]
null
null
null
mlio/resources/manager.py
Workable/mlio
66c6425188cd20efaadfea7dfb31d730e68fe84b
[ "MIT" ]
null
null
null
import logging as _logging from mlio.resources.exceptions import ResourceNotFoundError from .repositories import RepositoriesContainer logger = _logging.getLogger(__name__) class ResourceManager: """ A registry of resource objects that are dynamically discovered and loaded from a prioritized list of sou...
37.359551
116
0.667669
388
3,325
5.530928
0.265464
0.079217
0.037279
0.048462
0.269804
0.219944
0.176142
0.134203
0.134203
0.134203
0
0
0.250827
3,325
88
117
37.784091
0.861501
0.303158
0
0.136364
0
0
0.164095
0
0
0
0
0
0
1
0.204545
false
0
0.068182
0.045455
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1c2ed0f7dd19b2b52848f7ccb350aac69ffa9104
1,606
py
Python
tests/menu_test_9.py
sourcery-ai-bot/Qprompt
baa4810d7a2db450c659983179ff051706b6dadd
[ "MIT" ]
49
2017-01-20T04:57:27.000Z
2022-01-11T17:35:45.000Z
tests/menu_test_9.py
sourcery-ai-bot/Qprompt
baa4810d7a2db450c659983179ff051706b6dadd
[ "MIT" ]
14
2016-02-19T05:53:12.000Z
2020-01-11T16:08:16.000Z
tests/menu_test_9.py
sourcery-ai-bot/Qprompt
baa4810d7a2db450c659983179ff051706b6dadd
[ "MIT" ]
7
2018-06-16T14:30:26.000Z
2020-06-03T23:28:14.000Z
"""Tests menu 'result' option return.""" ##==============================================================# ## SECTION: Imports # ##==============================================================# from testlib import * from qprompt import Menu ##============================...
26.766667
65
0.339352
115
1,606
4.617391
0.356522
0.124294
0.112994
0.129944
0.278719
0.188324
0.188324
0.188324
0.188324
0.188324
0
0.008496
0.267123
1,606
59
66
27.220339
0.442651
0.485056
0
0.322581
0
0
0.02799
0
0
0
0
0
0.096774
1
0.193548
false
0
0.064516
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c3437f965509e3d3a1310c6401184afde27ae83
4,582
py
Python
python/LinearRegression.py
Chirag2007/hacktoberfest2021-6
16331c71f8458528f745ff5b0b9c81aee6debfcb
[ "MIT" ]
11
2020-10-14T05:43:12.000Z
2021-10-02T02:29:52.000Z
python/LinearRegression.py
Chirag2007/hacktoberfest2021-6
16331c71f8458528f745ff5b0b9c81aee6debfcb
[ "MIT" ]
10
2020-10-14T15:15:41.000Z
2020-10-31T17:13:33.000Z
python/LinearRegression.py
Chirag2007/hacktoberfest2021-6
16331c71f8458528f745ff5b0b9c81aee6debfcb
[ "MIT" ]
91
2020-10-13T15:38:28.000Z
2021-10-02T02:29:55.000Z
from sklearn import datasets boston = datasets.load_boston(return_X_y=False) print(boston); print(boston['feature_names']) print(boston['target']) print(boston['data'].shape) from sklearn.model_selection import train_test_split import random # train(30%), validation (10%), and test(60%) X_train, X_test, y_train, y_...
35.796875
137
0.627892
807
4,582
3.425031
0.164808
0.049928
0.043415
0.032562
0.466353
0.397974
0.321997
0.304631
0.2822
0.261577
0
0.054556
0.22392
4,582
127
138
36.07874
0.722722
0
0
0.27
0
0
0.065277
0
0
0
0
0
0
0
null
null
0
0.06
null
null
0.14
0
0
0
null
0
0
0
0
0
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
1c34f53fb3ea558447b8a363a8aeb941c702c8c5
557
py
Python
src/ap_games/ap_typing.py
aplatkouski/tic-tac-toe
d5dc8f5c1f75226989326163a18505e6d88a8f49
[ "MIT" ]
null
null
null
src/ap_games/ap_typing.py
aplatkouski/tic-tac-toe
d5dc8f5c1f75226989326163a18505e6d88a8f49
[ "MIT" ]
null
null
null
src/ap_games/ap_typing.py
aplatkouski/tic-tac-toe
d5dc8f5c1f75226989326163a18505e6d88a8f49
[ "MIT" ]
1
2020-08-25T12:51:53.000Z
2020-08-25T12:51:53.000Z
from __future__ import annotations from typing import Dict from typing import Literal from typing import Tuple from ap_games.ap_collections import Cell from ap_games.ap_collections import Coordinate from ap_games.ap_collections import Node Mark = Literal['X', 'O', ' ', ''] Empty = Literal[' '] PlayerMark = Literal['...
25.318182
67
0.723519
71
557
5.535211
0.464789
0.076336
0.122137
0.099237
0.229008
0.229008
0
0
0
0
0
0
0.136445
557
21
68
26.52381
0.817048
0
0
0
0
0
0.059246
0
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
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
1c3b64562fe8d57855fda10949458856900548ac
1,616
py
Python
scripts/diff_incar.py
rousseab/pymatgen
ecfba4a576a21f31c222be8fd20ce2ddaa77495a
[ "MIT" ]
1
2015-05-18T14:31:20.000Z
2015-05-18T14:31:20.000Z
scripts/diff_incar.py
rousseab/pymatgen
ecfba4a576a21f31c222be8fd20ce2ddaa77495a
[ "MIT" ]
null
null
null
scripts/diff_incar.py
rousseab/pymatgen
ecfba4a576a21f31c222be8fd20ce2ddaa77495a
[ "MIT" ]
null
null
null
# coding: utf-8 #!/usr/bin/env python """ Created on Nov 12, 2011 """ __author__ = "Shyue Ping Ong" __copyright__ = "Copyright 2011, The Materials Project" __version__ = "0.1" __maintainer__ = "Shyue Ping Ong" __email__ = "shyue@mit.edu" __date__ = "Nov 12, 2011" import itertools import argparse from pymatgen.io.va...
29.381818
74
0.628094
210
1,616
4.647619
0.461905
0.056352
0.04918
0.039959
0.170082
0.110656
0.088115
0.088115
0.088115
0
0
0.03209
0.170792
1,616
54
75
29.925926
0.696269
0.020421
0
0
0
0
0.219496
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.026316
0
0
0
null
0
0
0
0
0
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
1c42ffc6656a8ee02b871d02dbb7cb8e0157fbfd
1,356
py
Python
music/migrations/0009_auto_20200627_1107.py
amin-da71/Benbb96
0c9e37425d0665e403ba6fecf0c4b17669c29ada
[ "MIT" ]
null
null
null
music/migrations/0009_auto_20200627_1107.py
amin-da71/Benbb96
0c9e37425d0665e403ba6fecf0c4b17669c29ada
[ "MIT" ]
13
2021-02-13T20:15:18.000Z
2022-03-11T23:57:07.000Z
music/migrations/0009_auto_20200627_1107.py
amin-da71/Benbb96
0c9e37425d0665e403ba6fecf0c4b17669c29ada
[ "MIT" ]
null
null
null
# Generated by Django 2.2.12 on 2020-06-27 09:07 from django.db import migrations, models from slugify import slugify def create_slug(apps, schema_editor): Style = apps.get_model("music", "Style") db_alias = schema_editor.connection.alias for style in Style.objects.using(db_alias).all(): style.sl...
27.673469
69
0.584808
140
1,356
5.542857
0.442857
0.05799
0.072165
0.092784
0.304124
0.304124
0.280928
0.134021
0.134021
0.134021
0
0.020964
0.29646
1,356
48
70
28.25
0.792453
0.033923
0
0.45
1
0
0.079511
0.019113
0
0
0
0
0
1
0.025
false
0
0.05
0
0.15
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
1c473f9ba97beb6712e1c41d567868d7db8681e0
7,444
py
Python
sp_experiment/tests/test_utils.py
sappelhoff/sp_psychopy
79cae80eb920b35fb27a52acfde0eda38b9124b1
[ "BSD-3-Clause" ]
1
2022-03-11T14:05:31.000Z
2022-03-11T14:05:31.000Z
sp_experiment/tests/test_utils.py
sappelhoff/sp_psychopy
79cae80eb920b35fb27a52acfde0eda38b9124b1
[ "BSD-3-Clause" ]
8
2019-02-12T07:47:47.000Z
2021-01-25T14:05:05.000Z
sp_experiment/tests/test_utils.py
sappelhoff/sp_psychopy
79cae80eb920b35fb27a52acfde0eda38b9124b1
[ "BSD-3-Clause" ]
2
2019-02-19T17:10:43.000Z
2022-03-11T14:05:32.000Z
"""Testing the utility functions.""" import time import os import os.path as op from tempfile import gettempdir from shutil import rmtree, copyfile from collections import OrderedDict import pytest import numpy as np import pandas as pd import sp_experiment from sp_experiment.define_settings import (EXPECTED_FPS, ...
34.623256
103
0.637157
1,041
7,444
4.314121
0.237272
0.0334
0.024048
0.017145
0.207304
0.12937
0.101536
0.091294
0.077488
0.05344
0
0.027652
0.256717
7,444
214
104
34.785047
0.784023
0.15086
0
0.086331
0
0
0.050736
0.013924
0
0
0
0
0.223022
1
0.064748
false
0.057554
0.093525
0
0.158273
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
1c4a6d7a93c31fd531179e05b0100a24784018f5
1,342
py
Python
gudong/dumpData.py
happy6666/stockStrategies
01ac608d1f69a7318d168036e8e6f77aa95c649c
[ "Apache-2.0" ]
null
null
null
gudong/dumpData.py
happy6666/stockStrategies
01ac608d1f69a7318d168036e8e6f77aa95c649c
[ "Apache-2.0" ]
1
2019-11-04T07:56:09.000Z
2019-11-04T07:56:09.000Z
gudong/dumpData.py
happy6666/stockStrategies
01ac608d1f69a7318d168036e8e6f77aa95c649c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # coding: utf-8 import sys import time import urllib2 from bs4 import BeautifulSoup req='http://vip.stock.finance.sina.com.cn/corp/go.php/vCI_StockHolder/stockid/%s/displaytype/30.phtml'; desired=set([u'\u622a\u81f3\u65e5\u671f','1','2','3','4','5','6','7','8','9','10']) def parseData(code): global...
24.851852
103
0.64307
236
1,342
3.588983
0.470339
0.023613
0.025974
0.03778
0.231405
0.122786
0.122786
0.122786
0.122786
0.122786
0
0.064957
0.128167
1,342
53
104
25.320755
0.658974
0.022355
0
0.25
0
0.020833
0.165649
0.036641
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.020833
0
0
0
null
0
0
0
0
0
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
1c4dae456e1bca48de8c91575385b4f004cd53e6
2,668
py
Python
examples/cvae_dbscan/taskmanagers/md.py
braceal/DeepDriveMD
5d8ae5016a6bb172fa0188a78b8d2b14ebb754fd
[ "MIT" ]
3
2020-02-07T21:35:48.000Z
2020-12-23T01:44:49.000Z
examples/cvae_dbscan/taskmanagers/md.py
braceal/DeepDriveMD
5d8ae5016a6bb172fa0188a78b8d2b14ebb754fd
[ "MIT" ]
5
2019-11-02T05:29:55.000Z
2020-05-06T04:20:24.000Z
examples/cvae_dbscan/taskmanagers/md.py
braceal/DeepDriveMD
5d8ae5016a6bb172fa0188a78b8d2b14ebb754fd
[ "MIT" ]
1
2020-12-07T12:26:01.000Z
2020-12-07T12:26:01.000Z
import os import glob import time from radical.entk import Task from deepdrive import TaskManager class MDTaskManager(TaskManager): def __init__(self, num_sims, sim_len, initial_sim_len, cpu_reqs={}, gpu_reqs={}, prefix=os.getcwd()): """ Parameters ---------- num_s...
31.388235
96
0.588831
342
2,668
4.359649
0.339181
0.040241
0.043595
0.021462
0.173038
0.096579
0.096579
0.069752
0.069752
0.069752
0
0
0.315592
2,668
84
97
31.761905
0.816539
0.242129
0
0
0
0
0.155135
0.091351
0
0
0
0.011905
0
1
0.081081
false
0
0.135135
0
0.297297
0.027027
0
0
0
null
0
0
0
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
1c52ad9024a1f927be7e74c2171f55941b27ab8f
400
py
Python
great_expectations/rule_based_profiler/types/__init__.py
denimalpaca/great_expectations
0f28f3c2b3cc6fae3bc5d257c6d4d13dbcf37df0
[ "Apache-2.0" ]
1
2022-01-26T18:51:29.000Z
2022-01-26T18:51:29.000Z
great_expectations/rule_based_profiler/types/__init__.py
denimalpaca/great_expectations
0f28f3c2b3cc6fae3bc5d257c6d4d13dbcf37df0
[ "Apache-2.0" ]
null
null
null
great_expectations/rule_based_profiler/types/__init__.py
denimalpaca/great_expectations
0f28f3c2b3cc6fae3bc5d257c6d4d13dbcf37df0
[ "Apache-2.0" ]
1
2021-11-29T07:37:28.000Z
2021-11-29T07:37:28.000Z
from .builder import Builder from .domain import ( # isort:skip Domain, SemanticDomainTypes, InferredSemanticDomainType, ) from .parameter_container import ( # isort:skip ParameterNode, ParameterContainer, build_parameter_container, build_parameter_container_for_variables, get_paramet...
25
58
0.785
40
400
7.425
0.55
0.181818
0.10101
0
0
0
0
0
0
0
0
0
0.165
400
15
59
26.666667
0.889222
0.0525
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
1
1c607ef03cb86592ad0a0684f5dab9a8545602c4
4,269
py
Python
validate_error_messages.py
manu0218/ltfs
bd7d5730af304c0b567c79a14b8a860fd13bca7f
[ "BSD-3-Clause" ]
121
2017-10-12T10:25:24.000Z
2022-03-15T16:27:19.000Z
validate_error_messages.py
manu0218/ltfs
bd7d5730af304c0b567c79a14b8a860fd13bca7f
[ "BSD-3-Clause" ]
174
2017-10-15T01:41:33.000Z
2022-03-26T03:12:43.000Z
validate_error_messages.py
manu0218/ltfs
bd7d5730af304c0b567c79a14b8a860fd13bca7f
[ "BSD-3-Clause" ]
52
2017-10-12T13:41:31.000Z
2022-03-10T03:34:15.000Z
#!/usr/bin/env python2.7 import os import re re_msgid_all = r'(?P<id>(?P<val>[I0-9][0-9]{3,4})[EWID])' re_msgid_all2 = r'"LTFS(?P<id>(?P<val>[0-9]{4,5})[EWID])' re_msgid_bundle = r'(^|[^0-9])(?P<id>(?P<val>[0-9]{4,5})[EWID]):string' msg_used = set() msg_unref = set() def check_line(path, linenum, x): m...
28.651007
83
0.596393
745
4,269
3.332886
0.167785
0.074104
0.068868
0.04712
0.486508
0.438985
0.362465
0.298429
0.281514
0.250101
0
0.01937
0.226048
4,269
148
84
28.844595
0.732143
0.037948
0
0.381679
0
0.022901
0.214042
0.054608
0
0
0
0
0
0
null
null
0
0.015267
null
null
0.160305
0
0
0
null
0
0
0
0
0
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
1c657d1cf52f59df796da922253fa7d9f76c1d43
2,613
py
Python
tests/integration/test_rates.py
maria-thom/currencycloud-python
ad02b72adc6ff46c31fadedb6575090e7c6eece6
[ "MIT" ]
12
2015-07-31T10:28:55.000Z
2021-12-28T03:28:37.000Z
tests/integration/test_rates.py
maria-thom/currencycloud-python
ad02b72adc6ff46c31fadedb6575090e7c6eece6
[ "MIT" ]
26
2015-07-01T16:25:19.000Z
2022-02-25T14:42:18.000Z
tests/integration/test_rates.py
maria-thom/currencycloud-python
ad02b72adc6ff46c31fadedb6575090e7c6eece6
[ "MIT" ]
20
2015-10-14T18:21:04.000Z
2022-02-02T09:59:28.000Z
from betamax import Betamax from currencycloud import Client, Config from currencycloud.resources import * class TestRates: def setup_method(self, method): # TODO: To run against real server please delete ../fixtures/vcr_cassettes/* and replace # login_id and api_key with valid credentials befor...
34.381579
99
0.642174
283
2,613
5.689046
0.34629
0.081988
0.037267
0.057143
0.426708
0.391925
0.344721
0.319255
0.319255
0.267702
0
0.018231
0.286261
2,613
75
100
34.84
0.84504
0.059319
0
0.254902
0
0
0.115729
0.076202
0
0
0
0.013333
0.27451
1
0.078431
false
0
0.058824
0
0.156863
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1c71da6bf5f63d0ee153d7d50273dc247b77910c
3,463
py
Python
AoC2017/Day_20/Day_20.py
byarmis/AdventOfCode
9c91808c2ea06d49f7e726779ac44918a99136f0
[ "Unlicense" ]
null
null
null
AoC2017/Day_20/Day_20.py
byarmis/AdventOfCode
9c91808c2ea06d49f7e726779ac44918a99136f0
[ "Unlicense" ]
null
null
null
AoC2017/Day_20/Day_20.py
byarmis/AdventOfCode
9c91808c2ea06d49f7e726779ac44918a99136f0
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import re from collections import Counter class Vector: def __init__(self, x, y, z): self.x = int(x) self.y = int(y) self.z = int(z) @property def dist(self): return abs(self.x) + abs(self.y) + abs(self.z) def __add__(sel...
24.387324
85
0.524978
457
3,463
3.803063
0.238512
0.056387
0.060414
0.065593
0.360759
0.348101
0.292865
0.292865
0.292865
0.292865
0
0.009491
0.330638
3,463
141
86
24.560284
0.740293
0.041294
0
0.291667
0
0
0.038612
0.007843
0
0
0
0
0.020833
1
0.166667
false
0
0.020833
0.114583
0.34375
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1c728140272618168bafb295ac086198b3be3c23
2,103
py
Python
chhotu/miscdata/models.py
roshan007/chhout.web.backend
a952a53d908fb0c648b8b7279130166c2054f502
[ "MIT" ]
null
null
null
chhotu/miscdata/models.py
roshan007/chhout.web.backend
a952a53d908fb0c648b8b7279130166c2054f502
[ "MIT" ]
null
null
null
chhotu/miscdata/models.py
roshan007/chhout.web.backend
a952a53d908fb0c648b8b7279130166c2054f502
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.db import models from django.utils.translation import ugettext_lazy as _ from accounts.models import Profile from products.models import Product from .managers import FeedbackManager, ProductFeedbackManager, ProductOrderTrackManager class Feedback(models.Model): ...
30.926471
87
0.700903
222
2,103
6.342342
0.36036
0.046875
0.034091
0.038352
0.262074
0.239347
0.185369
0.117188
0.090909
0.090909
0
0
0.190204
2,103
67
88
31.38806
0.826776
0.076082
0
0.268293
0
0
0.129151
0
0
0
0
0
0
1
0.073171
false
0
0.146341
0.073171
0.780488
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
1c751056fccc34673e119948893e1b760624b3d4
2,542
py
Python
openaveg.py
braghiere/python_plots
83d19c5e67e3542eee38b7c89958fca1fc6c4402
[ "Apache-2.0" ]
null
null
null
openaveg.py
braghiere/python_plots
83d19c5e67e3542eee38b7c89958fca1fc6c4402
[ "Apache-2.0" ]
null
null
null
openaveg.py
braghiere/python_plots
83d19c5e67e3542eee38b7c89958fca1fc6c4402
[ "Apache-2.0" ]
null
null
null
import itertools import numpy as np import matplotlib.pyplot as plt import os import glob import tempfile from scipy import stats import matplotlib.lines as mlines #identifies all the openness files in a folder list_of_files = glob.glob('./openness*.txt') num_plots = len(list_of_files) #print num_plots # Have a lo...
29.55814
81
0.682927
414
2,542
4.048309
0.316425
0.062053
0.032816
0.038783
0.213007
0.168854
0.107995
0
0
0
0
0.029858
0.169945
2,542
85
82
29.905882
0.764455
0.287175
0
0
0
0
0.048603
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.020833
0
0
0
null
0
0
0
0
0
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
1c752029b7fc64ec375a55182e5342c9eb48bb33
606
py
Python
configs/common/models/fcos.py
mmabrouk/detectron2
158e395acdb8ca6ed6d488b43475f9ef9d200405
[ "Apache-2.0" ]
21,274
2019-10-10T17:50:46.000Z
2022-03-31T17:58:45.000Z
configs/common/models/fcos.py
mmabrouk/detectron2
158e395acdb8ca6ed6d488b43475f9ef9d200405
[ "Apache-2.0" ]
3,253
2019-10-10T20:39:47.000Z
2022-03-31T22:27:53.000Z
configs/common/models/fcos.py
mmabrouk/detectron2
158e395acdb8ca6ed6d488b43475f9ef9d200405
[ "Apache-2.0" ]
6,288
2019-10-10T18:00:27.000Z
2022-03-31T21:22:58.000Z
from detectron2.modeling.meta_arch.fcos import FCOS, FCOSHead from .retinanet import model model._target_ = FCOS del model.anchor_generator del model.box2box_transform del model.anchor_matcher del model.input_format # Use P5 instead of C5 to compute P6/P7 # (Sec 2.2 of https://arxiv.org/abs/2006.09214) model.backbo...
25.25
70
0.79538
100
606
4.63
0.62
0.086393
0.060475
0.090713
0.099352
0
0
0
0
0
0
0.046642
0.115512
606
23
71
26.347826
0.817164
0.250825
0
0
0
0
0.008889
0
0
0
0
0
0
1
0
true
0
0.142857
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
0
0
0
0
0
0
1
1c7d549b4842f04878730b9d772e1af059434ca1
1,699
py
Python
2020/day02.py
hrushikeshrv/aoc
00b3315cb7119acfe5536ae2dd5a3a78a76b0502
[ "MIT" ]
1
2020-12-05T03:59:02.000Z
2020-12-05T03:59:02.000Z
2020/day02.py
hrushikeshrv/aoc
00b3315cb7119acfe5536ae2dd5a3a78a76b0502
[ "MIT" ]
null
null
null
2020/day02.py
hrushikeshrv/aoc
00b3315cb7119acfe5536ae2dd5a3a78a76b0502
[ "MIT" ]
null
null
null
""" Problem 1 - https://adventofcode.com/2020/day/2 Part 1 - Given a list of password and conditions the passwords have to fulfill, return the number of passwords that fulfill the conditions Part 2 - Same as part 1 with different conditions """ # Set up the input with open('input-02122020.txt', 'r') as file...
20.975309
134
0.571513
247
1,699
3.870445
0.275304
0.050209
0.043933
0.100418
0.533473
0.507322
0.492678
0.366109
0.313808
0.213389
0
0.050293
0.297822
1,699
80
135
21.2375
0.751048
0.250147
0
0.425
0
0
0.020292
0
0
0
0
0
0
1
0.1
false
0.325
0
0
0.275
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
1
0
0
0
0
0
1
1c7ff0a5173589a4425b679e93400ebb41cca4c8
5,300
py
Python
applications/alumniprofile/models.py
riteshsoni123/alumni
f3a4f737117e9b6d5720023e84176b92cd486c3a
[ "MIT" ]
null
null
null
applications/alumniprofile/models.py
riteshsoni123/alumni
f3a4f737117e9b6d5720023e84176b92cd486c3a
[ "MIT" ]
null
null
null
applications/alumniprofile/models.py
riteshsoni123/alumni
f3a4f737117e9b6d5720023e84176b92cd486c3a
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.db import models from django.utils import timezone import datetime, os from django.db.models.signals import post_save, pre_save from django.dispatch import receiver from model_utils import FieldTracker from time import strftime from applications.adminportal.mail_h...
39.552239
105
0.696226
664
5,300
5.412651
0.317771
0.048971
0.057874
0.061491
0.296049
0.253756
0.204508
0.135504
0.112688
0
0
0.018578
0.177358
5,300
133
106
39.849624
0.805734
0.062264
0
0.020202
0
0
0.092779
0
0
0
0
0
0
1
0.040404
false
0
0.090909
0.020202
0.646465
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
1c81c117bc4d17d8e17e14e67a8ce6dcdb4d1a68
996
py
Python
solutions/python/2018/breakDown3.py
lucifer1198/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
2
2020-12-21T22:09:26.000Z
2021-01-01T15:40:01.000Z
solutions/python/2018/breakDown3.py
nsu1210/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
null
null
null
solutions/python/2018/breakDown3.py
nsu1210/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
1
2021-01-28T18:15:02.000Z
2021-01-28T18:15:02.000Z
""" Last one was a bit easy. Let's ramp it up a tad :) This challenge is close to the real deal. Some of you may get it here. Solve the equation for X. Example For string = "99X=1(mod 8)", the output should be breakDown3(string) = 3. "99X=1(mod 8)". To solve this equation, first you must reduce the left side. Make i...
32.129032
239
0.696787
206
996
3.368932
0.514563
0.028818
0.028818
0.023055
0
0
0
0
0
0
0
0.040103
0.223896
996
30
240
33.2
0.857697
0.875502
0
0
0
0
0.025862
0
0
0
0
0
0
1
0.2
false
0
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1c81d1be835759c0afccd2fe225adc9f9885d141
2,472
py
Python
debug_run.py
feilaoda/espider
e80b224a036141b17a21445c94de646d5e4d1482
[ "Apache-2.0" ]
1
2015-02-20T09:40:31.000Z
2015-02-20T09:40:31.000Z
debug_run.py
wecoders/CloudNews
5536e1315a3152bc8a3f3bc5fdcde728fdfff342
[ "Apache-1.1" ]
null
null
null
debug_run.py
wecoders/CloudNews
5536e1315a3152bc8a3f3bc5fdcde728fdfff342
[ "Apache-1.1" ]
1
2021-11-29T01:28:14.000Z
2021-11-29T01:28:14.000Z
# -*- coding: utf-8 -*- #!/usr/bin/env python from gevent import monkey monkey.patch_all() import os import datetime import sys PROJDIR = os.path.abspath(os.path.dirname(__file__)) ROOTDIR = os.path.split(PROJDIR)[0] try: import site site.addsitedir(PROJDIR) # print(sys.path) import easyspider p...
28.413793
134
0.696197
321
2,472
5.211838
0.352025
0.033473
0.035864
0.020323
0.081291
0.081291
0.050209
0.050209
0
0
0
0.005789
0.161408
2,472
86
135
28.744186
0.801254
0.256068
0
0
0
0.020408
0.175207
0.070523
0
0
0
0
0
1
0.020408
false
0
0.306122
0
0.346939
0.122449
0
0
0
null
0
0
0
0
0
0
0
0
0
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
1c81d8589cafadd645f133a4deceffe5ec74a62a
3,310
py
Python
coffin/template/loaders.py
akx/coffin
7ec1c216a943bceddee4a662a1b1da1069f91231
[ "BSD-3-Clause" ]
1
2018-03-05T08:19:49.000Z
2018-03-05T08:19:49.000Z
coffin/template/loaders.py
Deepwalker/coffin
5313abe5dbae1b32772c8de236e9a667e4822363
[ "BSD-3-Clause" ]
null
null
null
coffin/template/loaders.py
Deepwalker/coffin
5313abe5dbae1b32772c8de236e9a667e4822363
[ "BSD-3-Clause" ]
1
2019-08-14T09:51:23.000Z
2019-08-14T09:51:23.000Z
from jinja2 import loaders def jinja_loader_from_django_loader(django_loader, args=None): """Attempts to make a conversion from the given Django loader to an similarly-behaving Jinja loader. :param django_loader: Django loader module string. :return: The similarly-behaving Jinja loader, or None if a ...
38.045977
77
0.726888
443
3,310
5.27991
0.340858
0.041043
0.035913
0.024369
0.176999
0.091065
0.065413
0.065413
0.065413
0.065413
0
0.002268
0.200604
3,310
86
78
38.488372
0.881708
0.527795
0
0.0625
0
0
0.026931
0
0
0
0
0
0
1
0.1875
false
0
0.09375
0
0.53125
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
1c82628c1c6559d7573d3a8142a869b1af3115dc
1,123
py
Python
openpype/hosts/blender/plugins/publish/validate_object_mode.py
dangerstudios/OpenPype
10ddcc4699137888616eec57cd7fac9648189714
[ "MIT" ]
87
2021-05-07T08:40:46.000Z
2022-03-19T00:36:25.000Z
openpype/hosts/blender/plugins/publish/validate_object_mode.py
dangerstudios/OpenPype
10ddcc4699137888616eec57cd7fac9648189714
[ "MIT" ]
1,019
2021-04-26T06:22:56.000Z
2022-03-31T16:30:43.000Z
openpype/hosts/blender/plugins/publish/validate_object_mode.py
dangerstudios/OpenPype
10ddcc4699137888616eec57cd7fac9648189714
[ "MIT" ]
33
2021-04-29T12:35:54.000Z
2022-03-25T14:48:42.000Z
from typing import List import pyblish.api import openpype.hosts.blender.api.action class ValidateObjectIsInObjectMode(pyblish.api.InstancePlugin): """Validate that the current object is in Object Mode.""" order = pyblish.api.ValidatorOrder - 0.01 hosts = ["blender"] families = ["model", "rig"] ...
31.194444
77
0.595726
125
1,123
5.336
0.496
0.047976
0.071964
0.071964
0.176912
0
0
0
0
0
0
0.003886
0.312556
1,123
35
78
32.085714
0.860104
0.081033
0
0
0
0
0.118908
0
0
0
0
0
0
1
0.074074
false
0
0.111111
0
0.518519
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
1c87599dec75cf70677c80402002d1353b41e63d
346
py
Python
tests/conftest.py
neumond/epimetheus
4c48e15c97824d28d02b9b9eea585f924ddbaae3
[ "MIT" ]
null
null
null
tests/conftest.py
neumond/epimetheus
4c48e15c97824d28d02b9b9eea585f924ddbaae3
[ "MIT" ]
null
null
null
tests/conftest.py
neumond/epimetheus
4c48e15c97824d28d02b9b9eea585f924ddbaae3
[ "MIT" ]
null
null
null
from datetime import timezone import pytest @pytest.fixture def ts_freezer(freezer): def get_ts(): ts = freezer.time_to_freeze.replace(tzinfo=timezone.utc).timestamp() return int(ts * 1000) freezer.get_ts = get_ts return freezer @pytest.fixture def frozen_sample_time(ts_freezer): r...
18.210526
76
0.719653
49
346
4.857143
0.44898
0.151261
0.134454
0
0
0
0
0
0
0
0
0.014286
0.190751
346
18
77
19.222222
0.835714
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.083333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1c87729924effc2dec9d0b8acd2b56726b834828
1,271
py
Python
src/homework/f_files_exception/main.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-dkwoytek
db3e2bfbd4f8c64d419c52bd0517578fb42dbd39
[ "MIT" ]
null
null
null
src/homework/f_files_exception/main.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-dkwoytek
db3e2bfbd4f8c64d419c52bd0517578fb42dbd39
[ "MIT" ]
null
null
null
src/homework/f_files_exception/main.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-dkwoytek
db3e2bfbd4f8c64d419c52bd0517578fb42dbd39
[ "MIT" ]
null
null
null
import files inventory = {} menu_selex = "y" while menu_selex == "y": #This is so that HW 7 Menu is generated print('\nHomework 7 Menu\n1-Add or Update Item\n2-Display Items\n3-Exit') selex = int(input('Please select menu item 1, 2 or 3: ')) if selex == 1: #This is the Add or Update Item part of the...
41
152
0.65775
189
1,271
4.359788
0.439153
0.029126
0.040049
0.069175
0.058252
0
0
0
0
0
0
0.012725
0.258065
1,271
30
153
42.366667
0.861082
0.151062
0
0
1
0.090909
0.463687
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0.227273
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
1c9b8fb341ef882dcba9073374a160343230c814
1,579
py
Python
tests/django_tests/testapp/models.py
fullctl/fullctl
20912fafb5b004ca00e3aa935d62df7ecea595fe
[ "Apache-2.0" ]
2
2021-11-03T20:16:28.000Z
2021-11-09T01:59:32.000Z
tests/django_tests/testapp/models.py
fullctl/fullctl
20912fafb5b004ca00e3aa935d62df7ecea595fe
[ "Apache-2.0" ]
38
2021-01-19T15:50:06.000Z
2022-03-29T22:19:12.000Z
tests/django_tests/testapp/models.py
fullctl/fullctl
20912fafb5b004ca00e3aa935d62df7ecea595fe
[ "Apache-2.0" ]
null
null
null
""" Contains a bunch of concrete models to help testing """ from fullctl.django.models import Task from fullctl.django.tasks import qualifiers, register @register class TestTask(Task): class Meta: proxy = True class HandleRef: tag = "task_test" class TaskMeta: result_type = int ...
16.621053
55
0.594047
180
1,579
5.138889
0.316667
0.084324
0.090811
0.116757
0.40973
0.341622
0.341622
0.294054
0.251892
0
0
0.004617
0.314123
1,579
94
56
16.797872
0.849492
0.032299
0
0.564516
0
0
0.063816
0
0
0
0
0
0
1
0.080645
false
0
0.048387
0.048387
0.564516
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
1c9c9d9f8bec9eb05951c907788668feea3ad257
874
py
Python
plugins/CompleteLikeEclipse/scribes/edit/complete_like_eclipse/IndexerProcess/IndexerManager.py
baverman/scribes-goodies
f6ebfe62e5103d5337929648109b4e610950bced
[ "MIT" ]
1
2019-01-14T11:47:48.000Z
2019-01-14T11:47:48.000Z
plugins/CompleteLikeEclipse/scribes/edit/complete_like_eclipse/IndexerProcess/IndexerManager.py
Bhanditz/scribes-goodies
f6ebfe62e5103d5337929648109b4e610950bced
[ "MIT" ]
null
null
null
plugins/CompleteLikeEclipse/scribes/edit/complete_like_eclipse/IndexerProcess/IndexerManager.py
Bhanditz/scribes-goodies
f6ebfe62e5103d5337929648109b4e610950bced
[ "MIT" ]
1
2019-01-14T11:47:39.000Z
2019-01-14T11:47:39.000Z
from gobject import GObject, SIGNAL_RUN_LAST, TYPE_NONE, TYPE_PYOBJECT from gobject import SIGNAL_NO_RECURSE, SIGNAL_ACTION, TYPE_STRING SCRIBES_SIGNAL = SIGNAL_RUN_LAST|SIGNAL_NO_RECURSE|SIGNAL_ACTION class Manager(GObject): __gsignals__ = { "new-job": (SCRIBES_SIGNAL, TYPE_NONE, (TYPE_PYOBJECT,)), "finished": ...
27.3125
71
0.770023
113
874
5.610619
0.380531
0.063091
0.07571
0.126183
0.241325
0.156151
0
0
0
0
0
0.001323
0.135011
874
31
72
28.193548
0.837302
0
0
0
0
0
0.046911
0
0
0
0
0
0
1
0.115385
false
0
0.269231
0
0.538462
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
98bb84c484f327c5522260ca62fa12b62d566508
1,796
py
Python
664_proj.py
lvroom27/INFO664
6b17c80fb2a0aaf3e77a9e0402eff4c1108ca757
[ "MIT" ]
null
null
null
664_proj.py
lvroom27/INFO664
6b17c80fb2a0aaf3e77a9e0402eff4c1108ca757
[ "MIT" ]
null
null
null
664_proj.py
lvroom27/INFO664
6b17c80fb2a0aaf3e77a9e0402eff4c1108ca757
[ "MIT" ]
null
null
null
import requests import json headers = { 'User-Agent': 'Lauras Project' } payload = {'GET': 'https://api.rawg.io/api/games?dates=2019-01-01,2019-12-31&ordering=-added'} url = 'https://api.rawg.io/api/games' r = requests.get(url, headers=headers, params=payload) data_dict = json.loads(r.text) game_count = len(da...
35.92
100
0.644209
235
1,796
4.770213
0.26383
0.099911
0.173952
0.171276
0.264942
0.167707
0
0
0
0
0
0.015043
0.148664
1,796
49
101
36.653061
0.718116
0
0
0
0
0.027027
0.236637
0
0
0
0
0
0
1
0
false
0
0.054054
0
0.054054
0.027027
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
98bbedb8ce99c2bb8e805673092b7b1c6ce3d721
652
py
Python
search_email.py
mwalsh161/google
3f662f5c4a08bbb41c8bc91280a8ba03ae82eef8
[ "MIT" ]
1
2018-10-05T16:12:43.000Z
2018-10-05T16:12:43.000Z
search_email.py
mwalsh161/google
3f662f5c4a08bbb41c8bc91280a8ba03ae82eef8
[ "MIT" ]
null
null
null
search_email.py
mwalsh161/google
3f662f5c4a08bbb41c8bc91280a8ba03ae82eef8
[ "MIT" ]
null
null
null
import Google import re, datetime, sys from pyquery import PyQuery as pq def main(): g = Google.Google() g.authenticate() l = -1 at_least_one = False for msg in g.search(query): at_least_one = True if g.resultSizeEstimate != l: l = g.resultSizeEstimate print...
21.733333
45
0.565951
84
652
4.22619
0.52381
0.059155
0.084507
0
0
0
0
0
0
0
0
0.006772
0.320552
652
29
46
22.482759
0.794582
0
0
0
0
0
0.08589
0
0
0
0
0
0
0
null
null
0
0.12
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
98c2d26181c1e52a8ef958a85e9ddda3c18ca514
2,626
py
Python
data/datasets/LowResHighResDataset.py
khoehlein/CNNs-for-Wind-Field-Downscaling
eb8418d4d893fcb2beb929abb241281b7a9b6a95
[ "MIT" ]
5
2021-05-05T06:08:52.000Z
2022-03-24T04:57:52.000Z
data/datasets/LowResHighResDataset.py
khoehlein/CNNs-for-Wind-Field-Downscaling
eb8418d4d893fcb2beb929abb241281b7a9b6a95
[ "MIT" ]
null
null
null
data/datasets/LowResHighResDataset.py
khoehlein/CNNs-for-Wind-Field-Downscaling
eb8418d4d893fcb2beb929abb241281b7a9b6a95
[ "MIT" ]
2
2021-08-07T05:18:05.000Z
2022-03-31T03:48:37.000Z
import numpy as np from torch.utils.data import Dataset from collections import namedtuple region_geometry = namedtuple('region_geometry', ['lon', 'lat', 'mask']) class LowResHighResDataset(Dataset): def __init__( self, geometry_lr, geometry_hr, grid_names_lr, ...
33.240506
83
0.674029
333
2,626
4.978979
0.162162
0.162847
0.117612
0.045235
0.365501
0.208082
0.108565
0.056695
0
0
0
0.001994
0.236101
2,626
78
84
33.666667
0.824526
0
0
0.163934
0
0
0.039223
0
0
0
0
0
0.147541
1
0.229508
false
0
0.04918
0.04918
0.344262
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
98c939f6e7a5a3d79e3b786dcdd3ca622c04d69f
1,641
py
Python
Models/SVM.py
bio-hpc/sibila
337ea84692d6ea4f4d3e4de9da51f5ee53cff6d7
[ "Apache-2.0" ]
1
2022-03-07T11:05:31.000Z
2022-03-07T11:05:31.000Z
Models/SVM.py
bio-hpc/sibila
337ea84692d6ea4f4d3e4de9da51f5ee53cff6d7
[ "Apache-2.0" ]
null
null
null
Models/SVM.py
bio-hpc/sibila
337ea84692d6ea4f4d3e4de9da51f5ee53cff6d7
[ "Apache-2.0" ]
null
null
null
# Import svm model from sklearn import svm from .BaseModel import * from os.path import join from joblib import dump from Tools.TypeML import TypeML #### kernel "linear", "poly", "rbf", "sigmoid", "precomputed", default="rbf" PREFIX_OUT_SVM = '{}_{}_{}' # Model, Dataset, numero de arboles, numero de profundidad, RAND...
38.162791
101
0.607556
214
1,641
4.443925
0.369159
0.088328
0.126183
0.168244
0.332282
0.231335
0.170347
0.126183
0
0
0
0
0.24802
1,641
42
102
39.071429
0.770665
0.111517
0
0
0
0
0.101379
0.015862
0
0
0
0
0
1
0.125
false
0
0.15625
0.03125
0.375
0.03125
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
98c9a07112d9133c1b0246cd6dc8243f347c6fce
2,265
py
Python
imcomplete-projetcts/aws-tools/sandbox/lambda_try.py
pyohei/test
3f12ad8519f5c5a13b1aab4509a0b44718ca8509
[ "MIT" ]
null
null
null
imcomplete-projetcts/aws-tools/sandbox/lambda_try.py
pyohei/test
3f12ad8519f5c5a13b1aab4509a0b44718ca8509
[ "MIT" ]
4
2020-03-06T03:04:40.000Z
2021-05-16T12:57:16.000Z
imcomplete-projetcts/aws-tools/sandbox/lambda_try.py
pyohei/my-sandbox
683af11781dae672a10eee5b5dd838d0f055fb04
[ "MIT" ]
null
null
null
import json import boto3 import logging import random queue_name = 'sandbox_account' max_queue = 10 SAMPLE_JSON = [ {"type": "add", "id": "num%s".format(random.randint(1, 10000)), "fields": { "message": "testhogehoge"}} ] str_json = json.dumps(SAMPLE_JSON) logger = logging.getLogger() logg...
33.308824
75
0.54702
225
2,265
5.36
0.408889
0.066335
0.032338
0.034826
0.072968
0.072968
0.072968
0
0
0
0
0.008434
0.267108
2,265
67
76
33.80597
0.718072
0.430905
0
0
0
0
0.170178
0.017018
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
98ca578e8c6ed156b02ea92ac9471cb38e633875
2,609
py
Python
Day 41/FairRations.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
Day 41/FairRations.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
Day 41/FairRations.py
sandeep-krishna/100DaysOfCode
af4594fb6933e4281d298fa921311ccc07295a7c
[ "MIT" ]
null
null
null
''' You are the benevolent ruler of Rankhacker Castle, and today you're distributing bread. Your subjects are in a line, and some of them already have some loaves. Times are hard and your castle's food stocks are dwindling, so you must distribute as few loaves as possible according to the following rules: Every time y...
30.337209
302
0.728632
437
2,609
4.329519
0.386728
0.038055
0.059197
0.022199
0.168076
0.104651
0.02537
0
0
0
0
0.010816
0.220391
2,609
85
303
30.694118
0.919371
0.803756
0
0
0
0
0.047714
0
0
0
0
0
0
1
0.045455
false
0
0.227273
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98cab5944618253ef8b89d4fc5fc1291b86e97ca
682
py
Python
src/formidable/migrations/0016_alter_application_form.py
danpercic86/formidable-backend
9390b094588110d224eb633ecb337497a16be59f
[ "Apache-2.0" ]
2
2021-01-25T23:40:39.000Z
2021-05-24T00:16:27.000Z
src/formidable/migrations/0016_alter_application_form.py
danpercic86/formidable-backend
9390b094588110d224eb633ecb337497a16be59f
[ "Apache-2.0" ]
59
2021-03-01T03:49:56.000Z
2022-03-15T07:30:26.000Z
src/formidable/migrations/0016_alter_application_form.py
danpercic86/formidable-backend
9390b094588110d224eb633ecb337497a16be59f
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.3 on 2021-05-17 21:33 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("formidable", "0015_auto_20210517_0408"), ] operations = [ migrations.AlterField( model_name="ap...
26.230769
61
0.583578
68
682
5.720588
0.632353
0.061697
0.071979
0.113111
0
0
0
0
0
0
0
0.066381
0.315249
682
25
62
27.28
0.766595
0.065982
0
0.105263
1
0
0.181102
0.03622
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98cc8bee80f675821799c9d89cf6bf48efeaa3e7
788
py
Python
movimento/migrations/0003_auto_20180131_1216.py
pontual/sistema-v1
5f63d11083077035326787a56c3ae8b66ee2054c
[ "MIT" ]
1
2020-11-24T19:18:33.000Z
2020-11-24T19:18:33.000Z
movimento/migrations/0003_auto_20180131_1216.py
pontual/sistema-v1
5f63d11083077035326787a56c3ae8b66ee2054c
[ "MIT" ]
null
null
null
movimento/migrations/0003_auto_20180131_1216.py
pontual/sistema-v1
5f63d11083077035326787a56c3ae8b66ee2054c
[ "MIT" ]
null
null
null
# Generated by Django 2.0.1 on 2018-01-31 14:16 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('movimento', '0002_auto_20180130_2339'), ] operations = [ migrations.AlterField( model_name='tra...
31.52
152
0.656091
88
788
5.727273
0.511364
0.063492
0.083333
0.130952
0.5
0.5
0.333333
0.333333
0.333333
0.333333
0
0.050654
0.22335
788
24
153
32.833333
0.772876
0.057107
0
0.333333
1
0
0.183536
0.031039
0
0
0
0
0
1
0
false
0
0.111111
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98ccfdf83c828fcf780daa9cfda5bad7344b8807
1,917
py
Python
python/misc/tests/latex.py
meurissemax/autonomous-drone
e6b4288af18be7dcf136121e73454e08f3277c88
[ "MIT" ]
3
2022-01-13T15:24:48.000Z
2022-03-08T16:51:12.000Z
python/misc/tests/latex.py
meurissemax/autonomous-drone
e6b4288af18be7dcf136121e73454e08f3277c88
[ "MIT" ]
null
null
null
python/misc/tests/latex.py
meurissemax/autonomous-drone
e6b4288af18be7dcf136121e73454e08f3277c88
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Implementation of some tests with settings used to generate plots with LaTeX style. """ ########### # Imports # ########### import numpy as np import os import sys current = os.path.dirname(os.path.realpath(__file__)) parent = os.path.dirname(os.path.dirname(current)) sys.path.append(pare...
16.815789
76
0.543558
231
1,917
4.419913
0.415584
0.023506
0.066601
0.029383
0.08619
0.048972
0
0
0
0
0
0.011653
0.283777
1,917
113
77
16.964602
0.731974
0.090245
0
0.085714
1
0
0.134265
0
0
0
0
0
0
1
0.014286
false
0
0.071429
0
0.085714
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
98ce20c796558122bc881cec1bb78c4f4f15673f
1,948
py
Python
setup.py
bearrito/testcontainers-python
8046e757a50121fe411fa390741c2e8c64846503
[ "Apache-2.0" ]
null
null
null
setup.py
bearrito/testcontainers-python
8046e757a50121fe411fa390741c2e8c64846503
[ "Apache-2.0" ]
null
null
null
setup.py
bearrito/testcontainers-python
8046e757a50121fe411fa390741c2e8c64846503
[ "Apache-2.0" ]
null
null
null
# # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # ...
36.754717
78
0.63039
205
1,948
5.970732
0.682927
0.04902
0.021242
0.026144
0
0
0
0
0
0
0
0.008892
0.249487
1,948
52
79
37.461538
0.828317
0.280287
0
0.052632
0
0
0.549784
0.019481
0
0
0
0
0
1
0
true
0
0.026316
0
0.026316
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
98ce8dd25be168b5bc57782899aa64b4013d4754
3,246
py
Python
tests/test_tcp_transport_async.py
KOLANICH-libs/adb_shell
bf4d348e3aa0999b24976de9bac442b0e180a27e
[ "Apache-2.0" ]
268
2019-09-25T16:38:51.000Z
2022-03-31T07:08:17.000Z
tests/test_tcp_transport_async.py
KOLANICH-libs/adb_shell
bf4d348e3aa0999b24976de9bac442b0e180a27e
[ "Apache-2.0" ]
73
2019-09-30T14:25:38.000Z
2022-01-23T23:04:29.000Z
tests/test_tcp_transport_async.py
KOLANICH-libs/adb_shell
bf4d348e3aa0999b24976de9bac442b0e180a27e
[ "Apache-2.0" ]
48
2019-11-05T20:37:59.000Z
2022-03-09T08:12:06.000Z
import asyncio import unittest from unittest.mock import patch from adb_shell.exceptions import TcpTimeoutException from adb_shell.transport.tcp_transport_async import TcpTransportAsync from .async_patchers import FakeStreamReader, FakeStreamWriter, async_patch from .async_wrapper import awaiter from . import patcher...
39.585366
107
0.716574
364
3,246
6.151099
0.178571
0.121929
0.11255
0.080393
0.72711
0.706565
0.640464
0.627512
0.627512
0.552032
0
0.006808
0.185459
3,246
81
108
40.074074
0.840015
0.018484
0
0.516667
0
0
0.071924
0.066877
0
0
0
0
0.183333
1
0.016667
false
0
0.133333
0
0.166667
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
98d98d88a6633a1ba8ee36eea08af308506544c4
3,314
py
Python
sdk/python/feast/types/Feature_pb2.py
lgvital/feast2
833d49559a4d353ac682f27268725fcc14f93f6e
[ "Apache-2.0" ]
1
2019-12-12T13:21:56.000Z
2019-12-12T13:21:56.000Z
sdk/python/feast/types/Feature_pb2.py
lgvital/feast2
833d49559a4d353ac682f27268725fcc14f93f6e
[ "Apache-2.0" ]
null
null
null
sdk/python/feast/types/Feature_pb2.py
lgvital/feast2
833d49559a4d353ac682f27268725fcc14f93f6e
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: feast/types/Feature.proto import sys _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode("latin1")) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from ...
30.40367
357
0.657514
389
3,314
5.339332
0.323907
0.052961
0.057294
0.046221
0.260472
0.224362
0.212807
0.146365
0.109774
0.109774
0
0.044549
0.227821
3,314
108
358
30.685185
0.767097
0.073325
0
0.329545
1
0.022727
0.20953
0.173629
0
0
0
0
0
1
0
false
0
0.068182
0
0.068182
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
98df6d4c8686c879e449a5be913eca458a9fd420
8,078
py
Python
app/core/error.py
ducanh-99/project_design
9f59aa4a0748a26d9c58dab8f69fce22e372ecb0
[ "MIT" ]
null
null
null
app/core/error.py
ducanh-99/project_design
9f59aa4a0748a26d9c58dab8f69fce22e372ecb0
[ "MIT" ]
null
null
null
app/core/error.py
ducanh-99/project_design
9f59aa4a0748a26d9c58dab8f69fce22e372ecb0
[ "MIT" ]
null
null
null
class ErrorCode(object): ERROR_001_REQUIRED_FIELD_NOT_NULL = '001' ERROR_002_PAGE_SIZE_LARGE_THAN_0 = '002' ERROR_003_PAGE_LARGE_THAN_0 = '003' ERROR_004_FIELD_VALUE_INVALID = '004' ERROR_005_ORDER_VALUE_INVALID = '005' ERROR_006_SEARCH_PARAMS_INVALID = '006' ERROR_040_UNAUTHORIZED = '040' ...
61.19697
138
0.784972
1,303
8,078
4.408289
0.224866
0.016713
0.013405
0.016017
0.348712
0.235376
0.163649
0.056407
0.04422
0.013928
0
0.084914
0.164645
8,078
131
139
61.664122
0.766301
0
0
0
0
0.015748
0.326318
0
0
0
0
0
0
1
0
false
0.015748
0
0
0.984252
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
98e55df6ba73751d68f2a63f2076ba6d9c0ceec1
626
py
Python
test.py
Jana1977/right1
ec73041629c547c939a4d3099ea2b32dd4066105
[ "MIT" ]
null
null
null
test.py
Jana1977/right1
ec73041629c547c939a4d3099ea2b32dd4066105
[ "MIT" ]
null
null
null
test.py
Jana1977/right1
ec73041629c547c939a4d3099ea2b32dd4066105
[ "MIT" ]
null
null
null
import sqlite3 connection = sqlite3.connect('data.db') cursor = connection.cursor() # drop_table = "DROP TABLE users " # cursor.execute(drop_table) create_table = "CREATE TABLE users (id int, username text, password text)" cursor.execute(create_table) #a tuple #user = (1,'jana','asdf') users = [ (1,'jana','asdf'...
18.969697
74
0.704473
84
626
5.142857
0.488095
0.12037
0.074074
0
0
0
0
0
0
0
0
0.011009
0.129393
626
33
75
18.969697
0.781651
0.199681
0
0
0
0
0.282828
0
0
0
0
0
0
1
0
false
0.058824
0.058824
0
0.058824
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
98ea36191d42a92a71c1666e1e491aed513d1b44
990
py
Python
jsf/autocomp_jsf_if.py
seiichisan/HapoItak
0a871d89d468fb1956469095feae6f7e715278e8
[ "MIT" ]
null
null
null
jsf/autocomp_jsf_if.py
seiichisan/HapoItak
0a871d89d468fb1956469095feae6f7e715278e8
[ "MIT" ]
null
null
null
jsf/autocomp_jsf_if.py
seiichisan/HapoItak
0a871d89d468fb1956469095feae6f7e715278e8
[ "MIT" ]
null
null
null
import sublime, sublime_plugin, re from ..util import sublime_view_util ############################################################################ # jsf if タグを取得します。 # if_flag が true の場合、if の働きをするタグを取得します。 # if_flag が false の場合、else の働きをするタグを取得します。 ################################################################...
31.935484
96
0.449495
111
990
3.765766
0.36036
0.107656
0.095694
0.105263
0.229665
0.229665
0
0
0
0
0
0.006764
0.10404
990
30
97
33
0.464487
0.127273
0
0.117647
0
0
0.246847
0.045045
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98eba215328d05b0b778e5b0d5973f48f9256627
2,574
py
Python
workshops/payments/admin_filters.py
qiime2/workshops
00b999b7904ae353d0501d3714a824b85665168b
[ "BSD-3-Clause" ]
null
null
null
workshops/payments/admin_filters.py
qiime2/workshops
00b999b7904ae353d0501d3714a824b85665168b
[ "BSD-3-Clause" ]
3
2019-07-02T22:30:41.000Z
2021-03-09T20:45:09.000Z
workshops/payments/admin_filters.py
qiime2/workshops
00b999b7904ae353d0501d3714a824b85665168b
[ "BSD-3-Clause" ]
4
2019-06-26T18:50:58.000Z
2021-03-06T03:45:25.000Z
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2021, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
27.978261
79
0.596737
242
2,574
6.223141
0.35124
0.051129
0.039841
0.058433
0.353918
0.353918
0.333333
0.333333
0.333333
0.25498
0
0.00611
0.236985
2,574
91
80
28.285714
0.760692
0.129759
0
0.396552
0
0
0.094534
0
0
0
0
0
0
1
0.12069
false
0
0.034483
0.034483
0.672414
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
98ec0a31ce4e9473d4b78f73800af9dbb3deb8be
621
py
Python
sovellus.py
MikaVainio/Painonhallinta
a030656aba6c910d065934ba74d2486d4c99a35b
[ "CC0-1.0" ]
null
null
null
sovellus.py
MikaVainio/Painonhallinta
a030656aba6c910d065934ba74d2486d4c99a35b
[ "CC0-1.0" ]
null
null
null
sovellus.py
MikaVainio/Painonhallinta
a030656aba6c910d065934ba74d2486d4c99a35b
[ "CC0-1.0" ]
null
null
null
""" Painonhallintasovelluksen pääohjelma Huolehtii syötteen lukemisesta ja tulosten näyttämisestä """ # Kirjastojen ja modulien lataukset # Pääohjelman omat luokat, funktiot ja kirjastokomponenttien alustukset # Pääohjelman ikuinen silmukka jatketaan = 'K' while True: while virhekoodi != 0: paino_str =...
23.884615
71
0.677939
66
621
6.318182
0.712121
0.076739
0
0
0
0
0
0
0
0
0
0.006289
0.231884
621
26
72
23.884615
0.867925
0.42029
0
0
0
0
0.246418
0
0
0
0
0.038462
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
98edbe7a4f90e279801ec5a6a105ebb4b9cef0fa
13,114
py
Python
bsp_tool/branches/nexon/vindictus.py
snake-biscuits/bsp_tool
f2a1ab3ff502d0ca4ade97ff6e44823d2f8f5773
[ "MIT" ]
44
2018-07-06T04:44:02.000Z
2022-03-27T02:18:37.000Z
bsp_tool/branches/nexon/vindictus.py
snake-biscuits/bsp_tool
f2a1ab3ff502d0ca4ade97ff6e44823d2f8f5773
[ "MIT" ]
18
2018-07-25T23:19:17.000Z
2022-03-16T23:59:36.000Z
bsp_tool/branches/nexon/vindictus.py
snake-biscuits/bsp_tool
f2a1ab3ff502d0ca4ade97ff6e44823d2f8f5773
[ "MIT" ]
12
2019-09-13T21:52:51.000Z
2022-03-22T18:04:21.000Z
# https://developer.valvesoftware.com/wiki/Source_BSP_File_Format/Game-Specific#Vindictus """Vindictus. A MMO-RPG build in the Source Engine. Also known as Mabinogi Heroes""" import collections import enum import io import itertools import struct from typing import List from .. import base from .. import shared from ....
40.103976
115
0.641833
1,617
13,114
4.963513
0.241806
0.019935
0.023922
0.013082
0.339895
0.301645
0.287192
0.27386
0.26464
0.246698
0
0.027557
0.250114
13,114
326
116
40.226994
0.788591
0.203142
0
0.162879
0
0
0.150618
0.019201
0
0
0
0
0.003788
1
0.015152
false
0
0.034091
0.003788
0.685606
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
98fa4b68544cff02fbe1a54092f6a45e373d52a1
820
py
Python
setup.py
maxrousseau/pynoter
0419213da510e0e39fe29ac9b5bd40d800d87cf6
[ "MIT" ]
13
2018-02-27T01:34:27.000Z
2021-04-21T00:51:43.000Z
setup.py
maxrousseau/pynoter
0419213da510e0e39fe29ac9b5bd40d800d87cf6
[ "MIT" ]
1
2018-02-27T11:07:13.000Z
2018-02-27T14:49:27.000Z
setup.py
maxrousseau/pynoter
0419213da510e0e39fe29ac9b5bd40d800d87cf6
[ "MIT" ]
5
2018-02-27T09:44:28.000Z
2018-10-29T14:56:54.000Z
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='pynoter', version='0.1.7', description='Powerpoint presentations into org or tex files', long_description='Allows users to convert powerpoint presentations into raw text for editing in la...
35.652174
121
0.660976
99
820
5.393939
0.818182
0.086142
0.101124
0
0
0
0
0
0
0
0
0.010703
0.202439
820
22
122
37.272727
0.80581
0
0
0
0
0
0.454878
0.031707
0
0
0
0
0
1
0.05
true
0
0.05
0
0.15
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
98fecbb7e7690526c345a2c9263883a4dce4189b
10,858
py
Python
Integra amplifier/script.py
scroix/nodel-recipes
3aa26de380d13957ae96d85befe00de6289d2687
[ "MIT" ]
8
2017-04-22T15:34:23.000Z
2022-02-03T20:00:20.000Z
Integra amplifier/script.py
scroix/nodel-recipes
3aa26de380d13957ae96d85befe00de6289d2687
[ "MIT" ]
48
2016-12-01T19:25:53.000Z
2021-11-24T04:23:53.000Z
Integra amplifier/script.py
scroix/nodel-recipes
3aa26de380d13957ae96d85befe00de6289d2687
[ "MIT" ]
10
2017-04-05T09:51:43.000Z
2021-07-23T04:50:41.000Z
# coding=utf-8 "Integra controller." # Handy reference: # https://www.avforums.com/threads/onkyo-tx-nr-1007-webinterface-programming.1107346/page-9#post-15566499 param_ipAddress = Parameter({"title":"IP address", "schema":{"type":"string", "description":"The IP description.", "desc":"The IP address to connect to.", ...
32.803625
204
0.540431
1,163
10,858
4.94497
0.27601
0.053904
0.03895
0.019823
0.279951
0.200313
0.167971
0.125196
0.125196
0.110589
0
0.034701
0.272794
10,858
331
205
32.803625
0.693642
0.104531
0
0.2
0
0.009091
0.248374
0
0
0
0
0
0
0
null
null
0
0
null
null
0.004545
0
0
0
null
0
0
0
0
0
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