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
1d15cf0d5f72c9b02ae959b40ca2af7cdb2f06a9
335
py
Python
runner.py
djwackey/deep-rhythm-lyrics
d1cb99cf36d1ba9168f5d57c1cfd942ffd0180be
[ "MIT" ]
null
null
null
runner.py
djwackey/deep-rhythm-lyrics
d1cb99cf36d1ba9168f5d57c1cfd942ffd0180be
[ "MIT" ]
null
null
null
runner.py
djwackey/deep-rhythm-lyrics
d1cb99cf36d1ba9168f5d57c1cfd942ffd0180be
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import print_function from generator import LyricsGenerator import tensorflow as tf def main(_): """main function """ generator = LyricsGenerator(test=True) result = generator.run() print(result.encode('utf8')) if __name__ == '__main__': ...
18.611111
42
0.716418
39
335
5.666667
0.564103
0.090498
0.144796
0
0
0
0
0
0
0
0
0.003663
0.185075
335
17
43
19.705882
0.805861
0.038806
0
0
0
0
0.038585
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
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
0
0
0
0
1
0
0
0
0
1
1d1ab9778f15683d320203a8bb3542ceecdfc8e2
4,484
py
Python
tests/parsers/test_pregnancy_state.py
rafelafrance/traiter_vertnet
06c5dc4d4328ddb97e2a4545c5e46c90a0520e74
[ "MIT" ]
null
null
null
tests/parsers/test_pregnancy_state.py
rafelafrance/traiter_vertnet
06c5dc4d4328ddb97e2a4545c5e46c90a0520e74
[ "MIT" ]
1
2020-12-08T21:14:40.000Z
2020-12-08T21:14:40.000Z
tests/parsers/test_pregnancy_state.py
rafelafrance/traiter_vertnet
06c5dc4d4328ddb97e2a4545c5e46c90a0520e74
[ "MIT" ]
null
null
null
"""Test pregnancy state notations.""" # pylint: disable=missing-module-docstring,missing-class-docstring # pylint: disable=missing-function-docstring,too-many-public-methods import unittest from vertnet.pylib.trait import Trait from vertnet.parsers.pregnancy_state import PREGNANCY_STATE class TestPregnancyState(unitt...
31.356643
78
0.582962
500
4,484
5.092
0.238
0.137471
0.103692
0.241948
0.615082
0.487824
0.282011
0.11469
0.043991
0.043991
0
0.039063
0.286351
4,484
142
79
31.577465
0.756563
0.06802
0
0.238938
0
0
0.176781
0
0
0
0
0
0.19469
1
0.19469
false
0
0.026549
0
0.230089
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
1d1c81f8c0eadb0c9d22f185cf7aee0a4a8f6cb8
1,337
py
Python
calvin/calvinsys/media/image.py
josrolgil/exjobbCalvin
976459eaa50246586360c049b9880d753623d574
[ "Apache-2.0" ]
1
2016-05-10T22:36:31.000Z
2016-05-10T22:36:31.000Z
calvin/calvinsys/media/image.py
josrolgil/exjobbCalvin
976459eaa50246586360c049b9880d753623d574
[ "Apache-2.0" ]
null
null
null
calvin/calvinsys/media/image.py
josrolgil/exjobbCalvin
976459eaa50246586360c049b9880d753623d574
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015 Ericsson AB # # 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 ...
23.875
74
0.631264
173
1,337
4.83237
0.583815
0.07177
0.0311
0.038278
0
0
0
0
0
0
0
0.009193
0.267764
1,337
55
75
24.309091
0.84474
0.53104
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1d1d46abd4c99b0b6c22e8b6dc3df98c2f4dc9c9
4,507
py
Python
calibpy/usecase/model.py
kentac55/calibpy
1c3f8e47ba83427ee4c58d22a1d9c05e830ed251
[ "MIT" ]
null
null
null
calibpy/usecase/model.py
kentac55/calibpy
1c3f8e47ba83427ee4c58d22a1d9c05e830ed251
[ "MIT" ]
1
2021-02-21T14:25:35.000Z
2021-02-21T14:25:35.000Z
calibpy/usecase/model.py
kentac55/calibpy
1c3f8e47ba83427ee4c58d22a1d9c05e830ed251
[ "MIT" ]
null
null
null
"""model definitions""" from typing import ( Any, Generic, Literal, Mapping, Optional, Tuple, TypeVar, Union, final, ) from pydantic import BaseModel from ..domain import DomainException from .error import UseCaseException _OptionalMapping = Optional[Mapping[str, Any]] class DTO...
22.311881
88
0.630353
485
4,507
5.639175
0.204124
0.062523
0.075686
0.01755
0.438391
0.357587
0.319561
0.205484
0.205484
0.205484
0
0.005901
0.248059
4,507
201
89
22.422886
0.801121
0.141114
0
0.405172
0
0
0.019691
0
0
0
0
0
0
1
0.163793
false
0
0.034483
0.008621
0.508621
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
1d2af0de96612870b2599547a88da568a9362679
6,640
py
Python
CloudEndure Migration Factory/CEMF Enhanced to Minimize Account Input/source/0-AddProxy-Windows.py
chalee-dev/Migration-automation-library
c0ead6f3f8eadffcb1d2ef6d0c8b303de2039a92
[ "MIT", "MIT-0" ]
null
null
null
CloudEndure Migration Factory/CEMF Enhanced to Minimize Account Input/source/0-AddProxy-Windows.py
chalee-dev/Migration-automation-library
c0ead6f3f8eadffcb1d2ef6d0c8b303de2039a92
[ "MIT", "MIT-0" ]
null
null
null
CloudEndure Migration Factory/CEMF Enhanced to Minimize Account Input/source/0-AddProxy-Windows.py
chalee-dev/Migration-automation-library
c0ead6f3f8eadffcb1d2ef6d0c8b303de2039a92
[ "MIT", "MIT-0" ]
null
null
null
######################################################################################### # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # # SPDX-License-Identifier: MIT-0 # # ...
47.769784
214
0.571536
685
6,640
5.470073
0.364964
0.02055
0.01201
0.02482
0.121697
0.063517
0.063517
0.063517
0.063517
0.063517
0
0.005402
0.275151
6,640
139
215
47.769784
0.773114
0.231627
0
0.17
0
0.03
0.31621
0.076545
0
0
0
0
0
1
0.03
false
0.08
0.08
0
0.13
0.24
0
0
0
null
0
0
0
0
0
0
0
0
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
1d2d814bd980dd6dc896e9f4cc3103e57814c22a
1,078
py
Python
store/db.py
greglever/simple_flask_crud_api
7786acb5dc91444263204eebf54f85fbbd69fd6e
[ "MIT" ]
null
null
null
store/db.py
greglever/simple_flask_crud_api
7786acb5dc91444263204eebf54f85fbbd69fd6e
[ "MIT" ]
null
null
null
store/db.py
greglever/simple_flask_crud_api
7786acb5dc91444263204eebf54f85fbbd69fd6e
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine # TODO: Make this a context manager to deal with sessions def get_db(): db_string = "postgresql+psycopg2://crudproducts:crudproducts@db/postgres" return create_engine(db_string) def create_default_database_table(): """ Create the following table, called products: ...
44.916667
101
0.58256
132
1,078
4.712121
0.507576
0.072347
0.072347
0.09164
0.212219
0.212219
0.212219
0.212219
0.212219
0.212219
0
0.045692
0.289425
1,078
23
102
46.869565
0.762402
0.353432
0
0
0
0
0.550681
0.089259
0
0
0
0.043478
0
1
0.181818
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1d30f525d2e5bc131544e1a051fbcac3e070c208
409
py
Python
blog/migrations/0009_auto_20210604_0832.py
grittang/argi365
fa68ce28dc010da90265de1a5512b4c8e8a87f9f
[ "Apache-2.0" ]
null
null
null
blog/migrations/0009_auto_20210604_0832.py
grittang/argi365
fa68ce28dc010da90265de1a5512b4c8e8a87f9f
[ "Apache-2.0" ]
null
null
null
blog/migrations/0009_auto_20210604_0832.py
grittang/argi365
fa68ce28dc010da90265de1a5512b4c8e8a87f9f
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.3 on 2021-06-04 00:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0008_post_subtitle'), ] operations = [ migrations.AlterField( model_name='post', name='excerpt', ...
21.526316
82
0.601467
46
409
5.23913
0.804348
0
0
0
0
0
0
0
0
0
0
0.074324
0.276284
409
18
83
22.722222
0.739865
0.110024
0
0
1
0
0.096685
0
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
1d35187dfc043146f62a72bfd6fe2c15d822cb35
8,287
py
Python
dqpackage/libdaq/timeutils.py
comcon1/ASPAM_webinterface
bd4923882f66c30906b7465aae03901a231dca1a
[ "BSD-3-Clause" ]
null
null
null
dqpackage/libdaq/timeutils.py
comcon1/ASPAM_webinterface
bd4923882f66c30906b7465aae03901a231dca1a
[ "BSD-3-Clause" ]
null
null
null
dqpackage/libdaq/timeutils.py
comcon1/ASPAM_webinterface
bd4923882f66c30906b7465aae03901a231dca1a
[ "BSD-3-Clause" ]
null
null
null
'''Some usefull time hooks basing on a simple time module. ''' import time import matplotlib.mlab as mlab def upper_day(ut): uht = upper_hour(ut) gmt = time.localtime(uht) if gmt.tm_hour == 0: return uht else: return uht + (24 - gmt.tm_hour)*3600 def upper_hour(ut, mod=1): assert(...
36.030435
81
0.553156
1,064
8,287
4.196429
0.163534
0.055319
0.017917
0.021501
0.572676
0.550728
0.507951
0.474804
0.426652
0.401568
0
0.057634
0.325812
8,287
229
82
36.187773
0.741543
0.128877
0
0.426829
0
0
0.039201
0
0
0
0
0.008734
0.006098
0
null
null
0.030488
0.012195
null
null
0.012195
0
0
0
null
0
0
0
0
0
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
1d35aff07446d13a9239e5f2b408aebfa617a3d5
1,357
py
Python
django_application/orders/migrations/0001_initial.py
NetstationPL/example_event_source_ecommerce
67e673e91da4e24ff88d17e34e69a312da65b80d
[ "MIT" ]
null
null
null
django_application/orders/migrations/0001_initial.py
NetstationPL/example_event_source_ecommerce
67e673e91da4e24ff88d17e34e69a312da65b80d
[ "MIT" ]
null
null
null
django_application/orders/migrations/0001_initial.py
NetstationPL/example_event_source_ecommerce
67e673e91da4e24ff88d17e34e69a312da65b80d
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-09 08:23 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Order", fields=[ ...
27.693878
87
0.413412
96
1,357
5.760417
0.614583
0.0434
0.050633
0.079566
0.101266
0
0
0
0
0
0
0.025937
0.488578
1,357
48
88
28.270833
0.770893
0.033161
0
0.341463
1
0
0.046565
0
0
0
0
0
0
1
0
false
0
0.04878
0
0.146341
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
1d38327876a6a9213316a86956f03bcec8fb301d
1,063
py
Python
src/runserver.py
MadRussian/flask-template
9e8e5d65542dd4e1d7a8effa3a62d31eb3795142
[ "Apache-2.0" ]
null
null
null
src/runserver.py
MadRussian/flask-template
9e8e5d65542dd4e1d7a8effa3a62d31eb3795142
[ "Apache-2.0" ]
null
null
null
src/runserver.py
MadRussian/flask-template
9e8e5d65542dd4e1d7a8effa3a62d31eb3795142
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python from __future__ import print_function import os, sys venv = 'venv/bin/activate_this.py' os.environ['CONFIG_FILE'] = 'config_sample.py' def check_prg(name, install_info=None): if os.system("which {} > /dev/null".format(name)) != 0: print("ERROR: [{}] not found".format(name)) if install_info...
27.973684
68
0.69238
162
1,063
4.41358
0.475309
0.033566
0.047552
0.055944
0.08951
0.08951
0.08951
0
0
0
0
0.006615
0.146754
1,063
37
69
28.72973
0.781698
0.015052
0
0.137931
0
0
0.362333
0.023901
0
0
0
0
0
0
null
null
0
0.103448
null
null
0.172414
0
0
0
null
0
0
0
0
0
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
1d3b0d26f0ed105f5a5652c6da9dcba8520f20af
5,490
py
Python
network_alignment.py
thanhtrunghuynh93/holisticEmbeddingsNA
d1bb58e879a9fb868729ea13c198e46c9c5f45c9
[ "MIT" ]
null
null
null
network_alignment.py
thanhtrunghuynh93/holisticEmbeddingsNA
d1bb58e879a9fb868729ea13c198e46c9c5f45c9
[ "MIT" ]
null
null
null
network_alignment.py
thanhtrunghuynh93/holisticEmbeddingsNA
d1bb58e879a9fb868729ea13c198e46c9c5f45c9
[ "MIT" ]
null
null
null
from input.dataset import Dataset from time import time from algorithms import * from evaluation.metrics import get_statistics import utils.graph_utils as graph_utils import random import numpy as np import torch import argparse import os import pdb # from algorithms.PALE.mapping_model import PaleMappingLinear, PaleMap...
50.366972
157
0.694718
736
5,490
4.945652
0.244565
0.139011
0.15
0.242308
0.31978
0.197253
0.163187
0.103846
0.051648
0.051648
0
0.027483
0.158288
5,490
108
158
50.833333
0.760225
0.029508
0
0
0
0.011111
0.225897
0.021237
0
0
0
0
0
1
0.011111
false
0
0.144444
0
0.166667
0.144444
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
1d4935501d0aaf740a1c287c605beb2c66be5aa0
383
py
Python
dialogue/migrations/0003_dialogue_result.py
waynewu6250/ChatBoxer
ae73604d4778b3b5223049e73e696ad66239c0ff
[ "MIT" ]
7
2019-04-18T14:40:37.000Z
2021-05-11T08:36:21.000Z
dialogue/migrations/0003_dialogue_result.py
waynewu6250/ChatBoxer
ae73604d4778b3b5223049e73e696ad66239c0ff
[ "MIT" ]
6
2020-06-05T20:20:50.000Z
2021-06-10T17:48:56.000Z
dialogue/migrations/0003_dialogue_result.py
waynewu6250/ChatBoxer
ae73604d4778b3b5223049e73e696ad66239c0ff
[ "MIT" ]
2
2019-04-28T15:00:31.000Z
2019-08-16T08:50:26.000Z
# Generated by Django 2.1.7 on 2019-03-27 02:54 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dialogue', '0002_auto_20190327_0251'), ] operations = [ migrations.AddField( model_name='dialogue', name='result', ...
20.157895
48
0.5953
41
383
5.463415
0.829268
0
0
0
0
0
0
0
0
0
0
0.113971
0.289817
383
18
49
21.277778
0.709559
0.117493
0
0
1
0
0.133929
0.068452
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
1d54d5732dc79a672c9646ae9f04f3ac925dbb9b
502
py
Python
main.py
tomszir/chip8-py
b73c7f5478aa45bd98f0371daf4f6136c7da58cb
[ "MIT" ]
null
null
null
main.py
tomszir/chip8-py
b73c7f5478aa45bd98f0371daf4f6136c7da58cb
[ "MIT" ]
null
null
null
main.py
tomszir/chip8-py
b73c7f5478aa45bd98f0371daf4f6136c7da58cb
[ "MIT" ]
null
null
null
import time import random import pygame as pg import argparse from src.chip8 import Chip8 pg.init() def main(): parser = argparse.ArgumentParser(description='A Chip8 interpreter.') parser.add_argument('--rom', help='Path to Chip8 ROM', default="roms/PONG") args = parser.parse_args() # Seed the random numb...
17.310345
77
0.709163
68
502
5.088235
0.558824
0.080925
0.109827
0
0
0
0
0
0
0
0
0.026506
0.173307
502
28
78
17.928571
0.807229
0.157371
0
0
0
0
0.140811
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1d567c7534b316d7e3d2312e53f26b544ad8cac3
2,809
py
Python
floorutil/email_util.py
xuzhili/FloorUtil
b5e1fc925d0adae5605a81e8230970edd40c455d
[ "MIT" ]
null
null
null
floorutil/email_util.py
xuzhili/FloorUtil
b5e1fc925d0adae5605a81e8230970edd40c455d
[ "MIT" ]
null
null
null
floorutil/email_util.py
xuzhili/FloorUtil
b5e1fc925d0adae5605a81e8230970edd40c455d
[ "MIT" ]
null
null
null
import smtplib from optparse import OptionParser from email.mime.text import MIMEText class SendMail: """ 实用该类可向指定邮箱地址发送邮件 """ def send_mail(self, from_name, to_name, subject, content, from_addr, pwd, to_addr): """ 发送邮件 :param from_name: 发送方名字,数组类型,可指定多个 :param to_name...
32.287356
104
0.601282
336
2,809
4.785714
0.297619
0.041045
0.05597
0.024876
0.021144
0
0
0
0
0
0
0.004919
0.276255
2,809
86
105
32.662791
0.786031
0.194731
0
0
0
0
0.125
0
0
0
0
0
0
1
0.046512
false
0.069767
0.069767
0
0.162791
0.069767
0
0
0
null
0
0
0
0
0
0
0
0
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
1d56dd39cdd5b86b89ff2231962b5b738a4d3df8
6,703
py
Python
locustfiles/exercise1.py
TestMasterAmberteam/antycaptcha-locust
87ff0d473bc80ec14bfe177c6a063f3b49fe3726
[ "MIT" ]
1
2021-11-09T12:10:09.000Z
2021-11-09T12:10:09.000Z
locustfiles/exercise1.py
TestMasterAmberteam/antycaptcha-locust
87ff0d473bc80ec14bfe177c6a063f3b49fe3726
[ "MIT" ]
null
null
null
locustfiles/exercise1.py
TestMasterAmberteam/antycaptcha-locust
87ff0d473bc80ec14bfe177c6a063f3b49fe3726
[ "MIT" ]
null
null
null
from locust import HttpUser, between, SequentialTaskSet, task from locust_plugins import run_single_user from lxml import html class Exercise1Tasks(SequentialTaskSet): wait_time = between(4, 6) @task def GET_https_antycaptcha_amberteam_pl_2022377847__exercises_exercise1_1359742899_8059969736143727959(sel...
70.557895
199
0.486946
627
6,703
5.087719
0.212121
0.10721
0.032915
0.08464
0.689969
0.67931
0.67931
0.662069
0.662069
0.662069
0
0.125461
0.393555
6,703
94
200
71.308511
0.659287
0.002685
0
0.5
0
0.158537
0.350441
0.052671
0
0
0
0
0
1
0.060976
false
0.02439
0.036585
0
0.158537
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
1d61bf499dc2724d76d4d5e52d05d3919dec1bd6
450
py
Python
main/migrations/0010_auto_20200828_2228.py
PaxPrz/DrCall
fc1e23fdfc237b97dfbaec06d42f31b538bb79be
[ "MIT" ]
null
null
null
main/migrations/0010_auto_20200828_2228.py
PaxPrz/DrCall
fc1e23fdfc237b97dfbaec06d42f31b538bb79be
[ "MIT" ]
null
null
null
main/migrations/0010_auto_20200828_2228.py
PaxPrz/DrCall
fc1e23fdfc237b97dfbaec06d42f31b538bb79be
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-08-28 16:43 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0009_auto_20200828_2112'), ] operations = [ migrations.AlterField( model_name='notification', ...
22.5
99
0.62
50
450
5.5
0.76
0
0
0
0
0
0
0
0
0
0
0.148036
0.264444
450
19
100
23.684211
0.682779
0.095556
0
0
1
0
0.106173
0.05679
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1d64c5e1f8f06d5ef5b5c6490b4dd9e07911d7a1
1,677
py
Python
HANG/utils/setup.py
n60512/HANG
09ed1dad2a228044239d650e7e622f02596fa25e
[ "MIT" ]
null
null
null
HANG/utils/setup.py
n60512/HANG
09ed1dad2a228044239d650e7e622f02596fa25e
[ "MIT" ]
null
null
null
HANG/utils/setup.py
n60512/HANG
09ed1dad2a228044239d650e7e622f02596fa25e
[ "MIT" ]
null
null
null
class train_test_setup(): def __init__(self, device, net_type, save_dir, voc, prerocess, training_epoch=100, latent_k=32, batch_size=40, hidden_size=300, clip=50, num_of_reviews = 5, intra_method='dualFC', inter_method='dualFC', learning_rate=0.00001, dropout=0, setence_max_len=50...
38.113636
128
0.674419
205
1,677
5.15122
0.317073
0.045455
0.034091
0
0
0
0
0
0
0
0
0.02085
0.25641
1,677
44
129
38.113636
0.825982
0.030411
0
0.083333
0
0
0.012955
0
0
0
0
0
0
1
0.111111
false
0.083333
0
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1d671a71f67f0c4fa95fd83cb85d54ea2df90312
5,548
py
Python
src/oscilloscopy/channel.py
davidrft/Oscilloscopy
d17fcf8ee3f7853209bc26ef39a6bf44f3f5e116
[ "MIT" ]
1
2017-05-22T13:13:59.000Z
2017-05-22T13:13:59.000Z
src/oscilloscopy/channel.py
davidrft/Oscilloscopy
d17fcf8ee3f7853209bc26ef39a6bf44f3f5e116
[ "MIT" ]
1
2020-06-07T11:36:05.000Z
2020-06-07T21:14:59.000Z
src/oscilloscopy/channel.py
davidrft/Oscilloscopy
d17fcf8ee3f7853209bc26ef39a6bf44f3f5e116
[ "MIT" ]
null
null
null
import numpy as np class Channel: def __init__(self, inst): """Initializes a new device. Args: inst -- instrument in which the channels are """ self.inst = inst self.inst.write(":WAV:FORM BYTE") self.inst.write(":WAV:POIN:MODE MAX") def get_time_scale(...
30.822222
86
0.578587
663
5,548
4.776772
0.190045
0.090938
0.069782
0.075782
0.468582
0.3467
0.301231
0.242817
0.242817
0.242817
0
0.003017
0.283165
5,548
179
87
30.994413
0.793312
0.30894
0
0.030769
0
0
0.138428
0
0
0
0
0
0
1
0.292308
false
0
0.015385
0
0.476923
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
1d6d72ebe28fbe4278366411d3aac2ed82dd7b0f
1,243
py
Python
tfmunir/tfmunir/urls.py
cfvelez/tfmunir
11f5b5ba01a079743d7cc5f880768f8b9fe75376
[ "Apache-2.0" ]
null
null
null
tfmunir/tfmunir/urls.py
cfvelez/tfmunir
11f5b5ba01a079743d7cc5f880768f8b9fe75376
[ "Apache-2.0" ]
null
null
null
tfmunir/tfmunir/urls.py
cfvelez/tfmunir
11f5b5ba01a079743d7cc5f880768f8b9fe75376
[ "Apache-2.0" ]
null
null
null
"""tfmunir URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
41.433333
82
0.725664
180
1,243
4.877778
0.327778
0.061503
0.017084
0.027335
0.176538
0.133257
0.085421
0
0
0
0
0.007498
0.141593
1,243
29
83
42.862069
0.81537
0.501207
0
0
0
0
0.254486
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1d7ec92f5eb43a6e324f728e9d7943308e727e0a
238
py
Python
tests/test_eutils_xmlfacades_esearchresult.py
shouldsee/eutils
ebd06ec3205fce520638b10b9906b6595bc7ba3d
[ "Apache-2.0" ]
44
2016-06-02T15:27:40.000Z
2021-12-24T21:51:24.000Z
tests/test_eutils_xmlfacades_esearchresult.py
shouldsee/eutils
ebd06ec3205fce520638b10b9906b6595bc7ba3d
[ "Apache-2.0" ]
33
2016-07-22T19:09:48.000Z
2021-01-23T06:49:02.000Z
tests/test_eutils_xmlfacades_esearchresult.py
shouldsee/eutils
ebd06ec3205fce520638b10b9906b6595bc7ba3d
[ "Apache-2.0" ]
29
2016-08-02T10:54:15.000Z
2021-12-24T21:51:33.000Z
import vcr @vcr.use_cassette def test_esearchresult(client): r = client.esearch(db="pubmed", term="hart rk[author]") assert 5 < r.count assert 0 == r.retstart assert isinstance(r.ids, list) assert 27814769 in r.ids
19.833333
59
0.680672
36
238
4.444444
0.722222
0.05
0
0
0
0
0
0
0
0
0
0.052632
0.201681
238
11
60
21.636364
0.789474
0
0
0
0
0
0.088235
0
0
0
0
0
0.5
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1d83af9e32a64121a112b7ea0b21057455ba9910
1,225
py
Python
stack_queues/arrayQueue.py
dhruvsharma1999/data-structures
f3b51ebca2f6e28eee3dcb5692f92d2f7f3533e5
[ "MIT" ]
null
null
null
stack_queues/arrayQueue.py
dhruvsharma1999/data-structures
f3b51ebca2f6e28eee3dcb5692f92d2f7f3533e5
[ "MIT" ]
null
null
null
stack_queues/arrayQueue.py
dhruvsharma1999/data-structures
f3b51ebca2f6e28eee3dcb5692f92d2f7f3533e5
[ "MIT" ]
null
null
null
#FIFO queue implementation using a python list as underlying stoage class Empty(Exception): """Error attempting to access an element from an empty container""" pass class ArrayQueue: DEFAULT_CAPACITY = 10 def __init__(self): """create an empty queue""" self._data = [None] * ArrayQueue...
29.166667
78
0.602449
162
1,225
4.37037
0.376543
0.067797
0.067797
0.072034
0.127119
0.127119
0.127119
0.127119
0.127119
0.127119
0
0.008121
0.296327
1,225
41
79
29.878049
0.813225
0.053878
0
0.076923
0
0
0.032941
0
0
0
0
0
0
0
null
null
0.038462
0
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
1d8b6f7d424ddb53565c6dd6cf1bace4ff5e5b9b
3,127
py
Python
pOAseq.py
tomfessl/transloc_sim
e34aa92c64c45043b76e814a63bdb67df5f025f3
[ "MIT" ]
null
null
null
pOAseq.py
tomfessl/transloc_sim
e34aa92c64c45043b76e814a63bdb67df5f025f3
[ "MIT" ]
null
null
null
pOAseq.py
tomfessl/transloc_sim
e34aa92c64c45043b76e814a63bdb67df5f025f3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Jun 03 13:32:55 2016 @author: fbstf """ import numpy as np import matplotlib.pyplot as plt import amino_acid as aa_props """ Amino Acids with Hydrophobic Side Chain - Aromatic Phenylalanine, Phe, F ... a van der Waals volume of 135 A3, and an accessible surface...
44.042254
390
0.705149
306
3,127
7.179739
0.470588
0.006372
0.038234
0.016386
0.125626
0.11015
0.08284
0.041875
0.041875
0.041875
0
0.026983
0.205948
3,127
71
391
44.042254
0.857833
0.395907
0
0
0
0
0.307407
0.256296
0
0
0
0
0
0
null
null
0
0.1
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1d960175aee970cf83ed0193a84cba875971b9a7
375
py
Python
tensorflow_datasets/image/CT_lymph_nodes_test.py
jingjing-shi/datasets
93ff12067cff04eab059687c802b0ece0315413b
[ "Apache-2.0" ]
null
null
null
tensorflow_datasets/image/CT_lymph_nodes_test.py
jingjing-shi/datasets
93ff12067cff04eab059687c802b0ece0315413b
[ "Apache-2.0" ]
null
null
null
tensorflow_datasets/image/CT_lymph_nodes_test.py
jingjing-shi/datasets
93ff12067cff04eab059687c802b0ece0315413b
[ "Apache-2.0" ]
null
null
null
"""CT_lymph_nodes dataset.""" import tensorflow_datasets.public_api as tfds from tensorflow_datasets.image import CT_lymph_nodes class CtLymphNodesTest(tfds.testing.DatasetBuilderTestCase): DATASET_CLASS = CT_lymph_nodes.CtLymphNodes SPLITS = { "train": 3, # Number of fake train example } ...
17.857143
60
0.738667
45
375
5.733333
0.644444
0.081395
0.139535
0
0
0
0
0
0
0
0
0.003226
0.173333
375
20
61
18.75
0.829032
0.141333
0
0
0
0
0.04127
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1d978d988fa976e8223d09d2e23a0721a2d0c3f7
4,846
py
Python
tests/test_utils_user_management.py
jic-dtool/dtool_lookup_server
fc5ed28504eafb4e5d1f279897eb722f7a929b12
[ "MIT" ]
4
2021-11-03T21:55:21.000Z
2022-02-25T14:22:07.000Z
tests/test_utils_user_management.py
jic-dtool/dtool_lookup_server
fc5ed28504eafb4e5d1f279897eb722f7a929b12
[ "MIT" ]
19
2018-08-14T12:37:05.000Z
2022-02-23T21:32:37.000Z
tests/test_utils_user_management.py
jic-dtool/dtool_lookup_server
fc5ed28504eafb4e5d1f279897eb722f7a929b12
[ "MIT" ]
3
2020-03-09T13:47:06.000Z
2021-11-19T23:18:47.000Z
"""Test dtool lookup server user management helper functions.""" from . import tmp_app # NOQA def test_user_management_helper_functions(tmp_app): # NOQA from dtool_lookup_server.utils import ( register_users, get_user_info, list_users, ) # Create list of dictionaries of users....
30.477987
78
0.608337
491
4,846
5.513238
0.144603
0.134466
0.17584
0.217215
0.735131
0.696712
0.649427
0.6099
0.582564
0.582564
0
0
0.291168
4,846
158
79
30.670886
0.788064
0.071812
0
0.560606
0
0
0.278224
0.199911
0
0
0
0
0.060606
1
0.007576
false
0
0.030303
0
0.037879
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
1d9819131c0073a147e576fd7339955828fdd525
2,247
py
Python
parflow_data_management/scheduler/models/cluster.py
cjh1/parflow_data_management
9d7ecda036092bef3728e490ed90308050711716
[ "BSD-3-Clause" ]
null
null
null
parflow_data_management/scheduler/models/cluster.py
cjh1/parflow_data_management
9d7ecda036092bef3728e490ed90308050711716
[ "BSD-3-Clause" ]
null
null
null
parflow_data_management/scheduler/models/cluster.py
cjh1/parflow_data_management
9d7ecda036092bef3728e490ed90308050711716
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth import get_user_model from django.db import models from django.db.models import TextField, IntegerField from django.dispatch import receiver from django_extensions.db.models import TimeStampedModel from django.utils.translation import gettext_lazy as _ from guardian.shortcuts import assign_perm...
37.45
75
0.697819
277
2,247
5.389892
0.368231
0.048225
0.048225
0.048225
0.1286
0.06296
0.06296
0
0
0
0
0.001694
0.211838
2,247
59
76
38.084746
0.841333
0.087672
0
0
0
0
0.114971
0.044521
0
0
0
0.016949
0
1
0.043478
false
0
0.152174
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
1
0
0
0
0
0
0
0
0
0
0
1
1d9b2d059b29122e4a76231f603ef89596444d3d
1,506
py
Python
tha2/nn/base/util.py
luuil/talking-head-anime-2-demo
b0429cdabbc9c8aa53a14b61bb26e051a3259cc7
[ "MIT" ]
626
2021-03-02T16:59:02.000Z
2022-03-31T04:00:50.000Z
tha2/nn/base/util.py
luuil/talking-head-anime-2-demo
b0429cdabbc9c8aa53a14b61bb26e051a3259cc7
[ "MIT" ]
30
2021-03-03T02:57:18.000Z
2022-03-27T11:50:54.000Z
tha2/nn/base/util.py
luuil/talking-head-anime-2-demo
b0429cdabbc9c8aa53a14b61bb26e051a3259cc7
[ "MIT" ]
100
2021-03-03T02:59:03.000Z
2022-03-23T07:04:46.000Z
from typing import Optional from torch.nn import Module from tha2.nn.base.init_function import create_init_function from tha2.nn.base.module_factory import ModuleFactory from tha2.nn.base.nonlinearity_factory import resolve_nonlinearity_factory from tha2.nn.base.normalization import NormalizationLayerFactory ...
41.833333
102
0.747676
177
1,506
6.00565
0.259887
0.101599
0.084666
0.065851
0.052681
0.052681
0
0
0
0
0
0.006574
0.191899
1,506
35
103
43.028571
0.866886
0
0
0
0
0
0.00136
0
0
0
0
0
0
1
0.153846
false
0
0.269231
0.038462
0.576923
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
1da413e6b0fb673cf4faf52111ccceb05abd2044
874
py
Python
atm_s_ru/api/rest.py
Meduzjam/atm_s_ru_project
a4710f2f28e6d5357b8375a01f48ef099a418800
[ "MIT" ]
null
null
null
atm_s_ru/api/rest.py
Meduzjam/atm_s_ru_project
a4710f2f28e6d5357b8375a01f48ef099a418800
[ "MIT" ]
null
null
null
atm_s_ru/api/rest.py
Meduzjam/atm_s_ru_project
a4710f2f28e6d5357b8375a01f48ef099a418800
[ "MIT" ]
null
null
null
from tastypie.resources import ModelResource from atm_s_ru.main.models import Sertificates, SertificateTypes from tastypie.api import Api from tastypie import fields class SertificateTypesResource(ModelResource): class Meta: queryset = SertificateTypes.objects.all() resource_name = 'sertificatetype...
31.214286
73
0.681922
88
874
6.659091
0.477273
0.061433
0.05802
0.075085
0.208191
0.136519
0.136519
0
0
0
0
0
0.21167
874
27
74
32.37037
0.850508
0.042334
0
0.285714
0
0
0.073141
0
0
0
0
0
0
1
0.047619
false
0
0.190476
0.047619
0.52381
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
1da630ba77a58d9d8a44b3f3d8f2e2ffcba9dd8a
5,484
py
Python
json2csv.py
glvnst/json2csv
be8bfe6d7cfb803110ba0f7786a5a9319398b7e9
[ "BSD-3-Clause" ]
3
2015-03-24T13:39:52.000Z
2017-03-21T06:18:09.000Z
json2csv.py
glvnst/json2csv
be8bfe6d7cfb803110ba0f7786a5a9319398b7e9
[ "BSD-3-Clause" ]
null
null
null
json2csv.py
glvnst/json2csv
be8bfe6d7cfb803110ba0f7786a5a9319398b7e9
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ json2csv: Convert a json file into a csv file """ import argparse import sys import json import csv import codecs import cStringIO import os import collections class UnicodeWriter(object): """ A CSV writer which will write rows to output filehandle "stream", which is encoded in t...
32.838323
78
0.62655
702
5,484
4.770655
0.34188
0.016124
0.011944
0.011944
0.014333
0
0
0
0
0
0
0.004274
0.274617
5,484
166
79
33.036145
0.837607
0.051787
0
0.09434
0
0
0.138998
0.005311
0
0
0
0
0
0
null
null
0
0.084906
null
null
0.04717
0
0
0
null
0
0
0
0
0
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
1da6929981f1135e0db350a44e3417b1420b07c4
945
py
Python
tests/client_test.py
jjinno/pygerduty
9624b7616a91ccfbaaff2a51bd19da9406c718b4
[ "MIT" ]
144
2015-01-30T08:49:52.000Z
2022-02-02T15:06:05.000Z
tests/client_test.py
cugini-dbx/pygerduty
1982aa4ccb33eb10b98b695056517f7bc5f4dff6
[ "MIT" ]
56
2015-01-02T20:50:42.000Z
2020-06-23T18:30:22.000Z
tests/client_test.py
cugini-dbx/pygerduty
1982aa4ccb33eb10b98b695056517f7bc5f4dff6
[ "MIT" ]
67
2015-01-13T02:34:42.000Z
2021-04-19T22:34:08.000Z
from __future__ import absolute_import import httpretty import pygerduty import pygerduty.v2 import pytest ################### # Version 1 Tests # ################### @httpretty.activate def test_unknown_subdomain_v1(): httpretty.register_uri( httpretty.GET, "https://contosso.pagerduty.com/api/v1/users/A...
26.25
81
0.634921
106
945
5.54717
0.45283
0.05102
0.07483
0.085034
0.336735
0.12585
0
0
0
0
0
0.024876
0.149206
945
35
82
27
0.706468
0.033862
0
0.190476
0
0
0.277978
0.033694
0
0
0
0
0
1
0.095238
false
0.095238
0.238095
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1da96d9a338e41c6a9211b38764afcc508ea1fd5
5,398
py
Python
endpoint/achievement.py
fi-ksi/web-backend
57c4e52d4722bd083a74bf4cf742a7222a532fac
[ "MIT" ]
4
2017-12-11T00:14:22.000Z
2022-02-07T15:08:13.000Z
endpoint/achievement.py
fi-ksi/web-backend
57c4e52d4722bd083a74bf4cf742a7222a532fac
[ "MIT" ]
94
2016-04-29T10:38:37.000Z
2022-02-10T13:41:29.000Z
endpoint/achievement.py
fi-ksi/web-backend
57c4e52d4722bd083a74bf4cf742a7222a532fac
[ "MIT" ]
null
null
null
import falcon import json from sqlalchemy import or_ from sqlalchemy.exc import SQLAlchemyError import util from db import session import model class Achievement(object): def on_get(self, req, resp, id): try: achievement = session.query(model.Achievement).get(id) except SQLAlchemyErr...
28.712766
79
0.485365
469
5,398
5.530917
0.204691
0.061681
0.061681
0.097147
0.737471
0.713955
0.691596
0.672321
0.597147
0.53084
0
0.011827
0.40478
5,398
187
80
28.86631
0.795518
0.020563
0
0.679739
0
0
0.12571
0
0
0
0
0
0
1
0.03268
false
0
0.045752
0
0.130719
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
1da9db9a0b1ec4ee2ded93408f00eee6b5f2caf3
3,235
py
Python
users/tests.py
MPIB/Lagerregal
3c950dffcf4fa164008c5a304c4839bc282a3388
[ "BSD-3-Clause" ]
24
2017-03-19T16:17:37.000Z
2021-11-07T15:35:33.000Z
users/tests.py
MPIB/Lagerregal
3c950dffcf4fa164008c5a304c4839bc282a3388
[ "BSD-3-Clause" ]
117
2016-04-19T12:35:10.000Z
2022-02-22T13:19:05.000Z
users/tests.py
MPIB/Lagerregal
3c950dffcf4fa164008c5a304c4839bc282a3388
[ "BSD-3-Clause" ]
11
2017-08-08T12:11:39.000Z
2021-12-08T05:34:06.000Z
from django.test import TestCase from django.test.client import Client from django.urls import reverse from model_mommy import mommy from users.models import Department from users.models import DepartmentUser from users.models import Lageruser class LageruserTests(TestCase): def setUp(self): self.client...
37.183908
99
0.683462
387
3,235
5.586563
0.178295
0.111008
0.091582
0.106846
0.654487
0.599907
0.541166
0.5
0.460222
0.402405
0
0.017551
0.189799
3,235
86
100
37.616279
0.807325
0
0
0.41791
0
0
0.079753
0.029366
0
0
0
0
0.238806
1
0.223881
false
0.029851
0.104478
0
0.358209
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
1daa1b933a98cc3fed848908cf939ec1effbaace
2,027
py
Python
lazy_spider/generic/spider/spider.py
notnotype/lazy-spider
32363a1c91fa5b83fbdf3e378ab40662f8f4c4d6
[ "MIT" ]
1
2020-12-05T17:16:39.000Z
2020-12-05T17:16:39.000Z
lazy_spider/generic/spider/spider.py
notnotype/lazy-spider
32363a1c91fa5b83fbdf3e378ab40662f8f4c4d6
[ "MIT" ]
1
2021-02-25T07:50:33.000Z
2021-02-25T07:50:33.000Z
lazy_spider/generic/spider/spider.py
notnotype/lazy-spider
32363a1c91fa5b83fbdf3e378ab40662f8f4c4d6
[ "MIT" ]
null
null
null
__author__ = 'Notnotype' import logging from lazy_spider import Spider logger = logging.getLogger('lazy_spider') from collections import deque def generic_item_middleware(collector, item: dict): return item def generic_request_middleware(collector, requests: str): return requests class SpiderBase: ...
25.024691
66
0.591515
223
2,027
5.197309
0.255605
0.038827
0.023296
0.03365
0.134599
0.098361
0
0
0
0
0
0
0.308337
2,027
80
67
25.3375
0.826676
0.045881
0
0.272727
0
0
0.025893
0
0
0
0
0
0
1
0.218182
false
0
0.054545
0.054545
0.418182
0.018182
0
0
0
null
0
0
0
0
0
0
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
d5187a4915033c72f48bf9146a0453ac304084a4
773
py
Python
sdg/helpers/files.py
Defra-Data-Science-Centre-of-Excellence/sdg-build
716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0
[ "MIT" ]
7
2019-02-25T03:50:17.000Z
2022-03-31T12:58:42.000Z
sdg/helpers/files.py
Defra-Data-Science-Centre-of-Excellence/sdg-build
716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0
[ "MIT" ]
185
2019-01-14T15:35:53.000Z
2022-03-28T19:16:37.000Z
sdg/helpers/files.py
Defra-Data-Science-Centre-of-Excellence/sdg-build
716a7597e5cb7de248915b21fa1a9e4a5cd1e0e0
[ "MIT" ]
18
2019-01-14T11:20:05.000Z
2022-02-08T14:10:17.000Z
from urllib.request import urlopen, Request from shutil import copyfileobj def fetch_remote_file(url, request_params=None): if request_params is None: request_params = {} return urlopen(Request(url, **request_params)) def download_remote_file(url, destination, request_params=None): downloaded_fi...
29.730769
75
0.715395
99
773
5.353535
0.353535
0.245283
0.084906
0.067925
0.116981
0.116981
0
0
0
0
0
0.001592
0.187581
773
25
76
30.92
0.842357
0
0
0
0
0
0.01423
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.368421
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d52237e68fd6adee88b13880cd7d3ef60f313ee3
32,926
py
Python
modjson.py
jesterpm/pyIRC
92af71570ab35143c8edab7f45520408751bf3c6
[ "MIT" ]
null
null
null
modjson.py
jesterpm/pyIRC
92af71570ab35143c8edab7f45520408751bf3c6
[ "MIT" ]
null
null
null
modjson.py
jesterpm/pyIRC
92af71570ab35143c8edab7f45520408751bf3c6
[ "MIT" ]
null
null
null
import json import inspect import re import importlib import collections import inspect import new from json.decoder import errmsg from json.encoder import py_encode_basestring_ascii, ESCAPE, ESCAPE_ASCII, HAS_UTF8, ESCAPE_DCT, INFINITY, FLOAT_REPR, encode_basestring, encode_basestring_ascii FLAGS = re.VERBOSE | re.M...
39.197619
161
0.514305
3,588
32,926
4.6034
0.137124
0.010414
0.026155
0.024217
0.407398
0.379003
0.335836
0.305806
0.286432
0.262517
0
0.004928
0.383739
32,926
839
162
39.244339
0.809078
0.052178
0
0.510417
0
0.003472
0.047339
0.011445
0
0
0
0
0
0
null
null
0.006944
0.017361
null
null
0.003472
0
0
0
null
0
0
0
0
0
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
d52ad645b85f3c31cc8c776c8f91aa8603298a03
601
py
Python
certificate/migrations/0004_fonts.py
shreyansh-05/certificate-generator
a666807d8dbd342507587f748a8027a88bb1ded7
[ "MIT" ]
2
2020-11-12T15:21:39.000Z
2020-11-26T08:22:05.000Z
certificate/migrations/0004_fonts.py
shreyansh-05/certificate-generator
a666807d8dbd342507587f748a8027a88bb1ded7
[ "MIT" ]
9
2020-11-12T15:12:02.000Z
2020-11-21T13:07:20.000Z
certificate/migrations/0004_fonts.py
shreyansh-05/certificate-generator
a666807d8dbd342507587f748a8027a88bb1ded7
[ "MIT" ]
4
2020-11-13T07:57:32.000Z
2020-11-27T20:54:14.000Z
# Generated by Django 3.1.3 on 2020-11-21 14:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('certificate', '0003_saveimage_key'), ] operations = [ migrations.CreateModel( name='fonts', fields=[ ...
27.318182
114
0.584027
63
601
5.460317
0.698413
0.087209
0.104651
0.139535
0
0
0
0
0
0
0
0.064965
0.282862
601
21
115
28.619048
0.733179
0.074875
0
0
1
0
0.083032
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
d52e51a356ebdbf2cdc7454eced3559b721927e6
1,123
py
Python
dragonlinguistics/migrations/0002_auto_20220202_1058.py
KathTheDragon/DragonLinguistics
a191fb94a7c1582ff9a7364d1e23b87c68b701b1
[ "Unlicense" ]
null
null
null
dragonlinguistics/migrations/0002_auto_20220202_1058.py
KathTheDragon/DragonLinguistics
a191fb94a7c1582ff9a7364d1e23b87c68b701b1
[ "Unlicense" ]
null
null
null
dragonlinguistics/migrations/0002_auto_20220202_1058.py
KathTheDragon/DragonLinguistics
a191fb94a7c1582ff9a7364d1e23b87c68b701b1
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.9 on 2022-02-02 10:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dragonlinguistics', '0001_squashed_0008_alter_folder_path'), ] operations = [ migrations.CreateModel( name='Reference', ...
32.085714
117
0.570793
106
1,123
5.886792
0.59434
0.072115
0.057692
0.076923
0.086538
0
0
0
0
0
0
0.040764
0.30098
1,123
34
118
33.029412
0.75414
0.040071
0
0.178571
1
0
0.111524
0.033457
0
0
0
0
0
1
0
false
0
0.035714
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d52f5c8a0ce03db7e67df6643b479ebf79a4d32b
2,544
py
Python
sub.py
joirneto/mqqt_test_DEA
457108a93540130cb8953f03a9d002a2d31475fb
[ "MIT" ]
null
null
null
sub.py
joirneto/mqqt_test_DEA
457108a93540130cb8953f03a9d002a2d31475fb
[ "MIT" ]
null
null
null
sub.py
joirneto/mqqt_test_DEA
457108a93540130cb8953f03a9d002a2d31475fb
[ "MIT" ]
null
null
null
# python3.6 import random import base64 from paho.mqtt import client as mqtt_client broker = '3.221.33.231' port = 1883 topic = "info/12340000000000" # generate client ID with pub prefix randomly client_id = f'python-mqtt-{random.randint(0, 100)}' # username = 'emqx' # password = 'public' def ecg(mensagem): im...
24.699029
78
0.658805
318
2,544
5.198113
0.443396
0.058076
0.013309
0.015729
0.029038
0.029038
0
0
0
0
0
0.029321
0.235849
2,544
102
79
24.941176
0.820988
0.154874
0
0
1
0
0.146879
0.014078
0
0
0
0
0
1
0.098361
false
0
0.081967
0
0.196721
0.065574
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
d53419160c52dc9b4699e584cfae74da21b827be
515
py
Python
Rice-Python-Data-Representations/week2/examples3_listsearch.py
Sam-Gao-Xin/Courses-
122810e56024e6e72d378317b4f98c5a9d97e5f8
[ "Apache-2.0" ]
622
2018-07-17T09:05:41.000Z
2022-03-29T02:57:02.000Z
Rice-Python-Data-Representations/week2/examples3_listsearch.py
thientvse/Courses-
263ff4680ed1dfd253be3652f7f13ad707af1a36
[ "Apache-2.0" ]
21
2019-11-10T02:06:09.000Z
2022-01-22T23:54:11.000Z
Rice-Python-Data-Representations/week2/examples3_listsearch.py
thientvse/Courses-
263ff4680ed1dfd253be3652f7f13ad707af1a36
[ "Apache-2.0" ]
906
2018-07-17T09:05:43.000Z
2022-03-31T12:55:49.000Z
""" Searching lists. """ toys = ["blocks", "slinky", "fidget spinner", "cards", "doll house", "legos", "blocks", "teddy bear"] # Finding items in a list print(toys.index("legos")) print(toys.index("blocks")) #print(toys.index("video game")) print("") # Checking if items are in a list print("legos" in toys) print("b...
19.807692
101
0.671845
77
515
4.493506
0.376623
0.130058
0.15896
0.069364
0
0
0
0
0
0
0
0
0.133981
515
25
102
20.6
0.775785
0.246602
0
0.166667
0
0
0.318302
0
0
0
0
0
0
1
0
false
0
0
0
0
0.916667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d5396ebb7d96a6c68671724a73f7f82daf38657f
645
py
Python
Backend/src/post/api/serializers.py
maniSHarma7575/Discourse
9c226706fe7bd058da91841c2a9498d5f7ea2d08
[ "MIT" ]
null
null
null
Backend/src/post/api/serializers.py
maniSHarma7575/Discourse
9c226706fe7bd058da91841c2a9498d5f7ea2d08
[ "MIT" ]
null
null
null
Backend/src/post/api/serializers.py
maniSHarma7575/Discourse
9c226706fe7bd058da91841c2a9498d5f7ea2d08
[ "MIT" ]
null
null
null
from rest_framework import serializers from post.models import Post class PostSerializer(serializers.ModelSerializer): username = serializers.SerializerMethodField('get_username_from_author') user_id = serializers.SerializerMethodField('get_id_from_author') class Meta: model = Post fiel...
28.043478
76
0.697674
75
645
5.706667
0.373333
0.093458
0.163551
0.098131
0.102804
0
0
0
0
0
0
0
0.215504
645
22
77
29.318182
0.84585
0
0
0
0
0
0.134884
0.037209
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d539f0177a110c9215e92e529e798d43e23a03a6
782
py
Python
HitchHikerDemo/shipments/migrations/0003_auto_20180924_1652.py
SohilaBogdadyNagdy/HitchHikerDemo
d0f0e1607d87d8eefc32688adf680ee0c45a8b42
[ "BSD-3-Clause" ]
null
null
null
HitchHikerDemo/shipments/migrations/0003_auto_20180924_1652.py
SohilaBogdadyNagdy/HitchHikerDemo
d0f0e1607d87d8eefc32688adf680ee0c45a8b42
[ "BSD-3-Clause" ]
null
null
null
HitchHikerDemo/shipments/migrations/0003_auto_20180924_1652.py
SohilaBogdadyNagdy/HitchHikerDemo
d0f0e1607d87d8eefc32688adf680ee0c45a8b42
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.8 on 2018-09-24 16:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shipments', '0002_auto_20190924_1644'), ] operations = [ migrations.RemoveField( model_name='shipment', name='dimens...
26.066667
72
0.58312
74
782
6
0.554054
0.060811
0.114865
0.141892
0.400901
0.400901
0.225225
0.225225
0
0
0
0.060886
0.306905
782
29
73
26.965517
0.758303
0.057545
0
0.434783
1
0
0.144218
0.031293
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d540fe302dc838d4805ed9d75ef99ca96a66eade
965
py
Python
iptv_proxy/providers/vaderstreams/constants.py
sfanous/IPTVProxy
23047be01a229ef8f69ea6ca55185eae93adc56e
[ "MIT" ]
9
2018-11-02T02:51:50.000Z
2022-01-12T06:22:33.000Z
iptv_proxy/providers/vaderstreams/constants.py
sfanous/IPTVProxy
23047be01a229ef8f69ea6ca55185eae93adc56e
[ "MIT" ]
3
2019-05-11T21:28:32.000Z
2020-04-27T00:58:46.000Z
iptv_proxy/providers/vaderstreams/constants.py
sfanous/IPTVProxy
23047be01a229ef8f69ea6ca55185eae93adc56e
[ "MIT" ]
7
2019-01-03T20:31:30.000Z
2022-01-29T04:09:24.000Z
class VaderStreamsConstants(object): __slots__ = [] BASE_URL = 'http://vapi.vaders.tv/' CATEGORIES_JSON_FILE_NAME = 'categories.json' CATEGORIES_PATH = 'epg/categories' CHANNELS_JSON_FILE_NAME = 'channels.json' CHANNELS_PATH = 'epg/channels' DB_FILE_NAME = 'vaderstreams.db' DEFAULT_EPG_...
37.115385
57
0.723316
115
965
5.591304
0.408696
0.07465
0.055988
0.068429
0
0
0
0
0
0
0
0.002488
0.166839
965
25
58
38.6
0.797264
0
0
0
0
0
0.246632
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d5461b4dea7aedf311b4e89ab1f6eabd401f3265
1,306
py
Python
oidc_auth/errors.py
lccvufal/django-oidc-auth
ce36f1b83bce6f2bcf23fe40b94662eb5953cd4b
[ "MIT" ]
25
2015-02-09T14:07:32.000Z
2019-06-20T02:49:02.000Z
oidc_auth/errors.py
lccvufal/django-oidc-auth
ce36f1b83bce6f2bcf23fe40b94662eb5953cd4b
[ "MIT" ]
11
2015-03-06T18:32:09.000Z
2021-08-31T20:08:18.000Z
oidc_auth/errors.py
lccvufal/django-oidc-auth
ce36f1b83bce6f2bcf23fe40b94662eb5953cd4b
[ "MIT" ]
23
2015-02-24T23:18:47.000Z
2020-11-16T08:04:13.000Z
from .utils import log class OpenIDConnectError(RuntimeError): def __init__(self, message=None): if not message: message = getattr(self, 'message', '') log.error(message) super(OpenIDConnectError, self).__init__(message) class InvalidIdToken(OpenIDConnectError, ValueError): ...
31.853659
93
0.724349
138
1,306
6.623188
0.485507
0.022976
0.036105
0.065646
0
0
0
0
0
0
0
0.002828
0.187596
1,306
40
94
32.65
0.858624
0
0
0
0
0
0.244257
0
0
0
0
0
0
1
0.125
false
0
0.041667
0
0.625
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
d5497c21eb46b346a4a5e0e6b1c89a4671bfc51e
5,641
py
Python
search-api.py
iPr0ger/elasticsearch-app
55611b436081fa068168c9e7a7981246961e5af9
[ "MIT" ]
null
null
null
search-api.py
iPr0ger/elasticsearch-app
55611b436081fa068168c9e7a7981246961e5af9
[ "MIT" ]
null
null
null
search-api.py
iPr0ger/elasticsearch-app
55611b436081fa068168c9e7a7981246961e5af9
[ "MIT" ]
null
null
null
from elasticsearch import Elasticsearch def es_connection(): elasticsearch_host = 'http://localhost:9200/' return Elasticsearch([elasticsearch_host], verify_certs=True) def specific_study_search(identifier_type, identifier_value): es_client = es_connection() query_body = { "query": { ...
27.651961
92
0.351356
351
5,641
5.367521
0.245014
0.047771
0.037155
0.058386
0.505839
0.37845
0.296709
0.196391
0.196391
0.173567
0
0.016222
0.541039
5,641
203
93
27.788177
0.711472
0.033859
0
0.467105
0
0
0.14989
0.030309
0
0
0
0
0
1
0.032895
false
0
0.006579
0
0.065789
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
d54beb5e4a3f2cb501be627c77e1a3d0f4763775
4,059
py
Python
resdata/PyTorch/stockLSTM/stockLSTM.py
yuwenxianglong/zhxsh.github.io
427d14b787e55df26e03a069288815b14ab6b534
[ "MIT" ]
null
null
null
resdata/PyTorch/stockLSTM/stockLSTM.py
yuwenxianglong/zhxsh.github.io
427d14b787e55df26e03a069288815b14ab6b534
[ "MIT" ]
1
2021-03-30T04:35:57.000Z
2021-03-30T04:35:57.000Z
resdata/PyTorch/stockLSTM/stockLSTM.py
yuwenxianglong/yuwenxianglong.github.io
196e32d2775ef3a3863603cb5c30023450a1944c
[ "MIT" ]
null
null
null
import pandas as pd import matplotlib.pyplot as plt import datetime import torch import torch.nn as nn import numpy as np from torch.utils.data import Dataset, DataLoader def generate_df_affect_by_n_days(series, n, index=False): if len(series) <= n: raise Exception("The Length of series is %d, while affec...
30.518797
100
0.669623
640
4,059
4.001563
0.25
0.043733
0.035533
0.027333
0.22296
0.174151
0.128856
0.039828
0.039828
0.039828
0
0.017394
0.192658
4,059
132
101
30.75
0.764114
0.073171
0
0.07767
1
0
0.041856
0
0
0
0
0
0
1
0.067961
false
0
0.067961
0.019417
0.213592
0.009709
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
d54e3bc45d04793c7dc38d24511e5431e86016c5
926
py
Python
bluebottle/time_based/migrations/0019_auto_20201030_1317.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
10
2015-05-28T18:26:40.000Z
2021-09-06T10:07:03.000Z
bluebottle/time_based/migrations/0019_auto_20201030_1317.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
762
2015-01-15T10:00:59.000Z
2022-03-31T15:35:14.000Z
bluebottle/time_based/migrations/0019_auto_20201030_1317.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
9
2015-02-20T13:19:30.000Z
2022-03-08T14:09:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.17 on 2020-10-30 12:17 from __future__ import unicode_literals import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('time_based', '0018_auto_20201030_1029...
26.457143
61
0.602592
93
926
5.817204
0.602151
0.049908
0.073937
0.107209
0.151571
0.151571
0
0
0
0
0
0.051593
0.288337
926
34
62
27.235294
0.769348
0.074514
0
0.333333
1
0
0.11007
0.026932
0
0
0
0
0
1
0
false
0
0.148148
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d54e79f3595f5faa314d95b07144aad1dade3412
1,683
py
Python
braistow method.py
pramotharun/Numerical-Methods-with-Python
bd5676bcc4ac5defd13608728df2387b5fdcdfcb
[ "MIT" ]
null
null
null
braistow method.py
pramotharun/Numerical-Methods-with-Python
bd5676bcc4ac5defd13608728df2387b5fdcdfcb
[ "MIT" ]
null
null
null
braistow method.py
pramotharun/Numerical-Methods-with-Python
bd5676bcc4ac5defd13608728df2387b5fdcdfcb
[ "MIT" ]
null
null
null
#Bairstow Method import numpy as np n = int(input("Degree of polynomial")) p = float(input("P value")) q = float(input("q value")) no_iterations = int(input("number of iterations")) a = np.zeros((n+2,1)) b = np.zeros((n+2,1)) c = np.zeros((n+2,1)) j = n+1 for i in range(n+1): a[i] = float(input("Enter coeffic...
17.53125
88
0.475342
310
1,683
2.477419
0.167742
0.132813
0.143229
0.020833
0.365885
0.247396
0.052083
0.052083
0.052083
0.052083
0
0.035714
0.267974
1,683
95
89
17.715789
0.587662
0.043375
0
0.246154
0
0
0.123441
0.016833
0
0
0
0
0
1
0
false
0.030769
0.015385
0
0.015385
0.538462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d54edfdc4ca1595891d132a987c8307bcc045c38
525
py
Python
package_parser/package_parser/commands/get_dependencies/_dependency_patterns.py
lars-reimann/sem21
7f40951939191e5fc08aaa32aa76f47a74e6c6e9
[ "MIT" ]
null
null
null
package_parser/package_parser/commands/get_dependencies/_dependency_patterns.py
lars-reimann/sem21
7f40951939191e5fc08aaa32aa76f47a74e6c6e9
[ "MIT" ]
31
2022-02-10T11:01:51.000Z
2022-02-18T12:37:15.000Z
package-parser/package_parser/commands/get_dependencies/_dependency_patterns.py
lars-reimann/api-editor
529e58b90a9b20bd080e45c14ad7ff16c97c3354
[ "MIT" ]
null
null
null
dependency_matcher_patterns = { "pattern_parameter_adverbial_clause": [ {"RIGHT_ID": "action_head", "RIGHT_ATTRS": {"POS": "VERB"}}, { "LEFT_ID": "action_head", "REL_OP": ">", "RIGHT_ID": "condition_head", "RIGHT_ATTRS": {"DEP": "advcl"}, }, ...
29.166667
68
0.460952
45
525
4.933333
0.555556
0.094595
0.108108
0.126126
0.144144
0
0
0
0
0
0
0
0.342857
525
17
69
30.882353
0.643478
0
0
0.117647
0
0
0.413333
0.064762
0
0
0
0
0
1
0
false
0.058824
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
0
0
0
0
0
1
0
0
0
0
0
1
d55377203747dc5c887ae5478d2293c4556cb843
431
py
Python
devilry/devilry_examiner/views/assignment/download_files/backends.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
29
2015-01-18T22:56:23.000Z
2020-11-10T21:28:27.000Z
devilry/devilry_examiner/views/assignment/download_files/backends.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
786
2015-01-06T16:10:18.000Z
2022-03-16T11:10:50.000Z
devilry/devilry_examiner/views/assignment/download_files/backends.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
15
2015-04-06T06:18:43.000Z
2021-02-24T12:28:30.000Z
import os from devilry.devilry_compressionutil.backends import backends_base class DevilryExaminerZipBackend(backends_base.PythonZipFileBackend): backend_id = 'devilry_examiner_local' @classmethod def delete_archive(cls, full_path): if not os.path.exists(full_path): return False ...
23.944444
68
0.684455
47
431
6.06383
0.659574
0.084211
0
0
0
0
0
0
0
0
0
0
0.259861
431
17
69
25.352941
0.893417
0
0
0.153846
0
0
0.051044
0.051044
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.615385
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
d55eaa4366c7d89ac9981cd9b96a2728ae57d6ad
298
py
Python
clients/python/beneath/admin/base.py
admariner/beneath
a6aa2c220e4a646be792379528ae673f4bef440b
[ "MIT" ]
65
2021-04-27T13:13:09.000Z
2022-01-24T00:26:06.000Z
clients/python/beneath/admin/base.py
admariner/beneath
a6aa2c220e4a646be792379528ae673f4bef440b
[ "MIT" ]
22
2021-10-06T10:30:40.000Z
2021-12-10T11:36:55.000Z
clients/python/beneath/admin/base.py
admariner/beneath
a6aa2c220e4a646be792379528ae673f4bef440b
[ "MIT" ]
4
2021-04-24T15:29:51.000Z
2022-03-30T16:20:12.000Z
from beneath.connection import Connection class _ResourceBase: def __init__(self, conn: Connection, dry=False): self.conn = conn self.dry = dry def _before_mutation(self): if self.dry: raise Exception("Cannot run mutation on a client where dry=True")
24.833333
77
0.66443
38
298
5.026316
0.631579
0.08377
0
0
0
0
0
0
0
0
0
0
0.258389
298
11
78
27.090909
0.864253
0
0
0
0
0
0.154362
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d56886c728f340bd0aa5f7f2709f6959a98d72da
2,744
py
Python
scripts/roi_analysis.py
alee156/clarityexplorer
7fdc0cf5eb052f20043633d06dbf874f30dc2d79
[ "Apache-2.0" ]
2
2016-02-04T20:32:20.000Z
2016-02-21T15:44:01.000Z
scripts/roi_analysis.py
alee156/clarityexplorer
7fdc0cf5eb052f20043633d06dbf874f30dc2d79
[ "Apache-2.0" ]
6
2016-02-04T20:24:34.000Z
2016-04-28T10:08:32.000Z
code/scripts/roi_analysis.py
Upward-Spiral-Science/claritycontrol
3da44a35f4eb8746c408ad34e7f433d14c031323
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python #-*- coding:utf-8 -*- __author__ = 'david' from __builtin__ import * import gc import numpy as np from skimage.feature import greycomatrix, greycoprops import matplotlib as mpl mpl.use('TkAgg') # Solve runtime issue import matplotlib.pyplot as plt ## Fake imge and label volumes to fast test funct...
33.060241
129
0.696429
445
2,744
4.146067
0.303371
0.034688
0.063415
0.04336
0.226558
0.20813
0.143089
0.143089
0.143089
0.143089
0
0.088992
0.135933
2,744
82
130
33.463415
0.689161
0.20809
0
0
0
0
0.074906
0
0
0
0
0
0
0
null
null
0
0.139535
null
null
0.046512
0
0
0
null
0
0
0
0
0
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
d56b3bf79dc16103da447ef0d8568a09ea2a7e47
3,533
bzl
Python
tensorflow_serving/workspace.bzl
mbinou/serving
0df6a9ff96bc1541fe3640138ffe45023b29381d
[ "Apache-2.0" ]
1
2021-05-10T10:40:17.000Z
2021-05-10T10:40:17.000Z
tensorflow_serving/workspace.bzl
mbinou/serving
0df6a9ff96bc1541fe3640138ffe45023b29381d
[ "Apache-2.0" ]
null
null
null
tensorflow_serving/workspace.bzl
mbinou/serving
0df6a9ff96bc1541fe3640138ffe45023b29381d
[ "Apache-2.0" ]
null
null
null
"""Provides a macro to import all TensorFlow Serving dependencies. Some of the external dependencies need to be initialized. To do this, duplicate the initialization code from TensorFlow Serving's WORKSPACE file. """ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def tf_serving_workspace(): ...
42.566265
120
0.674781
370
3,533
6.3
0.340541
0.03861
0.048048
0.036465
0.187044
0.1287
0.1287
0.096954
0.036036
0.036036
0
0.146976
0.195018
3,533
82
121
43.085366
0.672644
0.209454
0
0.192982
0
0.087719
0.588745
0.294733
0
0
0
0
0
1
0.017544
true
0
0
0
0.017544
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
d56cd63b1b384999f0b7e6a9f204857ee4f451f1
185
py
Python
examples/example_driver.py
jamesGadoury/slack-motion-sensor
c2fabaa931d3da44e64b1cd4c548d9b50cc940bb
[ "MIT" ]
2
2021-01-24T22:43:34.000Z
2021-01-24T23:31:45.000Z
examples/example_driver.py
jamesGadoury/slack-motion-sensor
c2fabaa931d3da44e64b1cd4c548d9b50cc940bb
[ "MIT" ]
null
null
null
examples/example_driver.py
jamesGadoury/slack-motion-sensor
c2fabaa931d3da44e64b1cd4c548d9b50cc940bb
[ "MIT" ]
null
null
null
from gpiozero import MotionSensor import time pir = MotionSensor(4) try: while True: pir.wait_for_motion() print("Motion detected!") time.sleep(1) except: print("Exiting...")
14.230769
33
0.718919
25
185
5.24
0.76
0
0
0
0
0
0
0
0
0
0
0.012739
0.151351
185
12
34
15.416667
0.821656
0
0
0
0
0
0.140541
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
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
d575a761bcfcca60247aae2005a94e517093bf67
832
py
Python
src/cipher/tms_aes_gcm.py
kanwar-saad/kms
bde4c42047a1aaf2c2581bdc524d79bff0c36800
[ "MIT" ]
null
null
null
src/cipher/tms_aes_gcm.py
kanwar-saad/kms
bde4c42047a1aaf2c2581bdc524d79bff0c36800
[ "MIT" ]
null
null
null
src/cipher/tms_aes_gcm.py
kanwar-saad/kms
bde4c42047a1aaf2c2581bdc524d79bff0c36800
[ "MIT" ]
1
2020-02-04T23:22:01.000Z
2020-02-04T23:22:01.000Z
import os import sys import uuid from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.ciphers.aead import AESGCM import common.tms_logger as logger class AES_GCM(): NONCE_BYTE_SIZE = 12 __aesgcm = None def __init__(self, key): self.__aesgcm = AESGCM(key) ...
23.111111
72
0.649038
105
832
4.885714
0.419048
0.070175
0.08577
0.089669
0.14425
0.14425
0.14425
0.14425
0
0
0
0.003356
0.283654
832
35
73
23.771429
0.857383
0
0
0.24
0
0
0
0
0
0
0
0
0
1
0.12
false
0
0.24
0
0.56
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
d5763ab4d4d7b603672935646671b922ea61f3fd
640
py
Python
course_catalog/migrations/0026_adds_list_type_to_userlist.py
mitodl/open-discussions
ab6e9fac70b8a1222a84e78ba778a7a065c20541
[ "BSD-3-Clause" ]
12
2017-09-27T21:23:27.000Z
2020-12-25T04:31:30.000Z
course_catalog/migrations/0026_adds_list_type_to_userlist.py
mitodl/open-discussions
ab6e9fac70b8a1222a84e78ba778a7a065c20541
[ "BSD-3-Clause" ]
3,293
2017-06-30T18:16:01.000Z
2022-03-31T18:01:34.000Z
course_catalog/migrations/0026_adds_list_type_to_userlist.py
mitodl/open-discussions
ab6e9fac70b8a1222a84e78ba778a7a065c20541
[ "BSD-3-Clause" ]
1
2020-04-13T12:19:57.000Z
2020-04-13T12:19:57.000Z
# Generated by Django 2.1.7 on 2019-06-18 16:08 from django.db import migrations, models from course_catalog.constants import ListType class Migration(migrations.Migration): dependencies = [("course_catalog", "0025_adds_favorites_renames_learningpath")] operations = [ migrations.RenameField( ...
27.826087
85
0.665625
71
640
5.788732
0.732394
0.06326
0
0
0
0
0
0
0
0
0
0.044807
0.232813
640
22
86
29.090909
0.792261
0.070313
0
0.133333
1
0
0.177066
0.067454
0
0
0
0
0
1
0
false
0
0.133333
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
d57bf661f6fa4f23400e0d77424a330bea62e0a5
656
py
Python
setup.py
DecodEPFL/neurSLS
020d032df0883a1ba48d661f78faea04a9fd6c29
[ "CC-BY-4.0" ]
null
null
null
setup.py
DecodEPFL/neurSLS
020d032df0883a1ba48d661f78faea04a9fd6c29
[ "CC-BY-4.0" ]
null
null
null
setup.py
DecodEPFL/neurSLS
020d032df0883a1ba48d661f78faea04a9fd6c29
[ "CC-BY-4.0" ]
null
null
null
#!/usr/bin/env python import setuptools import os os.chmod("run.py", 0o744) setuptools.setup( name='neurSLS', version='1.0', url='https://github.com/DecodEPFL/neurSLS', license='CC-BY-4.0 License', author='Clara Galimberti', author_email='clara.galimberti@epfl.ch', description='Neural Syst...
26.24
49
0.60061
78
656
5
0.692308
0.076923
0
0
0
0
0
0
0
0
0
0.041667
0.231707
656
24
50
27.333333
0.732143
0.030488
0
0
0
0
0.406299
0.037795
0
0
0
0
0
1
0
true
0
0.095238
0
0.095238
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
d57e0ffa75fc16c304fadaf7ddc598baf0ef21f3
2,781
py
Python
flaat/aio/overrides_test.py
BorjaEst/flaat
66413b1cb7b651c2788ee5ac1903fca234e82f18
[ "MIT" ]
1
2018-07-18T15:35:10.000Z
2018-07-18T15:35:10.000Z
flaat/aio/overrides_test.py
BorjaEst/flaat
66413b1cb7b651c2788ee5ac1903fca234e82f18
[ "MIT" ]
null
null
null
flaat/aio/overrides_test.py
BorjaEst/flaat
66413b1cb7b651c2788ee5ac1903fca234e82f18
[ "MIT" ]
null
null
null
""" These tests are nothing AIO specific, but we can only test them with a framework. We therefore picked AIO as an example. FIXME The environment overrides in here are crude and will not work if run concurrently! """ import os from typing import Optional import pytest from aiohttp import web from flaat import ENV_V...
28.670103
88
0.722402
376
2,781
5.106383
0.319149
0.025
0.0375
0.046875
0.371875
0.359896
0.309375
0.266146
0.266146
0.260417
0
0.007933
0.184106
2,781
96
89
28.96875
0.838255
0.200647
0
0.362069
0
0
0.033167
0
0
0
0
0.010417
0.103448
1
0.068966
false
0
0.155172
0.034483
0.293103
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d584040826c98dbc44380594cb3f8048e5fe9ae7
1,238
py
Python
api/model/circuit_response.py
UST-QuAntiL/quantum-circuit-generator
2fe750cd4010f1aa8fbd8591ebad3c5817a2b8ad
[ "Apache-2.0" ]
null
null
null
api/model/circuit_response.py
UST-QuAntiL/quantum-circuit-generator
2fe750cd4010f1aa8fbd8591ebad3c5817a2b8ad
[ "Apache-2.0" ]
2
2021-11-11T08:54:23.000Z
2021-11-11T15:38:42.000Z
api/model/circuit_response.py
UST-QuAntiL/quantum-circuit-generator
2fe750cd4010f1aa8fbd8591ebad3c5817a2b8ad
[ "Apache-2.0" ]
null
null
null
from datetime import datetime import marshmallow as ma from .encoding_request import BasisEncodingRequestSchema from .algorithm_request import HHLAlgorithmRequestSchema class CircuitResponse: def __init__(self, circuit, circuit_type, n_qubits, depth, input): super().__init__() self.circuit = circu...
32.578947
70
0.66559
136
1,238
5.852941
0.330882
0.070352
0.067839
0.055276
0
0
0
0
0
0
0
0
0.235057
1,238
37
71
33.459459
0.840549
0.084814
0
0
0
0
0.055752
0
0
0
0
0.027027
0
1
0.066667
false
0
0.133333
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
1
0
0
0
0
0
0
0
0
0
0
1
d594a3107b81a15a82e9ffd43a97e773cd9c978e
341
py
Python
baekjoon/4101.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
baekjoon/4101.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
baekjoon/4101.py
GihwanKim/Baekjoon
52eb2bf80bb1243697858445e5b5e2d50d78be4e
[ "MIT" ]
null
null
null
""" 4101 : 크냐? URL : https://www.acmicpc.net/problem/4101 Input : 1 19 4 4 23 14 0 0 Output : No No Yes """ while True: a, b = map(int, input().split()) if (a == 0) and (b == 0): break if a > b: print('Yes') else:...
13.64
46
0.384164
45
341
2.911111
0.666667
0.030534
0
0
0
0
0
0
0
0
0
0.116667
0.472141
341
24
47
14.208333
0.611111
0.372434
0
0
0
0
0.030864
0
0
0
0
0
0
1
0
true
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
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
d5a3fbefe0c70aea8ff1b1ae5d489a6500341d1e
5,139
py
Python
graph_utils.py
j-c-w/EXPCAP_Process
33ec7f6fdc8e794261a293d7bba0225b76606012
[ "Apache-2.0" ]
null
null
null
graph_utils.py
j-c-w/EXPCAP_Process
33ec7f6fdc8e794261a293d7bba0225b76606012
[ "Apache-2.0" ]
null
null
null
graph_utils.py
j-c-w/EXPCAP_Process
33ec7f6fdc8e794261a293d7bba0225b76606012
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator import sys import matplotlib import numpy as np from math import sqrt SPINE_COLOR = 'gray' def no_zeroes(data): non_zero = 0 for element in data: if element > 0: non_zero += 1 new_data = [0] * (non_zero) ins...
26.626943
132
0.628722
746
5,139
4.158177
0.329759
0.034816
0.019342
0.016119
0.132173
0.079948
0.079948
0.063185
0.045777
0.023211
0
0.028452
0.254524
5,139
192
133
26.765625
0.781258
0.131154
0
0.137931
0
0
0.120931
0.004989
0
0
0
0
0.017241
0
null
null
0
0.051724
null
null
0.051724
0
0
0
null
0
0
0
0
0
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
d5aa0a8f8a2e45c54a2d5b18fe8d7cc278b75884
565
py
Python
Mundo 2/Desafio 038.py
alexcarlos06/CEV_Python
99442e309e58b4191b7ba8dbeaef813607af416d
[ "MIT" ]
null
null
null
Mundo 2/Desafio 038.py
alexcarlos06/CEV_Python
99442e309e58b4191b7ba8dbeaef813607af416d
[ "MIT" ]
null
null
null
Mundo 2/Desafio 038.py
alexcarlos06/CEV_Python
99442e309e58b4191b7ba8dbeaef813607af416d
[ "MIT" ]
null
null
null
#Escreva um programa que leia dois números inteiros e compare-os, mostrando na tela uma mensagem: #O primeiro valor é maior, O segundo valor é menor , Não existe valor maior, os dois são iguais. # Fazendo a leitura de dois números n1 = float(input('Digite o primeiro valor: ')) n2 = float(input('Digite o segundo valor:...
35.3125
97
0.713274
92
565
4.380435
0.5
0.066998
0.104218
0.069479
0
0
0
0
0
0
0
0.013129
0.19115
565
16
98
35.3125
0.868709
0.486726
0
0
0
0
0.524476
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
d5b0b2022007d9f52c21bed6ba1626706e33a217
10,979
py
Python
augmentation/audio_mixing.py
aryamansriram/modular_acoustic_detection
7c10834af16ac8f878506e0cbce76c4ebc032050
[ "MIT" ]
null
null
null
augmentation/audio_mixing.py
aryamansriram/modular_acoustic_detection
7c10834af16ac8f878506e0cbce76c4ebc032050
[ "MIT" ]
null
null
null
augmentation/audio_mixing.py
aryamansriram/modular_acoustic_detection
7c10834af16ac8f878506e0cbce76c4ebc032050
[ "MIT" ]
null
null
null
import sys import os import argparse import pickle import pydub import pandas as pd import numpy as np from scipy.io import wavfile from pydub import AudioSegment import glob PATH_FOR_DATA = '../diff_class_datasets/Datasets/' ######################################################################################### ...
41.90458
156
0.534839
1,192
10,979
4.619966
0.166946
0.034502
0.017977
0.02179
0.631378
0.57091
0.470129
0.43018
0.377338
0.317051
0
0.025367
0.19929
10,979
261
157
42.065134
0.601069
0.064669
0
0.331395
0
0
0.152145
0.08543
0
0
0
0
0
0
null
null
0.02907
0.05814
null
null
0.052326
0
0
0
null
0
0
0
0
0
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
633bb42dc2fe85d6e01d5e6d8dd665ec7d2ea3ed
1,420
py
Python
tests/engine/system_test.py
ldelebec/asteroid
d6390baca5409634f112ceed554ea66c4054cb54
[ "MIT" ]
722
2020-12-01T06:49:47.000Z
2022-03-31T12:44:53.000Z
tests/engine/system_test.py
ldelebec/asteroid
d6390baca5409634f112ceed554ea66c4054cb54
[ "MIT" ]
235
2020-03-02T12:57:07.000Z
2020-11-30T20:11:18.000Z
tests/engine/system_test.py
ldelebec/asteroid
d6390baca5409634f112ceed554ea66c4054cb54
[ "MIT" ]
176
2020-12-01T00:10:30.000Z
2022-03-30T10:38:19.000Z
from torch import nn, optim from torch.utils import data from pytorch_lightning import Trainer from asteroid.engine.system import System from asteroid.utils.test_utils import DummyDataset def test_system(): model = nn.Sequential(nn.Linear(10, 10), nn.ReLU()) optimizer = optim.Adam(model.parameters(), lr=1e-3...
29.583333
93
0.662676
184
1,420
4.961957
0.342391
0.052574
0.028478
0.041621
0.663746
0.663746
0.663746
0.663746
0.663746
0.663746
0
0.02139
0.209859
1,420
47
94
30.212766
0.792335
0
0
0.65
0
0
0.012676
0
0
0
0
0
0
1
0.075
false
0
0.125
0
0.2
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
633c7c208888075a7ed5ef9e19baea853a14a148
1,482
py
Python
gallery/tests.py
lilianwaweru/Gallery
de9b02e59dac22f45df8c7cbc0570fe7ac685d3f
[ "MIT" ]
null
null
null
gallery/tests.py
lilianwaweru/Gallery
de9b02e59dac22f45df8c7cbc0570fe7ac685d3f
[ "MIT" ]
null
null
null
gallery/tests.py
lilianwaweru/Gallery
de9b02e59dac22f45df8c7cbc0570fe7ac685d3f
[ "MIT" ]
null
null
null
from django.test import TestCase from .models import Location,Image,Category # Create your tests here. class CategoryTestClass(TestCase): #Set up method def setUp(self): self.name = Category(name = 'sports') #testing instance def test_instance(self): self.assertTrue(isinstance(self.na...
27.962264
139
0.660594
173
1,482
5.583815
0.225434
0.066253
0.062112
0.059006
0.509317
0.425466
0.425466
0.425466
0.389234
0.308489
0
0.002636
0.232119
1,482
52
140
28.5
0.846221
0.103239
0
0.258065
0
0
0.044765
0
0
0
0
0
0.16129
1
0.258065
false
0
0.064516
0
0.419355
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
633cb09bf45c6bf036c3efaa34f7eefc0bb54414
738
py
Python
setup.py
Kraysent/OMTool
abb293ee359720d622ed0c4ecdf90967171007c8
[ "Apache-2.0" ]
null
null
null
setup.py
Kraysent/OMTool
abb293ee359720d622ed0c4ecdf90967171007c8
[ "Apache-2.0" ]
51
2021-12-05T13:31:51.000Z
2022-03-27T16:05:04.000Z
setup.py
Kraysent/OMTool
abb293ee359720d622ed0c4ecdf90967171007c8
[ "Apache-2.0" ]
null
null
null
from distutils.core import setup setup( name="omtool", version="0.1.0", author="Kraysent", url="https://github.com/Kraysent/OMTool", description="Package and program that models N-Body problem in galactic evolution application.", long_description=open("README.rst").read(), long_description_...
27.333333
100
0.612466
81
738
5.506173
0.666667
0.134529
0
0
0
0
0
0
0
0
0
0.008897
0.238482
738
26
101
28.384615
0.784698
0
0
0
0
0
0.48916
0.059621
0
0
0
0
0
1
0
true
0
0.04
0
0.04
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
633e8fae53fa74b5c93431785f5e6b20c2e8d98a
361
py
Python
setup.py
lukedeo/h5ify
ab9a81330d63e1a8911c552d90707ae8461ac8e3
[ "BSD-3-Clause" ]
null
null
null
setup.py
lukedeo/h5ify
ab9a81330d63e1a8911c552d90707ae8461ac8e3
[ "BSD-3-Clause" ]
null
null
null
setup.py
lukedeo/h5ify
ab9a81330d63e1a8911c552d90707ae8461ac8e3
[ "BSD-3-Clause" ]
1
2019-06-25T03:07:49.000Z
2019-06-25T03:07:49.000Z
from setuptools import setup from setuptools import find_packages setup(name='h5ify', version='0.0.1', description='Simple utility functions for saving stuff built on keras and deepdish.', author='Luke de Oliveira', author_email='lukedeo@stanford.edu', install_requires=['keras', 'six', 't...
32.818182
91
0.700831
45
361
5.533333
0.777778
0.11245
0.160643
0
0
0
0
0
0
0
0
0.013559
0.182825
361
10
92
36.1
0.830508
0
0
0
0
0
0.360111
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
63476a4474fa2cb53ff645625688abac56448d9d
2,784
py
Python
pages/migrations/0006_auto_20190707_1024.py
gsw945/myblog
6666762928a01b08700ce77a712fa5b3ad468d96
[ "MIT" ]
17
2019-03-04T09:48:01.000Z
2022-03-28T01:55:18.000Z
pages/migrations/0006_auto_20190707_1024.py
WK8612/myblog
8af7f079341f656678fde707fcec680f8d5269ac
[ "MIT" ]
10
2019-06-09T05:54:38.000Z
2019-09-11T09:59:51.000Z
pages/migrations/0006_auto_20190707_1024.py
WK8612/myblog
8af7f079341f656678fde707fcec680f8d5269ac
[ "MIT" ]
6
2019-03-06T09:35:55.000Z
2019-08-28T14:04:27.000Z
# Generated by Django 2.0 on 2019-07-07 02:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pages', '0005_accessanalysis'), ] operations = [ migrations.CreateModel( name='CategoryTools', ...
42.181818
160
0.55783
268
2,784
5.656716
0.324627
0.137863
0.059367
0.050132
0.590369
0.590369
0.532322
0.532322
0.532322
0.532322
0
0.014213
0.292385
2,784
65
161
42.830769
0.75533
0.015445
0
0.474576
1
0
0.140927
0
0
0
0
0
0
1
0
false
0
0.033898
0
0.084746
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
634c3efd5b6be17a8347d8140f1177ac3d0da280
1,629
py
Python
serverctl_deployd/models/config.py
delta/serverctl_daemon
3999539da01715affc8a3471d860294184756e6f
[ "MIT" ]
2
2021-09-18T15:30:33.000Z
2021-12-23T01:50:19.000Z
serverctl_deployd/models/config.py
delta/serverctl_daemon
3999539da01715affc8a3471d860294184756e6f
[ "MIT" ]
54
2021-09-18T12:22:38.000Z
2022-03-30T13:25:17.000Z
serverctl_deployd/models/config.py
delta/serverctl_deployd
3999539da01715affc8a3471d860294184756e6f
[ "MIT" ]
null
null
null
""" Models for config buckets """ from typing import Optional, Set from pydantic import BaseModel from pydantic.fields import Field from pydantic.types import DirectoryPath class ListConfigBucket(BaseModel): """Class for obtaining list of files for a config bucket""" directory_path: DirectoryPath = Field( ...
33.9375
80
0.678944
211
1,629
5.21327
0.298578
0.047273
0.047273
0.050909
0.583636
0.583636
0.583636
0.583636
0.583636
0.583636
0
0
0.240025
1,629
47
81
34.659574
0.88853
0.098834
0
0.424242
0
0
0.182699
0
0
0
0
0
0
1
0
true
0
0.121212
0
0.393939
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
6359c0b2e8d89e63a6f8010435df63be27e7e3be
835
py
Python
LinkedList/deleteAllDuplicates.py
jainanisha90/codepath_interviewBit
3d7448fee80ee7bbc1f667db7e57ee698948a845
[ "MIT" ]
null
null
null
LinkedList/deleteAllDuplicates.py
jainanisha90/codepath_interviewBit
3d7448fee80ee7bbc1f667db7e57ee698948a845
[ "MIT" ]
null
null
null
LinkedList/deleteAllDuplicates.py
jainanisha90/codepath_interviewBit
3d7448fee80ee7bbc1f667db7e57ee698948a845
[ "MIT" ]
null
null
null
# Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None def __repr__(self): if self is None: return "Nil" else: return "{} -> {}".format(self.val, repr(self.next)) class Solution: # @param A : head no...
26.09375
63
0.585629
108
835
4.388889
0.342593
0.118143
0.063291
0.080169
0
0
0
0
0
0
0
0.013962
0.313772
835
31
64
26.935484
0.813264
0.156886
0
0
0
0
0.015759
0
0
0
0
0
0
0
null
null
0
0
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
6364a86fa3015e89d583ad5de67ec703c41abf79
897
py
Python
play_lichess/constants.py
DenverCoder1/play-lichess
2dd1aa3119a786ed71465914d8547e1ab41916b3
[ "MIT" ]
4
2021-05-05T17:42:11.000Z
2022-02-24T03:44:14.000Z
play_lichess/constants.py
DenverCoder1/play-lichess
2dd1aa3119a786ed71465914d8547e1ab41916b3
[ "MIT" ]
null
null
null
play_lichess/constants.py
DenverCoder1/play-lichess
2dd1aa3119a786ed71465914d8547e1ab41916b3
[ "MIT" ]
null
null
null
from .option import Option from enum import Enum class Variant(Option, Enum): """Lichess chess variants""" STANDARD = Option("Standard", 1) CRAZYHOUSE = Option("Crazyhouse", 10) CHESS960 = Option("Chess 960", 2) KING_OF_THE_HILL = Option("King of the Hill", 4) THREE_CHECK = Option("Three-chec...
26.382353
52
0.645485
109
897
5.256881
0.458716
0.052356
0.089005
0.045375
0
0
0
0
0
0
0
0.029412
0.204013
897
33
53
27.181818
0.773109
0.082497
0
0
0
0
0.201983
0
0
0
0
0
0
1
0
false
0
0.095238
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6376cb1af729c668f9be0d3da4ca2a2fe3fbe64d
4,817
py
Python
src/gantt.plot.py
jackmo375/Planner2
61bf816113fbd31604c5bd5d686c62d4f3764892
[ "MIT" ]
null
null
null
src/gantt.plot.py
jackmo375/Planner2
61bf816113fbd31604c5bd5d686c62d4f3764892
[ "MIT" ]
null
null
null
src/gantt.plot.py
jackmo375/Planner2
61bf816113fbd31604c5bd5d686c62d4f3764892
[ "MIT" ]
null
null
null
""" GANTT Chart with Matplotlib Sukhbinder Inspired from <div class="embed-theclowersgroup"><blockquote class="wp-embedded-content"><a href="http://www.clowersresearch.com/main/gantt-charts-in-matplotlib/">Gantt Charts in Matplotlib</a></blockquote><script type="text/javascript"><!--//--><![CDATA[//><!-- !functi...
46.76699
1,996
0.671995
712
4,817
4.490169
0.366573
0.006256
0.004692
0.006256
0.075696
0.070691
0.070691
0.06381
0.06381
0.031279
0
0.021698
0.129334
4,817
102
1,997
47.22549
0.740343
0.488686
0
0
0
0
0.032405
0
0
0
0
0
0
1
0.050847
false
0
0.118644
0
0.20339
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6379470b8445dc4735b1c7a0f541d2508c7d6086
5,973
py
Python
tests/functional/datatypes/test_decfloat_binding_to_legacy.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2022-02-05T11:37:13.000Z
2022-02-05T11:37:13.000Z
tests/functional/datatypes/test_decfloat_binding_to_legacy.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-09-03T11:47:00.000Z
2021-09-03T12:42:10.000Z
tests/functional/datatypes/test_decfloat_binding_to_legacy.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-06-30T14:14:16.000Z
2021-06-30T14:14:16.000Z
#coding:utf-8 # # id: functional.datatypes.decfloat_binding_to_legacy # title: Test ability for DECFLOAT values to be represented as other data types using LEGACY keyword. # decription: # We check here that values from DECFLOAT will be actually converted to legacy datatypes # ...
44.909774
157
0.638038
795
5,973
4.616352
0.272956
0.051499
0.024523
0.038147
0.529428
0.511172
0.487193
0.46267
0.324796
0.305722
0
0.142342
0.256655
5,973
132
158
45.25
0.684234
0.39712
0
0.2
0
0.05
0.844513
0.270278
0
0
0
0
0.016667
1
0.016667
false
0
0.033333
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
637a8a7cbe0ddf9f4d9b115b2f11dce41f3d8153
7,581
py
Python
qatrack/parts/models.py
randlet/qatrackplus-ci
ba11d39a07382b11394aaffd0df692b4ddc6239b
[ "MIT" ]
4
2016-08-29T15:31:01.000Z
2021-05-08T23:16:37.000Z
qatrack/parts/models.py
randlet/qatrackplus-ci
ba11d39a07382b11394aaffd0df692b4ddc6239b
[ "MIT" ]
5
2020-02-12T01:21:59.000Z
2021-06-10T21:18:24.000Z
qatrack/parts/models.py
randlet/qatrackplus-ci
ba11d39a07382b11394aaffd0df692b4ddc6239b
[ "MIT" ]
null
null
null
from decimal import Decimal from django.core.validators import MinValueValidator from django.db import models from django.utils.translation import ugettext as _ from qatrack.units import models as u_models from qatrack.service_log import models as sl_models class Supplier(models.Model): name = models.CharField...
33.544248
134
0.666403
896
7,581
5.458705
0.180804
0.022899
0.025762
0.034349
0.345328
0.240442
0.202413
0.146391
0.12063
0.103046
0
0.006764
0.219892
7,581
225
135
33.693333
0.820257
0.005276
0
0.225
0
0
0.109843
0.005704
0
0
0
0
0
1
0.09375
false
0.00625
0.0375
0.05
0.5125
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
6380e61a54b9ef61752d146aa5a628eed14f7d19
2,429
py
Python
molecule/centos9uc/tests/test_worker.py
rdo-infra/ansible-role-dlrn
40d4dab7cc7fc5748622330c03f89923ac458e25
[ "Apache-2.0" ]
null
null
null
molecule/centos9uc/tests/test_worker.py
rdo-infra/ansible-role-dlrn
40d4dab7cc7fc5748622330c03f89923ac458e25
[ "Apache-2.0" ]
1
2021-07-08T11:09:15.000Z
2021-07-08T11:09:15.000Z
molecule/centos9uc/tests/test_worker.py
rdo-infra/ansible-role-dlrn
40d4dab7cc7fc5748622330c03f89923ac458e25
[ "Apache-2.0" ]
3
2020-10-20T09:38:24.000Z
2021-07-08T10:49:02.000Z
# Copyright 2020 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 writin...
41.169492
87
0.736929
365
2,429
4.879452
0.452055
0.087591
0.067378
0.028636
0.115665
0.031443
0
0
0
0
0
0.013203
0.15809
2,429
58
88
41.87931
0.857702
0.425278
0
0
0
0
0.376093
0.213557
0
0
0
0
0.653846
1
0.038462
false
0
0.038462
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
6382ee8756f855cc5ec1a43ba189aaa692630bb0
480,469
py
Python
install/super_prove/lib/super_prove/par.py
ljbrooks/superkb_release
cd8c476ba687dea3cdd979eb4b1a7bd9471ece66
[ "MIT" ]
null
null
null
install/super_prove/lib/super_prove/par.py
ljbrooks/superkb_release
cd8c476ba687dea3cdd979eb4b1a7bd9471ece66
[ "MIT" ]
null
null
null
install/super_prove/lib/super_prove/par.py
ljbrooks/superkb_release
cd8c476ba687dea3cdd979eb4b1a7bd9471ece66
[ "MIT" ]
null
null
null
from pyabc import * import pyabc_split import redirect import sys import os import time import math import filecmp import random import operator import pyaig ### this will set up things to simulate the 4 core hwmcc'15 competition. ##import affinity ##affinity.sched_setaffinity(os.getpid(), [0, 2, 4, 6]) try: imp...
33.568714
316
0.537519
72,625
480,469
3.414568
0.03894
0.015062
0.009614
0.007452
0.458233
0.396289
0.343636
0.31038
0.284878
0.261115
0
0.027193
0.315908
480,469
14,312
317
33.571059
0.727277
0.292618
0
0.475745
0
0.005271
0.147097
0.018118
0
0
0
0
0.009788
0
null
null
0.000215
0.001398
null
null
0.102721
0
0
0
null
0
0
0
0
0
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
6382fa8963f4a310628448af7a3c47f4be572d69
1,158
py
Python
test/color.py
magicsky/chalk
9f4f3a5378ed97591edfbd52ea4125d513946bef
[ "MIT" ]
1
2015-05-13T23:58:42.000Z
2015-05-13T23:58:42.000Z
test/color.py
magicsky/nodechalk
9f4f3a5378ed97591edfbd52ea4125d513946bef
[ "MIT" ]
null
null
null
test/color.py
magicsky/nodechalk
9f4f3a5378ed97591edfbd52ea4125d513946bef
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 fileencoding=utf-8 ff=unix ft=python """ @author: Wu Liang @contact: garcia.relax@gmail.com @date 2015-05-09 23:29 """ import os import sys currentPath = os.path.normpath(os.path.dirname(os.path.realpath(__file__))) r...
24.125
90
0.631261
159
1,158
4.572327
0.427673
0.05227
0.066025
0.071527
0.145805
0.145805
0.071527
0.071527
0.046768
0
0
0.018595
0.164076
1,158
47
91
24.638298
0.732438
0.11399
0
0.058824
0
0
0.208289
0
0
0
0
0
0
0
null
null
0
0.088235
null
null
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
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
638ef457b9eb1466a474adccd67bd19c970dd2c9
5,219
py
Python
tests/fixtures/reporting_returns.py
oldarmyc/ae_preflight
96f7cf2736893baa1eb69f37f2b80a0d4073392f
[ "Apache-2.0" ]
null
null
null
tests/fixtures/reporting_returns.py
oldarmyc/ae_preflight
96f7cf2736893baa1eb69f37f2b80a0d4073392f
[ "Apache-2.0" ]
null
null
null
tests/fixtures/reporting_returns.py
oldarmyc/ae_preflight
96f7cf2736893baa1eb69f37f2b80a0d4073392f
[ "Apache-2.0" ]
null
null
null
def os_return(distro): if distro == 'rhel': return_value = { 'distribution': 'centos', 'version': '7.5', 'dist_name': 'CentOS Linux', 'based_on': 'rhel' } elif distro == 'ubuntu': return_value = { 'distribution': 'ec2', ...
21.928571
64
0.406016
437
5,219
4.700229
0.292906
0.077897
0.058423
0.06816
0.596397
0.521908
0.416748
0.222006
0.174294
0.151412
0
0.054539
0.444913
5,219
237
65
22.021097
0.65447
0
0
0.448276
0
0
0.284209
0.026447
0
0
0
0
0
1
0.059113
false
0.1133
0
0.004926
0.167488
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
63920f24c291c823f816610f9f6889434ef72901
9,097
py
Python
legacy/src/main/scripts/log_parse.py
memphis-iis/gluten
7caad491f18f230dadb1b005dcd31e60d8bc8eca
[ "Apache-2.0" ]
1
2015-09-08T16:59:42.000Z
2015-09-08T16:59:42.000Z
legacy/src/main/scripts/log_parse.py
memphis-iis/gluten
7caad491f18f230dadb1b005dcd31e60d8bc8eca
[ "Apache-2.0" ]
1
2016-03-09T18:53:53.000Z
2016-03-09T18:58:00.000Z
legacy/src/main/scripts/log_parse.py
memphis-iis/gluten
7caad491f18f230dadb1b005dcd31e60d8bc8eca
[ "Apache-2.0" ]
2
2016-03-09T16:59:32.000Z
2021-09-13T16:37:36.000Z
#!/usr/bin/env python """log_parse.py - Parsing support for server.logs from the TDC Annotator tool. This script accepts command line parameters specifying log files to read. All user audit "actions" are tabulated and printed out. NOTE that this functionality is really only a sample. You probably want to write you...
35.814961
97
0.610751
1,233
9,097
4.42498
0.280616
0.026393
0.021444
0.007148
0.073864
0.039589
0.031525
0.026393
0
0
0
0.003616
0.300868
9,097
253
98
35.956522
0.854245
0.072991
0
0.240385
0
0
0.072245
0
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
63963f2541664cbe4e20c711c7d4e6f03f1c3c53
508
py
Python
protector/migrations/0003_auto_20160607_0838.py
vasili4396/django-protector
06232124e218619946f724a5a71e2a0d945e0ab6
[ "MIT" ]
35
2015-01-16T15:26:16.000Z
2022-01-04T07:30:39.000Z
protector/migrations/0003_auto_20160607_0838.py
vasili4396/django-protector
06232124e218619946f724a5a71e2a0d945e0ab6
[ "MIT" ]
26
2017-07-17T18:05:12.000Z
2021-03-23T19:25:44.000Z
protector/migrations/0003_auto_20160607_0838.py
vasili4396/django-protector
06232124e218619946f724a5a71e2a0d945e0ab6
[ "MIT" ]
23
2015-01-16T15:27:38.000Z
2021-07-05T14:17:55.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-06-07 08:38 from __future__ import unicode_literals from django.db import migrations import django.db.models.manager class Migration(migrations.Migration): dependencies = [ ('protector', '0002_auto_20160607_0827'), ] operations = [ ...
22.086957
64
0.606299
52
508
5.769231
0.730769
0.08
0.093333
0.14
0
0
0
0
0
0
0
0.086721
0.273622
508
22
65
23.090909
0.726287
0.13189
0
0
1
0
0.114155
0.052511
0
0
0
0
0
1
0
false
0
0.2
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6396d027a4b47116c424dfee2466c1f86e550545
13,632
py
Python
pycomod/model.py
DND-DRDC-RDDC/OS_PyCoMod
6d7ede3089536862a3fc2c1bc4ee5ad85890c8f5
[ "BSD-3-Clause" ]
2
2021-07-09T11:55:59.000Z
2021-07-21T20:35:39.000Z
pycomod/model.py
DND-DRDC-RDDC/OS_PyCoMod
6d7ede3089536862a3fc2c1bc4ee5ad85890c8f5
[ "BSD-3-Clause" ]
null
null
null
pycomod/model.py
DND-DRDC-RDDC/OS_PyCoMod
6d7ede3089536862a3fc2c1bc4ee5ad85890c8f5
[ "BSD-3-Clause" ]
2
2021-11-19T20:18:25.000Z
2022-01-09T17:52:00.000Z
import pandas as pd from pycomod.elements import * #class for building and running the model class model: def __init__(self, init=None): #time info self._t = sim_time() self._date = sim_date() #run info self._dt = run_info(1) self._end = run_info(365) self._reps = ...
23.183673
99
0.596317
1,861
13,632
4.112305
0.106394
0.032144
0.014896
0.024827
0.454724
0.408075
0.349667
0.311381
0.311381
0.296354
0
0.002424
0.304064
13,632
587
100
23.223169
0.804258
0.18882
0
0.393189
0
0
0.009734
0
0
0
0
0
0
1
0.120743
false
0.06192
0.006192
0
0.142415
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
63a121fa97fe5e3bccccba0d44adbc9a248cec0d
372
py
Python
Dataset/Leetcode/train/22/188.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/22/188.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/22/188.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, n: 'int') -> 'List[str]': par = '()' queue = {'()',} for i in range(n-1): q1 = set() for element in queue: for j in range(len(element)): q1.add(element[0:j] + par + element[j:]) queue = q1 ...
26.571429
60
0.422043
44
372
3.568182
0.568182
0.101911
0
0
0
0
0
0
0
0
0
0.023585
0.430108
372
13
61
28.615385
0.716981
0
0
0
0
0
0.043127
0
0
0
0
0
0
0
null
null
0
0
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
63aabe687322b41f0aeaf865fe7678684f5af315
812
py
Python
notebooks/dev_pathfinding.py
TheoLvs/westworld
7fb435f3a028ff3d3156bf2a023b44ee06aa9f8b
[ "MIT" ]
null
null
null
notebooks/dev_pathfinding.py
TheoLvs/westworld
7fb435f3a028ff3d3156bf2a023b44ee06aa9f8b
[ "MIT" ]
3
2021-09-06T23:12:23.000Z
2021-09-17T01:04:34.000Z
notebooks/dev_pathfinding.py
TheoLvs/westworld
7fb435f3a028ff3d3156bf2a023b44ee06aa9f8b
[ "MIT" ]
null
null
null
import sys sys.path.append("../../") import time import pygame import numpy as np from westworld.environment.grid import GridEnvironment from westworld.agents.grid import GridAgent,Obstacle,Trigger from westworld.simulation.simulation import Simulation BOX_SIZE = 50 class Agent(GridAgent): def step(self,env)...
20.3
77
0.705665
124
812
4.556452
0.443548
0.074336
0.015929
0.047788
0.086726
0.067257
0
0
0
0
0
0.061135
0.153941
812
40
78
20.3
0.761281
0.067734
0
0
0
0
0.007979
0
0
0
0
0
0
1
0.047619
false
0
0.333333
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
63ba9556acc0832e6aaa627bb1d1f1026f222d20
3,123
py
Python
ch_07/src/queue_example.py
real-slim-chadi/Python-Object-Oriented-Programming---4th-edition
7c486866171786b620795fa33a79ec9ac9a8ba1b
[ "MIT" ]
43
2021-06-03T18:39:09.000Z
2022-03-29T20:32:13.000Z
ch_07/src/queue_example.py
real-slim-chadi/Python-Object-Oriented-Programming---4th-edition
7c486866171786b620795fa33a79ec9ac9a8ba1b
[ "MIT" ]
9
2022-03-12T01:04:07.000Z
2022-03-12T01:05:01.000Z
ch_07/src/queue_example.py
real-slim-chadi/Python-Object-Oriented-Programming---4th-edition
7c486866171786b620795fa33a79ec9ac9a8ba1b
[ "MIT" ]
36
2021-06-19T07:14:09.000Z
2022-03-12T22:17:09.000Z
""" Python 3 Object-Oriented Programming Chapter 7. Python Data Structures """ from __future__ import annotations import abc from pathlib import Path from typing import cast, Type, Union, List import time class DirectoryVisitor(abc.ABC): queue_class: Type["PathQueue"] def __init__(self, base: Path) -> None:...
20.546053
88
0.557797
379
3,123
4.485488
0.300792
0.032941
0.025882
0.035294
0.206471
0.206471
0.192941
0.192941
0.157647
0.157647
0
0.012868
0.303234
3,123
151
89
20.682119
0.768382
0.18796
0
0.27027
0
0
0.025641
0
0
0
0
0
0
1
0.162162
false
0.054054
0.108108
0.054054
0.472973
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
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
63bd9d7a7895d9b17e1c65e7a2740996b38822c7
1,329
gyp
Python
third_party/libpng/libpng.gyp
zachlatta/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2021-09-24T22:49:10.000Z
2021-09-24T22:49:10.000Z
third_party/libpng/libpng.gyp
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
third_party/libpng/libpng.gyp
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'includes': [ '../../build/common.gypi', ], 'targets': [ { 'target_name': 'libpng', 'type': '<(library)', 'dependencies...
21.786885
72
0.461249
126
1,329
4.722222
0.666667
0.026891
0.036975
0.05042
0.137815
0.137815
0.137815
0.137815
0
0
0
0.026932
0.357412
1,329
60
73
22.15
0.669789
0.119639
0
0.303571
0
0
0.462264
0.170669
0
0
0
0
0
1
0
true
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
0
0
0
0
1
0
0
0
0
0
0
1
63c5f3f960629c45f7739570a7741481a18e8bf1
18,619
py
Python
geventreactor/__init__.py
eallik/spinoff
06b00d6b86c7422c9cb8f9a4b2915906e92b7d52
[ "BSD-2-Clause" ]
6
2015-01-16T13:40:31.000Z
2019-06-27T13:23:19.000Z
geventreactor/__init__.py
erikkaplun/spinoff
06b00d6b86c7422c9cb8f9a4b2915906e92b7d52
[ "BSD-2-Clause" ]
null
null
null
geventreactor/__init__.py
erikkaplun/spinoff
06b00d6b86c7422c9cb8f9a4b2915906e92b7d52
[ "BSD-2-Clause" ]
3
2015-03-14T05:13:00.000Z
2019-11-05T03:28:41.000Z
## Twisted reactor running on gevent (libevent+greenlet) ## ## Copyright (C) 2011 by Jiang Yio <http://inportb.com/> ## Please find instructions at ## <http://wiki.inportb.com/wiki/Projects:Python:Geventreactor> ## ## Permission is hereby granted, free of charge, to any person obtaining a copy ## of this software and...
33.188948
211
0.591493
1,936
18,619
5.613636
0.221074
0.007177
0.015734
0.008281
0.218347
0.182646
0.161943
0.146669
0.140228
0.119157
0
0.004703
0.31484
18,619
560
212
33.248214
0.847221
0.082389
0
0.366667
0
0
0.043569
0.002917
0
0
0
0.001786
0.014286
0
null
null
0.040476
0.045238
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
63cd2ee1691e8d49dd029d8d82a810e7e193f9f0
13,698
py
Python
trello-to-zulip.py
zulip/trello-to-zulip
fa75bf5754c60e819619027476b602d7e9680ff1
[ "MIT" ]
4
2016-07-29T20:06:36.000Z
2020-02-13T19:26:41.000Z
trello-to-zulip.py
zulip/trello-to-zulip
fa75bf5754c60e819619027476b602d7e9680ff1
[ "MIT" ]
null
null
null
trello-to-zulip.py
zulip/trello-to-zulip
fa75bf5754c60e819619027476b602d7e9680ff1
[ "MIT" ]
6
2016-06-02T17:41:17.000Z
2021-10-19T03:31:57.000Z
#!/usr/bin/env python from argparse import ArgumentParser, FileType from datetime import datetime from time import sleep import json import os import sys import requests DATE_FILE = '.trello-to-zulip-date' ZULIP_URL = 'https://zulip.com/api/v1/messages' ZULIP_SUBJECT_MAX = 60 parser = Argumen...
32.614286
130
0.513725
1,633
13,698
4.173913
0.178812
0.024941
0.027729
0.030516
0.258363
0.189994
0.147007
0.108128
0.095217
0.085681
0
0.004465
0.346036
13,698
419
131
32.692124
0.756419
0.05154
0
0.241758
0
0
0.156137
0.00162
0
0
0
0
0
0
null
null
0.005495
0.019231
null
null
0.010989
0
0
0
null
0
0
0
0
0
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
63d407deb53a95c172210ab392b4efc1feab8d7e
8,303
py
Python
tkmorfo/applications/textparser/tools/helpers/parseval/parseval.py
DonAurelio/TweetAnalyzer
2789d3968aa6233087803905f5de832edcb702de
[ "MIT" ]
1
2020-09-28T13:52:23.000Z
2020-09-28T13:52:23.000Z
tkmorfo/applications/textparser/tools/helpers/parseval/parseval.py
DonAurelio/TweetAnalyzer
2789d3968aa6233087803905f5de832edcb702de
[ "MIT" ]
2
2020-06-05T17:10:40.000Z
2021-06-10T18:07:15.000Z
tkmorfo/applications/textparser/tools/helpers/parseval/parseval.py
DonAurelio/text-analyzer
2789d3968aa6233087803905f5de832edcb702de
[ "MIT" ]
1
2017-12-21T05:44:40.000Z
2017-12-21T05:44:40.000Z
#!/usr/bin/env python import sys, re, os, shlex,subprocess,getopt from per1 import partition, textToTree, clean, getSegments, evaluate, printList, printDisagreements from NLPlib import * #nlp = NLPlib() import nltk import per1 from subprocess import Popen, PIPE class Modelo: def __init__(self): ...
39.165094
307
0.49175
826
8,303
4.921308
0.326877
0.025584
0.025584
0.015744
0.205166
0.176384
0.106765
0.090037
0.054121
0.054121
0
0.026094
0.399976
8,303
212
308
39.165094
0.789843
0.138745
0
0.165605
0
0.012739
0.182894
0.075243
0
0
0
0
0
0
null
null
0
0.038217
null
null
0.210191
0
0
0
null
0
0
0
0
0
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
891eb8a2404c2f5826440f63159d3081210d4cda
3,179
py
Python
analysis/command_line.py
echarlaix/nn_pruning
afd440666d6376c9f01cf80e9a8c8e282f3c0529
[ "Apache-2.0" ]
null
null
null
analysis/command_line.py
echarlaix/nn_pruning
afd440666d6376c9f01cf80e9a8c8e282f3c0529
[ "Apache-2.0" ]
null
null
null
analysis/command_line.py
echarlaix/nn_pruning
afd440666d6376c9f01cf80e9a8c8e282f3c0529
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import click import json from analyze_run import ModelAnalysis from create_model import Packager @click.group() @click.pass_context def cli(ctx): ctx.obj = {} TASKS = ["squadv1", "squadv2", "cnn_dailymail", "mnli"] @cli.command() @click.argument("input", default=None, type=click.Path(resolv...
37.845238
186
0.674426
443
3,179
4.726862
0.334086
0.06829
0.078797
0.051576
0.351958
0.304202
0.276027
0.242598
0.242598
0.219675
0
0.002707
0.186537
3,179
83
187
38.301205
0.807038
0.126769
0
0.311475
0
0.016393
0.181357
0.007617
0
0
0
0
0
1
0.098361
false
0.114754
0.098361
0.016393
0.213115
0.032787
0
0
0
null
0
0
0
0
0
0
0
0
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
89243fca391f4d3cd29a2e747ba4a092f72cdd1a
381
py
Python
exercicios.py/ex063.py
Gabriel-Richard/Python-projects
bd4111ccb0a1c23f228b4e4e2d6699ea86d5352a
[ "MIT" ]
1
2021-05-03T03:16:09.000Z
2021-05-03T03:16:09.000Z
exercicios.py/ex063.py
Gabriel-Richard/Python-projects
bd4111ccb0a1c23f228b4e4e2d6699ea86d5352a
[ "MIT" ]
null
null
null
exercicios.py/ex063.py
Gabriel-Richard/Python-projects
bd4111ccb0a1c23f228b4e4e2d6699ea86d5352a
[ "MIT" ]
null
null
null
print('=-'*25) print(f'{"Sequencia de fibonacci": ^50}') print('=-'*25, '\n') termos = int(input('Quantos termos voce quer mostrar: ')) controle = 0 fibonacci = 0 n1 = 0 n2 = 1 print(n1, '->', n2, end=' -> ') while controle != termos - 2: controle += 1 fibonacci = n1 + n2 n1 = n2 n2 = fibonacci p...
19.05
57
0.55643
52
381
4.076923
0.461538
0.056604
0
0
0
0
0
0
0
0
0
0.076923
0.215223
381
19
58
20.052632
0.632107
0
0
0
0
0
0.230971
0
0
0
0
0
0
1
0
false
0
0
0
0
0.411765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
892719ecb0d723e7375957ca48143c49284617af
2,737
py
Python
insurance_sim.py
harrymunro/Simulations
00073d6e01b30f8effcff2781af66d6fcf977386
[ "MIT" ]
12
2019-01-17T02:40:15.000Z
2021-06-24T02:38:10.000Z
insurance_sim.py
harrymunro/Simulations
00073d6e01b30f8effcff2781af66d6fcf977386
[ "MIT" ]
1
2020-03-26T14:04:35.000Z
2020-03-26T14:04:35.000Z
insurance_sim.py
harrymunro/Simulations
00073d6e01b30f8effcff2781af66d6fcf977386
[ "MIT" ]
8
2018-03-01T08:27:31.000Z
2021-09-30T08:11:48.000Z
# -*- coding: utf-8 -*- """ Created on Mon Oct 23 13:42:05 2017 @author: harrymunro """ # Insurance simulation # This calculates a written risk that causes a number of losses over a specified period # Excess money is invested in the stock market at a 7% return # The value of the account is charted out over ...
25.342593
89
0.714286
365
2,737
5.257534
0.380822
0.058364
0.046899
0.062533
0.238666
0.226159
0.199583
0.147473
0
0
0
0.028764
0.187066
2,737
107
90
25.579439
0.833708
0.168798
0
0.266667
0
0
0.022477
0
0
0
0
0
0
0
null
null
0.013333
0.053333
null
null
0.066667
0
0
0
null
0
0
0
0
0
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
892e8d263919764583c81aeaca1b2073d12b6771
4,768
py
Python
recipes/Python/577380_Dragon_Lexical_Analyzer/recipe-577380.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577380_Dragon_Lexical_Analyzer/recipe-577380.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577380_Dragon_Lexical_Analyzer/recipe-577380.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
import sys import os EOF = "" def get_num(): digits = [] t = getchar() while t.isdigit(): digits.append(t) t = getchar() if t != EOF: ungetc(t) num = int("".join(digits)) return num def get_word(): chars = [] t = getchar() while t.isalnum(): chars....
24.203046
91
0.441485
536
4,768
3.845149
0.195896
0.062106
0.029112
0.016012
0.16885
0.134886
0.07278
0.07278
0.07278
0.045609
0
0.01283
0.427852
4,768
196
92
24.326531
0.742669
0.014891
0
0.25
0
0
0.039847
0
0
0
0
0
0
0
null
null
0.011905
0.017857
null
null
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
89383f96ea8d283f8fbcb8dd1750255d4bdd38ef
14,323
py
Python
parkstay/migrations/0001_initial.py
xzzy/parkstay_bs
38e6332948bf820df16ef9eebb753982e0fa4cf9
[ "Apache-2.0" ]
2
2021-12-29T03:09:38.000Z
2022-01-24T02:03:29.000Z
parkstay/migrations/0001_initial.py
xzzy/parkstay_bs
38e6332948bf820df16ef9eebb753982e0fa4cf9
[ "Apache-2.0" ]
15
2020-02-03T07:47:49.000Z
2022-03-12T00:11:58.000Z
parkstay/migrations/0001_initial.py
xzzy/parkstay_bs
38e6332948bf820df16ef9eebb753982e0fa4cf9
[ "Apache-2.0" ]
3
2020-01-20T02:31:54.000Z
2021-12-29T03:09:39.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.10 on 2016-10-25 08:07 from __future__ import unicode_literals import datetime import django.contrib.gis.db.models.fields import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import taggit.managers clas...
51.894928
352
0.584235
1,401
14,323
5.853676
0.174161
0.024387
0.025607
0.040239
0.598464
0.540666
0.449335
0.426289
0.41434
0.41434
0
0.016476
0.266913
14,323
275
353
52.083636
0.764571
0.004748
0
0.558052
1
0
0.162784
0.007788
0
0
0
0
0
1
0
false
0
0.026217
0
0.041199
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
8940d41c9007576fc871dce2dd6a0d561b424caf
1,638
py
Python
Part_2_intermediate/mod_3/lesson_8/ex_2_mixin/estudent/department.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_2_intermediate/mod_3/lesson_8/ex_2_mixin/estudent/department.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
Part_2_intermediate/mod_3/lesson_8/ex_2_mixin/estudent/department.py
Mikma03/InfoShareacademy_Python_Courses
3df1008c8c92831bebf1625f960f25b39d6987e6
[ "MIT" ]
null
null
null
import random class Department: def __init__(self, letter_identifier, year): self.letter_identifier = letter_identifier self.year = year self.students = [] def assign_student(self, student): self.students.append(student) return True def __str__(self): ret...
26.852459
93
0.681319
175
1,638
6.148571
0.365714
0.066915
0.055762
0.055762
0.201673
0.126394
0
0
0
0
0
0.007194
0.236264
1,638
60
94
27.3
0.852918
0
0
0.325
0
0
0.104459
0.021991
0
0
0
0
0
1
0.15
false
0.05
0.025
0.025
0.55
0.075
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
89457416e0c0360a4dfd2e3e5a76e55e302c828b
370
py
Python
postmon_correios/__init__.py
GabrielaMoreira/correios.postmon.com.br
3522ce6d3f8d0e59f6c1c65184e8a1dab68c550a
[ "MIT" ]
43
2017-05-06T18:46:08.000Z
2021-07-16T00:54:55.000Z
postmon_correios/__init__.py
GabrielaMoreira/correios.postmon.com.br
3522ce6d3f8d0e59f6c1c65184e8a1dab68c550a
[ "MIT" ]
10
2017-05-05T17:16:08.000Z
2020-08-16T02:16:33.000Z
postmon_correios/__init__.py
GabrielaMoreira/correios.postmon.com.br
3522ce6d3f8d0e59f6c1c65184e8a1dab68c550a
[ "MIT" ]
10
2018-02-06T18:04:28.000Z
2021-04-07T00:31:35.000Z
# coding: utf-8 from __future__ import absolute_import from . import correios, rastreamento, webservice, websro def init_app(app): correios_client = correios.Client() correios_client.init_app(app) webservice.init_app(app, url_prefix='/webservice') websro.init_app(app, url_prefix='/websro') rastr...
26.428571
58
0.754054
48
370
5.5
0.354167
0.132576
0.189394
0.147727
0.215909
0
0
0
0
0
0
0.003125
0.135135
370
13
59
28.461538
0.821875
0.035135
0
0
0
0
0.087324
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
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
8947666ba2113656a4a50ac09bbf04943dbcb06b
4,996
py
Python
sdk/python/pulumi_alicloud/polardb/_inputs.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/polardb/_inputs.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/polardb/_inputs.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
49.96
423
0.689752
719
4,996
4.649513
0.207232
0.078971
0.075381
0.047861
0.76548
0.658989
0.607837
0.556087
0.491774
0.46545
0
0.019513
0.210168
4,996
99
424
50.464646
0.827674
0.448959
0
0.174603
1
0
0.097561
0.037729
0
0
0
0
0
1
0.190476
false
0
0.079365
0.031746
0.380952
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
89590dc122e49841e7df1a76cd679b33def77e16
464
py
Python
src/adafruit-circuitpython-bundle-4.x-mpy-20190713/examples/ccs811_simpletest.py
mbaaba/solar_panel
42059d8c61320494ad1298065dbc50cd9b3bd51e
[ "MIT" ]
1
2020-04-13T16:10:53.000Z
2020-04-13T16:10:53.000Z
infra/libs-400rc2-20190512/examples/ccs811_simpletest.py
jadudm/feather-isa
b7419e6698c3f64be4d8122656eb8124631ca859
[ "MIT" ]
null
null
null
infra/libs-400rc2-20190512/examples/ccs811_simpletest.py
jadudm/feather-isa
b7419e6698c3f64be4d8122656eb8124631ca859
[ "MIT" ]
null
null
null
import time import board import busio import adafruit_ccs811 i2c = busio.I2C(board.SCL, board.SDA) ccs811 = adafruit_ccs811.CCS811(i2c) # Wait for the sensor to be ready and calibrate the thermistor while not ccs811.data_ready: pass temp = ccs811.temperature ccs811.temp_offset = temp - 25.0 while T...
24.421053
65
0.6875
67
464
4.701493
0.567164
0.088889
0
0
0
0
0
0
0
0
0
0.108992
0.209052
464
18
66
25.777778
0.749319
0.12931
0
0
0
0
0.096354
0
0
0
0
0
0
1
0
false
0.071429
0.285714
0
0.285714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
895bab39f7e5afeed604e5ce30081274ef2a6e3c
519
py
Python
widgets/Coins.py
lemariva/E_paper_widgets
49313cb6734d980bd076385cc51f371797cd7261
[ "Apache-2.0" ]
26
2019-08-22T05:16:43.000Z
2021-12-05T20:37:29.000Z
widgets/Coins.py
lemariva/E_paper_widgets
49313cb6734d980bd076385cc51f371797cd7261
[ "Apache-2.0" ]
null
null
null
widgets/Coins.py
lemariva/E_paper_widgets
49313cb6734d980bd076385cc51f371797cd7261
[ "Apache-2.0" ]
3
2019-12-10T12:01:41.000Z
2021-02-11T13:59:35.000Z
import sys import os from coinbase.wallet.client import Client sys.path.insert(0, os.path.realpath('./')) from display.image_processing import UIProc try: from urllib.request import urlopen except Exception as e: print("Something didn't work right, maybe you're offline?"+e.reason) class CoinWidget: ...
21.625
72
0.682081
73
519
4.712329
0.657534
0.069767
0.05814
0
0
0
0
0
0
0
0
0.002469
0.219653
519
24
73
21.625
0.846914
0
0
0
0
0
0.134615
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.5
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
895f2bb8ca78de523a7786f78182d3f9d7ec1816
503
py
Python
examples/cifar10/processor.py
j-o-d-o/MLPipe-Trainer
b686dc4d28e3d4cd2c6581487f8a2491a6d7cb60
[ "MIT" ]
null
null
null
examples/cifar10/processor.py
j-o-d-o/MLPipe-Trainer
b686dc4d28e3d4cd2c6581487f8a2491a6d7cb60
[ "MIT" ]
null
null
null
examples/cifar10/processor.py
j-o-d-o/MLPipe-Trainer
b686dc4d28e3d4cd2c6581487f8a2491a6d7cb60
[ "MIT" ]
null
null
null
import numpy as np import cv2 from mlpipe.processors.i_processor import IPreProcessor class PreProcessData(IPreProcessor): def process(self, raw_data, input_data, ground_truth, piped_params=None): ground_truth = np.zeros(10) ground_truth[raw_data["label"]] = 1.0 png_binary = raw_data["img...
31.4375
77
0.719682
71
503
4.830986
0.535211
0.081633
0.069971
0.093294
0.221574
0.221574
0.221574
0.221574
0
0
0
0.019656
0.190855
503
15
78
33.533333
0.823096
0
0
0
0
0
0.015905
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
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
8962cf134f4ebde3563995a05de0740cfd8fca11
1,397
py
Python
src/lambda/user/signup/signup.py
VasudhaJha/PasswordManager
7ecd662ec06f08abb342c6f6e3d889149e5ee417
[ "MIT" ]
null
null
null
src/lambda/user/signup/signup.py
VasudhaJha/PasswordManager
7ecd662ec06f08abb342c6f6e3d889149e5ee417
[ "MIT" ]
null
null
null
src/lambda/user/signup/signup.py
VasudhaJha/PasswordManager
7ecd662ec06f08abb342c6f6e3d889149e5ee417
[ "MIT" ]
null
null
null
import os import json import boto3 import bcrypt dynamodb = boto3.resource('dynamodb') user_table = dynamodb.Table(os.environ.get('USER_TABLE_NAME')) user_table_partition_key = os.environ.get('USER_TABLE_KEY') cred_table = dynamodb.Table(os.environ.get('CRED_TABLE_NAME')) cred_table_partition_key = os.environ.get('CRE...
27.392157
62
0.670007
172
1,397
5.098837
0.273256
0.061574
0.068415
0.077537
0.241733
0.200684
0.066135
0
0
0
0
0.006387
0.215462
1,397
50
63
27.94
0.793796
0
0
0.046512
0
0
0.136722
0
0
0
0
0
0
1
0.093023
false
0.162791
0.093023
0
0.232558
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
89648eed1d7c1bbf2b468bc1b095023f1bcbb688
262
py
Python
notes/02 - fast.py
codeuniversity/automated-testing-lu-minimal-example
f7e095a269b7c0292c686bc730fd3a586b62140b
[ "MIT" ]
null
null
null
notes/02 - fast.py
codeuniversity/automated-testing-lu-minimal-example
f7e095a269b7c0292c686bc730fd3a586b62140b
[ "MIT" ]
null
null
null
notes/02 - fast.py
codeuniversity/automated-testing-lu-minimal-example
f7e095a269b7c0292c686bc730fd3a586b62140b
[ "MIT" ]
null
null
null
def fib(n): '''Takes in a number n, and returns the nth fibonacci number, starting with: 1, 1, 2, 3, 5,...''' if n<=1: return n else: f = [0, 1] for i in range(2,n+1): f.append(f[i-1] + f[i-2]) return f[n]
26.2
101
0.469466
48
262
2.5625
0.5625
0.03252
0
0
0
0
0
0
0
0
0
0.071429
0.358779
262
9
102
29.111111
0.660714
0.347328
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
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
8965627e4c44dc853d5baac25b0b91105c4e506c
528
py
Python
scripts/field/angelic_tuto8.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
54
2019-04-16T23:24:48.000Z
2021-12-18T11:41:50.000Z
scripts/field/angelic_tuto8.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
3
2019-05-19T15:19:41.000Z
2020-04-27T16:29:16.000Z
scripts/field/angelic_tuto8.py
G00dBye/YYMS
1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb
[ "MIT" ]
49
2020-11-25T23:29:16.000Z
2022-03-26T16:20:24.000Z
# Created by MechAviv # Map ID :: 940011080 # Western Region of Pantheon : Heliseum Hideout # [SET_DRESS_CHANGED] [00 00 ] sm.curNodeEventEnd(True) sm.setTemporarySkillSet(0) sm.setInGameDirectionMode(True, True, False, False) sm.forcedInput(0) sm.forcedInput(2) sm.sendDelay(60) sm.forcedInput(0) sm.setSpeakerID(0) ...
20.307692
89
0.765152
77
528
5.220779
0.636364
0.029851
0.069652
0.079602
0
0
0
0
0
0
0
0.053763
0.119318
528
25
90
21.12
0.810753
0.215909
0
0.285714
0
0
0.180929
0
0
0
0
0
0
1
0
true
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
0
0
0
0
1
0
0
0
0
0
0
1