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
b80c0db489343261ed52fffd7f50b6d956c0f28d
5,984
py
Python
housemate/__init__.py
intuso/housemate-python
2a73ab3c5013f2ed9db869bb40111b2a4aebb83a
[ "Apache-2.0" ]
null
null
null
housemate/__init__.py
intuso/housemate-python
2a73ab3c5013f2ed9db869bb40111b2a4aebb83a
[ "Apache-2.0" ]
null
null
null
housemate/__init__.py
intuso/housemate-python
2a73ab3c5013f2ed9db869bb40111b2a4aebb83a
[ "Apache-2.0" ]
null
null
null
import json import traceback from abc import abstractmethod import stomp def serialise(obj): def to_camel_case(value): def camelcase(): yield str.lower while True: yield str.capitalize c = camelcase() return "".join(c.next()(x) if x else "_" for x...
29.623762
119
0.658757
734
5,984
5.162125
0.282016
0.044339
0.040644
0.031671
0.213777
0.142782
0.112959
0.044603
0.044603
0.044603
0
0.000446
0.25117
5,984
201
120
29.771144
0.845124
0.162934
0
0.186441
0
0
0.061651
0.007106
0
0
0
0
0
0
null
null
0.008475
0.033898
null
null
0.059322
0
0
0
null
0
0
0
0
0
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
b817700905771ac8f3df8f2c0d1e8d6c7ad86289
266
py
Python
Coding/Array/two-sum.py
Yong-Zhuang/Tutoring
13fa2d80db1356e0c640a4ff305a6e143fc3699a
[ "MIT" ]
null
null
null
Coding/Array/two-sum.py
Yong-Zhuang/Tutoring
13fa2d80db1356e0c640a4ff305a6e143fc3699a
[ "MIT" ]
null
null
null
Coding/Array/two-sum.py
Yong-Zhuang/Tutoring
13fa2d80db1356e0c640a4ff305a6e143fc3699a
[ "MIT" ]
null
null
null
class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: dic = {} for i in range(len(nums)): if dic.get(target - nums[i]) is not None: return [dic[target - nums[i]], i] dic[nums[i]] = i
33.25
64
0.496241
38
266
3.473684
0.552632
0.113636
0.166667
0
0
0
0
0
0
0
0
0
0.345865
266
7
65
38
0.758621
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
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
b81ad1075b23820198f1aad3a3a53117c90a9030
2,416
py
Python
tools/android/roll/update_support_library.py
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
tools/android/roll/update_support_library.py
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
tools/android/roll/update_support_library.py
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
#!/usr/bin/env python # # Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Updates the Android support repository (m2repository). """ import argparse import fnmatch import os import subprocess import shu...
35.529412
79
0.627483
325
2,416
4.52
0.443077
0.057182
0.044248
0.051055
0.161334
0.115044
0.099387
0.099387
0.058543
0.058543
0
0.021894
0.243791
2,416
67
80
36.059701
0.782157
0.190811
0
0.046512
0
0
0.225173
0.027084
0
0
0
0
0
0
null
null
0
0.139535
null
null
0.069767
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b8227e0e60fc6a6959cb09344023de964f35d9ab
424
py
Python
source/timeseries/multi_output/residual_wrapper.py
supercoder3000/py_tensorflow_experiments
01aebf681df25286cf4503661148203a03309b04
[ "MIT" ]
null
null
null
source/timeseries/multi_output/residual_wrapper.py
supercoder3000/py_tensorflow_experiments
01aebf681df25286cf4503661148203a03309b04
[ "MIT" ]
null
null
null
source/timeseries/multi_output/residual_wrapper.py
supercoder3000/py_tensorflow_experiments
01aebf681df25286cf4503661148203a03309b04
[ "MIT" ]
null
null
null
import tensorflow as tf class ResidualWrapper(tf.keras.Model): def __init__(self, model): super().__init__() self.model = model def call(self, inputs, *args, **kwargs): delta = self.model(inputs, *args, **kwargs) # The prediction for each time step is the input # from...
26.5
56
0.627358
54
424
4.777778
0.574074
0.104651
0.100775
0
0
0
0
0
0
0
0
0
0.28066
424
15
57
28.266667
0.845902
0.268868
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
629285686f6122d7dce986bf65b403a3e193b817
2,613
py
Python
model/df_generation.py
spacewaterbear/pubmed_data
6e0d85ff623df1f1badd2f711b7d46ea8211741e
[ "MIT" ]
null
null
null
model/df_generation.py
spacewaterbear/pubmed_data
6e0d85ff623df1f1badd2f711b7d46ea8211741e
[ "MIT" ]
null
null
null
model/df_generation.py
spacewaterbear/pubmed_data
6e0d85ff623df1f1badd2f711b7d46ea8211741e
[ "MIT" ]
null
null
null
import pandas as pd from utils.date import to_datetime from functools import wraps nb_author = 16 class DataFrameGenertion: def __init__(self): self.columns = self._generate_columns() self.df = pd.DataFrame(columns=self.columns) self.d = None self.article = None def _generate_c...
34.381579
125
0.603904
306
2,613
4.98366
0.271242
0.045902
0.055082
0.034098
0.156066
0.136393
0.114098
0.114098
0.047213
0
0
0.002568
0.254879
2,613
75
126
34.84
0.780688
0.02832
0
0.103448
1
0
0.203181
0
0
0
0
0
0
1
0.172414
false
0
0.051724
0.068966
0.37931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62961bf7a39c3c78999724de35586e607fa1cbd0
873
py
Python
PINp/2015/TITOV_I_V/task_9_20.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
PINp/2015/TITOV_I_V/task_9_20.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
PINp/2015/TITOV_I_V/task_9_20.py
YukkaSarasti/pythonintask
eadf4245abb65f4400a3bae30a4256b4658e009c
[ "Apache-2.0" ]
null
null
null
# Задача 9 # Создайте игру, в которой компьютер выбирает какое-либо слово, а игрок должен #его отгадать. Компьютер сообщает игроку, сколько букв в слове, и дает пять попыток #узнать, есть ли какая-либо буква в слове, причем программа может отвечать только #"Да" и "Нет". Вслед за тем игрок должен попробовать отгадать сл...
25.676471
83
0.662085
119
873
4.857143
0.722689
0.038062
0
0
0
0
0
0
0
0
0
0.014451
0.207331
873
33
84
26.454545
0.820809
0.386025
0
0.117647
0
0
0.30303
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.411765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6298fc690cd9bdfba9321598d380313ac1e54c96
2,584
py
Python
application/services/PatientService.py
MickeyPa/soen344
a9632dc36d23a4eba5bb9c943c9ae75ecc4811bd
[ "MIT" ]
null
null
null
application/services/PatientService.py
MickeyPa/soen344
a9632dc36d23a4eba5bb9c943c9ae75ecc4811bd
[ "MIT" ]
null
null
null
application/services/PatientService.py
MickeyPa/soen344
a9632dc36d23a4eba5bb9c943c9ae75ecc4811bd
[ "MIT" ]
2
2019-06-04T20:09:14.000Z
2019-06-04T20:15:32.000Z
from application.TDG import PatientTDG from passlib.hash import sha256_crypt import datetime # Returns True if patient exists def patientExists(hcnumber): return PatientTDG.find(hcnumber=hcnumber) is not None # Returns Patient if found def getPatient(hcnumber): patient = PatientTDG.find(hcnumber=hcnumber) if patie...
34
199
0.720975
327
2,584
5.675841
0.293578
0.033944
0.035022
0.053879
0.157328
0.100216
0.085129
0.085129
0.085129
0.085129
0
0.009953
0.183437
2,584
75
200
34.453333
0.869668
0.191563
0
0.272727
0
0
0.025999
0
0
0
0
0
0
1
0.109091
false
0.109091
0.054545
0.018182
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
629e3e8e21659c6d0c7f94e5351b00f393013826
383
py
Python
setup.py
JEdward7777/GsFileLock
8a0ca060d10600ecc173f80a89eff75c755c66c6
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
setup.py
JEdward7777/GsFileLock
8a0ca060d10600ecc173f80a89eff75c755c66c6
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
setup.py
JEdward7777/GsFileLock
8a0ca060d10600ecc173f80a89eff75c755c66c6
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
from distutils.core import setup setup( name='GsFileLock', version='0.1.0', author='Evan Fosmark', author_email='me@evanfosmark.com', packages=['gsfilelock','gsfilelock.test'], url='https://github.com/JEdward7777/GsFileLock', license='LICENSE.txt', description='Google Storage File locki...
27.357143
54
0.689295
45
383
5.822222
0.777778
0
0
0
0
0
0
0
0
0
0
0.021472
0.148825
383
13
55
29.461538
0.782209
0
0
0
0
0
0.436031
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
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
62a981cdd3a201a454da82913b892535688a1ab5
7,314
py
Python
backend/app/services.py
teramundi/onceonly
ab6a278df9b28e8ba5874baf9b903541387fcf79
[ "MIT" ]
null
null
null
backend/app/services.py
teramundi/onceonly
ab6a278df9b28e8ba5874baf9b903541387fcf79
[ "MIT" ]
null
null
null
backend/app/services.py
teramundi/onceonly
ab6a278df9b28e8ba5874baf9b903541387fcf79
[ "MIT" ]
null
null
null
import base64 import secrets import hashlib import requests from requests.models import HTTPError from datetime import date, datetime, time, timedelta from typing import List from sqlalchemy.exc import IntegrityError from cryptography.fernet import Fernet from cryptography.hazmat.primitives import hashes from cryptogra...
31.25641
97
0.600902
787
7,314
5.363405
0.205845
0.043118
0.049751
0.030798
0.198768
0.162521
0.155413
0.155413
0.111348
0.090974
0
0.008034
0.319251
7,314
233
98
31.390558
0.839727
0.003965
0
0.215
0
0
0.027873
0.009062
0
0
0
0
0
1
0.085
false
0.11
0.075
0.015
0.25
0.005
0
0
0
null
0
0
0
0
0
0
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
62b2ea964d8f1949047fe36dd6de386f3f9d777b
5,992
py
Python
PyObjCTest/test_nsset.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsset.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nsset.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
from PyObjCTools.TestSupport import * import objc from Foundation import * class TestNSSetInteraction(TestCase): def __testRepeatedAllocInit( self ): for i in range(1,1000): a = NSSet.alloc().init() def __testContains( self ): x = NSSet.setWithArray_( ["foo", "bar", "baz"] ) ...
33.47486
113
0.616989
767
5,992
4.616688
0.113429
0.18074
0.035583
0.066083
0.706015
0.664219
0.629766
0.590511
0.558882
0.536854
0
0.034767
0.251168
5,992
178
114
33.662921
0.754402
0.016856
0
0.546763
0
0
0.009001
0
0
0
0
0
0.654676
1
0.079137
false
0.014388
0.021583
0
0.115108
0
0
0
0
null
0
0
0
0
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
62b7668cb46a0f7e485aed378dac17d40dacbad7
1,795
py
Python
src/nisqai/layer/_product_ansatz_test.py
obliviateandsurrender/nisqai-dev
cf6c38d34acb8fe776913c69212845c547cb47a6
[ "Apache-2.0" ]
14
2019-05-21T01:23:56.000Z
2021-06-02T15:57:13.000Z
src/nisqai/layer/_product_ansatz_test.py
obliviateandsurrender/nisqai-dev
cf6c38d34acb8fe776913c69212845c547cb47a6
[ "Apache-2.0" ]
8
2019-02-08T00:16:56.000Z
2019-08-09T13:32:11.000Z
src/nisqai/layer/_product_ansatz_test.py
obliviateandsurrender/nisqai-dev
cf6c38d34acb8fe776913c69212845c547cb47a6
[ "Apache-2.0" ]
4
2019-02-11T07:29:01.000Z
2019-07-19T17:45:17.000Z
# 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 # distribu...
33.867925
80
0.699721
272
1,795
4.463235
0.4375
0.049423
0.024712
0.017298
0.093904
0.093904
0.093904
0.024712
0
0
0
0.041667
0.211142
1,795
52
81
34.519231
0.815678
0.538719
0
0
0
0.111111
0.280503
0
0
0
0
0
0.166667
1
0.166667
false
0.055556
0.055556
0
0.222222
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
0
0
0
1
0
0
0
0
0
1
62b9bf921268a5a5aed3a1e7e4dbb153631381f8
299
py
Python
mqtt/topics/example/__init__.py
DarkbordermanTemplate/mqtt-consumer
46c0ca8c8b0e84c24a210b5dcdecd0dc27aa5390
[ "BSD-2-Clause" ]
null
null
null
mqtt/topics/example/__init__.py
DarkbordermanTemplate/mqtt-consumer
46c0ca8c8b0e84c24a210b5dcdecd0dc27aa5390
[ "BSD-2-Clause" ]
null
null
null
mqtt/topics/example/__init__.py
DarkbordermanTemplate/mqtt-consumer
46c0ca8c8b0e84c24a210b5dcdecd0dc27aa5390
[ "BSD-2-Clause" ]
null
null
null
""" Topic handler definition """ import os from distutils.util import strtobool from topics.utils import TopicHandler from .handler import handler EXAMPLE_HANDLER = TopicHandler( handle=handler, topic="/example", enabled=strtobool(os.environ.get("EXAMPLE_STREAMING", "false")), )
18.6875
68
0.73913
34
299
6.441176
0.558824
0
0
0
0
0
0
0
0
0
0
0
0.153846
299
15
69
19.933333
0.865613
0.080268
0
0
0
0
0.114068
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
62be47b2998805884baaf30971df6126b5cc5289
984
py
Python
FusionIIIT/applications/online_cms/forms.py
paras11agarwal/FusionIIIT
8332811dcec475176c15e6a3a00e5bdd9074fa49
[ "Apache-2.0" ]
null
null
null
FusionIIIT/applications/online_cms/forms.py
paras11agarwal/FusionIIIT
8332811dcec475176c15e6a3a00e5bdd9074fa49
[ "Apache-2.0" ]
6
2020-02-12T00:40:35.000Z
2022-03-11T23:19:42.000Z
FusionIIIT/applications/online_cms/forms.py
paras11agarwal/FusionIIIT
8332811dcec475176c15e6a3a00e5bdd9074fa49
[ "Apache-2.0" ]
null
null
null
from django import forms class AddDocuments(forms.Form): doc = forms.FileField(required=True) description = forms.CharField(label='Description', max_length=100, widget=forms.TextInput( attrs={'placeholder': 'Enter Description'})) def...
41
99
0.585366
100
984
5.58
0.44
0.071685
0.078853
0.09319
0.663082
0.663082
0.562724
0.562724
0.562724
0.562724
0
0.010959
0.25813
984
23
100
42.782609
0.753425
0
0
0.470588
0
0
0.159553
0.061992
0
0
0
0
0
1
0.117647
false
0
0.058824
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
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
62bfdbe76846ca03fcf78fbb02541b9e8dd79e11
412
py
Python
Machine Learning Fundamentals with Python Datacamp/Unsupervised Learning in Python/Visualization with hierarchical clustering and t-SNE/extraxting the cluster labels.py
dibyanshushekhardey/Machine-Learning
42047bc418096086a0c133dcd04c94f88342472b
[ "MIT" ]
null
null
null
Machine Learning Fundamentals with Python Datacamp/Unsupervised Learning in Python/Visualization with hierarchical clustering and t-SNE/extraxting the cluster labels.py
dibyanshushekhardey/Machine-Learning
42047bc418096086a0c133dcd04c94f88342472b
[ "MIT" ]
null
null
null
Machine Learning Fundamentals with Python Datacamp/Unsupervised Learning in Python/Visualization with hierarchical clustering and t-SNE/extraxting the cluster labels.py
dibyanshushekhardey/Machine-Learning
42047bc418096086a0c133dcd04c94f88342472b
[ "MIT" ]
null
null
null
# Perform the necessary imports import pandas as pd from scipy.cluster.hierarchy import fcluster # Use fcluster to extract labels: labels labels = fcluster(mergings, 6, criterion='distance') # Create a DataFrame with labels and varieties as columns: df df = pd.DataFrame({'labels': labels, 'varieties': varieties}) # ...
25.75
61
0.747573
57
412
5.403509
0.578947
0.116883
0
0
0
0
0
0
0
0
0
0.002825
0.140777
412
15
62
27.466667
0.867232
0.385922
0
0
0
0
0.153846
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
62c40549e2cc677bf9273821bcdb7dc7ddb71db2
248
py
Python
trabalhos/metodos_busca/busca_largura.py
brunocampos01/inteligencia-artificial
97f9830acb91e8a80d3a5e7de8c57fd7ac9f0a00
[ "MIT" ]
11
2018-11-23T00:34:50.000Z
2022-02-14T14:02:16.000Z
trabalhos/metodos_busca/busca_largura.py
brunocampos01/inteligencia-artificial
97f9830acb91e8a80d3a5e7de8c57fd7ac9f0a00
[ "MIT" ]
null
null
null
trabalhos/metodos_busca/busca_largura.py
brunocampos01/inteligencia-artificial
97f9830acb91e8a80d3a5e7de8c57fd7ac9f0a00
[ "MIT" ]
2
2019-04-22T03:55:18.000Z
2020-06-26T17:24:03.000Z
''' width search Explore all of the neighbors nodes at the present depth ''' three_d_array = [[[i for k in range(4)] for j in range(4)] for i in range(4)] sum = three_d_array[1][2][3] + three_d_array[2][3][1] + three_d_array[0][0][0] print(sum)
24.8
78
0.669355
52
248
3.038462
0.519231
0.151899
0.278481
0.139241
0
0
0
0
0
0
0
0.057692
0.16129
248
10
79
24.8
0.701923
0.278226
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62c4c1e0e7b8ff89b144448e75e5019e3d2aaa35
457
py
Python
fuzzymetaphone.py
sskadamb/csvmatch
0e5091c2c7d8857a27f30458210b3e9161b8f844
[ "Apache-2.0" ]
146
2015-12-08T18:39:26.000Z
2022-03-06T14:56:42.000Z
fuzzymetaphone.py
sskadamb/csvmatch
0e5091c2c7d8857a27f30458210b3e9161b8f844
[ "Apache-2.0" ]
34
2016-02-24T18:18:56.000Z
2022-03-02T03:06:58.000Z
fuzzymetaphone.py
sskadamb/csvmatch
0e5091c2c7d8857a27f30458210b3e9161b8f844
[ "Apache-2.0" ]
19
2017-05-11T05:29:51.000Z
2021-05-27T10:06:40.000Z
import doublemetaphone def match(value1, value2): value1metaphone = doublemetaphone.doublemetaphone(value1) value2metaphone = doublemetaphone.doublemetaphone(value2) possibilities = [ value1metaphone[0] == value2metaphone[0], value1metaphone[0] == value2metaphone[1], value1metaphone...
35.153846
61
0.698031
41
457
7.780488
0.390244
0.188088
0.194357
0
0
0
0
0
0
0
0
0.070845
0.196937
457
12
62
38.083333
0.798365
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62c844f22fb17fc3290fd48eb8e033bb75ef87d9
13,015
py
Python
app/templates/backend/settings/base.py
JTarball/generator-django-polymer
50f6d571d3303e4a378dbed9d455e899955cd2c0
[ "0BSD" ]
null
null
null
app/templates/backend/settings/base.py
JTarball/generator-django-polymer
50f6d571d3303e4a378dbed9d455e899955cd2c0
[ "0BSD" ]
null
null
null
app/templates/backend/settings/base.py
JTarball/generator-django-polymer
50f6d571d3303e4a378dbed9d455e899955cd2c0
[ "0BSD" ]
null
null
null
#!/usr/bin/env python """ This is the project main settings file. (Source controlled). If you need to override a setting locally, use local_settings.py. """ GENERATOR_DJANGO_POLYMER_VERSION = "<%= generator_version %>" import os import sys import logging from backend.utils import logger # Django settings for project...
35.175676
224
0.563273
1,321
13,015
5.443603
0.351249
0.028925
0.008344
0.01182
0.076902
0.060492
0.027256
0.027256
0.019191
0
0
0.002462
0.188475
13,015
369
225
35.271003
0.678375
0.523242
0
0.061728
0
0.006173
0.378299
0.206865
0
0
0
0
0
0
null
null
0.006173
0.04321
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
62cbe9684beea6be94fdb17956e6413beb0eacb1
3,468
py
Python
example-data/ecommerce-simple/scripts/genData.py
Alicloud-Academy/big-data
ac79484434a5baa4184744096f8f2666111080cf
[ "MIT" ]
2
2020-08-28T14:15:09.000Z
2022-03-28T13:24:09.000Z
example-data/ecommerce-simple/scripts/genData.py
Alicloud-Academy/big-data
ac79484434a5baa4184744096f8f2666111080cf
[ "MIT" ]
null
null
null
example-data/ecommerce-simple/scripts/genData.py
Alicloud-Academy/big-data
ac79484434a5baa4184744096f8f2666111080cf
[ "MIT" ]
2
2021-05-19T10:02:44.000Z
2022-02-24T09:39:30.000Z
# # ~ Fake Retail Data Generator ~ # This script generates fake item, user, and order data for demonstration purposes # # Author: Jeremy Pedersen # Created: 2020-11-04 # Updated: 2021-03-15 # import names, random userNum = 1000 # Generate 1000 users orderNum = 10000 # Generate 10000 orders productNum = 100 # Generate ...
29.389831
97
0.6609
518
3,468
4.376448
0.310811
0.074548
0.049405
0.042347
0.231142
0.194971
0.163211
0.143802
0.143802
0.107631
0
0.032129
0.210208
3,468
117
98
29.641026
0.795546
0.400519
0
0.145455
1
0
0.12881
0.07178
0
0
0
0
0
1
0.018182
false
0
0.018182
0
0.054545
0
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
62ce1ec06a289cffa7e2264b9bc56fa0237f9b47
4,998
py
Python
cnmodel/an_model/wrapper.py
asasmal/cnmodel
ca834ae05e3c6487a441c9a6608eeacd46dae6aa
[ "BSD-3-Clause" ]
1
2020-01-26T12:46:58.000Z
2020-01-26T12:46:58.000Z
cnmodel/an_model/wrapper.py
asasmal/cnmodel
ca834ae05e3c6487a441c9a6608eeacd46dae6aa
[ "BSD-3-Clause" ]
null
null
null
cnmodel/an_model/wrapper.py
asasmal/cnmodel
ca834ae05e3c6487a441c9a6608eeacd46dae6aa
[ "BSD-3-Clause" ]
1
2020-01-26T12:47:01.000Z
2020-01-26T12:47:01.000Z
import os import numpy as np from ..util import matlab_proc _proc = None def get_matlab(): """ Return a running MatlabProcess instance. """ global _proc if _proc is None: path = os.path.dirname(__file__) model_path = os.path.join(path, 'model') _proc = matlab_proc.MatlabProcess...
36.217391
96
0.630652
692
4,998
4.5
0.346821
0.02569
0.009634
0.007707
0.315992
0.301863
0.26718
0.249839
0.249839
0.249839
0
0.016052
0.289516
4,998
137
97
36.481752
0.860884
0.067627
0
0.211538
0
0
0.148883
0.04665
0
0
0
0
0.019231
0
null
null
0
0.057692
null
null
0.096154
0
0
0
null
0
0
0
0
0
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
62d553a819f99329ba0326d0068aca9b4d984622
336
py
Python
util/export_users.py
MBRUN138/open-contest
2d0f4f0db3da5b59a6e50c8ee3775fba1bf6297c
[ "Apache-2.0" ]
null
null
null
util/export_users.py
MBRUN138/open-contest
2d0f4f0db3da5b59a6e50c8ee3775fba1bf6297c
[ "Apache-2.0" ]
49
2019-04-02T09:35:40.000Z
2021-03-20T17:15:12.000Z
util/export_users.py
MBRUN138/open-contest
2d0f4f0db3da5b59a6e50c8ee3775fba1bf6297c
[ "Apache-2.0" ]
22
2019-03-29T18:07:06.000Z
2021-02-24T19:49:50.000Z
#!/usr/bin/python3 import sys import json import os.path if len(sys.argv) != 2: print("Usage: python3 export_users.py <db-path>") sys.exit(1) db_path = sys.argv[1] with open(os.path.join(db_path, 'users.json')) as f: users = json.loads(f.read()) for user in users: print(f"{user['username']},{user...
18.666667
53
0.645833
57
336
3.754386
0.561404
0.084112
0.084112
0
0
0
0
0
0
0
0
0.017794
0.16369
336
17
54
19.764706
0.743772
0.050595
0
0
0
0
0.273585
0.116352
0
0
0
0
0
1
0
false
0.090909
0.272727
0
0.272727
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
62de6dd595ac5fa76c21a9d145e1b5f5eda477c1
9,912
py
Python
authlib/auth.py
jmrafael/Streamlit-Authentication
208e9d8f116d25d420f41b6d01c13f063052805b
[ "MIT" ]
null
null
null
authlib/auth.py
jmrafael/Streamlit-Authentication
208e9d8f116d25d420f41b6d01c13f063052805b
[ "MIT" ]
null
null
null
authlib/auth.py
jmrafael/Streamlit-Authentication
208e9d8f116d25d420f41b6d01c13f063052805b
[ "MIT" ]
null
null
null
# see: https://discuss.streamlit.io/t/authentication-script/14111 from os import environ as osenv import time from functools import wraps import logging import streamlit as st from . import const, aes256cbcExtended, CookieManager # ------------------------------------------------------------------------------ # Glob...
38.71875
145
0.612893
1,197
9,912
4.924812
0.219716
0.029856
0.026463
0.023749
0.284818
0.220696
0.187447
0.159288
0.159288
0.125021
0
0.003676
0.231538
9,912
255
146
38.870588
0.770251
0.162228
0
0.257732
0
0
0.152907
0
0
0
0
0.003922
0.005155
1
0.07732
false
0.082474
0.041237
0.005155
0.154639
0
0
0
0
null
0
0
0
0
0
0
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
62e36c575d15d3c72736ba38ae71a4e0cb7e8bce
269
py
Python
hard/03_postal_codes.py
UltiRequiem/hacker-rank-python
bcc6a467dd2a1f90cf61c1d6b049f566f5ffabe1
[ "MIT" ]
4
2021-08-02T21:34:38.000Z
2021-09-24T03:26:33.000Z
hard/03_postal_codes.py
UltiRequiem/hacker-rank-python
bcc6a467dd2a1f90cf61c1d6b049f566f5ffabe1
[ "MIT" ]
null
null
null
hard/03_postal_codes.py
UltiRequiem/hacker-rank-python
bcc6a467dd2a1f90cf61c1d6b049f566f5ffabe1
[ "MIT" ]
3
2021-08-02T21:34:39.000Z
2021-08-02T21:37:16.000Z
from re import match, findall regex_integer_in_range = r"_________" regex_alternating_repetitive_digit_pair = r"_________" if __name__ == "__main__": string = input() print(bool(match(r"^[1-9][\d]{5}$", string) and len(findall(r"(\d)(?=\d\1)", string)) < 2))
29.888889
95
0.680297
39
269
3.846154
0.717949
0
0
0
0
0
0
0
0
0
0
0.021368
0.130112
269
8
96
33.625
0.619658
0
0
0
0
0
0.193309
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
62e605f73d562edaa12951e0d74b0eb258604e8b
820
py
Python
discordbot/commands/minigames/flood_cmd.py
EnderXVIII/MiniGamesBot
5911f118977375ba17c5533a2aa3b7100f895800
[ "MIT" ]
20
2021-06-11T10:36:24.000Z
2022-03-09T18:19:40.000Z
discordbot/commands/minigames/flood_cmd.py
EnderXVIII/MiniGamesBot
5911f118977375ba17c5533a2aa3b7100f895800
[ "MIT" ]
1
2022-02-20T10:03:19.000Z
2022-02-20T10:03:19.000Z
discordbot/commands/minigames/flood_cmd.py
EnderXVIII/MiniGamesBot
5911f118977375ba17c5533a2aa3b7100f895800
[ "MIT" ]
19
2021-06-09T19:41:19.000Z
2022-03-17T06:20:02.000Z
from discordbot.categories.minigames import Minigames from discordbot.commands.command import Command from discordbot.discordminigames.singleplayergames.flood_dc import FloodDiscord from discordbot.user.singleplayersession import SinglePlayerSession class FloodCommand(Command): bot = None name = "flood" h...
39.047619
120
0.752439
98
820
6.265306
0.561224
0.091205
0.032573
0.039088
0.166124
0.166124
0.166124
0.166124
0.166124
0.166124
0
0
0.176829
820
20
121
41
0.90963
0
0
0
0
0.0625
0.252439
0
0
0
0
0
0
1
0
false
0
0.25
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
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
62e8fb0454079fff076f8da0b1e9b72ef2a45019
5,288
py
Python
wiki/web/user.py
CrispyCabot/440Project
45418dd8c3cd04ec300313e86a9d678f38043071
[ "BSD-3-Clause" ]
null
null
null
wiki/web/user.py
CrispyCabot/440Project
45418dd8c3cd04ec300313e86a9d678f38043071
[ "BSD-3-Clause" ]
3
2022-03-14T20:19:37.000Z
2022-03-16T20:10:25.000Z
wiki/web/user.py
CrispyCabot/440Project
45418dd8c3cd04ec300313e86a9d678f38043071
[ "BSD-3-Clause" ]
null
null
null
""" User classes & helpers ~~~~~~~~~~~~~~~~~~~~~~ """ import os import json import binascii import hashlib import sqlite3 from functools import wraps from flask import current_app from flask_login import current_user from config import USER_DIR class UserManager(object): """A very simple user Manager, ...
29.875706
128
0.614599
629
5,288
5.062003
0.281399
0.100503
0.018844
0.037688
0.175879
0.093593
0.048995
0.048995
0.048995
0.048995
0
0.004225
0.28385
5,288
176
129
30.045455
0.836546
0.052383
0
0.151261
0
0
0.091949
0.011669
0
0
0
0
0
1
0.176471
false
0.084034
0.07563
0.05042
0.420168
0
0
0
0
null
0
0
0
0
0
0
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
62efdda4661bb15fb120ecd99a56214fd6959552
7,803
py
Python
app.py
Gornak40/algolimp
f8e68d67d459f4c9560725cdce77324f9dcde24f
[ "Apache-2.0" ]
null
null
null
app.py
Gornak40/algolimp
f8e68d67d459f4c9560725cdce77324f9dcde24f
[ "Apache-2.0" ]
null
null
null
app.py
Gornak40/algolimp
f8e68d67d459f4c9560725cdce77324f9dcde24f
[ "Apache-2.0" ]
null
null
null
from flask import Flask, render_template, url_for, request, session, redirect, send_from_directory, send_file from cfApi import * from random import randint from werkzeug.security import generate_password_hash, check_password_hash from flask_sqlalchemy import SQLAlchemy # from flask_ngrok import run_with_ngrok interf...
30.244186
109
0.669999
1,027
7,803
5.035054
0.149951
0.057436
0.032489
0.03655
0.382711
0.355831
0.300716
0.284084
0.25701
0.229549
0
0.002216
0.132513
7,803
258
110
30.244186
0.761708
0.0528
0
0.34434
1
0
0.213386
0.015039
0
0
0
0
0
1
0.070755
false
0.009434
0.023585
0.004717
0.226415
0
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
62f11dab743e18ca9c8a22146de9aedca6f40a8e
15,601
py
Python
legacy/scripts/dx_srjd_calibration.py
pvkraju80/leo
f6ed6f4ee6eb34c47581d40d4d3fea69f42140f3
[ "CNRI-Python" ]
99
2016-11-02T14:29:41.000Z
2022-03-02T23:53:02.000Z
legacy/scripts/dx_srjd_calibration.py
pvkraju80/leo
f6ed6f4ee6eb34c47581d40d4d3fea69f42140f3
[ "CNRI-Python" ]
null
null
null
legacy/scripts/dx_srjd_calibration.py
pvkraju80/leo
f6ed6f4ee6eb34c47581d40d4d3fea69f42140f3
[ "CNRI-Python" ]
86
2016-11-05T15:39:08.000Z
2022-03-14T04:37:17.000Z
# # Calibration of Square-Root Jump Diffusion (SRJD) # model to VSTOXX call options with DX Analytics # # All data from www.eurexchange.com # # (c) Dr. Yves J. Hilpisch # Listed Volatility and Variance Derivatives # import dx import time import numpy as np import pandas as pd import datetime as dt import scipy.optimize...
37.41247
82
0.620601
1,957
15,601
4.791518
0.185999
0.037539
0.017596
0.026341
0.31332
0.261491
0.199317
0.145462
0.105684
0.094593
0
0.023268
0.275495
15,601
416
83
37.502404
0.806335
0.168258
0
0.095238
0
0
0.074489
0.017007
0
0
0
0
0
0
null
null
0
0.04329
null
null
0.008658
0
0
0
null
0
0
0
0
0
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
62f1b2e51bb9d002266d63b7c1ba4d21e0bd4f6e
2,277
py
Python
MAEnv/env_Cleaner/disjointSet.py
Abluceli/Multi-agent-Reinforcement-Learning-Algorithms
15810a559e2f2cf9e5fcb158c083f9e9dd6012fc
[ "MIT" ]
5
2020-05-25T03:08:09.000Z
2022-02-27T05:57:28.000Z
MAEnv/env_Cleaner/disjointSet.py
Abluceli/Multi-agent-Reinforcement-Learning-Algorithms
15810a559e2f2cf9e5fcb158c083f9e9dd6012fc
[ "MIT" ]
1
2020-12-22T01:35:36.000Z
2022-01-28T01:51:06.000Z
MAEnv/env_Rescue/Python3/disjointSet.py
Abluceli/Multi-agent-Reinforcement-Learning-Algorithms
15810a559e2f2cf9e5fcb158c083f9e9dd6012fc
[ "MIT" ]
1
2020-05-06T01:56:55.000Z
2020-05-06T01:56:55.000Z
#! /usr/bin/env python3 ''' Disjoint Set Class that provides basic functionality. Implemented according the functionality provided here: https://en.wikipedia.org/wiki/Disjoint-set_data_structure @author: Paul Miller (github.com/138paulmiller) ''' class DisjointSet: ''' Disjoint Set : Utility class that helps implem...
25.875
85
0.68643
358
2,277
4.248603
0.321229
0.026298
0.029586
0.024984
0.139382
0.072321
0.072321
0.043393
0
0
0
0.003394
0.22354
2,277
87
86
26.172414
0.8569
0.573562
0
0.060606
0
0
0
0
0
0
0
0
0
1
0.212121
false
0
0
0.060606
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
62f59c7e549db0baa1af2e7c78e51e25948407dd
219
py
Python
meridian/acupoints/dadun41.py
sinotradition/meridian
8c6c1762b204b72346be4bbfb74dedd792ae3024
[ "Apache-2.0" ]
5
2015-12-14T15:14:23.000Z
2022-02-09T10:15:33.000Z
meridian/acupoints/dadun41.py
sinotradition/meridian
8c6c1762b204b72346be4bbfb74dedd792ae3024
[ "Apache-2.0" ]
null
null
null
meridian/acupoints/dadun41.py
sinotradition/meridian
8c6c1762b204b72346be4bbfb74dedd792ae3024
[ "Apache-2.0" ]
3
2015-11-27T05:23:49.000Z
2020-11-28T09:01:56.000Z
#!/usr/bin/python #coding=utf-8 ''' @author: sheng @license: ''' SPELL=u'dàdūn' CN=u'大敦' NAME=u'dadun41' CHANNEL='liver' CHANNEL_FULLNAME='LiverChannelofFoot-Jueyin' SEQ='LR1' if __name__ == '__main__': pass
10.428571
44
0.675799
30
219
4.633333
0.866667
0
0
0
0
0
0
0
0
0
0
0.021053
0.13242
219
20
45
10.95
0.710526
0.246575
0
0
0
0
0.352564
0.160256
0
0
0
0
0
1
0
false
0.125
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
62f91430c2ea89efdc57cfaa05c5a9623ca8ec87
134
py
Python
tests/unit/ones_inplace.py
microsoft/torchy
2c36cc50246dfeb22b9d65a402050398b78c14e5
[ "MIT" ]
4
2021-12-30T19:54:57.000Z
2022-03-15T23:59:55.000Z
tests/unit/ones_inplace.py
microsoft/torchy
2c36cc50246dfeb22b9d65a402050398b78c14e5
[ "MIT" ]
null
null
null
tests/unit/ones_inplace.py
microsoft/torchy
2c36cc50246dfeb22b9d65a402050398b78c14e5
[ "MIT" ]
null
null
null
from testdriver import * x = torch.ones(3) y = torch.tensor(((5.,6.,1.))) x.add_(y) w = torch.add(x, y) x = None print(w) print(y)
11.166667
30
0.597015
27
134
2.925926
0.592593
0
0
0
0
0
0
0
0
0
0
0.036036
0.171642
134
11
31
12.181818
0.675676
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.25
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
62fa5f34b4c02a515b48f396e64eb859fa58662f
240
py
Python
modules/module0/02_datastructures_and_geometry/cross_1a.py
tetov/ITA19
1af68a8885caf83acd98f4136d0286539ccbe63b
[ "MIT" ]
7
2019-11-13T20:29:54.000Z
2020-02-26T14:30:54.000Z
modules/module0/02_datastructures_and_geometry/cross_1a.py
GeneKao/ITA19
c4b10dc183599eed4ed60d922b6ef5922d173bdb
[ "MIT" ]
4
2019-11-07T20:57:51.000Z
2020-03-04T11:43:18.000Z
modules/module0/02_datastructures_and_geometry/cross_1a.py
GeneKao/ITA19
c4b10dc183599eed4ed60d922b6ef5922d173bdb
[ "MIT" ]
6
2019-10-30T13:25:54.000Z
2020-02-14T14:06:09.000Z
from compas.geometry import cross_vectors from compas.geometry import angle_vectors u = [1.0, 0.0, 0.0] v = [0.0, 1.0, 0.0] uxv = cross_vectors(u, v) u_uxv = angle_vectors(u, uxv) v_uxv = angle_vectors(v, uxv) print(u_uxv) print(v_uxv)
17.142857
41
0.708333
49
240
3.285714
0.265306
0.086957
0.074534
0.298137
0
0
0
0
0
0
0
0.058824
0.15
240
13
42
18.461538
0.730392
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.222222
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
62fa73c94745b3f1d518d3ff9094bc81d766c94e
1,286
py
Python
scripts/ven_prep.py
MalcolmorianVII/Nanopore-only-SNP-and-Indel-calling-Nosc-
cc32f649dff4d284589ec20ad175da670de2fb2d
[ "MIT" ]
null
null
null
scripts/ven_prep.py
MalcolmorianVII/Nanopore-only-SNP-and-Indel-calling-Nosc-
cc32f649dff4d284589ec20ad175da670de2fb2d
[ "MIT" ]
null
null
null
scripts/ven_prep.py
MalcolmorianVII/Nanopore-only-SNP-and-Indel-calling-Nosc-
cc32f649dff4d284589ec20ad175da670de2fb2d
[ "MIT" ]
null
null
null
import pandas as pd import os.path import csv clair = '/Users/malcolmorian/Documents/Bioinformatics/Projects2021/Guppy3Guppy5/NOSC/nosc_clair/2022.01.02/clair_vcfData' pepper = '/Users/malcolmorian/Documents/Bioinformatics/Projects2021/Guppy3Guppy5/NOSC/nosc_pepper/2022.01.02/pepper_vcfData' gatk = '/Users/malcolmoria...
31.365854
124
0.675739
161
1,286
5.285714
0.397516
0.042303
0.122209
0.188014
0.333725
0.333725
0.333725
0.253819
0
0
0
0.045802
0.18507
1,286
40
125
32.15
0.766221
0.087092
0
0
0
0.115385
0.433219
0.361301
0
0
0
0
0
1
0.076923
false
0
0.115385
0
0.192308
0.115385
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
62fba566f9dae85a14d41af972b0c0cf0bc5c502
2,027
py
Python
src/sound.py
ytyaru/Python.Pyxel.Tetris.20200424070000
382334dbef35495fb24970d044fffe6d6d0b35d7
[ "CC0-1.0" ]
null
null
null
src/sound.py
ytyaru/Python.Pyxel.Tetris.20200424070000
382334dbef35495fb24970d044fffe6d6d0b35d7
[ "CC0-1.0" ]
null
null
null
src/sound.py
ytyaru/Python.Pyxel.Tetris.20200424070000
382334dbef35495fb24970d044fffe6d6d0b35d7
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 # coding: utf8 import enum, numpy, random, pyxel from abc import ABCMeta, abstractmethod class Sound: def __init__(self): self.scale = IonianScale() self.is_mute = False def sound(self, mino_id): if self.is_mute: return notes = Note.get(self.scale.Keys[min...
26.324675
77
0.548101
278
2,027
3.859712
0.363309
0.05219
0.055918
0.027959
0
0
0
0
0
0
0
0.027437
0.316724
2,027
76
78
26.671053
0.747292
0.050814
0
0.149254
0
0
0.014591
0
0
0
0
0
0
1
0.238806
false
0.014925
0.029851
0.044776
0.41791
0
0
0
0
null
0
0
0
0
0
0
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
62fd02b78060b69f1f7b8132b6d939f67fba1020
861
py
Python
falmer/commercial/wagtail_hooks.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
2
2017-04-27T19:35:59.000Z
2017-06-13T16:19:33.000Z
falmer/commercial/wagtail_hooks.py
sussexstudent/falmer
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
975
2017-04-13T11:31:07.000Z
2022-02-10T07:46:18.000Z
falmer/commercial/wagtail_hooks.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
3
2018-05-09T06:42:25.000Z
2020-12-10T18:29:30.000Z
from wagtail.contrib.modeladmin.options import ModelAdmin, ModelAdminGroup, modeladmin_register from .models import Offer, OfferCategory class OfferCategoryAdmin(ModelAdmin): model = OfferCategory menu_icon = 'site' menu_order = 250 add_to_settings_menu = False exclude_from_explorer = False l...
25.323529
95
0.729384
93
861
6.462366
0.451613
0.039933
0.039933
0.053245
0.269551
0.269551
0.269551
0.269551
0.269551
0.269551
0
0.012821
0.184669
861
33
96
26.090909
0.843305
0
0
0.333333
0
0
0.098722
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.958333
0
0
0
0
null
0
0
0
0
0
0
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
62fe911886ecbb7b8fcdcf7209437028c439a130
378
py
Python
datahub/company/apps.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
6
2019-12-02T16:11:24.000Z
2022-03-18T10:02:02.000Z
datahub/company/apps.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
1,696
2019-10-31T14:08:37.000Z
2022-03-29T12:35:57.000Z
datahub/company/apps.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
9
2019-11-22T12:42:03.000Z
2021-09-03T14:25:05.000Z
from django.apps import AppConfig class CompanyConfig(AppConfig): """Configuration class for this app.""" name = 'datahub.company' def ready(self): """Registers the signal receivers for this app. This is the preferred way to register signal receivers in the Django documentation. ...
25.2
91
0.677249
45
378
5.688889
0.688889
0.054688
0.078125
0
0
0
0
0
0
0
0
0.01049
0.243386
378
14
92
27
0.884615
0.462963
0
0
0
0
0.085714
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
62fffeffdf86bfab535c36e1f43cf7e324f20aa5
8,085
py
Python
empower/managers/projectsmanager/appshandler.py
EstefaniaCC/empower-runtime-5g-essence-multicast
b025d10b15c2b11ce313918d5961d109273245b5
[ "Apache-2.0" ]
null
null
null
empower/managers/projectsmanager/appshandler.py
EstefaniaCC/empower-runtime-5g-essence-multicast
b025d10b15c2b11ce313918d5961d109273245b5
[ "Apache-2.0" ]
null
null
null
empower/managers/projectsmanager/appshandler.py
EstefaniaCC/empower-runtime-5g-essence-multicast
b025d10b15c2b11ce313918d5961d109273245b5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # Copyright (c) 2019 Roberto Riggio # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
30.394737
79
0.533704
877
8,085
4.844926
0.214367
0.044481
0.036715
0.036244
0.707696
0.685102
0.677807
0.663215
0.632149
0.632149
0
0.113371
0.343228
8,085
265
80
30.509434
0.686817
0.500309
0
0.551724
0
0.034483
0.096732
0.056616
0
0
0
0
0
1
0.103448
false
0
0.034483
0
0.258621
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
1a010ae4186f7b78d130dcfd56a07c08510b208b
4,755
py
Python
sparkmagic/sparkmagic/tests/test_sessionmanager.py
sciserver/sparkmagic
ac0852cbe88a41faa368cf1e1c89045a2de973bf
[ "RSA-MD" ]
1,141
2015-09-21T20:52:00.000Z
2022-03-31T14:15:51.000Z
sparkmagic/sparkmagic/tests/test_sessionmanager.py
sciserver/sparkmagic
ac0852cbe88a41faa368cf1e1c89045a2de973bf
[ "RSA-MD" ]
605
2015-09-23T23:27:43.000Z
2022-03-16T07:46:52.000Z
sparkmagic/sparkmagic/tests/test_sessionmanager.py
sciserver/sparkmagic
ac0852cbe88a41faa368cf1e1c89045a2de973bf
[ "RSA-MD" ]
442
2015-09-23T21:31:28.000Z
2022-03-13T15:19:57.000Z
import atexit from mock import MagicMock, PropertyMock from nose.tools import raises, assert_equals import sparkmagic.utils.configuration as conf from sparkmagic.livyclientlib.exceptions import SessionManagementException from sparkmagic.livyclientlib.sessionmanager import SessionManager @raises(SessionManagementExc...
27.171429
108
0.756257
596
4,755
5.635906
0.15604
0.083358
0.111343
0.107175
0.686216
0.643942
0.635308
0.591247
0.591247
0.591247
0
0.008146
0.148055
4,755
174
109
27.327586
0.820785
0
0
0.598214
0
0
0.044818
0
0
0
0
0
0.133929
0
null
null
0
0.053571
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
1a0245f495f477b9ad23036a4156f8becf61b2b5
3,761
py
Python
test/test_core.py
jlerat/pybomwater
443b3d841d100c31b6eb6e053a7532f8effc0962
[ "MIT" ]
null
null
null
test/test_core.py
jlerat/pybomwater
443b3d841d100c31b6eb6e053a7532f8effc0962
[ "MIT" ]
null
null
null
test/test_core.py
jlerat/pybomwater
443b3d841d100c31b6eb6e053a7532f8effc0962
[ "MIT" ]
null
null
null
import unittest import requests import bom_water.bom_water as bm import os from pathlib import Path import shapely from bom_water.spatial_util import spatail_utilty class test_core(unittest.TestCase): # def __init__(self): # super(test_core, self).__init__(self) # self.setUp() @classmethod ...
40.880435
148
0.636799
433
3,761
5.325635
0.339492
0.017346
0.036427
0.034692
0.169558
0.149176
0.093669
0.093669
0.031223
0.031223
0
0.021809
0.256315
3,761
92
149
40.880435
0.802646
0.096783
0
0.171875
0
0
0.245657
0.058214
0
0
0
0.01087
0.140625
1
0.109375
false
0.046875
0.109375
0
0.234375
0.015625
0
0
0
null
0
0
0
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
1a0851bec2033bd45ed48e455bc1ab364557fea8
9,190
py
Python
fabfile.py
rebkwok/openprescribing
28c7500a7e4cb725fc6cda0f8c58b07ac7e916a4
[ "MIT" ]
null
null
null
fabfile.py
rebkwok/openprescribing
28c7500a7e4cb725fc6cda0f8c58b07ac7e916a4
[ "MIT" ]
null
null
null
fabfile.py
rebkwok/openprescribing
28c7500a7e4cb725fc6cda0f8c58b07ac7e916a4
[ "MIT" ]
null
null
null
from fabric.api import run, sudo from fabric.api import prefix, warn, abort from fabric.api import settings, task, env, shell_env from fabric.context_managers import cd from datetime import datetime import json import os import requests env.hosts = ['web2.openprescribing.net'] env.forward_agent = True env.colorize_...
32.020906
80
0.618825
1,154
9,190
4.805893
0.272964
0.009737
0.018031
0.005049
0.157411
0.135052
0.115218
0.093401
0.071763
0.071763
0
0.009506
0.244505
9,190
286
81
32.132867
0.789284
0.038738
0
0.127273
0
0
0.340138
0.078547
0
0
0
0
0
0
null
null
0.004545
0.036364
null
null
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1a0883882eaf883385d19a5d26b71c231fe33e16
4,611
py
Python
venv/lib/python3.7/site-packages/MDAnalysis/analysis/__init__.py
dtklinh/GBRDE
c87fada492f24943d7d6b6ecda61c67f41d5bf83
[ "MIT" ]
2
2021-03-04T16:57:06.000Z
2021-08-11T01:42:29.000Z
venv/lib/python3.7/site-packages/MDAnalysis/analysis/__init__.py
dtklinh/GBRDE
c87fada492f24943d7d6b6ecda61c67f41d5bf83
[ "MIT" ]
null
null
null
venv/lib/python3.7/site-packages/MDAnalysis/analysis/__init__.py
dtklinh/GBRDE
c87fada492f24943d7d6b6ecda61c67f41d5bf83
[ "MIT" ]
null
null
null
# -*- Mode: python; tab-width: 4; indent-tabs-mode:nil; coding:utf-8 -*- # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 # # MDAnalysis --- https://www.mdanalysis.org # Copyright (c) 2006-2017 The MDAnalysis Development Team and contributors # (see the file AUTHORS for the full list of names) # # Released under t...
34.669173
79
0.718065
619
4,611
5.329564
0.526656
0.11458
0.127311
0.032737
0.056987
0
0
0
0
0
0
0.021132
0.168727
4,611
132
80
34.931818
0.839551
0.928866
0
0
0
0
0.385906
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1a09a524942a45d572278e5e918dd007c181565d
3,226
py
Python
poi_mining/biz/Judge.py
yummydeli/machine_learning
54471182ac21ef0eee26557a7bd6f3a3dc3a09bd
[ "MIT" ]
1
2019-09-29T13:36:29.000Z
2019-09-29T13:36:29.000Z
poi_mining/biz/Judge.py
yummydeli/machine_learning
54471182ac21ef0eee26557a7bd6f3a3dc3a09bd
[ "MIT" ]
null
null
null
poi_mining/biz/Judge.py
yummydeli/machine_learning
54471182ac21ef0eee26557a7bd6f3a3dc3a09bd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding:utf-8 # ############################################################################## # The MIT License (MIT) # # Copyright (c) [2015] [baidu.com] # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (th...
33.257732
86
0.610043
418
3,226
4.566986
0.373206
0.046097
0.034573
0.039288
0.190676
0.138292
0.101624
0.101624
0.101624
0.040859
0
0.003791
0.264104
3,226
96
87
33.604167
0.800337
0.383137
0
0.297872
0
0
0.003975
0
0
0
0
0
0
1
0.170213
false
0
0.021277
0
0.510638
0
0
0
0
null
0
0
0
0
0
0
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
1a0edc8d6d4612d336ea186ecba885daf6f50698
2,703
py
Python
xservs/tmp_getbkg.py
CTJChen/ctc_astropylib
a4194147b8d114fdf6fe8677aa48c3c9d59517a5
[ "Apache-2.0" ]
null
null
null
xservs/tmp_getbkg.py
CTJChen/ctc_astropylib
a4194147b8d114fdf6fe8677aa48c3c9d59517a5
[ "Apache-2.0" ]
null
null
null
xservs/tmp_getbkg.py
CTJChen/ctc_astropylib
a4194147b8d114fdf6fe8677aa48c3c9d59517a5
[ "Apache-2.0" ]
null
null
null
def getbkg_iter(qm,rmagbin,NX,catopt,optdf,r_in = 10., r_out=50.,\ nmagbin=15, magname = 'imag_psf', ora='ra',odec='dec'): ''' Use external qm, rmagbin to draw random sample from optdf then use those positions to search for background sources in catopt ''' bkgdf = pd.DataFrame({'ra':optdf[ora].values.copy(),'d...
37.027397
91
0.695893
447
2,703
4.107383
0.355705
0.009804
0.019608
0.027778
0.124183
0.124183
0.124183
0.040305
0.040305
0
0
0.013787
0.141324
2,703
72
92
37.541667
0.777251
0.18498
0
0.036364
0
0
0.027237
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
1a1182392e3a296d160c39b26df7c3ed17fae816
489
py
Python
project/stock/migrations/0002_auto_20190718_0206.py
xico-labs/stock_control_django
f6a3b414f78dc2cacdbd647828bc54855bc228fe
[ "MIT" ]
1
2019-06-26T00:55:37.000Z
2019-06-26T00:55:37.000Z
project/stock/migrations/0002_auto_20190718_0206.py
xico-labs/stock_control_django
f6a3b414f78dc2cacdbd647828bc54855bc228fe
[ "MIT" ]
6
2020-06-05T21:49:06.000Z
2022-02-10T09:27:53.000Z
project/stock/migrations/0002_auto_20190718_0206.py
xico-labs/stock_control_django
f6a3b414f78dc2cacdbd647828bc54855bc228fe
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-07-18 02:06 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('stock', '0001_initial'), ] operations = [ migrations.AlterField( model_name='estoqueitens', ...
24.45
126
0.642127
55
489
5.636364
0.654545
0.077419
0.090323
0.141935
0
0
0
0
0
0
0
0.050802
0.235174
489
19
127
25.736842
0.778075
0.092025
0
0
1
0
0.128959
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
1a14c9ebfe544dc03e2e33058c2a20ca3fb409d9
9,767
py
Python
VJ_Training.py
sgino209/ViolaJones_TrainClassify
567f932ae7bb36c33ad02f21f280c435df2e7d75
[ "Apache-2.0" ]
1
2022-01-16T14:37:41.000Z
2022-01-16T14:37:41.000Z
VJ_Training.py
sgino209/ViolaJones_TrainClassify
567f932ae7bb36c33ad02f21f280c435df2e7d75
[ "Apache-2.0" ]
null
null
null
VJ_Training.py
sgino209/ViolaJones_TrainClassify
567f932ae7bb36c33ad02f21f280c435df2e7d75
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import os import re import csv import cv2 import sys # User Arguments: SAMPLES_CSV = "samples_26_31_highprob_r04.csv" SAMPLE_SIZE = (100, 100) WINDOW_SIZE = (20, 20) STAGES_NUM = 18 POSITIVE_NUM = 7000 POSITIVE_EXTENSION = False if len(sys.argv) > 1: STAGES_NUM = sys.argv[1] # -------------...
38.604743
118
0.507628
970
9,767
4.887629
0.257732
0.02953
0.021936
0.023202
0.235815
0.196794
0.18456
0.18456
0.18456
0.116009
0
0.013054
0.247056
9,767
252
119
38.757937
0.631629
0.146207
0
0.196429
0
0
0.164756
0.040448
0
0
0
0
0
0
null
null
0
0.029762
null
null
0.130952
0
0
0
null
0
0
0
0
0
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
1a162d8f794f7e43a8c3f3403664df3178279366
593
py
Python
app/application_patterns/rdbms/db.py
andykmiles/code-boutique
26d05202f832af163f2900c36237988f37ceea8a
[ "MIT" ]
null
null
null
app/application_patterns/rdbms/db.py
andykmiles/code-boutique
26d05202f832af163f2900c36237988f37ceea8a
[ "MIT" ]
null
null
null
app/application_patterns/rdbms/db.py
andykmiles/code-boutique
26d05202f832af163f2900c36237988f37ceea8a
[ "MIT" ]
null
null
null
""" show simplest database operation """ import sqlite3 sql_statements = ( "drop table if exists test", "create table test (id, name)", "insert into test values (1, 'abc')", "insert into test values (2, 'def')", "insert into test values (3, 'xyz')", "select id, name from test", ) def main():...
19.129032
58
0.598651
77
593
4.480519
0.584416
0.086957
0.121739
0.173913
0
0
0
0
0
0
0
0.011161
0.244519
593
30
59
19.766667
0.758929
0.075885
0
0
0
0
0.365169
0
0
0
0
0
0
1
0.05
false
0
0.05
0
0.1
0.05
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
1a28cc7d2012ab49a65491be9fce915f605a2e28
1,564
py
Python
persimmon/view/pins/pin.py
AlvarBer/Persimmon
da08ed854dd0305d7e4684e97ee828acffd76b4d
[ "MIT" ]
206
2016-11-02T20:45:48.000Z
2022-02-07T05:43:18.000Z
persimmon/view/pins/pin.py
mgbin088/Persimmon
da08ed854dd0305d7e4684e97ee828acffd76b4d
[ "MIT" ]
6
2016-11-06T19:16:01.000Z
2018-02-20T11:22:45.000Z
persimmon/view/pins/pin.py
mgbin088/Persimmon
da08ed854dd0305d7e4684e97ee828acffd76b4d
[ "MIT" ]
40
2017-03-08T21:01:53.000Z
2020-12-29T16:43:56.000Z
from persimmon.view.pins.circularbutton import CircularButton # MYPY HACK from persimmon.view.util import Type, AbstractWidget, Connection from kivy.properties import ObjectProperty from kivy.lang import Builder from kivy.graphics import Color, Ellipse, Line from kivy.input import MotionEvent from abc import abstractm...
34
74
0.69821
185
1,564
5.772973
0.416216
0.029963
0.053371
0.115169
0.215356
0.125468
0.125468
0.125468
0.125468
0
0
0
0.220588
1,564
45
75
34.755556
0.876128
0.10422
0
0.242424
0
0
0.023088
0.018759
0
0
0
0
0
1
0.181818
false
0
0.212121
0
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
a7e40ffe57b306ca4fd1b091d3b4d5e16245b05b
751
py
Python
examples/test-all-low-mem/Prox.py
LuciMouse/EnviroPlus-FeatherWing
7ff2358765109cd9220fe609c9efebf19c97f37f
[ "MIT" ]
10
2020-05-27T11:51:15.000Z
2022-02-18T06:30:22.000Z
examples/test-all-low-mem/Prox.py
Oakwright/EnviroPlus-FeatherWing
85da578a568fa3738a551d6d5c3ac998e994f01e
[ "MIT" ]
21
2020-05-26T19:11:36.000Z
2022-02-09T16:07:07.000Z
examples/test-all-low-mem/Prox.py
Oakwright/EnviroPlus-FeatherWing
85da578a568fa3738a551d6d5c3ac998e994f01e
[ "MIT" ]
10
2020-04-22T16:10:51.000Z
2022-01-30T02:56:13.000Z
def Prox(tests, num_test_bytes, write_tests_to_nvm, reset): try: import board from pimoroni_circuitpython_adapter import not_SMBus from pimoroni_ltr559 import LTR559 i2c = board.I2C() i2c_dev = not_SMBus(I2C=i2c) ltr559 = LTR559(i2c_dev=i2c_dev) if 0 <= ltr559...
35.761905
60
0.584554
91
751
4.604396
0.43956
0.085919
0.107399
0.081146
0.147971
0.147971
0
0
0
0
0
0.056926
0.298269
751
21
61
35.761905
0.73814
0
0
0.095238
0
0
0.094415
0
0
0
0
0
0
1
0.047619
false
0.190476
0.142857
0
0.190476
0.142857
0
0
0
null
0
0
0
0
0
0
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
a7ebd919f4d8424dc10598e606b3e62d8b0a693f
957
py
Python
support_contracts_plugin/__init__.py
Haeki/netbox_support_contracts_plugin
e1860981afd1d54daa48913312a972bb72f2e41c
[ "Apache-2.0" ]
7
2020-10-19T23:36:52.000Z
2021-08-21T16:05:31.000Z
support_contracts_plugin/__init__.py
Haeki/netbox_support_contracts_plugin
e1860981afd1d54daa48913312a972bb72f2e41c
[ "Apache-2.0" ]
1
2021-05-01T21:00:51.000Z
2021-05-01T21:00:51.000Z
support_contracts_plugin/__init__.py
Haeki/netbox_support_contracts_plugin
e1860981afd1d54daa48913312a972bb72f2e41c
[ "Apache-2.0" ]
1
2020-10-28T06:03:37.000Z
2020-10-28T06:03:37.000Z
from extras.plugins import PluginConfig class SupportContractsConfig(PluginConfig): """ This class defines attributes for the NetBox Support Contracts plugin. """ # Plugin package name name = 'support_contracts_plugin' # Human-friendly name and description verbose_name = 'Support Contract...
24.538462
90
0.68861
113
957
5.761062
0.575221
0.122888
0.067588
0
0
0
0
0
0
0
0
0.002747
0.239289
957
38
91
25.184211
0.891484
0.412748
0
0
0
0
0.31215
0.093458
0
0
0
0
0
1
0
false
0
0.083333
0
0.916667
0
0
0
0
null
0
0
0
0
0
0
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
a7edb15c0b437d95203fd321a0aed9c18c9bf84b
3,826
py
Python
scripts/separate_gene_assignments.py
klaricch/Transposons2
a0f216e7a3ad8c462706237953325ad0b13a5646
[ "MIT" ]
1
2018-04-17T16:48:04.000Z
2018-04-17T16:48:04.000Z
scripts/separate_gene_assignments.py
klaricch/Transposons2
a0f216e7a3ad8c462706237953325ad0b13a5646
[ "MIT" ]
null
null
null
scripts/separate_gene_assignments.py
klaricch/Transposons2
a0f216e7a3ad8c462706237953325ad0b13a5646
[ "MIT" ]
null
null
null
#!/usr/bin/env python # this script classifies TE position as genic or intergenic # it also outputs the sequeunce name if a TE was found in a gene and whether or not that TE was in the the "border" region of a gene(within 10bp from the end) # or if it is in an "internal" region # USE: separate_gene_assignments.py impo...
27.927007
192
0.640094
671
3,826
3.47839
0.177347
0.119966
0.022279
0.017138
0.652956
0.605827
0.605827
0.605827
0.605827
0.605827
0
0.017686
0.128071
3,826
136
193
28.132353
0.681954
0.157867
0
0.643678
0
0.068966
0.31987
0.275244
0
0
0
0
0
1
0
false
0
0.011494
0
0.011494
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
a7f8e398fd22c612267b8f26656c553f0fc1ddc9
630
py
Python
src/ram/service/input.py
bootforce-dev/ram-framework
b39c43cbe3b6e76db73dfd65c38da4fa578b032f
[ "MIT" ]
1
2019-03-01T10:19:34.000Z
2019-03-01T10:19:34.000Z
src/ram/service/input.py
ram-framework/ram-framework
b39c43cbe3b6e76db73dfd65c38da4fa578b032f
[ "MIT" ]
null
null
null
src/ram/service/input.py
ram-framework/ram-framework
b39c43cbe3b6e76db73dfd65c38da4fa578b032f
[ "MIT" ]
null
null
null
import cPickle as pickle from ram.classes.module import UnitService from ram.classes.module import UseFilename from ram.classes import DumbResults import ram.process from ram.osutils import setenv class __api__(UnitService): """runs dialogs to interact with user To run dialogs for the unit: $ ram input...
21
75
0.692063
78
630
5.448718
0.576923
0.065882
0.098824
0.094118
0.122353
0
0
0
0
0
0
0
0.203175
630
29
76
21.724138
0.846614
0.165079
0
0
0
0
0.023529
0
0
0
0
0
0
1
0.076923
false
0
0.461538
0
0.769231
0
0
0
0
null
0
0
0
0
0
0
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
a7fe1fd7c40407412c23c5bc12b46d81bb6142a2
602
py
Python
2019/aoc2019_4b.py
ByteCommander/AdventOfCode
daf8ffd88892e997e0cc763a29eaf2122585c4f9
[ "MIT" ]
2
2017-12-03T23:56:52.000Z
2017-12-04T09:49:48.000Z
2019/aoc2019_4b.py
ByteCommander/AdventOfCode
daf8ffd88892e997e0cc763a29eaf2122585c4f9
[ "MIT" ]
null
null
null
2019/aoc2019_4b.py
ByteCommander/AdventOfCode
daf8ffd88892e997e0cc763a29eaf2122585c4f9
[ "MIT" ]
null
null
null
# Advent Of Code 2019, day 4, part 2) # http://adventofcode.com/2019/day/4 # solution by ByteCommander, 2019-12-04 import re def main(): wires = [] with open("inputs/aoc2019_4.txt") as file: a, b = map(int, file.read().split("-")) count = sum( 1 for x in range(a, b + 1) if ( ...
24.08
93
0.548173
96
602
3.34375
0.65625
0.037383
0.049844
0
0
0
0
0
0
0
0
0.075515
0.274086
602
24
94
25.083333
0.659039
0.179402
0
0
0
0
0.17551
0
0
0
0
0
0
1
0.071429
false
0.071429
0.071429
0
0.142857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c502e9236a3bbed219c206af1a08f96bf7cd7389
224
py
Python
iterator/unzip/impl.py
cunitac/procon-rs-lib
6de7661385a2cdae540c4dfaf47b2f633c616e90
[ "MIT" ]
null
null
null
iterator/unzip/impl.py
cunitac/procon-rs-lib
6de7661385a2cdae540c4dfaf47b2f633c616e90
[ "MIT" ]
null
null
null
iterator/unzip/impl.py
cunitac/procon-rs-lib
6de7661385a2cdae540c4dfaf47b2f633c616e90
[ "MIT" ]
null
null
null
def tup(name, len): ret = '(' for i in range(len): ret += f'{name}{i}, ' return ret + ')' for i in range(10): print( f'impl_unzip!({tup("T",i)}, {tup("A",i)}, {tup("s",i)}, {tup("t",i)});')
20.363636
80
0.433036
37
224
2.594595
0.486486
0.125
0.145833
0.1875
0.291667
0
0
0
0
0
0
0.01227
0.272321
224
10
81
22.4
0.576687
0
0
0
0
0.125
0.361607
0.111607
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
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
c504858ff752dd68e0f5d3d805e866cfe0247a41
806
py
Python
gallery/migrations/0012_auto_20200526_1129.py
BlessedAssurance/gallery
4e9789b94fca8dc80a1b7b20d9f1d04934f44e5b
[ "MIT" ]
null
null
null
gallery/migrations/0012_auto_20200526_1129.py
BlessedAssurance/gallery
4e9789b94fca8dc80a1b7b20d9f1d04934f44e5b
[ "MIT" ]
3
2020-06-06T01:16:44.000Z
2021-06-10T22:56:53.000Z
gallery/migrations/0012_auto_20200526_1129.py
BlessedAssurance/gallery
4e9789b94fca8dc80a1b7b20d9f1d04934f44e5b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2020-05-26 08:29 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gallery', '0011_auto_20200525_2302'), ] operations = [ migrations.AlterModelO...
27.793103
169
0.580645
76
806
5.986842
0.723684
0.079121
0.074725
0.092308
0
0
0
0
0
0
0
0.059524
0.270471
806
28
170
28.785714
0.714286
0.081886
0
0.238095
1
0
0.199457
0.031208
0
0
0
0
0
1
0
false
0
0.095238
0
0.238095
0
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
c509a25ddc8f48fae72a2dfbbe7ba069c656047a
494
py
Python
django_photos/photos/forms.py
StGerman/assigments
81bbad0c30a7857f3a90ae2b4aad48cba675047f
[ "MIT" ]
null
null
null
django_photos/photos/forms.py
StGerman/assigments
81bbad0c30a7857f3a90ae2b4aad48cba675047f
[ "MIT" ]
null
null
null
django_photos/photos/forms.py
StGerman/assigments
81bbad0c30a7857f3a90ae2b4aad48cba675047f
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from .models import Photo class PhotoForm(forms.ModelForm): name = forms.TextInput() image = forms.ImageField() class Meta: model = Photo fields = ["name", "image"] ...
22.454545
64
0.678138
54
494
6.203704
0.481481
0.089552
0.101493
0.125373
0
0
0
0
0
0
0
0.005168
0.216599
494
21
65
23.52381
0.860465
0
0
0.133333
0
0
0.080972
0
0
0
0
0
0
1
0
false
0.066667
0.266667
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
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
c50cfa158c00d367541c4c84072b05556e4332cf
1,247
py
Python
src/readercake/module.py
Jaasim2008/cakereader
225ba6f35166987296f78f1e97896c01c485d2e2
[ "MIT" ]
null
null
null
src/readercake/module.py
Jaasim2008/cakereader
225ba6f35166987296f78f1e97896c01c485d2e2
[ "MIT" ]
null
null
null
src/readercake/module.py
Jaasim2008/cakereader
225ba6f35166987296f78f1e97896c01c485d2e2
[ "MIT" ]
null
null
null
import colorama from colorama import Fore import os class ReaderCake: def __init__(self, filename, encoding, filedir): self.filename = filename self.encoding = encoding self.filedir = filedir def read_all(self): with open(self.filename) as file: file_d...
28.340909
65
0.525261
147
1,247
4.326531
0.326531
0.132075
0.09434
0.157233
0.292453
0.292453
0.292453
0.116352
0.116352
0.116352
0
0.002561
0.373697
1,247
43
66
29
0.81178
0
0
0.166667
0
0
0.043189
0
0
0
0
0
0
1
0.166667
false
0.055556
0.083333
0
0.361111
0.083333
0
0
0
null
0
0
0
0
0
0
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
c50d38456285d8988f957794f795dc38d5aac188
1,118
py
Python
test/datasets/VANiLLA/results/old/utils/utils.py
librairy/explainable-qa
7ea753229769ce1f6d09d59d7eab67df7aef2f78
[ "Apache-2.0" ]
1
2022-02-07T16:56:36.000Z
2022-02-07T16:56:36.000Z
test/datasets/VANiLLA/results/old/utils/utils.py
librairy/explainable-qa
7ea753229769ce1f6d09d59d7eab67df7aef2f78
[ "Apache-2.0" ]
5
2021-11-30T11:25:47.000Z
2021-11-30T12:15:59.000Z
test/datasets/VANiLLA/results/old/utils/utils.py
librairy/explainable-qa
7ea753229769ce1f6d09d59d7eab67df7aef2f78
[ "Apache-2.0" ]
null
null
null
import pandas as pd import json from pprint import pprint def JSONLineToDict(JSONRoute): ''' Funcion auxiliar que dado un archivo json con JSONObjects en cada linea, lo abre y lo convierte a lista de diccionarios ''' with open(JSONRoute) as f: jsonList = list(f) return json.load...
27.95
83
0.697674
144
1,118
5.395833
0.520833
0.03861
0.046332
0.054054
0
0
0
0
0
0
0
0.008919
0.197674
1,118
40
84
27.95
0.857302
0.349732
0
0
0
0
0.074453
0.036496
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.555556
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c510d5706e801b60f8548e2e810046845b3bd926
2,394
py
Python
checker.py
ViggAlm/PasswordKit
b92f67f7b5b9623f1c63646003b684eee9e8912a
[ "BSD-2-Clause" ]
1
2022-02-22T19:51:56.000Z
2022-02-22T19:51:56.000Z
checker.py
ViggAlm/PasswordKit
b92f67f7b5b9623f1c63646003b684eee9e8912a
[ "BSD-2-Clause" ]
null
null
null
checker.py
ViggAlm/PasswordKit
b92f67f7b5b9623f1c63646003b684eee9e8912a
[ "BSD-2-Clause" ]
null
null
null
# Credits to NeuralNine's video for helping me out here ( https://www.youtube.com/watch?v=iJ01q-sRJAw&t ) import log import main import string import time def check(): log.general("This is the password strength checker.") log.question("Please enter your password:") password = input("") upper_case = ...
32.351351
143
0.624896
348
2,394
4.272989
0.350575
0.018157
0.0269
0.01883
0.297915
0.201748
0.096839
0.096839
0.06456
0
0
0.026464
0.258145
2,394
73
144
32.794521
0.810811
0.043024
0
0.210526
0
0.052632
0.349934
0.009611
0
0
0
0
0
1
0.017544
false
0.298246
0.070175
0
0.087719
0
0
0
0
null
0
0
0
0
0
0
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
c512ed8715c6f22d4ab57f21195f6586ffa3c214
3,189
py
Python
py/testdir_multi_jvm/test_many_cols_enum_multi.py
gigliovale/h2o
be350f3f2c2fb6f135cc07c41f83fd0e4f521ac1
[ "Apache-2.0" ]
882
2015-05-22T02:59:21.000Z
2022-02-17T05:02:48.000Z
py/testdir_multi_jvm/test_many_cols_enum_multi.py
VonRosenchild/h2o-2
be350f3f2c2fb6f135cc07c41f83fd0e4f521ac1
[ "Apache-2.0" ]
1
2015-01-14T23:54:56.000Z
2015-01-15T20:04:17.000Z
py/testdir_multi_jvm/test_many_cols_enum_multi.py
VonRosenchild/h2o-2
be350f3f2c2fb6f135cc07c41f83fd0e4f521ac1
[ "Apache-2.0" ]
392
2015-05-22T17:04:11.000Z
2022-02-22T09:04:39.000Z
import unittest, random, sys, time, os sys.path.extend(['.','..','../..','py']) import h2o, h2o_cmd, h2o_browse as h2b, h2o_import as h2i import h2o_exec as h2e def write_syn_dataset(csvPathname, rowCount, colCount, header, SEED): r1 = random.Random(SEED) dsf = open(csvPathname, "w+") for i in range(rowC...
33.568421
100
0.555974
382
3,189
4.510471
0.439791
0.024376
0.072548
0.020894
0.211259
0.211259
0.191526
0.191526
0.100987
0
0
0.086066
0.311383
3,189
94
101
33.925532
0.698543
0.128567
0
0.032258
0
0
0.067269
0.009403
0
0
0
0
0
0
null
null
0
0.064516
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
c515a3d4bce5aea131c69ac9b2d2727e819b4547
10,362
py
Python
app/revisioner/tests/e2e/e2e_datastore_generic.py
metamapper-io/metamapper
376716e72bcaca62f1ec09ca9a13a0346e5502f9
[ "BSD-2-Clause" ]
3
2020-06-14T01:28:39.000Z
2020-06-15T23:52:29.000Z
app/revisioner/tests/e2e/e2e_datastore_generic.py
metamapper-io/metamapper
376716e72bcaca62f1ec09ca9a13a0346e5502f9
[ "BSD-2-Clause" ]
null
null
null
app/revisioner/tests/e2e/e2e_datastore_generic.py
metamapper-io/metamapper
376716e72bcaca62f1ec09ca9a13a0346e5502f9
[ "BSD-2-Clause" ]
null
null
null
""" This tests when a Datastore experiences some typical changes to the underlying definition. Test Cases: - Table is renamed. - Table is created. - Table is dropped. - Column is dropped. - [PENDING] Column attributes are updated. """ from app.revisioner.tests.e2e import inspected from app.revisioner.tests...
29.106742
95
0.459081
841
10,362
5.457788
0.175981
0.066231
0.103486
0.074292
0.625054
0.479739
0.414161
0.387582
0.363834
0.276688
0
0.028627
0.399923
10,362
355
96
29.188732
0.709553
0.077302
0
0.375
0
0
0.326312
0.024206
0
0
0
0
0.027439
1
0
false
0.057927
0.006098
0
0.006098
0
0
0
0
null
0
0
0
0
0
0
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
c51784c95d4bece9608952423d187dce01ca6ee2
8,452
py
Python
scripts/gen_sql.py
2kranki/genapp
6d592b33436c7a0c636d619243a1f34819e87a01
[ "Unlicense" ]
5
2019-08-01T08:23:25.000Z
2019-12-01T17:04:21.000Z
scripts/gen_sql.py
2kranki/genapp
6d592b33436c7a0c636d619243a1f34819e87a01
[ "Unlicense" ]
null
null
null
scripts/gen_sql.py
2kranki/genapp
6d592b33436c7a0c636d619243a1f34819e87a01
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # vi:nu:et:sts=4 ts=4 sw=4 """ Generate SQL Applications for all the Test01 Input Data Test01 Input Data has test data for each SQL Server type supported by genapp so that it can be properly tested. This program scans ./misc/ for all the test01 application defin...
42.686869
90
0.544841
967
8,452
4.655636
0.339193
0.042648
0.019991
0.023101
0.181919
0.136162
0.0502
0.039094
0.019991
0.019991
0
0.007207
0.326905
8,452
197
91
42.903553
0.784145
0.363938
0
0.2
1
0
0.164912
0.004334
0
0
0
0.005076
0
1
0.06
false
0.01
0.04
0
0.12
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c51afc4b7f60ed17cb187b0501a341c5b41aae55
6,420
py
Python
pysnmp/CISCO-COMPRESSION-SERVICE-ADAPTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/CISCO-COMPRESSION-SERVICE-ADAPTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/CISCO-COMPRESSION-SERVICE-ADAPTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-COMPRESSION-SERVICE-ADAPTER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-COMPRESSION-SERVICE-ADAPTER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:36:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 #...
114.642857
801
0.755919
741
6,420
6.546559
0.191633
0.015667
0.014842
0.016491
0.439085
0.305504
0.233354
0.215213
0.215213
0.213152
0
0.066508
0.086604
6,420
55
802
116.727273
0.760744
0.057321
0
0.042553
0
0
0.226047
0.09118
0
0
0
0
0
1
0
false
0
0.170213
0
0.170213
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c51e71dd0c7fe749f852688292ecec35afeb8980
54,884
py
Python
google/analytics/admin_v1alpha/types/resources.py
LaudateCorpus1/python-analytics-admin
2ec0a0b648edcfb3b76bf847a4463cbb551e1997
[ "Apache-2.0" ]
null
null
null
google/analytics/admin_v1alpha/types/resources.py
LaudateCorpus1/python-analytics-admin
2ec0a0b648edcfb3b76bf847a4463cbb551e1997
[ "Apache-2.0" ]
null
null
null
google/analytics/admin_v1alpha/types/resources.py
LaudateCorpus1/python-analytics-admin
2ec0a0b648edcfb3b76bf847a4463cbb551e1997
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
40.208059
132
0.653706
6,380
54,884
5.520063
0.109561
0.041456
0.062184
0.044125
0.585581
0.541683
0.463854
0.407718
0.367284
0.346414
0
0.016766
0.274069
54,884
1,364
133
40.237537
0.867175
0.612984
0
0.166297
0
0
0.068604
0.024303
0
0
0
0
0
1
0
false
0
0.006652
0
0.543237
0
0
0
0
null
0
0
0
0
0
0
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
c5266a8570ea9596834c7ebf73b028d967a621c0
2,051
py
Python
tests/test_requestor.py
luisfmcalado/coinoxr
e7cf95d717aa9b58e458332bfd6fd2d4172d175f
[ "MIT" ]
2
2020-09-05T20:48:54.000Z
2022-03-28T11:00:15.000Z
tests/test_requestor.py
luisfmcalado/coinoxr
e7cf95d717aa9b58e458332bfd6fd2d4172d175f
[ "MIT" ]
null
null
null
tests/test_requestor.py
luisfmcalado/coinoxr
e7cf95d717aa9b58e458332bfd6fd2d4172d175f
[ "MIT" ]
null
null
null
import pytest from coinoxr.requestor import Requestor from coinoxr.response import Response from tests.stub_client import StubHttpClient from coinoxr.error import AppIdError class TestRequestor: @pytest.fixture def http_client(self, mocker): return mocker.Mock(StubHttpClient) @pytest.fixture ...
33.080645
152
0.680644
261
2,051
5.141762
0.264368
0.081967
0.052161
0.029806
0.33532
0.292101
0.292101
0.23994
0.23994
0.177347
0
0.011407
0.230619
2,051
61
153
33.622951
0.839037
0
0
0.297872
0
0.021277
0.081911
0
0
0
0
0
0.148936
1
0.212766
false
0
0.12766
0.042553
0.446809
0
0
0
0
null
0
0
0
0
0
0
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
c526cb8964353e5592aa8540adaed24fe29a2394
1,159
py
Python
cvat/apps/engine/migrations/0018_jobcommit.py
wsp-digital/cvat
67599206c9cc78a861d2c78d2884fd5a395be9c1
[ "Intel", "MIT" ]
4,197
2018-06-30T05:47:50.000Z
2020-09-08T07:34:22.000Z
cvat/apps/engine/migrations/0018_jobcommit.py
nav13n/cvat
9bdcc7f8f2d86a763ab5f306ea049ce1432da557
[ "Intel", "MIT" ]
2,049
2020-09-08T10:01:10.000Z
2022-03-31T19:08:15.000Z
cvat/apps/engine/migrations/0018_jobcommit.py
nav13n/cvat
9bdcc7f8f2d86a763ab5f306ea049ce1432da557
[ "Intel", "MIT" ]
1,253
2018-06-30T05:47:58.000Z
2020-09-08T02:19:52.000Z
# Generated by Django 2.1.7 on 2019-04-17 09:25 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('engine', '0017_db_redesi...
36.21875
144
0.608283
118
1,159
5.838983
0.601695
0.046444
0.060958
0.095791
0.087083
0.087083
0
0
0
0
0
0.037383
0.261432
1,159
31
145
37.387097
0.767523
0.038827
0
0
1
0
0.106115
0.022482
0
0
0
0
0
1
0
false
0
0.12
0
0.24
0
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
c527490b110add5bab23ad7f9afa14a573015a19
308
py
Python
Projects Cousera/PythonDataStructures/Prefixes.py
teksaulo/My-projects
3f328c81d12bc77f5374c4a73b92184732d9038c
[ "MIT" ]
null
null
null
Projects Cousera/PythonDataStructures/Prefixes.py
teksaulo/My-projects
3f328c81d12bc77f5374c4a73b92184732d9038c
[ "MIT" ]
null
null
null
Projects Cousera/PythonDataStructures/Prefixes.py
teksaulo/My-projects
3f328c81d12bc77f5374c4a73b92184732d9038c
[ "MIT" ]
null
null
null
line = "Please have a nice day" # This takes a parameter, what prefix we're looking for. line_new = line.startswith('Please') print(line_new) #Does it start with a lowercase p? # And then we get back a False because, # no, it doesn't start with a lowercase p line_new = line.startswith('p') print(line_new)
28
56
0.737013
56
308
3.982143
0.589286
0.125561
0.098655
0.188341
0.179372
0
0
0
0
0
0
0
0.165584
308
10
57
30.8
0.867704
0.535714
0
0.4
0
0
0.211679
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
c5289e9c38b6d47143e4ec072c6c1c9a2abbd299
7,949
py
Python
avoid_obstacles/scripts/waypoints_manager.py
mattp256/wheele
724e2df031017051085000ac49849e4bb03b69cb
[ "BSD-3-Clause" ]
2
2018-01-28T00:48:42.000Z
2019-04-08T00:24:11.000Z
avoid_obstacles/scripts/waypoints_manager.py
mattp256/wheele
724e2df031017051085000ac49849e4bb03b69cb
[ "BSD-3-Clause" ]
27
2018-08-03T01:49:19.000Z
2022-01-05T19:22:46.000Z
avoid_obstacles/scripts/waypoints_manager.py
mattp256/wheele
724e2df031017051085000ac49849e4bb03b69cb
[ "BSD-3-Clause" ]
3
2018-04-20T02:55:10.000Z
2020-11-24T05:57:13.000Z
#!/usr/bin/env python import rospy, math import numpy as np from std_msgs.msg import Int16 import tf from geometry_msgs.msg import Quaternion, Point, Pose, PoseStamped, Vector3, Vector3Stamped from sensor_msgs.msg import Imu, JointState from nav_msgs.msg import Odometry import time import sys class WaypointManager...
38.77561
177
0.609133
1,097
7,949
4.168642
0.198724
0.015089
0.024492
0.019243
0.299147
0.195495
0.14848
0.097092
0.055106
0.055106
0
0.022687
0.29576
7,949
204
178
38.965686
0.794212
0.103409
0
0.179487
0
0
0.046554
0.003094
0
0
0
0
0
0
null
null
0.00641
0.057692
null
null
0.070513
0
0
0
null
0
0
0
0
0
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
c52b81b2c2b06c3c66b2df083257a782c9dc019a
1,792
py
Python
miasmap.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
10
2015-06-13T17:27:18.000Z
2021-02-14T13:03:11.000Z
miasmap.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
2
2020-07-11T18:34:57.000Z
2021-03-07T02:27:46.000Z
miasmap.py
DarkStarSword/miasmata-fixes
d320f5e68cd5ebabd14efd7af021afa7e63d161e
[ "MIT" ]
1
2016-03-23T22:26:23.000Z
2016-03-23T22:26:23.000Z
#!/usr/bin/env python from PIL import Image import sys width = 8238 height = 8193 minz = -1815 maxz = 1833 width = 4096 height = 4096 scale = 2 try: image = Image.open('Map_FilledIn.jpg').transpose(Image.ROTATE_270).resize((width, height)) except: import traceback traceback.print_exc() image = Image.new('RGB', ...
24.216216
91
0.592076
352
1,792
2.988636
0.284091
0.01711
0.025665
0.022814
0.239544
0.186312
0.186312
0.186312
0.186312
0.148289
0
0.113445
0.203125
1,792
73
92
24.547945
0.623249
0.025112
0
0.186441
0
0
0.017765
0
0
0
0
0
0
0
null
null
0
0.050847
null
null
0.033898
0
0
0
null
0
0
0
0
0
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
c52bcd79e3f9df47e4ec335d76a431569f614b08
4,480
py
Python
setup.py
steve/couchapp
a437ff8d9058838bc38c650ef84114cbf9a2b04a
[ "Apache-2.0", "BSD-3-Clause" ]
1
2017-05-03T00:37:56.000Z
2017-05-03T00:37:56.000Z
setup.py
steve/couchapp
a437ff8d9058838bc38c650ef84114cbf9a2b04a
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
setup.py
steve/couchapp
a437ff8d9058838bc38c650ef84114cbf9a2b04a
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2009 Benoit Chesneau <benoitc@e-engura.org> # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. import os import sys from ez_setup import use_setuptools if 'cygwin' in sys.platform.lo...
30.684932
108
0.637946
537
4,480
5.20298
0.430168
0.031496
0.017895
0.016106
0.154617
0.10952
0.10952
0.086614
0.076593
0.076593
0
0.009323
0.257813
4,480
145
109
30.896552
0.830977
0.104911
0
0.190909
0
0
0.283392
0.027514
0
0
0
0
0
0
null
null
0.009091
0.054545
null
null
0.081818
0
0
0
null
0
0
0
0
0
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
c52de5656cb60ab1d0a2b46f6a50e484967608d8
16,262
py
Python
training/vae_dcgan.py
RuiLiFeng/LAE
3b04e9ebf52f1bf92f8e4a7f8d5261c1e7f73b0c
[ "BSD-Source-Code" ]
null
null
null
training/vae_dcgan.py
RuiLiFeng/LAE
3b04e9ebf52f1bf92f8e4a7f8d5261c1e7f73b0c
[ "BSD-Source-Code" ]
null
null
null
training/vae_dcgan.py
RuiLiFeng/LAE
3b04e9ebf52f1bf92f8e4a7f8d5261c1e7f73b0c
[ "BSD-Source-Code" ]
null
null
null
# Copyright (c) 2019, NVIDIA Corporation. All rights reserved. # # This work is made available under the Nvidia Source Code License-NC. # To view a copy of this license, visit # https://nvlabs.github.io/stylegan2/license.html """Network architectures used in the StyleGAN2 paper.""" import numpy as np import tensorfl...
43.715054
238
0.604538
2,189
16,262
4.329831
0.167656
0.006014
0.017725
0.024056
0.308082
0.27854
0.238236
0.17873
0.140114
0.132939
0
0.021553
0.238224
16,262
372
239
43.715054
0.743461
0.187738
0
0.341085
0
0
0.044564
0
0
0
0
0
0.031008
0
null
null
0
0.023256
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
c53687c381a91eadbe3200f05b419fc610b8c678
465
py
Python
public/algorithms/search.py
microwen/cecewsn
fadf3baf3a084936a9fa0a43fd910b42a3049d20
[ "MIT" ]
1
2019-04-19T07:27:08.000Z
2019-04-19T07:27:08.000Z
public/algorithms/search.py
HongweiL/cecewsn
fadf3baf3a084936a9fa0a43fd910b42a3049d20
[ "MIT" ]
null
null
null
public/algorithms/search.py
HongweiL/cecewsn
fadf3baf3a084936a9fa0a43fd910b42a3049d20
[ "MIT" ]
2
2018-11-04T10:32:05.000Z
2019-03-14T01:40:44.000Z
import LibrarySearch_v1 import sys from os.path import join data_path = sys.argv[1] path_MB = join(data_path, 'MassBank_matlab.mat') path_adducts = join(data_path, 'tmp', 'adducts', sys.argv[2]) path_to_spec = join(data_path, 'tmp', 'deconv') output_ulsa = join(data_path, 'tmp', 'ULSA') source = 'ESI' mode = 'POSITIVE...
29.0625
93
0.750538
74
465
4.459459
0.432432
0.121212
0.181818
0.136364
0
0
0
0
0
0
0
0.014458
0.107527
465
15
94
31
0.780723
0
0
0
0
0
0.12043
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c53acd421f3dd09d9f2031ba7112f24b81eb4225
778
py
Python
series/migrations/0002_auto_20170818_1006.py
teenoh/tv_series_scraper
2b705b53537ede2963368ee22be4299a1ec9390c
[ "MIT" ]
null
null
null
series/migrations/0002_auto_20170818_1006.py
teenoh/tv_series_scraper
2b705b53537ede2963368ee22be4299a1ec9390c
[ "MIT" ]
null
null
null
series/migrations/0002_auto_20170818_1006.py
teenoh/tv_series_scraper
2b705b53537ede2963368ee22be4299a1ec9390c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-08-18 09:06 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('series', '0001_initial'), ] operations = [ m...
28.814815
127
0.637532
85
778
5.694118
0.494118
0.066116
0.086777
0.136364
0.285124
0.285124
0.285124
0.285124
0.285124
0.285124
0
0.033613
0.235219
778
26
128
29.923077
0.779832
0.084833
0
0.210526
1
0
0.122708
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
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
c5450b66f3c5c0c0eab8bcbe2d578923411c3592
3,758
py
Python
docs/source/conf.py
prusse-martin/alfasim-sdk
f6992cb3c1c51e25bf55470508f406ee6c5a5e9b
[ "MIT" ]
null
null
null
docs/source/conf.py
prusse-martin/alfasim-sdk
f6992cb3c1c51e25bf55470508f406ee6c5a5e9b
[ "MIT" ]
null
null
null
docs/source/conf.py
prusse-martin/alfasim-sdk
f6992cb3c1c51e25bf55470508f406ee6c5a5e9b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import subprocess from pathlib import Path # -- Breathe Configs for ReadTheDocs ------------------------------------------ on_rtd = os.environ.get("READTHEDOCS", None) == "True" if on_rtd: subprocess.run("cd ..; doxygen alfasim_sdk_api.cfg", shell=True) breathe_projects = {"a...
28.044776
109
0.619212
420
3,758
5.25
0.469048
0.081633
0.058957
0.045351
0.122449
0.071655
0.035374
0.035374
0
0
0
0.008313
0.13571
3,758
133
110
28.255639
0.670567
0.168707
0
0.032258
0
0
0.619461
0.199101
0
0
0
0.007519
0
1
0
false
0
0.032258
0
0.032258
0
0
0
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
c54bce579a630de8871ceeb3456254e2d81ca949
233
py
Python
sidebar/admin.py
renjigr/django-sidebar
1724d097a787ce9a2e3fe329dedc663f404d707a
[ "BSD-3-Clause" ]
null
null
null
sidebar/admin.py
renjigr/django-sidebar
1724d097a787ce9a2e3fe329dedc663f404d707a
[ "BSD-3-Clause" ]
null
null
null
sidebar/admin.py
renjigr/django-sidebar
1724d097a787ce9a2e3fe329dedc663f404d707a
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from sidebar.models import Sidebar from django import forms from django.db import models class SidebarAdmin(admin.ModelAdmin): fields = ('position',) admin.site.register(Sidebar, SidebarAdmin)
21.181818
42
0.793991
30
233
6.166667
0.533333
0.162162
0
0
0
0
0
0
0
0
0
0
0.128755
233
10
43
23.3
0.91133
0
0
0
0
0
0.034483
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
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
c54fe14b440a7245ecd7fec0bfbffcee58ae88d1
14,479
py
Python
contest/models.py
pwqbot/eoj3
46be6a6f192798e74eab7b327bb8df7ca73575d9
[ "MIT" ]
66
2019-10-04T12:39:56.000Z
2022-03-29T14:03:40.000Z
contest/models.py
pwqbot/eoj3
46be6a6f192798e74eab7b327bb8df7ca73575d9
[ "MIT" ]
27
2019-09-24T12:44:48.000Z
2022-03-11T23:18:21.000Z
contest/models.py
pwqbot/eoj3
46be6a6f192798e74eab7b327bb8df7ca73575d9
[ "MIT" ]
25
2019-10-11T10:39:12.000Z
2022-03-18T05:15:57.000Z
import json from datetime import datetime import shortuuid from django.core.validators import EmailValidator from django.db import models from django.db.models import Count from django.utils import timezone from account.models import User, School from problem.models import Problem from utils.language import LANG_CHOI...
34.97343
120
0.696802
1,827
14,479
5.330049
0.229338
0.022181
0.020127
0.030191
0.259088
0.159376
0.111933
0.090265
0.059252
0.050113
0
0.009502
0.171421
14,479
413
121
35.058111
0.802201
0.024725
0
0.169643
0
0
0.090632
0.006307
0
0
0
0
0
1
0.083333
false
0
0.032738
0.03869
0.589286
0.002976
0
0
0
null
0
0
0
0
0
0
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
c5560795b7770bea580e40adf26486d3641cb448
398
py
Python
build-x86_64-linux-gnu/quickfix-v.1.14.4/src/at.py
yerkobits/peatiobot
062a586d05cea4b098b4e82c8e281f30346d8652
[ "0BSD", "MIT" ]
8
2017-12-14T12:25:17.000Z
2021-11-11T11:59:39.000Z
build-x86_64-linux-gnu/quickfix-v.1.14.4/src/at.py
mmourani/Billionbot
fbe1c254e633c5815c8a9d2a61e48677ccdfb3cb
[ "0BSD", "MIT" ]
null
null
null
build-x86_64-linux-gnu/quickfix-v.1.14.4/src/at.py
mmourani/Billionbot
fbe1c254e633c5815c8a9d2a61e48677ccdfb3cb
[ "0BSD", "MIT" ]
8
2018-03-09T10:20:59.000Z
2020-12-17T15:20:10.000Z
import sys import time import quickfix as fix import at_application if len(sys.argv) == 0: print "usage: at.py -f FILE" exit file = sys.argv[1] settings = fix.SessionSettings( file ) application = at_application.Application() factory = fix.FileStoreFactory( "store" ) acceptor = fix.SocketAcceptor( application, fa...
18.090909
63
0.741206
54
398
5.425926
0.555556
0.088737
0
0
0
0
0
0
0
0
0
0.011765
0.145729
398
21
64
18.952381
0.85
0
0
0
0
0
0.062814
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c556132e09d143a7425c5c9a46ec339d8b11d701
1,158
py
Python
contest/biweekly/47/sum_power_of_3.py
phunc20/leetcode
4581f39be565593ad0f5718dd4b0e1c34c209bf3
[ "MIT" ]
null
null
null
contest/biweekly/47/sum_power_of_3.py
phunc20/leetcode
4581f39be565593ad0f5718dd4b0e1c34c209bf3
[ "MIT" ]
null
null
null
contest/biweekly/47/sum_power_of_3.py
phunc20/leetcode
4581f39be565593ad0f5718dd4b0e1c34c209bf3
[ "MIT" ]
null
null
null
#class Solution: # def checkPowersOfThree(self, n: int) -> bool: #def checkPowersOfThree(n): # def divisible_by_3(k): # return k % 3 == 0 # #if 1 <= n <= 2: # if n == 2: # return False # if divisible_by_3(n): # return checkPowersOfThree(n//3) # else: # n = n - 1 # ...
23.16
50
0.523316
131
1,158
4.519084
0.267176
0.224662
0.060811
0.126689
0.483108
0.39527
0.39527
0.39527
0.39527
0.39527
0
0.036
0.352332
1,158
49
51
23.632653
0.753333
0.474957
0
0.428571
0
0
0.131849
0.118151
0
0
0
0
0
1
0.047619
false
0
0
0
0.238095
0.142857
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
c5595be21ef84318320c4fb485e0023f466813c5
732
py
Python
openpds/core/views.py
eschloss/FluFuture
385506f5d12201b3909d08e42fb1ebb5c0cb323f
[ "MIT" ]
null
null
null
openpds/core/views.py
eschloss/FluFuture
385506f5d12201b3909d08e42fb1ebb5c0cb323f
[ "MIT" ]
null
null
null
openpds/core/views.py
eschloss/FluFuture
385506f5d12201b3909d08e42fb1ebb5c0cb323f
[ "MIT" ]
null
null
null
from django.shortcuts import render_to_response, get_object_or_404 from django.http import HttpResponse from openpds.core.models import Profile from pymongo import Connection from openpds import settings import json import random def dump(request): profiles = Profile.objects.all() data = {} connecti...
26.142857
68
0.685792
87
732
5.655172
0.574713
0.04065
0.065041
0
0
0
0
0
0
0
0
0.005226
0.215847
732
27
69
27.111111
0.851916
0
0
0
0
0
0.071038
0
0
0
0
0
0
1
0.047619
false
0
0.333333
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c55f5b6958ab15934c4f9ff6e098900fb2a0e69f
1,711
py
Python
tests/test_sql.py
dtheodor/sqlalchemy-sqlschema
579a1716a0674366c3ef89ca5528cfb109144da1
[ "MIT" ]
6
2015-11-25T00:59:29.000Z
2021-04-11T18:25:15.000Z
tests/test_sql.py
dtheodor/sqlalchemy-sqlschema
579a1716a0674366c3ef89ca5528cfb109144da1
[ "MIT" ]
1
2015-06-26T13:48:23.000Z
2015-06-27T21:20:41.000Z
tests/test_sql.py
dtheodor/sqlalchemy-sqlschema
579a1716a0674366c3ef89ca5528cfb109144da1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created by @dtheodor at 2015-05-31 Test SQL compilation of SQL schema set and get. """ from sqlalchemy.dialects.postgres import dialect as pg_dialect from sqlalchemy.dialects.oracle import dialect as oracle_dialect from sqlalchemy.dialects.mssql import dialect as mssql_dialect from sqlalche...
37.195652
74
0.701929
219
1,711
5.191781
0.251142
0.118734
0.068602
0.105541
0.453826
0.436236
0.37467
0.37467
0.37467
0.37467
0
0.006555
0.197545
1,711
45
75
38.022222
0.821559
0.061952
0
0.375
0
0
0.143394
0.013776
0
0
0
0
0.21875
1
0.21875
false
0
0.125
0
0.46875
0
0
0
0
null
0
0
0
0
0
0
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
c5648fac767eff0d9e6cf9287344143c131aa050
3,332
py
Python
examples/simulation/source_simulator.py
lokinou/mne-python
f4aa12bc9118d0739ca05c5ed5a4fba7ae71138b
[ "BSD-3-Clause" ]
null
null
null
examples/simulation/source_simulator.py
lokinou/mne-python
f4aa12bc9118d0739ca05c5ed5a4fba7ae71138b
[ "BSD-3-Clause" ]
null
null
null
examples/simulation/source_simulator.py
lokinou/mne-python
f4aa12bc9118d0739ca05c5ed5a4fba7ae71138b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ .. _ex-sim-source: ============================== Generate simulated source data ============================== This example illustrates how to use the :class:`mne.simulation.SourceSimulator` class to generate source estimates and raw data. It is meant to be a brief introduction and only h...
37.022222
79
0.728992
534
3,332
4.451311
0.397004
0.016828
0.026925
0.017669
0.034497
0.034497
0.034497
0.034497
0.034497
0
0
0.017106
0.157863
3,332
89
80
37.438202
0.830007
0.548619
0
0
1
0
0.076398
0.053206
0
0
0
0
0
1
0
false
0
0.108108
0
0.108108
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c567e9fd6ab0b5bfdf882b82249f6ca74ff513d4
5,127
py
Python
migration/models.py
dixonary/uwcs-zarya
e982f324c0a6aca156a15c6f597012f47bc070cc
[ "MIT" ]
7
2016-09-30T20:33:46.000Z
2020-03-16T15:04:20.000Z
migration/models.py
dixonary/uwcs-zarya
e982f324c0a6aca156a15c6f597012f47bc070cc
[ "MIT" ]
46
2016-10-01T17:52:59.000Z
2022-01-13T00:44:09.000Z
migration/models.py
dixonary/uwcs-zarya
e982f324c0a6aca156a15c6f597012f47bc070cc
[ "MIT" ]
6
2016-10-15T02:51:18.000Z
2020-10-02T12:47:54.000Z
from django.contrib.auth.models import User from django.db import models from datetime import datetime, timedelta TARGETS = ( ('ACA', 'Academic'), ('GAM', 'Gaming'), ('SCL', 'Social'), ('SCT', 'Society'), ) COMMS_TYPE = ( ('NL', 'Newsletter'), ('M', 'Minute'), ('N', 'News Item'), ) STATUS...
29.297143
120
0.685586
594
5,127
5.819865
0.353535
0.069424
0.083309
0.111079
0.380677
0.234886
0.203645
0.163147
0.163147
0.11455
0
0.008182
0.21338
5,127
174
121
29.465517
0.848996
0.105715
0
0.211009
0
0
0.180463
0.038718
0
0
0
0
0
1
0
false
0
0.027523
0
0.697248
0
0
0
0
null
0
0
0
0
0
0
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
c56c6ece91365331cd15a632e505506efe8426a0
2,241
py
Python
06_iris_numpy_stats.py
tommirrington/52167-Programming-and-Scripting-Final-Project
c78fa312eb9f8db4d43fa472b8ab536934a5d55c
[ "Apache-2.0" ]
null
null
null
06_iris_numpy_stats.py
tommirrington/52167-Programming-and-Scripting-Final-Project
c78fa312eb9f8db4d43fa472b8ab536934a5d55c
[ "Apache-2.0" ]
null
null
null
06_iris_numpy_stats.py
tommirrington/52167-Programming-and-Scripting-Final-Project
c78fa312eb9f8db4d43fa472b8ab536934a5d55c
[ "Apache-2.0" ]
null
null
null
import numpy as np import statistics as stats #use numpy libraray to import csv file as an ndarray and assign variable for each vector data = np.genfromtxt('data/iris.csv', delimiter=',') sepl = data[:,0] sepw = data[:,1] petl = data[:,2] petw = data[:,3] #using numpy and stats libraries print and format results p...
40.017857
99
0.61892
338
2,241
4.10355
0.204142
0.043259
0.103821
0.121125
0.598414
0.586157
0.586157
0.248738
0
0
0
0.03605
0.145917
2,241
55
100
40.745455
0.68861
0.171352
0
0
0
0
0.361472
0
0
0
0
0
0
1
0
false
0
0.051282
0
0.051282
0.820513
0
0
0
null
0
0
0
0
0
0
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
c573e0ff76dfbfe41128a1d772e1265abf81bdd5
1,125
py
Python
googleTrends.py
choandrew/magic
1549d0d8040e758510c801fb9c107ca2eafadf2c
[ "Apache-2.0" ]
2
2016-04-23T05:29:35.000Z
2021-03-07T23:02:48.000Z
googleTrends.py
klee97/magic-master
62e4b5e352520d538c0ca27e423493975ef0f227
[ "Apache-2.0" ]
null
null
null
googleTrends.py
klee97/magic-master
62e4b5e352520d538c0ca27e423493975ef0f227
[ "Apache-2.0" ]
null
null
null
from pytrends.pyGTrends import pyGTrends import time from random import randint import glob, os def main(): googleUsername = "basedgodkiller@gmail.com" googlePassword = "Unicorn7!" #connect to Google connector = pyGTrends(googleUsername, googlePassword) with open("listFinal.txt", "r") as ...
21.226415
73
0.563556
141
1,125
4.425532
0.58156
0.048077
0.028846
0
0
0
0
0
0
0
0
0.013141
0.323556
1,125
52
74
21.634615
0.806833
0.151111
0
0
0
0
0.097792
0.025237
0
0
0
0
0
1
0.037037
false
0.074074
0.148148
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c578f5c18aa3194f17fc11164f6b65dc0796d792
5,404
py
Python
test/test_plugin_nextcloud.py
caronc/pnotify
4c57d76ee7d88b04b3ac2667f91d9e7062486415
[ "MIT" ]
null
null
null
test/test_plugin_nextcloud.py
caronc/pnotify
4c57d76ee7d88b04b3ac2667f91d9e7062486415
[ "MIT" ]
null
null
null
test/test_plugin_nextcloud.py
caronc/pnotify
4c57d76ee7d88b04b3ac2667f91d9e7062486415
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2020 Chris Caron <lead2gold@gmail.com> # All rights reserved. # # This code is licensed under the MIT License. # # 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 th...
33.358025
79
0.65359
621
5,404
5.624799
0.371981
0.094475
0.111652
0.07014
0.316633
0.28915
0.28915
0.258803
0.1858
0.152305
0
0.015446
0.209289
5,404
161
80
33.565217
0.802013
0.345115
0
0.451613
0
0
0.334904
0.241532
0
0
0
0
0.064516
1
0.021505
false
0.086022
0.064516
0
0.086022
0
0
0
0
null
0
0
0
0
0
0
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
3d68630fa304d56b0ef2bbaaa0fe4e2e66e091da
706
py
Python
gaussian/gauss.py
EnsekiTT/ml_review
acedd27d877519b413605a5db5ddd6fb4ffff765
[ "MIT" ]
null
null
null
gaussian/gauss.py
EnsekiTT/ml_review
acedd27d877519b413605a5db5ddd6fb4ffff765
[ "MIT" ]
null
null
null
gaussian/gauss.py
EnsekiTT/ml_review
acedd27d877519b413605a5db5ddd6fb4ffff765
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import numpy as np import scipy as sp import matplotlib.pyplot as plt POINTS = 1000 if __name__ == '__main__': gauss1 = (np.random.randn(POINTS), np.random.randn(POINTS)*0.24); gauss2 = (np.random.randn(POINTS)*0.28, np.random.randn(POINTS)); x1 = np.array(range(POINTS)) * 0.005 ...
22.774194
69
0.542493
124
706
2.991935
0.362903
0.040431
0.140162
0.204852
0.150943
0
0
0
0
0
0
0.104247
0.266289
706
30
70
23.533333
0.611969
0.029745
0
0
0
0
0.014641
0
0
0
0
0
0
1
0
false
0
0.12
0
0.12
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
3d7402276daf3d189f64afd287b34a3b325a840b
634
py
Python
src/E028.py
Jexan/ProjectEulerSolutions
1c71dcc2ac4ac09c6bef4b09137d7d4cd2ef2ecd
[ "MIT" ]
null
null
null
src/E028.py
Jexan/ProjectEulerSolutions
1c71dcc2ac4ac09c6bef4b09137d7d4cd2ef2ecd
[ "MIT" ]
null
null
null
src/E028.py
Jexan/ProjectEulerSolutions
1c71dcc2ac4ac09c6bef4b09137d7d4cd2ef2ecd
[ "MIT" ]
null
null
null
# Sum of the diagonals of a spiral square diagonal # OPTIMAL (<0.1s) # # APPROACH: # Generate the numbers in the spiral with a simple algorithm until # the desdired side is obtained, SQUARE_SIDE = 1001 DUMMY_SQUARE_SIDE = 5 DUMMY_RESULT = 101 def generate_numbers(limit): current = 1 internal_square = 1 steps = ...
22.642857
67
0.750789
92
634
4.967391
0.434783
0.131291
0.065646
0.09628
0
0
0
0
0
0
0
0.030476
0.171924
634
28
68
22.642857
0.84
0.272871
0
0
1
0
0
0
0
0
0
0
0.058824
1
0.117647
false
0
0
0.058824
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d848c07bad474494ce2125ed1b4b459c80ed1d6
329
py
Python
myproject/prod_settings.py
stefanbschneider/django-hello-world
f0b31de9a4a3462fa5bb2a0040bd939ebd9a1662
[ "MIT" ]
3
2021-01-20T16:14:51.000Z
2022-03-02T23:44:40.000Z
myproject/prod_settings.py
stefanbschneider/django-hello-world
f0b31de9a4a3462fa5bb2a0040bd939ebd9a1662
[ "MIT" ]
null
null
null
myproject/prod_settings.py
stefanbschneider/django-hello-world
f0b31de9a4a3462fa5bb2a0040bd939ebd9a1662
[ "MIT" ]
2
2022-01-02T14:47:20.000Z
2022-02-23T21:09:46.000Z
""" Production Settings """ # default: use settings from main settings.py if not overwritten from .settings import * import django_heroku DEBUG = False SECRET_KEY = os.getenv('DJANGO_SECRET_KEY', SECRET_KEY) ALLOWED_HOSTS = ['django-hello-world-app.herokuapp.com'] # Activate Django-Heroku. django_heroku.settings(lo...
21.933333
64
0.768997
44
329
5.590909
0.636364
0.146341
0
0
0
0
0
0
0
0
0
0
0.118541
329
14
65
23.5
0.848276
0.328267
0
0
0
0
0.25
0.169811
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3d88e20f472204664328e502b9fe9d3aa77b5b14
11,910
py
Python
web/cloudstrype/main/migrations/0001_initial.py
btimby/cloudstrype
e465ecbb7e4274be24b181dc6de3eb052d2eb656
[ "MIT" ]
5
2017-03-13T17:04:55.000Z
2017-06-14T22:55:45.000Z
web/cloudstrype/main/migrations/0001_initial.py
btimby/cloudstrype
e465ecbb7e4274be24b181dc6de3eb052d2eb656
[ "MIT" ]
16
2017-02-24T06:41:27.000Z
2017-03-08T06:21:51.000Z
web/cloudstrype/main/migrations/0001_initial.py
btimby/cloudstrype
e465ecbb7e4274be24b181dc6de3eb052d2eb656
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-04 19:44 from __future__ import unicode_literals import cryptography.fernet from django.conf import settings import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import django.db.models.mana...
49.012346
175
0.582955
1,166
11,910
5.826758
0.144082
0.027083
0.045334
0.064763
0.662791
0.638799
0.600383
0.566824
0.53194
0.468207
0
0.006894
0.26927
11,910
242
176
49.214876
0.773756
0.005709
0
0.538462
1
0
0.100177
0
0
0
0
0
0
1
0
false
0.004274
0.038462
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d8940765ab91b4eb56fea5350264cc011676840
9,484
py
Python
jcd/app.py
nipil/jcdecaux_fetch_store
cf37817bb8a569ec13fcecaa6b2bf3302ddb7f8c
[ "MIT" ]
1
2015-12-27T00:55:24.000Z
2015-12-27T00:55:24.000Z
jcd/app.py
nipil/jcdecaux_fetch_store
cf37817bb8a569ec13fcecaa6b2bf3302ddb7f8c
[ "MIT" ]
1
2020-07-27T17:45:40.000Z
2020-07-27T17:45:40.000Z
jcd/app.py
nipil/jcdecaux_fetch_store
cf37817bb8a569ec13fcecaa6b2bf3302ddb7f8c
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: UTF-8 -*- vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 # The MIT License (MIT) # # Copyright (c) 2015-2016 Nicolas Pillot # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the 'Software'), ...
33.277193
110
0.583298
1,057
9,484
5.117313
0.293283
0.01442
0.019227
0.028101
0.071732
0.018857
0.018857
0
0
0
0
0.007907
0.319907
9,484
284
111
33.394366
0.830698
0.176402
0
0.164319
0
0
0.173213
0
0
0
0
0
0
0
null
null
0
0.084507
null
null
0.00939
0
0
0
null
0
0
0
0
0
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
3d8e7d96e0fe525a804e4eabf20b037802d0b267
1,252
py
Python
src/rdflib_django/forms.py
publysher/rdflib-django
e26992af75f96ef27a6ceaf820574e3bca645953
[ "MIT" ]
3
2016-05-18T07:08:55.000Z
2017-06-10T21:56:11.000Z
src/rdflib_django/forms.py
publysher/rdflib-django
e26992af75f96ef27a6ceaf820574e3bca645953
[ "MIT" ]
null
null
null
src/rdflib_django/forms.py
publysher/rdflib-django
e26992af75f96ef27a6ceaf820574e3bca645953
[ "MIT" ]
5
2015-07-19T18:38:24.000Z
2018-11-05T12:21:16.000Z
""" Base forms for editing the models in this module. You can use or extend these forms in your project to ensure that all validation is correct. """ from django import forms from rdflib_django import models from rdflib import namespace class NamespaceForm(forms.ModelForm): """ Form for editing namespaces. ...
25.55102
91
0.61262
145
1,252
5.193103
0.448276
0.079681
0.055777
0.075697
0.098274
0.098274
0.098274
0
0
0
0
0
0.286741
1,252
48
92
26.083333
0.843225
0.184505
0
0.125
0
0
0.071429
0
0
0
0
0.020833
0
1
0.125
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3d93241bbc73eb2189018631b08741b724770522
2,433
py
Python
main_quickEnergy_LiH.py
benmoseley/simple-variational-quantum-eigensolver
917f00860a3fd68fbef14d2ff603d4a6908004ac
[ "MIT" ]
3
2020-03-16T14:29:00.000Z
2020-11-06T20:04:57.000Z
main_quickEnergy_LiH.py
benmoseley/simple-variational-quantum-eigensolver
917f00860a3fd68fbef14d2ff603d4a6908004ac
[ "MIT" ]
null
null
null
main_quickEnergy_LiH.py
benmoseley/simple-variational-quantum-eigensolver
917f00860a3fd68fbef14d2ff603d4a6908004ac
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Aug 17 15:38:02 2018 @author: bmoseley """ ''' Main code which searches for the ground state energy of a molecule specified by a Hamiltonian instance using an Ansatz circuit object, a VQE instance and an optimiser. Tests both SPSA and Bayesian optimis...
27.647727
122
0.757501
347
2,433
5.236311
0.466859
0.035223
0.027518
0.007705
0.099064
0.073748
0.044029
0.044029
0.044029
0
0
0.018182
0.140978
2,433
87
123
27.965517
0.851196
0.192766
0
0.1
0
0
0.091084
0.030148
0
0
0
0.011494
0
1
0.025
false
0
0.2
0
0.25
0.025
0
0
0
null
0
0
0
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
3d96a4571e881089ff949e1ad82d4118b81e0076
928
py
Python
pyeccodes/defs/grib2/local_85_2_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
7
2020-04-14T09:41:17.000Z
2021-08-06T09:38:19.000Z
pyeccodes/defs/grib2/local_85_2_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
null
null
null
pyeccodes/defs/grib2/local_85_2_def.py
ecmwf/pyeccodes
dce2c72d3adcc0cb801731366be53327ce13a00b
[ "Apache-2.0" ]
3
2020-04-30T12:44:48.000Z
2020-12-15T08:40:26.000Z
import pyeccodes.accessors as _ def load(h): h.add(_.Transient('defaultFaFieldName', "")) h.add(_.Transient('defaultFaLevelName', "")) h.add(_.Transient('defaultFaModelName', "")) h.add(_.Concept('faFieldName', 'defaultFaFieldName', 'faFieldName.def', 'conceptsMasterDir', 'conceptsLocalDirAll', False...
42.181818
127
0.665948
99
928
6.070707
0.363636
0.106489
0.129784
0.219634
0.262895
0.262895
0.183028
0
0
0
0
0.013564
0.126078
928
21
128
44.190476
0.727497
0
0
0
0
0
0.383621
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.111111
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
3d9da73b9125547dcb31868002ca22ec67b35e07
395
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/config/settings/test.py
simonbru/django-template
c6faf55873e4c83be674197a89be3f5881a69528
[ "MIT" ]
22
2016-02-08T14:08:21.000Z
2021-07-26T21:17:43.000Z
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/config/settings/test.py
simonbru/django-template
c6faf55873e4c83be674197a89be3f5881a69528
[ "MIT" ]
64
2016-02-01T14:30:25.000Z
2022-01-31T16:06:51.000Z
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/config/settings/test.py
simonbru/django-template
c6faf55873e4c83be674197a89be3f5881a69528
[ "MIT" ]
16
2015-09-22T12:33:55.000Z
2021-09-09T12:57:53.000Z
from .base import * # noqa SECRET_KEY = "test" DEBUG = False # Always use local memory cache, don't bother trying memcached or similar CACHES = {"default": {"BACKEND": "django.core.cache.backends.locmem.LocMemCache"}} # use basic password hashing for tests for better performance PASSWORD_HASHERS = ["django.contrib...
26.333333
82
0.75443
50
395
5.92
0.86
0
0
0
0
0
0
0
0
0
0
0.002941
0.139241
395
14
83
28.214286
0.867647
0.407595
0
0
0
0
0.471616
0.393013
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3dac8196c30470343ea33becf8041ee75451478e
11,987
py
Python
survey/forms.py
flynnguy/django-survey
409f9e9c1f3656ff15ff64df71397c6e05c52688
[ "MIT" ]
7
2016-04-01T05:08:57.000Z
2021-10-15T23:55:11.000Z
survey/forms.py
flynnguy/django-survey
409f9e9c1f3656ff15ff64df71397c6e05c52688
[ "MIT" ]
null
null
null
survey/forms.py
flynnguy/django-survey
409f9e9c1f3656ff15ff64df71397c6e05c52688
[ "MIT" ]
2
2016-12-28T05:39:57.000Z
2019-01-17T09:54:06.000Z
from models import QTYPE_CHOICES, Answer, Survey, Question, Choice from django.conf import settings from django.forms import BaseForm, Form, ValidationError from django.forms import CharField, ChoiceField, SplitDateTimeField,\ CheckboxInput, BooleanField,FileInput,\ ...
40.633898
137
0.622007
1,392
11,987
5.199713
0.191092
0.026941
0.026527
0.017408
0.400249
0.386018
0.372064
0.346781
0.319978
0.304504
0
0.001482
0.268124
11,987
294
138
40.772109
0.82355
0.060065
0
0.382114
0
0
0.076992
0.005192
0
0
0
0.003401
0
0
null
null
0
0.052846
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
3daf05be8d0b2de4e5a363c96f8aba26e41019e4
408
py
Python
main_app/migrations/0014_auto_20210429_1825.py
Jonak-Adipta-Kalita/JAK-Website
39c3723e95d99e990a2e23dbb05746def2ac903a
[ "MIT" ]
1
2021-08-31T14:21:16.000Z
2021-08-31T14:21:16.000Z
main_app/migrations/0014_auto_20210429_1825.py
Jonak-Adipta-Kalita/JAK-Website
39c3723e95d99e990a2e23dbb05746def2ac903a
[ "MIT" ]
74
2021-11-03T03:19:12.000Z
2022-03-31T03:23:49.000Z
main_app/migrations/0014_auto_20210429_1825.py
Jonak-Adipta-Kalita/JAK-Website
39c3723e95d99e990a2e23dbb05746def2ac903a
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-29 12:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("main_app", "0013_notfication"), ] operations = [ migrations.AlterField( model_name="notfication", name="notification...
21.473684
62
0.607843
43
408
5.651163
0.813953
0
0
0
0
0
0
0
0
0
0
0.070946
0.27451
408
18
63
22.666667
0.75
0.110294
0
0
1
0
0.144044
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3daf23af96fd9d3a8a0369823825e4c570c9e63a
1,081
py
Python
examples/1827405109.py
lobo0616/bysj
c90bf1de8328cf44acb6faaaac4b575b83ef11a1
[ "MIT" ]
1
2020-03-30T15:33:25.000Z
2020-03-30T15:33:25.000Z
examples/1827405109.py
lobo0616/bysj
c90bf1de8328cf44acb6faaaac4b575b83ef11a1
[ "MIT" ]
null
null
null
examples/1827405109.py
lobo0616/bysj
c90bf1de8328cf44acb6faaaac4b575b83ef11a1
[ "MIT" ]
1
2020-04-02T14:37:26.000Z
2020-04-02T14:37:26.000Z
# 学号:1827405109 # 姓名:郑悦薇 # IP:192.168.157.135 # 上传时间:2018/11/12 14:11:08 import math def func1(a,b): if a <= 0 or b < a: return f1_int_res = 1 f1_int_sum = 0 for i in range(a, b+1): f1_int_res *= i while f1_int_res % 10 == 0: f1_int_sum += 1 f1_in...
21.196078
48
0.488437
187
1,081
2.561497
0.294118
0.100209
0.066806
0.068894
0.231733
0.139875
0.139875
0.083507
0.083507
0
0
0.123457
0.400555
1,081
51
49
21.196078
0.614198
0.06198
0
0.190476
0
0
0.008351
0
0
0
0
0
0
0
null
null
0.02381
0.02381
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
3db0b8d440476f81744179f3be15e09e33f66895
2,957
py
Python
okl4_kernel/okl4_2.1.1-patch.9/tools/SCons/Warnings.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
77
2018-12-31T22:12:09.000Z
2021-12-31T22:56:13.000Z
okl4_kernel/okl4_2.1.1-patch.9/tools/SCons/Warnings.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
null
null
null
okl4_kernel/okl4_2.1.1-patch.9/tools/SCons/Warnings.py
CyberQueenMara/baseband-research
e1605537e10c37e161fff1a3416b908c9894f204
[ "MIT" ]
24
2019-01-20T15:51:52.000Z
2021-12-25T18:29:13.000Z
# # Copyright (c) 2001, 2002, 2003, 2004 The SCons Foundation # # 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, mo...
28.432692
121
0.724721
379
2,957
5.604222
0.467018
0.038136
0.060264
0.024482
0.076271
0.076271
0.076271
0.076271
0.076271
0.076271
0
0.019608
0.206628
2,957
103
122
28.708738
0.885763
0.5093
0
0.222222
0
0.022222
0.074445
0.045812
0
0
0
0
0
1
0.088889
false
0.222222
0.022222
0
0.355556
0
0
0
0
null
0
0
0
0
0
0
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
3db8675ce33f3972935b808dd15adda496f34afb
4,789
py
Python
sdk/python/kfp/dsl/_volume_snapshot_op.py
deepk2u/pipelines
4714919487788823dfc8a739ba00b69faffd7f3f
[ "Apache-2.0" ]
3
2020-10-16T14:30:24.000Z
2021-11-12T13:28:40.000Z
sdk/python/kfp/dsl/_volume_snapshot_op.py
deepk2u/pipelines
4714919487788823dfc8a739ba00b69faffd7f3f
[ "Apache-2.0" ]
484
2021-01-21T06:49:17.000Z
2022-03-23T01:21:24.000Z
sdk/python/kfp/dsl/_volume_snapshot_op.py
deepk2u/pipelines
4714919487788823dfc8a739ba00b69faffd7f3f
[ "Apache-2.0" ]
1
2021-03-19T14:31:00.000Z
2021-03-19T14:31:00.000Z
# Copyright 2019 Google LLC # # 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, ...
38.620968
92
0.619127
523
4,789
5.548757
0.357553
0.034114
0.015162
0.020675
0.144039
0.071675
0.071675
0.071675
0.071675
0.071675
0
0.011484
0.309042
4,789
123
93
38.934959
0.865518
0.334517
0
0.164384
0
0
0.176471
0.053006
0
0
0
0.01626
0
1
0.013699
false
0
0.054795
0
0.09589
0
0
0
0
null
0
0
0
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
3dba002ad269795c205b416eb3e6635dfc9fbdf9
1,559
py
Python
dashboard/dashboard/pinpoint/models/tasks/evaluator.py
Martijnve23/catapult
5c63b19d221af6a12889e8727acc85d93892cab7
[ "BSD-3-Clause" ]
1,894
2015-04-17T18:29:53.000Z
2022-03-28T22:41:06.000Z
dashboard/dashboard/pinpoint/models/tasks/evaluator.py
Martijnve23/catapult
5c63b19d221af6a12889e8727acc85d93892cab7
[ "BSD-3-Clause" ]
4,640
2015-07-08T16:19:08.000Z
2019-12-02T15:01:27.000Z
dashboard/dashboard/pinpoint/models/tasks/evaluator.py
Martijnve23/catapult
5c63b19d221af6a12889e8727acc85d93892cab7
[ "BSD-3-Clause" ]
698
2015-06-02T19:18:35.000Z
2022-03-29T16:57:15.000Z
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Consolidated evaluator factory module. This module consolidates the creation of specific evaluator combinators, used throughout Pinpoint to evaluate task ...
38.02439
77
0.75433
195
1,559
5.820513
0.517949
0.057269
0.092511
0.118943
0.133921
0.133921
0
0
0
0
0
0.003135
0.181527
1,559
40
78
38.975
0.886364
0.345093
0
0
0
0
0.069444
0.020833
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.47619
0.047619
0
0
0
null
0
0
0
0
0
0
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
3dcb01acd1e6d1658cff88cb4e5399556336bca4
1,161
py
Python
tests/unit/vic_run/test_calc_snow_coverage.py
lingyunan0510/VIC
dbc00a813b5df5a88027d1dc57a7805e9a464436
[ "MIT" ]
1
2022-01-18T01:23:47.000Z
2022-01-18T01:23:47.000Z
tests/unit/vic_run/test_calc_snow_coverage.py
yusheng-wang/VIC
8f6cc0661bdc67c4f6caabdd4dcd0b8782517435
[ "MIT" ]
null
null
null
tests/unit/vic_run/test_calc_snow_coverage.py
yusheng-wang/VIC
8f6cc0661bdc67c4f6caabdd4dcd0b8782517435
[ "MIT" ]
null
null
null
from vic.vic import ffi from vic import lib as vic_lib def test_calc_snow_coverage_no_change(): store_snow = ffi.new('_Bool *') max_snow_depth = ffi.new('double *') store_swq = ffi.new('double *') snow_distrib_slope = ffi.new('double *') store_coverage = ffi.new('double *') old_coverage = 0.75...
33.171429
78
0.668389
184
1,161
3.896739
0.179348
0.083682
0.133891
0.09484
0.849372
0.594142
0.368201
0.368201
0.368201
0.368201
0
0.050811
0.203273
1,161
34
79
34.147059
0.724324
0
0
0.482759
0
0
0.067183
0
0
0
0
0
0.068966
1
0.068966
false
0
0.068966
0
0.137931
0
0
0
0
null
0
0
0
1
0
0
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
3dcc2bf9f8602221c1eff35b5494fc414bf2ec4e
8,031
py
Python
atrial_model/iNa/scripts/mini_optimize.py
hundlab/iNaCells2021Code
144017625ba5244c4fb431cccb347f7f2b4853b1
[ "MIT" ]
null
null
null
atrial_model/iNa/scripts/mini_optimize.py
hundlab/iNaCells2021Code
144017625ba5244c4fb431cccb347f7f2b4853b1
[ "MIT" ]
null
null
null
atrial_model/iNa/scripts/mini_optimize.py
hundlab/iNaCells2021Code
144017625ba5244c4fb431cccb347f7f2b4853b1
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jul 15 12:48:30 2020 @author: grat05 """ import sys import os sys.path.append(os.path.abspath( os.path.join(os.path.dirname(__file__), os.pardir, os.pardir, os.pardir))) #from iNa_models import Koval_ina, OHaraRudy_INa import a...
37.528037
101
0.598929
1,017
8,031
4.46411
0.220256
0.030837
0.039648
0.03304
0.409692
0.262555
0.19141
0.153744
0.121145
0.121145
0
0.116952
0.220645
8,031
214
102
37.528037
0.608404
0.576018
0
0.171429
0
0
0.052744
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.014286
0
0
0
null
0
0
0
0
0
0
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
3dce37a9cbddbade3677fd8a2c02173a44555705
341
py
Python
example/views.py
ephes/wagtail_srcset
1a00057a7a105071bb7e72c0eb1880fcf19aa265
[ "BSD-3-Clause" ]
11
2020-02-25T14:08:03.000Z
2021-01-13T17:44:19.000Z
example/views.py
ephes/wagtail_srcset
1a00057a7a105071bb7e72c0eb1880fcf19aa265
[ "BSD-3-Clause" ]
1
2020-05-19T18:05:21.000Z
2020-05-21T07:00:40.000Z
example/views.py
ephes/wagtail_srcset
1a00057a7a105071bb7e72c0eb1880fcf19aa265
[ "BSD-3-Clause" ]
2
2020-06-12T07:36:06.000Z
2020-07-16T16:31:49.000Z
from django.views.generic import TemplateView from wagtail.images.models import Image as WagtailImage class MainView(TemplateView): template_name = "index.html" def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) context["img"] = WagtailImage.objects.first() ...
26.230769
55
0.718475
40
341
6
0.725
0.083333
0.116667
0
0
0
0
0
0
0
0
0
0.181818
341
12
56
28.416667
0.860215
0
0
0
0
0
0.038123
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1