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
be53bdad4dbd2be7bd2fdadf7ebb53a9599ae2a1
4,532
py
Python
evmosproto/evmos/vesting/v1/tx_pb2_grpc.py
hanchon-live/evmosproto
141f336cf027a88c5bf227ab49069dd1cf2e4853
[ "MIT" ]
null
null
null
evmosproto/evmos/vesting/v1/tx_pb2_grpc.py
hanchon-live/evmosproto
141f336cf027a88c5bf227ab49069dd1cf2e4853
[ "MIT" ]
null
null
null
evmosproto/evmos/vesting/v1/tx_pb2_grpc.py
hanchon-live/evmosproto
141f336cf027a88c5bf227ab49069dd1cf2e4853
[ "MIT" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from evmosproto.evmos.vesting.v1 import tx_pb2 as evmos_dot_vesting_dot_v1_dot_tx__pb2 class MsgStub(object): """Msg defines the bank Msg service. """ ...
42.754717
135
0.693292
453
4,532
6.573951
0.231788
0.023506
0.06548
0.078576
0.692747
0.66857
0.66857
0.609134
0.575554
0.541974
0
0.00954
0.236761
4,532
105
136
43.161905
0.851402
0.121359
0
0.444444
1
0
0.078914
0.048168
0
0
0
0
0
1
0.083333
false
0
0.027778
0.027778
0.180556
0
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
be5465c6a3e9938a547f9e320d953fbe2eb1235d
2,071
py
Python
t2/primes.py
Macelai/security
935d51610170c0b085de7b83566ee4da3d97b255
[ "MIT" ]
null
null
null
t2/primes.py
Macelai/security
935d51610170c0b085de7b83566ee4da3d97b255
[ "MIT" ]
null
null
null
t2/primes.py
Macelai/security
935d51610170c0b085de7b83566ee4da3d97b255
[ "MIT" ]
null
null
null
import random import time BITS_LENGTH = [40, 56, 80, 128, 168, 224, 256, 512, 1024, 2048, 4096] def lcg(m: int, seed: int = None) -> int: a = 39177369995579819498972128804676596941198511312402174107900118507767888787985319889078498768125726538781142699985438519849879849879867913387985078149715117956575598705232...
23.011111
214
0.526316
272
2,071
3.915441
0.301471
0.00939
0.028169
0.043192
0.033803
0
0
0
0
0
0
0.219675
0.347175
2,071
89
215
23.269663
0.568047
0.012071
0
0.117647
0
0
0.031326
0
0
0
0.00979
0
0
1
0.073529
false
0
0.029412
0.014706
0.191176
0.058824
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
be551ba7a1a07aad78f74733fcd308fa4927fe7d
3,178
py
Python
EncryptedIM.py
yuankaiz/pythonIM
fe8fc03eb3312de9f9e88d64516beb2fabafd719
[ "Apache-2.0" ]
null
null
null
EncryptedIM.py
yuankaiz/pythonIM
fe8fc03eb3312de9f9e88d64516beb2fabafd719
[ "Apache-2.0" ]
null
null
null
EncryptedIM.py
yuankaiz/pythonIM
fe8fc03eb3312de9f9e88d64516beb2fabafd719
[ "Apache-2.0" ]
null
null
null
def pad(s): return s + (32 - len(s)%32) * chr(32 - len(s)%32) def unpad(s): return s[:-ord(s[-1])] def toBytes(s): return bytearray([ord(c) for c in s]) class ChatBase(object): def __init__(self, s, args): self.s = s self.ck = SHA256.new(toBytes(args.ckey)).digest() self.ak = ...
29.425926
115
0.535242
390
3,178
4.274359
0.333333
0.023995
0.040792
0.009598
0.026395
0.026395
0.026395
0
0
0
0
0.024182
0.336375
3,178
107
116
29.700935
0.76624
0
0
0.115789
0
0
0.063877
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.063158
0
0
0
null
0
0
0
0
0
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
be560e88f18b339115f5e3576b845cd5e116b64f
6,614
py
Python
orc8r/gateway/python/magma/common/redis/mocks/mock_redis.py
idoshveki/magma
8022267bd8b8d94913fbb9a0836880361d785446
[ "BSD-3-Clause" ]
2
2020-11-05T18:58:26.000Z
2021-02-09T06:42:49.000Z
orc8r/gateway/python/magma/common/redis/mocks/mock_redis.py
idoshveki/magma
8022267bd8b8d94913fbb9a0836880361d785446
[ "BSD-3-Clause" ]
10
2021-03-31T20:19:00.000Z
2022-02-19T07:09:57.000Z
orc8r/gateway/python/magma/common/redis/mocks/mock_redis.py
119Vik/magma-1
107a7b374466a837fc0a49b283ba9d6ff1d702e3
[ "BSD-3-Clause" ]
3
2020-08-20T18:45:34.000Z
2020-08-20T20:18:42.000Z
""" Copyright (c) 2016-present, Facebook, Inc. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory. """ import re from redis.excepti...
27.330579
75
0.577563
784
6,614
4.795918
0.183673
0.057447
0.075798
0.095745
0.580585
0.522872
0.307447
0.236968
0.218883
0.218883
0
0.003464
0.301633
6,614
241
76
27.443983
0.810565
0.189295
0
0.507353
0
0
0.050967
0
0
0
0
0
0
1
0.301471
false
0.014706
0.014706
0.007353
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
be59a92879f101e9819343c329fd13994a0b230a
401
py
Python
bot/migrations/0004_botusers_user_contact.py
AsilbekT/new_tel_bot
716b3075c403a1530fd9bc5a605aa349cd846ad8
[ "Apache-2.0" ]
null
null
null
bot/migrations/0004_botusers_user_contact.py
AsilbekT/new_tel_bot
716b3075c403a1530fd9bc5a605aa349cd846ad8
[ "Apache-2.0" ]
null
null
null
bot/migrations/0004_botusers_user_contact.py
AsilbekT/new_tel_bot
716b3075c403a1530fd9bc5a605aa349cd846ad8
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-30 18:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bot', '0003_botusers_user_lang'), ] operations = [ migrations.AddField( model_name='botusers', name='user_contact', ...
21.105263
63
0.605985
45
401
5.266667
0.8
0
0
0
0
0
0
0
0
0
0
0.076125
0.279302
401
18
64
22.277778
0.743945
0.112219
0
0
1
0
0.129944
0.064972
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
be5b87dbfc736cba167068af428fa69341a0ab84
3,434
py
Python
examples/basic/graphics/gobjects_basic.py
TristenSeth/campy
9e726c342d682239e1c19e6f5645c0b2167d7fab
[ "MIT" ]
5
2018-12-03T19:18:50.000Z
2021-05-31T07:17:06.000Z
examples/basic/graphics/gobjects_basic.py
TristenSeth/campy
9e726c342d682239e1c19e6f5645c0b2167d7fab
[ "MIT" ]
1
2020-02-13T20:56:05.000Z
2020-02-19T18:32:56.000Z
examples/basic/graphics/gobjects_basic.py
TristenSeth/campy
9e726c342d682239e1c19e6f5645c0b2167d7fab
[ "MIT" ]
1
2017-06-06T07:29:07.000Z
2017-06-06T07:29:07.000Z
#!/usr/bin/env python3 -tt """ File: gobjects.py ------------------------- This example program illustrates the use of the Python graphics library. """ from campy.graphics.gwindow import * from campy.graphics.gtypes import * from campy.graphics.gobjects import * # from campy.graphics.gsounds import * # from...
17.17
73
0.673267
442
3,434
5.217195
0.325792
0.242411
0.098873
0.08673
0
0
0
0
0
0
0
0.04854
0.172103
3,434
199
74
17.256281
0.762575
0.421083
0
0.285714
0
0
0.078443
0.015108
0
0
0.013945
0.005025
0
1
0
false
0
0.042857
0
0.042857
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
be6315f50b893c5666dd26a57302b18e44333ef1
783
py
Python
lord-overload/kafka-python-integration.py
ronnielivingsince1994/kafka-python-mongodb
bfd2e14ca26f1bcc34227f18acf6d7b430c4f987
[ "Apache-2.0" ]
null
null
null
lord-overload/kafka-python-integration.py
ronnielivingsince1994/kafka-python-mongodb
bfd2e14ca26f1bcc34227f18acf6d7b430c4f987
[ "Apache-2.0" ]
null
null
null
lord-overload/kafka-python-integration.py
ronnielivingsince1994/kafka-python-mongodb
bfd2e14ca26f1bcc34227f18acf6d7b430c4f987
[ "Apache-2.0" ]
null
null
null
import os import csv from json import dumps from time import sleep from kafka import KafkaProducer #Changing default working directory os.chdir("C:/Users/AYUSH/Desktop/Ronnie/kafka_2.12-2.1.0/lord-overload") #Creating producer object; Lamba function used to serialize the data and encode it to utf-8 format producer = ...
30.115385
114
0.729246
117
783
4.854701
0.641026
0.06338
0
0
0
0
0
0
0
0
0
0.019847
0.163474
783
25
115
31.32
0.847328
0.325671
0
0
0
0.071429
0.209213
0.115163
0
0
0
0
0
1
0
false
0
0.357143
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
0
1
0
0
0
0
1
be632e260c8c497d28871c611d12ca72454100e4
2,674
py
Python
project1/routes.py
ChristianCastr0/CMPE172-StorageBox
d1d13558aa6d48e3a180e6f209138fc316d01720
[ "MIT" ]
null
null
null
project1/routes.py
ChristianCastr0/CMPE172-StorageBox
d1d13558aa6d48e3a180e6f209138fc316d01720
[ "MIT" ]
1
2021-06-02T00:34:59.000Z
2021-06-02T00:34:59.000Z
project1/routes.py
ChristianCastr0/CMPE172-StorageBox
d1d13558aa6d48e3a180e6f209138fc316d01720
[ "MIT" ]
null
null
null
from flask import render_template, url_for, flash, redirect, request import cgi from project1 import app, db, bcrypt from project1.models import User, File from project1.forms import RegistrationForm, LoginForm from flask_login import login_user, logout_user,current_user from project1.s3 import S3 from werkzeug.utils i...
35.653333
131
0.666417
339
2,674
5.097345
0.262537
0.024306
0.059028
0.069444
0.209491
0.101852
0.064815
0.064815
0.064815
0.064815
0
0.005615
0.200823
2,674
74
132
36.135135
0.802995
0.049738
0
0.163934
0
0
0.094994
0
0
0
0
0
0
1
0.098361
false
0.065574
0.131148
0.032787
0.393443
0.081967
0
0
0
null
0
0
0
0
0
0
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
be648512a2d9bd12b8ef1368283ff82d27c8bdd8
465
py
Python
backend/account_request/migrations/0014_auto_20200213_1945.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
null
null
null
backend/account_request/migrations/0014_auto_20200213_1945.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
2
2020-02-11T15:45:51.000Z
2020-07-17T16:47:06.000Z
backend/account_request/migrations/0014_auto_20200213_1945.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-02-13 19:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('account_request', '0013_auto_20190603_1712'), ] operations = [ migrations.AlterField( model_name='accountrequest', n...
23.25
67
0.627957
49
465
5.795918
0.836735
0
0
0
0
0
0
0
0
0
0
0.117647
0.268817
465
19
68
24.473684
0.717647
0.096774
0
0
1
0
0.162679
0.055024
0
0
0
0
0
1
0
false
0
0.076923
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
be6aa9bd9c1419c0b609f2c0fa4a14ddc0ac4681
3,461
py
Python
hook.py
santiagax99/d1.py
e6b062775d6e2f78f2ae545b3b466c20f7621b35
[ "Unlicense" ]
1
2021-02-26T22:59:24.000Z
2021-02-26T22:59:24.000Z
hook.py
santiagax99/d1.py
e6b062775d6e2f78f2ae545b3b466c20f7621b35
[ "Unlicense" ]
null
null
null
hook.py
santiagax99/d1.py
e6b062775d6e2f78f2ae545b3b466c20f7621b35
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python2 # Process hooking functions. # TODO: update to Python 3 when LLDB supports Python 3. import lldb import logging import psutil def find_pid(exe_name): ''' Locate the process ID of the executable. exe_name -- executable name. ''' for p in psutil.process_iter(): if p.name() == exe_name:...
19.890805
98
0.663103
511
3,461
4.373777
0.246575
0.059508
0.039374
0.025056
0.251454
0.162864
0.139597
0.139597
0.085011
0.085011
0
0.005106
0.207743
3,461
173
99
20.00578
0.809993
0.33603
0
0.144928
0
0
0.138655
0
0
0
0
0.017341
0.014493
1
0.15942
false
0
0.043478
0
0.362319
0.028986
0
0
0
null
0
0
0
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
be6aac7bc7bb17da7f675d931da5a2a813ce2201
388
py
Python
Python3_Mundo1_Aula10/Desafio028a.py
AgladeJesus/python
16e4e5cc43aa987858a4719748708d6d5327d75d
[ "MIT" ]
null
null
null
Python3_Mundo1_Aula10/Desafio028a.py
AgladeJesus/python
16e4e5cc43aa987858a4719748708d6d5327d75d
[ "MIT" ]
null
null
null
Python3_Mundo1_Aula10/Desafio028a.py
AgladeJesus/python
16e4e5cc43aa987858a4719748708d6d5327d75d
[ "MIT" ]
null
null
null
from random import randint from time import sleep rdpc = randint(0, 5) print('-=-' * 20) print('Vou pensar em um número entre 0 e 5. Tente descobrir...') print('-=-' * 20) nm = int(input('Em qual número eu pensei? ')) print('PROCESSANDO...') sleep(2) if nm == rdpc: print('PARABÉNS, VOCÊ ACETOU!') else: print(...
25.866667
78
0.646907
62
388
4.048387
0.629032
0.055777
0
0
0
0
0
0
0
0
0
0.028213
0.177835
388
15
78
25.866667
0.758621
0
0
0.153846
0
0
0.439589
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.461538
0
0
0
null
0
0
0
0
0
0
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
be71a86addfe7ee5cd6418815e7dcc6cdfbcfddf
451
py
Python
main/migrations/0010_auto_20190312_1437.py
Magssch/Eventify
f051c98697c21ad341c1511462a48e0f8f0e33d6
[ "MIT" ]
null
null
null
main/migrations/0010_auto_20190312_1437.py
Magssch/Eventify
f051c98697c21ad341c1511462a48e0f8f0e33d6
[ "MIT" ]
null
null
null
main/migrations/0010_auto_20190312_1437.py
Magssch/Eventify
f051c98697c21ad341c1511462a48e0f8f0e33d6
[ "MIT" ]
null
null
null
# Generated by Django 2.1.5 on 2019-03-12 13:37 from django.conf import settings from django.db import migrations class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('main', '0009_auto_20190312_1413'), ] operations = [ ...
22.55
66
0.643016
48
451
5.895833
0.791667
0.070671
0
0
0
0
0
0
0
0
0
0.091176
0.24612
451
19
67
23.736842
0.741176
0.099778
0
0
1
0
0.108911
0.056931
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
be7c674a02943aebe20e8d1d67ccb70f63964140
289
py
Python
svec/__init__.py
kodo-pp/svec
831e0a9b82bfaaffb5e29a6320eaf951be5d4027
[ "MIT" ]
null
null
null
svec/__init__.py
kodo-pp/svec
831e0a9b82bfaaffb5e29a6320eaf951be5d4027
[ "MIT" ]
null
null
null
svec/__init__.py
kodo-pp/svec
831e0a9b82bfaaffb5e29a6320eaf951be5d4027
[ "MIT" ]
null
null
null
"""A simple 2D vector manipulation library Classes: Point2d -- represents a point (coordinates) on a 2D plane Vector2d -- represents a vector (change of coordinates) on a 2D plane """ from svec.point2d import Point2d from svec.vector2d import Vector2d __all__ = ('Point2d', 'Vector2d')
24.083333
69
0.757785
40
289
5.375
0.5
0.102326
0.130233
0.148837
0.195349
0
0
0
0
0
0
0.045082
0.155709
289
11
70
26.272727
0.836066
0.612457
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.666667
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
be8928abc50e89341cef3b2db960a722e2268e0b
5,499
py
Python
postgres/import_assets.py
blckchnd/bitshares-python-api-backend
1bd95a0734df0d2109ca43618144b89f6adca96b
[ "MIT" ]
null
null
null
postgres/import_assets.py
blckchnd/bitshares-python-api-backend
1bd95a0734df0d2109ca43618144b89f6adca96b
[ "MIT" ]
null
null
null
postgres/import_assets.py
blckchnd/bitshares-python-api-backend
1bd95a0734df0d2109ca43618144b89f6adca96b
[ "MIT" ]
1
2020-06-27T10:08:22.000Z
2020-06-27T10:08:22.000Z
from websocket import create_connection import time import json import urllib import psycopg2 # config websocket_url = "ws://127.0.0.1:8090/ws" postgres_host = 'localhost' postgres_database = 'explorer' postgres_username = 'postgres' postgres_password = 'posta' # end config ws = create_connection(we...
29.724324
297
0.583015
700
5,499
4.5
0.228571
0.053651
0.052381
0.045714
0.445714
0.371111
0.340952
0.28381
0.183492
0.183492
0
0.039125
0.251682
5,499
184
298
29.88587
0.726367
0.10311
0
0.46087
0
0.043478
0.304482
0.018768
0
0
0
0
0
0
null
null
0.017391
0.043478
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
be897111fa8655b0265c11b13fe5d8cf7652a2fd
409
py
Python
setup.py
heathcliff233/pldpr
3d46a90e7979554198ddada1ba78b17353afb4e5
[ "Apache-2.0" ]
null
null
null
setup.py
heathcliff233/pldpr
3d46a90e7979554198ddada1ba78b17353afb4e5
[ "Apache-2.0" ]
null
null
null
setup.py
heathcliff233/pldpr
3d46a90e7979554198ddada1ba78b17353afb4e5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='DPR_pl', version='0.0.1', description='Amino acid sequences retieval', author='Bright Hong', author_email='brighthong233@gmail.com', # REPLACE WITH YOUR OWN GITHUB PROJECT LINK url='https://github.com/heathcliff...
24.058824
49
0.701711
51
409
5.529412
0.843137
0.085106
0
0
0
0
0
0
0
0
0
0.026393
0.166259
409
16
50
25.5625
0.800587
0.151589
0
0
0
0
0.375
0.06686
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
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
be8d6b5dbeaffba5df692d0df98033a721207b2f
4,339
py
Python
python/sqlcommenter-python/google/cloud/sqlcommenter/django/middleware.py
geonu/sqlcommenter
c6340f1f19a02c436679f3ef5ad348c86907341c
[ "Apache-2.0" ]
null
null
null
python/sqlcommenter-python/google/cloud/sqlcommenter/django/middleware.py
geonu/sqlcommenter
c6340f1f19a02c436679f3ef5ad348c86907341c
[ "Apache-2.0" ]
null
null
null
python/sqlcommenter-python/google/cloud/sqlcommenter/django/middleware.py
geonu/sqlcommenter
c6340f1f19a02c436679f3ef5ad348c86907341c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # # Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
45.673684
111
0.714681
543
4,339
5.504604
0.338858
0.048177
0.039813
0.058548
0.209769
0.162931
0.049515
0.049515
0.049515
0.049515
0
0.005245
0.209034
4,339
94
112
46.159574
0.865676
0.334639
0
0
0
0
0.119845
0.087769
0
0
0
0.010638
0
1
0.086957
false
0
0.152174
0
0.326087
0
0
0
0
null
0
0
0
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
be8e3f9171f4ec5c024c29e83947e1bd7e41e8aa
12,902
py
Python
backbone/mains-dataset_wise_structural/main_cremad_female.py
Karawalaya/Stress-Detection-Through-Speech-Emotion-Recognition
e1ffdb3258bf08806fbc71f35ce3a1187f716e63
[ "MIT" ]
null
null
null
backbone/mains-dataset_wise_structural/main_cremad_female.py
Karawalaya/Stress-Detection-Through-Speech-Emotion-Recognition
e1ffdb3258bf08806fbc71f35ce3a1187f716e63
[ "MIT" ]
null
null
null
backbone/mains-dataset_wise_structural/main_cremad_female.py
Karawalaya/Stress-Detection-Through-Speech-Emotion-Recognition
e1ffdb3258bf08806fbc71f35ce3a1187f716e63
[ "MIT" ]
null
null
null
import backbone.support.configurations_variables as confv import backbone.support.data_loading as dl import backbone.support.data_analysis as da import backbone.support.data_cleaning as dc import backbone.support.configuration_classes as confc import backbone.support.saving_loading as sl import backbone.support.plots_a...
74.149425
280
0.74128
1,740
12,902
5.241379
0.124713
0.049452
0.076425
0.103399
0.729167
0.673904
0.620285
0.605373
0.57511
0.565351
0
0.001905
0.064409
12,902
173
281
74.578035
0.753624
0.011316
0
0
0
0.011765
0.250119
0.133652
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.447059
0
0
0
null
0
0
0
0
0
0
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
be978483086e35d7ef796396cad97c95a0f4afec
4,522
py
Python
preprocessing/seqExtraction.py
doaa-altarawy/Expresso
b2ff5d6101fbea3b4673f140af2acacdb81a80c7
[ "MIT" ]
2
2018-08-09T20:39:50.000Z
2020-03-12T14:40:41.000Z
preprocessing/seqExtraction.py
doaa-altarawy/Expresso
b2ff5d6101fbea3b4673f140af2acacdb81a80c7
[ "MIT" ]
null
null
null
preprocessing/seqExtraction.py
doaa-altarawy/Expresso
b2ff5d6101fbea3b4673f140af2acacdb81a80c7
[ "MIT" ]
1
2019-06-13T08:05:06.000Z
2019-06-13T08:05:06.000Z
import math import sys args = sys.argv[1:] #x = args[0] #*.fa file #y1 = args[1] #start position #y2 = args[2] # end position #o = args[3] #seq in the start and end position y = args[0] # input file o = args[1] o_fa = args[2] #fa_files = ['Glycine_max.V1.0.18.dna.chromosome.Gm01.fa','Glycine_max.V1.0.18.dna.chromoso...
32.070922
913
0.64927
741
4,522
3.790823
0.187584
0.124956
0.08544
0.09256
0.369883
0.363119
0.334639
0.234959
0.03204
0.03204
0
0.10652
0.175807
4,522
140
914
32.3
0.647169
0.426802
0
0.029851
0
0
0.119953
0.098001
0
0
0
0
0
0
null
null
0
0.029851
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
be99fac886e1290edd66242235b53ead05e4dc9a
6,536
py
Python
controllers/api/api_event_controller.py
josephbisch/the-blue-alliance
49bf95d0fb334fcf11d0704d892a2d91863cca71
[ "MIT" ]
null
null
null
controllers/api/api_event_controller.py
josephbisch/the-blue-alliance
49bf95d0fb334fcf11d0704d892a2d91863cca71
[ "MIT" ]
null
null
null
controllers/api/api_event_controller.py
josephbisch/the-blue-alliance
49bf95d0fb334fcf11d0704d892a2d91863cca71
[ "MIT" ]
null
null
null
import json import logging import webapp2 from datetime import datetime from google.appengine.ext import ndb from controllers.api.api_base_controller import ApiBaseController from database.event_query import EventListQuery from helpers.award_helper import AwardHelper from helpers.district_helper import DistrictHelp...
33.177665
116
0.706089
823
6,536
5.207776
0.144593
0.093327
0.069995
0.063462
0.571862
0.497667
0.409939
0.409939
0.388474
0.381241
0
0.010972
0.191248
6,536
196
117
33.346939
0.799849
0.01377
0
0.407407
0
0
0.067889
0.043188
0
0
0
0
0
1
0.2
false
0
0.081481
0.014815
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
be9d52bf5f0a12389bcf09dd6d9264e9b86ea007
2,185
py
Python
mydealz_spider.py
feliche93/mydealz
b5b2428b675a0bf63b27929b38a2f0514bc8a20d
[ "MIT" ]
3
2020-09-24T21:03:10.000Z
2022-01-07T07:28:13.000Z
mydealz_spider.py
feliche93/mydealz
b5b2428b675a0bf63b27929b38a2f0514bc8a20d
[ "MIT" ]
null
null
null
mydealz_spider.py
feliche93/mydealz
b5b2428b675a0bf63b27929b38a2f0514bc8a20d
[ "MIT" ]
1
2020-09-24T21:03:13.000Z
2020-09-24T21:03:13.000Z
import scrapy class MyDealzSpider(scrapy.Spider): name = 'mydealz' def start_requests(self): urls = ('https://www.mydealz.de/deals?page={}'.format(i) for i in range(0,1000)) for url in urls: yield scrapy.Request(url=url, callback=self.parse) def parse...
62.428571
187
0.632494
298
2,185
4.573826
0.372483
0.104916
0.099046
0.046955
0.24945
0.24945
0.24945
0.212766
0.115921
0.063096
0
0.012842
0.18032
2,185
34
188
64.264706
0.748185
0.099771
0
0
0
0.230769
0.419256
0.342843
0
0
0
0
0
1
0.115385
false
0
0.038462
0
0.230769
0
0
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
bea5a1ae158690ce0163e7c892cfb172d9b3b0e5
1,590
py
Python
appengine/monorail/proto/usergroup_pb2.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
1
2018-01-02T05:47:07.000Z
2018-01-02T05:47:07.000Z
appengine/monorail/proto/usergroup_pb2.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
appengine/monorail/proto/usergroup_pb2.py
mithro/chromium-infra
d27ac0b230bedae4bc968515b02927cf9e17c2b7
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is govered by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd """Protocol buffers for Monorail usergroups.""" from protorpc import messages class MemberVis...
33.829787
78
0.755346
219
1,590
5.296804
0.488584
0.031034
0.051724
0.058621
0.034483
0
0
0
0
0
0
0.014903
0.155975
1,590
46
79
34.565217
0.849478
0.323899
0
0
0
0
0
0
0
0
0
0.021739
0
1
0.038462
false
0
0.038462
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bea5d4d5587fda65eadd419a2e2b929d88eef0a2
956
py
Python
middlewares/check_ban_middleware.py
DavidRomanovizc/DatingBot
a0bd149919059a56674ecab894b176936d09f56b
[ "Apache-2.0" ]
12
2021-10-20T16:05:02.000Z
2022-03-22T14:20:30.000Z
middlewares/check_ban_middleware.py
DavidRomanovizc/DatingBot
a0bd149919059a56674ecab894b176936d09f56b
[ "Apache-2.0" ]
17
2021-11-02T20:33:14.000Z
2022-03-17T11:45:24.000Z
middlewares/check_ban_middleware.py
DavidRomanovizc/DatingBot
a0bd149919059a56674ecab894b176936d09f56b
[ "Apache-2.0" ]
7
2021-09-25T20:19:17.000Z
2022-02-20T09:31:41.000Z
# мы не знаем, что это такое @mroshalom from aiogram.dispatcher.handler import CancelHandler, current_handler from aiogram.dispatcher.middlewares import BaseMiddleware from aiogram import types class CheckBan(BaseMiddleware): allowed_updates = ["callback_query", "message"] async def trigger(self, action, arg...
28.969697
82
0.625523
106
956
5.584906
0.54717
0.055743
0.070946
0
0
0
0
0
0
0
0
0
0.298117
956
32
83
29.875
0.882265
0.038703
0
0.166667
0
0
0.065431
0
0
0
0
0
0
0
null
null
0
0.125
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
beab9791d4b8203fac5c44d4b7e25d205d9a34e4
285
py
Python
back/batimap/taskdto.py
bagage/batimap
14b9454de581ebbf9c784ce59f643a91cf37d252
[ "MIT" ]
null
null
null
back/batimap/taskdto.py
bagage/batimap
14b9454de581ebbf9c784ce59f643a91cf37d252
[ "MIT" ]
2
2020-06-07T08:04:25.000Z
2021-03-31T09:50:20.000Z
back/batimap/taskdto.py
bagage/batimap
14b9454de581ebbf9c784ce59f643a91cf37d252
[ "MIT" ]
2
2020-11-04T05:54:45.000Z
2021-03-31T09:45:35.000Z
class TaskDTO: task_id = None name = None args = None running = None def __init__(self, task): self.task_id = task["id"] self.name = task["name"].split(".")[-1] self.args = task["args"] self.running = task["time_start"] is not None
23.75
53
0.554386
38
285
3.973684
0.447368
0.119205
0
0
0
0
0
0
0
0
0
0.005
0.298246
285
11
54
25.909091
0.75
0
0
0
0
0
0.073684
0
0
0
0
0
0
1
0.1
false
0
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
beabf5f2cd6c603a62784dced399e743010ecce9
1,632
py
Python
tests/test_list_slicing.py
koodaa-team/redis-natives-py
dbe3ee65527a7a1b0b1dc35ae968588635732718
[ "MIT" ]
1
2022-02-17T20:02:51.000Z
2022-02-17T20:02:51.000Z
tests/test_list_slicing.py
koodaa-team/redis-natives-py
dbe3ee65527a7a1b0b1dc35ae968588635732718
[ "MIT" ]
null
null
null
tests/test_list_slicing.py
koodaa-team/redis-natives-py
dbe3ee65527a7a1b0b1dc35ae968588635732718
[ "MIT" ]
null
null
null
from redis import Redis from redis_natives import List from tests import RedisWrapper class TestListSlicing(object): def setup_method(self, method): self.redis = RedisWrapper(Redis()) self.redis.flushdb() self.test_key = 'test_key' self.list = List(self.redis, self.test_key) ...
29.672727
66
0.598652
251
1,632
3.601594
0.151394
0.19469
0.170354
0.11615
0.549779
0.519912
0.405973
0.405973
0.299779
0.234513
0
0.044391
0.240809
1,632
54
67
30.222222
0.68523
0
0
0
0
0
0.025123
0
0
0
0
0
0.268293
1
0.292683
false
0
0.073171
0
0.390244
0
0
0
0
null
0
0
0
0
0
0
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
beb4cf698f50317d80cd49e3ca8eb935b0c6b2d0
19,320
py
Python
pandapower/convert_format.py
HDApowersystems/pandapower
17ab257eedfd5c0088127e6308ec8431674d6462
[ "BSD-3-Clause" ]
1
2022-01-06T13:35:52.000Z
2022-01-06T13:35:52.000Z
pandapower/convert_format.py
xinyingking/pandapower
d5925a05280ce7cfcf5e56a6755fb0a8780f6c77
[ "BSD-3-Clause" ]
null
null
null
pandapower/convert_format.py
xinyingking/pandapower
d5925a05280ce7cfcf5e56a6755fb0a8780f6c77
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2016-2022 by University of Kassel and Fraunhofer Institute for Energy Economics # and Energy System Technology (IEE), Kassel. All rights reserved. import numpy as np import pandas as pd from packaging import version from pandapower import __version__ from pandapower....
44.825986
101
0.611542
2,428
19,320
4.566722
0.130148
0.08658
0.181818
0.09145
0.516144
0.449134
0.401425
0.361111
0.309253
0.213294
0
0.008479
0.27971
19,320
430
102
44.930233
0.788301
0.03913
0
0.184971
0
0
0.095581
0.001163
0
0
0
0
0
1
0.052023
false
0
0.028902
0
0.095376
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
beb8e1c7a2a60a8f9c49d0a489d4855ccef48e34
5,740
py
Python
src/pacientes/models.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
null
null
null
src/pacientes/models.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
32
2016-05-09T19:37:08.000Z
2022-01-13T01:00:52.000Z
src/pacientes/models.py
mava-ar/sgk
cb8b3abf243b4614e6a45e4e2db5bb7cce94dee4
[ "Apache-2.0" ]
null
null
null
from functools import partial from django.db import models from model_utils.managers import InheritanceManager from coberturas_medicas.models import Cobertura from core.models import Persona, Profesional from dj_utils.mixins import ShowInfoMixin from dj_utils.models import BaseModel, uploadTenantFilename class Pac...
37.272727
115
0.711672
606
5,740
6.556106
0.282178
0.047068
0.024667
0.031714
0.233325
0.192801
0.090612
0.074
0
0
0
0.000859
0.189024
5,740
153
116
37.51634
0.852632
0.066725
0
0.21875
0
0
0.181404
0.013093
0
0
0
0
0
1
0.083333
false
0
0.09375
0.0625
0.760417
0
0
0
0
null
0
0
0
0
0
0
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
beb91877bbd4bdec722d181f207938d8269163f6
3,217
py
Python
tests/test_utils.py
francois-vincent/clingon
9003314f49979d593a48ff7d0288f62aff8e3872
[ "BSD-3-Clause" ]
3
2015-03-27T14:27:59.000Z
2015-06-05T10:42:38.000Z
tests/test_utils.py
francois-vincent/clingon
9003314f49979d593a48ff7d0288f62aff8e3872
[ "BSD-3-Clause" ]
4
2015-04-27T14:36:12.000Z
2016-07-20T08:23:21.000Z
tests/test_utils.py
francois-vincent/clingon
9003314f49979d593a48ff7d0288f62aff8e3872
[ "BSD-3-Clause" ]
1
2018-03-04T18:16:08.000Z
2018-03-04T18:16:08.000Z
# -*- coding: utf-8 -*- try: # for py26 import unittest2 as unittest except ImportError: import unittest from . import captured_output from clingon.utils import AreYouSure class TestAreYouSure(unittest.TestCase): def test_default_single(self): ays = AreYouSure() with captured_output...
37.406977
96
0.593099
385
3,217
4.862338
0.168831
0.081197
0.118056
0.128205
0.732906
0.688568
0.613782
0.613782
0.54594
0.501068
0
0.001659
0.250544
3,217
85
97
37.847059
0.774782
0.009325
0
0.457143
0
0
0.130025
0.070352
0
0
0
0
0.471429
1
0.1
false
0
0.071429
0
0.185714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
beba8479d9c384edd447805feb82db1ec1398ad6
662
py
Python
sbibm/algorithms/pytorch/baseline_prior.py
michaeldeistler/sbibm-1
8e9875f79beb828c07fbf4820b30413914d1ceca
[ "MIT" ]
2
2021-05-06T06:19:27.000Z
2022-02-20T19:49:55.000Z
sbibm/algorithms/pytorch/baseline_prior.py
mackelab/sbibm
b9781c610a1a80d2de014ee46a29cf061fb6074a
[ "MIT" ]
null
null
null
sbibm/algorithms/pytorch/baseline_prior.py
mackelab/sbibm
b9781c610a1a80d2de014ee46a29cf061fb6074a
[ "MIT" ]
1
2022-01-23T15:54:06.000Z
2022-01-23T15:54:06.000Z
from typing import Any import torch import sbibm from sbibm.tasks.task import Task def run( task: Task, num_samples: int, **kwargs: Any, ) -> torch.Tensor: """Random samples from prior as baseline Args: task: Task instance num_samples: Number of samples to generate from posterio...
20.6875
109
0.652568
88
662
4.772727
0.545455
0.095238
0.080952
0.104762
0
0
0
0
0
0
0
0
0.273414
662
31
110
21.354839
0.873181
0.256798
0
0
0
0
0.238612
0
0
0
0
0
0
1
0.0625
false
0.0625
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
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
beba9303e398576e8d7f4fb99c4a545b88bee33b
2,335
py
Python
NCAAM 2017.py
RyanAugust/pyprojects
d27832b013e96cd8bb8f9aa39353486fa7bb65be
[ "MIT" ]
null
null
null
NCAAM 2017.py
RyanAugust/pyprojects
d27832b013e96cd8bb8f9aa39353486fa7bb65be
[ "MIT" ]
null
null
null
NCAAM 2017.py
RyanAugust/pyprojects
d27832b013e96cd8bb8f9aa39353486fa7bb65be
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup import requests import csv from os.path import expanduser home = expanduser("~") os.mkdir('{home}/Downloads/NCAAM 2017'.format(home=home)) def gather_schools() schools_page = BeautifulSoup(requests.get('http://www.sports-reference.com/cbb/seasons/2017-school-stats.html').text, 'html') ...
40.964912
126
0.484368
250
2,335
4.428
0.416
0.02439
0.03252
0.039747
0.168022
0.168022
0.168022
0.168022
0.168022
0.074074
0
0.02011
0.297216
2,335
57
127
40.964912
0.654479
0
0
0
0
0.04
0.177226
0.018836
0
0
0
0
0
0
null
null
0.02
0.08
null
null
0.02
0
0
0
null
0
0
0
0
0
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
bebc63087c22384c8ee13dee2dcba286383ad1b6
3,955
py
Python
lib/core/standard/coinbase.py
tuaris/TidePool
5d44fa11a7de3f5c05130d0ad4030671806cd501
[ "BSD-3-Clause" ]
3
2018-06-30T12:10:50.000Z
2021-09-18T16:10:12.000Z
lib/core/standard/coinbase.py
tuaris/TidePool
5d44fa11a7de3f5c05130d0ad4030671806cd501
[ "BSD-3-Clause" ]
null
null
null
lib/core/standard/coinbase.py
tuaris/TidePool
5d44fa11a7de3f5c05130d0ad4030671806cd501
[ "BSD-3-Clause" ]
9
2017-04-12T22:59:49.000Z
2021-09-18T16:10:25.000Z
import binascii import lib.util as util from transaction import CTxIn, CTxOut import lib.logger log = lib.logger.get_logger('coinbase') # Basic Coinbase with single input and single output class Coinbase(object): '''Construct special transaction used for coinbase tx. It also implements quick serialization using pr...
31.895161
198
0.751707
503
3,955
5.741551
0.266402
0.067867
0.051939
0.019391
0.090374
0
0
0
0
0
0
0.005908
0.144121
3,955
124
199
31.895161
0.847267
0.131732
0
0.026316
0
0
0.12028
0
0
0
0
0
0
0
null
null
0
0.052632
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
bebdbdc7a04731ef09bf13f2f1539dcefc99a73b
1,447
py
Python
cma_es/cma_es_interface.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
cma_es/cma_es_interface.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
cma_es/cma_es_interface.py
rimmartin/cctbx_project
644090f9432d9afc22cfb542fc3ab78ca8e15e5d
[ "BSD-3-Clause-LBNL" ]
null
null
null
from __future__ import division from scitbx.array_family import flex from cma_es import cma_es class cma_es_driver(object): """ This object provides one with a easy interface to cma_es optimisation. For now, no options can be set, this will be added in the future. """ def __init__(self, N, mean, sigma, evalu...
26.796296
79
0.599171
219
1,447
3.785388
0.406393
0.036188
0.026538
0.031363
0.043426
0
0
0
0
0
0
0.024735
0.217692
1,447
53
80
27.301887
0.707597
0.086386
0
0
0
0
0.008562
0
0
0
0
0
0.055556
0
null
null
0
0.083333
null
null
0.027778
0
0
0
null
0
0
0
0
0
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
bebe978ab285d166c4f61104e072d1c4e5569b8a
16,340
py
Python
sympy/calculus/tests/test_util.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
1
2020-02-04T11:33:18.000Z
2020-02-04T11:33:18.000Z
sympy/calculus/tests/test_util.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
null
null
null
sympy/calculus/tests/test_util.py
STALKER2010/sympy-bleeding-edge
81233029a9a30866747f6da2c0e9604d1681d474
[ "BSD-3-Clause" ]
null
null
null
from sympy import (Symbol, S, exp, log, sqrt, oo, E, zoo, pi, tan, sin, cos, cot, sec, csc, Abs, symbols) from sympy.calculus.util import (function_range, continuous_domain, not_empty_in, periodicity, lcim, AccumBounds) from sympy.core import Add, Mul, Pow from sympy....
44.767123
89
0.595471
2,560
16,340
3.769531
0.043359
0.197306
0.108187
0.05658
0.671399
0.558446
0.392228
0.314922
0.218964
0.178446
0
0.060428
0.198898
16,340
364
90
44.89011
0.676776
0.005569
0
0.050336
0
0
0.001231
0
0
0
0
0
0.755034
1
0.043624
false
0
0.026846
0
0.07047
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
bec0b6c7767d7b77ac2e4d23868c15a0aecbb53e
24,144
py
Python
epippy/topologies/pypsaentsoegridkit/base_network.py
montefesp/EPIPPy
7de873cf70d06986e83a434b6ab4b8997694a269
[ "MIT" ]
null
null
null
epippy/topologies/pypsaentsoegridkit/base_network.py
montefesp/EPIPPy
7de873cf70d06986e83a434b6ab4b8997694a269
[ "MIT" ]
null
null
null
epippy/topologies/pypsaentsoegridkit/base_network.py
montefesp/EPIPPy
7de873cf70d06986e83a434b6ab4b8997694a269
[ "MIT" ]
null
null
null
""" DISCLAIMER: The functions in this script are greatly inspired by code from PyPSA-Eur and a lot of code directly comes from there. """ from typing import List, Dict import yaml import numpy as np import pandas as pd from six import iteritems from itertools import product from shapely.ops import unary_union from sh...
38.692308
147
0.644094
3,373
24,144
4.373851
0.156241
0.032536
0.032536
0.010439
0.308751
0.244154
0.212025
0.181929
0.156172
0.105199
0
0.007559
0.221918
24,144
623
148
38.754414
0.77776
0.286904
0
0.071672
0
0
0.148525
0.032553
0
0
0
0.027287
0.003413
1
0.05802
false
0
0.05802
0
0.187713
0.010239
0
0
0
null
0
0
0
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
bec16e8d6ddacb6a1e944dee0bcf808fcf4c7c54
295
py
Python
src/server.py
AnthonyKenny98/DailyBriefing
8600241cc45ce647c9cb29dd902923806dbd4c40
[ "MIT" ]
null
null
null
src/server.py
AnthonyKenny98/DailyBriefing
8600241cc45ce647c9cb29dd902923806dbd4c40
[ "MIT" ]
20
2020-05-04T23:21:26.000Z
2021-12-13T20:37:45.000Z
src/server.py
AnthonyKenny98/DailyBriefing
8600241cc45ce647c9cb29dd902923806dbd4c40
[ "MIT" ]
null
null
null
"""Satisfy Heroku Requirement.""" # -*- coding: utf-8 -*- # @Author: AnthonyKenny98 # @Date: 2020-04-24 18:56:44 # @Last Modified by: AnthonyKenny98 # @Last Modified time: 2020-04-24 18:57:00 from os import environ from flask import Flask app = Flask(__name__) app.run(environ.get('PORT'))
24.583333
42
0.694915
44
295
4.568182
0.704545
0.059701
0.079602
0.099502
0
0
0
0
0
0
0
0.130952
0.145763
295
11
43
26.818182
0.666667
0.610169
0
0
0
0
0.038095
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
bec72123fb1db6e27d543a2136390653aa07177e
446
py
Python
data_acquisition/consts.py
butla/PyDAS
39df5abbe9563b58da7caaa191b89852fb122ab7
[ "MIT" ]
13
2016-06-29T13:35:05.000Z
2021-05-25T09:47:31.000Z
data_acquisition/consts.py
butla/PyDAS
39df5abbe9563b58da7caaa191b89852fb122ab7
[ "MIT" ]
1
2016-07-11T23:11:33.000Z
2016-07-11T23:11:33.000Z
data_acquisition/consts.py
butla/PyDAS
39df5abbe9563b58da7caaa191b89852fb122ab7
[ "MIT" ]
3
2017-10-17T15:54:25.000Z
2022-03-24T01:11:37.000Z
""" Constant values used throughout the app. """ CALLBACK_PATH = '/v1/das/callback' ACQUISITION_PATH = '/rest/das/requests' GET_REQUEST_PATH = ACQUISITION_PATH + '/{req_id}' DOWNLOAD_CALLBACK_PATH = CALLBACK_PATH + '/downloader/{req_id}' DOWNLOADER_PATH = '/rest/downloader/requests' METADATA_PARSER_PATH = '/rest/metad...
34.307692
68
0.778027
56
446
5.821429
0.392857
0.220859
0.147239
0.147239
0
0
0
0
0
0
0
0.002469
0.091928
446
12
69
37.166667
0.802469
0.089686
0
0
0
0
0.324121
0.062814
0
0
0
0
0
1
0
false
0
0
0
0
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
bec84e367a51b3a06a7fee388f1d5aefd628bc65
2,333
py
Python
visualization/visualizer/visualizer.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
11
2022-03-03T17:49:33.000Z
2022-03-25T11:23:11.000Z
visualization/visualizer/visualizer.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
null
null
null
visualization/visualizer/visualizer.py
zhigangjiang/LGT-Net
d9a619158b2dc66a50c100e7fa7e491f1df16fd7
[ "MIT" ]
1
2022-03-04T06:39:50.000Z
2022-03-04T06:39:50.000Z
import os import sys import cv2 import numpy as np from imageio import imread import json import argparse import visualization.visualizer.shader from PyQt5 import QtWidgets, QtGui, QtOpenGL from PyQt5.QtWidgets import * from PyQt5.QtGui import QIcon import PyQt5.QtCore as QtCore import glm from OpenGL.GL import * fro...
32.402778
109
0.69267
280
2,333
5.682143
0.421429
0.025141
0.020113
0.041483
0.08171
0.032684
0
0
0
0
0
0.014989
0.199314
2,333
71
110
32.859155
0.836724
0.005572
0
0
0
0
0.042278
0
0
0
0
0
0
1
0.053571
false
0
0.321429
0
0.392857
0
0
0
0
null
0
0
0
0
0
0
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
fe24af29a843f42178452ef1976133d4b9c21cfd
1,233
py
Python
tests/test_api/__init__.py
clement-mwendwa/CP2
88777d8117485e14d9b90e5d7244542aa312f8e5
[ "MIT" ]
null
null
null
tests/test_api/__init__.py
clement-mwendwa/CP2
88777d8117485e14d9b90e5d7244542aa312f8e5
[ "MIT" ]
null
null
null
tests/test_api/__init__.py
clement-mwendwa/CP2
88777d8117485e14d9b90e5d7244542aa312f8e5
[ "MIT" ]
null
null
null
from tests import BaseTestCase from base64 import b64encode import json class ApiBaseTest(BaseTestCase): def setUp(self): super(ApiBaseTest, self).setUp() # register user payload = dict(username="clement", password="password123") self.test_app.post('/api/v1/auth/register', data=pay...
35.228571
73
0.660989
141
1,233
5.680851
0.390071
0.03995
0.054931
0.071161
0.439451
0.362047
0.249688
0.189763
0
0
0
0.023834
0.217356
1,233
34
74
36.264706
0.806218
0.054339
0
0.166667
0
0
0.134367
0.018088
0
0
0
0
0.166667
1
0.083333
false
0.083333
0.125
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
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
fe25380e6f7b87fa6be2a2e8170f0560e176f642
4,643
py
Python
twocode/context/builtins.py
MrCoft/twocode
741620a2abab003edbabb60533c54a2d9bc55b7e
[ "MIT" ]
null
null
null
twocode/context/builtins.py
MrCoft/twocode
741620a2abab003edbabb60533c54a2d9bc55b7e
[ "MIT" ]
20
2020-05-25T18:38:47.000Z
2020-06-12T23:14:32.000Z
twocode/context/builtins.py
MrCoft/twocode
741620a2abab003edbabb60533c54a2d9bc55b7e
[ "MIT" ]
null
null
null
from twocode import utils import builtins import textwrap import ctypes def add_builtins(context): wraps = context.native_wraps context.builtins = utils.Object() def create(signature): def wrap(func): f = context.obj.Func(native=func, sign=signature) context.bui...
32.697183
137
0.603705
543
4,643
5.034991
0.270718
0.042794
0.019751
0.019751
0.192026
0.167886
0.147403
0.147403
0.130212
0.130212
0
0.002015
0.251777
4,643
141
138
32.929078
0.784974
0.122981
0
0.106383
0
0
0.10259
0.023083
0
0
0
0
0
1
0.212766
false
0.010638
0.042553
0.074468
0.393617
0.031915
0
0
0
null
0
0
0
0
0
0
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
fe2856b631d509e0b256df474d92e4e034ba60b4
352
py
Python
tests/utils.py
mkhodak/relax
f6b5a318d74fc1209ba67ec95d2118698194f9c5
[ "MIT" ]
11
2021-10-01T17:23:18.000Z
2022-03-31T22:10:36.000Z
tests/utils.py
mkhodak/relax
f6b5a318d74fc1209ba67ec95d2118698194f9c5
[ "MIT" ]
null
null
null
tests/utils.py
mkhodak/relax
f6b5a318d74fc1209ba67ec95d2118698194f9c5
[ "MIT" ]
null
null
null
import unittest try: import torch_butterfly BUTTERFLY = True except ImportError: BUTTERFLY = False class TestCase(unittest.TestCase): def test(self, butterfly=False): pass @unittest.skipIf(not BUTTERFLY, "torch_butterfly not found") def test_butterfly(self, **kwargs): self...
18.526316
64
0.690341
40
352
6
0.475
0.116667
0
0
0
0
0
0
0
0
0
0
0.215909
352
18
65
19.555556
0.869565
0
0
0
0
0
0.071023
0
0
0
0
0
0
1
0.166667
false
0.083333
0.25
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
1
0
0
0
0
0
1
fe2f6c057af42b158c45ea4d7b022c438724ef65
619
py
Python
src/tickets/migrations/0013_tickettype_single_ticket_per_product.py
lgandersen/bornhack-website
fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df
[ "BSD-3-Clause" ]
7
2017-04-14T15:28:29.000Z
2021-09-10T09:45:38.000Z
src/tickets/migrations/0013_tickettype_single_ticket_per_product.py
lgandersen/bornhack-website
fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df
[ "BSD-3-Clause" ]
799
2016-04-28T09:31:50.000Z
2022-03-29T09:05:02.000Z
src/tickets/migrations/0013_tickettype_single_ticket_per_product.py
lgandersen/bornhack-website
fbda2b4b53dc2cb266d1d7c13ba0aad59d9079df
[ "BSD-3-Clause" ]
35
2016-04-28T09:23:53.000Z
2021-05-02T12:36:01.000Z
# Generated by Django 2.2.3 on 2019-07-30 20:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("tickets", "0012_auto_20190724_2037"), ] operations = [ migrations.AddField( model_name="tickettype", name="single_ti...
28.136364
177
0.620355
71
619
5.295775
0.84507
0
0
0
0
0
0
0
0
0
0
0.070776
0.292407
619
21
178
29.47619
0.787671
0.072698
0
0.133333
1
0.066667
0.372378
0.083916
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe3292175f0209d20711061840cfc526c0ba9096
793
py
Python
paddle/callbacks/training/model_checkpoint.py
maxfrei750/paddle
78d4a585f7cae4eeea3ec47f8d5e41de1dfef1f9
[ "MIT" ]
null
null
null
paddle/callbacks/training/model_checkpoint.py
maxfrei750/paddle
78d4a585f7cae4eeea3ec47f8d5e41de1dfef1f9
[ "MIT" ]
null
null
null
paddle/callbacks/training/model_checkpoint.py
maxfrei750/paddle
78d4a585f7cae4eeea3ec47f8d5e41de1dfef1f9
[ "MIT" ]
null
null
null
from typing import Any, Dict, Optional from pytorch_lightning import callbacks class ModelCheckpoint(callbacks.ModelCheckpoint): """Replaces slashes in the checkpoint filename with underscores to prevent the unwanted creation of directories.""" # TODO: Replace with pytorch_lightning.callbacks.ModelCheck...
31.72
91
0.68348
85
793
6.270588
0.588235
0.090056
0.075047
0
0
0
0
0
0
0
0
0.006504
0.224464
793
24
92
33.041667
0.860163
0.332913
0
0
0
0
0.003861
0
0
0
0
0.041667
0
1
0.066667
false
0
0.133333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fe33892ca19e3924265cae6372a6111f4b06cfdf
588
py
Python
src/common/util/log_helper.py
MichalPitr/fever-cs-dataset
62a9a87eafcfa18abfe24c516ca7161e8e466d08
[ "MIT" ]
71
2019-01-11T21:07:32.000Z
2021-07-10T17:59:33.000Z
src/common/util/log_helper.py
MichalPitr/fever-cs-dataset
62a9a87eafcfa18abfe24c516ca7161e8e466d08
[ "MIT" ]
16
2018-04-10T16:00:49.000Z
2018-06-28T07:41:08.000Z
src/common/util/log_helper.py
MichalPitr/fever-cs-dataset
62a9a87eafcfa18abfe24c516ca7161e8e466d08
[ "MIT" ]
21
2019-01-31T09:05:30.000Z
2021-05-26T10:37:13.000Z
import logging class LogHelper(): handler = None @staticmethod def setup(): FORMAT = '[%(levelname)s] %(asctime)s - %(name)s - %(message)s' LogHelper.handler = logging.StreamHandler() LogHelper.handler.setLevel(logging.DEBUG) LogHelper.handler.setFormatter(logging.Formatter(F...
30.947368
74
0.656463
64
588
5.9375
0.5
0.210526
0
0
0
0
0
0
0
0
0
0
0.222789
588
18
75
32.666667
0.83151
0
0
0.125
0
0
0.117347
0
0
0
0
0
0
1
0.125
false
0
0.0625
0
0.375
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
fe35985c33df3f6f1071f8ea5b1b9b84c7407d01
4,465
py
Python
02_reaction_game.py
henrybudden/rpesk-advanced
3f2daba4f0d25da04d4f5927e2fb835eae6f48bf
[ "MIT" ]
7
2016-07-25T16:28:04.000Z
2019-03-08T07:20:26.000Z
02_reaction_game.py
henrybudden/rpesk-advanced
3f2daba4f0d25da04d4f5927e2fb835eae6f48bf
[ "MIT" ]
null
null
null
02_reaction_game.py
henrybudden/rpesk-advanced
3f2daba4f0d25da04d4f5927e2fb835eae6f48bf
[ "MIT" ]
2
2017-11-20T06:05:38.000Z
2018-08-23T13:33:52.000Z
#02_reaction_game.py # Written for Simon Monk's Electronics Starter Kit for the Raspberry Pi by Henry Budden (@pi_tutor) #Thanks to Ben Nuttall from the Raspberry Pi Foundation for the GPIO Zero library #Import relevant libraries from gpiozero import * from time import sleep import random #Set pin numbers led_1 = LE...
39.166667
125
0.534602
582
4,465
3.93299
0.243986
0.067278
0.06291
0.021844
0.37571
0.355614
0.301442
0.249017
0.249017
0.249017
0
0.051577
0.396417
4,465
113
126
39.513274
0.797774
0.271669
0
0.414634
0
0
0.036737
0
0
0
0
0
0
0
null
null
0
0.036585
null
null
0.219512
0
0
0
null
0
0
0
0
0
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
fe3f5188f62775908ae47303954e5ec76da3cfb2
776
py
Python
dotfiles/.config/qutebrowser/importer.py
dessasin/Minim
ed01288439f70dfb1909ca17fc2d2f8f3f661a73
[ "MIT" ]
null
null
null
dotfiles/.config/qutebrowser/importer.py
dessasin/Minim
ed01288439f70dfb1909ca17fc2d2f8f3f661a73
[ "MIT" ]
null
null
null
dotfiles/.config/qutebrowser/importer.py
dessasin/Minim
ed01288439f70dfb1909ca17fc2d2f8f3f661a73
[ "MIT" ]
null
null
null
from BeautifulSoup import BeautifulSoup import gdbm import pickle import time def main(): f = open('bookmarks.html','r') soup = BeautifulSoup(f.read()) f.close() dt=[] for d in soup.findAll('dt'): dt.append(d) f = gdbm.open('bookmark','c') for i in range(len(dt)): i...
32.333333
87
0.57732
112
776
3.848214
0.401786
0.146172
0.153132
0.167053
0.194896
0.194896
0.111369
0
0
0
0
0.011925
0.243557
776
24
88
32.333333
0.722317
0
0
0.090909
0
0
0.091377
0
0
0
0
0
0
1
0.045455
false
0
0.181818
0
0.227273
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
fe3fc41b137ed627bf817e90a43bc2332d4574ac
1,343
py
Python
tests.py
LingDong-/wechit
18de1a3bc23691cd6faa859181384822bc46b813
[ "MIT" ]
81
2018-09-13T17:34:54.000Z
2022-01-27T06:37:01.000Z
tests.py
LeiShi1313/wechit
d614d0e7b1f55b33a0b11c473b3e9c4a1f041209
[ "MIT" ]
6
2018-12-03T07:16:29.000Z
2022-02-24T20:25:31.000Z
tests.py
LingDong-/wechit
18de1a3bc23691cd6faa859181384822bc46b813
[ "MIT" ]
15
2019-05-27T10:14:39.000Z
2022-01-10T09:50:30.000Z
# -*- coding: utf-8 -*- from wechit import * from glob import glob def print_format_table(): for style in range(8): for fg in range(30,38): s1 = '' for bg in range(40,48): format = ';'.join([str(style), str(fg), str(bg)]) s1 += '\x1b[%sm %s \x1b[0m' %...
30.522727
128
0.550261
176
1,343
4.090909
0.613636
0.055556
0.061111
0
0
0
0
0
0
0
0
0.015905
0.250931
1,343
44
129
30.522727
0.699801
0.015637
0
0.058824
0
0.029412
0.360333
0.11355
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.264706
0
0
0
null
0
0
0
0
0
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
fe41f027ad8a9ed678db0278a66b878cbfbfd6dd
3,243
py
Python
body/human_pose/ambiguity_aware/scripts/get_diff.py
liujuanLT/insightface
b46598268381d823b74f992da678c869d7716380
[ "MIT" ]
1
2022-02-22T09:47:55.000Z
2022-02-22T09:47:55.000Z
body/human_pose/ambiguity_aware/scripts/get_diff.py
liujuanLT/insightface
b46598268381d823b74f992da678c869d7716380
[ "MIT" ]
null
null
null
body/human_pose/ambiguity_aware/scripts/get_diff.py
liujuanLT/insightface
b46598268381d823b74f992da678c869d7716380
[ "MIT" ]
1
2022-02-10T04:19:05.000Z
2022-02-10T04:19:05.000Z
import numpy as np import h5py import argparse np.random.seed(2019) parser = argparse.ArgumentParser(description="Generate the diff data") parser.add_argument("--valid", action="store_true") parser.add_argument("--use_random", action="store_true") # specify the interval parser.add_argument("--bound", default=1, ty...
35.25
112
0.712612
501
3,243
4.401198
0.261477
0.036281
0.038549
0.023583
0.221315
0.221315
0.194104
0.194104
0.165986
0.165986
0
0.01995
0.134443
3,243
91
113
35.637363
0.765586
0.284305
0
0.035714
1
0
0.148696
0.021304
0
0
0
0
0
1
0
false
0
0.053571
0
0.053571
0.053571
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
fe42b167fce0039ab04b3168fa12a768362a1c92
543
py
Python
example/test.py
willdickson/py_wittypi_device
2dc816f6d73738989cf161a9b548ac1e0e980848
[ "MIT" ]
1
2021-06-23T06:08:04.000Z
2021-06-23T06:08:04.000Z
example/test.py
willdickson/py_wittypi_device
2dc816f6d73738989cf161a9b548ac1e0e980848
[ "MIT" ]
null
null
null
example/test.py
willdickson/py_wittypi_device
2dc816f6d73738989cf161a9b548ac1e0e980848
[ "MIT" ]
null
null
null
from py_wittypi_device import WittyPiDevice device = WittyPiDevice() print(f'input voltage: {device.input_voltage}') print(f'output voltage: {device.output_voltage}') print(f'output current: {device.output_current}') print() n = 10 input_voltage = device.get_median_input_voltage(n) print(f'median input voltage: {in...
28.578947
52
0.797422
77
543
5.363636
0.207792
0.087167
0.108959
0.094431
0.157385
0
0
0
0
0
0
0.00404
0.088398
543
18
53
30.166667
0.830303
0
0
0
0
0
0.425414
0.12523
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.538462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
fe4498067df4773edacf8f9c20b544fc816fb6a3
2,973
py
Python
django/account/models.py
acid-chicken/tweet-generator
54696a1992cefbbb711191761b762572d60156ea
[ "MIT" ]
141
2020-02-02T02:31:44.000Z
2022-03-17T17:10:16.000Z
django/account/models.py
ts-uc/tweet-generator
071fcc306fdeb9837547e2651e54ba48228b3358
[ "MIT" ]
31
2020-02-04T03:25:14.000Z
2022-03-12T00:56:38.000Z
django/account/models.py
ts-uc/tweet-generator
071fcc306fdeb9837547e2651e54ba48228b3358
[ "MIT" ]
21
2020-02-02T18:27:47.000Z
2021-12-16T05:28:53.000Z
from django.db import models from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin, UserManager from django.contrib.auth.hashers import make_password from django.utils import timezone from django.utils.translation import gettext_lazy as _ class CustomUserManager(UserManager): use_in_migrations ...
33.404494
109
0.668685
351
2,973
5.424501
0.301994
0.069328
0.044643
0.049895
0.31145
0.277836
0.254727
0.254727
0.238971
0.168067
0
0.005303
0.238816
2,973
88
110
33.784091
0.836058
0.022873
0
0.084507
0
0
0.14613
0
0
0
0
0
0
1
0.056338
false
0.098592
0.070423
0
0.366197
0
0
0
0
null
0
0
0
0
0
0
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
fe4e3e4445b09c160291d7e90f0376bb9dcca6d5
1,329
py
Python
reproman/formats/utils.py
kyleam/niceman
f4f026d2827e03dce272c7c2d1c6fc11a6abc3b5
[ "MIT" ]
13
2017-03-02T16:33:08.000Z
2019-01-12T19:19:08.000Z
reproman/formats/utils.py
kyleam/niceman
f4f026d2827e03dce272c7c2d1c6fc11a6abc3b5
[ "MIT" ]
313
2017-01-13T03:36:30.000Z
2019-01-24T19:16:08.000Z
reproman/formats/utils.py
kyleam/niceman
f4f026d2827e03dce272c7c2d1c6fc11a6abc3b5
[ "MIT" ]
6
2017-01-12T19:44:01.000Z
2019-01-12T19:19:18.000Z
# ex: set sts=4 ts=4 sw=4 noet: # ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the reproman package for the # copyright and license terms. # # ## ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## """Helper utils to...
25.557692
79
0.565839
156
1,329
4.673077
0.49359
0.065844
0.038409
0
0
0
0
0
0
0
0
0.004137
0.272385
1,329
51
80
26.058824
0.749741
0.3845
0
0
0
0
0.024631
0
0
0
0
0.019608
0
1
0.111111
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
fe4fa7cad81fac66f9ea7b8acd7689d4d90251c5
3,185
py
Python
mayan/apps/storage/tests/test_backends.py
morlandi/Mayan-EDMS
0d5f4587a9265ceca6c022674a8868f660a76111
[ "Apache-2.0" ]
null
null
null
mayan/apps/storage/tests/test_backends.py
morlandi/Mayan-EDMS
0d5f4587a9265ceca6c022674a8868f660a76111
[ "Apache-2.0" ]
null
null
null
mayan/apps/storage/tests/test_backends.py
morlandi/Mayan-EDMS
0d5f4587a9265ceca6c022674a8868f660a76111
[ "Apache-2.0" ]
null
null
null
from pathlib import Path from django.core.files.base import ContentFile from django.utils.encoding import force_bytes from mayan.apps.mimetype.api import get_mimetype from mayan.apps.storage.utils import fs_cleanup, mkdtemp from mayan.apps.testing.tests.base import BaseTestCase from ..backends.compressedstorage impo...
34.619565
74
0.676923
338
3,185
6.136095
0.215976
0.077146
0.063645
0.054002
0.60704
0.579074
0.579074
0.579074
0.579074
0.579074
0
0.00247
0.237363
3,185
91
75
35
0.851379
0
0
0.426471
0
0
0.027943
0.007535
0
0
0
0
0.102941
1
0.088235
false
0.161765
0.132353
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fe595faa28fc51a713b520b55d0993cf7f68d104
400
py
Python
03.Inheritance/Exe/need_for_speed/project/vehicle.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
03.Inheritance/Exe/need_for_speed/project/vehicle.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
03.Inheritance/Exe/need_for_speed/project/vehicle.py
nmoskova/Python-OOP
07327bcb93eee3a7db5d7c0bbdd1b54eb9e8b864
[ "MIT" ]
null
null
null
class Vehicle: DEFAULT_FUEL_CONSUMPTION = 1.25 def __init__(self, fuel, horse_power): self.fuel = fuel self.horse_power = horse_power self.fuel_consumption = self.DEFAULT_FUEL_CONSUMPTION def drive(self, kilometers): fuel_needed = kilometers * self.fuel_consumption ...
26.666667
61
0.645
47
400
5.148936
0.340426
0.198347
0.181818
0.14876
0
0
0
0
0
0
0
0.010453
0.2825
400
14
62
28.571429
0.832753
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe5ecf134980c56fc0f3a97a1bc938866dfbe762
398
py
Python
setup.py
bugg86/Riot-API-Utilities
19c55009878bb78d7e8393bdfc6108271b6050e3
[ "MIT" ]
null
null
null
setup.py
bugg86/Riot-API-Utilities
19c55009878bb78d7e8393bdfc6108271b6050e3
[ "MIT" ]
null
null
null
setup.py
bugg86/Riot-API-Utilities
19c55009878bb78d7e8393bdfc6108271b6050e3
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='riotapiutilities', version='1.2.1', license='MIT', author="Jack Fink", author_email='jackfink68@yahoo.com', packages=find_packages('src'), package_dir={'': 'src'}, url='https://github.com/bugg86/Riot-API-Utilities', keywords=...
22.111111
55
0.633166
45
398
5.488889
0.755556
0.097166
0.129555
0
0
0
0
0
0
0
0
0.022082
0.203518
398
18
56
22.111111
0.757098
0
0
0
0
0
0.323308
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
fe676567688d5532aefbefd56be959da8679708b
9,249
py
Python
google/cloud/tasks_v2/types/task.py
colincadams/python-tasks
e86a80b2623e812775b58950af2f858128b4bb98
[ "Apache-2.0" ]
null
null
null
google/cloud/tasks_v2/types/task.py
colincadams/python-tasks
e86a80b2623e812775b58950af2f858128b4bb98
[ "Apache-2.0" ]
null
null
null
google/cloud/tasks_v2/types/task.py
colincadams/python-tasks
e86a80b2623e812775b58950af2f858128b4bb98
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
40.924779
123
0.642232
1,155
9,249
5.074459
0.257143
0.025593
0.038389
0.036854
0.280669
0.232895
0.173691
0.115509
0.089746
0.055622
0
0.011816
0.277111
9,249
225
124
41.106667
0.864792
0.741486
0
0
0
0
0.038002
0.011401
0
0
0
0
0
1
0
false
0
0.125
0
0.575
0
0
0
0
null
0
0
0
0
0
0
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
fe70c68965c35b3dc51719868b3c86868ff7c4ef
4,237
py
Python
servidor/delivery/views.py
Mendw/delivery
d374a33e8cc0711cc89e3396b0c475ae3b747cf6
[ "MIT" ]
null
null
null
servidor/delivery/views.py
Mendw/delivery
d374a33e8cc0711cc89e3396b0c475ae3b747cf6
[ "MIT" ]
10
2020-06-05T23:20:51.000Z
2022-02-10T09:38:41.000Z
servidor/delivery/views.py
Mendw/delivery
d374a33e8cc0711cc89e3396b0c475ae3b747cf6
[ "MIT" ]
null
null
null
# pylint: disable=no-member from delivery.models import * from delivery.serializers import * from django.contrib.auth.forms import UserCreationForm from django.utils.http import urlsafe_base64_decode from django.utils.encoding import force_text from django.contrib.auth import login from rest_framework.settings impor...
30.702899
89
0.693415
396
4,237
7.275253
0.338384
0.052065
0.104131
0.130163
0.30302
0.30302
0.264492
0.229087
0
0
0
0.003694
0.16946
4,237
137
90
30.927007
0.815004
0.066557
0
0.325843
0
0
0.029188
0.013706
0
0
0
0
0
1
0.033708
false
0
0.123596
0
0.719101
0
0
0
0
null
0
0
0
0
0
0
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
fe745c9f6c41c3dcedbeca48ce4c13d364c55a68
8,823
py
Python
woven/deployment.py
bretth/woven
ec1da7b401a335f43129e7115fe7a4d145649f1e
[ "BSD-3-Clause" ]
5
2015-05-26T15:02:11.000Z
2016-10-04T19:39:38.000Z
woven/deployment.py
bretth/woven
ec1da7b401a335f43129e7115fe7a4d145649f1e
[ "BSD-3-Clause" ]
3
2015-01-23T01:23:27.000Z
2019-08-09T12:43:26.000Z
woven/deployment.py
bretth/woven
ec1da7b401a335f43129e7115fe7a4d145649f1e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from functools import wraps from glob import glob from hashlib import sha1 import os, shutil, sys, tempfile from django.template.loader import render_to_string from fabric.state import env from fabric.operations import run, sudo, put from fabric.context_managers import cd, settings, hide from fa...
38.867841
108
0.6644
1,223
8,823
4.640229
0.233851
0.031013
0.012335
0.012687
0.108018
0.071718
0.055859
0.020793
0.020793
0.020793
0
0.002512
0.232914
8,823
227
109
38.867841
0.835993
0.099059
0
0.076271
0
0
0.046432
0.01237
0
0
0
0
0
0
null
null
0
0.084746
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
fe7b59fbc9cce2698d598a3e58ff16b9bc27a7f2
280
py
Python
georiviere/main/migrations/0002_delete_river.py
georiviere/Georiviere-admin
4ac532f84a7a8fef3e01384fad63e8e288d397c0
[ "BSD-2-Clause" ]
7
2021-11-05T14:52:25.000Z
2022-03-24T21:18:02.000Z
georiviere/main/migrations/0002_delete_river.py
georiviere/Georiviere-admin
4ac532f84a7a8fef3e01384fad63e8e288d397c0
[ "BSD-2-Clause" ]
57
2021-11-02T10:27:34.000Z
2022-03-31T14:08:32.000Z
georiviere/main/migrations/0002_delete_river.py
georiviere/Georiviere-admin
4ac532f84a7a8fef3e01384fad63e8e288d397c0
[ "BSD-2-Clause" ]
1
2021-12-05T14:55:42.000Z
2021-12-05T14:55:42.000Z
# Generated by Django 3.1.5 on 2021-02-01 13:14 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.DeleteModel( name='River', ), ]
16.470588
47
0.582143
30
280
5.4
0.866667
0
0
0
0
0
0
0
0
0
0
0.096939
0.3
280
16
48
17.5
0.729592
0.160714
0
0
1
0
0.090129
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
fe7e74c9ef5bf1a307debbb9861f129e1e39aae9
6,740
py
Python
collector_service_sdk/api/template/create_template_with_yaml_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
5
2019-07-31T04:11:05.000Z
2021-01-07T03:23:20.000Z
collector_service_sdk/api/template/create_template_with_yaml_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
collector_service_sdk/api/template/create_template_with_yaml_pb2.py
easyopsapis/easyops-api-python
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: create_template_with_yaml.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from g...
45.540541
586
0.790653
739
6,740
6.878214
0.198917
0.036199
0.041314
0.022034
0.46508
0.420224
0.420224
0.420224
0.405272
0.405272
0
0.029616
0.103264
6,740
147
587
45.85034
0.811383
0.055045
0
0.609756
1
0.00813
0.246502
0.222292
0
0
0
0
0
1
0
false
0
0.04878
0
0.04878
0
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
fe7ee03366c8806bfc8e850cf1338bf5ef11a590
1,330
py
Python
prt/light.py
tsmanner/python-ray-tracer
664279abe37e11ec1fef847635f56ed5bcdead04
[ "MIT" ]
null
null
null
prt/light.py
tsmanner/python-ray-tracer
664279abe37e11ec1fef847635f56ed5bcdead04
[ "MIT" ]
null
null
null
prt/light.py
tsmanner/python-ray-tracer
664279abe37e11ec1fef847635f56ed5bcdead04
[ "MIT" ]
null
null
null
from prt.color import Color class Light: def __init__(self, intensity: float, diffuse: Color, specular: Color): self.intensity = intensity self.diffuse = diffuse self.specular = specular class PhongLight(Light): def __init__(self, location: "Point", intensity: float, diffuse: Color, ...
38
98
0.648872
147
1,330
5.734694
0.285714
0.061684
0.042705
0.05694
0.383155
0.328588
0.282325
0.282325
0.282325
0.180308
0
0.001957
0.231579
1,330
34
99
39.117647
0.822896
0.055639
0
0.086957
0
0
0.027157
0
0
0
0
0
0
1
0.217391
false
0.043478
0.043478
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
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
fe80f9ca60f7a979327cb4e004b7336fcb850a13
25,390
py
Python
build/PureCloudPlatformClientV2/models/user_queue.py
MyPureCloud/platform-client-sdk-python
51249f4c655a1c8a67561c9eaa852ef95e25e57d
[ "MIT" ]
10
2019-02-22T00:27:08.000Z
2021-09-12T23:23:44.000Z
build/PureCloudPlatformClientV2/models/user_queue.py
MyPureCloud/platform-client-sdk-python
51249f4c655a1c8a67561c9eaa852ef95e25e57d
[ "MIT" ]
5
2018-06-07T08:32:00.000Z
2021-07-28T17:37:26.000Z
build/PureCloudPlatformClientV2/models/user_queue.py
MyPureCloud/platform-client-sdk-python
51249f4c655a1c8a67561c9eaa852ef95e25e57d
[ "MIT" ]
6
2020-04-09T17:43:07.000Z
2022-02-17T08:48:05.000Z
# coding: utf-8 """ Copyright 2016 SmartBear Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
30.334528
143
0.61796
2,890
25,390
5.207612
0.096886
0.044651
0.111628
0.055017
0.617342
0.519801
0.468239
0.370233
0.315482
0.28
0
0.001597
0.309413
25,390
836
144
30.370813
0.856735
0.431784
0
0.107744
0
0
0.125204
0.028225
0
0
0
0
0
1
0.212121
false
0
0.016835
0
0.346801
0.003367
0
0
0
null
0
0
0
0
0
0
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
fe8412fbae64eb2cc3d7d43599a878494ad92e3f
712
py
Python
inspector/config.py
brucewxh/IntraArchiveDeduplicator
7b0c07cc9fffa75e1b7be285f42b0a8fad42dcfb
[ "BSD-3-Clause" ]
86
2015-01-13T15:02:08.000Z
2021-12-24T02:13:03.000Z
inspector/config.py
brucewxh/IntraArchiveDeduplicator
7b0c07cc9fffa75e1b7be285f42b0a8fad42dcfb
[ "BSD-3-Clause" ]
4
2016-11-18T20:08:50.000Z
2018-03-08T23:05:37.000Z
inspector/config.py
brucewxh/IntraArchiveDeduplicator
7b0c07cc9fffa75e1b7be285f42b0a8fad42dcfb
[ "BSD-3-Clause" ]
12
2015-05-03T07:56:50.000Z
2021-03-11T12:38:56.000Z
import os import sys import datetime import string import random random.seed() if len(sys.argv) > 1 and "debug" in sys.argv: SQLALCHEMY_ECHO = True REFETCH_INTERVAL = datetime.timedelta(days=7*3) basedir = os.path.abspath(os.path.dirname(__file__)) def get_random(chars): rand = [random.choice(string.ascii_l...
18.25641
67
0.730337
107
712
4.728972
0.766355
0.027668
0
0
0
0
0
0
0
0
0
0.018613
0.169944
712
38
68
18.736842
0.837563
0.241573
0
0
0
0
0.037665
0
0
0
0
0
0
1
0.055556
false
0
0.277778
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
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
fe87c2adb38302b812af38655e4ba77ed6dbbd61
290
py
Python
cc1.py
negativeproton/solutionsforccbytmt
c7eefaf93579d90e49f12f078749bfbaed3f232e
[ "MIT" ]
1
2019-01-27T15:43:41.000Z
2019-01-27T15:43:41.000Z
cc1.py
negativeproton/solutionsforccbytmt
c7eefaf93579d90e49f12f078749bfbaed3f232e
[ "MIT" ]
null
null
null
cc1.py
negativeproton/solutionsforccbytmt
c7eefaf93579d90e49f12f078749bfbaed3f232e
[ "MIT" ]
null
null
null
import json import requests urlinput='https://cc.the-morpheus.de/challenges/1/' urloutput='https://cc.the-morpheus.de/solutions/1/' respsrvr=requests.get(urlinput) output=respsrvr.text data={'token':output} res=requests.post(urloutput, json.dumps(data)) print (res.text)
19.333333
52
0.727586
40
290
5.275
0.575
0.066351
0.094787
0.170616
0.189573
0
0
0
0
0
0
0.007752
0.110345
290
14
53
20.714286
0.810078
0
0
0
0
0
0.305455
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.111111
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
fe87fe49afeca0c8d2f6b7f12fe3b176d42e73c0
606
py
Python
Final/app/tester.py
minor-project1-sem4-team7/BabbleZ
d9524bcbf0c9738945bfec40684b006e312bf13d
[ "MIT" ]
null
null
null
Final/app/tester.py
minor-project1-sem4-team7/BabbleZ
d9524bcbf0c9738945bfec40684b006e312bf13d
[ "MIT" ]
null
null
null
Final/app/tester.py
minor-project1-sem4-team7/BabbleZ
d9524bcbf0c9738945bfec40684b006e312bf13d
[ "MIT" ]
1
2021-05-27T10:43:15.000Z
2021-05-27T10:43:15.000Z
import threading import client import Security if __name__ == '__main__': user_object = client.Babble('vmTesting_1', 'vmTesting_1', 'vmTest User one') # user_object = client.Babble('testing_show', 'testingshow', 'testing_ss') user_object = client.Babble('vmTesting_1', 'vmTesting_1') # print(user_object...
31.894737
95
0.70297
75
606
5.373333
0.493333
0.148883
0.119107
0.163772
0.208437
0.208437
0.208437
0.208437
0
0
0
0.010121
0.184818
606
19
95
31.894737
0.805668
0.20462
0
0
0
0
0.271399
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.333333
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
fe8aa369188a0883e1592dc73606be39feaa02d1
306
py
Python
days/70-72-openpyxl-excel-automation/code/excel_automation.py
rhelmstedter/100daysofcode-with-python-course
076c99939b5641be541023f61c10ff30a7f05524
[ "MIT" ]
null
null
null
days/70-72-openpyxl-excel-automation/code/excel_automation.py
rhelmstedter/100daysofcode-with-python-course
076c99939b5641be541023f61c10ff30a7f05524
[ "MIT" ]
null
null
null
days/70-72-openpyxl-excel-automation/code/excel_automation.py
rhelmstedter/100daysofcode-with-python-course
076c99939b5641be541023f61c10ff30a7f05524
[ "MIT" ]
null
null
null
#!python3 from openpyxl import load_workbook wb = load_workbook("Financial Sample.xlsx") ws1 = wb["Finances 2017"] maxrow = ws1.max_row def insert_sum(): ws1["L" + str(maxrow)] = "=SUM(L2:L" + str(maxrow - 1) + ")" if __name__ == "__main__": insert_sum() wb.save("Financial Sample.xlsx")
18
64
0.653595
43
306
4.348837
0.627907
0.128342
0.203209
0
0
0
0
0
0
0
0
0.039683
0.176471
306
16
65
19.125
0.702381
0.026144
0
0
0
0
0.249158
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe8ce937b3b2b0727e56c660fd9aba505cfcad5c
213
py
Python
acmicpc/5063.py
juseongkr/BOJ
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
7
2020-02-03T10:00:19.000Z
2021-11-16T11:03:57.000Z
acmicpc/5063.py
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2021-01-03T06:58:24.000Z
2021-01-03T06:58:24.000Z
acmicpc/5063.py
juseongkr/Algorithm-training
8f10a2bf9a7d695455493fbe7423347a8b648416
[ "Apache-2.0" ]
1
2020-01-22T14:34:03.000Z
2020-01-22T14:34:03.000Z
for _ in range(int(input())): a, b, c = map(int, input().split()) if a < b - c: print("advertise") elif a == b - c: print("does not matter") else: print("do not advertise")
23.666667
39
0.492958
31
213
3.354839
0.612903
0.057692
0.086538
0.153846
0
0
0
0
0
0
0
0
0.328639
213
8
40
26.625
0.727273
0
0
0
0
0
0.187793
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
fe8d1ba89455e92f9e3e5a2fa2deb4df00634f28
297
py
Python
cheese_utils.py
Guillaume351/cheese-recon
4e82bfb3391d7256f745376d085d2732c359b296
[ "MIT" ]
1
2021-03-24T10:38:58.000Z
2021-03-24T10:38:58.000Z
cheese_utils.py
Guillaume351/cheese-recon
4e82bfb3391d7256f745376d085d2732c359b296
[ "MIT" ]
null
null
null
cheese_utils.py
Guillaume351/cheese-recon
4e82bfb3391d7256f745376d085d2732c359b296
[ "MIT" ]
null
null
null
from simple_image_download import simple_image_download as simp #importing the library DB_DIR = "db" def download_cheese(name, limit=20): response = simp.simple_image_download response().download(name, limit) download_cheese("beaufort, fromage", 100) download_cheese("camembert", 100)
27
87
0.781145
40
297
5.55
0.55
0.148649
0.256757
0
0
0
0
0
0
0
0
0.030769
0.124579
297
11
88
27
0.823077
0.070707
0
0
0
0
0.101449
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe8e39e1cdf6652d8038af03d97d85fd4b9d2bab
2,570
py
Python
src/wpipe/proxies/DictLikeChildrenProxy.py
benw1/WINGS
32d4bfd073da0b86d2340cde25a5601d0a1ec95e
[ "RSA-MD" ]
4
2022-01-04T18:24:56.000Z
2022-01-27T08:23:37.000Z
src/wpipe/proxies/DictLikeChildrenProxy.py
benw1/WINGS
32d4bfd073da0b86d2340cde25a5601d0a1ec95e
[ "RSA-MD" ]
null
null
null
src/wpipe/proxies/DictLikeChildrenProxy.py
benw1/WINGS
32d4bfd073da0b86d2340cde25a5601d0a1ec95e
[ "RSA-MD" ]
null
null
null
#!/usr/bin/env python """ Contains the proxies.DictLikeChildrenProxy class definition Please note that this module is private. The proxies.DictLikeChildrenProxy class is available in the ``wpipe.proxies`` namespace - use that instead. """ from .core import sys, itertools, in_session from .BaseProxy import BaseProxy fr...
37.794118
114
0.638911
285
2,570
5.466667
0.336842
0.051348
0.044929
0.046213
0.106547
0.043646
0.043646
0
0
0
0
0
0.274708
2,570
67
115
38.358209
0.835837
0.279767
0
0.114286
0
0
0.023741
0.01216
0
0
0
0.014925
0
1
0.171429
false
0
0.085714
0.057143
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
1
0
0
0
0
0
0
0
0
0
0
1
fe9372cdf31d534af061ddbe6dd61eeb4ca7e8b9
2,595
py
Python
config/system.py
cfuss44/testtime_cross_scanner_medical_image_segmentation
c7a17dfcd1c845baf8f859f0412a809125b50fe9
[ "MIT" ]
null
null
null
config/system.py
cfuss44/testtime_cross_scanner_medical_image_segmentation
c7a17dfcd1c845baf8f859f0412a809125b50fe9
[ "MIT" ]
null
null
null
config/system.py
cfuss44/testtime_cross_scanner_medical_image_segmentation
c7a17dfcd1c845baf8f859f0412a809125b50fe9
[ "MIT" ]
null
null
null
import os import socket import logging import subprocess logging.basicConfig(level=logging.INFO, format='%(asctime)s %(message)s') # ================================================================== # SET THESE PATHS MANUALLY ######################################### # ================================================...
47.181818
165
0.444316
241
2,595
4.556017
0.427386
0.058288
0.063752
0.077413
0.17031
0.151184
0.065574
0.065574
0
0
0
0.005093
0.0921
2,595
54
166
48.055556
0.460951
0.439306
0
0
0
0.04
0.305316
0.127155
0
0
0
0
0
1
0.04
false
0
0.16
0
0.2
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fe93a5048d533f48b7a31d6313a5cea80894bf68
42,321
py
Python
FridgeCade-Project/ggpo/common/controller.py
Linuks777/FridgeCade
22de6933ae642d9ed393f86160670a6906c3ff9a
[ "WTFPL" ]
null
null
null
FridgeCade-Project/ggpo/common/controller.py
Linuks777/FridgeCade
22de6933ae642d9ed393f86160670a6906c3ff9a
[ "WTFPL" ]
null
null
null
FridgeCade-Project/ggpo/common/controller.py
Linuks777/FridgeCade
22de6933ae642d9ed393f86160670a6906c3ff9a
[ "WTFPL" ]
null
null
null
# -*- coding: utf-8 -*- import cgi import os import sys import re import socket import time import struct import select import errno import fileinput from shutil import copyfile from random import randint from subprocess import Popen from PyQt4 import QtCore from ggpo.common.runtime import * from ggpo.common.geolookup ...
40.305714
194
0.564259
4,264
42,321
5.577627
0.151735
0.014128
0.024976
0.029517
0.327124
0.270529
0.233318
0.189841
0.167809
0.133793
0
0.012029
0.328206
42,321
1,049
195
40.344137
0.824487
0.046454
0
0.354555
0
0.002195
0.06602
0.009056
0
0
0.000149
0
0
0
null
null
0.015368
0.027442
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
fe99cb784b83285dda634fc415f5c2e3dde4a045
457
py
Python
finance/logutil.py
adeelkhan11/finance
a96318bae5f16716674b0552e8ff16af3937e245
[ "MIT" ]
1
2018-03-09T03:39:47.000Z
2018-03-09T03:39:47.000Z
finance/logutil.py
adeelkhan11/finance
a96318bae5f16716674b0552e8ff16af3937e245
[ "MIT" ]
null
null
null
finance/logutil.py
adeelkhan11/finance
a96318bae5f16716674b0552e8ff16af3937e245
[ "MIT" ]
null
null
null
import logging def setup_logging(): # Create root logger logger = logging.getLogger('') logger.setLevel(logging.DEBUG) # Create stream handler ch = logging.StreamHandler() ch.setLevel(logging.DEBUG) # Create formatter formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname...
22.85
89
0.673961
53
457
5.792453
0.509434
0.078176
0.130293
0.169381
0
0
0
0
0
0
0
0
0.212254
457
19
90
24.052632
0.852778
0.201313
0
0
0
0
0.144444
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
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
fe9e4e99df5dd970d943e8437c338aca2bf07133
665
py
Python
stagecraft/apps/datasets/admin/data_type.py
alphagov-mirror/stagecraft
16afba8c0cf942279426c28c416d5dd430ae2d68
[ "MIT" ]
3
2016-03-07T11:12:07.000Z
2018-04-07T21:56:27.000Z
stagecraft/apps/datasets/admin/data_type.py
alphagov-mirror/stagecraft
16afba8c0cf942279426c28c416d5dd430ae2d68
[ "MIT" ]
81
2015-01-05T15:27:56.000Z
2021-03-24T10:51:43.000Z
stagecraft/apps/datasets/admin/data_type.py
alphagov-mirror/stagecraft
16afba8c0cf942279426c28c416d5dd430ae2d68
[ "MIT" ]
6
2015-01-25T09:05:52.000Z
2021-04-10T20:14:58.000Z
from __future__ import unicode_literals from django.contrib import admin from reversion.admin import VersionAdmin from stagecraft.apps.datasets.models.data_set import DataSet from stagecraft.apps.datasets.models.data_type import DataType class DataSetInline(admin.StackedInline): model = DataSet fields = ('n...
22.931034
62
0.729323
76
665
6.197368
0.605263
0.063694
0.076433
0.110403
0.152866
0.152866
0
0
0
0
0
0.001828
0.177444
665
28
63
23.75
0.859232
0
0
0
0
0
0.054135
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0.052632
0.842105
0
0
0
0
null
0
0
0
0
0
0
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
fea634104b7415e2496e26d37053c090e3d1b0af
445
py
Python
bugbuzz_service/api/events/resources.py
fangpenlin/bugbuzz-api
5ed6810f65f1edabf65282359eabc3845df26a67
[ "MIT" ]
1
2019-08-31T06:15:40.000Z
2019-08-31T06:15:40.000Z
bugbuzz_service/api/events/resources.py
fangpenlin/bugbuzz-api
5ed6810f65f1edabf65282359eabc3845df26a67
[ "MIT" ]
null
null
null
bugbuzz_service/api/events/resources.py
fangpenlin/bugbuzz-api
5ed6810f65f1edabf65282359eabc3845df26a67
[ "MIT" ]
1
2020-05-02T02:57:16.000Z
2020-05-02T02:57:16.000Z
from __future__ import unicode_literals from ... import models from ..base import ResourceBase class EventIndexResource(ResourceBase): def __getitem__(self, key): event = models.Event.query.get(key) if event is None: return return EventResource( self.request, ...
19.347826
43
0.611236
44
445
5.977273
0.613636
0
0
0
0
0
0
0
0
0
0
0
0.316854
445
22
44
20.227273
0.865132
0
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0.0625
0.1875
0
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
feac624eaca0e36a96881120286f1c438855d597
283
py
Python
client/config.sample.py
nsychev/printer
de103bd052f986619a79dd7e0c429f23ec139caa
[ "MIT" ]
null
null
null
client/config.sample.py
nsychev/printer
de103bd052f986619a79dd7e0c429f23ec139caa
[ "MIT" ]
null
null
null
client/config.sample.py
nsychev/printer
de103bd052f986619a79dd7e0c429f23ec139caa
[ "MIT" ]
null
null
null
# URL of server application root BASE_URL = 'https://printer.nsychev.ru/' # Secret token, same as server one TOKEN = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' # Path to print executable PRINT_BIN = 'PDFtoPrinter.exe' # Printer name PRINTER = 'Hewlett-Packard HP LaserJet Pro MFP M125ra'
23.583333
54
0.766784
37
283
5.810811
0.837838
0
0
0
0
0
0
0
0
0
0
0.012397
0.144876
283
11
55
25.727273
0.876033
0.35689
0
0
0
0
0.661017
0.180791
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
feaf79013167652580a1f4ca73ca31ee4e8c33e9
2,220
py
Python
memcached_stats.py
dajobe/rackspace-monitoring-agent-plugins-contrib
356cdfcda07997b7fbb75c3f162f296c1f201770
[ "Apache-2.0", "MIT" ]
null
null
null
memcached_stats.py
dajobe/rackspace-monitoring-agent-plugins-contrib
356cdfcda07997b7fbb75c3f162f296c1f201770
[ "Apache-2.0", "MIT" ]
null
null
null
memcached_stats.py
dajobe/rackspace-monitoring-agent-plugins-contrib
356cdfcda07997b7fbb75c3f162f296c1f201770
[ "Apache-2.0", "MIT" ]
null
null
null
#!/usr/bin/env python """ Rackspace Cloud Monitoring plugin to provide memcached statistics. Copyright 2013 Steve Katen <steve.katen@rackspace.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ...
29.6
77
0.652703
309
2,220
4.592233
0.459547
0.028189
0.018323
0.022551
0
0
0
0
0
0
0
0.013618
0.239189
2,220
74
78
30
0.826525
0.009009
0
0.090909
0
0
0.278424
0
0
0
0
0
0
0
null
null
0
0.090909
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
feaf9ac08592d30f1afb0af9b5ed3481b73fcb31
1,270
py
Python
src/experiments/archive/single_multi_dataloading.py
Sensors-in-Paradise/OpportunityML
a123b4842de45f735d517be6bcd96ca35171db91
[ "MIT" ]
1
2022-03-25T16:00:36.000Z
2022-03-25T16:00:36.000Z
src/experiments/archive/single_multi_dataloading.py
Sensors-in-Paradise/OpportunityML
a123b4842de45f735d517be6bcd96ca35171db91
[ "MIT" ]
1
2022-03-28T13:50:28.000Z
2022-03-28T13:50:28.000Z
src/experiments/archive/single_multi_dataloading.py
Sensors-in-Paradise/OpportunityML
a123b4842de45f735d517be6bcd96ca35171db91
[ "MIT" ]
null
null
null
""" test multi vs single thread data loading """ import os import random import numpy as np from sklearn.model_selection import KFold import time import utils.settings as settings from evaluation.metrics import accuracy from evaluation.conf_matrix import create_conf_matrix from loader.Preprocessor import Preprocesso...
30.238095
110
0.833858
177
1,270
5.751412
0.429379
0.058939
0.033399
0.051081
0.145383
0.145383
0.145383
0.145383
0.145383
0.145383
0
0.014783
0.094488
1,270
41
111
30.97561
0.870435
0.03622
0
0
0
0
0.094884
0.036304
0
0
0
0
0
1
0
false
0
0.576923
0
0.576923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
feafc89e56d01d6da0b23a5c4838125174e0c90c
442
py
Python
src/etc.py
maticrown/computer-security-project
8561def9e71f2ac6147544ce63a6fa5b8535f5ef
[ "MIT" ]
null
null
null
src/etc.py
maticrown/computer-security-project
8561def9e71f2ac6147544ce63a6fa5b8535f5ef
[ "MIT" ]
null
null
null
src/etc.py
maticrown/computer-security-project
8561def9e71f2ac6147544ce63a6fa5b8535f5ef
[ "MIT" ]
null
null
null
import csv # convert to csv with open('/home/elad_ch/security_prj/security_project/10-million-password-list-top-1000000.txt', 'r') as in_file: stripped = (line.strip() for line in in_file) lines = (line.split(",") for line in stripped if line) with open('10-million-password-list-top-1000000.csv', 'w') as o...
44.2
114
0.683258
67
442
4.402985
0.552239
0.054237
0.115254
0.142373
0.210169
0.210169
0
0
0
0
0
0.048913
0.167421
442
10
115
44.2
0.752717
0.031674
0
0
0
0.125
0.320843
0.290398
0
0
0
0
0
1
0
false
0.25
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
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
feb00400993e9eee3c2ddd821f1988161eddca4c
4,833
py
Python
seahub/share/migrations/0001_initial.py
MJochim/seahub
66fcc6772511d43346a2980613576c5fdb4c4945
[ "Apache-2.0" ]
420
2015-01-03T11:34:46.000Z
2022-03-10T07:15:41.000Z
seahub/share/migrations/0001_initial.py
MJochim/seahub
66fcc6772511d43346a2980613576c5fdb4c4945
[ "Apache-2.0" ]
735
2015-01-04T21:22:51.000Z
2022-03-31T09:26:07.000Z
seahub/share/migrations/0001_initial.py
MJochim/seahub
66fcc6772511d43346a2980613576c5fdb4c4945
[ "Apache-2.0" ]
379
2015-01-05T17:08:03.000Z
2022-03-06T00:11:50.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2018-03-21 08:43 import datetime from django.db import migrations, models import django.db.models.deletion import seahub.base.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations....
48.818182
194
0.58473
495
4,833
5.539394
0.208081
0.082057
0.056163
0.087527
0.730489
0.690372
0.652808
0.598833
0.598833
0.55434
0
0.022109
0.270019
4,833
98
195
49.316327
0.755102
0.014277
0
0.640449
1
0
0.10649
0.005461
0
0
0
0
0
1
0
false
0.022472
0.044944
0
0.089888
0
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
227f2a4290970d9456974fc43a9fea7b28757a63
2,625
py
Python
pawl/core/rate_limit.py
kylejb/PAWL
fd28b43e28ac762e197cfc4a687a74e24a23e786
[ "MIT" ]
1
2021-07-11T19:52:09.000Z
2021-07-11T19:52:09.000Z
pawl/core/rate_limit.py
kylejb/PAWL
fd28b43e28ac762e197cfc4a687a74e24a23e786
[ "MIT" ]
2
2021-07-04T06:29:14.000Z
2021-07-11T23:29:07.000Z
pawl/core/rate_limit.py
kylejb/PAWL
fd28b43e28ac762e197cfc4a687a74e24a23e786
[ "MIT" ]
null
null
null
"""Provide the RateLimiter class.""" import logging import time log = logging.getLogger(__package__) class RateLimiter: def __init__(self): """Create an instance of the RateLimit class.""" # TODO - Improve RateLimiter self.remaining = 5000 # limits vary on action self.next_reques...
36.971831
88
0.644952
322
2,625
5.108696
0.341615
0.06383
0.045593
0.072948
0.034043
0
0
0
0
0
0
0.007874
0.274286
2,625
70
89
37.5
0.855643
0.339429
0
0.097561
0
0
0.069883
0.012987
0
0
0
0.014286
0
1
0.097561
false
0
0.04878
0
0.292683
0
0
0
0
null
0
0
0
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
228002cdc595132bb0c37ad1527ee40331999d18
310
py
Python
code/app/setup.py
TomOrth/trenton-catalog-system
c40a0d7f1b667972baa0db2d53c6c65233de0c30
[ "MIT" ]
2
2021-05-04T20:03:38.000Z
2021-05-05T01:41:26.000Z
code/app/setup.py
TomOrth/trenton-catalog-system
c40a0d7f1b667972baa0db2d53c6c65233de0c30
[ "MIT" ]
null
null
null
code/app/setup.py
TomOrth/trenton-catalog-system
c40a0d7f1b667972baa0db2d53c6c65233de0c30
[ "MIT" ]
null
null
null
""" Setup information for application. This includes a database connection object and a database config By: Tom Orth """ from app.database.conn import PostgresConnection import yaml with open("config.yaml", "r") as f: db_config = yaml.load(f, Loader=yaml.FullLoader) conn = PostgresConnection(db_config)
25.833333
99
0.767742
44
310
5.363636
0.681818
0.076271
0
0
0
0
0
0
0
0
0
0
0.13871
310
11
100
28.181818
0.883895
0.364516
0
0
0
0
0.063492
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
228047fa9f5f5042e952e1209d47d0941d8f8819
765
py
Python
app/config/scrapping.py
acidbutter96/challenge_backend
d064d358b9c0bdaaec379d4a79f171324dcd22a0
[ "MIT" ]
null
null
null
app/config/scrapping.py
acidbutter96/challenge_backend
d064d358b9c0bdaaec379d4a79f171324dcd22a0
[ "MIT" ]
null
null
null
app/config/scrapping.py
acidbutter96/challenge_backend
d064d358b9c0bdaaec379d4a79f171324dcd22a0
[ "MIT" ]
null
null
null
import json import pandas as pd from pandas import json_normalize class ProcessPandas: def __init__(self,path,product='PLANO DE PREVIDÊNCIA'): #add current path to a str self.path = path self.product = product def serialize_to_df(self): with open(self.path,'rb') as f...
30.6
63
0.606536
98
765
4.55102
0.397959
0.107623
0.080717
0.107623
0.372197
0.372197
0.237668
0.237668
0.237668
0
0
0
0.290196
765
25
64
30.6
0.821363
0.03268
0
0.315789
0
0
0.081006
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0.052632
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2283d1ea1583232bb00e46e44025fa525663d594
2,833
py
Python
dojo/db_migrations/0075_import_history.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
1,772
2018-01-22T23:32:15.000Z
2022-03-31T14:49:33.000Z
dojo/db_migrations/0075_import_history.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
3,461
2018-01-20T19:12:28.000Z
2022-03-31T17:14:39.000Z
dojo/db_migrations/0075_import_history.py
mtcolman/django-DefectDojo
76175aca446e077884bdb5e1d8e2a671a0840775
[ "BSD-3-Clause" ]
1,173
2018-01-23T07:10:23.000Z
2022-03-31T14:40:43.000Z
# Generated by Django 2.2.17 on 2021-01-30 08:35 from django.db import migrations, models import django.db.models.deletion import django_extensions.db.fields from django.db.models import JSONField class Migration(migrations.Migration): dependencies = [('dojo', '0074_notifications_close_engagement')] operat...
48.016949
169
0.613837
291
2,833
5.786942
0.309278
0.059382
0.041568
0.071259
0.552257
0.486936
0.486936
0.486936
0.429929
0.429929
0
0.014863
0.240028
2,833
58
170
48.844828
0.767301
0.016237
0
0.470588
1
0
0.176302
0.043806
0
0
0
0
0
1
0
false
0
0.27451
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
228a5d40f3d19f260f2bcf960688b51f6086526f
2,413
py
Python
rmgpy/reduction/optimizationTest.py
keceli/RMG-Py
17c7870195a4feb6e8bf8974292f9bcdca1a1d9d
[ "MIT" ]
1
2017-12-18T18:43:22.000Z
2017-12-18T18:43:22.000Z
rmgpy/reduction/optimizationTest.py
keceli/RMG-Py
17c7870195a4feb6e8bf8974292f9bcdca1a1d9d
[ "MIT" ]
null
null
null
rmgpy/reduction/optimizationTest.py
keceli/RMG-Py
17c7870195a4feb6e8bf8974292f9bcdca1a1d9d
[ "MIT" ]
null
null
null
import os import sys import unittest import numpy as np from external.wip import work_in_progress from rmgpy.scoop_framework.framework import TestScoopCommon from rmgpy.scoop_framework.util import logger as logging import rmgpy try: from scoop import futures, _control, shared except ImportError, e: logging.d...
29.426829
98
0.704932
273
2,413
6.080586
0.43956
0.021687
0.03012
0.028916
0.022892
0
0
0
0
0
0
0.002588
0.199337
2,413
81
99
29.790123
0.856625
0.066308
0
0.037037
0
0
0.07073
0.022242
0
0
0
0
0.055556
0
null
null
0
0.296296
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
228d8a61ee26dca23103c2e155e5e314444c3cd2
2,304
py
Python
IrcMessage.py
Heufneutje/DideRobot
acbb608d5c73cef8739d9dd3149d781afc75acae
[ "MIT" ]
null
null
null
IrcMessage.py
Heufneutje/DideRobot
acbb608d5c73cef8739d9dd3149d781afc75acae
[ "MIT" ]
null
null
null
IrcMessage.py
Heufneutje/DideRobot
acbb608d5c73cef8739d9dd3149d781afc75acae
[ "MIT" ]
null
null
null
class IrcMessage(object): """Parses incoming messages into usable parts like the command trigger""" def __init__(self, rawText, bot, messageType='say', user=None, source=None): #First store the basic provided data self.rawText = rawText try: self.rawText = self.rawText.decode('utf-8') except (UnicodeDecod...
43.471698
142
0.71224
324
2,304
5.052469
0.361111
0.094075
0.036652
0.032987
0.142944
0.089188
0
0
0
0
0
0.003619
0.16059
2,304
52
143
44.307692
0.842813
0.311632
0
0.117647
0
0
0.059294
0
0
0
0
0
0
0
null
null
0
0
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
228f34df5449b3d5b777d97db6388d3505b48cda
1,120
py
Python
warehouse/redirects.py
Denon/warehouse
d2524c7dd369aa5139f510f6dd37caa059e12719
[ "Apache-2.0" ]
1
2019-06-19T19:58:49.000Z
2019-06-19T19:58:49.000Z
warehouse/redirects.py
Denon/warehouse
d2524c7dd369aa5139f510f6dd37caa059e12719
[ "Apache-2.0" ]
null
null
null
warehouse/redirects.py
Denon/warehouse
d2524c7dd369aa5139f510f6dd37caa059e12719
[ "Apache-2.0" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the Li...
36.129032
79
0.771429
156
1,120
5.423077
0.551282
0.070922
0.030733
0.037825
0
0
0
0
0
0
0
0.00418
0.145536
1,120
30
80
37.333333
0.879833
0.461607
0
0
0
0
0.054146
0
0
0
0
0
0
1
0.363636
false
0
0.090909
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
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
2290d7bc16c7a62e432446e06812ea6ed28031e5
1,212
py
Python
tests/data/expected/main/main_openapi_enum_models_one/output.py
tomercagan/datamodel-code-generator
c4a1852c28969762c1dc7c4607ece33a539f75aa
[ "MIT" ]
null
null
null
tests/data/expected/main/main_openapi_enum_models_one/output.py
tomercagan/datamodel-code-generator
c4a1852c28969762c1dc7c4607ece33a539f75aa
[ "MIT" ]
null
null
null
tests/data/expected/main/main_openapi_enum_models_one/output.py
tomercagan/datamodel-code-generator
c4a1852c28969762c1dc7c4607ece33a539f75aa
[ "MIT" ]
null
null
null
# generated by datamodel-codegen: # filename: enum_models.yaml # timestamp: 2019-07-26T00:00:00+00:00 from __future__ import annotations from enum import Enum from typing import List, Literal, Optional, Union from pydantic import BaseModel class Kind(Enum): dog = 'dog' cat = 'cat' class Pet(BaseMode...
14.60241
57
0.628713
158
1,212
4.71519
0.405063
0.016107
0.016107
0.018792
0.034899
0.034899
0
0
0
0
0
0.034103
0.25
1,212
82
58
14.780488
0.785479
0.082508
0
0.083333
1
0
0.044224
0
0
0
0
0
0
1
0
false
0
0.083333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
229105bdb2f6689addf182e4e7d16bbd73212913
1,213
py
Python
test/remoting/issue3835-inspect-crash/test.py
l9c/nw.js
15b91ee786d17514504e8a66b535f784e820e65f
[ "MIT" ]
1
2021-07-31T20:01:11.000Z
2021-07-31T20:01:11.000Z
test/remoting/issue3835-inspect-crash/test.py
l9c/nw.js
15b91ee786d17514504e8a66b535f784e820e65f
[ "MIT" ]
null
null
null
test/remoting/issue3835-inspect-crash/test.py
l9c/nw.js
15b91ee786d17514504e8a66b535f784e820e65f
[ "MIT" ]
null
null
null
import time import os from selenium import webdriver from selenium.webdriver.chrome.options import Options chrome_options = Options() chrome_options.add_argument("nwapp=" + os.path.dirname(os.path.abspath(__file__))) driver = webdriver.Chrome(executable_path=os.environ['CHROMEDRIVER'], chrome_options=chrome_options)...
40.433333
138
0.774114
163
1,213
5.539877
0.546012
0.071982
0.066445
0.042082
0
0
0
0
0
0
0
0.005592
0.115416
1,213
29
139
41.827586
0.835974
0.10305
0
0.083333
0
0.041667
0.200369
0.151431
0
0
0
0
0.041667
0
null
null
0
0.166667
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
22927d397c2e5426e43cbf84cc9ffdef649d125c
1,275
py
Python
tgbot.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
tgbot.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
tgbot.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
import atexit import logging.config from myfunds.config import init_config from myfunds.config import init_env_parser from myfunds.core.models import db_proxy from myfunds.database import init_database from myfunds.tgbot.bot import Bot from myfunds.tgbot.handlers import balance_stats from myfunds.tgbot.handlers import...
28.333333
64
0.762353
175
1,275
5.314286
0.274286
0.130108
0.12043
0.129032
0.232258
0.070968
0
0
0
0
0
0
0.141961
1,275
44
65
28.977273
0.850091
0
0
0
0
0
0.073725
0
0
0
0
0
0
1
0.058824
false
0
0.382353
0
0.441176
0
0
0
0
null
0
0
0
0
0
0
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
229338c9865ce801f3192262a3b096c18a3302cd
3,906
py
Python
tests/numerical_testing_2.py
gMatas/edunet
4c6bf00d7f48432eed45a0ce1763009bc5f31150
[ "MIT" ]
1
2021-06-16T16:27:32.000Z
2021-06-16T16:27:32.000Z
tests/numerical_testing_2.py
gMatas/edunet
4c6bf00d7f48432eed45a0ce1763009bc5f31150
[ "MIT" ]
null
null
null
tests/numerical_testing_2.py
gMatas/edunet
4c6bf00d7f48432eed45a0ce1763009bc5f31150
[ "MIT" ]
null
null
null
from typing import Dict import numpy as np import edunet as net from edunet.core import Operation from edunet.core import Variable EPSILON = 1e-6 SEED = 69696969 RANDOM_STATE = np.random.RandomState(SEED) INPUT_DTYPE = np.float64 INPUT_DATA_SHAPE = (1, 6, 6, 3) INPUT_LABELS_SHAPE = (1, 3, 1) data_batch = RANDOM_S...
31.756098
120
0.718894
553
3,906
4.826401
0.17179
0.037093
0.035969
0.032971
0.370176
0.330086
0.280629
0.184339
0.157362
0.157362
0
0.017968
0.130824
3,906
122
121
32.016393
0.768189
0.099078
0
0.0875
0
0
0.100685
0
0
0
0
0
0
1
0.05
false
0.0875
0.0625
0
0.125
0.1375
0
0
0
null
0
0
0
0
0
0
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
229e099a3dd79e572c15ba431f303cc6690a5fc5
1,521
py
Python
dkopt/card/deck.py
hasoya/deck-optimizer
b1348d70ced7890320b66c0e2d69ecc76a451715
[ "MIT" ]
null
null
null
dkopt/card/deck.py
hasoya/deck-optimizer
b1348d70ced7890320b66c0e2d69ecc76a451715
[ "MIT" ]
null
null
null
dkopt/card/deck.py
hasoya/deck-optimizer
b1348d70ced7890320b66c0e2d69ecc76a451715
[ "MIT" ]
1
2022-02-27T05:58:14.000Z
2022-02-27T05:58:14.000Z
"""Stores deck components.""" from dataclasses import dataclass from itertools import product from typing import List from dkopt.card.card import CardCondition from dkopt.card.hand import Hand @dataclass class Deck: """Stores the number of deck and CardCondition and generate hand pattern.""" num_deck: int ...
32.361702
80
0.662722
203
1,521
4.788177
0.325123
0.036008
0.045267
0.033951
0.153292
0.116255
0.059671
0
0
0
0
0
0.25378
1,521
46
81
33.065217
0.856388
0.259698
0
0
0
0
0.066855
0
0
0
0
0
0
1
0.125
false
0
0.208333
0.041667
0.583333
0
0
0
0
null
0
0
0
0
0
0
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
229f476093b29e54fc4575f24d27ea69d7e3fffb
2,266
py
Python
LintCode/BinarySearch/20191115_binary_search.py
Fabriceli/MachingLearning
d983f87c26f2ced2921030562a82dcd19c02171b
[ "MIT" ]
null
null
null
LintCode/BinarySearch/20191115_binary_search.py
Fabriceli/MachingLearning
d983f87c26f2ced2921030562a82dcd19c02171b
[ "MIT" ]
null
null
null
LintCode/BinarySearch/20191115_binary_search.py
Fabriceli/MachingLearning
d983f87c26f2ced2921030562a82dcd19c02171b
[ "MIT" ]
null
null
null
# -*-coding:utf-8 -*- #Reference:********************************************** # @Time    : 2019-11-15 11:14 # @Author  : Fabrice LI # @File    : 20191115_binary_search.py # @User    : liyihao # @Software : PyCharm # @Description: default module binary search #Reference:********************************************...
29.051282
73
0.456752
249
2,266
4.060241
0.196787
0.053412
0.115727
0.083086
0.707221
0.631058
0.583581
0.583581
0.583581
0.583581
0
0.032943
0.397176
2,266
77
74
29.428571
0.707174
0.136805
0
0.836066
0
0
0.015947
0
0
0
0
0
0
1
0.04918
false
0
0
0
0.262295
0.032787
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
22a102a771bb212ddd2461059f2491ad6c519a96
322
py
Python
1038_lanche.py
ErickSimoes/URI-Online-Judge
7e6f141db2647b1d0d69951b064bd95b0ce4ba1a
[ "MIT" ]
null
null
null
1038_lanche.py
ErickSimoes/URI-Online-Judge
7e6f141db2647b1d0d69951b064bd95b0ce4ba1a
[ "MIT" ]
null
null
null
1038_lanche.py
ErickSimoes/URI-Online-Judge
7e6f141db2647b1d0d69951b064bd95b0ce4ba1a
[ "MIT" ]
1
2019-10-29T16:51:29.000Z
2019-10-29T16:51:29.000Z
# coding: utf-8 pedido, quant = input().split(" ") pedido, quant = int(pedido), float(quant) valor = 0 if pedido == 1: valor = 4.0 elif pedido == 2: valor = 4.5 elif pedido == 3: valor = 5.0 elif pedido == 4: valor = 2.0 elif pedido == 5: valor = 1.5 print('Total: R$ {:.2f}'.format(valor * quant)...
16.947368
47
0.571429
52
322
3.538462
0.442308
0.217391
0.179348
0
0
0
0
0
0
0
0
0.074074
0.245342
322
18
48
17.888889
0.683128
0.040373
0
0
0
0
0.055375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.071429
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
22a218df9efc7f753dc927b5e59df0246168cbf4
1,260
py
Python
anisotropic diffusion/python/main.py
deangelign/imageProcessingCourse
75cd7e7866815080b4ecaa33ed25613bba2c5de5
[ "MIT" ]
null
null
null
anisotropic diffusion/python/main.py
deangelign/imageProcessingCourse
75cd7e7866815080b4ecaa33ed25613bba2c5de5
[ "MIT" ]
null
null
null
anisotropic diffusion/python/main.py
deangelign/imageProcessingCourse
75cd7e7866815080b4ecaa33ed25613bba2c5de5
[ "MIT" ]
null
null
null
from modules import imagebase from modules import anisotropic from modules import edge_detect import time import os.path from scipy import ndimage from scipy import misc ''' Init time ''' start = time.time() originalImagePath = 'assets/source.png' imageGrayPath = 'assets/source_greyscale.png' print (...
24.705882
98
0.72619
155
1,260
5.858065
0.412903
0.017621
0.056167
0.10793
0
0
0
0
0
0
0
0.013863
0.14127
1,260
50
99
25.2
0.825323
0.085714
0
0.064516
0
0
0.209934
0.025305
0
0
0
0
0
0
null
null
0
0.225806
null
null
0.258065
0
0
0
null
0
0
0
0
0
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
22a23de73f9bf866eb602b7105cbf9d140b43b88
968
py
Python
src/back-django/scraper_api/migrations/0001_initial.py
Arkko002/PyWalker
9e8a02b74a1217cfed385898654815a218297cce
[ "MIT" ]
null
null
null
src/back-django/scraper_api/migrations/0001_initial.py
Arkko002/PyWalker
9e8a02b74a1217cfed385898654815a218297cce
[ "MIT" ]
null
null
null
src/back-django/scraper_api/migrations/0001_initial.py
Arkko002/PyWalker
9e8a02b74a1217cfed385898654815a218297cce
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-09 15:19 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='PageRequest', fields=[ ...
30.25
125
0.57438
95
968
5.757895
0.557895
0.043876
0.051188
0.080439
0.288848
0.288848
0.288848
0.288848
0.288848
0.288848
0
0.027737
0.292355
968
31
126
31.225806
0.770803
0.046488
0
0.416667
1
0
0.07709
0.024973
0
0
0
0
0
1
0
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
22a7578a53d7247619781a3ff8f164d20fc742a4
16,145
py
Python
MLTSA_datasets/MD_DATA/CV_from_MD.py
handsomeshao11/MLTSA
c6a818312b17170f1383e5f4a42e1991d7b273a7
[ "MIT" ]
null
null
null
MLTSA_datasets/MD_DATA/CV_from_MD.py
handsomeshao11/MLTSA
c6a818312b17170f1383e5f4a42e1991d7b273a7
[ "MIT" ]
null
null
null
MLTSA_datasets/MD_DATA/CV_from_MD.py
handsomeshao11/MLTSA
c6a818312b17170f1383e5f4a42e1991d7b273a7
[ "MIT" ]
null
null
null
""" This module will encompass the code for analyzing the molecular dynamics generated on the simulations as dcd files. It also takes care of the CV generation for further feeding into the MLTSA pipeline. """ import numpy as np import mdtraj as md from itertools import combinations from itertools import permutation...
44.972145
126
0.608733
2,111
16,145
4.531028
0.174325
0.044224
0.01495
0.018819
0.346367
0.303293
0.274647
0.255829
0.254679
0.24046
0
0.005624
0.317126
16,145
359
127
44.972145
0.86195
0.375348
0
0.417112
1
0
0.094031
0.002492
0
0
0
0.008357
0
1
0.026738
false
0
0.032086
0
0.096257
0.064171
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
22acf342b0cf1e789f365e2dddc0635648fb6184
418
py
Python
tests/pymcell4_positive/0450_run_n_iterations_barrier/observables.py
mcellteam/mcell-tests
34d2d967b75d56edbae999bf0090641850f4f4fe
[ "MIT" ]
1
2021-08-13T20:40:54.000Z
2021-08-13T20:40:54.000Z
tests/pymcell4_positive/0450_run_n_iterations_barrier/observables.py
mcellteam/mcell_tests
34d2d967b75d56edbae999bf0090641850f4f4fe
[ "MIT" ]
null
null
null
tests/pymcell4_positive/0450_run_n_iterations_barrier/observables.py
mcellteam/mcell_tests
34d2d967b75d56edbae999bf0090641850f4f4fe
[ "MIT" ]
null
null
null
import mcell as m from parameters import * from subsystem import * from geometry import * # ---- observables ---- viz_output = m.VizOutput( mode = m.VizMode.ASCII, output_files_prefix = './viz_data/seed_' + str(get_seed()).zfill(5) + '/Scene', every_n_timesteps = 100 ) # declaration of rxn rules defined...
22
83
0.717703
58
418
4.982759
0.672414
0.093426
0
0
0
0
0
0
0
0
0
0.011494
0.167464
418
18
84
23.222222
0.818966
0.19378
0
0
0
0
0.065868
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
22b3459d26fe939ade84561ea76ad52205765d74
629
py
Python
day06/day06part1.py
opcecco/AOC2017
45530c8483e3f02b58b4ad33b057fae9f13a5bd0
[ "MIT" ]
1
2020-04-12T17:57:30.000Z
2020-04-12T17:57:30.000Z
day06/day06part1.py
opcecco/AOC2017
45530c8483e3f02b58b4ad33b057fae9f13a5bd0
[ "MIT" ]
null
null
null
day06/day06part1.py
opcecco/AOC2017
45530c8483e3f02b58b4ad33b057fae9f13a5bd0
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Advent of Code 2017: Day 6 Part 1 https://adventofcode.com/2017/day/6 """ import sys # Function to redistribute memory def redistribute(state): value = max(state) index = state.index(value) state[index] = 0 for i in xrange(index + 1, index + value + 1): state[i % len(state)] += 1 ...
18.5
54
0.675676
102
629
4.137255
0.558824
0.07109
0.037915
0.080569
0.127962
0.127962
0.127962
0
0
0
0
0.035156
0.18601
629
33
55
19.060606
0.789063
0.152623
0
0
0
0
0.002208
0
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
22b36c7e5ba0aa0daf7cf2816deeba8689b8831f
482
py
Python
objectModel/Python/cdm/persistence/modeljson/types/reference_entity.py
aaron-emde/CDM
9472e9c7694821ac4a9bbe608557d2e65aabc73e
[ "CC-BY-4.0", "MIT" ]
null
null
null
objectModel/Python/cdm/persistence/modeljson/types/reference_entity.py
aaron-emde/CDM
9472e9c7694821ac4a9bbe608557d2e65aabc73e
[ "CC-BY-4.0", "MIT" ]
3
2021-05-11T23:57:12.000Z
2021-08-04T05:03:05.000Z
objectModel/Python/cdm/persistence/modeljson/types/reference_entity.py
aaron-emde/CDM
9472e9c7694821ac4a9bbe608557d2e65aabc73e
[ "CC-BY-4.0", "MIT" ]
null
null
null
# ---------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. # All rights reserved. # ---------------------------------------------------------------------- from .entity import Entity class ReferenceEntity(Entity): """ Represents a model that contains sourc...
25.368421
73
0.43361
38
482
5.315789
0.763158
0.079208
0
0
0
0
0
0
0
0
0
0
0.192946
482
18
74
26.777778
0.51671
0.454357
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.166667
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
22b4ec03a5e34eb2daf2e85b56b553ac8745f6e8
997
py
Python
Chimera/Chimera_3D/console.py
ScottHull/Chimera
6124425c8ae373b58174c91f3a74a073dff5d3f2
[ "BSD-3-Clause" ]
null
null
null
Chimera/Chimera_3D/console.py
ScottHull/Chimera
6124425c8ae373b58174c91f3a74a073dff5d3f2
[ "BSD-3-Clause" ]
null
null
null
Chimera/Chimera_3D/console.py
ScottHull/Chimera
6124425c8ae373b58174c91f3a74a073dff5d3f2
[ "BSD-3-Clause" ]
null
null
null
import os from datetime import datetime import sys class bcolors: HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '\033[0m' BOLD = '\033[1m' UNDERLINE = '\033[4m' def nominal(message, verbose): if verbose is True: ...
31.15625
102
0.553661
132
997
4.181818
0.363636
0.076087
0.086957
0.125
0.61413
0.61413
0.557971
0.557971
0.557971
0.557971
0
0.049007
0.242728
997
32
103
31.15625
0.682119
0
0
0.333333
0
0
0.144289
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
22b53eb5c80e0b1a12065773f9532f301b5d237f
997
py
Python
home/ftp.py
Jiunan73/flask
608379fce5f22606ae675d745e02036f17b9043c
[ "MIT" ]
null
null
null
home/ftp.py
Jiunan73/flask
608379fce5f22606ae675d745e02036f17b9043c
[ "MIT" ]
null
null
null
home/ftp.py
Jiunan73/flask
608379fce5f22606ae675d745e02036f17b9043c
[ "MIT" ]
null
null
null
import time,os from ftplib import FTP fall_file='' ir_file='' def ftp_upload(filepath): IP = '127.0.0.1' user = 'johnlin' password = 'i5230303' filename = os.path.basename(filepath) ftp=FTP() #ftp.set_debuglevel(2) ftp.connect(IP) ftp.login(user,password) ftp.cwd("/home/johnlin/ftp") ftp.storbinary('STOR %s'%...
24.317073
86
0.685055
178
997
3.662921
0.38764
0.06135
0.067485
0.104294
0.269939
0.269939
0.269939
0.211656
0.211656
0.147239
0
0.070277
0.129388
997
40
87
24.925
0.680876
0.021063
0
0.057143
0
0.057143
0.270769
0.195897
0
0
0
0
0
1
0.028571
false
0.057143
0.057143
0
0.085714
0.085714
0
0
0
null
0
0
0
0
0
0
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
22b575220991e99a558af2677ef679fc5d9bf557
3,951
py
Python
self-supervised_learning/p3_inverse_extrapolate.py
chickert/reinforcement_learning
473323f08b079004f27a7f0931e5e9a46bfad347
[ "MIT" ]
null
null
null
self-supervised_learning/p3_inverse_extrapolate.py
chickert/reinforcement_learning
473323f08b079004f27a7f0931e5e9a46bfad347
[ "MIT" ]
null
null
null
self-supervised_learning/p3_inverse_extrapolate.py
chickert/reinforcement_learning
473323f08b079004f27a7f0931e5e9a46bfad347
[ "MIT" ]
null
null
null
""" Run this and p3_forward_extrapolate.py for P3 Then run p3_make_vids.py to generate the videos """ import torch import logging import torch.nn as nn from dataset import ObjPushDataset from model_learners import InverseModel from torch.utils.data import Dataset, DataLoader from push_env import PushingEnv import nump...
36.247706
139
0.668185
570
3,951
4.24386
0.236842
0.070277
0.034725
0.047127
0.290616
0.234394
0.18272
0.079372
0.047127
0.047127
0
0.033224
0.230575
3,951
108
140
36.583333
0.7625
0.05391
0
0.025974
1
0
0.056941
0.034707
0
0
0
0
0
1
0.051948
false
0
0.12987
0
0.220779
0
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
22b7faecf3f594147697381f34e1361121a1064b
776
py
Python
server/mcam/config.py
AnyISalIn/mcam
6e3d042a53a244e60a8af4a773f99c3f94be0668
[ "MIT" ]
4
2021-04-02T08:29:42.000Z
2021-12-03T03:28:22.000Z
server/mcam/config.py
AnyISalIn/mcam
6e3d042a53a244e60a8af4a773f99c3f94be0668
[ "MIT" ]
3
2021-06-08T20:42:10.000Z
2022-03-12T00:07:53.000Z
server/mcam/config.py
AnyISalIn/mcam
6e3d042a53a244e60a8af4a773f99c3f94be0668
[ "MIT" ]
1
2021-07-23T01:40:45.000Z
2021-07-23T01:40:45.000Z
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config: SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string' TERRAFORM_BIN = os.environ.get('MCAM_TERRAFORM_BIN') or '/usr/local/bin/terraform' PLAN_DIR = os.environ.get('MCAM_PLAN_DIR') or '/plans' RQ_REDIS_URL = os....
22.823529
86
0.67268
99
776
5.070707
0.545455
0.071713
0.095618
0.095618
0
0
0
0
0
0
0
0.015898
0.189433
776
33
87
23.515152
0.782194
0
0
0.086957
0
0
0.270619
0.104381
0
0
0
0
0
1
0.043478
false
0.086957
0.043478
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
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