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
bcda13e1353ee89fbae34de5c047d867386b3c6d
1,167
py
Python
setup.py
brightbox/sftpcloudfs
5a7deecc2ef7e4edfc18d1350f2a53ce6e706805
[ "MIT" ]
null
null
null
setup.py
brightbox/sftpcloudfs
5a7deecc2ef7e4edfc18d1350f2a53ce6e706805
[ "MIT" ]
null
null
null
setup.py
brightbox/sftpcloudfs
5a7deecc2ef7e4edfc18d1350f2a53ce6e706805
[ "MIT" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages from sftpcloudfs.constants import version, project_url def readme(): try: return open('README.md').read() except: return "" setup(name='sftp-cloudfs', version=version, description='SFTP interface to OpenStack Object ...
32.416667
93
0.607541
127
1,167
5.488189
0.716535
0.034433
0
0
0
0
0
0
0
0
0
0.017084
0.247644
1,167
35
94
33.342857
0.776765
0.017138
0
0
0
0
0.376963
0.041012
0
0
0
0
0
1
0.03125
true
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
bcde0b8316a3647afc0ae880cd34ee9a71dbde3c
641
py
Python
nn_add.py
bo-rc/miniFlow
ca9987c755cf0233e827631d253ea366336b6e03
[ "MIT" ]
60
2017-03-02T06:31:33.000Z
2022-03-06T15:15:59.000Z
nn_add.py
bo-rc/miniFlow
ca9987c755cf0233e827631d253ea366336b6e03
[ "MIT" ]
null
null
null
nn_add.py
bo-rc/miniFlow
ca9987c755cf0233e827631d253ea366336b6e03
[ "MIT" ]
34
2017-05-03T21:36:44.000Z
2021-08-09T12:38:23.000Z
""" This script builds and runs a graph with miniflow. There is no need to change anything to solve this quiz! However, feel free to play with the network! Can you also build a network that solves the equation below? (x + y) + y """ from miniflow import * x, y = Input(), Input() f = Add(x, y) feed_dict = {x: 10,...
24.653846
90
0.705148
109
641
4.06422
0.587156
0.072235
0.040632
0
0
0
0
0
0
0
0
0.005725
0.182527
641
25
91
25.64
0.839695
0.569423
0
0
0
0
0.134831
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
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
bcde466dfe3a294b39dddd539a41bccb6645a5f0
774
py
Python
tasks/login.py
vfhky/WeiboSpider
00e6e3f2fe0470be15482dc37ae65e9860137435
[ "MIT" ]
5
2019-09-21T05:19:24.000Z
2021-08-05T07:47:18.000Z
tasks/login.py
msak222/WeiboSpider
e330338c9565da6ba6c426cca4168df9f89faa63
[ "MIT" ]
null
null
null
tasks/login.py
msak222/WeiboSpider
e330338c9565da6ba6c426cca4168df9f89faa63
[ "MIT" ]
2
2019-05-08T04:14:21.000Z
2020-05-24T10:30:03.000Z
# coding:utf-8 import time from logger import log from wblogin import login from db import login_info from tasks.workers import app @app.task(ignore_result=True) def login_task(name, password): login.get_session(name, password) def batch_login(): """ 通过本地调用相关账号进行登录,该方法可能会有用 """ infos = login_inf...
22.764706
101
0.697674
107
774
4.859813
0.401869
0.086538
0.05
0.073077
0.2
0.2
0
0
0
0
0
0.0064
0.192506
774
33
102
23.454545
0.8256
0.096899
0
0.3
0
0
0.073529
0.032353
0
0
0
0
0
1
0.15
false
0.2
0.25
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bcde503e77e9ed206c2877411db82b039a1977aa
3,282
py
Python
tests/test_managers_mail_manager.py
Kush22/core
fa35675b31f9f24b8233f08e297475ab9a3c0c1d
[ "MIT" ]
null
null
null
tests/test_managers_mail_manager.py
Kush22/core
fa35675b31f9f24b8233f08e297475ab9a3c0c1d
[ "MIT" ]
null
null
null
tests/test_managers_mail_manager.py
Kush22/core
fa35675b31f9f24b8233f08e297475ab9a3c0c1d
[ "MIT" ]
null
null
null
import ssl import pytest from config import mail from masonite.app import App from masonite.contracts import MailManagerContract from masonite.drivers import MailMailgunDriver as Mailgun from masonite.drivers import MailSmtpDriver as MailDriver from masonite.exceptions import DriverNotFound from masonite.managers imp...
32.49505
152
0.711456
388
3,282
5.82732
0.206186
0.089783
0.063246
0.053074
0.402477
0.321981
0.250332
0.214507
0.170279
0.114551
0
0.002236
0.182511
3,282
100
153
32.82
0.840477
0
0
0.176471
0
0
0.106642
0.012797
0
0
0
0
0.147059
1
0.25
false
0.014706
0.147059
0.029412
0.470588
0
0
0
0
null
0
0
0
0
0
0
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
bcdf3bdcc3c5824e89e309009f7409c1444530ac
4,633
py
Python
pipeline/core/data/context.py
sdgdsffdsfff/bk-sops-tencent
e8aff91f822e79031e12b0f66943830f44ced506
[ "Apache-2.0" ]
1
2020-10-13T03:04:53.000Z
2020-10-13T03:04:53.000Z
pipeline/core/data/context.py
sdgdsffdsfff/bk-sops-tencent
e8aff91f822e79031e12b0f66943830f44ced506
[ "Apache-2.0" ]
5
2021-02-08T20:46:54.000Z
2021-06-10T22:54:45.000Z
pipeline/core/data/context.py
sdgdsffdsfff/bk-sops-tencent
e8aff91f822e79031e12b0f66943830f44ced506
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2020 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
33.092857
115
0.650766
592
4,633
4.866554
0.280405
0.041652
0.043735
0.011107
0.055189
0.046512
0.024297
0
0
0
0
0.003809
0.263328
4,633
139
116
33.330935
0.840316
0.194906
0
0.098901
0
0
0.046017
0.017492
0
0
0
0
0
1
0.230769
false
0
0.043956
0.054945
0.384615
0.010989
0
0
0
null
0
0
0
0
0
0
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
bce18eac4e32a3c6a55619346f21e518ae65f225
1,921
py
Python
data.py
Amitroy12/amitvirus
58949bf50718a5dc9583995d7f02dfd967386e37
[ "Apache-2.0" ]
null
null
null
data.py
Amitroy12/amitvirus
58949bf50718a5dc9583995d7f02dfd967386e37
[ "Apache-2.0" ]
1
2022-03-02T15:02:11.000Z
2022-03-02T15:02:11.000Z
data.py
Amitroy12/amitvirus
58949bf50718a5dc9583995d7f02dfd967386e37
[ "Apache-2.0" ]
null
null
null
import discord def init(): global bot_token global self_bot_token global message global embed global output_channel global input_channels global command_channel global game_in_session global counter_public_1 global counter_public_2 global counter_public_3 ...
24.0125
79
0.716294
183
1,921
7.245902
0.409836
0.058824
0.042986
0
0
0
0
0
0
0
0
0.341106
0.218636
1,921
79
80
24.316456
0.542305
0.035398
0
0.057143
0
0
0.321267
0.066742
0
0
0
0
0
1
0.014286
false
0
0.014286
0
0.028571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bce2fef59fa5052d5f9634172669602f32cba138
1,221
py
Python
ecommerce/migrations/0007_auto_20200908_1517.py
evanezcent/Django-Training
bc78210a49339903b1ef1d9b3bf8158321146273
[ "MIT" ]
1
2020-11-26T00:48:34.000Z
2020-11-26T00:48:34.000Z
ecommerce/migrations/0007_auto_20200908_1517.py
evanezcent/Django-Training
bc78210a49339903b1ef1d9b3bf8158321146273
[ "MIT" ]
null
null
null
ecommerce/migrations/0007_auto_20200908_1517.py
evanezcent/Django-Training
bc78210a49339903b1ef1d9b3bf8158321146273
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-09-08 08:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ecommerce', '0006_cart_category'), ] operations = [ migrations.RemoveField( model_name='cart', ...
33
132
0.596233
122
1,221
5.877049
0.42623
0.055788
0.078103
0.122734
0.411437
0.411437
0.313808
0.313808
0.313808
0.313808
0
0.020293
0.273546
1,221
36
133
33.916667
0.78805
0.035217
0
0.3
1
0
0.118197
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bce68eadb50eedcead075412f7138f397baa3026
395
wsgi
Python
web/templog.wsgi
mkj/wort-templog
ae5e11549275c259a8e0ba39c1f9c95cfda4b8c4
[ "MIT" ]
9
2015-01-12T04:55:53.000Z
2021-02-05T16:04:14.000Z
web/templog.wsgi
mkj/wort-templog
ae5e11549275c259a8e0ba39c1f9c95cfda4b8c4
[ "MIT" ]
1
2021-02-27T12:36:02.000Z
2021-02-27T12:36:04.000Z
web/templog.wsgi
mkj/wort-templog
ae5e11549275c259a8e0ba39c1f9c95cfda4b8c4
[ "MIT" ]
2
2017-01-05T07:28:14.000Z
2020-05-22T15:54:27.000Z
#from gevent import monkey; monkey.patch_all() import os import sys # Change working directory so relative paths (and template lookup) work again thisdir = os.path.dirname(__file__) os.chdir(thisdir) os.environ['LD_LIBRARY_PATH'] = '/home/matt/templog/web' # for some reason local imports don't work... sys.path.append...
24.6875
77
0.777215
59
395
5.067797
0.728814
0.060201
0
0
0
0
0
0
0
0
0
0
0.118987
395
15
78
26.333333
0.859195
0.417722
0
0
0
0
0.162996
0.096916
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bcf0e8485745155bd1c770babea3c311dd001588
1,738
py
Python
Day41-55/code/hellodjango/demo/migrations/0001_initial.py
xie186/Python-100-Days-EN
c1e3f78572754c0021fd9ec850c2875ad00d14a1
[ "Unlicense" ]
6
2020-04-22T14:07:51.000Z
2021-09-07T12:55:23.000Z
Day41-55/code/hellodjango/demo/migrations/0001_initial.py
xie186/Python-100-Days-EN
c1e3f78572754c0021fd9ec850c2875ad00d14a1
[ "Unlicense" ]
null
null
null
Day41-55/code/hellodjango/demo/migrations/0001_initial.py
xie186/Python-100-Days-EN
c1e3f78572754c0021fd9ec850c2875ad00d14a1
[ "Unlicense" ]
4
2019-08-25T05:51:00.000Z
2021-04-16T08:14:16.000Z
# Generated by Django 2.0.6 on 2018-07-04 02:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Subject', fields=[ ...
40.418605
149
0.570771
184
1,738
5.217391
0.429348
0.083333
0.088542
0.119792
0.264583
0.20625
0.141667
0.141667
0.141667
0.141667
0
0.025397
0.275029
1,738
42
150
41.380952
0.736508
0.025892
0
0.285714
1
0
0.117682
0
0
0
0
0
0
1
0
false
0
0.057143
0
0.171429
0
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
bcf2b7f1d1f4374e4eabe83c4ee174cc05bf088b
66,703
py
Python
Scripts/simulation/server_commands/situation_commands.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/server_commands/situation_commands.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/server_commands/situation_commands.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\server_commands\situation_commands.py # Compiled at: 2020-09-22 01:49:58 # Size of source mod 2**32:...
50.417989
326
0.649311
7,796
66,703
5.221909
0.110441
0.064186
0.051339
0.034635
0.57438
0.496365
0.437853
0.375166
0.335421
0.303021
0
0.037149
0.269553
66,703
1,323
327
50.417989
0.798391
0
0
0.296196
0
0.029891
0.134414
0.034937
0
0
0
0
0
0
null
null
0
0.015399
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
bcf426ecdf070c1f79f8f2a4d9ede25203c6a8e3
1,052
py
Python
blink1_tests/test_b1_context_manager.py
todbot/blink1-python
0058d2f8f175332b1c41cd4d089f2beb26e0b2b5
[ "MIT" ]
35
2017-01-26T22:33:48.000Z
2022-02-21T18:46:51.000Z
blink1_tests/test_b1_context_manager.py
todbot/blink1-python
0058d2f8f175332b1c41cd4d089f2beb26e0b2b5
[ "MIT" ]
13
2017-01-28T18:30:15.000Z
2021-09-21T01:26:49.000Z
blink1_tests/test_b1_context_manager.py
todbot/blink1-python
0058d2f8f175332b1c41cd4d089f2beb26e0b2b5
[ "MIT" ]
7
2017-01-28T15:45:14.000Z
2020-08-29T17:47:13.000Z
import unittest import time from blink1.blink1 import blink1 from blink1.kelvin import COLOR_TEMPERATURES class TestBlink1ContextManager(unittest.TestCase): def test_cm(self): with blink1() as b1: b1.fade_to_color(0, "teal") def test_cm_closed(self): with blink1() as b1: ...
26.3
68
0.61597
152
1,052
3.980263
0.243421
0.069421
0.089256
0.128926
0.596694
0.596694
0.540496
0.540496
0.540496
0.540496
0
0.062257
0.26711
1,052
40
69
26.3
0.722438
0
0
0.482759
0
0
0.046534
0
0
0
0
0
0
1
0.206897
false
0
0.137931
0
0.37931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bcf4c194bbeef08e4d5877653a196b18b14cd972
5,722
py
Python
scrape.py
scottwedge/good-vibes-api
e2a7c7f89ef39072072278727d1fc0cd9debf599
[ "MIT" ]
null
null
null
scrape.py
scottwedge/good-vibes-api
e2a7c7f89ef39072072278727d1fc0cd9debf599
[ "MIT" ]
null
null
null
scrape.py
scottwedge/good-vibes-api
e2a7c7f89ef39072072278727d1fc0cd9debf599
[ "MIT" ]
null
null
null
import os import sys import newspaper from date_guesser import guess_date, Accuracy from langdetect import detect, detect_langs import json import asyncio import aiohttp from aiohttp.client import ClientTimeout import httpx from requests.exceptions import HTTPError from vaderSentiment.vaderSentiment import SentimentInt...
41.165468
153
0.577595
579
5,722
5.523316
0.290155
0.144465
0.19137
0.084428
0.150094
0.107567
0.070044
0.030019
0
0
0
0.003036
0.309332
5,722
138
154
41.463768
0.806174
0.023943
0
0.123894
0
0.00885
0.157253
0.03371
0
0
0
0
0
1
0
false
0.00885
0.123894
0
0.132743
0.017699
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
bcf64f9a387e90d14f2f207b538cc3f9f1eb8dfc
3,508
py
Python
src/main/resources/telnet/TelnetUtils.py
xebialabs-community/xlr-telnet-plugin
36a52c704fbae844121638eb7cc3b9fbf9530674
[ "MIT" ]
1
2021-02-25T17:05:51.000Z
2021-02-25T17:05:51.000Z
src/main/resources/telnet/TelnetUtils.py
xebialabs-community/xlr-telnet-plugin
36a52c704fbae844121638eb7cc3b9fbf9530674
[ "MIT" ]
null
null
null
src/main/resources/telnet/TelnetUtils.py
xebialabs-community/xlr-telnet-plugin
36a52c704fbae844121638eb7cc3b9fbf9530674
[ "MIT" ]
null
null
null
# # Copyright 2021 XEBIALABS # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subli...
59.457627
462
0.692417
385
3,508
6.298701
0.387013
0.036289
0.011134
0.01732
0.041237
0.018144
0
0
0
0
0
0.002605
0.234036
3,508
58
463
60.482759
0.899888
0.312429
0
0
0
0
0.233014
0.028762
0
0
0
0
0
1
0.05
false
0.075
0.15
0
0.225
0
0
0
0
null
0
0
0
0
0
0
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
bcf7c02adadbf1f37e1edfb3908b1a9066206e98
4,328
py
Python
api/models/deck.py
onecrayon/api.ashes.live
72709fb4e53220aa9b48749a51f5b834ebb2ca42
[ "0BSD" ]
11
2020-09-13T16:49:21.000Z
2021-07-29T06:17:58.000Z
api/models/deck.py
onecrayon/api.ashes.live
72709fb4e53220aa9b48749a51f5b834ebb2ca42
[ "0BSD" ]
49
2020-09-11T05:23:02.000Z
2022-03-02T18:31:00.000Z
api/models/deck.py
onecrayon/api.ashes.live
72709fb4e53220aa9b48749a51f5b834ebb2ca42
[ "0BSD" ]
1
2022-03-27T22:11:29.000Z
2022-03-27T22:11:29.000Z
from datetime import datetime from api import db from .ashes_500 import Ashes500Revision from .card import Card from .user import User class Deck(db.AlchemyBase): __tablename__ = "deck" id = db.Column(db.Integer, primary_key=True, autoincrement=True) entity_id = db.Column(db.Integer, nullable=False, ind...
40.074074
99
0.704713
607
4,328
4.896211
0.224053
0.086137
0.107672
0.085801
0.484859
0.430686
0.415882
0.334455
0.266487
0.241588
0
0.00565
0.18207
4,328
107
100
40.448598
0.833898
0.158041
0
0.1875
0
0
0.040122
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.65
0
0
0
0
null
0
0
0
0
0
0
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
bcf9fd4c3d20ec9f955548faf8b8cc659de32821
68,201
py
Python
tests/beta/test_default_tensor.py
ral9000/pennylane
0afbd155d044730af546c6d90cef9d01f931632d
[ "Apache-2.0" ]
null
null
null
tests/beta/test_default_tensor.py
ral9000/pennylane
0afbd155d044730af546c6d90cef9d01f931632d
[ "Apache-2.0" ]
null
null
null
tests/beta/test_default_tensor.py
ral9000/pennylane
0afbd155d044730af546c6d90cef9d01f931632d
[ "Apache-2.0" ]
null
null
null
# Copyright 2018-2020 Xanadu Quantum Technologies Inc. # 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...
37.22762
114
0.527793
8,973
68,201
3.933133
0.067982
0.015698
0.014961
0.012241
0.758047
0.707582
0.673042
0.636547
0.612745
0.565142
0
0.054431
0.306887
68,201
1,831
115
37.247952
0.692158
0.127022
0
0.480755
0
0
0.073289
0.007378
0
0
0
0.000546
0.09283
1
0.069434
false
0
0.006792
0
0.104151
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcfc3c8528168b78b66b6b485dd210943b4bcc4d
584
py
Python
events/migrations/0048_add_photo_uploader.py
alysivji/GetTogether
403d9945fff019701de41d081ad4452e771e1ce1
[ "BSD-2-Clause" ]
446
2018-01-21T09:22:41.000Z
2022-03-25T17:46:12.000Z
events/migrations/0048_add_photo_uploader.py
alysivji/GetTogether
403d9945fff019701de41d081ad4452e771e1ce1
[ "BSD-2-Clause" ]
272
2018-01-03T16:55:39.000Z
2022-03-11T23:12:30.000Z
events/migrations/0048_add_photo_uploader.py
alysivji/GetTogether
403d9945fff019701de41d081ad4452e771e1ce1
[ "BSD-2-Clause" ]
100
2018-01-27T02:04:15.000Z
2021-09-09T09:02:21.000Z
# Generated by Django 2.0.12 on 2019-03-18 01:50 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("events", "0047_add_city_population")] operations = [ migrations.AddField( model_name="eventphoto", ...
25.391304
61
0.587329
61
584
5.491803
0.704918
0.071642
0.083582
0.131343
0
0
0
0
0
0
0
0.049505
0.308219
584
22
62
26.545455
0.779703
0.078767
0
0
1
0
0.145522
0.044776
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcfd8e3cd86efacb66e8a7a13fdc0e92384bd033
7,592
py
Python
scipy/fft/tests/test_real_transforms.py
jake-is-ESD-protected/scipy
d7283ff75c218c300f372b5fdd960b987c1709a1
[ "BSD-3-Clause" ]
9,095
2015-01-02T18:24:23.000Z
2022-03-31T20:35:31.000Z
scipy/fft/tests/test_real_transforms.py
jake-is-ESD-protected/scipy
d7283ff75c218c300f372b5fdd960b987c1709a1
[ "BSD-3-Clause" ]
11,500
2015-01-01T01:15:30.000Z
2022-03-31T23:07:35.000Z
scipy/fft/tests/test_real_transforms.py
jake-is-ESD-protected/scipy
d7283ff75c218c300f372b5fdd960b987c1709a1
[ "BSD-3-Clause" ]
5,838
2015-01-05T11:56:42.000Z
2022-03-31T23:21:19.000Z
import numpy as np from numpy.testing import assert_allclose, assert_array_equal import pytest from scipy.fft import dct, idct, dctn, idctn, dst, idst, dstn, idstn import scipy.fft as fft from scipy import fftpack import math SQRT_2 = math.sqrt(2) # scipy.fft wraps the fftpack versions but with normalized inverse t...
34.986175
78
0.591412
1,037
7,592
4.252652
0.122469
0.079365
0.166667
0.05102
0.777098
0.71746
0.685261
0.672562
0.553061
0.522676
0
0.037746
0.242756
7,592
216
79
35.148148
0.729344
0.057034
0
0.460123
0
0
0.065053
0
0
0
0
0
0.116564
1
0.06135
false
0
0.042945
0
0.104294
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcfef874ff566839aec25961a3b10d40c6f7048f
17,171
py
Python
python-2-apps/fn_crowdstrike_query-1.0.0/fn_crowdstrike_query/components/query_malware_user_connection.py
JayDi11a/Geralds-IBM-SOAR-Integrations
0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0
[ "MIT" ]
null
null
null
python-2-apps/fn_crowdstrike_query-1.0.0/fn_crowdstrike_query/components/query_malware_user_connection.py
JayDi11a/Geralds-IBM-SOAR-Integrations
0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0
[ "MIT" ]
1
2022-03-06T00:10:13.000Z
2022-03-06T00:10:13.000Z
python-2-apps/fn_crowdstrike_query-1.0.0/fn_crowdstrike_query/components/query_malware_user_connection.py
JayDi11a/Geralds-IBM-SOAR-Integrations
0e0eb18adbaf3a266e1dc5a316df7cd5a93f88d0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # pragma pylint: disable=unused-argument, no-self-use """Function implementation""" import logging from resilient_circuits import ResilientComponent, function, handler, StatusMessage, FunctionResult, FunctionError import resilient import requests import json from fn_crowdstrike_query.util.helpe...
55.035256
173
0.512492
1,556
17,171
5.467866
0.15874
0.036201
0.047015
0.052656
0.673836
0.669958
0.653738
0.639633
0.639633
0.62741
0
0.013163
0.393862
17,171
312
174
55.035256
0.804285
0.604566
0
0.072727
0
0.018182
0.066135
0.007979
0
0
0
0
0
1
0.072727
false
0
0.109091
0
0.218182
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
4c01a101fc9fd75a9924fb69857b3fcf32454a1d
1,359
py
Python
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/mashup.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
null
null
null
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/mashup.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
null
null
null
src/client_libraries/python/microsoft/dynamics/customerinsights/api/models/mashup.py
microsoft/Dynamics365-CustomerInsights-Client-Libraries
e00632f7972717b03e0fb1a9e2667e8f9444a0fe
[ "MIT" ]
7
2021-02-11T19:48:57.000Z
2021-12-17T08:00:15.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
35.763158
82
0.591611
136
1,359
5.691176
0.441176
0.071059
0.116279
0
0
0
0
0
0
0
0
0.000894
0.1766
1,359
37
83
36.72973
0.690795
0.426049
0
0
1
0
0.299451
0
0
0
0
0
0
1
0.071429
false
0
0.071429
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
4c031d48459e186301648d2b5706fce939e9bedd
1,935
py
Python
recipes/kaitai_struct_cpp_stl_runtime/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
562
2019-09-04T12:23:43.000Z
2022-03-29T16:41:43.000Z
recipes/kaitai_struct_cpp_stl_runtime/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
9,799
2019-09-04T12:02:11.000Z
2022-03-31T23:55:45.000Z
recipes/kaitai_struct_cpp_stl_runtime/all/conanfile.py
rockandsalt/conan-center-index
d739adcec3e4dd4c250eff559ceb738e420673dd
[ "MIT" ]
1,126
2019-09-04T11:57:46.000Z
2022-03-31T16:43:38.000Z
import os from conans import ConanFile, CMake, tools class KaitaiStructCppStlRuntimeConan(ConanFile): name = "kaitai_struct_cpp_stl_runtime" license = "MIT" url = "https://github.com/conan-io/conan-center-index" homepage = "https://kaitai.io/" description = "kaitai struct c++ runtime library" ...
28.043478
72
0.62584
218
1,935
5.321101
0.40367
0.062069
0.038793
0.043966
0.176724
0.106897
0
0
0
0
0
0.004854
0.25478
1,935
68
73
28.455882
0.799584
0
0
0.145455
0
0
0.182429
0.014987
0
0
0
0
0
1
0.145455
false
0
0.036364
0.036364
0.509091
0
0
0
0
null
0
0
0
0
0
0
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
4c047e11fbdf41d29b7a5f9a7d9d207d5f83bfb5
265
py
Python
vk/exceptions/errors.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
24
2019-09-13T15:30:09.000Z
2022-03-09T06:35:59.000Z
vk/exceptions/errors.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
null
null
null
vk/exceptions/errors.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
12
2019-09-13T15:30:31.000Z
2022-03-01T10:13:32.000Z
class APIException(Exception): def __init__(self, code: int, text: str): self.code = code self.text = text self.message = f"[{self.code}] {self.text}" super().__init__(self.message) class KeyboardException(Exception): pass
24.090909
51
0.626415
31
265
5.096774
0.483871
0.151899
0.151899
0
0
0
0
0
0
0
0
0
0.241509
265
10
52
26.5
0.78607
0
0
0
0
0
0.09434
0
0
0
0
0
0
1
0.125
false
0.125
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4c04b46847ce0e90503fcab14b18eeada624f5be
2,258
py
Python
tergen/mnist_lmdb.py
artyom-beilis/makeahmap
e14cf441e835314f96683a095db21ee302bb84b9
[ "libtiff", "MIT" ]
null
null
null
tergen/mnist_lmdb.py
artyom-beilis/makeahmap
e14cf441e835314f96683a095db21ee302bb84b9
[ "libtiff", "MIT" ]
8
2016-12-05T09:14:07.000Z
2017-02-16T07:58:47.000Z
tergen/mnist_lmdb.py
artyom-beilis/makeahmap
e14cf441e835314f96683a095db21ee302bb84b9
[ "libtiff", "MIT" ]
null
null
null
import paths import sys for p in paths.external: sys.path.append(p) import caffe import lmdb import random import gzip import struct import numpy as np from scipy.signal import convolve from scipy.signal import convolve2d from scipy.misc import imsave from scipy.misc import imresize db=sys.argv[1] label=int(sys....
23.040816
77
0.582817
353
2,258
3.657224
0.328612
0.054222
0.009295
0.032533
0.060418
0.026336
0
0
0
0
0
0.059952
0.261293
2,258
97
78
23.278351
0.714029
0.041187
0
0.157895
0
0
0.023589
0
0
0
0
0
0
0
null
null
0
0.157895
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
4c061ec7034cce8e0a147ec412ce943e0df7df6c
1,707
py
Python
core/templatetags/status.py
6ba/bbgo
dfa9b55b8d40c53940105333c2e03a3c6abddb88
[ "MIT" ]
22
2017-07-13T04:07:03.000Z
2021-06-10T05:39:29.000Z
core/templatetags/status.py
genonfire/bbgo
5f374f0b620f4dc3e106de5969f26f4585044605
[ "MIT" ]
7
2017-08-25T06:33:45.000Z
2019-10-14T05:49:32.000Z
core/templatetags/status.py
6ba/bbgo
dfa9b55b8d40c53940105333c2e03a3c6abddb88
[ "MIT" ]
9
2017-12-31T02:45:58.000Z
2021-01-22T03:09:02.000Z
# -*- coding: utf-8 -*- from django import template from django.utils.translation import ugettext as _ register = template.Library() @register.filter(name='status_to_text') def _status_to_text(status): if status == '1normal': return _('status_published') elif status == '2temp': return "<font ...
35.5625
70
0.621558
186
1,707
5.451613
0.290323
0.147929
0.118343
0.06213
0.633136
0.633136
0.441815
0.195266
0.195266
0.195266
0
0.034918
0.211482
1,707
47
71
36.319149
0.718425
0.012302
0
0.292683
0
0
0.393112
0.122328
0
0
0
0
0
1
0.04878
false
0
0.04878
0
0.512195
0
0
0
0
null
0
0
0
0
0
0
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
4c0df887f9cb1321a3b4199d65ca728a558f60f3
2,249
py
Python
counter/urls.py
denismerigoux/seum-counter
1b17d7edaf14c23f53c7721efd835c229fca229b
[ "WTFPL" ]
3
2016-08-01T17:40:44.000Z
2019-02-21T10:23:30.000Z
counter/urls.py
denismerigoux/seum-counter
1b17d7edaf14c23f53c7721efd835c229fca229b
[ "WTFPL" ]
6
2017-01-03T13:25:04.000Z
2021-06-10T18:24:13.000Z
counter/urls.py
denismerigoux/seum-counter
1b17d7edaf14c23f53c7721efd835c229fca229b
[ "WTFPL" ]
4
2017-01-02T23:48:04.000Z
2019-02-21T10:23:32.000Z
from django.conf.urls import url from counter.rss import SeumFeed from django.contrib.auth import views as auth_views from django.views.generic.base import RedirectView from .views import counter, hashtag, home, reset, user urlpatterns = [ url(r'^$', home.index, name='home'), url(r'^toggle-notif/$', home.togg...
39.45614
79
0.655847
271
2,249
5.247232
0.269373
0.050633
0.050633
0.04782
0
0
0
0
0
0
0
0.002129
0.164518
2,249
56
80
40.160714
0.754125
0
0
0
0
0.020833
0.395731
0.18008
0
0
0
0
0
1
0
false
0.4375
0.104167
0
0.104167
0
0
0
0
null
0
0
0
0
0
0
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
4c16d0d588b1762ab9080a4d2c09e8927a0e46db
1,848
py
Python
tests/test_Bernoulli.py
AdityaVadlamani/prob-distrs
616e1a2802e78dc024d6ddabef3cbcb8cb06567e
[ "MIT" ]
null
null
null
tests/test_Bernoulli.py
AdityaVadlamani/prob-distrs
616e1a2802e78dc024d6ddabef3cbcb8cb06567e
[ "MIT" ]
null
null
null
tests/test_Bernoulli.py
AdityaVadlamani/prob-distrs
616e1a2802e78dc024d6ddabef3cbcb8cb06567e
[ "MIT" ]
null
null
null
import unittest from prob_distrs import Bernoulli from prob_distrs import Binomial class TestBernoulliClass(unittest.TestCase): def setUp(self): self.bernoulli = Bernoulli(0.4) def test_initialization(self): self.assertEqual(self.bernoulli.p, 0.4, 'p value incorrect') self.assertEqual...
30.8
68
0.657468
226
1,848
5.181416
0.199115
0.155423
0.081127
0.119556
0.332195
0.274979
0.097353
0.097353
0.097353
0.097353
0
0.023256
0.232143
1,848
59
69
31.322034
0.801973
0
0
0.181818
0
0
0.022727
0
0
0
0
0
0.386364
0
null
null
0
0.068182
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
4c22afe0d98bf22025f6c364c61bbfc5a2077589
3,935
py
Python
webdev/produtos/tests/test_duplicar_produtos.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
webdev/produtos/tests/test_duplicar_produtos.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
103
2021-04-25T21:28:11.000Z
2022-03-15T01:36:31.000Z
webdev/produtos/tests/test_duplicar_produtos.py
h-zanetti/jewelry-manager
74166b89f492303b8ebf5ff8af058f394eb2a28b
[ "MIT" ]
null
null
null
import pytest from django.urls import reverse from pytest_django.asserts import assertContains, assertRedirects from webdev.produtos.models import Produto from django.contrib.auth.models import User @pytest.fixture def produto(db): return Produto.objects.create(nome='Produto1', colecao="d'Mentira", tamanho=18) # ...
35.45045
121
0.721728
445
3,935
6.125843
0.177528
0.126559
0.088041
0.13573
0.693324
0.628393
0.615921
0.526412
0.526412
0.425532
0
0.017047
0.165184
3,935
110
122
35.772727
0.812785
0.018043
0
0.516854
0
0
0.17734
0.061965
0
0
0
0
0.11236
1
0.168539
false
0.11236
0.05618
0.011236
0.292135
0
0
0
0
null
0
0
0
0
0
0
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
4c25637ec094591150010b583cb119c852f3b7a3
648
py
Python
RandomText.py
Jgraf42507/Portfolio-Code
29b0f8248d3f9ac8662bcc20429d145440643f46
[ "MIT" ]
null
null
null
RandomText.py
Jgraf42507/Portfolio-Code
29b0f8248d3f9ac8662bcc20429d145440643f46
[ "MIT" ]
null
null
null
RandomText.py
Jgraf42507/Portfolio-Code
29b0f8248d3f9ac8662bcc20429d145440643f46
[ "MIT" ]
null
null
null
import random when = ['A few years ago', 'Yesterday', 'Last night', 'A long time ago','On 20th Jan'] who = ['a rabbit', 'an elephant', 'a mouse', 'a turtle','a cat'] name = ['Ali', 'Miriam','daniel', 'Hoouk', 'Starwalker'] residence = ['Barcelona','India', 'Germany', 'Venice', 'England'] went = ['cinema', 'univers...
81
178
0.635802
88
648
4.681818
0.704545
0.145631
0
0
0
0
0
0
0
0
0
0.003643
0.152778
648
8
178
81
0.746812
0
0
0
0
0
0.490654
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
4c383a10ff4b036870f54585ec00ade121df61cf
3,969
py
Python
blendosim/model.py
JonathanCamargo/BlendOsim
51ea3fd2e87361f7d4320596355734c175c50b8d
[ "MIT" ]
2
2021-05-15T19:42:54.000Z
2021-07-16T18:16:23.000Z
blendosim/model.py
JonathanCamargo/BlendOsim
51ea3fd2e87361f7d4320596355734c175c50b8d
[ "MIT" ]
null
null
null
blendosim/model.py
JonathanCamargo/BlendOsim
51ea3fd2e87361f7d4320596355734c175c50b8d
[ "MIT" ]
null
null
null
import bpy from bpy.types import Operator from bpy.props import FloatVectorProperty from bpy_extras.object_utils import AddObjectHelper, object_data_add from mathutils import Vector import bmesh import numpy as np import math from xml.dom import minidom import os.path from blendosim.common import readNames,loadAn...
40.5
100
0.646007
440
3,969
5.795455
0.370455
0.018824
0.029412
0.032941
0.224706
0.212549
0.212549
0.199608
0.179608
0.179608
0
0.005366
0.248677
3,969
97
101
40.917526
0.849765
0.090199
0
0.171429
0
0
0.039645
0
0
0
0
0.010309
0
1
0.028571
false
0
0.171429
0
0.2
0.057143
0
0
0
null
0
0
0
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
4c3baabac3df0da1ac9b366f04fa51073f4a3d2b
406
py
Python
ex028.py
RenatoCortez/ExerciciosPython
5a1a3a621dfb516f4e3b1be4b8764201092a7d7a
[ "MIT" ]
null
null
null
ex028.py
RenatoCortez/ExerciciosPython
5a1a3a621dfb516f4e3b1be4b8764201092a7d7a
[ "MIT" ]
null
null
null
ex028.py
RenatoCortez/ExerciciosPython
5a1a3a621dfb516f4e3b1be4b8764201092a7d7a
[ "MIT" ]
null
null
null
from random import randint from time import sleep computador = randint(0, 5) print('-=' * 20) print('Vou pensar em um número entre 0 e 5.Tente adivinhar...') print('-=' * 20) jogador = int(input('Em que número eu pensei? ')) print('Processando...') sleep(3) if jogador == computador: print('Parabéns! Você acertou!')...
27.066667
77
0.682266
61
406
4.540984
0.606557
0.050542
0
0
0
0
0
0
0
0
0
0.026471
0.162562
406
14
78
29
0.788235
0
0
0.153846
0
0
0.451852
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.461538
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4c3da792175e05a799e34fe6ec0cab73067c84b0
843
py
Python
old/inheritance.py
git-shuvam/python-scripts
4f21b2c87eb814022bb503951fc00efd7f7ef955
[ "MIT" ]
null
null
null
old/inheritance.py
git-shuvam/python-scripts
4f21b2c87eb814022bb503951fc00efd7f7ef955
[ "MIT" ]
null
null
null
old/inheritance.py
git-shuvam/python-scripts
4f21b2c87eb814022bb503951fc00efd7f7ef955
[ "MIT" ]
null
null
null
""" Inheritance """ class Pet: def __init__(self, name, age) -> None: self.name = name self.age = age def show(self): print(f"I am {self.name}, and I am {self.age} years old") def speak(self): print("I dont know what I say") class Cat(Pet): def __init__(self,...
17.5625
87
0.521945
124
843
3.387097
0.330645
0.095238
0.083333
0.071429
0.333333
0.333333
0.233333
0.233333
0.233333
0.233333
0
0.005181
0.313167
843
48
88
17.5625
0.720207
0.013049
0
0.16129
0
0.032258
0.203636
0
0
0
0
0
0
1
0.225806
false
0.032258
0
0
0.354839
0.16129
0
0
0
null
0
0
0
0
0
0
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
4c3f67ef6ecbbfafef021180d615cf4c1bb37912
11,563
py
Python
src/jb_emr_stepconcurrencylevel/handlers.py
joseph-behrens/cfn-resource-type-emr-stepconcurrency
f01f7984ac081ff4146d5ac6e39768d1aa3b75ba
[ "MIT" ]
null
null
null
src/jb_emr_stepconcurrencylevel/handlers.py
joseph-behrens/cfn-resource-type-emr-stepconcurrency
f01f7984ac081ff4146d5ac6e39768d1aa3b75ba
[ "MIT" ]
null
null
null
src/jb_emr_stepconcurrencylevel/handlers.py
joseph-behrens/cfn-resource-type-emr-stepconcurrency
f01f7984ac081ff4146d5ac6e39768d1aa3b75ba
[ "MIT" ]
null
null
null
"""Handlers for CRUD of a CloudFormation Resource that will set the StepConcurrencyLevel attribute of an EMR cluster. """ import logging from typing import Any, MutableMapping, Optional from cloudformation_cli_python_lib import ( Action, HandlerErrorCode, OperationStatus, ProgressEvent, Resource, ...
37.542208
83
0.681743
1,322
11,563
5.8941
0.133888
0.028747
0.048511
0.032854
0.721253
0.666196
0.647844
0.63809
0.616145
0.616145
0
0.002847
0.240595
11,563
307
84
37.664495
0.884523
0.326213
0
0.463542
0
0
0.1146
0.018384
0
0
0
0
0
1
0.036458
false
0
0.020833
0
0.098958
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
4c4ccfb04bf28ecd3ed10c6a016abcc15cef0b99
2,516
py
Python
app/forms/user.py
hXtreme/flask-boilerplate
efb80561c38bdb8ceaeadc8e2bc71b00d4d8faba
[ "MIT" ]
1
2020-01-12T18:38:30.000Z
2020-01-12T18:38:30.000Z
app/forms/user.py
hXtreme/flask-boilerplate
efb80561c38bdb8ceaeadc8e2bc71b00d4d8faba
[ "MIT" ]
null
null
null
app/forms/user.py
hXtreme/flask-boilerplate
efb80561c38bdb8ceaeadc8e2bc71b00d4d8faba
[ "MIT" ]
null
null
null
from flask_wtf import Form from wtforms import TextField, PasswordField from wtforms.validators import Required, Length, Email, ValidationError, EqualTo from app.models import User class Unique(object): """ Custom validator to check an object's attribute is unique. For example users should not be able ...
28.91954
80
0.587838
246
2,516
5.96748
0.333333
0.110354
0.110354
0.091962
0.459128
0.408719
0.408719
0.366485
0.29564
0.208447
0
0.002838
0.299682
2,516
86
81
29.255814
0.830306
0.133545
0
0.396552
0
0
0.106132
0
0
0
0
0
0
1
0.034483
false
0.172414
0.068966
0
0.37931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4c4d6dc88579f19f7d322a2d93d7f4a76daaafc9
1,361
gyp
Python
binding.gyp
gre/node-webgl
34938c33b7d693d68b002976b450331683ed052e
[ "BSD-2-Clause" ]
1
2019-09-28T15:07:36.000Z
2019-09-28T15:07:36.000Z
binding.gyp
gre/node-webgl
34938c33b7d693d68b002976b450331683ed052e
[ "BSD-2-Clause" ]
null
null
null
binding.gyp
gre/node-webgl
34938c33b7d693d68b002976b450331683ed052e
[ "BSD-2-Clause" ]
null
null
null
{ 'variables': { 'platform': '<(OS)', }, 'conditions': [ # Replace gyp platform with node platform, blech ['platform == "mac"', {'variables': {'platform': 'darwin'}}], ['platform == "win"', {'variables': {'platform': 'win32'}}], ], 'targets': [ { 'target_name': 'webgl', 'define...
26.173077
123
0.407054
113
1,361
4.80531
0.672566
0.093923
0.047882
0.062615
0
0
0
0
0
0
0
0.024176
0.331374
1,361
51
124
26.686275
0.572527
0.033799
0
0.28
0
0
0.458492
0.050267
0
0
0
0
0
1
0
true
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
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4c50bdaee4617ff3d503e5d3892f07eabb97ac27
908
py
Python
ranking/urls.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
166
2019-05-16T23:46:08.000Z
2022-03-31T05:20:23.000Z
ranking/urls.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
92
2020-01-18T22:51:53.000Z
2022-03-12T01:23:57.000Z
ranking/urls.py
horacexd/clist
9759dfea97b86514bec9825d2430abc36decacf0
[ "Apache-2.0" ]
23
2020-02-09T17:38:43.000Z
2021-12-09T14:39:07.000Z
from django.conf.urls import re_path from ranking import views app_name = 'ranking' urlpatterns = [ re_path(r'^standings/$', views.standings_list, name='standings_list'), re_path(r'^standings/action/$', views.action, name='standings_action'), re_path(r'^standings/(?P<title_slug>[^/]*)-(?P<contest_id>[0-9...
50.444444
109
0.651982
130
908
4.338462
0.261538
0.106383
0.111702
0.170213
0.398936
0.289007
0.289007
0.138298
0.138298
0
0
0.012092
0.089207
908
17
110
53.411765
0.669891
0
0
0
0
0
0.454846
0.279736
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
4c54626ae7534766a11016a885ceb1365a193ade
668
py
Python
pyro/poutine/scale_poutine.py
cnheider/pyro
60bcab73ada30c2b3f05d525690c9664ff6fc22e
[ "MIT" ]
null
null
null
pyro/poutine/scale_poutine.py
cnheider/pyro
60bcab73ada30c2b3f05d525690c9664ff6fc22e
[ "MIT" ]
null
null
null
pyro/poutine/scale_poutine.py
cnheider/pyro
60bcab73ada30c2b3f05d525690c9664ff6fc22e
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function from .poutine import Messenger class ScaleMessenger(Messenger): """ This messenger rescales the log probability score. This is typically used for data subsampling or for stratified sampling of data (e.g. in fraud detection where negati...
29.043478
82
0.70509
82
668
5.54878
0.695122
0.059341
0.057143
0
0
0
0
0
0
0
0
0
0.218563
668
22
83
30.363636
0.871648
0.429641
0
0
0
0
0.028653
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4c54cdd66600f29dd4234eee23a05497d3842f38
4,591
py
Python
documenters_aggregator/spiders/cook_hospitals.py
hancush/city-scrapers
68f4edbba7ad406eec9e2d356581a58acad7e952
[ "MIT" ]
null
null
null
documenters_aggregator/spiders/cook_hospitals.py
hancush/city-scrapers
68f4edbba7ad406eec9e2d356581a58acad7e952
[ "MIT" ]
null
null
null
documenters_aggregator/spiders/cook_hospitals.py
hancush/city-scrapers
68f4edbba7ad406eec9e2d356581a58acad7e952
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from datetime import datetime from documenters_aggregator.spider import Spider class Cook_hospitalsSpider(Spider): name = 'cook_hospitals' long_name = 'Cook County Health and Hospitals System' allowed_domains = ['www.cookcountyhhs.org'] start_urls = ['http://www.cookcountyhhs...
34.261194
127
0.570682
512
4,591
4.925781
0.361328
0.031721
0.022601
0.018239
0.037272
0.037272
0.037272
0.037272
0.037272
0
0
0.003431
0.301677
4,591
133
128
34.518797
0.783219
0.168591
0
0
0
0
0.183481
0.03601
0
0
0
0.015038
0
1
0.152778
false
0.013889
0.027778
0
0.430556
0
0
0
0
null
0
0
0
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
4c5a77cb6d8b1aad3d462360c94041cfc178b405
9,953
py
Python
models/network_discriminator.py
claroche-r/Practical-Super-Resolution-with-CNFlow
30331832f43692b58938bbe276f89639c89dbbbf
[ "BSD-Source-Code" ]
null
null
null
models/network_discriminator.py
claroche-r/Practical-Super-Resolution-with-CNFlow
30331832f43692b58938bbe276f89639c89dbbbf
[ "BSD-Source-Code" ]
null
null
null
models/network_discriminator.py
claroche-r/Practical-Super-Resolution-with-CNFlow
30331832f43692b58938bbe276f89639c89dbbbf
[ "BSD-Source-Code" ]
null
null
null
import torch import torch.nn as nn from torch.nn.utils import spectral_norm import models.basicblock as B """ # -------------------------------------------- # Discriminator_VGG_96 # Discriminator_VGG_128 # Discriminator_VGG_192 # Discriminator_VGG_128_SN # -------------------------------------------- """ # --------...
38.577519
129
0.550286
1,477
9,953
3.521327
0.092756
0.073832
0.050183
0.061334
0.754663
0.675062
0.661796
0.636224
0.636224
0.625072
0
0.083345
0.269466
9,953
257
130
38.727626
0.631963
0.128404
0
0.528662
0
0
0.005502
0
0
0
0
0
0
1
0.063694
false
0
0.025478
0
0.152866
0.025478
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
4c5da2eeaa080efc7781bcc66d6a0ad9c5feebe6
562
py
Python
CODE/copying_images.py
Sid2697/Anime-Classificaton
b3c641924f9f1fcbb25ead4ea917d832477b1974
[ "MIT" ]
1
2021-01-27T07:15:08.000Z
2021-01-27T07:15:08.000Z
CODE/copying_images.py
Sid2697/Anime-Classificaton
b3c641924f9f1fcbb25ead4ea917d832477b1974
[ "MIT" ]
null
null
null
CODE/copying_images.py
Sid2697/Anime-Classificaton
b3c641924f9f1fcbb25ead4ea917d832477b1974
[ "MIT" ]
null
null
null
import shutil import pandas as pd path = '/home/stu15/s15/ts6442/Capstone/images/images/' name = pd.read_csv('/home/stu15/s15/ts6442/Capstone/codes/final_names.csv', header=None) name = name.values.tolist() final = [] for i in range(len(name)): final.append(name[i][0]) print(type(final)) print("Length of final li...
24.434783
88
0.661922
86
562
4.290698
0.523256
0.073171
0.097561
0.146341
0.211382
0
0
0
0
0
0
0.06087
0.181495
562
22
89
25.545455
0.741304
0.024911
0
0
0
0
0.35348
0.267399
0
0
0
0
0
1
0
false
0.055556
0.111111
0
0.111111
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4c6a899c7b8288f0255ec54d9f42f8652116c9e3
8,318
py
Python
gdpr/tests/test_cs_fields.py
hronecviktor/django-GDPR
fa2a69e6f1d08fe8d2c646074c85fd0dc6ea6b8d
[ "MIT" ]
null
null
null
gdpr/tests/test_cs_fields.py
hronecviktor/django-GDPR
fa2a69e6f1d08fe8d2c646074c85fd0dc6ea6b8d
[ "MIT" ]
null
null
null
gdpr/tests/test_cs_fields.py
hronecviktor/django-GDPR
fa2a69e6f1d08fe8d2c646074c85fd0dc6ea6b8d
[ "MIT" ]
null
null
null
from django.core.exceptions import ValidationError from django.test import TestCase from gdpr.anonymizers.local.cs import ( CzechAccountNumber, CzechAccountNumberFieldAnonymizer, CzechIBAN, CzechIBANSmartFieldAnonymizer, CzechIDCardFieldAnonymizer, CzechPersonalIDSmartFieldAnonymizer, CzechPhoneNumberFieldAnon...
38.155963
119
0.75006
995
8,318
5.910553
0.109548
0.072947
0.080939
0.092841
0.799184
0.741541
0.670804
0.560619
0.525591
0.501615
0
0.039959
0.169632
8,318
217
120
38.331797
0.811496
0
0
0.520548
0
0
0.04917
0.018995
0
0
0
0
0.273973
1
0.191781
false
0
0.020548
0
0.246575
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c70bba66ceb2b4ea135ce6b15ac6dade304fe17
43,933
py
Python
src/02_sim_robot/tasks/hma_hsr_cu_pkg/script/src/sm_main.py
Hibikino-Musashi-Home/hma_wrs_sim_ws
ba7b63f01d5028d3200428c9e0c4dd3ca80f7eca
[ "BSD-3-Clause-Clear" ]
6
2022-03-15T03:08:19.000Z
2022-03-24T05:01:57.000Z
src/02_sim_robot/tasks/hma_hsr_cu_pkg/script/src/sm_main.py
Hibikino-Musashi-Home/hma_wrs_sim_ws
ba7b63f01d5028d3200428c9e0c4dd3ca80f7eca
[ "BSD-3-Clause-Clear" ]
2
2022-03-15T02:17:28.000Z
2022-03-23T09:23:50.000Z
src/02_sim_robot/tasks/hma_hsr_cu_pkg/script/src/sm_main.py
Hibikino-Musashi-Home/hma_wrs_sim_ws
ba7b63f01d5028d3200428c9e0c4dd3ca80f7eca
[ "BSD-3-Clause-Clear" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2022 Hibikino-Musashi@Home # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above c...
41.682163
161
0.549041
5,595
43,933
4.033423
0.090438
0.04901
0.03031
0.041432
0.763105
0.727567
0.683387
0.631763
0.581557
0.540701
0
0.034987
0.320147
43,933
1,053
162
41.721747
0.720571
0.07129
0
0.560784
0
0
0.110447
0.001918
0
0
0
0.00095
0
1
0.047059
false
0.001307
0.013072
0.016993
0.132026
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c731caadeeb8fd73480af281cb9c5298ff3c483
4,171
py
Python
layers/conv_fast.py
tuming1990/tf-pdnn
4fd25bcbc6024a6bf0e0f99b51f579c75a3cfdf1
[ "Apache-2.0" ]
1
2017-03-27T16:05:58.000Z
2017-03-27T16:05:58.000Z
layers/conv_fast.py
tuming1990/tf-pdnn
4fd25bcbc6024a6bf0e0f99b51f579c75a3cfdf1
[ "Apache-2.0" ]
null
null
null
layers/conv_fast.py
tuming1990/tf-pdnn
4fd25bcbc6024a6bf0e0f99b51f579c75a3cfdf1
[ "Apache-2.0" ]
null
null
null
# Copyright 2013 Yajie Miao Carnegie Mellon University # 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 # # THIS CODE IS PROVIDED *AS IS* B...
36.911504
91
0.638936
570
4,171
4.522807
0.324561
0.06827
0.018619
0.035687
0.096974
0.042281
0
0
0
0
0
0.019525
0.263246
4,171
112
92
37.241071
0.819395
0.203548
0
0.028571
0
0
0.007371
0
0
0
0
0
0.014286
0
null
null
0
0.185714
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
4c79eac360b3f786158b4ee253d5e09e8ea3cf9a
10,266
py
Python
opts.py
sunutf/AR-Net
8da398f40f9c314019b4cd56c1dc24093badf19c
[ "Apache-2.0" ]
47
2020-08-08T23:10:39.000Z
2022-03-30T18:59:18.000Z
opts.py
sunutf/AR-Net
8da398f40f9c314019b4cd56c1dc24093badf19c
[ "Apache-2.0" ]
8
2020-09-28T14:20:02.000Z
2022-03-29T14:00:56.000Z
opts.py
sunutf/AR-Net
8da398f40f9c314019b4cd56c1dc24093badf19c
[ "Apache-2.0" ]
4
2020-12-04T05:30:50.000Z
2021-02-12T15:36:52.000Z
import argparse parser = argparse.ArgumentParser(description="PyTorch implementation of Temporal Segment Networks") parser.add_argument('dataset', type=str) parser.add_argument('modality', type=str, choices=['RGB', 'Flow']) parser.add_argument('--train_list', type=str, default="") parser.add_argument('--val_list', typ...
61.107143
120
0.705533
1,422
10,266
4.922644
0.233474
0.127286
0.240429
0.045
0.324286
0.217857
0.106857
0.038571
0.038571
0.014857
0
0.011906
0.108221
10,266
167
121
61.473054
0.752703
0.168323
0
0
0
0
0.377825
0.024482
0
0
0
0.005988
0
1
0
false
0
0.008772
0
0.008772
0.017544
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
4c7a70ca0c1fa8be9abe7a33386e967b3c982d4d
2,630
py
Python
dash_mantine_components/Image.py
lenamax2355/dash-mantine-components
f24e48f3e2f88521cf2c14a070384458132a14d8
[ "MIT" ]
1
2021-12-27T08:14:31.000Z
2021-12-27T08:14:31.000Z
dash_mantine_components/Image.py
lenamax2355/dash-mantine-components
f24e48f3e2f88521cf2c14a070384458132a14d8
[ "MIT" ]
null
null
null
dash_mantine_components/Image.py
lenamax2355/dash-mantine-components
f24e48f3e2f88521cf2c14a070384458132a14d8
[ "MIT" ]
null
null
null
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args class Image(Component): """An Image component. Image with optional placeholder for loading and error state. For more information, see: https://mantine.dev/core/image/ Keyword arguments: - id (string; op...
39.848485
339
0.678327
314
2,630
5.573248
0.410828
0.113143
0.032571
0.014857
0.077714
0.077714
0.077714
0.077714
0.077714
0.077714
0
0.002876
0.206844
2,630
65
340
40.461538
0.83605
0.490114
0
0
1
0
0.162669
0.017241
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
0
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
4c7ac63673aa8713ed48e7b04b7f01774f08d999
2,694
py
Python
tests/test_aiowsgi.py
ezeeyahoo/aiowsgi
3525d65f9f1748ea14e761e0292d1bb0582db20e
[ "MIT" ]
27
2015-01-30T15:37:42.000Z
2019-05-10T09:49:33.000Z
tests/test_aiowsgi.py
ezeeyahoo/aiowsgi
3525d65f9f1748ea14e761e0292d1bb0582db20e
[ "MIT" ]
4
2015-01-30T16:09:01.000Z
2018-11-04T08:45:16.000Z
tests/test_aiowsgi.py
ezeeyahoo/aiowsgi
3525d65f9f1748ea14e761e0292d1bb0582db20e
[ "MIT" ]
3
2018-03-05T01:31:10.000Z
2020-09-11T13:14:43.000Z
# -*- coding: utf-8 -*- from webtest.debugapp import debug_app from webtest import http from unittest import TestCase from aiowsgi.compat import asyncio import aiowsgi import socket class Transport(object): _sock = socket.socket() def __init__(self): self.data = b'' self.closed = False ...
24.27027
74
0.616555
362
2,694
4.406077
0.276243
0.030721
0.02069
0.030094
0.343574
0.205643
0.205643
0.205643
0.205643
0.205643
0
0.0115
0.25761
2,694
110
75
24.490909
0.786
0.007795
0
0.192308
0
0.025641
0.079371
0.020217
0
0
0
0
0.076923
1
0.24359
false
0.038462
0.076923
0.025641
0.474359
0
0
0
0
null
0
0
0
0
0
0
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
d5b7f600f3f8f82a9b10fe3b7a2ce5ab5a06d459
10,631
py
Python
src/ext/ffi_build.py
cielavenir/pyppmd-py2
c148b8fbe7cb0c0e9f68fdf9a1c3599325f0e4c8
[ "BSD-3-Clause" ]
null
null
null
src/ext/ffi_build.py
cielavenir/pyppmd-py2
c148b8fbe7cb0c0e9f68fdf9a1c3599325f0e4c8
[ "BSD-3-Clause" ]
null
null
null
src/ext/ffi_build.py
cielavenir/pyppmd-py2
c148b8fbe7cb0c0e9f68fdf9a1c3599325f0e4c8
[ "BSD-3-Clause" ]
null
null
null
import sys import cffi # type: ignore # noqa def is_64bit(): return sys.maxsize > 1 << 32 ffibuilder = cffi.FFI() # ----------- PPMd interfaces --------------------- # Interface.h # Buffer.h ffibuilder.cdef( r""" typedef unsigned char Byte; typedef short Int16; typedef unsigned short UInt16; typedef int...
26.056373
125
0.696548
1,404
10,631
5.086182
0.180199
0.018205
0.018905
0.025767
0.469262
0.410587
0.341689
0.314242
0.255847
0.219437
0
0.031897
0.177218
10,631
407
126
26.120393
0.784498
0.019189
0
0.183099
0
0.014085
0.797611
0.115718
0
0
0
0.002457
0
1
0.014085
false
0.007042
0.014085
0.007042
0.070423
0
0
0
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
d5bb030df432a6ff6a10fdc7abf887f0f2de9a77
7,800
py
Python
services/api-server/src/simcore_service_api_server/utils/solver_job_models_converters.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
25
2018-04-13T12:44:12.000Z
2022-03-12T15:01:17.000Z
services/api-server/src/simcore_service_api_server/utils/solver_job_models_converters.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
2,553
2018-01-18T17:11:55.000Z
2022-03-31T16:26:40.000Z
services/api-server/src/simcore_service_api_server/utils/solver_job_models_converters.py
odeimaiz/osparc-simcore
71c2fc58dcfe067487dcd75cb70298a4d6237e97
[ "MIT" ]
20
2018-01-18T19:45:33.000Z
2022-03-29T07:08:47.000Z
""" Helper functions to convert models used in services/api-server/src/simcore_service_api_server/api/routes/solvers_jobs.py """ import urllib.parse import uuid from datetime import datetime from functools import lru_cache from typing import Callable, Dict, Optional from models_library.projects_nodes import In...
29.433962
176
0.648462
945
7,800
5.15873
0.291005
0.022154
0.015385
0.012308
0.129026
0.084718
0.072205
0.017231
0.017231
0.017231
0
0.008804
0.257308
7,800
264
177
29.545455
0.832729
0.205641
0
0.071006
0
0.005917
0.062119
0.015159
0
0
0
0.015152
0.047337
1
0.059172
false
0
0.071006
0.023669
0.189349
0
0
0
0
null
0
0
0
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
d5bdd86c952eeee86e0da1903c7bce101e085dd8
341
py
Python
tests/test_settings.py
ijanos/ebedke
9a0f91cc6536a78d7da9aca1fab22924a56d38e2
[ "Apache-2.0", "MIT" ]
35
2017-08-09T20:43:55.000Z
2022-02-15T09:39:22.000Z
tests/test_settings.py
ijanos/ebedke
9a0f91cc6536a78d7da9aca1fab22924a56d38e2
[ "Apache-2.0", "MIT" ]
8
2017-08-10T07:32:47.000Z
2019-03-29T10:31:46.000Z
tests/test_settings.py
ijanos/ebedke
9a0f91cc6536a78d7da9aca1fab22924a56d38e2
[ "Apache-2.0", "MIT" ]
11
2017-08-10T07:05:21.000Z
2020-02-12T10:56:38.000Z
import os from importlib import reload from ebedke import settings def test_envvar_settings(): os.environ["FACEBOOK_ACCESS_TOKEN"] = "fbtoken" os.environ["GOOGLE_API_KEY"] = "gcptoken" reload(settings) assert settings.facebook_token == "fbtoken" assert settings.google_token == "gcptoken" assert...
28.416667
51
0.747801
42
341
5.857143
0.52381
0.170732
0
0
0
0
0
0
0
0
0
0
0.158358
341
11
52
31
0.857143
0
0
0
0
0
0.190616
0.061584
0
0
0
0
0.3
1
0.1
true
0
0.3
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d5be28af73b042b8fb05a951dc161953ecabd744
8,868
py
Python
WKA_WLST_PY/Linux_OS_UI.py
lcoman/WKA_WLST.py
6c0790b8d24ed459e2e251d063f647d69344b0cd
[ "MIT" ]
null
null
null
WKA_WLST_PY/Linux_OS_UI.py
lcoman/WKA_WLST.py
6c0790b8d24ed459e2e251d063f647d69344b0cd
[ "MIT" ]
null
null
null
WKA_WLST_PY/Linux_OS_UI.py
lcoman/WKA_WLST.py
6c0790b8d24ed459e2e251d063f647d69344b0cd
[ "MIT" ]
null
null
null
#!/usr/bin/env sh from Linux_OS_Details import * import datetime; # ---------------------------------------------- f.write ( """ <!-- ********************** --> <div class="tab-pane fade" id="OS" role="tabpanel" aria-labelledby="OS-tab"> <!-- start sub OS tabs --> <div class="row "> <div class="col...
28.980392
231
0.603857
1,094
8,868
4.874771
0.29159
0.047253
0.027002
0.025314
0.265892
0.242453
0.129758
0.089256
0.068629
0.057379
0
0.025987
0.197226
8,868
305
232
29.07541
0.722995
0.012404
0
0.313187
0
0.164835
0.910451
0.281553
0
0
0
0
0
1
0
false
0
0.010989
0
0.010989
0.021978
0
0
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
d5c4b6743e8e8c7e7487b553a0d309452ffa0829
2,603
py
Python
vqt/qpython.py
4k4xs4pH1r3/vivisect
dea425eed796176309a3be46936eb682598271aa
[ "ECL-2.0", "Apache-2.0" ]
1
2020-12-23T19:23:17.000Z
2020-12-23T19:23:17.000Z
vqt/qpython.py
4k4xs4pH1r3/vivisect
dea425eed796176309a3be46936eb682598271aa
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
vqt/qpython.py
4k4xs4pH1r3/vivisect
dea425eed796176309a3be46936eb682598271aa
[ "ECL-2.0", "Apache-2.0" ]
1
2020-12-23T19:23:58.000Z
2020-12-23T19:23:58.000Z
''' Home of some helpers for python interactive stuff. ''' import types import traceback from threading import Thread from PyQt4 import QtCore, QtGui from vqt.main import idlethread from vqt.basics import * @idlethread def scripterr(msg, info): msgbox = QtGui.QMessageBox() msgbox.setText('Script Error: %s' %...
28.604396
75
0.617365
291
2,603
5.309278
0.343643
0.046602
0.046602
0.029773
0.041424
0.041424
0
0
0
0
0
0.000524
0.267
2,603
90
76
28.922222
0.809224
0
0
0
0
0
0.070783
0
0
0
0
0
0
0
null
null
0
0.092308
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
d5d081b0a33b6475be0165db68fa6e3208dd306f
416
py
Python
secateur/migrations/0038_user_screen_name.py
tveastman/secateur
a71e935d11344bc29fcac6700d23a2e8f453068b
[ "MIT" ]
45
2019-07-28T11:23:35.000Z
2022-03-06T04:04:32.000Z
secateur/migrations/0038_user_screen_name.py
tveastman/secateur
a71e935d11344bc29fcac6700d23a2e8f453068b
[ "MIT" ]
26
2019-08-06T07:37:21.000Z
2022-03-06T03:49:29.000Z
secateur/migrations/0038_user_screen_name.py
tveastman/secateur
a71e935d11344bc29fcac6700d23a2e8f453068b
[ "MIT" ]
5
2019-08-24T04:13:25.000Z
2021-04-11T01:17:46.000Z
# Generated by Django 3.1.3 on 2020-11-29 04:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("secateur", "0037_auto_20200927_1531"), ] operations = [ migrations.AddField( model_name="user", name="screen_name", ...
21.894737
78
0.612981
47
416
5.297872
0.829787
0
0
0
0
0
0
0
0
0
0
0.112211
0.271635
416
18
79
23.111111
0.709571
0.108173
0
0
1
0
0.124661
0.062331
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
d5d21123889e061e5882a20844d7d9d0b295df41
865
py
Python
config.py
Flyer107/TickeX_DB
2c255cbce0c9c3d89f1627e9f6db4c491fdeefa6
[ "MIT" ]
null
null
null
config.py
Flyer107/TickeX_DB
2c255cbce0c9c3d89f1627e9f6db4c491fdeefa6
[ "MIT" ]
9
2020-06-05T20:31:50.000Z
2022-03-11T23:45:47.000Z
config.py
Flyer107/TickeX_DB
2c255cbce0c9c3d89f1627e9f6db4c491fdeefa6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Nov 8 16:16:09 2018 @author: jakez """ import os def getKeys(): if 'MONGO_STRING' not in os.environ: dotenv = '.env.ini' with open(dotenv, 'r') as file: content = file.readlines() content = [line.strip().split('=') for ...
29.827586
98
0.563006
110
865
4.227273
0.536364
0.058065
0.068817
0
0
0
0
0
0
0
0
0.019672
0.294798
865
29
99
29.827586
0.742623
0.131792
0
0
0
0
0.197203
0
0
0
0
0
0
1
0.052632
false
0.052632
0.052632
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d5d3e1917443da08940dce8d8727b0d21dd3f058
345
py
Python
app/factories/event_topic.py
akashtalole/python-flask-restful-api
475d8fd7be1724183716a197aac4257f8fbbeac4
[ "MIT" ]
3
2019-09-05T05:28:49.000Z
2020-06-10T09:03:37.000Z
app/factories/event_topic.py
akashtalole/python-flask-restful-api
475d8fd7be1724183716a197aac4257f8fbbeac4
[ "MIT" ]
null
null
null
app/factories/event_topic.py
akashtalole/python-flask-restful-api
475d8fd7be1724183716a197aac4257f8fbbeac4
[ "MIT" ]
null
null
null
import factory import app.factories.common as common from app.models.event_topic import db, EventTopic class EventTopicFactory(factory.alchemy.SQLAlchemyModelFactory): class Meta: model = EventTopic sqlalchemy_session = db.session name = common.string_ slug = common.slug_ system_imag...
23
64
0.750725
40
345
6.3
0.675
0
0
0
0
0
0
0
0
0
0
0
0.191304
345
14
65
24.642857
0.903226
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.3
0
0.8
0
0
0
0
null
0
0
0
0
0
0
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
d5d8004a29b20c3d4fb048d2b1b1069bc4ec4068
5,044
py
Python
util/checkpoint-tester.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
31
2015-12-15T19:14:10.000Z
2021-12-31T17:40:21.000Z
util/checkpoint-tester.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
5
2015-12-04T08:06:47.000Z
2020-08-09T21:49:46.000Z
util/checkpoint-tester.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
21
2015-11-05T08:25:45.000Z
2021-06-19T02:24:50.000Z
#! /usr/bin/env python # Copyright (c) 2010 Advanced Micro Devices, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: redistributions of source code must retain the above copyright # notice,...
37.088235
78
0.707375
725
5,044
4.886897
0.424828
0.018628
0.013548
0.011008
0.113463
0.059272
0.059272
0.038386
0.038386
0.038386
0
0.01143
0.184774
5,044
135
79
37.362963
0.850195
0.613006
0
0.042553
0
0
0.17931
0
0
0
0
0
0
0
null
null
0
0.06383
null
null
0.12766
0
0
0
null
0
0
0
0
0
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
d5da509fda8bd12da90ea1e13ade0ef8463dac9c
5,690
py
Python
Plantilla.py
pordnajela/AlgoritmosCriptografiaClasica
06a016ea807e43797b9d687a5967cdbe9369cff7
[ "Apache-2.0" ]
null
null
null
Plantilla.py
pordnajela/AlgoritmosCriptografiaClasica
06a016ea807e43797b9d687a5967cdbe9369cff7
[ "Apache-2.0" ]
null
null
null
Plantilla.py
pordnajela/AlgoritmosCriptografiaClasica
06a016ea807e43797b9d687a5967cdbe9369cff7
[ "Apache-2.0" ]
2
2017-04-18T02:38:28.000Z
2018-12-12T19:07:44.000Z
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- import os from Utilidad import Utilidad class Template(object): """ Clase "abstracta" que utiliza el patrón TemplateMethod. Los métodos cifrarATexto, cifrarArchivoBin, descifrarATexto, descifrarArchivoBin, son métodos que tienen pasos en común, lo único que cambia ...
37.933333
108
0.743585
693
5,690
6.082251
0.252525
0.076868
0.01898
0.029893
0.537604
0.448636
0.419692
0.400475
0.400475
0.400475
0
0.005166
0.149561
5,690
150
109
37.933333
0.865881
0.43058
0
0.31746
0
0
0.02408
0
0
0
0
0.08
0
1
0.15873
false
0.015873
0.031746
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
1
0
0
0
0
0
0
0
0
0
0
1
d5dd16532a1378d6d4b895006bf2eabf0fc501ca
632
py
Python
leetcode/python/range_sum_query.py
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
leetcode/python/range_sum_query.py
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
leetcode/python/range_sum_query.py
haonancool/OnlineJudge
43e9e7fb30ed1ed80c08ef54d32aaa6ae5652064
[ "Apache-2.0" ]
null
null
null
class NumArray(object): def __init__(self, nums): """ initialize your data structure here. :type nums: List[int] """ self.table=[0] sum = 0 for num in nums: sum += num self.table.append(sum) def sumRange(self, i, j): """ ...
23.407407
63
0.533228
80
632
4.1625
0.4875
0.108108
0
0
0
0
0
0
0
0
0
0.016908
0.344937
632
26
64
24.307692
0.78744
0.43038
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d5dd17a9149abf16742ee56f992cdd268f4d2348
893
py
Python
www/tizen_rest_api/TizenRestApi/alexa/migrations/0001_initial.py
devspoon/TizenCloud
e96cb7920381284509ae64bb9fb78d443de55be9
[ "MIT" ]
null
null
null
www/tizen_rest_api/TizenRestApi/alexa/migrations/0001_initial.py
devspoon/TizenCloud
e96cb7920381284509ae64bb9fb78d443de55be9
[ "MIT" ]
null
null
null
www/tizen_rest_api/TizenRestApi/alexa/migrations/0001_initial.py
devspoon/TizenCloud
e96cb7920381284509ae64bb9fb78d443de55be9
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-05 21:23 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Authentication', fields=[ ('id', models.Aut...
30.793103
114
0.568869
92
893
5.304348
0.652174
0.112705
0.092213
0
0
0
0
0
0
0
0
0.028754
0.298992
893
28
115
31.892857
0.750799
0.050392
0
0
1
0
0.174941
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5e4b2a20714e21411cde7a735339dc688f84f8e
450
py
Python
nmmis/contrib/municipal/migrations/0004_auto_20200723_1714.py
mgrsantox/nmmis
77f5bc0907c4fa7babe177a07ea144c2ac8b2eca
[ "BSD-2-Clause" ]
null
null
null
nmmis/contrib/municipal/migrations/0004_auto_20200723_1714.py
mgrsantox/nmmis
77f5bc0907c4fa7babe177a07ea144c2ac8b2eca
[ "BSD-2-Clause" ]
null
null
null
nmmis/contrib/municipal/migrations/0004_auto_20200723_1714.py
mgrsantox/nmmis
77f5bc0907c4fa7babe177a07ea144c2ac8b2eca
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-23 11:29 import django.contrib.gis.db.models.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('municipal', '0003_auto_20200723_1712'), ] operations = [ migrations.AlterField( model_name='r...
22.5
81
0.633333
52
450
5.403846
0.730769
0.092527
0.113879
0.128114
0.213523
0.213523
0
0
0
0
0
0.10355
0.248889
450
19
82
23.684211
0.727811
0.1
0
0
1
0
0.099256
0.057072
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5edd654805cf32352512470306c70d8c055de71
547
py
Python
part45/blog/models.py
yllew36/WellyGI
7d53fac4c81bb994f61b22761e5ac7e48994ade4
[ "Apache-2.0" ]
1
2019-11-15T08:02:45.000Z
2019-11-15T08:02:45.000Z
part45/blog/models.py
yllew36/WellyGI
7d53fac4c81bb994f61b22761e5ac7e48994ade4
[ "Apache-2.0" ]
null
null
null
part45/blog/models.py
yllew36/WellyGI
7d53fac4c81bb994f61b22761e5ac7e48994ade4
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.utils.text import slugify # Create your models here. class ArtikelModel(models.Model): judul = models.CharField(max_length=255) isi = models.TextField() penulis = models.CharField(max_length=255) publish = models.DateTimeField(auto_now_add = True) update = models.Da...
28.789474
53
0.74223
75
547
5.293333
0.573333
0.050378
0.09068
0.120907
0.13602
0
0
0
0
0
0
0.012605
0.129799
547
19
54
28.789474
0.821429
0.043876
0
0
0
0
0.011494
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.071429
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
d5ee2481f68b9bd2cebae4d8be08e5962fd06fad
393
py
Python
src/res/levels/the_key.py
spineki/picklebreak
573c424f1bf41061d82b98292260b3a9d4529ec5
[ "X11" ]
null
null
null
src/res/levels/the_key.py
spineki/picklebreak
573c424f1bf41061d82b98292260b3a9d4529ec5
[ "X11" ]
9
2019-11-19T08:34:27.000Z
2019-11-21T10:02:25.000Z
src/res/levels/the_key.py
spineki/picklebreak
573c424f1bf41061d82b98292260b3a9d4529ec5
[ "X11" ]
2
2019-11-20T09:40:37.000Z
2019-11-20T17:38:02.000Z
from os import path, mkdir from shutil import rmtree, copyfile def gen (key, hints_data, scripts): new_s = scripts.copy() if path.isdir("./loaded"): rmtree("./loaded") mkdir("./loaded") copyfile("./src/res/images/15_the_key.jpg", hints_data[1]) scripts[6]=scripts[6].format(ke...
23.117647
62
0.625954
56
393
4.267857
0.589286
0.112971
0
0
0
0
0
0
0
0
0
0.016181
0.21374
393
17
63
23.117647
0.757282
0
0
0
0
0
0.139594
0.07868
0
0
0
0
0
1
0.166667
false
0.083333
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d5f33ea6bdee282e49fea44bc8a04acdeac0fba0
30,192
py
Python
src/olympia/users/tests/test_admin.py
Mdlglobal-atlassian-net/addons-server
fc0aacaa2d942c14cff93cf57d0cd4abf7198b7f
[ "BSD-3-Clause" ]
null
null
null
src/olympia/users/tests/test_admin.py
Mdlglobal-atlassian-net/addons-server
fc0aacaa2d942c14cff93cf57d0cd4abf7198b7f
[ "BSD-3-Clause" ]
null
null
null
src/olympia/users/tests/test_admin.py
Mdlglobal-atlassian-net/addons-server
fc0aacaa2d942c14cff93cf57d0cd4abf7198b7f
[ "BSD-3-Clause" ]
1
2020-06-04T10:18:59.000Z
2020-06-04T10:18:59.000Z
from django.conf import settings from django.contrib import admin from django.contrib.auth.models import AnonymousUser from django.contrib.messages.storage import ( default_storage as default_messages_storage) from django.db import connection from django.test import RequestFactory from django.test.utils import Capt...
43.0699
79
0.659811
3,750
30,192
5.0944
0.0856
0.05402
0.029837
0.042714
0.769734
0.712573
0.668865
0.627146
0.582077
0.538578
0
0.011068
0.233903
30,192
700
80
43.131429
0.814872
0.042197
0
0.580537
0
0
0.072049
0.033999
0
0
0
0
0.236577
1
0.058725
false
0
0.036913
0
0.102349
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d5f435a01292573e417ff0055b2a65125f19f884
599
py
Python
project/urls.py
StefanKjartansson/drf-react-skeleton
2fc401297fb836432f70ff0f9e7689677d69b9ba
[ "MIT" ]
22
2015-10-09T13:35:16.000Z
2020-07-28T22:43:34.000Z
project/urls.py
StefanKjartansson/drf-react-skeleton
2fc401297fb836432f70ff0f9e7689677d69b9ba
[ "MIT" ]
5
2015-10-03T08:13:14.000Z
2022-02-10T11:21:07.000Z
project/urls.py
StefanKjartansson/drf-react-skeleton
2fc401297fb836432f70ff0f9e7689677d69b9ba
[ "MIT" ]
4
2015-11-17T23:13:59.000Z
2017-11-14T13:36:46.000Z
from django.conf.urls import include, url from django.contrib import admin from django.views.generic import TemplateView from rest_framework.routers import DefaultRouter from rest_framework_jwt import views as jwt_views router = DefaultRouter() urlpatterns = [ url(r'^admin/', include(admin.site.urls)), url(r...
33.277778
64
0.746244
88
599
4.909091
0.375
0.055556
0.064815
0.083333
0.092593
0.092593
0
0
0
0
0
0
0.115192
599
17
65
35.235294
0.815094
0
0
0
0
0
0.128548
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
d5f8814bd97a6569bbc38cc3594cdcd356e23737
1,510
py
Python
Geometry/CaloEventSetup/test/runTestCaloGeometryDBDD4hep_cfg.py
menglu21/cmssw
c3d6cb102c0aaddf652805743370c28044d53da6
[ "Apache-2.0" ]
null
null
null
Geometry/CaloEventSetup/test/runTestCaloGeometryDBDD4hep_cfg.py
menglu21/cmssw
c3d6cb102c0aaddf652805743370c28044d53da6
[ "Apache-2.0" ]
null
null
null
Geometry/CaloEventSetup/test/runTestCaloGeometryDBDD4hep_cfg.py
menglu21/cmssw
c3d6cb102c0aaddf652805743370c28044d53da6
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms from Configuration.Eras.Era_Run3_dd4hep_cff import Run3_dd4hep process = cms.Process("GeometryTest", Run3_dd4hep) process = cms.Process("GeometryTest") process.load("FWCore.MessageLogger.MessageLogger_cfi") process.load("Configuration.StandardSequences.MagneticField_38T_cff"...
35.952381
80
0.737086
161
1,510
6.844721
0.428571
0.039927
0.065336
0.111615
0.23775
0.157895
0.087114
0.087114
0.087114
0.087114
0
0.013302
0.153642
1,510
41
81
36.829268
0.848983
0.098676
0
0
0
0
0.281503
0.168755
0
0
0
0.02439
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d5fa7cbe17d14d2f1eac8fccbc6f4e2af85ffe40
901
py
Python
img2bin.py
oscarmattsson/chipsnake
6b2682e84893bebf2c5c550da9ceb943c5ce7a5d
[ "BSD-3-Clause" ]
null
null
null
img2bin.py
oscarmattsson/chipsnake
6b2682e84893bebf2c5c550da9ceb943c5ce7a5d
[ "BSD-3-Clause" ]
null
null
null
img2bin.py
oscarmattsson/chipsnake
6b2682e84893bebf2c5c550da9ceb943c5ce7a5d
[ "BSD-3-Clause" ]
null
null
null
### This file written 2016 by Oscar Mattsson ### ### For copyright and licensing, see file COPYING path = raw_input("Image path: ") name = path.split("/")[-1].split(".")[0] from PIL import Image im = Image.open(path) pix = im.load() width, height = im.size icon = [] for y in range(0, height): for x in range(0, wi...
28.15625
87
0.578246
153
901
3.385621
0.431373
0.081081
0.061776
0.042471
0.212355
0.135135
0
0
0
0
0
0.030261
0.193119
901
31
88
29.064516
0.682256
0.09545
0
0.166667
0
0
0.252174
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d5fd33a8b4f2fa73612d042835a4597cf04ff8d8
460
py
Python
src/sentry/analytics/events/issue_tracker_used.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
4
2019-05-27T13:55:07.000Z
2021-03-30T07:05:09.000Z
src/sentry/analytics/events/issue_tracker_used.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
196
2019-06-10T08:34:10.000Z
2022-02-22T01:26:13.000Z
src/sentry/analytics/events/issue_tracker_used.py
AlexWayfer/sentry
ef935cda2b2e960bd602fda590540882d1b0712d
[ "BSD-3-Clause" ]
1
2017-02-09T06:36:57.000Z
2017-02-09T06:36:57.000Z
from __future__ import absolute_import from sentry import analytics class IssueTrackerUsedEvent(analytics.Event): type = 'issue_tracker.used' attributes = ( analytics.Attribute('user_id', required=False), analytics.Attribute('default_user_id'), analytics.Attribute('organization_id'),...
24.210526
55
0.721739
44
460
7.272727
0.522727
0.28125
0.125
0
0
0
0
0
0
0
0
0
0.178261
460
18
56
25.555556
0.846561
0
0
0
0
0
0.169565
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
9100c44526db59cb2362ffe139bc8413059b632e
8,974
py
Python
spec/rift/api/datasets.py
melissa-kam/Rift
802892f7c119845e0f2ec5b0798463f210e7061f
[ "Apache-2.0" ]
null
null
null
spec/rift/api/datasets.py
melissa-kam/Rift
802892f7c119845e0f2ec5b0798463f210e7061f
[ "Apache-2.0" ]
null
null
null
spec/rift/api/datasets.py
melissa-kam/Rift
802892f7c119845e0f2ec5b0798463f210e7061f
[ "Apache-2.0" ]
null
null
null
# TODO(pglass): use plain dicts after specter fix for lists of dicts INVALID_JOBS = { 'job_with_empty_body': { 'body': """{}""" }, 'job_without_name': { 'body': """{ "actions": [] }""" }, 'job_without_actions': { 'body': """{ "name": "a job wit...
27.612308
70
0.368509
600
8,974
5.323333
0.2
0.055103
0.061991
0.037257
0.680964
0.644959
0.551346
0.49186
0.462116
0.453976
0
0.08215
0.489971
8,974
324
71
27.697531
0.615687
0.014821
0
0.454259
0
0
0.626952
0.13838
0
0
0
0.003086
0
1
0
false
0.015773
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
910460d889dba4a322d7477034b86834510268ac
1,522
py
Python
Producer/test_main.py
paujim/gcp-app
82d7fb2a16d812a8f5147118e96ef7f5c6cbcc60
[ "MIT" ]
null
null
null
Producer/test_main.py
paujim/gcp-app
82d7fb2a16d812a8f5147118e96ef7f5c6cbcc60
[ "MIT" ]
null
null
null
Producer/test_main.py
paujim/gcp-app
82d7fb2a16d812a8f5147118e96ef7f5c6cbcc60
[ "MIT" ]
null
null
null
from datetime import datetime from unittest import TestCase, mock from test.support import EnvironmentVarGuard with EnvironmentVarGuard() as env: env['GOOGLE_CLOUD_PROJECT'] = 'NOT_SET' import main class TestMain(TestCase): def test_removing_user_and_link_from_tweets(self): main.app...
39.025641
168
0.636662
183
1,522
5.125683
0.437158
0.047974
0.036247
0.042644
0.132196
0.132196
0.132196
0.132196
0.132196
0.132196
0
0.025225
0.270696
1,522
38
169
40.052632
0.81982
0.003942
0
0.068966
0
0.034483
0.230515
0
0
0
0
0
0.172414
1
0.068966
false
0.068966
0.137931
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
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
9105034817bf1d32d9a10df97202a0f62b2e00d8
354
py
Python
gdc/gdc/doctype/gruppenteilnehmerin/gruppenteilnehmerin.py
motzmose/gdcvw
356cb094b70219ccda060c4c0ba9fcca842162ff
[ "MIT" ]
null
null
null
gdc/gdc/doctype/gruppenteilnehmerin/gruppenteilnehmerin.py
motzmose/gdcvw
356cb094b70219ccda060c4c0ba9fcca842162ff
[ "MIT" ]
null
null
null
gdc/gdc/doctype/gruppenteilnehmerin/gruppenteilnehmerin.py
motzmose/gdcvw
356cb094b70219ccda060c4c0ba9fcca842162ff
[ "MIT" ]
null
null
null
# Copyright (c) 2022, didaktik-aktuell e.V. and contributors # For license information, please see license.txt # import frappe from frappe.model.document import Document class Gruppenteilnehmerin(Document): # Funktioniert noch nicht def before_naming(self): parent_doc = self.get_parent() for termin in termine.p...
25.285714
60
0.776836
48
354
5.645833
0.770833
0.066421
0
0
0
0
0
0
0
0
0
0.013201
0.144068
354
13
61
27.230769
0.881188
0.40678
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.428571
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
910618e6f3185ddd4899f57d424cde6396e42ccd
2,443
py
Python
ldclient/versioned_data_kind.py
annuupadhyayPS/python-server-sdk-2
782dac861e81c1f5988af93019f5d1d506e8ef00
[ "Apache-2.0" ]
null
null
null
ldclient/versioned_data_kind.py
annuupadhyayPS/python-server-sdk-2
782dac861e81c1f5988af93019f5d1d506e8ef00
[ "Apache-2.0" ]
null
null
null
ldclient/versioned_data_kind.py
annuupadhyayPS/python-server-sdk-2
782dac861e81c1f5988af93019f5d1d506e8ef00
[ "Apache-2.0" ]
null
null
null
""" This submodule is used only by the internals of the feature flag storage mechanism. If you are writing your own implementation of :class:`ldclient.integrations.FeatureStore`, the :class:`VersionedDataKind` tuple type will be passed to the ``kind`` parameter of the feature store methods; its ``namespace`` property ...
40.04918
96
0.73025
308
2,443
5.558442
0.37987
0.073598
0.073598
0.02979
0.199766
0.113318
0.08528
0.08528
0.08528
0.08528
0
0.001007
0.186656
2,443
60
97
40.716667
0.860594
0.311502
0
0.131579
0
0
0.051405
0
0
0
0
0
0
1
0.184211
false
0
0.052632
0.131579
0.421053
0
0
0
0
null
0
0
0
0
0
0
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
9107253f1117f921bc4bb8b42d6d72d2d46c6058
13,778
py
Python
pyir/factory.py
sarangian/PyIR
f7e3dde8a13fd8af907bde0ef7c9d4de63361e3d
[ "CC-BY-4.0" ]
null
null
null
pyir/factory.py
sarangian/PyIR
f7e3dde8a13fd8af907bde0ef7c9d4de63361e3d
[ "CC-BY-4.0" ]
null
null
null
pyir/factory.py
sarangian/PyIR
f7e3dde8a13fd8af907bde0ef7c9d4de63361e3d
[ "CC-BY-4.0" ]
null
null
null
import functools import multiprocessing import pkg_resources import os from . import arg_parse, igblast import shutil import signal import subprocess import tempfile import time import tqdm IGBLAST_TSV_HEADER = ['sequence_id','sequence','locus','stop_codon','vj_in_frame','productive','rev_comp','complete_vdj','v_call'...
44.019169
1,386
0.541878
1,582
13,778
4.520228
0.183944
0.048105
0.015103
0.018878
0.334359
0.250734
0.209341
0.17522
0.167389
0.159838
0
0.014666
0.336841
13,778
313
1,387
44.019169
0.767976
0.03883
0
0.372951
0
0
0.162898
0.016464
0
0
0
0
0
1
0.028689
false
0.012295
0.045082
0
0.118852
0.040984
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
910c9d3d1f563e86d7d6a2f1d2ed838a19cd2d10
2,239
py
Python
collections/ansible_collections/cidrblock/conn_test/plugins/connection/demo.py
cidrblock/conn_shim_action_validation
553bc7e8c96dc4a88a27ff3ccf10017578d2755f
[ "MIT" ]
null
null
null
collections/ansible_collections/cidrblock/conn_test/plugins/connection/demo.py
cidrblock/conn_shim_action_validation
553bc7e8c96dc4a88a27ff3ccf10017578d2755f
[ "MIT" ]
1
2021-07-24T11:49:30.000Z
2021-07-27T20:44:56.000Z
collections/ansible_collections/cidrblock/conn_test/plugins/connection/demo.py
cidrblock/conn_shim_action_validation
553bc7e8c96dc4a88a27ff3ccf10017578d2755f
[ "MIT" ]
null
null
null
from ansible.plugins.connection import ConnectionBase from ansible.utils.display import Display display = Display() DOCUMENTATION = """ name: cidrblock.conn_action.demo short_description: connect to something description: - desc author: '@cidrblock' notes: - notes options: host: description: ...
24.075269
103
0.571237
234
2,239
5.252137
0.34188
0.053702
0.042311
0.037429
0.089504
0.045566
0.045566
0.045566
0
0
0
0.002028
0.339437
2,239
93
104
24.075269
0.828938
0.011612
0
0.289474
0
0
0.546485
0.037188
0
0
0
0
0
1
0.092105
false
0.144737
0.026316
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
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
91106d86ec2e9a63bd76fea7bf4c2c384f379781
18,588
py
Python
ASC_Project/analyses/tests.py
nasserarbabi/ASC_Challenge
88dab668756121be6ef81eb7a298cc1add8274a2
[ "MIT" ]
1
2019-10-27T13:49:56.000Z
2019-10-27T13:49:56.000Z
ASC_Project/analyses/tests.py
nasserarbabi/ASC_Challenge
88dab668756121be6ef81eb7a298cc1add8274a2
[ "MIT" ]
6
2020-06-05T23:11:49.000Z
2022-02-10T10:16:14.000Z
ASC_Project/analyses/tests.py
nasserarbabi/ASC_Challenge
88dab668756121be6ef81eb7a298cc1add8274a2
[ "MIT" ]
1
2019-09-24T04:09:46.000Z
2019-09-24T04:09:46.000Z
import os from django.urls import reverse from django.urls import resolve from django.test import TestCase from django.core.files.uploadedfile import SimpleUploadedFile from .views import home from .views import mesh_page from .views import resin_page from .views import preform_page from .views import section_page f...
34.232044
105
0.587906
2,097
18,588
5.058178
0.066285
0.031677
0.050156
0.041671
0.792684
0.751862
0.689545
0.640332
0.59687
0.548223
0
0.019066
0.277652
18,588
542
106
34.295203
0.770909
0.012105
0
0.570499
0
0
0.094481
0.001639
0
0
0
0
0.110629
1
0.123644
false
0.002169
0.052061
0
0.197397
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
911415aac574116b1117964c0012685878628d14
941
py
Python
alipay/aop/api/domain/AlipayBossFncInvoiceLinkamtBatchqueryModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/AlipayBossFncInvoiceLinkamtBatchqueryModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/AlipayBossFncInvoiceLinkamtBatchqueryModel.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayBossFncInvoiceLinkamtBatchqueryModel(object): def __init__(self): self._invoice_id = None @property def invoice_id(self): return self._invoice_id @invoice_id.s...
22.95122
71
0.615303
110
941
4.990909
0.354545
0.245902
0.165756
0.058288
0.169399
0.169399
0
0
0
0
0
0.001499
0.29118
941
40
72
23.525
0.821589
0.044633
0
0
0
0
0.060335
0
0
0
0
0
0
1
0.185185
false
0
0.074074
0.037037
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
911706a3f9b2a0af29b0088019ca2d016e54d1d0
76,801
py
Python
tools/Libs/AIBIN.py
hansroh/BWMetaAI
1f3432c9cb81e6f3692891bceaeb29740ea7c353
[ "BSD-2-Clause" ]
71
2017-09-26T08:53:54.000Z
2022-02-08T12:18:18.000Z
tools/Libs/AIBIN.py
hansroh/BWMetaAI
1f3432c9cb81e6f3692891bceaeb29740ea7c353
[ "BSD-2-Clause" ]
27
2017-09-26T01:54:42.000Z
2021-11-01T11:05:46.000Z
tools/Libs/AIBIN.py
hansroh/BWMetaAI
1f3432c9cb81e6f3692891bceaeb29740ea7c353
[ "BSD-2-Clause" ]
7
2017-02-02T06:04:13.000Z
2022-01-15T01:04:16.000Z
from utils import * import TBL, DAT import struct, re, os, sys from math import log, floor from zlib import compress, decompress default_ais = {'Protoss':'PMCu','BWProtoss':'PMCx','Terran':'TMCu','BWTerran':'TMCx','Zerg':'ZMCu','BWZerg':'ZMCx'} types = [ 'byte', 'word', 'unit', 'building', 'milita...
35.955524
272
0.556503
10,263
76,801
4.120822
0.08633
0.025111
0.009695
0.019365
0.63525
0.590372
0.56117
0.528256
0.496595
0.48177
0
0.030337
0.279371
76,801
2,136
273
35.955524
0.733815
0.034296
0
0.554074
0
0.013827
0.192482
0.023006
0
0
0
0
0
0
null
null
0
0.002469
null
null
0.001975
0
0
0
null
0
0
0
0
0
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
911b7c8a695a13f8b2bd29d1de1fec1ebc2090d6
232
py
Python
variant_one.py
MikeWent/fizzbuzz
1fce55249b46605eadf1548193943d4ee60c4bee
[ "MIT" ]
null
null
null
variant_one.py
MikeWent/fizzbuzz
1fce55249b46605eadf1548193943d4ee60c4bee
[ "MIT" ]
null
null
null
variant_one.py
MikeWent/fizzbuzz
1fce55249b46605eadf1548193943d4ee60c4bee
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 for number in range(0, 100): if number % 15 == 0: print('FizzBuzz') elif number % 5 == 0: print('Buzz') elif number % 3 == 0: print('Fizz') else: print(number)
19.333333
28
0.50431
31
232
3.774194
0.645161
0.153846
0
0
0
0
0
0
0
0
0
0.078431
0.340517
232
11
29
21.090909
0.686275
0.090517
0
0
0
0
0.07619
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
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
91280b94c8757647195cf5931327d2d53fdaf587
27,814
py
Python
lifelines/tests/test_suite.py
wangz10/lifelines
74edd373ae8a83cfdc3d84134f57fbf467ab49f7
[ "MIT" ]
1
2018-08-09T14:30:47.000Z
2018-08-09T14:30:47.000Z
lifelines/tests/test_suite.py
wangz10/lifelines
74edd373ae8a83cfdc3d84134f57fbf467ab49f7
[ "MIT" ]
null
null
null
lifelines/tests/test_suite.py
wangz10/lifelines
74edd373ae8a83cfdc3d84134f57fbf467ab49f7
[ "MIT" ]
null
null
null
""" python -m lifelines.tests.test_suit """ from __future__ import print_function import unittest import numpy as np import numpy.testing as npt from collections import Counter import matplotlib.pyplot as plt import pandas as pd from ..estimation import KaplanMeierFitter, NelsonAalenFitter, AalenAdditiveFitter, med...
42.015106
156
0.583231
3,865
27,814
4.057956
0.096766
0.114257
0.170046
0.224943
0.72354
0.673935
0.650089
0.604884
0.549031
0.509755
0
0.086849
0.261056
27,814
661
157
42.078669
0.676252
0.032645
0
0.485075
0
0
0.07641
0
0
0
0
0
0.091418
1
0.11194
false
0
0.022388
0
0.184701
0.018657
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
9134a431fe3e8bf94a42b3ad94ca9255cc10e735
594
py
Python
fixme/get_route_from_steps_diagonal.py
gdsfactory/gdsfactory
e53b1f3415a81862d465e0443fc09fb35d14d1e0
[ "MIT" ]
42
2020-05-25T09:33:45.000Z
2022-03-29T03:41:19.000Z
fixme/get_route_from_steps_diagonal.py
gdsfactory/gdsfactory
e53b1f3415a81862d465e0443fc09fb35d14d1e0
[ "MIT" ]
133
2020-05-28T18:29:04.000Z
2022-03-31T22:21:42.000Z
fixme/get_route_from_steps_diagonal.py
gdsfactory/gdsfactory
ee761ae0b4429fbec7035bbea5d1e5206c66bea7
[ "MIT" ]
17
2020-06-30T07:07:50.000Z
2022-03-17T15:45:27.000Z
""" FIXME, shall we allow diagonal route for electrical connections? """ if __name__ == "__main__": import gdsfactory as gf c = gf.Component("pads_route_from_steps") pt = c << gf.c.pad_array(orientation=270, columns=3) pb = c << gf.c.pad_array(orientation=90, columns=3) pt.move((100, 200)) ro...
24.75
64
0.602694
80
594
4.2375
0.6
0.026549
0.082596
0.094395
0.135693
0.135693
0
0
0
0
0
0.047191
0.250842
594
23
65
25.826087
0.714607
0.107744
0
0
0
0
0.069098
0.040307
0
0
0
0.043478
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
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
913e60abf9910f7de9e2a7b5d0e746dc59037f16
776
py
Python
my_backend/clients/models.py
RodrigoBLima/card-virtual-for-establishment
9c238b9ea27a87c56b18448c07fe6ef02ccb4600
[ "MIT" ]
null
null
null
my_backend/clients/models.py
RodrigoBLima/card-virtual-for-establishment
9c238b9ea27a87c56b18448c07fe6ef02ccb4600
[ "MIT" ]
1
2022-02-20T23:18:25.000Z
2022-02-20T23:18:25.000Z
my_backend/clients/models.py
RodrigoBLima/card-virtual-for-establishment
9c238b9ea27a87c56b18448c07fe6ef02ccb4600
[ "MIT" ]
null
null
null
from django.db import models # from establishment.models import Establishment # Create your models here. class Clients(models.Model): name_client = models.CharField( max_length=80, blank=False, verbose_name="Nome do Cliente") email = models.EmailField(unique=True, verbose_name="Email do cliente") ...
38.8
106
0.710052
91
776
5.846154
0.549451
0.103383
0.084586
0.090226
0
0
0
0
0
0
0
0.00641
0.195876
776
19
107
40.842105
0.846154
0.091495
0
0
0
0
0.168091
0.038462
0
0
0
0
0
1
0.076923
false
0
0.076923
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
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
9144da23e5839fc3dd9045f611dc1d1ba7465a3d
614
py
Python
django_sso_app/core/apps/devices/serializers.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
1
2021-11-16T15:16:08.000Z
2021-11-16T15:16:08.000Z
django_sso_app/core/apps/devices/serializers.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
null
null
null
django_sso_app/core/apps/devices/serializers.py
paiuolo/django-sso-app
75b96c669dc0b176dc77e08f018a3e97d259f636
[ "MIT" ]
null
null
null
import logging from rest_framework import serializers from ...serializers import AbsoluteUrlSerializer from .models import Device logger = logging.getLogger('django_sso_app') class DeviceSerializer(AbsoluteUrlSerializer): profile = serializers.SerializerMethodField(required=False) class Meta: mode...
26.695652
83
0.732899
66
614
6.621212
0.621212
0.045767
0
0
0
0
0
0
0
0
0
0
0.172638
614
22
84
27.909091
0.860236
0
0
0
0
0
0.102606
0
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.642857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9144ed877ad71eef4975ce7bc333d4b05d53843f
1,600
py
Python
tests/columns/test_LocationType.py
GetintheLoop/painless-sqlalchemy
beefeded3fead79321e99f090d41fa3d1675f836
[ "MIT" ]
5
2018-02-19T05:51:30.000Z
2020-10-02T23:03:19.000Z
tests/columns/test_LocationType.py
GetintheLoop/painless-sqlalchemy
beefeded3fead79321e99f090d41fa3d1675f836
[ "MIT" ]
72
2018-02-16T17:51:47.000Z
2018-06-18T16:57:16.000Z
tests/columns/test_LocationType.py
GetintheLoop/painless-sqlalchemy
beefeded3fead79321e99f090d41fa3d1675f836
[ "MIT" ]
2
2018-02-14T22:49:33.000Z
2018-02-14T22:49:40.000Z
import pytest from faker import Faker from tests.AbstractTest import AbstractTest fake = Faker() class TestLocationType(AbstractTest): @classmethod @pytest.fixture(scope='class', autouse=True) def setup_class(cls, School): super(TestLocationType, cls).setup_class() school = School() ...
32
79
0.6375
184
1,600
5.440217
0.26087
0.107892
0.107892
0.125874
0.643357
0.605395
0.605395
0.605395
0.605395
0.605395
0
0.012285
0.236875
1,600
49
80
32.653061
0.807535
0
0
0.410256
0
0
0.05125
0
0
0
0
0
0.153846
1
0.128205
false
0
0.076923
0
0.230769
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
91468f9c3e3a2bb93c4fa74b3ee2908ae4fcfe38
838
py
Python
topo_control.py
virati/ECGTensor
d1f7d9c6ca6b74ff83d940a8e068af7d31995f8b
[ "MIT" ]
6
2019-05-20T16:44:19.000Z
2021-12-27T06:11:35.000Z
topo_control.py
virati/ECGTensor
d1f7d9c6ca6b74ff83d940a8e068af7d31995f8b
[ "MIT" ]
null
null
null
topo_control.py
virati/ECGTensor
d1f7d9c6ca6b74ff83d940a8e068af7d31995f8b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon May 13 11:45:51 2019 @author: virati Topology control project """ import numpy as np import scipy.signal as sig import networkx as nx import mayavi from mayavi.mlab import * from scipy.ndimage.filters import gaussian_filter#, quiver3d #setup our base...
22.052632
74
0.670644
173
838
3.196532
0.462428
0.018083
0.0434
0.050633
0.112116
0
0
0
0
0
0
0.109608
0.118138
838
37
75
22.648649
0.638701
0.300716
0
0
0
0
0.017544
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
914c9c6617c1efd4068c6b9ee91e3dd456b5f465
215
py
Python
foldify/compat.py
gtalarico/foldify
2e759ba5992f391f9a8bdcf8dcca48225db851a0
[ "MIT" ]
2
2017-03-11T18:06:35.000Z
2020-07-09T13:20:37.000Z
foldify/compat.py
gtalarico/foldify
2e759ba5992f391f9a8bdcf8dcca48225db851a0
[ "MIT" ]
4
2016-07-05T18:23:26.000Z
2016-07-05T18:26:33.000Z
foldify/compat.py
gtalarico/foldify
2e759ba5992f391f9a8bdcf8dcca48225db851a0
[ "MIT" ]
null
null
null
import sys if sys.version_info < (3, 0): # sys.stdout.write("Sorry, requires Python 3.x, not Python 2.x\n") # sys.exit(1) # Implement handling for python 2 input = raw_input else: input = input
21.5
70
0.64186
35
215
3.885714
0.685714
0.102941
0
0
0
0
0
0
0
0
0
0.036585
0.237209
215
9
71
23.888889
0.792683
0.502326
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
914e484e30e494bc1e1da3b05da03147a2eb1036
2,594
py
Python
deepspeech/transform/functional.py
zh794390558/DeepSpeech
34178893327ad359cb816e55d7c66a10244fa08a
[ "Apache-2.0" ]
null
null
null
deepspeech/transform/functional.py
zh794390558/DeepSpeech
34178893327ad359cb816e55d7c66a10244fa08a
[ "Apache-2.0" ]
null
null
null
deepspeech/transform/functional.py
zh794390558/DeepSpeech
34178893327ad359cb816e55d7c66a10244fa08a
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021 PaddlePaddle Authors. 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 appli...
30.162791
76
0.610254
323
2,594
4.736842
0.458204
0.039216
0.009804
0.013725
0
0
0
0
0
0
0
0.007431
0.273709
2,594
85
77
30.517647
0.804671
0.408635
0
0.05
0
0
0.036451
0
0
0
0
0.011765
0
1
0.15
false
0
0.075
0.05
0.425
0
0
0
0
null
0
0
0
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
91521de364de567f3185df15a1c731f7e17752b1
1,610
py
Python
recbole/utils/argument_list.py
2017pxy/Multimodal-Meta-Learning-for-Cold-Start-Sequential-Recommendation
43cd9d6f6b737dea220723bab27ab3f922818fb5
[ "MIT" ]
null
null
null
recbole/utils/argument_list.py
2017pxy/Multimodal-Meta-Learning-for-Cold-Start-Sequential-Recommendation
43cd9d6f6b737dea220723bab27ab3f922818fb5
[ "MIT" ]
null
null
null
recbole/utils/argument_list.py
2017pxy/Multimodal-Meta-Learning-for-Cold-Start-Sequential-Recommendation
43cd9d6f6b737dea220723bab27ab3f922818fb5
[ "MIT" ]
null
null
null
# @Time : 2020/10/19 # @Author : Shanlei Mu # @Email : slmu@ruc.edu.cn # yapf: disable general_arguments = [ 'gpu_id', 'use_gpu', 'seed', 'reproducibility', 'state', 'data_path', 'checkpoint_dir', 'show_progress', 'config_file', 'save_dataset', 'dataset_save_path', 'save...
29.272727
110
0.692547
198
1,610
5.075758
0.540404
0.041791
0.063682
0.059701
0
0
0
0
0
0
0
0.005917
0.160248
1,610
54
111
29.814815
0.737426
0.050311
0
0
0
0
0.648294
0.134514
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
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e66e693e843a66efbd90788eaa52bbced5353011
1,148
py
Python
duckybot/system/existent.py
Vasilesk/duckybot
4c175fb8da313993b7bb87bd11408a54b0fb4667
[ "MIT" ]
null
null
null
duckybot/system/existent.py
Vasilesk/duckybot
4c175fb8da313993b7bb87bd11408a54b0fb4667
[ "MIT" ]
null
null
null
duckybot/system/existent.py
Vasilesk/duckybot
4c175fb8da313993b7bb87bd11408a54b0fb4667
[ "MIT" ]
null
null
null
# Copyright: 2016, Vasilii V. Bodnariuk # Author: Vasilii V. Bodnariuk (http://vasilesk.ru) # License: MIT """ Existent bot operation class """ class Existent: def __init__(self, codename, dbms, sns): self.codename = codename self.dbms = dbms self.sns = sns def send_random_post(self): ...
27.333333
75
0.621951
150
1,148
4.646667
0.406667
0.05165
0.04878
0.043042
0.074605
0.074605
0.074605
0
0
0
0
0.004854
0.28223
1,148
41
76
28
0.841019
0.458188
0
0
0
0
0.055666
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.416667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e670fc2a4c43af86a61792017dc6ba421626e602
251
py
Python
setup.py
PaulLerner/Hard-Alignment
b7797182588656920e5876c9d0e31bf0bad87cd9
[ "MIT" ]
null
null
null
setup.py
PaulLerner/Hard-Alignment
b7797182588656920e5876c9d0e31bf0bad87cd9
[ "MIT" ]
null
null
null
setup.py
PaulLerner/Hard-Alignment
b7797182588656920e5876c9d0e31bf0bad87cd9
[ "MIT" ]
1
2019-12-17T10:45:08.000Z
2019-12-17T10:45:08.000Z
from setuptools import setup, find_packages setup(name='forced_alignment', version='1.0', packages=find_packages(), scripts=["forced-alignment.py"], author='Paul Lerner', author_email='1.paul.lerner@gmail.com', )
22.818182
45
0.653386
30
251
5.333333
0.666667
0.15
0
0
0
0
0
0
0
0
0
0.015
0.203187
251
10
46
25.1
0.785
0
0
0
0
0
0.286853
0.091633
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e672df632033c22ac5751805c0cadcaa4e5e694d
10,083
py
Python
src/olympia/zadmin/models.py
Rob--W/addons-server
cc104705e17ddeeb57254403ed292acb904a9a41
[ "BSD-3-Clause" ]
1
2020-04-07T07:21:25.000Z
2020-04-07T07:21:25.000Z
src/olympia/zadmin/models.py
Rob--W/addons-server
cc104705e17ddeeb57254403ed292acb904a9a41
[ "BSD-3-Clause" ]
null
null
null
src/olympia/zadmin/models.py
Rob--W/addons-server
cc104705e17ddeeb57254403ed292acb904a9a41
[ "BSD-3-Clause" ]
2
2018-03-04T00:11:22.000Z
2019-12-14T09:45:55.000Z
from decimal import Decimal import json import caching from django.conf import settings from django.db import models from django.db.models import F from olympia import amo from olympia.amo.models import ModelBase from olympia.amo.urlresolvers import reverse from olympia.applications.models import AppVersion from oly...
34.889273
79
0.635228
1,149
10,083
5.426458
0.263708
0.015397
0.023095
0.030794
0.167923
0.104411
0.08324
0.039615
0.017642
0.017642
0
0.007199
0.26986
10,083
288
80
35.010417
0.839717
0.121888
0
0.076142
0
0
0.071412
0.010055
0
0
0
0.003472
0.005076
1
0.096447
false
0.015228
0.055838
0.040609
0.522843
0
0
0
0
null
0
0
0
0
0
0
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
e6733ad5ac36e428ffbef71d6b50f19ca880f57d
5,059
py
Python
SentimentAnalysis/dicts.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
SentimentAnalysis/dicts.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
SentimentAnalysis/dicts.py
aghriss/CS5502_project
68403f38ef26067360cb22404cdabe0d0543097a
[ "MIT" ]
null
null
null
def load_dict_smileys(): return { ":‑)":"smiley", ":-]":"smiley", ":-3":"smiley", ":->":"smiley", "8-)":"smiley", ":-}":"smiley", ":)":"smiley", ":]":"smiley", ":3":"smiley", ":>":"smiley", "8)":"smiley", ":}":"smil...
26.486911
41
0.382684
614
5,059
3.174267
0.237785
0.067727
0.027707
0.030785
0.092868
0.079528
0.079528
0.038994
0
0
0
0.002149
0.356197
5,059
191
42
26.486911
0.591035
0.004942
0
0.010695
0
0
0.438506
0
0
0
0
0
0
1
0.010695
true
0
0
0.010695
0.02139
0
0
0
0
null
0
0
0
0
0
0
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
e681c79b880a0e791bcec4fd67a4c47208a76b68
1,874
py
Python
modoboa/core/migrations/0010_auto_20161026_1011.py
HarshCasper/modoboa
a00baa0593107992f545ee3e89cd4346b9615a96
[ "0BSD" ]
1,602
2016-12-15T14:25:34.000Z
2022-03-31T16:49:25.000Z
modoboa/core/migrations/0010_auto_20161026_1011.py
sebageek/modoboa
57f5d57ea60a57e8dcac970085dfc07082481fc6
[ "0BSD" ]
1,290
2016-12-14T15:39:05.000Z
2022-03-31T13:49:09.000Z
modoboa/core/migrations/0010_auto_20161026_1011.py
sebageek/modoboa
57f5d57ea60a57e8dcac970085dfc07082481fc6
[ "0BSD" ]
272
2016-12-22T11:58:18.000Z
2022-03-17T15:57:24.000Z
# Generated by Django 1.9.5 on 2016-10-26 08:11 from django.db import migrations import jsonfield.fields def set_parameter(store, parameter): """Add parameter to the specified store.""" app, name = parameter.name.split(".") if app not in store: store[app] = {} # decode value value = parame...
28.830769
67
0.630203
202
1,874
5.69802
0.420792
0.039096
0.031277
0.045178
0.13901
0.13901
0.13901
0.13901
0.13901
0.13901
0
0.033263
0.245998
1,874
64
68
29.28125
0.781316
0.079509
0
0.208333
1
0
0.094848
0.026932
0
0
0
0
0
1
0.0625
false
0.020833
0.041667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e686170e8e439fb840ebb4e476947b18ec59103f
2,604
py
Python
third_party/dd_lnn/src/meta_rule/utils.py
IBM/LOA
9cd402c814f1d9c8b4de52ee18a3cb7ec2c6d07a
[ "MIT" ]
12
2021-12-15T09:03:36.000Z
2022-03-28T21:37:25.000Z
third_party/dd_lnn/src/meta_rule/utils.py
IBM/LOA
9cd402c814f1d9c8b4de52ee18a3cb7ec2c6d07a
[ "MIT" ]
3
2022-01-04T18:03:01.000Z
2022-03-31T16:15:25.000Z
third_party/dd_lnn/src/meta_rule/utils.py
IBM/LOA
9cd402c814f1d9c8b4de52ee18a3cb7ec2c6d07a
[ "MIT" ]
4
2022-01-04T17:44:23.000Z
2022-03-28T21:37:42.000Z
from torch.utils.data import Dataset, Sampler import numpy as np def evaluate(pred, target): ''' Computes precision, recall, f1 given prediction and ground truth labels. Meant for binary-class inputs, labels are 0 and 1. Parameters: ---------- pred: vector of predicted labels target: vecto...
32.962025
128
0.628648
401
2,604
3.942643
0.289277
0.060721
0.082226
0.061986
0.242252
0.242252
0.200506
0.139152
0.106262
0.106262
0
0.015353
0.249616
2,604
78
129
33.384615
0.793756
0.286482
0
0.102564
0
0
0.017978
0
0
0
0
0
0
1
0.205128
false
0
0.051282
0.076923
0.435897
0.025641
0
0
0
null
0
0
0
0
0
0
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
e6863804129f314318a2665d94afbab4000a0d1b
1,694
py
Python
Search-Algorithms/DepthFirstSearch.py
earmingol/Personal-Collection
5c0c322bfec140a1bbef678a11cc690e0dac48a3
[ "MIT" ]
null
null
null
Search-Algorithms/DepthFirstSearch.py
earmingol/Personal-Collection
5c0c322bfec140a1bbef678a11cc690e0dac48a3
[ "MIT" ]
null
null
null
Search-Algorithms/DepthFirstSearch.py
earmingol/Personal-Collection
5c0c322bfec140a1bbef678a11cc690e0dac48a3
[ "MIT" ]
null
null
null
# coding: utf-8 # Author: Erick Armingol # DFS with recursive function to solve a puzzle from TreeStructures import Node def recursive_DFS(solution, border_list, visited_nodes): node = None if len(border_list) > 0: node = border_list.pop() visited_nodes.append(node) else: return no...
31.37037
90
0.609209
230
1,694
4.278261
0.295652
0.081301
0.060976
0.079268
0.177846
0.123984
0.085366
0
0
0
0
0.017742
0.268005
1,694
53
91
31.962264
0.775806
0.096222
0
0.146341
0
0
0.038033
0
0
0
0
0
0
0
null
null
0
0.02439
null
null
0.073171
0
0
0
null
0
0
0
0
0
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
e687f7cc37aabebc8b99dd91850edc9b56dcbfd8
9,807
py
Python
Python/tdw/add_ons/image_capture.py
ricklentz/tdw
da40eec151acae20b28d6486defb4358d96adb0e
[ "BSD-2-Clause" ]
null
null
null
Python/tdw/add_ons/image_capture.py
ricklentz/tdw
da40eec151acae20b28d6486defb4358d96adb0e
[ "BSD-2-Clause" ]
null
null
null
Python/tdw/add_ons/image_capture.py
ricklentz/tdw
da40eec151acae20b28d6486defb4358d96adb0e
[ "BSD-2-Clause" ]
null
null
null
from typing import List, Union, Dict from pathlib import Path from PIL.Image import Image from tdw.add_ons.add_on import AddOn from tdw.tdw_utils import TDWUtils from tdw.output_data import OutputData, Images class ImageCapture(AddOn): """ Request image data and save the images to disk. By default, images wil...
52.725806
349
0.626593
1,353
9,807
4.413895
0.1966
0.04069
0.019591
0.01507
0.270094
0.220027
0.190221
0.166109
0.14367
0.12994
0
0.002263
0.279086
9,807
185
350
53.010811
0.842433
0.456715
0
0.139535
0
0
0.058337
0.004694
0
0
0
0
0
1
0.069767
false
0.209302
0.069767
0
0.197674
0
0
0
0
null
0
0
0
0
0
0
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
e6891eeb85948e8b5ecd4c330af21c459f324ec0
380
py
Python
userbot/plugins/hyperlink.py
azizkziba/FridayUserbot
f77a692f74d1c2da2b6e7ee47f5eee7a9dd9e138
[ "MIT" ]
36
2020-08-26T15:58:06.000Z
2022-01-15T13:37:21.000Z
userbot/plugins/hyperlink.py
azizkziba/FridayUserbot
f77a692f74d1c2da2b6e7ee47f5eee7a9dd9e138
[ "MIT" ]
4
2020-11-07T07:39:51.000Z
2020-11-10T03:46:41.000Z
userbot/plugins/hyperlink.py
azizkziba/FridayUserbot
f77a692f74d1c2da2b6e7ee47f5eee7a9dd9e138
[ "MIT" ]
129
2020-06-17T00:56:36.000Z
2022-03-22T10:39:57.000Z
# For UniBorg # By Priyam Kalra # Syntax (.hl <link>) from telethon import events from userbot.utils import admin_cmd import asyncio from telethon.tl import functions, types @borg.on(admin_cmd(pattern="hl ?(.*)")) async def _(event): if event.fwd_from: return input = event.pattern_match.gr...
23.75
52
0.660526
51
380
4.823529
0.705882
0.097561
0
0
0
0
0
0
0
0
0
0.003344
0.213158
380
15
53
25.333333
0.819398
0.123684
0
0
0
0
0.057751
0
0
0
0
0
0
1
0
false
0
0.4
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
e6897beb826de3ea779f0e4207d6f4f1c8c145e6
280
py
Python
vnpy/trader/gateway/femasGateway/__init__.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
5
2019-01-17T12:14:14.000Z
2021-05-30T10:24:42.000Z
vnpy/trader/gateway/femasGateway/__init__.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
1
2018-06-12T10:08:24.000Z
2018-06-12T10:08:24.000Z
vnpy/trader/gateway/femasGateway/__init__.py
black0144/vnpy
0d0ea30dad14a0150f7500ff9a62528030321426
[ "MIT" ]
5
2019-03-26T03:17:45.000Z
2019-11-05T08:08:18.000Z
# encoding: UTF-8 from __future__ import absolute_import from vnpy.trader import vtConstant from .femasGateway import FemasGateway gatewayClass = FemasGateway gatewayName = 'FEMAS' gatewayDisplayName = u'飞马' gatewayType = vtConstant.GATEWAYTYPE_FUTURES gatewayQryEnabled = True
23.333333
44
0.832143
30
280
7.566667
0.7
0
0
0
0
0
0
0
0
0
0
0.004032
0.114286
280
11
45
25.454545
0.91129
0.053571
0
0
0
0
0.026616
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e692af49dd2510167c158a3cb39dbb03ecc8e2d9
4,846
py
Python
modules/blackhole-monitor/src/app/handler.py
ministryofjustice/hmpps-ems-platform-terraform-modules
64ff6e1268140ddb1fb052b93b19763624d5d204
[ "MIT" ]
1
2021-08-25T05:36:46.000Z
2021-08-25T05:36:46.000Z
modules/blackhole-monitor/src/app/handler.py
ministryofjustice/hmpps-ems-platform-terraform-modules
64ff6e1268140ddb1fb052b93b19763624d5d204
[ "MIT" ]
7
2020-10-15T18:15:46.000Z
2022-01-14T14:33:38.000Z
modules/blackhole-monitor/src/app/handler.py
ministryofjustice/hmpps-ems-platform-terraform-modules
64ff6e1268140ddb1fb052b93b19763624d5d204
[ "MIT" ]
1
2021-04-11T06:16:51.000Z
2021-04-11T06:16:51.000Z
import boto3 import logging import json import os cloudwatch = boto3.client('cloudwatch') ec2 = boto3.client('ec2') logger = logging.getLogger() logger.setLevel(logging.INFO) def run(event, context): # Get transit gateways get_transit_gateways = ec2.describe_transit_gateways() # Loop over transit gateways fo...
41.418803
234
0.582749
369
4,846
7.357724
0.189702
0.211418
0.146961
0.055249
0.751381
0.651197
0.630571
0.483978
0.483978
0.314549
0
0.005823
0.326661
4,846
116
235
41.775862
0.826234
0.054478
0
0.307692
0
0
0.262732
0.11388
0
0
0
0
0
1
0.009615
false
0
0.038462
0
0.048077
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
e697d8b1301991af4756b69698a67c9674dd1181
3,663
py
Python
hamal/utils/multree.py
pyDream/hamal
3d32ef5771836cb4bf3efcc192050eed91ca00a9
[ "Apache-2.0" ]
null
null
null
hamal/utils/multree.py
pyDream/hamal
3d32ef5771836cb4bf3efcc192050eed91ca00a9
[ "Apache-2.0" ]
null
null
null
hamal/utils/multree.py
pyDream/hamal
3d32ef5771836cb4bf3efcc192050eed91ca00a9
[ "Apache-2.0" ]
null
null
null
class MulTreeNode(object): def __init__(self, name, id, children_obj_list): self.name = name self.id = id if None == children_obj_list: self.children_obj_list = [] else: self.children_obj_list = children_obj_list def get_name(self): return self.n...
27.961832
87
0.56866
499
3,663
3.859719
0.11022
0.087227
0.057113
0.069055
0.560748
0.560748
0.492731
0.461578
0.40758
0.40758
0
0.006112
0.330057
3,663
130
88
28.176923
0.778729
0
0
0.504762
0
0
0.028408
0
0
0
0
0
0
0
null
null
0
0
null
null
0.028571
0
0
0
null
0
0
0
0
0
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
e69dba97d8b2369087907f82627582ddace9b547
3,555
py
Python
lang/terraform/terraform.py
brollin/knausj_talon
c7a6f3f5ab7c5696c9b137f8fdf03aae7e259250
[ "MIT" ]
2
2021-12-01T03:25:48.000Z
2022-03-07T03:45:01.000Z
lang/terraform/terraform.py
brollin/knausj_talon
c7a6f3f5ab7c5696c9b137f8fdf03aae7e259250
[ "MIT" ]
1
2022-03-26T15:27:18.000Z
2022-03-26T15:27:18.000Z
lang/terraform/terraform.py
brollin/knausj_talon
c7a6f3f5ab7c5696c9b137f8fdf03aae7e259250
[ "MIT" ]
null
null
null
from talon import Context, Module, actions, settings ctx = Context() mod = Module() ctx.matches = r""" tag: user.terraform """ types = { "string": "string", "number": "number", "bool": "bool", "list": "list", "map": "map", "null": "null" } ctx.lists["user.code_type"] = types common_propertie...
23.235294
101
0.604501
386
3,555
5.310881
0.256477
0.09561
0.124878
0.156098
0.473171
0.336098
0.273659
0.156098
0.120976
0.080976
0
0
0.24557
3,555
152
102
23.388158
0.764355
0.048664
0
0.148148
0
0
0.18776
0.030897
0
0
0
0
0
1
0.259259
false
0
0.009259
0
0.287037
0
0
0
0
null
0
0
0
0
0
0
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
e6a416b7e8b6371a66337a7aba6841f870822730
8,080
py
Python
convert_tf2npu/mappings/ast.py
Judithsq/tensorflow
82507eb26ab120c02bf217610975754100686970
[ "Apache-2.0" ]
null
null
null
convert_tf2npu/mappings/ast.py
Judithsq/tensorflow
82507eb26ab120c02bf217610975754100686970
[ "Apache-2.0" ]
1
2021-04-10T08:28:59.000Z
2021-06-15T01:46:05.000Z
convert_tf2npu/mappings/ast.py
Judithsq/tensorflow
82507eb26ab120c02bf217610975754100686970
[ "Apache-2.0" ]
1
2021-04-10T07:51:47.000Z
2021-04-10T07:51:47.000Z
{ "need_conver": false, "gelu": ["npu_unary_ops", "tf.gelu", "npu_unary_ops.gelu"], "dropout": ["npu_ops", "tf.nn.dropout", "npu_ops.dropout"], "init": ["print", "hvd.init...
98.536585
264
0.444307
515
8,080
6.720388
0.299029
0.069344
0.044496
0.019648
0.153713
0.127709
0.067611
0.038139
0
0
0
0.001502
0.423144
8,080
82
265
98.536585
0.741043
0
0
0
0
0.012987
0.476797
0.272491
0
0
0
0
0
1
0
true
0
0.064935
0
0.064935
0.025974
0
0
0
null
0
0
0
0
0
0
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
e6acc52699c63d8abaf786cf762b35cf1b375ad7
1,046
py
Python
app/migrations/0005_auto_20210728_1903.py
Veena-1297/nimapinfotech
96512e09fd27a9553854c070da7164a1b82d09a1
[ "MIT" ]
null
null
null
app/migrations/0005_auto_20210728_1903.py
Veena-1297/nimapinfotech
96512e09fd27a9553854c070da7164a1b82d09a1
[ "MIT" ]
null
null
null
app/migrations/0005_auto_20210728_1903.py
Veena-1297/nimapinfotech
96512e09fd27a9553854c070da7164a1b82d09a1
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2021-07-28 19:03 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('app', '0004_auto_20210728_...
32.6875
148
0.652008
119
1,046
5.546218
0.403361
0.048485
0.09697
0.127273
0.374242
0.339394
0.239394
0.239394
0.239394
0.239394
0
0.037547
0.236138
1,046
31
149
33.741935
0.788486
0.041109
0
0.36
1
0
0.085914
0.022977
0
0
0
0
0
1
0
false
0
0.12
0
0.24
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e6b1dc91eb7bfba2b43f6cd11a849e676f429b6f
791
py
Python
examples/read_sensors.py
tharrrk/pydigitemp
b88c1069b1a7d0b74d09fe2af9d8687aaca01ff9
[ "CNRI-Python" ]
8
2018-09-06T04:48:15.000Z
2020-10-07T03:28:57.000Z
examples/read_sensors.py
tharrrk/pydigitemp
b88c1069b1a7d0b74d09fe2af9d8687aaca01ff9
[ "CNRI-Python" ]
5
2018-07-26T06:36:08.000Z
2021-04-13T06:29:00.000Z
examples/read_sensors.py
tharrrk/pydigitemp
b88c1069b1a7d0b74d09fe2af9d8687aaca01ff9
[ "CNRI-Python" ]
8
2018-06-28T09:42:26.000Z
2021-04-10T18:00:24.000Z
import time from digitemp.master import UART_Adapter from digitemp.device import TemperatureSensor from digitemp.exceptions import OneWireException bus = UART_Adapter('/dev/ttyS0') sensors = [] for rom in bus.get_connected_ROMs(): try: sensors.append(TemperatureSensor(bus, rom)) except OneWireExceptio...
23.264706
74
0.638432
83
791
6.024096
0.493976
0.072
0.044
0.072
0
0
0
0
0
0
0
0.015385
0.26043
791
33
75
23.969697
0.839316
0
0
0.37931
0
0
0.037927
0
0
0
0
0
0
1
0
false
0.068966
0.137931
0
0.137931
0.103448
0
0
0
null
0
0
0
0
0
0
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
e6b5ef6ed870c94e2a0592fb9e46220f1d8373c2
13,967
py
Python
scripts/irods/test/test_iscan.py
tempoz/irods
a64c5e9cfb86af725f8f20ae940591adef8e02f0
[ "BSD-3-Clause" ]
null
null
null
scripts/irods/test/test_iscan.py
tempoz/irods
a64c5e9cfb86af725f8f20ae940591adef8e02f0
[ "BSD-3-Clause" ]
null
null
null
scripts/irods/test/test_iscan.py
tempoz/irods
a64c5e9cfb86af725f8f20ae940591adef8e02f0
[ "BSD-3-Clause" ]
null
null
null
import os import re import sys import shutil if sys.version_info < (2, 7): import unittest2 as unittest else: import unittest from .. import test from . import settings from .resource_suite import ResourceBase from .. import lib class Test_iScan(ResourceBase, unittest.TestCase): def setUp(self): ...
64.068807
153
0.652753
1,887
13,967
4.612613
0.140964
0.04136
0.045037
0.048828
0.704619
0.654986
0.57801
0.538833
0.513212
0.482767
0
0.021126
0.22052
13,967
217
154
64.364055
0.77836
0.101883
0
0.30303
0
0
0.198082
0.004555
0
0
0
0
0.406061
1
0.054545
false
0.006061
0.060606
0
0.121212
0.012121
0
0
0
null
0
0
0
0
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