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
36188b505179461858b444aed5c066b26a6380d8
921
py
Python
pyglidein/startd_cron_scripts/cvmfs_test.py
xs5871/pyglidein
9eea3d11c77284f9d8796235a2cf066fec1bcccf
[ "MIT" ]
6
2017-05-01T20:17:37.000Z
2020-02-06T14:15:10.000Z
pyglidein/startd_cron_scripts/cvmfs_test.py
xs5871/pyglidein
9eea3d11c77284f9d8796235a2cf066fec1bcccf
[ "MIT" ]
104
2016-05-19T16:20:58.000Z
2022-03-09T19:14:15.000Z
pyglidein/startd_cron_scripts/cvmfs_test.py
xs5871/pyglidein
9eea3d11c77284f9d8796235a2cf066fec1bcccf
[ "MIT" ]
23
2016-06-11T14:30:50.000Z
2022-03-15T08:53:02.000Z
#!/usr/bin/env python import os from optparse import OptionParser from subprocess import Popen, PIPE def main(): usage = "usage: %prog [options] FILE MD5SUM" parser = OptionParser(usage) (options, args) = parser.parse_args() if len(args) != 2: raise Exception('Number Of Args != 2') cvm...
23.615385
48
0.59392
112
921
4.696429
0.517857
0.079848
0.074144
0.102662
0
0
0
0
0
0
0
0.014019
0.302932
921
38
49
24.236842
0.805296
0.059718
0
0.148148
0
0
0.175926
0.068287
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.148148
0
0
0
null
0
0
0
0
0
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
361bb1d7ebb621f4ff2a453b7a94d695fee29ab9
499
py
Python
src/dynamic_programming/boj_2579.py
joeyworld/algo
03e733f8f0dafe8b5cfe85eb9f7d72f370a67c61
[ "MIT" ]
1
2019-02-11T09:18:14.000Z
2019-02-11T09:18:14.000Z
src/dynamic_programming/boj_2579.py
gyukebox/algo
03e733f8f0dafe8b5cfe85eb9f7d72f370a67c61
[ "MIT" ]
null
null
null
src/dynamic_programming/boj_2579.py
gyukebox/algo
03e733f8f0dafe8b5cfe85eb9f7d72f370a67c61
[ "MIT" ]
null
null
null
previous_scores = [0] * 301 def solve(num_stairs, points): if num_stairs < 3: print(previous_scores[num_stairs]) return else: return points[num_stairs - 1] + solve(num_stairs - 1) if __name__ == '__main__': num_stairs = int(input()) points = [int(input()) for _ in range(num_s...
21.695652
61
0.619238
67
499
4.283582
0.343284
0.28223
0.146341
0.139373
0
0
0
0
0
0
0
0.034946
0.254509
499
22
62
22.681818
0.736559
0
0
0
0
0
0.016032
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.1875
0.1875
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
36211a616f00504dc269c062f9cdd820d9b11bc6
403
py
Python
formfactory/migrations/0004_remove_form_post_to.py
AltusBarry/django-formfactory
8da378d0952bfd0eb9a08d49b17b5b95ee7e607d
[ "BSD-3-Clause" ]
null
null
null
formfactory/migrations/0004_remove_form_post_to.py
AltusBarry/django-formfactory
8da378d0952bfd0eb9a08d49b17b5b95ee7e607d
[ "BSD-3-Clause" ]
null
null
null
formfactory/migrations/0004_remove_form_post_to.py
AltusBarry/django-formfactory
8da378d0952bfd0eb9a08d49b17b5b95ee7e607d
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.12 on 2017-02-02 20:14 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('formfactory', '0003_formfieldgroup_show_title'), ] operations = [ migrations.Remove...
20.15
58
0.622829
44
403
5.477273
0.818182
0
0
0
0
0
0
0
0
0
0
0.070707
0.263027
403
19
59
21.210526
0.740741
0.168734
0
0
1
0
0.156627
0.090361
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
3624530679c824d5efd11535cf513dbae840ec20
15,401
py
Python
self/test3.py
Ziyang-Fan/ryu
5f784af125424186ee8eea281e125c6db1376149
[ "Apache-2.0" ]
null
null
null
self/test3.py
Ziyang-Fan/ryu
5f784af125424186ee8eea281e125c6db1376149
[ "Apache-2.0" ]
null
null
null
self/test3.py
Ziyang-Fan/ryu
5f784af125424186ee8eea281e125c6db1376149
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2016 Nippon Telegraph and Telephone Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
38.406484
80
0.545809
1,888
15,401
4.25053
0.17214
0.021184
0.01919
0.01271
0.283115
0.176449
0.133583
0.07676
0.06081
0.06081
0
0.025495
0.363288
15,401
401
81
38.406484
0.792882
0.132069
0
0.141844
0
0
0.008099
0
0
0
0.000926
0
0
0
null
null
0.003546
0.053191
null
null
0.010638
0
0
0
null
0
0
0
0
0
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
36282532dc31dd56647e8630d15406a7e4a07961
680
py
Python
stere/fields/__init__.py
thomasmost/stere
f10ae1a40269c1642b9da49df06936fafb9b4a5b
[ "MIT" ]
null
null
null
stere/fields/__init__.py
thomasmost/stere
f10ae1a40269c1642b9da49df06936fafb9b4a5b
[ "MIT" ]
null
null
null
stere/fields/__init__.py
thomasmost/stere
f10ae1a40269c1642b9da49df06936fafb9b4a5b
[ "MIT" ]
null
null
null
from stere import Stere from .field import Field from .generic.root import Root from .generic.text import Text __all__ = [ 'Field', 'Root', 'Text', ] if Stere.library == 'appium': from .appium.button import Button from .appium.input import Input __all__ += [ 'Button', 'Input'...
18.888889
43
0.611765
74
680
5.459459
0.243243
0.148515
0.089109
0.108911
0
0
0
0
0
0
0
0
0.282353
680
35
44
19.428571
0.827869
0
0
0.206897
0
0
0.101471
0
0
0
0
0
0
1
0
false
0
0.37931
0
0.37931
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
36290dcf29d6483be5a37fa476c21f516d10ec8d
2,421
py
Python
jb_test/settings.py
Four-Velocity/jb_test
7ab9734c07b48595d1670a82cf87cdaef8cbdb3a
[ "Unlicense" ]
1
2021-04-13T18:41:36.000Z
2021-04-13T18:41:36.000Z
jb_test/settings.py
Four-Velocity/jb_test
7ab9734c07b48595d1670a82cf87cdaef8cbdb3a
[ "Unlicense" ]
6
2021-03-19T04:16:39.000Z
2021-09-08T02:08:29.000Z
jb_test/settings.py
Four-Velocity/jb_test
7ab9734c07b48595d1670a82cf87cdaef8cbdb3a
[ "Unlicense" ]
null
null
null
import environ root = environ.Path(__file__) - 2 env = environ.Env() environ.Env.read_env() BASE_DIR = root() SECRET_KEY = env.str('SECRET_KEY') DEBUG = env.bool('DEBUG', default=False) TEMPLATE_DEBUG = DEBUG DATABASES = {'default': env.db('DATABASE_URL')} CACHES = {'default': env.cache('REDIS_CACHE_URL')} STATI...
23.735294
91
0.676993
243
2,421
6.539095
0.415638
0.122719
0.07489
0.052863
0.098175
0.098175
0
0
0
0
0
0.003029
0.181743
2,421
101
92
23.970297
0.799091
0
0
0
0
0
0.517142
0.391161
0
0
0
0
0
1
0
false
0.064935
0.012987
0
0.012987
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
362f166f879a4be06a89de22d81993eb8af0c9f6
499
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/base/paginator.py
cuongnb14/cookiecutter-flask-restful
d2da71f192db626370ae702c358eadaf1bbc905a
[ "MIT" ]
2
2017-10-24T16:01:57.000Z
2017-11-15T18:34:41.000Z
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/base/paginator.py
cuongnb14/cookiecutter-flask-restful
d2da71f192db626370ae702c358eadaf1bbc905a
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/base/paginator.py
cuongnb14/cookiecutter-flask-restful
d2da71f192db626370ae702c358eadaf1bbc905a
[ "MIT" ]
null
null
null
class Paginator: """Class hold Pagination for sqlalchemy query""" def __init__(self, sqlalchemy_query, offset, limit): """ :param sqlalchemy_query: sqlalchemy query :param offset: int offset of query :param limit: int limit of query """ self.offset = offset if of...
35.642857
76
0.647295
61
499
5.163934
0.360656
0.285714
0
0
0
0
0
0
0
0
0
0.008174
0.264529
499
13
77
38.384615
0.850136
0.304609
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
36325061733aafb96e8bd649bf3abc697e257cb6
5,048
py
Python
tests/python/ViewTransformTest.py
mjtitchener-fn/OpenColorIO
00b5362442b9fe954c4b1161fe0cec621fcf1915
[ "BSD-3-Clause" ]
628
2018-08-11T02:18:36.000Z
2022-03-31T15:05:23.000Z
tests/python/ViewTransformTest.py
mjtitchener-fn/OpenColorIO
00b5362442b9fe954c4b1161fe0cec621fcf1915
[ "BSD-3-Clause" ]
655
2019-04-16T15:15:31.000Z
2022-03-31T18:05:52.000Z
tests/python/ViewTransformTest.py
mjtitchener-fn/OpenColorIO
00b5362442b9fe954c4b1161fe0cec621fcf1915
[ "BSD-3-Clause" ]
181
2018-12-22T15:39:52.000Z
2022-03-22T09:52:27.000Z
# SPDX-License-Identifier: BSD-3-Clause # Copyright Contributors to the OpenColorIO Project. import unittest, os, sys import PyOpenColorIO as OCIO class ViewTransformTest(unittest.TestCase): def test_default_contructor(self): """ Test the constructor. """ for ref_type in OCIO.Refe...
36.316547
91
0.650555
517
5,048
6.235977
0.17795
0.167494
0.110732
0.055831
0.584677
0.452854
0.336228
0.301489
0.294975
0.234801
0
0.008913
0.222068
5,048
138
92
36.57971
0.81207
0.067353
0
0.420455
0
0
0.040736
0
0
0
0
0
0.488636
1
0.068182
false
0
0.022727
0
0.102273
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
363e2144e32dd3a045ba8df8da7ca34589c0611e
1,560
py
Python
thelma/resources/tubetransfer.py
fogathmann/TheLMA
ac330a0005da4fea2f1387da9ff9938611ad1481
[ "MIT" ]
1
2020-07-12T22:47:58.000Z
2020-07-12T22:47:58.000Z
thelma/resources/tubetransfer.py
papagr/TheLMA
d2dc7a478ee5d24ccf3cc680888e712d482321d0
[ "MIT" ]
null
null
null
thelma/resources/tubetransfer.py
papagr/TheLMA
d2dc7a478ee5d24ccf3cc680888e712d482321d0
[ "MIT" ]
1
2020-07-12T22:40:36.000Z
2020-07-12T22:40:36.000Z
""" This file is part of the TheLMA (THe Laboratory Management Application) project. See LICENSE.txt for licensing, CONTRIBUTORS.txt for contributor information. Tube transfer related resources """ from everest.resources.base import Member from everest.resources.descriptors import collection_attribute from everest.res...
33.191489
80
0.764744
175
1,560
6.617143
0.36
0.090674
0.086356
0.112263
0.160622
0.096718
0.096718
0.096718
0.096718
0.096718
0
0
0.15641
1,560
46
81
33.913043
0.879939
0.121795
0
0.25
0
0
0.132159
0.038179
0
0
0
0
0
1
0.0625
false
0
0.28125
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
363e326fce22e4cae2af5631f6dc071c1a75d48a
1,302
py
Python
acr_module/acr/utils.py
pyalex/chameleon_recsys
d0c2ed04607cba075fc1f6bc8ddf670fb59a5364
[ "MIT" ]
1
2019-03-07T15:39:10.000Z
2019-03-07T15:39:10.000Z
acr_module/acr/utils.py
pyalex/chameleon_recsys
d0c2ed04607cba075fc1f6bc8ddf670fb59a5364
[ "MIT" ]
null
null
null
acr_module/acr/utils.py
pyalex/chameleon_recsys
d0c2ed04607cba075fc1f6bc8ddf670fb59a5364
[ "MIT" ]
null
null
null
import tensorflow as tf import pickle from time import time def serialize(filename, obj): #with open(filename, 'wb') as handle: with tf.gfile.Open(filename, 'wb') as handle: pickle.dump(obj, handle)#, protocol=pickle.HIGHEST_PROTOCOL) def deserialize(filename): #with open(filename, 'rb') a...
31
72
0.629032
194
1,302
4.128866
0.469072
0.059925
0.03995
0.03995
0.137328
0.077403
0.077403
0
0
0
0
0.01005
0.235791
1,302
42
73
31
0.794975
0.259601
0
0
0
0
0.035979
0
0
0
0
0
0
1
0.24
false
0
0.12
0.04
0.48
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
36446ef2ff5e48d800f78a62c5f5bf374227c898
927
py
Python
flask/api/utils.py
Nekotoxin/casdoor-python-vue-sdk-example
8d18dfd7e679ca13fff37854628e59eaf9843ecd
[ "Apache-2.0" ]
null
null
null
flask/api/utils.py
Nekotoxin/casdoor-python-vue-sdk-example
8d18dfd7e679ca13fff37854628e59eaf9843ecd
[ "Apache-2.0" ]
3
2022-03-20T05:29:40.000Z
2022-03-22T10:38:31.000Z
flask/api/utils.py
Nekotoxin/casdoor-python-vue-sdk-example
8d18dfd7e679ca13fff37854628e59eaf9843ecd
[ "Apache-2.0" ]
1
2022-03-20T05:00:02.000Z
2022-03-20T05:00:02.000Z
# Copyright 2022 The Casdoor Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
31.965517
74
0.710895
131
927
5.022901
0.671756
0.091185
0.039514
0.048632
0
0
0
0
0
0
0
0.01087
0.206041
927
28
75
33.107143
0.883152
0.624595
0
0
0
0
0.065868
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.7
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
3647e86f276cac1e45748a5de28ba6c9298acdae
274
py
Python
examples/forelse.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
null
null
null
examples/forelse.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
null
null
null
examples/forelse.py
quynhanh-ngx/pytago
de976ad8d85702ae665e97978bc4a75d282c857f
[ "MIT" ]
null
null
null
def main(): for x in range(4): if x == 5: break else: print("Well of course that didn't happen") for x in range(7): if x == 5: break else: print("H-hey wait!") if __name__ == '__main__': main()
15.222222
50
0.452555
38
274
3.052632
0.631579
0.068966
0.103448
0.189655
0.310345
0.310345
0
0
0
0
0
0.025157
0.419708
274
17
51
16.117647
0.704403
0
0
0.461538
0
0
0.189781
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
0.153846
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
364a3ca5cc14cab5f35d123ab781d3dfb66053f3
1,734
py
Python
tests/test_standalone.py
doub1emint/MPh
439fe6c056b6b18d748e32fb4fd2de1e26e8b6c1
[ "MIT" ]
63
2021-04-21T18:07:10.000Z
2022-03-29T21:10:38.000Z
tests/test_standalone.py
doub1emint/MPh
439fe6c056b6b18d748e32fb4fd2de1e26e8b6c1
[ "MIT" ]
31
2020-07-16T21:28:11.000Z
2021-04-13T16:40:31.000Z
tests/test_standalone.py
doub1emint/MPh
439fe6c056b6b18d748e32fb4fd2de1e26e8b6c1
[ "MIT" ]
20
2021-04-16T13:46:12.000Z
2022-03-04T13:51:07.000Z
"""Tests the `session` module in stand-alone mode.""" ######################################## # Dependencies # ######################################## import parent # noqa F401 import mph from fixtures import logging_disabled from pytest import raises from platform import system fr...
29.896552
79
0.487889
162
1,734
5.154321
0.475309
0.038323
0.028743
0.045509
0.057485
0
0
0
0
0
0
0.009646
0.282584
1,734
57
80
30.421053
0.660772
0.051903
0
0.105263
0
0
0.107827
0.019968
0
0
0
0
0.184211
0
null
null
0
0.184211
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
36514674473ca748fd7a4aa11e33584c0ef74e91
2,549
py
Python
gdb/.gdbinit.d/sourcefile.py
Bellaktris/.files
e1ec6964964ee8a901ee3c30d3764d8e342f1f48
[ "MIT" ]
null
null
null
gdb/.gdbinit.d/sourcefile.py
Bellaktris/.files
e1ec6964964ee8a901ee3c30d3764d8e342f1f48
[ "MIT" ]
null
null
null
gdb/.gdbinit.d/sourcefile.py
Bellaktris/.files
e1ec6964964ee8a901ee3c30d3764d8e342f1f48
[ "MIT" ]
null
null
null
class Sourcefile(Dashboard.Module): """Show the program source code, if available.""" def __init__(self): self.file_name = None def label(self): return 'Sourcefile' def lines(self, term_width, style_changed): if self.output_path is None: return [] # skip i...
30.345238
78
0.534719
323
2,549
4.077399
0.266254
0.144267
0.191344
0.060744
0.388003
0.328018
0.274867
0.264237
0.264237
0.15186
0
0.00298
0.341703
2,549
83
79
30.710843
0.781883
0.070616
0
0.339286
0
0
0.063109
0
0
0
0
0
0
1
0.071429
false
0
0
0.035714
0.214286
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
3651f4df57d9c72040bd8571f96e805090475eb0
271
py
Python
bubblesort.py
leonard04/pythonlearn
410f79cf49f4d7d13e664cf8c070dc1e96d033e8
[ "MIT" ]
null
null
null
bubblesort.py
leonard04/pythonlearn
410f79cf49f4d7d13e664cf8c070dc1e96d033e8
[ "MIT" ]
null
null
null
bubblesort.py
leonard04/pythonlearn
410f79cf49f4d7d13e664cf8c070dc1e96d033e8
[ "MIT" ]
null
null
null
#!/usr/bin/python def BubbleSort(val): for x in range(len(val)-1,0,-1): for i in range(x): if val[i]>val[i+1]: temp = val[i] val[i] = val[i+1] val[i+1] = temp angka = [66,89,15,222,90,17,111,84,12,0,47] BubbleSort(angka) print "hasilnya:" print(angka)
19.357143
43
0.601476
56
271
2.910714
0.517857
0.147239
0.128834
0.147239
0.110429
0
0
0
0
0
0
0.130045
0.177122
271
14
44
19.357143
0.600897
0.059041
0
0
0
0
0.035294
0
0
0
0
0
0
0
null
null
0
0
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
36541c8236c6ec0870899480d03fb757218a4bb0
630
py
Python
Apps/share/horarioMedico/migrations/0001_initial.py
Jorge-DevOps/API_HealthTech
795ebc1053bf72f5a9e05a83cd731029395d1950
[ "MIT" ]
null
null
null
Apps/share/horarioMedico/migrations/0001_initial.py
Jorge-DevOps/API_HealthTech
795ebc1053bf72f5a9e05a83cd731029395d1950
[ "MIT" ]
1
2021-12-02T03:08:00.000Z
2021-12-02T03:08:00.000Z
Apps/share/horarioMedico/migrations/0001_initial.py
Alejandro-prog/API-HealthTech
23a2ae68a99f8465cd6baf554a2112cc1ca8fbbc
[ "MIT" ]
1
2021-10-21T14:17:29.000Z
2021-10-21T14:17:29.000Z
# Generated by Django 3.2.8 on 2021-10-22 20:06 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='horarioMedico', fields=[ ('id_horario_medic...
23.333333
91
0.522222
56
630
5.75
0.75
0.080745
0
0
0
0
0
0
0
0
0
0.037129
0.35873
630
26
92
24.230769
0.759901
0.071429
0
0
1
0
0.133791
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3656401762ba27450d8b07ba05669a0c022109ac
832
py
Python
Programas_Capitulo_05/Cap05_pagina_116.py
rojassergio/Aprendiendo-a-programar-en-Python-con-mi-computador
ee6fe3a7182033633a45c40e2bb8b912652bab9d
[ "MIT" ]
17
2016-04-15T16:44:00.000Z
2022-01-27T23:47:30.000Z
Programas_Capitulo_05/Cap05_pagina_116.py
rojassergio/Aprendiendo-a-programar-en-Python-con-mi-computador
ee6fe3a7182033633a45c40e2bb8b912652bab9d
[ "MIT" ]
null
null
null
Programas_Capitulo_05/Cap05_pagina_116.py
rojassergio/Aprendiendo-a-programar-en-Python-con-mi-computador
ee6fe3a7182033633a45c40e2bb8b912652bab9d
[ "MIT" ]
10
2016-04-28T08:07:08.000Z
2020-04-12T23:05:05.000Z
''' @author: Sergio Rojas @contact: rr.sergio@gmail.com -------------------------- Contenido bajo Atribución-NoComercial-CompartirIgual 3.0 Venezuela (CC BY-NC-SA 3.0 VE) http://creativecommons.org/licenses/by-nc-sa/3.0/ve/ Creado en abril 21, 2016 ''' def f(x): if (type(x)==int or type(x)==float or type(x)==co...
16
73
0.602163
146
832
3.431507
0.472603
0.023952
0.06986
0.027944
0.03992
0.03992
0
0
0
0
0
0.049491
0.174279
832
51
74
16.313725
0.679767
0.296875
0
0
0
0
0.22357
0
0
0
0
0
0
1
0.038462
false
0
0
0
0.076923
0.615385
0
0
0
null
0
0
0
0
0
0
0
0
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
36577242e28f6c3458a068f146e31a8d874e22b7
626
py
Python
test/tests/nonzero_patching.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:28:45.000Z
2020-02-06T14:28:45.000Z
test/tests/nonzero_patching.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
null
null
null
test/tests/nonzero_patching.py
aisk/pyston
ac69cfef0621dbc8901175e84fa2b5cb5781a646
[ "BSD-2-Clause", "Apache-2.0" ]
1
2020-02-06T14:29:00.000Z
2020-02-06T14:29:00.000Z
# run_args: -n # statcheck: noninit_count('slowpath_nonzero') <= 25 def f(): for i in xrange(-10, 10): print i, if i: print "is truth-y" else: print "is false-y" f() num_nonzero = 0 num_len = 0 class C(object): def mynonzero(self): global num_nonzero num_nonzer...
16.473684
52
0.597444
105
626
3.304762
0.428571
0.043228
0.034582
0
0
0
0
0
0
0
0
0.060268
0.284345
626
37
53
16.918919
0.714286
0.100639
0
0.060606
0
0
0.035714
0
0
0
0
0
0
0
null
null
0.030303
0
null
null
0.121212
0
0
0
null
0
0
0
0
0
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
365774e7796f99c2ff8d5fe8d03e6dd619dffdc9
1,847
py
Python
ChasingTrainFramework_GeneralOneClassDetection/loss_layer_farm/mean_squared_error_with_ohem_for_one_class_detection.py
dvt0101/A-Light-and-Fast-Face-Detector-for-Edge-Devices
3cb12d0f7a4f4f0357a265ef21fb61c897ff2395
[ "MIT" ]
1,172
2019-08-09T09:59:15.000Z
2020-12-14T03:20:08.000Z
ChasingTrainFramework_GeneralOneClassDetection/loss_layer_farm/mean_squared_error_with_ohem_for_one_class_detection.py
vicwer/A-Light-and-Fast-Face-Detector-for-Edge-Devices
cea550ae7999394da9c02ec15cb58b44c154e306
[ "MIT" ]
95
2019-08-19T01:15:49.000Z
2020-12-15T05:34:39.000Z
ChasingTrainFramework_GeneralOneClassDetection/loss_layer_farm/mean_squared_error_with_ohem_for_one_class_detection.py
vicwer/A-Light-and-Fast-Face-Detector-for-Edge-Devices
cea550ae7999394da9c02ec15cb58b44c154e306
[ "MIT" ]
317
2019-08-11T05:52:06.000Z
2020-12-14T13:34:53.000Z
# -*- coding: utf-8 -*- ''' squared error with online hard example mining ''' import mxnet as mx class mean_squared_error_with_ohem_for_one_class_detection(mx.operator.CustomOp): def __init__(self, ohem_ratio): super(mean_squared_error_with_ohem_for_one_class_detection, self).__init__() self.ohem_...
34.203704
108
0.687602
270
1,847
4.277778
0.277778
0.062338
0.09697
0.103896
0.337662
0.30303
0.25974
0.25974
0.25974
0.221645
0
0.012278
0.20628
1,847
53
109
34.849057
0.77558
0.043855
0
0.055556
0
0
0.038133
0.029596
0
0
0
0
0
1
0.222222
false
0
0.027778
0.083333
0.416667
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
3658736511e635d9212cebea0cbca248b920da5b
2,995
py
Python
cassandra-gateway-server/src/tools/CassandraClient.py
emeric254/grafana-cassandra-datasource
c0e81b3b5f8909c32c01377b174250608d9c95a7
[ "MIT" ]
2
2020-01-13T14:39:32.000Z
2020-02-02T13:20:45.000Z
cassandra-gateway-server/src/tools/CassandraClient.py
emeric254/grafana-cassandra-datasource
c0e81b3b5f8909c32c01377b174250608d9c95a7
[ "MIT" ]
null
null
null
cassandra-gateway-server/src/tools/CassandraClient.py
emeric254/grafana-cassandra-datasource
c0e81b3b5f8909c32c01377b174250608d9c95a7
[ "MIT" ]
1
2020-01-17T11:02:06.000Z
2020-01-17T11:02:06.000Z
# -*- coding: utf-8 -*- import os import ssl import logging import configparser from cassandra.cluster import Cluster from cassandra.auth import PlainTextAuthProvider from cassandra.policies import DCAwareRoundRobinPolicy logger = logging.getLogger(__name__) # load CASSANDRA settings config = configparser.ConfigPars...
29.362745
94
0.706845
330
2,995
6.172727
0.29697
0.05891
0.086402
0.035346
0.086402
0
0
0
0
0
0
0.002114
0.210351
2,995
101
95
29.653465
0.859197
0.124541
0
0.083333
0
0
0.081113
0
0
0
0
0
0
1
0.05
false
0.066667
0.116667
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
365a7d401940b940c9b9755ca87776a4b3c28d8c
3,780
py
Python
competition/models.py
duyet/jvn-challenge
6181e2cf9533bf36ad19ffb5e652cc36b5109066
[ "MIT" ]
1
2017-06-12T08:46:44.000Z
2017-06-12T08:46:44.000Z
competition/models.py
duyetdev/jvn-challenge
6181e2cf9533bf36ad19ffb5e652cc36b5109066
[ "MIT" ]
7
2019-10-27T16:00:44.000Z
2020-07-01T12:51:41.000Z
competition/models.py
duyet/jvn-challenge
6181e2cf9533bf36ad19ffb5e652cc36b5109066
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models from django.conf import settings from django.db.models import Max, F from django.utils import timezone from django.dispatch import receiver from django.utils.timezone import now from tinymce import models as tinymce_models fro...
38.571429
107
0.718519
458
3,780
5.70524
0.292576
0.030616
0.04822
0.057405
0.27057
0.176426
0.176426
0.149636
0.149636
0.149636
0
0.01187
0.175397
3,780
98
108
38.571429
0.826436
0.028836
0
0.202532
0
0
0.105263
0.02318
0
0
0
0
0
1
0.075949
false
0
0.139241
0.063291
0.632911
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
366553173d1c876487c52b1b269228e246971e00
1,138
py
Python
dj_core/urls.py
ionata/dj-core
7a3139fc433c17f27e7dc2cee8775db21e0b5c89
[ "BSD-3-Clause" ]
1
2018-05-23T10:06:52.000Z
2018-05-23T10:06:52.000Z
dj_core/urls.py
ionata/dj-core
7a3139fc433c17f27e7dc2cee8775db21e0b5c89
[ "BSD-3-Clause" ]
22
2017-07-14T04:16:31.000Z
2018-03-15T20:32:47.000Z
dj_core/urls.py
ionata/dj-core
7a3139fc433c17f27e7dc2cee8775db21e0b5c89
[ "BSD-3-Clause" ]
null
null
null
from django.conf import settings from django.conf.urls import include, url from dj_core.utils import get_app_submodules def _admin_urls(): if not settings.DJCORE.ADMIN_ENABLED: return [] from django.contrib import admin return [url(r'^backend/django-admin/', admin.site.urls)] def _djdt_urls(): ...
28.45
75
0.711775
148
1,138
5.202703
0.304054
0.064935
0.054545
0.066234
0.05974
0
0
0
0
0
0
0
0.192443
1,138
39
76
29.179487
0.837867
0.050088
0
0.111111
0
0
0.053753
0.020389
0
0
0
0
0
1
0.148148
false
0
0.259259
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
36668f0a35dbbc352fd79935255fa8d9986453d4
22,779
py
Python
vistrails/gui/module_palette.py
tacaswell/VisTrails
a44416dd3b145f994454fac3092860364b55b6eb
[ "BSD-3-Clause" ]
null
null
null
vistrails/gui/module_palette.py
tacaswell/VisTrails
a44416dd3b145f994454fac3092860364b55b6eb
[ "BSD-3-Clause" ]
null
null
null
vistrails/gui/module_palette.py
tacaswell/VisTrails
a44416dd3b145f994454fac3092860364b55b6eb
[ "BSD-3-Clause" ]
null
null
null
############################################################################### ## ## Copyright (C) 2011-2014, NYU-Poly. ## Copyright (C) 2006-2011, University of Utah. ## All rights reserved. ## Contact: contact@vistrails.org ## ## This file is part of VisTrails. ## ## "Redistribution and use in source and binary for...
41.79633
92
0.586637
2,154
22,779
6.091458
0.232126
0.018291
0.01509
0.015852
0.161878
0.099611
0.075299
0.044204
0.013871
0.010365
0
0.003316
0.324817
22,779
544
93
41.873162
0.849805
0.136573
0
0.123494
0
0
0.026904
0.001621
0
0
0
0
0
0
null
null
0.003012
0.039157
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
366ecb3c0bb19687c37387806ab37545acd8b4ec
4,887
py
Python
TileStache/Geography.py
shoeberto/TileStache
4526076e9326512a0542adaae86a946e08df8547
[ "BSD-3-Clause" ]
414
2015-01-05T19:29:22.000Z
2022-03-26T03:39:42.000Z
TileStache/Geography.py
shoeberto/TileStache
4526076e9326512a0542adaae86a946e08df8547
[ "BSD-3-Clause" ]
134
2015-01-15T08:25:55.000Z
2021-09-02T16:06:00.000Z
TileStache/Geography.py
shoeberto/TileStache
4526076e9326512a0542adaae86a946e08df8547
[ "BSD-3-Clause" ]
176
2015-01-09T14:43:25.000Z
2022-03-04T16:53:27.000Z
""" The geography bits of TileStache. A Projection defines the relationship between the rendered tiles and the underlying geographic data. Generally, just one popular projection is used for most web maps, "spherical mercator". Built-in projections: - spherical mercator - WGS84 Example use projection in a layer defin...
33.02027
138
0.646818
610
4,887
5.129508
0.291803
0.005113
0.033237
0.043464
0.337488
0.280601
0.280601
0.280601
0.276766
0.270374
0
0.033509
0.261101
4,887
147
139
33.244898
0.83301
0.452629
0
0.264151
0
0.018868
0.09569
0
0
0
0
0
0
1
0.207547
false
0
0.075472
0
0.566038
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
366f03f59c4e363b2bde417411ff36dd8b89a1a7
375
py
Python
awards/migrations/0004_website_description.py
melissa-koi/awwardsclone
b82447cea82672038ea9fa9d9ca9867bff3c35f0
[ "MIT" ]
null
null
null
awards/migrations/0004_website_description.py
melissa-koi/awwardsclone
b82447cea82672038ea9fa9d9ca9867bff3c35f0
[ "MIT" ]
null
null
null
awards/migrations/0004_website_description.py
melissa-koi/awwardsclone
b82447cea82672038ea9fa9d9ca9867bff3c35f0
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-05-31 23:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('awards', '0003_comments'), ] operations = [ migrations.AddField( model_name='website', name='description', ...
19.736842
47
0.586667
39
375
5.589744
0.794872
0
0
0
0
0
0
0
0
0
0
0.07197
0.296
375
18
48
20.833333
0.753788
0.12
0
0
1
0
0.112805
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
3670b038e3519a94184b40521537b718e77ab944
319
py
Python
Structured Programming/Lesson 03 - Basic Operators & Input/ex_4.py
Raffaelus/Computer-Science-Graduation---UNIP
05fd10d05efb63d9b6024f73947846f9ec805c25
[ "MIT" ]
null
null
null
Structured Programming/Lesson 03 - Basic Operators & Input/ex_4.py
Raffaelus/Computer-Science-Graduation---UNIP
05fd10d05efb63d9b6024f73947846f9ec805c25
[ "MIT" ]
null
null
null
Structured Programming/Lesson 03 - Basic Operators & Input/ex_4.py
Raffaelus/Computer-Science-Graduation---UNIP
05fd10d05efb63d9b6024f73947846f9ec805c25
[ "MIT" ]
null
null
null
nome = input("Digite o nome do vendedor: ") salario = float(input("Digite o salário fixo: ")) vendas = float(input("Digite o total de vendas:")) comissao = salario * (15/100) salario_final = salario + comissao print(nome, " o seu salário fixo é de R$", salario, "e seu salário com a comissão é de R$" , salario_final)
39.875
107
0.702194
51
319
4.352941
0.490196
0.148649
0.162162
0.153153
0
0
0
0
0
0
0
0.018868
0.169279
319
8
107
39.875
0.818868
0
0
0
0
0
0.43125
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
36741ba972951a21b561bad676a400de7a9181b7
340
py
Python
setup.py
Nedlitex/ddls3utils
8251455c67b6f1f4b5e2e5ef63c474586a778f35
[ "MIT" ]
null
null
null
setup.py
Nedlitex/ddls3utils
8251455c67b6f1f4b5e2e5ef63c474586a778f35
[ "MIT" ]
null
null
null
setup.py
Nedlitex/ddls3utils
8251455c67b6f1f4b5e2e5ef63c474586a778f35
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'ddls3utils', packages = ['ddls3utils'], version = '0.0.6', description = 'S3 utils', author = 'nedlitex', author_email = 'nedlitex0053@gmail.com', url = 'https://github.com/Nedlitex/s3utils', keywords = ['s3'], license='MIT', install_r...
24.285714
48
0.614706
36
340
5.75
0.805556
0
0
0
0
0
0
0
0
0
0
0.048689
0.214706
340
14
49
24.285714
0.726592
0
0
0
0
0
0.316716
0.064516
0
0
0
0
0
1
0
true
0
0.076923
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
0
0
0
1
0
0
0
0
0
0
1
3679edbd6f779df48bdd84060746602942ab500d
1,152
py
Python
flaskr/services/file_to_db_service.py
baloo1379/db_aspell
b3ff02cc051d9300273c89710d6ef39cfded62e2
[ "MIT" ]
null
null
null
flaskr/services/file_to_db_service.py
baloo1379/db_aspell
b3ff02cc051d9300273c89710d6ef39cfded62e2
[ "MIT" ]
2
2020-02-29T19:38:14.000Z
2020-03-01T13:32:19.000Z
flaskr/services/file_to_db_service.py
baloo1379/db_aspell
b3ff02cc051d9300273c89710d6ef39cfded62e2
[ "MIT" ]
1
2020-03-12T10:55:58.000Z
2020-03-12T10:55:58.000Z
import os import re from flaskr.models.file import createFile from flaskr.models.word import createOrUpdateWord class FileToDBService: file_name = None file_content = None word_list = [] def setFileName(self, file_name): self.file_name = file_name def setFileContent(self, content): ...
24.510638
101
0.619792
140
1,152
4.985714
0.321429
0.137536
0.103152
0.040115
0
0
0
0
0
0
0
0.003614
0.279514
1,152
46
102
25.043478
0.837349
0
0
0
0
0
0.029514
0.02691
0
0
0
0
0
1
0.235294
false
0
0.117647
0
0.470588
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
368502376774681355bc8e9932f996bc9c2ba21b
6,551
py
Python
script/process/case_scaling.py
will-iam/Variant
5b6732134fd51cf6c2b90b51b7976be0693ba28d
[ "MIT" ]
8
2017-05-04T07:50:02.000Z
2019-05-17T02:27:20.000Z
script/process/case_scaling.py
will-iam/Variant
5b6732134fd51cf6c2b90b51b7976be0693ba28d
[ "MIT" ]
null
null
null
script/process/case_scaling.py
will-iam/Variant
5b6732134fd51cf6c2b90b51b7976be0693ba28d
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding:utf-8 -*- import __future__ import parser import sys import matplotlib.pyplot as plt #plt.style.use('ggplot') import numpy as np import operator from collections import * resource = 64 initSize = 128 maxPower = 14 minCase = (initSize * 2**maxPower, initSize * 2**maxPower) maxCase = (0,...
40.689441
187
0.645398
870
6,551
4.813793
0.191954
0.020057
0.017192
0.025788
0.453438
0.401385
0.365091
0.335244
0.330707
0.226361
0
0.012965
0.199359
6,551
160
188
40.94375
0.78551
0.094337
0
0.045455
0
0.009091
0.119506
0.052062
0
0
0
0
0
0
null
null
0
0.063636
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
368729059ce64fcbfc93de3c689f34994c9f8f8b
1,778
py
Python
rx/scheduledobserver.py
rlugojr/RxPy
9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec
[ "ECL-2.0", "Apache-2.0" ]
78
2015-01-22T23:57:01.000Z
2021-06-04T15:16:22.000Z
rx/scheduledobserver.py
rlugojr/RxPy
9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec
[ "ECL-2.0", "Apache-2.0" ]
1
2015-10-19T12:59:57.000Z
2015-10-19T12:59:57.000Z
rx/scheduledobserver.py
rlugojr/RxPy
9f9b1de0ab833e53b0d1626a3b43a6c9424f01ec
[ "ECL-2.0", "Apache-2.0" ]
11
2015-02-16T20:43:45.000Z
2018-05-30T11:46:50.000Z
from rx.abstractobserver import AbstractObserver from rx.disposables import SerialDisposable class ScheduledObserver(AbstractObserver): def __init__(self, scheduler, observer): super(ScheduledObserver, self).__init__() self.scheduler = scheduler self.observer = observer self.is_acqu...
31.192982
82
0.532058
169
1,778
5.461538
0.325444
0.048754
0.045504
0.061755
0.139762
0
0
0
0
0
0
0.00276
0.388639
1,778
56
83
31.75
0.846366
0
0
0.12766
0
0
0
0
0
0
0
0
0
1
0.212766
false
0
0.042553
0
0.297872
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
368e940d77d0a83c56f6022a46e858172101592e
1,667
py
Python
backend/backend/packages/migrations/0001_initial.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
null
null
null
backend/backend/packages/migrations/0001_initial.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
15
2019-12-28T10:54:22.000Z
2022-03-15T19:17:54.000Z
backend/backend/packages/migrations/0001_initial.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
1
2020-03-25T00:24:55.000Z
2020-03-25T00:24:55.000Z
# Generated by Django 2.1.1 on 2019-04-19 12:21 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
41.675
143
0.60228
175
1,667
5.588571
0.445714
0.076687
0.06135
0.07362
0.346626
0.206544
0.139059
0.139059
0.139059
0.139059
0
0.030894
0.262148
1,667
39
144
42.74359
0.764228
0.026995
0
0
1
0
0.143827
0
0
0
0
0
0
1
0
false
0
0.09375
0
0.21875
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
369d5ab46562ba8727bf0a9f238e1ee6d6f5916f
1,919
py
Python
tests/test_app/polls/migrations/0002_campaign_cheese.py
gkachru/django-jazzmin
49b94e404cc6c4dbccb77bb876e508e3a7e7f72e
[ "MIT" ]
2
2020-12-22T21:23:23.000Z
2021-05-16T17:32:44.000Z
tests/test_app/polls/migrations/0002_campaign_cheese.py
rshrc/django-jazzmin
b7398bb855b2a0a88d038e00166ffaba7b50551a
[ "MIT" ]
null
null
null
tests/test_app/polls/migrations/0002_campaign_cheese.py
rshrc/django-jazzmin
b7398bb855b2a0a88d038e00166ffaba7b50551a
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-18 12:14 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("polls", "0001_initial"),...
34.267857
115
0.478895
162
1,919
5.549383
0.475309
0.035595
0.036707
0.048943
0.307008
0.175751
0.175751
0.175751
0.175751
0.175751
0
0.01897
0.423137
1,919
55
116
34.890909
0.793135
0.02345
0
0.387755
1
0
0.14156
0
0
0
0
0
0
1
0
false
0
0.061224
0
0.122449
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
369eaf96a8cdf30e80aba3d201a3b9d246b3738d
586
py
Python
setup.py
fecgov/regulations-site
7b2b64c95be3b88aaddce386527185409cd41289
[ "CC0-1.0" ]
null
null
null
setup.py
fecgov/regulations-site
7b2b64c95be3b88aaddce386527185409cd41289
[ "CC0-1.0" ]
null
null
null
setup.py
fecgov/regulations-site
7b2b64c95be3b88aaddce386527185409cd41289
[ "CC0-1.0" ]
1
2020-04-07T18:47:46.000Z
2020-04-07T18:47:46.000Z
from setuptools import find_packages, setup setup( name="regulations", version="9.0.0", packages=find_packages(), include_package_data=True, install_requires=[ 'cached-property', 'django==3.2.13', 'enum34;python_version<"3.4"', 'futures;python_version<"3"', ...
23.44
73
0.581911
62
586
5.354839
0.709677
0.072289
0.084337
0
0
0
0
0
0
0
0
0.044084
0.264505
586
24
74
24.416667
0.726218
0
0
0
0
0
0.406143
0.090444
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
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
36a833dc9ee5cee08df1603505acf9213cb5ae53
406
py
Python
articles/migrations/0003_comment_user_name.py
ArifCengic/fool
376816c30eff0f6a740358db2d318efca44e9a7d
[ "Apache-2.0" ]
null
null
null
articles/migrations/0003_comment_user_name.py
ArifCengic/fool
376816c30eff0f6a740358db2d318efca44e9a7d
[ "Apache-2.0" ]
3
2021-03-30T13:56:20.000Z
2021-06-04T23:31:08.000Z
articles/migrations/0003_comment_user_name.py
ArifCengic/fool
376816c30eff0f6a740358db2d318efca44e9a7d
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-23 17:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('articles', '0002_auto_20200622_2013'), ] operations = [ migrations.AddField( model_name='comment', name='user_name',...
21.368421
67
0.605911
45
406
5.333333
0.844444
0
0
0
0
0
0
0
0
0
0
0.112245
0.275862
406
18
68
22.555556
0.704082
0.110837
0
0
1
0
0.144847
0.064067
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
36a9ff8be179a7d7ac1ee4d5a48b0b5fab2bfa91
667
py
Python
Hello_World/mysite/article/models.py
SuperWenFirst/Django-Course
8cc6cabe7789117f37e009db842b8f8e41d8e5a5
[ "CNRI-Python" ]
35
2019-03-28T13:57:01.000Z
2022-03-18T11:29:53.000Z
Hello_World/mysite/article/models.py
SuperWenFirst/Django-Course
8cc6cabe7789117f37e009db842b8f8e41d8e5a5
[ "CNRI-Python" ]
null
null
null
Hello_World/mysite/article/models.py
SuperWenFirst/Django-Course
8cc6cabe7789117f37e009db842b8f8e41d8e5a5
[ "CNRI-Python" ]
18
2019-04-10T06:50:46.000Z
2022-03-18T11:30:07.000Z
from django.db import models from django.utils import timezone from django.contrib.auth.models import User # Create your models here. class Article(models.Model): title = models.CharField(max_length=30) content = models.TextField() # created_time = models.DateTimeField(default=timezone.now) created_tim...
37.055556
74
0.749625
87
667
5.574713
0.597701
0.061856
0.142268
0.123711
0.123711
0
0
0
0
0
0
0.007055
0.149925
667
18
75
37.055556
0.848325
0.122939
0
0
0
0
0.022298
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0.076923
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
36b96eb6f07217c6bacc3a443dbd175309270b7d
205
py
Python
CHORCKIT.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
CHORCKIT.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
CHORCKIT.py
akashsuper2000/codechef-archive
e0e4a7daf66812ab7aa3fe42132c3d067a72457b
[ "bzip2-1.0.6" ]
null
null
null
n,m,a,x,r = [int(i) for i in input().split()] s = input() for i in range(m): t = input() for i in range(a): p = input() if(n<10**6 and r<=x): print(1) print(3,1,10**6-n) else: print(0)
17.083333
45
0.512195
46
205
2.282609
0.521739
0.114286
0.171429
0.209524
0.304762
0
0
0
0
0
0
0.064935
0.24878
205
11
46
18.636364
0.616883
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.272727
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
36ba1be77dfbe8d4da7b35ec4f295f62f522f954
1,081
py
Python
opencivicdata/core/migrations/0005_auto_20191124_1658.py
palewire/python-opencivicdata
7862be45bef6846d3e284995d208fabcc8635362
[ "BSD-3-Clause" ]
20
2017-06-23T17:31:48.000Z
2021-11-23T19:20:58.000Z
opencivicdata/core/migrations/0005_auto_20191124_1658.py
palewire/python-opencivicdata
7862be45bef6846d3e284995d208fabcc8635362
[ "BSD-3-Clause" ]
70
2015-01-06T18:40:22.000Z
2017-05-24T18:06:52.000Z
opencivicdata/core/migrations/0005_auto_20191124_1658.py
california-civic-data-coalition/python-opencivicdata-django
375cd09d48908a7be58186de64f470b233f616d6
[ "BSD-3-Clause" ]
17
2017-05-25T17:05:57.000Z
2021-06-05T14:45:39.000Z
# Generated by Django 2.2.3 on 2019-11-24 16:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("core", "0004_auto_20171005_2028")] operations = [ migrations.AlterField( model_name="organization", name="classification", ...
31.794118
68
0.457909
77
1,081
6.350649
0.74026
0
0
0
0
0
0
0
0
0
0
0.053375
0.410731
1,081
33
69
32.757576
0.714286
0.041628
0
0
1
0
0.27853
0.022244
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
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
36bbf01b8edbb358fcf01044e88c47ee55e7a437
710
py
Python
rq_user.py
OsiriX-Foundation/IntegrationTest
a6c76f8a6f242aa0668b3417999dbae3d986e136
[ "MIT" ]
null
null
null
rq_user.py
OsiriX-Foundation/IntegrationTest
a6c76f8a6f242aa0668b3417999dbae3d986e136
[ "MIT" ]
9
2020-12-21T17:02:49.000Z
2021-06-02T07:41:28.000Z
rq_user.py
OsiriX-Foundation/IntegrationTest
a6c76f8a6f242aa0668b3417999dbae3d986e136
[ "MIT" ]
null
null
null
import os import util from requests.auth import AuthBase import json import env import requests import sys ################################################################ # USERS ################################################################ def get(token, status_code=200, params={}, count=1): print() reque...
33.809524
79
0.577465
76
710
5.276316
0.473684
0.099751
0.064838
0
0
0
0
0
0
0
0
0.011551
0.146479
710
21
80
33.809524
0.650165
0.007042
0
0
0
0
0.09375
0
0
0
0
0
0.058824
1
0.058824
false
0
0.411765
0
0.529412
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
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
36bcef3c9a52b24f58893a7304e2e926dfadbf83
4,143
py
Python
util/set_version.py
davidbalbert/gevent3000
3c940dbb2804ec7fe9001758d339eeb423793a28
[ "MIT" ]
null
null
null
util/set_version.py
davidbalbert/gevent3000
3c940dbb2804ec7fe9001758d339eeb423793a28
[ "MIT" ]
1
2015-03-12T14:34:16.000Z
2015-03-12T14:34:16.000Z
util/set_version.py
davidbalbert/gevent3000
3c940dbb2804ec7fe9001758d339eeb423793a28
[ "MIT" ]
null
null
null
#!/usr/bin/python """Update __version__, version_info and add __changeset__. 'dev' in version_info should be replaced with alpha|beta|candidate|final 'dev' in __version__ should be replaced with a|b|rc|<empty string> """ import sys import os import re from optparse import OptionParser from distutils.version import Lo...
28.376712
88
0.613324
551
4,143
4.399274
0.286751
0.086221
0.040429
0.024752
0.187706
0.17863
0.17863
0.071782
0.071782
0.043729
0
0.015695
0.24644
4,143
145
89
28.572414
0.76073
0.042723
0
0.15625
0
0
0.144844
0.030417
0
0
0
0
0.0625
0
null
null
0
0.052083
null
null
0.010417
0
0
0
null
0
0
0
0
0
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
36c10c5d4d4ce6c07d1283d787f158a82f4f0569
5,133
py
Python
src/setupUi/DeckNamePrompt.py
mruiz42/zhong-wen-trainer-master
b565c40185d7184515be335d848a653cc7f86b51
[ "Unlicense" ]
2
2021-02-16T11:09:17.000Z
2021-12-17T13:50:40.000Z
src/setupUi/DeckNamePrompt.py
mruiz42/zhong-wen-trainer-master
b565c40185d7184515be335d848a653cc7f86b51
[ "Unlicense" ]
4
2019-05-18T02:16:02.000Z
2021-12-17T14:58:43.000Z
src/setupUi/DeckNamePrompt.py
mruiz42/zhong-wen-trainer-master
b565c40185d7184515be335d848a653cc7f86b51
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui/DeckNamePrompt.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import Qt...
61.843373
168
0.771089
471
5,133
8.265393
0.314225
0.097097
0.034164
0.029283
0.18392
0.095042
0.02466
0
0
0
0
0.014565
0.14397
5,133
82
169
62.597561
0.871416
0.060004
0
0
1
0
0.121911
0.009969
0
0
0
0
0
1
0.029412
false
0
0.014706
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
36c2a110d0d0fc3a8b7c51131608b2d966e164cf
6,771
py
Python
huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/create_compare_task_response.py
NQLoong/huaweicloud-sdk-python-v3
677944a0b722147c6e105c53df9110724d64152a
[ "Apache-2.0" ]
1
2021-11-03T07:54:50.000Z
2021-11-03T07:54:50.000Z
huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/create_compare_task_response.py
mawenbo-huawei/huaweicloud-sdk-python-v3
677944a0b722147c6e105c53df9110724d64152a
[ "Apache-2.0" ]
null
null
null
huaweicloud-sdk-drs/huaweicloudsdkdrs/v3/model/create_compare_task_response.py
mawenbo-huawei/huaweicloud-sdk-python-v3
677944a0b722147c6e105c53df9110724d64152a
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 import pprint import re import six from huaweicloudsdkcore.sdk_response import SdkResponse class CreateCompareTaskResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map ...
31.493023
149
0.647763
771
6,771
5.322957
0.130999
0.116959
0.175439
0.233918
0.668129
0.577973
0.510965
0.355263
0.292885
0.22076
0
0.000819
0.278689
6,771
214
150
31.640187
0.839476
0.317235
0
0.089109
0
0
0.083788
0.057916
0
0
0
0
0
1
0.158416
false
0
0.039604
0
0.346535
0.019802
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
36c35b3bfce69a21b32e69f4733fbe6d835677fc
415
py
Python
backend/markly/account/migrations/0004_auto_20210616_0726.py
salmanAndroidDev/markly
c2b8c4a2fd99b6e2c374e127f62b10adbf143b7c
[ "MIT" ]
1
2021-08-14T11:27:47.000Z
2021-08-14T11:27:47.000Z
backend/markly/account/migrations/0004_auto_20210616_0726.py
salmanAndroidDev/markly
c2b8c4a2fd99b6e2c374e127f62b10adbf143b7c
[ "MIT" ]
null
null
null
backend/markly/account/migrations/0004_auto_20210616_0726.py
salmanAndroidDev/markly
c2b8c4a2fd99b6e2c374e127f62b10adbf143b7c
[ "MIT" ]
null
null
null
# Generated by Django 3.1.12 on 2021-06-16 07:26 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account', '0003_profile_user'), ] operations = [ migrations.AlterField( model_name='profile', name='photo', ...
21.842105
84
0.59759
47
415
5.191489
0.829787
0
0
0
0
0
0
0
0
0
0
0.066007
0.26988
415
18
85
23.055556
0.739274
0.110843
0
0
1
0
0.158038
0.059946
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
36c6f60809d1cadd2d7ca4546eb8a8d4cc33f30c
401
py
Python
improve_django_v3/menu/migrations/0011_remove_menu_expiration_date_temp.py
Zachary-Jackson/Improve-a-Django-Project
7f6a9f7673ba95efc726a7898fe426c94177e760
[ "BSD-3-Clause" ]
null
null
null
improve_django_v3/menu/migrations/0011_remove_menu_expiration_date_temp.py
Zachary-Jackson/Improve-a-Django-Project
7f6a9f7673ba95efc726a7898fe426c94177e760
[ "BSD-3-Clause" ]
null
null
null
improve_django_v3/menu/migrations/0011_remove_menu_expiration_date_temp.py
Zachary-Jackson/Improve-a-Django-Project
7f6a9f7673ba95efc726a7898fe426c94177e760
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.9 on 2018-01-25 18:30 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('menu', '0010_auto_20180125_1325'), ] operations = [ migrations.RemoveField( ...
20.05
47
0.620948
45
401
5.288889
0.8
0
0
0
0
0
0
0
0
0
0
0.108475
0.264339
401
19
48
21.105263
0.698305
0.167082
0
0
1
0
0.154079
0.069486
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
36cd9bc874bdd90fc1827e2289babf91cfda2e33
609
py
Python
manage.py
abnerpc/flask_tutorial
a7c02f9f2afb9727ff4b12df2a3b1d4c90ac5e4a
[ "MIT" ]
7
2016-07-28T15:41:41.000Z
2016-10-14T17:07:05.000Z
manage.py
rafaelhenrique/flask_tutorial
eb8f1fcc4b1b442c6bfe7657cc83f8e4c678e6b9
[ "MIT" ]
6
2018-10-25T21:22:20.000Z
2019-05-19T16:03:35.000Z
manage.py
rafaelhenrique/flask_tutorial
eb8f1fcc4b1b442c6bfe7657cc83f8e4c678e6b9
[ "MIT" ]
6
2018-04-15T01:49:55.000Z
2018-10-27T15:09:46.000Z
from flask_script import Manager from flask_collect import Collect from flask_migrate import Migrate, MigrateCommand from tvseries import create_app from tvseries.ext import db from tvseries.config import DevelopmentConfig app = create_app(config=DevelopmentConfig) manager = Manager(app) # migrate command migrate = ...
21.75
49
0.776683
76
609
6.026316
0.355263
0.122271
0
0
0
0
0
0
0
0
0
0
0.131363
609
27
50
22.555556
0.865785
0.10509
0
0
0
0
0.031599
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.470588
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
36cff918241442a04ef93373f6e2844ca8e7cd63
5,600
py
Python
danceschool/core/migrations/0025_auto_20181109_1631.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
32
2017-09-12T04:25:25.000Z
2022-03-21T10:48:07.000Z
danceschool/core/migrations/0025_auto_20181109_1631.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
97
2017-09-01T02:43:08.000Z
2022-01-03T18:20:34.000Z
danceschool/core/migrations/0025_auto_20181109_1631.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
19
2017-09-26T13:34:46.000Z
2022-03-21T10:48:10.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-11-09 21:31 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import multiselectfield.db.fields class Migration(migrations.Migration): dependencies = [ ('filer', '0010_auto_20180...
58.333333
525
0.6575
573
5,600
6.286213
0.359511
0.042754
0.062465
0.07246
0.30844
0.273737
0.156024
0.12271
0.12271
0.12271
0
0.010531
0.22
5,600
95
526
58.947368
0.814103
0.012321
0
0.409091
1
0.022727
0.444103
0.096056
0
0
0
0
0
1
0
false
0
0.045455
0
0.079545
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
36d3a093875f06b61fbf2b1b159ea8251111f81e
830
py
Python
trade_remedies_api/cases/migrations/0048_auto_20200120_1225.py
uktrade/trade-remedies-api
fbe2d142ef099c7244788a0f72dd1003eaa7edce
[ "MIT" ]
1
2020-08-13T10:37:15.000Z
2020-08-13T10:37:15.000Z
trade_remedies_api/cases/migrations/0048_auto_20200120_1225.py
uktrade/trade-remedies-api
fbe2d142ef099c7244788a0f72dd1003eaa7edce
[ "MIT" ]
4
2020-09-10T13:41:52.000Z
2020-12-16T09:00:21.000Z
trade_remedies_api/cases/migrations/0048_auto_20200120_1225.py
uktrade/trade-remedies-api
fbe2d142ef099c7244788a0f72dd1003eaa7edce
[ "MIT" ]
null
null
null
# Generated by Django 2.2.5 on 2020-01-20 12:25 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("cases", "0047_notice_published_at"), ] operations = [ migrations.AddField( model_name="notice",...
25.9375
99
0.546988
84
830
5.297619
0.488095
0.07191
0.094382
0.148315
0.534831
0.534831
0.368539
0.368539
0.368539
0.368539
0
0.034799
0.342169
830
31
100
26.774194
0.78022
0.054217
0
0.4
1
0
0.108557
0.030651
0
0
0
0
0
1
0
false
0
0.08
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
36d44e3cb6f52721e8198551810590e9519a35f6
5,428
py
Python
powermate/__init__.py
bobo1on1/powermate
d401d8e69a4d96057cdec1f8701ca2b78c686e2c
[ "MIT" ]
null
null
null
powermate/__init__.py
bobo1on1/powermate
d401d8e69a4d96057cdec1f8701ca2b78c686e2c
[ "MIT" ]
null
null
null
powermate/__init__.py
bobo1on1/powermate
d401d8e69a4d96057cdec1f8701ca2b78c686e2c
[ "MIT" ]
null
null
null
""" pypowermate: python library for Griffin Powermate Bluetooth controllers """ from bluepy import btle import struct import threading import time # Hardcoding these handles probably isn't the right way to do this. Instead, we # should discover these via UUID. However, bluepy's API isn't expressive enough # to support...
34.138365
89
0.545689
597
5,428
4.81072
0.281407
0.015669
0.034123
0.037604
0.185933
0.132312
0.123955
0.077994
0.077994
0
0
0.016573
0.377487
5,428
158
90
34.35443
0.833383
0.183677
0
0.220183
0
0
0.006518
0
0
0
0.004655
0
0
1
0.183486
false
0.073395
0.036697
0
0.275229
0.027523
0
0
0
null
0
0
0
0
0
0
0
0
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
36d6f44a4953773deb8b212bf47c2b5eca9954e0
2,898
py
Python
build/lib/SLRIC/slric.py
EvgenyM/SLRIC
11f6df256d808c51e0caaf0b32bb7b3a548c92ee
[ "MIT" ]
null
null
null
build/lib/SLRIC/slric.py
EvgenyM/SLRIC
11f6df256d808c51e0caaf0b32bb7b3a548c92ee
[ "MIT" ]
null
null
null
build/lib/SLRIC/slric.py
EvgenyM/SLRIC
11f6df256d808c51e0caaf0b32bb7b3a548c92ee
[ "MIT" ]
null
null
null
from methods.indirect_influence import indirect_pagerank, indirect_paths from methods.direct_influence import pairwise_inf from classes.GraphQW import GraphQW, nx """ LRIC centrality Arguments: graph - input graph (Graph or DiGraph object, NetworkX package) q (optional) - quota (threshold of influence) for each node ...
45.28125
110
0.725328
414
2,898
5.012077
0.231884
0.039036
0.021205
0.04241
0.708434
0.676627
0.648675
0.648675
0.613012
0.613012
0
0.007176
0.18254
2,898
63
111
46
0.868721
0.042443
0
0.296296
0
0
0.056687
0
0
0
0
0
0
1
0.074074
false
0
0.111111
0
0.333333
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
36dbb3cbcc1cf2d2eb744f4405d9e8aab15dd2ac
374
py
Python
BGP_Forecast_Modules/UI/historicaldata.py
xinyuwang1209/BGP_Forecast_Modules
8ecaee2f3e7bc40ed56acc0350e4e051bf751233
[ "MIT" ]
1
2019-04-08T05:13:28.000Z
2019-04-08T05:13:28.000Z
BGP_Forecast_Modules/UI/historicaldata.py
xinyuwang1209/BGP_Forecast_Modules
8ecaee2f3e7bc40ed56acc0350e4e051bf751233
[ "MIT" ]
null
null
null
BGP_Forecast_Modules/UI/historicaldata.py
xinyuwang1209/BGP_Forecast_Modules
8ecaee2f3e7bc40ed56acc0350e4e051bf751233
[ "MIT" ]
null
null
null
#!/usr/bin/python3.6 import sys # add your project directory to the sys.path # need to pass the flask app as "application" for WSGI to work # for a dash app, that is at app.server # see https://plot.ly/dash/deployment from template1 import app #from test import app app.config.requests_pathname_prefix = '' server = ap...
24.933333
62
0.754011
62
374
4.516129
0.645161
0.096429
0
0
0
0
0
0
0
0
0
0.009524
0.157754
374
14
63
26.714286
0.879365
0.628342
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
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
36dc6d9605fe97208926a052be4ac8f49ddf6de3
1,282
py
Python
pypy/module/_hpy_universal/interp_import.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/module/_hpy_universal/interp_import.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/module/_hpy_universal/interp_import.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
1
2022-03-30T11:42:37.000Z
2022-03-30T11:42:37.000Z
from rpython.rtyper.lltypesystem import rffi from .apiset import API @API.func("HPy HPyImport_ImportModule(HPyContext *ctx, const char *name)") def HPyImport_ImportModule(space, handles, ctx, name): w_name = space.newtext(rffi.constcharp2str(name)) caller = space.getexecutioncontext().gettopframe_nohidden() ...
42.733333
75
0.712949
164
1,282
5.237805
0.390244
0.065192
0.075669
0.046566
0.125728
0
0
0
0
0
0
0.000961
0.187988
1,282
29
76
44.206897
0.824207
0.178627
0
0.095238
0
0
0.114613
0.031519
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
36eb38353ef05cbb4a476ef37d19d26a58b09baf
2,966
py
Python
2018-10-21/puzzle.py
kroesche/sunday_puzzle
cc03b7b834c6311760c84fb1480ebc70417b568d
[ "CC0-1.0" ]
null
null
null
2018-10-21/puzzle.py
kroesche/sunday_puzzle
cc03b7b834c6311760c84fb1480ebc70417b568d
[ "CC0-1.0" ]
null
null
null
2018-10-21/puzzle.py
kroesche/sunday_puzzle
cc03b7b834c6311760c84fb1480ebc70417b568d
[ "CC0-1.0" ]
null
null
null
#!/usr/local/bin/python # # NPR Sunday Puzzle Solver for 2018-10-21 puzzle # # Written in 2018 by Joseph Kroesche joe@kroesche.org # # To the extent possible under law, the author(s) have dedicated all # copyright and related and neighboring rights to this software to the # public domain worldwide. This software is dis...
30.57732
77
0.658125
463
2,966
4.164147
0.37581
0.025415
0.022822
0.026452
0.183091
0.161307
0.145747
0.076245
0.076245
0.076245
0
0.02892
0.253877
2,966
96
78
30.895833
0.842296
0.475051
0
0.433962
0
0
0.016393
0
0
0
0
0.010417
0
1
0.056604
false
0
0.037736
0
0.150943
0.075472
0
0
0
null
0
0
0
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
36f0b4948a31d5f76827cb61f698ba3c76aa67cc
217
py
Python
Exercicios/ex015.py
mauriciozago/CursoPython3
cbcff9ebfd4d5f5e3a32a369dac8521c6758bfe5
[ "MIT" ]
null
null
null
Exercicios/ex015.py
mauriciozago/CursoPython3
cbcff9ebfd4d5f5e3a32a369dac8521c6758bfe5
[ "MIT" ]
null
null
null
Exercicios/ex015.py
mauriciozago/CursoPython3
cbcff9ebfd4d5f5e3a32a369dac8521c6758bfe5
[ "MIT" ]
null
null
null
km = float(input('Quantos Km foram percorridos? ')) dias = int(input('Quantos dias alugados? ')) print('O valor a pagar pelo aluguel de {} dias e {} Km percorridos é R${:0.2f}'.format(dias, km, (60*dias)+(0.15*km)))
43.4
118
0.663594
37
217
3.891892
0.675676
0.166667
0
0
0
0
0
0
0
0
0
0.037634
0.142857
217
4
119
54.25
0.736559
0
0
0
0
0
0.571429
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
36f2491b4d3026f32eea94feaf8467562126d2bb
2,243
py
Python
openstack_dashboard/dashboards/admin/metering/tabs.py
shhui/horizon
fd8cf6e31c07b147289bfb86c90133599eb2906e
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/dashboards/admin/metering/tabs.py
shhui/horizon
fd8cf6e31c07b147289bfb86c90133599eb2906e
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/dashboards/admin/metering/tabs.py
shhui/horizon
fd8cf6e31c07b147289bfb86c90133599eb2906e
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # 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...
31.152778
75
0.673206
274
2,243
5.386861
0.5
0.04065
0.065041
0.02168
0.03794
0.03794
0
0
0
0
0
0.006989
0.234507
2,243
71
76
31.591549
0.85265
0.251449
0
0.090909
0
0
0.150751
0.03003
0
0
0
0
0
1
0.068182
false
0
0.136364
0
0.590909
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
7fc0fdc11c1696162ad0d980712c1c10ed3bf838
1,168
py
Python
database/information/PARAMETERS.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
database/information/PARAMETERS.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
database/information/PARAMETERS.py
mshobair/invitro_cheminformatics
17201496c73453accd440646a1ee81726119a59c
[ "MIT" ]
null
null
null
import datetime from database.database_schemas import Schemas from sqlalchemy import Column, ForeignKey, Integer, String, DateTime from sqlalchemy.dialects.mysql import BIGINT, SMALLINT, DOUBLE, TIMESTAMP, TINYINT, LONGTEXT from database.base import Base class Parameters(Base): """Maps to PARAMETERS table in in...
37.677419
92
0.762842
133
1,168
6.473684
0.413534
0.125436
0.116144
0.14518
0.144019
0
0
0
0
0
0
0.001012
0.15411
1,168
31
93
37.677419
0.870445
0.042808
0
0
0
0
0.014376
0
0
0
0
0
0
1
0
false
0
0.208333
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
7fc7402b5a62cac545d7e5077134c1207a0d08c7
3,607
py
Python
utils.py
bigmms/entropy-preserving-mapping-prior
484c4f79c78830402d4a5aaf8912ca5d1e6aa931
[ "Apache-2.0" ]
1
2019-06-04T15:34:24.000Z
2019-06-04T15:34:24.000Z
utils.py
bigmms/entropy-preserving-mapping-prior
484c4f79c78830402d4a5aaf8912ca5d1e6aa931
[ "Apache-2.0" ]
null
null
null
utils.py
bigmms/entropy-preserving-mapping-prior
484c4f79c78830402d4a5aaf8912ca5d1e6aa931
[ "Apache-2.0" ]
null
null
null
from scipy.fftpack import fft2 import scipy as N from numpy import * from numpy.fft import fft2 import numpy as np def getTransform(img, T): hei, wid = img.shape img_res = np.reshape(np.array([T[int(i)] for i in img.flatten()]), (hei, wid)) return img_res def getMappingCurve(img, theta0, th...
30.058333
145
0.571112
525
3,607
3.897143
0.293333
0.013685
0.014663
0.017595
0.117302
0.095797
0.078201
0.078201
0.078201
0.078201
0
0.026063
0.308567
3,607
120
146
30.058333
0.794306
0.040477
0
0.050847
0
0
0.023333
0
0
0
0
0
0
0
null
null
0
0.084746
null
null
0.016949
0
0
0
null
0
0
0
0
0
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
7fc7445cf33f7795da10155000f57dc4acbc3813
315
py
Python
Python/sniff_tcp.py
ItaySharabi/Sniffing-and-Spoofing
8a97dc2cdf86146bd8d3080a75baacfb3b65b113
[ "MIT" ]
null
null
null
Python/sniff_tcp.py
ItaySharabi/Sniffing-and-Spoofing
8a97dc2cdf86146bd8d3080a75baacfb3b65b113
[ "MIT" ]
null
null
null
Python/sniff_tcp.py
ItaySharabi/Sniffing-and-Spoofing
8a97dc2cdf86146bd8d3080a75baacfb3b65b113
[ "MIT" ]
null
null
null
from scapy.all import * # Task 1B: A TCP sniffing program, # that filters packets coming from 'chosen_src(10.0.2.5)' to dest port 23. def got_packet(pkt): pkt.show() print('Sniffing tcp from 10.0.2.5 to port 23...') pkt = sniff(iface='enp0s3', filter='tcp and src host 10.0.2.5 and dst port 23', prn=got_packet)
31.5
95
0.704762
62
315
3.532258
0.612903
0.041096
0.054795
0.068493
0.063927
0
0
0
0
0
0
0.089888
0.152381
315
9
96
35
0.730337
0.333333
0
0
0
0
0.42029
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0.2
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
7fc7498fa931037c3a1b70682df2b8b1e51cbfd5
1,427
py
Python
navicatGA/exception_messages.py
lcmd-epfl/NaviCatGA
7317f3420a4a9124ebbc7224aaf46d3f27830d0a
[ "MIT" ]
1
2022-03-07T13:16:37.000Z
2022-03-07T13:16:37.000Z
navicatGA/exception_messages.py
lcmd-epfl/NaviCatGA
7317f3420a4a9124ebbc7224aaf46d3f27830d0a
[ "MIT" ]
null
null
null
navicatGA/exception_messages.py
lcmd-epfl/NaviCatGA
7317f3420a4a9124ebbc7224aaf46d3f27830d0a
[ "MIT" ]
null
null
null
exception_messages = { "InvalidSelectionStrategy": lambda selection_strategy, allowed_selection_strategies: f"{selection_strategy} is not a valid selection strategy. " f"Available options are {', '.join(allowed_selection_strategies)}.", "InvalidPopulationSize": "The population size must be larger than 2", ...
89.1875
148
0.784163
178
1,427
6.174157
0.533708
0.027298
0.047316
0.020018
0.040036
0
0
0
0
0
0
0.001645
0.147863
1,427
15
149
95.133333
0.902138
0
0
0
0
0
0.8185
0.153469
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7fcc7d6ef7427e8b46f7f185d7d1779c450dce44
1,505
py
Python
rustnes-dev/test_roms/test28-0.04/docs/calc_prg_bank.py
w1n5t0n99/rustnes
2d03cc0c5dcc33d6f4ca35a009b2aee9c0d096d4
[ "MIT" ]
2
2021-04-29T10:43:44.000Z
2021-05-06T04:45:20.000Z
rustnes-dev/test_roms/test28-0.04/docs/calc_prg_bank.py
w1n5t0n99/rustnes
2d03cc0c5dcc33d6f4ca35a009b2aee9c0d096d4
[ "MIT" ]
null
null
null
rustnes-dev/test_roms/test28-0.04/docs/calc_prg_bank.py
w1n5t0n99/rustnes
2d03cc0c5dcc33d6f4ca35a009b2aee9c0d096d4
[ "MIT" ]
null
null
null
#!/usr/bin/env python bank_size_masks = [(2<<i)-1 for i in range(4)] def calc_prg_bank(address, bank_mode, outer_bank, current_bank): """Calculate the 16K bank on A20-A14 for a given address.""" cpu_a14 = (address >> 14) & 0x01 outer_bank = outer_bank << 1 bank_mode >>= 2 # discard mirroring bits ...
43
71
0.669103
243
1,505
3.855967
0.312757
0.153682
0.06937
0.090715
0.360726
0.300961
0.219851
0.11953
0.11953
0.11953
0
0.111018
0.209967
1,505
34
72
44.264706
0.67704
0.068439
0
0.074074
0
0
0.046372
0
0
0
0.089753
0
0
0
null
null
0
0
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7fcd3c30a01007104fa662d2bdf9df67d1d7d410
420
py
Python
pype/plugins/nukestudio/publish/collect_active_project.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
pype/plugins/nukestudio/publish/collect_active_project.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
pype/plugins/nukestudio/publish/collect_active_project.py
kalisp/pype
28bbffaf2d12ccee48313cd9985e8dfa05e81a5c
[ "MIT" ]
null
null
null
import pyblish.api class CollectActiveProject(pyblish.api.ContextPlugin): """Inject the active project into context""" label = "Collect Active Project" order = pyblish.api.CollectorOrder - 0.2 def process(self, context): import hiero context.data["activeProject"] = hiero.ui.activeSe...
28
80
0.692857
45
420
6.466667
0.644444
0.103093
0.164948
0
0
0
0
0
0
0
0
0.005797
0.178571
420
14
81
30
0.837681
0.090476
0
0
0
0
0.172872
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7fd311c025d2bf8e4e2ba8b9118c695376cbb34c
10,644
py
Python
labs/lab12/lab12.py
QinJiaHao1994/cs61a-sp20-solutions
71a481bef5ce73a4c6ff746455ccc51dc65453ea
[ "MIT" ]
8
2020-07-28T11:10:49.000Z
2021-05-29T15:27:17.000Z
labs/lab12/lab12.py
QinJiaHao1994/cs61a-sp20-solutions
71a481bef5ce73a4c6ff746455ccc51dc65453ea
[ "MIT" ]
null
null
null
labs/lab12/lab12.py
QinJiaHao1994/cs61a-sp20-solutions
71a481bef5ce73a4c6ff746455ccc51dc65453ea
[ "MIT" ]
1
2020-10-23T08:15:08.000Z
2020-10-23T08:15:08.000Z
from operator import add, sub, mul def prune_min(t): """Prune the tree mutatively from the bottom up. >>> t1 = Tree(6) >>> prune_min(t1) >>> t1 Tree(6) >>> t2 = Tree(6, [Tree(3), Tree(4)]) >>> prune_min(t2) >>> t2 Tree(6, [Tree(3)]) >>> t3 = Tree(6, [Tree(3, [Tree(1), Tree(2)])...
26.346535
92
0.514468
1,461
10,644
3.685147
0.154004
0.011144
0.024517
0.011144
0.246657
0.16679
0.125186
0.08321
0.043462
0.03529
0
0.048484
0.327602
10,644
404
93
26.346535
0.703787
0.450864
0
0.212903
0
0
0.064601
0
0
0
0
0
0.012903
1
0.206452
false
0
0.006452
0.025806
0.490323
0.025806
0
0
0
null
0
0
0
0
0
0
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
7fd5198cbdb9cf4087823ccbff8a463a5b491908
563
py
Python
ppci/arch/mcs6500/registers.py
rakati/ppci-mirror
8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2
[ "BSD-2-Clause" ]
161
2020-05-31T03:29:42.000Z
2022-03-07T08:36:19.000Z
ppci/arch/mcs6500/registers.py
rakati/ppci-mirror
8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2
[ "BSD-2-Clause" ]
74
2020-05-26T18:05:48.000Z
2021-02-13T21:55:39.000Z
ppci/arch/mcs6500/registers.py
rakati/ppci-mirror
8f5b0282fd1122d7c389b39c86fcf5d9352b7bb2
[ "BSD-2-Clause" ]
19
2020-05-27T19:22:11.000Z
2022-02-17T18:53:52.000Z
from ..registers import Register, RegisterClass from ... import ir class Accumulator(Register): bitsize = 8 # TODO: hack, this is no register but a stack position! class Temporary(Register): """ On stack temporary """ bitsize = 8 A = Accumulator("A", num=0) r0 = Temporary("r0", 0) r1 = Temporary("r1...
17.060606
69
0.635879
76
563
4.697368
0.486842
0.044818
0
0
0
0
0
0
0
0
0
0.05618
0.209591
563
32
70
17.59375
0.746067
0.131439
0
0.111111
0
0
0.029046
0
0
0
0
0.03125
0
1
0
false
0
0.111111
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
1
0
0
0
0
0
0
0
0
0
0
1
7fdac1e5db687d979b3c0c4fd4c0e0913139a8b9
12,790
py
Python
src/panphylo/nexus.py
tresoldi/panphylo
58ee5f77f00db86f4b088c06401f9795d93ba9b8
[ "MIT" ]
null
null
null
src/panphylo/nexus.py
tresoldi/panphylo
58ee5f77f00db86f4b088c06401f9795d93ba9b8
[ "MIT" ]
9
2021-12-01T15:15:09.000Z
2021-12-07T18:32:51.000Z
src/panphylo/nexus.py
tresoldi/panphylo
58ee5f77f00db86f4b088c06401f9795d93ba9b8
[ "MIT" ]
null
null
null
""" Module with functions and methods for NEXUS files. Parsing and writing of NEXUS files is currently done with a very simple, string manipulation strategy. """ # TODO: allow to output taxa and character names between quotes, if necessary # TODO: sort using assumptions (charset) if provided # TODO: support comments ...
35.527778
94
0.545895
1,392
12,790
4.94181
0.208333
0.02355
0.022387
0.014246
0.176043
0.105975
0.088966
0.052915
0.034162
0.034162
0
0.003627
0.353245
12,790
359
95
35.626741
0.827974
0.290461
0
0.164319
0
0
0.098335
0.004418
0
0
0
0.019499
0
1
0.032864
false
0
0.028169
0
0.117371
0.004695
0
0
0
null
0
0
0
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
7feb3320774261799f4ca3da87650904ab996cde
1,313
py
Python
FLARE21/nnunet/get_flops.py
LeeBowang/FLARE21_MISEU
d905512e5f3330c0da44ba78dcedf4616ac4d6c4
[ "Apache-2.0" ]
null
null
null
FLARE21/nnunet/get_flops.py
LeeBowang/FLARE21_MISEU
d905512e5f3330c0da44ba78dcedf4616ac4d6c4
[ "Apache-2.0" ]
null
null
null
FLARE21/nnunet/get_flops.py
LeeBowang/FLARE21_MISEU
d905512e5f3330c0da44ba78dcedf4616ac4d6c4
[ "Apache-2.0" ]
null
null
null
import sys sys.path.append('..') import argparse from batchgenerators.utilities.file_and_folder_operations import * from nnunet.training.model_restore import load_model_and_checkpoint_files from fvcore.nn.flop_count import _DEFAULT_SUPPORTED_OPS, FlopCountAnalysis, flop_count import numpy as np import torch import os j...
43.766667
151
0.784463
190
1,313
5.131579
0.442105
0.064615
0.030769
0.045128
0.170256
0.114872
0.114872
0
0
0
0
0.016598
0.082254
1,313
29
152
45.275862
0.792531
0
0
0
0
0
0.253618
0.120335
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7fedd211c05c0be106abfce506cae7e8cde3f8dc
229
py
Python
iniciante/python/1930-tomadas.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
iniciante/python/1930-tomadas.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
iniciante/python/1930-tomadas.py
tfn10/beecrowd
1ebf19ca9a253eb326160f03145d20be33064969
[ "MIT" ]
null
null
null
def tomadas(): reguas = list(map(int, input().split())) t1 = reguas[0] t2 = reguas[1] t3 = reguas[2] t4 = reguas[3] numeros_de_aparelhos = t1 + t2 + t3 - 3 + t4 print(numeros_de_aparelhos) tomadas()
19.083333
48
0.580786
33
229
3.909091
0.606061
0.139535
0.27907
0
0
0
0
0
0
0
0
0.077381
0.266376
229
11
49
20.818182
0.690476
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.111111
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
7ff5846dc33a18bb1ab7c81e959e4f2931b10ff3
1,949
py
Python
aiovkbot/handlers.py
kephircheek/async-vkontakte-bot
4e60f7d8a7509123099ee4be9c3f31e6c3c5abbc
[ "MIT" ]
null
null
null
aiovkbot/handlers.py
kephircheek/async-vkontakte-bot
4e60f7d8a7509123099ee4be9c3f31e6c3c5abbc
[ "MIT" ]
null
null
null
aiovkbot/handlers.py
kephircheek/async-vkontakte-bot
4e60f7d8a7509123099ee4be9c3f31e6c3c5abbc
[ "MIT" ]
null
null
null
import re import json import asyncio import logging from functools import wraps from aiovkbot.errors import (PermissionDeniedError, InvalidCommandError, NotMatchPattern) def rename(name): def decorator(func): def wrapper(*args, **kwargs): return func(*a...
27.842857
93
0.624936
205
1,949
5.8
0.321951
0.067283
0.085786
0.070648
0.333053
0.254836
0.254836
0.153911
0.153911
0.153911
0
0
0.260133
1,949
69
94
28.246377
0.824549
0.061057
0
0.391304
0
0
0.137738
0
0
0
0
0
0
1
0.173913
false
0
0.152174
0.021739
0.565217
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
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
7ff5f0718d1aaadcc17f15d94a4b588edbffdf04
2,716
py
Python
python/ml4ir/base/config/keys.py
ducouloa/ml4ir
75aeecaff11682a7bd71c5521e59c449c43c3f9f
[ "Apache-2.0" ]
null
null
null
python/ml4ir/base/config/keys.py
ducouloa/ml4ir
75aeecaff11682a7bd71c5521e59c449c43c3f9f
[ "Apache-2.0" ]
null
null
null
python/ml4ir/base/config/keys.py
ducouloa/ml4ir
75aeecaff11682a7bd71c5521e59c449c43c3f9f
[ "Apache-2.0" ]
null
null
null
from tensorflow import saved_model class Key: """Base class for Keys""" @classmethod def get_all_keys(cls): keys = list() for attr in dir(cls): if not callable(getattr(cls, attr)): if not attr.startswith("__"): keys.append(cls.__dict__[attr]...
20.421053
59
0.650589
277
2,716
6.209386
0.382671
0.059302
0.038372
0.05407
0.078488
0.043605
0.043605
0
0
0
0
0.000963
0.235641
2,716
132
60
20.575758
0.827553
0.143962
0
0.027397
0
0
0.195643
0.021787
0
0
0
0
0
1
0.013699
false
0
0.013699
0
0.917808
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
7ff755e2de6f5532f411ef8917d2bc8bad42bc7f
697
py
Python
train.py
jchibane/if-net_texture
989ffdc9afc0296d92a55a7a1f155c1cc3e6e5e4
[ "Unlicense" ]
42
2020-09-24T12:28:14.000Z
2022-03-22T14:37:21.000Z
train.py
jchibane/if-net_texture
989ffdc9afc0296d92a55a7a1f155c1cc3e6e5e4
[ "Unlicense" ]
1
2021-05-25T03:03:42.000Z
2021-05-27T13:11:16.000Z
train.py
jchibane/if-net_texture
989ffdc9afc0296d92a55a7a1f155c1cc3e6e5e4
[ "Unlicense" ]
8
2020-10-10T07:56:52.000Z
2022-02-19T22:42:51.000Z
import models.local_model as model import models.dataloader as dataloader from models import training import argparse import torch import config.config_loader as cfg_loader parser = argparse.ArgumentParser( description='Train Model' ) parser.add_argument('config', type=str, help='Path to config file.') args = par...
26.807692
139
0.777618
93
697
5.688172
0.430108
0.045369
0.124764
0
0
0
0
0
0
0
0
0.006359
0.097561
697
25
140
27.88
0.834658
0
0
0
0
0
0.117647
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7ff9b4e06e40d8f6f2cd56fce7552dbb2a4c27bf
337
py
Python
gladier_kanzus/flows/__init__.py
globus-gladier/kanzus_client
6bb6189cadce52064b7b20e90ff028c84d29ce33
[ "MIT" ]
null
null
null
gladier_kanzus/flows/__init__.py
globus-gladier/kanzus_client
6bb6189cadce52064b7b20e90ff028c84d29ce33
[ "MIT" ]
1
2021-04-27T18:56:11.000Z
2021-04-27T18:56:11.000Z
gladier_kanzus/flows/__init__.py
globus-gladier/kanzus_client
6bb6189cadce52064b7b20e90ff028c84d29ce33
[ "MIT" ]
1
2021-04-21T22:01:02.000Z
2021-04-21T22:01:02.000Z
from .flow_data_transfer import TransferFlow from .flow_data_block_transfer import BlockTransferFlow from .flow_stills import StillsFlow from .flow_publish import PublishFlow from .flow_prime import PrimeFlow __all__ = ['TransferFlow', 'BlockTransferFlow', 'StillsFlow', 'PublishFlow', ...
22.466667
56
0.74184
34
337
7
0.441176
0.168067
0.10084
0
0
0
0
0
0
0
0
0
0.192878
337
14
57
24.071429
0.875
0
0
0
0
0
0.176647
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7ff9c61150c4bc43d7b3501cea7582f1f0744d4e
1,665
py
Python
client.py
Eris600/Pager
ec017efc36f422abc7cf32e545e74b534165bf49
[ "MIT" ]
2
2019-01-13T15:45:37.000Z
2019-01-14T11:54:58.000Z
client.py
Eris600/Pager
ec017efc36f422abc7cf32e545e74b534165bf49
[ "MIT" ]
null
null
null
client.py
Eris600/Pager
ec017efc36f422abc7cf32e545e74b534165bf49
[ "MIT" ]
null
null
null
#CLIENT import socket, threading, json class Client: def __init__(self): self._username = "User" self._serverHost = "127.0.0.1" self._port = 4500 self._socket = None print("Pager Client\n") self.loadConfig() self.connect() ...
20.8125
77
0.512312
154
1,665
5.38961
0.383117
0.060241
0.050602
0.060241
0
0
0
0
0
0
0
0.013592
0.381381
1,665
79
78
21.075949
0.792233
0.003604
0
0.22
0
0
0.070931
0
0
0
0
0
0
1
0.14
false
0.06
0.02
0
0.18
0.08
0
0
0
null
0
0
0
0
0
0
0
0
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
7ffa2684cefe47b792b23f2ce79c00e5fde056f8
7,512
py
Python
plugins/modules/oci_database_management_execution_plan_stats_comparision_facts.py
slmjy/oci-ansible-collection
349c91e2868bf4706a6e3d6fb3b47fc622bfe11b
[ "Apache-2.0" ]
108
2020-05-19T20:46:10.000Z
2022-03-25T14:10:01.000Z
plugins/modules/oci_database_management_execution_plan_stats_comparision_facts.py
slmjy/oci-ansible-collection
349c91e2868bf4706a6e3d6fb3b47fc622bfe11b
[ "Apache-2.0" ]
90
2020-06-14T22:07:11.000Z
2022-03-07T05:40:29.000Z
plugins/modules/oci_database_management_execution_plan_stats_comparision_facts.py
slmjy/oci-ansible-collection
349c91e2868bf4706a6e3d6fb3b47fc622bfe11b
[ "Apache-2.0" ]
42
2020-08-30T23:09:12.000Z
2022-03-25T16:58:01.000Z
#!/usr/bin/python # Copyright (c) 2020, 2021 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
33.686099
152
0.623669
824
7,512
5.461165
0.246359
0.022
0.034
0.042
0.493556
0.463333
0.430667
0.430667
0.357333
0.339111
0
0.005924
0.303381
7,512
222
153
33.837838
0.854003
0.054313
0
0.4
0
0.032432
0.66145
0.076142
0
0
0
0
0
1
0.016216
false
0.005405
0.032432
0.010811
0.07027
0.005405
0
0
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
3d0174e304ae2dd22d5f244e5cb221d897154d28
566
py
Python
yreweb/urls.py
splineclaw/yre
26c11d1f8cf6ad293379505da0aa8834987a3fd9
[ "MIT" ]
3
2018-07-16T13:55:45.000Z
2021-04-11T01:18:18.000Z
yreweb/urls.py
splineclaw/yre
26c11d1f8cf6ad293379505da0aa8834987a3fd9
[ "MIT" ]
1
2018-11-28T21:15:55.000Z
2018-11-28T21:15:55.000Z
yreweb/urls.py
splineclaw/yre
26c11d1f8cf6ad293379505da0aa8834987a3fd9
[ "MIT" ]
1
2020-05-04T15:43:42.000Z
2020-05-04T15:43:42.000Z
from django.urls import path from . import views urlpatterns = [ path('', views.index, name='index'), path('tuple/<int:source_id>/', views.similar_list, name='similar_list'), path('urls/<int:source_id>/', views.urls_list, name='urls_list'), path('<int:source_id>/', views.similar_pics, name='similar_pi...
35.375
76
0.669611
74
566
4.918919
0.256757
0.123626
0.151099
0.21978
0.263736
0
0
0
0
0
0
0
0.14311
566
15
77
37.733333
0.750515
0
0
0
0
0
0.332155
0.159011
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
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
3d083bd8ff3ac3129e73fde447de637ac1478c3e
975
py
Python
makahiki/apps/widgets/ask_admin/tests.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
1
2015-07-22T11:31:20.000Z
2015-07-22T11:31:20.000Z
makahiki/apps/widgets/ask_admin/tests.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
null
null
null
makahiki/apps/widgets/ask_admin/tests.py
justinslee/Wai-Not-Makahiki
4b7dd685012ec64758affe0ecee3103596d16aa7
[ "MIT" ]
null
null
null
""" ask admin tests. """ from django.test import TransactionTestCase from django.core.urlresolvers import reverse from apps.utils import test_utils class AskAdminFunctionalTests(TransactionTestCase): """AskAdmin test cases.""" def setUp(self): """setup""" self.user = test_utils.setup_user(us...
30.46875
87
0.622564
107
975
5.579439
0.570093
0.026801
0.067002
0.083752
0
0
0
0
0
0
0
0.013624
0.247179
975
31
88
31.451613
0.799728
0.219487
0
0
0
0
0.133519
0
0
0
0
0
0
1
0.142857
false
0.142857
0.214286
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
1
0
0
0
0
0
1
3d0bf60612944ee15f74090a83d73c5bc4f49aba
323
py
Python
conda_pack/__init__.py
mingwandroid/conda-pack
09d66ac278636e52816da30e38985bac3b00271f
[ "BSD-3-Clause" ]
null
null
null
conda_pack/__init__.py
mingwandroid/conda-pack
09d66ac278636e52816da30e38985bac3b00271f
[ "BSD-3-Clause" ]
null
null
null
conda_pack/__init__.py
mingwandroid/conda-pack
09d66ac278636e52816da30e38985bac3b00271f
[ "BSD-3-Clause" ]
null
null
null
from __future__ import print_function, absolute_import import sys import os sys.path.append(os.path.dirname(__file__)) __name__='conda_pack' from .core import CondaEnv, File, CondaPackException, pack from ._version import get_versions __version__ = get_versions()['version'] del get_versions from .cli import main main(...
23.071429
58
0.811146
45
323
5.311111
0.533333
0.138075
0.150628
0
0
0
0
0
0
0
0
0
0.105263
323
13
59
24.846154
0.82699
0
0
0
0
0
0.052795
0
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
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
3d1a7e7a1ea9460b519f16821dd29c779656e487
763
py
Python
opensfm/actions/compute_depthmaps.py
ashishd/OpenSfM
f66e51df7200fac676d8487499ebaf40e3de3e88
[ "BSD-2-Clause" ]
null
null
null
opensfm/actions/compute_depthmaps.py
ashishd/OpenSfM
f66e51df7200fac676d8487499ebaf40e3de3e88
[ "BSD-2-Clause" ]
null
null
null
opensfm/actions/compute_depthmaps.py
ashishd/OpenSfM
f66e51df7200fac676d8487499ebaf40e3de3e88
[ "BSD-2-Clause" ]
null
null
null
import os from opensfm import dataset from opensfm import dense from opensfm.dataset import DataSet def run_dataset(data: DataSet, subfolder, interactive) -> None: """Compute depthmap on a dataset with has SfM ran already. Args: subfolder: dataset's subfolder where to store results interacti...
33.173913
87
0.761468
92
763
6.163043
0.51087
0.058201
0.059965
0
0
0
0
0
0
0
0
0.00157
0.165138
763
22
88
34.681818
0.88854
0.226737
0
0
0
0
0.019435
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3d2a794fd23d604d65ffc72257bf4a84dfa4b501
3,820
py
Python
qlcoder/data_mining/topic_model/scripts/python/data_preprocessing_util.py
CheYulin/OJCodes
5fc1c3e86f31dd687a4e3110ee06a290c22396c5
[ "MIT" ]
1
2017-05-25T19:41:47.000Z
2017-05-25T19:41:47.000Z
qlcoder/data_mining/topic_model/scripts/python/data_preprocessing_util.py
CheYulin/OJCodes
5fc1c3e86f31dd687a4e3110ee06a290c22396c5
[ "MIT" ]
null
null
null
qlcoder/data_mining/topic_model/scripts/python/data_preprocessing_util.py
CheYulin/OJCodes
5fc1c3e86f31dd687a4e3110ee06a290c22396c5
[ "MIT" ]
null
null
null
# ~/anaconda2/bin/python # coding:utf-8 import os import re import jieba.analyse stop_words_set = {} stop_file_name = 'cn_stop_words.txt' res_output_file_name = 'output_whole_corpus.txt' res_output_all_words_file_name = 'output_all_words.txt' bad_info_file_name = 'output_bad_info.txt' def init_stop_words_set(file_...
30.07874
114
0.61466
552
3,820
3.889493
0.188406
0.074523
0.033535
0.031672
0.433163
0.390312
0.326968
0.225431
0.169539
0.101537
0
0.006126
0.27356
3,820
126
115
30.31746
0.767568
0.013351
0
0.226804
0
0
0.055777
0.006109
0.010309
0
0
0
0
0
null
null
0
0.030928
null
null
0.010309
0
0
0
null
0
0
0
0
0
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
3d2dd2f12bd3d94971513e754c6091b6c4d392f3
3,610
py
Python
erp/migrations/0033_auto_20200205_1625.py
Foohx/acceslibre
55135e096f2ec4e413ff991f01c17f5e0d5925c0
[ "MIT" ]
8
2020-07-23T08:17:28.000Z
2022-03-09T22:31:36.000Z
erp/migrations/0033_auto_20200205_1625.py
Foohx/acceslibre
55135e096f2ec4e413ff991f01c17f5e0d5925c0
[ "MIT" ]
37
2020-07-01T08:47:33.000Z
2022-02-03T19:50:58.000Z
erp/migrations/0033_auto_20200205_1625.py
Foohx/acceslibre
55135e096f2ec4e413ff991f01c17f5e0d5925c0
[ "MIT" ]
4
2021-04-08T10:57:18.000Z
2022-01-31T13:16:31.000Z
# Generated by Django 3.0.3 on 2020-02-05 15:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('erp', '0032_auto_20200205_1431'), ] operations = [ migrations.AlterModelOptions( name='cheminement', options={'verbo...
53.088235
505
0.659003
404
3,610
5.740099
0.311881
0.047434
0.089263
0.104787
0.413972
0.365675
0.308754
0.152652
0.087107
0.065977
0
0.013247
0.226316
3,610
67
506
53.880597
0.817043
0.012465
0
0.47541
1
0.016393
0.38984
0.049958
0
0
0
0
0
1
0
false
0.016393
0.016393
0
0.065574
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
3d2e3dcd1fb9d568b35ce4df5e1d25c94c9b2399
308
py
Python
sardine/cli/commands/stop.py
JavierLuna/sardine
5f1348752ac7db601eb2ddc6ff6106bcf9d6d0ec
[ "MIT" ]
null
null
null
sardine/cli/commands/stop.py
JavierLuna/sardine
5f1348752ac7db601eb2ddc6ff6106bcf9d6d0ec
[ "MIT" ]
null
null
null
sardine/cli/commands/stop.py
JavierLuna/sardine
5f1348752ac7db601eb2ddc6ff6106bcf9d6d0ec
[ "MIT" ]
null
null
null
from sardine.cli.commands.stack_specific import StackSpecificCommand from sardine.actions.stop_stack import StopStack class StopCommand(StackSpecificCommand): """ Stop a stack """ __command_name__ = 'stop' @classmethod def execute(cls, args): StopStack.execute(args.stack)
22
68
0.727273
33
308
6.575758
0.636364
0.101382
0
0
0
0
0
0
0
0
0
0
0.188312
308
13
69
23.692308
0.868
0.038961
0
0
0
0
0.014286
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3d2fb8b53f1fdf9bc94a02e5a4f697ea0f228399
269
py
Python
setup.py
nialloriordan/regression-tree-cart
0d596f8b57cb281ec73719f6e4d5e836cdb4627c
[ "MIT" ]
null
null
null
setup.py
nialloriordan/regression-tree-cart
0d596f8b57cb281ec73719f6e4d5e836cdb4627c
[ "MIT" ]
null
null
null
setup.py
nialloriordan/regression-tree-cart
0d596f8b57cb281ec73719f6e4d5e836cdb4627c
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='cart', version='1.0.0', description='cart-regression-trees', author='Niall O\'Riordan', packages=['cart'], # same as name install_requires=['pandas', 'numpy','sklearn'], # external packages as dependencies )
26.9
86
0.680297
33
269
5.515152
0.787879
0
0
0
0
0
0
0
0
0
0
0.013216
0.156134
269
10
87
26.9
0.788546
0.171004
0
0
0
0
0.271493
0.095023
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
3d309a2868999e5a9704afc0e64f0e363c832b5d
2,155
py
Python
django_basket/models/item.py
Cguilliman/django-basket
afe33f0c663e3da1d4e992b94344b10cf2182fbe
[ "MIT" ]
1
2021-03-14T14:28:45.000Z
2021-03-14T14:28:45.000Z
django_basket/models/item.py
Cguilliman/django-basket
afe33f0c663e3da1d4e992b94344b10cf2182fbe
[ "MIT" ]
null
null
null
django_basket/models/item.py
Cguilliman/django-basket
afe33f0c663e3da1d4e992b94344b10cf2182fbe
[ "MIT" ]
null
null
null
from typing import Union, List, Type from decimal import Decimal from django.core.exceptions import ImproperlyConfigured from django.db import models from django.utils.translation import ugettext_lazy as _ from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import Generic...
32.651515
76
0.666357
237
2,155
5.869198
0.383966
0.060388
0.034508
0.038821
0.120776
0.084831
0.084831
0.084831
0.084831
0.084831
0
0
0.261717
2,155
65
77
33.153846
0.874293
0.077494
0
0.08
0
0
0.038403
0
0
0
0
0.015385
0
1
0.06
false
0
0.18
0.02
0.44
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
3d30ff5fd0ad1075f865eca2a808033325805327
325
py
Python
posts/urls.py
33du/blogging-with-django
0bc1c3518d50a7d41fc638d9307425d39122d8c2
[ "MIT" ]
null
null
null
posts/urls.py
33du/blogging-with-django
0bc1c3518d50a7d41fc638d9307425d39122d8c2
[ "MIT" ]
null
null
null
posts/urls.py
33du/blogging-with-django
0bc1c3518d50a7d41fc638d9307425d39122d8c2
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'posts' urlpatterns = [ path('', views.index, name='index'), path('tag/<str:tag_name>/', views.index, name='index'), path('<int:post_id>/', views.post_detail, name='detail'), path('comment/delete/', views.delete_comment, name='delete comment'...
27.083333
73
0.664615
44
325
4.795455
0.431818
0.094787
0.132701
0.180095
0.218009
0
0
0
0
0
0
0
0.141538
325
11
74
29.545455
0.756272
0
0
0
0
0
0.255385
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
3d31b9b6a0c25e570f9158f845cf3f21bd04abbe
1,224
py
Python
test/basemount_interface_tests.py
menis/basespace-python3-sdk
04435fb6df8b37ee43264b28e95f708145fd927b
[ "Apache-2.0" ]
20
2015-01-04T03:45:25.000Z
2022-02-20T12:30:24.000Z
test/basemount_interface_tests.py
menis/basespace-python3-sdk
04435fb6df8b37ee43264b28e95f708145fd927b
[ "Apache-2.0" ]
17
2015-04-15T16:11:25.000Z
2021-07-28T00:38:35.000Z
test/basemount_interface_tests.py
menis/basespace-python3-sdk
04435fb6df8b37ee43264b28e95f708145fd927b
[ "Apache-2.0" ]
30
2015-02-13T18:28:13.000Z
2022-01-26T18:22:36.000Z
import os import unittest from BaseSpacePy.api.BaseMountInterface import BaseMountInterface, BaseMountInterfaceException def get_basemount_root(): import getpass username = getpass.getuser() config_name = "hoth" basemount_root = "/basespace" basemount_target = "%s.%s" % (username, config_name) ...
31.384615
94
0.72549
139
1,224
6.100719
0.388489
0.091981
0.084906
0.044811
0.115566
0
0
0
0
0
0
0.012821
0.171569
1,224
39
95
31.384615
0.823471
0
0
0
0
0
0.071837
0
0
0
0
0
0.16129
1
0.16129
false
0.096774
0.129032
0
0.354839
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
3d377e8ceebda84b2650edeaf3ad38bac5581092
2,168
py
Python
pylith/feassemble/obsolete/ElasticityImplicit.py
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
pylith/feassemble/obsolete/ElasticityImplicit.py
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
pylith/feassemble/obsolete/ElasticityImplicit.py
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
#!/usr/bin/env python # # ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # Charles A. Williams, GNS Science # Matthew G. Knepley, University of Chicago # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://ge...
27.1
78
0.638838
178
2,168
7.679775
0.544944
0.017557
0.068032
0.03365
0.178493
0.058522
0.058522
0
0
0
0
0.004301
0.142066
2,168
79
79
27.443038
0.730645
0.490314
0
0.142857
0
0
0.028543
0
0
0
0
0
0
1
0.190476
false
0
0.095238
0
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
3d3923f2d783df0c6c02667aec04a6fa591c223a
438
py
Python
djmoney/tests/settings.py
lpetrov/django-money
5febf2d759e2d311fdc89ab5bc30b2c5f111952a
[ "BSD-3-Clause" ]
1
2019-04-27T15:11:27.000Z
2019-04-27T15:11:27.000Z
djmoney/tests/settings.py
lpetrov/django-money
5febf2d759e2d311fdc89ab5bc30b2c5f111952a
[ "BSD-3-Clause" ]
null
null
null
djmoney/tests/settings.py
lpetrov/django-money
5febf2d759e2d311fdc89ab5bc30b2c5f111952a
[ "BSD-3-Clause" ]
null
null
null
import warnings DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', } } warnings.simplefilter('ignore', Warning) INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', '...
16.222222
47
0.623288
44
438
6.113636
0.772727
0.241636
0
0
0
0
0
0
0
0
0
0.005797
0.212329
438
26
48
16.846154
0.773913
0
0
0
0
0
0.446224
0.173913
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
3d3ea84925852adbb745f9e75f16d2235ca165b7
300
py
Python
klifs_utils/__init__.py
volkamerlab/klifs_utils
3cca66b449ea9999c2687f9b1321faca9b5aa63e
[ "MIT" ]
6
2020-06-23T14:44:25.000Z
2022-02-25T05:18:38.000Z
klifs_utils/__init__.py
hlzfoxcn/klifs_utils
d7fe549e8b66674444c19513af26d661ae157a47
[ "MIT" ]
11
2020-03-12T13:57:11.000Z
2021-09-17T18:20:33.000Z
klifs_utils/__init__.py
dominiquesydow/klifs_utils
3cca66b449ea9999c2687f9b1321faca9b5aa63e
[ "MIT" ]
3
2020-04-22T15:45:10.000Z
2021-01-04T03:30:48.000Z
""" klifs_utils Utility functions to work with KLIFS data """ # Add imports here from . import remote, local # Handle versioneer from ._version import get_versions versions = get_versions() __version__ = versions['version'] __git_revision__ = versions['full-revisionid'] del get_versions, versions
20
46
0.78
38
300
5.789474
0.657895
0.15
0.172727
0
0
0
0
0
0
0
0
0
0.133333
300
14
47
21.428571
0.846154
0.296667
0
0
0
0
0.108911
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3d43db8b7b5f2979188f18cfdd366b66442063e0
2,098
py
Python
pysnmp-with-texts/CNT2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CNT2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CNT2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CNT2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CNT2-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:25:15 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:1...
95.363636
505
0.755005
240
2,098
6.6
0.4
0.061869
0.066288
0.070707
0.45202
0.32702
0.32702
0.32702
0.313131
0.22601
0
0.087507
0.095806
2,098
21
506
99.904762
0.747496
0.14776
0
0
0
0
0.25801
0.024733
0
0
0
0
0
1
0
false
0
0.428571
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
3d443c3edbcbae7c90e45adef8fb858aff6bf6c1
3,523
py
Python
scripts/check-acl.py
nicmatth/APIC-EM-HelloWorldv3
c0645e6decf57dbd87c5a239b6fce36f3dcbef41
[ "Apache-2.0" ]
null
null
null
scripts/check-acl.py
nicmatth/APIC-EM-HelloWorldv3
c0645e6decf57dbd87c5a239b6fce36f3dcbef41
[ "Apache-2.0" ]
null
null
null
scripts/check-acl.py
nicmatth/APIC-EM-HelloWorldv3
c0645e6decf57dbd87c5a239b6fce36f3dcbef41
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # adam radford aradford@cisco.com # This is sample code only # Illustrates the use of the APIC-EM API import time import requests import json from apic import APIC_IP, APIC_PORT IP = "test-apic" BASE = "/api/v0" # how to make REST call to controller. Note need to set verify=False for SSL def re...
31.176991
87
0.554073
426
3,523
4.474178
0.377934
0.025708
0.020986
0.01469
0.089192
0.044071
0.044071
0.044071
0
0
0
0.039386
0.315356
3,523
112
88
31.455357
0.750829
0.292081
0
0.173077
0
0
0.128858
0
0
0
0
0
0
0
null
null
0.038462
0.076923
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
3d465ceb46d6ac34e5bbb5ce8ca384b67ca2fee7
11,360
py
Python
lib/enthought/traits/tests/test_ui5.py
mattfoster/matplotlib
0b47697b19b77226c633ec6a3d74a2199a153315
[ "PSF-2.0", "BSD-3-Clause" ]
1
2016-05-08T18:33:12.000Z
2016-05-08T18:33:12.000Z
lib/enthought/traits/tests/test_ui5.py
mattfoster/matplotlib
0b47697b19b77226c633ec6a3d74a2199a153315
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
lib/enthought/traits/tests/test_ui5.py
mattfoster/matplotlib
0b47697b19b77226c633ec6a3d74a2199a153315
[ "PSF-2.0", "BSD-3-Clause" ]
null
null
null
#------------------------------------------------------------------------------ # Copyright (c) 2005, Enthought, Inc. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in enthought/LICENSE.txt and may be redistributed only # under the conditions describ...
49.824561
105
0.297183
647
11,360
5.063369
0.367852
0.02442
0.013431
0.018315
0.113553
0.096459
0.057998
0.057998
0.057998
0.057998
0
0.025691
0.417518
11,360
227
106
50.044053
0.469397
0.251673
0
0.115646
0
0
0.219316
0.091964
0
0
0
0
0
1
0.020408
false
0
0.027211
0
0.244898
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d48a350df61bb13275141a57dcc277e26deea9b
400
py
Python
users/migrations/0020_auto_20200421_2146.py
tcy9bj/QuickTutor
23697306351faf95e7a31720564a23a1acf4deaa
[ "BSD-3-Clause" ]
null
null
null
users/migrations/0020_auto_20200421_2146.py
tcy9bj/QuickTutor
23697306351faf95e7a31720564a23a1acf4deaa
[ "BSD-3-Clause" ]
null
null
null
users/migrations/0020_auto_20200421_2146.py
tcy9bj/QuickTutor
23697306351faf95e7a31720564a23a1acf4deaa
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.2 on 2020-04-22 01:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0019_auto_20200421_2005'), ] operations = [ migrations.AlterField( model_name='comment', name='comment_text...
21.052632
59
0.6075
43
400
5.511628
0.790698
0.139241
0
0
0
0
0
0
0
0
0
0.107266
0.2775
400
18
60
22.222222
0.712803
0.1125
0
0
1
0
0.152975
0.065156
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
3d4c302b15347176253fbebc963284880144cb01
5,632
py
Python
tests/test_star_wars_connections.py
artofhuman/graphql-relay-py
514402e98ec3aee1949469e8133d0268d06975cf
[ "MIT" ]
124
2015-10-08T18:45:49.000Z
2022-02-15T01:51:28.000Z
tests/test_star_wars_connections.py
artofhuman/graphql-relay-py
514402e98ec3aee1949469e8133d0268d06975cf
[ "MIT" ]
40
2015-10-10T07:07:37.000Z
2022-01-28T13:54:20.000Z
tests/test_star_wars_connections.py
artofhuman/graphql-relay-py
514402e98ec3aee1949469e8133d0268d06975cf
[ "MIT" ]
35
2016-05-17T15:35:07.000Z
2022-01-25T07:24:08.000Z
from graphql import graphql_sync from .star_wars_schema import StarWarsSchema as schema def describe_star_wars_connections(): def fetches_the_first_ship_of_the_rebels(): source = """ { rebels { name, ships(first: 1) { edges { ...
29.333333
78
0.29723
292
5,632
5.554795
0.222603
0.083847
0.048089
0.080148
0.605425
0.536375
0.495068
0.47164
0.44328
0.410604
0
0.017086
0.605114
5,632
191
79
29.486911
0.71223
0
0
0.478261
0
0
0.457386
0.035689
0
0
0
0
0.027174
1
0.032609
false
0
0.01087
0
0.043478
0
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
3d4cf68ab2e13f1ec93eb54294cb9271fbc916bb
451
py
Python
blambda/show.py
balihoo/blambda
305e55a6c02ba99d2d6fa2086202442cfb4c1108
[ "MIT" ]
null
null
null
blambda/show.py
balihoo/blambda
305e55a6c02ba99d2d6fa2086202442cfb4c1108
[ "MIT" ]
2
2020-03-23T17:33:12.000Z
2021-06-29T10:32:35.000Z
blambda/show.py
balihoo/blambda
305e55a6c02ba99d2d6fa2086202442cfb4c1108
[ "MIT" ]
2
2017-10-03T21:40:35.000Z
2017-10-25T17:02:31.000Z
""" List local functions """ from .utils.findfunc import find_all_manifests from termcolor import colored # don't delete, this is necessary for the argparsing logic def setup_parser(parser): pass def run(args): manifests = find_all_manifests(".", verbose=(args.verbose > 1)) for m in manifests: ...
19.608696
67
0.645233
62
451
4.580645
0.645161
0.049296
0.112676
0
0
0
0
0
0
0
0
0.005797
0.235033
451
22
68
20.5
0.817391
0.172949
0
0
0
0
0.109589
0.057534
0
0
0
0
0
1
0.181818
false
0.090909
0.181818
0
0.363636
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3d4d6ff006e7051b5db7cef9e9f3e97c28e3b55b
1,973
py
Python
engine/data_sources/postgres/postgres_source.py
delftdata/valentine-system
07624fed956b89cf6c8be4d982b9b553624e1ade
[ "Apache-2.0" ]
3
2021-08-28T16:06:50.000Z
2022-03-25T22:33:34.000Z
engine/data_sources/postgres/postgres_source.py
delftdata/valentine-system
07624fed956b89cf6c8be4d982b9b553624e1ade
[ "Apache-2.0" ]
6
2021-06-08T09:49:48.000Z
2021-08-10T17:06:57.000Z
engine/data_sources/postgres/postgres_source.py
delftdata/valentine-system
07624fed956b89cf6c8be4d982b9b553624e1ade
[ "Apache-2.0" ]
null
null
null
import os from typing import Union, Dict, List from .postgres_database import PostgresDatabase from .postgres_table import PostgresTable from .postgres_utils import list_postgres_dbs, get_column_sample_from_postgres_table from ..base_db import BaseDB from ..base_source import BaseSource, GUIDMissing class PostgresSo...
41.104167
110
0.648758
251
1,973
4.729084
0.239044
0.060657
0.075821
0.060657
0.114575
0.053917
0
0
0
0
0
0.002046
0.256969
1,973
47
111
41.978723
0.80764
0
0
0.052632
0
0
0.073492
0.073492
0
0
0
0
0
1
0.157895
false
0.026316
0.184211
0.026316
0.526316
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
3d4f0d486265be08bb4e59061a4f53a6fd4662af
396
py
Python
app/config.py
MaxMorning/website
c7b026a2aaa0ab749dd1d94590189e3181c3a458
[ "MIT" ]
3
2020-12-03T05:24:21.000Z
2020-12-17T15:41:56.000Z
app/config.py
MaxMorning/website
c7b026a2aaa0ab749dd1d94590189e3181c3a458
[ "MIT" ]
2
2020-12-04T07:33:26.000Z
2020-12-21T01:11:43.000Z
app/config.py
MaxMorning/website
c7b026a2aaa0ab749dd1d94590189e3181c3a458
[ "MIT" ]
9
2020-12-03T05:30:04.000Z
2020-12-18T16:23:12.000Z
#flask DEBUG = True #session SECRET_KEY="1145141919810" #mysql DIQLECT = "mysql" DRIVER="pymysql" USERNAME = "root" PASSWORD = "root" # PASSWORD = "7410188xw" HOST = "127.0.0.1" PORT = "3306" DATABASE = "CSBIGHW" SQLALCHEMY_DATABASE_URI = "{}+{}://{}:{}@{}:{}/{}?charset=utf8".format(DIQLECT,DRIVER,US...
20.842105
124
0.676768
44
396
5.977273
0.704545
0.091255
0
0
0
0
0
0
0
0
0
0.091176
0.141414
396
18
125
22
0.682353
0.10101
0
0
0
0
0.263473
0.10479
0
0
0
0
0
1
0
false
0.181818
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
3d4fdb86c39c7c072cd22f176332105ad88cbdf0
6,774
py
Python
wam/sound.py
MikeDT/bdm-whack-a-mole
33b52008b2fae231b604c0af959df57e25dee61f
[ "MIT" ]
null
null
null
wam/sound.py
MikeDT/bdm-whack-a-mole
33b52008b2fae231b604c0af959df57e25dee61f
[ "MIT" ]
null
null
null
wam/sound.py
MikeDT/bdm-whack-a-mole
33b52008b2fae231b604c0af959df57e25dee61f
[ "MIT" ]
1
2021-09-26T14:12:20.000Z
2021-09-26T14:12:20.000Z
# -*- coding: utf-8 -*- """ sound module ============ This module contains the SoundEffect class for the pygame Whack a Mole game Attributes: handled within the SoundEffect class Todo: * sort out volumes Related projects: Adapted from initial toy project https://github.com/sonlexqt/whack-a-mole whic...
23.040816
78
0.530263
781
6,774
4.448143
0.185659
0.050662
0.067358
0.079159
0.396085
0.333621
0.259355
0.236039
0.217617
0.15544
0
0.00349
0.365515
6,774
293
79
23.119454
0.804793
0.456008
0
0.033333
0
0
0.059912
0.008444
0
0
0
0.003413
0
1
0.233333
false
0
0.05
0
0.3
0.016667
0
0
0
null
0
0
0
0
0
0
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
3d50b51c845bbda5266287d5dd5e1d0e303b67b5
6,833
py
Python
plugins/modules/oracle_stats_prefs.py
blaf-cgi/ansible-oracle-modules
37905c6ad91808a96f0085c9c1069e166f2e17b4
[ "MIT" ]
8
2020-08-11T04:21:24.000Z
2021-12-03T16:21:56.000Z
plugins/modules/oracle_stats_prefs.py
blaf-cgi/ansible-oracle-modules
37905c6ad91808a96f0085c9c1069e166f2e17b4
[ "MIT" ]
4
2021-03-13T09:09:28.000Z
2022-01-07T12:38:02.000Z
plugins/modules/oracle_stats_prefs.py
blaf-cgi/ansible-oracle-modules
37905c6ad91808a96f0085c9c1069e166f2e17b4
[ "MIT" ]
3
2021-03-16T13:48:57.000Z
2022-03-02T10:43:47.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' --- module: oracle_stats_prefs short_description: Manage DBMS_STATS global preferences description: - Manage DBMS_STATS global preferences - Can be run locally o...
33.009662
171
0.612469
811
6,833
4.960543
0.25894
0.04176
0.021874
0.016903
0.215262
0.176485
0.133731
0.110863
0.110863
0.051703
0
0.015176
0.286404
6,833
206
172
33.169903
0.809885
0.02605
0
0.215054
0
0.005376
0.573793
0.035354
0
0
0
0
0
1
0.005376
false
0.064516
0.021505
0
0.026882
0.005376
0
0
0
null
0
0
0
0
0
0
0
0
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
3d511d5fd33795b16a51018801557198aa569090
8,086
py
Python
chumpy/test_linalg.py
yinger650/chumpy
79b35c02ec28be94256460b33537210dd00500ee
[ "MIT" ]
null
null
null
chumpy/test_linalg.py
yinger650/chumpy
79b35c02ec28be94256460b33537210dd00500ee
[ "MIT" ]
null
null
null
chumpy/test_linalg.py
yinger650/chumpy
79b35c02ec28be94256460b33537210dd00500ee
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 """ Author(s): Matthew Loper See LICENCE.txt for licensing and contact information. """ import numpy as np import unittest from ch import Ch class TestLinalg(unittest.TestCase): def setUp(self): np.random.seed(0) def test_slogdet(self): import ch...
29.619048
102
0.541553
1,132
8,086
3.726148
0.144876
0.046468
0.026553
0.037933
0.504979
0.478663
0.401375
0.380986
0.3734
0.358227
0
0.044249
0.323646
8,086
272
103
29.727941
0.727007
0.086075
0
0.263158
0
0
0.009838
0
0
0
0
0.003676
0.105263
0
null
null
0
0.078947
null
null
0.013158
0
0
0
null
0
0
0
0
0
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
3d54a3db37dc127f4a970ea42d857b5c8a86c2e5
1,372
py
Python
Tests/Methods/Simulation/test_Electrical.py
mxgnsr/pyleecan
2b0a04e4ae67c073a91362ab42332908fef53bdd
[ "Apache-2.0" ]
null
null
null
Tests/Methods/Simulation/test_Electrical.py
mxgnsr/pyleecan
2b0a04e4ae67c073a91362ab42332908fef53bdd
[ "Apache-2.0" ]
null
null
null
Tests/Methods/Simulation/test_Electrical.py
mxgnsr/pyleecan
2b0a04e4ae67c073a91362ab42332908fef53bdd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import pytest from numpy import pi from os.path import join from pyleecan.Classes.LamSlotWind import LamSlotWind from pyleecan.Classes.SlotW11 import SlotW11 from pyleecan.Classes.WindingDW1L import WindingDW1L from pyleecan.Classes.CondType12 import CondType12 from pyleecan.Functions.load impo...
31.181818
62
0.730321
221
1,372
4.325792
0.271493
0.050209
0.079498
0.066946
0.346234
0.328452
0.263598
0.225941
0.225941
0
0
0.046916
0.161079
1,372
43
63
31.906977
0.783666
0.159621
0
0
0
0
0.016784
0
0
0
0
0
0.230769
1
0.153846
false
0
0.346154
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3d554554026f30bd93312bf8d2587b77da6cd2a3
1,979
py
Python
apps/blog/serializers.py
pavkozlov/blog_server
397cd974f120c7190285577f5933f3fa39de7c46
[ "MIT" ]
null
null
null
apps/blog/serializers.py
pavkozlov/blog_server
397cd974f120c7190285577f5933f3fa39de7c46
[ "MIT" ]
6
2020-06-05T20:43:22.000Z
2021-09-22T18:29:19.000Z
apps/blog/serializers.py
pavkozlov/blog_server
397cd974f120c7190285577f5933f3fa39de7c46
[ "MIT" ]
null
null
null
from rest_framework import serializers from apps.blog.models import Post, Tag, Category from django.contrib.auth import get_user_model class AuthorSerializer(serializers.ModelSerializer): count = serializers.SerializerMethodField() def get_count(self, *args): return Post.objects.filter(author=args[0]...
28.681159
81
0.668519
217
1,979
5.907834
0.331797
0.043682
0.046802
0.098284
0.301872
0.301872
0.24571
0.24571
0.24571
0.24571
0
0.001965
0.228398
1,979
68
82
29.102941
0.83759
0
0
0.254902
0
0
0.02476
0
0
0
0
0
0
1
0.078431
false
0
0.058824
0.058824
0.568627
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
3d5ff09b72d348f29bee5edd009246c5098b92a2
2,303
py
Python
idiotic/dispatch.py
idiotic/idiotic-legacy
f55bf74fda74e4cc791dd98d0743f074417e6cf7
[ "MIT" ]
null
null
null
idiotic/dispatch.py
idiotic/idiotic-legacy
f55bf74fda74e4cc791dd98d0743f074417e6cf7
[ "MIT" ]
null
null
null
idiotic/dispatch.py
idiotic/idiotic-legacy
f55bf74fda74e4cc791dd98d0743f074417e6cf7
[ "MIT" ]
null
null
null
from idiotic.utils import Filter from asyncio import coroutine, iscoroutine, iscoroutinefunction, Queue, QueueFull, get_event_loop try: # timeout is only on 3.5.2+ from asyncio import timeout except ImportError: # But aiohttp has the same thing already from aiohttp import Timeout as timeout import loggi...
34.893939
97
0.574034
262
2,303
4.973282
0.408397
0.055257
0.026094
0.023024
0.167306
0.136608
0.082886
0.082886
0.082886
0.082886
0
0.004537
0.330004
2,303
65
98
35.430769
0.839922
0.066435
0
0.153846
0
0
0.102098
0
0
0
0
0.015385
0
1
0.115385
false
0
0.134615
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e9e7981321f14fbcf679073af258a43c42705419
696
py
Python
Xana/ProcData/CbfMethods.py
ClLov/Xana
83d880432a457cff0f1fab2801e2530ddecb4019
[ "MIT" ]
null
null
null
Xana/ProcData/CbfMethods.py
ClLov/Xana
83d880432a457cff0f1fab2801e2530ddecb4019
[ "MIT" ]
null
null
null
Xana/ProcData/CbfMethods.py
ClLov/Xana
83d880432a457cff0f1fab2801e2530ddecb4019
[ "MIT" ]
null
null
null
from os.path import isfile import cbf #################################### #--- Standard cbf w/r functions ---# #################################### def loadcbf(filename): if isfile(filename): f = cbf.read(filename) return f.data else: print("file ", filename, " does not exist!") ...
23.2
56
0.530172
77
696
4.792208
0.402597
0.113821
0.105691
0.170732
0.560976
0.560976
0.471545
0.471545
0.471545
0.254743
0
0.003891
0.261494
696
29
57
24
0.714008
0.048851
0
0.5
0
0
0.113946
0
0
0
0
0
0
1
0.136364
false
0
0.090909
0
0.454545
0.136364
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
e9ec4d4d3af7ad0bafa39a2a9e046c105732f338
331
py
Python
structural/flyweight/logic/color_factory.py
Kozak24/Patterns
351d5c11f7c64ce5d58db37b6715fc8f7d31945a
[ "MIT" ]
null
null
null
structural/flyweight/logic/color_factory.py
Kozak24/Patterns
351d5c11f7c64ce5d58db37b6715fc8f7d31945a
[ "MIT" ]
null
null
null
structural/flyweight/logic/color_factory.py
Kozak24/Patterns
351d5c11f7c64ce5d58db37b6715fc8f7d31945a
[ "MIT" ]
null
null
null
from structural.flyweight.logic import Color class ColorFactory: _colors = {} def get_color(self, name: str, red: int, green: int, blue: int): color = self._colors.get(name) if color is None: color = Color(name, red, green, blue) self._colors[name] = color re...
22.066667
68
0.60423
42
331
4.666667
0.52381
0.091837
0
0
0
0
0
0
0
0
0
0
0.296073
331
14
69
23.642857
0.841202
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
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