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
01548d6f15f77e9951d92a5a899ba71f43de6d63
22,139
py
Python
twitter_feels/apps/map/models.py
michaelbrooks/twitter-feels
51dc00478f05841f3726edf5f7da7e0a46ae66e8
[ "MIT" ]
1
2017-02-15T10:55:26.000Z
2017-02-15T10:55:26.000Z
twitter_feels/apps/map/models.py
michaelbrooks/twitter-feels
51dc00478f05841f3726edf5f7da7e0a46ae66e8
[ "MIT" ]
null
null
null
twitter_feels/apps/map/models.py
michaelbrooks/twitter-feels
51dc00478f05841f3726edf5f7da7e0a46ae66e8
[ "MIT" ]
null
null
null
from django.core.exceptions import ObjectDoesNotExist from django.db import models, connection, transaction, IntegrityError, DatabaseError from django.utils import timezone import random from south.db.generic import DatabaseOperations from twitter_stream.fields import PositiveBigAutoField, PositiveBigAutoForeignKey f...
33.903522
133
0.610326
2,684
22,139
4.873696
0.165797
0.019953
0.011008
0.011008
0.30831
0.264735
0.214968
0.180414
0.173381
0.159315
0
0.008225
0.308008
22,139
652
134
33.955521
0.845627
0.111026
0
0.271768
0
0
0.197767
0.03104
0
0
0
0
0
0
null
null
0
0.036939
null
null
0.010554
0
0
0
null
0
0
0
0
0
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
017a88eb1bfe398442cd05fa2a373f9aafc5d5ae
719
py
Python
ch2/echoclient.py
cybaek/twisted-network-programming-essentials-2nd-edition-python3
9f787b2eb852b548bbf22eeafb622c0cf91fef70
[ "Unlicense" ]
null
null
null
ch2/echoclient.py
cybaek/twisted-network-programming-essentials-2nd-edition-python3
9f787b2eb852b548bbf22eeafb622c0cf91fef70
[ "Unlicense" ]
null
null
null
ch2/echoclient.py
cybaek/twisted-network-programming-essentials-2nd-edition-python3
9f787b2eb852b548bbf22eeafb622c0cf91fef70
[ "Unlicense" ]
null
null
null
from twisted.internet import reactor, protocol class EchoClient(protocol.Protocol): def connectionMade(self): self.transport.write(u'Hello, world!'.encode('utf-8')) def dataReceived(self, data): print("Server said: ", data.decode('utf-8')) self.transport.loseConnection() class EchoF...
25.678571
62
0.684284
74
719
6.648649
0.594595
0.052846
0.077236
0.097561
0
0
0
0
0
0
0
0.010327
0.191933
719
27
63
26.62963
0.836489
0
0
0.111111
0
0
0.116829
0
0
0
0
0
0
1
0.277778
false
0
0.055556
0.055556
0.5
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
017bbe214ae8bf7c0e0ca6cf9544c5d14642ca2d
570
py
Python
setup.py
imposeren/pynames
6928af52d77ed51b57386fea2a6f9ec3e1a3ce80
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
setup.py
imposeren/pynames
6928af52d77ed51b57386fea2a6f9ec3e1a3ce80
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
setup.py
imposeren/pynames
6928af52d77ed51b57386fea2a6f9ec3e1a3ce80
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# coding: utf-8 import setuptools setuptools.setup( name = 'Pynames', version = '0.1.0', author = 'Aleksey Yeletsky', author_email = 'a.eletsky@gmail.com', packages = setuptools.find_packages(), url = 'https://github.com/Tiendil/pynames', license = 'LICENSE', description = "characters' ...
30
67
0.649123
63
570
5.746032
0.793651
0.060773
0
0
0
0
0
0
0
0
0
0.008734
0.196491
570
18
68
31.666667
0.781659
0.140351
0
0
0
0
0.302469
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
01800d61472a0f24b71f1d87b3504cec7ad80f9c
826
py
Python
setup.py
DahlitzFlorian/python-color-changer
9b1fec73d08271af0f0685bc290952f269449037
[ "MIT" ]
3
2020-03-19T11:09:16.000Z
2021-07-29T06:37:36.000Z
setup.py
DahlitzFlorian/python-color-changer
9b1fec73d08271af0f0685bc290952f269449037
[ "MIT" ]
null
null
null
setup.py
DahlitzFlorian/python-color-changer
9b1fec73d08271af0f0685bc290952f269449037
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='color-changer', version='1.0.5', packages=['colorchanger', ], license='MIT', description='Reads in an image and swap specified colors ', long_description=open('README.rst').read(), author='Florian Dahlitz', author_email='f2dahlitz@freenet.de', ...
31.769231
65
0.622276
87
826
5.873563
0.724138
0.093933
0.146771
0.152642
0
0
0
0
0
0
0
0.017323
0.231235
826
26
66
31.769231
0.787402
0
0
0.08
0
0
0.542926
0
0
0
0
0
0
1
0
true
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0185709a3bdda8e450f5c350205669c7ddfe0dd0
358
py
Python
Extra Exercises/hello.py
luizpavanello/python_udacity
6411af82db8123e5b6b731c5a3bced2c31dc2c57
[ "MIT" ]
null
null
null
Extra Exercises/hello.py
luizpavanello/python_udacity
6411af82db8123e5b6b731c5a3bced2c31dc2c57
[ "MIT" ]
null
null
null
Extra Exercises/hello.py
luizpavanello/python_udacity
6411af82db8123e5b6b731c5a3bced2c31dc2c57
[ "MIT" ]
null
null
null
# This program says hello and asks for my name print('Hello, world!') print('What is your name? ') # ask for their name myName = input() print(f'It is good to meet you, {myName}!') print(f'The length of your name is: {len(myName)}') print('What is your age?') #ask for their age myAge = input() print('You will be ' +...
27.538462
59
0.659218
64
358
3.6875
0.59375
0.076271
0.09322
0.127119
0
0
0
0
0
0
0
0.003425
0.184358
358
12
60
29.833333
0.804795
0.223464
0
0
0
0
0.532847
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
0
0
0
0
0
0
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
018dfbd0a31e1c0354dc623415558118d576ac9d
788
py
Python
tests/types/test_nullable.py
rfloriano/preggy
6226ea4a1ff8614aee97d60fb3193149e834a555
[ "Unlicense", "MIT" ]
10
2015-02-26T13:37:08.000Z
2020-04-08T14:11:27.000Z
tests/types/test_nullable.py
rfloriano/preggy
6226ea4a1ff8614aee97d60fb3193149e834a555
[ "Unlicense", "MIT" ]
9
2015-03-02T16:04:04.000Z
2021-04-20T17:47:00.000Z
tests/types/test_nullable.py
rfloriano/preggy
6226ea4a1ff8614aee97d60fb3193149e834a555
[ "Unlicense", "MIT" ]
5
2015-02-05T15:59:48.000Z
2020-03-18T14:28:11.000Z
# -*- coding: utf-8 -*- # preggy assertions # https://github.com/heynemann/preggy # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2013 Bernardo Heynemann heynemann@gmail.com from preggy import expect #----------------------------------------------------------------...
22.514286
78
0.61802
97
788
4.824742
0.474227
0.059829
0.119658
0.094017
0.49359
0.438034
0.438034
0.438034
0.438034
0.438034
0
0.00774
0.180203
788
34
79
23.176471
0.716718
0.366751
0
0.5
0
0
0.181263
0
0
0
0
0
0.25
1
0.125
true
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0192865d048d471da2ae4bfa3d99f79e922e9e4c
1,784
py
Python
tests/test_utils_dataset_info_is_valid.py
jic-dtool/dtool_lookup_server
fc5ed28504eafb4e5d1f279897eb722f7a929b12
[ "MIT" ]
4
2021-11-03T21:55:21.000Z
2022-02-25T14:22:07.000Z
tests/test_utils_dataset_info_is_valid.py
jic-dtool/dtool_lookup_server
fc5ed28504eafb4e5d1f279897eb722f7a929b12
[ "MIT" ]
19
2018-08-14T12:37:05.000Z
2022-02-23T21:32:37.000Z
tests/test_utils_dataset_info_is_valid.py
jic-dtool/dtool_lookup_server
fc5ed28504eafb4e5d1f279897eb722f7a929b12
[ "MIT" ]
3
2020-03-09T13:47:06.000Z
2021-11-19T23:18:47.000Z
"""Test dtool_lookup_server.utils.dataset_info_is_valid helper function.""" # Minimum data required to register a dataset. INFO = { "uuid": "af6727bf-29c7-43dd-b42f-a5d7ede28337", "type": "dataset", "uri": "file:///tmp/a_dataset", "name": "my-dataset", "readme": {"description": "test dataset"}, ...
28.774194
75
0.710762
246
1,784
4.747967
0.317073
0.160103
0.144692
0.200342
0.57363
0.57363
0.52911
0.40411
0.40411
0.40411
0
0.033807
0.170964
1,784
61
76
29.245902
0.755916
0.064462
0
0.309524
0
0
0.197234
0.048106
0
0
0
0
0.119048
1
0.119048
false
0
0.119048
0
0.238095
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
0196df8c39902475dbb725b1000be2f9f2998c5f
180,278
py
Python
External/astrometry.net/astrometry/python/pyfits/NA_pyfits.py
simonct/CoreAstro
eafd0aea314c427da616e1707a49aaeaf5ea6991
[ "OML" ]
3
2015-08-29T06:56:58.000Z
2016-11-15T10:35:59.000Z
External/astrometry.net/astrometry/python/pyfits/NA_pyfits.py
simonct/CoreAstro
eafd0aea314c427da616e1707a49aaeaf5ea6991
[ "OML" ]
null
null
null
External/astrometry.net/astrometry/python/pyfits/NA_pyfits.py
simonct/CoreAstro
eafd0aea314c427da616e1707a49aaeaf5ea6991
[ "OML" ]
null
null
null
#!/usr/bin/env python # $Id: NA_pyfits.py 329 2007-07-06 13:11:54Z jtaylor2 $ """ A module for reading and writing FITS files and manipulating their contents. A module for reading and writing Flexible Image Transport System (FITS) files. This file format was endorsed by the International Astronomical Union in 1999 ...
36.207672
178
0.540798
21,326
180,278
4.424974
0.069868
0.014306
0.003688
0.006061
0.292528
0.22368
0.180974
0.148569
0.127682
0.110823
0
0.009047
0.353166
180,278
4,978
179
36.214946
0.800206
0.083654
0
0.332004
0
0.001329
0.087505
0.003089
0
0
0
0
0
0
null
null
0.007644
0.00565
null
null
0.007976
0
0
0
null
0
0
0
0
0
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
0198d20e0fad9e61f7480c0ead4b23d0c56b5212
507
py
Python
setup.py
EhwaZoom/bpgen
ed8d8ebd064a0905b744897e76eb4ca3c8af1a1b
[ "Apache-2.0" ]
null
null
null
setup.py
EhwaZoom/bpgen
ed8d8ebd064a0905b744897e76eb4ca3c8af1a1b
[ "Apache-2.0" ]
null
null
null
setup.py
EhwaZoom/bpgen
ed8d8ebd064a0905b744897e76eb4ca3c8af1a1b
[ "Apache-2.0" ]
null
null
null
import setuptools setuptools.setup( name = 'bpgen', version = '0.1.0', description = 'Boilerplate generator.', url = 'https://github.com/EhwaZoom/bpgen', author = 'EhwaZoom', author_email = 'ehwazoom@gmail.com', maintainer = 'EhwaZ...
29.823529
59
0.550296
45
507
6.088889
0.6
0.094891
0.131387
0.153285
0
0
0
0
0
0
0
0.008696
0.319527
507
17
60
29.823529
0.785507
0
0
0
0
0
0.301181
0.041339
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0199d59afb38f37f9978680d623062f08e13096f
1,264
py
Python
HW3/HW3_1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW3/HW3_1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW3/HW3_1.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
6
2022-02-22T22:30:49.000Z
2022-03-28T12:51:19.000Z
zen_of_P = """Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules. Although practicality...
29.395349
67
0.734177
204
1,264
4.441176
0.465686
0.0883
0.092715
0.039735
0.056291
0
0
0
0
0
0
0
0.178006
1,264
42
68
30.095238
0.871992
0
0
0
0
0
0.742857
0
0
0
0
0
0
1
0
false
0.03125
0
0
0
0.15625
0
0
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
6d6ab23fa3c6b34b2e16f4a03f42476c1a66a228
4,678
py
Python
saintBioutils/utilities/file_io/get_paths.py
HobnobMancer/saintBioutils
fa14bf83d75cb4afebfa214011d24fccfeef447e
[ "MIT" ]
1
2021-11-05T13:38:53.000Z
2021-11-05T13:38:53.000Z
saintBioutils/utilities/file_io/get_paths.py
HobnobMancer/saintBioutils
fa14bf83d75cb4afebfa214011d24fccfeef447e
[ "MIT" ]
null
null
null
saintBioutils/utilities/file_io/get_paths.py
HobnobMancer/saintBioutils
fa14bf83d75cb4afebfa214011d24fccfeef447e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # (c) University of St Andrews 2020-2021 # (c) University of Strathclyde 2020-2021 # (c) James Hutton Institute 2020-2021 # # Author: # Emma E. M. Hobbs # # Contact # eemh1@st-andrews.ac.uk # # Emma E. M. Hobbs, # Biomolecular Sciences Building, # University ...
36.834646
90
0.659684
649
4,678
4.696456
0.269646
0.025262
0.045932
0.036745
0.586614
0.586614
0.586614
0.582021
0.567585
0.567585
0
0.008905
0.27982
4,678
126
91
37.126984
0.895815
0.496152
0
0.808511
0
0
0
0
0
0
0
0
0
1
0.042553
false
0
0.021277
0
0.106383
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d7438735f245da8f054e2e2623b0af6d15d0ea5
1,096
py
Python
src/skmultiflow/core/base_object.py
lckr/scikit-multiflow
5b9737792707511d9596d7f414830499fd4ca2eb
[ "BSD-3-Clause" ]
null
null
null
src/skmultiflow/core/base_object.py
lckr/scikit-multiflow
5b9737792707511d9596d7f414830499fd4ca2eb
[ "BSD-3-Clause" ]
null
null
null
src/skmultiflow/core/base_object.py
lckr/scikit-multiflow
5b9737792707511d9596d7f414830499fd4ca2eb
[ "BSD-3-Clause" ]
null
null
null
from abc import ABCMeta, abstractmethod class BaseObject(metaclass=ABCMeta): """ BaseObject The most basic object, from which target_values in scikit-multiflow derive from. It guarantees that all target_values have at least the two basic functions described in this base class. """ @...
25.488372
73
0.60219
123
1,096
5.243902
0.512195
0.055814
0.062016
0
0
0
0
0
0
0
0
0
0.342153
1,096
42
74
26.095238
0.894591
0.559307
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
6d75f22e8771f9382031ea226685d0bf5454192c
607
py
Python
1.py
Time2003/lr7
b47edaf11ced014022764b6c5edef34e4c107c0b
[ "MIT" ]
null
null
null
1.py
Time2003/lr7
b47edaf11ced014022764b6c5edef34e4c107c0b
[ "MIT" ]
null
null
null
1.py
Time2003/lr7
b47edaf11ced014022764b6c5edef34e4c107c0b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Ввести список А из 10 элементов, найти разность положительных элементов кратных 11, их # количество и вывести результаты на экран. if __name__ == '__main__': lst = [0] * 10 count = 0 dif = 0 b = 0 for i in range(10): print("Введите", i+1, "элемент") ...
31.947368
118
0.571664
91
607
3.725275
0.505495
0.070796
0.176991
0.218289
0.230089
0
0
0
0
0
0
0.060948
0.270181
607
19
118
31.947368
0.704289
0.283361
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0
0
0
0.133333
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
6d770d1f38d4b245cbe6e5e585a874e6cbe4ad2a
615
py
Python
ppln/filterCallNoCall.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
4
2017-08-11T21:02:35.000Z
2020-10-29T19:49:41.000Z
ppln/filterCallNoCall.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
null
null
null
ppln/filterCallNoCall.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
2
2017-08-18T19:40:10.000Z
2017-08-19T03:43:07.000Z
''' ''' import sys from sets import Set sys.path.insert(0, '/nethome/asalomatov/projects/ppln') import logProc if len(sys.argv) == 1: print 'Usage:' print sys.argv[0], 'input.bed', 'output.bed', 'logdir', 'filter1', 'filter2', 'filter3' N = 4 inf, outf, outdir = sys.argv[1:N] fltrs = sys.argv[N:] print fltrs...
21.964286
91
0.590244
93
615
3.903226
0.548387
0.077135
0.044077
0.132231
0.14876
0
0
0
0
0
0
0.018868
0.22439
615
27
92
22.777778
0.742138
0
0
0
0
0
0.176277
0.054366
0
0
0
0
0
0
null
null
0
0.15
null
null
0.15
0
0
0
null
0
0
0
0
0
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
6d777a2192cb236e7700dcf55134af4ce77f87be
8,415
py
Python
tacker_horizon/openstack_dashboard/dashboards/nfv/vnffgmanager/tables.py
grechny/tacker-horizon
11858ec4b94e3e99ae38381f3be4276371c8de53
[ "Apache-2.0" ]
null
null
null
tacker_horizon/openstack_dashboard/dashboards/nfv/vnffgmanager/tables.py
grechny/tacker-horizon
11858ec4b94e3e99ae38381f3be4276371c8de53
[ "Apache-2.0" ]
null
null
null
tacker_horizon/openstack_dashboard/dashboards/nfv/vnffgmanager/tables.py
grechny/tacker-horizon
11858ec4b94e3e99ae38381f3be4276371c8de53
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
40.263158
75
0.546762
827
8,415
5.395405
0.227328
0.083371
0.127745
0.168086
0.374496
0.343568
0.343568
0.343568
0.123263
0.026894
0
0.002433
0.365062
8,415
208
76
40.456731
0.832678
0.07249
0
0.103659
0
0
0.246727
0.008601
0
0
0
0.004808
0
1
0.054878
false
0
0.054878
0.018293
0.280488
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
6d77b1c7117bbc4af994f1658cc3fb1a2ef34940
508
py
Python
we_guitar/urls.py
guoshijiang/we_guitar
94cc544d061c8cc366df60fe516e89c3e06a899f
[ "MulanPSL-1.0" ]
2
2022-01-22T14:27:06.000Z
2022-03-09T14:51:03.000Z
we_guitar/urls.py
gingernet/we_guitar
94cc544d061c8cc366df60fe516e89c3e06a899f
[ "MulanPSL-1.0" ]
null
null
null
we_guitar/urls.py
gingernet/we_guitar
94cc544d061c8cc366df60fe516e89c3e06a899f
[ "MulanPSL-1.0" ]
2
2022-01-22T10:09:06.000Z
2022-01-23T12:35:36.000Z
#encoding=utf-8 from django.contrib import admin from django.urls import path, re_path, include from django.conf import settings from django.conf.urls.static import static from django.views.static import serve urlpatterns = [ path('admin/', admin.site.urls), path('', include('blog.urls')), path('ueditor/...
29.882353
83
0.728346
69
508
5.26087
0.391304
0.137741
0.077135
0
0
0
0
0
0
0
0
0.002232
0.11811
508
16
84
31.75
0.808036
0.027559
0
0
0
0
0.150407
0
0
0
0
0
0
1
0
false
0
0.454545
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
6d9b9495b8c22580c85e71f0449a9295365beed9
2,975
py
Python
kernel_pm_acc.py
owensgroup/ml_perf_model
f74fb3ce9194f759a7ecbde3a384abf262088829
[ "BSD-3-Clause" ]
null
null
null
kernel_pm_acc.py
owensgroup/ml_perf_model
f74fb3ce9194f759a7ecbde3a384abf262088829
[ "BSD-3-Clause" ]
3
2022-02-03T00:00:19.000Z
2022-02-04T08:51:25.000Z
kernel_pm_acc.py
owensgroup/ml_perf_model
f74fb3ce9194f759a7ecbde3a384abf262088829
[ "BSD-3-Clause" ]
null
null
null
# BSD 3-Clause License # # Copyright (c) 2021, The Regents of the University of California, Davis # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain ...
47.983871
124
0.679664
392
2,975
5.061224
0.456633
0.033266
0.012097
0.023185
0.112903
0.068548
0.068548
0.068548
0.068548
0.068548
0
0.004419
0.239328
2,975
61
125
48.770492
0.872293
0.530084
0
0.071429
0
0
0.18654
0
0
0
0
0
0
1
0
false
0.107143
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
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
6da5b6dce484b2b66300a3c4f3d407e759718546
2,408
py
Python
mygmm.py
DaiLisen/Eye-gaze-Point-Detection-Modified-sec-
06d728289d24e57fcdd99e34c47f492363f18154
[ "BSD-2-Clause" ]
null
null
null
mygmm.py
DaiLisen/Eye-gaze-Point-Detection-Modified-sec-
06d728289d24e57fcdd99e34c47f492363f18154
[ "BSD-2-Clause" ]
null
null
null
mygmm.py
DaiLisen/Eye-gaze-Point-Detection-Modified-sec-
06d728289d24e57fcdd99e34c47f492363f18154
[ "BSD-2-Clause" ]
null
null
null
import numpy as np def gaussian(x,mu,sigma): temp = -np.square(x-mu)/(2*sigma) return np.exp(temp)/(np.sqrt(2.0*np.pi*sigma)) # sigma = sigma^2 def e_step(data, phais, mus, sigmas): Qs = [] for i in xrange(len(data)): q = [phai*gaussian(data[i],mu,sigma) for phai,mu,sigma in zip(phais,mus,sigmas...
37.046154
88
0.539867
418
2,408
3.052632
0.162679
0.094044
0.164577
0.075235
0.492947
0.449843
0.430251
0.410658
0.410658
0.410658
0
0.043911
0.290698
2,408
65
89
37.046154
0.703162
0.216362
0
0
0
0
0.004276
0
0
0
0
0
0
0
null
null
0
0.02
null
null
0.04
0
0
0
null
0
0
0
0
0
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
6dac0d6abce5ff131893be1861646c41f3f5a04f
12,244
py
Python
UMLRT2Kiltera_MM/transformation_reduced/Himesis/HExitPoint2BProcDef_WhetherOrNotExitPtHasOutgoingTrans.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
3
2017-06-02T19:26:27.000Z
2021-06-14T04:25:45.000Z
UMLRT2Kiltera_MM/transformation_reduced/Himesis/HExitPoint2BProcDef_WhetherOrNotExitPtHasOutgoingTrans.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
8
2016-08-24T07:04:07.000Z
2017-05-26T16:22:47.000Z
UMLRT2Kiltera_MM/transformation_reduced/Himesis/HExitPoint2BProcDef_WhetherOrNotExitPtHasOutgoingTrans.py
levilucio/SyVOLT
7526ec794d21565e3efcc925a7b08ae8db27d46a
[ "MIT" ]
1
2019-10-31T06:00:23.000Z
2019-10-31T06:00:23.000Z
from core.himesis import Himesis import cPickle as pickle from uuid import UUID class HExitPoint2BProcDef_WhetherOrNotExitPtHasOutgoingTrans(Himesis): def __init__(self): """ Creates the himesis graph representing the AToM3 model HExitPoint2BProcDef_WhetherOrNotExitPtHasOutgoingTrans. """...
56.165138
688
0.54345
1,516
12,244
4.189974
0.325198
0.178526
0.026448
0.030227
0.06738
0
0
0
0
0
0
0.194012
0.198056
12,244
217
689
56.423963
0.452897
0.01707
0
0
0
0
0.374594
0.203832
0.009852
0
0
0
0
1
0.004926
false
0
0.014778
0
0.024631
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
6daed1cd850e1f6b2ddc04e1115f8efb1e401267
3,647
py
Python
cs15211/KEmptySlots.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2021-07-05T01:53:30.000Z
2021-07-05T01:53:30.000Z
cs15211/KEmptySlots.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
null
null
null
cs15211/KEmptySlots.py
JulyKikuAkita/PythonPrac
0ba027d9b8bc7c80bc89ce2da3543ce7a49a403c
[ "Apache-2.0" ]
1
2018-01-08T07:14:08.000Z
2018-01-08T07:14:08.000Z
__source__ = 'https://leetcode.com/problems/k-empty-slots/' # Time: O() # Space: O() # # Description: Leetcode # 683. K Empty Slots # #There is a garden with N slots. In each slot, there is a flower. The N flowers will bloom one by one in N days. # In each day, there will be exactly one flower blooming and it will be ...
31.991228
113
0.608445
550
3,647
4.007273
0.330909
0.016334
0.014973
0.014973
0.165608
0.122051
0.106171
0.07441
0.07441
0
0
0.021341
0.280505
3,647
114
114
31.991228
0.818598
0.301618
0
0.136364
0
0.090909
0.896648
0.021947
0
0
0
0
0.015152
1
0.015152
false
0.015152
0.015152
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6db05da8b07c743e5c256e103abaacd5b86f7852
2,209
py
Python
app/wda.py
shucheng-ai/WDA-web-server
6709c2558c7262ba832c2b2401bc9b6d3a706b92
[ "Apache-2.0" ]
null
null
null
app/wda.py
shucheng-ai/WDA-web-server
6709c2558c7262ba832c2b2401bc9b6d3a706b92
[ "Apache-2.0" ]
null
null
null
app/wda.py
shucheng-ai/WDA-web-server
6709c2558c7262ba832c2b2401bc9b6d3a706b92
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # coding:utf-8 """ 配置 wda-auth && wda-cloud """ import datetime from config import DEPLOY, AUTH_DB_HOST, AUTH_DB_PORT, AUTH_DB_USERNAME, AUTH_DB_PASSWORD, DB_HOST, DB_PORT, \ DB_USERNAME, DB_PASSWORD if DEPLOY == 1: from wda_decorators.wda import WDA as WDA_AUTH from wda_model.wda_mo...
24.820225
110
0.598914
260
2,209
4.761538
0.238462
0.043619
0.025848
0.029079
0.358643
0.213247
0.213247
0.098546
0.098546
0.098546
0
0.004614
0.313264
2,209
88
111
25.102273
0.81147
0.026709
0
0.234375
0
0
0.01588
0
0
0
0
0
0
1
0.125
false
0.0625
0.0625
0.0625
0.296875
0
0
0
0
null
0
0
0
0
0
0
0
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
6db49c76eb681f586b5b9d4012d9b23dee4f7cab
457
py
Python
my_site/migrations/0013_auto_20181018_1820.py
sch841466053/web
8253c79a1e6d332b626700c11236ebc4f4baffd3
[ "MIT" ]
null
null
null
my_site/migrations/0013_auto_20181018_1820.py
sch841466053/web
8253c79a1e6d332b626700c11236ebc4f4baffd3
[ "MIT" ]
1
2021-06-10T20:56:20.000Z
2021-06-10T20:56:20.000Z
my_site/migrations/0013_auto_20181018_1820.py
sch841466053/web
8253c79a1e6d332b626700c11236ebc4f4baffd3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2018-10-18 10:20 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('my_site', '0012_comments_time'), ] operations = [ migrations.AlterField( ...
21.761905
61
0.61488
52
457
5.211538
0.769231
0
0
0
0
0
0
0
0
0
0
0.068452
0.26477
457
20
62
22.85
0.738095
0.148797
0
0
1
0
0.095855
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6db80d91c6167abf8be41cefeb582050e34ab1c0
396
py
Python
early_projects/test_prefixes.py
JSBCCA/pythoncode
b7f2af8b0efc2d01d3e4568265eb3a5038a8679f
[ "MIT" ]
null
null
null
early_projects/test_prefixes.py
JSBCCA/pythoncode
b7f2af8b0efc2d01d3e4568265eb3a5038a8679f
[ "MIT" ]
null
null
null
early_projects/test_prefixes.py
JSBCCA/pythoncode
b7f2af8b0efc2d01d3e4568265eb3a5038a8679f
[ "MIT" ]
null
null
null
import unittest import prefixes class TestPrefixes(unittest.TestCase): """Tests prefixes.""" def test_above_freezing_above(self): """Test a temperature that is above freezing.""" expected = True actual = temperature.above_freezing(5.2) self.assertEqual(expected, actual, ...
22
62
0.646465
42
396
6
0.571429
0.206349
0.119048
0
0
0
0
0
0
0
0
0.006803
0.257576
396
17
63
23.294118
0.85034
0.146465
0
0
0
0
0.103976
0
0
0
0
0
0.111111
1
0.111111
false
0
0.222222
0
0.444444
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
6dbbc21e6254c64921a315d612c8117b906c5393
836
py
Python
jurassic-journalists/classes.py
HypoT/code-jam-6
6529f7810ada47f9179aa71750387b8f259b7b33
[ "MIT" ]
76
2020-01-17T12:09:48.000Z
2022-03-26T19:17:26.000Z
jurassic-journalists/classes.py
1nf1del/code-jam-6
a7eb3b1256ae113c93f0337892c667768e8bc199
[ "MIT" ]
17
2020-01-21T23:13:34.000Z
2020-02-07T00:07:04.000Z
jurassic-journalists/classes.py
1nf1del/code-jam-6
a7eb3b1256ae113c93f0337892c667768e8bc199
[ "MIT" ]
91
2020-01-17T12:01:06.000Z
2022-03-22T20:38:59.000Z
from PIL import ImageFont class Letter: """ letter class- each letter is one of these objects, and is rendered in order. """ def __init__(self,char,size,font,color = (255,255,255,255),b=False,i=False,u=False): """ char: character. size: size of letter. font: PIL truetype font obj...
33.44
88
0.586124
118
836
4.110169
0.508475
0.049485
0.037113
0
0
0
0
0
0
0
0
0.02418
0.307416
836
24
89
34.833333
0.813472
0.409091
0
0
0
0
0
0
0
0
0
0.041667
0
1
0.166667
false
0
0.083333
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
6dc785b2cac3403b1197212c5d4fa1fdd1e39314
6,281
py
Python
multi_tenant/tenant/models/tenant.py
AnsGoo/djangoMultiTenant
5e4eeffc70edd3a4936d1a0cadbc29388f5673f5
[ "MIT" ]
1
2022-01-26T06:52:36.000Z
2022-01-26T06:52:36.000Z
multi_tenant/tenant/models/tenant.py
AnsGoo/djangoMultiTenant
5e4eeffc70edd3a4936d1a0cadbc29388f5673f5
[ "MIT" ]
null
null
null
multi_tenant/tenant/models/tenant.py
AnsGoo/djangoMultiTenant
5e4eeffc70edd3a4936d1a0cadbc29388f5673f5
[ "MIT" ]
null
null
null
from datetime import datetime from typing import Dict, Tuple from django.db import models from multi_tenant.tenant.utils.pycrypt import crypt from multi_tenant.const import DEFAULT_DB_ENGINE_MAP from django.conf import settings DAFAULT_DB = settings.DATABASES['default'] class TenantManager(models.Manager): def ...
35.891429
122
0.62697
725
6,281
5.217931
0.204138
0.028549
0.028549
0.033307
0.292625
0.233941
0.193762
0.126619
0.066349
0.053397
0
0.004573
0.268906
6,281
175
123
35.891429
0.819251
0
0
0.170213
0
0
0.113817
0.034225
0
0
0
0
0
1
0.12766
false
0.113475
0.049645
0.049645
0.411348
0
0
0
0
null
0
0
0
0
0
0
0
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
6dcc0a5648b9e4a56da32a26727bd8a6a830236b
4,319
py
Python
Python/Weather Station.py
KaushikNeelichetty/IoT-Based-Weather-Station-with-Raspberry-Pi
e3dcd55395dad750f5949ba3e9ceeee4b3428f90
[ "MIT" ]
3
2021-01-04T14:41:07.000Z
2021-04-18T23:03:07.000Z
Python/Weather Station.py
KaushikNeelichetty/IoT-Based-Weather-Station-with-Raspberry-Pi
e3dcd55395dad750f5949ba3e9ceeee4b3428f90
[ "MIT" ]
null
null
null
Python/Weather Station.py
KaushikNeelichetty/IoT-Based-Weather-Station-with-Raspberry-Pi
e3dcd55395dad750f5949ba3e9ceeee4b3428f90
[ "MIT" ]
3
2020-05-21T02:34:15.000Z
2022-03-31T21:20:21.000Z
import urllib2, urllib #The libraries needed for the POST Request import sys # Importing the sys python package import Adafruit_BMP.BMP085 as BMP085 #Importing the package needed for the BMP Sensor import Adafruit_DHT #Importing the package needed for the DHT Sensor import serial#for interfacing with GPS module as ...
41.528846
251
0.714517
620
4,319
4.959677
0.324194
0.043902
0.007805
0.019512
0.171057
0.149594
0.099512
0.07935
0.04878
0.04878
0
0.036629
0.159296
4,319
103
252
41.932039
0.810245
0.374855
0
0.133333
0
0
0.161479
0
0
0
0
0
0
0
null
null
0
0.088889
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6dd2604571f18494121ba8729a2202eeb0228072
380
py
Python
make.py
skandupmanyu/facet
545ade531ecfa617bad346ebef12955afa876cca
[ "Apache-2.0" ]
37
2021-01-12T08:06:45.000Z
2022-02-02T02:32:25.000Z
make.py
skandupmanyu/facet
545ade531ecfa617bad346ebef12955afa876cca
[ "Apache-2.0" ]
13
2021-01-20T13:03:13.000Z
2022-03-04T15:44:58.000Z
make.py
skandupmanyu/facet
545ade531ecfa617bad346ebef12955afa876cca
[ "Apache-2.0" ]
4
2021-01-31T16:14:24.000Z
2022-03-14T08:20:08.000Z
#!/usr/bin/env python3 """ call the Python make file for the common conda build process residing in 'pytools' """ import os import sys SCRIPT_DIR = os.path.abspath(os.path.dirname(__file__)) PYTOOLS_DIR = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir, "pytools")) sys.path.insert(0, PYTOOLS_DIR) # noinspection P...
22.352941
82
0.768421
59
380
4.779661
0.559322
0.085106
0.078014
0.113475
0.156028
0.156028
0
0
0
0
0
0.005952
0.115789
380
16
83
23.75
0.833333
0.368421
0
0
0
0
0.030303
0
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
6ddc0ab84ec69c79c66827fbcd3a3858a380c966
774
py
Python
backend/src/baserow/contrib/database/migrations/0061_change_decimal_places.py
ashishdhngr/baserow
b098678d2165eb7c42930ee24dc6753a3cb520c3
[ "MIT" ]
null
null
null
backend/src/baserow/contrib/database/migrations/0061_change_decimal_places.py
ashishdhngr/baserow
b098678d2165eb7c42930ee24dc6753a3cb520c3
[ "MIT" ]
null
null
null
backend/src/baserow/contrib/database/migrations/0061_change_decimal_places.py
ashishdhngr/baserow
b098678d2165eb7c42930ee24dc6753a3cb520c3
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2022-02-14 13:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("database", "0060_set_ordering_on_tablewebhook_models"), ] operations = [ migrations.AlterField( model_name="numberfield", ...
25.8
74
0.449612
73
774
4.643836
0.739726
0.011799
0
0
0
0
0
0
0
0
0
0.106095
0.427649
774
29
75
26.689655
0.659142
0.05814
0
0.086957
1
0
0.207703
0.083906
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6dddd91c46da2814d85ee3268fe67b1b6c6126b4
3,775
py
Python
job/sample_postgres_aws_sqs_job.py
Wonong/ab-metadata-publisher
3454751a385248d6a647c7476c3d940e1c40ab1e
[ "Apache-2.0" ]
1
2020-12-22T09:41:26.000Z
2020-12-22T09:41:26.000Z
job/sample_postgres_aws_sqs_job.py
Wonong/ab-metadata-publisher
3454751a385248d6a647c7476c3d940e1c40ab1e
[ "Apache-2.0" ]
1
2021-01-13T20:06:22.000Z
2021-01-19T13:11:02.000Z
job/sample_postgres_aws_sqs_job.py
Wonong/ab-metadata-pusher
3454751a385248d6a647c7476c3d940e1c40ab1e
[ "Apache-2.0" ]
null
null
null
import textwrap import logging import logging.config import os from pyhocon import ConfigFactory from databuilder.extractor.postgres_metadata_extractor import PostgresMetadataExtractor from databuilder.extractor.sql_alchemy_extractor import SQLAlchemyExtractor from databuilder.loader.file_system_neo4j_csv_loader impor...
44.940476
115
0.749934
464
3,775
5.698276
0.258621
0.059002
0.030635
0.064675
0.284796
0.18646
0.151664
0.121407
0.121407
0.047655
0
0.004017
0.142781
3,775
83
116
45.481928
0.813041
0.041589
0
0.059701
0
0
0.229726
0.111542
0
0
0
0.012048
0
1
0.014925
false
0.029851
0.179104
0
0.208955
0
0
0
0
null
0
0
0
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
6dec697adc1af6bcbc92722bdd2ebfa96b6ec6d6
2,756
py
Python
e3nn/util/codegen/_mixin.py
simonbatzner/e3nn
9f5e336d5443d26a04d37162c10eb851beb0f5c5
[ "MIT" ]
null
null
null
e3nn/util/codegen/_mixin.py
simonbatzner/e3nn
9f5e336d5443d26a04d37162c10eb851beb0f5c5
[ "MIT" ]
null
null
null
e3nn/util/codegen/_mixin.py
simonbatzner/e3nn
9f5e336d5443d26a04d37162c10eb851beb0f5c5
[ "MIT" ]
null
null
null
from typing import Dict from ._eval import eval_code class CodeGenMixin: """Mixin for classes that dynamically generate some of their methods. This class manages evaluating generated code for subclasses while remaining pickle/deepcopy compatible. If subclasses need to override ``__getstate__``/``__setstate_...
39.942029
242
0.627721
323
2,756
5.024768
0.405573
0.067776
0.051756
0.018484
0.135551
0.10228
0.10228
0.10228
0.10228
0.10228
0
0.00051
0.288824
2,756
68
243
40.529412
0.827551
0.434325
0
0.157895
1
0
0.053306
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ded2f164ab51e8a210439c76d0134569101599f
669
py
Python
mysite/calls/migrations/0001_initial.py
gurupratap-matharu/django-calls-registration-app
6c2c8f06c2dc8559b1fbb60c9f843c5c0dc11524
[ "MIT" ]
null
null
null
mysite/calls/migrations/0001_initial.py
gurupratap-matharu/django-calls-registration-app
6c2c8f06c2dc8559b1fbb60c9f843c5c0dc11524
[ "MIT" ]
4
2021-04-08T20:34:00.000Z
2021-09-22T19:41:24.000Z
mysite/calls/migrations/0001_initial.py
gurupratap-matharu/django-calls-registration-app
6c2c8f06c2dc8559b1fbb60c9f843c5c0dc11524
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-01-29 23:48 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Call', fields=[ ('id', models.AutoField(aut...
29.086957
151
0.584454
71
669
5.408451
0.732394
0.041667
0
0
0
0
0
0
0
0
0
0.032454
0.263079
669
22
152
30.409091
0.74645
0.067265
0
0
1
0
0.139871
0
0
0
0
0
0
1
0
false
0
0.066667
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
6deec7e423f94a515ac8096f3c6c6d264a921ae9
6,572
py
Python
src/rgbw_colorspace_converter/randomcolor.py
fossabot/rgbw_colorspace_converter
0ce4eb7e978d5940ba3f9df15fbb6188f0f17849
[ "MIT" ]
null
null
null
src/rgbw_colorspace_converter/randomcolor.py
fossabot/rgbw_colorspace_converter
0ce4eb7e978d5940ba3f9df15fbb6188f0f17849
[ "MIT" ]
null
null
null
src/rgbw_colorspace_converter/randomcolor.py
fossabot/rgbw_colorspace_converter
0ce4eb7e978d5940ba3f9df15fbb6188f0f17849
[ "MIT" ]
null
null
null
""" randomColor.py Python translation of randomColor.js http://llllll.li/randomColor/ https://github.com/davidmerfield/randomColor randomColor generates attractive colors by default. More specifically, it produces bright colors with a reasonably high saturation. c = random_color() print c.rgb You can also s...
22.740484
92
0.485697
806
6,572
3.810174
0.24938
0.050147
0.025399
0.037121
0.157603
0.085314
0.050798
0.027353
0.027353
0.027353
0
0.09421
0.379793
6,572
288
93
22.819444
0.659225
0.190962
0
0.120419
1
0
0.061953
0
0
0
0
0
0
1
0.062827
false
0
0.026178
0
0.183246
0.005236
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
6dfacaac601f5e62d3f702aedfc14d369fcc951b
2,726
py
Python
src/python/ch07/sec08.py
zhuyuanxiang/Dive-into-Deep-Learning
1237dfe2744aaa1cd42a83961b9516c01b960b83
[ "MIT" ]
null
null
null
src/python/ch07/sec08.py
zhuyuanxiang/Dive-into-Deep-Learning
1237dfe2744aaa1cd42a83961b9516c01b960b83
[ "MIT" ]
null
null
null
src/python/ch07/sec08.py
zhuyuanxiang/Dive-into-Deep-Learning
1237dfe2744aaa1cd42a83961b9516c01b960b83
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ @Author : zYx.Tom @Contact : 526614962@qq.com @site : https://zhuyuanxiang.github.io --------------------------- @Software : PyCharm @Project : Dive-into-Deep-Learning @File : sec0202.py @Version : v0.1 @Time : 2020-12-27 9:25 @License ...
35.402597
88
0.5719
391
2,726
3.792839
0.386189
0.012138
0.028321
0.00944
0.052596
0.041807
0.041807
0.041807
0.041807
0.041807
0
0.048334
0.218269
2,726
76
89
35.868421
0.647583
0.488995
0
0.09375
0
0
0.024123
0
0
0
0
0
0
1
0.09375
false
0.09375
0.21875
0
0.34375
0
0
0
0
null
0
0
0
0
0
0
0
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
6dff0bed6dd991da3dccd9cae4f330e35c387fe0
4,763
py
Python
kaffepause/conftest.py
Eirsteir/kaffepause
77535f057e68d575831e3a44f36285ab2fe621d4
[ "MIT" ]
null
null
null
kaffepause/conftest.py
Eirsteir/kaffepause
77535f057e68d575831e3a44f36285ab2fe621d4
[ "MIT" ]
2
2022-02-28T21:04:22.000Z
2022-03-01T21:05:37.000Z
kaffepause/conftest.py
Eirsteir/kaffepause
77535f057e68d575831e3a44f36285ab2fe621d4
[ "MIT" ]
null
null
null
from __future__ import print_function import os import warnings import pytest from graphene_django.utils.testing import graphql_query from graphql_jwt.settings import jwt_settings from graphql_jwt.shortcuts import get_token from neo4j.exceptions import ClientError as CypherError from neobolt.exceptions import ClientE...
34.514493
140
0.661978
580
4,763
5.318966
0.343103
0.029498
0.032415
0.038898
0.251864
0.191896
0.151053
0.151053
0.151053
0.151053
0
0.010399
0.252992
4,763
137
141
34.766423
0.856661
0.17468
0
0.247423
0
0
0.265669
0.052618
0
0
0
0
0
1
0.103093
false
0.051546
0.14433
0.041237
0.319588
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
0
0
0
1
0
0
0
0
0
1
a3075c636437ca2efc723b97f5b98f31a6eb6584
8,176
py
Python
common/hil_slurm_client.py
mghpcc-projects/user_level_slurm_reservations
eae56588bb00abfe043714317a27481e036fcc29
[ "MIT" ]
null
null
null
common/hil_slurm_client.py
mghpcc-projects/user_level_slurm_reservations
eae56588bb00abfe043714317a27481e036fcc29
[ "MIT" ]
11
2017-09-14T17:21:31.000Z
2021-06-01T21:48:47.000Z
common/hil_slurm_client.py
mghpcc-projects/user_level_slurm_reservations
eae56588bb00abfe043714317a27481e036fcc29
[ "MIT" ]
3
2017-08-16T13:54:40.000Z
2018-01-10T19:26:59.000Z
""" MassOpenCloud / Hardware Isolation Layer (MOC/HIL) HIL Client Interface August 2017, Tim Donahue tdonahue@mit.edu """ import urllib import time from hil.client.client import Client, RequestsHTTPClient from hil.client.base import FailedAPICallException from hil_slurm_logging import log_info, log_debug, log_erro...
36.663677
129
0.653498
1,092
8,176
4.764652
0.196886
0.053623
0.032481
0.022871
0.47857
0.417259
0.306362
0.282145
0.270229
0.238708
0
0.002685
0.271282
8,176
222
130
36.828829
0.870594
0.125856
0
0.414634
0
0
0.177839
0
0
0
0
0
0
0
null
null
0
0.04878
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
09642d9039fe99bda2f3e3c59bee31bb43a867fb
356
py
Python
Course/models.py
Viet782000/CourseAPITest
9a5e2b6b84b1293572d7549c908b649ba684864d
[ "MIT" ]
null
null
null
Course/models.py
Viet782000/CourseAPITest
9a5e2b6b84b1293572d7549c908b649ba684864d
[ "MIT" ]
null
null
null
Course/models.py
Viet782000/CourseAPITest
9a5e2b6b84b1293572d7549c908b649ba684864d
[ "MIT" ]
null
null
null
from django.db import models class Course(models.Model): created = models.DateTimeField(auto_now_add=True) title = models.CharField(max_length=100, blank=True, default='') content = models.TextField() owner = models.ForeignKey('auth.User', related_name='Course', on_delete=models.CASCADE) class M...
27.384615
91
0.707865
44
356
5.613636
0.772727
0
0
0
0
0
0
0
0
0
0
0.010101
0.16573
356
12
92
29.666667
0.821549
0
0
0
0
0
0.061798
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
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
0964bb31a899d2d5adcf2ff1fbbe64c8085b10ce
2,322
py
Python
mll_calc/htc_prep.py
opotowsky/like-me-fuel
34b533550e8e97ad14dde93da5dde9aa87988ab1
[ "MIT" ]
null
null
null
mll_calc/htc_prep.py
opotowsky/like-me-fuel
34b533550e8e97ad14dde93da5dde9aa87988ab1
[ "MIT" ]
null
null
null
mll_calc/htc_prep.py
opotowsky/like-me-fuel
34b533550e8e97ad14dde93da5dde9aa87988ab1
[ "MIT" ]
1
2022-01-25T04:13:01.000Z
2022-01-25T04:13:01.000Z
#! /usr/bin/env python3 import sys import csv import argparse import numpy as np import pandas as pd from mll_calc.all_jobs import parent_jobs, kid_jobs def row_calcs(ext_test): if 'no' in ext_test: #db_rows = 450240 #max_jobs = 9750 db_rows = 90048 * 4 max_jobs = 978 * 4 else:...
33.652174
90
0.549096
317
2,322
3.722397
0.350158
0.045763
0.023729
0.037288
0.083051
0.083051
0
0
0
0
0
0.021454
0.277347
2,322
68
91
34.147059
0.681764
0.111972
0
0.081633
0
0
0.086699
0
0
0
0
0.014706
0
1
0.061224
false
0
0.122449
0
0.244898
0.020408
0
0
0
null
0
0
0
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
097031e34019e16a489f2c1e0c132bd257bfe811
4,656
py
Python
Working/Raycasting/vf.py
mm-wang/metashape
19272b26199b84173ac187f2265f873ca92aeb53
[ "MIT" ]
4
2017-10-21T15:12:50.000Z
2020-03-25T02:54:13.000Z
Working/Raycasting/vf.py
mm-wang/metashape
19272b26199b84173ac187f2265f873ca92aeb53
[ "MIT" ]
6
2017-10-21T15:05:40.000Z
2017-10-24T00:36:27.000Z
Working/Raycasting/vf.py
mm-wang/metashape
19272b26199b84173ac187f2265f873ca92aeb53
[ "MIT" ]
2
2017-10-23T02:38:52.000Z
2021-12-08T17:46:12.000Z
import rhinoscriptsyntax as rs import Rhino as rc import scriptcontext as sc #import ghpythonlib as gh import Grasshopper as gh """ Calculate View Factor """ class ViewFactor(object): def __init__(self): self.sphere_nested = [] self.cpt = [] self.bound_nested = [] self.bld_num = No...
35.007519
100
0.602878
640
4,656
4.15
0.196875
0.055346
0.033886
0.036145
0.212726
0.182605
0.129142
0.096009
0.096009
0.096009
0
0.006989
0.29317
4,656
132
101
35.272727
0.800061
0.092998
0
0.045977
0
0
0.003709
0
0
0
0
0
0
0
null
null
0
0.045977
null
null
0.045977
0
0
0
null
0
0
0
0
0
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
0970867d7f94d5c8296cb4fb873b127d02e318c7
532
py
Python
example_app/tutorial/urls.py
mr-aliraza/django-rest-swagger
7d176eb781e60152a93b0eeb118a4fae2af427dc
[ "BSD-2-Clause" ]
null
null
null
example_app/tutorial/urls.py
mr-aliraza/django-rest-swagger
7d176eb781e60152a93b0eeb118a4fae2af427dc
[ "BSD-2-Clause" ]
2
2021-12-09T19:42:38.000Z
2022-03-17T22:27:03.000Z
example_app/tutorial/urls.py
mr-aliraza/django-rest-swagger
7d176eb781e60152a93b0eeb118a4fae2af427dc
[ "BSD-2-Clause" ]
null
null
null
from django.urls import re_path, include from rest_framework.routers import DefaultRouter from rest_framework_swagger.views import get_swagger_view from snippets import views router = DefaultRouter() router.register(r'snippets', views.SnippetViewSet) router.register(r'users', views.UserViewSet) schema_view = get_sw...
28
86
0.772556
71
532
5.577465
0.394366
0.060606
0.085859
0
0
0
0
0
0
0
0
0
0.105263
532
18
87
29.555556
0.831933
0
0
0
0
0
0.133459
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
097c5d92c3711da3082d2629a65bf1e28e76fbbd
1,244
py
Python
monte_carlo.py
WillSkywalker/2048_monte_carlo
b61e4192300ceb0ebd6f825694430b6fe0eae837
[ "Apache-2.0" ]
1
2015-02-22T15:44:06.000Z
2015-02-22T15:44:06.000Z
monte_carlo.py
WillSkywalker/2048_monte_carlo
b61e4192300ceb0ebd6f825694430b6fe0eae837
[ "Apache-2.0" ]
null
null
null
monte_carlo.py
WillSkywalker/2048_monte_carlo
b61e4192300ceb0ebd6f825694430b6fe0eae837
[ "Apache-2.0" ]
null
null
null
"""Algorithm for simulating a 2048 game using Monte-Carlo method.""" import random, _2048 SIMULATE_TIMES = 100000 DIRECTIONS = ('UP', 'DOWN', 'LEFT', 'RIGHT') def simulate_to_end(game): while game.get_state(): dircts = list(DIRECTIONS) for i in xrange(3): c = random.choice(dircts) ...
23.923077
68
0.589228
153
1,244
4.633987
0.398693
0.042313
0.036671
0.03385
0
0
0
0
0
0
0
0.025552
0.307878
1,244
52
69
23.923077
0.797909
0
0
0.046512
0
0
0.019541
0
0
0
0
0
0
0
null
null
0
0.023256
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
098211e3e2b992c12a08c98eb56375fb9d422b0a
1,143
py
Python
Longest_Absolute_File_Path.py
thydeyx/LeetCode-Python
03296dfa37910ef13b0726bde5e757b52f1590d7
[ "MIT" ]
1
2017-05-21T04:28:37.000Z
2017-05-21T04:28:37.000Z
Longest_Absolute_File_Path.py
thydeyx/LeetCode-Python
03296dfa37910ef13b0726bde5e757b52f1590d7
[ "MIT" ]
null
null
null
Longest_Absolute_File_Path.py
thydeyx/LeetCode-Python
03296dfa37910ef13b0726bde5e757b52f1590d7
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # # Author : TangHanYi # E-mail : thydeyx@163.com # Create Date : 2017-01-06 07:09:38 PM # Last modified : 2017-01-06 07:34:29 PM # File Name : Longest_Absolute_File_Path.py # Desc : class Solution(object): def lengthLongestPath(self, inp): tmp = '' ...
24.847826
50
0.376203
126
1,143
3.325397
0.492063
0.038186
0.038186
0.047733
0
0
0
0
0
0
0
0.075993
0.493438
1,143
45
51
25.4
0.647668
0.190726
0
0.212121
0
0
0.058952
0.042576
0
0
0
0
0
0
null
null
0
0
null
null
0.060606
0
0
0
null
0
0
0
0
0
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
0984c1ab70dce8e9c10aee3bf1b47ac50265af7e
1,705
py
Python
DjangoFiles/Customers/migrations/0002_create_tenant_public.py
Nasjoe/Django-Tenant-Example
5f89bf6e474a153da5faaf42b3ed7c01f20c5042
[ "MIT" ]
null
null
null
DjangoFiles/Customers/migrations/0002_create_tenant_public.py
Nasjoe/Django-Tenant-Example
5f89bf6e474a153da5faaf42b3ed7c01f20c5042
[ "MIT" ]
null
null
null
DjangoFiles/Customers/migrations/0002_create_tenant_public.py
Nasjoe/Django-Tenant-Example
5f89bf6e474a153da5faaf42b3ed7c01f20c5042
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2021-06-08 10:08 import os from django.db import migrations def create_premier_tenant(apps, schema_editor): # We can't import the Person model directly as it may be a newer # version than this migration expects. We use the historical version. Client = apps.get_model('Custom...
36.276596
89
0.542522
178
1,705
4.988764
0.460674
0.081081
0.064189
0.060811
0.259009
0.213964
0
0
0
0
0
0.029163
0.37654
1,705
46
90
37.065217
0.806209
0.126686
0
0.064516
1
0
0.065364
0
0
0
0
0
0
1
0.064516
false
0
0.064516
0
0.258065
0
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
0987394aa2f031a6780f3b8a6a98e710c9444782
1,943
py
Python
sample.py
hondasports/awsSample
8909d346db3aeec46b4f9ae279664c96d91bcb6e
[ "MIT" ]
null
null
null
sample.py
hondasports/awsSample
8909d346db3aeec46b4f9ae279664c96d91bcb6e
[ "MIT" ]
null
null
null
sample.py
hondasports/awsSample
8909d346db3aeec46b4f9ae279664c96d91bcb6e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import botocore import boto3 import io from datetime import datetime import s3Uploader # Refs : https://boto3.readthedocs.io/en/latest/reference/services/s3.html s3 = boto3.client('s3') def main(): # [追加する時] # バケットがなければ作成 # あればそれを使う。 # ファイルの重複チェック # 重複していれば、削除し更新 # 重...
25.565789
89
0.611426
210
1,943
5.571429
0.414286
0.068376
0.068376
0.109402
0.389744
0.349573
0.349573
0.349573
0.338462
0.266667
0
0.013459
0.235203
1,943
76
90
25.565789
0.77389
0.650026
0
0
0
0
0.108661
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
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
09884b83a19beb61d83988bff469a3ac360aa098
490
py
Python
mmdet/core/anchor/__init__.py
MinliangLin/TSD
d84ddc049d6b18c3a2408c90d2b7dd63b4e2d3a1
[ "Apache-2.0" ]
454
2020-04-17T10:58:36.000Z
2022-03-16T13:04:33.000Z
mmdet/core/anchor/__init__.py
MinliangLin/TSD
d84ddc049d6b18c3a2408c90d2b7dd63b4e2d3a1
[ "Apache-2.0" ]
37
2020-04-29T12:37:54.000Z
2022-01-26T21:10:42.000Z
mmdet/core/anchor/__init__.py
MinliangLin/TSD
d84ddc049d6b18c3a2408c90d2b7dd63b4e2d3a1
[ "Apache-2.0" ]
61
2020-04-30T04:28:08.000Z
2022-01-26T08:14:13.000Z
from .anchor_generator import AnchorGenerator from .anchor_target import anchor_inside_flags, anchor_target, images_to_levels, unmap from .guided_anchor_target import ga_loc_target, ga_shape_target from .point_generator import PointGenerator from .point_target import point_target __all__ = [ "AnchorGenerator", ...
27.222222
86
0.769388
60
490
5.783333
0.316667
0.138329
0.103746
0.115274
0.282421
0.138329
0
0
0
0
0
0
0.15102
490
17
87
28.823529
0.834135
0
0
0
0
0
0.24898
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
098e105dee9c73d7879be832099d270ea4c47bc6
8,277
py
Python
a3/clean_data.py
WendyH1108/IntSys-Education
e85dedec2ef51b0e6482ec026535dd0338ecb905
[ "MIT" ]
null
null
null
a3/clean_data.py
WendyH1108/IntSys-Education
e85dedec2ef51b0e6482ec026535dd0338ecb905
[ "MIT" ]
null
null
null
a3/clean_data.py
WendyH1108/IntSys-Education
e85dedec2ef51b0e6482ec026535dd0338ecb905
[ "MIT" ]
null
null
null
import pickle import numpy as np from PIL import Image, ExifTags,ImageOps def load_pickle_file(path_to_file): """ Loads the data from a pickle file and returns that object """ ## Look up: https://docs.python.org/3/library/pickle.html ## The code should look something like this: # with open(pa...
38.497674
112
0.705207
1,352
8,277
4.120562
0.192308
0.097649
0.140011
0.183091
0.584455
0.474601
0.453779
0.328666
0.320409
0.217017
0
0.05361
0.168419
8,277
214
113
38.67757
0.755775
0.216745
0
0.236364
0
0.024242
0.050966
0.048784
0
0
0
0
0
1
0.030303
false
0
0.018182
0
0.078788
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
0990b41ff3a99288b643e1ca943b6c6a905b325a
970
py
Python
MMMaker/app/memes/migrations/0002_auto_20200616_1314.py
C4Ution/MMMaker
7e64b50abb2257c02618d5a5b3323a1e2993fe8a
[ "MIT" ]
9
2020-05-23T04:50:18.000Z
2020-12-19T05:16:39.000Z
MMMaker/app/memes/migrations/0002_auto_20200616_1314.py
C4Ution/MMMaker
7e64b50abb2257c02618d5a5b3323a1e2993fe8a
[ "MIT" ]
13
2020-05-23T12:01:08.000Z
2022-02-10T10:31:18.000Z
MMMaker/app/memes/migrations/0002_auto_20200616_1314.py
C4Ution/MMMaker
7e64b50abb2257c02618d5a5b3323a1e2993fe8a
[ "MIT" ]
5
2020-07-02T11:44:56.000Z
2021-07-10T03:19:17.000Z
# Generated by Django 2.2.12 on 2020-06-16 13:14 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('memes', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='task', ...
28.529412
132
0.563918
104
970
5.173077
0.557692
0.074349
0.072491
0.094796
0
0
0
0
0
0
0
0.042522
0.296907
970
33
133
29.393939
0.746334
0.047423
0
0.333333
1
0
0.132321
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.185185
0
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
0993ab5ef868690ae48c03fee462e1a1f3152306
336
py
Python
ubb/fop/BusCompani_exam/app_coordinator.py
AlexanderChristian/private_courses
c80f3526af539e35f93b460f3909f669aaef573c
[ "MIT" ]
null
null
null
ubb/fop/BusCompani_exam/app_coordinator.py
AlexanderChristian/private_courses
c80f3526af539e35f93b460f3909f669aaef573c
[ "MIT" ]
6
2020-03-04T20:52:39.000Z
2022-03-31T00:33:07.000Z
ubb/fop/BusCompani_exam/app_coordinator.py
AlexanderChristian/private_courses
c80f3526af539e35f93b460f3909f669aaef573c
[ "MIT" ]
null
null
null
from tester.tester import Tester from ui.application import Application from controller.controller import Controller from repository.repository import Repository with open("database.txt", "r") as f: t = Tester() repo = Repository() controller = Controller(repo, f) app = Application(controller, rep...
21
44
0.729167
41
336
5.97561
0.439024
0.163265
0
0
0
0
0
0
0
0
0
0
0.181548
336
16
45
21
0.890909
0
0
0
0
0
0.038576
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
0994bee9fe8113513676b25d57af20926256fa49
401
py
Python
backend/custom_models/migrations/0004_auto_20190529_0846.py
code-for-canada/django-nginx-reactjs-docker
12b2f79872273bb0ac4736d709b8e0904bc54258
[ "MIT" ]
3
2019-01-04T10:53:03.000Z
2020-01-29T16:20:38.000Z
backend/custom_models/migrations/0004_auto_20190529_0846.py
code-for-canada/django-nginx-reactjs-docker
12b2f79872273bb0ac4736d709b8e0904bc54258
[ "MIT" ]
215
2019-01-04T11:34:03.000Z
2019-07-22T13:36:18.000Z
backend/custom_models/migrations/0004_auto_20190529_0846.py
code-for-canada/django-nginx-reactjs-docker
12b2f79872273bb0ac4736d709b8e0904bc54258
[ "MIT" ]
8
2019-01-08T22:45:11.000Z
2020-01-29T16:20:40.000Z
# Generated by Django 2.1.7 on 2019-05-29 12:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('custom_models', '0003_auto_20190528_1156'), ] operations = [ migrations.AlterField( model_name='itemtext', name='tex...
21.105263
53
0.613466
44
401
5.431818
0.840909
0
0
0
0
0
0
0
0
0
0
0.12069
0.276808
401
18
54
22.277778
0.703448
0.112219
0
0
1
0
0.155367
0.064972
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
099c4d9803f1fea7ca39bdfddacd5a0c6c484012
707
py
Python
accessify/gui/utils.py
jscholes/accessify-prototype
9cee5e6fff6621a6eb4dc1cf6e353669cd02d33b
[ "Apache-2.0" ]
null
null
null
accessify/gui/utils.py
jscholes/accessify-prototype
9cee5e6fff6621a6eb4dc1cf6e353669cd02d33b
[ "Apache-2.0" ]
null
null
null
accessify/gui/utils.py
jscholes/accessify-prototype
9cee5e6fff6621a6eb4dc1cf6e353669cd02d33b
[ "Apache-2.0" ]
null
null
null
import functools import threading import wx def find_last_child(widget): children = widget.GetChildren() if not children: return widget else: last = children[len(children) - 1] return find_last_child(last) def show_error(parent, message): if not wx.IsMainThread(): ...
24.37931
147
0.677511
90
707
5.222222
0.5
0.034043
0.055319
0
0
0
0
0
0
0
0
0.003617
0.217822
707
28
148
25.25
0.846293
0
0
0.1
0
0
0.116147
0
0
0
0
0
0
1
0.2
false
0
0.15
0.05
0.55
0
0
0
0
null
0
0
0
0
0
0
0
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
09a0e1a792423bade3ad9b57f661723e9d119b46
9,955
py
Python
MuseParse/tests/testUsingXML/testArpegGliss.py
Godley/MusIc-Parser
23cecafa1fdc0f2d6a87760553572b459f3c9904
[ "MIT" ]
5
2015-07-21T14:06:34.000Z
2018-04-24T19:31:45.000Z
MuseParse/tests/testUsingXML/testArpegGliss.py
Godley/MusIc-Parser
23cecafa1fdc0f2d6a87760553572b459f3c9904
[ "MIT" ]
37
2015-07-20T17:03:19.000Z
2016-08-08T09:21:40.000Z
MuseParse/tests/testUsingXML/testArpegGliss.py
Godley/MusIc-Parser
23cecafa1fdc0f2d6a87760553572b459f3c9904
[ "MIT" ]
5
2015-07-24T09:22:52.000Z
2017-03-29T19:13:16.000Z
import os import unittest from MuseParse.tests.testUsingXML.xmlSet import xmlSet, parsePiece from MuseParse.classes.ObjectHierarchy.TreeClasses.BaseTree import Search, FindByIndex from MuseParse.classes.ObjectHierarchy.TreeClasses.NoteNode import NoteNode from MuseParse.classes.ObjectHierarchy.TreeClasses.MeasureNode ...
28.042254
87
0.589854
1,178
9,955
4.905773
0.128183
0.045856
0.061775
0.079426
0.710504
0.676761
0.672435
0.656342
0.649074
0.611871
0
0.037937
0.293019
9,955
354
88
28.121469
0.783177
0.030839
0
0.659004
0
0
0.015147
0.002697
0
0
0
0.002825
0.022989
1
0.114943
false
0
0.030651
0
0.245211
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
09a7ed88a521556d39cc6534a025047ea348d986
1,318
py
Python
fitnick/activity/models/calories.py
kcinnick/fitnick
fc22829bddc8e862cd27456e027d1a8e31f1ebac
[ "MIT" ]
1
2020-10-10T01:56:37.000Z
2020-10-10T01:56:37.000Z
fitnick/activity/models/calories.py
kcinnick/fitnick
fc22829bddc8e862cd27456e027d1a8e31f1ebac
[ "MIT" ]
2
2020-08-29T22:10:10.000Z
2020-09-06T07:15:50.000Z
fitnick/activity/models/calories.py
kcinnick/fitnick
fc22829bddc8e862cd27456e027d1a8e31f1ebac
[ "MIT" ]
null
null
null
from sqlalchemy import MetaData, Table, Column, UniqueConstraint, Numeric, Date, Integer from sqlalchemy.ext.declarative import declarative_base meta = MetaData() Base = declarative_base() class Calories(Base): __tablename__ = 'calories' date = Column('date', Date, nullable=False, primary_key=True) total...
30.651163
102
0.679059
149
1,318
5.798658
0.275168
0.076389
0.048611
0.041667
0.275463
0.275463
0.178241
0.104167
0.104167
0
0
0.005505
0.172989
1,318
42
103
31.380952
0.787156
0
0
0.121212
0
0
0.174507
0.018209
0
0
0
0
0
1
0.060606
false
0
0.060606
0.060606
0.606061
0
0
0
0
null
0
0
0
0
0
0
0
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
09a81d7e8f8d2553a5617d813488c5793b8e29c3
217
py
Python
ia870/iaero.py
rdenadai/ia870p3
c4823efc4b8e5f187a64f8a4e9962e328bf86967
[ "BSD-2-Clause" ]
5
2018-10-15T12:02:03.000Z
2022-02-11T12:47:12.000Z
ia870/iaero.py
rdenadai/ia870p3
c4823efc4b8e5f187a64f8a4e9962e328bf86967
[ "BSD-2-Clause" ]
1
2018-10-15T12:04:36.000Z
2019-01-25T12:04:35.000Z
ia870/iaero.py
rdenadai/ia870p3
c4823efc4b8e5f187a64f8a4e9962e328bf86967
[ "BSD-2-Clause" ]
4
2019-01-25T11:13:48.000Z
2020-12-20T01:42:33.000Z
# -*- encoding: utf-8 -*- # Module iaero def iaero(f, b=None): from ia870 import ianeg,iadil,iasereflect,iasecross if b is None: b = iasecross() y = ianeg( iadil( ianeg(f),iasereflect(b))) return y
19.727273
55
0.631336
32
217
4.28125
0.625
0.145985
0
0
0
0
0
0
0
0
0
0.023669
0.221198
217
10
56
21.7
0.786982
0.165899
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
09aa02416c1e94137fca4ceaa5ae9185b3a5dc0f
266
py
Python
setup.py
parenthetical-e/clouds_are_fun
f346c018852f61863820758c3251f5bb8b08bdaf
[ "MIT" ]
null
null
null
setup.py
parenthetical-e/clouds_are_fun
f346c018852f61863820758c3251f5bb8b08bdaf
[ "MIT" ]
null
null
null
setup.py
parenthetical-e/clouds_are_fun
f346c018852f61863820758c3251f5bb8b08bdaf
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='clouds_are_fun', version='0.0.1', description="Clouds are (as stated) fun!", author='Rachel Storer', author_email='rls347@gmail.com', license='', packages=['clouds_are_fun'], zip_safe=False)
22.166667
46
0.657895
35
266
4.828571
0.742857
0.159763
0.142012
0
0
0
0
0
0
0
0
0.027907
0.191729
266
11
47
24.181818
0.75814
0
0
0
0
0
0.334586
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
09afdf092b7712d4d75aa2884e9fe9feb36c2521
354
py
Python
Array/4.Modifying-items.py
manish1822510059/Python-1000-program
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
1
2021-03-06T03:33:42.000Z
2021-03-06T03:33:42.000Z
Array/4.Modifying-items.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
Array/4.Modifying-items.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
import array as arr numarr = arr.array('i',[10,20,30,40,50,60,70,80]) print("Array items:") print(numarr) #changing index 3 value numarr[3] = 44 print('\n Array items (after modifing):') print(numarr) #changing 1st to 5th index values numarr[1:5] = arr.array('i',[-8,-5,-6,-7]) print("\n Array items (after mod...
29.5
52
0.666667
62
354
3.806452
0.564516
0.127119
0.076271
0.135593
0.245763
0.245763
0
0
0
0
0
0.092409
0.144068
354
12
53
29.5
0.686469
0.152542
0
0.3
0
0
0.305556
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.6
0
0
0
null
0
0
0
0
0
0
0
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
09b774f1ae972526038206ca2ec5106469ec409b
245
py
Python
CursoemVideo/ex019.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
CursoemVideo/ex019.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
CursoemVideo/ex019.py
arthxvr/coding--python
1e91707be6cb8fef816dad0c1a65f2cc3327357e
[ "MIT" ]
null
null
null
from random import choice n1 = str(input('Primeiro aluno: ')) n2 = str(input('Segundo aluno: ')) n3 = str(input('Terceiro aluno: ')) n4 = str(input('Quarto aluno: ')) escolhido = choice([n1, n2, n3, n4]) print(f'Aluno escolhido: {escolhido}')
24.5
38
0.665306
35
245
4.657143
0.514286
0.196319
0
0
0
0
0
0
0
0
0
0.038095
0.142857
245
9
39
27.222222
0.738095
0
0
0
0
0
0.363265
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09bdc02e94beaf261059994a117726edd8b2e3ff
933
py
Python
src/api-examples/slowpairs.py
cern-fts/fts-monitoring
b0d27846026b8cc85f345ae9990a0ba75292d90b
[ "Apache-2.0" ]
1
2018-08-28T11:28:38.000Z
2018-08-28T11:28:38.000Z
src/api-examples/slowpairs.py
cern-fts/fts-monitoring
b0d27846026b8cc85f345ae9990a0ba75292d90b
[ "Apache-2.0" ]
null
null
null
src/api-examples/slowpairs.py
cern-fts/fts-monitoring
b0d27846026b8cc85f345ae9990a0ba75292d90b
[ "Apache-2.0" ]
1
2021-02-25T09:17:54.000Z
2021-02-25T09:17:54.000Z
#!/usr/bin/env python2 import json from common import get_url from optparse import OptionParser def get_slow_pairs(threshold = 1, vo = None): content = get_url('https://fts3-pilot.cern.ch:8449/fts3/ftsmon/overview', vo = vo, page = 'all') pairs = json.loads(content) slow = [] for pair in pairs['it...
33.321429
117
0.629153
127
933
4.472441
0.527559
0.021127
0.042254
0
0
0
0
0
0
0
0
0.013793
0.222937
933
27
118
34.555556
0.769655
0.022508
0
0
0
0
0.236004
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.052632
0
0
0
null
0
0
0
0
0
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
09c5ea07bcbe5da7d79cb065ff5c7805249bcb31
27,735
py
Python
core/textRender.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
core/textRender.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
core/textRender.py
chiluf/visvis.dev
373846ea25044b7ca50f44c63dab4248e14deacd
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2012, Almar Klein # # Visvis is distributed under the terms of the (new) BSD License. # The full license can be found in 'license.txt'. """ Module textRender For rendering text in visvis. Defines a wibject and a wobject: Label and Text, which are both able to produce a single...
32.900356
80
0.539427
3,235
27,735
4.549304
0.211437
0.005979
0.008222
0.012706
0.245634
0.183529
0.155331
0.130054
0.111708
0.095332
0
0.038237
0.358789
27,735
842
81
32.93943
0.789305
0.118226
0
0.237885
0
0
0.044449
0
0
0
0.025789
0
0
0
null
null
0.004405
0.028634
null
null
0.002203
0
0
0
null
0
0
0
0
0
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
09d22cf8d3e5af1570e2371c4ea61265c0e19657
1,834
py
Python
get_inventory_from_awx.py
jonnymccullagh/get_inventory_from_awx
87584cdae0bb6b6c4ee6fdf42eec28565d35778a
[ "MIT" ]
null
null
null
get_inventory_from_awx.py
jonnymccullagh/get_inventory_from_awx
87584cdae0bb6b6c4ee6fdf42eec28565d35778a
[ "MIT" ]
null
null
null
get_inventory_from_awx.py
jonnymccullagh/get_inventory_from_awx
87584cdae0bb6b6c4ee6fdf42eec28565d35778a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Creates a local inventory file from an inventory in AWX Usage: python ../get_inventory_from_awx.py \ --url https://awx.domain.com \ -u admin \ -p "topsecret" \ "my-ec2-dev-inventory" """ import argparse import sys import requests parser = argparse.ArgumentParser( description="C...
25.830986
76
0.62759
240
1,834
4.725
0.35
0.049383
0.05291
0.039683
0.123457
0.042328
0
0
0
0
0
0.008874
0.2012
1,834
70
77
26.2
0.765188
0.111232
0
0.122449
0
0
0.255425
0.088035
0
0
0
0
0
1
0
false
0.061224
0.061224
0
0.061224
0.22449
0
0
0
null
0
0
0
0
0
0
0
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
09da87e6c2be4c02afe952260aa5097e7a8150c6
2,041
py
Python
src/utils/db.py
Dimwest/iot-garden-backend
9d2531965251027d9c756c3ba13432dd6b3c34a6
[ "MIT" ]
null
null
null
src/utils/db.py
Dimwest/iot-garden-backend
9d2531965251027d9c756c3ba13432dd6b3c34a6
[ "MIT" ]
null
null
null
src/utils/db.py
Dimwest/iot-garden-backend
9d2531965251027d9c756c3ba13432dd6b3c34a6
[ "MIT" ]
null
null
null
import psycopg2 from psycopg2.extensions import connection, cursor from psycopg2.extras import DictCursor from typing import Dict from src.log.logger import logger from contextlib import contextmanager @contextmanager def get_connection(params: Dict[str, str]) -> connection: """ Get a connection using a cont...
27.213333
83
0.650171
221
2,041
5.977376
0.371041
0.054504
0.036336
0.04542
0.165784
0.104466
0.104466
0.104466
0.104466
0.104466
0
0.004639
0.260657
2,041
74
84
27.581081
0.870775
0.269476
0
0.179487
0
0
0.167257
0
0
0
0
0.013514
0
1
0.076923
false
0.025641
0.153846
0
0.25641
0
0
0
0
null
0
0
0
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
09dec1cf4188cd7ec451c326f117785239c7b442
3,950
py
Python
scheduler/tests/scheduler_factories.py
annalee/alienplan
b54722d683a5e8eba03f4467a367bcf24339bb32
[ "MIT" ]
5
2018-07-23T13:44:33.000Z
2021-12-24T20:13:57.000Z
scheduler/tests/scheduler_factories.py
annalee/alienplan
b54722d683a5e8eba03f4467a367bcf24339bb32
[ "MIT" ]
25
2018-02-11T00:02:08.000Z
2021-07-06T22:35:30.000Z
scheduler/tests/scheduler_factories.py
annalee/alienplan
b54722d683a5e8eba03f4467a367bcf24339bb32
[ "MIT" ]
1
2021-12-02T14:48:15.000Z
2021-12-02T14:48:15.000Z
import factory import random import datetime from django.template.defaultfilters import slugify from scheduler.models import Conference, Room, Track, Panelist, Panel, Day class ConferenceFactory(factory.django.DjangoModelFactory): class Meta: model = Conference name = factory.Sequence(lambda n: 'Test...
29.477612
80
0.647342
443
3,950
5.708804
0.31377
0.039146
0.071174
0.081851
0.410439
0.328588
0.200079
0.146303
0.146303
0.109134
0
0.019741
0.256203
3,950
133
81
29.699248
0.841048
0.049367
0
0.387755
0
0
0.019754
0
0
0
0
0
0
1
0.112245
false
0
0.05102
0.030612
0.591837
0
0
0
0
null
0
0
0
0
0
0
0
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
09dfb99b921421d61136fa6ff217abfa2f1679a6
379
py
Python
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_92.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-02-22T07:19:59.000Z
2022-02-22T07:19:59.000Z
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_92.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-01-15T20:26:01.000Z
2022-01-15T20:26:01.000Z
images/core/context/free5gc/lib/nextepc/nas/support/cache/nas_msg_92.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-01-07T18:49:10.000Z
2022-01-07T18:49:10.000Z
ies = [] ies.append({ "iei" : "", "value" : "EMM cause", "type" : "EMM cause", "reference" : "9.9.3.9", "presence" : "M", "format" : "V", "length" : "1"}) ies.append({ "iei" : "30", "value" : "Authentication failure parameter", "type" : "Authentication failure parameter", "reference" : "9.9.3.1", "presence" : "O", "for...
75.8
196
0.567282
49
379
4.367347
0.530612
0.056075
0.11215
0.11215
0
0
0
0
0
0
0
0.040248
0.147757
379
4
197
94.75
0.622291
0
0
0
0
0
0.506596
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
09f8f1006dee75cb2ae320828138ffbbdfc8e5c1
2,235
py
Python
karaoke.py
andrealpezr/ptavi-p3
5e3c5ceb4c8f0a69bf5d88c4874ef4c61837e3e9
[ "Apache-2.0" ]
null
null
null
karaoke.py
andrealpezr/ptavi-p3
5e3c5ceb4c8f0a69bf5d88c4874ef4c61837e3e9
[ "Apache-2.0" ]
null
null
null
karaoke.py
andrealpezr/ptavi-p3
5e3c5ceb4c8f0a69bf5d88c4874ef4c61837e3e9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ Created on Mon Oct 8 20:54:26 2018 @author: andrea """ import sys import json from xml.sax import make_parser from urllib.request import urlretrieve from smallsmilhandler import SmallSMILHandler class KaraokeLocal(SmallSMILHandler): def __init__(self, fichero): ...
31.478873
76
0.578523
269
2,235
4.635688
0.431227
0.051323
0.028869
0.030473
0.085004
0.057739
0.057739
0.057739
0
0
0
0.016561
0.297539
2,235
70
77
31.928571
0.777707
0.13557
0
0.08
0
0
0.07326
0
0
0
0
0.014286
0
1
0.08
false
0
0.1
0
0.2
0.04
0
0
0
null
0
0
0
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
09fe5816a2ea500221e94bc4dc318854024731fd
13,904
py
Python
utils/queries.py
sand-ci/AlarmsAndAlerts
37b783cbb22bb7d01532e3e1427fd18098717095
[ "Apache-2.0" ]
1
2020-12-07T20:27:38.000Z
2020-12-07T20:27:38.000Z
utils/queries.py
sand-ci/AlarmsAndAlerts
37b783cbb22bb7d01532e3e1427fd18098717095
[ "Apache-2.0" ]
null
null
null
utils/queries.py
sand-ci/AlarmsAndAlerts
37b783cbb22bb7d01532e3e1427fd18098717095
[ "Apache-2.0" ]
null
null
null
from elasticsearch.helpers import scan import utils.helpers as hp valueField = { 'ps_packetloss': 'packet_loss', 'ps_owd': 'delay_mean', 'ps_retransmits': 'retransmits', 'ps_throughput': 'throughput' } def query4Avg(idx, dateFrom, dateTo): val_fld = val...
32.485981
118
0.252301
758
13,904
4.440633
0.135884
0.045752
0.065657
0.084967
0.616459
0.584967
0.450683
0.404337
0.3776
0.33066
0
0.007727
0.637011
13,904
427
119
32.562061
0.659203
0.003021
0
0.391089
0
0
0.139146
0.005918
0
0
0
0
0
1
0.022277
false
0
0.004951
0.009901
0.049505
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
61ccfe40ff674b57de3cce2b3e035b45ae6e5d68
1,388
py
Python
packages/std/nodes/std___ExtractProperty0/widgets/std___ExtractProperty0___main_widget___METACODE.py
lidong1266/Ryven-Switch
68d1f71e81d6564196f44ca49d5903f06db6a4d9
[ "MIT" ]
18
2021-01-18T09:52:41.000Z
2022-03-22T10:48:44.000Z
packages/std/nodes/std___ExtractProperty0/widgets/std___ExtractProperty0___main_widget___METACODE.py
xamofb-xsk/Ryven
8c3dcc613098863ae9fb747e62c0bb9d9eb4cef1
[ "MIT" ]
null
null
null
packages/std/nodes/std___ExtractProperty0/widgets/std___ExtractProperty0___main_widget___METACODE.py
xamofb-xsk/Ryven
8c3dcc613098863ae9fb747e62c0bb9d9eb4cef1
[ "MIT" ]
3
2021-01-18T09:49:42.000Z
2022-03-22T10:48:47.000Z
from NIWENV import * from PySide2.QtWidgets import QPlainTextEdit from PySide2.QtCore import Qt # from PySide2.QtGui import ... class %CLASS%(QPlainTextEdit, MWB): def __init__(self, params): MWB.__init__(self, params) QPlainTextEdit.__init__(self) self.setStyleSheet(self.par...
24.350877
74
0.627522
154
1,388
5.448052
0.305195
0.066746
0.057211
0.078665
0.126341
0
0
0
0
0
0
0.007882
0.268732
1,388
56
75
24.785714
0.818719
0.020893
0
0.057143
0
0
0.008843
0
0
0
0
0
0
0
null
null
0.028571
0.085714
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
61d2579f12cbaed8244bfec04e1417b832ef968d
7,748
py
Python
sdk/python/pulumi_google_native/compute/alpha/get_network_edge_security_service.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
44
2021-04-18T23:00:48.000Z
2022-02-14T17:43:15.000Z
sdk/python/pulumi_google_native/compute/alpha/get_network_edge_security_service.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
354
2021-04-16T16:48:39.000Z
2022-03-31T17:16:39.000Z
sdk/python/pulumi_google_native/compute/alpha/get_network_edge_security_service.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
8
2021-04-24T17:46:51.000Z
2022-01-05T10:40:21.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
44.528736
449
0.673851
890
7,748
5.616854
0.214607
0.038408
0.028806
0.033607
0.257051
0.146629
0.087417
0.024805
0.024805
0
0
0.003735
0.239675
7,748
173
450
44.786127
0.844848
0.214894
0
0.116667
1
0
0.14902
0.040068
0
0
0
0
0
1
0.108333
false
0
0.041667
0.008333
0.258333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61d4e1e614d82b8fcdbdfe42a9ad8e613cfb0c8a
1,685
py
Python
test/test_status.py
System1Bio/asitiger
e69b88e07783bb6774dd0b65b91b9a2b38c6af63
[ "MIT" ]
2
2021-09-06T18:56:11.000Z
2021-12-15T21:00:07.000Z
test/test_status.py
System1Bio/asitiger
e69b88e07783bb6774dd0b65b91b9a2b38c6af63
[ "MIT" ]
null
null
null
test/test_status.py
System1Bio/asitiger
e69b88e07783bb6774dd0b65b91b9a2b38c6af63
[ "MIT" ]
1
2022-02-15T02:18:40.000Z
2022-02-15T02:18:40.000Z
from asitiger.status import ( AxisEnabledStatus, AxisStatus, JoystickStatus, LimitStatus, MotorStatus, RampingDirection, RampingStatus, Status, status_from_decimal, statuses_for_rdstat, ) RDSTAT_RESPONSE = ":A 10N 138" def test_status_from_decimal_types(): axis = status_f...
28.083333
63
0.749555
193
1,685
6.326425
0.26943
0.144144
0.13104
0.056511
0.220311
0.116298
0.067158
0
0
0
0
0.010669
0.165579
1,685
59
64
28.559322
0.857752
0
0
0.090909
0
0
0.007715
0
0
0
0
0
0.5
1
0.113636
false
0
0.022727
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
61da128dab14516790860552f78a49f028b3979e
198
py
Python
bash_script_executer.py
Mohan-Zhang-u/TextSummarization
b09222e761d1b6b8eba9406b6e7120e06bdaebf5
[ "MIT" ]
null
null
null
bash_script_executer.py
Mohan-Zhang-u/TextSummarization
b09222e761d1b6b8eba9406b6e7120e06bdaebf5
[ "MIT" ]
null
null
null
bash_script_executer.py
Mohan-Zhang-u/TextSummarization
b09222e761d1b6b8eba9406b6e7120e06bdaebf5
[ "MIT" ]
1
2018-12-28T03:02:39.000Z
2018-12-28T03:02:39.000Z
import subprocess import sys def main(args): runstring = "./run.sh " + args[0] print(runstring) subprocess.call(runstring, shell=True) if __name__ == "__main__": main(sys.argv[1:])
19.8
42
0.661616
26
198
4.730769
0.692308
0
0
0
0
0
0
0
0
0
0
0.012422
0.186869
198
10
43
19.8
0.751553
0
0
0
0
0
0.085427
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0.125
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61e1d9f8b4550ad0b3dd4ffe868edca2ef37de44
480
py
Python
resources/Wireshark/WiresharkDissectorFoo/tools/validate-clang-check.py
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
2
2020-09-11T05:51:42.000Z
2020-12-31T11:42:02.000Z
resources/Wireshark/WiresharkDissectorFoo/tools/validate-clang-check.py
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
null
null
null
resources/Wireshark/WiresharkDissectorFoo/tools/validate-clang-check.py
joshis1/C_Programming
4a8003321251448a167bfca0b595c5eeab88608d
[ "MIT" ]
null
null
null
#!/bin/sh # Copyright 2018, Alexis La Goutte (See AUTHORS file) # # Verifies last commit with clang-check (like scan-build) for Petri Dish # # Wireshark - Network traffic analyzer # By Gerald Combs <gerald@wireshark.org> # Copyright 1998 Gerald Combs # # SPDX-License-Identifier: GPL-2.0-or-later # COMMIT_FILES=$( git ...
24
107
0.69375
72
480
4.597222
0.805556
0.060423
0
0
0
0
0
0
0
0
0
0.027363
0.1625
480
19
108
25.263158
0.79602
0.577083
0
0
0
0
0.067708
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
61e5444cb5d705691c5291ba8d4b62f73fba7548
286
py
Python
Company_Based_Questions/TCS/Codevita/mock1.py
Satyam-Bhalla/Competitive-Coding
5814f5f60572f1e76495efe751b94bf4d2845198
[ "MIT" ]
1
2021-12-09T10:36:48.000Z
2021-12-09T10:36:48.000Z
Company_Based_Questions/TCS/Codevita/mock1.py
Satyam-Bhalla/Competitive-Coding
5814f5f60572f1e76495efe751b94bf4d2845198
[ "MIT" ]
null
null
null
Company_Based_Questions/TCS/Codevita/mock1.py
Satyam-Bhalla/Competitive-Coding
5814f5f60572f1e76495efe751b94bf4d2845198
[ "MIT" ]
null
null
null
n = int(input()) l = list(map(int,input().split(', '))) for i in range(len(l)): num = l[i] a = 0 while num>0: a += num%6 num = num//6 l[i] = a count = 0 for i in range(n): for j in range(i,n): if l[i]>l[j]: count += 1 print(count)
19.066667
38
0.451049
54
286
2.388889
0.407407
0.162791
0.093023
0.170543
0
0
0
0
0
0
0
0.032258
0.34965
286
15
39
19.066667
0.66129
0
0
0
0
0
0.006969
0
0
0
0
0
0
1
0
false
0
0
0
0
0.066667
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
61e588abfb245a485423f2661351bf1033f2e4e3
419
py
Python
log_api/migrations/0009_auto_20200728_2127.py
mpupo/oh-my-log
36327bdcb5e2e7f36294a4893ea6b5327bedcb47
[ "MIT" ]
null
null
null
log_api/migrations/0009_auto_20200728_2127.py
mpupo/oh-my-log
36327bdcb5e2e7f36294a4893ea6b5327bedcb47
[ "MIT" ]
9
2020-07-09T01:24:52.000Z
2020-07-14T03:18:57.000Z
log_api/migrations/0009_auto_20200728_2127.py
mpupo/oh-my-log
36327bdcb5e2e7f36294a4893ea6b5327bedcb47
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-29 00:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('log_api', '0008_auto_20200728_2126'), ] operations = [ migrations.AlterField( model_name='execution', name='archived...
22.052632
78
0.618138
45
419
5.622222
0.822222
0.094862
0
0
0
0
0
0
0
0
0
0.100977
0.267303
419
18
79
23.277778
0.723127
0.107399
0
0
1
0
0.147849
0.061828
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
61f382a417c1faef15fe62d9be5e3184be30c9ee
258
py
Python
client/summoner.py
sandbox-pokhara/auto-disenchanter-v2
376af65dc0c62e76d13dccded55406cd11e56171
[ "Apache-2.0" ]
null
null
null
client/summoner.py
sandbox-pokhara/auto-disenchanter-v2
376af65dc0c62e76d13dccded55406cd11e56171
[ "Apache-2.0" ]
null
null
null
client/summoner.py
sandbox-pokhara/auto-disenchanter-v2
376af65dc0c62e76d13dccded55406cd11e56171
[ "Apache-2.0" ]
null
null
null
import requests def get_level(connection): try: res = connection.get('/lol-summoner/v1/current-summoner') res_json = res.json() return res_json['summonerLevel'] except requests.exceptions.RequestException: return -1
23.454545
65
0.666667
29
258
5.827586
0.655172
0.12426
0
0
0
0
0
0
0
0
0
0.01005
0.228682
258
10
66
25.8
0.839196
0
0
0
0
0
0.178295
0.127907
0
0
0
0
0
1
0.125
false
0
0.125
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
61f62656afdf014d7763b078072f479a983901bf
397
py
Python
test/testExecutor.py
AutoDash/AutoDash
3924795a04159f80ea3b65b2172747babd15f35f
[ "Apache-2.0" ]
3
2020-02-12T01:24:46.000Z
2020-02-13T00:50:46.000Z
test/testExecutor.py
AutoDash/AutoDash
3924795a04159f80ea3b65b2172747babd15f35f
[ "Apache-2.0" ]
32
2020-02-20T10:20:56.000Z
2022-02-10T01:42:46.000Z
test/testExecutor.py
AutoDash/AutoDash
3924795a04159f80ea3b65b2172747babd15f35f
[ "Apache-2.0" ]
1
2020-02-22T02:47:19.000Z
2020-02-22T02:47:19.000Z
#!/usr/bin/env python3 import unittest from src.executor.Printer import Printer from src.data.VideoItem import VideoItem class TestIExecutor(unittest.TestCase): def test_compiles(self): self.assertEqual(True, True) def test_printer(self): printer = Printer() printer.run(VideoItem(met...
20.894737
60
0.712846
48
397
5.6875
0.583333
0.051282
0
0
0
0
0
0
0
0
0
0.003077
0.18136
397
18
61
22.055556
0.836923
0.052897
0
0
0
0
0.021333
0
0
0
0
0
0.090909
1
0.181818
false
0
0.272727
0
0.545455
0.272727
0
0
0
null
0
0
0
0
0
0
0
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
61fd09599cb93277caebad5cd7fee580079c1076
2,489
py
Python
random_query_generator.py
Nispand1492/amazon_cloud_project
c70cea92c4c2a00b27ce45262b40079b93e3dfc3
[ "Apache-2.0" ]
null
null
null
random_query_generator.py
Nispand1492/amazon_cloud_project
c70cea92c4c2a00b27ce45262b40079b93e3dfc3
[ "Apache-2.0" ]
null
null
null
random_query_generator.py
Nispand1492/amazon_cloud_project
c70cea92c4c2a00b27ce45262b40079b93e3dfc3
[ "Apache-2.0" ]
null
null
null
__author__ = 'Nispand' import random import time def get_lang(): Lang = ["English","Spanish"] id = random.randint(0,1) print type(Lang[id]) return Lang[id] def get_segment_id(): seg_id = random.randint(1,103214) #print seg_id return seg_id def get_contract_id(): contract_id = random.r...
25.659794
147
0.616714
364
2,489
3.978022
0.252747
0.096685
0.058011
0.035221
0.040746
0.027624
0
0
0
0
0
0.042094
0.255524
2,489
96
148
25.927083
0.739342
0.071916
0
0
0
0
0.10988
0
0
0
0
0
0
0
null
null
0
0.032787
null
null
0.016393
0
0
0
null
0
0
0
0
0
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
110a20e5d9a215979ead09cb94caaa78388537ba
1,418
py
Python
aqa/customers/migrations/0002_auto_20201025_1305.py
ksemilla/aqa
0af1ad330df58524a6aeae966e349e9785eefbf7
[ "MIT" ]
null
null
null
aqa/customers/migrations/0002_auto_20201025_1305.py
ksemilla/aqa
0af1ad330df58524a6aeae966e349e9785eefbf7
[ "MIT" ]
null
null
null
aqa/customers/migrations/0002_auto_20201025_1305.py
ksemilla/aqa
0af1ad330df58524a6aeae966e349e9785eefbf7
[ "MIT" ]
null
null
null
# Generated by Django 3.0.9 on 2020-10-25 13:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('customers', '0001_initial'), ] operations = [ migrations.RenameField( model_name='customer', ...
37.315789
150
0.588858
143
1,418
5.706294
0.461538
0.039216
0.051471
0.080882
0.433824
0.370098
0.370098
0.370098
0.370098
0.370098
0
0.027053
0.270099
1,418
37
151
38.324324
0.761353
0.031735
0
0.354839
1
0
0.128373
0
0
0
0
0
0
1
0
false
0
0.064516
0
0.16129
0
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
110bb40a6f6f7dd4c23111e0d9317442759c39b8
3,863
py
Python
Monolith/UM.py
Nouranium/Monolith
0f7588bd2c2babbfbffb1a7e36ceb39437e56b76
[ "MIT" ]
null
null
null
Monolith/UM.py
Nouranium/Monolith
0f7588bd2c2babbfbffb1a7e36ceb39437e56b76
[ "MIT" ]
null
null
null
Monolith/UM.py
Nouranium/Monolith
0f7588bd2c2babbfbffb1a7e36ceb39437e56b76
[ "MIT" ]
null
null
null
''' Created on 15 Aug 2015 Universal Machines @author: NoNotCar ''' import Object import Img import Buyers import Entity class Incinerator(Object.OObject): is3d=True img=Img.imgret2("UM/Incinerator.png") doc="Burns fuel to destroy items (such as fish poo). IO: Input (2 recommended)" hasio="input" up...
33.301724
137
0.620502
535
3,863
4.442991
0.282243
0.033656
0.040387
0.044173
0.211611
0.145982
0.127051
0.104333
0.077409
0.077409
0
0.039433
0.251618
3,863
116
138
33.301724
0.782774
0.015273
0
0.252252
0
0.009009
0.154332
0
0
0
0
0
0
1
0.09009
false
0
0.036036
0.009009
0.648649
0
0
0
0
null
0
0
0
0
0
0
0
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
110d0851ed9d154d71361bae7cc3be1979f7a14b
670
py
Python
froide/publicbody/migrations/0012_auto_20180227_1926.py
manonthemat/froide
698c49935eaf2e922f3c9f6a46af0fd545ccbbbb
[ "MIT" ]
null
null
null
froide/publicbody/migrations/0012_auto_20180227_1926.py
manonthemat/froide
698c49935eaf2e922f3c9f6a46af0fd545ccbbbb
[ "MIT" ]
null
null
null
froide/publicbody/migrations/0012_auto_20180227_1926.py
manonthemat/froide
698c49935eaf2e922f3c9f6a46af0fd545ccbbbb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-02-27 18:26 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('publicbody', '0011_auto_20180105_1648'), ] operations = [ migrations.AlterM...
26.8
98
0.61791
68
670
5.882353
0.735294
0.0825
0
0
0
0
0
0
0
0
0
0.072
0.253731
670
24
99
27.916667
0.728
0.101493
0
0.117647
1
0
0.183639
0.038397
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1114f5f4ade806b631abf4fdbd2e2a2145734386
1,505
py
Python
webspider/spiders/sheJiYuanSpider.py
JohnnieFucker/WebSpider
82825dbeedffc23550f6c9cc128605dda4f320c1
[ "MIT" ]
null
null
null
webspider/spiders/sheJiYuanSpider.py
JohnnieFucker/WebSpider
82825dbeedffc23550f6c9cc128605dda4f320c1
[ "MIT" ]
null
null
null
webspider/spiders/sheJiYuanSpider.py
JohnnieFucker/WebSpider
82825dbeedffc23550f6c9cc128605dda4f320c1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import scrapy from webspider.items import SheJiYuanItem import sys reload(sys) sys.setdefaultencoding('utf-8') class SheJiYuanSpider(scrapy.Spider): name = 'SheJiYuanSpider' allowed_domains = ['qieta.com'] start_urls = [] headers = { 'Accept': 'text / html, application /...
36.707317
129
0.573422
184
1,505
4.652174
0.451087
0.042056
0.058411
0
0
0
0
0
0
0
0
0.02761
0.2299
1,505
40
130
37.625
0.710958
0.013953
0
0
0
0.029412
0.229575
0.041188
0
0
0
0
0
0
null
null
0
0.088235
null
null
0.029412
0
0
0
null
0
0
0
0
0
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
1117d3ba86b6f45c66a4f11ea2077aa810cb2168
6,189
py
Python
T2GEORES/model_conf.py
jejimenezm/T2GEORES
9cb7392ff5d720d06d3b82426a6074b179e073ac
[ "MIT" ]
null
null
null
T2GEORES/model_conf.py
jejimenezm/T2GEORES
9cb7392ff5d720d06d3b82426a6074b179e073ac
[ "MIT" ]
null
null
null
T2GEORES/model_conf.py
jejimenezm/T2GEORES
9cb7392ff5d720d06d3b82426a6074b179e073ac
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import numpy as np input_data={'incon_state':'current', 'EOS':1, 'source_txt':'../input/', 'ref_date':datetime(1975,1,1,0,0,0), 'z_ref':600, 'db_path':'../input/model_month.db', 'LAYERS':{1:['A',100], 2:['B', 100], 3:['C', 125], 4:['D', 60], ...
20.908784
111
0.403296
793
6,189
3.06053
0.423707
0.017305
0.02019
0.034611
0.152864
0.152864
0.152864
0.100948
0.100948
0.100948
0
0.169343
0.355954
6,189
296
112
20.908784
0.439538
0.053644
0
0.176895
0
0
0.278974
0.013333
0
0
0
0
0
1
0
false
0
0.00722
0
0.00722
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
111e4421cf7703b0c61aa0fae8091a38b0d8a9a5
1,908
py
Python
do_py/common/managed_list.py
timdavis3991/do-py
921d3b3bdeb108f3e6379dcacab6ed6ffaaa0776
[ "MIT" ]
null
null
null
do_py/common/managed_list.py
timdavis3991/do-py
921d3b3bdeb108f3e6379dcacab6ed6ffaaa0776
[ "MIT" ]
null
null
null
do_py/common/managed_list.py
timdavis3991/do-py
921d3b3bdeb108f3e6379dcacab6ed6ffaaa0776
[ "MIT" ]
null
null
null
""" :date_created: 2020-06-28 """ from do_py.common import R from do_py.data_object.restriction import ManagedRestrictions from do_py.exceptions import RestrictionError class ManagedList(ManagedRestrictions): """ Use this when you need a restriction for a list of DataObject's. """ _restriction = R(lis...
29.8125
88
0.618449
236
1,908
4.847458
0.360169
0.057692
0.052448
0.036713
0.103147
0.052448
0.052448
0
0
0
0
0.005865
0.285115
1,908
63
89
30.285714
0.832845
0.255241
0
0.068966
0
0
0
0
0
0
0
0.015873
0
1
0.172414
false
0
0.103448
0
0.413793
0
0
0
0
null
0
0
0
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
11209240512164cf0d248ba5f002bec2d4d3f964
4,899
py
Python
test_txamqpr/test_txamqp_client.py
aliowka/txamqpr
c96082fa6807ea0945a273f7c7d355bb4cf709ec
[ "Apache-2.0" ]
null
null
null
test_txamqpr/test_txamqp_client.py
aliowka/txamqpr
c96082fa6807ea0945a273f7c7d355bb4cf709ec
[ "Apache-2.0" ]
null
null
null
test_txamqpr/test_txamqp_client.py
aliowka/txamqpr
c96082fa6807ea0945a273f7c7d355bb4cf709ec
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 Alexey Vishnevsky aliowka@gmail.com # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
34.5
102
0.641968
582
4,899
5.238832
0.304124
0.023614
0.050508
0.032798
0.391932
0.35979
0.349623
0.349623
0.349623
0.349623
0
0.014493
0.267606
4,899
141
103
34.744681
0.835284
0.115942
0
0.413462
0
0
0.056984
0.005096
0
0
0
0
0.009615
0
null
null
0
0.067308
null
null
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
1
0
0
0
0
0
0
0
0
1
1125672742b0dc9c8e8a2c3bb67defc71033bb05
440
py
Python
default_resolver.py
dlcs/river-annotations
6545e168c11d9670515e4b4fb48d1030d2d9e71f
[ "MIT" ]
null
null
null
default_resolver.py
dlcs/river-annotations
6545e168c11d9670515e4b4fb48d1030d2d9e71f
[ "MIT" ]
null
null
null
default_resolver.py
dlcs/river-annotations
6545e168c11d9670515e4b4fb48d1030d2d9e71f
[ "MIT" ]
1
2016-12-09T14:37:36.000Z
2016-12-09T14:37:36.000Z
import hashlib import settings def get_anno_details(arguments): details = { 'width': arguments.get('width'), 'height': arguments.get('height'), 'canvasURI': arguments.get('canvas'), 'imageURI': arguments.get('image'), 'annotationBaseURI': settings.ANNOTATION_BASE + "/anno/...
25.882353
79
0.602273
41
440
6.365854
0.536585
0.229885
0.137931
0
0
0
0
0
0
0
0
0.002976
0.236364
440
16
80
27.5
0.77381
0
0
0
0
0
0.215909
0
0
0
0
0
0
1
0.083333
false
0
0.166667
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
112572b11691e268bc7dfbf2272a8747a3b057d4
1,206
py
Python
src/spn/tests/test_EM.py
nicoladimauro/SPFlow
80fb4fab074dd541b32d79cf272af134316a581d
[ "Apache-2.0" ]
null
null
null
src/spn/tests/test_EM.py
nicoladimauro/SPFlow
80fb4fab074dd541b32d79cf272af134316a581d
[ "Apache-2.0" ]
null
null
null
src/spn/tests/test_EM.py
nicoladimauro/SPFlow
80fb4fab074dd541b32d79cf272af134316a581d
[ "Apache-2.0" ]
null
null
null
import unittest from spn.algorithms.EM import EM_optimization from spn.algorithms.Inference import log_likelihood from spn.algorithms.LearningWrappers import learn_parametric, learn_mspn from spn.gpu.TensorFlow import spn_to_tf_graph, eval_tf, likelihood_loss, tf_graph_to_spn from spn.structure.Base import Context fro...
26.8
117
0.715589
168
1,206
4.946429
0.410714
0.058965
0.061372
0.048135
0.052948
0
0
0
0
0
0
0.030364
0.180763
1,206
44
118
27.409091
0.810729
0
0
0.076923
0
0
0.006634
0
0
0
0
0
0
1
0.038462
false
0
0.384615
0
0.461538
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
112e66ff3a0fb068dee44dc0e0bd56f5159dad49
438
py
Python
day 5/1-poisson.py
JackRab/10-days-of-statistics
68ebb74a689e28a2ff225be96a5e9b59c9abe783
[ "MIT" ]
null
null
null
day 5/1-poisson.py
JackRab/10-days-of-statistics
68ebb74a689e28a2ff225be96a5e9b59c9abe783
[ "MIT" ]
null
null
null
day 5/1-poisson.py
JackRab/10-days-of-statistics
68ebb74a689e28a2ff225be96a5e9b59c9abe783
[ "MIT" ]
null
null
null
""" Objective In this challenge, we learn about Poisson distributions. Task A random variable, X, follows Poisson distribution with mean of 2.5. Find the probability with which the random variable X is equal to 5. """ from math import exp, factorial def poisson(lam=2.5, k=5): """ Return the probability of X=...
27.375
73
0.716895
70
438
4.485714
0.585714
0.089172
0.095541
0
0
0
0
0
0
0
0
0.019553
0.182648
438
16
74
27.375
0.857542
0.643836
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1131de0deec8d0fef2b6aec1f85bd86d4570a0bc
3,188
py
Python
backend/apps/common/utils.py
sebastien-prudhomme/models-web-app
a1cef56b037d6b308937854870ebeac25001f0e6
[ "Apache-2.0" ]
null
null
null
backend/apps/common/utils.py
sebastien-prudhomme/models-web-app
a1cef56b037d6b308937854870ebeac25001f0e6
[ "Apache-2.0" ]
null
null
null
backend/apps/common/utils.py
sebastien-prudhomme/models-web-app
a1cef56b037d6b308937854870ebeac25001f0e6
[ "Apache-2.0" ]
null
null
null
"""Common utils for parsing and handling InferenceServices.""" import os from kubeflow.kubeflow.crud_backend import api, helpers, logging log = logging.getLogger(__name__) KNATIVE_REVISION_LABEL = "serving.knative.dev/revision" FILE_ABS_PATH = os.path.abspath(os.path.dirname(__file__)) INFERENCESERVICE_TEMPLATE_YAM...
33.557895
77
0.668444
380
3,188
5.439474
0.323684
0.062893
0.041122
0.025157
0.164973
0.143687
0.070634
0.070634
0.070634
0.070634
0
0.002445
0.230238
3,188
94
78
33.914894
0.839853
0.228984
0
0.196078
0
0
0.168755
0.024645
0
0
0
0.010638
0
1
0.058824
false
0
0.039216
0
0.176471
0
0
0
0
null
0
0
0
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
1132d3e136fd0d7f5422039537201bca70e95343
712
py
Python
apps/trade/migrations/0042_auto_20190326_1424.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
12
2020-02-01T01:52:01.000Z
2021-04-28T15:06:43.000Z
apps/trade/migrations/0042_auto_20190326_1424.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
5
2020-02-06T08:07:58.000Z
2020-06-02T13:03:45.000Z
apps/trade/migrations/0042_auto_20190326_1424.py
lianxiaopang/camel-store-api
b8021250bf3d8cf7adc566deebdba55225148316
[ "Apache-2.0" ]
11
2020-02-03T13:07:46.000Z
2020-11-29T01:44:06.000Z
# Generated by Django 2.1.7 on 2019-03-26 06:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('trade', '0041_auto_20190313_1418'), ] operations = [ migrations.AddField( model_name='orders', name='machine_code', ...
29.666667
172
0.587079
78
712
5.217949
0.717949
0.044226
0.07371
0.093366
0
0
0
0
0
0
0
0.067797
0.254213
712
23
173
30.956522
0.698682
0.063202
0
0.235294
1
0
0.16391
0.034586
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1144381777e529edfe2a415340ea8ee52ac66e15
1,108
py
Python
tpot/models/df_caso_3_3_tpot_pipeline.py
nachovazquez98/COVID-19_Paper
6d7b398b8e6c3eeb0f76cabd0aeb077ff575e3a6
[ "ICU", "MIT" ]
null
null
null
tpot/models/df_caso_3_3_tpot_pipeline.py
nachovazquez98/COVID-19_Paper
6d7b398b8e6c3eeb0f76cabd0aeb077ff575e3a6
[ "ICU", "MIT" ]
4
2021-03-19T18:12:04.000Z
2021-09-08T02:30:26.000Z
tpot/models/df_caso_3_3_tpot_pipeline.py
CT-6282/COVID-19_Paper
6d7b398b8e6c3eeb0f76cabd0aeb077ff575e3a6
[ "ICU", "MIT" ]
null
null
null
import numpy as np import pandas as pd from sklearn.linear_model import SGDClassifier from sklearn.model_selection import train_test_split from sklearn.pipeline import make_pipeline, make_union from sklearn.svm import LinearSVC from tpot.builtins import StackingEstimator # NOTE: Make sure that the outcome column is la...
48.173913
178
0.795126
162
1,108
5.253086
0.549383
0.051704
0.032902
0
0
0
0
0
0
0
0
0.037336
0.105596
1,108
22
179
50.363636
0.821393
0.123646
0
0
0
0
0.085744
0
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
114644ff2c033b87360c634b1bd87c338c7d8852
2,681
py
Python
rlpython/embed.py
ukleinek/rlpython
26b3160714c07a4da80de6b1c617016b9033b5fb
[ "MIT" ]
4
2021-08-20T21:52:31.000Z
2021-11-16T20:59:26.000Z
rlpython/embed.py
ukleinek/rlpython
26b3160714c07a4da80de6b1c617016b9033b5fb
[ "MIT" ]
1
2021-08-22T14:48:29.000Z
2021-08-22T14:48:29.000Z
rlpython/embed.py
ukleinek/rlpython
26b3160714c07a4da80de6b1c617016b9033b5fb
[ "MIT" ]
1
2021-08-22T14:41:06.000Z
2021-08-22T14:41:06.000Z
import inspect import logging import os def embed(single_threaded=False, bind='', permissions='600', multi_session=False, started_from_cmd_line=False, print=print, debug=False, **repl_kwargs): from rlpython.frontend import start_frontend from rlpython.repl_server import ReplServer fro...
27.927083
114
0.588213
287
2,681
5.292683
0.324042
0.085583
0.02765
0.03555
0.234365
0.234365
0.134299
0.086899
0.086899
0.086899
0
0.003358
0.333458
2,681
95
115
28.221053
0.84667
0.069377
0
0.274194
0
0
0.095488
0
0
0
0
0.010526
0
1
0.016129
false
0
0.096774
0
0.129032
0.048387
0
0
0
null
0
0
0
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
11480e5471e89f2344e52dd8531e5c0c28285986
12,288
py
Python
tests/test_sfm2cldf.py
clld/pydictionaria
e86f849ee732e11c82830dd10cf29fcbc455ced3
[ "Apache-2.0" ]
1
2022-02-23T10:35:21.000Z
2022-02-23T10:35:21.000Z
tests/test_sfm2cldf.py
dictionaria/pydictionaria
4c18edc3b3bb95bf44dd3b2b910aaff3fcd14045
[ "Apache-2.0" ]
17
2019-05-10T07:47:25.000Z
2022-03-05T23:53:11.000Z
tests/test_sfm2cldf.py
clld/pydictionaria
e86f849ee732e11c82830dd10cf29fcbc455ced3
[ "Apache-2.0" ]
null
null
null
import unittest import pydictionaria.sfm2cldf as s import clldutils.sfm as sfm class SplitMarkersWithSeparators(unittest.TestCase): def test_lump_everything_together_if_seperator_isnt_found(self): sep = 'sep' input_markers = [ ('marker1', 'value1'), ('marker2', 'value2')] ...
36.900901
106
0.562337
1,350
12,288
4.879259
0.140741
0.089874
0.045392
0.05101
0.734173
0.710035
0.685745
0.653712
0.618339
0.585547
0
0.03003
0.276449
12,288
332
107
37.012048
0.710831
0
0
0.603509
0
0
0.194743
0
0
0
0
0
0.126316
1
0.122807
false
0
0.010526
0.010526
0.164912
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
114d938263d811fb9c822efdb82a2dc4e45e8c17
1,907
py
Python
ETM/ETM.py
BlackmanWhite/Easy-Text-Menu-ETM
4a07cd948cbfb96eb238427ca75b37ba32c1b4d3
[ "MIT" ]
2
2018-12-21T20:39:33.000Z
2019-06-03T15:06:58.000Z
ETM/ETM.py
BlackmanWhite/Easy-Text-Menu-ETM
4a07cd948cbfb96eb238427ca75b37ba32c1b4d3
[ "MIT" ]
null
null
null
ETM/ETM.py
BlackmanWhite/Easy-Text-Menu-ETM
4a07cd948cbfb96eb238427ca75b37ba32c1b4d3
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- coding:utf-8 -*- __author__ = ('Pedro Henrique Santos (Blackman White)') __version__ = ('3.5') __license__ = ('GNU General Public License v3.0') opt = [] index = 1 class Menu(): def __init__(self, title, character, char_length): self.title = title self.char...
27.637681
104
0.514421
204
1,907
4.54902
0.333333
0.077586
0.03556
0.045259
0.034483
0
0
0
0
0
0
0.010059
0.37441
1,907
68
105
28.044118
0.767812
0.020975
0
0.057692
0
0
0.078464
0
0
0
0
0
0
1
0.211538
false
0.019231
0
0.038462
0.288462
0.173077
0
0
0
null
0
0
0
0
0
0
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
114ff2121a7cfa68f5d71227e5567c80aae8e735
2,747
py
Python
reviewboard/extensions/tests/test_filediffacl_hook.py
pombredanne/reviewboard
15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d
[ "MIT" ]
null
null
null
reviewboard/extensions/tests/test_filediffacl_hook.py
pombredanne/reviewboard
15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d
[ "MIT" ]
null
null
null
reviewboard/extensions/tests/test_filediffacl_hook.py
pombredanne/reviewboard
15f1d7236ec7a5cb4778ebfeb8b45d13a46ac71d
[ "MIT" ]
null
null
null
"""Unit tests for reviewboard.extensions.hooks.FileDiffACLHook.""" import kgb from djblets.features.testing import override_feature_check from reviewboard.extensions.hooks import FileDiffACLHook from reviewboard.extensions.tests.testcases import BaseExtensionHookTestCase from reviewboard.reviews.features import DiffA...
39.811594
77
0.69858
304
2,747
6.069079
0.279605
0.063415
0.064499
0.091057
0.317073
0.270461
0.085095
0
0
0
0
0.0014
0.219876
2,747
68
78
40.397059
0.859543
0.242446
0
0
0
0
0.011628
0
0
0
0
0
0.028571
1
0.228571
false
0
0.142857
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
1
0
0
0
0
0
0
0
1
1152201b6df12221bf59f2dc2c2c22d4d6e78585
1,958
py
Python
main.py
HisenZhang/WRPI-auto
104d3395fba3633f163846caa02befad7d076b59
[ "MIT" ]
1
2021-05-31T06:59:30.000Z
2021-05-31T06:59:30.000Z
main.py
HisenZhang/WRPI-auto
104d3395fba3633f163846caa02befad7d076b59
[ "MIT" ]
null
null
null
main.py
HisenZhang/WRPI-auto
104d3395fba3633f163846caa02befad7d076b59
[ "MIT" ]
null
null
null
import headless import argparse import threading import sys import logging import py_cui from modules.tui import TUI from modules.util import configManager def runSchedule(station): logging.info("Scheduler started.") while station.mixer.get_init(): station.scheduleRun() def runTUI(mainWindow): l...
29.666667
108
0.635342
212
1,958
5.783019
0.551887
0.026917
0.022839
0.050571
0
0
0
0
0
0
0
0.008892
0.25332
1,958
65
109
30.123077
0.829685
0.124106
0
0
0
0
0.113968
0
0
0
0
0.015385
0
1
0.061224
false
0
0.163265
0
0.22449
0
0
0
0
null
0
0
0
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
1152237c09feb52d35f5185b7187a7506654b9f5
20,117
py
Python
botcmd.py
JuEeHa/oonbotti2
be4f98f8d93004f0387804ef13038b8186a611d5
[ "Unlicense" ]
null
null
null
botcmd.py
JuEeHa/oonbotti2
be4f98f8d93004f0387804ef13038b8186a611d5
[ "Unlicense" ]
null
null
null
botcmd.py
JuEeHa/oonbotti2
be4f98f8d93004f0387804ef13038b8186a611d5
[ "Unlicense" ]
null
null
null
import eliza import threading import random import re import time concmd=['/q', '/lt', '/st', '/lg', '/lm', '/sm'] blacklist = [] doctor = eliza.eliza() # channel: [user1, user2, ..., userN] trusted = {} trustedlock = threading.Lock() gods = {} godslock = threading.Lock() # receiver: [(sender1, origin1, message1),...
28.293952
157
0.627579
2,695
20,117
4.667161
0.145455
0.013357
0.01924
0.026236
0.297981
0.243918
0.207505
0.195262
0.190491
0.173318
0
0.011349
0.215937
20,117
710
158
28.333803
0.78609
0.07864
0
0.347009
0
0.003419
0.138015
0.003838
0
0
0
0
0
0
null
null
0
0.008547
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
11542acf968f5d9e3113d36c3898d31f74ab2fc2
3,606
py
Python
perceptron_pacman.py
Tskken/classification
83918a522eaa0f882464fc0c98dbbdc8a20f7467
[ "MIT" ]
null
null
null
perceptron_pacman.py
Tskken/classification
83918a522eaa0f882464fc0c98dbbdc8a20f7467
[ "MIT" ]
null
null
null
perceptron_pacman.py
Tskken/classification
83918a522eaa0f882464fc0c98dbbdc8a20f7467
[ "MIT" ]
null
null
null
"""Perceptron implementation for apprenticeship learning in pacman. Author: Dylan Blanchard, Sloan Anderson, and Stephen Johnson Class: CSI-480-01 Assignment: PA 5 -- Supervised Learning Due Date: Nov 30, 2018 11:59 PM Certification of Authenticity: I certify that this is entirely my own work, except where I have giv...
40.516854
78
0.683028
464
3,606
5.24569
0.463362
0.028759
0.024651
0.029581
0.017256
0
0
0
0
0
0
0.010623
0.242928
3,606
88
79
40.977273
0.880952
0.620355
0
0
0
0
0.02044
0
0
0
0
0.011364
0
1
0.115385
false
0
0.076923
0
0.269231
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
1
0
0
0
0
0
0
0
0
0
0
1
115a040d275cd84e7eec41d7be8b2f2f667b8f6a
521
py
Python
simplemooc/forum/admin.py
KelsonMaciel/simplemooc-
2bfae9d015dfa402c1e8c9779a21cbb46dc3ccc7
[ "MIT" ]
null
null
null
simplemooc/forum/admin.py
KelsonMaciel/simplemooc-
2bfae9d015dfa402c1e8c9779a21cbb46dc3ccc7
[ "MIT" ]
5
2020-02-12T00:10:10.000Z
2021-06-10T19:49:19.000Z
simplemooc/forum/admin.py
KelsonMaciel/simplemooc-
2bfae9d015dfa402c1e8c9779a21cbb46dc3ccc7
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Thread, Reply class ThreadAdmin(admin.ModelAdmin): list_display = ['title', 'author', 'created', 'modifield'] search_fields = ['title', 'author__email', 'body'] prepopulated_fields = {'slug':('title',)} class ReplyAdmin(admin.ModelAdmin): list...
27.421053
63
0.706334
57
521
6.263158
0.45614
0.092437
0.106443
0.145658
0.190476
0
0
0
0
0
0
0
0.136276
521
18
64
28.944444
0.793333
0
0
0
0
0
0.225
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
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
115b5d6f609b01ca854541ca5b0bd702bdb12d78
11,067
py
Python
bsbetl/alltable_calcs/_2StVols_SlowDailyVols.py
t0rus1/bsbetl
670e39e619c43a8cb89729f0bfcb66213438af27
[ "MIT" ]
null
null
null
bsbetl/alltable_calcs/_2StVols_SlowDailyVols.py
t0rus1/bsbetl
670e39e619c43a8cb89729f0bfcb66213438af27
[ "MIT" ]
null
null
null
bsbetl/alltable_calcs/_2StVols_SlowDailyVols.py
t0rus1/bsbetl
670e39e619c43a8cb89729f0bfcb66213438af27
[ "MIT" ]
null
null
null
from bsbetl import ov_helpers import logging import math from datetime import date, datetime from numpy.core.numeric import NaN from pandas.core.indexes.base import Index import pandas as pd from bsbetl.alltable_calcs import Calculation from bsbetl.alltable_calcs.at_params import at_calc_params from bsbetl.calc_helper...
50.766055
130
0.537002
1,639
11,067
3.514948
0.154973
0.078459
0.082625
0.094428
0.54192
0.452526
0.415032
0.374935
0.374935
0.262802
0
0.037108
0.288967
11,067
218
131
50.766055
0.695006
0.241348
0
0.12931
0
0
0.160456
0.00267
0
0
0
0
0.017241
1
0.025862
false
0.051724
0.086207
0
0.12931
0
0
0
0
null
0
0
0
0
0
0
0
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
115c2696ff108c7f748acdd64479d1a4247e058f
501
py
Python
SQLFileManager.py
whde/Movie
5d712642242042b0fa2e43f526605def9a6a4343
[ "MIT" ]
1
2018-12-03T06:08:46.000Z
2018-12-03T06:08:46.000Z
SQLFileManager.py
whde/Movie
5d712642242042b0fa2e43f526605def9a6a4343
[ "MIT" ]
null
null
null
SQLFileManager.py
whde/Movie
5d712642242042b0fa2e43f526605def9a6a4343
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- import threading mu = threading.Lock() def create_sql_file(): open('sql.txt', 'w+', encoding='utf-8') def lock_test(sql): if mu.acquire(True): write_to_file(sql) mu.release() def write_to_file(sql): fp = open('sql.txt', 'a+') print('wri...
14.735294
43
0.556886
71
501
3.802817
0.507042
0.077778
0.111111
0.103704
0
0
0
0
0
0
0
0.005362
0.255489
501
33
44
15.181818
0.718499
0.075848
0
0
0
0
0.123644
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.315789
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
116745dfc2a9da9359f4a50a1989dd86ce14b8c7
14,361
py
Python
sdk/python/pulumi_gcp/iot/outputs.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/iot/outputs.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_gcp/iot/outputs.py
dimpu47/pulumi-gcp
38355de300a5768e11c49d344a8165ba0735deed
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Dict, List, Mapping, Optional, Tuple, Union from .. import ...
34.438849
127
0.648562
1,641
14,361
5.349787
0.114564
0.032578
0.03702
0.054106
0.649732
0.57535
0.524319
0.472263
0.417246
0.378973
0
0.002897
0.254857
14,361
416
128
34.521635
0.817494
0.228745
0
0.436735
1
0
0.130261
0.048324
0
0
0
0
0
1
0.2
false
0
0.02449
0.085714
0.42449
0
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
febe1ee5a46f587dabdd75752ea681d56c884d05
1,145
py
Python
vjemmie/db/__init__.py
PederHA/vjemmie
e3742380d3ea06de90f8227a0934569f8fd02b5c
[ "MIT" ]
1
2018-07-30T02:43:27.000Z
2018-07-30T02:43:27.000Z
vjemmie/db/__init__.py
PederHA/vjemmie
e3742380d3ea06de90f8227a0934569f8fd02b5c
[ "MIT" ]
5
2020-09-20T14:07:28.000Z
2022-01-13T01:18:23.000Z
vjemmie/db/__init__.py
PederHA/vjemmie
e3742380d3ea06de90f8227a0934569f8fd02b5c
[ "MIT" ]
null
null
null
from typing import Dict from pathlib import Path from discord.ext import commands from ..config import MAIN_DB from .db import DatabaseConnection # Maybe this is a little clumsy? _CONNECTIONS: Dict[str, DatabaseConnection] = {} def add_db(path: str, bot: commands.Bot) -> DatabaseConnection: if path not in _CON...
26.627907
83
0.666376
158
1,145
4.740506
0.468354
0.032043
0.036048
0.032043
0.061415
0.061415
0
0
0
0
0
0
0.245415
1,145
42
84
27.261905
0.866898
0.260262
0
0
0
0
0.021505
0
0
0
0
0.02381
0
1
0.142857
false
0
0.238095
0.047619
0.47619
0
0
0
0
null
0
0
0
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
fec2ae6a5475f08ad3bf9625968941494a5eccac
1,631
py
Python
CodeChallange.py/codeone.py
jvillalp/Leetcodepractice
6269059bf7bd66878f130c2dd8f34a2e50f92ba1
[ "MIT" ]
null
null
null
CodeChallange.py/codeone.py
jvillalp/Leetcodepractice
6269059bf7bd66878f130c2dd8f34a2e50f92ba1
[ "MIT" ]
null
null
null
CodeChallange.py/codeone.py
jvillalp/Leetcodepractice
6269059bf7bd66878f130c2dd8f34a2e50f92ba1
[ "MIT" ]
null
null
null
from collections import Counter #dict subclass for counting hashable objects {(Key, value)} #It is a collection where elements are stored as dictionary keys and # their counts are stored as dictionary values. #we want to return the first time that a non repeating charactter is in the string (s) #if none, return stri...
38.833333
120
0.694666
259
1,631
4.355212
0.451737
0.005319
0.019504
0.037234
0.044326
0.044326
0.044326
0
0
0
0
0.007987
0.232373
1,631
41
121
39.780488
0.892971
0.303495
0
0
0
0
0.004566
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fecf4f5e6d00e7fa97eafe2c267f914abf2fab24
2,653
py
Python
src/PhoneBook.py
Seniru/at.py
9ddc3e200141f9b59e69000d24fa2a954919cf24
[ "MIT" ]
null
null
null
src/PhoneBook.py
Seniru/at.py
9ddc3e200141f9b59e69000d24fa2a954919cf24
[ "MIT" ]
null
null
null
src/PhoneBook.py
Seniru/at.py
9ddc3e200141f9b59e69000d24fa2a954919cf24
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2021 Seniru Pasan Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
30.494253
128
0.748963
368
2,653
5.326087
0.434783
0.044898
0.022959
0.029592
0.035714
0.035714
0.035714
0.035714
0
0
0
0.005933
0.174142
2,653
87
129
30.494253
0.888635
0.695816
0
0
0
0.041667
0.144638
0.140898
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
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