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
3d3e2e9aa67829528f86770c18489a69c9f00ba7
2,461
py
Python
run_tests.py
agostodev/restler
9d3c32b9acfe4bb6bd2d7c30c56391b806ddc6a0
[ "MIT" ]
1
2015-07-22T15:58:16.000Z
2015-07-22T15:58:16.000Z
run_tests.py
agostodev/restler
9d3c32b9acfe4bb6bd2d7c30c56391b806ddc6a0
[ "MIT" ]
null
null
null
run_tests.py
agostodev/restler
9d3c32b9acfe4bb6bd2d7c30c56391b806ddc6a0
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import sys gae_path = '/usr/local/google_appengine' current_path = os.path.abspath(os.path.dirname(__file__)) tests_path = os.path.join(current_path, 'tests') test_app_path = os.path.join(current_path, 'tests', 'app') agar_path = os.path.join(current_path, 'agar') agar_lib_path = os.pa...
33.712329
83
0.718813
356
2,461
4.724719
0.264045
0.082045
0.124851
0.100476
0.464328
0.395957
0.235434
0.124851
0.124851
0.067776
0
0.006069
0.129622
2,461
72
84
34.180556
0.779178
0.027631
0
0
0
0
0.184937
0.060669
0
0
0
0
0
0
null
null
0
0.142857
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3d40fa433dd265de33a1eb9843234b22197eb785
5,138
py
Python
pysynth/wrappers/midi/events.py
monarrk/python-audio-synth
256f66a8db016e1106a3c85853b3625ea1779a8d
[ "MIT" ]
1
2021-05-08T21:35:47.000Z
2021-05-08T21:35:47.000Z
pysynth/wrappers/midi/events.py
monarrk/python-audio-synth
256f66a8db016e1106a3c85853b3625ea1779a8d
[ "MIT" ]
1
2021-05-09T00:00:02.000Z
2021-05-10T16:13:08.000Z
pysynth/wrappers/midi/events.py
monarrk/python-audio-synth
256f66a8db016e1106a3c85853b3625ea1779a8d
[ "MIT" ]
1
2021-05-08T21:40:05.000Z
2021-05-08T21:40:05.000Z
""" MIDI Events - Python classes representing MIDI events. We implement the following channel voice messages: > NoteOff - Turns a note off > NoteOn - Turns a note on > PolyphonicAftertouch - Represents changes in pressure while the note is on, individually > ChannelAftertouch - Like PolyphonicAftertou...
24.583732
101
0.650448
618
5,138
5.289644
0.304207
0.041603
0.030284
0.041603
0.334047
0.272255
0.257571
0.23004
0.199449
0.173142
0
0
0.277151
5,138
208
102
24.701923
0.880183
0.548462
0
0.527273
0
0
0.017094
0
0
0
0
0.004808
0
1
0.236364
false
0
0
0
0.436364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3d46c0a1ed80a9ff4f13684860fb59bd99d8ab36
546
py
Python
30days-of-code/2_operators.py
RawIron/hackerrank-d
f4f2cfc6b428c4c9ccd5e882ce6d61f46c45adbe
[ "BSD-2-Clause" ]
null
null
null
30days-of-code/2_operators.py
RawIron/hackerrank-d
f4f2cfc6b428c4c9ccd5e882ce6d61f46c45adbe
[ "BSD-2-Clause" ]
null
null
null
30days-of-code/2_operators.py
RawIron/hackerrank-d
f4f2cfc6b428c4c9ccd5e882ce6d61f46c45adbe
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 import math import os import random import re import sys def solve(meal_cost, tip_percent, tax_percent): if (tip_percent < 0): tip_percent = 0 if (tax_percent < 0): tax_percent = 0 if (meal_cost < 0): meal_cost = 0 return meal_cost + meal_cost * (tip_percent/100.0) + meal_cos...
22.75
88
0.677656
84
546
4.071429
0.345238
0.187135
0.096491
0.157895
0.192982
0.192982
0.192982
0
0
0
0
0.034404
0.201465
546
23
89
23.73913
0.75
0.038462
0
0
0
0
0.015267
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.4375
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3d5011523dcd3d50399b26213240967f17cc938a
1,733
py
Python
ninja/params.py
kierandarcy/django-ninja
b9c65dad17e9f67bad6440eae829da79b4efe667
[ "MIT" ]
null
null
null
ninja/params.py
kierandarcy/django-ninja
b9c65dad17e9f67bad6440eae829da79b4efe667
[ "MIT" ]
1
2021-04-25T07:00:55.000Z
2021-04-25T07:00:55.000Z
ninja/params.py
kierandarcy/django-ninja
b9c65dad17e9f67bad6440eae829da79b4efe667
[ "MIT" ]
null
null
null
from typing import Any, Optional from pydantic.fields import FieldInfo, ModelField from ninja import params_models __all__ = ["Param", "Path", "Query", "Header", "Cookie", "Body", "Form", "File"] class Param(FieldInfo): def __init__( self, default: Any, *, alias: str = None, ...
21.395062
80
0.567224
187
1,733
5.026738
0.336898
0.102128
0.119149
0.16383
0
0
0
0
0
0
0
0
0.330641
1,733
80
81
21.6625
0.810345
0.073283
0
0
0
0
0.036923
0
0
0
0
0
0
1
0.035714
false
0
0.053571
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3d5264ffec78f7d70ce4c0b1ae42562b4f2f1104
2,597
py
Python
myproject/models.py
mwiha/Awwards-App
afdec518f325070e2e07c0289de2cc2c148dd5c8
[ "MIT" ]
1
2020-10-31T13:21:42.000Z
2020-10-31T13:21:42.000Z
project/models.py
Wambuilucy/Awwards
df154f6de0477e314589939cecad2c1810c77b40
[ "MIT" ]
4
2020-06-06T00:43:08.000Z
2021-09-08T01:41:26.000Z
project/models.py
Wambuilucy/Awwards
df154f6de0477e314589939cecad2c1810c77b40
[ "MIT" ]
null
null
null
from django.db import models import datetime as dt from django.contrib.auth.models import User from tinymce.models import HTMLField from django.db.models.signals import post_save from django.dispatch import receiver class Profile(models.Model): First_Name = models.CharField(max_length=50) Last_Name = models....
30.197674
86
0.682711
329
2,597
5.203647
0.25228
0.042056
0.05257
0.070093
0.334112
0.289136
0.099299
0.05257
0
0
0
0.007874
0.217559
2,597
86
87
30.197674
0.834646
0
0
0.1875
0
0
0.011162
0
0
0
0
0
0
1
0.171875
false
0
0.09375
0.015625
0.671875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3d53b5b5932ca530c69c6b9bce709a4edda207fa
11,619
py
Python
graphical_model_learning/scores/gaussian_interventional_bge_score.py
uhlerlab/graphical_model_learning
19a1885af073b35d1f9b16585482af30d4db7264
[ "BSD-3-Clause" ]
3
2021-09-12T13:41:23.000Z
2022-03-24T14:44:04.000Z
graphical_model_learning/scores/gaussian_interventional_bge_score.py
uhlerlab/graphical_model_learning
19a1885af073b35d1f9b16585482af30d4db7264
[ "BSD-3-Clause" ]
null
null
null
graphical_model_learning/scores/gaussian_interventional_bge_score.py
uhlerlab/graphical_model_learning
19a1885af073b35d1f9b16585482af30d4db7264
[ "BSD-3-Clause" ]
2
2021-02-03T04:05:41.000Z
2021-09-12T13:41:26.000Z
import numpy as np # import numba import scipy as sp from scipy import stats from scipy.special import loggamma import math # import ipdb # @numba.jit def numba_inv(A): return np.linalg.inv(A) def faster_inverse(A): n = A.shape[0] b = np.eye(n) _, _, x, _ = sp.linalg.lapack.dgesv(A, b, 0, 0) ...
40.911972
240
0.683019
1,456
11,619
5.133929
0.139423
0.03612
0.077057
0.018194
0.37913
0.288027
0.234247
0.223545
0.20388
0.171773
0
0.010009
0.217489
11,619
283
241
41.056537
0.812143
0.182976
0
0.20339
0
0
0.072475
0.020569
0
0
0
0.031802
0.00565
1
0.045198
false
0
0.028249
0.011299
0.124294
0.039548
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
3d5b2d0344db58f523457c47a5c52d2c8b88f50d
947
py
Python
app/views/download.py
chick0/upload
5f63590706d9a5083cbb2a42a1e5e386e9590424
[ "MIT" ]
1
2021-07-27T07:43:20.000Z
2021-07-27T07:43:20.000Z
app/views/download.py
chick0/upload
5f63590706d9a5083cbb2a42a1e5e386e9590424
[ "MIT" ]
null
null
null
app/views/download.py
chick0/upload
5f63590706d9a5083cbb2a42a1e5e386e9590424
[ "MIT" ]
null
null
null
from io import BytesIO from json import loads from os.path import join from flask import Blueprint from flask import abort from flask import send_file from app import redis from app import UPLOAD_DIR from app.models import File bp = Blueprint( name="download", import_name="download", url_prefix="/downloa...
22.547619
70
0.676874
133
947
4.654135
0.421053
0.048465
0.072698
0.048465
0.054927
0
0
0
0
0
0
0.009434
0.216473
947
41
71
23.097561
0.824798
0
0
0.060606
0
0
0.128828
0.082365
0
0
0
0
0
1
0.030303
false
0
0.30303
0
0.424242
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3d5d5369eb18514b4a424f17e262519b6f5657e6
6,642
py
Python
src/OTLMOW/OTLModel/BaseClasses/OTLObject.py
davidvlaminck/OTLClassPython
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
2
2022-02-01T08:58:11.000Z
2022-02-08T13:35:17.000Z
src/OTLMOW/OTLModel/BaseClasses/OTLObject.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
src/OTLMOW/OTLModel/BaseClasses/OTLObject.py
davidvlaminck/OTLMOW
71330afeb37c3ea6d9981f521ff8f4a3f8b946fc
[ "MIT" ]
null
null
null
import warnings from datetime import date, time, datetime from typing import Generator, Iterable from OTLMOW.Facility.DotnotatieHelper import DotnotatieHelper from OTLMOW.OTLModel.Datatypes.DateField import DateField from OTLMOW.OTLModel.Datatypes.DateTimeField import DateTimeField from OTLMOW.OTLModel.Datatypes.Time...
42.851613
145
0.558717
753
6,642
4.711819
0.169987
0.090755
0.027621
0.037486
0.402762
0.335964
0.276494
0.221815
0.15699
0.066798
0
0.005095
0.349895
6,642
154
146
43.12987
0.81635
0.001054
0
0.280303
0
0
0.058349
0.015539
0
0
0
0
0
0
null
null
0
0.05303
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3d5d96522148152aa83501550cbf5cc353653dee
674
py
Python
py12/14/dict1.py
hiro345g/raspi_magazine_201612_toku1
5947a1c864f9844bb8da955e1b8331553546bba6
[ "MIT" ]
null
null
null
py12/14/dict1.py
hiro345g/raspi_magazine_201612_toku1
5947a1c864f9844bb8da955e1b8331553546bba6
[ "MIT" ]
null
null
null
py12/14/dict1.py
hiro345g/raspi_magazine_201612_toku1
5947a1c864f9844bb8da955e1b8331553546bba6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- empty_dict = {} # 空の辞書 dict1 = {'led':13, 'button':15} # 要素数2の辞書 dict2 = { 1:'Jan', 2:'Feb', 3:'Mar' } # 要素数3の辞書 print(dict2[1]) # キー1に対応するJanが表示 print(dict2[2]) # キー2に対応するFebが表示 dict2[4] = 'Apr' # キー4と対応する値の設定 print('dict1のキーと値の一覧') for k in list(dict1.keys()): ...
29.304348
48
0.61276
103
674
4
0.466019
0.038835
0.067961
0.07767
0.271845
0.271845
0.271845
0.271845
0.169903
0.169903
0
0.070934
0.142433
674
22
49
30.636364
0.641869
0.167656
0
0.210526
0
0
0.237319
0.039855
0
0
0
0
0
1
0
false
0
0
0
0
0.526316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
e9e473e426839cd98dbd78d1e020550bf1ca250e
3,149
py
Python
ryu/app/Hedera-master/DemandEstimation.py
Helloworld1995/Ryu_SDN_Controller
2680f967debca361adc6ff14ddadcbbcde0c7082
[ "Apache-2.0" ]
1
2021-03-11T01:47:35.000Z
2021-03-11T01:47:35.000Z
ryu/app/experiments/PureSDNPkt/DemandEstimation.py
Helloworld1995/Ryu_SDN_Controller
2680f967debca361adc6ff14ddadcbbcde0c7082
[ "Apache-2.0" ]
null
null
null
ryu/app/experiments/PureSDNPkt/DemandEstimation.py
Helloworld1995/Ryu_SDN_Controller
2680f967debca361adc6ff14ddadcbbcde0c7082
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2016 Huang MaChi at Chongqing University # of Posts and Telecommunications, Chongqing, China. # # 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/license...
26.91453
80
0.663703
446
3,149
4.576233
0.255605
0.073493
0.026458
0.041156
0.243508
0.159726
0.159726
0.156786
0.098971
0.078393
0
0.013396
0.19403
3,149
116
81
27.146552
0.79078
0.197841
0
0.378049
0
0
0.137206
0.023074
0
0
0
0
0
0
null
null
0
0
null
null
0.109756
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e9ea1b0aa1d65b5684ab4d4a8d1e3c8e107d4e24
2,473
py
Python
tests/transform/sequences/functional_test.py
Dref360/keras-transform
cc674b0267c02b00ad340515f4b08fb370ff78a2
[ "MIT" ]
29
2017-08-09T18:34:00.000Z
2020-06-13T03:16:34.000Z
tests/transform/sequences/functional_test.py
Dref360/keras-transform
cc674b0267c02b00ad340515f4b08fb370ff78a2
[ "MIT" ]
null
null
null
tests/transform/sequences/functional_test.py
Dref360/keras-transform
cc674b0267c02b00ad340515f4b08fb370ff78a2
[ "MIT" ]
5
2017-08-10T00:15:35.000Z
2021-05-11T14:35:14.000Z
import numpy as np import pytest from keras.utils import Sequence from transform.sequences import SequentialTransformer, RandomZoomTransformer, RandomVerticalFlipTransformer class TestSequence(Sequence): """Create a X,Y tuple""" def __getitem__(self, index): return np.arange(5 * 20 * 20 * 3).reshape...
34.347222
117
0.643348
341
2,473
4.539589
0.246334
0.077519
0.113049
0.023256
0.511628
0.418605
0.385659
0.306202
0.244832
0.244832
0
0.061866
0.202588
2,473
71
118
34.830986
0.723124
0.087343
0
0.15
0
0
0.003568
0
0
0
0
0.014085
0.15
1
0.15
false
0
0.1
0.1
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e9ec33466dc68aae4d486d64243ca71612306e02
10,567
py
Python
clients/python/SolviceRoutingClient/models/options.py
solvice/solvice-routing-client
cdaedaf47d202965549c9e2b7d9102d292c91d5b
[ "MIT" ]
null
null
null
clients/python/SolviceRoutingClient/models/options.py
solvice/solvice-routing-client
cdaedaf47d202965549c9e2b7d9102d292c91d5b
[ "MIT" ]
null
null
null
clients/python/SolviceRoutingClient/models/options.py
solvice/solvice-routing-client
cdaedaf47d202965549c9e2b7d9102d292c91d5b
[ "MIT" ]
null
null
null
# coding: utf-8 """ OnRoute API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.1.3 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
32.81677
201
0.612851
1,256
10,567
5.001592
0.148089
0.059854
0.066221
0.064947
0.560649
0.487743
0.472143
0.360076
0.309456
0.181789
0
0.021048
0.303113
10,567
321
202
32.919003
0.832021
0.398883
0
0.083916
1
0
0.091667
0.012222
0
0
0
0
0
1
0.153846
false
0
0.020979
0
0.293706
0.013986
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e9ee3c8570fb29994be586cf2f739ffe93fd0569
725
py
Python
authors/apps/articles/messages.py
andela/ah-alpha
dbc038c9a11362a314c258a80c4a133d11ff1012
[ "BSD-3-Clause" ]
1
2019-03-18T08:24:37.000Z
2019-03-18T08:24:37.000Z
authors/apps/articles/messages.py
andela/ah-alpha
dbc038c9a11362a314c258a80c4a133d11ff1012
[ "BSD-3-Clause" ]
39
2019-01-08T12:12:57.000Z
2022-03-11T23:39:18.000Z
authors/apps/articles/messages.py
jamesbeamie/bolt-J
1824afd73bfba708f0e56fbd7cbb8d7521f06a1a
[ "BSD-3-Clause" ]
2
2019-02-04T08:36:44.000Z
2019-03-05T19:59:44.000Z
error_msgs = { "not_found": "Article not found", "article_owner_error": "You are not allowed to perform this action on the article", "title_needed": "Provide an article title", "image_needed": "Provide an image", "body": "Provide an article body", "tags_not_found": "Tags not available", "inv...
36.25
87
0.686897
91
725
5.285714
0.56044
0.074844
0.06237
0
0
0
0
0
0
0
0
0
0.188966
725
19
88
38.157895
0.818027
0
0
0
0
0
0.718621
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e9f0c236314c273fb1d6fe7c49123e0f7c08de3f
3,119
py
Python
foolbox/tests/batch_attacks/test_batch_iterative_projected_gradient.py
mkyybx/foolbox
00b2dcc5ed30b12f28431e9dabe4d2bbc214d444
[ "MIT" ]
3
2021-12-25T02:29:24.000Z
2022-02-22T02:12:30.000Z
foolbox/tests/batch_attacks/test_batch_iterative_projected_gradient.py
pige2nd/foolbox
2daabba8355afce9dfbec3de8d71dadadcfbd10b
[ "MIT" ]
null
null
null
foolbox/tests/batch_attacks/test_batch_iterative_projected_gradient.py
pige2nd/foolbox
2daabba8355afce9dfbec3de8d71dadadcfbd10b
[ "MIT" ]
2
2020-11-27T00:03:48.000Z
2020-11-27T00:08:04.000Z
import pytest import numpy as np from foolbox.batch_attacks import LinfinityBasicIterativeAttack from foolbox.batch_attacks import L1BasicIterativeAttack from foolbox.batch_attacks import L2BasicIterativeAttack from foolbox.batch_attacks import ProjectedGradientDescentAttack from foolbox.batch_attacks import RandomSta...
37.130952
99
0.765309
412
3,119
5.572816
0.133495
0.059233
0.054878
0.097561
0.755226
0.664634
0.645035
0.62892
0.62892
0.611498
0
0.003049
0.158705
3,119
83
100
37.578313
0.871951
0
0
0.515152
0
0
0.011542
0
0
0
0
0
0.212121
1
0.106061
false
0
0.151515
0
0.257576
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e9fec360aee8ee1237b3d4bf213cd8586a6d9ddc
159
py
Python
BOJ/2012.py
Jaesin22/TIL
d0aa137af79c22ea9eb0ff1c7a0264c086ebe1b2
[ "MIT" ]
null
null
null
BOJ/2012.py
Jaesin22/TIL
d0aa137af79c22ea9eb0ff1c7a0264c086ebe1b2
[ "MIT" ]
null
null
null
BOJ/2012.py
Jaesin22/TIL
d0aa137af79c22ea9eb0ff1c7a0264c086ebe1b2
[ "MIT" ]
null
null
null
N = int(input()) res = [] cnt = 0 for x in range(N): res.append(int(input())) res.sort() for i in range(N): cnt += abs(res[i] - (i + 1)) print(cnt)
12.230769
32
0.528302
30
159
2.8
0.533333
0.190476
0.261905
0
0
0
0
0
0
0
0
0.016529
0.238994
159
12
33
13.25
0.677686
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
180102c61b960ef598c70438e241e21db71d4c9f
411
py
Python
copy_runs.py
ombretta/VASNet
17f1e81ce499c833038e1753158361e01c8e53b5
[ "MIT" ]
null
null
null
copy_runs.py
ombretta/VASNet
17f1e81ce499c833038e1753158361e01c8e53b5
[ "MIT" ]
null
null
null
copy_runs.py
ombretta/VASNet
17f1e81ce499c833038e1753158361e01c8e53b5
[ "MIT" ]
null
null
null
import os runs = "runs/" if not os.path.exists(runs): os.mkdir(runs) dirs = [d for d in os.listdir(".") if os.path.exists(d+"/runs")] for d in dirs: if not os.path.exists(runs+d): os.mkdir(runs+d) if not os.path.exists(runs+d+"/runs"): os.mkdir(runs+d+"/runs") for f in os.listdir(d+"/runs"): text...
27.4
67
0.576642
76
411
3.118421
0.25
0.126582
0.202532
0.139241
0.274262
0.274262
0.185654
0
0
0
0
0
0.19708
411
14
68
29.357143
0.718182
0
0
0
0
0
0.109489
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.090909
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1801802a72e8604959d46c6469f1fb3b5d372e6e
2,551
py
Python
src/orm/db.py
srijyothsna/nlp
6b61227f32d8759182190b57372a5ec92acaac80
[ "Apache-2.0" ]
3
2016-06-11T15:05:58.000Z
2019-03-29T07:42:13.000Z
src/orm/db.py
srijyothsna/nlp
6b61227f32d8759182190b57372a5ec92acaac80
[ "Apache-2.0" ]
null
null
null
src/orm/db.py
srijyothsna/nlp
6b61227f32d8759182190b57372a5ec92acaac80
[ "Apache-2.0" ]
8
2016-01-13T21:05:42.000Z
2019-08-14T21:03:50.000Z
from sqlalchemy import Column, String, Integer, ForeignKey from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from config import ConfigParserHelper Base = declarative_base() class Article(Base): __tablename__ = 'article' id = Column(Integer, primary_key=True) PMI...
29.662791
67
0.704822
275
2,551
6.378182
0.28
0.192702
0.09179
0.075257
0.246864
0.246864
0.109464
0.109464
0.04561
0
0
0
0.186201
2,551
85
68
30.011765
0.844894
0.134849
0
0.229508
0
0
0.067487
0
0
0
0
0
0
1
0.016393
false
0
0.081967
0
0.852459
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1801c44eff3221022a9765ef7ac97f6349dc8034
868
py
Python
scripts/sequencing/interproscan.py
vanngocthuyla/Data_Analysis
7aa43e745452a3202fbd5ec351c97512f2eab726
[ "MIT" ]
null
null
null
scripts/sequencing/interproscan.py
vanngocthuyla/Data_Analysis
7aa43e745452a3202fbd5ec351c97512f2eab726
[ "MIT" ]
null
null
null
scripts/sequencing/interproscan.py
vanngocthuyla/Data_Analysis
7aa43e745452a3202fbd5ec351c97512f2eab726
[ "MIT" ]
null
null
null
## Python 3 ## Publication: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4312015/ ## Source of tool: https://github.com/ebi-wp/webservice-clients/blob/master/python/iprscan5.py ## Download the py file to run interproscan import os #### Define paths to input and output directories datadir = '/home/Input' # input outdi...
36.166667
101
0.728111
123
868
5.121951
0.609756
0.047619
0.04127
0.057143
0.066667
0
0
0
0
0
0
0.014455
0.123272
868
23
102
37.73913
0.813403
0.565668
0
0
0
0
0.224138
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1816da6f7737a7beb5398af569f16ffebbd3ce95
2,796
py
Python
tests/arc_tests.py
Spenbert02/gcodeBuddyProj
dec30c0be07c95779d7c7e9b2020758a51a9a1ff
[ "MIT" ]
2
2022-01-03T04:38:52.000Z
2022-01-03T04:39:09.000Z
tests/arc_tests.py
Spenbert02/gcodeBuddy
dec30c0be07c95779d7c7e9b2020758a51a9a1ff
[ "MIT" ]
null
null
null
tests/arc_tests.py
Spenbert02/gcodeBuddy
dec30c0be07c95779d7c7e9b2020758a51a9a1ff
[ "MIT" ]
null
null
null
import unittest from gcodeBuddy import Arc class CommandTestCase(unittest.TestCase): def setUp(self): """Creating Arc object to test""" self.command = Arc(center=[0, 0], radius=1.0, start_angle=0, end_angle=180, direction="cc") def test_get_center(self): """Test get_center() method""...
34.518519
99
0.624464
360
2,796
4.597222
0.108333
0.076133
0.112991
0.132931
0.360725
0.327492
0.327492
0.327492
0.178852
0
0
0.025376
0.238913
2,796
80
100
34.95
0.75235
0.188126
0
0.232558
0
0
0.097317
0.020009
0
0
0
0
0.255814
1
0.27907
false
0
0.046512
0
0.348837
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
181ed799f57164199bb2f256180e6b1611757ccd
1,823
py
Python
data/src/2.1_make_museums_list.py
blackradley/heathmynd
4495f8fadef9d3a36a7d5b49fae2b61cceb158bc
[ "MIT" ]
null
null
null
data/src/2.1_make_museums_list.py
blackradley/heathmynd
4495f8fadef9d3a36a7d5b49fae2b61cceb158bc
[ "MIT" ]
4
2018-11-06T16:15:10.000Z
2018-11-07T12:03:09.000Z
data/src/2.1_make_museums_list.py
blackradley/heathmynd
4495f8fadef9d3a36a7d5b49fae2b61cceb158bc
[ "MIT" ]
null
null
null
''' Make a list of the museums and their types. ''' __author__ = "Joe Collins" __copyright__ = "Copyright (c) 2017 Black Radley Limited." import io from tinydb import TinyDB, Query import helpers_list def make_museum_list(): ''' Create a list of all the museums in the wikipedia pages ''' j = 0 # Counter for...
42.395349
131
0.673615
233
1,823
4.982833
0.412017
0.078381
0.048234
0.02584
0.05168
0.05168
0
0
0
0
0
0.017643
0.22271
1,823
42
132
43.404762
0.801694
0.159627
0
0
0
0
0.15505
0.019915
0
0
0
0
0
0
null
null
0
0.107143
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
181fd1c8745565816dad25041d57764f77341893
3,108
py
Python
bin/mac_hunter.py
lordratner/mac_hunter
2f738d4287f9e31c5802c3a42f492f474b9e8f41
[ "Unlicense" ]
null
null
null
bin/mac_hunter.py
lordratner/mac_hunter
2f738d4287f9e31c5802c3a42f492f474b9e8f41
[ "Unlicense" ]
null
null
null
bin/mac_hunter.py
lordratner/mac_hunter
2f738d4287f9e31c5802c3a42f492f474b9e8f41
[ "Unlicense" ]
null
null
null
import nmap from configobj import ConfigObj import logging, os, subprocess, time, sys cfd = os.path.dirname(os.path.realpath(__file__)) filename = os.path.join(cfd, "mac_hunter.conf") config_dict = ConfigObj(filename) if config_dict['SETTINGS']['debug'].lower() == 'true': log_level = logging.DEBUG else: log_l...
42.575342
144
0.600386
384
3,108
4.677083
0.276042
0.167038
0.200445
0.081849
0.334633
0.329065
0.314031
0.295657
0.271158
0.24833
0
0.007234
0.243887
3,108
72
145
43.166667
0.757021
0
0
0.125
0
0
0.189894
0
0
0
0
0
0
1
0.015625
false
0
0.046875
0
0.09375
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1822379c08d3b8a1744154c444fc23116a1d3710
760
py
Python
Practice_problems/Edabit/Upvotes vs Downvotes.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
3
2020-08-07T04:33:19.000Z
2021-10-06T08:58:01.000Z
Practice_problems/Edabit/Upvotes vs Downvotes.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
null
null
null
Practice_problems/Edabit/Upvotes vs Downvotes.py
riyabhatia26/Python-Programming
2882728982c15c3b6380033eb2e90761b538dd93
[ "MIT" ]
2
2021-10-06T08:58:05.000Z
2021-10-06T09:46:42.000Z
# Upvotes vs Downvotes # Given a dictionary containing counts of both upvotes and downvotes, return what vote count should be displayed. This is calculated by subtracting the number of downvotes from upvotes. from functools import reduce def get_vote_count(votes): return votes['upvotes'] - votes['downvotes'] print(ge...
21.111111
185
0.722368
107
760
5.056075
0.485981
0.083179
0.088725
0.09427
0.088725
0
0
0
0
0
0
0.027778
0.147368
760
36
186
21.111111
0.807099
0.343421
0
0
0
0
0.183838
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0.066667
0.2
0.533333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
18318bdebdacf2622257492a1d163e22309d19e6
592
py
Python
tests/test_async_manager_results_collection.py
yehonadav/qaviton_io
936c444db06d5c0a9fa75a56742c70a0deebee65
[ "Apache-2.0" ]
null
null
null
tests/test_async_manager_results_collection.py
yehonadav/qaviton_io
936c444db06d5c0a9fa75a56742c70a0deebee65
[ "Apache-2.0" ]
null
null
null
tests/test_async_manager_results_collection.py
yehonadav/qaviton_io
936c444db06d5c0a9fa75a56742c70a0deebee65
[ "Apache-2.0" ]
null
null
null
from requests import get from tests.utils import AsyncManager, server from qaviton_io import task def test_async_manager_results_collection(): m = AsyncManager() m.log.clear() @task(exceptions=Exception) def task1(): with server() as (host, port): r = get(f'http://{host}:{port}') ...
24.666667
51
0.618243
85
592
4.2
0.541176
0.033613
0.05042
0
0
0
0
0
0
0
0
0.028698
0.234797
592
23
52
25.73913
0.759382
0
0
0
0
0
0.064189
0
0
0
0
0
0.222222
1
0.111111
false
0.055556
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
183ac427176aa4c165135df62078946f8032fa5e
4,472
py
Python
rpython/rtyper/module/r_os_stat.py
jptomo/pypy-lang-scheme
55edb2cec69d78f86793282a4566fcbc1ef9fcac
[ "MIT" ]
34
2015-07-09T04:53:27.000Z
2021-07-19T05:22:27.000Z
rpython/rtyper/module/r_os_stat.py
jptomo/pypy-lang-scheme
55edb2cec69d78f86793282a4566fcbc1ef9fcac
[ "MIT" ]
6
2015-05-30T17:20:45.000Z
2017-06-12T14:29:23.000Z
rpython/rtyper/module/r_os_stat.py
jptomo/pypy-lang-scheme
55edb2cec69d78f86793282a4566fcbc1ef9fcac
[ "MIT" ]
11
2015-09-07T14:26:08.000Z
2020-04-10T07:20:41.000Z
""" RTyping support for os.stat_result objects. They are rtyped just like a tuple of the correct length supporting only indexing and the st_xxx attributes. We need a custom StatResultRepr because when rtyping for LL backends we have extra platform-dependent items at the end of the tuple, but for OO backends we only wa...
36.357724
82
0.684034
604
4,472
4.844371
0.22351
0.033835
0.020506
0.021873
0.657553
0.643882
0.615174
0.573479
0.541353
0.486671
0
0.005213
0.227862
4,472
122
83
36.655738
0.842166
0.01297
0
0.629213
0
0
0.017358
0
0
0
0
0
0
0
null
null
0
0.101124
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
183e5f0ba71d7c7b2bc965c17a3dc983d6c29f7a
1,821
py
Python
scripts/builtin_hash/builtins.py
herbrand-lang/herbrand
755298c96d043fc7fc5435d3661d676eef3a31fa
[ "BSD-3-Clause" ]
5
2019-03-31T09:56:26.000Z
2020-12-19T03:38:31.000Z
scripts/builtin_hash/builtins.py
jariazavalverde/logic
755298c96d043fc7fc5435d3661d676eef3a31fa
[ "BSD-3-Clause" ]
null
null
null
scripts/builtin_hash/builtins.py
jariazavalverde/logic
755298c96d043fc7fc5435d3661d676eef3a31fa
[ "BSD-3-Clause" ]
null
null
null
from sys import argv def hashmap_hash(size, key): i = 0 crc = 0xFFFFFFFF while i < len(key): byte = ord(key[i]) crc = crc^byte for j in range(7,-1,-1): mask = -(crc & 1) crc = (crc >> 1)^(0xEDB88320 & mask) i += 1 return ~crc % size def hashmap_gen(path): keys = [] handlers = [] arities = [] f =...
21.678571
65
0.556288
303
1,821
3.293729
0.227723
0.012024
0.036072
0.044088
0.412826
0.412826
0.412826
0.381764
0.381764
0.381764
0
0.025326
0.241076
1,821
83
66
21.939759
0.696816
0.03899
0
0.480519
0
0
0.122636
0.060745
0
0
0.011461
0
0
0
null
null
0
0.012987
null
null
0.051948
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
183fb4a762d7758c40a54c303376c544f9a100bf
3,568
py
Python
app.py
youqingkui/FlaskSQLAlchemyModels
dc71dc931c68547fff51f872e0e9edd98eaceac0
[ "MIT" ]
null
null
null
app.py
youqingkui/FlaskSQLAlchemyModels
dc71dc931c68547fff51f872e0e9edd98eaceac0
[ "MIT" ]
null
null
null
app.py
youqingkui/FlaskSQLAlchemyModels
dc71dc931c68547fff51f872e0e9edd98eaceac0
[ "MIT" ]
null
null
null
#! /usr/bin/env python #coding=utf-8 import os, sys from flask import Flask, render_template, session, redirect, url_for, flash, request from flask.ext.script import Manager from flask.ext.bootstrap import Bootstrap from flask.ext.moment import Moment from flask.ext.wtf import Form from wtforms import StringField, Su...
24.606897
84
0.563901
425
3,568
4.628235
0.270588
0.053381
0.024403
0.022877
0.362481
0.362481
0.362481
0.341129
0.316726
0.316726
0
0.012408
0.277186
3,568
145
85
24.606897
0.750291
0.009249
0
0.385321
0
0
0.106868
0
0
0
0
0
0
0
null
null
0.045872
0.082569
null
null
0.018349
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
184094d36c004dfc3d672940fa8299a482eae606
1,991
py
Python
elements/migrations/0001_initial.py
philsupertramp/wik
0650ae181926a5ccad8af70b8ae9a572a423e6f6
[ "MIT" ]
null
null
null
elements/migrations/0001_initial.py
philsupertramp/wik
0650ae181926a5ccad8af70b8ae9a572a423e6f6
[ "MIT" ]
19
2021-02-09T18:01:05.000Z
2021-08-25T04:50:44.000Z
elements/migrations/0001_initial.py
philsupertramp/wiki
b30ee58d63e55588ced06af4f6588c8dd6baba7e
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2020-12-20 09:52 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import mdeditor.fields class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_...
40.632653
147
0.60673
208
1,991
5.682692
0.379808
0.027073
0.035533
0.055838
0.464467
0.439086
0.439086
0.439086
0.3511
0.3511
0
0.015541
0.256655
1,991
48
148
41.479167
0.783108
0.022602
0
0.365854
1
0
0.071502
0
0
0
0
0
0
1
0
false
0
0.121951
0
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
184256fd406de5be553af7e832351b2669a6fc1f
611
py
Python
project-euler/076.py
robertdimarco/puzzles
61e1b62700503fdb8794fba7fa5d3156e7adf72b
[ "MIT" ]
36
2015-05-11T20:22:55.000Z
2021-09-26T07:36:49.000Z
project-euler/076.py
robertdimarco/puzzles
61e1b62700503fdb8794fba7fa5d3156e7adf72b
[ "MIT" ]
null
null
null
project-euler/076.py
robertdimarco/puzzles
61e1b62700503fdb8794fba7fa5d3156e7adf72b
[ "MIT" ]
16
2016-03-08T16:25:46.000Z
2022-03-16T06:28:51.000Z
# coding=utf-8 ''' Problem 76 13 August 2004 It is possible to write five as a sum in exactly six different ways: 4 + 1 3 + 2 3 + 1 + 1 2 + 2 + 1 2 + 1 + 1 + 1 1 + 1 + 1 + 1 + 1 How many different ways can one hundred be written as a sum of at least two positive integers? ''' def euler076(target, denom...
21.821429
94
0.643208
110
611
3.572727
0.490909
0.040712
0.045802
0.050891
0.086514
0.020356
0.020356
0
0
0
0
0.101952
0.245499
611
27
95
22.62963
0.750542
0.01964
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
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
184657ffcc0deefdb5af244b50c5fa9c219d09ae
1,527
py
Python
tests/python/gaia-ui-tests/gaiatest/tests/unit/test_resources.py
dlxswangli/gaia
686cbb252f1ff4a0c2335dc507b05ded2ae90a0b
[ "Apache-2.0" ]
3
2016-08-17T08:52:51.000Z
2020-03-29T04:56:45.000Z
tests/python/gaia-ui-tests/gaiatest/tests/unit/test_resources.py
dlxswangli/gaia
686cbb252f1ff4a0c2335dc507b05ded2ae90a0b
[ "Apache-2.0" ]
3
2016-09-10T15:41:48.000Z
2016-09-10T15:42:41.000Z
tests/python/gaia-ui-tests/gaiatest/tests/unit/test_resources.py
dlxswangli/gaia
686cbb252f1ff4a0c2335dc507b05ded2ae90a0b
[ "Apache-2.0" ]
3
2019-03-31T04:27:13.000Z
2020-04-12T17:58:15.000Z
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. from gaiatest import GaiaTestCase class TestResources(GaiaTestCase): filename = 'IMG_0001.jpg' remote_path = ...
41.27027
83
0.584152
192
1,527
4.505208
0.369792
0.138728
0.048555
0.072832
0.37341
0.37341
0.180347
0.180347
0.180347
0.076301
0
0.031905
0.281598
1,527
36
84
42.416667
0.756609
0.188605
0
0
0
0
0.164907
0
0
0
0
0
0.041667
0
null
null
0
0.041667
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
184765ed6cdbf3da3d8911eb84abf0e578b1d31a
555
py
Python
src/cita/__init__.py
melonux/cita-sdk-python
55e2fa50321d0caf31085b000933a98679be6982
[ "Apache-2.0" ]
21
2020-04-23T11:29:17.000Z
2021-12-24T08:24:46.000Z
src/cita/__init__.py
melonux/cita-sdk-python
55e2fa50321d0caf31085b000933a98679be6982
[ "Apache-2.0" ]
1
2020-04-15T09:59:22.000Z
2020-04-23T09:09:06.000Z
src/cita/__init__.py
melonux/cita-sdk-python
55e2fa50321d0caf31085b000933a98679be6982
[ "Apache-2.0" ]
5
2020-04-15T02:30:16.000Z
2021-04-08T01:42:07.000Z
from .sdk import CitaClient, ContractClass, ContractProxy from .util import join_param, equal_param, encode_param, decode_param, param_to_bytes, param_to_str, DEFAULT_QUOTA, LATEST_VERSION __version__ = '0.1.0' __author__ = 'Shen Lei' __description__ = 'CITA Python SDK.' __email__ = 'shenlei@funji.club' __url__ = 'htt...
42.692308
130
0.744144
70
555
5.285714
0.528571
0.075676
0.194595
0.102703
0.405405
0.405405
0.405405
0.405405
0.405405
0.405405
0
0.006198
0.127928
555
12
131
46.25
0.758264
0
0
0
0
0
0.376577
0
0
0
0
0
0
1
0
false
0
0.2
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
184a722ca10f29f58c1fe40a650e1a3180f93c36
480
py
Python
setup.py
wibru/osc-bsu-backup
d0079a739a3d51175a91e99a621395427ecb1678
[ "BSD-3-Clause" ]
3
2020-01-03T10:25:55.000Z
2020-09-24T17:46:14.000Z
setup.py
wibru/osc-bsu-backup
d0079a739a3d51175a91e99a621395427ecb1678
[ "BSD-3-Clause" ]
6
2021-11-01T17:19:17.000Z
2022-02-01T14:05:04.000Z
setup.py
wibru/osc-bsu-backup
d0079a739a3d51175a91e99a621395427ecb1678
[ "BSD-3-Clause" ]
3
2020-10-21T14:12:51.000Z
2021-12-17T10:30:14.000Z
# -*- coding:utf-8 -*- from setuptools import find_packages, setup from osc_bsu_backup import __version__ setup( name="osc-bsu-backup", version=__version__, packages=find_packages(), author='Outscale SAS', author_email='remi.jouannet@outscale.com', description="Outscale ", url="http://www.o...
24
71
0.658333
56
480
5.321429
0.607143
0.080537
0.161074
0
0
0
0
0
0
0
0
0.005181
0.195833
480
19
72
25.263158
0.766839
0.041667
0
0
0
0
0.316594
0.106987
0
0
0
0
0
1
0
true
0
0.117647
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
184d5cb4bcd77beabcc9372ddb94d962b26035ea
1,423
py
Python
apps/accounts/urls.py
abdulwaliyahaya/resultLab
08c84d9b8c2bcc2a71e9c0a7766988ada0234be4
[ "MIT" ]
3
2019-03-19T03:49:17.000Z
2021-03-20T10:36:22.000Z
apps/accounts/urls.py
abdulwaliyahaya/resultLab
08c84d9b8c2bcc2a71e9c0a7766988ada0234be4
[ "MIT" ]
null
null
null
apps/accounts/urls.py
abdulwaliyahaya/resultLab
08c84d9b8c2bcc2a71e9c0a7766988ada0234be4
[ "MIT" ]
3
2019-08-10T18:39:59.000Z
2021-01-19T07:30:20.000Z
"""resultlab URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-bas...
45.903226
103
0.733661
191
1,423
5.376963
0.361257
0.058423
0.014606
0.023369
0.113924
0.113924
0.073028
0
0
0
0
0.006467
0.13071
1,423
30
104
47.433333
0.823767
0.439213
0
0
0
0
0.338812
0.132743
0
0
0
0
0
1
0
false
0.230769
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
184ed3cf5ec418239922c2e3939a477a49ea090b
1,350
py
Python
backend/core/deps.py
zy7y/watch-fastapi
f679c6694ac99c77352adee833416321ee3c3a9d
[ "MIT" ]
20
2021-11-08T01:37:00.000Z
2022-03-28T03:03:06.000Z
backend/core/deps.py
ilfish/watch-fastapi
926f3eada2acde40cf0a43d386215a65548666f6
[ "MIT" ]
1
2022-03-26T08:24:26.000Z
2022-03-26T08:26:20.000Z
backend/core/deps.py
ilfish/watch-fastapi
926f3eada2acde40cf0a43d386215a65548666f6
[ "MIT" ]
10
2021-11-07T04:02:12.000Z
2022-03-20T06:28:04.000Z
from fastapi import Depends, HTTPException from fastapi.security import OAuth2PasswordBearer from fastapi import status from jose import jwt, JWTError from fastapi.requests import Request from.config import settings from models import User oauth2_scheme = OAuth2PasswordBearer(tokenUrl="api/v1/login") # oauth2_sche...
31.395349
95
0.702222
152
1,350
6.118421
0.480263
0.047312
0.035484
0.043011
0.066667
0
0
0
0
0
0
0.012322
0.218519
1,350
42
96
32.142857
0.869194
0.127407
0
0.111111
0
0
0.064609
0
0
0
0
0
0
1
0
false
0.074074
0.259259
0
0.296296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
184ef9d1374e5262bdd717f4b5745d41ccb566f3
9,553
py
Python
dss/dss_capi_gr/IMeters.py
dss-extensions/dss_python
f6c4440a14287d06f1bd10180484b349f764ba7e
[ "BSD-3-Clause" ]
24
2019-03-07T20:24:24.000Z
2022-03-23T17:58:00.000Z
dss/dss_capi_gr/IMeters.py
dss-extensions/dss_python
f6c4440a14287d06f1bd10180484b349f764ba7e
[ "BSD-3-Clause" ]
32
2019-02-14T03:46:31.000Z
2022-03-23T00:01:28.000Z
dss/dss_capi_gr/IMeters.py
PMeira/dss_python
2dbc72ed875108d3f98d21cb0a488bab6b0d7f4c
[ "BSD-3-Clause" ]
5
2019-02-19T04:54:49.000Z
2022-03-23T10:40:51.000Z
''' A compatibility layer for DSS C-API that mimics the official OpenDSS COM interface. Copyright (c) 2016-2020 Paulo Meira ''' from __future__ import absolute_import from .._cffi_api_util import Iterable class IMeters(Iterable): __slots__ = [] _columns = [ 'Name', 'Totals', 'Mete...
36.461832
180
0.686067
1,080
9,553
5.891667
0.207407
0.122898
0.151815
0.158416
0.403426
0.370266
0.282414
0.225837
0.191576
0.130599
0
0.00372
0.212185
9,553
261
181
36.601533
0.841749
0.24631
0
0.215909
0
0
0.051832
0
0
0
0
0.003831
0
1
0.261364
false
0
0.011364
0
0.460227
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
184ffc098eab0ee942589a287956c73b2c7dd95d
1,794
py
Python
library/lib_study/171_pythonruntime_gc.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
13
2020-01-04T07:37:38.000Z
2021-08-31T05:19:58.000Z
library/lib_study/171_pythonruntime_gc.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
3
2020-06-05T22:42:53.000Z
2020-08-24T07:18:54.000Z
library/lib_study/171_pythonruntime_gc.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
9
2020-10-19T04:53:06.000Z
2021-08-31T05:20:01.000Z
import gc """ 垃圾回收器把所有对象分类为三代,取决于对象幸存于多少次垃圾回收。 新创建的对象会被放在最年轻代(第 0 代)。 如果一个对象幸存于一次垃圾回收,则该对象会被放入下一代。 第 2 代是最老的一代,因此这一代的对象幸存于垃圾回收后,仍会留在第 2 代。 为了判定何时需要进行垃圾回收,垃圾回收器会跟踪上一次回收后,分配和释放的对象的数目。 当分配对象的数量减去释放对象的数量大于阈值 threshold0 时,回收器开始进行垃圾回收。 起初只有第 0 代会被检查。当上一次第 1 代被检查后,第 0 代被检查的次数多于阈值 threshold1 时,第 1 代也会被检查。 相似的, threshold2 设置了触发...
20.386364
134
0.761427
237
1,794
5.582278
0.476793
0.037037
0.022676
0.024187
0.04384
0.04384
0.04384
0.04384
0
0
0
0.016812
0.104794
1,794
88
135
20.386364
0.806974
0.050167
0
0.296296
0
0
0.059908
0
0
0
0
0
0
1
0.148148
false
0.148148
0.037037
0
0.259259
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1852fd0db03bcd1ce3453514300b7b64f3240dc3
487
py
Python
wiki/urls.py
bibibricodeur/django-bibi
26ccc1e0ced2618dd4028f5849b6ed12ed851644
[ "Unlicense" ]
null
null
null
wiki/urls.py
bibibricodeur/django-bibi
26ccc1e0ced2618dd4028f5849b6ed12ed851644
[ "Unlicense" ]
null
null
null
wiki/urls.py
bibibricodeur/django-bibi
26ccc1e0ced2618dd4028f5849b6ed12ed851644
[ "Unlicense" ]
null
null
null
# https://docs.djangoproject.com/fr/3.1/intro/tutorial01/ from django.urls import path from . import views # https://docs.djangoproject.com/fr/3.1/intro/tutorial04/ from .api import WikiPostApi #app_name = 'blog' urlpatterns = [ path('', views.index, name='wiki-index'), path('list/', views.WikiListView.as_v...
28.647059
81
0.689938
68
487
4.882353
0.470588
0.096386
0.090361
0.126506
0.204819
0.204819
0.204819
0.204819
0
0
0
0.018476
0.110883
487
16
82
30.4375
0.748268
0.262834
0
0
0
0
0.177465
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1858b35f9678d955ceb12d613061e9dd2afcb8cb
3,717
py
Python
retrobiocat_web/retro/evaluation/complexity.py
ihayhurst/RetroBioCat
d674897459c0ab65faad5ed3017c55cf51bcc020
[ "MIT" ]
9
2020-12-01T16:33:02.000Z
2022-01-19T20:02:42.000Z
retrobiocat_web/retro/evaluation/complexity.py
ihayhurst/RetroBioCat
d674897459c0ab65faad5ed3017c55cf51bcc020
[ "MIT" ]
4
2020-10-02T14:38:32.000Z
2021-08-02T09:23:58.000Z
retrobiocat_web/retro/evaluation/complexity.py
ihayhurst/RetroBioCat
d674897459c0ab65faad5ed3017c55cf51bcc020
[ "MIT" ]
6
2021-01-14T07:48:36.000Z
2022-03-20T17:34:27.000Z
from retrobiocat_web.retro.generation.node_analysis import rdkit_smile def add_scscore(graph, substrate_nodes, sc_score_model): for node in list(graph.nodes): if 'complexity' not in graph.nodes[node]['attributes']: if node in substrate_nodes: (smile, score) = sc_score_model.get...
48.272727
126
0.676352
421
3,717
5.674584
0.125891
0.10046
0.093763
0.160737
0.684387
0.513185
0.421934
0.341984
0.268313
0.268313
0
0.002065
0.218456
3,717
77
127
48.272727
0.82031
0.012107
0
0.254237
0
0
0.163716
0.034868
0
0
0
0
0
1
0.101695
false
0
0.016949
0
0.20339
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
185e3d75281432ebed74b7b715b5cb6e672d8844
514
py
Python
extras/pythonlog.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
12
2016-01-14T16:15:56.000Z
2021-08-12T09:31:27.000Z
extras/pythonlog.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
null
null
null
extras/pythonlog.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
3
2017-06-09T21:57:23.000Z
2022-03-13T08:16:11.000Z
""" Redirect Scrapy log messages to standard Python logger imported from http://snipplr.com/view/67000/redirect-scrapy-log-messages-to-standard-python-logger/ # Snippet imported from snippets.scrapy.org (which no longer works) # author: saidimu # date : Jun 14, 2011 """ ## Add the following lines to your Scrapy pro...
27.052632
85
0.774319
73
514
5.452055
0.671233
0.105528
0.085427
0.125628
0.236181
0.236181
0.236181
0.236181
0
0
0
0.024719
0.134241
514
18
86
28.555556
0.869663
0.797665
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1866d807257c87d304e4b4aa216166b90399a7cd
6,742
py
Python
others/test.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
4
2021-03-11T03:05:31.000Z
2022-03-22T08:45:20.000Z
others/test.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
null
null
null
others/test.py
byq-luo/Lane_change_RL
3409238db939e6722441219b4c2dc66033611069
[ "MIT" ]
5
2021-06-18T11:32:34.000Z
2021-12-31T08:10:51.000Z
import sys import os import random from env.LaneChangeEnv import LaneChangeEnv if 'SUMO_HOME' in os.environ: tools = os.path.join(os.environ['SUMO_HOME'], 'tools') sys.path.append(tools) print('success') else: sys.exit("please declare environment variable 'SUMO_HOME'") import traci def normal(env): ...
35.298429
131
0.563038
915
6,742
4.09071
0.178142
0.015496
0.018434
0.019236
0.480363
0.464601
0.41945
0.37697
0.286936
0.212664
0
0.039183
0.280777
6,742
190
132
35.484211
0.732728
0.25749
0
0.32381
0
0.009524
0.09341
0.005758
0
0
0
0.010526
0
1
0.07619
false
0
0.047619
0
0.12381
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
1867ce285896145c000c67b7af410cbac74d09cf
665
py
Python
surface.py
SJSY126/optdesignpy
473abcbfc6f3c6f441448deceaa0f34d93b48b95
[ "BSD-2-Clause" ]
null
null
null
surface.py
SJSY126/optdesignpy
473abcbfc6f3c6f441448deceaa0f34d93b48b95
[ "BSD-2-Clause" ]
null
null
null
surface.py
SJSY126/optdesignpy
473abcbfc6f3c6f441448deceaa0f34d93b48b95
[ "BSD-2-Clause" ]
null
null
null
import glass_db class Surface(): def __init__(self, wavelength_list, number, radius, thickness, glass): self.wavelength_list = wavelength_list self.number = number self.radius = radius self.glass = glass_db.Glass(glass) self.thickness = thickness self.indexlist = { ...
36.944444
93
0.664662
74
665
5.756757
0.256757
0.230047
0.126761
0.112676
0
0
0
0
0
0
0
0.003976
0.243609
665
17
94
39.117647
0.842942
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.285714
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
18686a05b527b2d4637f298e774ff8e237cdf958
360
py
Python
daemons/btc.py
jorgerpo/bitcart
0ab3141e5288c9a4562d86a9b1c861126e2adba3
[ "MIT" ]
1
2019-10-03T16:16:41.000Z
2019-10-03T16:16:41.000Z
daemons/btc.py
jorgerpo/bitcart
0ab3141e5288c9a4562d86a9b1c861126e2adba3
[ "MIT" ]
null
null
null
daemons/btc.py
jorgerpo/bitcart
0ab3141e5288c9a4562d86a9b1c861126e2adba3
[ "MIT" ]
null
null
null
import electrum from aiohttp import web from base import BaseDaemon, rpc class BTCDaemon(BaseDaemon): name = "BTC" electrum = electrum DEFAULT_PORT = 5000 daemon = BTCDaemon() app = web.Application() app.router.add_post("/", daemon.handle_request) app.on_startup.append(daemon.on_startup) web.run_app(a...
18.947368
52
0.747222
50
360
5.26
0.56
0.068441
0
0
0
0
0
0
0
0
0
0.012987
0.144444
360
18
53
20
0.840909
0
0
0
0
0
0.011111
0
0
0
0
0
0
1
0
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
186c303bdeed70f9c61c63ce808bdd89361c5ff2
4,428
py
Python
dquora/qa/migrations/0001_initial.py
adivolclone/Dquora
8e9f910eaab9fd109286572fd65b0918d93f83b9
[ "MIT" ]
2
2021-08-21T11:19:22.000Z
2021-08-21T11:20:36.000Z
dquora/qa/migrations/0001_initial.py
adivolclone/Dquora
8e9f910eaab9fd109286572fd65b0918d93f83b9
[ "MIT" ]
null
null
null
dquora/qa/migrations/0001_initial.py
adivolclone/Dquora
8e9f910eaab9fd109286572fd65b0918d93f83b9
[ "MIT" ]
1
2021-08-21T11:19:24.000Z
2021-08-21T11:19:24.000Z
# Generated by Django 2.1.7 on 2021-08-21 00:25 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import markdownx.models import taggit.managers import uuid class Migration(migrations.Migration): initial = True dependencies = [ ('taggit', '00...
48.130435
163
0.595528
458
4,428
5.539301
0.296943
0.112732
0.053212
0.05203
0.535278
0.476153
0.446985
0.357903
0.32637
0.32637
0
0.010629
0.256323
4,428
91
164
48.659341
0.759794
0.010163
0
0.416667
1
0
0.156814
0.019402
0
0
0
0
0
1
0
false
0
0.071429
0
0.119048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1874118b8c85a1acfa3b433d1b349adbb9290f3f
15,196
py
Python
pypif_sdk/func/tests/test_calculate.py
CitrineInformatics/pypif-sdk
2637b6bf4dec226df41bda640331cad741aa49f4
[ "Apache-2.0" ]
1
2020-05-01T23:57:31.000Z
2020-05-01T23:57:31.000Z
pypif_sdk/func/tests/test_calculate.py
CitrineInformatics/pypif-sdk
2637b6bf4dec226df41bda640331cad741aa49f4
[ "Apache-2.0" ]
8
2017-09-12T20:36:05.000Z
2019-02-27T18:51:43.000Z
pypif_sdk/func/tests/test_calculate.py
CitrineInformatics/pypif-sdk
2637b6bf4dec226df41bda640331cad741aa49f4
[ "Apache-2.0" ]
3
2017-09-12T20:34:31.000Z
2018-05-01T16:34:44.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals from pypif_sdk.func import * from pypif_sdk.func.calculate_funcs import _expand_formula_, _expand_hydrate_, _create_compositional_array_, _consolidate_elemental_array_, _calculate_n_atoms_, _add_ideal_atomic_weights_, _add_ideal_weigh...
44.56305
311
0.666557
1,906
15,196
5.077125
0.113851
0.07275
0.092591
0.027901
0.744652
0.70125
0.578175
0.512452
0.492301
0.348455
0
0.058024
0.176625
15,196
340
312
44.694118
0.715153
0.074362
0
0.352941
0
0
0.139441
0.009867
0
0
0
0
0.338235
1
0.044118
false
0
0.018382
0
0.0625
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1876175aa19c45055edd7c15196245f8160a8768
683
py
Python
discord_ritoman/lol/stats/__init__.py
stephend017/Discord-RitoMan
18bea140af8a552e1cc12557977f73b2434218e4
[ "MIT" ]
null
null
null
discord_ritoman/lol/stats/__init__.py
stephend017/Discord-RitoMan
18bea140af8a552e1cc12557977f73b2434218e4
[ "MIT" ]
26
2020-11-18T05:09:34.000Z
2022-01-05T19:09:30.000Z
discord_ritoman/lol/stats/__init__.py
stephend017/Discord-RitoMan
18bea140af8a552e1cc12557977f73b2434218e4
[ "MIT" ]
1
2020-11-28T02:47:29.000Z
2020-11-28T02:47:29.000Z
from discord_ritoman.lol.stats.match_stat import LoLMatchStat from pkgutil import iter_modules from pathlib import Path from importlib import import_module __all__ = [] # iterate through the modules in the current package package_dir = str(Path(__file__).resolve().parent) for (_, module_name, _) in iter_modules([pack...
34.15
61
0.740849
89
683
5.337079
0.505618
0.063158
0
0
0
0
0
0
0
0
0
0
0.183016
683
19
62
35.947368
0.851254
0.212299
0
0
0
0
0.044944
0.044944
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1879beb733eed5a93d4f946c5ad6411d8a5dc8aa
3,005
py
Python
CSVtoLIST_def.py
subashgandyer/Anti-mirror-Apriori
2d772bb1c49670b8d6f9f63f6de5c2df2b854a9d
[ "Apache-2.0" ]
null
null
null
CSVtoLIST_def.py
subashgandyer/Anti-mirror-Apriori
2d772bb1c49670b8d6f9f63f6de5c2df2b854a9d
[ "Apache-2.0" ]
null
null
null
CSVtoLIST_def.py
subashgandyer/Anti-mirror-Apriori
2d772bb1c49670b8d6f9f63f6de5c2df2b854a9d
[ "Apache-2.0" ]
1
2021-01-13T06:01:24.000Z
2021-01-13T06:01:24.000Z
import csv import itertools n_itemlist = [] a = [] result = [] Mapper_list =[] Transaction_list = [] ReverseList = [] test_dict = {} #filename = "groceries_verysmall.csv" #class CSVtoLIST: def readCSV(filename): reader = csv.reader(open(filename, "rb"), dialect="excel") count = 0 for row in reader: n_itemlis...
21.775362
83
0.683527
456
3,005
4.359649
0.219298
0.072435
0.035211
0.022133
0.155936
0.103622
0.05332
0
0
0
0
0.00895
0.18203
3,005
137
84
21.934307
0.799837
0.239933
0
0.027027
0
0
0.071683
0
0
0
0
0
0
0
null
null
0
0.040541
null
null
0.121622
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1879d6e3ddbbfdf0b9088e5f0834a8ec85ef7a44
4,465
py
Python
maze/maze.py
cynrd/blog
cca0d490218b1418296dc98a70ba5efa1bd658a2
[ "MIT" ]
3
2018-12-10T10:00:46.000Z
2021-12-31T16:53:09.000Z
maze/maze.py
cynrd/blog
cca0d490218b1418296dc98a70ba5efa1bd658a2
[ "MIT" ]
null
null
null
maze/maze.py
cynrd/blog
cca0d490218b1418296dc98a70ba5efa1bd658a2
[ "MIT" ]
null
null
null
from pygame.locals import * import pygame BLACK = Color(0, 0, 0) YELLOW = Color(255, 255, 0) FPS = 30 POS_CHANGE = 3 class Up: def update_axis(self, obj): obj.y -= 1 def update_pos(self, obj): obj.robot_y -= POS_CHANGE def keep_moving(self, obj): return obj.robot_y > obj.window....
30.168919
136
0.625532
647
4,465
4.095827
0.14374
0.040755
0.060377
0.072453
0.528679
0.450566
0.398491
0.398491
0.360755
0.360755
0
0.016129
0.250168
4,465
147
137
30.37415
0.775388
0
0
0.178571
0
0
0.006719
0
0
0
0
0
0
1
0.258929
false
0.008929
0.017857
0.089286
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
0
0
0
0
0
0
1
1880c7ef525dfeb2eeff9c3e9ebcd554a7d7f6c4
704
py
Python
4sum/4sum.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
1
2021-10-10T20:21:18.000Z
2021-10-10T20:21:18.000Z
4sum/4sum.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
null
null
null
4sum/4sum.py
Atri10/Leet-code---Atri_Patel
49fc59b9147a44ab04a66128fbb2ef259b5f7b7c
[ "MIT" ]
null
null
null
class Solution: def fourSum(self, nums: List[int], target: int) -> List[List[int]]: ans = [] nums.sort() for i in range(0,len(nums)-3): for j in range(i+1,len(nums)-2): l = j+1 r = len(nums) - 1 while l < r...
35.2
71
0.355114
91
704
2.747253
0.340659
0.084
0.108
0.12
0.288
0.288
0.288
0.288
0.208
0
0
0.028653
0.504261
704
20
72
35.2
0.687679
0
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
43e5fb470fd74c7c3c924be86303cd5f5dd1c008
2,041
py
Python
ua_eds_api/ua_eds_api.py
UACoreFacilitiesIT/UA-EDS-API
487ee24e9dea21e2d9dda6b4d72348c5910b4471
[ "MIT" ]
null
null
null
ua_eds_api/ua_eds_api.py
UACoreFacilitiesIT/UA-EDS-API
487ee24e9dea21e2d9dda6b4d72348c5910b4471
[ "MIT" ]
null
null
null
ua_eds_api/ua_eds_api.py
UACoreFacilitiesIT/UA-EDS-API
487ee24e9dea21e2d9dda6b4d72348c5910b4471
[ "MIT" ]
null
null
null
import requests from requests.auth import HTTPBasicAuth import json from bs4 import BeautifulSoup class EdsApi(): def __init__(self, host, username, password, grouper): self.host = host self.username = username self.password = password self.grouper = grouper def get_user(self,...
31.890625
78
0.574228
228
2,041
5.074561
0.364035
0.020743
0.051858
0.034572
0.150389
0.108902
0.108902
0.108902
0.108902
0.108902
0
0.002216
0.3366
2,041
63
79
32.396825
0.85229
0.264086
0
0.171429
0
0
0.083516
0.055678
0
0
0
0
0
1
0.085714
false
0.114286
0.114286
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
43e6b3452c091a420af3fe34de5b2b8618a7e811
1,267
py
Python
app/__init__.py
ExiaSR/server
f29ce921681d8b70f9e2541f7e251deb894bea29
[ "Apache-2.0" ]
3
2017-02-22T21:15:27.000Z
2017-08-07T17:30:21.000Z
app/__init__.py
ExiaSR/server
f29ce921681d8b70f9e2541f7e251deb894bea29
[ "Apache-2.0" ]
4
2017-02-24T00:47:02.000Z
2017-03-20T08:51:02.000Z
app/__init__.py
TeamGhostBuster/restful-api
f29ce921681d8b70f9e2541f7e251deb894bea29
[ "Apache-2.0" ]
1
2017-01-27T16:22:46.000Z
2017-01-27T16:22:46.000Z
import os from logging import Formatter from logging.handlers import RotatingFileHandler from elasticsearch import Elasticsearch from flask import Flask from flask_mongoengine import MongoEngine from flask_cors import CORS, cross_origin config = { 'prod': 'app.config.ProductionConfig', 'deploy': 'app.config....
26.395833
88
0.765588
156
1,267
6.089744
0.474359
0.066316
0.044211
0
0
0
0
0
0
0
0
0.005455
0.131807
1,267
47
89
26.957447
0.858182
0.360695
0
0
0
0
0.287327
0.186951
0
0
0
0
0
1
0
false
0
0.32
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
43e87457f21c75c2a56d608af714120ec1fa10d9
360
py
Python
goodreads_api_client/resources/recommendation.py
fossabot/goodreads-api-client-python
d58424aea92e808e8e9c6bbf6ecc42f084a6c642
[ "MIT" ]
63
2017-12-03T02:54:05.000Z
2022-02-01T23:28:32.000Z
goodreads_api_client/resources/recommendation.py
fossabot/goodreads-api-client-python
d58424aea92e808e8e9c6bbf6ecc42f084a6c642
[ "MIT" ]
13
2017-08-13T17:28:06.000Z
2019-06-08T05:49:11.000Z
goodreads_api_client/resources/recommendation.py
fossabot/goodreads-api-client-python
d58424aea92e808e8e9c6bbf6ecc42f084a6c642
[ "MIT" ]
15
2017-12-09T00:56:05.000Z
2021-01-26T22:42:09.000Z
# -*- coding: utf-8 -*- """Module containing recommendation resource class.""" from goodreads_api_client.resources.base import Resource class Recommendation(Resource): def show(self, id_: str): endpoint = 'recommendations/{}'.format(id_) res = self._transport.req(endpoint=endpoint, uses_oauth=Tru...
30
69
0.702778
40
360
6.175
0.75
0.178138
0
0
0
0
0
0
0
0
0
0.003333
0.166667
360
11
70
32.727273
0.82
0.197222
0
0
0
0
0.113074
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
43e88279a40073e441eec131f690302e78155593
9,301
py
Python
chisel_nbdev/showdoc.py
ucsc-vama/chisel_nbdev
7fb7c80ac3777cdd3fab64538d5f8908f2e83c05
[ "Apache-2.0" ]
null
null
null
chisel_nbdev/showdoc.py
ucsc-vama/chisel_nbdev
7fb7c80ac3777cdd3fab64538d5f8908f2e83c05
[ "Apache-2.0" ]
null
null
null
chisel_nbdev/showdoc.py
ucsc-vama/chisel_nbdev
7fb7c80ac3777cdd3fab64538d5f8908f2e83c05
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/02_show_scaladoc.ipynb (unless otherwise specified). __all__ = ['is_enum', 're_digits_first', 'is_doc_name', 'doc_link', 'add_doc_links', 'colab_link', 'get_nb_source_link', 'nb_source_link', 'format_all_params', 'wrap_params', 'show_doc', 'md2html', 'get_doc_...
34.576208
145
0.62832
1,387
9,301
4.040375
0.21341
0.022484
0.012848
0.00803
0.145253
0.09975
0.063883
0.056745
0.044254
0.044254
0
0.004393
0.216858
9,301
269
146
34.576208
0.764964
0.13934
0
0.079602
1
0.024876
0.313493
0.0507
0
0
0
0
0
1
0.099502
false
0.004975
0.059701
0.004975
0.258706
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
43f051f6e614b03723f07011dd2e69dbee5bf8d1
1,535
py
Python
data_process.py
aome510/Generating-Anime-Music
28d70262700c0aeb4b9cb8b8e78f7df9b75cde1c
[ "MIT" ]
3
2020-09-09T08:20:35.000Z
2021-03-25T14:22:35.000Z
data_process.py
aome510/Generating-Anime-Music
28d70262700c0aeb4b9cb8b8e78f7df9b75cde1c
[ "MIT" ]
5
2020-04-23T21:52:05.000Z
2022-02-10T01:45:10.000Z
data_process.py
aome510/Generating-Anime-Music
28d70262700c0aeb4b9cb8b8e78f7df9b75cde1c
[ "MIT" ]
null
null
null
from music21 import converter, instrument, note, chord import glob import pickle import os # implementation based on https://towardsdatascience.com/how-to-generate-music-using-a-lstm-neural-network-in-keras-68786834d4c5 def get_songs(): songs = [] for file in glob.glob("data/*.mid"): print("Parsing"...
28.425926
128
0.583062
184
1,535
4.755435
0.440217
0.032
0.054857
0
0
0
0
0
0
0
0
0.016575
0.292508
1,535
53
129
28.962264
0.789134
0.129642
0
0
1
0
0.075883
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.194444
0.138889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
43f67a803a69d1b01cb5f74aa25f07953bb3321e
186
py
Python
python_exercises_folder/Exercises/manipulando_arquivos.py
Kaique425/python_exercises
c203384d372d9ef7193300d6ce35857879d91839
[ "MIT" ]
null
null
null
python_exercises_folder/Exercises/manipulando_arquivos.py
Kaique425/python_exercises
c203384d372d9ef7193300d6ce35857879d91839
[ "MIT" ]
null
null
null
python_exercises_folder/Exercises/manipulando_arquivos.py
Kaique425/python_exercises
c203384d372d9ef7193300d6ce35857879d91839
[ "MIT" ]
null
null
null
file = open('Teste.txt', 'w+') file.write('Teste 1 2 3 4 5') file.seek(0, 0) print(file.read()) file.close() with open('Teste2.txt', 'a+') as file: file.write('Teste 5 4 3 2 1')
15.5
38
0.596774
37
186
3
0.540541
0.162162
0.252252
0
0
0
0
0
0
0
0
0.084967
0.177419
186
11
39
16.909091
0.640523
0
0
0
0
0
0.284946
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
43fa155a40f41a597f9219aeefc777b3786e60ec
627
py
Python
prob007/prob7-1.py
maccergit/python-talk
eed4b8418909aa0fdc2b19ea4e78c06bf7cc42c0
[ "MIT" ]
null
null
null
prob007/prob7-1.py
maccergit/python-talk
eed4b8418909aa0fdc2b19ea4e78c06bf7cc42c0
[ "MIT" ]
null
null
null
prob007/prob7-1.py
maccergit/python-talk
eed4b8418909aa0fdc2b19ea4e78c06bf7cc42c0
[ "MIT" ]
null
null
null
''' By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the 10 001st prime number? ''' from sympy import prime def main_body(limit): return prime(limit) def time_test(limit, count = 1000): import timeit return str(timeit.timeit(stmt = ...
26.125
150
0.639553
93
627
4.107527
0.537634
0.104712
0.068063
0
0
0
0
0
0
0
0
0.087049
0.248804
627
24
151
26.125
0.723992
0
0
0
0
0
0.107438
0
0
0
0
0
0.153846
0
null
null
0
0.230769
null
null
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
43fd28cbdbff3d02870b13dfb1c95b4f5bb78fdb
170
py
Python
variables.py
takenX10/TGSender-girlfriend-present
a20aa577d65bf7150180ed5d96e588cd8fcf6777
[ "MIT" ]
null
null
null
variables.py
takenX10/TGSender-girlfriend-present
a20aa577d65bf7150180ed5d96e588cd8fcf6777
[ "MIT" ]
null
null
null
variables.py
takenX10/TGSender-girlfriend-present
a20aa577d65bf7150180ed5d96e588cd8fcf6777
[ "MIT" ]
null
null
null
api_token = "" # the chat where you want to send your photos chat_id = "" # The first day the bot is going to start send photos # Format: YYYY:MM:DD starting_date = ""
18.888889
53
0.7
30
170
3.866667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.211765
170
9
54
18.888889
0.865672
0.670588
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1023cba4c060f770ab8886a4fa50c2d19579c16
447
py
Python
covidxpert/blur_bbox/get_kernel_size.py
LucaCappelletti94/covidxpert
8adda25f3d6fb648607c0f8af7d3ff54b42c59fb
[ "MIT" ]
2
2020-05-22T12:50:11.000Z
2021-03-12T01:00:17.000Z
covidxpert/blur_bbox/get_kernel_size.py
LucaCappelletti94/covidxpert
8adda25f3d6fb648607c0f8af7d3ff54b42c59fb
[ "MIT" ]
6
2020-05-27T19:03:15.000Z
2021-03-02T11:12:06.000Z
covidxpert/blur_bbox/get_kernel_size.py
LucaCappelletti94/covidxpert
8adda25f3d6fb648607c0f8af7d3ff54b42c59fb
[ "MIT" ]
1
2020-05-27T07:21:02.000Z
2020-05-27T07:21:02.000Z
import numpy as np def get_kernel_size(image: np.ndarray) -> int: """Return the kernel size based on the image size. Parameters ------------------ image: np.ndarray, The image for which to obtain the kernel. Returns ------------------ The kernel size for the image. """ ke...
20.318182
54
0.57047
60
447
4.15
0.483333
0.281125
0.11245
0
0
0
0
0
0
0
0
0.015337
0.270694
447
21
55
21.285714
0.748466
0.451902
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a10264d72491f92702c53fc1047e887d27c58794
3,953
py
Python
project/bbmdweb/views.py
kanshao/bbmd_web_ehp
7612bf86003917bbaa9670d09f4745273f4c0c9b
[ "Apache-2.0" ]
null
null
null
project/bbmdweb/views.py
kanshao/bbmd_web_ehp
7612bf86003917bbaa9670d09f4745273f4c0c9b
[ "Apache-2.0" ]
null
null
null
project/bbmdweb/views.py
kanshao/bbmd_web_ehp
7612bf86003917bbaa9670d09f4745273f4c0c9b
[ "Apache-2.0" ]
null
null
null
import logging from django.contrib.auth.decorators import login_required from django.contrib.auth import authenticate, login from django.conf import settings from django.core.urlresolvers import reverse_lazy from django.http import HttpResponseRedirect from django.utils.decorators import method_decorator from django.vi...
30.882813
78
0.665823
444
3,953
5.774775
0.277027
0.039002
0.043682
0.026521
0.158736
0.149376
0.092824
0.060842
0
0
0
0
0.235011
3,953
127
79
31.125984
0.847884
0
0
0.173469
0
0
0.044523
0.005818
0
0
0
0
0
1
0.112245
false
0.010204
0.132653
0.020408
0.581633
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a103a2946e967a43f657d7d9eaadeee295562131
506
py
Python
src/sentry/integrations/bitbucket/urls.py
hieast/sentry
1179b6b13e86f552d18da0578d7b3bc5d002c0d9
[ "BSD-3-Clause" ]
1
2019-05-28T06:18:03.000Z
2019-05-28T06:18:03.000Z
src/sentry/integrations/bitbucket/urls.py
c88888/sentry
53837d9e8dad2443c3881fcd05f1b261bdd922fd
[ "BSD-3-Clause" ]
6
2018-10-19T10:04:23.000Z
2019-12-09T20:29:12.000Z
src/sentry/integrations/bitbucket/urls.py
c88888/sentry
53837d9e8dad2443c3881fcd05f1b261bdd922fd
[ "BSD-3-Clause" ]
1
2020-07-03T00:52:19.000Z
2020-07-03T00:52:19.000Z
from __future__ import absolute_import from django.conf.urls import patterns, url from .descriptor import BitbucketDescriptorEndpoint from .installed import BitbucketInstalledEndpoint from .webhook import BitbucketWebhookEndpoint urlpatterns = patterns( '', url(r'^descriptor/$', BitbucketDescriptorEndpoint.as...
33.733333
65
0.764822
48
506
7.875
0.479167
0.031746
0.047619
0.05291
0
0
0
0
0
0
0
0
0.114625
506
14
66
36.142857
0.84375
0
0
0
0
0
0.152174
0.102767
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a1104fea2c2bdff5ce0da9958471631812efacb9
502
py
Python
work/jobs/migrations/0014_auto_20200416_1503.py
ralphleyga/django-jobportal
f7253c33d0c77f7f4fb19e477bcc012ea83dbcf5
[ "MIT" ]
3
2020-04-24T02:39:11.000Z
2020-12-11T10:20:37.000Z
work/jobs/migrations/0014_auto_20200416_1503.py
ralphleyga/django-jobportal
f7253c33d0c77f7f4fb19e477bcc012ea83dbcf5
[ "MIT" ]
3
2021-06-08T21:22:14.000Z
2022-03-12T00:25:44.000Z
work/jobs/migrations/0014_auto_20200416_1503.py
ralphleyga/django-jobportal
f7253c33d0c77f7f4fb19e477bcc012ea83dbcf5
[ "MIT" ]
1
2020-12-11T10:20:39.000Z
2020-12-11T10:20:39.000Z
# Generated by Django 3.0.5 on 2020-04-16 15:03 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobs', '0013_auto_20200415_0345'), ] operations = [ migrations.AlterField( model_name='applicant', name='applicant_s...
26.421053
156
0.605578
52
502
5.730769
0.788462
0.087248
0
0
0
0
0
0
0
0
0
0.086162
0.237052
502
18
157
27.888889
0.691906
0.089641
0
0
1
0
0.237363
0.050549
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a11f45b08411b75efe3cfa35d5088d6dc9ec0f94
3,258
py
Python
store_backend/plugins/fields.py
Aaishpra/ChRIS_store
ecd1387c383fd8e082a5e1faa881c81563ebfc52
[ "MIT" ]
null
null
null
store_backend/plugins/fields.py
Aaishpra/ChRIS_store
ecd1387c383fd8e082a5e1faa881c81563ebfc52
[ "MIT" ]
null
null
null
store_backend/plugins/fields.py
Aaishpra/ChRIS_store
ecd1387c383fd8e082a5e1faa881c81563ebfc52
[ "MIT" ]
1
2021-10-11T23:01:08.000Z
2021-10-11T23:01:08.000Z
from django.db import models from django.core.exceptions import ValidationError class MemoryInt(int): def __new__(cls, memory_str, *args, **kwargs): """ Convert memory_str in format of "xMi" or "xGi" to integer in MiB. Example: memory_str_to_int("128Mi") -> 128 memory_str...
33.244898
103
0.592695
392
3,258
4.711735
0.227041
0.043855
0.019491
0.049811
0.646454
0.646454
0.563075
0.464537
0.402815
0.402815
0
0.013778
0.309392
3,258
98
104
33.244898
0.807111
0.178637
0
0.5
0
0
0.121141
0
0
0
0
0
0.09375
1
0.15625
false
0
0.03125
0.0625
0.53125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a1241bf2250507ead39979115ab1f4448f3ee28f
1,190
py
Python
subtitle_cleaner.py
shirish93/CoLing
27cdad80d08ac589499f1e171b4f71c8f26fe362
[ "MIT" ]
null
null
null
subtitle_cleaner.py
shirish93/CoLing
27cdad80d08ac589499f1e171b4f71c8f26fe362
[ "MIT" ]
null
null
null
subtitle_cleaner.py
shirish93/CoLing
27cdad80d08ac589499f1e171b4f71c8f26fe362
[ "MIT" ]
null
null
null
#code to clean up srt files, and give you raw text. WARNING: makes heavy use of regex!!! def change_str(inp): '''Given an srt file text, extracts just the raw text.''' #input: str. Output: str changes = [('[0-9]+\n[0-9:,]+ --> [0-9:,]+\n', ''), ('\n\n', ' '), ('<font color="#[A-Z0-9a-z]*">', ''), ('<[...
29.75
88
0.62605
186
1,190
3.892473
0.5
0.044199
0.008287
0
0
0
0
0
0
0
0
0.01147
0.194118
1,190
39
89
30.512821
0.743483
0.092437
0
0
0
0
0.140288
0.026379
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
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a125d9d36d4c17fa77cc9ffb6ac1ba590a3ce963
4,793
py
Python
tools/makeplugin.py
AquariusCoder/xtpuiplugin
2bf96be14c0ea311cfea9af3ae623941a4d76e23
[ "ECL-2.0", "Apache-2.0" ]
1
2017-02-16T23:46:11.000Z
2017-02-16T23:46:11.000Z
tools/makeplugin.py
AquariusCoder/xtpuiplugin
2bf96be14c0ea311cfea9af3ae623941a4d76e23
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
tools/makeplugin.py
AquariusCoder/xtpuiplugin
2bf96be14c0ea311cfea9af3ae623941a4d76e23
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Copyright 2015 flw_dream@126.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless ...
44.37963
190
0.625078
624
4,793
4.663462
0.254808
0.079381
0.057732
0.052921
0.477663
0.438144
0.398969
0.393814
0.362543
0.362543
0
0.00559
0.253495
4,793
107
191
44.794393
0.807714
0.008763
0
0.125
0
0
0.088546
0.018396
0
0
0
0
0
0
null
null
0
0.013889
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a129126eb39a463b90f99f4ad7d31fde0323cab2
551
py
Python
source/2018/day_02/Python/main.py
Belz/advent-of-code
1e6daa7cf9c927161c7c265220d914f7a36b3ead
[ "MIT" ]
null
null
null
source/2018/day_02/Python/main.py
Belz/advent-of-code
1e6daa7cf9c927161c7c265220d914f7a36b3ead
[ "MIT" ]
null
null
null
source/2018/day_02/Python/main.py
Belz/advent-of-code
1e6daa7cf9c927161c7c265220d914f7a36b3ead
[ "MIT" ]
null
null
null
import puzzle_1 import puzzle_2 # Read lines from input file and assign them to a list called input with open("../input.txt", "r") as information: input = information.readlines() # Declares variables for each of the puzzles solutions and assigns respective functions to it # (See puzzle_1 and puzzle_2 python file...
36.733333
94
0.76951
82
551
5.04878
0.585366
0.067633
0
0
0
0
0
0
0
0
0
0.025641
0.150635
551
15
95
36.733333
0.858974
0.602541
0
0
0
0
0.150235
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a12b61b633cdd6cb67a9f7426eb067a5199de337
2,027
py
Python
laia/utils/image_to_tensor.py
basbeu/PyLaia
d14458484b56622204b1730a7d53220c5d0f1bc1
[ "MIT" ]
2
2020-09-10T13:31:17.000Z
2021-07-31T09:44:17.000Z
laia/utils/image_to_tensor.py
basbeu/PyLaia
d14458484b56622204b1730a7d53220c5d0f1bc1
[ "MIT" ]
1
2020-12-06T18:11:52.000Z
2020-12-06T18:19:38.000Z
laia/utils/image_to_tensor.py
basbeu/PyLaia
d14458484b56622204b1730a7d53220c5d0f1bc1
[ "MIT" ]
2
2020-04-20T13:40:56.000Z
2020-10-17T11:59:55.000Z
from __future__ import division import numpy as np import torch from PIL import Image, ImageOps # TODO: Deprecate this class in favor of laia.data.transforms class ImageToTensor(object): def __init__( self, invert=True, mode="L", fixed_height=None, fixed_width=None, ...
33.783333
73
0.555501
300
2,027
3.553333
0.286667
0.033771
0.045028
0.026266
0.028143
0.028143
0
0
0
0
0
0.013575
0.345831
2,027
59
74
34.355932
0.790347
0.085841
0
0.04
0
0
0.005411
0
0
0
0
0.016949
0.12
1
0.04
false
0
0.08
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a1321a1208d9b6d97097c2022eefd85a6701d644
2,766
py
Python
private/scripts/google_index/add_to_google.py
MipsaPatel/stopstalk-deployment
bc0332fe120c30385bdbfac426aabe97f783b3a6
[ "MIT" ]
null
null
null
private/scripts/google_index/add_to_google.py
MipsaPatel/stopstalk-deployment
bc0332fe120c30385bdbfac426aabe97f783b3a6
[ "MIT" ]
null
null
null
private/scripts/google_index/add_to_google.py
MipsaPatel/stopstalk-deployment
bc0332fe120c30385bdbfac426aabe97f783b3a6
[ "MIT" ]
1
2020-09-23T03:09:24.000Z
2020-09-23T03:09:24.000Z
""" Copyright (c) 2015-2020 Raj Patel(raj454raj@gmail.com), StopStalk 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 ...
44.612903
116
0.740781
388
2,766
5.164948
0.5
0.043912
0.03493
0.033932
0.078842
0.078842
0.051896
0
0
0
0
0.011765
0.170282
2,766
61
117
45.344262
0.861438
0.093637
0
0
0
0
0.235645
0.119314
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a133aa60ee3ff0aceb425ad833e94101acf89565
3,088
py
Python
class24.py
itsforbasu/Python_class_files
05890fddb7287e8b558dc4931fa725367dbf9ad5
[ "MIT" ]
1
2019-03-04T08:50:53.000Z
2019-03-04T08:50:53.000Z
class24.py
itsforbasu/Python_class_files
05890fddb7287e8b558dc4931fa725367dbf9ad5
[ "MIT" ]
null
null
null
class24.py
itsforbasu/Python_class_files
05890fddb7287e8b558dc4931fa725367dbf9ad5
[ "MIT" ]
2
2018-10-17T15:10:24.000Z
2020-06-27T04:00:02.000Z
#static or class variables as global scope class TempConverter: # for global nature we have created static variable globalStatic = 5 def __init__(self): self.check = TempConverter.globalStatic #temperature converter methods @staticmethod def farehToCel(fahren=0): return 5/9*(f...
21.900709
98
0.610427
414
3,088
4.415459
0.285024
0.035011
0.039387
0.04267
0.262582
0.200766
0.114333
0.09628
0.09628
0.09628
0
0.032173
0.26522
3,088
141
99
21.900709
0.773468
0.484456
0
0.156863
0
0
0.074607
0
0
0
0
0
0
1
0.215686
false
0
0
0.039216
0.45098
0.137255
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a133d2235a39c9071a63fa2a6e606b47f2c910ab
896
py
Python
Code/odooerp/odoo-8.0/adding/purchase_order/__openerp__.py
zhupangithub/WEBERP
714512082ec5c6db07cbf6af0238ceefe2d2c1a5
[ "MIT" ]
null
null
null
Code/odooerp/odoo-8.0/adding/purchase_order/__openerp__.py
zhupangithub/WEBERP
714512082ec5c6db07cbf6af0238ceefe2d2c1a5
[ "MIT" ]
null
null
null
Code/odooerp/odoo-8.0/adding/purchase_order/__openerp__.py
zhupangithub/WEBERP
714512082ec5c6db07cbf6af0238ceefe2d2c1a5
[ "MIT" ]
3
2020-10-08T14:42:10.000Z
2022-01-28T14:12:29.000Z
# -*- coding: utf-8 -*- ############################################################################## # OpenERP Connector # Copyright 2013 Amos <sale@100china.cn> ############################################################################## { 'name': '功能优化', # 模块名称 'summary': '功能二次优化', # 摘要 'version': ...
25.6
78
0.450893
76
896
5.289474
0.921053
0
0
0
0
0
0
0
0
0
0
0.022973
0.174107
896
34
79
26.352941
0.52027
0.252232
0
0
0
0
0.527273
0.151515
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
a13482aa428f4c38a8fe44fbee275372bb7b6031
5,804
py
Python
fhir/resources/tests/test_practitionerrole.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/tests/test_practitionerrole.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
fhir/resources/tests/test_practitionerrole.py
mmabey/fhir.resources
cc73718e9762c04726cd7de240c8f2dd5313cbe1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/PractitionerRole Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ import io import json import os import unittest import pytest from .. import practitionerrole from ..fhirdate import FHIRDate f...
42.364964
106
0.645072
667
5,804
5.515742
0.250375
0.138625
0.135907
0.169883
0.568089
0.47078
0.409894
0.283229
0.192715
0.107094
0
0.050594
0.216747
5,804
136
107
42.676471
0.758689
0.031013
0
0.2
0
0
0.133369
0.013355
0
0
0
0
0.375
1
0.025
false
0
0.066667
0
0.108333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a135ef97e81c600534df7b87c72d9eda3afa6d7b
3,208
py
Python
custom/m4change/user_calcs/ld_hmis_report_calcs.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2020-05-05T13:10:01.000Z
2020-05-05T13:10:01.000Z
custom/m4change/user_calcs/ld_hmis_report_calcs.py
kkrampa/commcare-hq
d64d7cad98b240325ad669ccc7effb07721b4d44
[ "BSD-3-Clause" ]
1
2019-12-09T14:00:14.000Z
2019-12-09T14:00:14.000Z
custom/m4change/user_calcs/ld_hmis_report_calcs.py
MaciejChoromanski/commcare-hq
fd7f65362d56d73b75a2c20d2afeabbc70876867
[ "BSD-3-Clause" ]
5
2015-11-30T13:12:45.000Z
2019-07-01T19:27:07.000Z
from __future__ import absolute_import from __future__ import unicode_literals import fluff from custom.m4change.constants import BOOKED_AND_UNBOOKED_DELIVERY_FORMS from custom.m4change.user_calcs import get_date_delivery, get_received_on, form_passes_filter_date_delivery, \ string_to_numeric from operator import e...
46.492754
131
0.677993
395
3,208
5.15443
0.187342
0.075639
0.058939
0.062868
0.680255
0.605599
0.583988
0.552554
0.515226
0.515226
0
0.004103
0.240337
3,208
68
132
47.176471
0.83135
0
0
0.473684
0
0
0.01808
0
0
0
0
0
0
1
0.087719
false
0.192982
0.105263
0
0.245614
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a13c6b66f62a56d03b860ae7570077ff751cf7d0
3,687
py
Python
clusterconfig.py
sandeep-car/perfmon
93d8ae7e005f517301796ba3260b3dceeabd44d8
[ "BSD-3-Clause" ]
null
null
null
clusterconfig.py
sandeep-car/perfmon
93d8ae7e005f517301796ba3260b3dceeabd44d8
[ "BSD-3-Clause" ]
null
null
null
clusterconfig.py
sandeep-car/perfmon
93d8ae7e005f517301796ba3260b3dceeabd44d8
[ "BSD-3-Clause" ]
null
null
null
# DISCLAIMER: This script is not supported by Nutanix. Please contact # Sandeep Cariapa (lastname@gmail.com) if you have any questions. import json import time import requests from urllib.parse import quote from requests.packages.urllib3.exceptions import InsecureRequestWarning # Time period is one hour (3600 seconds)....
42.872093
209
0.683754
469
3,687
5.200426
0.379531
0.063141
0.041
0.0492
0.291513
0.254613
0.205412
0.205412
0.137351
0.137351
0
0.046536
0.213181
3,687
85
210
43.376471
0.794209
0.302685
0
0.096154
0
0
0.135241
0.009408
0
0
0
0
0
1
0.096154
false
0.115385
0.096154
0
0.307692
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a13fdd18f69cc0461f2a7d119b1ecf0140aeef50
6,751
py
Python
VideoStitcher/pipeline/clip_combiner_pipeline.py
Bricktheworld/rhombus-api-examples-python
b4778c3a635786070ee10a3131b1a1f7f6ebac36
[ "MIT" ]
null
null
null
VideoStitcher/pipeline/clip_combiner_pipeline.py
Bricktheworld/rhombus-api-examples-python
b4778c3a635786070ee10a3131b1a1f7f6ebac36
[ "MIT" ]
20
2021-06-08T22:29:20.000Z
2022-01-15T19:51:46.000Z
VideoStitcher/pipeline/clip_combiner_pipeline.py
Bricktheworld/rhombus-api-examples-python
b4778c3a635786070ee10a3131b1a1f7f6ebac36
[ "MIT" ]
9
2021-06-08T22:15:35.000Z
2022-03-03T05:19:58.000Z
################################################################################### # Copyright (c) 2021 Rhombus Systems # # # # Permission is hereby granted, free of charge, to any person obtai...
58.704348
224
0.675307
930
6,751
4.813978
0.303226
0.013402
0.016082
0.017869
0.282109
0.271387
0.247934
0.247934
0.223364
0.223364
0
0.009119
0.236558
6,751
114
225
59.219298
0.859527
0.58895
0
0
0
0
0.068896
0
0
0
0
0
0
1
0.060606
false
0
0.363636
0
0.484848
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a14030e00a96d73da5453d148aeb18a3e08f6445
18,730
py
Python
ci/steps.py
akutz/gardenlinux
2d2923c2f184062425c0e91663bd8c7389d280a9
[ "MIT" ]
null
null
null
ci/steps.py
akutz/gardenlinux
2d2923c2f184062425c0e91663bd8c7389d280a9
[ "MIT" ]
null
null
null
ci/steps.py
akutz/gardenlinux
2d2923c2f184062425c0e91663bd8c7389d280a9
[ "MIT" ]
null
null
null
import enum import os import typing import tkn.model IMAGE_VERSION = '1.1381.0' DEFAULT_IMAGE = f'eu.gcr.io/gardener-project/cc/job-image:{IMAGE_VERSION}' KANIKO_IMAGE = f'eu.gcr.io/gardener-project/cc/job-image-kaniko:{IMAGE_VERSION}' own_dir = os.path.abspath(os.path.dirname(__file__)) scripts_dir = os.path.join(o...
29.496063
100
0.591618
2,012
18,730
5.251988
0.100398
0.082521
0.153307
0.068137
0.748841
0.720261
0.672566
0.609255
0.561843
0.516324
0
0.002521
0.301121
18,730
634
101
29.542587
0.804736
0.014736
0
0.649215
0
0.001745
0.086662
0.035327
0
0
0
0
0
1
0.034904
false
0
0.008726
0.026178
0.085515
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a140fb9cf74ca09341b1dc398090089adfda7213
4,881
py
Python
tests/unit/Kernel/CompareKernels.py
jmikeowen/Spheral
3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
22
2018-07-31T21:38:22.000Z
2020-06-29T08:58:33.000Z
src/Kernel/tests/CompareKernels.py
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
41
2020-09-28T23:14:27.000Z
2022-03-28T17:01:33.000Z
src/Kernel/tests/CompareKernels.py
markguozhiming/spheral
bbb982102e61edb8a1d00cf780bfa571835e1b61
[ "BSD-Source-Code", "BSD-3-Clause-LBNL", "FSFAP" ]
7
2019-12-01T07:00:06.000Z
2020-09-15T21:12:39.000Z
from Spheral import * from SpheralTestUtilities import * import Gnuplot import numpy from SpheralGnuPlotUtilities import * ################################################################################ def plotW(plot, W, xmin=0.0, xmax=2.0, numPnts=200, Hdet=1.0, title='', lineTitle=''): dx = (xmax - x...
38.132813
80
0.491498
459
4,881
5.224401
0.344227
0.007506
0.032527
0.037531
0.061718
0.016681
0.016681
0.016681
0.016681
0.011676
0
0.056679
0.331285
4,881
127
81
38.433071
0.678002
0.244622
0
0.066667
0
0.011111
0.242275
0.006353
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a146d5944d6f193b0905165332e436d1f43715b3
2,881
py
Python
tool/cstar_perf/tool/util.py
cooldoger/cstar_perf
aceadd1d5a2331668647c53cca231ff9c1338eb4
[ "Apache-2.0" ]
60
2015-01-01T03:01:40.000Z
2021-11-06T16:03:41.000Z
tool/cstar_perf/tool/util.py
cooldoger/cstar_perf
aceadd1d5a2331668647c53cca231ff9c1338eb4
[ "Apache-2.0" ]
182
2015-01-04T20:02:54.000Z
2021-04-23T18:16:23.000Z
tool/cstar_perf/tool/util.py
datastax/cstar_perf
aceadd1d5a2331668647c53cca231ff9c1338eb4
[ "Apache-2.0" ]
30
2015-03-11T14:37:38.000Z
2021-01-13T10:48:02.000Z
import string import random import requests import hashlib from static_vnode_tokens import get_token_group import distutils.util def random_token(length=10): return ''.join(random.choice(string.ascii_uppercase + string.digits) for x in xrange(length)) def download_file(url, dest, username=Non...
35.567901
126
0.71017
402
2,881
4.830846
0.308458
0.032441
0.046859
0.068486
0.34861
0.300206
0.300206
0.227085
0.208033
0.208033
0
0.007318
0.193683
2,881
81
127
35.567901
0.82867
0.021173
0
0.180328
0
0
0.08501
0
0
0
0
0
0
1
0.131148
false
0.163934
0.098361
0.032787
0.377049
0.032787
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a149b74c4b946b172b4c1ca45d12053631b1a421
253
py
Python
faker/providers/ssn/__init__.py
bdclauser/Faker
b676668214f5f4cf2849eea16d50c835ffba5be9
[ "MIT" ]
1
2021-01-21T03:44:59.000Z
2021-01-21T03:44:59.000Z
faker/providers/ssn/__init__.py
bdclauser/Faker
b676668214f5f4cf2849eea16d50c835ffba5be9
[ "MIT" ]
null
null
null
faker/providers/ssn/__init__.py
bdclauser/Faker
b676668214f5f4cf2849eea16d50c835ffba5be9
[ "MIT" ]
null
null
null
# coding=utf-8 from __future__ import unicode_literals from .. import BaseProvider localized = True class Provider(BaseProvider): ssn_formats = ("###-##-####",) def ssn(self): return self.bothify(self.random_element(self.ssn_formats))
23
66
0.699605
30
253
5.633333
0.7
0.118343
0
0
0
0
0
0
0
0
0
0.004695
0.158103
253
11
66
23
0.788732
0.047431
0
0
0
0
0.045833
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
a14ba04e9d64e77470498d31ceb495ef777c9771
2,750
py
Python
panphon/test/test_featuretable.py
giddudink/panphon
9e96df02a01e6de029c2b1bffe5e8089bacc13f4
[ "MIT" ]
116
2016-05-25T21:52:29.000Z
2022-03-24T13:24:01.000Z
panphon/test/test_featuretable.py
bootphon/panphon
dd0009e6d90b96ec6f9d8a39000d19dd262813c1
[ "MIT" ]
29
2017-05-03T18:22:13.000Z
2021-12-31T14:53:43.000Z
panphon/test/test_featuretable.py
bootphon/panphon
dd0009e6d90b96ec6f9d8a39000d19dd262813c1
[ "MIT" ]
41
2016-07-08T16:09:57.000Z
2022-03-30T22:39:27.000Z
# -*- coding: utf-8 -*- from __future__ import print_function, unicode_literals, division, absolute_import import unittest import panphon.featuretable class TestFeatureTable(unittest.TestCase): def setUp(self): self.ft = panphon.featuretable.FeatureTable() def test_fts_contrast2(self): inv ...
35.25641
82
0.612
360
2,750
4.419444
0.277778
0.067882
0.075424
0.100566
0.496543
0.47203
0.417348
0.396606
0.331867
0.296669
0
0.006757
0.246545
2,750
77
83
35.714286
0.760618
0.028
0
0.113208
0
0
0.058824
0
0
0
0
0
0.339623
1
0.245283
false
0
0.056604
0
0.358491
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a14ca1335484f071831155e35c992c4d81ac03ea
1,356
py
Python
12gensim/01.pickle.py
KEVINYZY/python-tutorial
ae43536908eb8af56c34865f52a6e8644edc4fa3
[ "Apache-2.0" ]
2
2021-01-04T10:44:44.000Z
2022-02-13T07:53:41.000Z
12gensim/01.pickle.py
zm79287/python-tutorial
d0f7348e1da4ff954e3add66e1aae55d599283ee
[ "Apache-2.0" ]
null
null
null
12gensim/01.pickle.py
zm79287/python-tutorial
d0f7348e1da4ff954e3add66e1aae55d599283ee
[ "Apache-2.0" ]
2
2020-11-23T08:58:51.000Z
2022-02-13T07:53:42.000Z
# -*- coding: utf-8 -*- """ @description: 介绍pickle的使用方法 @author:XuMing """ from __future__ import print_function from __future__ import unicode_literals import os # cPickle 使用 C 而不是 Python 实现了相同的算法,因此速度上要比 pickle 快一些。 # 但是它不允许用户从 pickle 派生子类。如果子类对你的使用来说无关紧要, # 那么 cPickle 是个更好的选择 try: import cPickle as pickle exce...
22.229508
54
0.729351
203
1,356
4.689655
0.349754
0.115546
0.078782
0.066176
0
0
0
0
0
0
0
0.019426
0.126844
1,356
60
55
22.6
0.784628
0.330383
0
0
0
0
0.095613
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.433333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
a14f871878d4e210d1af41d9e7aed1c3f46fb09f
1,418
py
Python
content/actions/website-context/handler.py
gauravphoenix/dassana
d663e89353f439b1ff67193635f4c9c06babd104
[ "Apache-2.0" ]
null
null
null
content/actions/website-context/handler.py
gauravphoenix/dassana
d663e89353f439b1ff67193635f4c9c06babd104
[ "Apache-2.0" ]
null
null
null
content/actions/website-context/handler.py
gauravphoenix/dassana
d663e89353f439b1ff67193635f4c9c06babd104
[ "Apache-2.0" ]
null
null
null
from json import load from typing import Dict, Any, Optional from aws_lambda_powertools.utilities.typing import LambdaContext from aws_lambda_powertools.utilities.validation import validator from botocore.exceptions import ClientError from aws_lambda_powertools import Logger from dassana.common.aws_client import Dass...
34.585366
107
0.754584
182
1,418
5.67033
0.412088
0.062985
0.037791
0.06686
0.062016
0
0
0
0
0
0
0.006623
0.148096
1,418
40
108
35.45
0.847682
0
0
0
0
0
0.087447
0.039492
0
0
0
0
0
1
0.033333
false
0
0.333333
0
0.433333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a15442720a1c34f199689f0a958fb8a7df41bb07
4,055
py
Python
Lab2_Hanoi_Style/printer.py
marianfx/ai-labs
f9d780c2d453294e423d3ca1b54bb8895209f402
[ "MIT" ]
1
2017-10-26T04:23:36.000Z
2017-10-26T04:23:36.000Z
Lab2_Hanoi_Style/printer.py
marianfx/ai-labs
f9d780c2d453294e423d3ca1b54bb8895209f402
[ "MIT" ]
9
2016-10-17T12:20:40.000Z
2016-12-21T18:29:07.000Z
Lab2_Hanoi_Style/printer.py
marianfx/ai-labs
f9d780c2d453294e423d3ca1b54bb8895209f402
[ "MIT" ]
null
null
null
class Printer(): def __init__(self, number_of_iterations, tested_solvers): self.solvers = list(tested_solvers) self.nr_iterations = number_of_iterations self.inputs = [] self.outputs = {} def generate_test_cases(self): from random import randint inputs = [] ...
40.148515
93
0.560049
448
4,055
4.839286
0.243304
0.045664
0.0369
0.02214
0.124077
0.071956
0.02583
0
0
0
0
0.008566
0.337855
4,055
100
94
40.55
0.798883
0.01307
0
0.044944
0
0.011236
0.141
0
0
0
0
0
0
1
0.05618
false
0.05618
0.078652
0
0.179775
0.067416
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a15647b8a0a7302d5d1acdc18b79579b9fbe212c
2,142
py
Python
tests/views/test_reservation_views.py
dragorhast/server
a5ad238e630c3b575e3bc3c51718e7ebfff1e4d1
[ "MIT" ]
5
2018-11-28T11:33:25.000Z
2022-03-27T12:50:02.000Z
tests/views/test_reservation_views.py
dragorhast/server
a5ad238e630c3b575e3bc3c51718e7ebfff1e4d1
[ "MIT" ]
124
2018-10-07T21:31:02.000Z
2019-03-26T11:51:00.000Z
tests/views/test_reservation_views.py
dragorhast/server
a5ad238e630c3b575e3bc3c51718e7ebfff1e4d1
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta, timezone from server.models.reservation import ReservationOutcome from server.serializer import JSendSchema class TestReservationsView: async def test_get_all_reservations(self, client, reservation_manager, random_admin, random_pickup_point): reservation = await...
42.84
110
0.690943
233
2,142
6.133047
0.227468
0.06718
0.071379
0.061582
0.727082
0.650105
0.650105
0.650105
0.650105
0.605318
0
0.004646
0.196078
2,142
49
111
43.714286
0.825203
0
0
0.432432
0
0
0.155929
0.070028
0
0
0
0
0.135135
1
0
false
0
0.081081
0
0.135135
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a15661ca14a22dfc2abaa1eda8e6192e0de7a0bf
19,808
py
Python
core/src/main/python/wlsdeploy/util/cla_helper.py
zeusbaba/weblogic-deploy-tooling
78d4ea18f5a45f8c890556d99d6d1acd68d69eda
[ "Apache-2.0", "MIT" ]
null
null
null
core/src/main/python/wlsdeploy/util/cla_helper.py
zeusbaba/weblogic-deploy-tooling
78d4ea18f5a45f8c890556d99d6d1acd68d69eda
[ "Apache-2.0", "MIT" ]
null
null
null
core/src/main/python/wlsdeploy/util/cla_helper.py
zeusbaba/weblogic-deploy-tooling
78d4ea18f5a45f8c890556d99d6d1acd68d69eda
[ "Apache-2.0", "MIT" ]
null
null
null
""" Copyright (c) 2019, 2020, Oracle Corporation and/or its affiliates. Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. Utility CLS methods shared by multiple tools. """ import os from java.io import File from java.io import IOException from java.lang import Ille...
45.640553
118
0.721022
2,489
19,808
5.437927
0.136199
0.026598
0.028962
0.018618
0.43997
0.381455
0.348356
0.31437
0.271001
0.257554
0
0.006137
0.218447
19,808
433
119
45.745958
0.868161
0.022668
0
0.326613
0
0
0.034728
0.008948
0
0
0
0
0
0
null
null
0.024194
0.100806
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a156687a4bd3f596e308e716e71fec537211ea55
83,896
py
Python
api/controller.py
pic-ed/LibrarySimplifies
16dd6459b794fb805b7a5e10758b3c151356908a
[ "Apache-2.0" ]
null
null
null
api/controller.py
pic-ed/LibrarySimplifies
16dd6459b794fb805b7a5e10758b3c151356908a
[ "Apache-2.0" ]
null
null
null
api/controller.py
pic-ed/LibrarySimplifies
16dd6459b794fb805b7a5e10758b3c151356908a
[ "Apache-2.0" ]
null
null
null
from nose.tools import set_trace import json import logging import sys import urllib import urlparse import datetime import base64 from wsgiref.handlers import format_date_time from time import mktime import os from collections import defaultdict from lxml import etree from sqlalchemy.orm import eagerload from functo...
38.876738
156
0.634655
9,158
83,896
5.636056
0.105482
0.014647
0.01023
0.010578
0.414279
0.356427
0.312196
0.283793
0.262443
0.25076
0
0.002346
0.2939
83,896
2,157
157
38.894761
0.868955
0.087883
0
0.380317
0
0.00254
0.05092
0.003122
0
0
0
0.001854
0
0
null
null
0.000635
0.033016
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a15bc78787b62be8d947567182e72ef8bb21a843
3,832
py
Python
scripts/e2e/gencmd_eval_all.py
natemalek/molen-pater-nathan-rma-thesis-coreference-with-singletons
3d2d6c751eadd6438a80b0c24f48b2635bc6acc7
[ "MIT" ]
null
null
null
scripts/e2e/gencmd_eval_all.py
natemalek/molen-pater-nathan-rma-thesis-coreference-with-singletons
3d2d6c751eadd6438a80b0c24f48b2635bc6acc7
[ "MIT" ]
null
null
null
scripts/e2e/gencmd_eval_all.py
natemalek/molen-pater-nathan-rma-thesis-coreference-with-singletons
3d2d6c751eadd6438a80b0c24f48b2635bc6acc7
[ "MIT" ]
null
null
null
''' Generate e2e configurations and a script which will evaluate models on all CoNLL files in the specified directory. Usage: gencmd_eval_all.py --suffix=<suffix> <conll_inp_dir> <json_inp_dir> <bash_out_dir> <log_out_dir> ''' import os import stat import subprocess import shutil import sys from docopt import doc...
38.32
100
0.678758
556
3,832
4.347122
0.273381
0.029789
0.027307
0.028962
0.199007
0.129499
0.082747
0.057096
0.032271
0
0
0.007251
0.208246
3,832
100
101
38.32
0.789387
0.070198
0
0
1
0
0.144027
0.029088
0
0
0
0
0.040541
1
0.067568
false
0
0.135135
0
0.22973
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1615b631594b87755fb70698b7b918454d81640
288
py
Python
examples/server_simple.py
codeif/aiohttp-bam
ff9b2a56b0c77f6d7cb961de7040c31f4770997d
[ "MIT" ]
null
null
null
examples/server_simple.py
codeif/aiohttp-bam
ff9b2a56b0c77f6d7cb961de7040c31f4770997d
[ "MIT" ]
null
null
null
examples/server_simple.py
codeif/aiohttp-bam
ff9b2a56b0c77f6d7cb961de7040c31f4770997d
[ "MIT" ]
null
null
null
# server_simple.py from aiohttp import web from aiohttp_bam import bam_factory async def handle(request): return web.Response(text="Hello") app = web.Application(middlewares=[bam_factory('your username', 'your password')]) app.add_routes([web.get("/", handle)]) web.run_app(app)
20.571429
82
0.746528
42
288
4.97619
0.642857
0.105263
0
0
0
0
0
0
0
0
0
0
0.114583
288
13
83
22.153846
0.819608
0.055556
0
0
0
0
0.118519
0
0
0
0
0
0
1
0
false
0.142857
0.285714
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
0
0
1
0
0
0
0
0
1
a1616943f33c1f9a9877fbfb975b4fa921638a1c
254
py
Python
demo/urls.py
andyzsf/django-html5
a68c4a534afef4843c94a6472371a217f2c8717a
[ "Apache-2.0" ]
3
2015-01-17T14:04:03.000Z
2019-08-11T11:04:18.000Z
demo/urls.py
andyzsf/django-html5
a68c4a534afef4843c94a6472371a217f2c8717a
[ "Apache-2.0" ]
null
null
null
demo/urls.py
andyzsf/django-html5
a68c4a534afef4843c94a6472371a217f2c8717a
[ "Apache-2.0" ]
4
2016-12-28T03:02:05.000Z
2019-09-19T02:29:03.000Z
from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: # from django.contrib import admin # admin.autodiscover() urlpatterns = patterns('', (r'^$', 'html5_demo.views.index', {}, "index"), )
25.4
60
0.708661
33
254
5.424242
0.757576
0.111732
0
0
0
0
0
0
0
0
0
0.004608
0.145669
254
9
61
28.222222
0.820277
0.405512
0
0
0
0
0.197279
0.14966
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a1631f86d4ddd8e2bd06e62322eb1469517057e2
6,688
py
Python
sdk/python/pulumi_google_native/iam/v1/get_service_account.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
44
2021-04-18T23:00:48.000Z
2022-02-14T17:43:15.000Z
sdk/python/pulumi_google_native/iam/v1/get_service_account.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
354
2021-04-16T16:48:39.000Z
2022-03-31T17:16:39.000Z
sdk/python/pulumi_google_native/iam/v1/get_service_account.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
8
2021-04-24T17:46:51.000Z
2022-01-05T10:40:21.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
41.540373
707
0.664922
794
6,688
5.375315
0.22796
0.075445
0.039363
0.056232
0.232427
0.19119
0.149719
0.042174
0
0
0
0.006086
0.238337
6,688
160
708
41.8
0.831763
0.251346
0
0.12037
1
0
0.139278
0.024849
0
0
0
0
0
1
0.111111
false
0
0.046296
0
0.268519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a167eb96d33b119106fd597b9327a83cdf055d35
1,999
py
Python
libs/modules/trademanager.py
meetri/cryptolib
e3dae68433aacf7663b68a7d0567849fb2ba4b99
[ "MIT" ]
null
null
null
libs/modules/trademanager.py
meetri/cryptolib
e3dae68433aacf7663b68a7d0567849fb2ba4b99
[ "MIT" ]
null
null
null
libs/modules/trademanager.py
meetri/cryptolib
e3dae68433aacf7663b68a7d0567849fb2ba4b99
[ "MIT" ]
null
null
null
import os,sys,time from basebot import BaseBot from threading import Thread class TradeManager(BaseBot): def __init__(self,market): BaseBot.__init__(self,market,"TradeManager") self.botlist = [] self.done = False def monitor_trades(self,bot): self.botlist += [bot] def u...
33.316667
94
0.53927
224
1,999
4.651786
0.330357
0.084453
0.037428
0.03263
0.09405
0.09405
0.044146
0
0
0
0
0.003145
0.363682
1,999
59
95
33.881356
0.816038
0.041521
0
0.097561
0
0
0.106116
0
0
0
0
0.016949
0
1
0.146341
false
0
0.073171
0
0.243902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a16cd8eca958e62f0c360e1d3d03f6f5d03587ce
8,718
py
Python
agents.py
Aus-miner/Miner-Model
f7abc9f74cec00f82a2df6e359363670a64ad72f
[ "MIT" ]
18
2021-04-18T03:51:22.000Z
2022-03-16T13:14:36.000Z
agents.py
Aus-miner/Miner-Model
f7abc9f74cec00f82a2df6e359363670a64ad72f
[ "MIT" ]
1
2021-05-04T14:27:02.000Z
2021-05-04T14:27:02.000Z
agents.py
Aus-miner/Miner-Model
f7abc9f74cec00f82a2df6e359363670a64ad72f
[ "MIT" ]
8
2021-05-03T19:24:19.000Z
2022-02-20T22:20:18.000Z
from enum import Enum from functools import lru_cache import pandas as pd import config from constants import * from CMDataLoader import CMDataLoader # Specs of a single machine class MachineInstance(): def __init__(self, model: str, hash_rate: int, wattage: flo...
43.158416
183
0.692246
1,151
8,718
4.867941
0.192007
0.044262
0.047475
0.027307
0.312333
0.219704
0.190255
0.149741
0.105301
0.09138
0
0.022355
0.230328
8,718
201
184
43.373134
0.812668
0.114361
0
0.086957
0
0.007246
0.014167
0.007148
0
0
0
0.004975
0
1
0.195652
false
0
0.043478
0.115942
0.492754
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
a17195fe83c9788ba94bdc41716128d9e132ff56
888
py
Python
diventi/ebooks/migrations/0043_auto_20190531_0751.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
2
2019-06-27T16:00:17.000Z
2020-08-14T07:46:05.000Z
diventi/ebooks/migrations/0043_auto_20190531_0751.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
26
2020-02-15T22:39:35.000Z
2022-02-19T21:09:01.000Z
diventi/ebooks/migrations/0043_auto_20190531_0751.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
1
2021-11-12T22:30:15.000Z
2021-11-12T22:30:15.000Z
# Generated by Django 2.2.1 on 2019-05-31 05:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ebooks', '0042_section_category'), ] operations = [ migrations.AddField( model_name='sectioncat...
29.6
147
0.617117
95
888
5.642105
0.473684
0.044776
0.052239
0.08209
0.391791
0.391791
0.391791
0.220149
0.220149
0.220149
0
0.035168
0.263514
888
29
148
30.62069
0.784404
0.050676
0
0.391304
1
0
0.140309
0.05113
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a17897c13dfc39d7a8b079f6c55320d137ff8414
1,063
py
Python
SC101/SC101_Assignment5/largest_digit.py
elven-liu/stanCode-projects
e42f84d3b7bb7422e8d755d9e81cb24cc5625670
[ "MIT" ]
null
null
null
SC101/SC101_Assignment5/largest_digit.py
elven-liu/stanCode-projects
e42f84d3b7bb7422e8d755d9e81cb24cc5625670
[ "MIT" ]
null
null
null
SC101/SC101_Assignment5/largest_digit.py
elven-liu/stanCode-projects
e42f84d3b7bb7422e8d755d9e81cb24cc5625670
[ "MIT" ]
null
null
null
""" File: largest_digit.py Name: Elven Liu ---------------------------------- This file recursively prints the biggest digit in 5 different integers, 12345, 281, 6, -111, -9453 If your implementation is correct, you should see 5, 8, 6, 1, 9 on Console. """ def main(): print(find_largest_digit(12345)) # 5 print...
21.693878
79
0.677328
154
1,063
4.415584
0.357143
0.194118
0.235294
0.154412
0.161765
0.076471
0
0
0
0
0
0.059028
0.187206
1,063
48
80
22.145833
0.728009
0.326435
0
0.086957
0
0
0.011527
0
0
0
0
0
0
1
0.130435
false
0
0
0
0.26087
0.217391
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a179651b3711c119dc6d580ff054167c44446bd4
3,745
py
Python
lambda_function.py
reactiveops/lambda-kube-aws-rtsync
10ac5e71616655ba2ff4e3d4de9d613255eb6d6a
[ "BSD-2-Clause" ]
6
2016-11-16T22:11:47.000Z
2017-11-24T11:13:00.000Z
lambda_function.py
FairwindsOps/lambda-kube-aws-rtsync
10ac5e71616655ba2ff4e3d4de9d613255eb6d6a
[ "BSD-2-Clause" ]
null
null
null
lambda_function.py
FairwindsOps/lambda-kube-aws-rtsync
10ac5e71616655ba2ff4e3d4de9d613255eb6d6a
[ "BSD-2-Clause" ]
1
2017-09-28T10:50:56.000Z
2017-09-28T10:50:56.000Z
import boto3 import re #AWS region region = 'us-east-1' #VPC id containing Kubernetes Cluster vpc_id = 'vpc-xxxxxxxx' #prefix of Kubernetes routes in route tables that should be synced kube_routes_prefix = '100.96' #Kubernetes cluster name kube_cluster_name = 'working.example.com' #filter that defines which route...
40.268817
141
0.685447
496
3,745
4.979839
0.252016
0.08502
0.034008
0.015789
0.136842
0.093927
0.02834
0.02834
0.02834
0.02834
0
0.008835
0.214152
3,745
92
142
40.706522
0.830445
0.172764
0
0.114754
0
0.016393
0.18368
0.01788
0
0
0
0
0
0
null
null
0
0.032787
null
null
0.098361
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a17aa2deff999c92c3a3ac3940ff5afdf7cb9c85
633
py
Python
sample_contract/scripts/utils.py
startled-cat/two-factor-over-blockchain
2621eef2449b58b728fbb2b0b1ca910be397acf5
[ "MIT" ]
1
2022-03-31T16:35:05.000Z
2022-03-31T16:35:05.000Z
sample_contract/scripts/utils.py
startled-cat/two-factor-over-blockchain
2621eef2449b58b728fbb2b0b1ca910be397acf5
[ "MIT" ]
null
null
null
sample_contract/scripts/utils.py
startled-cat/two-factor-over-blockchain
2621eef2449b58b728fbb2b0b1ca910be397acf5
[ "MIT" ]
null
null
null
from brownie import network, accounts, config LOCAL_BLOCKCHAIN_NETWORKS = ["development", "ganache-local"] FORKED_LOCAL_NETWORKS = ["mainnet-fork", "mainnet-fork-dev"] def is_network_local(): return network.show_active() in LOCAL_BLOCKCHAIN_NETWORKS def get_account(index=None, id=None): if index: r...
30.142857
108
0.721959
84
633
5.22619
0.440476
0.102506
0.157175
0.129841
0.191344
0.191344
0.191344
0
0
0
0
0.001898
0.167457
633
20
109
31.65
0.83112
0
0
0
0
0
0.148499
0
0
0
0
0
0
1
0.133333
false
0
0.066667
0.066667
0.533333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a180a568d5a4e9fcf2f7beb68badcb3221383345
1,035
py
Python
hardware/testing/TCPIP_connection.py
haziquehaikal/smartdb
0a20f47b949bf448cf61d7d8f802a2d3927412f7
[ "Apache-2.0" ]
null
null
null
hardware/testing/TCPIP_connection.py
haziquehaikal/smartdb
0a20f47b949bf448cf61d7d8f802a2d3927412f7
[ "Apache-2.0" ]
null
null
null
hardware/testing/TCPIP_connection.py
haziquehaikal/smartdb
0a20f47b949bf448cf61d7d8f802a2d3927412f7
[ "Apache-2.0" ]
null
null
null
#Note: Chane APN depending your GSM operator. In my case, I am using tunisiana.tunisiana import serial import RPi.GPIO as GPIO import os, time GPIO.setmode(GPIO.BOARD) #Enable Serial Communication ser = serial.Serial("\dev\ttyAMA0", baudrate=9600, timeout=1) #Transmitting AT Commands to the Modem '\r\n' indicates th...
24.642857
88
0.732367
178
1,035
4.258427
0.522472
0.063325
0.065963
0.068602
0.167546
0.167546
0.167546
0.167546
0.167546
0.126649
0
0.029126
0.104348
1,035
41
89
25.243902
0.788565
0.396135
0
0.428571
0
0
0.214286
0.099026
0.035714
0
0
0
0
0
null
null
0
0.107143
null
null
0.178571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a181d465dd9a288d0ddb9bb45f760f2310220bd7
590
py
Python
app/urls.py
diexmoh/professionalnotes
87fcda7c142ce65ef4e7acacc6a0bad1e1bd98d0
[ "MIT" ]
null
null
null
app/urls.py
diexmoh/professionalnotes
87fcda7c142ce65ef4e7acacc6a0bad1e1bd98d0
[ "MIT" ]
null
null
null
app/urls.py
diexmoh/professionalnotes
87fcda7c142ce65ef4e7acacc6a0bad1e1bd98d0
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views from app.Tutor.views import ListViewTutor from app.Asignatura.views import ListViewAsignatura urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^health', views.health, name='health'), url(r'^404', views.handl...
36.875
93
0.594915
65
590
5.369231
0.384615
0.068768
0.057307
0
0
0
0
0
0
0
0
0.040909
0.254237
590
15
94
39.333333
0.752273
0
0
0
0
0
0.137288
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a183746f32e9628bc239381b0d57b703e9c42929
1,678
py
Python
angrmanagement/__main__.py
Gstalker/angr-management
aa8634b511fbe6a5867e97a2253e655ee592699e
[ "BSD-2-Clause" ]
null
null
null
angrmanagement/__main__.py
Gstalker/angr-management
aa8634b511fbe6a5867e97a2253e655ee592699e
[ "BSD-2-Clause" ]
null
null
null
angrmanagement/__main__.py
Gstalker/angr-management
aa8634b511fbe6a5867e97a2253e655ee592699e
[ "BSD-2-Clause" ]
1
2022-02-04T06:12:32.000Z
2022-02-04T06:12:32.000Z
import sys import os import ctypes import threading def check_dependencies(): try: import PySide2 except ImportError: sys.stderr.write("Cannot find the PySide2 package. You may install it via pip:\n" + " pip install pyside2\n") return False try: ...
25.044776
107
0.671633
201
1,678
5.472637
0.492537
0.019091
0.036364
0.047273
0.181818
0.150909
0.150909
0.150909
0.070909
0.070909
0
0.010326
0.249702
1,678
66
108
25.424242
0.863384
0.075089
0
0.142857
0
0
0.149225
0.01615
0
0
0
0
0
1
0.071429
false
0
0.333333
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
a184d6d309bb029c17bb383b819675849e631154
2,912
py
Python
apps/2d/euler/test_exact2/run_error.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/2d/euler/test_exact2/run_error.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
apps/2d/euler/test_exact2/run_error.py
dcseal/finess
766e583ae9e84480640c7c3b3c157bf40ab87fe4
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from __future__ import with_statement from contextlib import closing from subprocess import call, Popen, PIPE import os from math import log,sqrt import numpy as np def main( ): '''Write some help documentation here ''' print "# leading comments can be given a '#' character" my_dicti...
30.652632
144
0.519231
372
2,912
3.900538
0.41129
0.028946
0.031013
0.038594
0.140593
0.126809
0.031702
0
0
0
0
0.040963
0.329327
2,912
94
145
30.978723
0.701997
0.167239
0
0.131148
0
0
0.181703
0.009275
0
0
0
0
0
0
null
null
0
0.114754
null
null
0.098361
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
a18559977be6ca785a1331f07f3f1e434b286f5e
6,418
py
Python
test.py
TimothyStiles/evm
e114af91dde9f53e6a5c65adb6bd015111ff2906
[ "Apache-2.0" ]
3
2018-10-18T15:10:36.000Z
2022-01-22T01:21:00.000Z
test.py
TimothyStiles/evm
e114af91dde9f53e6a5c65adb6bd015111ff2906
[ "Apache-2.0" ]
6
2017-05-29T07:10:13.000Z
2017-07-01T18:32:28.000Z
test.py
TimothyStiles/evm
e114af91dde9f53e6a5c65adb6bd015111ff2906
[ "Apache-2.0" ]
1
2021-11-19T08:37:28.000Z
2021-11-19T08:37:28.000Z
import unittest import numpy as np import cv2 as cv import os import requests import imageio import docker import evm.utils as utils import evm.pyramids as pyramids import evm.filters as filters test_image_input_path = 'resources/test_input/slowpoke.png' test_video_input_path = 'resources/test_input/baby.mp4' test_ou...
36.05618
112
0.715799
871
6,418
4.97589
0.159587
0.058145
0.071066
0.091371
0.489386
0.440009
0.360406
0.336179
0.295339
0.273419
0
0.016372
0.181521
6,418
177
113
36.259887
0.808681
0
0
0.149606
0
0
0.072297
0.04129
0
0
0
0
0.149606
1
0.220472
false
0.015748
0.07874
0
0.377953
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a18a7dc195fbac0b9972b6b29b22f5121456e0d3
789
py
Python
src/endpoint_mgr.py
fvutils/pyhvl-rpc
6bc25bac023682109bd3338b71a6db256ea52442
[ "Apache-2.0" ]
1
2022-03-01T07:16:48.000Z
2022-03-01T07:16:48.000Z
src/endpoint_mgr.py
fvutils/pyhvl-rpc
6bc25bac023682109bd3338b71a6db256ea52442
[ "Apache-2.0" ]
null
null
null
src/endpoint_mgr.py
fvutils/pyhvl-rpc
6bc25bac023682109bd3338b71a6db256ea52442
[ "Apache-2.0" ]
null
null
null
''' Created on Mar 16, 2021 @author: mballance ''' from hvlrpc.endpoint import Endpoint class EndpointMgr(object): _inst = None def __init__(self): self.endpoints = [] async def init(self): for e in self.endpoints: await e.init() def add_endpoint...
21.324324
49
0.552598
95
789
4.410526
0.442105
0.124105
0.052506
0.047733
0.090692
0
0
0
0
0
0
0.011834
0.357414
789
37
50
21.324324
0.814596
0.054499
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.208333
false
0
0.041667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
a18bb72a4a5851edb8cc9d9b2b3bc5611e5ec372
746
py
Python
db_facts/env_jinja_context.py
bluelabsio/db-facts
fc8faa59f450a5cc00a0e50160ca57e47291b375
[ "Apache-2.0" ]
2
2020-11-25T20:11:50.000Z
2020-12-12T18:39:09.000Z
db_facts/env_jinja_context.py
bluelabsio/db-facts
fc8faa59f450a5cc00a0e50160ca57e47291b375
[ "Apache-2.0" ]
5
2020-01-24T15:05:50.000Z
2020-02-29T13:34:40.000Z
db_facts/env_jinja_context.py
bluelabsio/db-facts
fc8faa59f450a5cc00a0e50160ca57e47291b375
[ "Apache-2.0" ]
1
2021-05-16T17:07:40.000Z
2021-05-16T17:07:40.000Z
import os from .db_facts_types import JinjaContext, DBName, DBCLIConfig def pull_env_jinja_context(db_name: DBName, dbcli_config: DBCLIConfig) -> JinjaContext: """Returns a Jinja context that exports the following functions: * getenv(key: str, default: Optional[str]=None) -> Optional[str]: Return the v...
37.3
87
0.682306
104
746
4.826923
0.528846
0.047809
0.031873
0.051793
0
0
0
0
0
0
0
0
0.233244
746
19
88
39.263158
0.877622
0.585791
0
0
0
0
0.032491
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
a18f6ec57f4a214ae71a4602ed990817de220413
489
py
Python
richx86/configs/config35.py
yamsam/G2Net-GoGoGo
629199ba044adf8a0ffec3e6fd33146bcad4299e
[ "MIT" ]
null
null
null
richx86/configs/config35.py
yamsam/G2Net-GoGoGo
629199ba044adf8a0ffec3e6fd33146bcad4299e
[ "MIT" ]
null
null
null
richx86/configs/config35.py
yamsam/G2Net-GoGoGo
629199ba044adf8a0ffec3e6fd33146bcad4299e
[ "MIT" ]
null
null
null
class Config: #frequently changed model_version = "main_35th_GeM_vflip_shuffle01_5fold" model_module = 'Model1DCNNGEM' use_pseudo_label = False #augmentation conservative_aug = ['vflip','shuffle01',] aggressive_aug = [] #conservative vflip = True vflip_...
19.56
59
0.593047
51
489
5.411765
0.745098
0.101449
0.050725
0
0
0
0
0
0
0
0
0.076923
0.335378
489
25
60
19.56
0.772308
0.114519
0
0
0
0
0.152709
0.086207
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1