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
fde7bcd24064cd5bc7258d1d7da4adf04f90023a
278
py
Python
ex010.py
luisscoelho/pythonExercicios
b90f02b1132be5558e47330106a4a857684a0c03
[ "MIT" ]
null
null
null
ex010.py
luisscoelho/pythonExercicios
b90f02b1132be5558e47330106a4a857684a0c03
[ "MIT" ]
null
null
null
ex010.py
luisscoelho/pythonExercicios
b90f02b1132be5558e47330106a4a857684a0c03
[ "MIT" ]
null
null
null
#Exercício Python 010: Crie um programa que leia quanto dinheiro uma pessoa tem na carteira e mostre quantos dólares ela pode comprar. real = float(input('Digite seu dinheiro em BRL: ')) dolar = real * 0.19 print('Com R${:.2f} você pode comprar U${:.2f}'.format(real, dolar))
39.714286
134
0.726619
46
278
4.391304
0.847826
0.108911
0
0
0
0
0
0
0
0
0
0.034188
0.158273
278
6
135
46.333333
0.82906
0.478417
0
0
0
0
0.465278
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
fdf135fe447fcb266d5c9da5562c050505c9f7f6
406
py
Python
api/migrations/0006_auto_20210219_0957.py
onizuka341/ecommerce_api
8ac9d4ef7f91848653059602a4f0e6c5c66b04e1
[ "MIT" ]
4
2021-05-04T17:53:33.000Z
2022-02-05T20:39:46.000Z
api/migrations/0006_auto_20210219_0957.py
onizuka341/ecommerce_api
8ac9d4ef7f91848653059602a4f0e6c5c66b04e1
[ "MIT" ]
null
null
null
api/migrations/0006_auto_20210219_0957.py
onizuka341/ecommerce_api
8ac9d4ef7f91848653059602a4f0e6c5c66b04e1
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-19 09:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0005_auto_20210219_0944'), ] operations = [ migrations.AlterField( model_name='user', name='phone_number', ...
21.368421
70
0.610837
44
406
5.522727
0.840909
0
0
0
0
0
0
0
0
0
0
0.105442
0.275862
406
18
71
22.555556
0.721088
0.110837
0
0
1
0
0.116992
0.064067
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
fdf22b294f1337cc6b7f2ab27c9859eb1e59376b
4,086
py
Python
app/productdb/migrations/0029_auto_20181125_2250.py
thomascrha/product-database
f561d05850898ce8e3466c79ba664bd576b1fa8c
[ "MIT" ]
38
2015-12-17T17:58:14.000Z
2021-09-27T14:27:59.000Z
app/productdb/migrations/0029_auto_20181125_2250.py
thomascrha/product-database
f561d05850898ce8e3466c79ba664bd576b1fa8c
[ "MIT" ]
19
2016-06-26T07:18:08.000Z
2021-10-10T08:41:23.000Z
app/productdb/migrations/0029_auto_20181125_2250.py
thomascrha/product-database
f561d05850898ce8e3466c79ba664bd576b1fa8c
[ "MIT" ]
25
2015-10-15T20:44:13.000Z
2021-05-21T09:16:22.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-11-25 21:50 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('productdb', '0028_auto_20180312_2105'), ] operati...
51.075
292
0.631424
412
4,086
6.092233
0.354369
0.105179
0.064542
0.066932
0.196016
0.145817
0.059761
0.03506
0
0
0
0.015152
0.240822
4,086
79
293
51.721519
0.794004
0.016887
0
0.347222
1
0.013889
0.360239
0.042103
0
0
0
0
0
1
0
false
0
0.041667
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fdf5c6f9d6d7613047a9aa169b1a4616c5ac0b03
1,991
py
Python
OOP/Static and class methods/document_management/project/storage.py
petel3/Softuni_education
4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c
[ "MIT" ]
2
2022-03-05T13:17:12.000Z
2022-03-05T13:17:16.000Z
OOP/Static and class methods/document_management/project/storage.py
petel3/Softuni_education
4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c
[ "MIT" ]
null
null
null
OOP/Static and class methods/document_management/project/storage.py
petel3/Softuni_education
4fd80f8c6ce6c3d6a838edecdb091dda2ed1084c
[ "MIT" ]
null
null
null
from project.category import Category from project.document import Document from project.topic import Topic class Storage: def __init__(self): self.categories=[] self.topics=[] self.documents=[] def add_category(self,category:Category): if any([x for x in self.categories if x....
31.603175
68
0.68006
281
1,991
4.519573
0.13879
0.051969
0.050394
0.062992
0.379528
0.330709
0.307874
0.270079
0.270079
0.270079
0
0
0.222501
1,991
62
69
32.112903
0.820413
0
0
0.212766
0
0
0.001005
0
0
0
0
0
0
1
0.276596
false
0
0.06383
0.021277
0.489362
0
0
0
0
null
0
0
0
0
0
0
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
fdf960905a51e037906ecfe09c70f2a2fc6fdea5
386
py
Python
web/web/urls.py
Brownie-in-Motion/libwherey
6664285dc35b108111e7d1bc9d6460aa32a0469f
[ "MIT" ]
null
null
null
web/web/urls.py
Brownie-in-Motion/libwherey
6664285dc35b108111e7d1bc9d6460aa32a0469f
[ "MIT" ]
1
2021-04-06T19:52:55.000Z
2021-04-06T19:52:55.000Z
web/web/urls.py
Brownie-in-Motion/libwherey
6664285dc35b108111e7d1bc9d6460aa32a0469f
[ "MIT" ]
1
2021-04-06T18:56:26.000Z
2021-04-06T18:56:26.000Z
from django.contrib import admin from django.urls import path from django.conf.urls import url import web.views urlpatterns = [ path('admin/', admin.site.urls), url(r"^$", web.views.homepage), url(r"^about$", web.views.about), url(r"^api/libraries/(?P<pk>[0-9]+)$", web.views.LibraryDetail.as_view()),...
24.125
78
0.670984
58
386
4.431034
0.448276
0.155642
0.054475
0.124514
0
0
0
0
0
0
0
0.005988
0.134715
386
15
79
25.733333
0.763473
0
0
0
0
0
0.15544
0.07772
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fdfec872995a4bde85c6af846496184ba3c3df61
10,640
py
Python
pipelines/companies.py
meloncholy/my_eu
109d3662be34a5357b658fca76213e68cf034177
[ "Apache-2.0", "CC-BY-4.0" ]
10
2018-10-30T08:47:14.000Z
2021-05-19T21:08:28.000Z
pipelines/companies.py
meloncholy/my_eu
109d3662be34a5357b658fca76213e68cf034177
[ "Apache-2.0", "CC-BY-4.0" ]
6
2018-12-08T22:01:10.000Z
2022-02-17T17:58:31.000Z
pipelines/companies.py
meloncholy/my_eu
109d3662be34a5357b658fca76213e68cf034177
[ "Apache-2.0", "CC-BY-4.0" ]
7
2018-11-24T16:09:16.000Z
2021-05-22T10:34:44.000Z
""" Companies House basic company information search and company officers aggregator pipeline. Arguments - `api-key` Companies House API key (required) - `companies` List of companies to search. This should be a JSON snippet enclosed in single quotes, e.g. `'["The Hummingbird Bakery Ltd", "HSBC Alternati...
36.067797
181
0.677068
1,261
10,640
5.562252
0.249009
0.074137
0.032934
0.018534
0.199886
0.146421
0.092529
0.092529
0.071571
0.05874
0
0.002077
0.230827
10,640
294
182
36.190476
0.854961
0.319455
0
0.1875
0
0
0.08589
0.018211
0
0
0
0.006803
0
1
0.131944
false
0
0.076389
0.006944
0.506944
0.006944
0
0
0
null
0
0
0
0
0
0
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
8bf67fb82e4ce9519098343dd846b44feea40e80
2,046
py
Python
tests/nn/data_parallel/test_fsdp_grad_scaler.py
zhaojuanmao/fairscale
61ece000bd1b70029270e2dccab66ffa2ca16d51
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
1,662
2020-07-15T21:40:19.000Z
2022-03-31T10:45:12.000Z
tests/nn/data_parallel/test_fsdp_grad_scaler.py
zhaojuanmao/fairscale
61ece000bd1b70029270e2dccab66ffa2ca16d51
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
648
2020-07-21T19:00:32.000Z
2022-03-30T23:11:41.000Z
tests/nn/data_parallel/test_fsdp_grad_scaler.py
zhaojuanmao/fairscale
61ece000bd1b70029270e2dccab66ffa2ca16d51
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
170
2020-07-16T00:28:01.000Z
2022-03-15T19:39:21.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. # # This source code is licensed under the BSD license found in the # LICENSE file in the root directory of this source tree. # pylint: disable=missing-module-docstring # pylint: disable=missing-class-docstring # pylint: disable=missing-function-d...
31.96875
97
0.702835
280
2,046
5.046429
0.528571
0.025478
0.042463
0.041047
0
0
0
0
0
0
0
0.01224
0.201369
2,046
63
98
32.47619
0.852509
0.307918
0
0.054054
0
0
0.043665
0
0
0
0
0.015873
0
1
0.027027
false
0
0.297297
0
0.324324
0
0
0
0
null
0
0
0
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
e300d06b1f583b5f32b247543e982a83308c2e55
2,628
py
Python
tests/aqcsv/data/aqcsv_datetime_test.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
3
2019-03-12T01:59:58.000Z
2020-09-12T07:27:42.000Z
tests/aqcsv/data/aqcsv_datetime_test.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
1
2018-04-20T07:58:38.000Z
2021-03-27T08:52:45.000Z
tests/aqcsv/data/aqcsv_datetime_test.py
seoss/scs_core
0d4323c5697a39eb44a887f179ba5dca3716c1d2
[ "MIT" ]
4
2017-09-29T13:08:43.000Z
2019-10-09T09:13:58.000Z
#!/usr/bin/env python3 """ Created on 5 Mar 2019 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) """ import pytz from scs_core.aqcsv.data.aqcsv_datetime import AQCSVDatetime from scs_core.data.datetime import LocalizedDatetime from scs_core.data.json import JSONify # ----------------------------------...
22.084034
118
0.679224
327
2,628
5.278287
0.168196
0.0927
0.069525
0.04635
0.513905
0.411356
0.253766
0.087486
0.06489
0.06489
0
0.013042
0.09551
2,628
118
119
22.271186
0.713084
0.083714
0
0.5
0
0
0.215923
0.012088
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0.7125
0
0
0
null
0
0
0
0
0
0
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
e3046a14fbaed7cc600084b8a61c03483aae39bf
2,849
py
Python
License_window.py
Khairiazim/Uniten-sprout
1f1ed2368e57c8977aedd59284945661a5befe02
[ "BSD-3-Clause" ]
null
null
null
License_window.py
Khairiazim/Uniten-sprout
1f1ed2368e57c8977aedd59284945661a5befe02
[ "BSD-3-Clause" ]
null
null
null
License_window.py
Khairiazim/Uniten-sprout
1f1ed2368e57c8977aedd59284945661a5befe02
[ "BSD-3-Clause" ]
null
null
null
import os import sys import requests from PyQt5 import QtCore, QtWidgets from PyQt5 import uic import API_Util from UI import license_windowes import Software class License_class(license_windowes.License_window_class,QtWidgets.QMainWindow): def __init__(self): # QtWidgets.QMainWindow.__ini...
36.063291
126
0.59986
315
2,849
5.24127
0.355556
0.072683
0.112659
0.127196
0.241066
0.169594
0.095094
0.062992
0
0
0
0.003009
0.300105
2,849
79
127
36.063291
0.824975
0.064935
0
0.071429
0
0
0.153995
0
0
0
0
0
0
1
0.089286
false
0.053571
0.142857
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e30a01aadfd63d04dc2e7d15ee54213e7b29d326
1,028
py
Python
Problem 59.py
mmax5/project-euler
4913f883f914e83e4c469a8c93995f41f27f9a8e
[ "Apache-2.0" ]
null
null
null
Problem 59.py
mmax5/project-euler
4913f883f914e83e4c469a8c93995f41f27f9a8e
[ "Apache-2.0" ]
null
null
null
Problem 59.py
mmax5/project-euler
4913f883f914e83e4c469a8c93995f41f27f9a8e
[ "Apache-2.0" ]
null
null
null
import sys __author__ = 'mikemax' text = open('p059_cipher.txt').read(-1) weights = {} sums = {} string = {} for a in range(97, 122): for b in range(97, 122): for c in range(97, 122): weights[(a << 16) + (b << 8) + c] = 0 sums[(a << 16) + (b << 8) + c] = 0 string[(a <<...
25.073171
51
0.445525
156
1,028
2.878205
0.320513
0.066815
0.060134
0.080178
0.111359
0.03118
0
0
0
0
0
0.085271
0.372568
1,028
41
52
25.073171
0.610853
0
0
0
0
0
0.022352
0
0
0
0.011662
0
0
0
null
null
0
0.029412
null
null
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e30ada1b144cd42a2dc42bb1fcdb4f4021a917b8
2,645
py
Python
test/test_sample_sheet_reader.py
EdinburghGenomics/illuminatus
c92d6448675fb451f2dc284d67db1711f2974c74
[ "BSD-2-Clause" ]
1
2020-02-15T00:18:51.000Z
2020-02-15T00:18:51.000Z
test/test_sample_sheet_reader.py
EdinburghGenomics/illuminatus
c92d6448675fb451f2dc284d67db1711f2974c74
[ "BSD-2-Clause" ]
1
2021-03-30T10:50:38.000Z
2021-03-30T10:50:39.000Z
test/test_sample_sheet_reader.py
EdinburghGenomics/illuminatus
c92d6448675fb451f2dc284d67db1711f2974c74
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 import sys, os, glob, re import unittest from illuminatus.SampleSheetReader import SampleSheetReader class T(unittest.TestCase): """As far as I can see, SampleSheetReader has one public method: get_samplesheet_data_for_BaseMaskExtractor() - Returns a dict of {column: [i...
37.253521
91
0.619282
333
2,645
4.690691
0.42042
0.115237
0.109475
0.057618
0.328425
0.194622
0.177337
0.12356
0.12356
0.12356
0
0.092593
0.265028
2,645
70
92
37.785714
0.710905
0.277127
0
0.147059
0
0
0.088367
0.051454
0
0
0
0
0.411765
1
0.147059
false
0
0.088235
0
0.294118
0
0
0
0
null
0
0
0
0
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
e30b0e1322cfccc90baafe3720dcb106f5bc5838
2,166
py
Python
bugzoo/core/container.py
chubbymaggie/BugZoo
a6b56fcc27831ce9987f9edf58b37151dbb21a8a
[ "MIT" ]
null
null
null
bugzoo/core/container.py
chubbymaggie/BugZoo
a6b56fcc27831ce9987f9edf58b37151dbb21a8a
[ "MIT" ]
null
null
null
bugzoo/core/container.py
chubbymaggie/BugZoo
a6b56fcc27831ce9987f9edf58b37151dbb21a8a
[ "MIT" ]
null
null
null
from typing import List, Iterator, Dict, Optional, Union, Any import copy import os import tempfile import docker from .bug import Bug __all__ = ["Container"] class Container(object): """ Containers provide ephemeral, mutable instances of registered bugs, and are used to conduct studies of software bu...
26.414634
78
0.5494
251
2,166
4.649402
0.334661
0.077978
0.023136
0.059126
0.18509
0.130249
0.097686
0.097686
0.097686
0.097686
0
0
0.361496
2,166
81
79
26.740741
0.843818
0.406279
0
0.081081
0
0
0.037736
0
0
0
0
0
0
1
0.162162
false
0
0.162162
0
0.513514
0
0
0
0
null
0
0
0
0
0
0
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
e312dc91ec4c96285446458e9192e27a4ebb7854
391
py
Python
app/preprocess.py
vahiwe/Pneumonia-Prediction-App
124f8993ddc8e84ad0e540ae8e4c9cbccf0431a8
[ "MIT" ]
6
2020-01-26T12:40:52.000Z
2022-01-11T07:52:25.000Z
app/preprocess.py
vahiwe/Pneumonia-Prediction-App
124f8993ddc8e84ad0e540ae8e4c9cbccf0431a8
[ "MIT" ]
4
2021-09-08T01:30:46.000Z
2022-03-12T00:08:28.000Z
app/preprocess.py
vahiwe/Pneumonia-Prediction-App
124f8993ddc8e84ad0e540ae8e4c9cbccf0431a8
[ "MIT" ]
7
2019-12-08T12:51:10.000Z
2021-11-19T12:42:48.000Z
from PIL import Image import numpy as np from skimage import transform IMG_HEIGHT = 100 IMG_WIDTH = 100 def load(filename): np_image = Image.open(filename) np_image = np.array(np_image).astype('float32')/255 # (IMG_HEIGHT, IMG_WIDTH, 3)) np_image = transform.resize(np_image, (IMG_HEIGHT, IMG_WIDTH, 3...
24.4375
69
0.721228
63
391
4.238095
0.444444
0.209738
0.11236
0.127341
0.187266
0.187266
0.187266
0
0
0
0
0.043478
0.176471
391
15
70
26.066667
0.785714
0.069054
0
0
0
0
0.019337
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.454545
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
e3187f470c57a95aa7d8cf7f68139a6333c4a460
1,312
py
Python
v1/Bot/deleteGoogleDrive.py
rdotjain/Notion-DiscordBot
a24330d02ea298e90a4d825db93da69b5d45f86e
[ "MIT" ]
48
2021-06-30T22:02:37.000Z
2022-03-10T22:52:56.000Z
v1/Bot/deleteGoogleDrive.py
rdotjain/Notion-DiscordBot
a24330d02ea298e90a4d825db93da69b5d45f86e
[ "MIT" ]
17
2021-07-01T08:15:13.000Z
2022-03-02T04:17:50.000Z
v1/Bot/deleteGoogleDrive.py
rdotjain/Notion-DiscordBot
a24330d02ea298e90a4d825db93da69b5d45f86e
[ "MIT" ]
19
2021-07-01T05:08:01.000Z
2022-03-04T16:44:16.000Z
from __future__ import print_function import os.path from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request from google.oauth2.credentials import Credentials import sys import json SCOPES = ['https://www.googleapis.com/auth/d...
37.485714
95
0.716463
180
1,312
5.133333
0.527778
0.019481
0.030303
0.045455
0.155844
0.155844
0.090909
0
0
0
0
0.004669
0.183689
1,312
35
96
37.485714
0.858077
0.208079
0
0
0
0
0.244681
0.054159
0
0
0
0
0
1
0.04
false
0
0.32
0
0.44
0.12
0
0
0
null
0
0
0
0
0
0
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
e31af55e6d90f8cb98e4ee689846ff1e4b5033f5
761
py
Python
test.py
namnatulco/paper-finder
92a23883a9cb7492936be6fa9b072267c95b4ba9
[ "MIT" ]
2
2017-06-13T21:13:27.000Z
2017-07-22T10:03:42.000Z
test.py
namnatulco/paper-finder
92a23883a9cb7492936be6fa9b072267c95b4ba9
[ "MIT" ]
null
null
null
test.py
namnatulco/paper-finder
92a23883a9cb7492936be6fa9b072267c95b4ba9
[ "MIT" ]
null
null
null
import time from parserACMRefs import ACMReferencesParser parser = ACMReferencesParser(myFile="test_acm.txt") parser.read(fileToMemory=True) res = parser.process() resultList=[] #res = parsers.parse(parsers.ACM) if not res or not res.references: print "FAIL" else: print res.references for (ref, paper) in res.re...
25.366667
53
0.660972
89
761
5.640449
0.52809
0.063745
0
0
0
0
0
0
0
0
0
0.001709
0.231275
761
29
54
26.241379
0.85641
0.04205
0
0.153846
0
0
0.093407
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.192308
0
0
0
null
0
0
0
0
0
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
e31b9d5c15cd730c1c2a0f7864984c98d8620f07
903
py
Python
Helper/helper.py
MalikHamza7/HentaiMangaBot
f88475fa79fd885d7f463a3cdfe75a56f00d5ad4
[ "MIT" ]
3
2021-07-17T10:00:40.000Z
2022-01-17T08:25:41.000Z
Helper/helper.py
MalikHamza7/HentaiMangaBot
f88475fa79fd885d7f463a3cdfe75a56f00d5ad4
[ "MIT" ]
null
null
null
Helper/helper.py
MalikHamza7/HentaiMangaBot
f88475fa79fd885d7f463a3cdfe75a56f00d5ad4
[ "MIT" ]
2
2021-07-28T10:45:06.000Z
2022-02-23T08:28:16.000Z
start_text = '''Welcome to Hentai Manga DL Bot. Here you can Download all Hentai Mangas for Free. For many who don’t know about Hentai, this is about Japanese anime and manga porn or cartoon porn. This great genre was born in Japan and its real meaning comes from perverse sexual desire or perverse sexual act sinc...
39.26087
142
0.697674
142
903
4.422535
0.619718
0.044586
0.035032
0.041401
0.063694
0.063694
0
0
0
0
0
0
0.264673
903
22
143
41.045455
0.945783
0
0
0
0
0.166667
0.954545
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e31fdece23cd430fa957275d69048cd836ab5d29
2,249
py
Python
app/routes/ra_views.py
superphy/spfy
867e61b32ab00ec536378f96a63f0fb379f47c58
[ "Apache-2.0" ]
2
2019-05-22T14:29:37.000Z
2020-02-13T11:30:46.000Z
app/routes/ra_views.py
superphy/backend
867e61b32ab00ec536378f96a63f0fb379f47c58
[ "Apache-2.0" ]
88
2017-04-07T21:52:10.000Z
2018-03-10T23:12:47.000Z
app/routes/ra_views.py
superphy/backend
867e61b32ab00ec536378f96a63f0fb379f47c58
[ "Apache-2.0" ]
2
2017-02-10T21:30:13.000Z
2017-06-05T22:30:17.000Z
from flask import Blueprint, request, jsonify, current_app from modules.comparisons.frontend_queries import get_all_attribute_types, get_attribute_values, get_types from routes.file_utils import fix_uri from middleware.decorators import tofromHumanReadable bp_ra_views = Blueprint('reactapp_views', __name__) @tofromHu...
38.118644
105
0.735438
318
2,249
4.946541
0.308176
0.089002
0.091545
0.063573
0.396058
0.292435
0.277813
0.197076
0.114431
0.114431
0
0.001618
0.175634
2,249
58
106
38.775862
0.846818
0.160516
0
0.166667
0
0
0.207227
0.157817
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e32bb00bd869b5dcc01aa1ebcc226a3a9c8b8b55
14,712
py
Python
m/executor.py
minersoft/miner
247ae1ffb27a4ce3203ac236afd2ed145b31a465
[ "BSD-3-Clause" ]
1
2015-04-18T16:48:48.000Z
2015-04-18T16:48:48.000Z
m/executor.py
minersoft/miner
247ae1ffb27a4ce3203ac236afd2ed145b31a465
[ "BSD-3-Clause" ]
null
null
null
m/executor.py
minersoft/miner
247ae1ffb27a4ce3203ac236afd2ed145b31a465
[ "BSD-3-Clause" ]
null
null
null
# # Copyright Michael Groys, 2012-2014 # # # This file provides implementation of main execute command function # import compiler import traceback import common import sys import re import string import loggers import os import miner_globals import collections import register_builtins import time # debug mode if en...
33.209932
176
0.606987
1,494
14,712
5.925703
0.196118
0.046086
0.050604
0.02982
0.257201
0.205806
0.163109
0.150232
0.110245
0.065966
0
0.011428
0.280315
14,712
442
177
33.285068
0.824707
0.040579
0
0.329815
0
0
0.06595
0.009249
0
0
0
0
0
0
null
null
0
0.047493
null
null
0.08971
0
0
0
null
0
0
0
0
0
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
e32d1f000451a55be64aa36bf1b7e90ec52d74be
8,317
py
Python
libs/dustUI/dustFrameDC2126AReport.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
29
2015-02-17T14:22:14.000Z
2021-02-19T06:01:10.000Z
libs/dustUI/dustFrameDC2126AReport.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
17
2017-02-10T09:43:13.000Z
2017-09-09T05:46:49.000Z
libs/dustUI/dustFrameDC2126AReport.py
rgrr/smartmeshsdk
a95f3e4d9e2254d59d326428fef8c77319cd4373
[ "BSD-3-Clause" ]
35
2015-07-10T18:58:15.000Z
2022-03-20T08:56:25.000Z
#!/usr/bin/python #============================ adjust path ===================================== import sys import os if __name__ == "__main__": here = sys.path[0] sys.path.insert(0, os.path.join(here, '..')) #============================ imports ========================================= import...
30.465201
80
0.479981
638
8,317
6.134796
0.291536
0.027593
0.019417
0.028615
0.115483
0.107307
0.107307
0.075881
0.053909
0.025549
0
0.015178
0.382109
8,317
272
81
30.577206
0.746449
0.133943
0
0.214689
0
0
0.047412
0.007395
0
0
0
0
0
0
null
null
0
0.062147
null
null
0.022599
0
0
0
null
0
0
0
0
0
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
e32e579ef173e6422e72b9e95abee8166de72b87
677
py
Python
hp_VPINN/elements/element.py
coinator/hp-VPINNs
04565217e2fdc84c48a6d36c3bd160b17af89c07
[ "MIT" ]
null
null
null
hp_VPINN/elements/element.py
coinator/hp-VPINNs
04565217e2fdc84c48a6d36c3bd160b17af89c07
[ "MIT" ]
null
null
null
hp_VPINN/elements/element.py
coinator/hp-VPINNs
04565217e2fdc84c48a6d36c3bd160b17af89c07
[ "MIT" ]
null
null
null
from hp_VPINN.utilities import np class Element: def __init__(self, x_quad, w_quad, n_test_functions, test_function, f, grid_left, grid_right): self.n_test_functions = n_test_functions self.x_quad_mapped = grid_left + (grid_right - grid_l...
33.85
76
0.612999
96
677
3.9375
0.333333
0.206349
0.148148
0.132275
0.095238
0
0
0
0
0
0
0.006289
0.295421
677
19
77
35.631579
0.786164
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.230769
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
e32eae304e7be6ef7378b61df6d588c510344cba
7,310
py
Python
mytrading/strategy/messages.py
joeledwardson/betfair-browser
b641f134e60307250a0e51bafa849422ecf5264b
[ "MIT" ]
3
2021-11-23T19:03:02.000Z
2021-11-24T08:44:23.000Z
mytrading/strategy/messages.py
joeledwardson/betfair-browser
b641f134e60307250a0e51bafa849422ecf5264b
[ "MIT" ]
2
2021-11-23T18:47:31.000Z
2021-12-08T15:36:11.000Z
mytrading/strategy/messages.py
joeledwardson/betfair-browser
b641f134e60307250a0e51bafa849422ecf5264b
[ "MIT" ]
null
null
null
from enum import Enum from typing import Dict, Callable import logging from mytrading.exceptions import MessagerException active_logger = logging.getLogger(__name__) message_formatters: Dict[str, Callable] = {} def format_message(msg_type: str, msg_attrs: Dict) -> str: """ convert a message type and attribut...
34.809524
114
0.712859
1,018
7,310
4.937132
0.158153
0.065261
0.05969
0.0961
0.440708
0.313768
0.224433
0.18663
0.106844
0.06148
0
0.002955
0.166758
7,310
209
115
34.976077
0.820719
0.040219
0
0.253425
0
0.027397
0.336681
0.062688
0
0
0
0
0
1
0.178082
false
0
0.027397
0.10274
0.554795
0
0
0
0
null
0
0
0
0
0
0
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
e3365c691cb8a27ac63cd6f35c7d191bd01c59e6
677
py
Python
Chapter11/staticmethod1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
12
2018-07-09T16:20:31.000Z
2022-03-21T22:52:15.000Z
Chapter11/staticmethod1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
null
null
null
Chapter11/staticmethod1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
19
2018-01-09T12:49:06.000Z
2021-11-23T08:05:55.000Z
class Leapx_org(): mul_num = 1.20 mul_num2 = 1.30 def __init__(self,first,last,pay): self.f_name = first self.l_name = last self.pay_amt = pay self.full_name = first+" "+last @staticmethod def check_amt(amt): if amt <50000: return True else : return False def incrementpay(self): ...
23.344828
50
0.682422
112
677
3.848214
0.348214
0.12529
0.162413
0.097448
0.139211
0.139211
0.139211
0.139211
0.139211
0
0
0.053309
0.196455
677
29
51
23.344828
0.738971
0
0
0.076923
0
0
0.035385
0
0
0
0
0
0
0
null
null
0
0
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e33aa839ea0a4dacd1b18d4be99c054945eafcd2
1,321
py
Python
umap/urls.py
daumann/chronas-application
0bbcbe06383192692838431a706c0af32e5136e1
[ "MIT" ]
9
2015-12-23T22:47:49.000Z
2018-12-08T15:07:03.000Z
umap/urls.py
daumann/chronas-application
0bbcbe06383192692838431a706c0af32e5136e1
[ "MIT" ]
null
null
null
umap/urls.py
daumann/chronas-application
0bbcbe06383192692838431a706c0af32e5136e1
[ "MIT" ]
3
2016-04-07T17:27:15.000Z
2018-12-08T16:56:17.000Z
from django.conf import settings from django.conf.urls.static import static from django.conf.urls.i18n import i18n_patterns from django.conf.urls import patterns, url, include from django.contrib.staticfiles.urls import staticfiles_urlpatterns from django.contrib import admin from django.views.decorators.cache import c...
37.742857
92
0.713096
184
1,321
5
0.309783
0.034783
0.053261
0.058696
0
0
0
0
0
0
0
0.012799
0.112793
1,321
34
93
38.852941
0.772184
0
0
0.068966
0
0
0.183195
0.046177
0
0
0
0
0
1
0
false
0
0.310345
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
0
1
0
0
0
0
1
e33b9e02de17afff2967e234043fbf005aebd66d
2,229
py
Python
orders/migrations/0004_auto_20210619_0847.py
garrett-rh/Slice-of-a-Pizza
0e30e3a27b0e65e77cd52db1ef7db0470dea7a3f
[ "MIT" ]
2
2020-05-15T10:20:13.000Z
2021-04-03T12:38:37.000Z
orders/migrations/0004_auto_20210619_0847.py
garrett-rh/Slice-of-a-Pizza
0e30e3a27b0e65e77cd52db1ef7db0470dea7a3f
[ "MIT" ]
2
2020-05-15T10:39:42.000Z
2021-11-26T03:01:19.000Z
orders/migrations/0004_auto_20210619_0847.py
garrett-rh/Slice-of-a-Pizza
0e30e3a27b0e65e77cd52db1ef7db0470dea7a3f
[ "MIT" ]
1
2021-11-12T12:10:57.000Z
2021-11-12T12:10:57.000Z
# Generated by Django 3.2.4 on 2021-06-19 08:47 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0003_auto_20200516_0649'), ] operations = [ migrations.CreateModel( name='Topping', ...
33.268657
114
0.575594
201
2,229
6.263682
0.368159
0.057188
0.079428
0.063542
0.617951
0.517077
0.517077
0.312947
0.312947
0.312947
0
0.027494
0.29834
2,229
66
115
33.772727
0.777494
0.020188
0
0.566667
1
0
0.11549
0.010541
0
0
0
0
0
1
0
false
0
0.033333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e34f3ccdd3f738cbde1f4f6040d541305180f6d1
1,734
py
Python
oo/pessoa.py
adjoli/pythonbirds
7ec3432319c810ffb5798c190c231a4d3d638974
[ "MIT" ]
1
2020-06-05T11:02:04.000Z
2020-06-05T11:02:04.000Z
oo/pessoa.py
adjoli/pythonbirds
7ec3432319c810ffb5798c190c231a4d3d638974
[ "MIT" ]
null
null
null
oo/pessoa.py
adjoli/pythonbirds
7ec3432319c810ffb5798c190c231a4d3d638974
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- class Pessoa: """Implementação de uma classe que modela uma pessoa""" temDeficiencia = False # atributo de classe def __init__(self, *filhos, nome=None, idade=0): self.nome = nome self.idade = idade self.filhos = list(filhos) def cumprimentar(self):...
24.771429
77
0.630911
221
1,734
4.78733
0.39819
0.045369
0.034026
0.047259
0.173913
0
0
0
0
0
0
0.007728
0.253749
1,734
69
78
25.130435
0.809892
0.228374
0
0.135135
0
0
0.156463
0.018896
0
0
0
0.014493
0
1
0.108108
false
0
0
0.054054
0.27027
0.27027
0
0
0
null
0
0
0
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
e352dffd7f9727b929a49001955e7c9fc2367a75
1,279
py
Python
pythonlike/src/combat.py
Sibula/pythonlike
e31eddb626c163232646ace900d52796e3eefe1c
[ "MIT" ]
null
null
null
pythonlike/src/combat.py
Sibula/pythonlike
e31eddb626c163232646ace900d52796e3eefe1c
[ "MIT" ]
null
null
null
pythonlike/src/combat.py
Sibula/pythonlike
e31eddb626c163232646ace900d52796e3eefe1c
[ "MIT" ]
null
null
null
import random def attack(attacker_i, defender_i, entities): attacker = entities[attacker_i] defender = entities[defender_i] # Calculate values hit_chance = attacker.accuracy * (1 - defender.evasion) bypass_armor_chance = 1 - defender.armor damage_normal = attacker.damage damage_armor = at...
26.645833
79
0.65129
157
1,279
5.146497
0.305732
0.074257
0.066832
0.054455
0.106436
0.106436
0.106436
0.106436
0
0
0
0.004237
0.261923
1,279
47
80
27.212766
0.851695
0.068804
0
0.25
0
0
0.050548
0
0
0
0
0
0
1
0.0625
false
0.0625
0.03125
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
0
1
0
0
0
0
0
1
e3690f8c7cbf827e413c574cee4b0d4a8aa67fa7
1,310
py
Python
app/auth/views.py
JKimani77/grupe-project
87aecebbaf5eae688ebb45761d0de5a7fe3b9eef
[ "MIT" ]
1
2021-05-05T09:48:12.000Z
2021-05-05T09:48:12.000Z
app/auth/views.py
JKimani77/grupe-project
87aecebbaf5eae688ebb45761d0de5a7fe3b9eef
[ "MIT" ]
1
2021-05-04T14:08:00.000Z
2021-05-04T14:08:00.000Z
app/auth/views.py
JKimani77/grupe-project
87aecebbaf5eae688ebb45761d0de5a7fe3b9eef
[ "MIT" ]
null
null
null
from flask import render_template,url_for, flash,redirect,request from . import auth from flask_login import login_user, logout_user ,login_required from .forms import RegForm,LoginForm from ..models import User from ..email import mail_message @auth.route('/login', methods = ['GET','POST']) def login(): form = ...
36.388889
98
0.696183
180
1,310
4.916667
0.338889
0.045198
0.031638
0.038418
0.155932
0.101695
0.101695
0.101695
0.101695
0.101695
0
0
0.166412
1,310
36
99
36.388889
0.81044
0
0
0.066667
0
0
0.114416
0
0
0
0
0
0
1
0.1
false
0.066667
0.2
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
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
e36b3e5a2e2800d4d55896c8c62be3a9aeb52028
2,587
py
Python
gmap_tiles/download_tiles.py
ferdn4ndo/rrmaps
54e96144b9a3956d4570bd8c2414634bf673d472
[ "MIT" ]
null
null
null
gmap_tiles/download_tiles.py
ferdn4ndo/rrmaps
54e96144b9a3956d4570bd8c2414634bf673d472
[ "MIT" ]
null
null
null
gmap_tiles/download_tiles.py
ferdn4ndo/rrmaps
54e96144b9a3956d4570bd8c2414634bf673d472
[ "MIT" ]
null
null
null
#!/usr/bin/python import urllib2 import os, sys from gmap_utils import * import time import random def download_tiles(zoom, lat_start, lat_stop, lon_start, lon_stop, satellite=True, folder='tmp/'): start_x, start_y = latlon2xy(zoom, lat_start, lon_start) stop_x, stop_y = latlon2xy(zoom, lat_stop, lon_stop) ...
30.797619
146
0.489756
320
2,587
3.7625
0.38125
0.0299
0.024917
0.036545
0.152824
0.109635
0.109635
0.109635
0.109635
0.109635
0
0.033505
0.400077
2,587
83
147
31.168675
0.742268
0.05373
0
0.04
0
0.04
0.108607
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
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
e377010d6dc6f8f1a5d6d47139ca15a1437b2388
317
py
Python
tests/test_chain.py
NicolasMillerr/markov
82e1f23f178cde42a36b9a3ddb77f3196e8d6abe
[ "MIT" ]
null
null
null
tests/test_chain.py
NicolasMillerr/markov
82e1f23f178cde42a36b9a3ddb77f3196e8d6abe
[ "MIT" ]
null
null
null
tests/test_chain.py
NicolasMillerr/markov
82e1f23f178cde42a36b9a3ddb77f3196e8d6abe
[ "MIT" ]
null
null
null
from markov.chain import MarkovChain def test_chain(): chain = MarkovChain([1, 2, 3, 1, 2]) assert len(chain.states) == 3 assert isinstance(chain.transition, dict) assert isinstance(chain.transition[1], list) assert chain.sample_next(1) == 2 assert len(chain.build_sequence(10, 1)) == 10
22.642857
49
0.678233
45
317
4.711111
0.488889
0.028302
0.075472
0.103774
0.150943
0
0
0
0
0
0
0.054688
0.192429
317
13
50
24.384615
0.773438
0
0
0
0
0
0
0
0
0
0
0
0.625
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
e3790cbf9707b2f9857f4f5b2d65882b9ce3ef50
415
py
Python
src/mridata/migrations/0013_remove_tempdata_thumbnail_fftshift_along_z.py
Abesachs01/mridata
24af8fd81ba42fe1e7c1a9c6604c526856ec398b
[ "BSD-3-Clause" ]
8
2018-10-28T16:34:34.000Z
2022-01-24T17:12:47.000Z
src/mridata/migrations/0013_remove_tempdata_thumbnail_fftshift_along_z.py
Abesachs01/mridata
24af8fd81ba42fe1e7c1a9c6604c526856ec398b
[ "BSD-3-Clause" ]
31
2017-11-21T01:11:39.000Z
2021-12-15T01:41:32.000Z
src/mridata/migrations/0013_remove_tempdata_thumbnail_fftshift_along_z.py
Abesachs01/mridata
24af8fd81ba42fe1e7c1a9c6604c526856ec398b
[ "BSD-3-Clause" ]
7
2018-08-31T22:44:54.000Z
2021-12-20T20:08:39.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-08-01 03:24 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('mridata', '0012_auto_20180731_1714'), ] operations = [ migrations.RemoveField( ...
20.75
48
0.633735
46
415
5.456522
0.847826
0
0
0
0
0
0
0
0
0
0
0.106796
0.255422
415
19
49
21.842105
0.705502
0.163855
0
0
1
0
0.186047
0.142442
0
0
0
0
0
1
0
false
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e37e67d3f9cf80bbe80792c4d9898438e6a4adcb
8,037
py
Python
VNA/python/create_all_s2p.py
pattejen/eLink_Instrumentation
c3fe598edaec6b97674266e192d7f9846cceda4b
[ "CC0-1.0" ]
null
null
null
VNA/python/create_all_s2p.py
pattejen/eLink_Instrumentation
c3fe598edaec6b97674266e192d7f9846cceda4b
[ "CC0-1.0" ]
2
2021-02-10T20:42:51.000Z
2021-05-23T02:00:41.000Z
VNA/python/create_all_s2p.py
pattejen/eLink_Instrumentation
c3fe598edaec6b97674266e192d7f9846cceda4b
[ "CC0-1.0" ]
2
2021-04-21T22:26:54.000Z
2021-06-16T19:56:03.000Z
#!/usr/bin/env python from readVNADataSKRF import plot # WARNING: # Write file names ending in .vna # Do not include .txt (do not use .vna.txt) options = [ #['Redo_VNA', 'TP_1p4m_35_ChD0.vna'], #['Redo_VNA', 'TP_1p4m_35_ChD1_redo_v1.vna'], #['Redo_VNA', 'TP_1p4m_35_ChCMD_redo_v1.v...
55.8125
113
0.588404
996
8,037
4.308233
0.145582
0.122349
0.097879
0.039152
0.759264
0.618504
0.560708
0.560708
0.546726
0.508273
0
0.130508
0.265895
8,037
143
114
56.202797
0.59678
0.339679
0
0
0
0
0.523919
0.460582
0
0
0
0
0
1
0
false
0
0.023256
0
0.023256
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e382465b2c6c9d4ae2bff01be85e3522dffacc35
5,476
py
Python
simulation/commons_pb2_grpc.py
covista/commons
821c5741e0f8e3cedbaad1ffa1c14009f5487945
[ "BSD-3-Clause" ]
null
null
null
simulation/commons_pb2_grpc.py
covista/commons
821c5741e0f8e3cedbaad1ffa1c14009f5487945
[ "BSD-3-Clause" ]
2
2020-05-21T22:43:53.000Z
2020-05-22T03:25:45.000Z
simulation/commons_pb2_grpc.py
covista/commons
821c5741e0f8e3cedbaad1ffa1c14009f5487945
[ "BSD-3-Clause" ]
1
2020-05-21T20:15:00.000Z
2020-05-21T20:15:00.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc import commons_pb2 as commons__pb2 class DiagnosisDBStub(object): """Missing associated documentation comment in .proto file""" def __init__(self, channel): """Constructor. Args: channel: A grpc.Ch...
40.562963
105
0.65851
479
5,476
7.281837
0.240084
0.057339
0.034404
0.030963
0.495413
0.403383
0.403383
0.381594
0.366112
0.333429
0
0.004993
0.268444
5,476
134
106
40.865672
0.865701
0.110299
0
0.454545
1
0
0.085361
0.047609
0
0
0
0
0
1
0.080808
false
0
0.020202
0.030303
0.161616
0
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
e386acc72b077bc7ac16f37a219c6bd205898062
386
py
Python
catalog/bindings/csw/comparison_operator_type.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/csw/comparison_operator_type.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/csw/comparison_operator_type.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
from enum import Enum __NAMESPACE__ = "http://www.opengis.net/ogc" class ComparisonOperatorType(Enum): LESS_THAN = "LessThan" GREATER_THAN = "GreaterThan" LESS_THAN_EQUAL_TO = "LessThanEqualTo" GREATER_THAN_EQUAL_TO = "GreaterThanEqualTo" EQUAL_TO = "EqualTo" NOT_EQUAL_TO = "NotEqualTo" L...
24.125
48
0.704663
43
386
5.953488
0.651163
0.109375
0.085938
0
0
0
0
0
0
0
0
0
0.194301
386
15
49
25.733333
0.823151
0
0
0
0
0
0.297927
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e389f788aefc4b67224bca8396421a8302616e08
691
py
Python
modulector/migrations/0032_auto_20210331_0014.py
omics-datascience/modulector
357d8f6f8eab5d04b2357a08d177d75cbdad001a
[ "MIT" ]
2
2021-07-10T20:45:58.000Z
2021-08-18T02:24:58.000Z
modulector/migrations/0032_auto_20210331_0014.py
omics-datascience/modulector
357d8f6f8eab5d04b2357a08d177d75cbdad001a
[ "MIT" ]
3
2021-11-07T23:18:58.000Z
2021-11-22T23:17:35.000Z
modulector/migrations/0032_auto_20210331_0014.py
omics-datascience/modulector
357d8f6f8eab5d04b2357a08d177d75cbdad001a
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2021-03-31 00:14 import datetime from django.db import migrations, models from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('modulector', '0031_auto_20210330_0044'), ] operations = [ migrations.AlterField( ...
26.576923
110
0.625181
75
691
5.666667
0.653333
0.047059
0.117647
0.136471
0.230588
0.230588
0
0
0
0
0
0.102161
0.263386
691
25
111
27.64
0.732809
0.065123
0
0.315789
1
0
0.124224
0.035714
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b58b7552df9023a562303151256609bb7cf0bf2
422
py
Python
myawwards/migrations/0006_post_url.py
Bridgit-wairimu/Awwards
285551161a3bf8ae06ad731c2b9feafae27b00e3
[ "MIT" ]
null
null
null
myawwards/migrations/0006_post_url.py
Bridgit-wairimu/Awwards
285551161a3bf8ae06ad731c2b9feafae27b00e3
[ "MIT" ]
null
null
null
myawwards/migrations/0006_post_url.py
Bridgit-wairimu/Awwards
285551161a3bf8ae06ad731c2b9feafae27b00e3
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-24 22:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myawwards', '0005_auto_20210125_0054'), ] operations = [ migrations.AddField( model_name='post', name=...
22.210526
74
0.575829
46
422
5.173913
0.847826
0
0
0
0
0
0
0
0
0
0
0.116838
0.310427
422
18
75
23.444444
0.701031
0.106635
0
0
1
0
0.109244
0.064426
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
8b598495c80482316a53883c290e026f5b573dda
6,562
py
Python
ecs/checklists/bootstrap_settings.py
programmierfabrik/ecs
2389a19453e21b2ea4e40b272552bcbd42b926a9
[ "Apache-2.0" ]
9
2017-02-13T18:17:13.000Z
2020-11-21T20:15:54.000Z
ecs/checklists/bootstrap_settings.py
programmierfabrik/ecs
2389a19453e21b2ea4e40b272552bcbd42b926a9
[ "Apache-2.0" ]
2
2021-05-20T14:26:47.000Z
2021-05-20T14:26:48.000Z
ecs/checklists/bootstrap_settings.py
programmierfabrik/ecs
2389a19453e21b2ea4e40b272552bcbd42b926a9
[ "Apache-2.0" ]
4
2017-04-02T18:48:59.000Z
2021-11-23T15:40:35.000Z
from ecs.utils import Args checklist_questions = { 'thesis_review': [ Args('1', 'Handelt es sich um eine retrospektive Diplomstudie und geben Sie eine positive Empfehlung ab?'), # XXX: dont change this number ], 'statistic_review': [ Args('1', 'Ist das Studienziel ausreichend definiert?'),...
89.890411
446
0.726151
754
6,562
6.291777
0.437666
0.037943
0.048061
0.053331
0.229132
0.176644
0.176644
0.120995
0.120995
0.120995
0
0.01025
0.182262
6,562
72
447
91.138889
0.87309
0.013106
0
0.126761
0
0.084507
0.749691
0.028276
0
0
0
0
0
1
0
false
0
0.014085
0
0.014085
0
0
0
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
8b5e48e391ddc3b2404eb5358a52797067e6285b
572
py
Python
openkongqi/source/__init__.py
hrbonz/openkongqi
fb06c0d2dbe73aa2f50aa8a8516c8226de11cc4e
[ "Apache-2.0" ]
4
2016-09-23T20:04:55.000Z
2017-07-22T12:26:45.000Z
openkongqi/source/__init__.py
hrbonz/openkongqi
fb06c0d2dbe73aa2f50aa8a8516c8226de11cc4e
[ "Apache-2.0" ]
100
2016-02-22T04:12:18.000Z
2022-01-06T07:14:51.000Z
openkongqi/source/__init__.py
hrbonz/openkongqi
fb06c0d2dbe73aa2f50aa8a8516c8226de11cc4e
[ "Apache-2.0" ]
7
2016-02-22T04:20:04.000Z
2020-10-11T03:34:15.000Z
# -*- coding: utf-8 -*- from ..conf import settings def get_source(name): """Return a single source information. :param name: source name as used in the configuration :type name: str :returns: info - a dict of information about this source """ info = settings['SOURCES'][name] info['name'...
22.88
75
0.653846
74
572
5.013514
0.513514
0.080863
0.070081
0
0
0
0
0
0
0
0
0.002288
0.236014
572
24
76
23.833333
0.846682
0.520979
0
0
0
0
0.075949
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8b63dfa3b48ad0a1aaf9dd4bdbf0a52e31c63dd7
20,370
py
Python
fastapi_users/manager.py
jtv8/fastapi-users
d0d1a0dea1b8a9c95e5aae6cd82c196c06dc370f
[ "MIT" ]
null
null
null
fastapi_users/manager.py
jtv8/fastapi-users
d0d1a0dea1b8a9c95e5aae6cd82c196c06dc370f
[ "MIT" ]
null
null
null
fastapi_users/manager.py
jtv8/fastapi-users
d0d1a0dea1b8a9c95e5aae6cd82c196c06dc370f
[ "MIT" ]
null
null
null
import uuid from typing import Any, Dict, Generic, Optional, Union import jwt from fastapi import Request from fastapi.security import OAuth2PasswordRequestForm from fastapi_users import exceptions, models, schemas from fastapi_users.db import BaseUserDatabase from fastapi_users.jwt import SecretType, decode_jwt, gen...
34.584041
87
0.630682
2,326
20,370
5.362855
0.102752
0.021645
0.018759
0.027096
0.559003
0.482203
0.42809
0.337021
0.299984
0.265753
0
0.001052
0.300098
20,370
588
88
34.642857
0.873887
0.052037
0
0.435811
0
0
0.025504
0.002296
0
0
0
0
0
1
0.013514
false
0.14527
0.033784
0
0.158784
0
0
0
0
null
0
0
0
0
0
0
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
8b64e86cba02945e49ca63a690f8028837e8ad7e
1,586
py
Python
12 - The Python Programmer Bootcamp/6_For loops/8_Practical challenge (17:01)/7.8_loop_questions_UNSOLVED.py
olayinka04/365-data-science-courses
7d71215432f0ef07fd3def559d793a6f1938d108
[ "Apache-2.0" ]
null
null
null
12 - The Python Programmer Bootcamp/6_For loops/8_Practical challenge (17:01)/7.8_loop_questions_UNSOLVED.py
olayinka04/365-data-science-courses
7d71215432f0ef07fd3def559d793a6f1938d108
[ "Apache-2.0" ]
null
null
null
12 - The Python Programmer Bootcamp/6_For loops/8_Practical challenge (17:01)/7.8_loop_questions_UNSOLVED.py
olayinka04/365-data-science-courses
7d71215432f0ef07fd3def559d793a6f1938d108
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Oct 20 08:50:32 2019 @author: Giles """ ''' Question 1 Ask the user for two numbers between 1 and 100. Then count from the lower number to the higher number. Print the results to the screen. ''' ''' Question 2 Ask the user to input a string and then ...
18.022727
71
0.697352
270
1,586
4.096296
0.485185
0.0217
0.036166
0.023508
0.070524
0.03255
0
0
0
0
0
0.047773
0.221311
1,586
87
72
18.229885
0.847773
0.059899
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
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
8b655988de4ae4a6ceab8bba4ad0299ae1cc94e9
339
py
Python
sdftools/sizestat.py
gitanna/chemminetools
1cfef18bcd773421c95f8662857f31e363211cdc
[ "BSD-4-Clause-UC" ]
2
2017-12-11T23:17:40.000Z
2020-08-17T08:35:01.000Z
sdftools/sizestat.py
gitanna/chemminetools
1cfef18bcd773421c95f8662857f31e363211cdc
[ "BSD-4-Clause-UC" ]
null
null
null
sdftools/sizestat.py
gitanna/chemminetools
1cfef18bcd773421c95f8662857f31e363211cdc
[ "BSD-4-Clause-UC" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """remove sdf with 0 bonds""" import sys inp = sys.argv[1] from sdfiterator import sdf_iter iter = sdf_iter(inp) asum = 0 bsum = 0 cntr = 0 for i in iter: asum += int((i.split('\n', 5)[3])[0:3]) bsum += int((i.split('\n', 5)[3])[3:6]) cntr += 1 print asum / cntr...
16.142857
43
0.581121
62
339
3.145161
0.516129
0.071795
0.092308
0.102564
0.123077
0.123077
0
0
0
0
0
0.05597
0.20944
339
20
44
16.95
0.671642
0.112094
0
0
0
0
0.014815
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.153846
0
0
0
null
0
0
0
0
0
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
8b6636b24b58789e016891149678a1243246f0ad
2,012
py
Python
lindexmannindex_tester.py
avanteijlingen/LindemannIndex
73d071a9722cd2ceb1011180b63704e6ea8900c4
[ "BSD-2-Clause" ]
null
null
null
lindexmannindex_tester.py
avanteijlingen/LindemannIndex
73d071a9722cd2ceb1011180b63704e6ea8900c4
[ "BSD-2-Clause" ]
null
null
null
lindexmannindex_tester.py
avanteijlingen/LindemannIndex
73d071a9722cd2ceb1011180b63704e6ea8900c4
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Feb 27 21:24:56 2020 @author: avtei """ import numpy as np import lindemannindex as li import matplotlib.pyplot as plt #li.calc_xtc("") import MDAnalysis u = MDAnalysis.Universe("../gromacs/AA/AA_min.gro", "../gromacs/AA/AA_eq.xtc") cd = li.calc_over_time(u, "AA_A") print...
29.15942
93
0.593439
261
2,012
4.509579
0.394636
0.040782
0.08921
0.057774
0.030586
0
0
0
0
0
0
0.043508
0.268887
2,012
69
94
29.15942
0.756628
0.044235
0
0.038462
0
0.038462
0.902872
0.243864
0
0
0
0
0
1
0
false
0.019231
0.076923
0
0.115385
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b6a3ea8f317039d5faef90306b01363422e123a
911
py
Python
examples/read_process_data.py
stegm/pyclient_koplenti
4261ce28e7f8e0cb82493595f48cb0f69d17c077
[ "Apache-2.0" ]
6
2021-11-30T11:59:18.000Z
2022-03-28T05:03:11.000Z
examples/read_process_data.py
stegm/pyclient_koplenti
4261ce28e7f8e0cb82493595f48cb0f69d17c077
[ "Apache-2.0" ]
1
2021-09-21T18:19:09.000Z
2021-09-22T10:20:32.000Z
examples/read_process_data.py
stegm/pyclient_koplenti
4261ce28e7f8e0cb82493595f48cb0f69d17c077
[ "Apache-2.0" ]
1
2021-12-06T13:45:40.000Z
2021-12-06T13:45:40.000Z
import asyncio from aiohttp import ClientSession from pykoplenti import ApiClient import sys """ Provides a simple example which reads two process data from the plenticore. Must be called with host and password: `python read_process_data.py 192.168.1.100 mysecretpassword` """ async def async_main(host, passwd): ...
26.028571
98
0.702525
125
911
4.984
0.512
0.104334
0.086677
0.060995
0.109149
0.109149
0.109149
0
0
0
0
0.016107
0.182217
911
34
99
26.794118
0.820134
0
0
0
0
0
0.212707
0.042818
0
0
0
0
0
1
0
false
0.277778
0.222222
0
0.222222
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8b6bd3e5796d3aba34604b6e0f4f943d6a67d419
639
py
Python
test/postgresql/test_dump_relations_script_for_postgresql.py
willangenent/abridger
6daa80f7360339376b38544ce60694c5addaa30f
[ "MIT" ]
8
2016-10-19T14:15:34.000Z
2020-06-23T09:37:02.000Z
test/postgresql/test_dump_relations_script_for_postgresql.py
freewilll/abridger
6daa80f7360339376b38544ce60694c5addaa30f
[ "MIT" ]
null
null
null
test/postgresql/test_dump_relations_script_for_postgresql.py
freewilll/abridger
6daa80f7360339376b38544ce60694c5addaa30f
[ "MIT" ]
null
null
null
import pytest from abridger.dump_relations import main from test.conftest import got_postgresql @pytest.mark.skipif(not got_postgresql(), reason='Needs postgresql') class TestDumpRelationsScriptForPostgresql(object): def test_main(self, capsys, postgresql_database): # This doesn't test the data itself, j...
33.631579
68
0.687011
70
639
6.128571
0.585714
0.251748
0.013986
0
0
0
0
0
0
0
0
0
0.219092
639
18
69
35.5
0.859719
0.086072
0
0
0
0
0.068729
0.041237
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.357143
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
8b70a80aec26f661dcaf0e1ab967ede4b57374ac
2,468
py
Python
server.py
Kevintjy/daixie
09b02f23fdead0e7991fb6bb000888d955559d56
[ "MIT" ]
null
null
null
server.py
Kevintjy/daixie
09b02f23fdead0e7991fb6bb000888d955559d56
[ "MIT" ]
3
2022-02-13T11:14:42.000Z
2022-02-27T03:18:11.000Z
server.py
Kevintjy/daixie
09b02f23fdead0e7991fb6bb000888d955559d56
[ "MIT" ]
null
null
null
from flask import Flask, request, jsonify, render_template, send_from_directory, Blueprint import os.path from database.models import * from app import app from database import db db.create_all() @app.route("/") def my_index(): return render_template("index.html") @app.route('/<path:path>/') def serve(path): ...
26.537634
92
0.606969
309
2,468
4.721683
0.304207
0.049349
0.05209
0.065798
0.389308
0.320768
0.258396
0.180946
0.180946
0.180946
0
0.017365
0.206645
2,468
92
93
26.826087
0.727783
0.284036
0
0.282609
0
0
0.101993
0
0
0
0
0
0
1
0.086957
false
0.108696
0.108696
0.021739
0.391304
0.021739
0
0
0
null
0
0
0
0
0
0
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
8b7c248bbe2d69e75656cd580009610f5dcd4c50
555
py
Python
neighbour/migrations/0003_post_neighbour_name.py
Abzed/neighbourhood
5a7d46baf6a20eaa279f16707b4a42bc966c9159
[ "MIT" ]
null
null
null
neighbour/migrations/0003_post_neighbour_name.py
Abzed/neighbourhood
5a7d46baf6a20eaa279f16707b4a42bc966c9159
[ "MIT" ]
null
null
null
neighbour/migrations/0003_post_neighbour_name.py
Abzed/neighbourhood
5a7d46baf6a20eaa279f16707b4a42bc966c9159
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-11-05 07:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('neighbour', '0002_auto_20201105_0814'), ] operations = [ migrations.AddField( model_name='post'...
26.428571
144
0.652252
64
555
5.515625
0.625
0.067989
0.07932
0.124646
0
0
0
0
0
0
0
0.075117
0.232432
555
20
145
27.75
0.753521
0.081081
0
0
1
0
0.153543
0.045276
0
0
0
0
0
1
0
false
0
0.142857
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b7d8101ed7fae210b62c4d0a0d63027584db538
1,273
py
Python
src/logstack/handlers.py
strativ-dev/logstack
7bca695af234a967a1713641b76957fad3c2f450
[ "MIT" ]
null
null
null
src/logstack/handlers.py
strativ-dev/logstack
7bca695af234a967a1713641b76957fad3c2f450
[ "MIT" ]
6
2022-02-28T06:21:45.000Z
2022-03-21T02:19:36.000Z
src/logstack/handlers.py
strativ-dev/logstack
7bca695af234a967a1713641b76957fad3c2f450
[ "MIT" ]
null
null
null
# Python imports # Third party imports import boto3 # Self imports class DjangoCloudWatchHandler: def __init__( self, log_level: str, log_group_name: str, cloud_watch_aws_id: str, cloud_watch_aws_key: str, cloud_watch_aws_region: str, ) -> None: sel...
29.604651
60
0.642577
158
1,273
4.658228
0.234177
0.190217
0.211957
0.138587
0.192935
0
0
0
0
0
0
0.007718
0.28751
1,273
43
61
29.604651
0.803749
0.036921
0
0
0
0
0.067866
0.025348
0
0
0
0
0
1
0.090909
false
0
0.030303
0
0.212121
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b7e58a48d9c91759b9b6c78e5315ebce602a590
883
py
Python
Section 11/5.Document-find-all-files.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
18
2020-04-13T03:14:06.000Z
2022-03-09T18:54:41.000Z
Section 11/5.Document-find-all-files.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
null
null
null
Section 11/5.Document-find-all-files.py
airbornum/-Complete-Python-Scripting-for-Automation
bc053444f8786259086269ca1713bdb10144dd74
[ "MIT" ]
22
2020-04-29T21:12:42.000Z
2022-03-17T18:19:54.000Z
#!/usr/local/bin/python3 import os req_path=input("Enter your directory path: ") #req_ex=input("Enter the required files extention .py/.sh/.log/.txt: ") if os.path.isfile(req_path): print(f"The given path {req_path} is a file. Please pass only directory path") else: all_f_ds=os.listdir(req_path) if len(...
38.391304
111
0.653454
152
883
3.625
0.348684
0.088929
0.032668
0.054446
0.246824
0.181488
0.181488
0.181488
0.181488
0.181488
0
0.004348
0.218573
883
22
112
40.136364
0.794203
0.105323
0
0.157895
0
0.052632
0.484334
0
0
0
0
0
0
1
0
false
0.052632
0.052632
0
0.052632
0.263158
0
0
0
null
0
0
0
0
0
0
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
8b873b68a93e8095cf6db7c200c3f00e6704e3f8
1,008
py
Python
Bugscan_exploits-master/exp_list/exp-558.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
Bugscan_exploits-master/exp_list/exp-558.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
Bugscan_exploits-master/exp_list/exp-558.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- #__Author__ = ko0zhi #__Service_ = Wordpress #__Refer___ = http://www.beebeeto.com/pdb/poc-2014-0174/ #___Type___ = sql #___name___ = http://www.exploit-db.com/exploits/35447/ ''' Wordpress插件漏洞, Google Document Embedder漏洞 ''' def assign(service, arg): if se...
40.32
328
0.669643
143
1,008
4.482517
0.678322
0.032761
0.043682
0
0
0
0
0
0
0
0
0.170336
0.143849
1,008
25
329
40.32
0.572422
0.248016
0
0
0
0.083333
0.546463
0.475728
0
0
0
0
0
1
0.166667
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
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b8767868a94185b57f9094998bed13f77e0a8fb
1,340
py
Python
bioparser/cmap.py
dhimmel/serg-pycode
075de0ba470e4fbda5e33dfc23cb9ecd86ec53b7
[ "BSD-2-Clause-Patent" ]
null
null
null
bioparser/cmap.py
dhimmel/serg-pycode
075de0ba470e4fbda5e33dfc23cb9ecd86ec53b7
[ "BSD-2-Clause-Patent" ]
null
null
null
bioparser/cmap.py
dhimmel/serg-pycode
075de0ba470e4fbda5e33dfc23cb9ecd86ec53b7
[ "BSD-2-Clause-Patent" ]
null
null
null
import csv import os class CMAP(object): def __init__(self, current_dir, previous_dir=None): self.current_dir = current_dir self.previous_dir = previous_dir @staticmethod def read_gmt(path): """Read a Gene Matrix Transposed file format.""" set_name_to_genes = dict(...
37.222222
117
0.613433
177
1,340
4.327684
0.40113
0.082245
0.082245
0.127937
0.065274
0.065274
0
0
0
0
0
0.012397
0.277612
1,340
36
118
37.222222
0.778926
0
0
0
0
0
0.112916
0.074246
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8b8c55ab79a9b1944d4baa94f54d406aa1b643da
1,119
py
Python
tokenwiser/textprep/_yake.py
Btibert3/tokenwiser
64f78be285d24ebc53bcc6991466517aed633888
[ "Apache-2.0" ]
50
2020-11-21T04:29:34.000Z
2022-02-12T11:16:52.000Z
tokenwiser/textprep/_yake.py
Btibert3/tokenwiser
64f78be285d24ebc53bcc6991466517aed633888
[ "Apache-2.0" ]
33
2020-11-26T11:03:52.000Z
2021-12-04T20:27:44.000Z
tokenwiser/textprep/_yake.py
Btibert3/tokenwiser
64f78be285d24ebc53bcc6991466517aed633888
[ "Apache-2.0" ]
7
2021-04-07T08:54:34.000Z
2021-11-11T00:18:17.000Z
from sklearn.base import BaseEstimator import yake from ._prep import TextPrep class YakeTextPrep(TextPrep, BaseEstimator): """ Remove all text except meaningful key-phrases. Uses [yake](https://github.com/LIAAD/yake). Arguments: top_n: number of key-phrases to select unique: only return...
30.243243
119
0.672029
146
1,119
5.061644
0.541096
0.032476
0.032476
0
0
0
0
0
0
0
0
0.004635
0.228776
1,119
36
120
31.083333
0.85168
0.476318
0
0
0
0
0.00566
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8b8e75742da22eb96d6578242626960cc740bf03
1,869
py
Python
IsoSpecPy/IsoSpecPy/kahan.py
hroest/IsoSpec
9a365224f0d85cdedf3ba76b8d3378f6ab9805da
[ "BSD-2-Clause" ]
null
null
null
IsoSpecPy/IsoSpecPy/kahan.py
hroest/IsoSpec
9a365224f0d85cdedf3ba76b8d3378f6ab9805da
[ "BSD-2-Clause" ]
null
null
null
IsoSpecPy/IsoSpecPy/kahan.py
hroest/IsoSpec
9a365224f0d85cdedf3ba76b8d3378f6ab9805da
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2015-2016 Mateusz Łącki and Michał Startek. # # This file is part of IsoSpec. # # IsoSpec is free software: you can redistribute it and/or modify # it under the terms of the Simplified ("2-clause") BSD licence. # # IsoSpec is distributed in the hope that it will be us...
24.92
84
0.556982
254
1,869
4.031496
0.389764
0.09375
0.032227
0.046875
0.058594
0
0
0
0
0
0
0.014504
0.336009
1,869
74
85
25.256757
0.810637
0.327448
0
0.2
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.088889
0.377778
0
0
0
0
null
0
0
0
0
0
0
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
8b8ed40948862387f5a0ab1972c3dad745b69b35
3,249
py
Python
accounts/forms.py
KameliyaN/testProject-master
a851f69fcc84116fb90d243bee24e10295e92228
[ "MIT" ]
null
null
null
accounts/forms.py
KameliyaN/testProject-master
a851f69fcc84116fb90d243bee24e10295e92228
[ "MIT" ]
null
null
null
accounts/forms.py
KameliyaN/testProject-master
a851f69fcc84116fb90d243bee24e10295e92228
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.forms import UserCreationForm, AuthenticationForm from django.contrib.auth.models import User from django.core.exceptions import ValidationError from django.core.validators import MinLengthValidator, EmailValidator from accounts.models import Profile # # class LoginF...
30.650943
91
0.63281
354
3,249
5.635593
0.211864
0.090226
0.03609
0.03609
0.666165
0.666165
0.615038
0.615038
0.615038
0.615038
0
0.004252
0.276085
3,249
105
92
30.942857
0.843963
0.035703
0
0.643836
0
0
0.152223
0
0
0
0
0
0
1
0.082192
false
0.027397
0.082192
0
0.410959
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
8b972a71ff5048184500977fdbf36a0cc4b57816
2,157
py
Python
Blood_Bank/accounts/views.py
FAHADPN/Python-overflow
1607b9a2816ed573ede162723ccf6e089f2d92e1
[ "MIT" ]
null
null
null
Blood_Bank/accounts/views.py
FAHADPN/Python-overflow
1607b9a2816ed573ede162723ccf6e089f2d92e1
[ "MIT" ]
null
null
null
Blood_Bank/accounts/views.py
FAHADPN/Python-overflow
1607b9a2816ed573ede162723ccf6e089f2d92e1
[ "MIT" ]
1
2021-10-30T09:58:23.000Z
2021-10-30T09:58:23.000Z
from django.shortcuts import render, redirect from django.contrib.auth.models import User, auth from django.contrib import messages from django.http import JsonResponse # Create your views here. def user_signup(request): if request.method == 'POST': first_name = request.POST['first_name'] last_nam...
34.238095
141
0.576263
213
2,157
5.779343
0.262911
0.071487
0.029245
0.030869
0.053615
0.053615
0
0
0
0
0
0.004746
0.31618
2,157
63
142
34.238095
0.829831
0.010663
0
0.407407
0
0
0.099391
0
0
0
0
0
0
1
0.055556
false
0.12963
0.074074
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8b9f66acd1ba1e14b566b1bd1221b3cb7068973f
5,160
py
Python
tests/test_wanikani.py
laurent-radoux/wanikani_notifier
ca0c3d1180e4185dbb56812b387db01b4595f35c
[ "MIT" ]
2
2021-07-24T08:43:29.000Z
2021-08-31T00:03:28.000Z
tests/test_wanikani.py
laurent-radoux/wanikani_notifier
ca0c3d1180e4185dbb56812b387db01b4595f35c
[ "MIT" ]
9
2021-07-29T05:47:27.000Z
2021-08-05T20:11:25.000Z
tests/test_wanikani.py
laurent-radoux/wanikani_notifier
ca0c3d1180e4185dbb56812b387db01b4595f35c
[ "MIT" ]
null
null
null
import datetime from dataclasses import dataclass from unittest.mock import MagicMock import pytest from wanikani_api.client import Client as WaniKaniClient from pytest_mock import MockerFixture from wanikani_notifier.wanikani import get_all_subjects from wanikani_notifier.wanikani import get_available_assignments, g...
33.506494
112
0.720349
664
5,160
5.27259
0.138554
0.038846
0.067981
0.065981
0.752356
0.711797
0.644959
0.634105
0.602685
0.543559
0
0.023861
0.187791
5,160
153
113
33.72549
0.811501
0
0
0.46729
0
0
0.038372
0.018411
0
0
0
0
0.214953
1
0.130841
false
0
0.074766
0.046729
0.317757
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
8ba480367033e57c6e0e2c1fe92e1cdb87aa2a7f
478
py
Python
corehq/apps/reports/v2/urls.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2020-05-05T13:10:01.000Z
2020-05-05T13:10:01.000Z
corehq/apps/reports/v2/urls.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2019-12-09T14:00:14.000Z
2019-12-09T14:00:14.000Z
corehq/apps/reports/v2/urls.py
MaciejChoromanski/commcare-hq
fd7f65362d56d73b75a2c20d2afeabbc70876867
[ "BSD-3-Clause" ]
5
2015-11-30T13:12:45.000Z
2019-07-01T19:27:07.000Z
from __future__ import absolute_import from __future__ import unicode_literals from django.conf.urls import url from corehq.apps.reports.v2.views import ( endpoint_data, endpoint_options, ) urlpatterns = [ url(r'^endpoint/(?P<report_slug>[\w_]+)/data/(?P<endpoint_slug>[\w_-]+)/', endpoint_data, ...
26.555556
80
0.694561
62
478
4.967742
0.419355
0.064935
0.103896
0.084416
0.298701
0.155844
0.155844
0
0
0
0
0.002421
0.135983
478
17
81
28.117647
0.743341
0
0
0
0
0
0.341004
0.280335
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8ba54db8c79a3ba7fdcb46c585815376a6682de4
605
py
Python
data/flights_covid/preprocess/preprocess.py
xty0505/crossfilter-benchmark-public
bb10bfeacb8438fa3b1e758e8ef9660caa5e633c
[ "MIT" ]
null
null
null
data/flights_covid/preprocess/preprocess.py
xty0505/crossfilter-benchmark-public
bb10bfeacb8438fa3b1e758e8ef9660caa5e633c
[ "MIT" ]
null
null
null
data/flights_covid/preprocess/preprocess.py
xty0505/crossfilter-benchmark-public
bb10bfeacb8438fa3b1e758e8ef9660caa5e633c
[ "MIT" ]
null
null
null
from pathlib import Path import pandas as pd flights = pd.concat( pd.read_csv(file, parse_dates=["firstseen", "lastseen", "day"]) for file in Path("../dataset").glob("flightlist_*.csv.gz") ) flights_dropna = flights.dropna(axis=0, subset=['registration', 'typecode','origin','destination', 'altitude_2']) print(...
33.611111
113
0.722314
85
605
4.988235
0.6
0.245283
0.084906
0.099057
0
0
0
0
0
0
0
0.007313
0.095868
605
18
114
33.611111
0.767825
0
0
0
0
0
0.229373
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.4
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
8baa106beb175d4522a34b344a3cf433c8f759c1
821
py
Python
homeassistant/components/airzone/diagnostics.py
davyike/core
13cc7583ed5c7de43c56b43db8fdc9879a853666
[ "Apache-2.0" ]
3
2019-10-02T04:40:26.000Z
2020-02-16T13:19:08.000Z
homeassistant/components/airzone/diagnostics.py
davyike/core
13cc7583ed5c7de43c56b43db8fdc9879a853666
[ "Apache-2.0" ]
18
2021-11-03T06:21:27.000Z
2022-03-31T06:20:57.000Z
homeassistant/components/airzone/diagnostics.py
davyike/core
13cc7583ed5c7de43c56b43db8fdc9879a853666
[ "Apache-2.0" ]
null
null
null
"""Support for the Airzone diagnostics.""" from __future__ import annotations from typing import Any from aioairzone.const import AZD_MAC from homeassistant.components.diagnostics.util import async_redact_data from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from .co...
27.366667
84
0.777101
99
821
6.20202
0.393939
0.089577
0.07329
0
0
0
0
0
0
0
0
0
0.146163
821
29
85
28.310345
0.875892
0.043849
0
0
0
0
0.010884
0
0
0
0
0
0
1
0
false
0
0.421053
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
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
8babda35d512d5e8bb655b0fbcf068cdc933061b
235
py
Python
source/libs/test/sublimetxt.py
csunny/blog_project
f1ec07e1906406e065e3b2710faa3d6455110e33
[ "MIT" ]
1
2016-05-25T01:52:36.000Z
2016-05-25T01:52:36.000Z
source/libs/test/sublimetxt.py
csunny/blog_project
f1ec07e1906406e065e3b2710faa3d6455110e33
[ "MIT" ]
null
null
null
source/libs/test/sublimetxt.py
csunny/blog_project
f1ec07e1906406e065e3b2710faa3d6455110e33
[ "MIT" ]
null
null
null
import os def main(): if not os.path.exists('D:\magic'): os.makedirs('D:\magic') with open('D:\magic\magic.txt', 'w+') as fp: fp.write("hello magic!") print "Write succssfully!" if __name__ == '__main__': print("ok") main()
19.583333
45
0.629787
37
235
3.783784
0.621622
0.128571
0
0
0
0
0
0
0
0
0
0
0.148936
235
12
46
19.583333
0.7
0
0
0
0
0
0.322034
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8bacfe55716be73200cc5de9615a1fde64c7ee28
770
py
Python
build/lib/forest/tutorial/main.py
cemac/forest
f55b5997ac44fb0bf69bb3d026294c2750118b02
[ "BSD-3-Clause" ]
1
2020-10-27T16:23:52.000Z
2020-10-27T16:23:52.000Z
build/lib/forest/tutorial/main.py
cemac/forest
f55b5997ac44fb0bf69bb3d026294c2750118b02
[ "BSD-3-Clause" ]
65
2020-03-17T16:26:15.000Z
2021-03-26T18:46:51.000Z
build/lib/forest/tutorial/main.py
cemac/forest
f55b5997ac44fb0bf69bb3d026294c2750118b02
[ "BSD-3-Clause" ]
2
2020-06-14T11:50:17.000Z
2020-06-14T17:40:25.000Z
"""Command-line interface to forest-tutorial This script builds the sample file(s) needed to follow along with the tutorial at: https://forest-informaticslab.readthedocs.io """ import argparse import os from . import core class HelpFormatter( argparse.ArgumentDefaultsHelpFormatter, argparse.RawText...
23.333333
70
0.705195
94
770
5.62766
0.606383
0.060491
0.049149
0
0
0
0
0
0
0
0
0
0.202597
770
32
71
24.0625
0.861564
0.222078
0
0
0
0
0.115059
0
0
0
0
0
0
1
0.111111
false
0.055556
0.166667
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
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
8bb185d89efaac6f7947144378b56c32f1ac76d5
1,537
py
Python
itunescontroller/__init__.py
v-adhithyan/itunes-controller
1a672246a9dba2ebd5a1fbf50492f0c6c9995f8f
[ "MIT" ]
7
2016-09-06T07:04:38.000Z
2017-05-20T10:58:34.000Z
itunescontroller/__init__.py
v-adhithyan/itunes-controller
1a672246a9dba2ebd5a1fbf50492f0c6c9995f8f
[ "MIT" ]
null
null
null
itunescontroller/__init__.py
v-adhithyan/itunes-controller
1a672246a9dba2ebd5a1fbf50492f0c6c9995f8f
[ "MIT" ]
null
null
null
import os import random import sys import cv2 import argparse path = os.path.abspath(os.path.dirname(__file__)) def capture_pic(): cam = cv2.VideoCapture(0) captured, img = cam.read() #cam.release() if captured: return img else: return None def detect_face(img): cascade_path ...
25.616667
91
0.642811
186
1,537
5.150538
0.478495
0.018789
0.020877
0.056367
0.064718
0
0
0
0
0
0
0.010408
0.249837
1,537
59
92
26.050847
0.820468
0.038386
0
0.066667
0
0
0.186992
0.065718
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.088889
0
0
0
null
0
0
0
0
0
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
8bb343b55a8fb20281608b2f78fc2431648f8667
948
py
Python
tests/unit/lookups/handlers/test_env.py
avosper-intellaegis/runway
757d4e7db269ec16479b044ac82a69f25fa2a450
[ "Apache-2.0" ]
134
2018-02-26T21:35:23.000Z
2022-03-03T00:30:27.000Z
tests/unit/lookups/handlers/test_env.py
asksmruti/runway
8aca76df9372e3d13eb35e12f81758f618e89e74
[ "Apache-2.0" ]
937
2018-03-08T22:04:35.000Z
2022-03-30T12:21:47.000Z
tests/unit/lookups/handlers/test_env.py
asksmruti/runway
8aca76df9372e3d13eb35e12f81758f618e89e74
[ "Apache-2.0" ]
70
2018-02-26T23:48:11.000Z
2022-03-02T18:44:30.000Z
"""Tests for lookup handler for env.""" # pylint: disable=no-self-use # pyright: basic from __future__ import annotations from typing import TYPE_CHECKING import pytest from runway.lookups.handlers.env import EnvLookup if TYPE_CHECKING: from ...factories import MockRunwayContext ENV_VARS = {"str_val": "test"} ...
29.625
79
0.709916
113
948
5.761062
0.477876
0.119816
0.039939
0.104455
0.236559
0.236559
0.095238
0
0
0
0
0
0.184599
948
31
80
30.580645
0.842173
0.195148
0
0.125
0
0
0.041835
0
0
0
0
0
0.0625
1
0.125
false
0
0.3125
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
8bb73f2987e7fe0d9ec61d91d1d0e4c67ee75d49
686
py
Python
circle.py
Mohan-V-P/Shapes
e78e663caeb348b37551288434528def7cd14339
[ "MIT" ]
null
null
null
circle.py
Mohan-V-P/Shapes
e78e663caeb348b37551288434528def7cd14339
[ "MIT" ]
null
null
null
circle.py
Mohan-V-P/Shapes
e78e663caeb348b37551288434528def7cd14339
[ "MIT" ]
null
null
null
import cv2 from shapes import Myinit class Circle(Myinit): def __init__(self): super(Circle, self).__init__() self.center = (100,100) self.radius = 50 self.color = (0,0,255) self.thickness = -1 def form_shape(self): self.img = cv2.circle(self.img, se...
25.407407
82
0.558309
83
686
4.481928
0.409639
0.080645
0.069892
0
0
0
0
0
0
0
0
0.044492
0.311953
686
27
83
25.407407
0.743644
0
0
0
0
0
0.069592
0
0
0
0
0
0
1
0.227273
false
0
0.090909
0
0.363636
0.090909
0
0
0
null
0
0
0
0
0
0
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
8bbd391e9e7a48719bd0dd7bfa03c26da6b38330
11,922
py
Python
async_v20/interface/trade.py
gshklover/async_v20
965346eafee09ee4ee510b22a064d3cf661b7aa4
[ "MIT" ]
23
2017-10-30T18:49:11.000Z
2022-02-08T12:22:18.000Z
async_v20/interface/trade.py
gshklover/async_v20
965346eafee09ee4ee510b22a064d3cf661b7aa4
[ "MIT" ]
23
2017-10-20T12:32:18.000Z
2021-03-13T07:43:23.000Z
async_v20/interface/trade.py
gshklover/async_v20
965346eafee09ee4ee510b22a064d3cf661b7aa4
[ "MIT" ]
12
2017-10-30T18:49:13.000Z
2021-02-06T02:26:37.000Z
from .decorators import endpoint from ..definitions.types import ClientExtensions from ..definitions.types import InstrumentName from ..definitions.types import StopLossDetails from ..definitions.types import TakeProfitDetails from ..definitions.types import TradeID from ..definitions.types import TradeSpecifier from ....
47.498008
103
0.619779
1,059
11,922
6.879131
0.170916
0.094715
0.12313
0.060673
0.492656
0.452437
0.420041
0.411805
0.407412
0.377763
0
0.020748
0.300621
11,922
250
104
47.688
0.852962
0.710451
0
0.191489
0
0
0.006607
0
0
0
0
0
0
1
0.12766
false
0.12766
0.297872
0
0.446809
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8bc467eaa3c886a4fb185c7846bb39037205279a
1,946
py
Python
interface/combiner.py
TNO/techruption-poc-odessey-hackathon-2019
a7915244f4826fc9954c6b7e87ae10a8c7dbf2a3
[ "MIT" ]
null
null
null
interface/combiner.py
TNO/techruption-poc-odessey-hackathon-2019
a7915244f4826fc9954c6b7e87ae10a8c7dbf2a3
[ "MIT" ]
null
null
null
interface/combiner.py
TNO/techruption-poc-odessey-hackathon-2019
a7915244f4826fc9954c6b7e87ae10a8c7dbf2a3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat Apr 13 16:12:34 2019 @author: bosmanjw """ import httpInterface import sys sys.path.append('../') sys.path.append('../shamir_ss') from shamir_ss.reconstruct_value import reconstruct_value import config import asyncio import json class Combiner(object): ...
31.901639
70
0.622302
213
1,946
5.539906
0.403756
0.071186
0.058475
0
0
0
0
0
0
0
0
0.009155
0.270298
1,946
60
71
32.433333
0.821831
0.088386
0
0
0
0
0.051086
0
0
0
0
0.016667
0
1
0.146341
false
0
0.146341
0.02439
0.365854
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
1
0
0
0
0
0
0
0
0
0
0
1
8bcadd18b245de49517df2a433add58e60612165
285
py
Python
catalog/bindings/csw/triangulated_surface.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/csw/triangulated_surface.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
catalog/bindings/csw/triangulated_surface.py
NIVANorge/s-enda-playground
56ae0a8978f0ba8a5546330786c882c31e17757a
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from bindings.csw.triangulated_surface_type import TriangulatedSurfaceType __NAMESPACE__ = "http://www.opengis.net/gml" @dataclass class TriangulatedSurface(TriangulatedSurfaceType): class Meta: namespace = "http://www.opengis.net/gml"
25.909091
74
0.792982
30
285
7.333333
0.633333
0.118182
0.145455
0.209091
0.263636
0.263636
0
0
0
0
0
0
0.119298
285
10
75
28.5
0.876494
0
0
0
0
0
0.182456
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
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
8bd2b418d0c01e90b5f35f2b6838b4ff30f69048
2,773
py
Python
test_pca.py
Yu-Yy/PR_project
0999d0a7b2c37e5b1cd81acd43de95a024cf951f
[ "Apache-2.0" ]
1
2021-05-24T07:55:22.000Z
2021-05-24T07:55:22.000Z
test_pca.py
Yu-Yy/PR_project
0999d0a7b2c37e5b1cd81acd43de95a024cf951f
[ "Apache-2.0" ]
null
null
null
test_pca.py
Yu-Yy/PR_project
0999d0a7b2c37e5b1cd81acd43de95a024cf951f
[ "Apache-2.0" ]
null
null
null
import cv2 import numpy as np import torch from matplotlib import pyplot as plt from dataset import mydataset_PCA from torch.utils.data import DataLoader from tqdm import tqdm import pickle import sklearn.decomposition as dc import argparse parser = argparse.ArgumentParser(description='Process some integers.') parser....
32.244186
113
0.718356
429
2,773
4.417249
0.317016
0.037995
0.027441
0.027441
0.174142
0.090765
0.061214
0.061214
0.061214
0.061214
0
0.021814
0.15687
2,773
85
114
32.623529
0.788708
0.173458
0
0.033333
0
0
0.090629
0.042675
0
0
0
0.011765
0
1
0
false
0
0.166667
0
0.166667
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8bd787764b929d64e7931d48182cfc610ace7140
1,702
py
Python
latest version/web/login.py
AzusaYukina/Arcaea-server
a4ce47f31423d50e7b4840394ece399fe60c1752
[ "MIT" ]
162
2020-09-30T05:47:55.000Z
2022-03-30T14:06:28.000Z
latest version/web/login.py
walkonbothsides/Arcaea-server
b927ad23f87ad60cb6477f31cc04c3d0585e7745
[ "MIT" ]
36
2020-11-21T08:31:53.000Z
2022-03-09T11:15:55.000Z
latest version/web/login.py
walkonbothsides/Arcaea-server
b927ad23f87ad60cb6477f31cc04c3d0585e7745
[ "MIT" ]
47
2020-09-30T07:23:53.000Z
2022-03-20T16:31:31.000Z
#import sqlite3 from flask import (Blueprint, flash, g, redirect, render_template, request, session, url_for) import functools from setting import Config import hashlib bp = Blueprint('login', __name__, url_prefix='/web') @bp.route('/login', methods=('GET', 'POST')) def login(): # 登录 if re...
27.901639
78
0.615746
191
1,702
5.356021
0.340314
0.086022
0.074291
0.058651
0.258065
0.258065
0.158358
0.158358
0.158358
0.158358
0
0.013396
0.254407
1,702
60
79
28.366667
0.79275
0.018801
0
0.097561
0
0
0.12485
0
0
0
0
0
0
1
0.097561
false
0.121951
0.097561
0
0.341463
0.04878
0
0
0
null
0
0
0
0
0
0
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
8bdab44d73e5ef14521e830aeeac34229bc671b5
1,844
py
Python
ATB/Utils.py
ScholCommLab/ATB
adc6a5ecca0bf9a25af3957b971816fb6362068d
[ "MIT" ]
null
null
null
ATB/Utils.py
ScholCommLab/ATB
adc6a5ecca0bf9a25af3957b971816fb6362068d
[ "MIT" ]
null
null
null
ATB/Utils.py
ScholCommLab/ATB
adc6a5ecca0bf9a25af3957b971816fb6362068d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Utils Collection of helper functions author: Asura Enkhbayar <asura.enkhbayar@gmail.com> """ import requests # Print iterations progress def print_progress_bar(iteration, total, prefix='', suffix='', decimals=1, length=100, fill='█'): """ Call in a loop to create terminal progress...
34.792453
97
0.618764
211
1,844
5.36019
0.469194
0.037135
0.06366
0.05305
0.157383
0.081344
0.081344
0.081344
0
0
0
0.007348
0.261931
1,844
52
98
35.461538
0.822924
0.395336
0
0.130435
0
0
0.071977
0
0
0
0
0.019231
0
1
0.086957
false
0
0.043478
0
0.347826
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
8be6455f0698e08b5d6241e3ccee6c5963b8e2d3
1,112
py
Python
relaypy/server.py
jhgg/relaypy
6216f7ae3a632e3aa62b6e8a324a79aa8a62555f
[ "MIT" ]
1
2021-04-28T21:35:01.000Z
2021-04-28T21:35:01.000Z
relaypy/server.py
jhgg/relaypy
6216f7ae3a632e3aa62b6e8a324a79aa8a62555f
[ "MIT" ]
null
null
null
relaypy/server.py
jhgg/relaypy
6216f7ae3a632e3aa62b6e8a324a79aa8a62555f
[ "MIT" ]
null
null
null
from wsgi_graphql import wsgi_graphql from wsgiref.simple_server import make_server from webob.dec import wsgify from webob.exc import HTTPNotFound from webob.static import DirectoryApp, FileApp from .schema import StarWarsSchema def server(): graphql = wsgi_graphql(StarWarsSchema) static = DirectoryApp('buil...
34.75
74
0.690647
141
1,112
5.304965
0.382979
0.069519
0.085562
0.128342
0.112299
0.042781
0.042781
0
0
0
0
0.03413
0.209532
1,112
31
75
35.870968
0.816837
0
0
0
0
0
0.156475
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.074074
0
0
0
null
0
0
0
0
0
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
8be7313191f2b301491eafe97247f69c730a056f
1,117
py
Python
nesta/core/orms/example_orm.py
anniyanvr/nesta
4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3
[ "MIT" ]
13
2019-06-18T16:53:53.000Z
2021-03-04T10:58:52.000Z
nesta/core/orms/example_orm.py
nestauk/old_nesta_daps
4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3
[ "MIT" ]
208
2018-08-10T13:15:40.000Z
2021-07-21T10:16:07.000Z
nesta/core/orms/example_orm.py
nestauk/old_nesta_daps
4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3
[ "MIT" ]
8
2018-09-20T15:19:23.000Z
2020-12-15T17:41:34.000Z
''' Example ORM =========== ''' from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.dialects.mysql import VARCHAR, BIGINT, TEXT from sqlalchemy.types import INT, DATE, BOOLEAN from sqlalchemy import Column, ForeignKey from sqlalchemy.orm import relationship Base = declarative_base() class MyTabl...
28.641026
82
0.731423
136
1,117
5.757353
0.411765
0.0894
0.088123
0.095785
0.104725
0.104725
0.104725
0
0
0
0
0.017003
0.157565
1,117
38
83
29.394737
0.81509
0.020591
0
0
0
0
0.107735
0
0
0
0
0
0
1
0
false
0
0.192308
0
0.961538
0
0
0
0
null
0
0
0
0
0
0
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
8be956bdd54afb685a4b760ae3311c25b003a23b
357
py
Python
ch03/listfiles.py
yummybian/python-practice-book
1efbea8a7f42396b978153683e1e649e3e74dd16
[ "MIT" ]
5
2015-04-03T10:15:21.000Z
2020-06-09T08:21:39.000Z
ch03/listfiles.py
yummybian/python-practice-book
1efbea8a7f42396b978153683e1e649e3e74dd16
[ "MIT" ]
null
null
null
ch03/listfiles.py
yummybian/python-practice-book
1efbea8a7f42396b978153683e1e649e3e74dd16
[ "MIT" ]
null
null
null
import sys from os import listdir from os.path import isfile, join def list_files(path): return [f for f in listdir(path) if isfile(join(path, f))] def main(): if len(sys.argv) != 2: print 'Usage: python {0} dir'.format(sys.argv[0]) sys.exit(1) print '\n'.join(list_files(sys.argv[1])) i...
19.833333
62
0.627451
59
357
3.627119
0.508475
0.098131
0
0
0
0
0
0
0
0
0
0.017921
0.218487
357
17
63
21
0.749104
0
0
0
0
0
0.086835
0
0
0
0
0
0
0
null
null
0
0.25
null
null
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
1
0
0
0
0
0
0
0
0
1
8becc52842c49052daca9978ee3ccdfaedda243f
176
py
Python
robot/main.py
EnyoYaTing/DevOps-Vue-GraphQL
b4a041c9cbb7e4f5bac943db809667e6323e731a
[ "MIT" ]
4
2019-10-16T15:51:58.000Z
2019-12-07T10:20:16.000Z
robot/main.py
EnyoYaTing/DevOps-Vue-GraphQL
b4a041c9cbb7e4f5bac943db809667e6323e731a
[ "MIT" ]
7
2020-07-07T20:38:46.000Z
2022-01-22T09:30:57.000Z
robot/main.py
EnyoYaTing/DevOps-Vue-GraphQL
b4a041c9cbb7e4f5bac943db809667e6323e731a
[ "MIT" ]
null
null
null
import src.library as s_lib # s_lib.update_team_table() # s_lib.test_func() # s_lib.update_result() st = '2018-10-29' end = '2019-05-23' s_lib.update_period_result(st, end)
16
35
0.727273
34
176
3.441176
0.617647
0.17094
0.25641
0
0
0
0
0
0
0
0
0.103226
0.119318
176
10
36
17.6
0.651613
0.369318
0
0
0
0
0.186916
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8bed53a6cad8d65b659627357b4d0222440537ea
2,174
py
Python
examples/number_purchased_view.py
smadivad/sreemessage
b9642c32bfea65ec7b523bffd7b23306b235e651
[ "BSD-2-Clause" ]
57
2015-04-07T21:20:12.000Z
2022-03-30T17:27:48.000Z
examples/number_purchased_view.py
smadivad/sreemessage
b9642c32bfea65ec7b523bffd7b23306b235e651
[ "BSD-2-Clause" ]
33
2015-09-24T21:29:48.000Z
2022-02-11T22:17:29.000Z
examples/number_purchased_view.py
smadivad/sreemessage
b9642c32bfea65ec7b523bffd7b23306b235e651
[ "BSD-2-Clause" ]
59
2015-01-08T13:00:13.000Z
2022-03-09T16:55:46.000Z
#!/usr/bin/env python import os import sys import argparse import requests sys.path.append(os.path.join(os.path.dirname(__file__), '..')) import messagebird parser = argparse.ArgumentParser() parser.add_argument('--accessKey', help='Access key for MessageBird API.', type=str, required=True) parser.add_argument('--pho...
36.233333
99
0.599816
249
2,174
5.15261
0.373494
0.031177
0.046765
0.058457
0.09509
0.070148
0.070148
0
0
0
0
0
0.272309
2,174
59
100
36.847458
0.810999
0.067157
0
0
0
0
0.360713
0
0
0
0
0
0
1
0
false
0
0.116279
0
0.116279
0.55814
0
0
0
null
0
0
0
0
0
0
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
47345d4196887521790fd19b146eafd3278375f7
2,227
py
Python
main/redis.py
TeselaGen/jbei-edd
92792fb30bbd504143b2f75bf08d05b141a7ef6f
[ "BSD-3-Clause-LBNL" ]
null
null
null
main/redis.py
TeselaGen/jbei-edd
92792fb30bbd504143b2f75bf08d05b141a7ef6f
[ "BSD-3-Clause-LBNL" ]
null
null
null
main/redis.py
TeselaGen/jbei-edd
92792fb30bbd504143b2f75bf08d05b141a7ef6f
[ "BSD-3-Clause-LBNL" ]
null
null
null
# -*- coding: utf-8 -*- import logging from django.conf import settings from django_redis import get_redis_connection from uuid import uuid4 logger = logging.getLogger(__name__) class LatestViewedStudies(object): """ Interfaces with Redis to keep a list of latest viewed studies """ def __init__(self, use...
29.302632
85
0.601706
287
2,227
4.376307
0.313589
0.071656
0.042994
0.039809
0.323248
0.261147
0.211783
0.127389
0.078025
0
0
0.009901
0.27436
2,227
75
86
29.693333
0.767327
0.099686
0
0.24
0
0
0.046757
0.02916
0
0
0
0
0
1
0.22
false
0
0.08
0.1
0.46
0
0
0
0
null
0
0
0
0
0
0
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
47371362223354207231b6255d6714a4f2d611e3
1,128
py
Python
examples/swagger2/driver.py
podhmo/toybox
f978adfa7eeeac7ad0756e6a328f7d189c1a62ac
[ "MIT" ]
3
2017-02-20T00:51:09.000Z
2019-08-04T19:11:39.000Z
examples/swagger2/driver.py
podhmo/toybox
f978adfa7eeeac7ad0756e6a328f7d189c1a62ac
[ "MIT" ]
5
2017-02-18T17:17:17.000Z
2020-01-18T00:55:14.000Z
examples/swagger2/driver.py
podhmo/toybox
f978adfa7eeeac7ad0756e6a328f7d189c1a62ac
[ "MIT" ]
null
null
null
from functools import partial from pyramid_swagger_router.driver import Driver as _Driver from pyramid_swagger_router.codegen import Codegen from pyramid_swagger_router.codegen import Context from swagger_marshmallow_codegen.langhelpers import clsname_from_path class UnRepr(object): def __init__(self, value): ...
35.25
100
0.72695
138
1,128
5.644928
0.347826
0.061617
0.082157
0.092426
0.184852
0.184852
0.089859
0
0
0
0
0
0.166667
1,128
31
101
36.387097
0.828723
0
0
0
0
0
0.085993
0
0
0
0
0
0
1
0.130435
false
0
0.217391
0.043478
0.652174
0
0
0
0
null
0
0
0
0
0
0
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
4741c8cfbbc5c15efbc9e2b4b2ce6e23ba30f079
939
py
Python
dataStructure/stacks/stack.py
slowy07/pythonApps
22f9766291dbccd8185035745950c5ee4ebd6a3e
[ "MIT" ]
10
2020-10-09T11:05:18.000Z
2022-02-13T03:22:10.000Z
dataStructure/stacks/stack.py
khairanabila/pythonApps
f90b8823f939b98f7bf1dea7ed35fe6e22e2f730
[ "MIT" ]
null
null
null
dataStructure/stacks/stack.py
khairanabila/pythonApps
f90b8823f939b98f7bf1dea7ed35fe6e22e2f730
[ "MIT" ]
6
2020-11-26T12:49:43.000Z
2022-03-06T06:46:43.000Z
from node import Node class Stack: def __init__(self): self.head = None def __str__(self): node = self.head list = [] while node: list.append(node.get_item()) node = node.get_next() return str(list) def is_empty(self): return not self.head def push(self, item): if not self.head: self.hea...
16.473684
63
0.660277
141
939
4.283688
0.262411
0.211921
0.072848
0.06457
0.225166
0.155629
0.155629
0.155629
0
0
0
0.002751
0.225772
939
56
64
16.767857
0.828061
0
0
0.357143
0
0
0.063898
0
0
0
0
0
0
1
0.166667
false
0.02381
0.02381
0.02381
0.357143
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
47451a1d9592dae8ded06ed88668a22e208d309c
390
py
Python
Logging.py
klolos/mdpdt
28699d67e9a9e8cad53af9671eb3489e5d8b448b
[ "MIT" ]
4
2018-12-19T16:50:29.000Z
2022-02-09T12:12:01.000Z
Logging.py
klolos/mdpdt
28699d67e9a9e8cad53af9671eb3489e5d8b448b
[ "MIT" ]
null
null
null
Logging.py
klolos/mdpdt
28699d67e9a9e8cad53af9671eb3489e5d8b448b
[ "MIT" ]
3
2018-10-17T07:41:54.000Z
2020-05-09T10:18:59.000Z
import logging import logging.handlers """ Returns a logging handler with a default format """ def get_logging_handler(log_filename): handler = logging.handlers.RotatingFileHandler(log_filename, maxBytes=2*1024*1024, backupCount=5) formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(name)s - %...
24.375
101
0.735897
47
390
6.021277
0.574468
0.091873
0
0
0
0
0
0
0
0
0
0.03012
0.148718
390
15
102
26
0.822289
0
0
0
0
0
0.158055
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
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
474cfbf2d35ecc456bb546300477d390af91d74e
1,204
py
Python
tests/schema/test_plot.py
vishalbelsare/FinMind
9890c631952f3ab91560ada6f49971bff26a5858
[ "Apache-2.0" ]
1,106
2019-10-04T15:16:59.000Z
2022-03-31T03:50:19.000Z
tests/schema/test_plot.py
Jerremiah/FinMind
bf57f8e68adc0583495b29135a91e47515cf4cf1
[ "Apache-2.0" ]
119
2019-10-07T09:18:18.000Z
2022-03-12T08:25:58.000Z
tests/schema/test_plot.py
Jerremiah/FinMind
bf57f8e68adc0583495b29135a91e47515cf4cf1
[ "Apache-2.0" ]
184
2019-10-06T08:26:53.000Z
2022-03-21T06:25:31.000Z
import os import pytest from FinMind.data import DataLoader from FinMind.schema.plot import Labels, Series, convert_labels_series_schema @pytest.fixture(scope="module") def df(): user_id = os.environ.get("FINMIND_USER", "") password = os.environ.get("FINMIND_PASSWORD", "") data_loader = DataLoader() ...
28
79
0.67608
165
1,204
4.745455
0.357576
0.10728
0.040868
0.061303
0.222222
0.222222
0.066411
0
0
0
0
0.020101
0.173588
1,204
42
80
28.666667
0.766834
0
0
0.125
0
0
0.129568
0
0
0
0
0
0.125
1
0.125
false
0.0625
0.125
0
0.28125
0
0
0
0
null
0
0
0
0
0
0
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
4754255be470bdd3a961c7ed734af648cc9f1956
372
py
Python
SynchronousOrbit.py
syvwlch/KerbalScripts
18ca3b30a4233996659b2ccc2fc741b4f86e001e
[ "MIT" ]
2
2018-04-02T17:18:04.000Z
2018-12-10T11:01:10.000Z
SynchronousOrbit.py
syvwlch/KerbalScripts
18ca3b30a4233996659b2ccc2fc741b4f86e001e
[ "MIT" ]
39
2018-04-02T17:17:36.000Z
2018-06-04T12:49:02.000Z
SynchronousOrbit.py
syvwlch/KerbalScripts
18ca3b30a4233996659b2ccc2fc741b4f86e001e
[ "MIT" ]
null
null
null
""" Adds two nodes for a Hohmann transfer to synchronous orbit around current body. Currently checks that the initial orbit is reasonably circular. """ from HohmannTransfer import HohmannTransfer transfer = HohmannTransfer() transfer.transfer_to_synchronous_orbit() KSC_LONGITUDE = 285.425 transfer.target_phase = K...
19.578947
79
0.811828
47
372
6.276596
0.680851
0.067797
0.142373
0.176271
0
0
0
0
0
0
0
0.018462
0.126344
372
18
80
20.666667
0.889231
0.387097
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
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
47546135b24d9c455a4a7fbf3d302adb378a878d
766
py
Python
metal/serial/argv.py
cHemingway/test
7fcbd56ad6fe5368b927ea146363bf3d69cd7617
[ "Apache-2.0" ]
24
2020-07-24T18:33:58.000Z
2022-03-23T21:00:19.000Z
metal/serial/argv.py
cHemingway/test
7fcbd56ad6fe5368b927ea146363bf3d69cd7617
[ "Apache-2.0" ]
4
2020-07-27T05:44:26.000Z
2021-09-02T16:05:47.000Z
metal/serial/argv.py
cHemingway/test
7fcbd56ad6fe5368b927ea146363bf3d69cd7617
[ "Apache-2.0" ]
1
2020-07-25T15:13:20.000Z
2020-07-25T15:13:20.000Z
import sys import typing from metal.serial import Engine from metal.serial.hooks import MacroHook from metal.serial.preprocessor import MacroExpansion class Argv(MacroHook): identifier = 'METAL_SERIAL_INIT_ARGV' def invoke(self, engine: Engine, macro_expansion: MacroExpansion): engine.write_int(len...
29.461538
116
0.67624
106
766
4.735849
0.490566
0.109562
0.089641
0.067729
0
0
0
0
0
0
0
0.003263
0.199739
766
26
117
29.461538
0.815661
0
0
0
0
0
0.119948
0.028683
0
0
0
0
0
1
0.166667
false
0
0.277778
0.055556
0.611111
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
475984b1d02b12c3a75ef8b603c628f8c76366bb
3,593
py
Python
ROAR/planning_module/local_planner/roarmania_planner.py
mohsinsarwari/ROAR
7689b2843dcb6ddf5d99a790491879c0eba67bde
[ "Apache-2.0" ]
1
2021-12-04T01:32:53.000Z
2021-12-04T01:32:53.000Z
ROAR/planning_module/local_planner/roarmania_planner.py
mohsinsarwari/ROAR
7689b2843dcb6ddf5d99a790491879c0eba67bde
[ "Apache-2.0" ]
null
null
null
ROAR/planning_module/local_planner/roarmania_planner.py
mohsinsarwari/ROAR
7689b2843dcb6ddf5d99a790491879c0eba67bde
[ "Apache-2.0" ]
1
2021-11-09T00:27:29.000Z
2021-11-09T00:27:29.000Z
from abc import ABC, abstractmethod import logging from typing import Any from ROAR.utilities_module.module import Module from ROAR.utilities_module.vehicle_models import Vehicle, VehicleControl from collections import deque import numpy as np class ROARManiaPlanner(Module): def __init__(self, agent, **kwargs): ...
34.548077
102
0.603674
472
3,593
4.419492
0.32839
0.034516
0.034516
0.038351
0.113615
0.076222
0.061361
0.034516
0
0
0
0.008765
0.301419
3,593
104
103
34.548077
0.822311
0.309769
0
0.089286
0
0
0.053366
0
0
0
0
0
0
1
0.142857
false
0.053571
0.125
0.035714
0.375
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
475c5b754cb7a0b56bf4cf2982608eef50731be2
451
py
Python
string.py
satoshi-2000/python_tutorial
ac2e7bb5059873eb0daef8658ff3c5c360303541
[ "MIT" ]
null
null
null
string.py
satoshi-2000/python_tutorial
ac2e7bb5059873eb0daef8658ff3c5c360303541
[ "MIT" ]
null
null
null
string.py
satoshi-2000/python_tutorial
ac2e7bb5059873eb0daef8658ff3c5c360303541
[ "MIT" ]
null
null
null
# coding: utf-8 #Name : satoshi-2000 #Date : 2020/12/3 #Title: string ##### 文字列 ##### #文字列置換 a = 'game' b = 'video' ex = 'You say hello and I say hello' #文字数 print(len(a)) #4 #連結 print(a + b) #gamevideo #繰り返し print(a * 3) #gamegamegame #置換 print(ex.replace('say','soy')) #You soy...
15.551724
63
0.552106
74
451
3.364865
0.554054
0.048193
0.072289
0
0
0
0
0
0
0
0
0.044248
0.248337
451
29
64
15.551724
0.690265
0.405765
0
0
0
0
0.238318
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
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
4768d849d0f2e4488eb215459e74f22d8d891f95
3,224
py
Python
application/core/urls.py
mideaconu/AGED
82bb6f6ed72601c8833a87bd2c869980613af2cb
[ "MIT" ]
1
2021-01-29T20:47:47.000Z
2021-01-29T20:47:47.000Z
application/core/urls.py
mideaconu/AGED
82bb6f6ed72601c8833a87bd2c869980613af2cb
[ "MIT" ]
null
null
null
application/core/urls.py
mideaconu/AGED
82bb6f6ed72601c8833a87bd2c869980613af2cb
[ "MIT" ]
null
null
null
# # core/urls.py # # Author: Mihai Ionut Deaconu # from django.conf.urls import include from django.contrib.auth.decorators import login_required from django.urls import path from . import views urlpatterns = [ path('', login_required(views.index), name='index'), path('libraries/', login_required(views.libr...
64.48
138
0.744727
406
3,224
5.667488
0.165025
0.169492
0.226858
0.063885
0.247284
0.12864
0.046936
0
0
0
0
0
0.080335
3,224
50
139
64.48
0.776054
0.012407
0
0
0
0
0.323789
0.170233
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
476b07e08b5935a878bf7bc6ed2e100650e8564f
631
py
Python
fluent_convert.py
zCFD/zCFD-driver
4c7d217bdf0eb8563e2a357afd7393d5d86c3f22
[ "BSD-3-Clause" ]
1
2019-04-16T16:06:08.000Z
2019-04-16T16:06:08.000Z
fluent_convert.py
zCFD/zCFD-driver
4c7d217bdf0eb8563e2a357afd7393d5d86c3f22
[ "BSD-3-Clause" ]
null
null
null
fluent_convert.py
zCFD/zCFD-driver
4c7d217bdf0eb8563e2a357afd7393d5d86c3f22
[ "BSD-3-Clause" ]
null
null
null
#!/bin/env python import sys import os import libzCFDIO_INTEL as fluent if len(sys.argv) != 3: print 'Usage: fluent.{msh | cas} zcfd.h5' sys.exit() fluent_mesh = sys.argv[1] zcfd_mesh = sys.argv[2] # Check if fluent files exist if not os.path.isfile(fluent_mesh): print 'Fluent mesh file does not exist...
21.758621
83
0.714739
98
631
4.510204
0.469388
0.113122
0.049774
0
0
0
0
0
0
0
0
0.007737
0.180666
631
28
84
22.535714
0.847195
0.069731
0
0.176471
0
0
0.309402
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.235294
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
477037dee70b39c55d8556454aa3d1b284f1fcb7
3,148
py
Python
tests/test_pretty_format.py
ppalazon/ecs-tasks-ops
faa442b6e80058fca55b7e7703a71f60470758b5
[ "MIT" ]
null
null
null
tests/test_pretty_format.py
ppalazon/ecs-tasks-ops
faa442b6e80058fca55b7e7703a71f60470758b5
[ "MIT" ]
2
2022-01-06T16:26:54.000Z
2022-03-15T16:21:12.000Z
tests/test_pretty_format.py
ppalazon/ecs-tasks-ops
faa442b6e80058fca55b7e7703a71f60470758b5
[ "MIT" ]
null
null
null
"""Test for pretty format table from jsons.""" from datetime import datetime from tabulate import tabulate from ecs_tasks_ops import pretty_json from ecs_tasks_ops import pretty_table def test_tabulate_list_json_empty(): """Test empty data.""" out = pretty_table.tabulate_list_json() assert "No data to s...
34.593407
86
0.652795
446
3,148
4.365471
0.170404
0.11094
0.14792
0.087827
0.680534
0.638418
0.522856
0.43246
0.43246
0.386235
0
0.006178
0.177255
3,148
90
87
34.977778
0.74556
0.148983
0
0.240741
0
0
0.109626
0
0
0
0
0
0.222222
1
0.203704
false
0
0.074074
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
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
477535341978abd33e7278ab2854c115450dfa88
654
py
Python
robottelemetryservice/infrastructure/udp/udp_measurement_event_handler.py
andrewwgordon/robot_telemetry_service
4b9dcfe3ceaadcaeced0f7026ae03f13713c5065
[ "MIT" ]
null
null
null
robottelemetryservice/infrastructure/udp/udp_measurement_event_handler.py
andrewwgordon/robot_telemetry_service
4b9dcfe3ceaadcaeced0f7026ae03f13713c5065
[ "MIT" ]
null
null
null
robottelemetryservice/infrastructure/udp/udp_measurement_event_handler.py
andrewwgordon/robot_telemetry_service
4b9dcfe3ceaadcaeced0f7026ae03f13713c5065
[ "MIT" ]
null
null
null
import logging import socketserver import threading from robottelemetryservice.infrastructure.serialisation import serializer from robottelemetryservice.infrastructure.configuration import application log=logging.getLogger(__name__) measurement_repository=application.get_measurement_repository() class UDPMeasurementE...
38.470588
74
0.811927
66
654
7.787879
0.560606
0.122568
0.151751
0
0
0
0
0
0
0
0
0.003442
0.111621
654
16
75
40.875
0.881239
0.154434
0
0
0
0
0.001818
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4776907340636215d3ac12c3d933bb0c3c32a873
2,240
py
Python
hdmi/interfaces/aux_interface.py
srivatsan-ramesh/HDMI-Source-Sink-Modules
00b99db3d50f9f88f74f0d1685cddcbe35ba1933
[ "MIT" ]
10
2016-05-08T11:41:40.000Z
2021-11-16T08:28:06.000Z
hdmi/interfaces/aux_interface.py
srivatsan-ramesh/HDMI-Source-Sink-Modules
00b99db3d50f9f88f74f0d1685cddcbe35ba1933
[ "MIT" ]
3
2016-05-18T17:36:14.000Z
2016-06-23T17:42:37.000Z
hdmi/interfaces/aux_interface.py
srivatsan-ramesh/HDMI-Source-Sink-Modules
00b99db3d50f9f88f74f0d1685cddcbe35ba1933
[ "MIT" ]
2
2016-05-21T13:53:20.000Z
2016-06-21T22:05:42.000Z
from myhdl import Signal, intbv class AuxInterface(object): def __init__(self, clock, aux_depth=(4, 4, 4)): """ This interface is the internal interface modeled after the xapp495 internal audio interface Args: clock: pixel clock. aux_depth (optional): ...
20.18018
89
0.528571
264
2,240
4.401515
0.310606
0.055077
0.048193
0.072289
0.242685
0.170396
0
0
0
0
0
0.032189
0.375893
2,240
110
90
20.363636
0.798999
0.406696
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.269231
false
0
0.038462
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
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
477df6e42d9360f5852078bb647472ce27987149
1,294
py
Python
tests/test_inspector.py
AndreaCrotti/breaking-changes
e9c788f76f845ff5c8c6a493d4e0b5736833a04b
[ "MIT" ]
null
null
null
tests/test_inspector.py
AndreaCrotti/breaking-changes
e9c788f76f845ff5c8c6a493d4e0b5736833a04b
[ "MIT" ]
null
null
null
tests/test_inspector.py
AndreaCrotti/breaking-changes
e9c788f76f845ff5c8c6a493d4e0b5736833a04b
[ "MIT" ]
null
null
null
import os import pytest from unittest import mock from breaking_changes import inspector from tests import mod TEST_ROOT = os.path.dirname(__file__) BASE_ROOT = os.path.abspath(os.path.join(TEST_ROOT, '..')) def relative(subpath: str) -> str: return os.path.abspath(os.path.join(TEST_ROOT, subpath)) def func...
26.958333
113
0.685471
175
1,294
4.902857
0.371429
0.034965
0.055944
0.065268
0.177156
0.177156
0.177156
0.177156
0.104895
0.104895
0
0.004425
0.126739
1,294
47
114
27.531915
0.754867
0
0
0.068966
0
0
0.174652
0.043277
0
0
0
0
0.103448
1
0.241379
false
0.034483
0.172414
0.034483
0.448276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
477f359207041f0d03e15da06f807a4904a4d473
905
py
Python
run.py
codeway3/OSP
16f9bac61f537154746d7a928ae1dfb99bffc47f
[ "MIT" ]
null
null
null
run.py
codeway3/OSP
16f9bac61f537154746d7a928ae1dfb99bffc47f
[ "MIT" ]
5
2018-03-28T05:11:48.000Z
2018-07-01T12:13:05.000Z
run.py
codeway3/OSP
16f9bac61f537154746d7a928ae1dfb99bffc47f
[ "MIT" ]
null
null
null
import logging from logging.handlers import RotatingFileHandler from flask.logging import default_handler from app import app if __name__ == '__main__': handler = RotatingFileHandler(filename='./log/app.log', maxBytes=1048576, backupCount=3) formatter = logging.Formatter(fmt='%(asctime)s - %(name)s[line:%(line...
32.321429
139
0.708287
115
905
5.443478
0.434783
0.089457
0.070288
0.095847
0
0
0
0
0
0
0
0.020888
0.153591
905
27
140
33.518519
0.796345
0
0
0
0
0.076923
0.182109
0.039936
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
47840a643ece07a72efe524a955af36678115ee9
643
py
Python
slang/stypes.py
thorwhalen/slang
a171a9008c43935b3099541008b20487716cc4f4
[ "Apache-2.0" ]
2
2020-05-05T22:30:55.000Z
2020-05-23T01:56:17.000Z
slang/stypes.py
thorwhalen/slang
a171a9008c43935b3099541008b20487716cc4f4
[ "Apache-2.0" ]
null
null
null
slang/stypes.py
thorwhalen/slang
a171a9008c43935b3099541008b20487716cc4f4
[ "Apache-2.0" ]
1
2020-12-14T16:51:25.000Z
2020-12-14T16:51:25.000Z
"""Types""" from typing import Callable, Union, Any, List, Tuple from numpy import ndarray, int16, int32, float32, float64 # Note I'm using Tuple to denote fixed sized sequences and List to denote a sliceable unbounded sized iterator and # tuple as a fixed from typing import TypeVar, Optional, Iterable, Sequence fro...
18.371429
114
0.684292
78
643
5.641026
0.730769
0.045455
0.072727
0
0
0
0
0
0
0
0
0.016632
0.251944
643
34
115
18.911765
0.898129
0.211509
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4784cbfff574a30b338420d0183d13e736f274fd
13,579
py
Python
12_distributed_tensorflow.py
mbalassi/handson-ml
4817bf78681b02df489d7823cf4f0cd333497df6
[ "Apache-2.0" ]
null
null
null
12_distributed_tensorflow.py
mbalassi/handson-ml
4817bf78681b02df489d7823cf4f0cd333497df6
[ "Apache-2.0" ]
null
null
null
12_distributed_tensorflow.py
mbalassi/handson-ml
4817bf78681b02df489d7823cf4f0cd333497df6
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # **Chapter 12 – Distributed TensorFlow** # _This notebook contains all the sample code and solutions to the exercises in chapter 12._ # # Setup # First, let's make sure this notebook works well in both python 2 and 3, import a few common modules, ensure MatplotLib plots figures inline and prepare ...
27.377016
1,078
0.691509
2,111
13,579
4.31928
0.205116
0.019193
0.017109
0.013161
0.46984
0.426519
0.398333
0.37585
0.345251
0.330555
0
0.034986
0.172767
13,579
495
1,079
27.432323
0.776462
0.306134
0
0.51046
0
0
0.072562
0.004502
0
0
0
0
0
1
0.016736
false
0
0.025105
0
0.050209
0.108787
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
47902ac69467ae880e06471505f23da293b33d8f
1,307
py
Python
python/venv/lib/python2.7/site-packages/openstack/format.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
python/venv/lib/python2.7/site-packages/openstack/format.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
python/venv/lib/python2.7/site-packages/openstack/format.py
sjsucohort6/openstack
8471e6e599c3f52319926a582358358ef84cbadb
[ "MIT" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
31.878049
78
0.659526
176
1,307
4.784091
0.590909
0.071259
0.030879
0.038005
0
0
0
0
0
0
0
0.004149
0.262433
1,307
40
79
32.675
0.869295
0.598317
0
0
0
0
0.065957
0
0
0
0
0
0
1
0.2
false
0
0
0.133333
0.466667
0
0
0
0
null
0
0
0
0
0
0
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
4794d84551812f4a87238bf83c31c694dc523649
261
py
Python
examples/example3.py
TannerBurns/cloc
67753bc6148779db7a2bfb07e4410f12fa3de593
[ "MIT" ]
2
2020-03-04T14:15:07.000Z
2020-03-06T19:32:42.000Z
examples/example3.py
TannerBurns/cloc
67753bc6148779db7a2bfb07e4410f12fa3de593
[ "MIT" ]
null
null
null
examples/example3.py
TannerBurns/cloc
67753bc6148779db7a2bfb07e4410f12fa3de593
[ "MIT" ]
null
null
null
from cloc import grp from cloc.viewsets import ReqSessionViewset @grp('cli') def cli(): """requests session cli""" pass session_viewset = ReqSessionViewset(raise_exception=False) cli.add_command(session_viewset) if __name__ == '__main__': cli()
17.4
58
0.735632
32
261
5.625
0.625
0.088889
0
0
0
0
0
0
0
0
0
0
0.153257
261
15
59
17.4
0.81448
0.076628
0
0
0
0
0.046809
0
0
0
0
0
0
1
0.111111
false
0.111111
0.222222
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
479673b5144941b716eaf7f3752b525cd83c6e26
295
py
Python
shortener/model/models.py
NguyenHoaiNam/shortener
1f41c26e618bb928202986a7bb8a1f51912a97ae
[ "MIT" ]
null
null
null
shortener/model/models.py
NguyenHoaiNam/shortener
1f41c26e618bb928202986a7bb8a1f51912a97ae
[ "MIT" ]
null
null
null
shortener/model/models.py
NguyenHoaiNam/shortener
1f41c26e618bb928202986a7bb8a1f51912a97ae
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class Url(Base): __tablename__ = 'urls' id = Column(Integer, primary_key=True) org_link = Column(String, unique=True) short_link = Column(String)
22.692308
55
0.745763
37
295
5.702703
0.567568
0.132701
0.151659
0
0
0
0
0
0
0
0
0
0.166102
295
12
56
24.583333
0.857724
0
0
0
0
0
0.013605
0
0
0
0
0
0
1
0
false
0
0.25
0
0.875
0
0
0
0
null
0
0
0
0
0
0
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
479af9a69f496a0994c3cfca339b181e6d7d8f7e
19,363
py
Python
tests/test_api.py
vsvarunsharma10/pqai
3ef1351fbc39671916517917de9074a62b092eef
[ "MIT" ]
17
2021-06-23T04:17:06.000Z
2022-03-25T16:03:49.000Z
tests/test_api.py
vsvarunsharma10/pqai
3ef1351fbc39671916517917de9074a62b092eef
[ "MIT" ]
15
2021-06-22T10:14:15.000Z
2022-03-12T00:58:37.000Z
tests/test_api.py
vsvarunsharma10/pqai
3ef1351fbc39671916517917de9074a62b092eef
[ "MIT" ]
3
2021-06-27T18:37:53.000Z
2022-03-15T04:41:21.000Z
import unittest # Run tests without using GPU import os os.environ["CUDA_VISIBLE_DEVICES"] = "-1" os.environ['TEST'] = "1" import sys from pathlib import Path TEST_DIR = str(Path(__file__).parent.resolve()) BASE_DIR = str(Path(__file__).parent.parent.resolve()) sys.path.append(BASE_DIR) from core.filters import Publ...
35.398537
79
0.682642
2,097
19,363
6.133047
0.15403
0.032657
0.02908
0.044942
0.471036
0.367545
0.313039
0.2597
0.235907
0.218723
0
0.026677
0.198523
19,363
547
80
35.398537
0.802049
0.001394
0
0.278894
0
0
0.07789
0
0
0
0
0
0.263819
1
0.201005
false
0.005025
0.100503
0.002513
0.40201
0
0
0
0
null
0
0
0
0
0
0
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
47a004b5b100e5a05e55e6441b9b9ad3aa3c519b
207
py
Python
util.py
mittorn/python-vk-lib
0f5cd9b28d8ae994a395cf5c40b405a2d13686d5
[ "MIT" ]
1
2018-12-08T20:57:32.000Z
2018-12-08T20:57:32.000Z
util.py
mittorn/python-vk-lib
0f5cd9b28d8ae994a395cf5c40b405a2d13686d5
[ "MIT" ]
null
null
null
util.py
mittorn/python-vk-lib
0f5cd9b28d8ae994a395cf5c40b405a2d13686d5
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import vkexceptions def check_response(r): r.raise_for_status() if r.text.find("security_check") >= 0: raise exceptions.SecurityException()
15.923077
44
0.657005
27
207
4.888889
0.851852
0
0
0
0
0
0
0
0
0
0
0.011905
0.188406
207
12
45
17.25
0.77381
0.202899
0
0
0
0
0.08589
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
47ac7892032b4856d6a5a7ff6c9ccdb3bd86ce5a
13,150
py
Python
mutationCounter.py
jstapleton/Maynard-2015
72e18ec437aec49c44f7e7edd11cb1d57549884e
[ "MIT" ]
null
null
null
mutationCounter.py
jstapleton/Maynard-2015
72e18ec437aec49c44f7e7edd11cb1d57549884e
[ "MIT" ]
null
null
null
mutationCounter.py
jstapleton/Maynard-2015
72e18ec437aec49c44f7e7edd11cb1d57549884e
[ "MIT" ]
null
null
null
#!/usr/bin/env python ############################################################################# # mutationCounter.py # 2015 James A. Stapleton, Justin R. Klesmith # # This program takes short reads from shotgun sequencing of mutant # libraries and creates FASTQ files compatible with ENRICH. # # The p...
40.965732
155
0.531407
1,503
13,150
4.518962
0.170991
0.028269
0.009276
0.016932
0.349529
0.317285
0.29682
0.279888
0.265312
0.255448
0
0.022512
0.358175
13,150
320
156
41.09375
0.782227
0.1
0
0.361607
0
0
0.060595
0.016832
0
0
0
0
0
0
null
null
0
0.026786
null
null
0.004464
0
0
0
null
0
0
0
0
0
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
47ad410af3e3813aaca3910533a4e6993732878d
6,397
py
Python
Scripts/der_sunspec_reset_functions.py
jayatsandia/svp_additional_tools
94e656c1f324a7fe66242087a771b4d8d8e96672
[ "Apache-2.0" ]
null
null
null
Scripts/der_sunspec_reset_functions.py
jayatsandia/svp_additional_tools
94e656c1f324a7fe66242087a771b4d8d8e96672
[ "Apache-2.0" ]
null
null
null
Scripts/der_sunspec_reset_functions.py
jayatsandia/svp_additional_tools
94e656c1f324a7fe66242087a771b4d8d8e96672
[ "Apache-2.0" ]
null
null
null
''' Copyright (c) 2015, Sandia National Labs and SunSpec Alliance 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, this list of cond...
37.852071
114
0.703455
897
6,397
4.901895
0.302118
0.070048
0.03002
0.038208
0.292245
0.224016
0.166705
0.166705
0.132136
0.113714
0
0.015533
0.174769
6,397
168
115
38.077381
0.81739
0.016101
0
0.095745
0
0
0.242739
0.106632
0
0
0
0
0
0
null
null
0.010638
0.074468
null
null
0.010638
0
0
0
null
0
0
0
0
0
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
47afce7ce7f971010bb816766a5f78ec17b8953f
7,226
py
Python
render.py
mitou/meikan
b19c4dfd0aa3ce35ab1a7dbdedabe2257b82878b
[ "MIT" ]
3
2016-06-12T07:17:10.000Z
2020-10-25T00:23:10.000Z
render.py
mitou/meikan
b19c4dfd0aa3ce35ab1a7dbdedabe2257b82878b
[ "MIT" ]
26
2016-04-12T09:29:09.000Z
2016-12-06T10:14:48.000Z
render.py
mitou/meikan
b19c4dfd0aa3ce35ab1a7dbdedabe2257b82878b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pykintone from mymodel import Person from cache import get_all from jinja2.environment import Environment from jinja2 import Template, FileSystemLoader import codecs import os import argparse import unicodecsv as csv from cStringIO import StringIO OUTPUT_DIR = './output' # OUTPUT_DIR =...
29.02008
132
0.556878
981
7,226
3.993884
0.224261
0.012251
0.009188
0.01072
0.243492
0.156457
0.117662
0.108984
0.082185
0.058959
0
0.011954
0.2938
7,226
248
133
29.137097
0.75583
0.048159
0
0.245
0
0
0.113183
0.004661
0
0
0
0.004032
0.01
0
null
null
0.005
0.065
null
null
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
47b06a35489a0aa516c64fac4a43e7c129ddab35
1,210
py
Python
Misc/jython_checker.py
jeff5/jython-whinchat
65d8e5268189f8197295ff2d91be3decb1ee0081
[ "CNRI-Jython" ]
577
2020-06-04T16:34:44.000Z
2022-03-31T11:46:07.000Z
Misc/jython_checker.py
jeff5/jython-whinchat
65d8e5268189f8197295ff2d91be3decb1ee0081
[ "CNRI-Jython" ]
174
2015-01-08T20:37:09.000Z
2020-06-03T16:48:59.000Z
Misc/jython_checker.py
jeff5/jython-whinchat
65d8e5268189f8197295ff2d91be3decb1ee0081
[ "CNRI-Jython" ]
162
2015-02-07T02:14:38.000Z
2020-05-30T16:42:03.000Z
import sys def usage(): print 'Usage: jython jython_checker.py <module name created by make_checker>' sys.exit(1) if not len(sys.argv) == 2: usage() checker_name = sys.argv[1].split('.')[0]#pop off the .py if needed try: checker = __import__(checker_name) except: print 'No module "%s" found' % chec...
26.304348
81
0.712397
160
1,210
5.16875
0.41875
0.053204
0.083434
0.038694
0.060459
0
0
0
0
0
0
0.004024
0.178512
1,210
45
82
26.888889
0.827968
0.020661
0
0.055556
0
0
0.128378
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1