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
67b54cd5388a46771bef0a7cf58975f2317fe9dd
3,090
py
Python
tests/test_features.py
kmike/morphine
30f06f348042fa67687f315151d00c0ed41c5c38
[ "MIT" ]
11
2015-03-24T12:17:17.000Z
2021-01-27T15:49:06.000Z
tests/test_features.py
kmike/morphine
30f06f348042fa67687f315151d00c0ed41c5c38
[ "MIT" ]
2
2018-11-04T15:18:29.000Z
2020-06-19T07:41:19.000Z
tests/test_features.py
kmike/morphine
30f06f348042fa67687f315151d00c0ed41c5c38
[ "MIT" ]
3
2015-11-04T19:00:55.000Z
2017-05-11T13:26:57.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from morphine import features def _parse(tokens, morph): return [morph.parse(tok) for tok in tokens] def test_bias(morph): assert features.bias([], []) == {'bias': 1} assert features.bias(['Привет'], morph.parse('Привет')) == {'bias': 1} d...
30.9
93
0.651456
407
3,090
4.80344
0.162162
0.085934
0.040921
0.06445
0.546292
0.424041
0.351407
0.219949
0.219949
0.201535
0
0.008284
0.179612
3,090
99
94
31.212121
0.762919
0.006796
0
0.253521
0
0
0.1621
0
0
0
0
0
0.478873
1
0.140845
false
0
0.028169
0.014085
0.183099
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
67b876f67f4b3f15419fc94050b8e3dbe67f3392
1,390
py
Python
lib/build/tools/rails2grunt.py
ozaytsev86/cartodb
fc43fd448b424dc4524b5d857546c13a9a53cfd0
[ "BSD-3-Clause" ]
1
2018-05-30T22:49:11.000Z
2018-05-30T22:49:11.000Z
lib/build/tools/rails2grunt.py
ozaytsev86/cartodb
fc43fd448b424dc4524b5d857546c13a9a53cfd0
[ "BSD-3-Clause" ]
1
2019-11-25T16:45:39.000Z
2019-11-25T16:45:39.000Z
lib/build/tools/rails2grunt.py
techonomics69/cartodb
d9f16023ecc8956810b3afe86cc1203817076ab3
[ "BSD-3-Clause" ]
16
2017-01-12T09:59:33.000Z
2019-04-18T21:04:39.000Z
import sys import os.path if (len(sys.argv) != 4): print "rails2grunt type rails_file grunt.json" sys.exit() file_type = sys.argv[1] rails_file = sys.argv[2]; rails_path = os.path.abspath(rails_file) name = os.path.basename(rails_file).split('.')[0] def normalize(f): return f \ .replace('../../....
31.590909
78
0.469065
159
1,390
4.031447
0.333333
0.102964
0.074883
0.131045
0.25117
0.25117
0.212168
0.212168
0.212168
0.212168
0
0.011305
0.3
1,390
43
79
32.325581
0.647482
0
0
0.2
0
0
0.219899
0.087239
0
0
0
0
0
0
null
null
0
0.057143
null
null
0.057143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
67ba8fedd77fa9834c2e0dd83d563554c7f901a8
2,304
py
Python
python/test/test_W1BS_Bench.py
albutko/vlb
437245c0991948eeb36a277937a7e67d389041e4
[ "BSD-2-Clause" ]
1
2019-12-13T18:08:50.000Z
2019-12-13T18:08:50.000Z
python/test/test_W1BS_Bench.py
albutko/vlb
437245c0991948eeb36a277937a7e67d389041e4
[ "BSD-2-Clause" ]
null
null
null
python/test/test_W1BS_Bench.py
albutko/vlb
437245c0991948eeb36a277937a7e67d389041e4
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # =========================================================== # File Name: test_W1BS_Bench.py # Author: Xu Zhang, Columbia University # Creation Date: 01-25-2019 # Last Modified: Sun Mar 3 22:43:21 2019 # # Usage: python test_W1BS_Bench.py # Description: Test baseline ma...
29.164557
112
0.697049
315
2,304
4.822222
0.320635
0.072416
0.063199
0.082949
0.188282
0.127716
0.110599
0.089533
0
0
0
0.02439
0.163628
2,304
78
113
29.538462
0.763882
0.286458
0
0
0
0
0.012338
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.025641
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
67bccbaf0223abaea081c5d88e51c80610bb4932
2,826
py
Python
add_interface.py
labeveryday/startnow-with-restconf
08fa1568145a7879af7377a33be4efadce7bf494
[ "BSD-3-Clause" ]
null
null
null
add_interface.py
labeveryday/startnow-with-restconf
08fa1568145a7879af7377a33be4efadce7bf494
[ "BSD-3-Clause" ]
null
null
null
add_interface.py
labeveryday/startnow-with-restconf
08fa1568145a7879af7377a33be4efadce7bf494
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python """ Copyright 2016 Cisco Systems All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of co...
34.048193
88
0.698868
370
2,826
5.3
0.510811
0.030597
0.013259
0.016318
0
0
0
0
0
0
0
0.017929
0.210545
2,826
82
89
34.463415
0.861049
0.543878
0
0
0
0
0.354918
0.131967
0
0
0
0
0
1
0.026316
false
0.078947
0.052632
0
0.078947
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
67c21d603bda025f1e0570ffe862b9b8eaddfd49
273
py
Python
apps/manufacturers/forms.py
theSoloBrewer/Project_Management
20db0abc400568da593bdea075b414dfde89f564
[ "Apache-2.0" ]
null
null
null
apps/manufacturers/forms.py
theSoloBrewer/Project_Management
20db0abc400568da593bdea075b414dfde89f564
[ "Apache-2.0" ]
null
null
null
apps/manufacturers/forms.py
theSoloBrewer/Project_Management
20db0abc400568da593bdea075b414dfde89f564
[ "Apache-2.0" ]
null
null
null
from django import forms from .models import * class manufactureDetailsForm(forms.ModelForm): class Meta: model = Manufacture fields = '__all__' widgets = { 'name': forms.TextInput(attrs={'class':'form-control'}), }
24.818182
68
0.593407
25
273
6.32
0.76
0
0
0
0
0
0
0
0
0
0
0
0.296703
273
11
69
24.818182
0.822917
0
0
0
0
0
0.10219
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
67c772550e0386bf95141cf0f67cfae505566417
971
py
Python
ciphers/speck.py
hadipourh/solvatore
ed96778295d07fb92d5587215458cb8a29150296
[ "MIT" ]
19
2018-07-18T11:57:42.000Z
2021-12-23T15:01:13.000Z
ciphers/speck.py
hadipourh/solvatore
ed96778295d07fb92d5587215458cb8a29150296
[ "MIT" ]
5
2018-07-24T11:02:44.000Z
2020-02-07T06:29:45.000Z
ciphers/speck.py
hadipourh/solvatore
ed96778295d07fb92d5587215458cb8a29150296
[ "MIT" ]
8
2018-08-23T06:48:25.000Z
2021-05-10T01:56:32.000Z
from cipher_description import CipherDescription def generate_speck_version(n,a,b): speck = CipherDescription(2*n) s = ['s{}'.format(i) for i in range(2*n)] ''' if n == 16: a = 7 b = 2 else: a = 8 b = 3 ''' x = s[n:] y = s[:n] if n%a==0: ...
23.119048
71
0.480947
155
971
2.954839
0.232258
0.122271
0.078603
0.144105
0.521834
0.443231
0.443231
0.395197
0.21179
0.170306
0
0.017378
0.348095
971
41
72
23.682927
0.706161
0
0
0.25
1
0
0.017084
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
67ca065bb50cf86444dd5d25cf8d90061f7b2528
3,500
py
Python
csv_downloader.py
mcgarryandrew/product_intel
575c61c5b0434b4efdee49b9464aece8c4f8cd45
[ "MIT" ]
3
2020-07-24T13:24:05.000Z
2021-03-22T03:09:24.000Z
csv_downloader.py
mcgarryandrew/product_intel
575c61c5b0434b4efdee49b9464aece8c4f8cd45
[ "MIT" ]
1
2021-11-25T14:57:09.000Z
2021-11-25T14:57:09.000Z
csv_downloader.py
mcgarryandrew/product_intel
575c61c5b0434b4efdee49b9464aece8c4f8cd45
[ "MIT" ]
2
2020-07-27T09:27:26.000Z
2021-03-22T03:09:26.000Z
#!/bin/sh import os import env import time import glob from datetime import date from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.chrome.options import Options def DownloadMerchantCSV(DL,NEW_NAME): headless = 1 DOWNLOAD_PATH = DL chrome_options = Op...
55.555556
572
0.750857
451
3,500
5.665188
0.414634
0.045793
0.059883
0.066928
0.283757
0.277887
0.262231
0.187084
0.16047
0.16047
0
0.078583
0.112857
3,500
62
573
56.451613
0.744283
0.030857
0
0.173077
0
0.057692
0.445986
0.236128
0
0
0
0
0
1
0.019231
false
0.096154
0.153846
0
0.192308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
67d00393d9068cb97bb964aa843d3ca85a89113b
371
py
Python
specialized-skills/artificial-intelligence/statistics-and-machine-learning/correlation-and-regression-quick-recap-3.py
tobal/hackerrank
6ab9f4263d8e83af03249818a2489cff3f42a890
[ "MIT" ]
1
2018-01-05T06:47:14.000Z
2018-01-05T06:47:14.000Z
specialized-skills/artificial-intelligence/statistics-and-machine-learning/correlation-and-regression-quick-recap-3.py
tobal/hackerrank
6ab9f4263d8e83af03249818a2489cff3f42a890
[ "MIT" ]
null
null
null
specialized-skills/artificial-intelligence/statistics-and-machine-learning/correlation-and-regression-quick-recap-3.py
tobal/hackerrank
6ab9f4263d8e83af03249818a2489cff3f42a890
[ "MIT" ]
null
null
null
x = [15 ,12, 8, 8, 7, 7, 7, 6, 5, 3] y = [10 ,25, 17, 11, 13, 17, 20, 13, 9, 15] n = len(x) xy = [x[i] * y[i] for i in range(n)] x_square = [x[i] * x[i] for i in range(n)] avg_x = sum(x) / n avg_y = sum(y) / n avg_xy = sum(xy) / n avg_xsqr = sum(x_square) / n m = ((avg_x * avg_y) - avg_xy) / (avg_x ** 2 - avg_xsqr) c =...
28.538462
56
0.512129
91
371
1.945055
0.351648
0.090395
0.056497
0.079096
0.146893
0.146893
0
0
0
0
0
0.125
0.245283
371
12
57
30.916667
0.507143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
67d913d0b73cfc4e551c1a9939a2583964a7ba0a
843
py
Python
twatter/queries/general.py
sorja/crispy-guacamole
fa0ec8bb100507394db8cf412a7b81f4f0b163b3
[ "MIT" ]
1
2016-10-05T18:22:34.000Z
2016-10-05T18:22:34.000Z
twatter/queries/general.py
sorja/crispy-guacamole
fa0ec8bb100507394db8cf412a7b81f4f0b163b3
[ "MIT" ]
1
2016-09-25T11:52:28.000Z
2016-10-05T18:38:55.000Z
twatter/queries/general.py
sorja/twatter
fa0ec8bb100507394db8cf412a7b81f4f0b163b3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from twatter.twatter.utils import query class InfoTwaats(query.SQLQuery): name = 'info_twaats' sql = ''' SELECT * FROM twaat ''' def __init__(self): self.params = () class InfoFollowers(query.SQLQuery): name = 'info_followers' sql = ''' ...
20.560976
66
0.557533
87
843
5.149425
0.448276
0.116071
0.151786
0.140625
0.174107
0.174107
0
0
0
0
0
0.001727
0.313167
843
40
67
21.075
0.772021
0.024911
0
0.466667
0
0
0.323171
0
0
0
0
0
0
1
0.133333
false
0
0.033333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
67dad18f916debcea470f3b25b2cbb5a40ce955b
2,182
py
Python
gdpr_assist/migrations/0002_auto_20200727_1254.py
minervaproject/django-gdpr-assist
2c498c1faee5f57a7e493aa912c33466184bb6cf
[ "BSD-3-Clause" ]
null
null
null
gdpr_assist/migrations/0002_auto_20200727_1254.py
minervaproject/django-gdpr-assist
2c498c1faee5f57a7e493aa912c33466184bb6cf
[ "BSD-3-Clause" ]
3
2020-07-15T11:45:35.000Z
2020-09-22T16:05:39.000Z
gdpr_assist/migrations/0002_auto_20200727_1254.py
minervaproject/django-gdpr-assist
2c498c1faee5f57a7e493aa912c33466184bb6cf
[ "BSD-3-Clause" ]
2
2020-03-04T13:07:54.000Z
2020-09-07T13:04:02.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.29 on 2020-07-27 12:54 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ...
39.672727
324
0.61549
213
2,182
6.14554
0.483568
0.027502
0.051948
0.064171
0.147441
0.089381
0
0
0
0
0
0.019159
0.258478
2,182
54
325
40.407407
0.789864
0.031622
0
0.255319
1
0
0.185308
0
0
0
0
0
0
1
0
false
0
0.106383
0
0.170213
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
67ddc83857eb0c75038970518648cb718406787f
2,212
py
Python
iambic/ast/base.py
seandstewart/iambic
94c2bfd950051b1fa1bbe3f7b25407ec21584fec
[ "MIT" ]
1
2019-09-12T02:23:30.000Z
2019-09-12T02:23:30.000Z
iambic/ast/base.py
seandstewart/iambic
94c2bfd950051b1fa1bbe3f7b25407ec21584fec
[ "MIT" ]
null
null
null
iambic/ast/base.py
seandstewart/iambic
94c2bfd950051b1fa1bbe3f7b25407ec21584fec
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- import enum import re __all__ = ( "NodeType", "NodeToken", "NODE_PATTERN", "JOIN_TOKENS", ) class NodeType(str, enum.Enum): """An enumeration of the different types of nodes in a script.""" ACT = "act" SCENE = "scene" PROL = "prologue" ...
24.853933
74
0.366637
181
2,212
4.414365
0.458564
0.007509
0.027534
0.032541
0.065081
0.065081
0
0
0
0
0
0.010509
0.440778
2,212
88
75
25.136364
0.632983
0.075497
0
0
0
0
0.198917
0
0
0
0
0
0
1
0
false
0
0.057143
0
0.685714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
67de8c432d5fc0b20616e7f7b51cad6c6d6864c1
1,383
py
Python
tests/db_test.py
felbinger/FlaskBasic
803fc5b07638e7d85eddccd00ca20567e57519f0
[ "MIT" ]
2
2019-12-18T17:45:52.000Z
2020-04-21T12:45:32.000Z
tests/db_test.py
felbinger/FlaskBasic
803fc5b07638e7d85eddccd00ca20567e57519f0
[ "MIT" ]
null
null
null
tests/db_test.py
felbinger/FlaskBasic
803fc5b07638e7d85eddccd00ca20567e57519f0
[ "MIT" ]
null
null
null
from app.api import User, Role from uuid import UUID def test_create_models(client): assert client.db is not None def test_create_role(app, client): db = client.db with app.app_context(): role = Role(name='admin', description='Administrator') db.session.add(role) db.session.commi...
30.065217
68
0.627621
168
1,383
5.011905
0.303571
0.078385
0.046318
0.04038
0.24228
0.24228
0.182898
0.182898
0.182898
0.182898
0
0.002924
0.258134
1,383
45
69
30.733333
0.817739
0
0
0.277778
0
0
0.107014
0
0
0
0
0
0.25
1
0.083333
false
0.055556
0.055556
0
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
67f53b522ed582cc6cf09d05d2c1341c9e5c178e
2,996
py
Python
app/core/controllers/ChangeCurrencyController.py
jblanquicett92/currency_app
f118ae8488f33d8a23f9fed1e58214ad88184a79
[ "MIT" ]
1
2021-07-20T23:25:28.000Z
2021-07-20T23:25:28.000Z
app/core/controllers/ChangeCurrencyController.py
jblanquicett92/currency_app
f118ae8488f33d8a23f9fed1e58214ad88184a79
[ "MIT" ]
null
null
null
app/core/controllers/ChangeCurrencyController.py
jblanquicett92/currency_app
f118ae8488f33d8a23f9fed1e58214ad88184a79
[ "MIT" ]
null
null
null
from rest_framework import status from rest_framework.response import Response from ..models import Currency from ..test import TestCurrency from .CurrencyController import CurrencyController class ChangeCurrencyController: def exchange(request): change_currency_data = request.data bas...
49.933333
116
0.600134
324
2,996
5.256173
0.311728
0.061069
0.049325
0.073987
0.190253
0.062243
0
0
0
0
0
0.014793
0.323097
2,996
59
117
50.779661
0.824951
0.12283
0
0.1
0
0
0.175258
0.052692
0
0
0
0.016949
0
1
0.025
false
0
0.125
0
0.275
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
67f846bbf5f43cf60f6e4bbe03bb4068baeead19
323
py
Python
recommenders/script/creative/top_pop_track.py
edervishaj/spotify-recsys-challenge
4077201ac7e4ed9da433bd10a92c183614182437
[ "Apache-2.0" ]
3
2018-10-12T20:19:57.000Z
2019-12-11T01:11:38.000Z
recommenders/script/creative/top_pop_track.py
kiminh/spotify-recsys-challenge
5e7844a77ce3c26658400f161d2d74d682f30e69
[ "Apache-2.0" ]
null
null
null
recommenders/script/creative/top_pop_track.py
kiminh/spotify-recsys-challenge
5e7844a77ce3c26658400f161d2d74d682f30e69
[ "Apache-2.0" ]
4
2018-10-27T20:30:18.000Z
2020-10-14T07:43:27.000Z
import sys from recommenders.script.main.top_pop_p import Top_pop_p import scipy.sparse as sps from utils.definitions import ROOT_DIR arg = sys.argv[1:] mode = arg[0] t = Top_pop_p() eurm = t.get_top_pop_track(mode) sps.save_npz(ROOT_DIR+"/recommenders/script/creative/"+mode+"_npz/top_pop_2_track_"+mode+".npz", eur...
23.071429
102
0.773994
59
323
3.949153
0.508475
0.128755
0.090129
0.111588
0
0
0
0
0
0
0
0.010309
0.099071
323
13
103
24.846154
0.790378
0
0
0
0
0
0.170279
0.157895
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
67f8b0e26b88bf4a186063d8556e7333d63942e3
525
py
Python
setup.py
sbellem/liboqs-python
5411ff220fe85610f73d844995964d5867e57e93
[ "MIT" ]
null
null
null
setup.py
sbellem/liboqs-python
5411ff220fe85610f73d844995964d5867e57e93
[ "MIT" ]
null
null
null
setup.py
sbellem/liboqs-python
5411ff220fe85610f73d844995964d5867e57e93
[ "MIT" ]
null
null
null
from setuptools import find_packages from distutils.core import setup setup( name='liboqs-python', version='0.2.0', author='liboqs team', author_email='contact@openquantumsafe.org', packages=find_packages(exclude=('tests', 'docs', 'examples')), scripts=[], url='https://github.com/open-quan...
30.882353
103
0.712381
64
525
5.78125
0.734375
0.064865
0
0
0
0
0
0
0
0
0
0.006652
0.140952
525
16
104
32.8125
0.813747
0
0
0
0
0
0.432381
0.051429
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
67fda1fb74454bf49797f8438fad2414e8deb8f2
1,020
py
Python
integration-tests/test/test_propose.py
mebyz/rchain
7d7bbbb3b3162edcc2ad5c298558dd69e6a8456b
[ "Apache-2.0" ]
1
2020-11-17T01:10:26.000Z
2020-11-17T01:10:26.000Z
integration-tests/test/test_propose.py
mebyz/rchain
7d7bbbb3b3162edcc2ad5c298558dd69e6a8456b
[ "Apache-2.0" ]
null
null
null
integration-tests/test/test_propose.py
mebyz/rchain
7d7bbbb3b3162edcc2ad5c298558dd69e6a8456b
[ "Apache-2.0" ]
null
null
null
import os from random import Random from docker.client import DockerClient from .common import ( CommandLineOptions, ) from .conftest import testing_context from .rnode import docker_network_with_started_bootstrap from .wait import ( wait_for_approved_block_received_handler_state, ) def test_propose(command...
40.8
122
0.766667
124
1,020
5.951613
0.403226
0.088076
0.04607
0.065041
0.197832
0.108401
0.108401
0
0
0
0
0
0.158824
1,020
24
123
42.5
0.86014
0
0
0
0
0
0.051961
0.02549
0
0
0
0
0
1
0.05
false
0
0.35
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
db0052b356ed3f7b8adf8459e27f0e2eaf8d1877
2,228
py
Python
ucscsdk/mometa/comm/CommSnmpCommunity.py
parag-may4/ucscsdk
2ea762fa070330e3a4e2c21b46b157469555405b
[ "Apache-2.0" ]
9
2016-12-22T08:39:25.000Z
2019-09-10T15:36:19.000Z
ucscsdk/mometa/comm/CommSnmpCommunity.py
parag-may4/ucscsdk
2ea762fa070330e3a4e2c21b46b157469555405b
[ "Apache-2.0" ]
10
2017-01-31T06:59:56.000Z
2021-11-09T09:14:37.000Z
ucscsdk/mometa/comm/CommSnmpCommunity.py
parag-may4/ucscsdk
2ea762fa070330e3a4e2c21b46b157469555405b
[ "Apache-2.0" ]
13
2016-11-14T07:42:58.000Z
2022-02-10T17:32:05.000Z
"""This module contains the general information for CommSnmpCommunity ManagedObject.""" from ...ucscmo import ManagedObject from ...ucsccoremeta import UcscVersion, MoPropertyMeta, MoMeta from ...ucscmeta import VersionMeta class CommSnmpCommunityConsts(): pass class CommSnmpCommunity(ManagedObject): """Th...
47.404255
249
0.645422
221
2,228
6.375566
0.375566
0.109297
0.119234
0.17885
0.185947
0.143364
0
0
0
0
0
0.032397
0.168761
2,228
46
250
48.434783
0.728402
0.051167
0
0
0
0.0625
0.254044
0.113226
0
0
0.00999
0
0
1
0.03125
false
0.03125
0.09375
0
0.34375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db04aab50b2027949df8973274edc7fe9af8fafc
1,572
py
Python
sktime/tests/test_RandomIntervalSegmenter.py
TonyBagnall/sktime
837a77026be3e53511c3d6139ddad14a39351bf5
[ "BSD-3-Clause" ]
2
2019-08-16T13:18:06.000Z
2019-09-24T06:12:33.000Z
sktime/tests/test_RandomIntervalSegmenter.py
TonyBagnall/boss_fork
837a77026be3e53511c3d6139ddad14a39351bf5
[ "BSD-3-Clause" ]
null
null
null
sktime/tests/test_RandomIntervalSegmenter.py
TonyBagnall/boss_fork
837a77026be3e53511c3d6139ddad14a39351bf5
[ "BSD-3-Clause" ]
2
2019-08-24T12:06:15.000Z
2020-01-09T07:32:40.000Z
from ..transformers.series_to_tabular import RandomIntervalSegmenter from ..utils.testing import generate_df_from_array from ..utils.transformations import tabularize import pytest import pandas as pd import numpy as np N_ITER = 10 # Test output format and dimensions. def test_output_format_dim(): for n_cols in ...
35.727273
92
0.679389
219
1,572
4.639269
0.356164
0.07874
0.129921
0.056102
0.248032
0.173228
0.129921
0.129921
0.129921
0
0
0.019769
0.227735
1,572
43
93
36.55814
0.817133
0.084606
0
0.129032
1
0
0.017422
0
0
0
0
0
0.096774
1
0.096774
false
0
0.193548
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db05bb9b2be440dac1922714cb50378a172916c8
347
py
Python
flamingo/core/utils/aiohttp.py
rohieb/flamingo
5212a1c201144715ff47c94e8e7724f5304be5c1
[ "Apache-2.0" ]
null
null
null
flamingo/core/utils/aiohttp.py
rohieb/flamingo
5212a1c201144715ff47c94e8e7724f5304be5c1
[ "Apache-2.0" ]
null
null
null
flamingo/core/utils/aiohttp.py
rohieb/flamingo
5212a1c201144715ff47c94e8e7724f5304be5c1
[ "Apache-2.0" ]
null
null
null
from functools import wraps def no_cache(): def wrapper(coroutine): @wraps(coroutine) async def wrapped(*args): response = await coroutine(*args) response.headers['Cache-Control'] = 'no-cache, no-store, must-revalidate' # NOQA return response return w...
21.6875
93
0.610951
37
347
5.702703
0.567568
0.066351
0
0
0
0
0
0
0
0
0
0
0.29683
347
15
94
23.133333
0.864754
0.011527
0
0
0
0
0.140762
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
db1759f3dd94b6e943b2e78246c39c49abe00565
214
py
Python
employer db lookup.py
jdaries/name_cleaning
b28d7cbe1764679489d28e2f70ddccb6459bceba
[ "MIT" ]
null
null
null
employer db lookup.py
jdaries/name_cleaning
b28d7cbe1764679489d28e2f70ddccb6459bceba
[ "MIT" ]
null
null
null
employer db lookup.py
jdaries/name_cleaning
b28d7cbe1764679489d28e2f70ddccb6459bceba
[ "MIT" ]
null
null
null
import sqlite3 conn = sqlite3.connect("employer_names.db") c = conn.cursor() c.execute("SELECT distinct RAW_NAME, clean_name from employer_pairs where CLEAN_NAME like '%Broad%' order by CLEAN_NAME") c.fetchall()
26.75
121
0.775701
33
214
4.848485
0.69697
0.16875
0
0
0
0
0
0
0
0
0
0.010526
0.11215
214
7
122
30.571429
0.831579
0
0
0
0
0
0.586854
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db1c1ea0496517057ec69ecde1c9492c3c67b3fb
2,081
py
Python
samples/Taxi_Location.py
tng016/amazon-kinesis-client-python
e9b733dcd36cf43a91094a10475e678640e9c056
[ "Apache-2.0" ]
null
null
null
samples/Taxi_Location.py
tng016/amazon-kinesis-client-python
e9b733dcd36cf43a91094a10475e678640e9c056
[ "Apache-2.0" ]
null
null
null
samples/Taxi_Location.py
tng016/amazon-kinesis-client-python
e9b733dcd36cf43a91094a10475e678640e9c056
[ "Apache-2.0" ]
null
null
null
import numpy as np import random import json class Taxi_Location: num = 0 max_lat = 40.89985962 min_lat = 40.52729818 max_lon = -73.70907059 min_lon = -74.22954655 mean_deglat_per_10s = 4.99062E-04 mean_deglon_per_10s = 7.058267E-04 def __init__(self): self.id = Taxi_Location.n...
45.23913
144
0.704469
300
2,081
4.56
0.176667
0.289474
0.131579
0.078947
0.732456
0.663743
0.467105
0.428363
0.244152
0.244152
0
0.061983
0.185968
2,081
46
145
45.23913
0.745573
0.128784
0
0.108108
0
0
0.00497
0
0
0
0
0
0
1
0.108108
false
0
0.081081
0.054054
0.459459
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db1df1c9637f0bb25212f672d38736b323b4813e
7,441
py
Python
myhero.py
apiontek/err-myhero
bc94c7899deb103d7a5a434226f5803ed7d13dee
[ "MIT" ]
null
null
null
myhero.py
apiontek/err-myhero
bc94c7899deb103d7a5a434226f5803ed7d13dee
[ "MIT" ]
null
null
null
myhero.py
apiontek/err-myhero
bc94c7899deb103d7a5a434226f5803ed7d13dee
[ "MIT" ]
null
null
null
import re import random from errbot import BotPlugin, botcmd, re_botcmd CONFIG_TEMPLATE = { 'HERO_NAMES_GROUP_1': ['Beat', 'Big', 'Blast', 'Bold', 'Bolt', 'Brick', 'Buck',...
34.133028
121
0.286521
450
7,441
4.622222
0.54
0.038942
0.040385
0.031731
0.217788
0.200481
0.200481
0.148558
0.148558
0.130769
0
0.011573
0.605161
7,441
217
122
34.290323
0.696392
0.059132
0
0.179104
0
0
0.136572
0.003296
0
0
0
0
0
1
0.034826
false
0
0.014925
0.004975
0.094527
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db1facbfb70fe0e759a26960ef0bae342ea05756
415
py
Python
src/tests/test_obj_id_manager.py
spacefishy/tmtccmd
ffb864dd2731af39cf05c91a49e4f4235ba66fba
[ "Apache-2.0" ]
2
2021-05-16T21:09:39.000Z
2021-07-22T18:06:48.000Z
src/tests/test_obj_id_manager.py
robamu-org/tmtccmd
7b8b936f0d18fdbd375da92d43ecdd37d71ded57
[ "Apache-2.0" ]
8
2021-09-06T17:23:32.000Z
2022-03-04T13:41:52.000Z
src/tests/test_obj_id_manager.py
robamu-org/tmtccmd
7b8b936f0d18fdbd375da92d43ecdd37d71ded57
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from tmtccmd.core.object_id_manager import insert_object_id, get_object_id_info TEST_ID_0 = bytes([0x00, 0x01, 0x02, 0x03]) class TestObjIdManager(TestCase): def test_obj_id_manager(self): insert_object_id(object_id=TEST_ID_0, object_id_info=["TEST_ID_0"]) info_list ...
34.583333
79
0.766265
68
415
4.220588
0.382353
0.222997
0.121951
0.10453
0.236934
0.132404
0
0
0
0
0
0.05042
0.139759
415
11
80
37.727273
0.753501
0
0
0
0
0
0.043373
0
0
0
0.038554
0
0.125
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
db20e129712eee1f82c4b4d34b6a092777c8e3e0
12,178
py
Python
tuning_XGBoost_params.py
mathxyz/stock2
1e07156dea37f987efbc03025693b9ca2acf3f96
[ "MIT" ]
92
2018-03-01T20:23:45.000Z
2022-01-02T02:42:03.000Z
tuning_XGBoost_params.py
mathxyz/stock2
1e07156dea37f987efbc03025693b9ca2acf3f96
[ "MIT" ]
1
2019-09-20T03:24:57.000Z
2019-09-20T18:43:06.000Z
tuning_XGBoost_params.py
mathxyz/stock2
1e07156dea37f987efbc03025693b9ca2acf3f96
[ "MIT" ]
64
2018-03-01T21:07:02.000Z
2022-02-04T19:59:19.000Z
""" General Approach for Parameter Tuning We will use an approach similar to that of GBM here. The various steps to be performed are: 1.Choose a relatively high learning rate. Generally a learning rate of 0.1 works but somewhere between 0.05 to 0.3 should work for different problems. Determine the optimum number of...
36.680723
111
0.758499
2,014
12,178
4.460278
0.225422
0.005789
0.034287
0.024602
0.322832
0.27552
0.27552
0.273851
0.273851
0.266503
0
0.043065
0.145755
12,178
331
112
36.791541
0.820436
0.019954
0
0.387755
0
0
0.081298
0
0
0
0
0
0
0
null
null
0
0.013605
null
null
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
db2346d44dbea9a905b0a59e4f37300d354797b6
4,500
py
Python
ambari-agent/src/main/python/ambari_agent/StatusCheck.py
telefonicaid/fiware-cosmos-ambari
a9b108dfa209c36be35f231f7aad75dd4500b837
[ "Apache-2.0" ]
null
null
null
ambari-agent/src/main/python/ambari_agent/StatusCheck.py
telefonicaid/fiware-cosmos-ambari
a9b108dfa209c36be35f231f7aad75dd4500b837
[ "Apache-2.0" ]
null
null
null
ambari-agent/src/main/python/ambari_agent/StatusCheck.py
telefonicaid/fiware-cosmos-ambari
a9b108dfa209c36be35f231f7aad75dd4500b837
[ "Apache-2.0" ]
2
2020-11-04T06:31:11.000Z
2020-11-06T11:02:21.000Z
#!/usr/bin/env python2.6 ''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "Licens...
31.468531
87
0.662222
541
4,500
5.489834
0.365989
0.03771
0.009091
0.010774
0.043771
0.027609
0.027609
0
0
0
0
0.002337
0.239333
4,500
142
88
31.690141
0.865323
0.005111
0
0.145631
0
0
0.085129
0
0
0
0
0
0
0
null
null
0
0.048544
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
db273b6b158f9da21e8327b6436c95f91d4e6860
1,331
py
Python
lib/reportlab/lib/abag.py
jwheare/digest
963a0f46862319aa499d4cbbfdbd6380287fc5a5
[ "BSD-3-Clause" ]
5
2016-05-08T23:51:38.000Z
2021-05-02T10:09:29.000Z
lib/reportlab/lib/abag.py
jwheare/digest
963a0f46862319aa499d4cbbfdbd6380287fc5a5
[ "BSD-3-Clause" ]
null
null
null
lib/reportlab/lib/abag.py
jwheare/digest
963a0f46862319aa499d4cbbfdbd6380287fc5a5
[ "BSD-3-Clause" ]
1
2018-01-16T16:03:44.000Z
2018-01-16T16:03:44.000Z
#Copyright ReportLab Europe Ltd. 2000-2004 #see license.txt for license details #history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/lib/abag.py __version__=''' $Id: abag.py 3004 2006-12-19 14:50:51Z rgbecker $ ''' class ABag: """ 'Attribute Bag' - a trivial BAG class...
30.25
101
0.533434
173
1,331
3.849711
0.508671
0.036036
0.042042
0
0
0
0
0
0
0
0
0.033623
0.307288
1,331
43
102
30.953488
0.68872
0.13148
0
0
0
0
0.105758
0
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
db2d15440b198061983a84aded84fb189a944610
2,204
py
Python
jc/parsers/kv.py
isotopp/jc
ac61e9ad2c9c4e864db02db04cbf907fb0efd99b
[ "MIT" ]
null
null
null
jc/parsers/kv.py
isotopp/jc
ac61e9ad2c9c4e864db02db04cbf907fb0efd99b
[ "MIT" ]
null
null
null
jc/parsers/kv.py
isotopp/jc
ac61e9ad2c9c4e864db02db04cbf907fb0efd99b
[ "MIT" ]
null
null
null
"""jc - JSON Convert `Key/Value` file parser Supports files containing simple key/value pairs. Delimiter can be `=` or `:`. Missing values are supported. Comment prefix can be `#` or `;`. Comments must be on their own line. Note: Values starting and ending with quotation marks will have the marks removed. If you woul...
24.764045
73
0.640653
288
2,204
4.871528
0.506944
0.034212
0.025659
0.025659
0.058446
0.058446
0.058446
0.058446
0.058446
0
0
0.009762
0.256352
2,204
88
74
25.045455
0.846248
0.771779
0
0
0
0
0.285714
0.053571
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
db30e26751a98d2767b76188dd8f80c80bf284f0
3,472
py
Python
python/scipy/integrate.py
kbroman/UW-Madison-swc-boot-camps
a1c4b98c74afc06dfc34d64b066c4e5ffebb5aba
[ "CC-BY-3.0" ]
18
2016-11-20T17:10:22.000Z
2021-09-10T05:40:06.000Z
lessons/thw-scipy/integrate.py
BernhardKonrad/2014-02-22-SFU
25cfac5f703943ddaa98cc30bb267eacba48d07f
[ "CC-BY-3.0" ]
8
2015-01-13T21:29:54.000Z
2016-08-01T10:26:45.000Z
lessons/thw-scipy/integrate.py
BernhardKonrad/2014-02-22-SFU
25cfac5f703943ddaa98cc30bb267eacba48d07f
[ "CC-BY-3.0" ]
16
2015-01-15T15:31:52.000Z
2016-06-29T19:15:47.000Z
#The Hacker Within: Python Boot Camp 2010 - Session 07 - Using SciPy. #Presented by Anthony Scopatz. # #SciPy Integration, run before you glide. #Tools used to calculate numerical, definite integrals may be found in the 'integrate' module. import scipy.integrate #For kicks, let's also grab import scipy.special import...
35.428571
135
0.692684
603
3,472
3.973466
0.353234
0.064274
0.013773
0.025042
0.131469
0.056761
0.03172
0.03172
0.03172
0.03172
0
0.029665
0.165035
3,472
97
136
35.793814
0.796826
0.472638
0
0.297872
0
0
0.303889
0
0
0
0
0
0
1
0.085106
false
0
0.06383
0.085106
0.234043
0.553191
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
db3130137c4917d353e64413b13734ab6bcfc844
1,019
py
Python
releases/nmapScannerV1.py
hadhub/portScannerNmap
f272ad6d298727b72d98fceba1aa3a65ba5b815c
[ "MIT" ]
4
2021-06-04T12:16:48.000Z
2021-06-07T19:02:30.000Z
releases/nmapScannerV1.py
hadhub/portScannerNmap
f272ad6d298727b72d98fceba1aa3a65ba5b815c
[ "MIT" ]
null
null
null
releases/nmapScannerV1.py
hadhub/portScannerNmap
f272ad6d298727b72d98fceba1aa3a65ba5b815c
[ "MIT" ]
null
null
null
import nmap # Création de l'objet scanner = nmap.PortScanner() # Input & Cast ip_addr = input("Target IP : ") type(ip_addr) # Display Options resp = input("""\n Options : 1)SYN ACK Scan 2)Comprehensive Scan \n""") # Scan de port : SYN if resp == '1': print("Nmap Version: ", scanner...
30.878788
77
0.624141
143
1,019
4.34965
0.391608
0.096463
0.125402
0.041801
0.559486
0.559486
0.559486
0.559486
0.559486
0.559486
0
0.018382
0.199215
1,019
32
78
31.84375
0.743873
0.140334
0
0.434783
0
0
0.281106
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0.478261
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
db316cad441ec3867aad38eaa79eb38053f2d530
1,158
py
Python
website/urls.py
UmarjonRajabov/Website-backend
cec2eff3326f501c21c037d649487fc4dfe5d8e1
[ "MIT" ]
null
null
null
website/urls.py
UmarjonRajabov/Website-backend
cec2eff3326f501c21c037d649487fc4dfe5d8e1
[ "MIT" ]
3
2021-06-08T22:17:21.000Z
2022-03-12T00:46:32.000Z
website/urls.py
UmarjonRajabov/Website-backend
cec2eff3326f501c21c037d649487fc4dfe5d8e1
[ "MIT" ]
null
null
null
from django.urls import include, path from rest_framework import routers from rest_framework.authtoken.views import obtain_auth_token # <-- Here from rest_framework_simplejwt import views as jwt_views from rest_framework.settings import api_settings from django.contrib import admin from service.views import HelloV...
37.354839
91
0.74266
155
1,158
5.412903
0.380645
0.05006
0.081049
0.052443
0
0
0
0
0
0
0
0
0.120035
1,158
31
92
37.354839
0.823356
0.107945
0
0
0
0
0.195335
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
db321115ca02b6cc2009413fc97102171502738b
1,842
py
Python
lib/database.py
VinylChloride/EHentaiSpider
586b13874511ca975e1248680f4341cd20649a3b
[ "MIT" ]
2
2019-06-08T03:49:59.000Z
2019-11-18T13:25:47.000Z
lib/database.py
VinylChloride/EHentaiSpider
586b13874511ca975e1248680f4341cd20649a3b
[ "MIT" ]
null
null
null
lib/database.py
VinylChloride/EHentaiSpider
586b13874511ca975e1248680f4341cd20649a3b
[ "MIT" ]
null
null
null
#coding:utf-8 #Author : VinylChloride import sqlite3 import os import sys #Define Log Module import logging if (not os.path.exists("./log") or os.path.isfile("./log")): os.mkdir("./log") logFileName = (str(time.ctime() + "_SQLite_Log.log").replace(":","-").replace(" ","")) logger = logging.getLogger("EHentaiMain") ...
27.909091
145
0.704126
229
1,842
5.550218
0.388646
0.047207
0.033045
0.035405
0.148702
0.097561
0
0
0
0
0
0.00691
0.135722
1,842
65
146
28.338462
0.791457
0.032573
0
0.1
0
0
0.210911
0
0
0
0
0
0
0
null
null
0.02
0.08
null
null
0.06
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
db3230df1e9150f2b44481d7410dd37886df6e3a
2,142
py
Python
week4/task24.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
null
null
null
week4/task24.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
null
null
null
week4/task24.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
1
2021-08-18T00:58:27.000Z
2021-08-18T00:58:27.000Z
# ----------------------------------------------------------- # Copyright (c) 2021. Danil Smirnov # Write a program that reads the names of the two primary # colors for mixing. If the user enters anything other than # red, blue, or yellow, the program should display an error # message. Otherwise, the ...
44.625
99
0.576564
263
2,142
4.456274
0.262357
0.145904
0.179181
0.087031
0.462457
0.341297
0.311433
0.297782
0.231229
0.231229
0
0.002449
0.237628
2,142
47
100
45.574468
0.715248
0.20915
0
0
0
0
0.104637
0
0
0
0
0
0
1
0.2
false
0
0
0.133333
0.533333
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
db3334c3854aac0ea11b2b4acafb708815d6aa92
385
py
Python
common/settings.py
clearspending/api.clearspending.ru
ece8f9f5f1b37598cf12ad67e2a6da6214afc27c
[ "MIT" ]
1
2019-01-15T16:52:58.000Z
2019-01-15T16:52:58.000Z
common/settings.py
clearspending/api.clearspending.ru
ece8f9f5f1b37598cf12ad67e2a6da6214afc27c
[ "MIT" ]
null
null
null
common/settings.py
clearspending/api.clearspending.ru
ece8f9f5f1b37598cf12ad67e2a6da6214afc27c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # HINT: str.encode("UTF-8") MONGO_SERVER = '127.0.0.1' MONGO_PORT = 27017 MEMCACHED_SERVER = '127.0.0.1' MEMCACHED_PORT = 11211 SPHNX_IP = '127.0.0.1' SPHNX_PORT = 3312 SPHNX_LIMIT = 500 SPHNX_LIMIT_REPORT = 3000 MONGO_LIMIT_REPORT = 10000 DEBUG = False # True = crash on exceptions try: ...
19.25
43
0.709091
61
385
4.278689
0.622951
0.045977
0.057471
0.068966
0.091954
0
0
0
0
0
0
0.143302
0.166234
385
19
44
20.263158
0.669782
0.192208
0
0
0
0
0.087948
0
0
0
0
0
0
1
0
false
0.071429
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
e1db92ea6105f4f8f7cf9b1c40ccafb8775a6f04
774
py
Python
paper_rock_scissors.py
kotvictoria/jetbrains
558602ba9dc7b90a6e8c8cf2f81a4b8916f25a36
[ "MIT" ]
null
null
null
paper_rock_scissors.py
kotvictoria/jetbrains
558602ba9dc7b90a6e8c8cf2f81a4b8916f25a36
[ "MIT" ]
null
null
null
paper_rock_scissors.py
kotvictoria/jetbrains
558602ba9dc7b90a6e8c8cf2f81a4b8916f25a36
[ "MIT" ]
null
null
null
import random a = input() b = random.randint(1,3) #1 scissors, 2 paper, 3 rock if a == "scissors" and b == 3: print("Sorry, but computer chose rock") elif a == "scissors" and b == 2: print("Well done. Computer chose paper and failed") elif a == "scissors" and b == 1: print("There is a draw (scissors)") eli...
32.25
58
0.617571
129
774
3.705426
0.20155
0.075314
0.075314
0.08159
0.728033
0.167364
0
0
0
0
0
0.023333
0.224806
774
24
59
32.25
0.773333
0.034884
0
0
0
0
0.461847
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e1dea2ebf27f1fcc30674e299e603ef145175bad
873
py
Python
pschitt/tests/test_analysis.py
vuillaut/ImArray
b1a913c84141a4b6fef7077aa1066000e33439c4
[ "BSD-3-Clause" ]
5
2018-02-08T14:10:43.000Z
2020-12-18T10:46:00.000Z
pschitt/tests/test_analysis.py
vuillaut/ImArray
b1a913c84141a4b6fef7077aa1066000e33439c4
[ "BSD-3-Clause" ]
14
2017-09-27T10:26:37.000Z
2018-09-05T14:45:46.000Z
pschitt/tests/test_analysis.py
vuillaut/ImArray
b1a913c84141a4b6fef7077aa1066000e33439c4
[ "BSD-3-Clause" ]
5
2017-09-29T08:10:43.000Z
2018-05-04T13:46:19.000Z
from pschitt import analysis as ana import numpy as np def test_triggered_telescopes(): from pschitt import geometry as geo tel1 = geo.Telescope([10, 0, 0], [-1. / 3., 0, 2. / 3.]) tel2 = geo.Telescope([0, 10, 0], [-1. / 3., 0, 2. / 3.]) tel1.signal_hist = np.ones(len(tel1.pixel_tab)) tel2.sign...
29.1
70
0.623139
138
873
3.84058
0.224638
0.090566
0.022642
0.030189
0.698113
0.698113
0.698113
0.698113
0.698113
0.698113
0
0.086455
0.20504
873
29
71
30.103448
0.677233
0
0
0.666667
0
0
0
0
0
0
0
0
0.111111
1
0.111111
false
0
0.222222
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1dfbbe2bd9634451968bd59b02c06c850c806af
652
py
Python
var/spack/repos/builtin/packages/py-pyspellchecker/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/py-pyspellchecker/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-11-09T20:28:40.000Z
2022-03-15T03:26:33.000Z
var/spack/repos/builtin/packages/py-pyspellchecker/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-02-08T20:37:20.000Z
2019-03-31T15:19:26.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class PyPyspellchecker(PythonPackage): """Pure python spell checker based on work by Pet...
34.315789
95
0.736196
80
652
5.975
0.8
0.008368
0.012552
0
0
0
0
0
0
0
0
0.114286
0.141104
652
18
96
36.222222
0.739286
0.375767
0
0
0
0
0.474874
0.266332
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
e1e032c4a1c2fb31736f9817a8d9589e52fdbf20
2,384
py
Python
filter_images.py
allendred/train-DeepLab
509419a8b44dc0689d24184c7ffc24c81bce3078
[ "MIT" ]
199
2016-04-16T15:03:48.000Z
2021-07-16T10:59:23.000Z
filter_images.py
Jinming-Su/train-DeepLab
509419a8b44dc0689d24184c7ffc24c81bce3078
[ "MIT" ]
39
2016-03-30T09:26:31.000Z
2019-08-25T23:31:49.000Z
filter_images.py
Jinming-Su/train-DeepLab
509419a8b44dc0689d24184c7ffc24c81bce3078
[ "MIT" ]
97
2016-05-03T15:59:12.000Z
2020-02-28T19:29:31.000Z
#!/usr/bin/env python # Martin Kersner, m.kersner@gmail.com # 2016/03/24 # TODO check if directories and file exist from __future__ import print_function import os import sys from skimage.io import imread, imsave import numpy as np from utils import get_id_classes, convert_from_color_segmentation, create_lut def ma...
28.722892
102
0.712668
369
2,384
4.346883
0.376694
0.05985
0.034913
0.035536
0.100374
0.071696
0.071696
0.051122
0.051122
0
0
0.009346
0.192114
2,384
82
103
29.073171
0.823468
0.109899
0
0
0
0
0.225959
0
0
0
0
0.012195
0
1
0.111111
false
0
0.111111
0
0.277778
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e1e69e2d8bf7ba025b6a658780b7f85f802078ef
587
py
Python
examples/helloworld/tf_example4/test.py
daisyden/lpot
d8709bb73ce13cfc0fd760845e0be40af22f5a45
[ "Apache-2.0" ]
null
null
null
examples/helloworld/tf_example4/test.py
daisyden/lpot
d8709bb73ce13cfc0fd760845e0be40af22f5a45
[ "Apache-2.0" ]
null
null
null
examples/helloworld/tf_example4/test.py
daisyden/lpot
d8709bb73ce13cfc0fd760845e0be40af22f5a45
[ "Apache-2.0" ]
null
null
null
import tensorflow as tf import time import numpy as np from tensorflow import keras from lpot.data import DATASETS, DataLoader tf.compat.v1.disable_eager_execution() def main(): import lpot quantizer = lpot.Quantization('./conf.yaml') dataset = quantizer.dataset('dummy', shape=(100, 100, 100, 3), label=T...
27.952381
167
0.746167
80
587
5.2375
0.55
0.093079
0.121718
0.114558
0.143198
0.143198
0
0
0
0
0
0.055227
0.136286
587
20
168
29.35
0.771203
0
0
0
0
0.071429
0.236797
0.178876
0
0
0
0
0
1
0.071429
false
0
0.428571
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e1eaf717fb51d1a7b23a02bec48510039dcd5d77
1,804
py
Python
filters/profanity.py
stamby/easy-pete-bot
2a611758042496c831eb1bf3a27e2c8100fd425c
[ "MIT" ]
null
null
null
filters/profanity.py
stamby/easy-pete-bot
2a611758042496c831eb1bf3a27e2c8100fd425c
[ "MIT" ]
null
null
null
filters/profanity.py
stamby/easy-pete-bot
2a611758042496c831eb1bf3a27e2c8100fd425c
[ "MIT" ]
null
null
null
import random import re from time import sleep from .base_filter import BaseFilter regex = re.compile( r'\b([Ss][Uu][Cc][CcKk][Ee][Rr]|([Ss][Uu][Cc][Kk].*[Dd]|d)[Iil][Cc][Kk]|[Dd][Iil][Cc][Kk][Hh][Ee][Aa][Dd]|[Ff][Uu][Cc][CcKk]|[Ff][Aa][Gg]{2}[Oo][Tt]|[Nn][Iil]+[Gg]{2,}([Aa]|[Ee][Rr])|[Rr][Ee][Tt][Aa][Rr][Dd]...
45.1
665
0.502772
280
1,804
3.214286
0.392857
0.017778
0.023333
0.017778
0
0
0
0
0
0
0
0.007278
0.238359
1,804
39
666
46.25641
0.647744
0
0
0
0
0.047619
0.539081
0.526189
0
0
0
0
0
1
0
false
0
0.190476
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1ec5a2e4aae398f013266d59211def37985dde2
2,380
py
Python
docs/source/conf.py
ElsevierSoftwareX/SOFTX-D-21-00109
74cbba98d2270cf036445592fb3e4a5913606c07
[ "MIT" ]
null
null
null
docs/source/conf.py
ElsevierSoftwareX/SOFTX-D-21-00109
74cbba98d2270cf036445592fb3e4a5913606c07
[ "MIT" ]
null
null
null
docs/source/conf.py
ElsevierSoftwareX/SOFTX-D-21-00109
74cbba98d2270cf036445592fb3e4a5913606c07
[ "MIT" ]
1
2022-03-22T09:15:54.000Z
2022-03-22T09:15:54.000Z
# -- Project import ----------------------------------------------------------- from crackdect import * # -- General configuration --------------------------------------------------- needs_sphinx = '3.5' extensions = ['sphinx.ext.autodoc', # autodocumentation module # 'sphinx.ext.imgmath', # mathemati...
33.521127
95
0.641176
244
2,380
5.971311
0.508197
0.055594
0.054907
0.053535
0.059712
0
0
0
0
0
0
0.005063
0.170168
2,380
71
96
33.521127
0.732658
0.591176
0
0
0
0
0.291489
0.075532
0
0
0
0.014085
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e1f425c19e48f1185cc3af892c3fb8a51eb96f6b
4,035
py
Python
scripts/test_email.py
Justin-Yuan/Workflow
e447f9be5918cb0b1da75e3a3b003b6bb3697280
[ "MIT" ]
null
null
null
scripts/test_email.py
Justin-Yuan/Workflow
e447f9be5918cb0b1da75e3a3b003b6bb3697280
[ "MIT" ]
null
null
null
scripts/test_email.py
Justin-Yuan/Workflow
e447f9be5918cb0b1da75e3a3b003b6bb3697280
[ "MIT" ]
null
null
null
import smtplib, ssl from email import encoders from email.mime.text import MIMEText from email.mime.base import MIMEBase from email.mime.multipart import MIMEMultipart # port = 465 # For SSL # password = input("Type your password and press enter: ") # # Create a secure SSL context # context = ssl.create_default_cont...
26.372549
75
0.65824
505
4,035
5.20198
0.310891
0.030453
0.03426
0.023982
0.210887
0.197944
0.162162
0.127903
0.094404
0.094404
0
0.006907
0.174721
4,035
153
76
26.372549
0.781982
0.778191
0
0
0
0
0.193162
0.035897
0
0
0
0.006536
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e1f621a5e666e99dc00b12e425f4e6097006f1d5
711
py
Python
continuous_delivery_scripts/utils/noop/package_helpers.py
ARMmbed/continuous-delivery-scripts
3df724ae5705c675261349ecd3ac38b0781c1d65
[ "Apache-2.0" ]
2
2021-09-10T14:01:24.000Z
2022-02-08T10:21:27.000Z
continuous_delivery_scripts/utils/noop/package_helpers.py
acabarbaye/continuous-delivery-scripts-1
3df724ae5705c675261349ecd3ac38b0781c1d65
[ "Apache-2.0" ]
29
2020-11-30T10:02:57.000Z
2022-03-29T06:14:54.000Z
continuous_delivery_scripts/utils/noop/package_helpers.py
acabarbaye/continuous-delivery-scripts-1
3df724ae5705c675261349ecd3ac38b0781c1d65
[ "Apache-2.0" ]
1
2021-09-10T14:01:38.000Z
2021-09-10T14:01:38.000Z
# # Copyright (C) 2020-2021 Arm Limited or its affiliates and Contributors. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # """Utilities for retrieving NoOp's package information.""" import logging from continuous_delivery_scripts.utils.package_helpers import ProjectMetadata, ProjectMetadataFetcher logg...
29.625
101
0.744023
75
711
6.773333
0.733333
0.064961
0.059055
0
0
0
0
0
0
0
0
0.016611
0.153305
711
23
102
30.913043
0.827243
0.340366
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
e1f6edfde13c59eb963af8ca3669dec0d895626b
560
py
Python
main/watchlist_app/migrations/0005_alter_movielist_streaming_platform.py
Shubham-7777/IMDb-Clone-API
0399122f95e119daf6d627eb2573ef5dba1235eb
[ "MIT" ]
1
2021-12-08T19:56:25.000Z
2021-12-08T19:56:25.000Z
main/watchlist_app/migrations/0005_alter_movielist_streaming_platform.py
Shubham-7777/IMDb-Clone-API
0399122f95e119daf6d627eb2573ef5dba1235eb
[ "MIT" ]
null
null
null
main/watchlist_app/migrations/0005_alter_movielist_streaming_platform.py
Shubham-7777/IMDb-Clone-API
0399122f95e119daf6d627eb2573ef5dba1235eb
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-08-24 15:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('watchlist_app', '0004_alter_movielist_streaming_platform'), ] operations = [ migrations.AlterField( ...
28
154
0.6875
63
560
5.920635
0.634921
0.064343
0.075067
0.117962
0
0
0
0
0
0
0
0.042697
0.205357
560
19
155
29.473684
0.795506
0.080357
0
0
1
0
0.249513
0.17154
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e1fc0948d1814ef5020afa30a184d9df90e68e91
661
py
Python
pyinstaller/hook-gdpy3.py
shmilee/gdpy3
2e007851fc87793c0038f7b1dacba729271e17a3
[ "MIT" ]
4
2018-08-07T13:28:06.000Z
2021-03-08T04:31:20.000Z
pyinstaller/hook-gdpy3.py
shmilee/gdpy3
2e007851fc87793c0038f7b1dacba729271e17a3
[ "MIT" ]
null
null
null
pyinstaller/hook-gdpy3.py
shmilee/gdpy3
2e007851fc87793c0038f7b1dacba729271e17a3
[ "MIT" ]
3
2018-05-05T01:34:33.000Z
2022-03-07T15:57:10.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2018-2020 shmilee from distutils.spawn import find_executable from PyInstaller.depend.bindepend import findSystemLibrary from PyInstaller.utils.hooks import collect_submodules, exec_statement hiddenimports = collect_submodules('gdpy3') data_dir = exec_statement( "import g...
26.44
70
0.741301
73
661
6.383562
0.506849
0.085837
0
0
0
0
0
0
0
0
0
0.029463
0.12708
661
24
71
27.541667
0.778163
0.093797
0
0
0
0
0.176471
0.060504
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
e1fe74f068bd5199610d80427367193342ba3100
1,940
py
Python
auto/www/api/auth.py
mawentao119/bigface
e6f14809b9dc0785ad7cdeccd38ed87de2b925a6
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
auto/www/api/auth.py
mawentao119/bigface
e6f14809b9dc0785ad7cdeccd38ed87de2b925a6
[ "ECL-2.0", "Apache-2.0", "MIT" ]
1
2021-08-13T10:43:31.000Z
2021-08-13T10:43:31.000Z
auto/www/api/auth.py
mawentao119/bigface
e6f14809b9dc0785ad7cdeccd38ed87de2b925a6
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = "苦叶子" """ modified: use DB not json. """ from flask import current_app, url_for, session from flask_restful import Resource, reqparse from werkzeug.security import check_password_hash from utils.mylogger import getlogger class Auth(Resource): def __init__(self): sel...
35.925926
105
0.614948
220
1,940
5.263636
0.377273
0.025907
0.031088
0.051813
0.354922
0.304836
0.223661
0.223661
0.184801
0.103627
0
0.00876
0.235052
1,940
53
106
36.603774
0.771563
0.021649
0
0.166667
0
0
0.158235
0
0
0
0
0
0
1
0.083333
false
0.25
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c0020ae7207f9304c9156b32f7847ca3d9e75ff2
1,499
py
Python
app/auth/views.py
huai99/elegantdeco
3ba0b3d4636b2669080f877abc055647ea5ea0c3
[ "MIT" ]
null
null
null
app/auth/views.py
huai99/elegantdeco
3ba0b3d4636b2669080f877abc055647ea5ea0c3
[ "MIT" ]
null
null
null
app/auth/views.py
huai99/elegantdeco
3ba0b3d4636b2669080f877abc055647ea5ea0c3
[ "MIT" ]
null
null
null
# app/auth/views.py from flask import flash, redirect, render_template, url_for from flask_login import login_required, login_user, logout_user from app.auth import auth from app.auth.forms import LoginForm from .. import db from app.models import Employee @auth.route('/login', methods=['GET', 'POST']) def login():...
29.98
74
0.663109
192
1,499
5.078125
0.416667
0.024615
0.052308
0.061538
0.051282
0
0
0
0
0
0
0
0.247498
1,499
49
75
30.591837
0.864362
0.236157
0
0.074074
0
0
0.134168
0.018784
0
0
0
0
0
1
0.074074
false
0.111111
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c0048cdcc63e91b20e3060782bbef8e7f6a74cb8
4,575
py
Python
sht21.py
iotify/hello-iot
10aefb845671b71b39fb9a8928e4b23f36c368d9
[ "MIT" ]
6
2017-02-22T07:59:10.000Z
2020-05-16T05:43:10.000Z
sht21.py
gopal-amlekar/playWithIOTIFY
4d677e023176cc53b7575c7474b761f995552d46
[ "MIT" ]
null
null
null
sht21.py
gopal-amlekar/playWithIOTIFY
4d677e023176cc53b7575c7474b761f995552d46
[ "MIT" ]
4
2017-02-22T07:59:14.000Z
2020-02-18T17:44:33.000Z
#!/usr/bin/python import fcntl import time import unittest class SHT21: """Class to read temperature and humidity from SHT21, much of class was derived from: http://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/Humidity/Sensirion_Humidity_SHT21_Datasheet_V3.pdf and Martin Step...
37.195122
131
0.625792
618
4,575
4.464401
0.347896
0.022834
0.018847
0.01631
0.329467
0.263139
0.263139
0.263139
0.238492
0.211671
0
0.053793
0.276721
4,575
122
132
37.5
0.779994
0.092459
0
0.208333
0
0
0.039425
0
0
0
0.017318
0
0
0
null
null
0
0.041667
null
null
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c00fafc7938e812b2455675828be75fb4a389685
1,265
py
Python
py/tests/problems/linkedlist/partition_test.py
bmoretz/Daily-Coding-Problem
f79e062e9f6e7b18b7e95c071fbe71ad104affcb
[ "MIT" ]
1
2020-06-26T13:28:43.000Z
2020-06-26T13:28:43.000Z
py/tests/problems/linkedlist/partition_test.py
bmoretz/Daily-Coding-Problem
f79e062e9f6e7b18b7e95c071fbe71ad104affcb
[ "MIT" ]
7
2021-11-18T19:46:08.000Z
2022-03-12T01:03:01.000Z
py/tests/problems/linkedlist/partition_test.py
bmoretz/Daily-Coding-Problem
f79e062e9f6e7b18b7e95c071fbe71ad104affcb
[ "MIT" ]
null
null
null
import unittest from dcp.problems.linkedlist.single import build_list from dcp.problems.linkedlist.partition import partition1 class Test_Partition1(unittest.TestCase): def setUp(self): pass def test_case1(self): assert partition1(None, 0) == None def test_case2(self): ...
23.867925
64
0.554941
167
1,265
4.113772
0.209581
0.117904
0.034935
0.040757
0.621543
0.620087
0.577875
0.510917
0.442504
0.343523
0
0.095906
0.324111
1,265
53
65
23.867925
0.707602
0
0
0.285714
0
0
0
0
0
0
0
0
0.178571
1
0.214286
false
0.035714
0.107143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c0138b05d2353bec988f3a505372a8cdb5d7079f
2,218
py
Python
backend/appengine/routes/andris/categoria_produto/ngCategoria.py
andris210296/andris-projeto
41c0af031152d06ef0af4ac8031bbded86533528
[ "MIT" ]
3
2015-05-04T16:04:08.000Z
2018-07-18T17:15:16.000Z
backend/appengine/routes/andris/categoria_produto/ngCategoria.py
andris210296/andris-projeto
41c0af031152d06ef0af4ac8031bbded86533528
[ "MIT" ]
null
null
null
backend/appengine/routes/andris/categoria_produto/ngCategoria.py
andris210296/andris-projeto
41c0af031152d06ef0af4ac8031bbded86533528
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from config.template_middleware import TemplateResponse from google.appengine.ext import ndb from tekton.gae.middleware.redirect import RedirectResponse from routes.andris.categoria_produto.categoria_produtoM import CategoriaForm, Categori...
28.805195
132
0.743012
246
2,218
6.479675
0.333333
0.022585
0.060226
0.056462
0.33877
0.316813
0.269762
0.269762
0.269762
0.269762
0
0.003778
0.164563
2,218
76
133
29.184211
0.856449
0.009468
0
0.272727
0
0
0.034636
0.015339
0
0
0
0
0
0
null
null
0
0.163636
null
null
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c01d0162925b2bd6814bcbc83576222b6d3f5055
8,359
py
Python
Credit Calculator/task/tests.py
gabrielizalo/jetbrains-academy-python-credit-calculator
093bffde653510348adb35188ecf5cb99e11e73e
[ "MIT" ]
null
null
null
Credit Calculator/task/tests.py
gabrielizalo/jetbrains-academy-python-credit-calculator
093bffde653510348adb35188ecf5cb99e11e73e
[ "MIT" ]
null
null
null
Credit Calculator/task/tests.py
gabrielizalo/jetbrains-academy-python-credit-calculator
093bffde653510348adb35188ecf5cb99e11e73e
[ "MIT" ]
null
null
null
from hstest.stage_test import StageTest from hstest.test_case import TestCase from hstest.check_result import CheckResult import re CheckResult.correct = lambda: CheckResult(True, '') CheckResult.wrong = lambda feedback: CheckResult(False, feedback) class LoanCalcTest(StageTest): def generate(self): retu...
34.684647
79
0.352315
584
8,359
5.008562
0.251712
0.069744
0.049231
0.047179
0.497778
0.407863
0.317607
0.273162
0.273162
0.262222
0
0.085314
0.547075
8,359
240
80
34.829167
0.687269
0
0
0.53211
0
0
0.177294
0.002512
0
0
0
0
0
1
0.009174
false
0
0.018349
0.004587
0.091743
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c02847c1d491cc1ce610e1dc490f15e02e0b2bde
2,984
py
Python
src/Sephrasto/UI/CharakterFreieFert.py
Ilaris-Tools/Sephrasto
8574a5b45da8ebfa5f69a775066fd3136da1c718
[ "MIT" ]
1
2022-02-02T16:15:59.000Z
2022-02-02T16:15:59.000Z
src/Sephrasto/UI/CharakterFreieFert.py
Ilaris-Tools/Sephrasto
8574a5b45da8ebfa5f69a775066fd3136da1c718
[ "MIT" ]
1
2022-01-14T11:04:19.000Z
2022-01-14T11:04:19.000Z
src/Sephrasto/UI/CharakterFreieFert.py
lukruh/Sephrasto
8574a5b45da8ebfa5f69a775066fd3136da1c718
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'CharakterFreieFert.ui' # # Created by: PyQt5 UI code generator 5.15.6 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import Q...
44.537313
156
0.702748
347
2,984
5.985591
0.412104
0.087626
0.008666
0.016851
0.167549
0.126143
0.097256
0.097256
0.097256
0.097256
0
0.030453
0.185657
2,984
66
157
45.212121
0.82428
0.094839
0
0
1
0.02
0.121797
0
0
0
0
0
0
1
0.04
false
0
0.04
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c02cf6cf300886b2f47e3226270e32b6a631f684
4,776
py
Python
xsd-fu/python/generateDS/SWIG/testsub.py
jburel/ome-model
4817c8dfcbe3bfbeafe899c489657769d7ebca60
[ "BSD-2-Clause" ]
11
2015-07-13T13:36:44.000Z
2021-11-15T08:07:25.000Z
xsd-fu/python/generateDS/SWIG/testsub.py
jburel/ome-model
4817c8dfcbe3bfbeafe899c489657769d7ebca60
[ "BSD-2-Clause" ]
13
2015-03-21T14:08:31.000Z
2021-05-18T18:47:58.000Z
xsd-fu/python/generateDS/SWIG/testsub.py
jburel/ome-model
4817c8dfcbe3bfbeafe899c489657769d7ebca60
[ "BSD-2-Clause" ]
30
2015-04-29T20:47:22.000Z
2021-08-31T20:45:24.000Z
#!/usr/bin/env python import sys import ??? as supermod class topSub(supermod.top): def __init__(self, attributelist=None, include=None, id='', addr=''): supermod.top.__init__(self, attributelist, include, id, addr) supermod.top.subclass = topSub # end class topSub class attributelistSub(supermod.attri...
31.629139
161
0.721106
552
4,776
5.974638
0.130435
0.082474
0.14433
0.087326
0.370224
0.344754
0.259854
0.248029
0.121892
0.121892
0
0.000982
0.146776
4,776
150
162
31.84
0.808344
0.085427
0
0.117647
0
0
0.009894
0
0
0
0
0
0
0
null
null
0
0.023529
null
null
0.011765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c033d290bf05039557495463f4dc86b56246151a
5,659
py
Python
STIT/postprocessing/plot_dispersion_alive.py
pierrick-giffard/STAMM-Sea_Turtle_Active_Movement_Model
dcd94c8968cd8e7a4daa56ae566707ace19885fa
[ "MIT" ]
1
2022-02-14T09:27:46.000Z
2022-02-14T09:27:46.000Z
STIT/postprocessing/plot_dispersion_alive.py
pierrick-giffard/STAMM-Sea_Turtle_Active_Movement_Model
dcd94c8968cd8e7a4daa56ae566707ace19885fa
[ "MIT" ]
null
null
null
STIT/postprocessing/plot_dispersion_alive.py
pierrick-giffard/STAMM-Sea_Turtle_Active_Movement_Model
dcd94c8968cd8e7a4daa56ae566707ace19885fa
[ "MIT" ]
1
2020-07-29T13:50:46.000Z
2020-07-29T13:50:46.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Jan 15 09:48:24 2020 @author: tcandela """ # ============================================================================= # IMPORTS # ============================================================================= import sys import numpy as np import mat...
30.262032
119
0.461212
601
5,659
4.189684
0.341098
0.01668
0.015886
0.019063
0.163622
0.133439
0.107228
0.076251
0.076251
0.063542
0
0.023589
0.12352
5,659
186
120
30.424731
0.484073
0.360311
0
0.115789
0
0
0.195101
0.089246
0
0
0
0
0
1
0
false
0.010526
0.126316
0
0.126316
0.094737
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c03612b485389abf83857f91255bd8fd6f95c0a3
269
py
Python
setup.py
carrascomj/cfdna
44a7699a1da7b175cf8a4306ec37abe682fbffe0
[ "MIT" ]
1
2020-07-31T10:11:18.000Z
2020-07-31T10:11:18.000Z
setup.py
carrascomj/cfdna
44a7699a1da7b175cf8a4306ec37abe682fbffe0
[ "MIT" ]
null
null
null
setup.py
carrascomj/cfdna
44a7699a1da7b175cf8a4306ec37abe682fbffe0
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='NGS analysis of Cell-free DNA for the NGS course at DTU.', author='Jorge Carrasc Muriel, Birkir Reynisson', license='MIT', )
24.454545
75
0.687732
37
269
4.945946
0.837838
0.131148
0
0
0
0
0
0
0
0
0
0.013825
0.193309
269
10
76
26.9
0.829493
0
0
0
0
0
0.390335
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c03fe1a819341afd63b3505841dff71034473f43
692
py
Python
scan.py
handeng/Emspark
06a4f90248dd5bf2924f001dd5e8809f6176c3f7
[ "Apache-2.0" ]
2
2016-09-20T05:37:02.000Z
2017-01-30T16:35:21.000Z
scan.py
handeng/Emspark
06a4f90248dd5bf2924f001dd5e8809f6176c3f7
[ "Apache-2.0" ]
null
null
null
scan.py
handeng/Emspark
06a4f90248dd5bf2924f001dd5e8809f6176c3f7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # _*_ coding=utf-8 _*_ from scapy.all import * import sys,getopt def usage(): print "Usage: sudo ./ArpScanner.py " def main(argv): try: opts, args = getopt.getopt(argv, "") except getopt.GetoptError: usage() sys.exit(2) ...
26.615385
95
0.49422
89
692
3.707865
0.606742
0.121212
0.145455
0.145455
0.072727
0.072727
0
0
0
0
0
0.037946
0.352601
692
25
96
27.68
0.698661
0.059249
0
0
0
0
0.124807
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
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
1
0
0
0
0
0
0
0
0
1
c04304ad0d351965f129e774e655704f52a0899a
467
py
Python
en_fila/apps/premium/migrations/0015_alter_suscribed_valid_to.py
puertoricanDev/En_fila
cf2551190be61f6a6ce705cccf35734edc682eef
[ "MIT" ]
null
null
null
en_fila/apps/premium/migrations/0015_alter_suscribed_valid_to.py
puertoricanDev/En_fila
cf2551190be61f6a6ce705cccf35734edc682eef
[ "MIT" ]
null
null
null
en_fila/apps/premium/migrations/0015_alter_suscribed_valid_to.py
puertoricanDev/En_fila
cf2551190be61f6a6ce705cccf35734edc682eef
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-11-02 23:54 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('premium', '0014_alter_suscribed_valid_to'), ] operations = [ migrations.AlterField( model_name='suscribed', ...
23.35
104
0.631692
54
467
5.333333
0.722222
0.048611
0
0
0
0
0
0
0
0
0
0.109195
0.254818
467
19
105
24.578947
0.718391
0.09636
0
0
1
0
0.12619
0.069048
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c04392b05a5cfe6ddee2491b55a6866d540feed5
9,086
py
Python
flask_storage/base.py
SailerNote/flask-storage
9a8ac964a0144b505807d98fb055c0d5e23a98e7
[ "MIT" ]
8
2015-06-02T13:38:38.000Z
2022-02-17T20:02:19.000Z
flask_storage/base.py
peteyan/flask-storage
9a8ac964a0144b505807d98fb055c0d5e23a98e7
[ "MIT" ]
1
2017-05-18T07:27:17.000Z
2017-05-18T07:27:17.000Z
flask_storage/base.py
peteyan/flask-storage
9a8ac964a0144b505807d98fb055c0d5e23a98e7
[ "MIT" ]
7
2015-06-29T10:37:02.000Z
2020-03-10T05:57:18.000Z
import os import itertools from urlparse import urljoin from .utils import force_str, force_unicode __all__ = ('Storage') def reraise(exception): kwargs = { 'message': exception.message, 'wrapped_exception': exception } # cloudfiles and S3Boto exceptions have http compatible status code...
28.753165
79
0.627339
1,113
9,086
4.987421
0.246181
0.038912
0.043776
0.013691
0.223203
0.188435
0.126824
0.071339
0.059088
0.059088
0
0.002335
0.292868
9,086
315
80
28.844444
0.861634
0.288136
0
0.239521
0
0
0.050434
0
0
0
0
0
0
1
0.227545
false
0.02994
0.023952
0.065868
0.473054
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c044b34ccf0c97c7f7d396eea37e4e342d0fc978
11,313
py
Python
kcsd/validation/csd_profile.py
mczerwinski/kCSD-python
fb7bae11dabd0709b2a6a36de45b3eae329f2791
[ "BSD-3-Clause" ]
null
null
null
kcsd/validation/csd_profile.py
mczerwinski/kCSD-python
fb7bae11dabd0709b2a6a36de45b3eae329f2791
[ "BSD-3-Clause" ]
null
null
null
kcsd/validation/csd_profile.py
mczerwinski/kCSD-python
fb7bae11dabd0709b2a6a36de45b3eae329f2791
[ "BSD-3-Clause" ]
null
null
null
''' This script is used to generate dummy CSD sources, to test the various kCSD methods This script is in alpha phase. This was written by : Michal Czerwinski, Chaitanya Chintaluri, Laboratory of Neuroinformatics, Nencki Institute of Exprimental Biology, Warsaw. ''' import numpy as np from numpy import exp def get_...
33.078947
117
0.525502
2,076
11,313
2.763969
0.14499
0.008714
0.011502
0.012199
0.501568
0.463228
0.386023
0.380969
0.354827
0.295399
0
0.111084
0.262353
11,313
341
118
33.175953
0.576513
0.333245
0
0.444444
1
0
0.001121
0
0
0
0
0
0
1
0.105556
false
0
0.011111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c0456733f909264a49bb9b1ab29dac57d8f965f4
7,455
py
Python
flexget/utils/database.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
null
null
null
flexget/utils/database.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
1
2017-10-09T23:06:44.000Z
2017-10-09T23:06:44.000Z
flexget/utils/database.py
metaMMA/Flexget
a38986422461d7935ead1e2b4ed4c88bcd0a90f5
[ "MIT" ]
null
null
null
from __future__ import unicode_literals, division, absolute_import from builtins import * # noqa pylint: disable=unused-import, redefined-builtin from past.builtins import basestring, long, unicode import functools from collections import Mapping from datetime import datetime from sqlalchemy import extract, func fro...
31.192469
117
0.627632
880
7,455
5.221591
0.236364
0.028727
0.023504
0.02481
0.276605
0.233515
0.210011
0.184548
0.132971
0.109032
0
0.00056
0.280885
7,455
238
118
31.323529
0.856557
0.154527
0
0.335404
0
0
0.013622
0
0
0
0
0
0
1
0.223602
false
0
0.074534
0.062112
0.540373
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
c0458e0f38712ae8fd06a4aed2706cbcf94202d1
392
py
Python
cudaup/__main__.py
bogen85/CudaText_up_py
87bee702b7bbb9c15794ef6dfb19f8bac5405ca2
[ "MIT" ]
2
2021-08-08T12:37:17.000Z
2022-02-17T21:29:58.000Z
cudaup/__main__.py
bogen85/CudaText_up_py
87bee702b7bbb9c15794ef6dfb19f8bac5405ca2
[ "MIT" ]
null
null
null
cudaup/__main__.py
bogen85/CudaText_up_py
87bee702b7bbb9c15794ef6dfb19f8bac5405ca2
[ "MIT" ]
null
null
null
''' main ''' # pylint: disable=E0402 import sys from . import cudaup_options, check_python_version from .cudaup import CudaUp def main(name=__name__): ''' main entry point ''' if name != '__main__': return if sys.argv[1] == '--check-python-version': check_python_version() return ...
18.666667
50
0.630102
49
392
4.755102
0.428571
0.141631
0.23176
0
0
0
0
0
0
0
0
0.019802
0.227041
392
20
51
19.6
0.749175
0.117347
0
0.166667
0
0
0.09009
0.066066
0
0
0
0
0
1
0.083333
false
0
0.25
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
0
0
0
0
0
1
c052c7cee04c1c70253a1a70bf91e3cc840b0922
425
py
Python
setup.py
fepegar/cast-coursework
8c2b2b140bcf5199d073d8cbc6c5197b5de009c9
[ "MIT" ]
1
2018-05-08T16:27:07.000Z
2018-05-08T16:27:07.000Z
setup.py
fepegar/cast-coursework
8c2b2b140bcf5199d073d8cbc6c5197b5de009c9
[ "MIT" ]
null
null
null
setup.py
fepegar/cast-coursework
8c2b2b140bcf5199d073d8cbc6c5197b5de009c9
[ "MIT" ]
1
2018-05-08T16:27:14.000Z
2018-05-08T16:27:14.000Z
from setuptools import setup, find_packages setup(name='cast', version='0.1.0', author='Fernando Perez-Garcia', author_email='fernando.perezgarcia.17@ucl.ac.uk', packages=find_packages(exclude=['*tests']), install_requires=[ 'scikit-image', 'scikit-learn', 'n...
28.333333
77
0.6
46
425
5.456522
0.804348
0.095618
0
0
0
0
0
0
0
0
0
0.016077
0.268235
425
14
78
30.357143
0.790997
0.117647
0
0
0
0
0.289544
0.088472
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
c060aeb9272384b4dbb38f42a96c77a9fcd0616c
3,616
py
Python
acq4/analysis/old/StdpCtrlTemplate.py
ablot/acq4
ba7cd340d9d0282640adb501d3788f8c0837e4c4
[ "MIT" ]
null
null
null
acq4/analysis/old/StdpCtrlTemplate.py
ablot/acq4
ba7cd340d9d0282640adb501d3788f8c0837e4c4
[ "MIT" ]
null
null
null
acq4/analysis/old/StdpCtrlTemplate.py
ablot/acq4
ba7cd340d9d0282640adb501d3788f8c0837e4c4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file './acq4/analysis/old/StdpCtrlTemplate.ui' # # Created: Tue Dec 24 01:49:15 2013 # by: PyQt4 UI code generator 4.10 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QSt...
47.578947
102
0.712389
390
3,616
6.505128
0.284615
0.05676
0.081592
0.095782
0.178163
0.064643
0.064643
0.064643
0.064643
0.064643
0
0.033791
0.173396
3,616
75
103
48.213333
0.814988
0.066095
0
0.1
1
0
0.086969
0
0
0
0
0
0
1
0.083333
false
0
0.033333
0.05
0.183333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c06940570bdab9712bc6d7e80a03691530f901a0
6,062
py
Python
ui/Ui_dialogabout.py
Athemis/PyDSF
455f715e37f3a1576443ed9bf19dc479e18eb8de
[ "MIT" ]
null
null
null
ui/Ui_dialogabout.py
Athemis/PyDSF
455f715e37f3a1576443ed9bf19dc479e18eb8de
[ "MIT" ]
null
null
null
ui/Ui_dialogabout.py
Athemis/PyDSF
455f715e37f3a1576443ed9bf19dc479e18eb8de
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'dialogabout.ui' # # Created by: PyQt5 UI code generator 5.4.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_DialogAbout(object): def setupUi(self, DialogAbout): Dia...
84.194444
658
0.71742
817
6,062
5.28519
0.301102
0.050023
0.012969
0.033349
0.322835
0.274896
0.261
0.244326
0.221167
0.221167
0
0.020837
0.129165
6,062
71
659
85.380282
0.796931
0.030353
0
0.050847
1
0.067797
0.333049
0.025554
0
0
0
0
0
1
0.033898
false
0
0.016949
0
0.067797
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbe31f813787b54098e402ab63fdd34d0407133b
280
py
Python
newspaper/users/views.py
Krishna-Patil/Newspaper_app
2cf209899c00bb6a086aacb0dff4767f75226cb7
[ "MIT" ]
null
null
null
newspaper/users/views.py
Krishna-Patil/Newspaper_app
2cf209899c00bb6a086aacb0dff4767f75226cb7
[ "MIT" ]
null
null
null
newspaper/users/views.py
Krishna-Patil/Newspaper_app
2cf209899c00bb6a086aacb0dff4767f75226cb7
[ "MIT" ]
null
null
null
from django.views.generic.edit import CreateView from django.urls import reverse_lazy from users.models import * from .forms import * class SignUpView(CreateView): form_class = CustomUserCreationForm template_name = 'signup.html' success_url = reverse_lazy('login')
25.454545
48
0.778571
35
280
6.085714
0.685714
0.093897
0
0
0
0
0
0
0
0
0
0
0.146429
280
10
49
28
0.891213
0
0
0
0
0
0.057143
0
0
0
0
0
0
1
0
false
0
0.5
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
0
1
0
0
0
0
1
fbeb67a8115f932eed9589cce53b16ad918df47a
689
py
Python
src/__init__.py
philips/calibre-plugin-readwise
d2f421380feaa4826d73393fbf4e82c7d57e306a
[ "MIT" ]
19
2021-02-15T17:12:50.000Z
2022-03-31T03:53:52.000Z
src/__init__.py
philips/calibre-plugin-readwise
d2f421380feaa4826d73393fbf4e82c7d57e306a
[ "MIT" ]
10
2021-02-15T00:50:52.000Z
2022-03-13T14:28:54.000Z
src/__init__.py
philips/calibre-plugin-readwise
d2f421380feaa4826d73393fbf4e82c7d57e306a
[ "MIT" ]
5
2021-04-07T07:12:37.000Z
2022-01-30T00:18:52.000Z
from calibre.customize import InterfaceActionBase class ReadwisePlugin(InterfaceActionBase): name = 'Readwise' description = 'Export highlights to Readwise' supported_platforms = ['windows', 'osx', 'linux'] author = 'William Bartholomew' version = (0, 1, 1) minimum_calibre_version = (5, 0, 1) actual_plug...
28.708333
63
0.7373
81
689
6.08642
0.580247
0.073022
0.089249
0
0
0
0
0
0
0
0
0.010508
0.171263
689
23
64
29.956522
0.85289
0
0
0
0
0
0.165457
0.062409
0
0
0
0
0
1
0.157895
false
0
0.105263
0.052632
0.789474
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fbf015e3594d283380518fe621e9555fff5e6a8d
1,102
py
Python
src/troubleshooting/framework/management/commands/main.py
gaoxiaofeng/troubleShooting
eb66c8eadc4bbd5a5fabd98ad946fd7340966d17
[ "Apache-2.0" ]
7
2017-08-17T13:09:35.000Z
2017-09-08T15:15:14.000Z
src/troubleshooting/framework/management/commands/main.py
gaoxiaofeng/troubleShooting
eb66c8eadc4bbd5a5fabd98ad946fd7340966d17
[ "Apache-2.0" ]
null
null
null
src/troubleshooting/framework/management/commands/main.py
gaoxiaofeng/troubleShooting
eb66c8eadc4bbd5a5fabd98ad946fd7340966d17
[ "Apache-2.0" ]
null
null
null
from troubleshooting.framework.management.BaseCommand import BaseCommand from troubleshooting.framework.management.commands import startProject import os,sys class command(BaseCommand): def __init__(self): super(command,self).__init__() def handle(self,*args,**kwargs): try: self.add...
33.393939
88
0.630672
118
1,102
5.771186
0.449153
0.073421
0.061674
0.111601
0
0
0
0
0
0
0
0
0.245917
1,102
32
89
34.4375
0.819495
0
0
0
0
0
0.177273
0.019091
0
0
0
0
0
0
null
null
0.034483
0.103448
null
null
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
1
0
0
0
0
0
0
0
0
1
fbf998d3c946e22a047a783de134a969d56b0131
558
py
Python
market_collector/get_prices.py
MaelkoM/cropto
3497662dde7ef6337be4aac57f890a5e3d660101
[ "MIT" ]
null
null
null
market_collector/get_prices.py
MaelkoM/cropto
3497662dde7ef6337be4aac57f890a5e3d660101
[ "MIT" ]
null
null
null
market_collector/get_prices.py
MaelkoM/cropto
3497662dde7ef6337be4aac57f890a5e3d660101
[ "MIT" ]
null
null
null
import time import logging import pandas import krakenex from pykrakenapi import KrakenAPI import config from prices_locker_mongodb import PricesLocker as pl pl = pl() if __name__ == "__main__": api = krakenex.API(key=config.API_KEY, secret=config.PRIVATE_KEY) k = KrakenAPI(api) prices = k.get_asset_info...
20.666667
69
0.693548
72
558
5.097222
0.541667
0.021798
0
0
0
0
0
0
0
0
0
0.006652
0.191756
558
26
70
21.461538
0.807095
0.33871
0
0
0
0
0.022161
0
0
0
0
0
0
1
0
false
0
0.538462
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
0
0
0
1
fbfb917b1f7dc3e93fe76fbd9ea8f150fd8bbbeb
2,172
py
Python
handlers/start.py
mfmviip/Arabic
6687885cc795817677f892939860e4f196d11433
[ "Apache-2.0" ]
null
null
null
handlers/start.py
mfmviip/Arabic
6687885cc795817677f892939860e4f196d11433
[ "Apache-2.0" ]
null
null
null
handlers/start.py
mfmviip/Arabic
6687885cc795817677f892939860e4f196d11433
[ "Apache-2.0" ]
null
null
null
from pyrogram import Client, filters from pyrogram.types import Message, InlineKeyboardMarkup, InlineKeyboardButton from config import BOT_USER from config import MUSIC_USER from config import MUSIC_NAME @Client.on_message(filters.command("start") & filters.private & ~filters.channel) async def start(_, message: Mess...
50.511628
495
0.651934
293
2,172
4.8157
0.331058
0.019844
0.034018
0.036853
0.490432
0.422395
0.371368
0.371368
0.371368
0.256556
0
0
0.20442
2,172
42
496
51.714286
0.801505
0
0
0.486486
0
0.081081
0.447974
0.015193
0
0
0
0
0
1
0
true
0
0.135135
0
0.135135
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
fbfe56813d8295a277db931532f98a8b0f2702f1
524
py
Python
Rabbit/x/send.py
kangyan328/RabbitMQ
255c4410c81bc71afaca7d7fbdf4ac436e007f6d
[ "MIT" ]
null
null
null
Rabbit/x/send.py
kangyan328/RabbitMQ
255c4410c81bc71afaca7d7fbdf4ac436e007f6d
[ "MIT" ]
null
null
null
Rabbit/x/send.py
kangyan328/RabbitMQ
255c4410c81bc71afaca7d7fbdf4ac436e007f6d
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- """ 生产者 Producer """ import pika # 阻塞链接/链接参数/地址 connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) # 创建链接信道(回话) channel = connection.channel() # queue_declare 声明队列,如果该消息队列不存在就创建 channel.queue_declare(queue='hello') # 消息队列名称为hello channel.basic_publish(exchange='', #...
22.782609
76
0.633588
53
524
6.188679
0.735849
0.073171
0.115854
0
0
0
0
0
0
0
0
0.002469
0.227099
524
23
77
22.782609
0.807407
0.236641
0
0
0
0
0.145553
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fbfe817118328602b62fd018c041124925137cb6
759
py
Python
Alignment/CommonAlignmentProducer/python/GlobalTrackerMuonAlignment_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Alignment/CommonAlignmentProducer/python/GlobalTrackerMuonAlignment_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Alignment/CommonAlignmentProducer/python/GlobalTrackerMuonAlignment_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms GlobalTrackerMuonAlignment = cms.EDAnalyzer('GlobalTrackerMuonAlignment', isolated = cms.bool(False), cosmics = cms.bool(False), refitmuon = cms.b...
58.384615
95
0.416337
48
759
6.583333
0.5
0.170886
0.151899
0.132911
0
0
0
0
0
0
0
0
0.507246
759
12
96
63.25
0.84492
0
0
0
0
0
0.067194
0.034256
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbff27e29fd06141aaecd7d3c458d6fde8ed1b42
17,247
py
Python
ctypes_configure/cbuild.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
34
2015-07-09T04:53:27.000Z
2021-07-19T05:22:27.000Z
ctypes_configure/cbuild.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
6
2015-05-30T17:20:45.000Z
2017-06-12T14:29:23.000Z
ctypes_configure/cbuild.py
microvm/pypy-mu
6b03fbe93052d0eb3a4c67152c987c16837b3484
[ "Apache-2.0", "OpenSSL" ]
11
2015-09-07T14:26:08.000Z
2020-04-10T07:20:41.000Z
import os, sys, inspect, re, imp, py from ctypes_configure import stdoutcapture import distutils debug = 0 configdir = py.path.local.make_numbered_dir(prefix='ctypes_configure-') class ExternalCompilationInfo(object): _ATTRIBUTES = ['pre_include_lines', 'includes', 'include_dirs', 'post_incl...
37.739606
87
0.521888
1,844
17,247
4.728308
0.207701
0.021447
0.019268
0.010322
0.27744
0.220323
0.19555
0.166877
0.13591
0.121115
0
0.003458
0.379602
17,247
456
88
37.822368
0.811402
0.055952
0
0.262295
0
0
0.073171
0.01322
0
0
0
0
0.008197
0
null
null
0.002732
0.032787
null
null
0.019126
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fbff39d1a09c383c4c91a3150c10325b0523271c
404
py
Python
Mundo 2 Estruturas de Controle/ex051.py
costa53/curso_em_video_python3
4f859641324f8b35be56d807f40457d7dddc451f
[ "MIT" ]
1
2022-02-17T16:23:52.000Z
2022-02-17T16:23:52.000Z
Mundo 2 Estruturas de Controle/ex051.py
costa53/curso_em_video_python3
4f859641324f8b35be56d807f40457d7dddc451f
[ "MIT" ]
null
null
null
Mundo 2 Estruturas de Controle/ex051.py
costa53/curso_em_video_python3
4f859641324f8b35be56d807f40457d7dddc451f
[ "MIT" ]
null
null
null
# DESAFIO 051 # Desenvolva um programa que leia o primeiro termo e a razão de uma PA. No final, mostra os 10 primeiros # termos dessa progressão. print('=' * 30) print(f'{"10 TERMOS DE UMA PA":^30}') print('=' * 30) n1 = int(input('Digite o primeiro termo da PA: ')) rz = int(input('Digite a razão da PA: ')) pr = 1 for...
26.933333
104
0.628713
72
404
3.541667
0.611111
0.070588
0.109804
0
0
0
0
0
0
0
0
0.059561
0.210396
404
14
105
28.857143
0.736677
0.344059
0
0.2
0
0
0.348659
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
220248829e808d47da8e366f27587144cfe2b8bf
467
py
Python
weapon/__init__.py
dannl/hunter-sim-classic
e32cccc8431cc3e78b08067dd58e10fec52aac6a
[ "MIT" ]
null
null
null
weapon/__init__.py
dannl/hunter-sim-classic
e32cccc8431cc3e78b08067dd58e10fec52aac6a
[ "MIT" ]
null
null
null
weapon/__init__.py
dannl/hunter-sim-classic
e32cccc8431cc3e78b08067dd58e10fec52aac6a
[ "MIT" ]
null
null
null
import random import config class Weapon: def __init__(self, min_d, max_d, speed): self.min_d = min_d self.max_d = max_d self.speed = speed def rand_dmg(self): if config.USE_AVERAGE: return self.avr_dmg() return random.randint(self.min_d, self.max_d) ...
18.68
53
0.601713
78
467
3.371795
0.423077
0.076046
0.121673
0.125475
0.1673
0.121673
0
0
0
0
0
0.071642
0.282655
467
24
54
19.458333
0.713433
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1875
false
0
0.125
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
2206344a3e3b7b4cdbb734fd1bb3e1158e4dac3f
8,706
py
Python
sdk/python/pulumi_aws_native/redshift/cluster_security_group_ingress.py
AaronFriel/pulumi-aws-native
5621690373ac44accdbd20b11bae3be1baf022d1
[ "Apache-2.0" ]
29
2021-09-30T19:32:07.000Z
2022-03-22T21:06:08.000Z
sdk/python/pulumi_aws_native/redshift/cluster_security_group_ingress.py
AaronFriel/pulumi-aws-native
5621690373ac44accdbd20b11bae3be1baf022d1
[ "Apache-2.0" ]
232
2021-09-30T19:26:26.000Z
2022-03-31T23:22:06.000Z
sdk/python/pulumi_aws_native/redshift/cluster_security_group_ingress.py
AaronFriel/pulumi-aws-native
5621690373ac44accdbd20b11bae3be1baf022d1
[ "Apache-2.0" ]
4
2021-11-10T19:42:01.000Z
2022-02-05T10:15:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
47.315217
224
0.694234
1,021
8,706
5.504407
0.142997
0.113345
0.099822
0.091103
0.683808
0.646085
0.611032
0.58363
0.510142
0.434875
0
0.005425
0.216632
8,706
183
225
47.57377
0.818622
0.123478
0
0.392308
1
0.023077
0.200858
0.112153
0
0
0
0
0
1
0.138462
false
0.007692
0.038462
0.061538
0.261538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
220af76182c3323f12b4efb2479c04af968b918d
10,583
py
Python
sgqlc/types/relay.py
josephlbarnett/sgqlc
f6cab7fa5911ae41162d1854a9b9b9a70ee8c018
[ "ISC" ]
null
null
null
sgqlc/types/relay.py
josephlbarnett/sgqlc
f6cab7fa5911ae41162d1854a9b9b9a70ee8c018
[ "ISC" ]
null
null
null
sgqlc/types/relay.py
josephlbarnett/sgqlc
f6cab7fa5911ae41162d1854a9b9b9a70ee8c018
[ "ISC" ]
null
null
null
''' sgqlc - Simple GraphQL Client ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GraphQL Types for `Relay <https://facebook.github.io/relay/>`_ ============================================================== Exposes ``Node`` and ``Connection``, matching `Global Object Identification <https://facebook.github.io/relay/graphql/objectiden...
26.260546
77
0.578758
1,278
10,583
4.663537
0.158059
0.06443
0.046309
0.050336
0.545805
0.499329
0.45453
0.403356
0.356711
0.356711
0
0.040753
0.237173
10,583
402
78
26.325871
0.69751
0.809411
0
0
0
0
0.060703
0
0
0
0
0
0
1
0.046512
false
0
0.023256
0
0.348837
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
220e1cc0e30c3e43dd943a364e9bf94719a734cc
3,725
py
Python
args.py
hujilin1229/P-GNN
9ca15d77cebfb84a58a9cc0719cdf0320019a1b9
[ "MIT" ]
352
2019-05-13T21:40:21.000Z
2022-03-29T16:23:29.000Z
args.py
zhenguonie/P-GNN
a7d87767a1aa70bffcec8e18f6951e0280e9b457
[ "MIT" ]
18
2019-06-15T16:04:37.000Z
2021-11-03T15:31:29.000Z
args.py
zhenguonie/P-GNN
a7d87767a1aa70bffcec8e18f6951e0280e9b457
[ "MIT" ]
81
2019-06-12T23:17:30.000Z
2022-03-19T06:29:51.000Z
from argparse import ArgumentParser def make_args(): parser = ArgumentParser() # general parser.add_argument('--comment', dest='comment', default='0', type=str, help='comment') parser.add_argument('--task', dest='task', default='link', type=str, help='link...
61.065574
119
0.62094
454
3,725
4.900881
0.209251
0.117303
0.221573
0.051236
0.418427
0.252584
0.201348
0.130337
0.039551
0
0
0.011732
0.222013
3,725
61
120
61.065574
0.756039
0.016644
0
0.145455
0
0
0.304538
0
0
0
0
0
0
1
0.018182
false
0
0.018182
0
0.054545
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2210928930dab20f0b55e75507a1a461e50b5da0
1,090
py
Python
tests/test_bilibili.py
qazwsdc/bilibiliUpload
3a46ed522d3a846ddb81babfd7d582a23593efcf
[ "MIT" ]
null
null
null
tests/test_bilibili.py
qazwsdc/bilibiliUpload
3a46ed522d3a846ddb81babfd7d582a23593efcf
[ "MIT" ]
null
null
null
tests/test_bilibili.py
qazwsdc/bilibiliUpload
3a46ed522d3a846ddb81babfd7d582a23593efcf
[ "MIT" ]
null
null
null
import os import re import random import unittest from bilibili import Bilibili USERNAME = '' PASSWORD = '' b = Bilibili() class TestBilibili(unittest.TestCase): def test_login(self): r = b.login(USERNAME, PASSWORD) self.assertTrue(r) def test_upload(self): VIDEOS_PATTERN = '.+\.[mp4...
29.459459
99
0.626606
146
1,090
4.541096
0.575342
0.048265
0.0181
0
0
0
0
0
0
0
0
0.020457
0.237615
1,090
36
100
30.277778
0.777377
0.10367
0
0
0
0.037037
0.088296
0.056468
0
0
0
0
0.037037
1
0.074074
false
0.074074
0.185185
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
2210ff5f919f67276f5e13318552fe3c4473be6f
6,374
py
Python
Source/build/scripts/make-file-arrays.py
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
2
2016-05-19T10:37:25.000Z
2019-09-18T04:37:14.000Z
Source/build/scripts/make-file-arrays.py
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
null
null
null
Source/build/scripts/make-file-arrays.py
Fusion-Rom/android_external_chromium_org_third_party_WebKit
8865f83aaf400ef5f7c234a70da404d3fc5e1272
[ "BSD-3-Clause" ]
7
2015-09-23T09:56:29.000Z
2022-01-20T10:36:06.000Z
#!/usr/bin/env python # Copyright (C) 2012 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list ...
39.590062
128
0.671478
881
6,374
4.700341
0.280363
0.042502
0.032118
0.019319
0.292924
0.206955
0.134026
0.079691
0.066168
0.066168
0
0.004914
0.201914
6,374
160
129
39.8375
0.809121
0.259805
0
0.175926
0
0
0.109002
0.004693
0
0
0
0
0
0
null
null
0
0.046296
null
null
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
22124764d891edad5f5cc359397c07829b8306db
509
py
Python
example/endpoints/demo_exception_endpoint.py
oplik0/aiohttp_rest_api
0b317180b66b3f856ca33de4d2271ed34f82a696
[ "MIT" ]
null
null
null
example/endpoints/demo_exception_endpoint.py
oplik0/aiohttp_rest_api
0b317180b66b3f856ca33de4d2271ed34f82a696
[ "MIT" ]
null
null
null
example/endpoints/demo_exception_endpoint.py
oplik0/aiohttp_rest_api
0b317180b66b3f856ca33de4d2271ed34f82a696
[ "MIT" ]
null
null
null
from typing import List # import phonenumbers from aiohttp.web_response import Response from aiohttp.web import Request from aiohttp_rest_api import AioHTTPRestEndpoint class DemoEndpoint(AioHTTPRestEndpoint): def connected_routes(self) -> List[str]: """ """ return [ '/demo/...
18.851852
54
0.607073
51
509
5.960784
0.607843
0.108553
0.092105
0
0
0
0
0
0
0
0
0.008499
0.306483
509
26
55
19.576923
0.852691
0.037328
0
0
0
0
0.036093
0
0
0
0
0
0
1
0.066667
false
0
0.266667
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
22136ac22536c8466af808bc101af1f0c17e63e7
545
py
Python
ampm.py
HumanAcademy-AI-Cource/2021_04Sample
6a314d92789e173d40b56ec1611c6f9940db9ad7
[ "Apache-2.0" ]
null
null
null
ampm.py
HumanAcademy-AI-Cource/2021_04Sample
6a314d92789e173d40b56ec1611c6f9940db9ad7
[ "Apache-2.0" ]
null
null
null
ampm.py
HumanAcademy-AI-Cource/2021_04Sample
6a314d92789e173d40b56ec1611c6f9940db9ad7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # 目的: 条件分岐について学ぶためのサンプルコード # 説明文を表示 print("0時から24時までの任意の時間を入力してみよう") # 変数 "time" に説明文のあとに入力された文字を数値として入れる(代入) time = int(raw_input("時間(0〜24の範囲の数字)を入力: ")) # 区切りを表示 print("------------------------------------------") # 「変数 "time" が12より小さい」かつ「変数 "time" が0以上」のとき,「AMです!」と表...
21.8
54
0.601835
69
545
4.753623
0.623188
0.091463
0.04878
0.079268
0
0
0
0
0
0
0
0.046908
0.13945
545
25
55
21.8
0.65032
0.453211
0
0
0
0
0.368966
0.224138
0
0
0
0
0
1
0
false
0
0
0
0
0.555556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
22140344407e36349e0c2ebb5a1253b775117e0d
3,360
py
Python
scripts/Benchmark-SORD-plot.py
gely/coseis
8b608a5f7a5eab570bbd17a6d6caf278e787ada0
[ "BSD-2-Clause" ]
7
2015-11-22T16:16:45.000Z
2019-08-21T09:19:27.000Z
scripts/Benchmark-SORD-plot.py
gely/coseis
8b608a5f7a5eab570bbd17a6d6caf278e787ada0
[ "BSD-2-Clause" ]
null
null
null
scripts/Benchmark-SORD-plot.py
gely/coseis
8b608a5f7a5eab570bbd17a6d6caf278e787ada0
[ "BSD-2-Clause" ]
5
2016-06-09T22:34:27.000Z
2020-04-12T01:31:11.000Z
#!/usr/bin/env python data = [ [ 7, [ 3.50016331673, 7.37909364700, 8.02381229401, 8.01285839081, 9.77704334259, 9.15692901611, 8.73682498932, 7.93067312241 ], ], [ 4.202, [ 2.06499981880, 2.08285713196, 2.18571448326, 2.1921432018...
25.454545
78
0.464881
499
3,360
3.130261
0.312625
0.008963
0.06146
0.074264
0.265045
0.196543
0.175416
0.122919
0.078105
0.078105
0
0.183889
0.294345
3,360
131
79
25.648855
0.474905
0.019048
0
0.146552
0
0.025862
0.370629
0.077227
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
22144b5672e6ef167c524fb5d99c0a4e5a07c3c6
797
py
Python
wechat/utils/com.py
yasongxu/wechat
99cc499a045a3705711740882cdc38d55416fbb5
[ "MIT" ]
45
2017-06-21T10:35:53.000Z
2022-03-30T09:43:09.000Z
wechat/utils/com.py
yasongxu/wechat
99cc499a045a3705711740882cdc38d55416fbb5
[ "MIT" ]
3
2017-11-12T13:07:08.000Z
2021-06-10T18:39:25.000Z
wechat/utils/com.py
yasongxu/wechat
99cc499a045a3705711740882cdc38d55416fbb5
[ "MIT" ]
15
2017-06-22T00:45:09.000Z
2021-03-19T07:02:58.000Z
import ujson as json import urllib2 import requests from django.http.response import HttpResponse from KillMe.settings import ALI_APP_CODE def get_api_data(url): req = urllib2.Request(url) req.add_header("apikey", "65dbb2bef357f34e3af0aac3bb9b2d6f") resp = urllib2.urlopen(req) content = resp.read() ...
22.138889
70
0.692597
100
797
5.4
0.53
0.022222
0.037037
0
0
0
0
0
0
0
0
0.026604
0.198243
797
35
71
22.771429
0.818466
0
0
0
0
0
0.09799
0.040201
0
0
0
0
0
0
null
null
0
0.2
null
null
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
22148796d791611bc5e682af57c0461e2e4e2be9
1,174
py
Python
test/TestConfig.py
pandorabots/pb-cli
06bb675399f196df2d460a7399e0209324b957a5
[ "BSD-2-Clause" ]
34
2015-06-07T03:36:52.000Z
2021-04-14T12:49:22.000Z
test/TestConfig.py
pandorabots/pb-cli
06bb675399f196df2d460a7399e0209324b957a5
[ "BSD-2-Clause" ]
17
2015-02-27T00:50:31.000Z
2021-08-11T09:10:04.000Z
test/TestConfig.py
pandorabots/pb-cli
06bb675399f196df2d460a7399e0209324b957a5
[ "BSD-2-Clause" ]
15
2015-05-29T16:31:49.000Z
2020-12-08T05:42:08.000Z
import os import json with open(os.path.abspath(os.path.dirname(__file__) + '/config.json'), 'r') as f: raw_config = json.load(f) class TestConfig: def setEnvironment(self,test_env): config = {} config["botName"] = raw_config["botName"] if test_env == 'development': test_en...
43.481481
86
0.597956
127
1,174
5.322835
0.275591
0.173077
0.227811
0.159763
0.568047
0.402367
0
0
0
0
0
0
0.216354
1,174
26
87
45.153846
0.734783
0
0
0
0
0
0.25724
0
0
0
0
0
0
1
0.043478
false
0
0.086957
0
0.217391
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
221a6c72d924d033218e68137b87ebcf9b1a32d0
1,152
py
Python
authentication/socialaccount/providers/microsoft/provider.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
null
null
null
authentication/socialaccount/providers/microsoft/provider.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
4
2020-05-06T17:22:00.000Z
2021-12-13T20:43:30.000Z
authentication/socialaccount/providers/microsoft/provider.py
vo0doO/pydj-persweb
efcd6b7090230f7c0b9ec056008f6d1d9e876ed9
[ "CC0-1.0" ]
null
null
null
from __future__ import unicode_literals from authentication.socialaccount.providers.base import ProviderAccount from authentication.socialaccount.providers.oauth2.provider import OAuth2Provider class MicrosoftGraphAccount(ProviderAccount): def to_str(self): name = self.account.extra_data.get('displayNam...
29.538462
87
0.680556
121
1,152
6.330579
0.53719
0.045692
0.08094
0.104439
0
0
0
0
0
0
0
0.00333
0.217882
1,152
38
88
30.315789
0.846837
0.092014
0
0
0
0
0.081854
0
0
0
0
0
0
1
0.173913
false
0
0.130435
0.043478
0.73913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
221b66b27623ac3057fc738e1f44ea536896b94e
348
py
Python
distest.py
jakobweck/KUMLDistributionEstimation
e6daf60de10fb91d33016ac5ff3dd070885beff3
[ "MIT" ]
null
null
null
distest.py
jakobweck/KUMLDistributionEstimation
e6daf60de10fb91d33016ac5ff3dd070885beff3
[ "MIT" ]
null
null
null
distest.py
jakobweck/KUMLDistributionEstimation
e6daf60de10fb91d33016ac5ff3dd070885beff3
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import sys import os def readcsv(filepath): if os.name == 'nt': print (os.getcwd()+ "\\" + filepath) csvFrame = pd.read_csv(os.getcwd()+ "\\" + filepath) else: csvFrame = pd.read_csv(filepath) print(csvFrame) print("Success") if __name__ == "__main_...
19.333333
55
0.62931
47
348
4.446809
0.510638
0.076555
0.15311
0.162679
0
0
0
0
0
0
0
0.003663
0.215517
348
17
56
20.470588
0.761905
0
0
0
0
0
0.063444
0
0
0
0
0
0
1
0.071429
false
0
0.285714
0
0.357143
0.214286
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
221c57915b87803182dc642ff57582b9c0bac44c
8,106
py
Python
tests/tests.py
tianyabeef/gutMicrobiome
16091db747bd887475f9aa7fb5301d210713b31e
[ "MIT" ]
1
2018-09-07T02:40:46.000Z
2018-09-07T02:40:46.000Z
tests/tests.py
tianyabeef/gutMicrobiome
16091db747bd887475f9aa7fb5301d210713b31e
[ "MIT" ]
null
null
null
tests/tests.py
tianyabeef/gutMicrobiome
16091db747bd887475f9aa7fb5301d210713b31e
[ "MIT" ]
null
null
null
__authors__ = ["Tobias Marschall", "Marcel Martin", "Johannes Köster"] __copyright__ = "Copyright 2015, Johannes Köster" __email__ = "koester@jimmy.harvard.edu" __license__ = "MIT" import sys import os from os.path import join from subprocess import call from tempfile import mkdtemp import hashlib import urllib from s...
22.392265
84
0.625709
972
8,106
5.00823
0.26749
0.095316
0.103533
0.013353
0.117502
0.079704
0.069433
0.048891
0.048891
0.032457
0
0.015075
0.247101
8,106
361
85
22.454294
0.782566
0.069208
0
0.060185
0
0
0.206823
0.01919
0
0
0
0
0.032407
1
0.287037
false
0.00463
0.074074
0
0.384259
0.00463
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
221f889bd05737e0fa1f0726cec79090f35e703c
4,079
py
Python
flaskAPI_ML/data_connectors/sqlserver_connect.py
pankaj-j-sharma/machine-vision-system
d214c1247d943862e4058a8e79d3c49c5d3da6b6
[ "Apache-2.0" ]
null
null
null
flaskAPI_ML/data_connectors/sqlserver_connect.py
pankaj-j-sharma/machine-vision-system
d214c1247d943862e4058a8e79d3c49c5d3da6b6
[ "Apache-2.0" ]
null
null
null
flaskAPI_ML/data_connectors/sqlserver_connect.py
pankaj-j-sharma/machine-vision-system
d214c1247d943862e4058a8e79d3c49c5d3da6b6
[ "Apache-2.0" ]
null
null
null
# !pip install pyodbc import pyodbc class SQLServerConnector: def __init__(self, own=None, ttl=None): if ttl: self.username = '' self.password = '' self.server = 'DESKTOP-FDEOKLS' self.instance = 'LOCALHOST' self.portnumber = '1521' s...
37.081818
114
0.528316
425
4,079
4.941176
0.242353
0.053333
0.028571
0.045714
0.330952
0.302381
0.274286
0.24381
0.24381
0.24381
0
0.006109
0.357931
4,079
109
115
37.422018
0.795724
0.004658
0
0.301075
0
0
0.116067
0
0
0
0
0
0
1
0.11828
false
0.064516
0.010753
0
0.215054
0.010753
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
22217ff6a6bdcf8379152f8bd37cb5603327a686
442
py
Python
python/strip_comments.py
TechieHelper/Codewars
98ea8deb14ae1422162895f481e4175ab5868955
[ "MIT" ]
null
null
null
python/strip_comments.py
TechieHelper/Codewars
98ea8deb14ae1422162895f481e4175ab5868955
[ "MIT" ]
null
null
null
python/strip_comments.py
TechieHelper/Codewars
98ea8deb14ae1422162895f481e4175ab5868955
[ "MIT" ]
null
null
null
def solution(string, markers): output = [] for line in string.split("\n"): containsCommentIndicator = "" for c in line: if c in markers: containsCommentIndicator = c break if containsCommentIndicator != "": line = line[:line.find(containsCommentIndicator)] line = line.rstrip(" ") output.appe...
22.1
83
0.667421
49
442
6.020408
0.530612
0.081356
0.216949
0
0
0
0
0
0
0
0
0
0.178733
442
19
84
23.263158
0.812672
0
0
0
0
0
0.133484
0.054299
0
0
0
0
0
1
0.071429
false
0
0
0
0.142857
0.071429
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
22271e9c1d3e567fb6d852bd65b42eb458a0cec2
1,216
py
Python
dashQC_fmri/__about__.py
arnaudbore/dashQC_fmri
eb899f810b14c001fd853e8d9337ac2fc6f7108a
[ "MIT" ]
null
null
null
dashQC_fmri/__about__.py
arnaudbore/dashQC_fmri
eb899f810b14c001fd853e8d9337ac2fc6f7108a
[ "MIT" ]
null
null
null
dashQC_fmri/__about__.py
arnaudbore/dashQC_fmri
eb899f810b14c001fd853e8d9337ac2fc6f7108a
[ "MIT" ]
null
null
null
__author__ = 'The dashQC_fmri developers' __copyright__ = 'Copyright 2018, The SIMEXP lab' __credits__ = [ 'Jonathan Armoza', 'Pierre Bellec', 'Yassine Benhajali', 'Sebastian Urchs' ] __license__ = 'MIT' __maintainer__ = 'Sebastian Urchs' __email__ = 'sebastian.urchs@mail.mcgill.com' __status__ = 'Prototype' __url...
24.32
94
0.671053
123
1,216
6.219512
0.731707
0.039216
0.098039
0.101961
0
0
0
0
0
0
0
0.014315
0.195724
1,216
49
95
24.816327
0.767894
0.037007
0
0
0
0
0.59589
0.045377
0
0
0
0.020408
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
222803dca03c8ff546a0b9ebc3bd9093b92d275b
2,302
py
Python
MetCompB/aula7/modeloSIR.py
Artur-UF/MetCompA
1198f861f4e5190f7435314bf476c594471e79fa
[ "MIT" ]
null
null
null
MetCompB/aula7/modeloSIR.py
Artur-UF/MetCompA
1198f861f4e5190f7435314bf476c594471e79fa
[ "MIT" ]
null
null
null
MetCompB/aula7/modeloSIR.py
Artur-UF/MetCompA
1198f861f4e5190f7435314bf476c594471e79fa
[ "MIT" ]
null
null
null
''' Integre numericamente o sistema de equações do modelo SIR usando método de Euler-Cromer. Para simplificar a exploração do modelo use como parâmetros \gamma=0.5 e varie o parâmetro \beta e as condições iniciais como indicado nos ítens abaixo: 1. Use a solução analítica para estimar um valor para \Delta t. Para...
37.129032
139
0.622937
433
2,302
3.307159
0.314088
0.027933
0.03352
0.03352
0.370112
0.344972
0.344972
0.321229
0.308659
0.308659
0
0.057047
0.223284
2,302
61
140
37.737705
0.743848
0.480017
0
0.055556
0
0
0.118644
0
0
0
0
0.016393
0
1
0.027778
false
0
0.055556
0
0.111111
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
222a9794092532b8ad335f0685f602858a161ab1
979
py
Python
src/resources/due_protobuf_control/test_arduino.py
Createcafe3d/YXE3Dtools
910b02eb6fc9a56b7f8d7a1436680154df3372be
[ "Apache-2.0" ]
23
2015-02-06T20:47:42.000Z
2018-03-15T01:47:02.000Z
src/resources/due_protobuf_control/test_arduino.py
Createcafe3d/YXE3Dtools
910b02eb6fc9a56b7f8d7a1436680154df3372be
[ "Apache-2.0" ]
4
2016-01-19T01:47:42.000Z
2016-06-03T17:59:45.000Z
src/resources/due_protobuf_control/test_arduino.py
Createcafe3d/YXE3Dtools
910b02eb6fc9a56b7f8d7a1436680154df3372be
[ "Apache-2.0" ]
15
2015-08-28T04:38:46.000Z
2020-02-15T09:55:48.000Z
#!/usr/bin/env python import serial import messages_pb2 import sys import time import math import numpy s = serial.Serial('COM17') sent = 0 start = time.time() def send(msg): global sent out = ['\x40', '\x02'] # \x02 is the message type for move for c in msg: if ord(c) in [0x40, 0x41, 0x42]: ...
23.878049
158
0.560776
161
979
3.397516
0.447205
0.065814
0.036563
0.025594
0
0
0
0
0
0
0
0.085048
0.255363
979
41
159
23.878049
0.665295
0.085802
0
0
0
0
0.025756
0
0
0
0.017917
0
0
0
null
null
0
0.1875
null
null
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
222bc7a247255b38116bfbb6e88d247cf3060896
350
py
Python
fipeapi/__version__.py
deibsoncarvalho/tabela-fipe-api
2890162e4436611326f0b878f647f344a8d52626
[ "Apache-2.0" ]
null
null
null
fipeapi/__version__.py
deibsoncarvalho/tabela-fipe-api
2890162e4436611326f0b878f647f344a8d52626
[ "Apache-2.0" ]
null
null
null
fipeapi/__version__.py
deibsoncarvalho/tabela-fipe-api
2890162e4436611326f0b878f647f344a8d52626
[ "Apache-2.0" ]
null
null
null
__title__ = 'fipeapi' __description__ = 'Python Extra Oficial API for REST Request to consult Vehicles Prices.' __url__ = 'https://github.com/deibsoncarvalho/tabela-fipe-api' __version__ = '0.1.0' __author__ = 'Deibson Carvalho' __author_email__ = 'eu@deibsoncarvalho.com' __license__ = 'Apache 2.0' __copyright__ = 'Cop...
38.888889
89
0.78
43
350
5.581395
0.790698
0.125
0
0
0
0
0
0
0
0
0
0.028939
0.111429
350
8
90
43.75
0.742765
0
0
0
0
0
0.6
0.062857
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
222c39597cd0c70ef1532f98a1d18c0f4b79fe7a
473
py
Python
tests/__init__.py
ensuro/ensuro-roulette
1c776a974268eddd9cf1ef88fd5cbc2babd8641e
[ "Apache-2.0" ]
5
2021-07-26T19:30:49.000Z
2022-02-26T17:39:20.000Z
tests/__init__.py
ensuro/ensuro-roulette
1c776a974268eddd9cf1ef88fd5cbc2babd8641e
[ "Apache-2.0" ]
3
2021-08-18T12:47:18.000Z
2022-02-14T19:26:55.000Z
tests/__init__.py
ensuro/ensuro-roulette
1c776a974268eddd9cf1ef88fd5cbc2babd8641e
[ "Apache-2.0" ]
2
2021-09-28T09:51:07.000Z
2022-03-31T21:06:01.000Z
import sys def extract_vars(vars, keys): """Utility function to extract vars from dict >>> a, c = extract_vars({"a": 1, "b": 2", "c": 3}, "a,c") """ keys = keys.split(",") for k in keys: yield vars[k.strip()] def is_brownie_coverage_enabled(tenv): if tenv.kind == "ethereum" and "bro...
23.65
61
0.59408
67
473
4.104478
0.58209
0.12
0
0
0
0
0
0
0
0
0
0.008571
0.260042
473
19
62
24.894737
0.777143
0.213531
0
0
0
0
0.067227
0
0
0
0
0
0
1
0.181818
false
0
0.181818
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
0
0
1
0
0
1
222f1cd04bb60b7d5467b51c6c0d4d6c6e80aee9
1,232
py
Python
2016/12/monorail.py
tobiasvl/adventofcode2017
2acc1d30cafb6b73f1cb29335fd790e3864df8fc
[ "CC0-1.0" ]
3
2018-12-03T06:42:01.000Z
2020-04-12T09:49:45.000Z
2016/12/monorail.py
tobiasvl/adventofcode2017
2acc1d30cafb6b73f1cb29335fd790e3864df8fc
[ "CC0-1.0" ]
null
null
null
2016/12/monorail.py
tobiasvl/adventofcode2017
2acc1d30cafb6b73f1cb29335fd790e3864df8fc
[ "CC0-1.0" ]
null
null
null
instructions = [] regs = {} with open('input.txt') as f: for line in f: element = line.strip().split() instructions.append({'operation': element[0], 'operands': tuple(element[1:])}) try: int(element[1]) except ValueError: regs.upd...
25.142857
68
0.519481
146
1,232
4.356164
0.376712
0.050314
0.075472
0.053459
0.081761
0.081761
0.081761
0
0
0
0
0.023457
0.342532
1,232
48
69
25.666667
0.761728
0
0
0.102564
0
0
0.108766
0
0
0
0
0
0
0
null
null
0
0
null
null
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2241cf1626301ffe51aa10540683a4f9299c392d
2,574
py
Python
tests/bugs/core_6088_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_6088_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/bugs/core_6088_test.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: bugs.core_6088 # title: "SIMILAR TO" hangs when processing parenthesis # decription: # Confirmed normal work (evaluation for less than 5 ms) on WI-T4.0.0.1598 # 31.12.2020: increased max duration threshold from 100 to 150 ms. # ...
31.777778
139
0.49223
278
2,574
4.341727
0.467626
0.019884
0.059652
0.019884
0.122618
0.084507
0
0
0
0
0
0.04164
0.384227
2,574
80
140
32.175
0.719874
0.16317
0
0.192308
0
0.038462
0.774194
0.107994
0
0
0
0
0.019231
1
0.019231
false
0
0.038462
0
0.057692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2247c6c9eb9200e900224e4ce7c7dc813e9390d6
320
py
Python
credentials-ex.py
cspark777/geointelligence_flask
63e95a6180f15139a4e65bf7eef7d57fc6854040
[ "MIT" ]
null
null
null
credentials-ex.py
cspark777/geointelligence_flask
63e95a6180f15139a4e65bf7eef7d57fc6854040
[ "MIT" ]
null
null
null
credentials-ex.py
cspark777/geointelligence_flask
63e95a6180f15139a4e65bf7eef7d57fc6854040
[ "MIT" ]
null
null
null
# Go to http://apps.twitter.com and create an app. # The consumer key and secret will be generated for you API_KEY = "" API_SECRET_KEY = "" # After the step above, you will be redirected to your app's page. # Create an access token under the the "Your access token" section ACCESS_TOKEN = "" ACCESS_TOKEN_SECRET = ""
26.666667
66
0.73125
54
320
4.222222
0.574074
0.192982
0
0
0
0
0
0
0
0
0
0
0.184375
320
11
67
29.090909
0.873563
0.725
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
224bff858a858210513bb52869bc4ea8d1e4c7b8
514
py
Python
spec/python/test_enum_to_i_class_border_1.py
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
11
2018-04-01T03:58:15.000Z
2021-08-14T09:04:55.000Z
spec/python/test_enum_to_i_class_border_1.py
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
73
2016-07-20T10:27:15.000Z
2020-12-17T18:56:46.000Z
spec/python/test_enum_to_i_class_border_1.py
DarkShadow44/kaitai_struct_tests
4bb13cef82965cca66dda2eb2b77cd64e9f70a12
[ "MIT" ]
37
2016-08-15T08:25:56.000Z
2021-08-28T14:48:46.000Z
# Autogenerated from KST: please remove this line if doing any edits by hand! import unittest from enum_to_i_class_border_1 import EnumToIClassBorder1 class TestEnumToIClassBorder1(unittest.TestCase): def test_enum_to_i_class_border_1(self): with EnumToIClassBorder1.from_file('src/enum_0.bin') as r: ...
36.714286
77
0.758755
70
514
5.342857
0.628571
0.120321
0.128342
0.064171
0.101604
0.101604
0
0
0
0
0
0.023364
0.167315
514
13
78
39.538462
0.850467
0.145914
0
0
1
0
0.032037
0
0
0
0
0
0.375
1
0.125
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2253a8f37f3e8d561f0bdbcc147addfd6c7e2452
2,491
py
Python
Leak #5 - Lost In Translation/windows/Resources/Ops/PyScripts/ripper/plugins/firefox.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
9
2019-11-22T04:58:40.000Z
2022-02-26T16:47:28.000Z
Python.Fuzzbunch/Resources/Ops/PyScripts/ripper/plugins/firefox.py
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
null
null
null
Python.Fuzzbunch/Resources/Ops/PyScripts/ripper/plugins/firefox.py
010001111/Vx-Suites
6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79
[ "MIT" ]
8
2017-09-27T10:31:18.000Z
2022-01-08T10:30:46.000Z
from plugin import plugin class firefox(plugin, ): def __init__(self, os, maxsize): plugin.__init__(self, os, maxsize, __name__) print ('loaded %s' % __name__) def preGet(self): lFiles = self.listFiles() size = 0 for f in lFiles: size += f.size pri...
41.516667
144
0.58892
271
2,491
5.324723
0.376384
0.045738
0.038115
0.038808
0.099792
0
0
0
0
0
0
0.00618
0.285428
2,491
60
145
41.516667
0.804494
0
0
0.037037
0
0
0.148535
0.041349
0
0
0
0
0
1
0.074074
false
0.092593
0.148148
0
0.240741
0.092593
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
225e69373c45df9132dafdecdde1b8a2c1835269
506
py
Python
ckan_cloud_provisioner/__init__.py
OriHoch/ckan-cloud-provisioning-api
856e9c9e19eec83c60378844b604a9950c3cbb94
[ "MIT" ]
null
null
null
ckan_cloud_provisioner/__init__.py
OriHoch/ckan-cloud-provisioning-api
856e9c9e19eec83c60378844b604a9950c3cbb94
[ "MIT" ]
null
null
null
ckan_cloud_provisioner/__init__.py
OriHoch/ckan-cloud-provisioning-api
856e9c9e19eec83c60378844b604a9950c3cbb94
[ "MIT" ]
null
null
null
from auth.models import get_user from .blueprint import make_blueprint from .models import User, query_one def get_permissions(service, userid): print('get_permissions', service, userid) if service != 'ckan-cloud-provisioner': return {} user = get_user(userid) if user is None: return {} ...
23
53
0.65415
67
506
4.835821
0.38806
0.055556
0.111111
0.166667
0
0
0
0
0
0
0
0
0.247036
506
21
54
24.095238
0.850394
0
0
0
0
0
0.098814
0.043478
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.357143
0.214286
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
226a53a243c009fa669d03aca62bd8af3fd1e422
616
py
Python
src/pretix/base/migrations/0127_auto_20190711_0705.py
pajowu/pretix
d6985123b4528f134ead71ce0a4613c9a309fd2c
[ "ECL-2.0", "Apache-2.0" ]
1,248
2015-04-24T13:32:06.000Z
2022-03-29T07:01:36.000Z
src/pretix/base/migrations/0127_auto_20190711_0705.py
pajowu/pretix
d6985123b4528f134ead71ce0a4613c9a309fd2c
[ "ECL-2.0", "Apache-2.0" ]
2,113
2015-02-18T18:58:16.000Z
2022-03-31T11:12:32.000Z
src/pretix/base/migrations/0127_auto_20190711_0705.py
pajowu/pretix
d6985123b4528f134ead71ce0a4613c9a309fd2c
[ "ECL-2.0", "Apache-2.0" ]
453
2015-05-13T09:29:06.000Z
2022-03-24T13:39:16.000Z
# Generated by Django 2.2.1 on 2019-07-11 07:05 from django.db import migrations import pretix.base.models.fields class Migration(migrations.Migration): dependencies = [ ('pretixbase', '0126_item_show_quota_left'), ] operations = [ migrations.RenameField( model_name='questi...
23.692308
75
0.612013
62
616
5.903226
0.66129
0.114754
0.087432
0.120219
0
0
0
0
0
0
0
0.042601
0.275974
616
25
76
24.64
0.778027
0.073052
0
0.222222
1
0
0.177504
0.043937
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1