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
4d1e11fe07c9e17482225346b3bf314a5354caa6
360
py
Python
create_table_from_word/table_columns.py
yongli82/CodeGenerator
4ca9255c3c4c5392e45815fd20f605ccbbfd2325
[ "MIT" ]
null
null
null
create_table_from_word/table_columns.py
yongli82/CodeGenerator
4ca9255c3c4c5392e45815fd20f605ccbbfd2325
[ "MIT" ]
null
null
null
create_table_from_word/table_columns.py
yongli82/CodeGenerator
4ca9255c3c4c5392e45815fd20f605ccbbfd2325
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- import os import sys reload(sys) sys.setdefaultencoding('utf-8') import ExcelUtil from jinja2 import Template import re def get_table_list(): column_headers = ExcelUtil.generate_columns('A', 'F') data_grid = ExcelUtil.read_excel_with_head(u"财务账务表.xlsx", u"表", col...
18.947368
83
0.730556
53
360
4.773585
0.735849
0.031621
0.079051
0
0
0
0
0
0
0
0
0.009709
0.141667
360
18
84
20
0.809061
0.113889
0
0
0
0
0.056962
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4d2a55ccfddd9dd9215b0c629a81b67391bf257c
360
py
Python
tts/symbols.py
entn-at/tn2-wg
00f59da91a1e23020b20210ea62d838e20c049f2
[ "BSD-3-Clause" ]
38
2019-07-03T21:40:57.000Z
2021-11-30T15:59:20.000Z
tts/symbols.py
entn-at/tn2-wg
00f59da91a1e23020b20210ea62d838e20c049f2
[ "BSD-3-Clause" ]
4
2019-08-20T12:19:10.000Z
2021-07-29T11:20:59.000Z
tts/symbols.py
entn-at/tn2-wg
00f59da91a1e23020b20210ea62d838e20c049f2
[ "BSD-3-Clause" ]
11
2019-07-04T09:17:27.000Z
2021-11-14T21:05:04.000Z
""" from https://github.com/keithito/tacotron """ _pad = '_' #_punctuation = '!\'(),.:;? ' _punctuation = '!",.:;? ' _special = '-' #_letters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' _letters = "АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдеёжзийклмнопрстуфхцчшщъыьэюя" symbols = [_pad] + list(_special...
32.727273
79
0.711111
22
360
11.136364
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.116667
360
10
80
36
0.77044
0.377778
0
0
0
0
0.351852
0.305556
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
2
4d2c6196de9f0ffebba719e30abbaf48e28d2d23
5,719
py
Python
test/test_tdodbc.py
Teradata/PyTd
5e960ed4c380c4f8ae84d582ad779a87adce5ae1
[ "MIT" ]
133
2015-07-27T22:12:58.000Z
2021-08-31T05:26:38.000Z
test/test_tdodbc.py
Teradata/PyTd
5e960ed4c380c4f8ae84d582ad779a87adce5ae1
[ "MIT" ]
121
2015-07-30T18:03:03.000Z
2021-08-09T13:46:37.000Z
test/test_tdodbc.py
Teradata/PyTd
5e960ed4c380c4f8ae84d582ad779a87adce5ae1
[ "MIT" ]
57
2015-07-27T10:41:08.000Z
2021-04-26T08:58:57.000Z
# The MIT License (MIT) # # Copyright (c) 2015 by Teradata # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modif...
43.656489
79
0.616541
601
5,719
5.838602
0.332779
0.089769
0.062696
0.042747
0.409233
0.325734
0.243374
0.224565
0.224565
0.224565
0
0.012219
0.28449
5,719
130
80
43.992308
0.845308
0.18762
0
0.139785
0
0
0.093858
0.01795
0
0
0
0
0.419355
1
0.086022
false
0.086022
0.043011
0
0.139785
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
2
4d69852609dac731ffb1bbf364bfde4e5a34166e
390
py
Python
lmsapi/api_cash/views.py
orkasolutions-develop/lms-api-new
c9e5a2d98874a4a7415002397048258526a94644
[ "MIT" ]
null
null
null
lmsapi/api_cash/views.py
orkasolutions-develop/lms-api-new
c9e5a2d98874a4a7415002397048258526a94644
[ "MIT" ]
null
null
null
lmsapi/api_cash/views.py
orkasolutions-develop/lms-api-new
c9e5a2d98874a4a7415002397048258526a94644
[ "MIT" ]
null
null
null
from core.views import BaseViewSet from .models import Cash from .serializers import CashSerializer class CashViewSet(BaseViewSet): """ - Vybirame jen typ 4 coz jsou platby z Banky - Setridime nenovejsim datem na zacatek """ queryset = Cash.objects.all().filter(type=4).order_by('-time') serial...
27.857143
66
0.717949
47
390
5.893617
0.787234
0
0
0
0
0
0
0
0
0
0
0.006289
0.184615
390
13
67
30
0.86478
0.215385
0
0
0
0
0.062937
0
0
0
0
0
0
1
0
false
0
0.428571
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
1
0
0
2
4d6cac5c33887bd192cb3cbbad427835d929fc30
4,511
py
Python
IPython/core/events.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
1
2020-12-18T01:07:55.000Z
2020-12-18T01:07:55.000Z
IPython/core/events.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
null
null
null
IPython/core/events.py
pyarnold/ipython
c4797f7f069d0a974ddfa1e4251c7550c809dba0
[ "BSD-3-Clause-Clear" ]
null
null
null
"""Infrastructure for registering and firing callbacks on application events. Unlike :mod:`IPython.core.hooks`, which lets end users set single functions to be called at specific times, or a collection of alternative methods to try, callbacks are designed to be used by extension authors. A number of callbacks can be r...
30.275168
94
0.643095
548
4,511
5.215328
0.34854
0.03184
0.024493
0.044787
0.293912
0.223933
0.188244
0.16655
0.140658
0.140658
0
0.001168
0.240745
4,511
148
95
30.47973
0.833285
0.614055
0
0.243902
0
0
0.037669
0
0
0
0
0
0
1
0.292683
false
0.121951
0.02439
0
0.365854
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
4d7873d4b9675dd4cab3d904b988b8e5a2734851
3,188
py
Python
qrand/caches/cache.py
LaurentAjdnik/qrand
69a4fb049e1d50af5aaa52a6b417d58490169769
[ "Apache-2.0" ]
18
2020-10-28T19:04:39.000Z
2022-03-02T17:23:32.000Z
qrand/caches/cache.py
LaurentAjdnik/qrand
69a4fb049e1d50af5aaa52a6b417d58490169769
[ "Apache-2.0" ]
25
2021-04-05T01:11:24.000Z
2022-02-10T16:13:43.000Z
qrand/caches/cache.py
LaurentAjdnik/qrand
69a4fb049e1d50af5aaa52a6b417d58490169769
[ "Apache-2.0" ]
16
2020-12-02T14:59:12.000Z
2022-01-04T19:17:47.000Z
## _____ _____ ## | __ \| __ \ AUTHOR: Pedro Rivero ## | |__) | |__) | --------------------------------- ## | ___/| _ / DATE: May 18, 2021 ## | | | | \ \ --------------------------------- ## |_| |_| \_\ https://github.com/pedrorrivero ## ## Copyright 2021 Pedro Rivero ## ## Licen...
26.131148
79
0.500627
324
3,188
4.842593
0.407407
0.04079
0.025494
0.020395
0.284257
0.257489
0.257489
0.257489
0.257489
0.257489
0
0.006434
0.31744
3,188
121
80
26.347107
0.714614
0.629862
0
0.555556
0
0
0
0
0
0
0
0
0
1
0.277778
false
0.277778
0.055556
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
4d8becef069dc2415fd75f8eb057517bc3d380a9
343
py
Python
Python_lxf/Python_Basic_Operation/Python_Basic/basicValueAndFunc/slice.py
QAlexBall/Learning_Py
8a5987946928a9d86f6807555ed435ac604b2c44
[ "MIT" ]
2
2019-01-24T15:06:59.000Z
2019-01-25T07:34:45.000Z
Python_lxf/Python_Basic_Operation/Python_Basic/basicValueAndFunc/slice.py
QAlexBall/Learning_Py
8a5987946928a9d86f6807555ed435ac604b2c44
[ "MIT" ]
1
2019-12-23T09:45:11.000Z
2019-12-23T09:45:11.000Z
Python_lxf/Python_Basic_Operation/Python_Basic/basicValueAndFunc/slice.py
QAlexBall/Learning_Py
8a5987946928a9d86f6807555ed435ac604b2c44
[ "MIT" ]
1
2019-07-18T14:21:35.000Z
2019-07-18T14:21:35.000Z
L = ['michael', 'sarah', 'tracy', 'bob', 'jack'] # 取前N个元素 r = [] n = 3 for i in range(n): r.append(L[i]) print(r) # python提供slice操作符简化. m = 0 print(L[m:n], L[:n], L[-n:-1]) L = list(range(100)) print(L[:10], '\r', L[-10:], '\r', L[10:20], '\r', L[:10:2], '\r', L[::5]) print((0, 1, 2, 3, 4, 5)[:3]) print('ABCDEFG'[:3...
16.333333
74
0.483965
67
343
2.477612
0.41791
0.072289
0.072289
0.060241
0.066265
0
0
0
0
0
0
0.094077
0.163265
343
20
75
17.15
0.484321
0.075802
0
0
0
0
0.148387
0
0
0
0
0
0
1
0
false
0
0
0
0
0.416667
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
1
0
2
4d9a39367847fba7d83c619b3792a5d2c6b7b745
401
py
Python
shoottikala/privileges.py
conikuvat/shootti-ilmo
bf5ab15e20173994bac25e6b5cd3aec42f671f05
[ "MIT" ]
null
null
null
shoottikala/privileges.py
conikuvat/shootti-ilmo
bf5ab15e20173994bac25e6b5cd3aec42f671f05
[ "MIT" ]
9
2017-02-15T20:36:49.000Z
2017-05-26T12:10:43.000Z
shoottikala/privileges.py
conikuvat/shootti-ilmo
bf5ab15e20173994bac25e6b5cd3aec42f671f05
[ "MIT" ]
null
null
null
from .exceptions import AccessDenied class AccessControlMixin(object): def user_can_edit(self, user): return (user.is_superuser or self.user == user) def check_write_privileges(self, user): if not self.user_can_edit(user): raise AccessDenied() def check_read_privileges(self, ...
26.733333
55
0.678304
51
401
5.117647
0.470588
0.183908
0.084291
0.153257
0.260536
0.260536
0.260536
0.260536
0
0
0
0
0.236908
401
14
56
28.642857
0.852941
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.1
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
1
0
0
0
0
1
0
0
2
4d9e067a4c732861782bebe97c9870ee7872595c
218
py
Python
tareas/3/FranciscoRodrigo-SanchezBeatriz/common/random_proc.py
Miguelp-rez/sistop-2019-2
428444217ba0cc98030a9d84d8b415dcddad9b65
[ "CC-BY-4.0" ]
null
null
null
tareas/3/FranciscoRodrigo-SanchezBeatriz/common/random_proc.py
Miguelp-rez/sistop-2019-2
428444217ba0cc98030a9d84d8b415dcddad9b65
[ "CC-BY-4.0" ]
null
null
null
tareas/3/FranciscoRodrigo-SanchezBeatriz/common/random_proc.py
Miguelp-rez/sistop-2019-2
428444217ba0cc98030a9d84d8b415dcddad9b65
[ "CC-BY-4.0" ]
null
null
null
import random def rand_proc(num_proc): procesos = [] for j in range(0,num_proc): t_0 = random.randint(1,10+1) t =random.randint(1,10+1) procesos.append([j,t_0,t]) return procesos
19.818182
36
0.600917
36
218
3.5
0.5
0.111111
0.222222
0.253968
0.269841
0
0
0
0
0
0
0.06875
0.266055
218
10
37
21.8
0.71875
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4d9e28ca22e75c89217adddb5f64ba79edc5981d
1,753
py
Python
fooof/tests/test_analysis.py
anchandm/fooof
dcc93b14c4a6987ce7e394696af3221dd2a7bbd6
[ "Apache-2.0" ]
1
2019-03-26T16:30:43.000Z
2019-03-26T16:30:43.000Z
fooof/tests/test_analysis.py
anchandm/fooof
dcc93b14c4a6987ce7e394696af3221dd2a7bbd6
[ "Apache-2.0" ]
null
null
null
fooof/tests/test_analysis.py
anchandm/fooof
dcc93b14c4a6987ce7e394696af3221dd2a7bbd6
[ "Apache-2.0" ]
null
null
null
"""Test functions for FOOOF analysis.""" import numpy as np from fooof.analysis import * ################################################################################################### ################################################################################################### def test_get_band_peak_fm(t...
28.274194
99
0.551055
282
1,753
3.223404
0.202128
0.107811
0.09681
0.033003
0.618262
0.486249
0.369637
0.19912
0.180418
0.143014
0
0.083621
0.174558
1,753
61
100
28.737705
0.544575
0.087279
0
0
0
0
0
0
0
0
0
0
0.482759
1
0.206897
false
0
0.068966
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
4da267cbfd8f27c90210ee8dd60a31e0b0b8e755
347
py
Python
rssplus/forms.py
Davidhw/infocatch
ddeb5d31b1eb353f41f444c5c6eec2c5d1b1ba72
[ "BSD-2-Clause" ]
null
null
null
rssplus/forms.py
Davidhw/infocatch
ddeb5d31b1eb353f41f444c5c6eec2c5d1b1ba72
[ "BSD-2-Clause" ]
null
null
null
rssplus/forms.py
Davidhw/infocatch
ddeb5d31b1eb353f41f444c5c6eec2c5d1b1ba72
[ "BSD-2-Clause" ]
null
null
null
from django import forms class URLForm(forms.Form): siteUrl = forms.CharField(label='Website Address', max_length=100,required=True) ''' javascriptChoices = ((2,"Keep Javascript",),(1,"Remove Some Javascript"),(0,"Remove All Javascript")) keepJavascript = forms.ChoiceField(choices=javascriptChoices,label="...
34.7
105
0.737752
39
347
6.538462
0.74359
0.094118
0
0
0
0
0
0
0
0
0
0.019544
0.115274
347
9
106
38.555556
0.811075
0
0
0
0
0
0.107914
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
4db08c1ad06a4f3c0a888874af940f73222f14eb
1,458
py
Python
mojo/python/tests/bindings_constants_unittest.py
zbowling/mojo
4d2ed40dc2390ca98a6fea0580e840535878f11c
[ "BSD-3-Clause" ]
1
2020-04-28T14:35:10.000Z
2020-04-28T14:35:10.000Z
mojo/python/tests/bindings_constants_unittest.py
TribeMedia/sky_engine
4a3894ed246327931b198a7d64652bd0b615b036
[ "BSD-3-Clause" ]
null
null
null
mojo/python/tests/bindings_constants_unittest.py
TribeMedia/sky_engine
4a3894ed246327931b198a7d64652bd0b615b036
[ "BSD-3-Clause" ]
1
2020-04-28T14:35:11.000Z
2020-04-28T14:35:11.000Z
# Copyright 2014 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import math import unittest # Generated files # pylint: disable=F0401 import sample_service_mojom import test_constants_mojom class ConstantBindingsTest(un...
37.384615
77
0.752401
171
1,458
6.175439
0.426901
0.123106
0.170455
0.192235
0.54072
0.479167
0.32197
0.32197
0.123106
0.123106
0
0.028926
0.170096
1,458
38
78
38.368421
0.843802
0.132373
0
0.259259
0
0
0.01112
0
0
0
0
0
0.444444
1
0.111111
false
0
0.148148
0
0.296296
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
1
0
0
0
0
0
0
0
0
0
2
4dbc315472764792a06e13d3e501c508bdc38cb4
769
py
Python
src/pdf/domain/encrypt.py
ichiro-kazusa/PDFCon
529c22145bfd20919b015b5ba70e8bab33feed01
[ "MIT" ]
null
null
null
src/pdf/domain/encrypt.py
ichiro-kazusa/PDFCon
529c22145bfd20919b015b5ba70e8bab33feed01
[ "MIT" ]
null
null
null
src/pdf/domain/encrypt.py
ichiro-kazusa/PDFCon
529c22145bfd20919b015b5ba70e8bab33feed01
[ "MIT" ]
null
null
null
from ..command.encrypt import EncryptionCommand class Encryption: def __init__(self, owner: str = '', user: str = '') -> None: self.__owner = owner self.__user = user self.__verify_entries() @property def owner(self): return self.__owner @property def user(self)...
24.806452
76
0.625488
83
769
5.445783
0.421687
0.099558
0.057522
0
0
0
0
0
0
0
0
0
0.279584
769
30
77
25.633333
0.815884
0.16775
0
0.111111
0
0
0.015848
0
0
0
0
0
0
1
0.277778
false
0
0.055556
0.111111
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
4dbd2fe8b25b1e5fbb2859a59ee51157048af1ed
709
py
Python
photos/migrations/0002_auto_20190616_1812.py
savannah8/The-gallery
ddb95d08e81e874fe8b24046a2acc40be0a68cbe
[ "Unlicense" ]
null
null
null
photos/migrations/0002_auto_20190616_1812.py
savannah8/The-gallery
ddb95d08e81e874fe8b24046a2acc40be0a68cbe
[ "Unlicense" ]
5
2020-06-05T21:16:21.000Z
2021-09-08T01:03:08.000Z
photos/migrations/0002_auto_20190616_1812.py
savannah8/The-gallery
ddb95d08e81e874fe8b24046a2acc40be0a68cbe
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2019-06-16 15:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('photos', '0001_initial'), ] operations = [ migrations.RemoveField( model_...
21.484848
46
0.543018
61
709
6.147541
0.57377
0.12
0.2
0.16
0.234667
0.234667
0.234667
0
0
0
0
0.042918
0.342736
709
32
47
22.15625
0.761803
0.093089
0
0.48
1
0
0.120313
0
0
0
0
0
0
1
0
false
0
0.08
0
0.2
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4dbe3d037f49de1a5bf9a99b444cecb6fba61822
2,984
py
Python
my/rtm.py
almereyda/HPI
c83bfbd21ce94a96f7af01ab0a82f20535f4aefb
[ "MIT" ]
null
null
null
my/rtm.py
almereyda/HPI
c83bfbd21ce94a96f7af01ab0a82f20535f4aefb
[ "MIT" ]
null
null
null
my/rtm.py
almereyda/HPI
c83bfbd21ce94a96f7af01ab0a82f20535f4aefb
[ "MIT" ]
null
null
null
""" [[https://rememberthemilk.com][Remember The Milk]] tasks and notes """ REQUIRES = [ 'icalendar', ] import re from pathlib import Path from typing import Dict, List, Optional, Iterator from datetime import datetime from .common import LazyLogger, get_files, group_by_key, cproperty, make_dict from my.config i...
24.661157
78
0.612936
400
2,984
4.4325
0.2925
0.054146
0.013536
0.038353
0.094755
0.059786
0
0
0
0
0
0.002709
0.257708
2,984
120
79
24.866667
0.797743
0.081769
0
0.1625
0
0
0.049541
0.008807
0
0
0
0.008333
0.0125
1
0.2375
false
0
0.1
0.075
0.55
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4dc1180d1faca62d2a5375c9a1f39fa3d254832a
350
py
Python
learnpython/fib.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
2
2019-05-19T11:54:26.000Z
2019-05-19T12:03:49.000Z
learnpython/fib.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
1
2020-11-27T07:55:15.000Z
2020-11-27T07:55:15.000Z
learnpython/fib.py
Octoberr/swm0920
8f05a6b91fc205960edd57f9076facec04f49a1a
[ "Apache-2.0" ]
2
2021-09-06T18:06:12.000Z
2021-12-31T07:44:43.000Z
# def fib2(n): # 返回到 n 的斐波那契数列 # result = [] # a, b = 0, 1 # while b < n: # result.append(b) # a, b = b, a+b # return result # # a = fib2(500) # print(a) def recur_fibo(n): """递归函数 输出斐波那契数列""" if n <= 1: return n else: return(recur_fibo(n-1) + recur_fibo(n-2))...
15.217391
48
0.485714
56
350
2.964286
0.410714
0.216867
0.180723
0
0
0
0
0
0
0
0
0.051948
0.34
350
23
49
15.217391
0.666667
0.511429
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4dc7d26cc18475fbd2b690b1e9dc6d7f0d1003fa
637
py
Python
core/cdag/node/sub.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
core/cdag/node/sub.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
core/cdag/node/sub.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# ---------------------------------------------------------------------- # SubNode # ---------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for details # ---------------------------------------------------------------------- # Python modules from ...
25.48
75
0.44113
51
637
5.490196
0.686275
0.078571
0
0
0
0
0
0
0
0
0
0.014898
0.156986
637
24
76
26.541667
0.506518
0.524333
0
0
0
0
0.010714
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
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
0
1
1
0
0
2
4dccb31b43009dc8e9a6ff9aaa09678332eccb6f
1,028
py
Python
tokenizer.py
momennaas/kalam-lp
fdf032ca71a155169f507cba40275ca38f409c87
[ "MIT" ]
6
2019-03-31T04:46:27.000Z
2020-02-27T16:39:31.000Z
tokenizer.py
momennaas/kalam-lp
fdf032ca71a155169f507cba40275ca38f409c87
[ "MIT" ]
null
null
null
tokenizer.py
momennaas/kalam-lp
fdf032ca71a155169f507cba40275ca38f409c87
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- ############################################################## ## Author: Abdulmumen Naas ## Description: Arabic Natural Language Processor (Kalam-lp) ## Version: 0.0.1 ## Copyright (c) 2014 Abdulmumen Naas ############################################################## import re impo...
25.073171
72
0.559339
121
1,028
4.636364
0.561983
0.049911
0.049911
0.053476
0.092692
0
0
0
0
0
0
0.009792
0.205253
1,028
40
73
25.7
0.676867
0.208171
0
0.173913
0
0
0.059859
0
0
0
0
0.025
0
0
null
null
0
0.130435
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
4dd688bf34007f2b88b7cc72d6792e3f5c02e4ad
801
py
Python
rec/migrations/0005_auto_20200922_1701.py
lpkyrius/rg1
6132ec5cd8db86088f8635f2e12ce6bf16aeff8e
[ "MIT" ]
null
null
null
rec/migrations/0005_auto_20200922_1701.py
lpkyrius/rg1
6132ec5cd8db86088f8635f2e12ce6bf16aeff8e
[ "MIT" ]
2
2020-09-16T14:06:34.000Z
2020-09-16T18:14:26.000Z
rec/migrations/0005_auto_20200922_1701.py
lpkyrius/rg1
6132ec5cd8db86088f8635f2e12ce6bf16aeff8e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.1 on 2020-09-22 20:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('rec', '0004_auto_20200922_1633'), ] operations = [ migrations.AlterField( model_name='convenio', name='cnpj', ...
27.62069
87
0.574282
83
801
5.433735
0.518072
0.133038
0.166297
0.192905
0.607539
0.607539
0.51663
0.51663
0
0
0
0.069149
0.29588
801
28
88
28.607143
0.730496
0.05618
0
0.409091
1
0
0.090186
0.030504
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4de2f8a837d616a9960e145e5c2a45f95ecf9856
127
py
Python
learn_tf/MNIST.py
pkumusic/AI
912f1b6f12177e301c4a7efccc305bcb52e4d823
[ "MIT" ]
1
2017-05-26T15:23:03.000Z
2017-05-26T15:23:03.000Z
learn_tf/MNIST.py
pkumusic/AI
912f1b6f12177e301c4a7efccc305bcb52e4d823
[ "MIT" ]
null
null
null
learn_tf/MNIST.py
pkumusic/AI
912f1b6f12177e301c4a7efccc305bcb52e4d823
[ "MIT" ]
null
null
null
__author__ = "Music" # MNIST For ML Beginners # https://www.tensorflow.org/versions/r0.9/tutorials/mnist/beginners/index.html
25.4
79
0.771654
18
127
5.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0.017241
0.086614
127
4
80
31.75
0.793103
0.787402
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4de7d409e55429843384ad1f22b9b00b0eb2103a
3,437
py
Python
argonneV14.py
floresab/Toy-Models
0b990563e1be903cbdcb56ead57d83bc3ca71198
[ "MIT" ]
null
null
null
argonneV14.py
floresab/Toy-Models
0b990563e1be903cbdcb56ead57d83bc3ca71198
[ "MIT" ]
null
null
null
argonneV14.py
floresab/Toy-Models
0b990563e1be903cbdcb56ead57d83bc3ca71198
[ "MIT" ]
null
null
null
""" File : argonneV14.py Language : Python 3.6 Created : 7/13/2018 Edited : 7/13/2018 San Digeo State University Department of Physics and Astronomy #https://journals.aps.org/prc/pdf/10.1103/PhysRevC.51.38 --argonneV18 This code implements Argonne V14 potential outlined in ... --CONSTANTS -- ...
33.696078
84
0.364562
417
3,437
3
0.335731
0.035172
0.043165
0.044764
0.091127
0.078337
0.078337
0.078337
0.059153
0.057554
0
0.262158
0.479488
3,437
101
85
34.029703
0.437116
0.524003
0
0.086957
0
0
0
0
0
0
0
0
0
1
0.065217
false
0
0.021739
0
0.152174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4dfbb723c6f3d56895498fae876785ec1b7ea406
19,132
py
Python
pysnmp/ERI-DNX-STS1-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ERI-DNX-STS1-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ERI-DNX-STS1-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ERI-DNX-STS1-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ERI-DNX-STS1-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:51:50 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
127.546667
2,554
0.744041
2,312
19,132
6.156142
0.120675
0.009696
0.013701
0.018267
0.471931
0.413124
0.359306
0.333099
0.265931
0.235579
0
0.112316
0.089275
19,132
149
2,555
128.402685
0.704545
0.01704
0
0
0
0
0.128478
0.016492
0
0
0
0
0
1
0
false
0
0.056738
0
0.085106
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4dfd222e1995b07a6acae65ab8a9083933dc5471
632
py
Python
nqs_tf/models/ffnn.py
ameya1101/neural-quantum-states
2ab4f970e4cd7ed2a4ed3ebfdfe66bab396c11af
[ "MIT" ]
null
null
null
nqs_tf/models/ffnn.py
ameya1101/neural-quantum-states
2ab4f970e4cd7ed2a4ed3ebfdfe66bab396c11af
[ "MIT" ]
null
null
null
nqs_tf/models/ffnn.py
ameya1101/neural-quantum-states
2ab4f970e4cd7ed2a4ed3ebfdfe66bab396c11af
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow.keras.models import Model from tensorflow.keras.layers import Dense from activations.activations import tan_sigmoid, exponential, ReLU class FFNN(Model): """ Creates a generic Feedforward neural network. """ def __init__(self): super(FFNN, self).__init__() ...
30.095238
67
0.683544
82
632
5.097561
0.52439
0.066986
0.090909
0
0
0
0
0
0
0
0
0.01006
0.213608
632
20
68
31.6
0.830986
0.071203
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.285714
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
15035bfbd1a02ccbee3c988cf9c68e7e783016d5
3,104
py
Python
sciunit/models/examples.py
russelljjarvis/sciun
f8f6ede84299dc700afe94b07ae4e98f87a19116
[ "MIT" ]
1
2020-05-28T00:35:23.000Z
2020-05-28T00:35:23.000Z
sciunit/models/examples.py
ChihweiLHBird/sciunit
f5669d165fa505c3a17ac17af3d3c78aafd44ae2
[ "MIT" ]
1
2020-12-29T04:28:57.000Z
2020-12-29T04:28:57.000Z
sciunit/models/examples.py
russelljjarvis/sciunit
f8f6ede84299dc700afe94b07ae4e98f87a19116
[ "MIT" ]
null
null
null
"""Example SciUnit model classes.""" import random from sciunit.models import Model from sciunit.capabilities import ProducesNumber from sciunit.utils import class_intern, method_cache from sciunit.utils import method_memoize # Decorator for caching of capability method results. from typing import Union class ConstM...
30.732673
171
0.661727
369
3,104
5.474255
0.322493
0.034653
0.055446
0.069307
0.354951
0.267327
0.19703
0.166337
0.122772
0.1
0
0
0.208763
3,104
100
172
31.04
0.822476
0.356959
0
0.243902
0
0
0.011085
0
0
0
0
0.01
0
1
0.243902
false
0.02439
0.146341
0.097561
0.756098
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
150ef1714addd55d364456c56a5bbe4b9e5b825d
12,703
py
Python
eden.py
nobesio/eden
c301abdc64647fde02e8117ea137db322a804739
[ "MIT" ]
null
null
null
eden.py
nobesio/eden
c301abdc64647fde02e8117ea137db322a804739
[ "MIT" ]
null
null
null
eden.py
nobesio/eden
c301abdc64647fde02e8117ea137db322a804739
[ "MIT" ]
null
null
null
from random import randint import copy # Auxiliary Function for rotating the DNA in each cycle. def rotate(l,n): return l[n:] + l[:n] # History is the object responsible for accounting all the organisms. class History: def __init__(self): self.orgs = [] def addOrganism(self, org): ...
37.919403
112
0.492954
1,369
12,703
4.547845
0.130022
0.1301
0.24735
0.212496
0.471089
0.422904
0.393511
0.354321
0.354321
0.346129
0
0.027111
0.393135
12,703
334
113
38.032934
0.780516
0.04865
0
0.336735
0
0
0.024197
0
0
0
0
0
0
1
0.119048
false
0
0.006803
0.010204
0.176871
0.095238
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
151306af1c1480903dd00ab70e45e88f683fbe48
2,463
py
Python
scripts/tflite_model_tools/tflite/Metadata.py
LaudateCorpus1/edgeai-tidl-tools
d98789769a711e5a3700dfdc20d877073bd87da7
[ "CNRI-Python" ]
15
2021-09-05T03:43:54.000Z
2022-03-29T14:17:29.000Z
scripts/tflite_model_tools/tflite/Metadata.py
LaudateCorpus1/edgeai-tidl-tools
d98789769a711e5a3700dfdc20d877073bd87da7
[ "CNRI-Python" ]
21
2021-09-01T06:58:31.000Z
2022-03-31T06:33:15.000Z
scripts/tflite_model_tools/tflite/Metadata.py
LaudateCorpus1/edgeai-tidl-tools
d98789769a711e5a3700dfdc20d877073bd87da7
[ "CNRI-Python" ]
6
2021-09-22T06:44:19.000Z
2022-02-07T06:28:35.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: tflite import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class Metadata(object): __slots__ = ['_tab'] @classmethod def GetRootAsMetadata(cls, buf, offset): n = flatbuffers.encode.Ge...
29.674699
131
0.657734
283
2,463
5.618375
0.29682
0.030818
0.055346
0.066038
0.175472
0.154088
0.106918
0.074214
0.074214
0.074214
0
0.011803
0.243199
2,463
82
132
30.036585
0.841202
0.065367
0
0.172414
1
0
0.00873
0
0
0
0
0
0
1
0.241379
false
0
0.051724
0.034483
0.517241
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
1
0
0
0
0
0
0
0
2
15165694e2716645ea22f6406f0f303943c423b8
329
py
Python
src/genie/libs/parser/iosxe/tests/ShowInstallState/cli/equal/golden_output3_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowInstallState/cli/equal/golden_output3_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowInstallState/cli/equal/golden_output3_expected.py
ykoehler/genieparser
b62cf622c3d8eab77c7b69e932c214ed04a2565a
[ "Apache-2.0" ]
null
null
null
expected_output = { "location": { "R0 R1": { "auto_abort_timer": "inactive", "pkg_state": { 1: { "filename_version": "17.08.01.0.149429", "state": "U", "type": "IMG", } }, ...
23.5
60
0.31307
23
329
4.26087
0.956522
0
0
0
0
0
0
0
0
0
0
0.104575
0.534954
329
14
61
23.5
0.535948
0
0
0
0
0
0.278788
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
2
1519b725bc8e51fd74703c95a095ecb5723fb0b3
437
py
Python
tests/creditcrawler_test.py
Mivinci/cqupt-piper
ce76a4334a2d7a7b75750d7bfac9efa747f968c7
[ "MIT" ]
3
2019-09-08T16:22:30.000Z
2021-01-23T02:54:10.000Z
tests/creditcrawler_test.py
Mivinci/cqupt-piper
ce76a4334a2d7a7b75750d7bfac9efa747f968c7
[ "MIT" ]
1
2020-01-11T05:13:43.000Z
2020-01-11T05:13:43.000Z
tests/creditcrawler_test.py
Mivinci/cqupt-piper
ce76a4334a2d7a7b75750d7bfac9efa747f968c7
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup from prettytable import PrettyTable # html = requests.get( # 'http://jwzx.cqu.pt/student/xkxfTj.php', # cookies={'PHPSESSID': 'o2r2fpddrj892dp1ntqddcp2hv'}).text # soup = BeautifulSoup(html, 'html.parser') # for tr in soup.find('table', {'id': 'AxfTjTable'}).find...
24.277778
71
0.665904
54
437
5.388889
0.666667
0
0
0
0
0
0
0
0
0
0
0.029412
0.144165
437
18
72
24.277778
0.748663
0.654462
0
0
0
0
0.041667
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1519fb893e14d2984bb652c58400576b1b324256
1,117
py
Python
webpack_manifest/templatetags/webpack_manifest_tags.py
temoto/python-webpack-manifest
bb10dbb718f2b41d8356c983b375b064e220d521
[ "MIT" ]
55
2015-11-02T19:50:41.000Z
2022-03-06T21:48:36.000Z
webpack_manifest/templatetags/webpack_manifest_tags.py
temoto/python-webpack-manifest
bb10dbb718f2b41d8356c983b375b064e220d521
[ "MIT" ]
7
2015-09-16T05:24:37.000Z
2018-07-25T23:10:30.000Z
webpack_manifest/templatetags/webpack_manifest_tags.py
temoto/python-webpack-manifest
bb10dbb718f2b41d8356c983b375b064e220d521
[ "MIT" ]
10
2016-03-06T16:30:00.000Z
2020-08-12T01:41:51.000Z
from django import template from django.conf import settings from webpack_manifest import webpack_manifest if not hasattr(settings, 'WEBPACK_MANIFEST'): raise webpack_manifest.WebpackManifestConfigError('`WEBPACK_MANIFEST` has not been defined in settings') if 'manifests' not in settings.WEBPACK_MANIFEST: rai...
34.90625
108
0.706356
126
1,117
6.103175
0.261905
0.312094
0.156047
0.239272
0.56567
0.522757
0.452536
0.452536
0.452536
0.23407
0
0
0.188899
1,117
31
109
36.032258
0.848786
0
0
0.130435
0
0
0.24709
0
0
0
0
0
0
1
0.043478
false
0
0.130435
0
0.217391
0
0
0
0
null
1
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
2
151d22605d16726325dce1205b7a8ba505f35329
525
py
Python
python3/hackerrank_leetcode/remove_duplicates_from_sorted_array/test.py
seLain/codesnippets
ae9a1fa05b67f4b3ac1703cc962fcf5f6de1e289
[ "MIT" ]
null
null
null
python3/hackerrank_leetcode/remove_duplicates_from_sorted_array/test.py
seLain/codesnippets
ae9a1fa05b67f4b3ac1703cc962fcf5f6de1e289
[ "MIT" ]
null
null
null
python3/hackerrank_leetcode/remove_duplicates_from_sorted_array/test.py
seLain/codesnippets
ae9a1fa05b67f4b3ac1703cc962fcf5f6de1e289
[ "MIT" ]
null
null
null
import unittest from main import Solution class TestSolutionMethods(unittest.TestCase): solution = Solution() def test_longestCommonPrefix(self): # leetcode test self.assertEqual(self.solution.removeDuplicates([1,1,2]), 2) # customized test self.assertEqual(self.solution.remov...
30.882353
72
0.693333
58
525
6.12069
0.37931
0.169014
0.214085
0.304225
0.529577
0.529577
0.385915
0.259155
0
0
0
0.030233
0.180952
525
17
73
30.882353
0.795349
0.055238
0
0
0
0
0.016194
0
0
0
0
0
0.363636
1
0.090909
false
0
0.181818
0
0.454545
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12772bd26a04aaf3f825acfbb2e6f63963b94d81
246
py
Python
7KYU/word_splitter.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
4
2021-07-17T22:48:03.000Z
2022-03-25T14:10:58.000Z
7KYU/word_splitter.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
null
null
null
7KYU/word_splitter.py
yaznasivasai/python_codewars
25493591dde4649dc9c1ec3bece8191a3bed6818
[ "MIT" ]
3
2021-06-14T14:18:16.000Z
2022-03-16T06:02:02.000Z
SEPARATOR: list = [':', ',', '*', ';', '#', '|', '+', '%', '>', '?', '&', '=', '!'] def word_splitter(string: str) -> list: for i in string: if i in SEPARATOR: string = string.replace(i, ' ') return string.split()
35.142857
83
0.426829
23
246
4.521739
0.608696
0.057692
0
0
0
0
0
0
0
0
0
0
0.276423
246
7
84
35.142857
0.58427
0
0
0
0
0
0.05668
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
128cfb0881a4cb2a09e645ca55b7c92a498aaab7
192
py
Python
verbose.py
lowrey/myjsonstore
4d47f147fa5d86bea5d4e9b0bcab567583a794af
[ "MIT" ]
1
2018-07-30T14:17:25.000Z
2018-07-30T14:17:25.000Z
verbose.py
lowrey/myjsonstore
4d47f147fa5d86bea5d4e9b0bcab567583a794af
[ "MIT" ]
null
null
null
verbose.py
lowrey/myjsonstore
4d47f147fa5d86bea5d4e9b0bcab567583a794af
[ "MIT" ]
null
null
null
import sys verbose = False def set_v(v): global verbose verbose = v def print_v(s): if verbose: print(s) def write_v(s): if verbose: sys.stdout.write(s)
10.105263
27
0.583333
30
192
3.633333
0.433333
0.036697
0.073395
0.201835
0
0
0
0
0
0
0
0
0.317708
192
18
28
10.666667
0.832061
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.363636
0.181818
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
128e873ecfed93a46701bf97c5bfb7c6ee49fa55
931
py
Python
Demo2_PageObjectModel/features/steps/PageObject_Registration.py
imademethink/imademethink_python_selenium_demo
cc364bda00e75eb9115c680ddea5e2fbca1d7acb
[ "BSD-4-Clause" ]
2
2019-04-05T05:09:14.000Z
2020-07-21T16:06:53.000Z
Demo2_PageObjectModel/features/steps/PageObject_Registration.py
imademethink/Python_Selenium_Demo
cc364bda00e75eb9115c680ddea5e2fbca1d7acb
[ "BSD-4-Clause" ]
1
2020-01-08T08:15:42.000Z
2020-01-08T08:15:42.000Z
Demo2_PageObjectModel/features/steps/PageObject_Registration.py
imademethink/Python_Selenium_Demo
cc364bda00e75eb9115c680ddea5e2fbca1d7acb
[ "BSD-4-Clause" ]
4
2018-04-13T08:28:53.000Z
2018-12-30T20:35:19.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import time from page_objects import PageObject, PageElement from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions from selenium.webdriver.common.by import By delay_mi...
35.807692
128
0.784103
121
931
5.743802
0.53719
0.069065
0.120863
0.077698
0
0
0
0
0
0
0
0.004914
0.125671
931
25
129
37.24
0.848894
0.053706
0
0
0
0
0.085616
0.053653
0
0
0
0
0
1
0.055556
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1290db3be5d147e6281013adc1419767bcf94d89
1,322
py
Python
services/web/manage.py
EMBEDDIA/ULR_NER_REST
520accbced155a43543969f8a0a96a02c0b2d46d
[ "MIT" ]
null
null
null
services/web/manage.py
EMBEDDIA/ULR_NER_REST
520accbced155a43543969f8a0a96a02c0b2d46d
[ "MIT" ]
3
2020-04-24T11:38:40.000Z
2021-12-03T09:01:17.000Z
services/web/manage.py
EMBEDDIA/ULR_NER_REST
520accbced155a43543969f8a0a96a02c0b2d46d
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Michael Herman # Copyright (c) 2020 Vid Podpečan # Permission is hereby granted, free of charge, to any person obtaining a copy of this # software and associated documentation files (the "Software"), to deal in the Software # without restriction, including without limitation the rights to use, copy...
45.586207
96
0.781392
204
1,322
5
0.539216
0.086275
0.027451
0
0
0
0
0
0
0
0
0.007246
0.164902
1,322
28
97
47.214286
0.916667
0.840393
0
0
0
0
0.041451
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
1
0
0
0
0
2
1292ffb60fd870f5e14b52506ec687c6761bed39
299
py
Python
utility.py
Ming-desu/POKEMING
2def3b47e7c08b71885f14944bffe105a63cc12a
[ "MIT" ]
null
null
null
utility.py
Ming-desu/POKEMING
2def3b47e7c08b71885f14944bffe105a63cc12a
[ "MIT" ]
null
null
null
utility.py
Ming-desu/POKEMING
2def3b47e7c08b71885f14944bffe105a63cc12a
[ "MIT" ]
null
null
null
# POKEMING - GON'NA CATCH 'EM ALL # -- A simple hack 'n slash game in console # -- This class is handles all utility related things class Utility: # This allows to see important message of the game def pause(message): print(message) input('Press any key to continue.')
37.375
55
0.665552
44
299
4.522727
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.257525
299
8
56
37.375
0.896396
0.58194
0
0
0
0
0.22807
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
129d3359e74cfc680cc1a6d1b0edd803c1383270
20,753
py
Python
data-batch-treatment/test_agg_script/locations.py
coder-baymax/taxi-poc-aws
4be8021873ee6b58b2dba5a5d41df12cdd3b67fc
[ "MIT" ]
null
null
null
data-batch-treatment/test_agg_script/locations.py
coder-baymax/taxi-poc-aws
4be8021873ee6b58b2dba5a5d41df12cdd3b67fc
[ "MIT" ]
null
null
null
data-batch-treatment/test_agg_script/locations.py
coder-baymax/taxi-poc-aws
4be8021873ee6b58b2dba5a5d41df12cdd3b67fc
[ "MIT" ]
null
null
null
class Location: def __init__(self, location_id, borough, zone, lat, lng): self.location_id = location_id self.borough = borough self.zone = zone self.lat = lat self.lng = lng @property def json(self): return { "location_id": self.location_id, ...
72.562937
112
0.679131
2,534
20,753
5.558406
0.416732
0.01065
0.002982
0.005112
0.076038
0.033014
0.022648
0.017252
0.017252
0.017252
0
0.332328
0.137281
20,753
285
113
72.817544
0.454368
0
0
0
0
0
0.299186
0.00583
0
0
0
0
0
1
0.007117
false
0
0
0.003559
0.014235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
129d53076c9002e63bb6e233e94f66b83a1c9e37
114
py
Python
main.py
viniciuslimafernandes/interpolation
1aff08cba6026143fd267a0c648bad8975ae5d74
[ "MIT" ]
null
null
null
main.py
viniciuslimafernandes/interpolation
1aff08cba6026143fd267a0c648bad8975ae5d74
[ "MIT" ]
null
null
null
main.py
viniciuslimafernandes/interpolation
1aff08cba6026143fd267a0c648bad8975ae5d74
[ "MIT" ]
null
null
null
import math from utils import * def main(): showHome() option = chooseOption() handleOption(option) main()
12.666667
25
0.701754
13
114
6.153846
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.184211
114
9
26
12.666667
0.860215
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12a1ccdc2c994161fe55e1738031ece8631b2305
693
py
Python
tests/bugs/test-200908181430.py
eLBati/pyxb
14737c23a125fd12c954823ad64fc4497816fae3
[ "Apache-2.0" ]
123
2015-01-12T06:43:22.000Z
2022-03-20T18:06:46.000Z
tests/bugs/test-200908181430.py
eLBati/pyxb
14737c23a125fd12c954823ad64fc4497816fae3
[ "Apache-2.0" ]
103
2015-01-08T18:35:57.000Z
2022-01-18T01:44:14.000Z
tests/bugs/test-200908181430.py
eLBati/pyxb
14737c23a125fd12c954823ad64fc4497816fae3
[ "Apache-2.0" ]
54
2015-02-15T17:12:00.000Z
2022-03-07T23:02:32.000Z
# -*- coding: utf-8 -*- import logging if __name__ == '__main__': logging.basicConfig() _log = logging.getLogger(__name__) import pyxb.binding.generate import pyxb.binding.datatypes as xs import pyxb.binding.basis import pyxb.utils.domutils import os.path xsd='''<?xml version="1.0" encoding="UTF-8"?> <xs:schema xm...
25.666667
108
0.735931
89
693
5.460674
0.58427
0.082305
0.104938
0
0
0
0
0
0
0
0
0.03437
0.118326
693
26
109
26.653846
0.761047
0.030303
0
0.1
1
0
0.228358
0
0
0
0
0
0.05
1
0.05
false
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
12a82679ea427e2384e89df55cbadd443f41af9e
4,739
py
Python
src/data/domain.py
AlexMoreo/pydci
44f8fe1ce95da45709061cbe19fa6f462c1f2164
[ "BSD-3-Clause" ]
7
2018-10-21T17:34:08.000Z
2021-05-17T11:37:56.000Z
src/data/domain.py
AlexMoreo/pydci
44f8fe1ce95da45709061cbe19fa6f462c1f2164
[ "BSD-3-Clause" ]
null
null
null
src/data/domain.py
AlexMoreo/pydci
44f8fe1ce95da45709061cbe19fa6f462c1f2164
[ "BSD-3-Clause" ]
4
2018-11-22T10:30:07.000Z
2021-03-20T10:07:57.000Z
import pickle from scipy.sparse import lil_matrix import numpy as np class Domain: """ Defines a domain, composed by a labelled set and a unlabeled set. All sets share a common vocabulary. The domain is also characterized by its name and language. """ def __init__(self, X, y, U, vocabulary, domain...
34.845588
130
0.650559
628
4,739
4.808917
0.269108
0.027815
0.013245
0.013907
0.047682
0.019868
0
0
0
0
0
0.010255
0.238658
4,739
136
131
34.845588
0.826774
0.237392
0
0.04878
0
0
0.023706
0
0
0
0
0
0.012195
1
0.231707
false
0
0.036585
0.073171
0.52439
0.060976
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
12aa4d4698103b11546cfe0e6f724650c7f1a730
3,165
py
Python
hamal/hamal/conf/identity.py
JackDan9/hamal
965be9db066209300c52f0cf17d251290d8901b7
[ "MIT" ]
3
2020-06-12T13:03:46.000Z
2020-08-06T11:25:46.000Z
hamal/hamal/conf/identity.py
JackDan9/hamal
965be9db066209300c52f0cf17d251290d8901b7
[ "MIT" ]
null
null
null
hamal/hamal/conf/identity.py
JackDan9/hamal
965be9db066209300c52f0cf17d251290d8901b7
[ "MIT" ]
null
null
null
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
30.728155
77
0.749447
476
3,165
4.869748
0.397059
0.041415
0.031061
0.013805
0.124245
0.091458
0.091458
0.066437
0.066437
0.066437
0
0.020571
0.170616
3,165
103
78
30.728155
0.862476
0.164929
0
0.197183
0
0
0.632599
0.027736
0
0
0
0
0
1
0.028169
false
0.295775
0.042254
0.014085
0.084507
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
1
0
0
0
0
0
2
12d4213a1f0e884d767b82004cfca76be19c9038
1,375
py
Python
bga/forms.py
KarmaPoliceT2/bga
f7708ddae72bc83d68a2294d8f1b600345ebec30
[ "MIT" ]
null
null
null
bga/forms.py
KarmaPoliceT2/bga
f7708ddae72bc83d68a2294d8f1b600345ebec30
[ "MIT" ]
3
2019-12-26T16:57:34.000Z
2021-06-01T23:08:35.000Z
bga/forms.py
KarmaPoliceT2/bga
f7708ddae72bc83d68a2294d8f1b600345ebec30
[ "MIT" ]
null
null
null
from wtforms import Form, StringField, PasswordField, DecimalField, IntegerField, SelectField, validators from wtforms.fields.html5 import DateField def strip_filter(x): return x.strip() if x else None class RegistrationForm(Form): username = StringField('Username', [validators.Length( min=1, max=255)],...
42.96875
105
0.696
162
1,375
5.876543
0.425926
0.057773
0.09979
0.084034
0.165966
0.165966
0.138655
0.138655
0.138655
0
0
0.036082
0.153455
1,375
31
106
44.354839
0.781787
0
0
0
0
0
0.144
0
0
0
0
0
0
1
0.043478
false
0.086957
0.086957
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
1
0
0
1
0
0
2
12e130d67ccfe9de3b3564473e4a39882ddb1111
583
py
Python
authors/apps/profiles/migrations/0023_auto_20190124_1222.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
null
null
null
authors/apps/profiles/migrations/0023_auto_20190124_1222.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
26
2019-01-07T14:22:05.000Z
2019-02-28T17:11:48.000Z
authors/apps/profiles/migrations/0023_auto_20190124_1222.py
andela/ah-django-unchained
a4e5f6cd11fdc0b9422020693ac1200b849cf0f3
[ "BSD-3-Clause" ]
3
2019-09-19T22:16:09.000Z
2019-10-16T21:16:16.000Z
# Generated by Django 2.1.4 on 2019-01-24 12:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0022_auto_20190123_1211'), ] operations = [ migrations.AlterField( model_name='userprofile', name='first...
24.291667
63
0.595197
61
583
5.540984
0.639344
0.118343
0.147929
0.171598
0.526627
0.526627
0.266272
0.266272
0.266272
0
0
0.089588
0.291595
583
23
64
25.347826
0.728814
0.077187
0
0.470588
1
0
0.134328
0.04291
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
12e5018fbac310b4e1d16e7744a8549158b1a76a
1,943
py
Python
photos/models.py
benjaminbills/galleria
4c89f265a2f4f853a5685828d5bc505b51b9bb74
[ "MIT" ]
null
null
null
photos/models.py
benjaminbills/galleria
4c89f265a2f4f853a5685828d5bc505b51b9bb74
[ "MIT" ]
null
null
null
photos/models.py
benjaminbills/galleria
4c89f265a2f4f853a5685828d5bc505b51b9bb74
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Image(models.Model): name = models.CharField(max_length=255) posted_date = models.DateTimeField(auto_now_add=True) image_description = models.CharField(max_length=500, default='DEFAULT VALUE') image = models.ImageField(upload_to='images/', blank=Tru...
26.986111
79
0.691199
251
1,943
5.139442
0.231076
0.037209
0.062016
0.074419
0.550388
0.50155
0.377519
0.323256
0.192248
0.130233
0
0.009044
0.203294
1,943
72
80
26.986111
0.824289
0.024704
0
0.454545
0
0
0.019027
0
0
0
0
0
0
1
0.272727
false
0
0.018182
0.054545
0.654545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
12ffa5ef886269b64400e6ff0dbf8d65f1d35e0b
305
py
Python
api/tests.py
everett-toews/metaslacker
ec4bf3c4b39aa16b5ae46a0c3e732b8b9cb2cf72
[ "MIT" ]
90
2015-09-17T00:38:59.000Z
2021-05-29T02:36:42.000Z
api/tests.py
everett-toews/metaslacker
ec4bf3c4b39aa16b5ae46a0c3e732b8b9cb2cf72
[ "MIT" ]
null
null
null
api/tests.py
everett-toews/metaslacker
ec4bf3c4b39aa16b5ae46a0c3e732b8b9cb2cf72
[ "MIT" ]
10
2016-02-23T16:28:32.000Z
2021-06-01T20:24:31.000Z
import unittest class MainTestCase(unittest.TestCase): def test_two_and_two(self): four = 2 + 2 self.assertEqual(four, 4) self.assertNotEqual(four, 5) self.assertNotEqual(four, 6) self.assertNotEqual(four, 22) if __name__ == '__main__': unittest.main()
20.333333
38
0.642623
36
305
5.138889
0.583333
0.291892
0.356757
0
0
0
0
0
0
0
0
0.030568
0.24918
305
14
39
21.785714
0.777293
0
0
0
0
0
0.02623
0
0
0
0
0
0.4
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4208c41522c79409c03ff3e274e65ad419a2c482
4,473
py
Python
bot/localization.py
Supportiii/telegram-report-bot
6a050caafb1c205c0fd58f91be9264f1190ea706
[ "MIT" ]
null
null
null
bot/localization.py
Supportiii/telegram-report-bot
6a050caafb1c205c0fd58f91be9264f1190ea706
[ "MIT" ]
null
null
null
bot/localization.py
Supportiii/telegram-report-bot
6a050caafb1c205c0fd58f91be9264f1190ea706
[ "MIT" ]
null
null
null
strings = { "en": { "error_no_reply": "This command must be sent as a reply to one's message!", "error_report_admin": "Whoa! Don't report admins 😈", "error_restrict_admin": "You cannot restrict an admin.", "report_date_format": "%d.%m.%Y at %H:%M", "report_message": '👆 Sen...
47.585106
116
0.591549
598
4,473
4.326087
0.351171
0.045226
0.013916
0.020874
0.34828
0.27213
0.1724
0.117897
0.033243
0.033243
0
0.001776
0.244802
4,473
93
117
48.096774
0.754885
0
0
0
0
0.052632
0.680751
0.054997
0
0
0
0
0
0
null
null
0
0
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
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
421750365075d0ccd2892de6546549e569376c1b
208
py
Python
complete/01 - 10/Problem1/main.py
this-jacob/project-euler
8f9e700e2875e84d081eade44fd2107db0a0ae12
[ "MIT" ]
null
null
null
complete/01 - 10/Problem1/main.py
this-jacob/project-euler
8f9e700e2875e84d081eade44fd2107db0a0ae12
[ "MIT" ]
null
null
null
complete/01 - 10/Problem1/main.py
this-jacob/project-euler
8f9e700e2875e84d081eade44fd2107db0a0ae12
[ "MIT" ]
null
null
null
def main(): total = 0 for i in range(0, 1000): if i % 3 == 0: total += i elif i % 5 == 0: total += i print(total) if __name__ == '__main__': main()
13.866667
28
0.408654
28
208
2.75
0.535714
0.155844
0.181818
0
0
0
0
0
0
0
0
0.087719
0.451923
208
14
29
14.857143
0.587719
0
0
0.2
0
0
0.038462
0
0
0
0
0
0
1
0.1
false
0
0
0
0.1
0.1
1
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
2
42274dc240f54ea288091543468dd2eda53a4feb
55
py
Python
tOYOpy/settings.py
fkab/tOYO
b0a7be760a45edd795b8734ce2e5f1ccec35091b
[ "MIT" ]
null
null
null
tOYOpy/settings.py
fkab/tOYO
b0a7be760a45edd795b8734ce2e5f1ccec35091b
[ "MIT" ]
null
null
null
tOYOpy/settings.py
fkab/tOYO
b0a7be760a45edd795b8734ce2e5f1ccec35091b
[ "MIT" ]
null
null
null
elements = { 'em': '', 'blockquote': '<br/>' }
11
25
0.4
4
55
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.290909
55
4
26
13.75
0.564103
0
0
0
0
0
0.309091
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
422874e1c950eddb051f58c230d75405855070fc
2,277
py
Python
tests/test_url_enc_dec.py
FWidm/poe-profile
08190dfab88758081ce1ddcd30a43081e2d7863f
[ "MIT" ]
1
2018-12-02T19:48:09.000Z
2018-12-02T19:48:09.000Z
tests/test_url_enc_dec.py
FWidm/poe-profile
08190dfab88758081ce1ddcd30a43081e2d7863f
[ "MIT" ]
null
null
null
tests/test_url_enc_dec.py
FWidm/poe-profile
08190dfab88758081ce1ddcd30a43081e2d7863f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import logging import sys import unittest from src.util.tree_codec import encode_hashes, decode_url url = 'AAAABAMDAQQHBLMGSQj0Dc0OPA5cES0UIBRxFScWbxhWGF0YkRo4HM4c3CSqJy8o-itQLJwy0TWSNuk6UjpYOuE8LUGHRARFR0V-RZ1Ms025TeNQR' \ '1NSVcZZ81qRXz9mnmebaGVodGpDaqxq-mvbcg9yqXasfIN99YIHgseDX4PMg...
42.962264
123
0.62231
231
2,277
6.038961
0.800866
0.017204
0.017204
0.034409
0
0
0
0
0
0
0
0.401332
0.274484
2,277
52
124
43.788462
0.443099
0.017567
0
0
0
0
0.155984
0.152398
0
0
0
0
0.051282
1
0.051282
false
0
0.102564
0
0.179487
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
422975ef7721aeaa44f60c6499ab2952315acfbe
262
py
Python
_test/registry/reg04.py
javacommons/commonthread
dff8b39d7c86729e4711b669bcec8eab6f146659
[ "Unlicense" ]
null
null
null
_test/registry/reg04.py
javacommons/commonthread
dff8b39d7c86729e4711b669bcec8eab6f146659
[ "Unlicense" ]
null
null
null
_test/registry/reg04.py
javacommons/commonthread
dff8b39d7c86729e4711b669bcec8eab6f146659
[ "Unlicense" ]
null
null
null
# source http://itasuke.hatenablog.com/entry/2018/01/08/133510 import winreg newkey = winreg.CreateKeyEx(winreg.HKEY_CURRENT_USER, r'Software\__javacommons__\abc') newkey.Close() winreg.DeleteKeyEx(winreg.HKEY_CURRENT_USER, r'Software\__javacommons__\abc')
43.666667
87
0.80916
35
262
5.714286
0.657143
0.1
0.17
0.21
0.44
0.44
0.44
0.44
0
0
0
0.057143
0.064886
262
5
88
52.4
0.759184
0.229008
0
0
0
0
0.287179
0.287179
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4230f1879c1a68f9bf6052b16b5fb1dd036ba09b
14,169
py
Python
script/forecasting/forecaster.py
bialesdaniel/noisepage
44ca689bd818b1bd39b84a7fe5148ddaa65a61eb
[ "MIT" ]
null
null
null
script/forecasting/forecaster.py
bialesdaniel/noisepage
44ca689bd818b1bd39b84a7fe5148ddaa65a61eb
[ "MIT" ]
null
null
null
script/forecasting/forecaster.py
bialesdaniel/noisepage
44ca689bd818b1bd39b84a7fe5148ddaa65a61eb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Main script for workload forecasting. Example usage: - Generate data (runs OLTP benchmark on the built database) and perform training, and save the trained model ./forecaster --gen_data --models=LSTM --model_save_path=model.pickle - Use the trained models (LSTM) to generate predictions. ...
36.145408
118
0.619239
1,816
14,169
4.629405
0.174009
0.021411
0.028548
0.014988
0.228738
0.189961
0.160105
0.13465
0.117521
0.117521
0
0.004536
0.29988
14,169
391
119
36.237852
0.842944
0.268121
0
0.181034
1
0
0.119741
0.002427
0
0
0
0.01023
0
1
0.038793
false
0
0.051724
0
0.12931
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
1
0
0
0
0
0
0
0
0
0
0
2
4237a4d8945ebfffd7fd8c863df2a43bde57f4e3
975
py
Python
modules/kubrick/apps/awards/models.py
Lab-Quatro/aposcar
97631f2e3939566cc4e5b81e50c58ce03a5350a4
[ "MIT" ]
3
2021-07-05T14:18:27.000Z
2021-09-02T10:15:55.000Z
modules/kubrick/apps/awards/models.py
Lab-Quatro/aposcar
97631f2e3939566cc4e5b81e50c58ce03a5350a4
[ "MIT" ]
1
2021-10-31T21:40:39.000Z
2021-10-31T21:40:39.000Z
modules/kubrick/apps/awards/models.py
Lab-Quatro/aposcar
97631f2e3939566cc4e5b81e50c58ce03a5350a4
[ "MIT" ]
null
null
null
from django.db import models class Nominee(models.Model): name = models.TextField() picture_url = models.ImageField(upload_to="nominees/") description = models.TextField(max_length=350) class Meta: verbose_name_plural = "nominees" def __str__(self): return self.name class Categ...
25.657895
70
0.695385
115
975
5.669565
0.443478
0.050614
0.046012
0.07362
0.248466
0.088957
0.088957
0
0
0
0
0.00894
0.196923
975
37
71
26.351351
0.823755
0
0
0.269231
0
0
0.089231
0.046154
0
0
0
0
0
1
0.115385
false
0
0.038462
0.115385
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
424371e9002a0d30915e7782779c23b77cf1168c
522
py
Python
homeassistant/components/solaredge/__init__.py
DavidDeSloovere/core
909a20b36d4df6724c955c2ae28cb82fe6d50c2e
[ "Apache-2.0" ]
4
2020-08-10T20:02:24.000Z
2022-01-31T02:14:22.000Z
homeassistant/components/solaredge/__init__.py
DavidDeSloovere/core
909a20b36d4df6724c955c2ae28cb82fe6d50c2e
[ "Apache-2.0" ]
78
2020-07-23T07:13:08.000Z
2022-03-31T06:02:04.000Z
homeassistant/components/solaredge/__init__.py
DavidDeSloovere/core
909a20b36d4df6724c955c2ae28cb82fe6d50c2e
[ "Apache-2.0" ]
3
2022-01-17T20:10:54.000Z
2022-01-17T20:17:22.000Z
"""The solaredge integration.""" from __future__ import annotations from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant import homeassistant.helpers.config_validation as cv from .const import DOMAIN CONFIG_SCHEMA = cv.deprecated(DOMAIN) async def async_setup_entry(hass...
27.473684
77
0.781609
63
522
6.238095
0.555556
0.086514
0
0
0
0
0
0
0
0
0
0
0.139847
522
18
78
29
0.875278
0.049808
0
0
0
0
0.013043
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
424d5b248c6b3fcd0ec5e3855e8a59d969b36415
1,296
py
Python
bailleurs/migrations/0001_initial.py
MTES-MCT/appel
3b840ccea600ef31cfea57721fe5e6edbdbc2c79
[ "MIT" ]
null
null
null
bailleurs/migrations/0001_initial.py
MTES-MCT/appel
3b840ccea600ef31cfea57721fe5e6edbdbc2c79
[ "MIT" ]
2
2021-12-15T05:10:43.000Z
2021-12-15T05:11:00.000Z
bailleurs/migrations/0001_initial.py
MTES-MCT/appel
3b840ccea600ef31cfea57721fe5e6edbdbc2c79
[ "MIT" ]
1
2021-12-28T13:06:06.000Z
2021-12-28T13:06:06.000Z
# Generated by Django 3.2.5 on 2021-07-06 14:18 import uuid from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Bailleur", fields=[ ("id", models.Au...
35.027027
80
0.548611
126
1,296
5.468254
0.579365
0.130624
0.156749
0.208999
0.29463
0.174165
0
0
0
0
0
0.037373
0.318673
1,296
36
81
36
0.742922
0.034722
0
0.068966
1
0
0.147318
0.019215
0
0
0
0
0
1
0
false
0
0.068966
0
0.206897
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
424d80dc7999edc27c21ab202ecf629475f40e26
2,026
py
Python
tests/primitives/flow/probe_tcpip_extended_unibiflow_test.py
kjerabek/netexp
362c200230ba7b2549adcedd4a9890492dad51c7
[ "MIT" ]
null
null
null
tests/primitives/flow/probe_tcpip_extended_unibiflow_test.py
kjerabek/netexp
362c200230ba7b2549adcedd4a9890492dad51c7
[ "MIT" ]
null
null
null
tests/primitives/flow/probe_tcpip_extended_unibiflow_test.py
kjerabek/netexp
362c200230ba7b2549adcedd4a9890492dad51c7
[ "MIT" ]
null
null
null
from tests.primitives.flow import probe_tcpip_extended_biflow_test from netexp.primitives.flow import TCPIPFlowExtendedUniBiFlowInfo from netexp.common import naming class TestTCPIPExtendedUniBiFlow(probe_tcpip_extended_biflow_test.TestTCPIPExtendedBiFlow): flow_class = TCPIPFlowExtendedUniBiFlowInfo def t...
56.277778
117
0.651037
289
2,026
4.321799
0.231834
0.057646
0.057646
0.048038
0.510008
0.445957
0.36269
0.333066
0.333066
0.214572
0
0.209213
0.228529
2,026
35
118
57.885714
0.589891
0
0
0
0
0
0
0
0
0
0
0
0.62069
1
0.034483
false
0
0.103448
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
42569d1c317bd48e4f4e7021e87396555e651ced
1,276
py
Python
db_conn.py
achhetr/Library-book-store-app
a85e9a26dba48119ce52abb5ee8219528e06ac30
[ "MIT" ]
null
null
null
db_conn.py
achhetr/Library-book-store-app
a85e9a26dba48119ce52abb5ee8219528e06ac30
[ "MIT" ]
null
null
null
db_conn.py
achhetr/Library-book-store-app
a85e9a26dba48119ce52abb5ee8219528e06ac30
[ "MIT" ]
null
null
null
import sqlite3 class Database: # create book always if not exists def __init__(self,db): self.conn = sqlite3.connect(db) self.cur = self.conn.execute("CREATE TABLE IF NOT EXISTS book (id INTEGER PRIMARY KEY, " + "title TEXT, author TEXT, year INTEGER, isbn INTEGER)"...
33.578947
98
0.579937
163
1,276
4.490798
0.288344
0.076503
0.143443
0.181694
0.405738
0.290984
0.233607
0.101093
0
0
0
0.002137
0.266458
1,276
38
99
33.578947
0.779915
0.025078
0
0.285714
0
0
0.253419
0
0
0
0
0
0
1
0.25
false
0
0.035714
0
0.392857
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
4262ea9b91c2ce1c0da94f2913617caab9285e6f
110
py
Python
app/pathfinding/finder/__init__.py
TheronHa/Spaghetti
e181c2f7ea0c044fb7d0edb36bd203dac2eabaf9
[ "MIT" ]
208
2017-01-23T17:45:13.000Z
2022-03-22T22:27:25.000Z
app/pathfinding/finder/__init__.py
TheronHa/Spaghetti
e181c2f7ea0c044fb7d0edb36bd203dac2eabaf9
[ "MIT" ]
31
2017-10-28T09:21:06.000Z
2021-09-26T15:38:36.000Z
app/pathfinding/finder/__init__.py
TheronHa/Spaghetti
e181c2f7ea0c044fb7d0edb36bd203dac2eabaf9
[ "MIT" ]
60
2016-12-13T00:05:36.000Z
2022-03-21T22:23:49.000Z
__all__ = ['a_star', 'best_first', 'bi_a_star', 'breadth_first', 'dijkstra', 'finder', 'ida_star']
36.666667
76
0.609091
14
110
4.071429
0.714286
0.175439
0
0
0
0
0
0
0
0
0
0
0.181818
110
2
77
55
0.633333
0
0
0
0
0
0.545455
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4263245bfbde431be1ac8c88739a3f1f392bf22f
34,891
py
Python
dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/uo_20000929.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
null
null
null
dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/uo_20000929.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
null
null
null
dependencies/src/4Suite-XML-1.0.2/test/Xml/Xslt/Borrowed/uo_20000929.py
aleasims/Peach
bb56841e943d719d5101fee0a503ed34308eda04
[ "MIT" ]
1
2020-07-26T03:57:45.000Z
2020-07-26T03:57:45.000Z
#Uche's test from Sun's SVG slide publisher import os from Xml.Xslt import test_harness #From Sun's toolkit sheet_1_uri = "Xml/Xslt/Borrowed/svgslides.xsl" sheet_2_uri = "Xml/Xslt/Borrowed/svgslides_custom.xsl" sheet_3_uri = "Xml/Xslt/Borrowed/slidescript.xsl" source_1_uri = "Xml/Xslt/Borrowed/slides4svg.xml" saxon_o...
51.010234
541
0.567367
4,516
34,891
4.376439
0.176262
0.109796
0.111314
0.161911
0.592795
0.547308
0.345679
0.322506
0.298877
0.265483
0
0.090256
0.238514
34,891
683
542
51.084919
0.653619
0.001777
0
0.177066
0
0.155143
0.976971
0.211078
0
0
0
0
0
1
0.001686
false
0
0.005059
0
0.008432
0.001686
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
426b013c87350379997d161bc0ecdefe4dd2b27e
19,353
py
Python
src/robotide/ui/treenodehandlers.py
crylearner/RIDE3X
767f45b0c908f18ecc7473208def8dc7489f43b0
[ "ECL-2.0", "Apache-2.0" ]
1
2017-08-20T14:46:02.000Z
2017-08-20T14:46:02.000Z
src/robotide/ui/treenodehandlers.py
crylearner/RIDE3X
767f45b0c908f18ecc7473208def8dc7489f43b0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/robotide/ui/treenodehandlers.py
crylearner/RIDE3X
767f45b0c908f18ecc7473208def8dc7489f43b0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright 2008-2015 Nokia Solutions and Networks # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
33.598958
80
0.661965
1,931
19,353
6.321077
0.18436
0.058496
0.027527
0.018352
0.291988
0.23341
0.207439
0.20236
0.20236
0.189661
0
0.000906
0.258565
19,353
575
81
33.657391
0.849746
0.042164
0
0.410673
0
0
0.033055
0.002397
0
0
0
0.001739
0
1
0.215777
false
0.051044
0.039443
0.046404
0.49652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
428b1f1d92a691f7e032bddbf0f11e16a416cdf3
186
py
Python
syncgateway/__init__.py
ecordell/syncgateway-admin-client
78a8d45ff290b42b5c771b901fb92edcde126ff4
[ "MIT" ]
null
null
null
syncgateway/__init__.py
ecordell/syncgateway-admin-client
78a8d45ff290b42b5c771b901fb92edcde126ff4
[ "MIT" ]
1
2015-12-10T20:42:12.000Z
2015-12-10T20:42:12.000Z
syncgateway/__init__.py
ecordell/syncgateway-admin-client
78a8d45ff290b42b5c771b901fb92edcde126ff4
[ "MIT" ]
null
null
null
__author__ = 'Evan Cordell' __copyright__ = 'Copyright 2012-2015 Localmed, Inc.' __version__ = "0.1.6" __version_info__ = tuple(__version__.split('.')) __short_version__ = __version__
23.25
52
0.758065
21
186
5.285714
0.761905
0
0
0
0
0
0
0
0
0
0
0.066667
0.112903
186
7
53
26.571429
0.606061
0
0
0
0
0
0.27957
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
428e40b791a018156767a64f9f6283399ebd2b1c
289
py
Python
tests/test_update.py
sosie-js/ankisync2
a41580197eab7f180f02a38a4aa912eb54cfaa93
[ "MIT" ]
39
2020-02-12T23:41:24.000Z
2022-02-28T15:46:23.000Z
tests/test_update.py
sosie-js/ankisync2
a41580197eab7f180f02a38a4aa912eb54cfaa93
[ "MIT" ]
9
2019-08-02T18:25:07.000Z
2022-02-07T23:14:43.000Z
tests/test_update.py
sosie-js/ankisync2
a41580197eab7f180f02a38a4aa912eb54cfaa93
[ "MIT" ]
6
2019-09-09T14:27:48.000Z
2021-08-31T08:13:00.000Z
# from ankisync2.apkg import Apkg, db # Has to be done through normal database methods # def test_update(): # apkg = Apkg("example1.apkg") # for n in db.Notes.filter(db.Notes.data["field1"] == "data1"): # n.data["field3"] = "data2" # n.save() # apkg.close()
24.083333
67
0.598616
40
289
4.3
0.725
0.081395
0
0
0
0
0
0
0
0
0
0.027149
0.235294
289
11
68
26.272727
0.751131
0.930796
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
42ab6fa034b5730a8c76b4b76e6056f1b558984c
687
py
Python
problems/slidingwindow/Solution1100.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/slidingwindow/Solution1100.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
problems/slidingwindow/Solution1100.py
akalu/cs-problems-python
9b1bd8e3932be62135a38a77f955ded9a766b654
[ "MIT" ]
null
null
null
""" Sliding window Given a string S, return the number of substrings of length K with no repeated characters. Example 1: Input: S = "havefunonleetcode", K = 5 Output: 6 Explanation: There are 6 substrings they are : 'havef','avefu','vefun','efuno','etcod','tcode'. cou...
18.078947
86
0.58952
105
687
3.857143
0.580952
0.014815
0.022222
0.02963
0.054321
0.054321
0
0
0
0
0
0.072187
0.31441
687
37
87
18.567568
0.787686
0.796215
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
1
0
0
0
0
0
2
35ef2ec3e738f6a7d680ddbb0d8cfed8a80181c4
384
py
Python
blazer/hpc/local/__init__.py
radiantone/blazer
4f369729a72a397a5a472f081002bf24cf22b69c
[ "CC0-1.0" ]
4
2022-02-11T13:37:03.000Z
2022-02-26T00:25:13.000Z
blazer/hpc/local/__init__.py
radiantone/blazer
4f369729a72a397a5a472f081002bf24cf22b69c
[ "CC0-1.0" ]
null
null
null
blazer/hpc/local/__init__.py
radiantone/blazer
4f369729a72a397a5a472f081002bf24cf22b69c
[ "CC0-1.0" ]
null
null
null
from functools import partial from pipe import select, where from pydash import chunk from pydash import filter_ as filter from pydash import flatten, get, omit from .primitives import parallel, pipeline, scatter __all__ = ( "parallel", "scatter", "pipeline", "partial", "select", "where", ...
16.695652
51
0.648438
43
384
5.674419
0.44186
0.122951
0.196721
0
0
0
0
0
0
0
0
0
0.242188
384
22
52
17.454545
0.838488
0
0
0
0
0
0.171875
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
c403737a02fdcf7c798629d6151ff7c1e4a813cf
913
py
Python
ryu/gui/views/topology.py
uiuc-srg/ryu
2a597f812270ea9690269a20bf659f334c323eb6
[ "Apache-2.0" ]
269
2015-03-08T11:32:45.000Z
2022-03-30T11:18:16.000Z
ryu/gui/views/topology.py
uiuc-srg/ryu
2a597f812270ea9690269a20bf659f334c323eb6
[ "Apache-2.0" ]
4
2017-03-07T11:51:24.000Z
2020-07-07T20:13:55.000Z
ryu/gui/views/topology.py
uiuc-srg/ryu
2a597f812270ea9690269a20bf659f334c323eb6
[ "Apache-2.0" ]
205
2015-01-13T04:52:25.000Z
2022-03-30T13:37:33.000Z
# Copyright (C) 2013 Nippon Telegraph and Telephone Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appli...
33.814815
69
0.739321
132
913
5.022727
0.666667
0.090498
0.039216
0.048265
0
0
0
0
0
0
0
0.010652
0.177437
913
26
70
35.115385
0.87217
0.638554
0
0
0
0
0.044444
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
1
0
0
2
c40b63017932ee0022e50a1cd077dafbac537066
4,610
py
Python
19/network.py
jcsesznegi/advent-of-code-2017
9710e184e092b82aa798076b9ce3915c6e42758d
[ "MIT" ]
1
2020-04-12T17:54:52.000Z
2020-04-12T17:54:52.000Z
19/network.py
jcsesznegi/advent-of-code-2017
9710e184e092b82aa798076b9ce3915c6e42758d
[ "MIT" ]
null
null
null
19/network.py
jcsesznegi/advent-of-code-2017
9710e184e092b82aa798076b9ce3915c6e42758d
[ "MIT" ]
null
null
null
from pprint import pprint from enum import Enum class Direction(Enum): UP = 'up' DOWN = 'down' LEFT = 'left' RIGHT = 'right' class Network: def __init__(self, diagramRows): self.diagram = self.setDiagram(diagramRows) self.currentPosition = self.setCurrentPosition() self.cur...
37.786885
74
0.632972
432
4,610
6.74537
0.136574
0.199039
0.288607
0.16987
0.574468
0.537062
0.537062
0.537062
0.387097
0.341798
0
0.015156
0.270065
4,610
121
75
38.099174
0.850817
0
0
0.460784
0
0
0.003688
0
0
0
0
0
0
1
0.127451
false
0
0.019608
0.029412
0.411765
0.009804
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c412a68b17b363d84e8cdaf62f22ff38191fc6e5
335
py
Python
pymarl/envs/__init__.py
twoodford/pymarl
c78e63e54ed772171fbcaea6c55c703cff0e9302
[ "Apache-2.0" ]
null
null
null
pymarl/envs/__init__.py
twoodford/pymarl
c78e63e54ed772171fbcaea6c55c703cff0e9302
[ "Apache-2.0" ]
null
null
null
pymarl/envs/__init__.py
twoodford/pymarl
c78e63e54ed772171fbcaea6c55c703cff0e9302
[ "Apache-2.0" ]
null
null
null
from functools import partial from .multiagentenv import MultiAgentEnv import sys import os def env_fn(env, **kwargs) -> MultiAgentEnv: return env(**kwargs) REGISTRY = {} #REGISTRY["sc2"] = partial(env_fn, env=StarCraft2Env) def register_env(nm, env_class): global REGISTRY REGISTRY[nm] = partial(env_fn, ...
22.333333
53
0.740299
45
335
5.377778
0.422222
0.061983
0.099174
0.123967
0
0
0
0
0
0
0
0.007018
0.149254
335
14
54
23.928571
0.842105
0.155224
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c4184af48713ebd40a957015c82bc531d4f8d4b7
3,601
py
Python
apps/1d/mhd/shock_tube/this_app_params.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/1d/mhd/shock_tube/this_app_params.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/1d/mhd/shock_tube/this_app_params.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
#section [initial] def _parameters_accessors_checks(): from finess.params import Parameter, Accessor, Check, \ CheckGreaterEqual, CheckGreaterThan, \ CheckOneOf, EnumParameterType parameters = [] checks = [] rhol = Parameter(variable_name = "rhol", ...
31.587719
68
0.463482
282
3,601
5.77305
0.148936
0.146192
0.206388
0.255528
0
0
0
0
0
0
0
0.011622
0.426548
3,601
113
69
31.867257
0.776755
0.004721
0
0.344086
0
0
0.084869
0
0
0
0
0
0
1
0.010753
false
0
0.010753
0
0.032258
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c41b88fc454a463ac7213753efc46174f0522ef0
12,745
py
Python
futu/common/pb/Qot_GetPriceReminder_pb2.py
Hason-Cheung/py-futu-api
caa2f136ee07a2b123c79b2d75bbb524d7873e53
[ "Apache-2.0" ]
858
2018-11-12T12:54:56.000Z
2022-03-10T17:35:43.000Z
futu/common/pb/Qot_GetPriceReminder_pb2.py
EricChengg/hongkong-futu-user-investment-report-generater
d450260a107f9e053036c31b05b8290b7b22c237
[ "Apache-2.0" ]
113
2018-11-12T01:52:31.000Z
2022-02-27T03:53:07.000Z
futu/common/pb/Qot_GetPriceReminder_pb2.py
EricChengg/hongkong-futu-user-investment-report-generater
d450260a107f9e053036c31b05b8290b7b22c237
[ "Apache-2.0" ]
201
2018-11-19T08:32:45.000Z
2022-03-23T06:39:02.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: Qot_GetPriceReminder.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflect...
36.83526
1,141
0.748764
1,583
12,745
5.732786
0.123184
0.047603
0.058292
0.065455
0.671625
0.54854
0.524738
0.518347
0.495207
0.495207
0
0.04194
0.126324
12,745
345
1,142
36.942029
0.773058
0.045116
0
0.614379
1
0.009804
0.174439
0.14039
0
0
0
0
0
1
0
false
0
0.026144
0
0.026144
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c42f5f63c17465e80eb4449fa0bfca6ef5e47655
948
py
Python
hqq_tool/rongcloud/demo.py
yaoruda/DRFLearning
6b17ef0d557142e8563d80788351f8b7ab94f248
[ "MIT" ]
1
2018-09-21T09:42:02.000Z
2018-09-21T09:42:02.000Z
hqq_tool/rongcloud/demo.py
yaoruda/DRFLearning
6b17ef0d557142e8563d80788351f8b7ab94f248
[ "MIT" ]
null
null
null
hqq_tool/rongcloud/demo.py
yaoruda/DRFLearning
6b17ef0d557142e8563d80788351f8b7ab94f248
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # __author__= "Ruda" # Date: 2018/10/16 ''' import os from rongcloud import RongCloud app_key = os.environ['APP_KEY'] app_secret = os.environ['APP_SECRET'] rcloud = RongCloud(app_key, app_secret) r = rcloud.User.getToken(userId='userid1', name='username', portraitUri='http://www.rongcloud.c...
27.085714
143
0.679325
104
948
6.096154
0.682692
0.028391
0.047319
0.047319
0
0
0
0
0
0
0
0.051995
0.127637
948
35
144
27.085714
0.714631
0.918776
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
c4606fc8327fb668e73c4a4c899e2f956318eefb
563
py
Python
yxf_utils/jsonx.py
yanyaming/yxf_utils
c1e1f7012f089374088210e55a953548b3c4da8b
[ "MIT" ]
null
null
null
yxf_utils/jsonx.py
yanyaming/yxf_utils
c1e1f7012f089374088210e55a953548b3c4da8b
[ "MIT" ]
null
null
null
yxf_utils/jsonx.py
yanyaming/yxf_utils
c1e1f7012f089374088210e55a953548b3c4da8b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ 通用json处理接口 """ import json # 输入单引号为边界的类json字符串(内部可能还有双引号),返回单引号为边界的python字典or列表对象。 def singleQuoteJsonStr_to_PythonObj(strr): jsonObj = eval(strr) # 不能用内置函数解析。只能模拟执行。 return jsonObj # dict or list # 输入完全正规的json字符串(键-值边界为双引号),返回单引号为边界的python字典or列表对象。 def...
20.851852
58
0.735346
61
563
6.688525
0.606557
0.127451
0.073529
0.107843
0.112745
0
0
0
0
0
0
0.004202
0.154529
563
26
59
21.653846
0.852941
0.468917
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c46ae74020d50b1e15aaa99acf255cf154208cb8
251
pyw
Python
client.pyw
thatfuckingbird/hydrus-websocket-server
b55454740dca5101448bf92224432f8bdbec7e77
[ "WTFPL" ]
1,417
2015-01-22T00:50:30.000Z
2022-03-30T18:44:55.000Z
client.pyw
thatfuckingbird/hydrus-websocket-server
b55454740dca5101448bf92224432f8bdbec7e77
[ "WTFPL" ]
975
2015-01-05T01:41:40.000Z
2022-03-31T06:01:50.000Z
client.pyw
thatfuckingbird/hydrus-websocket-server
b55454740dca5101448bf92224432f8bdbec7e77
[ "WTFPL" ]
163
2015-02-04T13:09:35.000Z
2022-03-23T01:00:05.000Z
#!/usr/bin/env python3 # Hydrus is released under WTFPL # You just DO WHAT THE FUCK YOU WANT TO. # https://github.com/sirkris/WTFPL/blob/master/WTFPL.md from hydrus import hydrus_client if __name__ == '__main__': hydrus_client.boot()
19.307692
55
0.709163
38
251
4.421053
0.815789
0.142857
0
0
0
0
0
0
0
0
0
0.004878
0.183267
251
12
56
20.916667
0.814634
0.577689
0
0
0
0
0.078431
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
c46bcfd7797c21307852fe37265fa68fac0dbbc3
570
py
Python
plugins/session_list/views.py
farazkhanfk7/ajenti
ff51635bea0d29bf9f35dd7912f145398040541d
[ "MIT" ]
1
2021-04-27T07:16:01.000Z
2021-04-27T07:16:01.000Z
plugins/session_list/views.py
farazkhanfk7/ajenti
ff51635bea0d29bf9f35dd7912f145398040541d
[ "MIT" ]
null
null
null
plugins/session_list/views.py
farazkhanfk7/ajenti
ff51635bea0d29bf9f35dd7912f145398040541d
[ "MIT" ]
null
null
null
from jadi import component from aj.api.http import url, HttpPlugin from aj.auth import authorize from aj.api.endpoint import endpoint, EndpointError import aj import gevent @component(HttpPlugin) class Handler(HttpPlugin): def __init__(self, context): self.context = context @url(r'/api/session_list/l...
25.909091
53
0.687719
72
570
5.291667
0.486111
0.047244
0.047244
0
0
0
0
0
0
0
0
0.002262
0.224561
570
21
54
27.142857
0.859729
0
0
0
0
0
0.04386
0.038596
0
0
0
0
0
1
0.117647
false
0
0.352941
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c475cdfc5c22b9c5d0eee35b59b44abcb5b1b364
1,027
py
Python
arachnado/rpc/sites.py
wigginzz/arachnado
8de92625262958e886263b4ccb189f4fc62d7400
[ "MIT" ]
2
2017-12-26T14:50:14.000Z
2018-06-12T07:04:08.000Z
arachnado/rpc/sites.py
wigginzz/arachnado
8de92625262958e886263b4ccb189f4fc62d7400
[ "MIT" ]
null
null
null
arachnado/rpc/sites.py
wigginzz/arachnado
8de92625262958e886263b4ccb189f4fc62d7400
[ "MIT" ]
null
null
null
import logging from functools import partial from arachnado.storages.mongotail import MongoTailStorage class Sites(object): """ 'Known sites' object exposed via JSON-RPC """ logger = logging.getLogger(__name__) def __init__(self, handler, site_storage, **kwargs): self.handler = handler s...
26.333333
64
0.650438
119
1,027
5.445378
0.411765
0.152778
0.055556
0.087963
0
0
0
0
0
0
0
0
0.246349
1,027
38
65
27.026316
0.837209
0.064265
0
0
0
0
0.008386
0
0
0
0
0
0
1
0.307692
false
0
0.115385
0.038462
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
1
0
0
0
0
1
0
0
2
c47eb0be6f206f7a309aab7d8baf760825081212
19,781
py
Python
src/ui/ui_hw_recovery_wdg.py
frosted97/dash-masternode-tool
d824740309ab878d745e41d39f274e952111542f
[ "MIT" ]
75
2017-03-20T06:33:14.000Z
2022-02-15T16:16:45.000Z
src/ui/ui_hw_recovery_wdg.py
frosted97/dash-masternode-tool
d824740309ab878d745e41d39f274e952111542f
[ "MIT" ]
42
2017-10-25T06:34:54.000Z
2022-02-10T20:53:46.000Z
src/ui/ui_hw_recovery_wdg.py
frosted97/dash-masternode-tool
d824740309ab878d745e41d39f274e952111542f
[ "MIT" ]
98
2017-03-20T05:27:36.000Z
2022-03-20T05:03:08.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file ui_hw_recovery_wdg.ui # # Created by: PyQt5 UI code generator # # 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 QtCore, Qt...
64.016181
222
0.745008
1,840
19,781
7.934239
0.141304
0.070279
0.036441
0.010069
0.334475
0.178848
0.135009
0.099048
0.064936
0.064936
0
0.02253
0.154087
19,781
308
223
64.224026
0.849937
0.013852
0
0.040816
1
0.010204
0.111544
0.013078
0
0
0
0
0
1
0.006803
false
0.098639
0.003401
0
0.013605
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
c47ed8028e53c0742399199be9ea4ca791d59010
1,108
py
Python
datahandler/analyser.py
ameliecordier/IIK
57b40d6b851a1c2369604049d1820e5b572c6227
[ "MIT" ]
null
null
null
datahandler/analyser.py
ameliecordier/IIK
57b40d6b851a1c2369604049d1820e5b572c6227
[ "MIT" ]
null
null
null
datahandler/analyser.py
ameliecordier/IIK
57b40d6b851a1c2369604049d1820e5b572c6227
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import csv from matplotlib import pyplot as plt from matplotlib.backends.backend_pdf import PdfPages def isValid(p, ep): return p in ep.patterns # CLASS ANALYSER class Analyser: """ Représentation d'un résultat d'analyse """ def __init__(self): """ :para...
25.181818
104
0.598375
123
1,108
5.317073
0.585366
0.067278
0.042813
0
0
0
0
0
0
0
0
0.001276
0.292419
1,108
43
105
25.767442
0.832908
0.255415
0
0
0
0
0.102351
0
0
0
0
0
0
1
0.277778
false
0
0.166667
0.055556
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c4844ed8e45f32c88606465081cf2391a8999d1d
4,849
py
Python
lemonpie/_nbdev.py
corazonlabs/ehr_preprocessing
5bf3be1f04d9dc6db002b58331800b30cf668e69
[ "Apache-2.0" ]
3
2021-04-03T01:16:18.000Z
2021-07-31T20:44:47.000Z
lemonpie/_nbdev.py
corazonlabs/ehr_preprocessing
5bf3be1f04d9dc6db002b58331800b30cf668e69
[ "Apache-2.0" ]
5
2021-03-30T21:23:47.000Z
2022-02-26T10:17:12.000Z
lemonpie/_nbdev.py
vin00d/lemonpie
5bf3be1f04d9dc6db002b58331800b30cf668e69
[ "Apache-2.0" ]
1
2020-11-26T00:35:28.000Z
2020-11-26T00:35:28.000Z
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"get_device": "00_basics.ipynb", "settings_template": "00_basics.ipynb", "read_settings": "00_basics.ipynb", "DEVICE": "00_basics.ipynb", "settings": "00_basics.ipynb", ...
44.486239
70
0.630852
531
4,849
5.350282
0.284369
0.12038
0.126716
0.158395
0.249912
0.06547
0
0
0
0
0
0.048936
0.224582
4,849
108
71
44.898148
0.706649
0.007424
0
0
1
0
0.6402
0.225109
0
0
0
0
0
1
0.009901
false
0
0
0.009901
0.009901
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c485ee350fbe503865765122e5205b0c6d84fd8d
1,300
py
Python
{{cookiecutter.project_slug}}/core/management/commands/snippets/fastapi_project/core/security.py
claysllanxavier/django-cookiecutter
97de7ff4ed3dc94c32bf756a57aee0664a888cbc
[ "BSD-3-Clause" ]
8
2021-08-13T17:48:27.000Z
2022-02-22T02:34:15.000Z
{{cookiecutter.project_slug}}/core/management/commands/snippets/fastapi_project/core/security.py
claysllanxavier/django-cookiecutter
97de7ff4ed3dc94c32bf756a57aee0664a888cbc
[ "BSD-3-Clause" ]
2
2022-03-24T20:39:00.000Z
2022-03-24T20:39:48.000Z
{{cookiecutter.project_slug}}/core/management/commands/snippets/fastapi_project/core/security.py
claysllanxavier/django-cookiecutter
97de7ff4ed3dc94c32bf756a57aee0664a888cbc
[ "BSD-3-Clause" ]
2
2021-09-21T00:05:27.000Z
2022-01-03T10:50:05.000Z
from datetime import datetime, timedelta from typing import Any, Union from jose import jwt from passlib.context import CryptContext from .config import settings pwd_context = CryptContext( default="django_pbkdf2_sha256", schemes=["django_argon2", "django_bcrypt", "django_bcrypt_sha256", ...
29.545455
81
0.713077
163
1,300
5.460123
0.460123
0.033708
0.040449
0.053933
0
0
0
0
0
0
0
0.022094
0.199231
1,300
44
82
29.545455
0.832853
0.004615
0
0
0
0
0.113835
0
0
0
0
0.045455
0
1
0.107143
false
0.178571
0.178571
0.071429
0.392857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
6706396f498d795e0d71e25c46fb2f83e80c424d
1,025
py
Python
odoo/base-addons/l10n_tr/__manifest__.py
LucasBorges-Santos/docker-odoo
53987bbd61f6119669b5f801ee2ad54695084a21
[ "MIT" ]
null
null
null
odoo/base-addons/l10n_tr/__manifest__.py
LucasBorges-Santos/docker-odoo
53987bbd61f6119669b5f801ee2ad54695084a21
[ "MIT" ]
null
null
null
odoo/base-addons/l10n_tr/__manifest__.py
LucasBorges-Santos/docker-odoo
53987bbd61f6119669b5f801ee2ad54695084a21
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. { 'name': 'Turkey - Accounting', 'version': '1.0', 'category': 'Localization', 'description': """ Türkiye için Tek düzen hesap planı şablonu Odoo Modülü. ==================================================...
33.064516
82
0.61561
113
1,025
5.460177
0.707965
0.056726
0.071313
0.116694
0
0
0
0
0
0
0
0.009756
0.2
1,025
30
83
34.166667
0.742683
0.091707
0
0.076923
0
0
0.771552
0.259698
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
671650e9876f386bef01f59b8d08f601fc6d3ed8
14,103
py
Python
lab7/lab7.py
cudaczek/nlp-labs-2020
8e40fe04d2350c6e43a36b29f4428a34aedb6dea
[ "MIT" ]
null
null
null
lab7/lab7.py
cudaczek/nlp-labs-2020
8e40fe04d2350c6e43a36b29f4428a34aedb6dea
[ "MIT" ]
null
null
null
lab7/lab7.py
cudaczek/nlp-labs-2020
8e40fe04d2350c6e43a36b29f4428a34aedb6dea
[ "MIT" ]
null
null
null
import pprint import numpy as np import matplotlib.pyplot as plt import seaborn as sns from sklearn import manifold from gensim.models import KeyedVectors # Download polish word embeddings for word2vec github/Google drive: # https://github.com/sdadas/polish-nlp-resources # with 100 dimensionality word2vec_100 = KeyedV...
33.901442
127
0.667801
1,397
14,103
6.652112
0.342878
0.035511
0.032713
0.030668
0.216184
0.172818
0.152158
0.14441
0.134295
0.109868
0
0.301166
0.130043
14,103
415
128
33.983133
0.456272
0.693753
0
0.2
0
0
0.184178
0.020215
0
0
0
0
0
1
0.066667
false
0
0.08
0
0.146667
0.253333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
673cf80cda7d6f2ddfed4ffa2f717379b2c4aa55
3,146
py
Python
pipenv/cmdparse.py
sthagen/pipenv
0924f75fd1004c848ea67d4272315eda4210b352
[ "MIT" ]
23
2017-01-20T01:18:31.000Z
2017-01-20T17:25:11.000Z
pipenv/cmdparse.py
sthagen/pipenv
0924f75fd1004c848ea67d4272315eda4210b352
[ "MIT" ]
1
2017-01-20T05:13:58.000Z
2017-01-20T05:13:58.000Z
pipenv/cmdparse.py
sthagen/pipenv
0924f75fd1004c848ea67d4272315eda4210b352
[ "MIT" ]
null
null
null
import itertools import re import shlex class ScriptEmptyError(ValueError): pass def _quote_if_contains(value, pattern): if next(iter(re.finditer(pattern, value)), None): return '"{0}"'.format(re.sub(r'(\\*)"', r'\1\1\\"', value)) return value class Script(object): """Parse a script line (...
30.543689
96
0.62206
408
3,146
4.730392
0.495098
0.032642
0.023316
0.029534
0.040415
0
0
0
0
0
0
0.007566
0.28576
3,146
102
97
30.843137
0.851357
0.517483
0
0.073171
0
0
0.035228
0
0
0
0
0
0
1
0.219512
false
0.02439
0.073171
0.097561
0.536585
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
673f86c193b95f2ceb11fd09422584819f2d7221
346
py
Python
python/speaktest.py
kyle-cook/templates
f1047a8c31a42507acbd7a27e66db0825be811a6
[ "MIT" ]
null
null
null
python/speaktest.py
kyle-cook/templates
f1047a8c31a42507acbd7a27e66db0825be811a6
[ "MIT" ]
null
null
null
python/speaktest.py
kyle-cook/templates
f1047a8c31a42507acbd7a27e66db0825be811a6
[ "MIT" ]
null
null
null
import unittest import speak class SpeakTests(unittest.TestCase): """ Unit test for the speak library """ def testHello(self): self.assertEqual("Hello World!", speak.helloworld()) def testGoodbye(self): self.assertEqual("Goodbye World!", speak.goodbyeworld()) if __name__ == "__mai...
21.625
64
0.66474
37
346
6
0.648649
0.072072
0.171171
0
0
0
0
0
0
0
0
0
0.208092
346
15
65
23.066667
0.810219
0.089595
0
0
0
0
0.113712
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
67416b98862ed94f8c8dd26ec4773d955430f943
460
py
Python
pylox/error_reporting.py
hculpan/pylox
a5bde624f289115575e9e01bd171b6271c2e899a
[ "MIT" ]
1
2018-05-18T08:16:02.000Z
2018-05-18T08:16:02.000Z
pylox/error_reporting.py
hculpan/pylox
a5bde624f289115575e9e01bd171b6271c2e899a
[ "MIT" ]
null
null
null
pylox/error_reporting.py
hculpan/pylox
a5bde624f289115575e9e01bd171b6271c2e899a
[ "MIT" ]
null
null
null
errorFound = False def hasError(): global errorFound return errorFound def clearError(): global errorFound errorFound = False def error(message, lineNo = 0): report(lineNo, "", message) def report(lineNo, where, message): global errorFound errorFound = True if lineNo == 0: ...
19.166667
73
0.630435
53
460
5.471698
0.396226
0.165517
0.186207
0.089655
0.213793
0.213793
0.213793
0
0
0
0
0.019943
0.236957
460
24
73
19.166667
0.806268
0
0
0.3125
0
0
0.084599
0
0
0
0
0
0
1
0.25
false
0
0
0
0.3125
0.125
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
1
0
0
0
0
0
0
0
2
675e9236debc2ccf610756e1ddfa6942ba31102c
621
py
Python
akshare/fx/cons.py
PKUuu/akshare
03967312b6c8afdec32e081fb23ae5916b674936
[ "MIT" ]
1
2020-05-14T13:20:48.000Z
2020-05-14T13:20:48.000Z
akshare/fx/cons.py
13767849/akshare
5b7e4daaa80b1ccaf3f5a980a1205848e2e8570d
[ "MIT" ]
null
null
null
akshare/fx/cons.py
13767849/akshare
5b7e4daaa80b1ccaf3f5a980a1205848e2e8570d
[ "MIT" ]
2
2020-09-23T08:50:14.000Z
2020-09-28T09:57:07.000Z
# -*- coding:utf-8 -*- # /usr/bin/env python """ Author: Albert King date: 2019/10/20 10:58 contact: jindaxiang@163.com desc: 外汇配置文件 """ # headers SHORT_HEADERS = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36' } # url FX_SPOT_URL ...
29.571429
134
0.698873
108
621
3.944444
0.583333
0.183099
0.070423
0.140845
0.352113
0.352113
0.352113
0.352113
0.352113
0.352113
0
0.079137
0.10467
621
20
135
31.05
0.68705
0.233494
0
0
0
0.444444
0.74569
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
67659e478a5e5c7c61b17fe40c449153891a0e5c
291
py
Python
app/models.py
dangger/awesome-flask-todo
8eb2ec5357a028a76015035940d6f7844623ff98
[ "MIT" ]
null
null
null
app/models.py
dangger/awesome-flask-todo
8eb2ec5357a028a76015035940d6f7844623ff98
[ "MIT" ]
null
null
null
app/models.py
dangger/awesome-flask-todo
8eb2ec5357a028a76015035940d6f7844623ff98
[ "MIT" ]
null
null
null
from app import db import datetime from flask_mongoengine.wtf import model_form class Todo(db.Document): content = db.StringField(required=True, max_length=20) time = db.DateTimeField(default=datetime.datetime.now()) status = db.IntField(default=0) TodoForm = model_form(Todo)
26.454545
60
0.766323
41
291
5.341463
0.682927
0.082192
0
0
0
0
0
0
0
0
0
0.011905
0.134021
291
10
61
29.1
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6767a8053401b419268988cde796fcad2ed726b3
157
py
Python
Python/Mundo01/teste/teste2.py
eStev4m/CursoPython
8b52a618e67c80d66518ef91c1d4596a2bfddc22
[ "MIT" ]
null
null
null
Python/Mundo01/teste/teste2.py
eStev4m/CursoPython
8b52a618e67c80d66518ef91c1d4596a2bfddc22
[ "MIT" ]
null
null
null
Python/Mundo01/teste/teste2.py
eStev4m/CursoPython
8b52a618e67c80d66518ef91c1d4596a2bfddc22
[ "MIT" ]
null
null
null
dia = int(input('Dia = ')) mes = str(input('Mês = ')) ano = int(input('Ano = ')) print('Você nasceu no dia {} de {} de {}. Correto?' .format(dia, mes, ano))
31.4
75
0.56051
24
157
3.666667
0.583333
0.181818
0
0
0
0
0
0
0
0
0
0
0.178344
157
4
76
39.25
0.682171
0
0
0
0
0
0.388535
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6768a012fa3b71acafcce223de6b3ec16122e616
763
py
Python
source/utils/converters.py
GoBoopADog/maelstrom
fce79fa964578dfee5d7beb4ec440deec5f8f25d
[ "MIT" ]
2
2021-03-02T15:37:01.000Z
2021-04-21T10:45:32.000Z
source/utils/converters.py
GoBoopADog/maelstrom
fce79fa964578dfee5d7beb4ec440deec5f8f25d
[ "MIT" ]
1
2021-02-28T20:26:04.000Z
2021-03-01T17:55:55.000Z
source/utils/converters.py
GoBoopADog/maelstrom
fce79fa964578dfee5d7beb4ec440deec5f8f25d
[ "MIT" ]
4
2021-02-28T04:08:03.000Z
2021-09-05T17:16:44.000Z
from discord.ext import commands from typing import Union from types import ModuleType from .context import Context class SourceConverter(commands.Converter): """A Converter that converts a string to a Command, Cog or Extension.""" async def convert( self, ctx: Context, argument: str ) -> Union[...
30.52
77
0.655308
93
763
5.344086
0.44086
0.04829
0.036217
0
0
0
0
0
0
0
0
0
0.258191
763
24
78
31.791667
0.878092
0.086501
0
0
0
0
0.062229
0
0
0
0
0
0
1
0
true
0
0.235294
0
0.529412
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
1
0
0
2
676d466a108d99b100b2c3a5a8c5c61b4428733b
280
py
Python
SinglePackage/tests/test_single.py
CJosephides/PythonApplicationStructures
b82385f7a35f3097eac08011d24d9d1429cee171
[ "RSA-MD" ]
1
2019-02-05T11:45:11.000Z
2019-02-05T11:45:11.000Z
SinglePackage/tests/test_single.py
CJosephides/PythonApplicationStructures
b82385f7a35f3097eac08011d24d9d1429cee171
[ "RSA-MD" ]
null
null
null
SinglePackage/tests/test_single.py
CJosephides/PythonApplicationStructures
b82385f7a35f3097eac08011d24d9d1429cee171
[ "RSA-MD" ]
null
null
null
from unittest import TestCase, main from single_package.single import Single class SingleTests(TestCase): def setUp(self): self.single = Single() def test_Single(self): self.assertIsInstance(self.single, Single) if __name__ == "__main__": main()
17.5
50
0.692857
33
280
5.575758
0.484848
0.086957
0.173913
0
0
0
0
0
0
0
0
0
0.210714
280
15
51
18.666667
0.832579
0
0
0
0
0
0.028571
0
0
0
0
0
0.111111
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
677a3f9b4fdf1b1623975d077e5ac1590631e821
1,927
py
Python
ADTs/ADT_of_staff.py
hitachinsk/DataStructure
91214dd56d9c0493458e8a36af27a46b0a2fdc03
[ "MIT" ]
null
null
null
ADTs/ADT_of_staff.py
hitachinsk/DataStructure
91214dd56d9c0493458e8a36af27a46b0a2fdc03
[ "MIT" ]
null
null
null
ADTs/ADT_of_staff.py
hitachinsk/DataStructure
91214dd56d9c0493458e8a36af27a46b0a2fdc03
[ "MIT" ]
null
null
null
import ADT_of_person as AP import datetime as dm #ADT Staff() # Staff(self, str name, str sex, tuple birthday, tuple entey_date, int salary, str position) # name(self) # sex(self) # en_year(self) # salary(self) # set_salary(self, new_salary) # position(self) # set_position(self, new_position...
28.338235
95
0.570317
229
1,927
4.572052
0.248908
0.068768
0.066858
0.030564
0.091691
0
0
0
0
0
0
0.005393
0.326414
1,927
67
96
28.761194
0.801233
0.142709
0
0.044444
0
0
0.029225
0
0
0
0
0
0
1
0.222222
false
0
0.044444
0.133333
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
678d54c4f215c915ab40d1921519e8d17b0d89cd
4,954
py
Python
smartlicense/settings/__init__.py
coblo/smartlicense
288b40496646c225716fa3bf5f43b48ff645b96c
[ "MIT" ]
6
2018-04-26T05:54:29.000Z
2021-04-03T05:08:46.000Z
smartlicense/settings/__init__.py
coblo/smartlicense
288b40496646c225716fa3bf5f43b48ff645b96c
[ "MIT" ]
13
2018-03-31T07:58:02.000Z
2022-02-10T10:35:28.000Z
smartlicense/settings/__init__.py
coblo/smartlicense
288b40496646c225716fa3bf5f43b48ff645b96c
[ "MIT" ]
2
2019-06-13T21:42:21.000Z
2021-04-03T05:09:02.000Z
# -*- coding: utf-8 -*- """ Django settings for smartlicense project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/re...
27.370166
91
0.677836
530
4,954
6.211321
0.424528
0.059235
0.04678
0.053159
0.128493
0.128493
0.081106
0.081106
0.036452
0
0
0.012349
0.182681
4,954
180
92
27.522222
0.800692
0.244449
0
0.017241
1
0
0.516833
0.371128
0
0
0
0
0
1
0
false
0.051724
0.025862
0
0.025862
0.008621
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
67995960cafd98e838927288e205c58078f19735
141,788
py
Python
pertama/andir.py
alitkurniawan48/BelajarGIS
c52556bc6fa74b849b9c3461410805807b742967
[ "MIT" ]
2
2020-02-09T14:47:07.000Z
2020-02-09T14:47:12.000Z
pertama/andir.py
alitkurniawan48/BelajarGIS
c52556bc6fa74b849b9c3461410805807b742967
[ "MIT" ]
12
2019-12-11T06:45:59.000Z
2020-01-06T09:35:35.000Z
pertama/andir.py
alitkurniawan48/BelajarGIS
c52556bc6fa74b849b9c3461410805807b742967
[ "MIT" ]
71
2019-12-09T13:52:54.000Z
2021-05-28T16:19:09.000Z
import shapefile class Andir: def __init__(self): self.kelurahan = shapefile.Writer( 'kelurahan_andir', shapeType=shapefile.POLYGON) self.kelurahan.shapeType self.kelurahan.field('kelurahan_di_andir', 'C') self.kantor = shapefile.Writer( 'kantor_kelurahan_a...
36.383885
64
0.471471
14,919
141,788
4.479791
0.31289
0.017506
0.015711
0.01791
0.623306
0.062438
0.062438
0.058443
0.029117
0.017042
0
0.682381
0.345615
141,788
3,896
65
36.393224
0.037938
0.000226
0
0.615748
0
0
0.000762
0.000332
0
0
0
0
0
1
0.005249
false
0
0.000262
0
0.005774
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
67a4dc5dd5440ed57b743f18f84e2d218d7c1ec4
5,216
py
Python
site/flask/lib/python2.7/site-packages/speaklater.py
theholyhades1/tartanHacks2015
a801b473f21cfbd136e2a5a74423e8c72d14f900
[ "MIT" ]
32
2015-01-19T12:13:26.000Z
2021-11-11T00:11:22.000Z
site/flask/lib/python2.7/site-packages/speaklater.py
theholyhades1/tartanHacks2015
a801b473f21cfbd136e2a5a74423e8c72d14f900
[ "MIT" ]
10
2020-06-05T19:42:26.000Z
2022-03-11T23:38:35.000Z
site/flask/lib/python2.7/site-packages/speaklater.py
theholyhades1/tartanHacks2015
a801b473f21cfbd136e2a5a74423e8c72d14f900
[ "MIT" ]
9
2015-07-18T01:03:56.000Z
2019-05-24T09:36:40.000Z
# -*- coding: utf-8 -*- r""" speaklater ~~~~~~~~~~ A module that provides lazy strings for translations. Basically you get an object that appears to be a string but changes the value every time the value is evaluated based on a callable you provide. For example you can have a global `lazy_get...
25.950249
78
0.637078
697
5,216
4.48924
0.284075
0.060403
0.057526
0.05465
0.191115
0.161074
0.144455
0
0
0
0
0.001819
0.262078
5,216
200
79
26.08
0.81112
0.466449
0
0
0
0
0.019192
0
0
0
0
0
0
1
0.394737
false
0
0.013158
0.289474
0.855263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
67aebac6e47b438aae9ad595766760877ca83a55
166
py
Python
Chapter04/listcmp1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
12
2018-07-09T16:20:31.000Z
2022-03-21T22:52:15.000Z
Chapter04/listcmp1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
null
null
null
Chapter04/listcmp1.py
kaushalkumarshah/Learn-Python-in-7-Days
2663656767c8959ace836f0c0e272f3e501bbe6e
[ "MIT" ]
19
2018-01-09T12:49:06.000Z
2021-11-23T08:05:55.000Z
list1 = [10,9,3,7,2,1,23,1,561,1,1,96,1] def cmp1(x,y): if x == 1 or y==1: c = y-x else: c = x-y return c list1.sort(cmp = cmp1) print list1
12.769231
41
0.5
39
166
2.128205
0.564103
0.048193
0
0
0
0
0
0
0
0
0
0.215517
0.301205
166
13
42
12.769231
0.5
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
67c3fb858e01fe9489719be010810d56f24cb176
3,905
py
Python
mongoadmin/auth/forms.py
hywhut/django-mongoadmin
7252f9724e4d556878a907914424745f5fdb0d42
[ "BSD-3-Clause" ]
null
null
null
mongoadmin/auth/forms.py
hywhut/django-mongoadmin
7252f9724e4d556878a907914424745f5fdb0d42
[ "BSD-3-Clause" ]
null
null
null
mongoadmin/auth/forms.py
hywhut/django-mongoadmin
7252f9724e4d556878a907914424745f5fdb0d42
[ "BSD-3-Clause" ]
1
2020-05-10T13:57:36.000Z
2020-05-10T13:57:36.000Z
# from django.utils.translation import ugettext_lazy as _ # from django import forms # from django.contrib.auth.forms import ReadOnlyPasswordHashField # # from mongoengine.django.auth import User # # from mongodbforms import DocumentForm # # class UserCreationForm(DocumentForm): # """ # A form that creates a us...
40.257732
81
0.589245
407
3,905
5.513514
0.380835
0.028966
0.033422
0.024064
0.19697
0.19697
0.159537
0.159537
0.159537
0.159537
0
0.009246
0.279898
3,905
96
82
40.677083
0.788762
0.94904
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
67c4dc33394c474c6cabe97b41d6b2b8fa22728a
2,554
py
Python
odin-libraries/python/odin_test.py
gspu/odin
a01d039e809eca257fa78d358fe72eb3ad2a09f2
[ "MIT" ]
447
2020-05-21T11:22:16.000Z
2022-03-13T01:28:25.000Z
odin-libraries/python/odin_test.py
gspu/odin
a01d039e809eca257fa78d358fe72eb3ad2a09f2
[ "MIT" ]
40
2020-05-21T13:17:57.000Z
2022-03-02T08:44:45.000Z
odin-libraries/python/odin_test.py
gspu/odin
a01d039e809eca257fa78d358fe72eb3ad2a09f2
[ "MIT" ]
25
2020-05-28T21:23:13.000Z
2022-03-18T19:31:31.000Z
""" Runs tests for Ptyhon Odin SDK """ import unittest from os import environ import random from pymongo import MongoClient import pyodin as odin class OdinSdkTest(unittest.TestCase): """ Establish OdinSdkTest object """ def setUp(self): client = MongoClient(environ.get('ODIN_MONGODB')) mongo...
34.513514
94
0.664056
327
2,554
4.993884
0.238532
0.088181
0.031843
0.039192
0.73117
0.710349
0.65891
0.65891
0.65891
0.65891
0
0.02423
0.224354
2,554
73
95
34.986301
0.800101
0.160533
0
0.590909
0
0
0.098812
0
0
0
0
0
0.136364
1
0.136364
false
0
0.113636
0
0.272727
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
67c4e469d6bfee9cfc7c187e94df576f7ce20488
657
py
Python
artemis/general/test_dict_ops.py
peteroconnor-bc/artemis
ad2871fae7d986bf10580eec27aee5b7315adad5
[ "BSD-2-Clause-FreeBSD" ]
235
2016-08-26T14:18:51.000Z
2022-03-13T10:54:39.000Z
artemis/general/test_dict_ops.py
peteroconnor-bc/artemis
ad2871fae7d986bf10580eec27aee5b7315adad5
[ "BSD-2-Clause-FreeBSD" ]
112
2016-04-30T11:48:38.000Z
2021-01-12T20:17:32.000Z
artemis/general/test_dict_ops.py
peteroconnor-bc/artemis
ad2871fae7d986bf10580eec27aee5b7315adad5
[ "BSD-2-Clause-FreeBSD" ]
31
2016-11-05T19:09:19.000Z
2021-09-13T07:35:40.000Z
from artemis.general.dict_ops import cross_dict_dicts, merge_dicts __author__ = 'peter' def test_cross_dict_dicts(): assert cross_dict_dicts({'a':{'aa': 1}, 'b':{'bb': 2}}, {'c': {'cc': 3}, 'd': {'dd': 4}}) == { ('a','c'):{'aa':1, 'cc':3}, ('a','d'):{'aa':1, 'dd':4}, ('b','c'):{'bb':2, 'c...
22.655172
98
0.427702
99
657
2.545455
0.333333
0.142857
0.222222
0.142857
0.039683
0
0
0
0
0
0
0.050314
0.273973
657
28
99
23.464286
0.477987
0
0
0
0
0
0.092846
0
0
0
0
0
0.1
1
0.1
false
0
0.05
0
0.15
0
0
0
0
null
0
1
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
2
67ce55c048774bb454c705b23d4003d7370d1d13
204
py
Python
status/urls.py
Khryptooo/infra_api
15b69dea8e0ce1795525f96d9362722151b3c8f7
[ "BSD-2-Clause" ]
null
null
null
status/urls.py
Khryptooo/infra_api
15b69dea8e0ce1795525f96d9362722151b3c8f7
[ "BSD-2-Clause" ]
null
null
null
status/urls.py
Khryptooo/infra_api
15b69dea8e0ce1795525f96d9362722151b3c8f7
[ "BSD-2-Clause" ]
null
null
null
from django.conf.urls import patterns, url from status import views urlpatterns = patterns('', url(r'^ups$', views.ups_status, name='ups_status'), url(r'^tor$', views.tor_status, name='tor_status'), )
25.5
52
0.720588
31
204
4.612903
0.451613
0.153846
0
0
0
0
0
0
0
0
0
0
0.107843
204
7
53
29.142857
0.785714
0
0
0
0
0
0.147059
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
67cee025d3929b6dcb02f8283d7e7b80eb2a3619
2,958
py
Python
fe/functional.py
proteneer/timemachine
feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701
[ "Apache-2.0" ]
91
2019-01-05T17:03:04.000Z
2022-03-11T09:08:46.000Z
fe/functional.py
proteneer/timemachine
feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701
[ "Apache-2.0" ]
474
2019-01-07T14:33:15.000Z
2022-03-31T19:15:12.000Z
fe/functional.py
proteneer/timemachine
feee9f24adcb533ab9e1c15a3f4fa4dcc9d9a701
[ "Apache-2.0" ]
12
2019-01-13T00:40:36.000Z
2022-01-14T10:23:54.000Z
from jax import config config.update("jax_enable_x64", True) from jax import custom_jvp, numpy as np from timemachine.lib.potentials import SummedPotential def _make_selection_mask(compute_du_dx=False, compute_du_dp=False, compute_du_dl=False, compute_u=False): return (compute_du_dx, compute_du_dp, compute_du_...
36.975
111
0.713658
423
2,958
4.747045
0.205674
0.044821
0.083665
0.083665
0.60508
0.596614
0.526892
0.526892
0.526892
0.501494
0
0.007031
0.182556
2,958
79
112
37.443038
0.823408
0.252197
0
0.236842
0
0
0.006527
0
0
0
0
0
0
1
0.263158
false
0
0.078947
0.078947
0.605263
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
67d9abf1948658a2c5e38ae12ec4d8b8adf3bd58
1,515
py
Python
sdk/core/azure-core/azure/core/pipeline/policies/authentication_async.py
pjquirk/azure-sdk-for-python
cbf02ec4f177b96eae1dbbba87c34c2c93880150
[ "MIT" ]
null
null
null
sdk/core/azure-core/azure/core/pipeline/policies/authentication_async.py
pjquirk/azure-sdk-for-python
cbf02ec4f177b96eae1dbbba87c34c2c93880150
[ "MIT" ]
null
null
null
sdk/core/azure-core/azure/core/pipeline/policies/authentication_async.py
pjquirk/azure-sdk-for-python
cbf02ec4f177b96eae1dbbba87c34c2c93880150
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See LICENSE.txt in the project root for # license information. # -------------------------------------------------------------------------- from azure...
48.870968
113
0.681848
156
1,515
6.570513
0.532051
0.052683
0.082927
0.061463
0.12878
0.072195
0.072195
0
0
0
0
0
0.154455
1,515
30
114
50.5
0.800156
0.370957
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
67ea232a964b415b5c48734cb2b31e366146e901
269
py
Python
docs/examples/combine-configs/convert.py
Mbompr/fromconfig
eb34582c79a9a9e3b9e60d41fec2ac6a619e9c27
[ "Apache-2.0" ]
19
2021-03-18T16:48:03.000Z
2022-03-02T13:09:21.000Z
docs/examples/combine-configs/convert.py
Mbompr/fromconfig
eb34582c79a9a9e3b9e60d41fec2ac6a619e9c27
[ "Apache-2.0" ]
3
2021-04-23T23:03:29.000Z
2021-05-11T14:09:16.000Z
docs/examples/combine-configs/convert.py
Mbompr/fromconfig
eb34582c79a9a9e3b9e60d41fec2ac6a619e9c27
[ "Apache-2.0" ]
3
2021-04-19T22:05:34.000Z
2022-02-21T11:32:16.000Z
"""Convert file format.""" import fire import fromconfig def convert(path_input, path_output): """Convert input into output with load and dump.""" fromconfig.dump(fromconfig.load(path_input), path_output) if __name__ == "__main__": fire.Fire(convert)
17.933333
61
0.717472
35
269
5.171429
0.514286
0.099448
0.143646
0.209945
0
0
0
0
0
0
0
0
0.159851
269
14
62
19.214286
0.800885
0.245353
0
0
0
0
0.041667
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
67f2d1af7b93140433f3b44d8d6f9fbf50549676
912
py
Python
microcosm_caching/base.py
globality-corp/microcosm-caching
9e4ddb60d95e1344bf97f69248d1f7ac36a92cc8
[ "Apache-2.0" ]
1
2019-08-29T16:47:18.000Z
2019-08-29T16:47:18.000Z
microcosm_caching/base.py
globality-corp/microcosm-caching
9e4ddb60d95e1344bf97f69248d1f7ac36a92cc8
[ "Apache-2.0" ]
2
2019-10-29T19:25:16.000Z
2019-11-12T00:00:04.000Z
microcosm_caching/base.py
globality-corp/microcosm-caching
9e4ddb60d95e1344bf97f69248d1f7ac36a92cc8
[ "Apache-2.0" ]
null
null
null
""" Cache abstractions for use with API resources. """ from abc import ABC, abstractmethod class CacheBase(ABC): """ A simple key-value cache interface. """ @abstractmethod def get(self, key): pass @abstractmethod def set(self, key, value, ttl=None): """ Set a ke...
19.404255
63
0.574561
117
912
4.470085
0.376068
0.091778
0.120459
0.097514
0.510516
0.437859
0.437859
0.365201
0.365201
0.365201
0
0
0.332237
912
46
64
19.826087
0.858785
0.446272
0
0.571429
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0.071429
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
67fc89d1bcce49307c043c31ae573dd5205a3395
289
py
Python
src/renault_api/exceptions.py
slater0013/renault-api
13c784b6af09331368341c93888f1eb32c46cb19
[ "MIT" ]
44
2020-11-01T15:52:33.000Z
2022-03-31T04:40:03.000Z
src/renault_api/exceptions.py
slater0013/renault-api
13c784b6af09331368341c93888f1eb32c46cb19
[ "MIT" ]
334
2020-11-01T13:00:01.000Z
2022-03-31T17:17:40.000Z
src/renault_api/exceptions.py
slater0013/renault-api
13c784b6af09331368341c93888f1eb32c46cb19
[ "MIT" ]
22
2020-11-20T08:26:26.000Z
2022-03-11T18:58:31.000Z
"""Exceptions for Renault API.""" class RenaultException(Exception): # noqa: N818 """Base exception for Renault API errors.""" pass class NotAuthenticatedException(RenaultException): # noqa: N818 """You are not authenticated, or authentication has expired.""" pass
20.642857
67
0.702422
30
289
6.766667
0.7
0.098522
0.128079
0
0
0
0
0
0
0
0
0.025532
0.186851
289
13
68
22.230769
0.838298
0.508651
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
1
0
0
0
0
0
2