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
f095d3380b5ebd2361d49e633805f48a1b42caba
2,866
py
Python
tests/knowledge/rules/aws/context_aware/test_ec2_role_share_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
tests/knowledge/rules/aws/context_aware/test_ec2_role_share_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
tests/knowledge/rules/aws/context_aware/test_ec2_role_share_rule.py
my-devops-info/cloudrail-knowledge
b7c1bbd6fe1faeb79c105a01c0debbe24d031a0e
[ "MIT" ]
null
null
null
import unittest from cloudrail.knowledge.context.aws.aws_connection import PublicConnectionDetail, PolicyConnectionProperty, ConnectionDirectionType from cloudrail.knowledge.context.aws.ec2.ec2_instance import Ec2Instance from cloudrail.knowledge.context.aws.ec2.network_interface import NetworkInterface from cloudrail...
40.942857
132
0.759944
314
2,866
6.633758
0.226115
0.047528
0.073452
0.069611
0.707633
0.692271
0.602976
0.601056
0.601056
0.601056
0
0.01675
0.166783
2,866
69
133
41.536232
0.855528
0.01291
0
0.5
0
0
0.026223
0
0
0
0
0
0.090909
1
0.068182
false
0.022727
0.204545
0
0.295455
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f09b0ac82d16a4658253e26c01ef5ddc01555542
703
py
Python
vaksinasi/migrations/0003_auto_20211029_0123.py
harmonica-pacil/invid19
b4986f3375721deb02c9b9b8c982cd4e426c423c
[ "Unlicense" ]
1
2021-12-27T12:50:05.000Z
2021-12-27T12:50:05.000Z
vaksinasi/migrations/0003_auto_20211029_0123.py
harmonica-pacil/invid19
b4986f3375721deb02c9b9b8c982cd4e426c423c
[ "Unlicense" ]
null
null
null
vaksinasi/migrations/0003_auto_20211029_0123.py
harmonica-pacil/invid19
b4986f3375721deb02c9b9b8c982cd4e426c423c
[ "Unlicense" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-28 18:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vaksinasi', '0002_alter_pendaftar_nik'), ] operations = [ migrations.AlterField( model_name='pendaftar', name='NIK',...
29.291667
132
0.618777
77
703
5.532468
0.597403
0.093897
0.117371
0.13615
0.380282
0.380282
0.380282
0.380282
0.380282
0.380282
0
0.042389
0.261735
703
23
133
30.565217
0.77842
0.064011
0
0.235294
1
0
0.217988
0.036585
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f09c5c08205d285d8d7e7dce3b7328bf5dab9194
1,991
py
Python
classes/stack.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
classes/stack.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
classes/stack.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
# node class for develping linked list class Node: def __init__(self, data=None, pointer=None): self.data = data self.pointer = pointer def set_data(self, data): self.data = data def get_data(self): return self.data def set_pointer(self, pointer): ...
21.641304
64
0.547464
243
1,991
4.279835
0.185185
0.080769
0.042308
0.040385
0.125
0.057692
0.057692
0
0
0
0
0
0.349573
1,991
91
65
21.879121
0.803089
0.085886
0
0.178571
0
0
0.064497
0
0
0
0
0
0
1
0.232143
false
0
0
0.089286
0.464286
0.035714
0
0
0
null
0
0
0
0
0
0
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
f09e721d7a2aea6a6da9968525dbcc1b80b3e3d5
549
py
Python
tests/test_cosine_estimator.py
lefnire/lefnire_ml_utils
65b84bb59faa41268aa14405daa58f6ba0b2509b
[ "MIT" ]
3
2020-10-27T04:03:16.000Z
2021-03-06T01:26:06.000Z
tests/test_cosine_estimator.py
lefnire/lefnire_ml_utils
65b84bb59faa41268aa14405daa58f6ba0b2509b
[ "MIT" ]
3
2020-10-08T22:47:55.000Z
2020-10-29T18:43:36.000Z
tests/test_cosine_estimator.py
lefnire/lefnire_ml_utils
65b84bb59faa41268aa14405daa58f6ba0b2509b
[ "MIT" ]
null
null
null
from ml_tools import CosineEstimator, Similars from ml_tools.fixtures import articles import numpy as np corpus = articles() split_ = len(corpus)//3 x, y = corpus[split_:], corpus[:split_] # note reversal; x should be smaller x, y = Similars(x, y).embed().value() def test_cosine_estimator(): dnn = CosineEstimat...
28.894737
77
0.712204
79
549
4.835443
0.56962
0.015707
0.057592
0
0
0
0
0
0
0
0
0.004405
0.173042
549
18
78
30.5
0.837004
0.189435
0
0
0
0
0
0
0
0
0
0.055556
0
1
0.071429
false
0
0.214286
0
0.285714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f0a3f15b303ced78faaebde15a58c43f37452c94
5,686
py
Python
src/web/modules/post/controllers/post/create.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
2
2017-04-30T07:29:23.000Z
2017-04-30T07:36:27.000Z
src/web/modules/post/controllers/post/create.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
null
null
null
src/web/modules/post/controllers/post/create.py
unkyulee/elastic-cms
3ccf4476c3523d4fefc0d8d9dee0196815b81489
[ "MIT" ]
null
null
null
from flask import request, render_template import json import traceback import lib.es as es import web.util.tools as tools import web.modules.post.services.workflow as workflow import web.modules.post.services.upload as upload import web.util.jinja as jinja import web.modules.admin.services.notification as notification...
34.047904
109
0.470805
614
5,686
4.330619
0.226384
0.039489
0.027078
0.022565
0.282437
0.224897
0.194058
0.137646
0.137646
0.120346
0
0.001487
0.290362
5,686
166
110
34.253012
0.657497
0.074569
0
0.236364
0
0
0.178797
0.010517
0
0
0
0
0
0
null
null
0.036364
0.081818
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
f0b3c832cf8e1ee83bee7a2645bdcc49172d3621
344
py
Python
program_train/hachina1.py
zhujisheng/HAComponent
29c44a5ea3090d748738830a50e2d25c07e1bac8
[ "Apache-2.0" ]
39
2017-12-17T13:51:13.000Z
2022-02-25T02:57:39.000Z
program_train/hachina1.py
vitc-123/HAComponent
29c44a5ea3090d748738830a50e2d25c07e1bac8
[ "Apache-2.0" ]
5
2019-05-30T07:09:49.000Z
2021-07-15T02:53:49.000Z
program_train/hachina1.py
vitc-123/HAComponent
29c44a5ea3090d748738830a50e2d25c07e1bac8
[ "Apache-2.0" ]
28
2018-01-05T10:48:28.000Z
2021-12-07T13:59:22.000Z
""" 文件名:hachina.py. 演示程序,三行代码创建一个新设备. """ def setup(hass, config): """HomeAssistant在配置文件中发现hachina域的配置后,会自动调用hachina.py文件中的setup函数.""" # 设置实体hachina.Hello_World的状态。 # 注意1:实体并不需要被创建,只要设置了实体的状态,实体就自然存在了 # 注意2:实体的状态可以是任何字符串 hass.states.set("hachina.hello_world", "太棒了!") # 返回True代表...
20.235294
72
0.671512
31
344
7.387097
0.903226
0
0
0
0
0
0
0
0
0
0
0.007246
0.197674
344
16
73
21.5
0.822464
0.555233
0
0
0
0
0.190083
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
0
1
f0b7d59823b393f5c64dfa9a82c8f3f19e0a14bc
5,627
py
Python
pydaemon/tx_sms_service_.py
tmkasun/pysmsgate
42c06f1e8e3598697844fd9b098f314a24709777
[ "Apache-2.0" ]
null
null
null
pydaemon/tx_sms_service_.py
tmkasun/pysmsgate
42c06f1e8e3598697844fd9b098f314a24709777
[ "Apache-2.0" ]
null
null
null
pydaemon/tx_sms_service_.py
tmkasun/pysmsgate
42c06f1e8e3598697844fd9b098f314a24709777
[ "Apache-2.0" ]
null
null
null
import json import sys import time from twisted.internet.task import deferLater from twisted.web import http from twisted.web.resource import Resource from twisted.web.server import Site from twisted.internet import reactor from gsmmodem.modem import GsmModem, SentSms from gsmmodem.exceptions import TimeoutException,...
30.917582
103
0.602808
623
5,627
5.338684
0.280899
0.026458
0.021648
0.042093
0.192724
0.159952
0.133794
0.133794
0.133794
0.133794
0
0.002508
0.291274
5,627
182
104
30.917582
0.831494
0.05207
0
0.244604
0
0
0.152272
0
0
0
0
0.005495
0
0
null
null
0.007194
0.093525
null
null
0.093525
0
0
0
null
0
0
0
0
0
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
f0c4871928dffeb7e7e0aad03825633ae820c35a
2,076
py
Python
hello/migrations/0002_auto_20201116_1409.py
chenyuan99/OwlSavesCats
d8135848db5e6092467ee0d31aa46c36599cace1
[ "MIT" ]
null
null
null
hello/migrations/0002_auto_20201116_1409.py
chenyuan99/OwlSavesCats
d8135848db5e6092467ee0d31aa46c36599cace1
[ "MIT" ]
null
null
null
hello/migrations/0002_auto_20201116_1409.py
chenyuan99/OwlSavesCats
d8135848db5e6092467ee0d31aa46c36599cace1
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-11-16 19:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('hello', '0001_initial'), ] operations = [ migrations.CreateModel( name='Author', fi...
32.952381
114
0.53131
180
2,076
6
0.427778
0.05
0.083333
0.111111
0.377778
0.22037
0.22037
0.146296
0.146296
0.146296
0
0.024513
0.331888
2,076
62
115
33.483871
0.754146
0.021676
0
0.428571
1
0
0.097585
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.089286
0
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
f0cd195aebcc37de4124760ae9d1f43db09b1611
585
py
Python
requests_test.py
AnakinJiang/PythonDemo
4e8e8296b098ce541c588fafdf07cf2d6d955d38
[ "MIT" ]
null
null
null
requests_test.py
AnakinJiang/PythonDemo
4e8e8296b098ce541c588fafdf07cf2d6d955d38
[ "MIT" ]
null
null
null
requests_test.py
AnakinJiang/PythonDemo
4e8e8296b098ce541c588fafdf07cf2d6d955d38
[ "MIT" ]
null
null
null
''' @Author: AnakinJiang @Email: jiangjinpeng319 AT gmail.com @Descripttion: requests测试demo @Date: 2019-08-27 15:37:14 @LastEditors: AnakinJiang @LastEditTime: 2019-08-27 16:55:06 ''' import requests def get_test(): url1 = 'https://www.douban.com/' r1 = requests.get(url1) print(r1.status_code) print(r1...
19.5
43
0.659829
81
585
4.728395
0.592593
0.05483
0.041775
0.088773
0
0
0
0
0
0
0
0.099379
0.174359
585
29
44
20.172414
0.693582
0.299145
0
0
0
0
0.164589
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
0.466667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
f0d0afc35b9e84aba33193038e8752efcd1d32f7
1,695
py
Python
tests/test_errors.py
althonos/pyhmmer
eb6fe7c0e74557e0ae9d647693711583d2d86b68
[ "MIT" ]
26
2020-11-10T22:57:49.000Z
2022-03-24T16:58:55.000Z
tests/test_errors.py
althonos/pyhmmer
eb6fe7c0e74557e0ae9d647693711583d2d86b68
[ "MIT" ]
13
2020-11-12T11:41:08.000Z
2022-03-09T18:17:48.000Z
tests/test_errors.py
althonos/pyhmmer
eb6fe7c0e74557e0ae9d647693711583d2d86b68
[ "MIT" ]
2
2021-04-04T05:13:07.000Z
2021-11-30T09:11:23.000Z
import unittest from pyhmmer.easel import Alphabet from pyhmmer.errors import UnexpectedError, AllocationError, EaselError, AlphabetMismatch class TestErrors(unittest.TestCase): def test_unexpected_error(self): err = UnexpectedError(1, "p7_ReconfigLength") self.assertEqual(repr(err), "Unexpected...
42.375
111
0.684366
198
1,695
5.787879
0.30303
0.157068
0.082897
0.076789
0.480803
0.480803
0.374346
0.097731
0
0
0
0.024673
0.187021
1,695
39
112
43.461538
0.806967
0
0
0
0
0
0.282006
0.047788
0
0
0
0
0.482759
1
0.137931
false
0
0.103448
0
0.275862
0
0
0
0
null
0
0
0
0
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
f0d0b9a716fb2240576fa6c1da54c8656e26b395
1,196
py
Python
electrum_gui/common/provider/chains/cfx/sdk/cfx_address/base32.py
BixinKey/electrum
f5de4e74e313b9b569f13ba6ab9142a38bf095f2
[ "MIT" ]
12
2020-11-12T08:53:05.000Z
2021-07-06T17:30:39.000Z
electrum_gui/common/provider/chains/cfx/sdk/cfx_address/base32.py
liyanhrxy/electrum
107608ef201ff1d20d2f6091c257b1ceff9b7362
[ "MIT" ]
209
2020-09-23T06:58:18.000Z
2021-11-18T11:25:41.000Z
electrum_gui/common/provider/chains/cfx/sdk/cfx_address/base32.py
liyanhrxy/electrum
107608ef201ff1d20d2f6091c257b1ceff9b7362
[ "MIT" ]
19
2020-10-13T11:42:26.000Z
2022-02-06T01:26:34.000Z
import base64 STANDARD_ALPHABET = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ234567' CUSTOM_ALPHABET = 'abcdefghjkmnprstuvwxyz0123456789' ENCODE_TRANS = str.maketrans(STANDARD_ALPHABET, CUSTOM_ALPHABET) DECODE_TRANS = str.maketrans(CUSTOM_ALPHABET, STANDARD_ALPHABET) PADDING_LETTER = '=' def encode(buffer): assert type(buffer) ...
29.9
85
0.70903
144
1,196
5.75
0.381944
0.084541
0.041063
0
0
0
0
0
0
0
0
0.065285
0.193144
1,196
39
86
30.666667
0.792746
0.08194
0
0.071429
0
0
0.094322
0.058608
0
0
0
0
0.071429
1
0.142857
false
0.071429
0.035714
0
0.321429
0
0
0
0
null
0
0
0
0
0
0
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
f0d71db6f553884c2bb1448ebcb992750a840180
2,175
py
Python
reamber/algorithms/generate/sv/generators/svFuncSequencer.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
reamber/algorithms/generate/sv/generators/svFuncSequencer.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
reamber/algorithms/generate/sv/generators/svFuncSequencer.py
Bestfast/reamberPy
91b76ca6adf11fbe8b7cee7c186481776a4d7aaa
[ "MIT" ]
null
null
null
from typing import Callable, List, Union from numpy import arange from reamber.algorithms.generate.sv.SvPkg import SvPkg from reamber.algorithms.generate.sv.SvSequence import SvSequence def svFuncSequencer(funcs: List[Union[float, Callable[[float], float], None]], offsets: Union[List[float], flo...
38.157895
114
0.630805
293
2,175
4.682594
0.341297
0.017493
0.021866
0.042274
0.093294
0.048105
0.048105
0.048105
0
0
0
0.008244
0.274943
2,175
56
115
38.839286
0.861763
0.386207
0
0
1
0
0
0
0
0
0
0
0.037037
1
0.037037
false
0.037037
0.148148
0
0.222222
0
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
f0db6dccf419614f773337c9ea484f5c0bdce823
452
py
Python
itmo/2015-16/final/weight.py
dluschan/olymp
dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7
[ "MIT" ]
null
null
null
itmo/2015-16/final/weight.py
dluschan/olymp
dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7
[ "MIT" ]
null
null
null
itmo/2015-16/final/weight.py
dluschan/olymp
dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7
[ "MIT" ]
1
2018-09-14T18:50:48.000Z
2018-09-14T18:50:48.000Z
weight = [] diff = 0 n = int(input()) for i in range(n): q, c = map(int, input().split()) if c == 2: q *= -1 weight.append(q) diff += q min_diff = abs(diff) for i in range(n): if abs(diff - 2*weight[i]) < min_diff: min_diff = abs(diff - 2*weight[i]) for j in range(i+1, n): ...
25.111111
60
0.526549
80
452
2.9
0.275
0.181034
0.137931
0.241379
0.564655
0.465517
0.465517
0.25
0.25
0
0
0.024691
0.283186
452
17
61
26.588235
0.691358
0
0
0.117647
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.058824
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
f0dd9ec3c005973e7ab2799270be09efd623558e
9,700
py
Python
test/test_digitalbitbox.py
matejcik/HWI
f0021502d470660b9d8a5e79fcc440ac809a610f
[ "MIT" ]
54
2018-03-16T14:50:19.000Z
2019-01-29T19:19:17.000Z
test/test_digitalbitbox.py
matejcik/HWI
f0021502d470660b9d8a5e79fcc440ac809a610f
[ "MIT" ]
86
2018-01-30T18:40:44.000Z
2019-01-30T20:48:24.000Z
test/test_digitalbitbox.py
matejcik/HWI
f0021502d470660b9d8a5e79fcc440ac809a610f
[ "MIT" ]
11
2017-09-05T17:19:53.000Z
2019-01-10T19:11:04.000Z
#! /usr/bin/env python3 import argparse import atexit import json import os import subprocess import sys import time import unittest from test_device import ( Bitcoind, DeviceEmulator, DeviceTestCase, TestDeviceConnect, TestGetKeypool, TestGetDescriptors, TestSignTx, ) from hwilib.devices...
45.971564
161
0.668454
1,069
9,700
5.946679
0.228251
0.039327
0.032877
0.05081
0.510304
0.498663
0.483404
0.450684
0.421268
0.415919
0
0.028007
0.201237
9,700
210
162
46.190476
0.792463
0.038557
0
0.257669
0
0
0.252229
0.047588
0
0
0
0
0.257669
1
0.06135
false
0.09816
0.06135
0
0.147239
0.01227
0
0
0
null
0
0
0
0
0
0
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
f0df7eb72b3c3a8b625596cf0e32b466f1260149
456
py
Python
ml-env/examples/train.py
RafalSkolasinski/dockerfiles
8c8609fda42ad2b55960b64aef12774e00e2a4d4
[ "MIT" ]
null
null
null
ml-env/examples/train.py
RafalSkolasinski/dockerfiles
8c8609fda42ad2b55960b64aef12774e00e2a4d4
[ "MIT" ]
134
2021-02-10T14:32:47.000Z
2022-03-31T02:16:17.000Z
ml-env/examples/train.py
RafalSkolasinski/dockerfiles
8c8609fda42ad2b55960b64aef12774e00e2a4d4
[ "MIT" ]
null
null
null
import numpy as np import joblib from sklearn import datasets from sklearn import svm from sklearn.model_selection import train_test_split filename_p = "model.joblib" if __name__ == "__main__": digits = datasets.load_digits() X_train, X_test, y_train, y_test = train_test_split( digits.data, digit...
19
56
0.717105
71
456
4.28169
0.507042
0.108553
0.111842
0
0
0
0
0
0
0
0
0.02439
0.190789
456
23
57
19.826087
0.799458
0
0
0
0
0
0.04386
0
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
f0e245d926233f4c636eb409d21b940db19ff2c8
1,982
py
Python
activitfinal.py
AjayBadrinath/Python-Stuff
34bb0339968b943cc63c5dc31721e3504faea157
[ "MIT" ]
null
null
null
activitfinal.py
AjayBadrinath/Python-Stuff
34bb0339968b943cc63c5dc31721e3504faea157
[ "MIT" ]
null
null
null
activitfinal.py
AjayBadrinath/Python-Stuff
34bb0339968b943cc63c5dc31721e3504faea157
[ "MIT" ]
null
null
null
import sys #"splchar":["!","@","#","$",".",",",":","%","^","*"] splchar=[chr(i) for i in range(33,48)]#ASCII spl charecter range from 33-48 and58-65#and i here is the mapping expression ie the thing thet is executed evry iteration splchar1=[chr(i) for i in range(58,65)]#Instead of explicit declaration of for loop ...
48.341463
168
0.652371
329
1,982
3.917933
0.392097
0.017067
0.013964
0.023274
0.07758
0.07758
0.054306
0.054306
0.054306
0.054306
0
0.032475
0.176589
1,982
40
169
49.55
0.757353
0.380424
0
0
0
0.217391
0.478648
0.163701
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f0e44d50b65aca97969715923cd5504c6c2fa654
28,838
py
Python
pytests/backup/ibr.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
pytests/backup/ibr.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
pytests/backup/ibr.py
ramalingam-cb/testrunner
81cea7a5a493cf0c67fca7f97c667cd3c6ad2142
[ "Apache-2.0" ]
null
null
null
__author__ = 'ashvinder' import re import os import gc import logger import time from TestInput import TestInputSingleton from backup.backup_base import BackupBaseTest from remote.remote_util import RemoteMachineShellConnection from couchbase_helper.documentgenerator import BlobGenerator from couchbase_helper.documentg...
45.485804
165
0.627055
3,525
28,838
4.871206
0.078582
0.03436
0.042397
0.029352
0.728263
0.698911
0.686099
0.677829
0.672646
0.658494
0
0.022296
0.273701
28,838
633
166
45.557662
0.797517
0.026181
0
0.577586
0
0.00431
0.077183
0.003126
0
0
0
0
0.00431
1
0.051724
false
0.00431
0.045259
0
0.109914
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f0e89ae2be157a7563b7db3f026034c5b7dec360
482
py
Python
cardiffshop/cardiffshop/urls.py
yigitguler/admin-example
48a0eacea1d03123fef5e86165749e9c0213e0d8
[ "MIT" ]
null
null
null
cardiffshop/cardiffshop/urls.py
yigitguler/admin-example
48a0eacea1d03123fef5e86165749e9c0213e0d8
[ "MIT" ]
null
null
null
cardiffshop/cardiffshop/urls.py
yigitguler/admin-example
48a0eacea1d03123fef5e86165749e9c0213e0d8
[ "MIT" ]
null
null
null
from products.views import ProductDetail from django.conf import settings from django.conf.urls.static import static from django.conf.urls import include, url from django.contrib import admin urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r'^products/(?P<slug>[-\w]+)/', ProductDetail.as_view()...
37.076923
88
0.761411
67
482
5.373134
0.41791
0.111111
0.116667
0.1
0
0
0
0
0
0
0
0
0.10166
482
12
89
40.166667
0.831409
0
0
0
0
0
0.099585
0.056017
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
f0f5e1e9645a14c12d5c5d93830c5d22ebcb474f
823
py
Python
Module/engine.py
NoahSchiro/physics-engine
c96d96eeaf823583ac1035d58fb69d7d47019f87
[ "MIT" ]
null
null
null
Module/engine.py
NoahSchiro/physics-engine
c96d96eeaf823583ac1035d58fb69d7d47019f87
[ "MIT" ]
null
null
null
Module/engine.py
NoahSchiro/physics-engine
c96d96eeaf823583ac1035d58fb69d7d47019f87
[ "MIT" ]
null
null
null
from free_bodies import * # This is the actual engine which is apply physics to objects class physics_engine: FB = [] # Array holds all of the objects in our simulation. FB = free bodies # Add free bodies to the system def add_fb(self, fb): self.FB.append(fb) # Remove a free body fro...
28.37931
84
0.584447
125
823
3.808
0.408
0.10084
0.067227
0.05042
0.05042
0
0
0
0
0
0
0.001883
0.3548
823
28
85
29.392857
0.894539
0.443499
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.083333
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
0b066a126354f8b346cb7cd4adb064a1438b7f2c
1,190
py
Python
datadog/api/screenboards.py
gust/datadogpy
94f7dfeed87849a615916a5f171b25400b7c6cc5
[ "BSD-3-Clause" ]
null
null
null
datadog/api/screenboards.py
gust/datadogpy
94f7dfeed87849a615916a5f171b25400b7c6cc5
[ "BSD-3-Clause" ]
null
null
null
datadog/api/screenboards.py
gust/datadogpy
94f7dfeed87849a615916a5f171b25400b7c6cc5
[ "BSD-3-Clause" ]
null
null
null
from datadog.api.resources import GetableAPIResource, CreateableAPIResource, \ UpdatableAPIResource, DeletableAPIResource, ActionAPIResource, ListableAPIResource class Screenboard(GetableAPIResource, CreateableAPIResource, UpdatableAPIResource, DeletableAPIResource, ActionAPIRe...
31.315789
90
0.668908
117
1,190
6.649573
0.393162
0.071979
0.151671
0.203085
0.670951
0.670951
0.375321
0.375321
0.375321
0.254499
0
0
0.251261
1,190
37
91
32.162162
0.873176
0.294958
0
0.142857
0
0
0.071331
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.642857
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
0b0b1a7b4c5a81ec7957c24cfd67e9ce4f84e8eb
7,311
py
Python
SCALA_library/Lower_level_tools/pyCorner260.py
snfactory/scala
f046d0e458bc4146546e80df16e15259f6019f93
[ "Apache-2.0" ]
null
null
null
SCALA_library/Lower_level_tools/pyCorner260.py
snfactory/scala
f046d0e458bc4146546e80df16e15259f6019f93
[ "Apache-2.0" ]
null
null
null
SCALA_library/Lower_level_tools/pyCorner260.py
snfactory/scala
f046d0e458bc4146546e80df16e15259f6019f93
[ "Apache-2.0" ]
null
null
null
########################################################### # LOWER LEVEL LIBRARY THAT TALKS TO THE MONOCHROMATON # ########################################################### import subprocess import time # -- See pyserial import serial class CornerStone260: """This class controlls the Cornerstone 26...
36.193069
95
0.562987
814
7,311
4.982801
0.237101
0.045611
0.102071
0.053254
0.42431
0.349852
0.29216
0.24926
0.225838
0.174063
0
0.005699
0.303926
7,311
201
96
36.373134
0.791315
0.050609
0
0.175439
0
0
0.086358
0
0
0
0
0
0
0
null
null
0
0.026316
null
null
0.026316
0
0
0
null
0
0
0
0
0
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
0b0d5b4aaea543cf63af89cd9a03e2708a9fbab7
4,845
py
Python
resources/mgltools_x86_64Linux2_1.5.6/MGLToolsPckgs/AutoDockTools/autoflex4Commands.py
J-E-J-S/aaRS-Pipeline
43f59f28ab06e4b16328c3bc405cdddc6e69ac44
[ "MIT" ]
8
2021-12-14T21:30:01.000Z
2022-02-14T11:30:03.000Z
resources/mgltools_x86_64Linux2_1.5.6/MGLToolsPckgs/AutoDockTools/autoflex4Commands.py
J-E-J-S/aaRS-Pipeline
43f59f28ab06e4b16328c3bc405cdddc6e69ac44
[ "MIT" ]
null
null
null
resources/mgltools_x86_64Linux2_1.5.6/MGLToolsPckgs/AutoDockTools/autoflex4Commands.py
J-E-J-S/aaRS-Pipeline
43f59f28ab06e4b16328c3bc405cdddc6e69ac44
[ "MIT" ]
null
null
null
############################################################################# # # Author: Ruth HUEY, Michel F. SANNER # # Copyright: M. Sanner TSRI 2008 # ############################################################################# # $Header: /opt/cvs/python/packages/share1.5/AutoDockTools/autoflex4Commands.py,v 1.1 ...
36.984733
118
0.707327
493
4,845
6.805274
0.3286
0.039344
0.09389
0.120715
0.223547
0.059613
0.02623
0.02623
0.02623
0.02623
0
0.015718
0.133333
4,845
130
119
37.269231
0.783282
0.295975
0
0
0
0
0.2057
0.04368
0
0
0
0.015385
0
1
0.018519
false
0
0.037037
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0b0f2186008ea5990d722ee460df30182fea5006
1,088
py
Python
ipsc/2016/f.py
csferng/competitive-programming
f7ae710392c0fd606f735df6efcfca5e8fbd3501
[ "MIT" ]
null
null
null
ipsc/2016/f.py
csferng/competitive-programming
f7ae710392c0fd606f735df6efcfca5e8fbd3501
[ "MIT" ]
null
null
null
ipsc/2016/f.py
csferng/competitive-programming
f7ae710392c0fd606f735df6efcfca5e8fbd3501
[ "MIT" ]
null
null
null
import collections import itertools import re import sys read_str = lambda : sys.stdin.readline().strip() read_str_list = lambda : sys.stdin.readline().strip().split() read_int = lambda : int(read_str()) read_int_list = lambda : map(int, read_str_list()) read_float = lambda : float(read_str()) read_float_list = lambda...
21.76
76
0.581801
204
1,088
2.946078
0.27451
0.081531
0.054908
0.073211
0.14975
0
0
0
0
0
0
0.038824
0.21875
1,088
49
77
22.204082
0.668235
0.089154
0
0
0
0
0.015198
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0b112c171eb02964d852f653ff119690933ba7a7
314
py
Python
setup.py
elcolumbio/goofy
f922db2b9662fcc5e26529a2d428feaabede6b42
[ "Apache-2.0" ]
1
2018-06-29T06:03:17.000Z
2018-06-29T06:03:17.000Z
setup.py
elcolumbio/goofy
f922db2b9662fcc5e26529a2d428feaabede6b42
[ "Apache-2.0" ]
null
null
null
setup.py
elcolumbio/goofy
f922db2b9662fcc5e26529a2d428feaabede6b42
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup(name='goofy', version='0.1', description='A goofy ebay bot.', url='github.com/elcolumbio/goofy', author='Florian Benkö', author_email='f.benkoe@innotrade24.de', license='Apache License, Version 2.0 (the "License")', packages=['goofy'])
28.545455
60
0.640127
39
314
5.128205
0.769231
0
0
0
0
0
0
0
0
0
0
0.024
0.203822
314
10
61
31.4
0.776
0
0
0
0
0
0.433121
0.159236
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0b114a97cf42ee5a0905829c9063503a14dd4b05
1,820
py
Python
nxt/main.py
TeamGalileoRobotics/qLearning
70333f45373abc72a489e1ac4089f8e3db34c6a8
[ "MIT" ]
4
2017-09-27T16:16:58.000Z
2019-11-27T09:26:54.000Z
nxt/main.py
TeamGalileoRobotics/qLearning
70333f45373abc72a489e1ac4089f8e3db34c6a8
[ "MIT" ]
null
null
null
nxt/main.py
TeamGalileoRobotics/qLearning
70333f45373abc72a489e1ac4089f8e3db34c6a8
[ "MIT" ]
null
null
null
import random import os import traceback import json from environment import Environment from environment import Action # 0 <= GAMMA < 1 # GAMMA = 0 -> only consider immediate rewards # GAMMA = 1 -> consider future rewards GAMMA = 0.8 confidence = 0 # initialize "brain" brain = open("brainFile", "r") if(os.stat("....
21.162791
104
0.638462
260
1,820
4.388462
0.369231
0.03681
0.042068
0.021034
0
0
0
0
0
0
0
0.018328
0.250549
1,820
86
105
21.162791
0.818182
0.208242
0
0.12
0
0
0.021693
0
0
0
0
0
0
0
null
null
0
0.12
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
0b19361cb7bec29a8393dd2d4d6342be97e9c458
1,664
py
Python
src/polls/polls/project/migrations/0002_shoppingitem_shoppinglist.py
Valeriu92/Shopping_list
3614dfc6691c28cf88db8af77ba246a9c4943794
[ "MIT" ]
null
null
null
src/polls/polls/project/migrations/0002_shoppingitem_shoppinglist.py
Valeriu92/Shopping_list
3614dfc6691c28cf88db8af77ba246a9c4943794
[ "MIT" ]
6
2021-03-19T08:45:06.000Z
2021-09-22T19:19:21.000Z
src/polls/polls/project/migrations/0002_shoppingitem_shoppinglist.py
Valeriu92/Shopping_list
3614dfc6691c28cf88db8af77ba246a9c4943794
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-06-21 14:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('project', '0001_initial'), ] operations = [ migrations.CreateModel( name='ShoppingList', ...
42.666667
146
0.597356
171
1,664
5.649123
0.397661
0.07764
0.093168
0.124224
0.604555
0.57764
0.57764
0.57764
0.57764
0.57764
0
0.02437
0.260216
1,664
38
147
43.789474
0.760357
0.027043
0
0.5
1
0
0.124923
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.15625
0
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
0b1af5ee826d4553c7214ee6c50908fbb0aba15f
1,291
py
Python
rurina5/test2.py
TeaCondemns/rurina
43725ebea5872953125271a9abb300a4e3a80a64
[ "MIT" ]
null
null
null
rurina5/test2.py
TeaCondemns/rurina
43725ebea5872953125271a9abb300a4e3a80a64
[ "MIT" ]
null
null
null
rurina5/test2.py
TeaCondemns/rurina
43725ebea5872953125271a9abb300a4e3a80a64
[ "MIT" ]
null
null
null
from input import flip from utilities.surface import * import utilities.time as time from nodes import Control, init from shape import draw import pygame import pygame.key as key from event import get, typename2 from input import map screen = pygame.display.set_mode((800, 800), pygame.RESIZABLE) _mask = AlphaSurface(...
25.82
131
0.640589
177
1,291
4.587571
0.367232
0.019704
0.036946
0.022167
0.080049
0.054187
0.054187
0
0
0
0
0.074038
0.215337
1,291
49
132
26.346939
0.727542
0.233927
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.037037
0
0
0
null
0
0
0
0
0
0
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
9bc5c0aaba0c3abcdcd825f0ec975266b287ad70
4,270
py
Python
recupero/migrations/0001_initial.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
6
2020-03-16T02:51:16.000Z
2020-11-10T00:58:01.000Z
recupero/migrations/0001_initial.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
204
2019-09-19T02:00:57.000Z
2022-02-10T10:48:52.000Z
recupero/migrations/0001_initial.py
cluster311/ggg
262173c66fe40ada30083d439a79f16f841f5772
[ "BSD-3-Clause" ]
3
2019-09-16T22:59:24.000Z
2022-03-21T22:52:44.000Z
# Generated by Django 2.2.4 on 2019-10-22 00:36 from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ ('cie10_django', '0001_initial'), ('nhpgd_django', '0001_initial'), ...
56.184211
204
0.638642
433
4,270
6.120092
0.297921
0.030189
0.047547
0.074717
0.509057
0.463019
0.416604
0.416604
0.399245
0.379245
0
0.022823
0.220141
4,270
75
205
56.933333
0.772973
0.010539
0
0.382353
1
0
0.23301
0.07104
0
0
0
0
0
1
0
false
0
0.044118
0
0.102941
0
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
9bca087d33ec78af86014248cb1d2a83ed4c9f78
423
py
Python
GetDataFrame.py
Adhmir/mcdm
c1d8bec4f3628f5d95ee7cd3bfdfb9ff54783dce
[ "MIT" ]
null
null
null
GetDataFrame.py
Adhmir/mcdm
c1d8bec4f3628f5d95ee7cd3bfdfb9ff54783dce
[ "MIT" ]
null
null
null
GetDataFrame.py
Adhmir/mcdm
c1d8bec4f3628f5d95ee7cd3bfdfb9ff54783dce
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Dec 28 17:41:18 2021 @author: Adhmir Renan Voltoni Gomes """ import pandas as pd import MCDM_V_001 as mcdm def pegar_dados(): file_path = mcdm.label_file["text"] excel_filename = r"{}".format(file_path) if excel_filename[-4:] == ".csv": df = ...
23.5
45
0.617021
62
423
4.016129
0.677419
0.208835
0.064257
0
0
0
0
0
0
0
0
0.053797
0.252955
423
17
46
24.882353
0.734177
0.224586
0
0
0
0
0.033003
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.4
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
9bcb27a7d1f03b098af4f51756f0b10851a103ba
2,561
py
Python
cmsplugin_remote_form/migrations/0005_auto_20200429_1442.py
georgmzimmer/cmsplugin-remote-form
804e67ccc18964223247b39cc6e359f977a16556
[ "BSD-3-Clause" ]
null
null
null
cmsplugin_remote_form/migrations/0005_auto_20200429_1442.py
georgmzimmer/cmsplugin-remote-form
804e67ccc18964223247b39cc6e359f977a16556
[ "BSD-3-Clause" ]
1
2020-02-13T17:30:13.000Z
2020-02-13T17:30:13.000Z
cmsplugin_remote_form/migrations/0005_auto_20200429_1442.py
georgmzimmer/cmsplugin-remote-form
804e67ccc18964223247b39cc6e359f977a16556
[ "BSD-3-Clause" ]
4
2020-01-16T03:52:18.000Z
2020-04-29T19:35:16.000Z
# Generated by Django 2.2.12 on 2020-04-29 18:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('cmsplugin_remote_form', '0004_remoteform_notification_emails'), ] operations = [ migrations.AlterField( model_name='extrafield'...
52.265306
741
0.646232
248
2,561
6.495968
0.403226
0.086903
0.108628
0.126009
0.260708
0.242706
0.045934
0
0
0
0
0.02071
0.208122
2,561
48
742
53.354167
0.773669
0.017962
0
0.5
1
0
0.37684
0.101472
0
0
0
0
0
1
0
false
0
0.02381
0
0.095238
0
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
9bcf66aa506518f09109e3c3f1caf8194c4a6b3a
1,418
py
Python
tools/debug_discovery.py
s1rd4v3/homebridge-tuya-web-es6-js
4d02d05117f88e4a4251158716ef0677a2af92db
[ "MIT" ]
172
2020-05-17T10:51:17.000Z
2022-03-21T08:54:00.000Z
tools/debug_discovery.py
s1rd4v3/homebridge-tuya-web-es6-js
4d02d05117f88e4a4251158716ef0677a2af92db
[ "MIT" ]
303
2020-05-17T20:42:57.000Z
2022-03-30T07:37:32.000Z
tools/debug_discovery.py
s1rd4v3/homebridge-tuya-web-es6-js
4d02d05117f88e4a4251158716ef0677a2af92db
[ "MIT" ]
85
2020-05-02T13:24:22.000Z
2022-03-23T15:48:04.000Z
# The script is intended to get a list of all devices available via Tuya Home Assistant API endpoint. import requests import pprint # CHANGE THIS - BEGINNING USERNAME = "" PASSWORD = "" REGION = "eu" # cn, eu, us COUNTRY_CODE = "1" # Your account country code, e.g., 1 for USA or 86 for China BIZ_TYPE = "smart_life" # ...
31.511111
101
0.703808
181
1,418
5.41989
0.530387
0.061162
0.046891
0.06524
0.091743
0
0
0
0
0
0
0.005882
0.16079
1,418
44
102
32.227273
0.818487
0.219323
0
0
0
0
0.310565
0.020036
0
0
0
0
0
1
0
false
0.085714
0.057143
0
0.057143
0.257143
0
0
0
null
0
0
0
0
0
0
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
9bd1df98ec0a7f71b2cc5017976bf6fbcc6f9846
3,562
py
Python
yamtbx/dataproc/adxv.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
16
2016-05-20T11:19:40.000Z
2021-01-01T19:44:23.000Z
yamtbx/dataproc/adxv.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
4
2017-03-10T00:51:11.000Z
2021-02-07T17:18:46.000Z
yamtbx/dataproc/adxv.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
9
2016-12-15T16:00:06.000Z
2021-09-10T08:34:14.000Z
""" (c) RIKEN 2015. All rights reserved. Author: Keitaro Yamashita This software is released under the new BSD License; see LICENSE. """ import socket import subprocess import time import os import getpass import tempfile class Adxv: def __init__(self, adxv_bin=None, no_adxv_beam_center=True): self.adxv_...
33.603774
131
0.609208
494
3,562
4.214575
0.313765
0.049952
0.051873
0.069164
0.157541
0.064361
0.038425
0.038425
0
0
0
0.013592
0.277092
3,562
105
132
33.92381
0.794951
0.097979
0
0.030769
0
0
0.102749
0
0
0
0
0
0
0
null
null
0.030769
0.107692
null
null
0.030769
0
0
0
null
0
0
0
0
0
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
9bd2ef61ca9a089dc9825ad4627fb4388dc0d5d8
571
py
Python
api/accounts/urls.py
paurushofficial/InvitationApi
35a33fab52bf9d2269b804d8b5e9958b41f7506c
[ "Apache-2.0" ]
null
null
null
api/accounts/urls.py
paurushofficial/InvitationApi
35a33fab52bf9d2269b804d8b5e9958b41f7506c
[ "Apache-2.0" ]
null
null
null
api/accounts/urls.py
paurushofficial/InvitationApi
35a33fab52bf9d2269b804d8b5e9958b41f7506c
[ "Apache-2.0" ]
null
null
null
from django.urls import path from rest_framework_simplejwt.views import ( TokenObtainPairView, TokenRefreshView, TokenVerifyView, ) from . views import * urlpatterns = [ path('register/', UserRegisterView.as_view()), path('logout/', LogoutView.as_view()), path('token/', TokenObtainPairView.as_...
30.052632
77
0.718039
61
571
6.508197
0.459016
0.09068
0.075567
0.11335
0
0
0
0
0
0
0
0
0.131349
571
18
78
31.722222
0.800403
0
0
0
0
0
0.187391
0
0
0
0
0
0
1
0
false
0.066667
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9bd32e9affe9d4798bdc0f0e2c528ef20a36adfd
3,450
py
Python
PhyTestOnline/PhyTestOnline.py
JerryLife/PhyTestOnline
c3ca3ec396195e587b7409b492e3848daffca6fd
[ "MIT" ]
1
2016-12-12T06:09:29.000Z
2016-12-12T06:09:29.000Z
PhyTestOnline/PhyTestOnline.py
JerryLife/PhyTestOnline
c3ca3ec396195e587b7409b492e3848daffca6fd
[ "MIT" ]
null
null
null
PhyTestOnline/PhyTestOnline.py
JerryLife/PhyTestOnline
c3ca3ec396195e587b7409b492e3848daffca6fd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (C) 2016 Jerry Life import urllib import urllib2 import re import xlwt START_PAGE = 0 # start page ALL_PAGE = 82 # number of all pages class PhyTestOnline(object): """ This class is specially for a HUST Physics Test Online providing a crawler to downloa...
34.5
109
0.553623
422
3,450
4.492891
0.473934
0.026371
0.02057
0.016878
0.018987
0
0
0
0
0
0
0.033304
0.338551
3,450
100
110
34.5
0.797546
0.027826
0
0.105263
0
0.026316
0.157627
0.009101
0
0
0
0
0
0
null
null
0.013158
0.052632
null
null
0.092105
0
0
0
null
0
0
0
0
0
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
9bd475cdfb843175aafda09a546901e32a2f92de
1,518
py
Python
funcs.py
amsynist/gmail_counter_deleter
44c7ff780a13d7aae7a1ccee96abfc3b63dcc77a
[ "MIT" ]
null
null
null
funcs.py
amsynist/gmail_counter_deleter
44c7ff780a13d7aae7a1ccee96abfc3b63dcc77a
[ "MIT" ]
null
null
null
funcs.py
amsynist/gmail_counter_deleter
44c7ff780a13d7aae7a1ccee96abfc3b63dcc77a
[ "MIT" ]
null
null
null
import re import imaplib def checkinbox(user,passw,imapserver): imap = imaplib.IMAP4_SSL(imapserver) try: imap.login(user,passw) print("Connecting and Fetching required info,Please Wait..") select_folder = input("Enter the folder : ") imap.select(select_folder) status, messages =...
34.5
70
0.614625
181
1,518
5.110497
0.447514
0.058378
0.082162
0.054054
0.278919
0.278919
0.278919
0.278919
0.175135
0.175135
0
0.005146
0.231884
1,518
43
71
35.302326
0.788165
0
0
0.25
0
0
0.330698
0.055995
0
0
0
0
0
1
0.075
false
0.2
0.05
0
0.125
0.3
0
0
0
null
0
0
0
0
0
0
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
9bd59710cf5b8329b4da0192b5e1698bf07e999d
13,736
py
Python
plugin-python/proto/pyvcloudprovider_pb2_grpc.py
srinarayanant/terraform-provider-vcloud-director-1
1e805550e69fb5284d4a746a2f86326ec72c565f
[ "BSD-2-Clause" ]
null
null
null
plugin-python/proto/pyvcloudprovider_pb2_grpc.py
srinarayanant/terraform-provider-vcloud-director-1
1e805550e69fb5284d4a746a2f86326ec72c565f
[ "BSD-2-Clause" ]
null
null
null
plugin-python/proto/pyvcloudprovider_pb2_grpc.py
srinarayanant/terraform-provider-vcloud-director-1
1e805550e69fb5284d4a746a2f86326ec72c565f
[ "BSD-2-Clause" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from proto import catalog_item_pb2 as proto_dot_catalog__item__pb2 from proto import pyvcloudprovider_pb2 as proto_dot_pyvcloudprovider__pb2 from proto import vapp_pb2 as proto_dot_vapp__pb2 class PyVcloudProviderStub(object): """I...
40.759644
79
0.683241
1,185
13,736
7.532489
0.109705
0.052879
0.056464
0.048958
0.751737
0.632086
0.52924
0.335649
0.274591
0.274591
0
0.006006
0.248471
13,736
336
80
40.880952
0.858665
0.04885
0
0.458484
1
0
0.104703
0.041326
0
0
0
0
0
1
0.057762
false
0.00361
0.01444
0
0.079422
0
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
9bd599d6657b8c94098c98e04397485d867aa089
1,820
py
Python
bot/triggers/commands/math.py
elihschiff/Rubber-Duck-Python
24dea3b64a8a46368cd8dd995c800375f355b55e
[ "MIT" ]
7
2020-07-07T20:58:14.000Z
2021-12-23T02:51:20.000Z
bot/triggers/commands/math.py
elihschiff/Rubber-Duck-Python
24dea3b64a8a46368cd8dd995c800375f355b55e
[ "MIT" ]
null
null
null
bot/triggers/commands/math.py
elihschiff/Rubber-Duck-Python
24dea3b64a8a46368cd8dd995c800375f355b55e
[ "MIT" ]
1
2020-03-29T13:36:43.000Z
2020-03-29T13:36:43.000Z
from . import Command from .. import utils import wolframalpha class Math(Command): names = ["math", "calc", "calculate", "solve"] description = "Solves a math problem" usage = "!math [expression]" examples = "!math d/dx sin(x)^2" show_in_help = True async def execute_command(self, client, ms...
37.142857
101
0.503297
184
1,820
4.918478
0.505435
0.044199
0.099448
0.066298
0.258564
0.125967
0
0
0
0
0
0.004513
0.391209
1,820
48
102
37.916667
0.812274
0.017582
0
0.27907
0
0.023256
0.207167
0.055431
0
0
0
0.020833
0
1
0
false
0.023256
0.069767
0
0.27907
0
0
0
0
null
0
0
0
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
9bdb227b8986247b3e187af1afb2dd0572b47533
1,281
py
Python
scripts/parse_coredump_bin.py
lucasdietrich/AVRTOS
a8a3b7890ed54fbb1bd718fd13b0eb620ecf9b13
[ "Apache-2.0" ]
3
2021-12-10T21:16:03.000Z
2022-03-20T08:09:53.000Z
scripts/parse_coredump_bin.py
Adecy/atmega328p-multithreading
b0f2da9f31fba7bcccf5f06f827af87494a0bcb3
[ "Apache-2.0" ]
null
null
null
scripts/parse_coredump_bin.py
Adecy/atmega328p-multithreading
b0f2da9f31fba7bcccf5f06f827af87494a0bcb3
[ "Apache-2.0" ]
null
null
null
import re import struct from typing import List class Core: def __init__(self): self.registers = [] def SP(self) -> int: return self.registers[0] def PC(self) -> int: return self.registers[1] def SREG(self) -> int: return self.registers[-1] def r(self, i: int) ...
19.707692
91
0.552693
178
1,281
3.865169
0.426966
0.094477
0.075581
0.127907
0.125
0.087209
0.087209
0
0
0
0
0.024044
0.285714
1,281
65
92
19.707692
0.727869
0.035129
0
0
0
0.025
0.109312
0.019433
0
0
0
0
0
1
0.2
false
0
0.1
0.15
0.5
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9bdd52b91453871245afa987abaad8fffe050c55
484
py
Python
scripts/publish_source.py
apguerrera/DreamFrames
ad6c7c081378f02010583dbdcb33e8ff112dd94b
[ "MIT" ]
2
2020-06-09T02:12:21.000Z
2021-02-06T07:33:31.000Z
scripts/publish_source.py
apguerrera/DreamFrames
ad6c7c081378f02010583dbdcb33e8ff112dd94b
[ "MIT" ]
null
null
null
scripts/publish_source.py
apguerrera/DreamFrames
ad6c7c081378f02010583dbdcb33e8ff112dd94b
[ "MIT" ]
2
2019-05-01T01:53:42.000Z
2020-05-11T14:11:56.000Z
from brownie import * from .contract_addresses import * import time def publish(): if network.show_active() == "development": return False else: return True def main(): publish_Goober_nft() def publish_Goober_nft(): dream_frames_NFT_address = CONTRACTS[network.show_active()]["drea...
24.2
83
0.706612
58
484
5.551724
0.465517
0.139752
0.130435
0.130435
0
0
0
0
0
0
0
0
0.200413
484
19
84
25.473684
0.832041
0
0
0
0
0
0.055785
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9be072e436a510815bc7fcb98815452de49a5068
491
py
Python
datahub/omis/invoice/migrations/0006_invoice_contact_email.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
6
2019-12-02T16:11:24.000Z
2022-03-18T10:02:02.000Z
datahub/omis/invoice/migrations/0006_invoice_contact_email.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
1,696
2019-10-31T14:08:37.000Z
2022-03-29T12:35:57.000Z
datahub/omis/invoice/migrations/0006_invoice_contact_email.py
Staberinde/data-hub-api
3d0467dbceaf62a47158eea412a3dba827073300
[ "MIT" ]
9
2019-11-22T12:42:03.000Z
2021-09-03T14:25:05.000Z
# Generated by Django 2.0.1 on 2018-01-03 15:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('omis_invoice', '0005_populate_billing_fields'), ] operations = [ migrations.AddField( model_name='invoice', name='co...
25.842105
139
0.645621
59
491
5.237288
0.79661
0
0
0
0
0
0
0
0
0
0
0.059783
0.250509
491
18
140
27.277778
0.779891
0.09165
0
0
1
0
0.272523
0.063063
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
9be66a9b0c5bd06f8460d9a3b8c3707b90aaf766
1,513
py
Python
bin/system-setup.py
filipecosta90/readies
ffd48b39cd7c124e08eb3d770a0e0581445ffa37
[ "BSD-3-Clause" ]
9
2019-12-17T17:57:54.000Z
2022-02-04T15:43:35.000Z
bin/system-setup.py
filipecosta90/readies
ffd48b39cd7c124e08eb3d770a0e0581445ffa37
[ "BSD-3-Clause" ]
87
2021-01-06T08:59:37.000Z
2022-02-16T05:10:03.000Z
bin/system-setup.py
filipecosta90/readies
ffd48b39cd7c124e08eb3d770a0e0581445ffa37
[ "BSD-3-Clause" ]
11
2019-12-11T13:30:23.000Z
2022-01-06T12:21:26.000Z
#!/bin/sh ''''[ ! -z $VIRTUAL_ENV ] && exec python -u -- "$0" ${1+"$@"}; command -v python3 > /dev/null && exec python3 -u -- "$0" ${1+"$@"}; exec python2 -u -- "$0" ${1+"$@"} # ''' import sys import os import argparse HERE = os.path.dirname(__file__) ROOT = os.path.abspath(os.path.join(HERE, "..")) sys.path.insert(0...
29.666667
171
0.540648
172
1,513
4.575581
0.44186
0.057179
0.086404
0.048285
0
0
0
0
0
0
0
0.008682
0.162591
1,513
50
172
30.26
0.61247
0.421679
0
0
0
0
0.133721
0
0
0
0
0
0
1
0.269231
false
0
0.153846
0
0.461538
0.230769
0
0
0
null
0
0
0
0
0
0
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
9bf2b2dc723f4b7d00b4319b8189354d02aff030
4,318
py
Python
3/konks_lab_3.py
exucutional/study_comp_math
c73b6f00e86b2d19c4cb81c377ca4706d70b2831
[ "MIT" ]
null
null
null
3/konks_lab_3.py
exucutional/study_comp_math
c73b6f00e86b2d19c4cb81c377ca4706d70b2831
[ "MIT" ]
null
null
null
3/konks_lab_3.py
exucutional/study_comp_math
c73b6f00e86b2d19c4cb81c377ca4706d70b2831
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 # # Lab 02 # # ## Solving a system of nonlinear equations # # ### Konks Eric, Б01-818 # # IV.12.7.д # $$\begin{cases} x^7 - 5x^2y^4 + 1510 = 0 \\ y^3 - 3x^4y - 105 = 0 \end{cases}$$ # $$\begin{cases} x_{n+1} = \sqrt{\frac{x_n^7 + 1510}{5y_n^4}} \\ y_{n+1} = \sqrt[3]{3x_{n}^4y...
22.968085
130
0.556739
761
4,318
2.946124
0.159001
0.037467
0.032114
0.032114
0.436218
0.4157
0.374219
0.334077
0.277877
0.236396
0
0.077305
0.254053
4,318
187
131
23.090909
0.618752
0.113015
0
0.278846
0
0
0.056812
0
0
0
0
0
0
1
0.192308
false
0
0.038462
0.134615
0.461538
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9bfd1efc408b89ae999c37acf631f9234b2c8e00
1,529
py
Python
Libraries/Simplynet.py
frknayk/WeightVis
255114ed0981467e29c5a28d0130af24373db1f1
[ "MIT" ]
2
2021-02-24T06:00:27.000Z
2022-02-16T11:14:25.000Z
Libraries/Simplynet.py
frknayk/WeightVis
255114ed0981467e29c5a28d0130af24373db1f1
[ "MIT" ]
1
2020-07-28T09:14:53.000Z
2020-07-28T09:17:47.000Z
Libraries/Simplynet.py
frknayk/WeightVis
255114ed0981467e29c5a28d0130af24373db1f1
[ "MIT" ]
null
null
null
import numpy as np import pickle from Libraries.Enums import NNLibs from Libraries.Reader import Reader #TODO Complete read() function for SimplyNet #TODO SimplyNet init(self,path) - path should go to read's parameter(like torch) class SimplyNet(Reader): def __init__(self,path): self.weights_list = [] ...
30.58
80
0.589274
202
1,529
4.326733
0.376238
0.062929
0.02746
0
0
0
0
0
0
0
0
0.001919
0.318509
1,529
49
81
31.204082
0.836852
0.262917
0
0
0
0
0.009955
0
0
0
0
0.020408
0
1
0.172414
false
0.034483
0.137931
0
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
50038d02e89c3e78533be863fdaf0e1d485f0ce8
1,083
py
Python
setup.py
marianaalbano/python_mail
4f222894a2faa0714b2211ee9210af8f5cb5f1ed
[ "MIT" ]
null
null
null
setup.py
marianaalbano/python_mail
4f222894a2faa0714b2211ee9210af8f5cb5f1ed
[ "MIT" ]
null
null
null
setup.py
marianaalbano/python_mail
4f222894a2faa0714b2211ee9210af8f5cb5f1ed
[ "MIT" ]
null
null
null
#!/usr/bin/python3 #-*- coding: utf-8 -*- import setuptools longdesc = """ Esse módulo foi criado com o objetivo de realizar a busca de mensagens na caixa de e-mail de forma simplificada e intuitiva utilizando o módulo imaplib para conexão. A instalação pode ser feita utilizando: ``pip install git+https://github.co...
34.935484
189
0.715605
143
1,083
5.356643
0.545455
0.039164
0.033943
0.049608
0.45953
0.45953
0.45953
0.355091
0.355091
0.355091
0
0.007821
0.173592
1,083
31
190
34.935484
0.848045
0.035088
0
0
0
0.083333
0.675287
0.024904
0
0
0
0
0
1
0
false
0
0.041667
0
0.041667
0
0
0
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
5008bf50f1c889a0cb8f758f821ceff1b2688937
1,933
py
Python
swmmio/version_control/tests/compare_inp.py
jennwuu/swmmio
6918ecfb69c10333cbc65ce0ab6554f8a04ef8f9
[ "MIT" ]
76
2016-04-26T14:04:02.000Z
2022-03-24T10:10:29.000Z
swmmio/version_control/tests/compare_inp.py
Kimi-Monica/swmmio
54dd6c1f7a3e47db5702b1f703beca0a8945a250
[ "MIT" ]
94
2016-05-06T15:32:51.000Z
2022-02-10T08:03:30.000Z
swmmio/version_control/tests/compare_inp.py
Kimi-Monica/swmmio
54dd6c1f7a3e47db5702b1f703beca0a8945a250
[ "MIT" ]
26
2016-09-01T22:51:47.000Z
2022-02-09T09:13:23.000Z
import os def remove_comments_and_crlf(inp_path, comment_string=';', overwrite=False): tmpfilename = os.path.splitext(os.path.basename(inp_path))[0] + '_mod.inp' tmpfilepath = os.path.join(os.path.dirname(inp_path), tmpfilename) with open (inp_path) as oldf: with open(tmpfilepath, 'w') as newf: ...
33.327586
78
0.53492
236
1,933
4.288136
0.474576
0.041502
0.027668
0.031621
0.043478
0.043478
0
0
0
0
0
0.019884
0.375582
1,933
57
79
33.912281
0.818558
0.264873
0
0.258065
0
0
0.013728
0
0
0
0
0
0
1
0.064516
false
0.064516
0.032258
0
0.096774
0
0
0
0
null
0
0
0
0
0
0
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
500cdcbd8b9588b7badc6c30cf7210ed1d19b9b3
639
py
Python
webapp/app/encryptioncontext/migrations/0001_initial.py
aws-samples/aws-secrets-manager-credential-rotation-without-container-restart
11ad22e8f1d55bf48af219fecdd4ba208c88dff4
[ "MIT-0" ]
3
2021-08-10T21:05:32.000Z
2021-11-08T10:25:57.000Z
webapp/app/encryptioncontext/migrations/0001_initial.py
aws-samples/aws-secrets-manager-credential-rotation-without-container-restart
11ad22e8f1d55bf48af219fecdd4ba208c88dff4
[ "MIT-0" ]
null
null
null
webapp/app/encryptioncontext/migrations/0001_initial.py
aws-samples/aws-secrets-manager-credential-rotation-without-container-restart
11ad22e8f1d55bf48af219fecdd4ba208c88dff4
[ "MIT-0" ]
1
2021-08-10T21:05:33.000Z
2021-08-10T21:05:33.000Z
# Generated by Django 3.0.1 on 2020-01-02 22:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='CustomerProfile', fields=[ ('id', models.Au...
26.625
114
0.588419
65
639
5.661538
0.723077
0.07337
0.097826
0.130435
0
0
0
0
0
0
0
0.046154
0.28795
639
23
115
27.782609
0.762637
0.070423
0
0
1
0
0.094595
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
500ef1d473debd5ed56d175f4b097ca7c05550eb
6,390
py
Python
person/person_processor.py
RuizheYang/deeplearning-proj
f2b0a11cb622a43f55038da577661ba9656e0573
[ "Apache-2.0" ]
null
null
null
person/person_processor.py
RuizheYang/deeplearning-proj
f2b0a11cb622a43f55038da577661ba9656e0573
[ "Apache-2.0" ]
null
null
null
person/person_processor.py
RuizheYang/deeplearning-proj
f2b0a11cb622a43f55038da577661ba9656e0573
[ "Apache-2.0" ]
null
null
null
""" Model Description @author: Xiayu Li @contact: xiayu_li@shannonai.com @version: 0.1 @license: Apache Licence @file: person_processor.py @time: 2019/11/14 3:08 PM """ import json import os from typing import List, Tuple, Dict from allennlp.predictors.predictor import Predictor from allennlp.modules.token_embedders...
86.351351
2,387
0.684507
556
6,390
7.645683
0.539568
0.03952
0.026817
0.014114
0.144907
0.144907
0.144907
0.144907
0.116678
0.096918
0
0.006234
0.246948
6,390
73
2,388
87.534247
0.877182
0.025196
0
0.290909
0
0.018182
0.399936
0.356374
0
0
0
0
0
1
0.036364
false
0
0.218182
0
0.290909
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
500f0349827ded93b1215069df6a905dce9513ac
1,130
py
Python
application/__init__.py
ppawlo97/si-summer-2020
ddbb4e29ba9da9af9aaf658df07f891e36737d10
[ "MIT" ]
null
null
null
application/__init__.py
ppawlo97/si-summer-2020
ddbb4e29ba9da9af9aaf658df07f891e36737d10
[ "MIT" ]
3
2021-05-21T16:19:13.000Z
2022-02-10T00:50:32.000Z
application/__init__.py
ppawlo97/si-summer-2020
ddbb4e29ba9da9af9aaf658df07f891e36737d10
[ "MIT" ]
null
null
null
import logging logging.basicConfig(level=logging.INFO) from flask import Flask from application.config import Config app = Flask(__name__) app.config.from_object(Config) from application.models.classifiers.CNNClassifier import CNNClassifier from application.models.classifiers.MLPClassifier import MLPClassifier fro...
35.3125
84
0.79115
123
1,130
7.138211
0.308943
0.153759
0.143508
0.145786
0
0
0
0
0
0
0
0
0.110619
1,130
31
85
36.451613
0.873632
0
0
0
0
0
0.1
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
501249edf828430cf33dfa53f6c8ad7a2568f14d
500
py
Python
valtypes/__init__.py
vanburgerberg/constypes
e1a527d21a30782e1e5bfc1005f18791e29fdeb2
[ "MIT" ]
2
2021-08-30T20:08:49.000Z
2021-11-28T13:16:54.000Z
valtypes/__init__.py
vanburgerberg/valtypes
e1a527d21a30782e1e5bfc1005f18791e29fdeb2
[ "MIT" ]
null
null
null
valtypes/__init__.py
vanburgerberg/valtypes
e1a527d21a30782e1e5bfc1005f18791e29fdeb2
[ "MIT" ]
null
null
null
from .validator import ( And, Attr, Chain, Const, Contains, ExcMax, ExcMin, Float, Macro, Max, Min, MultipleOf, Not, Or, Pattern, Proto, Type, Validator, Xor, ) __all__ = [ "And", "Attr", "Chain", "Const", "Validator", ...
11.363636
24
0.436
42
500
5.095238
0.52381
0.065421
0.11215
0.158879
0.626168
0.626168
0.626168
0.626168
0.626168
0.626168
0
0
0.4
500
43
25
11.627907
0.713333
0
0
0
0
0
0.192
0
0
0
0
0
0
1
0
false
0
0.02381
0
0.02381
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
501312c476ded79ec6cb9b0965b516133cb44842
430
bzl
Python
deps/deno/repository.bzl
y0psolo/YAD
0f1f9c5140687345dee591667793d6f8ed6e29e5
[ "Apache-2.0" ]
1
2021-11-05T09:13:57.000Z
2021-11-05T09:13:57.000Z
deps/deno/repository.bzl
y0psolo/YAD
0f1f9c5140687345dee591667793d6f8ed6e29e5
[ "Apache-2.0" ]
9
2021-12-02T13:25:52.000Z
2022-01-26T14:24:05.000Z
deps/deno/repository.bzl
y0psolo/YAD
0f1f9c5140687345dee591667793d6f8ed6e29e5
[ "Apache-2.0" ]
null
null
null
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def deno_repository(): # Get Deno archive http_archive( name = "deno-amd64", build_file = "//ext/deno:BUILD", sha256 = "7b883e3c638d21dd1875f0108819f2f13647b866ff24965135e679c743013f46", type = "zip", u...
35.833333
112
0.669767
49
430
5.734694
0.734694
0.078292
0
0
0
0
0
0
0
0
0
0.176136
0.181395
430
11
113
39.090909
0.622159
0.037209
0
0
0
0.111111
0.584951
0.262136
0
0
0
0
0
1
0.111111
true
0
0
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
501610d9ff0b5e179cb5002235857a130ed0cb4e
8,184
py
Python
src/oci/ai_vision/models/detected_language.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/ai_vision/models/detected_language.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/ai_vision/models/detected_language.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
38.971429
253
0.669599
1,123
8,184
4.730187
0.142476
0.158133
0.084714
0.112575
0.648155
0.611258
0.578125
0.578125
0.578125
0.578125
0
0.004835
0.241813
8,184
209
254
39.157895
0.851249
0.635508
0
0.031746
0
0
0.098699
0
0
0
0
0
0
1
0.126984
false
0
0.031746
0.031746
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
501c4eef87e41e664070910134642c391a29e880
832
py
Python
uso_red/migrations/0001_initial.py
joelsegoviacrespo/control_aforo_migrado
be90d1d45a20f735e7ef20449c4ab91ca05b5d85
[ "MIT" ]
null
null
null
uso_red/migrations/0001_initial.py
joelsegoviacrespo/control_aforo_migrado
be90d1d45a20f735e7ef20449c4ab91ca05b5d85
[ "MIT" ]
null
null
null
uso_red/migrations/0001_initial.py
joelsegoviacrespo/control_aforo_migrado
be90d1d45a20f735e7ef20449c4ab91ca05b5d85
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-11-26 03:26 from django.db import migrations, models import djongo.models.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='UsoRed', fields=[ ...
28.689655
114
0.564904
84
832
5.511905
0.619048
0.058315
0.077754
0.107991
0.146868
0.146868
0.146868
0
0
0
0
0.039587
0.301683
832
28
115
29.714286
0.757315
0.055288
0
0
1
0
0.07398
0
0
0
0
0
0
1
0
false
0
0.095238
0
0.285714
0
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
501dcb0c9d559197f9d0137f85f4646aa314aebc
1,782
py
Python
import_em.py
kaija/taiwan_stockloader
637244c3b0bc96093cc5a7b3df093a829f9e3c2d
[ "MIT" ]
2
2015-06-13T09:17:46.000Z
2015-10-25T15:31:33.000Z
import_em.py
kaija/taiwan_stockloader
637244c3b0bc96093cc5a7b3df093a829f9e3c2d
[ "MIT" ]
null
null
null
import_em.py
kaija/taiwan_stockloader
637244c3b0bc96093cc5a7b3df093a829f9e3c2d
[ "MIT" ]
3
2016-02-01T07:36:55.000Z
2018-08-03T12:22:20.000Z
#!/usr/bin/python import datetime import httplib import urllib import redis import json from datetime import timedelta #now = datetime.datetime.now(); #today = now.strftime('%Y-%m-%d') #print today rdb = redis.Redis('localhost') def rv(value): out = "" for num in value.strip().split(","): out+=num return out de...
20.25
259
0.64422
277
1,782
4.086643
0.364621
0.061837
0.04417
0.048587
0.123675
0.086572
0.056537
0.056537
0
0
0
0.02152
0.165544
1,782
87
260
20.482759
0.739744
0.079686
0
0.129032
0
0
0.09308
0
0
0
0
0
0
0
null
null
0
0.112903
null
null
0.080645
0
0
0
null
0
0
0
0
0
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
501e238ecce4d14dde53565c91651d0fe9f9fbc1
5,453
py
Python
LaserController/InterfaceGUI.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
null
null
null
LaserController/InterfaceGUI.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
null
null
null
LaserController/InterfaceGUI.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'InterfaceGUI.ui' # # Created: Mon Mar 11 15:56:47 2013 # by: PyQt4 UI code generator 4.9.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtWidgets try: from PyQt5 import QtCore, QtGui excep...
47.417391
109
0.708601
591
5,453
6.42978
0.269036
0.093947
0.081053
0.105263
0.214737
0.115263
0
0
0
0
0
0.043411
0.172015
5,453
114
110
47.833333
0.798228
0.039611
0
0.022222
1
0
0.069434
0
0
0
0
0
0
1
0.022222
false
0
0.044444
0
0.077778
0
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
501f4dae72eb2773eebea6e00006189d15c72360
302
py
Python
src/sportsdata/nba/teams/washington_wizards.py
OrangeCardinal/sportsdata
e6e182e89c8f8a12ffe18b218a37b8bdb8971e03
[ "Apache-2.0" ]
null
null
null
src/sportsdata/nba/teams/washington_wizards.py
OrangeCardinal/sportsdata
e6e182e89c8f8a12ffe18b218a37b8bdb8971e03
[ "Apache-2.0" ]
null
null
null
src/sportsdata/nba/teams/washington_wizards.py
OrangeCardinal/sportsdata
e6e182e89c8f8a12ffe18b218a37b8bdb8971e03
[ "Apache-2.0" ]
null
null
null
from sports.nba.nba_team import NBA_Team class WashingtonWizards(NBA_Team): """ NBA's Washington Wizards Static Information """ full_name = "Washington Wizards" name = "Wizards" team_id = 1610612764 def __init__(self): """ """ super().__init__()
17.764706
47
0.612583
32
302
5.375
0.625
0.122093
0
0
0
0
0
0
0
0
0
0.045872
0.278146
302
16
48
18.875
0.743119
0.142384
0
0
0
0
0.110132
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
501ffd3a5b4084f880ca38c9bb54d4225d927e52
1,305
py
Python
modules/text/sentiment_analysis/senta_cnn/net.py
Steffy-zxf/HubModule
40b0563f86634714033ab7712a08a58eba81bad1
[ "Apache-2.0" ]
null
null
null
modules/text/sentiment_analysis/senta_cnn/net.py
Steffy-zxf/HubModule
40b0563f86634714033ab7712a08a58eba81bad1
[ "Apache-2.0" ]
null
null
null
modules/text/sentiment_analysis/senta_cnn/net.py
Steffy-zxf/HubModule
40b0563f86634714033ab7712a08a58eba81bad1
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- import paddle.fluid as fluid def cnn_net(data, dict_dim, emb_dim=128, hid_dim=128, hid_dim2=96, class_dim=2, win_size=3): """ Conv net """ # embedding layer emb = fluid.layers.embedding( input=da...
28.369565
78
0.609195
186
1,305
3.951613
0.301075
0.085714
0.171429
0.209524
0.417687
0.417687
0.417687
0.417687
0.359184
0.246259
0
0.033333
0.264368
1,305
45
79
29
0.732292
0.07433
0
0
0
0
0.171717
0.159933
0
0
0
0
0
1
0.03125
false
0
0.03125
0
0.09375
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
5029b3ee53519f158d3ce03f346eb8d5c279dd5f
1,596
py
Python
scripts/cerealfiller_entity_and_test_pipeline.py
sedgewickmm18/functions
69d04a67b122601c4f207ded8e872d31b2ddafc8
[ "Apache-2.0" ]
null
null
null
scripts/cerealfiller_entity_and_test_pipeline.py
sedgewickmm18/functions
69d04a67b122601c4f207ded8e872d31b2ddafc8
[ "Apache-2.0" ]
null
null
null
scripts/cerealfiller_entity_and_test_pipeline.py
sedgewickmm18/functions
69d04a67b122601c4f207ded8e872d31b2ddafc8
[ "Apache-2.0" ]
null
null
null
import datetime as dt import json import os import pandas as pd from sqlalchemy import Column, Integer, String, Float, DateTime, Boolean, func from iotfunctions.preprocessor import BaseTransformer from iotfunctions.bif import IoTExpression from iotfunctions.metadata import EntityType, make_sample_entity from iotfunctio...
36.272727
105
0.740602
217
1,596
5.304147
0.451613
0.069505
0.018245
0.041703
0.074718
0.045178
0
0
0
0
0
0.009615
0.152882
1,596
43
106
37.116279
0.841716
0.135965
0
0.09375
0
0
0.131924
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
503e2e5fa5da5155bca173a661a3c68a6802e6ed
2,917
py
Python
src/pyuwds3/types/vector/scalar_stable.py
LAAS-HRI/uwds3
42390f62ed5701a32710341b01faa10efc448078
[ "MIT" ]
2
2020-08-19T06:15:14.000Z
2021-05-23T09:55:18.000Z
src/pyuwds3/types/vector/scalar_stable.py
LAAS-HRI/uwds3
42390f62ed5701a32710341b01faa10efc448078
[ "MIT" ]
5
2021-01-06T09:00:35.000Z
2021-01-20T13:22:19.000Z
src/pyuwds3/types/vector/scalar_stable.py
LAAS-HRI/uwds3
42390f62ed5701a32710341b01faa10efc448078
[ "MIT" ]
2
2020-11-18T17:34:43.000Z
2021-05-23T16:14:17.000Z
import rospy import numpy as np import cv2 class ScalarStable(object): """Represents a stabilized scalar""" def __init__(self, x=.0, vx=.0, p_cov=.03, m_cov=.01, time=None): """ScalarStabilized constructor""" self.x = x ...
31.031915
77
0.567707
364
2,917
4.340659
0.214286
0.082278
0.017722
0.01519
0.192405
0.165823
0.165823
0.121519
0
0
0
0.019393
0.310593
2,917
93
78
31.365591
0.766285
0.11073
0
0.147059
0
0
0.000785
0
0
0
0
0
0.029412
1
0.205882
false
0
0.044118
0.058824
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
504ae56ee7d72c3c28a102b8af0d776ce3b43014
59,138
py
Python
aliyun/log/logclient.py
SeraphLiu/aliyun-log-sdk-python
35f608bd6de9f5ed7a89c40288c550cfc3bea8ba
[ "BSD-3-Clause" ]
null
null
null
aliyun/log/logclient.py
SeraphLiu/aliyun-log-sdk-python
35f608bd6de9f5ed7a89c40288c550cfc3bea8ba
[ "BSD-3-Clause" ]
null
null
null
aliyun/log/logclient.py
SeraphLiu/aliyun-log-sdk-python
35f608bd6de9f5ed7a89c40288c550cfc3bea8ba
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 # Copyright (C) Alibaba Cloud Computing # All rights reserved. import sys import requests try: import json except ImportError: import simplejson as json try : import logservice_lz4 except ImportError: pass from datetime import datetime from...
36.325553
183
0.615543
6,125
59,138
5.793469
0.068245
0.074398
0.038467
0.043962
0.687614
0.669381
0.620318
0.582838
0.557531
0.53524
0
0.002865
0.297694
59,138
1,627
184
36.34788
0.851516
0.003551
0
0.477795
0
0
0.085141
0.002635
0
0
0
0
0
0
null
null
0.001531
0.087289
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
504b5c677cc47a60e5d73108185305ec18d1d8d6
489
py
Python
CodeWars/Python/AlternateCase.py
BobbyRobillard/CodingChallenges
71d5ca0b7f7c470c547d858dde7a799ce7d0d1a0
[ "MIT" ]
null
null
null
CodeWars/Python/AlternateCase.py
BobbyRobillard/CodingChallenges
71d5ca0b7f7c470c547d858dde7a799ce7d0d1a0
[ "MIT" ]
null
null
null
CodeWars/Python/AlternateCase.py
BobbyRobillard/CodingChallenges
71d5ca0b7f7c470c547d858dde7a799ce7d0d1a0
[ "MIT" ]
null
null
null
def alternate_case(s): # Like a Giga Chad return "".join([char.lower() if char.isupper() else char.upper() for char in s]) # Like a Beta Male # return s.swapcase() # EXAMPLE AND TESTING # input = ["Hello World", "cODEwARS"] for item in input: print("\nInput: {0}\nAlternate Case: {1}".format(item,...
30.5625
84
0.672802
69
489
4.710145
0.565217
0.16
0.036923
0
0
0
0
0
0
0
0
0.004988
0.179959
489
15
85
32.6
0.805486
0.224949
0
0
0
0
0.242588
0
0
0
0
0
0.285714
1
0.142857
false
0
0
0.142857
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
505c47079444405aa3ca837c5da8f814a93cab97
1,745
py
Python
examples/GANs/3DGAN/eval.py
Tarkiyah/kaotlin
97374f648a53f6532f2348ca3f9ace943c4e2a4c
[ "ECL-2.0", "Apache-2.0" ]
2
2019-11-18T05:22:15.000Z
2020-02-12T15:23:14.000Z
examples/GANs/3DGAN/eval.py
AOE-khkhan/kaolin
ed132736421ee723d14d59eaeb0286a8916a159d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
examples/GANs/3DGAN/eval.py
AOE-khkhan/kaolin
ed132736421ee723d14d59eaeb0286a8916a159d
[ "ECL-2.0", "Apache-2.0" ]
1
2019-11-18T13:03:53.000Z
2019-11-18T13:03:53.000Z
# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicabl...
32.314815
103
0.755874
266
1,745
4.909774
0.552632
0.045942
0.039051
0.024502
0
0
0
0
0
0
0
0.016404
0.126648
1,745
54
104
32.314815
0.840551
0.333524
0
0
0
0
0.088078
0
0
0
0
0
0
1
0
false
0
0.413793
0
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
50632d26f7af85cd942cc29b1b5c01dae2c5c47e
2,978
py
Python
swim_backend/events.py
eurocontrol-swim/swim-backend
bdeba82d43b833f2fc9ef81e806d8ce0aafdb5b9
[ "BSD-3-Clause" ]
null
null
null
swim_backend/events.py
eurocontrol-swim/swim-backend
bdeba82d43b833f2fc9ef81e806d8ce0aafdb5b9
[ "BSD-3-Clause" ]
null
null
null
swim_backend/events.py
eurocontrol-swim/swim-backend
bdeba82d43b833f2fc9ef81e806d8ce0aafdb5b9
[ "BSD-3-Clause" ]
null
null
null
""" Copyright 2019 EUROCONTROL ========================================== Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions an...
36.765432
121
0.693083
383
2,978
5.310705
0.469974
0.029499
0.027532
0.022616
0.111111
0.066863
0.066863
0.066863
0.066863
0.066863
0
0.003442
0.21961
2,978
80
122
37.225
0.871773
0.653459
0
0.2
0
0
0.065934
0.027972
0
0
0
0
0
1
0.166667
false
0.066667
0.033333
0.033333
0.366667
0
0
0
0
null
0
0
0
0
0
0
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
ac9387393ec1679069c88ceafbe610de436150e4
20,187
py
Python
aiokraken/utils/tests/test_timeindexeddataframe.py
asmodehn/aiokraken
b260bd41d5aa091e6a4f1818328426fbe6f625c0
[ "MIT" ]
null
null
null
aiokraken/utils/tests/test_timeindexeddataframe.py
asmodehn/aiokraken
b260bd41d5aa091e6a4f1818328426fbe6f625c0
[ "MIT" ]
82
2019-08-30T09:37:49.000Z
2022-03-29T14:53:22.000Z
aiokraken/utils/tests/test_timeindexeddataframe.py
asmodehn/aiokraken
b260bd41d5aa091e6a4f1818328426fbe6f625c0
[ "MIT" ]
null
null
null
import unittest from datetime import datetime, timezone from pandas import DatetimeTZDtype from parameterized import parameterized import pandas as pd from aiokraken.utils.timeindexeddataframe import TimeindexedDataframe """ Test module. This is intended for extensive testing, using parameterized, hypothesis or simi...
36.904936
109
0.395849
1,594
20,187
4.970514
0.156211
0.025243
0.039379
0.021457
0.673608
0.616812
0.56784
0.540578
0.528083
0.506248
0
0.119729
0.503096
20,187
546
110
36.972527
0.670123
0.294447
0
0.632836
0
0
0.048048
0
0
0
0
0.001832
0.137313
1
0.01194
false
0
0.029851
0
0.044776
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ac9affe885fc3efd2cfe8bac23b5b5b2bbdd9cfc
13,297
py
Python
vtpl_api/models/engine_task.py
vtpl1/vtpl_api
d289c92254deb040de925205c583de69802a1c6b
[ "MIT" ]
null
null
null
vtpl_api/models/engine_task.py
vtpl1/vtpl_api
d289c92254deb040de925205c583de69802a1c6b
[ "MIT" ]
null
null
null
vtpl_api/models/engine_task.py
vtpl1/vtpl_api
d289c92254deb040de925205c583de69802a1c6b
[ "MIT" ]
null
null
null
# coding: utf-8 """ Engine api Engine APIs # noqa: E501 The version of the OpenAPI document: 1.0.4 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six class EngineTask(object): """NOTE: This class is auto generated by OpenAPI Generator. Ref:...
27.644491
278
0.590885
1,552
13,297
4.896907
0.094072
0.047368
0.126316
0.118421
0.505526
0.396711
0.361184
0.246184
0.138026
0.086053
0
0.019519
0.318042
13,297
480
279
27.702083
0.818593
0.378807
0
0.082927
1
0
0.081139
0.00601
0
0
0
0
0
1
0.17561
false
0
0.014634
0
0.307317
0.009756
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
aca6a6e0486d3884a6f02c4b628910863d9b5d95
834
py
Python
venv/Lib/site-packages/plotnine/geoms/geom_col.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
null
null
null
venv/Lib/site-packages/plotnine/geoms/geom_col.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
1
2020-10-02T21:43:06.000Z
2020-10-15T22:52:39.000Z
venv/Lib/site-packages/plotnine/geoms/geom_col.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
null
null
null
from ..doctools import document from .geom_bar import geom_bar @document class geom_col(geom_bar): """ Bar plot with base on the x-axis This is an alternate version of :class:`geom_bar` that maps the height of bars to an existing variable in your data. If you want the height of the bar to represe...
26.0625
65
0.605516
117
834
4.205128
0.606838
0.085366
0.04878
0
0
0
0
0
0
0
0
0.003263
0.264988
834
31
66
26.903226
0.799347
0.545564
0
0
0
0
0.172638
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aca90fb089b9626c7c5db9aee7d6d8d8f14631cd
1,155
py
Python
utils.py
SeoulTech-HCIRLab/ChannelAug
2701c86836150f86dfdf3ab4f57485f262c88b8f
[ "Apache-2.0" ]
3
2020-06-30T06:29:35.000Z
2021-03-02T14:18:55.000Z
utils.py
titania7777/ChannelAug
03dcd4aa6bdb8b2a38d5057b55672d8a862e4e11
[ "Apache-2.0" ]
null
null
null
utils.py
titania7777/ChannelAug
03dcd4aa6bdb8b2a38d5057b55672d8a862e4e11
[ "Apache-2.0" ]
null
null
null
# Max-Heinrich Laves # Institute of Mechatronic Systems # Leibniz Universität Hannover, Germany # 2019 # Code From https://github.com/mlaves/bayesian-temperature-scaling import torch __all__ = ['accuracy', 'kl_loss', 'nentr', 'xavier_normal_init'] def accuracy(input, target): _, max_indices = torch.max(input.dat...
30.394737
90
0.670996
171
1,155
4.432749
0.508772
0.047493
0.042216
0.029024
0.083113
0.05277
0.05277
0
0
0
0
0.015773
0.176623
1,155
38
91
30.394737
0.781283
0.304762
0
0
0
0
0.049223
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.055556
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
acaa7e107370a525398d8d212fa14ab906e106e9
1,892
py
Python
tests/testing_drive.py
alexzanderr/_core-dev
831f69dad524e450c4243b1dd88f26de80e1d444
[ "MIT" ]
null
null
null
tests/testing_drive.py
alexzanderr/_core-dev
831f69dad524e450c4243b1dd88f26de80e1d444
[ "MIT" ]
null
null
null
tests/testing_drive.py
alexzanderr/_core-dev
831f69dad524e450c4243b1dd88f26de80e1d444
[ "MIT" ]
null
null
null
import unittest from core.drive import copy from core.aesthetics import * class TestingDrivepy(unittest.TestCase): def test_copy_function(self): source_tests = [ r"D:\Alexzander__\programming\python\Python2Executable", r"D:\Alexzander__\programming\python\byzantion", ...
35.037037
72
0.509514
167
1,892
5.461078
0.371257
0.02193
0.131579
0.252193
0.412281
0.285088
0.242325
0.242325
0.242325
0.242325
0
0.001742
0.393235
1,892
53
73
35.698113
0.792683
0
0
0.2
0
0
0.300871
0.275299
0
0
0
0
0.022222
1
0.022222
false
0.044444
0.066667
0
0.111111
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
acb38fbd951d6721bb277eafb67e6e86f5c11fc0
534
py
Python
Python/1 pengenalan python/2 komentar dan operasi matematika/6 kesimpulan.py
ekovegeance-com/tree
7a429d0f35c5a71769820177f60d22e7231b4e40
[ "Apache-2.0" ]
3
2020-12-21T13:01:35.000Z
2020-12-27T08:25:57.000Z
Python/1 pengenalan python/2 komentar dan operasi matematika/6 kesimpulan.py
ekovegeance-com/tree
7a429d0f35c5a71769820177f60d22e7231b4e40
[ "Apache-2.0" ]
2
2020-12-05T23:26:16.000Z
2020-12-27T10:21:47.000Z
Python/1 pengenalan python/2 komentar dan operasi matematika/6 kesimpulan.py
faizH3/faiz
c6a38717b91db8f76a0c4c4fd3168eb3ce8123ef
[ "Apache-2.0" ]
3
2021-07-27T19:05:40.000Z
2021-11-08T09:03:23.000Z
# Instruksi: # Buatlah komentar di garis pertama, # Buat variabel bernama jumlah_pacar yang isinya angka (bukan desimal), # Buat variabel bernama lagi_galau yang isinya boolean, # Buat variabel dengan nama terserah anda dan gunakan salah satu dari operator matematika yang telah kita pelajari. #variabel untuk menyimpan...
35.6
115
0.803371
74
534
5.743243
0.702703
0.084706
0.089412
0
0
0
0
0
0
0
0
0.006637
0.153558
534
15
116
35.6
0.933628
0.872659
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acbbc4f8e25d9363036a7e6c45e12fa4a283bea3
983
py
Python
args.py
fang1fan/m5-python-starter
434bcd701c04707e5a5c3ed07ee51d0a66687dfc
[ "Apache-2.0" ]
1
2021-01-15T01:45:58.000Z
2021-01-15T01:45:58.000Z
args.py
fang1fan/m5-python-starter
434bcd701c04707e5a5c3ed07ee51d0a66687dfc
[ "Apache-2.0" ]
null
null
null
args.py
fang1fan/m5-python-starter
434bcd701c04707e5a5c3ed07ee51d0a66687dfc
[ "Apache-2.0" ]
null
null
null
import argparse parser = argparse.ArgumentParser( formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument('--d_model', type=int, default=0, help='d_model') parser.add_argument('--d_head', type=int, default=2, help='head') parser.add_argument('--d_inner', type=bool, default=True, help='inner lay...
44.681818
102
0.755849
142
983
5.042254
0.316901
0.125698
0.23743
0.075419
0.27933
0.120112
0
0
0
0
0
0.016429
0.071211
983
21
103
46.809524
0.767798
0
0
0
0
0
0.2706
0.068159
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
acc1831c2a1513db9dd276b866be14f74d8ab6db
341
py
Python
Chapter04/CNN_1.py
PacktPublishing/Practical-Convolutional-Neural-Networks
fabffa7f8afa8986a3f2e0756ec8bc4c12836eb9
[ "MIT" ]
23
2018-03-22T21:30:32.000Z
2022-01-02T13:26:34.000Z
Chapter04/CNN_1.py
huanghanchi/Practical-Convolutional-Neural-Networks
365aa803d38316ed9749e4c8c0f3ae2667788781
[ "MIT" ]
2
2018-05-21T04:53:34.000Z
2019-03-05T13:04:34.000Z
Chapter04/CNN_1.py
huanghanchi/Practical-Convolutional-Neural-Networks
365aa803d38316ed9749e4c8c0f3ae2667788781
[ "MIT" ]
17
2018-03-12T12:00:19.000Z
2022-02-22T16:36:36.000Z
#Refer AlexNet implementation code, returns last fully connected layer fc7 = AlexNet(resized, feature_extract=True) shape = (fc7.get_shape().as_list()[-1], 43) fc8_weight = tf.Variable(tf.truncated_normal(shape, stddev=1e-2)) fc8_b = tf.Variable(tf.zeros(43)) logits = tf.nn.xw_plus_b(fc7, fc8_weight, fc8_b) probs = tf....
34.1
70
0.756598
57
341
4.350877
0.649123
0.072581
0.096774
0
0
0
0
0
0
0
0
0.045603
0.099707
341
9
71
37.888889
0.762215
0.202346
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acc30f8a7181a1c7790a5aea356612213e20f556
375
py
Python
octoprint_marlin_flasher/validation/validators/arduino.py
thinkyhead/OctoPrint-Marlin-Flasher
c43110226d1b9d4aa0df2fdfb8cffab47d687957
[ "MIT" ]
1
2021-09-20T22:17:22.000Z
2021-09-20T22:17:22.000Z
octoprint_marlin_flasher/validation/validators/arduino.py
thinkyhead/OctoPrint-Marlin-Flasher
c43110226d1b9d4aa0df2fdfb8cffab47d687957
[ "MIT" ]
null
null
null
octoprint_marlin_flasher/validation/validators/arduino.py
thinkyhead/OctoPrint-Marlin-Flasher
c43110226d1b9d4aa0df2fdfb8cffab47d687957
[ "MIT" ]
1
2021-12-10T03:37:29.000Z
2021-12-10T03:37:29.000Z
from flask_babel import gettext from marshmallow import ValidationError import intelhex import zipfile def is_correct_file_type(filename): try: with zipfile.ZipFile(filename, "r") as _: pass except zipfile.BadZipfile: try: ih = intelhex.IntelHex() ih.loadhex(filename) except intelhex.IntelHexError: ...
22.058824
55
0.770667
46
375
6.173913
0.586957
0.056338
0
0
0
0
0
0
0
0
0
0
0.149333
375
16
56
23.4375
0.890282
0
0
0.142857
0
0
0.050667
0
0
0
0
0
0
1
0.071429
false
0.071429
0.285714
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
acc468eb15f6052159fe5c3f86610a87918f8f91
291
py
Python
modules/accounts/__init__.py
vladpi/zenmoney-bot
280723a49979632811f585fb8dced3c396fe563a
[ "Apache-2.0" ]
null
null
null
modules/accounts/__init__.py
vladpi/zenmoney-bot
280723a49979632811f585fb8dced3c396fe563a
[ "Apache-2.0" ]
1
2022-02-16T22:29:36.000Z
2022-02-16T22:29:54.000Z
modules/accounts/__init__.py
vladpi/zenmoney-bot
280723a49979632811f585fb8dced3c396fe563a
[ "Apache-2.0" ]
null
null
null
from .exports import ( # noqa create_account_from_zenmoney_account, delete_account, get_accounts_by_user, get_user_account_by_id, get_user_account_by_title, update_account_transactions_count, ) from .schemas import AccountModel # noqa from .tables import * # noqa
26.454545
41
0.769759
38
291
5.394737
0.526316
0.097561
0.136585
0.156098
0
0
0
0
0
0
0
0
0.178694
291
10
42
29.1
0.857741
0.04811
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
0
0
0
0
null
0
0
0
0
0
0
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
acc64880afae366e820de6d62f2717aea69a4649
2,360
py
Python
tests/project_creator.py
AlexandrovRoman/Flask-DJ
ecf6cb05a8115641cab6634e8d004801a96c314c
[ "MIT" ]
7
2020-03-12T03:09:12.000Z
2021-05-01T08:11:33.000Z
tests/project_creator.py
AlexandrovRoman/Flask-DJ
ecf6cb05a8115641cab6634e8d004801a96c314c
[ "MIT" ]
null
null
null
tests/project_creator.py
AlexandrovRoman/Flask-DJ
ecf6cb05a8115641cab6634e8d004801a96c314c
[ "MIT" ]
1
2020-12-17T07:24:55.000Z
2020-12-17T07:24:55.000Z
from os.path import exists, join import pytest from flask_dj import startproject from tests.basic_project_creator import ProjectCreate class TestBaseSettingProjectConstructor(ProjectCreate): def setup(self, need_static=False, need_templates=False): super().setup() def test_project_folder_exist(self):...
32.328767
108
0.717373
299
2,360
5.411371
0.230769
0.108776
0.074166
0.070457
0.358467
0.275031
0.202101
0.145241
0.094561
0
0
0.006653
0.172034
2,360
72
109
32.777778
0.821392
0
0
0.0625
0
0
0.111017
0
0
0
0
0
0.145833
1
0.395833
false
0.020833
0.145833
0
0.645833
0
0
0
0
null
0
0
0
0
0
0
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
acc6a2044f16b81953b9b0b10f9e3d38dd9da534
1,822
py
Python
server/apps/authentication/tests.py
krishnasagar14/street_parking
5b5e13d94358c0c610b9c2188abb62e52598a3bb
[ "MIT" ]
null
null
null
server/apps/authentication/tests.py
krishnasagar14/street_parking
5b5e13d94358c0c610b9c2188abb62e52598a3bb
[ "MIT" ]
3
2020-02-11T23:45:37.000Z
2021-06-10T21:13:14.000Z
server/apps/authentication/tests.py
krishnasagar14/street_parking
5b5e13d94358c0c610b9c2188abb62e52598a3bb
[ "MIT" ]
null
null
null
from django.test import TestCase from rest_framework.test import APIRequestFactory from .views import LoginView, SignupView from common.tests import USER_DATA, prepare_dummy_user_data # Create your tests here. class ApiViewTests(TestCase): factory = APIRequestFactory() def test_signup(self): user_da...
31.964912
71
0.616905
222
1,822
4.878378
0.252252
0.110803
0.064635
0.083102
0.517082
0.517082
0.517082
0.517082
0.517082
0.517082
0
0.015533
0.257958
1,822
57
72
31.964912
0.785503
0.012623
0
0.444444
0
0
0.115128
0.01168
0
0
0
0
0.155556
1
0.044444
false
0.066667
0.088889
0
0.177778
0.044444
0
0
0
null
0
0
0
0
0
0
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
acc6cf450962693d28429a214f8508d7ed98f2f8
5,205
py
Python
build/android/play_services/utils.py
TwistedCore/external_v8
c6725dab9be251fbfc6fd7d53c3513a23e78c36c
[ "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
build/android/play_services/utils.py
TwistedCore/external_v8
c6725dab9be251fbfc6fd7d53c3513a23e78c36c
[ "BSD-3-Clause" ]
null
null
null
build/android/play_services/utils.py
TwistedCore/external_v8
c6725dab9be251fbfc6fd7d53c3513a23e78c36c
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. ''' Utility functions for all things related to manipulating google play services related files. ''' import argparse import filecmp import json import loggi...
30.438596
79
0.716427
716
5,205
5.068436
0.350559
0.042987
0.023147
0.02976
0.090383
0.057316
0.025351
0.025351
0.025351
0.025351
0
0.004738
0.189049
5,205
170
80
30.617647
0.855011
0.446686
0
0.115942
0
0
0.122397
0.029229
0
0
0
0
0
1
0.188406
false
0.014493
0.115942
0.086957
0.507246
0
0
0
0
null
0
0
0
0
0
0
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
acd3f396f98f04bb660c487afcf7cf999a2fe26c
1,219
py
Python
src_py/testudpvilistus.py
paulharter/biofeed
fa83e5dcec568d1cd7350b2047c9b91891d1623e
[ "MIT" ]
null
null
null
src_py/testudpvilistus.py
paulharter/biofeed
fa83e5dcec568d1cd7350b2047c9b91891d1623e
[ "MIT" ]
null
null
null
src_py/testudpvilistus.py
paulharter/biofeed
fa83e5dcec568d1cd7350b2047c9b91891d1623e
[ "MIT" ]
null
null
null
import socket,time tcpSock=socket.socket(socket.AF_INET,socket.SOCK_STREAM) print "try connect",tcpSock tcpSock.connect(('169.254.1.1',2000)) print "connected - wait for response" print tcpSock.recv(8) time.sleep(0.1) tcpSock.send("$$$") time.sleep(0.5) print tcpSock.recv(1024) print "Param set" tcpSock.se...
32.078947
75
0.694011
197
1,219
4.274112
0.401015
0.143705
0.11639
0.065321
0.32304
0.276722
0.276722
0.195962
0.12114
0
0
0.056492
0.172272
1,219
37
76
32.945946
0.777998
0.188679
0
0.058824
0
0
0.255048
0
0
0
0
0
0
0
null
null
0
0.029412
null
null
0.235294
0
0
0
null
0
0
0
0
0
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
acd7b158a80820d009b00a99ec78dd68591f2b96
458
py
Python
Programs/Evernote/PackMemo/PackMemo.py
Psiphonc/EasierLife
ad9143a6362d70489ef4b36651ce58a3cc1d0fa3
[ "MIT" ]
203
2016-04-02T07:43:47.000Z
2022-01-05T11:41:03.000Z
Programs/Evernote/PackMemo/PackMemo.py
Psiphonc/EasierLife
ad9143a6362d70489ef4b36651ce58a3cc1d0fa3
[ "MIT" ]
4
2016-05-13T11:20:09.000Z
2018-09-23T01:12:07.000Z
Programs/Evernote/PackMemo/PackMemo.py
Psiphonc/EasierLife
ad9143a6362d70489ef4b36651ce58a3cc1d0fa3
[ "MIT" ]
169
2016-04-26T03:20:04.000Z
2022-03-09T18:36:19.000Z
from EvernoteController import EvernoteController from Memo import Memo MEMO_NAME = 'Memo' MEMO_DIR = 'Memo' MEMO_STORAGE_DIR = 'S-Memo' def f(fn, *args, **kwargs): try: fn(*args, **kwargs) except: pass m = Memo() e = EvernoteController() f(e.create_notebook, MEMO_DIR) f(e.cre...
22.9
57
0.676856
67
458
4.373134
0.343284
0.109215
0.143345
0.109215
0.136519
0
0
0
0
0
0
0
0.19214
458
19
58
24.105263
0.791892
0
0
0
0
0
0.04328
0
0
0
0
0
0
1
0.0625
false
0.0625
0.125
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
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
acde47f7cdaa571a2abde3c7a22b637d977809a6
1,445
py
Python
apps/credit_card/models.py
code-yeongyu/backend
cafad5a1cae47ab86ca71028379b72837ea4543d
[ "MIT" ]
1
2021-07-09T01:27:16.000Z
2021-07-09T01:27:16.000Z
apps/credit_card/models.py
code-yeongyu/backend
cafad5a1cae47ab86ca71028379b72837ea4543d
[ "MIT" ]
10
2021-07-08T04:26:55.000Z
2021-07-20T14:01:58.000Z
apps/credit_card/models.py
code-yeongyu/pangpang-eats-backend
cafad5a1cae47ab86ca71028379b72837ea4543d
[ "MIT" ]
3
2021-07-08T04:06:59.000Z
2021-10-02T04:32:16.000Z
from django.db import models from django.core.validators import MinLengthValidator from apps.user.models import User from pangpangeats.settings import AUTH_USER_MODEL from apps.common.models import BaseModel from apps.common.validators import numeric_validator class CreditCard(BaseModel): owner: User = models.For...
39.054054
111
0.673356
173
1,445
5.450867
0.404624
0.066808
0.059385
0.080594
0.101803
0.101803
0.101803
0.101803
0.101803
0.101803
0
0.011818
0.238754
1,445
37
112
39.054054
0.845455
0.084429
0
0.121212
0
0
0.048448
0.034065
0
0
0
0
0
1
0.030303
false
0
0.181818
0
0.515152
0
0
0
0
null
0
0
0
0
0
0
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
ace31bc75f6c304a3efff0e6911ae27ee2b4ecee
1,064
py
Python
DataProcessor/dev_set_partition.py
cherry979988/feedforward-RE
546a608a8cb5b35c475e577995df70a89affa15e
[ "MIT" ]
1
2019-08-25T00:44:27.000Z
2019-08-25T00:44:27.000Z
DataProcessor/dev_set_partition.py
cherry979988/feedforward-RE
546a608a8cb5b35c475e577995df70a89affa15e
[ "MIT" ]
null
null
null
DataProcessor/dev_set_partition.py
cherry979988/feedforward-RE
546a608a8cb5b35c475e577995df70a89affa15e
[ "MIT" ]
null
null
null
__author__ = 'QinyuanYe' import sys import random from shutil import copyfile # split the original train set into # 90% train-set (train_split.json) and 10% dev-set (dev.json) if __name__ == "__main__": random.seed(1234) if len(sys.argv) != 3: print 'Usage:feature_generation.py -DATA -ratio' ...
24.744186
67
0.640038
151
1,064
4.304636
0.423841
0.096923
0.078462
0.052308
0
0
0
0
0
0
0
0.022059
0.233083
1,064
42
68
25.333333
0.77451
0.087406
0
0
0
0
0.166322
0.027893
0
0
0
0
0
0
null
null
0
0.103448
null
null
0.068966
0
0
0
null
0
0
0
0
0
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
ace6e11dd2c37cb4d2255b5a7148639ad40c246e
717
py
Python
NetCatKS/Logger/api/implementers/__init__.py
dimddev/NetCatKS-CP
2d9e72b2422e344569fd4eb154866b98e9707561
[ "BSD-2-Clause" ]
null
null
null
NetCatKS/Logger/api/implementers/__init__.py
dimddev/NetCatKS-CP
2d9e72b2422e344569fd4eb154866b98e9707561
[ "BSD-2-Clause" ]
null
null
null
NetCatKS/Logger/api/implementers/__init__.py
dimddev/NetCatKS-CP
2d9e72b2422e344569fd4eb154866b98e9707561
[ "BSD-2-Clause" ]
null
null
null
__author__ = 'dimd' from twisted.python import log from zope.interface import implementer from NetCatKS.Logger.api.interfaces import ILogger GLOBAL_DEBUG = True @implementer(ILogger) class Logger(object): def __init__(self): pass def debug(self, msg): if GLOBAL_DEBUG is True: ...
19.378378
55
0.563459
83
717
4.698795
0.39759
0.089744
0.123077
0.133333
0
0
0
0
0
0
0
0
0.242678
717
37
56
19.378378
0.718232
0
0
0
0
0
0.158774
0
0
0
0
0
0
1
0.26087
false
0.043478
0.130435
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
ace927c4fc1e25bbda7ec5e5f7a33fa84304d5ec
9,388
py
Python
videoServer.py
Hugoargui/eyeDetector
8c0361f90dacc2e5d8262cca40b34165fdda841a
[ "MIT" ]
null
null
null
videoServer.py
Hugoargui/eyeDetector
8c0361f90dacc2e5d8262cca40b34165fdda841a
[ "MIT" ]
null
null
null
videoServer.py
Hugoargui/eyeDetector
8c0361f90dacc2e5d8262cca40b34165fdda841a
[ "MIT" ]
3
2015-04-11T15:23:22.000Z
2021-02-09T07:19:07.000Z
## MIT LICENSE #Copyright (c) 2014 Hugo Arguinariz. #http://www.hugoargui.com # #Permission is hereby granted, free of charge, to any person #obtaining a copy of this software and associated documentation #files (the "Software"), to deal in the Software without #restriction, including without limitation the rights to u...
46.246305
132
0.586387
1,110
9,388
4.937838
0.354955
0.016055
0.020434
0.019157
0.120416
0.068783
0.015326
0.015326
0.015326
0.015326
0
0.004355
0.217299
9,388
202
133
46.475248
0.741562
0.418513
0
0.126582
0
0
0.181137
0.015212
0
0
0
0
0
0
null
null
0
0.139241
null
null
0.151899
0
0
0
null
0
0
0
0
0
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
acf0e5f93f43919ca8a537e46d570aa00d8144da
1,639
py
Python
backend/serv/online_data.py
Alliance-Of-Independent-Programmers/acc-book
3a0f9fa1092d7eee54102e787e2233607c6922cf
[ "MIT" ]
null
null
null
backend/serv/online_data.py
Alliance-Of-Independent-Programmers/acc-book
3a0f9fa1092d7eee54102e787e2233607c6922cf
[ "MIT" ]
1
2021-11-02T22:22:57.000Z
2021-11-02T22:22:57.000Z
backend/serv/online_data.py
Alliance-Of-Independent-Programmers/acc-book
3a0f9fa1092d7eee54102e787e2233607c6922cf
[ "MIT" ]
null
null
null
import base64 import os.path path=os.path.dirname(__file__) misha = base64.b64encode(open(os.path.join(path, "../Pics/Miahs.jpg"), "rb").read()).decode("UTF-8") yaroslav = base64.b64encode(open(os.path.join(path, "../Pics/Yaroslav.jpg"), "rb").read()).decode("UTF-8") goblin = base64.b64encode(open(os.path.join(path, ...
21.565789
106
0.594875
210
1,639
4.619048
0.2
0.068041
0.176289
0.194845
0.519588
0.519588
0.343299
0.343299
0
0
0
0.047826
0.158023
1,639
75
107
21.853333
0.655072
0
0
0
0
0
0.214548
0
0
0
0
0
0
1
0
false
0
0.033898
0
0.033898
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
acf75d195a7f9454dff3256ac3c4f362cd91d9cd
529
py
Python
core/network/Swin_T/__init__.py
ViTAE-Transformer/ViTAE-Transformer-Matting
5cd1574cd46009a4e9660cabdc008718e20bc381
[ "MIT" ]
8
2022-03-31T05:58:45.000Z
2022-03-31T13:24:18.000Z
core/network/Swin_T/__init__.py
ViTAE-Transformer/ViTAE-Transformer-Matting
5cd1574cd46009a4e9660cabdc008718e20bc381
[ "MIT" ]
null
null
null
core/network/Swin_T/__init__.py
ViTAE-Transformer/ViTAE-Transformer-Matting
5cd1574cd46009a4e9660cabdc008718e20bc381
[ "MIT" ]
null
null
null
from .swin_stem_pooling5_transformer import swin_stem_pooling5_encoder from .swin_stem_pooling5_transformer import SwinStemPooling5TransformerMatting from .decoder import SwinStemPooling5TransformerDecoderV1 __all__ = ['p3mnet_swin_t'] def p3mnet_swin_t(pretrained=True, img_size=512, **kwargs): encoder = swin_...
35.266667
92
0.835539
55
529
7.618182
0.4
0.076372
0.152745
0.095465
0.176611
0.176611
0
0
0
0
0
0.031579
0.102079
529
14
93
37.785714
0.850526
0
0
0
0
0
0.024575
0
0
0
0
0
0
1
0.111111
false
0
0.333333
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
1
0
0
0
0
1
acfb03705c27649ad1f5865c957917038f62a92e
2,872
py
Python
setup.py
C0DK/lightbus
be5cc2771b1058f7c927cca870ed75d4cbbe61a3
[ "Apache-2.0" ]
null
null
null
setup.py
C0DK/lightbus
be5cc2771b1058f7c927cca870ed75d4cbbe61a3
[ "Apache-2.0" ]
null
null
null
setup.py
C0DK/lightbus
be5cc2771b1058f7c927cca870ed75d4cbbe61a3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # DO NOT EDIT THIS FILE! # This file has been autogenerated by dephell <3 # https://github.com/dephell/dephell try: from setuptools import setup except ImportError: from distutils.core import setup import os.path readme = "" here = os.path.abspath(os.path.dirname(__file__)) readme_p...
31.56044
81
0.607591
266
2,872
6.447368
0.530075
0.017493
0.053644
0
0
0
0
0
0
0
0
0.008858
0.253134
2,872
90
82
31.911111
0.790676
0.043872
0
0.088608
1
0
0.522802
0.20467
0
0
0
0
0
1
0
false
0
0.050633
0
0.050633
0
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
acfb6bea34e4f21d414dc262f6f49c3c957210d9
5,840
py
Python
src/skill_algorithms/trueskill_data_processing.py
EllAchE/nba_tipoff
f3820e391d4a6ddb611efeb6c709f16876771684
[ "MIT" ]
null
null
null
src/skill_algorithms/trueskill_data_processing.py
EllAchE/nba_tipoff
f3820e391d4a6ddb611efeb6c709f16876771684
[ "MIT" ]
null
null
null
src/skill_algorithms/trueskill_data_processing.py
EllAchE/nba_tipoff
f3820e391d4a6ddb611efeb6c709f16876771684
[ "MIT" ]
null
null
null
import ENVIRONMENT from src.database.database_creation import createPlayerTrueSkillDictionary from src.skill_algorithms.algorithms import trueSkillMatchWithRawNums, trueSkillTipWinProb from src.skill_algorithms.common_data_processing import beforeMatchPredictions, runAlgoForSeason, runAlgoForAllSeasons # backlogtodo...
62.12766
291
0.738356
533
5,840
8.003752
0.285178
0.039616
0.022269
0.035631
0.269808
0.23113
0.18331
0.18331
0.142991
0.142991
0
0.002474
0.169349
5,840
93
292
62.795699
0.876933
0.04726
0
0
0
0
0.147922
0
0
0
0
0.010753
0
1
0.081081
false
0
0.054054
0.013514
0.162162
0.067568
0
0
0
null
0
0
0
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
4a0f002191d74bb50bea698bd5937724a5cff101
1,648
py
Python
gamer_registration_system/con/tests/test_models.py
splummer/gamer_reg
7cccbbf8e6e52e46594c8128a7e7a523b8202f03
[ "MIT" ]
null
null
null
gamer_registration_system/con/tests/test_models.py
splummer/gamer_reg
7cccbbf8e6e52e46594c8128a7e7a523b8202f03
[ "MIT" ]
null
null
null
gamer_registration_system/con/tests/test_models.py
splummer/gamer_reg
7cccbbf8e6e52e46594c8128a7e7a523b8202f03
[ "MIT" ]
null
null
null
import pytest import datetime from django.test import TestCase from django.utils import timezone from gamer_registration_system.con.models import Convention, Event, EventSchedule # Create your tests here. class EventScheduleModelTests(TestCase): new_con = Convention(convention_name='Test Future Con') new_eve...
43.368421
95
0.723908
222
1,648
5.117117
0.279279
0.058099
0.047535
0.047535
0.575704
0.556338
0.4375
0.4375
0.370599
0.370599
0
0.008197
0.18568
1,648
37
96
44.540541
0.838301
0.154733
0
0
0
0
0.024335
0
0
0
0
0
0.15
1
0.15
false
0
0.25
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4a12505b82a3a30031591a8cfae55ddea0b1e877
978
py
Python
mul_func.py
motokimura/shake_shake_chainer
3b87193dbfcf58723586dfc34c9bc21a900da327
[ "MIT" ]
2
2018-11-26T13:51:56.000Z
2019-08-12T00:22:20.000Z
mul_func.py
motokimura/shake_shake_chainer
3b87193dbfcf58723586dfc34c9bc21a900da327
[ "MIT" ]
null
null
null
mul_func.py
motokimura/shake_shake_chainer
3b87193dbfcf58723586dfc34c9bc21a900da327
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import chainer from chainer import cuda from chainer import configuration class Mul(chainer.function.Function): def __init__(self): return def forward(self, inputs): x1, x2 = inputs xp = cuda.get_array_module(x1) # Get numpy(x=n) or c...
26.432432
81
0.578732
140
978
3.971429
0.392857
0.071942
0.061151
0.05036
0.348921
0.089928
0.089928
0
0
0
0
0.022956
0.287321
978
36
82
27.166667
0.774749
0.084867
0
0
0
0
0
0
0
0
0
0
0
1
0.173913
false
0
0.130435
0.086957
0.521739
0
0
0
0
null
0
0
0
0
0
0
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
4a18f414dde63eff7e1a06931ef3b1725eecda3f
539
py
Python
tests/import/module_getattr.py
sebi5361/micropython
6c054cd124bc6229bee127128264dc0829dea53c
[ "MIT" ]
198
2017-03-24T23:23:54.000Z
2022-01-07T07:14:00.000Z
tests/import/module_getattr.py
sebi5361/micropython
6c054cd124bc6229bee127128264dc0829dea53c
[ "MIT" ]
509
2017-03-28T19:37:18.000Z
2022-03-31T20:31:43.000Z
tests/import/module_getattr.py
sebi5361/micropython
6c054cd124bc6229bee127128264dc0829dea53c
[ "MIT" ]
187
2017-03-24T23:23:58.000Z
2022-02-25T01:48:45.000Z
# test __getattr__ on module # ensure that does_not_exist doesn't exist to start with this = __import__(__name__) try: this.does_not_exist assert False except AttributeError: pass # define __getattr__ def __getattr__(attr): if attr == 'does_not_exist': return False raise AttributeError # ...
22.458333
70
0.742115
75
539
4.88
0.586667
0.095628
0.163934
0.131148
0
0
0
0
0
0
0
0
0.19295
539
23
71
23.434783
0.841379
0.38961
0
0
0
0
0.099071
0
0
0
0
0
0.071429
1
0.071429
false
0.071429
0.071429
0
0.214286
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4a1b274e1ae2fba791921111ffefa8e3eb237de0
826
py
Python
Own/Python/Tutorials/Lists.py
cychitivav/programming_exercises
e8e7ddb4ec4eea52ee0d3826a144c7dc97195e78
[ "MIT" ]
null
null
null
Own/Python/Tutorials/Lists.py
cychitivav/programming_exercises
e8e7ddb4ec4eea52ee0d3826a144c7dc97195e78
[ "MIT" ]
null
null
null
Own/Python/Tutorials/Lists.py
cychitivav/programming_exercises
e8e7ddb4ec4eea52ee0d3826a144c7dc97195e78
[ "MIT" ]
null
null
null
#Cristian Chitiva #cychitivav@unal.edu.co #12/Sept/2018 myList = ['Hi', 5, 6 , 3.4, "i"] #Create the list myList.append([4, 5]) #Add sublist [4, 5] to myList myList.insert(2,"f") #Add "f" in the position 2 print(myList) myList = [1, 3, 4, 5, 23, 4, 3, 222, 454, 6445, 6, 4654, 455] myList.sort() #So...
25.030303
68
0.641646
140
826
3.785714
0.385714
0.166038
0.192453
0.113208
0.211321
0.181132
0.181132
0.181132
0.181132
0.181132
0
0.096626
0.210654
826
33
69
25.030303
0.716258
0.27845
0
0.380952
0
0
0.009009
0
0
0
0
0
0
1
0
false
0
0
0
0
0.380952
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
4a1b69377cbe114d0ff86a93ac41f2645662116e
7,955
py
Python
src/scripts/retrive_sfd_data.py
seattlepublicrecords/revealseattle
727d6fcaed3abd3170f4941d249067c52e86bf96
[ "Apache-2.0" ]
null
null
null
src/scripts/retrive_sfd_data.py
seattlepublicrecords/revealseattle
727d6fcaed3abd3170f4941d249067c52e86bf96
[ "Apache-2.0" ]
5
2016-10-12T05:21:56.000Z
2016-10-12T10:26:10.000Z
src/scripts/retrive_sfd_data.py
seattlepublicrecords/revealseattle
727d6fcaed3abd3170f4941d249067c52e86bf96
[ "Apache-2.0" ]
null
null
null
import sys, traceback from bs4 import BeautifulSoup import rethinkdb as r import requests import time import geocoder import datetime from dateutil.parser import parse as dtparse from pytz import timezone r.connect( "localhost", 28015).repl() la = timezone('America/Los_Angeles') table = r.db("revealseattle").table("dis...
56.021127
215
0.63193
935
7,955
5.159358
0.225668
0.022803
0.00995
0.014925
0.327736
0.28607
0.273632
0.244196
0.202944
0.167496
0
0.0139
0.231301
7,955
142
216
56.021127
0.77498
0.020993
0
0.30597
0
0.037313
0.228417
0.018756
0
0
0
0
0
0
null
null
0
0.067164
null
null
0.104478
0
0
0
null
0
0
0
0
0
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
4a243a51f1c3704674b477f2c65030fc5b33c2c9
563
py
Python
setup.py
gsgoncalves/K-NRM
b7bc8c44ddf6c8d0bc14a399beb05c9c1956fe2f
[ "BSD-3-Clause" ]
198
2017-11-02T18:11:44.000Z
2022-03-26T00:03:03.000Z
setup.py
gsgoncalves/K-NRM
b7bc8c44ddf6c8d0bc14a399beb05c9c1956fe2f
[ "BSD-3-Clause" ]
18
2017-11-14T08:04:21.000Z
2022-01-14T09:09:45.000Z
setup.py
gsgoncalves/K-NRM
b7bc8c44ddf6c8d0bc14a399beb05c9c1956fe2f
[ "BSD-3-Clause" ]
43
2017-11-02T16:43:35.000Z
2021-06-13T09:22:13.000Z
# Copyright (c) 2017, Carnegie Mellon University. All rights reserved. # # Use of the K-NRM package is subject to the terms of the software license set # forth in the LICENSE file included with this software, and also available at # https://github.com/AdeDZY/K-NRM/blob/master/LICENSE from setuptools import setup from ...
31.277778
78
0.719361
77
563
5.220779
0.766234
0.024876
0.099502
0
0
0
0
0
0
0
0
0.01087
0.182948
563
17
79
33.117647
0.863043
0.486679
0
0
0
0
0.215548
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
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
c57e5f3b0b518154b490e3d006aecf49846e001b
5,271
py
Python
source_synphot/source.py
gnarayan/source_synphot
3bc3d48217ad7ea5630131e68fd3c544d14d10f6
[ "MIT" ]
null
null
null
source_synphot/source.py
gnarayan/source_synphot
3bc3d48217ad7ea5630131e68fd3c544d14d10f6
[ "MIT" ]
null
null
null
source_synphot/source.py
gnarayan/source_synphot
3bc3d48217ad7ea5630131e68fd3c544d14d10f6
[ "MIT" ]
1
2020-05-05T04:38:41.000Z
2020-05-05T04:38:41.000Z
# -*- coding: UTF-8 -*- """ Source processing routines """ from __future__ import absolute_import from __future__ import unicode_literals import warnings from collections import OrderedDict from astropy.cosmology import default_cosmology import numpy as np import os import pysynphot as S import astropy.table as at fro...
30.824561
97
0.634415
613
5,271
5.391517
0.314845
0.033283
0.018154
0.016339
0.118911
0.1059
0.1059
0.02118
0
0
0
0.004631
0.262569
5,271
170
98
31.005882
0.845639
0.25517
0
0.27
0
0
0.131453
0
0
0
0
0.005882
0
1
0.02
false
0.06
0.11
0
0.15
0
0
0
0
null
0
0
0
0
0
0
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
c57ebe95c16965a0958db44e83cf0116a400cb09
415
py
Python
objects.py
umesh0689/Mandorian
bb5bd963686c020482082dbb3e52218520410276
[ "MIT" ]
null
null
null
objects.py
umesh0689/Mandorian
bb5bd963686c020482082dbb3e52218520410276
[ "MIT" ]
null
null
null
objects.py
umesh0689/Mandorian
bb5bd963686c020482082dbb3e52218520410276
[ "MIT" ]
null
null
null
from random import randint class Objects: def __init__(self): self._type=' ' self._arr=[] def creating_objects(self): times=randint(10,20) for i in range(times): temp=[] temp.append(randint(1,4))#1=slant 2=horizontal 3=vertical 4=powerup temp.a...
31.923077
79
0.573494
54
415
4.259259
0.592593
0.130435
0.221739
0.156522
0
0
0
0
0
0
0
0.058621
0.301205
415
13
80
31.923077
0.734483
0.098795
0
0
0
0
0.002674
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.307692
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
c58427c4a5c249ad637ef0452752594d7390392b
40,912
py
Python
zziplib-0.13.62/docs/make-doc.py
guangbin79/Lua_5.1.5-Android
d85e3f54169a36c9281f7da9ad2b4c3c34027e4b
[ "MIT" ]
28
2017-04-20T06:21:26.000Z
2021-12-10T15:22:51.000Z
zziplib-0.13.62/docs/make-doc.py
guangbin79/Lua_5.1.5-Android
d85e3f54169a36c9281f7da9ad2b4c3c34027e4b
[ "MIT" ]
3
2017-04-05T00:41:45.000Z
2020-04-04T00:44:24.000Z
zziplib-0.13.62/docs/make-doc.py
guangbin79/Lua_5.1.5-Android
d85e3f54169a36c9281f7da9ad2b4c3c34027e4b
[ "MIT" ]
15
2015-02-23T16:35:28.000Z
2022-03-25T13:40:33.000Z
#! /usr/bin/python # -*- coding: UTF-8 -*- import sys import re import string import commands import warnings errors = 0 def warn(msg, error=None): global errors errors += 1 if error is None: warnings.warn("-- "+str(errors)+" --\n "+msg, RuntimeWarning, 2) else: warnings.warn("-- "+str...
39.758989
79
0.535784
4,792
40,912
4.474124
0.116653
0.00569
0.005457
0.005037
0.228685
0.178871
0.147994
0.140252
0.11959
0.114832
0
0.005241
0.295757
40,912
1,028
80
39.797665
0.738581
0.092785
0
0.25
0
0.0075
0.151634
0.031217
0.00625
0
0
0
0.00125
0
null
null
0.00375
0.00625
null
null
0.015
0
0
0
null
0
0
0
0
0
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
c5844e0aad5d3be4e5309b96d1cf831066661e3d
2,618
py
Python
cpm/cli.py
tzabal/cpm
b8736ec5a72e2e9f22e73b237a814516545db3e0
[ "Apache-2.0" ]
14
2017-03-09T20:55:06.000Z
2021-11-12T11:43:51.000Z
cpm/cli.py
tzabal/cpm
b8736ec5a72e2e9f22e73b237a814516545db3e0
[ "Apache-2.0" ]
null
null
null
cpm/cli.py
tzabal/cpm
b8736ec5a72e2e9f22e73b237a814516545db3e0
[ "Apache-2.0" ]
6
2017-03-28T01:54:46.000Z
2021-02-23T20:42:49.000Z
# Copyright 2015 Tzanetos Balitsaris # # 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 wri...
35.378378
92
0.699771
350
2,618
5.114286
0.405714
0.040223
0.040223
0.015084
0
0
0
0
0
0
0
0.006256
0.206264
2,618
73
93
35.863014
0.855149
0.211612
0
0.108696
0
0
0.292195
0
0
0
0
0
0
0
null
null
0
0.108696
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
c584ef51737ff6abecfeaa9cb9bcdc82e84361a4
369
py
Python
yoyoman01_traject/scripts/set_state_model.py
Gepetto/yoyoman01_robot
cd2fccb9378a1208605de88c88ec7b1482eaa271
[ "BSD-2-Clause" ]
null
null
null
yoyoman01_traject/scripts/set_state_model.py
Gepetto/yoyoman01_robot
cd2fccb9378a1208605de88c88ec7b1482eaa271
[ "BSD-2-Clause" ]
1
2018-09-28T14:13:45.000Z
2018-10-01T12:42:07.000Z
yoyoman01_traject/scripts/set_state_model.py
Gepetto/yoyoman01_robot
cd2fccb9378a1208605de88c88ec7b1482eaa271
[ "BSD-2-Clause" ]
2
2018-04-13T07:29:15.000Z
2018-05-24T14:19:07.000Z
#!/usr/bin/env python import rospy import roslaunch if __name__ == "__main__": rospy.sleep(6.5) uuid = roslaunch.rlutil.get_or_generate_uuid(None, False) roslaunch.configure_logging(uuid) launch = roslaunch.parent.ROSLaunchParent(uuid,["/home/ntestar/catkin_ws/src/yoyoman01_robot/yoyoman01_traject/launch/set...
30.75
139
0.772358
50
369
5.38
0.74
0
0
0
0
0
0
0
0
0
0
0.018018
0.097561
369
11
140
33.545455
0.78979
0.054201
0
0
1
0
0.267241
0.244253
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
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
c58b105434ef0739e6e7fc842f2dba276d5bf04c
8,974
py
Python
SaIL/network/supervised_regression_network.py
yonetaniryo/SaIL
c7404024c7787184c3638e9730bd185373ed0bf6
[ "BSD-3-Clause" ]
12
2018-05-18T19:29:09.000Z
2020-05-15T13:47:12.000Z
SaIL/network/supervised_regression_network.py
yonetaniryo/SaIL
c7404024c7787184c3638e9730bd185373ed0bf6
[ "BSD-3-Clause" ]
1
2018-05-18T19:36:42.000Z
2018-07-20T03:03:13.000Z
SaIL/network/supervised_regression_network.py
yonetaniryo/SaIL
c7404024c7787184c3638e9730bd185373ed0bf6
[ "BSD-3-Clause" ]
10
2018-01-11T21:23:40.000Z
2021-11-10T04:38:07.000Z
#!/usr/bin/env python """Generic network class for supervised regression Created on: March 25, 2017 Author: Mohak Bhardwaj""" from collections import defaultdict from planning_python.heuristic_functions.heuristic_function import EuclideanHeuristicNoAng, ManhattanHeuristicNoAng, DubinsHeuristic import numpy as np impor...
45.323232
178
0.676621
1,225
8,974
4.734694
0.234286
0.020172
0.022759
0.015517
0.234828
0.202414
0.163793
0.128276
0.128276
0.106207
0
0.008893
0.210608
8,974
197
179
45.553299
0.809853
0.182639
0
0.014815
0
0
0.054074
0
0
0
0
0
0
0
null
null
0
0.044444
null
null
0.059259
0
0
0
null
0
0
0
0
0
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
c59dc3c8ab8e831eb7caf7fcbfb73b6aca3f9f0b
1,219
py
Python
src/tests/aguirregabiria_simple_tests.py
cdagnino/LearningModels
b31d4e1dd5381ba06fc5b1d2b0e2eb1515f2d15f
[ "Apache-2.0" ]
null
null
null
src/tests/aguirregabiria_simple_tests.py
cdagnino/LearningModels
b31d4e1dd5381ba06fc5b1d2b0e2eb1515f2d15f
[ "Apache-2.0" ]
null
null
null
src/tests/aguirregabiria_simple_tests.py
cdagnino/LearningModels
b31d4e1dd5381ba06fc5b1d2b0e2eb1515f2d15f
[ "Apache-2.0" ]
null
null
null
import numpy as np from src import const #TODO: should be imported from aguirregabiria_simple.py def period_profit(p: np.ndarray, lambdas: np.ndarray, betas_transition=const.betas_transition): """ Correct expected period return profit. See ReadMe for derivation """ constant_part = (p-const.c) * np.e *...
42.034483
114
0.599672
187
1,219
3.823529
0.331551
0.046154
0.044755
0.05035
0.179021
0.103497
0.103497
0.103497
0.103497
0.103497
0
0.144806
0.218212
1,219
29
115
42.034483
0.605456
0.097621
0
0
0
0
0
0
0
0
0
0.034483
0.0625
1
0.125
false
0
0.125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c5a2b2cc9bb64eb2dd4546a33e1ab663ecfa9c59
591
py
Python
example/example_list.py
vtheno/Vtools
5a03891d0c2365602aaae68541f31ba89a6476e5
[ "MIT" ]
2
2018-04-25T08:59:55.000Z
2018-04-25T09:53:35.000Z
example/example_list.py
vtheno/Vtools
5a03891d0c2365602aaae68541f31ba89a6476e5
[ "MIT" ]
null
null
null
example/example_list.py
vtheno/Vtools
5a03891d0c2365602aaae68541f31ba89a6476e5
[ "MIT" ]
null
null
null
from util.List import * print( dir() ) lst = list(range(9999)) hd,*tl = lst print( hd ) print( tl ) del hd,tl Lst = toList(lst) try: print( hd,tl ) except NameError as e: with Lst as (hd,tl): print( hd ) print( tl ) print( type(hd),type(tl) ) print( Lst.hd is hd ) print(...
18.46875
41
0.563452
109
591
3.055046
0.284404
0.06006
0.042042
0.084084
0.051051
0
0
0
0
0
0
0.018561
0.270728
591
31
42
19.064516
0.75406
0
0
0.214286
0
0
0
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0.535714
0
0
0
null
0
0
0
0
0
0
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
c5b6c0de5cd1879d83d673da44359c98a06dd5a1
306
py
Python
auth/api/urls.py
gabrielangelo/revelo-wallet
3e91117b673e5aaf50773aa180af4117235965c9
[ "BSD-3-Clause" ]
null
null
null
auth/api/urls.py
gabrielangelo/revelo-wallet
3e91117b673e5aaf50773aa180af4117235965c9
[ "BSD-3-Clause" ]
8
2020-02-11T23:50:12.000Z
2022-03-14T22:51:54.000Z
auth/api/urls.py
gabrielangelo/revelo-wallet
3e91117b673e5aaf50773aa180af4117235965c9
[ "BSD-3-Clause" ]
null
null
null
from django.conf.urls import url from rest_framework_jwt.views import ( obtain_jwt_token, refresh_jwt_token, verify_jwt_token ) urlpatterns = [ url(r'^obtain-token', obtain_jwt_token), url(r'^token-refresh/', refresh_jwt_token), url(r'^api-token-verify/', verify_jwt_token) ]
20.4
48
0.712418
44
306
4.636364
0.386364
0.235294
0.137255
0.117647
0
0
0
0
0
0
0
0
0.169935
306
14
49
21.857143
0.80315
0
0
0
0
0
0.15082
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
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