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
dd9f6d7369d57f1e87dd7a7130a887d7fc33b8f5
900
py
Python
simulation/payoff_matrix.py
shubhomb/clonal_evolution
bbbd0a482293d41cadebe53028e0adeded591e6b
[ "MIT" ]
1
2020-03-19T22:31:05.000Z
2020-03-19T22:31:05.000Z
simulation/payoff_matrix.py
shubhomb/mm_clonal_evolution
bbbd0a482293d41cadebe53028e0adeded591e6b
[ "MIT" ]
null
null
null
simulation/payoff_matrix.py
shubhomb/mm_clonal_evolution
bbbd0a482293d41cadebe53028e0adeded591e6b
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np class PayoffMatrix(): def __init__(self, sim): self.sim = sim self.matrix = np.zeros(shape=(len(self.sim.subclones), len(self.sim.subclones))) self.populate_matrix(self.sim.t) def populate_matrix(self, t): treatments = self.sim.treatments...
36
88
0.601111
122
900
4.360656
0.303279
0.157895
0.240602
0.142857
0.229323
0.097744
0
0
0
0
0
0
0.271111
900
24
89
37.5
0.810976
0.06
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0
0.333333
0.111111
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
06b6cdc848728f31e3631d10e961c0c5eded7825
422
py
Python
src/barcodeSpliter/__init__.py
atlasbioinfo/splitByBarcode
2b8ed8c4076c0c71002c6ec074f9ea5670b691b3
[ "Apache-2.0" ]
2
2021-04-14T03:34:51.000Z
2021-06-04T07:46:40.000Z
src/barcodeSpliter/__init__.py
atlasbioinfo/splitByBarcode
2b8ed8c4076c0c71002c6ec074f9ea5670b691b3
[ "Apache-2.0" ]
null
null
null
src/barcodeSpliter/__init__.py
atlasbioinfo/splitByBarcode
2b8ed8c4076c0c71002c6ec074f9ea5670b691b3
[ "Apache-2.0" ]
null
null
null
def main(): from sys import version_info if version_info.major != 3: print("Warning!") print('\tYour python version is '+str(version_info.major)+'.'+str(version_info.minor)) print('\t"Please use python3 (Recommended python>=3.6.0)!') print('barcodeSpliter exit...') return...
30.142857
94
0.635071
51
422
5.019608
0.54902
0.171875
0.125
0
0
0
0
0
0
0
0
0.015291
0.225118
422
14
95
30.142857
0.767584
0
0
0.166667
0
0
0.269504
0
0
0
0
0
0
1
0.083333
true
0
0.166667
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
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
06b9b18736f189242145806b6591f3f9cb7255a1
1,887
py
Python
obfuscator/conf.py
oesah/django-db-obfuscator
12e95c93a24f5111f3a322f7cb8bab4e4f2e0050
[ "MIT" ]
1
2020-03-09T22:20:54.000Z
2020-03-09T22:20:54.000Z
obfuscator/conf.py
oesah/django-db-obfuscator
12e95c93a24f5111f3a322f7cb8bab4e4f2e0050
[ "MIT" ]
null
null
null
obfuscator/conf.py
oesah/django-db-obfuscator
12e95c93a24f5111f3a322f7cb8bab4e4f2e0050
[ "MIT" ]
null
null
null
from importlib import import_module from django.conf import settings as dj_settings from django.db import models DEFAULTS = { 'OBFUSCATOR_CLASS': 'obfuscator.utils.ObfuscatorUtils', 'FIELDS_MAPPING': { models.CharField: 'text', models.TextField: 'text', models.EmailField: 'email', ...
28.164179
73
0.618442
205
1,887
5.492683
0.385366
0.092362
0.028419
0.033748
0
0
0
0
0
0
0
0.00147
0.278749
1,887
66
74
28.590909
0.825863
0.114997
0
0.044444
0
0
0.105521
0.033129
0
0
0
0
0
1
0.088889
false
0
0.311111
0.022222
0.488889
0
0
0
0
null
0
0
0
0
0
0
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
06c268c8547c6edffcc6edcc41d579787f082b3c
1,002
py
Python
DeepTreeAttention/generators/extract_patches.py
Tikiten/DeepTreeAttention
63c3b6214231ad32c7748cdac84efead386ea750
[ "MIT" ]
1
2020-11-06T07:15:29.000Z
2020-11-06T07:15:29.000Z
DeepTreeAttention/generators/extract_patches.py
Tikiten/DeepTreeAttention
63c3b6214231ad32c7748cdac84efead386ea750
[ "MIT" ]
null
null
null
DeepTreeAttention/generators/extract_patches.py
Tikiten/DeepTreeAttention
63c3b6214231ad32c7748cdac84efead386ea750
[ "MIT" ]
null
null
null
##Generate patches from a large raster## """preprocessing model for creating a non-overlapping sliding window of fixed size to generate tfrecords for model training""" import rasterio import tensorflow as tf import numpy as np def extract_patches(image, width, height): # The size of sliding window ksizes = [1...
34.551724
126
0.726547
140
1,002
5.15
0.557143
0.016644
0.016644
0.011096
0
0
0
0
0
0
0
0.0246
0.188623
1,002
28
127
35.785714
0.862239
0.536926
0
0
1
0
0.008949
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
06c9c15599cfaae04ec549a9a586600fdc50965e
625
py
Python
users/urls.py
alstn2468/Nomad_Coder_Django_Challenge
93be1c89d153bf4e1256a46e12ff02860251748e
[ "MIT" ]
null
null
null
users/urls.py
alstn2468/Nomad_Coder_Django_Challenge
93be1c89d153bf4e1256a46e12ff02860251748e
[ "MIT" ]
null
null
null
users/urls.py
alstn2468/Nomad_Coder_Django_Challenge
93be1c89d153bf4e1256a46e12ff02860251748e
[ "MIT" ]
null
null
null
from django.urls import path from users.views import ( LoginView, LogoutView, SignUpView, ProfileDetailView, ProfileUpdateView, PasswordChangeView, ) app_name = "users" urlpatterns = [ path("login", LoginView.as_view(), name="login"), path("signup", SignUpView.as_view(), ...
29.761905
76
0.6592
66
625
6.136364
0.409091
0.088889
0.148148
0
0
0
0
0
0
0
0
0
0.176
625
20
77
31.25
0.786408
0
0
0
0
0
0.175207
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
06ca327c773de287fdbb8ee498b0e22083c8caec
7,729
py
Python
test/genStressTest.py
marcovc/casper
752ad1c9ecb9408b0a3719a2c8727b87e2d158cf
[ "Apache-2.0" ]
1
2019-06-20T17:04:06.000Z
2019-06-20T17:04:06.000Z
test/genStressTest.py
marcovc/casper
752ad1c9ecb9408b0a3719a2c8727b87e2d158cf
[ "Apache-2.0" ]
null
null
null
test/genStressTest.py
marcovc/casper
752ad1c9ecb9408b0a3719a2c8727b87e2d158cf
[ "Apache-2.0" ]
null
null
null
########################################################################### # This file is part of CaSPER (http://proteina.di.fct.unl.pt/casper). # # # # Copyright: # # 2012-2012 - ...
30.429134
112
0.609393
1,043
7,729
4.485139
0.222435
0.034416
0.014109
0.012826
0.3649
0.259513
0.229585
0.212912
0.19752
0.185336
0
0.015197
0.225256
7,729
254
113
30.429134
0.766032
0.191228
0
0.38191
0
0
0.06638
0
0
0
0
0.003937
0
0
null
null
0
0.020101
null
null
0.095477
0
0
0
null
0
0
0
0
0
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
06d587e67950f3d99c91a3b707a29a3b5734ade2
491
py
Python
indecisive/game/client/scenes/util/keys.py
markjoshua12/game-jam-2020
846dd052d649a609ab7a52ac0f4dcbeb71781c3b
[ "MIT" ]
15
2020-04-17T12:02:14.000Z
2022-03-16T03:01:34.000Z
indecisive/game/client/scenes/util/keys.py
markjoshua12/game-jam-2020
846dd052d649a609ab7a52ac0f4dcbeb71781c3b
[ "MIT" ]
9
2020-04-25T01:57:16.000Z
2020-04-29T11:42:34.000Z
indecisive/game/client/scenes/util/keys.py
markjoshua12/game-jam-2020
846dd052d649a609ab7a52ac0f4dcbeb71781c3b
[ "MIT" ]
55
2020-04-17T12:01:11.000Z
2021-12-28T10:14:02.000Z
import string def arcade_int_to_string(key: int, mod: int) -> str: if 97 <= key <= 122: if (mod & 1) == 1: return string.ascii_uppercase[key-97] else: return string.ascii_lowercase[key-97] elif 48 <= key <= 57: return str(key - 48) elif 65456 <= key <= 65465...
27.277778
84
0.521385
70
491
3.585714
0.471429
0.095618
0.135458
0
0
0
0
0
0
0
0
0.15528
0.344196
491
17
85
28.882353
0.624224
0
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
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
06d8d4c9bc0b798f178f18ba894cd7137eb65114
1,622
py
Python
asvsannotation/admin.py
Treggats/django-asvs-compliance
ab5e8c2fd74aa6f1ba9721315860edbed9dccd41
[ "MIT" ]
1
2019-02-15T12:24:43.000Z
2019-02-15T12:24:43.000Z
asvsannotation/admin.py
Treggats/django-asvs-compliance
ab5e8c2fd74aa6f1ba9721315860edbed9dccd41
[ "MIT" ]
18
2016-03-21T22:05:20.000Z
2020-06-27T16:06:05.000Z
asvsannotation/admin.py
Treggats/django-asvs-compliance
ab5e8c2fd74aa6f1ba9721315860edbed9dccd41
[ "MIT" ]
null
null
null
from django.contrib import admin from django.db import models from django_markdown.widgets import AdminMarkdownWidget from hvad.admin import TranslatableAdmin # from .models import AnnotationRelation, AnnotationRequirement # from .models import AnnotationExplanation, AnnotationExplanationType from .models import Annot...
37.72093
77
0.770037
151
1,622
7.980132
0.364238
0.049793
0.053112
0.06971
0.155187
0.155187
0.107054
0
0
0
0
0
0.122072
1,622
42
78
38.619048
0.846208
0.080148
0
0.1
0
0
0.118872
0.028207
0
0
0
0
0
1
0.1
false
0.033333
0.2
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
0
0
0
1
0
0
1
06e244ef24875c2e4e72fdc1002267e578ad108b
2,124
py
Python
alfred_client/tests/pushdata_test.py
coyote240/alfred-client
5b8b2d1c2eefb9afd50d5287f0021a104cadd3eb
[ "MIT" ]
null
null
null
alfred_client/tests/pushdata_test.py
coyote240/alfred-client
5b8b2d1c2eefb9afd50d5287f0021a104cadd3eb
[ "MIT" ]
6
2018-03-07T14:32:41.000Z
2018-03-15T14:25:25.000Z
alfred_client/tests/pushdata_test.py
coyote240/alfred-client
5b8b2d1c2eefb9afd50d5287f0021a104cadd3eb
[ "MIT" ]
null
null
null
import unittest from alfred_client.message import PushData from alfred_client.packet.struct import alfred_packet expected_mac = '5e:5c:ce:ca:93:58' expected_message = 'raspberrypi\n' expected_length = len(expected_message) expected_bytes = b'\x00\x00\x00\x1a\x00\x00\x00\x00^\\\xce\xca\x93Xc\x00\x00\x0craspberrypi\n' ...
32.676923
101
0.730226
285
2,124
5.2
0.22807
0.141026
0.115385
0.157895
0.47166
0.395412
0.352227
0.352227
0.31444
0.258435
0
0.029296
0.164313
2,124
64
102
33.1875
0.805634
0.001883
0
0.272727
0
0.022727
0.075071
0.045798
0
0
0
0
0.272727
1
0.318182
false
0
0.068182
0
0.431818
0
0
0
0
null
0
0
0
0
0
0
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
06e63389f92cdce40f1610691822cf7d629d3023
1,050
py
Python
t2to3/cmd/cmd.py
trumanw/t2to3
7abdb304b84dcf19b1dc7684a442df096c318691
[ "MIT" ]
null
null
null
t2to3/cmd/cmd.py
trumanw/t2to3
7abdb304b84dcf19b1dc7684a442df096c318691
[ "MIT" ]
null
null
null
t2to3/cmd/cmd.py
trumanw/t2to3
7abdb304b84dcf19b1dc7684a442df096c318691
[ "MIT" ]
null
null
null
""" cmd.py ====================================== Provides command-line interface """ from os.path import exists import click import json from ..walk import Walker from .. import __version__ @click.group() @click.version_option(__version__, '--version', '-v') @click.pass_context def cmd(ctx): ctx.obj = {} @click...
21.428571
81
0.66
143
1,050
4.748252
0.405594
0.070692
0.057437
0.055965
0.232695
0.167894
0.167894
0.167894
0.167894
0.167894
0
0.002255
0.155238
1,050
49
82
21.428571
0.763247
0.261905
0
0.40625
0
0
0.026918
0
0
0
0
0
0
1
0.15625
false
0.0625
0.15625
0.03125
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
06e83b201cf9c5785a73d6fb0e5b205d7b686e90
1,091
py
Python
app.py
outcastgeek/kamworks
bba1493d9954933183834f0e9e90428dd09b2b6a
[ "MIT" ]
null
null
null
app.py
outcastgeek/kamworks
bba1493d9954933183834f0e9e90428dd09b2b6a
[ "MIT" ]
1
2022-03-21T22:28:06.000Z
2022-03-21T22:28:06.000Z
app.py
outcastgeek/kamworks
bba1493d9954933183834f0e9e90428dd09b2b6a
[ "MIT" ]
1
2019-01-13T17:30:56.000Z
2019-01-13T17:30:56.000Z
import os.path import site # add `lib` subdirectory as a site packages directory, so our `main` module can load # third-party libraries. site.addsitedir(os.path.join(os.path.dirname(__file__), 'lib')) import logging import os from paste.deploy import loadapp from pyramid.paster import ( setup_logging, get_app...
24.244444
110
0.670027
143
1,091
4.867133
0.475524
0.077586
0.074713
0.064655
0.173851
0.173851
0.173851
0.12931
0.12931
0.12931
0
0.009153
0.1989
1,091
44
111
24.795455
0.787185
0.206233
0
0.137931
0
0
0.198366
0.140023
0
0
0
0
0
1
0.068966
false
0
0.344828
0
0.448276
0
0
0
0
null
0
0
0
0
0
0
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
06f0cd5cff73965daf3e9b8c6403121a785d7e22
4,650
py
Python
src/hospital/restrictions/ward.py
nhsx-mirror/skunkworks-bed-allocation
75bcdd7d3c3d8309d172a9719ecbf33743981e2b
[ "MIT" ]
12
2021-12-13T13:26:15.000Z
2022-03-24T11:53:19.000Z
src/hospital/restrictions/ward.py
nhsx-mirror/skunkworks-bed-allocation
75bcdd7d3c3d8309d172a9719ecbf33743981e2b
[ "MIT" ]
7
2021-12-15T10:44:58.000Z
2022-01-17T10:05:38.000Z
src/hospital/restrictions/ward.py
nhsx-mirror/skunkworks-bed-allocation
75bcdd7d3c3d8309d172a9719ecbf33743981e2b
[ "MIT" ]
5
2021-12-13T13:00:13.000Z
2022-03-24T16:31:43.000Z
from hospital.building.room import SideRoom from hospital.data import Department from hospital.restrictions.base import WardRestriction class NoAcuteSurgical(WardRestriction): """ No acute surgical patients admitted """ def _evaluate_bed(self, bed): is_acute_surgical = getattr(bed.patient, "i...
26.724138
79
0.634409
541
4,650
5.319778
0.18854
0.069493
0.063238
0.081306
0.511119
0.423211
0.391244
0.271369
0.259903
0.185893
0
0.010275
0.288387
4,650
173
80
26.878613
0.859474
0.154409
0
0.516484
0
0
0.041935
0.00672
0
0
0
0
0
1
0.142857
false
0
0.032967
0
0.549451
0
0
0
0
null
0
0
0
0
0
0
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
06f9879109de2e8024d4d4cc7b28b35c8accdf30
3,516
py
Python
runflies/config.py
dgaso/Cropmodels
cb3a0c9efc62961acd0de9a212331768d2ef1a77
[ "CC0-1.0" ]
2
2021-09-20T23:07:26.000Z
2021-10-16T20:52:02.000Z
runflies/config.py
dgaso/Cropmodels
cb3a0c9efc62961acd0de9a212331768d2ef1a77
[ "CC0-1.0" ]
null
null
null
runflies/config.py
dgaso/Cropmodels
cb3a0c9efc62961acd0de9a212331768d2ef1a77
[ "CC0-1.0" ]
1
2022-03-18T16:40:32.000Z
2022-03-18T16:40:32.000Z
# ---------------------------------------------------------------------# # Configuration file for running the Campbell-Diaz model and optimizer # # # # Allard de Wit and Deborah Gaso Melgar, Wageningen 2020 # #-----------------------...
26.238806
73
0.619738
495
3,516
4.177778
0.254545
0.04352
0.062863
0.081238
0.290135
0.162959
0.141683
0.12766
0
0
0
0.111473
0.214164
3,516
133
74
26.43609
0.636989
0.438851
0
0.057971
0
0
0.637738
0.016237
0
0
0
0
0
1
0
false
0
0.028986
0
0.028986
0
0
0
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
06fec9fb6273a0afd8eb9635b13866e01c581451
19,674
py
Python
ipf/glue2/openstack.py
pauldalewilliams/ipf
2bee1746d74724105a88b6b152bab4318ff32bfd
[ "Apache-2.0" ]
1
2018-03-16T23:25:10.000Z
2018-03-16T23:25:10.000Z
ipf/glue2/openstack.py
pauldalewilliams/ipf
2bee1746d74724105a88b6b152bab4318ff32bfd
[ "Apache-2.0" ]
2
2020-07-26T02:42:48.000Z
2022-03-23T16:37:49.000Z
ipf/glue2/openstack.py
pauldalewilliams/ipf
2bee1746d74724105a88b6b152bab4318ff32bfd
[ "Apache-2.0" ]
3
2020-06-15T18:20:15.000Z
2021-05-25T15:50:35.000Z
############################################################################### # Copyright 2013 The University of Texas at Austin # # # # Licensed under the Apache License, Version 2.0 (the "License"); #...
40.64876
119
0.550168
1,688
19,674
6.219194
0.204384
0.044008
0.037721
0.048295
0.32711
0.259859
0.218518
0.193846
0.185083
0.185083
0
0.006947
0.282962
19,674
483
120
40.732919
0.737223
0.071312
0
0.361823
0
0
0.09271
0.011703
0
0
0
0
0
1
0.096866
false
0.054131
0.05698
0.005698
0.247863
0
0
0
0
null
0
0
0
0
0
0
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
66009933246c1eb9b393f31116a7defe96e1c7bd
6,871
py
Python
python-client/onesaitplatform/auth/authclient_test.py
ebustosm6/onesait-cloud-platform-clientlibraries
e4a8366c592b0de2faa8b6a1a989023ec4839ced
[ "Apache-2.0" ]
14
2019-05-14T13:23:35.000Z
2019-12-24T14:49:02.000Z
python-client/onesaitplatform/auth/authclient_test.py
ebustosm6/onesait-cloud-platform-clientlibraries
e4a8366c592b0de2faa8b6a1a989023ec4839ced
[ "Apache-2.0" ]
7
2019-11-13T09:38:03.000Z
2021-04-07T16:24:14.000Z
python-client/onesaitplatform/auth/authclient_test.py
ebustosm6/onesait-cloud-platform-clientlibraries
e4a8366c592b0de2faa8b6a1a989023ec4839ced
[ "Apache-2.0" ]
9
2019-04-09T15:38:28.000Z
2021-03-24T13:10:14.000Z
import os import sys import unittest relative_path = os.path.abspath(os.path.dirname(os.path.dirname(__file__))) if relative_path not in sys.path: sys.path.insert(0, relative_path) from onesaitplatform.auth.token import Token from onesaitplatform.auth.authclient import AuthClient class AuthClientTest(unittest.Te...
51.276119
656
0.708776
633
6,871
7.434439
0.157978
0.102847
0.079686
0.067998
0.420314
0.309817
0.260943
0.254569
0.220994
0.20017
0
0.03268
0.19837
6,871
133
657
51.661654
0.821714
0.004221
0
0.241379
0
0
0.296199
0.192398
0
0
0
0
0.12069
1
0.060345
false
0.077586
0.043103
0
0.112069
0
0
0
0
null
0
0
0
0
0
0
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
6602e632e665b85902102a6f4d3befd42a955bf9
363
py
Python
speedinfo/migrations/0005_auto_20180417_1941.py
ChillarAnand/django-speedinfo
ba56fc0c7508f24845a1a7505383af1e37568a00
[ "MIT" ]
null
null
null
speedinfo/migrations/0005_auto_20180417_1941.py
ChillarAnand/django-speedinfo
ba56fc0c7508f24845a1a7505383af1e37568a00
[ "MIT" ]
null
null
null
speedinfo/migrations/0005_auto_20180417_1941.py
ChillarAnand/django-speedinfo
ba56fc0c7508f24845a1a7505383af1e37568a00
[ "MIT" ]
1
2020-03-30T07:41:24.000Z
2020-03-30T07:41:24.000Z
# Generated by Django 2.0.4 on 2018-04-17 16:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('speedinfo', '0004_auto_20180409_1416'), ] operations = [ migrations.AlterModelOptions( name='viewprofiler', options={'verbos...
20.166667
53
0.614325
37
363
5.891892
0.864865
0
0
0
0
0
0
0
0
0
0
0.116981
0.269972
363
17
54
21.352941
0.70566
0.123967
0
0
1
0
0.21519
0.072785
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6607f0fe889e016518821cdbb6049057a5b2c20a
427
py
Python
myapp/migrations/0012_order_order_date.py
HapticHash/mysite20
db4006dd34246d8cda4594512953a99321c407f7
[ "MIT" ]
1
2020-09-05T19:23:13.000Z
2020-09-05T19:23:13.000Z
myapp/migrations/0012_order_order_date.py
HapticHash/mysite20
db4006dd34246d8cda4594512953a99321c407f7
[ "MIT" ]
null
null
null
myapp/migrations/0012_order_order_date.py
HapticHash/mysite20
db4006dd34246d8cda4594512953a99321c407f7
[ "MIT" ]
1
2020-09-05T19:26:40.000Z
2020-09-05T19:26:40.000Z
# Generated by Django 3.0.7 on 2020-06-24 02:27 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0011_remove_order_order_date'), ] operations = [ migrations.AddField( model_name='order', n...
21.35
71
0.615925
49
427
5.244898
0.714286
0.070039
0
0
0
0
0
0
0
0
0
0.083333
0.269321
427
19
72
22.473684
0.740385
0.105386
0
0
1
0
0.126316
0.073684
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
660f31925b1988b114feba61f2252b30ae0bad86
406
py
Python
invmonDatabase/versions/814c9cfe9e0e_01_init.py
jtom38/invmon-api
28f163bef47ee5c95bac0f40198e25e44090758f
[ "MIT" ]
null
null
null
invmonDatabase/versions/814c9cfe9e0e_01_init.py
jtom38/invmon-api
28f163bef47ee5c95bac0f40198e25e44090758f
[ "MIT" ]
16
2021-12-09T06:22:29.000Z
2022-03-25T06:26:01.000Z
invmonDatabase/versions/814c9cfe9e0e_01_init.py
jtom38/invmon-api
28f163bef47ee5c95bac0f40198e25e44090758f
[ "MIT" ]
null
null
null
"""01-init Revision ID: 814c9cfe9e0e Revises: Create Date: 2021-11-06 17:44:12.463208 """ from alembic.op import create_table, drop_column, add_column, drop_table from sqlalchemy import Column, String, Integer, Boolean # revision identifiers, used by Alembic. revision = '814c9cfe9e0e' down_revision = None branch_...
15.615385
72
0.746305
56
406
5.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0.1
0.162562
406
25
73
16.24
0.770588
0.305419
0
0.2
0
0
0.043796
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
66196989852fc4c0d8b41968c744efc9a95b1ede
2,334
py
Python
24. Advanced modules/Collections/Counter.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
3
2020-08-07T04:33:19.000Z
2021-10-06T08:58:01.000Z
24. Advanced modules/Collections/Counter.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
null
null
null
24. Advanced modules/Collections/Counter.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
2
2021-10-06T08:58:05.000Z
2021-10-06T09:46:42.000Z
# Collections module: is a a built in module that implements specialized container # datatypes providing alternatives to python's general purpose built-in containers. # Counter: is a dictionary subclass which helps counting hashable objects. from collections import Counter l1 =[1,2,3,4,523,2,1,3,41,3,5,5] # Counte...
27.139535
83
0.682948
370
2,334
4.235135
0.337838
0.051691
0.025526
0.021059
0.100191
0.072112
0.035737
0.035737
0
0
0
0.033535
0.220651
2,334
85
84
27.458824
0.827927
0.373608
0
0.133333
0
0
0.211353
0.025362
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0.466667
0
0
0
null
0
0
0
0
0
0
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
661ab2b3dd3bc1a1b29ac4583459a7c295439756
810
py
Python
tests/locustfile.py
andrewdmay/qldb-presentation
46e70655022daf87cb5168629ae291a76b91a26b
[ "MIT" ]
null
null
null
tests/locustfile.py
andrewdmay/qldb-presentation
46e70655022daf87cb5168629ae291a76b91a26b
[ "MIT" ]
null
null
null
tests/locustfile.py
andrewdmay/qldb-presentation
46e70655022daf87cb5168629ae291a76b91a26b
[ "MIT" ]
null
null
null
import datetime import random from locust import HttpUser, task, between class QuickstartUser(HttpUser): wait_time = between(2, 3.5) @task def send_event(self): event = { 'id': random.randint(0, 99), 'timestamp': datetime.datetime.now().isoformat(), ...
26.129032
62
0.377778
58
810
5.241379
0.706897
0.085526
0.092105
0
0
0
0
0
0
0
0
0.032663
0.508642
810
30
63
27
0.731156
0
0
0
0
0
0.112821
0
0
0
0
0
0
1
0.038462
false
0
0.115385
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
661d930fcf8feebfed1c00a894916c1f769ccf8d
351
py
Python
src/debugpy/_vendored/pydevd/tests_python/resources/_debugger_case4.py
r3m0t/debugpy
090e3c3ef5758e5b316514c9d6f44f9b9b488cf1
[ "MIT" ]
695
2020-01-30T14:34:51.000Z
2022-03-31T09:31:57.000Z
python/helpers/pydev/pydev_tests_python/resources/_debugger_case4.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
1,095
2018-03-01T00:50:11.000Z
2019-05-06T17:44:15.000Z
python/helpers/pydev/pydev_tests_python/resources/_debugger_case4.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
66
2020-01-30T13:10:38.000Z
2022-03-29T07:11:17.000Z
import time class ProceedContainer: proceed = False def exit_while_loop(): ProceedContainer.proceed = True return 'ok' def sleep(): while not ProceedContainer.proceed: # The debugger should change the proceed to True to exit the loop. time.sleep(.1) if __name__ == '__main__': sleep(...
15.26087
107
0.675214
43
351
5.27907
0.627907
0.303965
0
0
0
0
0
0
0
0
0
0.003731
0.236467
351
22
108
15.954545
0.843284
0.182336
0
0
0
0
0.080986
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.5
0.083333
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
661dba1bc3706e560c8e02d3df0a225334bb33e1
918
py
Python
idlealib/HelpViewer.py
znsoooo/IDLE-Advance
cd52a2b0c7e4672884745df51a15e86fe77c2382
[ "MIT" ]
4
2021-06-09T12:18:01.000Z
2021-11-02T13:57:26.000Z
idlealib/HelpViewer.py
znsoooo/IDLE-Advance
cd52a2b0c7e4672884745df51a15e86fe77c2382
[ "MIT" ]
null
null
null
idlealib/HelpViewer.py
znsoooo/IDLE-Advance
cd52a2b0c7e4672884745df51a15e86fe77c2382
[ "MIT" ]
null
null
null
"""帮助查看器""" if __name__ == '__main__': import __init__ __init__.test_editor(__file__) import io import sys if sys.version_info > (3, 6): from idlelib.textview import view_text else: from idlelib.textView import view_text def HelpText(object): # TODO 读取真正的object而不是string # 在pydoc.ttypager和pydo...
23.538462
87
0.668845
121
918
4.801653
0.487603
0.061962
0.065404
0.086059
0.113597
0.113597
0
0
0
0
0
0.004127
0.208061
918
38
88
24.157895
0.795048
0.124183
0
0
0
0
0.072773
0
0
0
0
0.026316
0
1
0.115385
false
0
0.192308
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
662103715c1049282ddf112183183d15cce2201b
400
py
Python
products/migrations/0003_product_high_res.py
AlenKrga1/FreelanceSolution
0a0d656bd90a20c6250bcc889b35cea2fb945427
[ "BSD-Source-Code" ]
null
null
null
products/migrations/0003_product_high_res.py
AlenKrga1/FreelanceSolution
0a0d656bd90a20c6250bcc889b35cea2fb945427
[ "BSD-Source-Code" ]
7
2021-03-30T14:04:17.000Z
2022-03-12T00:44:39.000Z
products/migrations/0003_product_high_res.py
AlenKrga1/FreelanceSolution
0a0d656bd90a20c6250bcc889b35cea2fb945427
[ "BSD-Source-Code" ]
2
2020-07-30T21:55:06.000Z
2020-10-27T20:53:56.000Z
# Generated by Django 3.0.8 on 2020-07-29 05:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0002_userproduct'), ] operations = [ migrations.AddField( model_name='product', name='high_res', ...
21.052632
69
0.6
43
400
5.488372
0.837209
0
0
0
0
0
0
0
0
0
0
0.065972
0.28
400
18
70
22.222222
0.753472
0.1125
0
0
1
0
0.133144
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
66332e48b5fe6d1d54970dfece82861212a0f591
4,160
py
Python
ndcrawl.py
yantisj/ndcrawl
ed638a9a36e8ebc2dec6f93fe8a22269d0636512
[ "MIT" ]
28
2017-08-01T20:04:09.000Z
2022-03-08T05:42:18.000Z
ndcrawl.py
yantisj/ndcrawl
ed638a9a36e8ebc2dec6f93fe8a22269d0636512
[ "MIT" ]
1
2017-10-06T23:09:56.000Z
2017-10-06T23:09:56.000Z
ndcrawl.py
yantisj/ndcrawl
ed638a9a36e8ebc2dec6f93fe8a22269d0636512
[ "MIT" ]
8
2018-02-14T15:21:36.000Z
2022-02-07T14:54:28.000Z
#!/usr/bin/env python import os.path import sys import argparse import configparser import logging import getpass from ndlib.log import init_logging from ndlib import topology from ndlib import parse CONFIG_FILE = 'ndcrawl.ini' parser = argparse.ArgumentParser(description='Discover Network Topology via CDP/LLDP') par...
34.666667
108
0.657933
577
4,160
4.644714
0.220104
0.078358
0.076119
0.041791
0.236567
0.133955
0.069403
0.047761
0.047761
0.047761
0
0.003874
0.193269
4,160
119
109
34.957983
0.794696
0.020192
0
0.126316
0
0
0.260987
0
0
0
0
0
0
1
0
false
0.052632
0.094737
0
0.094737
0.042105
0
0
0
null
0
0
0
0
0
0
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
663b01fc25633f098ffe491bd2bbb1adeb0592fe
36,932
py
Python
mensajes/views.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
mensajes/views.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
mensajes/views.py
jjmartinr01/gauss3
1c71c44430e0f15fb2f3f83d32ad66bb1b7e3e94
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from datetime import datetime import zipfile import simplejson as json import pexpect import os import logging from bs4 import BeautifulSoup from django.contrib.auth.decorators import login_required from django.template import RequestContext from django.http import HttpResponse from django.db.m...
55.87292
1,003
0.591628
4,000
36,932
5.32375
0.1505
0.004414
0.011599
0.014276
0.545245
0.495656
0.477248
0.453111
0.439493
0.413947
0
0.005856
0.283359
36,932
660
1,004
55.957576
0.79873
0.204619
0
0.494231
0
0.001923
0.13787
0.015319
0.003846
0
0
0
0
1
0.025
false
0.011538
0.067308
0
0.163462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6643cb815aa8c3d4c9b216088dba2b74a95c14d4
8,281
py
Python
example.py
wanghaisheng/objection_engine
56a4295080d5abecf4ad850d254bbf98a5ef8288
[ "MIT" ]
null
null
null
example.py
wanghaisheng/objection_engine
56a4295080d5abecf4ad850d254bbf98a5ef8288
[ "MIT" ]
null
null
null
example.py
wanghaisheng/objection_engine
56a4295080d5abecf4ad850d254bbf98a5ef8288
[ "MIT" ]
null
null
null
# from renderer import render_comment_list # from beans.comment import Comment # import anim from collections import Counter from auto_motion_comic_video.anim import * from auto_motion_comic_video.renderer import * from auto_motion_comic_video.comment import * from auto_motion_comic_video.ttstool import lazypy_ibm_tts...
78.122642
392
0.757879
1,280
8,281
4.782813
0.405469
0.080856
0.107808
0.021725
0.240771
0.23293
0.206468
0.167592
0.167592
0.167592
0
0.013687
0.13537
8,281
105
393
78.866667
0.841341
0.578553
0
0
0
0.242424
0.575811
0.073035
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
664ee9f2bcd2a22531dc2a4d6e9bb54c94e2714d
1,302
py
Python
rosettautil/protein/alignment.py
decarboxy/py_protein_utils
4cbb5d6d3cf32d4240e0dc9b17e4330775663de0
[ "MIT" ]
10
2015-10-07T08:43:56.000Z
2020-11-11T16:53:06.000Z
rosettautil/protein/alignment.py
decarboxy/py_protein_utils
4cbb5d6d3cf32d4240e0dc9b17e4330775663de0
[ "MIT" ]
null
null
null
rosettautil/protein/alignment.py
decarboxy/py_protein_utils
4cbb5d6d3cf32d4240e0dc9b17e4330775663de0
[ "MIT" ]
3
2017-02-06T17:55:14.000Z
2020-09-01T02:00:35.000Z
from Bio import AlignIO def get_id_from_tag(alignment,tag): """return the index of an alignment given the alignment tag""" for index in range(len(alignment)): if(alignment[index].id == tag): return index raise LookupError("invalid tag specified") def find_gaps(alignment,tag): """re...
35.189189
114
0.596774
184
1,302
4.130435
0.396739
0.032895
0.047368
0.068421
0.121053
0
0
0
0
0
0
0.00576
0.333333
1,302
36
115
36.166667
0.869816
0.172811
0
0.125
0
0
0.046237
0
0
0
0
0
0
0
null
null
0
0.03125
null
null
0.03125
0
0
0
null
0
0
0
0
0
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
b073dc82aba482c9620e484009c1c5bf450d0728
275
py
Python
test/connect.py
dewbambs/open-biometric
c2bded11a8b0f03594c0444acf5a9745a10ce38a
[ "MIT" ]
null
null
null
test/connect.py
dewbambs/open-biometric
c2bded11a8b0f03594c0444acf5a9745a10ce38a
[ "MIT" ]
null
null
null
test/connect.py
dewbambs/open-biometric
c2bded11a8b0f03594c0444acf5a9745a10ce38a
[ "MIT" ]
null
null
null
import biometric.biometric as ob import socket from biometric.defs import * bio = ob.Biometric() bio.connect("192.168.0.201", 4370) # bio.disable_device() # bio.add_member(20012, "polo") # bio.enroll_user(20005, 1) # bio.enable_device() # bio.live_status() bio.disconnect()
21.153846
34
0.738182
42
275
4.714286
0.666667
0.090909
0
0
0
0
0
0
0
0
0
0.101626
0.105455
275
12
35
22.916667
0.703252
0.414545
0
0
0
0
0.083871
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b0752caeb9cc3a6917e59e6cee81f986ed3b277c
3,610
py
Python
SCoin.py
moe-assal/Scrooge-Coin
cf96241a7b705bcb885b8b07eeab1d331f1c5ddc
[ "MIT" ]
null
null
null
SCoin.py
moe-assal/Scrooge-Coin
cf96241a7b705bcb885b8b07eeab1d331f1c5ddc
[ "MIT" ]
null
null
null
SCoin.py
moe-assal/Scrooge-Coin
cf96241a7b705bcb885b8b07eeab1d331f1c5ddc
[ "MIT" ]
null
null
null
from hashlib import sha256 from Crypto import validate_signature, sign, generate_keys chain = [] TRANS_PER_BLOCK = 2 coins = [] sk, vk = generate_keys() coins_pending_creation = [] trans_pending = [] coins_pending_deletion = [] Block = { "id": 0, "hash": sha256(bytes.fromhex("")).hexdigest(), ...
27.142857
122
0.564543
431
3,610
4.436195
0.190255
0.062762
0.073222
0.039226
0.173117
0.118724
0.062238
0
0
0
0
0.020736
0.291967
3,610
132
123
27.348485
0.727308
0.094183
0
0.215054
1
0
0.062438
0
0
0
0
0
0
1
0.053763
false
0
0.021505
0
0.139785
0.010753
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
b0777b75023e0a19eb45469f6e473a5f5829340a
5,251
py
Python
wouso/core/scoring/models.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
117
2015-01-02T18:07:33.000Z
2021-01-06T22:36:25.000Z
wouso/core/scoring/models.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
229
2015-01-12T07:07:58.000Z
2019-10-12T08:27:01.000Z
wouso/core/scoring/models.py
AlexandruGhergut/wouso
f26244ff58ae626808ae8c58ccc93d21f9f2666f
[ "Apache-2.0" ]
96
2015-01-07T05:26:09.000Z
2020-06-25T07:28:51.000Z
import logging from datetime import datetime from django.db import models from django.contrib.auth.models import User from wouso.core.common import Item, CachedItem from wouso.core.decorators import cached_method, drop_cache from wouso.core.game import get_games from wouso.core.game.models import Game class Coin(Cach...
35.47973
187
0.643877
696
5,251
4.757184
0.25431
0.019027
0.032619
0.043491
0.169435
0.092117
0.047116
0.024766
0
0
0
0.006638
0.254047
5,251
147
188
35.721088
0.838652
0.171586
0
0.166667
0
0
0.016718
0.005651
0
0
0
0.006803
0
1
0.117647
false
0
0.078431
0.039216
0.539216
0
0
0
0
null
0
0
0
0
0
0
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
b0810860ec737c391b15dcf493aa08de938d7903
12,415
py
Python
extractor-python/demod.py
TheBiggerGuy/iridium-toolk
6dddc27a45992f049d3aab36d9a4a227ee684e2b
[ "BSD-2-Clause" ]
2
2019-01-01T14:50:08.000Z
2021-02-15T21:27:37.000Z
extractor-python/demod.py
TheBiggerGuy/iridium-toolkit
6dddc27a45992f049d3aab36d9a4a227ee684e2b
[ "BSD-2-Clause" ]
null
null
null
extractor-python/demod.py
TheBiggerGuy/iridium-toolkit
6dddc27a45992f049d3aab36d9a4a227ee684e2b
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # vim: set ts=4 sw=4 tw=0 et fenc=utf8 pm=: import struct import sys import math import numpy import os.path import cmath import filters import re import complex_sync_search import iq import getopt import iridium UW_DOWNLINK = "022220002002" UW_UPLINK = "220002002022" def normal...
34.107143
182
0.507531
1,433
12,415
4.240754
0.182833
0.02962
0.044923
0.062202
0.350666
0.300806
0.292908
0.224453
0.179529
0.156327
0
0.025403
0.384857
12,415
363
183
34.201102
0.770198
0.04269
0
0.283737
0
0.00346
0.063211
0.005225
0
0
0
0
0
0
null
null
0
0.041522
null
null
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b081a621dce478730931c06c956a8c0fdae0919f
465
py
Python
painindex/wsgi.py
xanv/painindex
ba8b2fc8fdb38507ae7ede6c552de2447e13e944
[ "MIT" ]
null
null
null
painindex/wsgi.py
xanv/painindex
ba8b2fc8fdb38507ae7ede6c552de2447e13e944
[ "MIT" ]
null
null
null
painindex/wsgi.py
xanv/painindex
ba8b2fc8fdb38507ae7ede6c552de2447e13e944
[ "MIT" ]
null
null
null
""" WSGI config for painindex project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/ """ import os from dj_static import Cling # heroku staticfiles collection os.environ["DJANGO_SETTI...
27.352941
78
0.797849
65
465
5.584615
0.692308
0.055096
0.099174
0
0
0
0
0
0
0
0
0
0.109677
465
16
79
29.0625
0.876812
0.529032
0
0
0
0
0.255924
0.255924
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b085c69a28f7cca695a31aa16a6a22cdcd334530
480
py
Python
nn_dropout.py
Sentimentron/Dracula
878f81c1c56a8ac12cf02d8f15bd93c544e29611
[ "BSD-3-Clause" ]
100
2016-04-25T17:48:50.000Z
2021-02-11T04:11:54.000Z
nn_dropout.py
Sentimentron/Dracula
878f81c1c56a8ac12cf02d8f15bd93c544e29611
[ "BSD-3-Clause" ]
1
2017-02-25T21:26:40.000Z
2017-02-27T18:04:51.000Z
nn_dropout.py
Sentimentron/Dracula
878f81c1c56a8ac12cf02d8f15bd93c544e29611
[ "BSD-3-Clause" ]
25
2016-07-27T23:11:44.000Z
2020-01-21T01:55:36.000Z
""" Contains code for defining the dropout layer (currently unused). """ import theano.tensor as tensor def dropout_layer(state_before, use_noise, trng): proj = tensor.switch(use_noise, (state_before * trng.binomial(state_before.shape, ...
28.235294
68
0.49375
49
480
4.673469
0.612245
0.240175
0.139738
0
0
0
0
0
0
0
0
0.018182
0.427083
480
16
69
30
0.814545
0.133333
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b08633a7e6046446752afa26d8c099a95b3b962d
1,474
py
Python
edge_server/dataset.post.py
Dspatharakis/alphabot-ppl
1f234548bf3fc7d447663f94cfa49591724563b0
[ "MIT" ]
null
null
null
edge_server/dataset.post.py
Dspatharakis/alphabot-ppl
1f234548bf3fc7d447663f94cfa49591724563b0
[ "MIT" ]
null
null
null
edge_server/dataset.post.py
Dspatharakis/alphabot-ppl
1f234548bf3fc7d447663f94cfa49591724563b0
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import requests import json import time import sys import subprocess import csv import json def main(): post_url = "http://0.0.0.0:8000/" for a in range (25 , 825, 25): number_of_cores = a / float(100 ) art = 0 with open(os.devnull, 'wb') as devnull: # suppress...
37.794872
176
0.569878
188
1,474
4.329787
0.505319
0.058968
0.047912
0.036855
0.04914
0.04914
0
0
0
0
0
0.029851
0.272727
1,474
38
177
38.789474
0.729478
0.097693
0
0.058824
0
0
0.161217
0.040304
0
0
0
0
0
0
null
null
0
0.235294
null
null
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b08c1a304629a8ddc54529738b28118355b19914
313
py
Python
Fast_RCNN/fast_rcnn/networks.py
sumedhasingla/ExplainingBBSmoothly
0873d7a3b1fa0e9d967d01647e0fa5fe136a7604
[ "MIT" ]
null
null
null
Fast_RCNN/fast_rcnn/networks.py
sumedhasingla/ExplainingBBSmoothly
0873d7a3b1fa0e9d967d01647e0fa5fe136a7604
[ "MIT" ]
null
null
null
Fast_RCNN/fast_rcnn/networks.py
sumedhasingla/ExplainingBBSmoothly
0873d7a3b1fa0e9d967d01647e0fa5fe136a7604
[ "MIT" ]
null
null
null
import sys import os from vggnet import vgg_16 from ops import fully_connected def network(inputs, boxes, box_idx, CLASSES): inputs = vgg_16(inputs, boxes, box_idx) cls = fully_connected("classification", inputs, len(CLASSES) + 1) reg = fully_connected("regression", inputs, 4) return cls, reg
24.076923
69
0.728435
45
313
4.911111
0.555556
0.190045
0.126697
0.153846
0
0
0
0
0
0
0
0.023346
0.178914
313
12
70
26.083333
0.836576
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b08dfa7cdb4e5c61faf3e64edfb389116bd5fc23
6,328
py
Python
summariser/reward_feature/wordembedding_rewarder.py
UKPLab/ijcai2019-relis
8a40762dcfa90c075a4f6591cbdceb468026ef17
[ "MIT" ]
5
2019-06-30T14:45:12.000Z
2020-07-26T12:59:36.000Z
summariser/reward_feature/wordembedding_rewarder.py
UKPLab/ijcai2019-relis
8a40762dcfa90c075a4f6591cbdceb468026ef17
[ "MIT" ]
1
2020-07-11T10:47:57.000Z
2020-09-16T10:53:36.000Z
summariser/reward_feature/wordembedding_rewarder.py
UKPLab/ijcai2019-relis
8a40762dcfa90c075a4f6591cbdceb468026ef17
[ "MIT" ]
2
2019-12-24T02:10:42.000Z
2020-04-27T05:39:49.000Z
from summariser.utils.corpus_reader import CorpusReader from resources import PROCESSED_PATH, , W2V_PATH, FEATURE_DIR, LANGUAGE from summariser.utils.reader import readSummaries from nltk.corpus import stopwords from summariser.utils.misc import cosine from summariser.utils.data_helpers import sent2tokens_wostop import...
36.578035
125
0.568584
757
6,328
4.619551
0.203435
0.024021
0.028596
0.033457
0.417787
0.391478
0.317987
0.248213
0.239634
0.239634
0
0.014587
0.317478
6,328
172
126
36.790698
0.795091
0.010904
0
0.337931
0
0
0.017125
0
0
0
0
0
0.006897
0
null
null
0.027586
0.075862
null
null
0.006897
0
0
0
null
0
0
0
0
0
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
b08ed49f6914457f9ca222a6f73e78536d87f6ee
982
py
Python
pythontexfigures/install.py
mje-nz/pythontexfigures
60fdaaf0ec0b5d7176b2f36f7b7dd41ff3af0d84
[ "BSD-3-Clause" ]
4
2020-08-29T21:51:51.000Z
2021-07-03T08:52:13.000Z
pythontexfigures/install.py
mje-nz/pythontexfigures
60fdaaf0ec0b5d7176b2f36f7b7dd41ff3af0d84
[ "BSD-3-Clause" ]
null
null
null
pythontexfigures/install.py
mje-nz/pythontexfigures
60fdaaf0ec0b5d7176b2f36f7b7dd41ff3af0d84
[ "BSD-3-Clause" ]
null
null
null
"""Installer for pythontexfigures.sty. Author: Matthew Edwards Date: July 2019 """ import subprocess import sys from pathlib import Path from .sty import sty_file_as_string def install(tree="TEXMFLOCAL"): """Copy pythontexfigures.sty into the given TeX tree, then reun mktexlsr.""" texmf_path = subprocess.c...
28.057143
80
0.672098
122
982
5.237705
0.57377
0.118936
0.028169
0.046948
0
0
0
0
0
0
0
0.010165
0.198574
982
34
81
28.882353
0.801779
0.165988
0
0
0
0
0.240397
0.02974
0
0
0
0.029412
0
1
0.047619
false
0
0.190476
0
0.238095
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
1
0
0
0
0
0
0
0
0
0
0
1
b08fb480a06b85d4512eab91cc24b6a4b3f8ca89
2,302
py
Python
2015-09-23-2048/arti/twozerofoureight.py
EIK-LUG/CodeClubPython
fb0660ad85a7b0a17d33d37d18f8b41ae597e022
[ "WTFPL" ]
2
2015-09-12T10:11:38.000Z
2015-09-13T13:18:25.000Z
2015-09-23-2048/arti/twozerofoureight.py
EIK-LUG/CodeClubPython
fb0660ad85a7b0a17d33d37d18f8b41ae597e022
[ "WTFPL" ]
2
2015-09-12T07:18:15.000Z
2015-10-07T06:01:56.000Z
2015-09-23-2048/arti/twozerofoureight.py
EIK-LUG/CodeClubPython
fb0660ad85a7b0a17d33d37d18f8b41ae597e022
[ "WTFPL" ]
5
2015-09-11T11:19:51.000Z
2018-02-08T18:17:44.000Z
from arrows import Arrow import random class TZFE: """2048 Game in python""" def __init__(self): self.board = [[ None for x in range(4)] for x in range(4)] self.init_gameboard() def init_gameboard(self): # init board.size/2 many spots for _ in range(int(len(self.board)/2)):...
30.289474
66
0.430495
271
2,302
3.571956
0.276753
0.11157
0.051653
0.066116
0.27376
0.181818
0.123967
0.123967
0.123967
0.123967
0
0.016345
0.415291
2,302
75
67
30.693333
0.702823
0.03649
0
0.295082
0
0
0.057991
0
0
0
0
0
0
1
0.131148
false
0.065574
0.032787
0
0.180328
0.295082
0
0
0
null
0
0
0
0
0
0
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
b09036a41ae3de40287603413a75cc00f64ee459
442
py
Python
script.py
martinetoering/3D-ResNets-PyTorch-TimeCycle
b8a8b43c2a51848284e1d41d0452855e631b7df2
[ "MIT" ]
null
null
null
script.py
martinetoering/3D-ResNets-PyTorch-TimeCycle
b8a8b43c2a51848284e1d41d0452855e631b7df2
[ "MIT" ]
null
null
null
script.py
martinetoering/3D-ResNets-PyTorch-TimeCycle
b8a8b43c2a51848284e1d41d0452855e631b7df2
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import os import time while 1: os.system("python3 3D-ResNets-PyTorch-TimeCycle/test_all.py --result_path new_implementation --begin_epoch 4 --gpu_id 1 && python3 3D-ResNets-PyTorch-TimeCycle/test_all.py --result_path new_implementation --begin_epoch 4 --gpu_id 1") dt ...
36.833333
237
0.728507
67
442
4.656716
0.492537
0.057692
0.102564
0.147436
0.544872
0.544872
0.544872
0.544872
0.544872
0.544872
0
0.034759
0.153846
442
12
238
36.833333
0.799465
0
0
0
0
0.111111
0.496614
0.180587
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
b09d11dc5e6a43920fdbfd0fbc57aa17b20382e2
386
py
Python
screen_capture.py
genintho/tomato-control
4d660dcbefd5f78162d94ed4379a86e85ad1cd45
[ "MIT" ]
null
null
null
screen_capture.py
genintho/tomato-control
4d660dcbefd5f78162d94ed4379a86e85ad1cd45
[ "MIT" ]
null
null
null
screen_capture.py
genintho/tomato-control
4d660dcbefd5f78162d94ed4379a86e85ad1cd45
[ "MIT" ]
null
null
null
import os from os import system, path from time import sleep ROOT_DIR = "/tmp/screen" print "Start loop" if not os.path.exists(ROOT_DIR) or not path.isdir(ROOT_DIR): print "Create active directory {}".format(ROOT_DIR) os.makedirs(ROOT_DIR) i = 1 while 1: print i system("screencapture -t jpg -x {}/s...
16.083333
74
0.663212
64
386
3.90625
0.5
0.168
0.104
0
0
0
0
0
0
0
0
0.013115
0.209845
386
23
75
16.782609
0.806557
0
0
0
0
0
0.227749
0
0
0
0
0
0
0
null
null
0
0.214286
null
null
0.214286
0
0
0
null
0
0
0
0
0
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
b09fdda72deb01460ca1a630f3e773add96824ff
391
py
Python
api/urls.py
phucdzvcll/MuaHo-Api-AdminWeb-Django
663ad4e01d225d9db88e46f30a724d1b28b1b891
[ "Apache-2.0" ]
null
null
null
api/urls.py
phucdzvcll/MuaHo-Api-AdminWeb-Django
663ad4e01d225d9db88e46f30a724d1b28b1b891
[ "Apache-2.0" ]
null
null
null
api/urls.py
phucdzvcll/MuaHo-Api-AdminWeb-Django
663ad4e01d225d9db88e46f30a724d1b28b1b891
[ "Apache-2.0" ]
1
2021-11-13T02:59:30.000Z
2021-11-13T02:59:30.000Z
from django.urls import path from django.conf import settings from django.conf.urls.static import static from . import views urlpatterns = [ path('categories', views.categories, name='categories'), ] if settings.DEBUG: urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) urlpat...
27.928571
82
0.777494
50
391
5.96
0.36
0.100671
0.09396
0.154362
0
0
0
0
0
0
0
0
0.12532
391
13
83
30.076923
0.871345
0
0
0
0
0
0.051151
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b0a381ea2d34e4a69b275c04cce422dae0131609
1,970
py
Python
nyroglancer/viewer.py
kmader/nyroglancer
286a869511145a753c7e8d0cee8329b6f5eda86b
[ "Apache-2.0" ]
29
2016-06-30T14:19:46.000Z
2022-03-20T06:25:38.000Z
nyroglancer/viewer.py
sheridana/nyroglancer
d621eadb31d17e4580ca5cb1a39cd921f8a1c0ea
[ "Apache-2.0" ]
6
2016-11-07T21:48:00.000Z
2017-12-27T23:03:05.000Z
nyroglancer/viewer.py
sheridana/nyroglancer
d621eadb31d17e4580ca5cb1a39cd921f8a1c0ea
[ "Apache-2.0" ]
12
2016-06-16T10:26:52.000Z
2019-08-10T23:43:39.000Z
from IPython.display import HTML from jupyter_client import find_connection_file from tornado.escape import url_escape from tornado.httpclient import HTTPClient import collections import intrusion import json import ndstore import neuroglancer # volumes of all viewer instances volumes = {} class Viewer(neuroglancer.B...
30.78125
125
0.649746
237
1,970
5.257384
0.434599
0.038523
0.028892
0.025682
0
0
0
0
0
0
0
0.012795
0.246193
1,970
63
126
31.269841
0.826263
0.201523
0
0
0
0
0.125575
0
0
0
0
0
0
1
0.166667
false
0
0.277778
0.027778
0.527778
0
0
0
0
null
0
0
0
0
0
0
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
b0a6c293bad5eb8504f5df715fc0d97f0150cc7b
12,982
py
Python
FDSSC/rscls.py
hubowen7/hyperspectral-image-classification-system
c59cad690909a904a50623d8c49b40cae2fd898b
[ "MIT" ]
4
2020-06-19T02:48:16.000Z
2021-11-06T08:02:01.000Z
DBMA/rscls.py
hubowen7/hyperspectral-image-classification-system
c59cad690909a904a50623d8c49b40cae2fd898b
[ "MIT" ]
null
null
null
DBMA/rscls.py
hubowen7/hyperspectral-image-classification-system
c59cad690909a904a50623d8c49b40cae2fd898b
[ "MIT" ]
1
2022-02-05T04:55:12.000Z
2022-02-05T04:55:12.000Z
# -*- coding: utf-8 -*- """ This is a script for satellite image classification Last updated on Aug 6 2019 @author: Shengjie Liu @Email: liushengjie0756@gmail.com @functions 1. generate samples from satellite images 2. grid search SVM/random forest parameters 3. object-based post-classification refinement superpixel-...
30.617925
116
0.525343
1,954
12,982
3.419652
0.143296
0.029333
0.018857
0.029632
0.51317
0.495959
0.486082
0.452559
0.422778
0.414996
0
0.043224
0.301417
12,982
423
117
30.690307
0.693572
0.102218
0
0.519757
1
0
0.023304
0
0
0
0
0
0
1
0.072948
false
0
0.024316
0
0.161094
0.024316
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
b0aa6a812ee52174069796f84319d0121f03131a
532
py
Python
mujoco_py_deriv_mujoco_utils.py
wecacuee/mujoco_py_deriv
7abf079abb175a4356d38cfd9c5ef2a2aed2e47b
[ "MIT" ]
5
2020-08-25T11:11:11.000Z
2021-11-30T00:16:07.000Z
mujoco_py_deriv_mujoco_utils.py
wecacuee/mujoco_py_deriv
7abf079abb175a4356d38cfd9c5ef2a2aed2e47b
[ "MIT" ]
1
2021-07-04T00:26:05.000Z
2021-07-04T00:26:05.000Z
mujoco_py_deriv_mujoco_utils.py
wecacuee/mujoco_py_deriv
7abf079abb175a4356d38cfd9c5ef2a2aed2e47b
[ "MIT" ]
3
2020-07-22T20:03:58.000Z
2021-04-02T14:58:51.000Z
import numpy as np import mujoco_py as mj def mjc_addr_to_indices(addr): indices = (np.arange(*addr) if isinstance(addr, tuple) else np.arange(addr, addr+1)) return indices def mjc_qpos_indices_from_jnt_names(model, joints): return np.hstack([ mjc_addr_to_indices(mode...
26.6
57
0.682331
83
532
4.060241
0.39759
0.053412
0.080119
0.142433
0.534125
0.534125
0.433234
0.433234
0.433234
0.433234
0
0.002445
0.231203
532
19
58
28
0.821516
0
0
0.266667
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.133333
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
b0aacd7756bd5dc0ebc4efa6d82106013c2e2d6b
2,287
py
Python
python/tHome/acurite/mqtt.py
ZigmundRat/T-Home
5dc8689f52d87dac890051e540b338b009293ced
[ "BSD-2-Clause" ]
18
2016-04-17T19:39:28.000Z
2020-11-19T06:55:20.000Z
python/tHome/acurite/mqtt.py
ZigmundRat/T-Home
5dc8689f52d87dac890051e540b338b009293ced
[ "BSD-2-Clause" ]
6
2016-10-31T13:53:45.000Z
2019-03-20T20:47:03.000Z
python/tHome/acurite/mqtt.py
ZigmundRat/T-Home
5dc8689f52d87dac890051e540b338b009293ced
[ "BSD-2-Clause" ]
12
2016-10-31T12:29:08.000Z
2021-12-28T12:18:28.000Z
#=========================================================================== # # Convert decoded data to MQTT messages. # #=========================================================================== #=========================================================================== def convert( config, data ): # List of t...
28.5875
76
0.462615
193
2,287
5.481865
0.248705
0.102079
0.098299
0.173913
0.465974
0.465974
0.231569
0
0
0
0
0.005566
0.29296
2,287
79
77
28.949367
0.648732
0.192392
0
0.40678
0
0
0.082699
0
0
0
0
0
0
1
0.016949
false
0
0
0
0.033898
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
b0ae5caa0b6a9d87aca8ea098cc8f16f85118db6
4,311
py
Python
nexus_auth/views/ping.py
hreeder/nexus-auth
8d51aef01647e32ba4a284f02de73a2caad7cf49
[ "MIT" ]
null
null
null
nexus_auth/views/ping.py
hreeder/nexus-auth
8d51aef01647e32ba4a284f02de73a2caad7cf49
[ "MIT" ]
null
null
null
nexus_auth/views/ping.py
hreeder/nexus-auth
8d51aef01647e32ba4a284f02de73a2caad7cf49
[ "MIT" ]
null
null
null
import json from nexus_auth import app, db, jabbertools from nexus_auth.models.groups import Group from nexus_auth.models.ping import PingServer, PingTarget, TYPE_SERVER, TYPE_GROUP from nexus_auth.utils.decorators import admin_required from flask import request, render_template, redirect, flash from flask.ext.login ...
36.226891
115
0.655764
529
4,311
5.206049
0.221172
0.051924
0.036311
0.043573
0.228395
0.194263
0.169572
0.098765
0.076253
0.037037
0
0.002634
0.207376
4,311
118
116
36.533898
0.803336
0.021341
0
0.204301
0
0.010753
0.123577
0.038425
0
0
0
0
0
0
null
null
0
0.107527
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
b0b38d1392225635c6163897b7e846ba17fda9b6
1,615
py
Python
ADT7310_CTR.py
pit-ray/ADT7310-CTR
1bb0d05280ffddb5b9493d5dc8865761766050d6
[ "MIT" ]
null
null
null
ADT7310_CTR.py
pit-ray/ADT7310-CTR
1bb0d05280ffddb5b9493d5dc8865761766050d6
[ "MIT" ]
null
null
null
ADT7310_CTR.py
pit-ray/ADT7310-CTR
1bb0d05280ffddb5b9493d5dc8865761766050d6
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # coding: utf-8 import spidev import time class ADT7310_CTR: def __init__(self, spi_port, device, max_hz=100000): self.port = spi_port self.device = device self.max_hz = max_hz self.initialize() def initialize(self): # create spi object self....
22.430556
56
0.573375
210
1,615
4.261905
0.361905
0.078212
0.067039
0.071508
0.10838
0.055866
0.055866
0
0
0
0
0.06709
0.317028
1,615
71
57
22.746479
0.744334
0.144272
0
0.04878
0
0
0.013859
0
0
0
0.033552
0
0
1
0.219512
false
0
0.04878
0
0.317073
0
0
0
0
null
0
0
0
0
0
0
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
b0bdff15648b254eda03d7e5e7c95490b1e6305a
521
py
Python
multiworld/envs/mujoco/acrobot_continuous.py
kschmeckpeper/multiworld
7ee0a6b26f1e8067ba2696a231b59193cc2c3242
[ "MIT" ]
null
null
null
multiworld/envs/mujoco/acrobot_continuous.py
kschmeckpeper/multiworld
7ee0a6b26f1e8067ba2696a231b59193cc2c3242
[ "MIT" ]
null
null
null
multiworld/envs/mujoco/acrobot_continuous.py
kschmeckpeper/multiworld
7ee0a6b26f1e8067ba2696a231b59193cc2c3242
[ "MIT" ]
null
null
null
import gym from gym import spaces import numpy as np from gym.envs.classic_control.acrobot import AcrobotEnv class AcrobotContinuousEnv(AcrobotEnv): def __init__(self): super().__init__() self.action_space = spaces.Box(low=np.array([-1.0]), high=np.array([1.0]), dtype=np.float32) def step(self...
28.944444
100
0.644914
70
521
4.6
0.5
0.173913
0.049689
0.055901
0.136646
0
0
0
0
0
0
0.033079
0.245681
521
17
101
30.647059
0.78626
0
0
0
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
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
b0c0f89f2e85242754e4fe5dfcb3e2be0cb16963
220
py
Python
jumbled_dict.py
mrillusi0n/compete
ac798e2b1ff27abddd8bebf113d079228f038e56
[ "MIT" ]
null
null
null
jumbled_dict.py
mrillusi0n/compete
ac798e2b1ff27abddd8bebf113d079228f038e56
[ "MIT" ]
null
null
null
jumbled_dict.py
mrillusi0n/compete
ac798e2b1ff27abddd8bebf113d079228f038e56
[ "MIT" ]
null
null
null
def special_sort(alphabet, s): a = {c: i for i, c in enumerate(alphabet)} return ''.join(sorted(list(s), key=lambda x: a[x.lower()])) a = 'wvutsrqponmlkjihgfedcbaxyz' t = 'camelCasE' print(special_sort(a, t))
22
63
0.659091
34
220
4.205882
0.676471
0.153846
0
0
0
0
0
0
0
0
0
0
0.163636
220
9
64
24.444444
0.777174
0
0
0
0
0
0.159817
0.118721
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
b0c11433cd48d02c662d73b434bcf10e891fcbc5
4,237
py
Python
cli/scaleout/config/config.py
ScilifelabDataCentre/stackn
00a65a16ff271f04548b3ff475c72dacbfd916df
[ "Apache-2.0" ]
null
null
null
cli/scaleout/config/config.py
ScilifelabDataCentre/stackn
00a65a16ff271f04548b3ff475c72dacbfd916df
[ "Apache-2.0" ]
null
null
null
cli/scaleout/config/config.py
ScilifelabDataCentre/stackn
00a65a16ff271f04548b3ff475c72dacbfd916df
[ "Apache-2.0" ]
null
null
null
import io import yaml import os import logging logger = logging.getLogger(__name__) def ensure_empty(directory): if len(os.listdir(directory)) == 0: return True else: return False def ensure_default_values(data): """ Set default values matching the local dev deployment of Studio. """ ...
27.335484
86
0.619778
505
4,237
5.011881
0.259406
0.023706
0.028447
0.020545
0.293165
0.2742
0.2742
0.210194
0.177795
0.177795
0
0.00781
0.244513
4,237
154
87
27.512987
0.78288
0.062072
0
0.315315
0
0
0.24413
0.013885
0
0
0
0.006494
0
1
0.09009
false
0.063063
0.072072
0
0.261261
0.009009
0
0
0
null
0
0
0
0
0
0
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
b0d2bcd5d17b84c17d7f84e81d678460f879dc9c
9,044
py
Python
sdk/python/pulumi_proxmoxve/dns.py
muhlba91/pulumi-proxmoxve
f17723c42b46c004be43ea0d39ff30ea176dd529
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_proxmoxve/dns.py
muhlba91/pulumi-proxmoxve
f17723c42b46c004be43ea0d39ff30ea176dd529
[ "ECL-2.0", "Apache-2.0" ]
3
2021-11-23T07:11:46.000Z
2022-02-10T09:18:13.000Z
sdk/python/pulumi_proxmoxve/dns.py
muhlba91/pulumi-proxmoxve
f17723c42b46c004be43ea0d39ff30ea176dd529
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
37.065574
134
0.613335
1,049
9,044
5.042898
0.126787
0.116446
0.108507
0.061437
0.699244
0.661815
0.638185
0.615879
0.606238
0.585444
0
0.000153
0.276869
9,044
243
135
37.218107
0.808716
0.215723
0
0.587838
1
0
0.073648
0.003485
0
0
0
0
0
1
0.148649
false
0.006757
0.033784
0
0.27027
0
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
b0d38d2bc311c0359b93dd5a8786f3266c33f5fa
4,548
py
Python
python/Sat.py
PaperXLV/UspWeakness
62595884167c229db6f1df1a98e4a6cc0401a82e
[ "Unlicense" ]
null
null
null
python/Sat.py
PaperXLV/UspWeakness
62595884167c229db6f1df1a98e4a6cc0401a82e
[ "Unlicense" ]
null
null
null
python/Sat.py
PaperXLV/UspWeakness
62595884167c229db6f1df1a98e4a6cc0401a82e
[ "Unlicense" ]
null
null
null
from pysat.solvers import Glucose3 from USP import UspWeaknessVerifier, GenerateUsp import math def ExtractAssignment(U, model): """ Extracts assignment in permutations given a model from pysat """ n = len(U) k = len(U[0]) # Function to translate any glucose number into it's # correspondi...
28.78481
70
0.437995
644
4,548
3.045031
0.178571
0.017338
0.061193
0.035696
0.395716
0.350331
0.323814
0.26874
0.258542
0.1846
0
0.017308
0.42832
4,548
157
71
28.968153
0.736923
0.218338
0
0.32
1
0
0.017139
0
0
0
0
0
0
1
0.07
false
0
0.03
0.02
0.14
0.09
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
b0e0733c9ae69d9cf030edcdb215ecc4e541d111
249
py
Python
PycharmProjects/pythonexercicios/aula023/ex114.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
PycharmProjects/pythonexercicios/aula023/ex114.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
PycharmProjects/pythonexercicios/aula023/ex114.py
zmixtv1/cev-Python
edce04f86d943d9af070bf3c5e89575ff796ec9e
[ "MIT" ]
null
null
null
import urllib import urllib.request try: site = urllib.request.urlopen("http://www.pudim.com.br") except urllib.erro.URLError: print("O Site pudim não está acessivel no momento") else: print("Consegui acessar o site Pudim com sucesso!")
27.666667
60
0.73494
37
249
4.945946
0.675676
0.131148
0.10929
0
0
0
0
0
0
0
0
0
0.15261
249
9
61
27.666667
0.867299
0
0
0
0
0
0.428
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
b0ec2a00db669c6da6b00dba9a16620ae0fa03c7
4,036
py
Python
s42/nodes.py
AS207960/s42-lib
6d84a6ba7c1b3287f8b59b4acd3185dffd24ee45
[ "MIT" ]
3
2020-09-07T19:59:01.000Z
2020-12-29T08:19:26.000Z
s42/nodes.py
AS207960/s42-lib
6d84a6ba7c1b3287f8b59b4acd3185dffd24ee45
[ "MIT" ]
null
null
null
s42/nodes.py
AS207960/s42-lib
6d84a6ba7c1b3287f8b59b4acd3185dffd24ee45
[ "MIT" ]
null
null
null
import collections import functools import operator class Node: name = "Node" @property def children(self): return self._children def __init__(self, template, dto): self.template = template self.dto = dto self.parent = None self.siblings = [] self._chi...
24.760736
78
0.549306
464
4,036
4.568966
0.155172
0.107547
0.067925
0.08066
0.455189
0.391981
0.366509
0.343868
0.295283
0.263208
0
0.00185
0.330278
4,036
162
79
24.91358
0.782464
0
0
0.393443
0
0
0.083251
0.020317
0
0
0
0
0
1
0.204918
false
0
0.02459
0.098361
0.52459
0
0
0
0
null
0
0
0
0
0
0
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
b0f470eb1c31126d580f9889f43f24acad567295
340
py
Python
osc_bge/student/migrations/0011_remove_studentmonthlyreport_name.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
osc_bge/student/migrations/0011_remove_studentmonthlyreport_name.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
5
2020-06-05T19:49:47.000Z
2021-09-08T00:50:55.000Z
osc_bge/student/migrations/0011_remove_studentmonthlyreport_name.py
jisuhan3201/osc-bge
125c441d23d7f1fdb2d9b8f42f859082e757e25a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.9 on 2018-12-11 07:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('student', '0010_auto_20181211_0740'), ] operations = [ migrations.RemoveField( model_name='studentmonthlyreport', name='name...
18.888889
47
0.605882
35
340
5.771429
0.828571
0
0
0
0
0
0
0
0
0
0
0.127572
0.285294
340
17
48
20
0.703704
0.132353
0
0
1
0
0.1843
0.078498
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b0f4d910baabaccfedbfb2171d2cdb93db2da795
694
py
Python
togglcmder/toggl/views/workspace.py
yatesjr/toggl-cmder
feb115c816b764d0a3744167af6eb335f0988369
[ "Apache-2.0" ]
3
2019-09-09T18:56:21.000Z
2020-03-18T19:21:26.000Z
togglcmder/toggl/views/workspace.py
yatesjr/toggl-cmder
feb115c816b764d0a3744167af6eb335f0988369
[ "Apache-2.0" ]
19
2019-08-15T03:18:03.000Z
2020-10-22T15:00:09.000Z
togglcmder/toggl/views/workspace.py
yatesjr/toggl-cmder
feb115c816b764d0a3744167af6eb335f0988369
[ "Apache-2.0" ]
null
null
null
from typing import List, Tuple from togglcmder.toggl.types.workspace import Workspace as WorkspaceType class Workspace(object): """ A composition of the data we want to show in a view of a given workspace. """ def __init__(self, workspaces: List[WorkspaceType]): self.__workspaces = works...
23.931034
71
0.605187
71
694
5.788732
0.549296
0.10219
0.111922
0
0
0
0
0
0
0
0
0
0.309798
694
28
72
24.785714
0.858038
0.105187
0
0
0
0
0.0599
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0.111111
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
0
1
0
0
0
1
b0f9199d4d0d57c918e35abf74ae1c47590239ab
1,894
py
Python
backend_server/QuadrantTextFileLoader.py
matteoluzzi/ParkingFinder
dfd9990ea76abf6e40fe93423bb37a9e3581a8ee
[ "Apache-2.0" ]
null
null
null
backend_server/QuadrantTextFileLoader.py
matteoluzzi/ParkingFinder
dfd9990ea76abf6e40fe93423bb37a9e3581a8ee
[ "Apache-2.0" ]
null
null
null
backend_server/QuadrantTextFileLoader.py
matteoluzzi/ParkingFinder
dfd9990ea76abf6e40fe93423bb37a9e3581a8ee
[ "Apache-2.0" ]
null
null
null
import Quadrant as quadrant import Parking as pk class QuadrantTextFileLoader: #loads quadrants from a textfile @staticmethod def load(filename,updater=0): quadrantsList = list() inputFile = open(filename, 'r') mystring=inputFile.readline() mystring=mystring.split('\n')[0] while ((mystring!="")and(mys...
29.59375
73
0.69641
210
1,894
6.280952
0.285714
0.088704
0.113723
0.150114
0.53677
0.494314
0.494314
0.494314
0.457923
0.369977
0
0.01369
0.151531
1,894
63
74
30.063492
0.807094
0.057022
0
0.528302
0
0
0.024157
0
0
0
0
0
0
0
null
null
0
0.037736
null
null
0.037736
0
0
0
null
0
0
0
0
0
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
b0fa9695a0f35c74b8ef9d5be2c98e514fed4265
4,461
py
Python
coordinate_helper/kml_points.py
barnesv17/Handi-Map_v2
dd829dfa800257a1a830af4bed043ca70957e45e
[ "MIT" ]
null
null
null
coordinate_helper/kml_points.py
barnesv17/Handi-Map_v2
dd829dfa800257a1a830af4bed043ca70957e45e
[ "MIT" ]
null
null
null
coordinate_helper/kml_points.py
barnesv17/Handi-Map_v2
dd829dfa800257a1a830af4bed043ca70957e45e
[ "MIT" ]
1
2020-02-14T20:15:50.000Z
2020-02-14T20:15:50.000Z
import xml.etree.ElementTree as ET import csv import geohash from distance import get_distance f_name = input("Enter the file name to open: ") f_kml = f_name + ".kml" file = ET.parse(f_kml) nmsp = '{http://www.opengis.net/kml/2.2}' b_dict = {} des = "" # Read from the kml file and parse for pm in file.iterfind('.//{...
29.939597
120
0.584398
612
4,461
4.220588
0.267974
0.100271
0.149051
0.162602
0.074719
0.054975
0.037166
0.037166
0.037166
0.037166
0
0.037689
0.274378
4,461
148
121
30.141892
0.760272
0.028021
0
0.061069
0
0
0.240878
0.005312
0
0
0
0
0
1
0
false
0
0.030534
0
0.030534
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
b0fdd7aa949df9936e21487faf481897d6e80197
4,243
py
Python
tests/test_auth.py
chisou/cumulocity-python-api
f420b8ad2ec7735484db94b70ad6f5485585ddbb
[ "Apache-2.0" ]
null
null
null
tests/test_auth.py
chisou/cumulocity-python-api
f420b8ad2ec7735484db94b70ad6f5485585ddbb
[ "Apache-2.0" ]
null
null
null
tests/test_auth.py
chisou/cumulocity-python-api
f420b8ad2ec7735484db94b70ad6f5485585ddbb
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 Software AG, # Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, # and/or its subsidiaries and/or its affiliates and/or their licensors. # Use, reproduction, transfer, publication or disclosure is prohibited except # as specifically provided for in your License Agreement with Softwar...
40.798077
100
0.736272
575
4,243
5.215652
0.194783
0.078026
0.043348
0.050684
0.546849
0.479493
0.469823
0.430477
0.428476
0.428476
0
0.03268
0.134575
4,243
103
101
41.194175
0.784041
0.447089
0
0.170213
0
0
0.174694
0.071804
0
0
0
0
0.212766
1
0.106383
false
0.106383
0.12766
0
0.234043
0
0
0
0
null
0
0
0
0
0
0
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
9fd5f80322d3fc65cc8ccb7232993a65521a4547
716
py
Python
src/acru_l/resources/ses/verified_emails/handler.py
quadio-media/acru-l
3bcc1e1bc83e605c8029169bef21775f1de7b69f
[ "MIT" ]
null
null
null
src/acru_l/resources/ses/verified_emails/handler.py
quadio-media/acru-l
3bcc1e1bc83e605c8029169bef21775f1de7b69f
[ "MIT" ]
null
null
null
src/acru_l/resources/ses/verified_emails/handler.py
quadio-media/acru-l
3bcc1e1bc83e605c8029169bef21775f1de7b69f
[ "MIT" ]
1
2020-12-30T19:42:37.000Z
2020-12-30T19:42:37.000Z
import boto3 import time from acrul_toolkit.custom_resources import CustomResourceEventHandler ses = boto3.client("ses") def verify_emails(email_addresses=None): email_addresses = email_addresses or [] for email_address in email_addresses: ses.verify_email_identity(EmailAddress=email_address) ...
22.375
69
0.727654
85
716
5.894118
0.447059
0.111776
0.083832
0.083832
0.175649
0.175649
0.175649
0.175649
0.175649
0.175649
0
0.005146
0.185754
716
31
70
23.096774
0.854202
0
0
0.1
0
0
0.03771
0
0
0
0
0
0
1
0.25
false
0.05
0.15
0.05
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9fd75eb31ab1ce5023d72042f30469e05d09715f
931
py
Python
setup.py
MaxBo/Obvious-CI
4dd631b7fc88206493b11843860a0db650111ae9
[ "BSD-3-Clause" ]
16
2015-07-17T04:25:56.000Z
2017-03-11T17:19:40.000Z
setup.py
MaxBo/Obvious-CI
4dd631b7fc88206493b11843860a0db650111ae9
[ "BSD-3-Clause" ]
43
2015-02-12T11:46:27.000Z
2017-05-01T20:21:48.000Z
setup.py
MaxBo/Obvious-CI
4dd631b7fc88206493b11843860a0db650111ae9
[ "BSD-3-Clause" ]
17
2015-06-02T22:44:38.000Z
2020-10-29T22:58:34.000Z
import os.path import sys from setuptools import setup # Add the CWD to the path so that we get an appropriate versioneer. sys.path.insert(0, './') import versioneer setup(name='Obvious-ci', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='Utilities to simplify CI...
32.103448
88
0.662728
119
931
4.991597
0.579832
0.060606
0.070707
0
0
0
0
0
0
0
0
0.002736
0.214823
931
28
89
33.25
0.80985
0.069817
0
0
0
0
0.433372
0.200464
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
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
9fdfe978dd9d2e333c2df1f6a0dcab5aa11ceeb2
850
py
Python
TCConfig/UndoRedoManager.py
nightfire2/BiomeEdit
e009eb5ecdca063abfbb1a708495176ac5f7defc
[ "FSFAP" ]
1
2016-02-08T16:10:53.000Z
2016-02-08T16:10:53.000Z
TCConfig/UndoRedoManager.py
nightfire2/BiomeEdit
e009eb5ecdca063abfbb1a708495176ac5f7defc
[ "FSFAP" ]
null
null
null
TCConfig/UndoRedoManager.py
nightfire2/BiomeEdit
e009eb5ecdca063abfbb1a708495176ac5f7defc
[ "FSFAP" ]
null
null
null
class UndoRedoManager: def __init__(self): print 'hi' self.undoStack=list() self.redoStack=list() self.state=list() def Do(self,id,undoAction,redoAction): self.state.append({'undo':undoAction,'redo':redoAction,'id':id}) def PushState(self): self.undoStack.append(self.state) self.redoStack=list() ...
22.368421
66
0.669412
120
850
4.708333
0.25
0.184071
0.120354
0.074336
0.288496
0.288496
0.19823
0
0
0
0
0.004225
0.164706
850
38
67
22.368421
0.791549
0
0
0.266667
0
0
0.025852
0
0
0
0
0
0
0
null
null
0
0
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9fe1f1a8421034ccb1be71983900a300c84689df
1,522
py
Python
tests/test_auth.py
alexkiura/bucketlist
7164c21dbd3b1be0ea81169bfff8939b3758e98c
[ "MIT" ]
1
2016-03-30T18:00:07.000Z
2016-03-30T18:00:07.000Z
tests/test_auth.py
mrkiura/bucketlist
7164c21dbd3b1be0ea81169bfff8939b3758e98c
[ "MIT" ]
1
2016-04-18T19:32:30.000Z
2016-04-22T15:30:23.000Z
tests/test_auth.py
mrkiura/bucketlist
7164c21dbd3b1be0ea81169bfff8939b3758e98c
[ "MIT" ]
1
2017-01-15T17:39:27.000Z
2017-01-15T17:39:27.000Z
"""This module tests user creation and log in.""" import json from test_api import ApiTestCase from app.models import User class TestUserAuth(ApiTestCase): """Test user authentication and registration.""" def test_user_register(self): """Test user registration.""" self.user = {'username': 'ma...
39.025641
76
0.615637
177
1,522
5.20339
0.355932
0.052117
0.052117
0.055375
0.395223
0.343105
0.343105
0.343105
0.343105
0.343105
0
0.013078
0.246386
1,522
38
77
40.052632
0.789887
0.124179
0
0.269231
0
0
0.183564
0.050691
0
0
0
0
0.192308
1
0.153846
false
0.230769
0.115385
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9feab41867acb22b7d21e93b790d3ea8ece21086
4,301
py
Python
FP-Tree/FP-Tree.py
YamengWang/MachineLearning
65a4cbdba4362779d51a28ab33d09ef84a3f8995
[ "MIT" ]
4
2017-08-17T12:52:29.000Z
2017-08-21T15:20:00.000Z
FP-Tree/FP-Tree.py
YamengWang/MachineLearning
65a4cbdba4362779d51a28ab33d09ef84a3f8995
[ "MIT" ]
null
null
null
FP-Tree/FP-Tree.py
YamengWang/MachineLearning
65a4cbdba4362779d51a28ab33d09ef84a3f8995
[ "MIT" ]
null
null
null
class treeNode: #FP树的节点的结构 def __init__(self,name, num, parent): self.name=name self.count=num self.parent=parent self.children={} self.nodeLink=None#存储下一个相似的节点 def inc(self, number): #增加节点的处出现次数 self.count+=number class FPTree(): def __init__(sel...
34.134921
98
0.567077
464
4,301
5.133621
0.239224
0.025189
0.035684
0.037783
0.081864
0.073887
0.030227
0.030227
0
0
0
0.011608
0.318996
4,301
125
99
34.408
0.801639
0.021623
0
0.066038
0
0
0.009297
0
0
0
0
0
0
0
null
null
0
0
null
null
0.028302
0
0
0
null
0
0
0
0
0
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
9ff0932dbd0d2ebec4951620cffbee89224031ed
10,506
py
Python
region_cache/region_cache.py
jheard-tw/region_cache
e2735a6039c4d346ad38442091220b492d107f5d
[ "MIT" ]
2
2018-10-01T13:09:58.000Z
2018-10-01T13:10:39.000Z
region_cache/region_cache.py
jheard-tw/region_cache
e2735a6039c4d346ad38442091220b492d107f5d
[ "MIT" ]
1
2019-05-24T15:46:11.000Z
2019-05-28T15:01:06.000Z
region_cache/region_cache.py
Teamworksapp/region_cache
e2735a6039c4d346ad38442091220b492d107f5d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from urllib.parse import urlparse import redis import pickle from .region import Region from logging import getLogger _logger = getLogger('region_cache') class RegionCache(object): """ This is the flask extension itself. Initialize this when you initialize all of you...
39.348315
120
0.618504
1,282
10,506
4.804212
0.158346
0.055366
0.035882
0.040104
0.345673
0.272447
0.182172
0.154571
0.11885
0.105537
0
0.003962
0.30335
10,506
266
121
39.496241
0.837546
0.296688
0
0.187879
0
0
0.094628
0.033415
0
0
0
0
0
1
0.048485
false
0.060606
0.036364
0
0.139394
0
0
0
0
null
0
0
0
0
0
0
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
9ff294ddecc27ff8fe866a3b3fea0ae0f50d20f1
4,852
py
Python
3_bigdlfeatures/quantization.py
dell-ai-engineering/BigDL4CDSW
4f01ae6d64202770304c4a90475332b6559da846
[ "Apache-2.0" ]
2
2019-02-05T17:17:32.000Z
2021-09-24T02:11:28.000Z
3_bigdlfeatures/quantization.py
dell-ai-engineering/BigDL4CDSW
4f01ae6d64202770304c4a90475332b6559da846
[ "Apache-2.0" ]
null
null
null
3_bigdlfeatures/quantization.py
dell-ai-engineering/BigDL4CDSW
4f01ae6d64202770304c4a90475332b6559da846
[ "Apache-2.0" ]
null
null
null
# Handwritten Digit Classfication using Convolutional Neural Network # The tutorial presented will again tackle the MNIST digit classification problem for the purpose of demonstrating quantization of our model. from sys import path sys.path.append('/home/cdsw/2_deeplearning/resources') %cd "/home/cdsw/2_deeplea...
35.416058
144
0.725268
712
4,852
4.80618
0.31882
0.028054
0.014027
0.0263
0.259497
0.244302
0.244302
0.238749
0.230859
0.209819
0
0.021661
0.143652
4,852
137
144
35.416058
0.801925
0.203215
0
0.123596
0
0
0.138627
0.039031
0
0
0
0
0
0
null
null
0
0.168539
null
null
0.168539
0
0
0
null
0
0
0
0
0
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
9ff85867ecca8e705b36554f5a2123b2fb1c4675
4,745
py
Python
lib/python2.7/site-packages/appionlib/apCtf/circle.py
leschzinerlab/myami-3.2-freeHand
974b8a48245222de0d9cfb0f433533487ecce60d
[ "MIT" ]
6
2018-05-10T19:12:53.000Z
2021-05-19T21:11:56.000Z
appionlib/apCtf/circle.py
vosslab/ctfeval
6cfc648f91c318c3a46a959e4771c3d16d8e741a
[ "Apache-2.0" ]
1
2017-04-15T11:04:39.000Z
2017-04-17T20:21:53.000Z
appionlib/apCtf/circle.py
vossman/ctfeval
6cfc648f91c318c3a46a959e4771c3d16d8e741a
[ "Apache-2.0" ]
1
2019-09-05T20:58:37.000Z
2019-09-05T20:58:37.000Z
#!/usr/bin/env python import math import time import numpy from appionlib.apImage import imagestat #=================== # ANGULAR FUNCTIONS #=================== #=================== class Angular(object): def __init__(self, shape, xfreq=1.0, yfreq=1.0, center=True, flip=False): # setup if center is True: ##...
25.374332
77
0.622761
659
4,745
4.459788
0.174507
0.032664
0.024498
0.034706
0.598843
0.571623
0.532834
0.460361
0.41851
0.341613
0
0.036588
0.164805
4,745
186
78
25.510753
0.705021
0.173867
0
0.371429
0
0
0.07801
0
0
0
0
0
0
0
null
null
0
0.038095
null
null
0.095238
0
0
0
null
0
0
0
0
0
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
9ffaf9a5d7a107154fbb3823585e6fd1de573e94
984
py
Python
src/Networks/ReuseNetworks.py
goncaloasimoes/net-pro-sim
77f766661229327df16bef1e6813152e02350459
[ "MIT" ]
1
2022-01-04T00:03:05.000Z
2022-01-04T00:03:05.000Z
src/Networks/ReuseNetworks.py
goncaloasimoes/nps
77f766661229327df16bef1e6813152e02350459
[ "MIT" ]
null
null
null
src/Networks/ReuseNetworks.py
goncaloasimoes/nps
77f766661229327df16bef1e6813152e02350459
[ "MIT" ]
null
null
null
from ..Helpers.Singleton import Singleton from .Network import Network import random class ReuseNetworks(Network,metaclass=Singleton): number_networks = 100 # TODO: this sould be configurable networks = [] last = -1 def __init__(self, n, incremental = False): self.per_state ...
32.8
79
0.591463
114
984
4.991228
0.464912
0.098418
0.094903
0.066784
0
0
0
0
0
0
0
0.01462
0.304878
984
30
80
32.8
0.817251
0.03252
0
0
0
0
0.044164
0
0
0
0
0.033333
0
1
0.083333
false
0
0.125
0
0.375
0.041667
0
0
0
null
0
0
0
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
9ffb6f051a9771551aea43adf2d912d1cd22e4b0
393
py
Python
lsql/judge/migrations/0040_alter_usedhint_request_date.py
Tamiflu9/lsql
5e2620eedd32949af85ea885cb54fe0f16defd0d
[ "MIT" ]
2
2020-07-23T18:44:46.000Z
2021-04-19T07:10:48.000Z
lsql/judge/migrations/0040_alter_usedhint_request_date.py
Tamiflu9/lsql
5e2620eedd32949af85ea885cb54fe0f16defd0d
[ "MIT" ]
93
2020-09-14T12:35:44.000Z
2021-12-13T21:08:47.000Z
lsql/judge/migrations/0040_alter_usedhint_request_date.py
Tamiflu9/lsql
5e2620eedd32949af85ea885cb54fe0f16defd0d
[ "MIT" ]
18
2020-09-24T13:38:28.000Z
2021-04-19T09:24:19.000Z
# Generated by Django 3.2 on 2021-05-25 19:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('judge', '0039_hint_usedhint'), ] operations = [ migrations.AlterField( model_name='usedhint', name='request_date', ...
20.684211
58
0.608142
42
393
5.547619
0.833333
0
0
0
0
0
0
0
0
0
0
0.06383
0.282443
393
18
59
21.833333
0.762411
0.109415
0
0
1
0
0.123563
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
b004b400f17cdde258af35294cc7300dd967d3ec
1,305
py
Python
tests/util.py
spoqa/aws-xray-flask-middleware
9300e50e8c6ebbd097081b60277648f13cad8bf0
[ "MIT" ]
null
null
null
tests/util.py
spoqa/aws-xray-flask-middleware
9300e50e8c6ebbd097081b60277648f13cad8bf0
[ "MIT" ]
null
null
null
tests/util.py
spoqa/aws-xray-flask-middleware
9300e50e8c6ebbd097081b60277648f13cad8bf0
[ "MIT" ]
1
2020-07-16T06:51:09.000Z
2020-07-16T06:51:09.000Z
# Reference: # https://github.com/aws/aws-xray-sdk-python/blob/aed8e43fc03e68c0d012a6a6e11a2e859b0bf247/tests/util.py import threading from aws_xray_sdk.core.emitters.udp_emitter import UDPEmitter from aws_xray_sdk.core.recorder import AWSXRayRecorder from aws_xray_sdk.core.sampling.sampler import DefaultSampler from...
26.632653
104
0.711111
151
1,305
5.913907
0.450331
0.047032
0.067189
0.078387
0.100784
0
0
0
0
0
0
0.035339
0.197701
1,305
48
105
27.1875
0.817574
0.131801
0
0.068966
0
0
0.021505
0
0
0
0
0
0
1
0.172414
false
0.034483
0.206897
0
0.517241
0
0
0
0
null
0
0
0
0
0
0
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
b013f7b7c35d3f22f3f3e598da285cdf532585b5
308
py
Python
src/psiopic2/app/ui/prompt.py
psiopic2/psiopic2
c2be97701f023f4396bb5d15e14e1ecc7a71d16b
[ "MIT" ]
null
null
null
src/psiopic2/app/ui/prompt.py
psiopic2/psiopic2
c2be97701f023f4396bb5d15e14e1ecc7a71d16b
[ "MIT" ]
null
null
null
src/psiopic2/app/ui/prompt.py
psiopic2/psiopic2
c2be97701f023f4396bb5d15e14e1ecc7a71d16b
[ "MIT" ]
null
null
null
import sys def prompt(msg): sys.stdout.write(msg) sys.stdout.write(" ") sys.stdout.flush() return sys.stdin.readline().strip() def ask(msg, defaultValue=None): out = msg + " (%s):" % defaultValue userInput = prompt(out) if userInput: return userInput else: return defaultValue
18.117647
37
0.659091
39
308
5.205128
0.512821
0.133005
0.118227
0.167488
0
0
0
0
0
0
0
0
0.201299
308
17
38
18.117647
0.825203
0
0
0
0
0
0.022654
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.461538
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
b017c2bb79afca6cc2608a08f415fce9cec34559
4,535
py
Python
detectors/status.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
null
null
null
detectors/status.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
1
2019-07-03T13:32:38.000Z
2019-07-03T13:32:38.000Z
detectors/status.py
time-track-tool/time-track-tool
a1c280f32a7766e460c862633b748fa206256f24
[ "MIT" ]
1
2019-05-15T16:01:31.000Z
2019-05-15T16:01:31.000Z
#! /usr/bin/python # Copyright (C) 2006-14 Dr. Ralf Schlatterbeck Open Source Consulting. # Reichergasse 131, A-3411 Weidling. # Web: http://www.runtux.com Email: office@runtux.com # All rights reserved # **************************************************************************** # This program is free software; you c...
41.605505
80
0.609702
577
4,535
4.672444
0.370884
0.02003
0.01632
0.021142
0.030415
0.020772
0
0
0
0
0
0.007638
0.27828
4,535
108
81
41.990741
0.816071
0.259978
0
0.065574
0
0
0.114439
0
0
0
0
0
0
0
null
null
0
0.04918
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
b0191fe3aa45c9c6e7abb3e4ed2ecc53b48b2b03
588
py
Python
docs/feature/customop_example.py
yuhonghong66/minpy
2e44927ad0fbff9295e2acf6db636e588fdc5b42
[ "Apache-2.0" ]
1,271
2015-11-05T10:53:40.000Z
2022-02-20T08:33:35.000Z
docs/feature/customop_example.py
yuhonghong66/minpy
2e44927ad0fbff9295e2acf6db636e588fdc5b42
[ "Apache-2.0" ]
140
2016-04-07T02:55:19.000Z
2019-08-02T06:01:53.000Z
docs/feature/customop_example.py
yuhonghong66/minpy
2e44927ad0fbff9295e2acf6db636e588fdc5b42
[ "Apache-2.0" ]
144
2015-11-05T10:53:45.000Z
2022-03-25T05:38:09.000Z
@customop('numpy') def my_softmax(x, y): probs = numpy.exp(x - numpy.max(x, axis=1, keepdims=True)) probs /= numpy.sum(probs, axis=1, keepdims=True) N = x.shape[0] loss = -numpy.sum(numpy.log(probs[numpy.arange(N), y])) / N return loss def my_softmax_grad(ans, x, y): def grad(g): N = x...
26.727273
66
0.60034
95
588
3.642105
0.263158
0.17341
0.150289
0.196532
0.537572
0.462428
0.433526
0.433526
0.433526
0.433526
0
0.015625
0.238095
588
21
67
28
0.756696
0
0
0.352941
0
0
0.008503
0
0
0
0
0
0
1
0.176471
false
0
0
0
0.352941
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
b01c8f3f5825dba08684bc2b6a0dc8735ecd2c35
1,016
py
Python
covid_xrays/tests/test_client.py
hosamshahin/covid_xrays
3f5aa6f7bd8522a8b1c083a3514216d47f96a0d4
[ "MIT" ]
1
2020-11-19T02:38:42.000Z
2020-11-19T02:38:42.000Z
covid_xrays/tests/test_client.py
hosamshahin/covid_xrays
3f5aa6f7bd8522a8b1c083a3514216d47f96a0d4
[ "MIT" ]
null
null
null
covid_xrays/tests/test_client.py
hosamshahin/covid_xrays
3f5aa6f7bd8522a8b1c083a3514216d47f96a0d4
[ "MIT" ]
1
2021-01-09T19:45:56.000Z
2021-01-09T19:45:56.000Z
import json from base64 import b64encode from app.models.users import User from app.models.logs import Log import pytest def get_api_headers(username, password): return { 'Authorization': 'Basic ' + b64encode( (username + ':' + password).encode('utf-8')).decode('utf-8'), 'Accept': 'app...
26.736842
75
0.718504
136
1,016
5.102941
0.419118
0.103746
0.172911
0.132565
0.436599
0.436599
0.436599
0.377522
0.126801
0
0
0.027219
0.168307
1,016
37
76
27.459459
0.794083
0
0
0.12
0
0
0.121422
0
0
0
0
0
0.2
1
0.2
false
0.08
0.2
0.04
0.44
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b01d39a042e8b5c9e9e72a8a0cb2e4f7fe90769f
13,803
py
Python
elpis/engines/common/input/clean_json.py
guillaume-wisniewski/elpis
550c350fd0098751b9a502a253bc4066f15c47db
[ "Apache-2.0" ]
118
2018-11-25T22:00:11.000Z
2022-03-18T10:18:33.000Z
elpis/engines/common/input/clean_json.py
guillaume-wisniewski/elpis
550c350fd0098751b9a502a253bc4066f15c47db
[ "Apache-2.0" ]
189
2019-01-25T01:37:59.000Z
2022-02-16T02:31:23.000Z
elpis/engines/common/input/clean_json.py
guillaume-wisniewski/elpis
550c350fd0098751b9a502a253bc4066f15c47db
[ "Apache-2.0" ]
34
2018-11-28T20:31:38.000Z
2022-01-27T12:20:59.000Z
#!/usr/bin/python3 """ Given a json file with transcript information these tools can perform - manipulations including generating word lists or filtering output to - exclude english/punctuation. - Optionally provide the output json file name with -j Usage: python3 clean_json.py [-h] [--i INFILE] [--o OUTFILE] [-r] [-...
46.16388
109
0.626241
1,654
13,803
5.006046
0.179565
0.072222
0.036232
0.063889
0.428502
0.347826
0.325362
0.313768
0.302295
0.302295
0
0.003835
0.300949
13,803
298
110
46.318792
0.854285
0.355502
0
0.282353
0
0
0.079432
0.017703
0
0
0
0.010067
0
1
0.047059
false
0
0.052941
0
0.158824
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b01ef935ffad11c0eacc132faaf51f06e50f11a2
341
py
Python
app/backend/wells/migrations/0122_remove_well_licenced_status.py
bcgov/gwells
7d69e65e993d37070961e06e6ce9c58a02d79363
[ "Apache-2.0" ]
37
2017-06-30T18:08:51.000Z
2022-02-13T18:04:10.000Z
app/backend/wells/migrations/0122_remove_well_licenced_status.py
bcgov/gwells
7d69e65e993d37070961e06e6ce9c58a02d79363
[ "Apache-2.0" ]
544
2017-06-21T00:29:20.000Z
2022-02-01T21:37:38.000Z
app/backend/wells/migrations/0122_remove_well_licenced_status.py
bcgov/gwells
7d69e65e993d37070961e06e6ce9c58a02d79363
[ "Apache-2.0" ]
59
2017-03-10T17:55:02.000Z
2021-11-16T19:20:08.000Z
# Generated by Django 2.2.17 on 2021-02-02 17:27 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('wells', '0121_update_intended_water_use'), ] operations = [ migrations.RemoveField( model_name='well', name='licenced_statu...
18.944444
52
0.607038
37
341
5.432432
0.783784
0
0
0
0
0
0
0
0
0
0
0.081967
0.284457
341
17
53
20.058824
0.741803
0.134897
0
0
1
0
0.1843
0.102389
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b0229b54910d8b2d8a9dc6dcc7db5d96bf6875fc
1,100
py
Python
setup.py
sfstpala/v6wos
acb4483ab89174529172c3705a4ecbc463c938f5
[ "0BSD" ]
7
2016-10-10T12:25:31.000Z
2021-06-15T23:46:59.000Z
setup.py
sfstpala/v6wos
acb4483ab89174529172c3705a4ecbc463c938f5
[ "0BSD" ]
3
2017-05-20T05:32:30.000Z
2019-09-29T10:19:21.000Z
setup.py
sfstpala/v6wos
acb4483ab89174529172c3705a4ecbc463c938f5
[ "0BSD" ]
1
2017-05-20T05:29:10.000Z
2017-05-20T05:29:10.000Z
import setuptools setuptools.setup( name="v6wos", version="24.0.0", packages=setuptools.find_packages(), author="Stefano Palazzo", author_email="stefano.palazzo@gmail.com", url="https://github.com/sfstpala/v6wos", license="ISC", test_suite="v6wos.tests", zip_safe=False, install_req...
25.581395
45
0.522727
117
1,100
4.811966
0.615385
0.085258
0.063943
0
0
0
0
0
0
0
0
0.04325
0.306364
1,100
42
46
26.190476
0.694626
0
0
0.05
0
0
0.44
0.113636
0
0
0
0
0
1
0
true
0
0.025
0
0.025
0
0
0
0
null
0
0
0
0
0
0
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
b024838c7b785786882ace46a585761fe81222f8
584
py
Python
speculator/tests/unit/test_rsi.py
NathanBMcNamara/Speculator
e74aff778d6657a8c4993c62f264008c9be99e78
[ "MIT" ]
106
2017-11-09T13:58:45.000Z
2021-12-20T03:11:19.000Z
speculator/tests/unit/test_rsi.py
NathanBMcNamara/Speculator
e74aff778d6657a8c4993c62f264008c9be99e78
[ "MIT" ]
6
2017-10-30T13:29:49.000Z
2021-09-13T12:06:59.000Z
speculator/tests/unit/test_rsi.py
NathanBMcNamara/Speculator
e74aff778d6657a8c4993c62f264008c9be99e78
[ "MIT" ]
39
2017-10-30T16:35:01.000Z
2021-10-31T10:32:48.000Z
from speculator.features.RSI import RSI import unittest class RSITest(unittest.TestCase): def test_eval_rs(self): gains = [0.07, 0.73, 0.51, 0.28, 0.34, 0.43, 0.25, 0.15, 0.68, 0.24] losses = [0.23, 0.53, 0.18, 0.40] self.assertAlmostEqual(RSI.eval_rs(gains, losses), 2.746, places=3) d...
38.933333
76
0.583904
104
584
3.221154
0.365385
0.053731
0.065672
0.071642
0.507463
0.507463
0.507463
0.507463
0.507463
0.507463
0
0.216401
0.248288
584
14
77
41.714286
0.546697
0
0
0.333333
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
b02616c4378177c7d918815061df85743762f9f9
7,101
py
Python
vanko/flask/admin.py
ivandeex/scrapoku
2a315e0e8ed2228e17ef65a5647523e66a7bbf36
[ "BSD-3-Clause" ]
1
2018-05-08T21:29:18.000Z
2018-05-08T21:29:18.000Z
vanko/flask/admin.py
ivandeex/scrapoku
2a315e0e8ed2228e17ef65a5647523e66a7bbf36
[ "BSD-3-Clause" ]
10
2021-01-07T22:41:57.000Z
2022-03-29T23:18:11.000Z
vanko/flask/admin.py
ivandeex/scrapoku
2a315e0e8ed2228e17ef65a5647523e66a7bbf36
[ "BSD-3-Clause" ]
2
2020-08-01T10:14:17.000Z
2021-05-14T14:59:44.000Z
import os import re from tempfile import gettempdir from datetime import datetime from time import time from wtforms import form, fields, validators from werkzeug import secure_filename from jinja2 import Markup from flask import request, redirect, current_app from flask_admin import expose from flask_admin.helpers i...
34.470874
79
0.618504
848
7,101
4.950472
0.25
0.017151
0.015245
0.010958
0.042163
0.042163
0.02263
0.02263
0.02263
0.02263
0
0.002752
0.283481
7,101
205
80
34.639024
0.822327
0.038304
0
0.089172
0
0
0.046181
0.003665
0
0
0
0
0
0
null
null
0.006369
0.101911
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
b02f2541ff596d0a4edf5aad253c1f83ba676ec4
745
py
Python
modelchimp/migrations/0044_auto_20190130_0754.py
akarsh3007/modelchimp
1b4a53547d6835867df0d4ca7be83ea6c805c8ce
[ "BSD-2-Clause" ]
134
2018-11-07T08:35:47.000Z
2022-01-09T00:39:40.000Z
modelchimp/migrations/0044_auto_20190130_0754.py
akarsh3007/modelchimp
1b4a53547d6835867df0d4ca7be83ea6c805c8ce
[ "BSD-2-Clause" ]
841
2018-11-06T19:45:04.000Z
2022-03-31T13:07:16.000Z
modelchimp/migrations/0044_auto_20190130_0754.py
akarsh3007/modelchimp
1b4a53547d6835867df0d4ca7be83ea6c805c8ce
[ "BSD-2-Clause" ]
16
2019-02-08T12:48:17.000Z
2021-02-18T22:11:38.000Z
# Generated by Django 2.1.3 on 2019-01-30 07:54 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('modelchimp', '0043_machinelearningmodel_grid_search'), ] operations = [ mi...
28.653846
137
0.649664
82
745
5.768293
0.609756
0.05074
0.059197
0.093023
0.169133
0.169133
0
0
0
0
0
0.038801
0.238926
745
25
138
29.8
0.795414
0.060403
0
0.315789
1
0
0.127507
0.053009
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
b03802267401a3f00d158c51955ba4561c5685a9
1,523
py
Python
python/python_crash_course/chapter_9/admin.py
lmonsalve22/Learning-to-Code
2e32eba3fbd0bd63cc539e1e6d372ca346b765c9
[ "MIT" ]
null
null
null
python/python_crash_course/chapter_9/admin.py
lmonsalve22/Learning-to-Code
2e32eba3fbd0bd63cc539e1e6d372ca346b765c9
[ "MIT" ]
null
null
null
python/python_crash_course/chapter_9/admin.py
lmonsalve22/Learning-to-Code
2e32eba3fbd0bd63cc539e1e6d372ca346b765c9
[ "MIT" ]
null
null
null
""" This file was made for exercise 9-11""" class Users: def __init__(self, first_name, last_name, email, username): self.first_name = first_name self.last_name = last_name self.email = email self.username = username self.login_attempts = 0 def describe_user(self): ...
27.690909
74
0.634274
180
1,523
5.083333
0.277778
0.068852
0.071038
0.055738
0.216393
0.216393
0.142077
0.100546
0.100546
0.100546
0
0.008658
0.241628
1,523
55
75
27.690909
0.78355
0.023638
0
0.157895
0
0
0.167454
0.049966
0
0
0
0
0
1
0.210526
false
0
0
0
0.289474
0.236842
0
0
0
null
0
0
0
0
0
0
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
b040bb9371fbf48955e161829cb0a85a0b3d9e0a
1,764
py
Python
app/mim/RegistrationForm.py
anotherlizwong/mim
524a3fe5fcd8af7e7851a42e1e6f1708c00bae5f
[ "Apache-2.0" ]
1
2018-11-17T22:10:05.000Z
2018-11-17T22:10:05.000Z
app/mim/RegistrationForm.py
anotherlizwong/mim
524a3fe5fcd8af7e7851a42e1e6f1708c00bae5f
[ "Apache-2.0" ]
null
null
null
app/mim/RegistrationForm.py
anotherlizwong/mim
524a3fe5fcd8af7e7851a42e1e6f1708c00bae5f
[ "Apache-2.0" ]
null
null
null
from wtforms import Form, BooleanField, RadioField, StringField, PasswordField, validators, IntegerField, Field, \ SubmitField from wtforms.fields.html5 import EmailField class RegistrationForm(Form): email = EmailField('Email (username)', [validators.Length(min=6, max=50), ...
46.421053
114
0.521542
144
1,764
6.326389
0.569444
0.120746
0.041712
0.039517
0
0
0
0
0
0
0
0.010667
0.362245
1,764
38
115
46.421053
0.799111
0
0
0
0
0
0.148442
0
0
0
0
0
0
1
0.0625
false
0.125
0.0625
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
0
0
1
0
0
0
0
0
1
b0450d67390c62d72a93b57258d8196822d3a79f
2,026
py
Python
src/git_release_tag/click_parameter_types.py
binxio/git-release-tag
1edf6e4401eaf4d900d0a6a1bca61ec56496d675
[ "Apache-2.0" ]
2
2020-03-18T11:59:56.000Z
2022-03-29T10:53:32.000Z
src/git_release_tag/click_parameter_types.py
binxio/git-release-tag
1edf6e4401eaf4d900d0a6a1bca61ec56496d675
[ "Apache-2.0" ]
null
null
null
src/git_release_tag/click_parameter_types.py
binxio/git-release-tag
1edf6e4401eaf4d900d0a6a1bca61ec56496d675
[ "Apache-2.0" ]
null
null
null
import click import re from collections import OrderedDict from git_release_tag.release_info import ReleaseInfo class SemVer(click.ParamType): """ a semantic version in the form of major.minor.patch """ name = "semver" def convert(self, value, param, ctx) -> str: if value is None: ...
26.311688
86
0.60612
241
2,026
4.991701
0.365145
0.03325
0.043225
0.047382
0.114713
0.114713
0.114713
0.089776
0.089776
0.089776
0
0.004038
0.266535
2,026
76
87
26.657895
0.805518
0.108095
0
0.204545
0
0
0.150568
0.0125
0
0
0
0
0
1
0.136364
false
0
0.090909
0.022727
0.522727
0
0
0
0
null
0
0
0
0
0
0
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
b0466334014d6fb349350dc8042dae793f5887a6
1,549
py
Python
observations/r/sparrows.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/sparrows.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/sparrows.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def sparrows(path): """Sparrows Weight and wing length for a sample of...
24.983871
71
0.693996
212
1,549
4.938679
0.584906
0.042025
0.045845
0.043935
0.042025
0
0
0
0
0
0
0.009205
0.228535
1,549
61
72
25.393443
0.866946
0.460297
0
0
0
0
0.103666
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.5
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b048081e3b8e2c5e005f80cd7ae15a8091872950
991
py
Python
plenum/test/checkpoints/test_stable_checkpoint1.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
1
2019-03-19T23:44:56.000Z
2019-03-19T23:44:56.000Z
plenum/test/checkpoints/test_stable_checkpoint1.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
1
2019-03-20T14:57:22.000Z
2019-03-20T15:01:55.000Z
plenum/test/checkpoints/test_stable_checkpoint1.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
2
2017-12-13T21:14:54.000Z
2021-06-06T15:48:03.000Z
from stp_core.loop.eventually import eventually from plenum.test import waits from plenum.test.checkpoints.helper import chkChkpoints from plenum.test.delayers import ppDelay from plenum.test.test_node import getPrimaryReplica from plenum.test.helper import sdk_send_random_and_check def test_stable_checkpoint_when_o...
45.045455
110
0.764884
123
991
5.934959
0.430894
0.068493
0.09589
0.043836
0.235616
0.178082
0.178082
0.178082
0.178082
0.178082
0
0.00729
0.169526
991
21
111
47.190476
0.879708
0
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b0499139e9386fa220ecdf9f8d2239cd3046d9d3
11,715
py
Python
django_application/TODO/nugget/migrations/0001_initial.py
mcculloughsco/Nugget
23516fcd2538c9f4fe907334dda334c706686649
[ "Apache-2.0" ]
1
2017-11-05T23:26:29.000Z
2017-11-05T23:26:29.000Z
django_application/TODO/nugget/migrations/0001_initial.py
mcculloughsco/CompSci326TermProject
03623a37fdb0e2235fdf07e23ed764ed5a0d64af
[ "Apache-2.0" ]
3
2020-02-12T00:24:15.000Z
2021-06-10T20:03:37.000Z
django_application/TODO/nugget/migrations/0001_initial.py
mcculloughsco/Nugget
23516fcd2538c9f4fe907334dda334c706686649
[ "Apache-2.0" ]
2
2017-12-18T17:52:57.000Z
2018-03-08T06:42:43.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-03 02:27 from __future__ import unicode_literals import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True depen...
51.157205
294
0.577977
1,178
11,715
5.58489
0.166384
0.100319
0.0608
0.043472
0.525916
0.486852
0.410701
0.338045
0.332117
0.292902
0
0.010882
0.270508
11,715
228
295
51.381579
0.758952
0.005805
0
0.5
1
0.004545
0.203796
0.0073
0
0
0
0
0
1
0
false
0
0.027273
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b049a3acf92238ceb8f4246edb4f7853526e6e8e
5,181
py
Python
crawl.py
nohorjo/Latrodectus
2458f6d2754013a0ae284ec86bed0a6fa6fd27f5
[ "MIT" ]
null
null
null
crawl.py
nohorjo/Latrodectus
2458f6d2754013a0ae284ec86bed0a6fa6fd27f5
[ "MIT" ]
null
null
null
crawl.py
nohorjo/Latrodectus
2458f6d2754013a0ae284ec86bed0a6fa6fd27f5
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 import re import urllib2 import httplib from bs4 import BeautifulSoup import dao import string from threading import Thread import sys import json import traceback import js2py import downloader def getDocSoup(url, cookie=""): try: opener = urllib2.build_opener() opener.add...
31.785276
118
0.523837
517
5,181
5.201161
0.31528
0.017851
0.031238
0.037932
0.234288
0.162142
0.111938
0.08479
0.024544
0.024544
0
0.009943
0.35939
5,181
162
119
31.981481
0.800241
0.008879
0
0.275362
0
0
0.061562
0.006039
0
0
0
0
0
0
null
null
0.014493
0.086957
null
null
0.130435
0
0
0
null
0
0
0
0
0
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
b04f133c0f76210733f3c0e8d95091557a05efc0
1,064
py
Python
dummyRF2.py
TonyWhitley/rFactory
24096fd83c5f4ed989ca4ad3b7e5ceeb886a4dee
[ "MIT" ]
1
2021-03-01T22:19:44.000Z
2021-03-01T22:19:44.000Z
dummyRF2.py
TonyWhitley/rFactory
24096fd83c5f4ed989ca4ad3b7e5ceeb886a4dee
[ "MIT" ]
1
2021-06-02T01:23:45.000Z
2021-06-02T01:23:45.000Z
dummyRF2.py
TonyWhitley/rFactory
24096fd83c5f4ed989ca4ad3b7e5ceeb886a4dee
[ "MIT" ]
1
2020-09-20T11:35:26.000Z
2020-09-20T11:35:26.000Z
import pprint from tkinter import messagebox from edit.editRF2files import readCar, readTrack, readOpponents def dummyRF2(online, settings, _password=None): """ Function that accesses the same data files and dumps what rF2 would do with it """ pp = "This is the result of the 'Dummy_rF2' checkbox on t...
28.756757
109
0.610902
136
1,064
4.691176
0.588235
0.015674
0.009404
0
0
0
0
0
0
0
0
0.007682
0.265977
1,064
36
110
29.555556
0.809219
0.104323
0
0.083333
0
0.041667
0.282818
0
0
0
0
0
0
1
0.041667
false
0.166667
0.125
0
0.208333
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
b04f2ce639debd835eae0e4cb982db31b28aee76
1,539
py
Python
home_logs/accounts/views.py
tsaklidis/LogingAPI
4a77fc3685e6ec369e2a4037a81a3fffcc3056c6
[ "MIT" ]
9
2019-09-27T22:20:40.000Z
2019-11-07T22:16:30.000Z
home_logs/accounts/views.py
tsaklidis/LogingAPI
4a77fc3685e6ec369e2a4037a81a3fffcc3056c6
[ "MIT" ]
null
null
null
home_logs/accounts/views.py
tsaklidis/LogingAPI
4a77fc3685e6ec369e2a4037a81a3fffcc3056c6
[ "MIT" ]
2
2019-09-27T22:20:44.000Z
2019-10-04T08:11:45.000Z
from django.contrib.auth import get_user_model from django.contrib.auth.decorators import login_required, user_passes_test from django.shortcuts import render, get_object_or_404 from home_logs.property.models import House, Space from home_logs.custom_auth.models import Token def allowed(user): CustomUser = get_u...
27.482143
75
0.719948
209
1,539
5.119617
0.244019
0.060748
0.065421
0.078505
0.300935
0.300935
0.239252
0.239252
0.239252
0.239252
0
0.00464
0.159844
1,539
55
76
27.981818
0.822893
0.005198
0
0.285714
0
0
0.109876
0.017659
0
0
0
0
0
1
0.119048
false
0.119048
0.119048
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
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
b051b3851953264d753b92d308ef492c4a880bd6
1,792
py
Python
tools/intogen/runtime/pyenv/lib/python2.7/site-packages/wok/core/utils/sync.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
1
2021-02-05T13:19:58.000Z
2021-02-05T13:19:58.000Z
tools/intogen/runtime/pyenv/lib/python2.7/site-packages/wok/core/utils/sync.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
tools/intogen/runtime/pyenv/lib/python2.7/site-packages/wok/core/utils/sync.py
globusgenomics/galaxy
7caf74d9700057587b3e3434c64e82c5b16540f1
[ "CC-BY-3.0" ]
null
null
null
############################################################################### # # Copyright 2009-2013, Universitat Pompeu Fabra # # This file is part of Wok. # # Wok is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
31.438596
102
0.635045
231
1,792
4.766234
0.493506
0.029064
0.035422
0.051771
0.074478
0.050863
0
0
0
0
0
0.006164
0.185268
1,792
57
103
31.438596
0.747945
0.501116
0
0.08
0
0
0.052334
0
0
0
0
0
0
1
0.24
false
0
0.08
0
0.48
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b053274f5252bcf786847709be5beadd6962e974
267
py
Python
pset_challenging_ext/exercises/solutions/p85.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
5
2019-04-08T20:05:37.000Z
2019-12-04T20:48:45.000Z
pset_challenging_ext/exercises/solutions/p85.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
8
2019-04-15T15:16:05.000Z
2022-02-12T10:33:32.000Z
pset_challenging_ext/exercises/solutions/p84.py
mottaquikarim/pydev-psets
9749e0d216ee0a5c586d0d3013ef481cc21dee27
[ "MIT" ]
2
2019-04-10T00:14:42.000Z
2020-02-26T20:35:21.000Z
""" Please write a program to shuffle and print the list [3,6,7,8]. """ """Question: Please write a program to shuffle and print the list [3,6,7,8]. Hints: Use shuffle() function to shuffle a list. """ from random import shuffle li = [3,6,7,8] shuffle(li) print li
17.8
63
0.689139
50
267
3.68
0.44
0.146739
0.048913
0.065217
0.51087
0.51087
0.51087
0.51087
0.51087
0.51087
0
0.054299
0.172285
267
14
64
19.071429
0.778281
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b0586fdd2b6a24508785214829e80c626bb589e6
2,850
py
Python
tweet_nasne_api.py
stash4/tweet_nasne_api
f8d57750787d5ad0ab320ddc21e81050676cb25f
[ "MIT" ]
null
null
null
tweet_nasne_api.py
stash4/tweet_nasne_api
f8d57750787d5ad0ab320ddc21e81050676cb25f
[ "MIT" ]
null
null
null
tweet_nasne_api.py
stash4/tweet_nasne_api
f8d57750787d5ad0ab320ddc21e81050676cb25f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import json import re import time import twitter import twitterKeys import urllib2 api = twitter.Api(twitterKeys.keys['consumerKey'], twitterKeys.keys['consumerSecret'], twitterKeys.keys['accessToken'], twitterKeys.keys['accessTokenSecret'] ) nasne_ip = "192.168.10.30...
29.081633
152
0.637895
316
2,850
5.629747
0.401899
0.019674
0.035413
0.026981
0.05059
0.026981
0.026981
0
0
0
0
0.026979
0.206667
2,850
97
153
29.381443
0.758514
0.020351
0
0.109589
0
0
0.228202
0.03624
0
0
0
0
0
0
null
null
0
0.082192
null
null
0.013699
0
0
0
null
0
0
0
0
0
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
b0653eaed5ca1acbb46fda135445c3b24215db77
435
py
Python
example/0_Basic_usage_of_the_library/tesserocr/0_hello_world.py
AndersonHJB/learning_spider
b855b7808fb5268e9564180cf73ba5b1fb133f58
[ "MIT" ]
2
2021-09-07T13:28:34.000Z
2021-12-13T06:17:10.000Z
example/0_Basic_usage_of_the_library/tesserocr/0_hello_world.py
AndersonHJB/learning_spider
b855b7808fb5268e9564180cf73ba5b1fb133f58
[ "MIT" ]
null
null
null
example/0_Basic_usage_of_the_library/tesserocr/0_hello_world.py
AndersonHJB/learning_spider
b855b7808fb5268e9564180cf73ba5b1fb133f58
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : 0_hello_world.py @Time : 2020/07/28 17:57:16 @Author : Recluse Xu @Version : 1.0 @Contact : 444640050@qq.com @Desc : tesserocr路径下不能有中文,否则会报错 ''' # here put the import lib import tesserocr from PIL import Image img = Image.open(r'examp...
21.75
89
0.696552
68
435
4.294118
0.794118
0.041096
0.075342
0
0
0
0
0
0
0
0
0.080111
0.167816
435
20
90
21.75
0.726519
0.549425
0
0
0
0
0.363636
0.363636
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b06f053b885d160d9f3de9d954c3146ec1e85709
2,364
py
Python
res/notes/transitions/dradial.py
txgx42/4cade
7f319471e7e03b969c9005d098345714eeb4d730
[ "MIT" ]
74
2019-07-22T14:44:25.000Z
2022-01-20T23:12:26.000Z
res/notes/transitions/dradial.py
txgx42/4cade
7f319471e7e03b969c9005d098345714eeb4d730
[ "MIT" ]
225
2019-07-26T14:12:47.000Z
2022-02-26T01:36:35.000Z
res/notes/transitions/dradial.py
txgx42/4cade
7f319471e7e03b969c9005d098345714eeb4d730
[ "MIT" ]
236
2019-07-22T10:13:08.000Z
2022-02-27T19:06:06.000Z
#!/usr/bin/env python3 from math import sqrt def f(x,r=36.3): try: return sqrt(r*r*(1.0-(x*x/(r*r*0.6)))) except: return -1 coords = [(255,255)] for i in range(300, 0, -1): a = float(i)/10.0 any = False b = f(a) for x in range(40, 0, -1): y = round(x*b/a) if y ...
26.266667
61
0.471235
422
2,364
2.63981
0.177725
0.05386
0.089767
0.050269
0.664273
0.652603
0.635548
0.635548
0.605027
0.605027
0
0.095119
0.324027
2,364
89
62
26.561798
0.602003
0.027073
0
0.615385
0
0
0.178058
0.075751
0
0
0
0
0
1
0.012821
false
0
0.012821
0
0.051282
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
b06f4919b845bcb676572cb25dcac4c4bafdf835
295
py
Python
mysite/myapp/migrations/0005_delete_locationmodel.py
JamesM098/CINS465-FINAL
5635dbdc407412c76b8f03312b224d825c8a6be3
[ "MIT" ]
null
null
null
mysite/myapp/migrations/0005_delete_locationmodel.py
JamesM098/CINS465-FINAL
5635dbdc407412c76b8f03312b224d825c8a6be3
[ "MIT" ]
null
null
null
mysite/myapp/migrations/0005_delete_locationmodel.py
JamesM098/CINS465-FINAL
5635dbdc407412c76b8f03312b224d825c8a6be3
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-07-29 22:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('myapp', '0004_locationmodel'), ] operations = [ migrations.DeleteModel( name='locationModel', ), ]
17.352941
47
0.60339
30
295
5.9
0.8
0
0
0
0
0
0
0
0
0
0
0.090047
0.284746
295
16
48
18.4375
0.748815
0.152542
0
0
1
0
0.145161
0
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c65cc3663078479e0bfe9890e3b4709527e6331a
24,682
py
Python
blesuite/event_handler.py
jreynders/BLESuite-1
1c3c15fc2d4e30c3f9c1a15e0268cae84685784b
[ "MIT" ]
198
2016-08-04T05:45:38.000Z
2022-02-17T08:30:58.000Z
blesuite/event_handler.py
jreynders/BLESuite-1
1c3c15fc2d4e30c3f9c1a15e0268cae84685784b
[ "MIT" ]
13
2018-02-04T14:16:16.000Z
2020-10-09T02:16:24.000Z
blesuite/event_handler.py
jreynders/BLESuite-1
1c3c15fc2d4e30c3f9c1a15e0268cae84685784b
[ "MIT" ]
57
2016-08-08T04:24:04.000Z
2022-01-24T08:43:02.000Z
from blesuite.pybt.gap import GAP import blesuite.pybt.att as att import logging log = logging.getLogger(__name__) # log.addHandler(logging.NullHandler()) class BTEventHandler(object): """ BTEventHandler is a event handling class passed to the BLEConnectionManager in order to have user-controlled callbac...
56.223235
158
0.684466
3,111
24,682
5.268402
0.098039
0.026175
0.020744
0.015619
0.652593
0.605064
0.580842
0.559671
0.547224
0.53978
0
0.001588
0.260109
24,682
439
159
56.223235
0.895904
0.560489
0
0.328671
0
0
0.219275
0
0
0
0
0
0
1
0.132867
false
0.06993
0.020979
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
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
c66ec7ffc2bbdc69b83ec06f0185d6c815d3ca53
1,567
py
Python
tests/test_background.py
thomasvolk/R_ev3dev
53b8c83af49e88eb4766deea0a690c55d1304d6a
[ "Apache-2.0" ]
null
null
null
tests/test_background.py
thomasvolk/R_ev3dev
53b8c83af49e88eb4766deea0a690c55d1304d6a
[ "Apache-2.0" ]
null
null
null
tests/test_background.py
thomasvolk/R_ev3dev
53b8c83af49e88eb4766deea0a690c55d1304d6a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import unittest from R_ev3dev.background import BackgroundRunner, StoppedException, UnknownMessageException, NestedBackgroundError from R_ev3dev import ev3_interpreter from R_ev3dev.ev3 import sound class TestBackgroundRunner(unittest.TestCase): def setUp(self): self.count = 0 ...
30.134615
114
0.677728
188
1,567
5.494681
0.308511
0.052275
0.098742
0.110358
0.24395
0.14908
0.096805
0.096805
0.096805
0.096805
0
0.015523
0.21889
1,567
51
115
30.72549
0.828431
0.013401
0
0.315789
0
0
0.062176
0
0
0
0
0
0.157895
1
0.210526
false
0
0.105263
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
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
c6707edd14e747bfe954dbef1a69fb8b8fc4bd16
747
py
Python
lights/patterns/larson.py
Chris-Johnston/Internet-Xmas-Tree
682a0455fa0dcad8637137d28281ea324663b542
[ "MIT" ]
7
2015-12-24T09:58:36.000Z
2021-12-26T04:52:35.000Z
lights/patterns/larson.py
Chris-Johnston/Internet-Xmas-Tree
682a0455fa0dcad8637137d28281ea324663b542
[ "MIT" ]
null
null
null
lights/patterns/larson.py
Chris-Johnston/Internet-Xmas-Tree
682a0455fa0dcad8637137d28281ea324663b542
[ "MIT" ]
1
2017-12-21T04:55:40.000Z
2017-12-21T04:55:40.000Z
""" "Larson Scanner" pattern """ from .pattern import Pattern import time import math class Larson(Pattern): def __init__(self): super(Pattern, self).__init__() @classmethod def get_id(self): return 6 @classmethod def update(self, strip, state): # set all to color2 ...
27.666667
129
0.603748
103
747
4.291262
0.543689
0.054299
0.040724
0
0
0
0
0
0
0
0
0.029685
0.278447
747
27
130
27.666667
0.790353
0.207497
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.066667
0.533333
0
0
0
0
null
0
0
0
0
0
0
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
c678cd8ba611d1bf6c8e1e97d994d760084a6daa
6,636
py
Python
slam.py
yycho0108/GraphSlam3D
9531cb1720219f5cebd6dc8fbd7ebbe549a53f4a
[ "MIT" ]
8
2019-05-27T08:16:10.000Z
2022-02-02T03:46:17.000Z
slam.py
yycho0108/GraphSlam3D
9531cb1720219f5cebd6dc8fbd7ebbe549a53f4a
[ "MIT" ]
null
null
null
slam.py
yycho0108/GraphSlam3D
9531cb1720219f5cebd6dc8fbd7ebbe549a53f4a
[ "MIT" ]
6
2019-03-23T22:36:03.000Z
2020-12-17T11:17:54.000Z
""" GraphSlam 3D Implementation. TODO : support global initialization (initial pose + landmark estimates) """ import numpy as np from utils import qmath_np def block(ar): """ Convert Block Matrix to Dense Matrix """ ni,nj,nk,nl = ar.shape return np.swapaxes(ar, 1, 2).reshape(ni*nk, nj*nl) def unblock(ar,...
33.346734
101
0.506028
1,027
6,636
3.163583
0.217137
0.077562
0.018467
0.029548
0.386888
0.32964
0.274854
0.250231
0.229301
0.154509
0
0.050057
0.33469
6,636
198
102
33.515152
0.685844
0.281947
0
0.110092
0
0
0.001068
0
0
0
0
0.010101
0
1
0.073395
false
0
0.018349
0
0.146789
0.009174
0
0
0
null
0
0
0
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
c67cb6f9fd42b1883339d416348b44c7282dc2c6
986
py
Python
simpleRead.py
jcocchi/HumiditySensor
f8068e7423810bba90a42df184f229040ed828db
[ "MIT" ]
null
null
null
simpleRead.py
jcocchi/HumiditySensor
f8068e7423810bba90a42df184f229040ed828db
[ "MIT" ]
null
null
null
simpleRead.py
jcocchi/HumiditySensor
f8068e7423810bba90a42df184f229040ed828db
[ "MIT" ]
null
null
null
import time import Adafruit_ADS1x15 # Create the ADC 12 bit instance adc = Adafruit_ADS1x15.ADS1015() # Max reading value for 12 bit instance MAX_READING_VAL = 2047 # Choose a gain depending on what range of voltages you expect # - 2/3 = +/-6.144V # - 1 = +/-4.096V # - 2 = +/-2.048V # - 4 = +/-1.024V # - ...
25.282051
77
0.650101
150
986
4.153333
0.446667
0.057785
0.077047
0.060995
0.083467
0.083467
0
0
0
0
0
0.093112
0.204868
986
38
78
25.947368
0.701531
0.409736
0
0
0
0
0.103873
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.176471
0
0
0
null
0
0
0
0
0
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