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
f78b86d747c672620428e6bd3b8435d4dd3f3512
5,608
py
Python
src/pyrobot/vrep_locobot/camera.py
gujralsanyam22/pyrobot
a0448714857b684d8b280f710e9304988524d2e0
[ "MIT" ]
2,150
2019-06-12T20:55:41.000Z
2022-03-21T07:14:51.000Z
src/pyrobot/vrep_locobot/camera.py
gujralsanyam22/pyrobot
a0448714857b684d8b280f710e9304988524d2e0
[ "MIT" ]
124
2019-06-22T17:12:27.000Z
2022-02-26T11:43:13.000Z
src/pyrobot/vrep_locobot/camera.py
gujralsanyam22/pyrobot
a0448714857b684d8b280f710e9304988524d2e0
[ "MIT" ]
329
2019-06-13T03:03:54.000Z
2022-03-30T07:04:55.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import numpy as np import pyrobot.utils.util as prutil from pyrobot.core import Camera from pyrobot.utils.util import try_cv2_import cv2 = tr...
26.578199
88
0.63766
799
5,608
4.370463
0.230288
0.030928
0.017182
0.0126
0.471649
0.429553
0.392612
0.335911
0.318729
0.295246
0
0.00539
0.272111
5,608
210
89
26.704762
0.850073
0.5403
0
0.06
0
0
0.030399
0.020417
0
0
0
0.004762
0
1
0.3
false
0
0.18
0.06
0.66
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f78c09a2c8173da1710410d85fa882bb6b674769
105
py
Python
main.py
lmkhkm/SerialMonitor
05b00e7a05e2a71ddfc9b0e30e42a83b073f88e1
[ "MIT" ]
null
null
null
main.py
lmkhkm/SerialMonitor
05b00e7a05e2a71ddfc9b0e30e42a83b073f88e1
[ "MIT" ]
1
2021-05-08T20:52:27.000Z
2021-05-08T20:52:27.000Z
main.py
lmkhkm/SerialMonitor
05b00e7a05e2a71ddfc9b0e30e42a83b073f88e1
[ "MIT" ]
null
null
null
import serial ser = serial.Serial('COM7',115200, timeout=1) while True: print("R: ", ser.readline())
21
45
0.67619
15
105
4.733333
0.8
0
0
0
0
0
0
0
0
0
0
0.088889
0.142857
105
5
46
21
0.7
0
0
0
0
0
0.066038
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f79fdffacf758f6c9d435f6cbf7feae5c9594ded
1,295
py
Python
py2neo/timing.py
VitalyRomanov/py2neo
2d0683cf2ab8b77b0c5bbba4eade0003c68d5905
[ "Apache-2.0" ]
null
null
null
py2neo/timing.py
VitalyRomanov/py2neo
2d0683cf2ab8b77b0c5bbba4eade0003c68d5905
[ "Apache-2.0" ]
null
null
null
py2neo/timing.py
VitalyRomanov/py2neo
2d0683cf2ab8b77b0c5bbba4eade0003c68d5905
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Copyright 2011-2021, Nigel Small # # 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 # # Unle...
27.553191
74
0.68417
181
1,295
4.756906
0.585635
0.069686
0.030197
0.037166
0
0
0
0
0
0
0
0.025025
0.228571
1,295
46
75
28.152174
0.836837
0.550579
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.058824
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e38a4870c5f8e88d0175c33a20658010577ed3a2
824
py
Python
packages/pyright-internal/src/tests/samples/match7.py
Strum355/pyright
01f15ce31f8f6cd9a054e21fc48cb762923ae25d
[ "MIT" ]
null
null
null
packages/pyright-internal/src/tests/samples/match7.py
Strum355/pyright
01f15ce31f8f6cd9a054e21fc48cb762923ae25d
[ "MIT" ]
null
null
null
packages/pyright-internal/src/tests/samples/match7.py
Strum355/pyright
01f15ce31f8f6cd9a054e21fc48cb762923ae25d
[ "MIT" ]
null
null
null
# This sample tests type narrowing of subject expressions for # match statements. from typing import Literal def func1(subj: int | dict[str, str] | tuple[int] | str, cond: bool): match subj: case (3 | "hi"): t_v1: Literal["Literal[3, 'hi']"] = reveal_type(subj) return cas...
23.542857
76
0.527913
103
824
4.106796
0.38835
0.141844
0.198582
0.283688
0.489362
0.243499
0.243499
0.174941
0
0
0
0.016949
0.355583
824
34
77
24.235294
0.779661
0.093447
0
0.272727
0
0
0.079408
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.363636
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e39343d1ccb1c9771b5f47a5eb48d8ff84409b31
2,591
py
Python
server/twitter.py
abijith-kp/Emolytics
00e94798ab20621b51f6ce2a058e0dd8dec1cdba
[ "BSD-3-Clause" ]
null
null
null
server/twitter.py
abijith-kp/Emolytics
00e94798ab20621b51f6ce2a058e0dd8dec1cdba
[ "BSD-3-Clause" ]
null
null
null
server/twitter.py
abijith-kp/Emolytics
00e94798ab20621b51f6ce2a058e0dd8dec1cdba
[ "BSD-3-Clause" ]
null
null
null
from server import db, auth, emolytics from server.models import Tweet from classifier import create_classifier from tweepy import Stream from tweepy.streaming import StreamListener from flask.ext.rq import job import json import random from multiprocessing import Process from sqlalchemy.exc import IntegrityError d...
27.56383
80
0.580857
291
2,591
5.09622
0.378007
0.040459
0.032367
0.040459
0.055293
0.055293
0.055293
0
0
0
0
0.012828
0.307989
2,591
93
81
27.860215
0.814278
0
0
0.369231
0
0
0.058068
0
0
0
0
0
0
0
null
null
0.107692
0.153846
null
null
0.030769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
e39aa6632ad08319c28262297573d3c36b620844
670
py
Python
users/models.py
tanmayag8958/upes-fipi-jigyasa
e05e41e7624175ae64216a54cc546bbb74b2df61
[ "MIT" ]
8
2019-03-08T10:28:38.000Z
2019-10-17T00:04:44.000Z
users/models.py
tanmayag8958/upes-fipi-jigyasa
e05e41e7624175ae64216a54cc546bbb74b2df61
[ "MIT" ]
124
2020-02-11T23:51:09.000Z
2022-01-13T01:06:09.000Z
users/models.py
tanmayag8958/upes-fipi-jigyasa
e05e41e7624175ae64216a54cc546bbb74b2df61
[ "MIT" ]
3
2019-03-07T18:44:55.000Z
2019-03-08T10:36:50.000Z
from django.db import models from django.utils import timezone from django.contrib.auth.models import User from django.db.models.signals import post_save from django.dispatch import receiver class User_details(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE) team_count = models.Intege...
39.411765
81
0.770149
90
670
5.6
0.577778
0.099206
0.047619
0
0
0
0
0
0
0
0
0.012048
0.132836
670
16
82
41.875
0.855422
0
0
0
0
0
0.032836
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0.071429
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
e39bbfc2ad38c9bcb6507c0a41b528d361682009
224
py
Python
packs/hue/actions/rgb.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
164
2015-01-17T16:08:33.000Z
2021-08-03T02:34:07.000Z
packs/hue/actions/rgb.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
442
2015-01-01T11:19:01.000Z
2017-09-06T23:26:17.000Z
packs/hue/actions/rgb.py
jonico/st2contrib
149c9c553f24360d91a14fef7ea6146707de75fd
[ "Apache-2.0" ]
202
2015-01-13T00:37:40.000Z
2020-11-07T11:30:10.000Z
from lib import action class RGBAction(action.BaseAction): def run(self, light_id, red, green, blue, transition_time): light = self.hue.lights.get(light_id) light.rgb(red, green, blue, transition_time)
28
63
0.705357
32
224
4.8125
0.65625
0.090909
0.155844
0.285714
0.337662
0
0
0
0
0
0
0
0.1875
224
7
64
32
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e39de89d4940f42750569f7100f7133d1493a932
1,755
py
Python
test/test_math_challenge.py
nikett/math_challenge_eval
bafe9f6d30fc5ffd97492ce5e42716f839c29c4f
[ "Apache-2.0" ]
null
null
null
test/test_math_challenge.py
nikett/math_challenge_eval
bafe9f6d30fc5ffd97492ce5e42716f839c29c4f
[ "Apache-2.0" ]
null
null
null
test/test_math_challenge.py
nikett/math_challenge_eval
bafe9f6d30fc5ffd97492ce5e42716f839c29c4f
[ "Apache-2.0" ]
null
null
null
import unittest from typing import Dict, List from src.math_challenge import Challenge, DEFAULT_EMPTY_ANS from src.student_info import StudentInfo class TestChallenge(unittest.TestCase): def test_preprocess(self): self.assertEqual(Challenge.preprocess_ans("a. 37th floor, b. 42nd floor, c. 39th floor, d. ...
51.617647
150
0.707123
246
1,755
4.825203
0.406504
0.088458
0.141533
0.200505
0.305813
0.208088
0.144061
0.144061
0.107835
0.107835
0
0.03427
0.168661
1,755
33
151
53.181818
0.779301
0.0849
0
0.083333
0
0
0.213483
0.042447
0
0
0
0
0.5
1
0.125
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
e3c6cfd741e8bd9adaeac0bf0d16ec2396131aa6
636
py
Python
setup.py
mluciarr/McComplex
e83b5d11ab772a6bdc6233d318f7da5f67b3c5ce
[ "MIT" ]
null
null
null
setup.py
mluciarr/McComplex
e83b5d11ab772a6bdc6233d318f7da5f67b3c5ce
[ "MIT" ]
null
null
null
setup.py
mluciarr/McComplex
e83b5d11ab772a6bdc6233d318f7da5f67b3c5ce
[ "MIT" ]
1
2021-04-14T22:43:33.000Z
2021-04-14T22:43:33.000Z
#!/usr/bin/env python from distutils.core import setup import setuptools setup(name='McComplex', version='1.0', description="""This program reconstructs macrocomplexes of protein-protein and protein-(DNA/RNA) from a list of files of binary interactions of its chains""", author='Maria Lucía Romero, Ferran Pegena...
37.411765
84
0.748428
85
636
5.564706
0.776471
0.008457
0
0
0
0
0
0
0
0
0
0.019164
0.097484
636
16
85
39.75
0.804878
0.031447
0
0
0
0
0.606504
0.058537
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
e3c83e726d786e7b9f87a1f14f06ff2aa47d4a9b
1,277
py
Python
pymitools/girder/metadataPresets.py
chapmanbe/pymitools
be0f4a3f56dd6c8bb89678368c49e09b3333232c
[ "Apache-2.0" ]
null
null
null
pymitools/girder/metadataPresets.py
chapmanbe/pymitools
be0f4a3f56dd6c8bb89678368c49e09b3333232c
[ "Apache-2.0" ]
null
null
null
pymitools/girder/metadataPresets.py
chapmanbe/pymitools
be0f4a3f56dd6c8bb89678368c49e09b3333232c
[ "Apache-2.0" ]
null
null
null
"""Metadata presets for commonly used keywords.""" presets = { chest : {"Anatomical Region": {"ID": "0001443", "Name": "chest", "Ontology Acronym": "UBERON", "Ontology Name": "Uber Anatomy Ontology", "Resource URL": "http://pur...
29.697674
66
0.473767
103
1,277
5.834951
0.291262
0.106489
0.1198
0.193012
0.618968
0.618968
0.618968
0.618968
0.618968
0.618968
0
0.070529
0.37823
1,277
42
67
30.404762
0.686398
0.034456
0
0.413793
0
0
0.482478
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e3cac54ed59276bd1cf21b47cfa19280c29a0b7c
20,168
py
Python
colorpy/colorpy-0.1.0/illuminants.py
gmweir/QuasiOptics
0974178984f845597c5209217613c26edf931ed0
[ "MIT" ]
1
2020-11-06T18:16:00.000Z
2020-11-06T18:16:00.000Z
colorpy/colorpy-0.1.1/illuminants.py
gmweir/QuasiOptics
0974178984f845597c5209217613c26edf931ed0
[ "MIT" ]
null
null
null
colorpy/colorpy-0.1.1/illuminants.py
gmweir/QuasiOptics
0974178984f845597c5209217613c26edf931ed0
[ "MIT" ]
null
null
null
''' illuminants.py - Definitions of some standard illuminants. Description: Illuminants are spectrums, normalized so that Y = 1.0. Spectrums are 2D numpy arrays, with one row for each wavelength, with the first column holding the wavelength in nm, and the second column the intensity. The spectrums have a wavelength...
27.741403
106
0.555881
2,665
20,168
4.169231
0.534334
0.03159
0.0027
0.01008
0.235802
0.214742
0.204752
0.198632
0.181712
0.172352
0
0.431245
0.282081
20,168
726
107
27.779614
0.336142
0.249554
0
0.035593
0
0
0.01123
0
0
0
0
0
0.001695
1
0.011864
false
0
0.008475
0
0.028814
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e3d079b0ac366654644d7bfe8c3c51abdf0bef18
308
py
Python
Afvaldienst/__init__.py
xirixiz/python-afvalwijzer-afvalstoffendienst
ef76b07033848a6f7092e941c6c4a3ec214f2842
[ "MIT" ]
1
2019-10-28T12:26:14.000Z
2019-10-28T12:26:14.000Z
Afvaldienst/__init__.py
xirixiz/afvaldienst
ef76b07033848a6f7092e941c6c4a3ec214f2842
[ "MIT" ]
3
2020-09-11T08:38:50.000Z
2020-09-23T07:08:44.000Z
Afvaldienst/__init__.py
xirixiz/python-afvalwijzer-afvalstoffendienst
ef76b07033848a6f7092e941c6c4a3ec214f2842
[ "MIT" ]
null
null
null
__author__ = 'Bram van Dartel - xirixiz' __author_email__ = 'spam@rootrulez.com' __license__ = 'MIT' __maintainer_email__ = 'spam@rootrulez.com' __url__ = 'https://github.com/xirixiz/afvaldienst', __version__ = '1.1.4' from .Afvaldienst import Afvaldienst from .AfvaldienstScraper import AfvaldienstScraper
30.8
51
0.788961
35
308
6.2
0.628571
0.082949
0.165899
0.193548
0
0
0
0
0
0
0
0.01083
0.100649
308
9
52
34.222222
0.772563
0
0
0
0
0
0.347403
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e3e5cb6c2267ca3e81be3aad88376455fe125b55
14,828
py
Python
nnef_tools/conversion/tensorflow/tf_pb_to_tf_py.py
rgiduthuri/NNEF-Tools
8a9971f897fb5a110dd254e0c20077213f257700
[ "Apache-2.0" ]
null
null
null
nnef_tools/conversion/tensorflow/tf_pb_to_tf_py.py
rgiduthuri/NNEF-Tools
8a9971f897fb5a110dd254e0c20077213f257700
[ "Apache-2.0" ]
null
null
null
nnef_tools/conversion/tensorflow/tf_pb_to_tf_py.py
rgiduthuri/NNEF-Tools
8a9971f897fb5a110dd254e0c20077213f257700
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017 The Khronos Group Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
50.435374
115
0.658956
1,863
14,828
4.960816
0.184648
0.088725
0.199091
0.251028
0.540251
0.505735
0.318005
0.168795
0.113179
0.098788
0
0.009277
0.207648
14,828
293
116
50.607509
0.777343
0.088211
0
0.095652
0
0
0.169424
0.017803
0
0
0
0
0.030435
1
0.021739
false
0
0.03913
0
0.073913
0.004348
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e3edc74364411dacd749db536296fed60fe22954
26,799
py
Python
django/docs/ref/contrib/auth.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
django/docs/ref/contrib/auth.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
django/docs/ref/contrib/auth.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX XXXX XXXXXXXX XXXXXXXX XXX XXXXXXXXX XXXXXXXX XXX XXX XXXXXXXXXX XX XXXXXXXX XXXXXXXXXXXXXX XXXXXXX XXX XXXX XXXXXXX XX XXX XXXXX XX XXXXX XXXXXXXXXX XX XXX XX XXXXXXXXX XXXXXXXXXXXXXX XXX XXXXXXXXXXXXX XXX XXX XXXXXXXXXXXXXXXXXXXX XXXXX XXXXX XXX...
38.12091
96
0.79044
2,713
26,799
7.807962
0.022484
0.019827
0.008922
0.003635
0.318746
0.252136
0.245999
0.225369
0.196289
0.175424
0
0
0.20956
26,799
702
97
38.175214
1
0
0
0.987705
0
0
0
0
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
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
e3f5aaf3ddf858989f83bcba1743ef73978162e1
2,411
py
Python
upgrade-insecure-requests/support/generate.py
Thezone1975/wpt
9e201113cf36aefe07fe9c14caa47705d541e141
[ "BSD-3-Clause" ]
1
2019-09-10T22:45:24.000Z
2019-09-10T22:45:24.000Z
upgrade-insecure-requests/support/generate.py
Thezone1975/wpt
9e201113cf36aefe07fe9c14caa47705d541e141
[ "BSD-3-Clause" ]
3
2017-10-06T15:45:34.000Z
2018-09-11T12:49:57.000Z
upgrade-insecure-requests/support/generate.py
Thezone1975/wpt
9e201113cf36aefe07fe9c14caa47705d541e141
[ "BSD-3-Clause" ]
null
null
null
# Usage: execute # $ python support/generate.py # at wpt/upgrade-insecure-requests/. # # Note: Some tests (link-upgrade.sub.https.html and # websocket-upgrade.https.html) are not covered by this generator script. template = '''<!DOCTYPE html> <html> <head> <!-- Generated by wpt/upgrade-insecure-requests/support/genera...
37.092308
89
0.690585
270
2,411
6.151852
0.411111
0.036123
0.055388
0.030704
0
0
0
0
0
0
0
0.002865
0.131481
2,411
64
90
37.671875
0.790353
0.164662
0
0
1
0
0.593812
0.293413
0
0
0
0.015625
0
1
0.020833
false
0
0.020833
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
2
e3f5cd033fa43c92ae4a7eb4ce55f52eab4be962
424
py
Python
model_constructor/mxresnet.py
ayasyrev/model_constructor
3759a02dd9f7aa1ca3e6a4a5aefe72380886207e
[ "Apache-2.0" ]
3
2020-08-02T09:18:27.000Z
2021-12-22T07:43:37.000Z
model_constructor/mxresnet.py
ayasyrev/model_constructor
3759a02dd9f7aa1ca3e6a4a5aefe72380886207e
[ "Apache-2.0" ]
16
2020-11-09T11:35:13.000Z
2021-12-23T13:04:54.000Z
model_constructor/mxresnet.py
ayasyrev/model_constructor
3759a02dd9f7aa1ca3e6a4a5aefe72380886207e
[ "Apache-2.0" ]
2
2020-04-08T20:56:48.000Z
2021-01-20T13:37:52.000Z
from functools import partial from .activations import Mish from .net import Net __all__ = ['mxresnet_parameters', 'mxresnet34', 'mxresnet50'] mxresnet_parameters = {'stem_sizes': [3, 32, 64, 64], 'act_fn': Mish()} mxresnet34 = partial(Net, name='MXResnet32', expansion=1, layers=[3, 4, 6, 3], **mxresnet_parameters...
32.615385
101
0.71934
56
424
5.267857
0.464286
0.244068
0.094915
0.061017
0.189831
0.189831
0.189831
0
0
0
0
0.077748
0.120283
424
12
102
35.333333
0.713137
0
0
0
0
0
0.176887
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
1
0
0
0
0
2
5419a767eec4a75f25fccde0e39c22e20a25e3d6
486
py
Python
setup.py
datamachines/classification-banner
53ae7ea1104000e60474955f7603c46024a1d06f
[ "Apache-2.0" ]
null
null
null
setup.py
datamachines/classification-banner
53ae7ea1104000e60474955f7603c46024a1d06f
[ "Apache-2.0" ]
1
2021-06-11T15:30:31.000Z
2021-06-14T12:58:21.000Z
setup.py
datamachines/classification-banner
53ae7ea1104000e60474955f7603c46024a1d06f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='classification-banner', version='1.0.0', description='Classification banner compatable with GTK3 and X11.', author='Mike May', author_email='mikemay@datamachines.io', url='https://www.github.com/datamachines/cl...
32.4
72
0.687243
55
486
6
0.709091
0.30303
0
0
0
0
0
0
0
0
0
0.014778
0.164609
486
14
73
34.714286
0.79803
0.041152
0
0
0
0
0.473118
0.193548
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
1
0
0
0
0
0
0
2
54286060601c97e4e84de6381203dae2af8365e8
1,184
py
Python
predict_form.py
HuginnM/UsedCarsUA
aa871c1bc6cdc1a84810db265c732b04cb4935f0
[ "Apache-2.0" ]
null
null
null
predict_form.py
HuginnM/UsedCarsUA
aa871c1bc6cdc1a84810db265c732b04cb4935f0
[ "Apache-2.0" ]
null
null
null
predict_form.py
HuginnM/UsedCarsUA
aa871c1bc6cdc1a84810db265c732b04cb4935f0
[ "Apache-2.0" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import SubmitField, SelectField, IntegerField, FloatField, StringField from wtforms.validators import DataRequired import pandas as pd uniq_vals = pd.read_csv("data/unique_cat_vals.csv", index_col=0) class InputData(FlaskForm): car = SelectField(label="Car", choices=u...
56.380952
121
0.754223
132
1,184
6.636364
0.371212
0.200913
0.10274
0.148402
0.216895
0
0
0
0
0
0
0.000939
0.100507
1,184
20
122
59.2
0.821596
0
0
0
0
0
0.090372
0.02027
0
0
0
0
0
1
0
false
0
0.25
0
0.9375
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
5429177713786c59d64d5d6d11764c591147502b
2,764
py
Python
color.py
laplacetw/color-codes-bot
e7afb5b09e7c4a5dde6608917781cc6a0ea05287
[ "MIT" ]
1
2020-10-21T01:26:09.000Z
2020-10-21T01:26:09.000Z
color.py
laplacetw/color-codes-bot
e7afb5b09e7c4a5dde6608917781cc6a0ea05287
[ "MIT" ]
null
null
null
color.py
laplacetw/color-codes-bot
e7afb5b09e7c4a5dde6608917781cc6a0ea05287
[ "MIT" ]
null
null
null
#!usr/bin/env python3 color_chart = { '1C1':[13.24, 88.89, 228.98, 0.], '1N1':[14.2, 95.37, 233.82, 0.], '1N2':[12.95, 91.79, 219.5, 0.], '1W1':[14.67, 103.64, 229.41, 0.], '1W2':[14.69, 106.34, 227.28, 0.], '2C0':[15.73, 134.68, 222.32, 0.], '2C1':[14.57, 125.89, 220.69, 0.], '2C3':[13.7, 103.72, 199.4...
86.375
109
0.48589
599
2,764
2.237062
0.380634
0.008955
0.008955
0.01194
0.020896
0.020896
0.020896
0
0
0
0
0.527085
0.158466
2,764
32
110
86.375
0.049011
0.007236
0
0
0
0
0.081997
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
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5429df166b3efe8e9b12e537d9c5a2b68d7af8f7
235
py
Python
leetCode/algorithms/easy/occurrences_after_bigram.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
leetCode/algorithms/easy/occurrences_after_bigram.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
leetCode/algorithms/easy/occurrences_after_bigram.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
from typing import List class Solution: def findOcurrences(self, text: str, first: str, second: str) -> List[str]: ls = text.split() return [c for a, b, c in zip(ls, ls[1:], ls[2:]) if a == first and b == second]
29.375
87
0.595745
39
235
3.589744
0.666667
0
0
0
0
0
0
0
0
0
0
0.011364
0.251064
235
7
88
33.571429
0.784091
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
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
1
0
0
2
5820f326461279dab8c970a64d716534511d2f87
2,478
py
Python
python/zdl/error_logger/error_logger/url_rules/report.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
python/zdl/error_logger/error_logger/url_rules/report.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
1
2016-09-15T07:06:15.000Z
2016-09-15T07:06:15.000Z
python/zdl/error_logger/error_logger/url_rules/report.py
wjiec/packages
4ccaf8f717265a1f8a9af533f9a998b935efb32a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # Copyright (C) 2017 import json import time from error_logger.url_rules import _base_url_rule # from error_logger.net import sms_notification, email_notification from error_logger.utils import generic class Report(_base_url_rule.BaseUrlRule): __url__ = '/report' __methods__ = ['POST...
36.441176
84
0.506053
263
2,478
4.509506
0.403042
0.010118
0.012648
0.013491
0.091906
0.05312
0.047218
0
0
0
0
0.00456
0.380549
2,478
67
85
36.985075
0.768078
0.058111
0
0
0
0
0.104635
0
0
0
0
0.014925
0
0
null
null
0.020833
0.083333
null
null
0.020833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
58252e686b16a8b93824251a6782b7d24afd2761
267
py
Python
project/wsgi.py
devluci/django-rest-base-boilerplate
0cf512e00aca66ebf9908351527d701cd421ccd4
[ "MIT" ]
null
null
null
project/wsgi.py
devluci/django-rest-base-boilerplate
0cf512e00aca66ebf9908351527d701cd421ccd4
[ "MIT" ]
null
null
null
project/wsgi.py
devluci/django-rest-base-boilerplate
0cf512e00aca66ebf9908351527d701cd421ccd4
[ "MIT" ]
null
null
null
import os from django.core.wsgi import get_wsgi_application from rest_base.utils import dotenv os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings') dotenv.load(os.path.join(os.path.dirname(__file__), '../.env')) application = get_wsgi_application()
26.7
67
0.797753
38
267
5.315789
0.605263
0.069307
0.178218
0
0
0
0
0
0
0
0
0
0.074906
267
9
68
29.666667
0.817814
0
0
0
0
0
0.168539
0.082397
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
583f4f6dd761e12a8aa4ad8d387f0bdd2b82f1de
9,545
py
Python
users/models.py
scoremaza/church_alive_backend
2ee7260aea51ec39972588dc4a346aa152356aa3
[ "MIT" ]
null
null
null
users/models.py
scoremaza/church_alive_backend
2ee7260aea51ec39972588dc4a346aa152356aa3
[ "MIT" ]
null
null
null
users/models.py
scoremaza/church_alive_backend
2ee7260aea51ec39972588dc4a346aa152356aa3
[ "MIT" ]
null
null
null
import os import uuid from django.db import models from django.contrib.auth.models import User from django.db.models.base import Model from django.db.models.enums import Choices, ChoicesMeta from django.db.models.fields.related import ForeignKey from django.utils.deconstruct import deconstructible @deconstructible cl...
32.355932
103
0.683394
1,085
9,545
5.843318
0.198157
0.053943
0.044164
0.033123
0.559937
0.488328
0.466877
0.450473
0.407256
0.38959
0
0.004623
0.22944
9,545
295
104
32.355932
0.857376
0.27627
0
0.406015
0
0
0.08791
0.038969
0
0
0
0
0
1
0.150376
false
0.075188
0.06015
0
0.75188
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
5856c891983edcd6b2efc2d720455bfccf0cdf79
1,491
py
Python
llist_gameboard/urls.py
Plongesam/data-structures-game
a47c849ea97763eff1005273a58aa3d8ab663ff2
[ "Apache-2.0" ]
2
2021-03-02T20:06:34.000Z
2021-03-31T02:51:35.000Z
llist_gameboard/urls.py
Plongesam/data-structures-game
a47c849ea97763eff1005273a58aa3d8ab663ff2
[ "Apache-2.0" ]
68
2021-03-02T20:20:21.000Z
2021-05-13T02:21:57.000Z
llist_gameboard/urls.py
Plongesam/data-structures-game
a47c849ea97763eff1005273a58aa3d8ab663ff2
[ "Apache-2.0" ]
null
null
null
""" URL's for the LList Game Board app. """ from django.urls import path from llist_gameboard.api import llist_api from . import views urlpatterns = [ # Views path('', views.llist_game_board, name='llist-game-board'), #Game Play API Calls For Linked List path('llist_api', llist_api.api_overview,...
59.64
147
0.733736
242
1,491
4.272727
0.18595
0.162476
0.176015
0.191489
0.357834
0.162476
0.069633
0.069633
0.069633
0.069633
0
0
0.085178
1,491
25
148
59.64
0.758065
0.052314
0
0
0
0
0.562455
0.544611
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
585b570f1181a34255df0bd7a81ffc1c67034916
5,311
py
Python
csl-tracking-dependents.py
Marcool04/utilities
d9bf0aae7decdad111fc0c8cefacf10c230ce9ee
[ "MIT" ]
10
2015-04-14T16:49:43.000Z
2020-06-01T14:31:04.000Z
csl-tracking-dependents.py
Marcool04/utilities
d9bf0aae7decdad111fc0c8cefacf10c230ce9ee
[ "MIT" ]
23
2015-01-20T04:13:35.000Z
2021-09-07T18:36:00.000Z
csl-tracking-dependents.py
Marcool04/utilities
d9bf0aae7decdad111fc0c8cefacf10c230ce9ee
[ "MIT" ]
6
2015-01-10T13:00:37.000Z
2021-09-19T09:25:22.000Z
# -*- coding: utf-8 -*- # Python script to manage automatically generated dependents # Author: Rintze M. Zelle # Version: 2014-04-17 # * Requires lxml library (http://lxml.de/) import os, glob, re, inspect, shutil from lxml import etree # http://stackoverflow.com/questions/50499 folderPath = os.path.dirname(os.path....
44.630252
148
0.656562
614
5,311
5.666124
0.343648
0.027594
0.022995
0.020121
0.165277
0.114976
0.101179
0.063811
0
0
0
0.00882
0.21013
5,311
118
149
45.008475
0.820501
0.45434
0
0.096154
1
0.038462
0.219598
0.017624
0
0
0
0
0
0
null
null
0
0.038462
null
null
0.115385
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
1
0
0
0
0
0
0
0
0
2
585f06a860286b312d33973ef25ef2866dfc0808
642
py
Python
selenium_browser/__resources/constants.py
kkristof200/selenium_browser
b8144fe935073367911e90b50f078bfa985d6c0f
[ "MIT" ]
1
2021-06-25T06:55:43.000Z
2021-06-25T06:55:43.000Z
selenium_browser/__resources/constants.py
kkristof200/selenium_browser
b8144fe935073367911e90b50f078bfa985d6c0f
[ "MIT" ]
null
null
null
selenium_browser/__resources/constants.py
kkristof200/selenium_browser
b8144fe935073367911e90b50f078bfa985d6c0f
[ "MIT" ]
null
null
null
# ------------------------------------------------------- class: Constants ------------------------------------------------------- # class Constants: # --------------------------------------------------- Public properties -------------------------------------------------- # USER_AGENT_FILE_NAME = 'ua....
45.857143
132
0.311526
34
642
5.470588
0.705882
0.150538
0
0
0
0
0
0
0
0
0
0.003546
0.121495
642
14
133
45.857143
0.326241
0.5919
0
0
0
0
0.156863
0.090196
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
5861890f40c195d9d9cd8464fdd3da892466f679
8,080
py
Python
python/mxnet/context.py
feevos/incubator-mxnet
275378a49a6035fd5bdead4a74ac36b6070295a7
[ "Apache-2.0" ]
null
null
null
python/mxnet/context.py
feevos/incubator-mxnet
275378a49a6035fd5bdead4a74ac36b6070295a7
[ "Apache-2.0" ]
null
null
null
python/mxnet/context.py
feevos/incubator-mxnet
275378a49a6035fd5bdead4a74ac36b6070295a7
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
30.490566
91
0.627104
1,074
8,080
4.55959
0.221601
0.050643
0.03982
0.026547
0.385134
0.326118
0.304268
0.279151
0.254441
0.216051
0
0.011122
0.254455
8,080
264
92
30.606061
0.801793
0.56052
0
0.21875
0
0
0.138718
0.037491
0
0
0
0
0
1
0.21875
false
0
0.0625
0.03125
0.515625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
58618a4465a15f955aaa88fd0bac8fbce9ce5c48
3,422
py
Python
theory/model/tconfig.py
ralfonso/theory
41684969313cfc545d74b306e409fd5bf21387b3
[ "MIT" ]
4
2015-07-03T19:53:59.000Z
2016-04-25T03:03:56.000Z
theory/model/tconfig.py
ralfonso/theory
41684969313cfc545d74b306e409fd5bf21387b3
[ "MIT" ]
null
null
null
theory/model/tconfig.py
ralfonso/theory
41684969313cfc545d74b306e409fd5bf21387b3
[ "MIT" ]
2
2020-03-29T22:02:29.000Z
2021-07-13T07:17:19.000Z
# theory MPD client # Copyright (C) 2008 Ryan Roemmich <ralfonso@gmail.com> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ve...
34.918367
108
0.630333
425
3,422
5.018824
0.397647
0.029536
0.026254
0.026723
0.038444
0.026254
0
0
0
0
0
0.002768
0.260959
3,422
97
109
35.278351
0.840648
0.22706
0
0.135593
0
0
0.115552
0
0
0
0
0
0
0
null
null
0.152542
0.067797
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
1
0
0
0
0
0
2
586f8df02b72779b1db755aeb20b5f85e4d788d2
350
py
Python
app/models/methods/set_device_info_method.py
luisalvesmartins/TAPO-P100
02bc929a87bbe4681739b14a716f6cef2b159fd1
[ "MIT" ]
null
null
null
app/models/methods/set_device_info_method.py
luisalvesmartins/TAPO-P100
02bc929a87bbe4681739b14a716f6cef2b159fd1
[ "MIT" ]
1
2021-06-23T09:21:40.000Z
2021-07-02T17:21:12.000Z
app/models/methods/set_device_info_method.py
luisalvesmartins/TAPO-P100
02bc929a87bbe4681739b14a716f6cef2b159fd1
[ "MIT" ]
null
null
null
from models.methods import method from typing import Any class SetDeviceInfoMethod(method.Method): def __init__(self, params: Any): super().__init__("set_device_info", params) def set_request_time_milis(self, t: float): self.requestTimeMils = t def set_terminal_uuid(self, uuid: str): ...
25
51
0.708571
45
350
5.177778
0.6
0.051502
0
0
0
0
0
0
0
0
0
0
0.2
350
13
52
26.923077
0.832143
0
0
0
0
0
0.042857
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
58731f101956f7789a536c381812a3703830d466
262
py
Python
m2-modified/ims/common/agentless-system-crawler/crawler/plugins/emitters/http_emitter.py
CCI-MOC/ABMI
955c12ae9d2dc7afe7323f6c25f2af120f5b281a
[ "Apache-2.0" ]
108
2015-07-21T10:40:36.000Z
2021-07-01T06:54:51.000Z
m2-modified/ims/common/agentless-system-crawler/crawler/plugins/emitters/http_emitter.py
CCI-MOC/ABMI
955c12ae9d2dc7afe7323f6c25f2af120f5b281a
[ "Apache-2.0" ]
320
2015-07-21T01:33:20.000Z
2020-07-21T15:57:02.000Z
m2-modified/ims/common/agentless-system-crawler/crawler/plugins/emitters/http_emitter.py
CCI-MOC/ABMI
955c12ae9d2dc7afe7323f6c25f2af120f5b281a
[ "Apache-2.0" ]
61
2015-07-20T18:26:37.000Z
2021-03-17T01:18:54.000Z
import logging from iemit_plugin import IEmitter from plugins.emitters.base_http_emitter import BaseHttpEmitter logger = logging.getLogger('crawlutils') class HttpEmitter(BaseHttpEmitter, IEmitter): def get_emitter_protocol(self): return 'http'
20.153846
62
0.793893
30
262
6.766667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.141221
262
12
63
21.833333
0.902222
0
0
0
0
0
0.053435
0
0
0
0
0
0
1
0.142857
false
0
0.428571
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
1
1
0
0
0
2
5883b253d513cb80bd2362de5b0a8311d18ca8c7
3,305
py
Python
blog/models.py
Libor03/django-final
e29dc3237252c7b0fcfea13d948ed54ffe6d0339
[ "CC0-1.0" ]
null
null
null
blog/models.py
Libor03/django-final
e29dc3237252c7b0fcfea13d948ed54ffe6d0339
[ "CC0-1.0" ]
null
null
null
blog/models.py
Libor03/django-final
e29dc3237252c7b0fcfea13d948ed54ffe6d0339
[ "CC0-1.0" ]
null
null
null
from django.core.files.storage import FileSystemStorage from django.db import models # Create your models here. from datetime import date from django.urls import reverse #Used to generate URLs by reversing the URL patterns from django.contrib.auth.models import User #Blog author or commenter def attachment_path(ins...
36.722222
135
0.698033
418
3,305
5.406699
0.478469
0.038938
0.047788
0.063717
0.075664
0.075664
0.075664
0.075664
0.075664
0.054867
0
0.006795
0.198487
3,305
90
136
36.722222
0.846357
0.36944
0
0.190476
1
0
0.152152
0
0
0
0
0
0
1
0.142857
false
0
0.119048
0.071429
0.785714
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
1
0
0
2
588c8d695d5770a68e19da667343fb316670eec3
195
py
Python
tests/commands/types/test_flag_param.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
8
2020-08-10T20:57:24.000Z
2021-08-08T10:46:20.000Z
tests/commands/types/test_flag_param.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
null
null
null
tests/commands/types/test_flag_param.py
cicdenv/cicdenv
5b72fd9ef000bf07c2052471b59edaa91af18778
[ "MIT" ]
1
2020-08-10T20:42:09.000Z
2020-08-10T20:42:09.000Z
from cicdctl.commands.types.flag import FlagParamType def test_flag(): flag = '-no-color' parsed = FlagParamType().convert(value=flag, param=None, context={}) assert flag == parsed
24.375
72
0.702564
24
195
5.666667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.164103
195
7
73
27.857143
0.834356
0
0
0
0
0
0.046154
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
589f45393545cfab296cec7cb3f2cc4a519dd5d0
570
py
Python
vaccine_tracker/email.py
Shishir-Bondre/content-alerts
37be34c781338ef3968e1257f5c0d1148bb022e5
[ "Apache-2.0" ]
null
null
null
vaccine_tracker/email.py
Shishir-Bondre/content-alerts
37be34c781338ef3968e1257f5c0d1148bb022e5
[ "Apache-2.0" ]
null
null
null
vaccine_tracker/email.py
Shishir-Bondre/content-alerts
37be34c781338ef3968e1257f5c0d1148bb022e5
[ "Apache-2.0" ]
null
null
null
def email_subject(center_name): return f"[Urgent Reminder] Vaccine slot is now available at {center_name}" def email_body(email_data): return f"Hi, \n" \ f"Vaccine slot is available for below centers \n " \ f"Center name and available data \n {email_data} \n" \ f"Please regis...
38
92
0.615789
84
570
4.095238
0.583333
0.040698
0.075581
0
0
0
0
0
0
0
0
0.028846
0.270175
570
14
93
40.714286
0.798077
0
0
0
0
0
0.629174
0
0
0
0
0
0
1
0.181818
false
0
0
0.181818
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
58a1f761a8b86a42b461b76e20b0ebb5fa21fa7a
4,098
py
Python
src/sage/modules/vector_symbolic_dense.py
sloebrich/sage
b8f53f72e817e78722ad1b40d70aa9071426700b
[ "BSL-1.0" ]
1
2020-05-19T22:34:03.000Z
2020-05-19T22:34:03.000Z
src/sage/modules/vector_symbolic_dense.py
sbt4104/sage
2cbd93e0b78dec701f4b7ad9271d3b1e967bcd6c
[ "BSL-1.0" ]
null
null
null
src/sage/modules/vector_symbolic_dense.py
sbt4104/sage
2cbd93e0b78dec701f4b7ad9271d3b1e967bcd6c
[ "BSL-1.0" ]
3
2020-03-29T17:13:36.000Z
2021-05-03T18:11:28.000Z
""" Vectors over the symbolic ring. Implements vectors over the symbolic ring. AUTHORS: - Robert Bradshaw (2011-05-25): Added more element-wise simplification methods - Joris Vankerschaver (2011-05-15): Initial version EXAMPLES:: sage: x, y = var('x, y') sage: u = vector([sin(x)^2 + cos(x)^2, log(2*y) + l...
34.728814
108
0.59346
575
4,098
4.085217
0.26087
0.013623
0.0149
0.03576
0.392933
0.36143
0.354193
0.340145
0.300128
0.300128
0
0.026738
0.224256
4,098
117
109
35.025641
0.712174
0.751586
0
0
0
0
0.217848
0
0
0
0
0
0
1
0.133333
false
0.066667
0.2
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
58a66b1c1e9cbe9103fe7260fec4a45f53280f13
495
py
Python
baya/tests/models.py
hrichards/baya
f319cef5e95cd6a166265d51ae0ea236b6f65be3
[ "MIT" ]
null
null
null
baya/tests/models.py
hrichards/baya
f319cef5e95cd6a166265d51ae0ea236b6f65be3
[ "MIT" ]
1
2018-12-28T16:53:42.000Z
2018-12-28T16:53:42.000Z
baya/tests/models.py
hrichards/baya
f319cef5e95cd6a166265d51ae0ea236b6f65be3
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Blag(models.Model): name = models.CharField(max_length=128) class BlagEntry(models.Model): blag = models.ForeignKey(Blag) title = models.CharField(max_length=255) body = models.TextField() class Meta: verbose_name_plural = "...
21.521739
47
0.711111
65
495
5.338462
0.538462
0.086455
0.15562
0.207493
0.386167
0.386167
0.386167
0.386167
0.386167
0.386167
0
0.022556
0.193939
495
22
48
22.5
0.847118
0.133333
0
0.333333
0
0
0.016432
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.916667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
58a742e0b8ad8aa4381262e4194d124ffb86733b
6,241
py
Python
version/v 4.0/spider/config.py
zhong-yan/neteasenews
4dda8ef13d44f08e90e3869f4a7d972fb4b9feed
[ "Apache-2.0" ]
null
null
null
version/v 4.0/spider/config.py
zhong-yan/neteasenews
4dda8ef13d44f08e90e3869f4a7d972fb4b9feed
[ "Apache-2.0" ]
null
null
null
version/v 4.0/spider/config.py
zhong-yan/neteasenews
4dda8ef13d44f08e90e3869f4a7d972fb4b9feed
[ "Apache-2.0" ]
null
null
null
from selenium import webdriver BASE_URL = 'http://news.163.com/' # 首页ajax内容,无人机ajax,其实后面?callback=data_callback'可以省略 # 如何快速找到json链接?现在只能手工完成..添加每一个json文档 JSON_INDEX_URLS = [ 'http://temp.163.com/special/00804KVA/cm_yaowen.js?callback=data_callback', 'http://house.163.com/special/00078GU7/guangzhou_xw_news_v1.j...
54.745614
92
0.737863
881
6,241
5.059024
0.205448
0.099619
0.148755
0.241867
0.661207
0.629347
0.59457
0.566525
0.529953
0.529953
0
0.102505
0.091812
6,241
114
93
54.745614
0.683839
0.042621
0
0
0
0.01087
0.821021
0.00638
0
0
0
0
0
1
0
false
0
0.01087
0
0.01087
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5438824c4ced393aa643d5e74bfabb01555d5d5c
2,037
py
Python
components/siren.py
TalaoDAO/ecole42
2236f24527966195c953f222f9715ee967348b0f
[ "Apache-2.0" ]
1
2021-09-22T16:30:57.000Z
2021-09-22T16:30:57.000Z
components/siren.py
TalaoDAO/credential-repository
d36c694d9e90ead8a35bd8cc5be47c6d951474ba
[ "Apache-2.0" ]
null
null
null
components/siren.py
TalaoDAO/credential-repository
d36c694d9e90ead8a35bd8cc5be47c6d951474ba
[ "Apache-2.0" ]
null
null
null
import requests def company(SIREN): r = requests.get('https://entreprise.data.gouv.fr/api/sirene/v2/siren/'+SIREN+'') json_object = r.json() settings = dict() if json_object['sirene']['status'] == 404: return None if json_object['sirene']['data']['siege_social']['nom_raison_sociale'...
55.054054
370
0.571919
228
2,037
4.894737
0.434211
0.134409
0.200717
0.232975
0.524194
0.522401
0.437276
0.297491
0.297491
0.11828
0
0.065635
0.207167
2,037
36
371
56.583333
0.625387
0
0
0.125
0
0
0.383308
0.061969
0
0
0
0
0
1
0.03125
false
0
0.03125
0
0.125
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
543dd03030508ee683df7a6d3985dc5051235db5
277
py
Python
tests/test_learner.py
luksurious/faster-teaching
1493311d5b723ca3f216f537bda8db5907196443
[ "MIT" ]
2
2020-08-06T13:21:51.000Z
2021-04-15T04:29:03.000Z
tests/test_learner.py
luksurious/faster-teaching
1493311d5b723ca3f216f537bda8db5907196443
[ "MIT" ]
null
null
null
tests/test_learner.py
luksurious/faster-teaching
1493311d5b723ca3f216f537bda8db5907196443
[ "MIT" ]
null
null
null
from concepts.letter_addition import LetterAddition from learners.sim_memoryless_learner import SimMemorylessLearner def test_see_example(): concept = LetterAddition(6) learner = SimMemorylessLearner(concept, list(range(0, 7))) learner.see_example(((0, 1), 10))
27.7
64
0.776173
33
277
6.333333
0.69697
0.095694
0
0
0
0
0
0
0
0
0
0.029046
0.129964
277
9
65
30.777778
0.838174
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
543ed68a45e19a13dd2f2c914498c100fd410df9
784
py
Python
src/homework/i_dictionaries_sets/dictionary.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-WillCapo
426db13aa4d5f6005d7079007ff5fdf114ef649e
[ "MIT" ]
null
null
null
src/homework/i_dictionaries_sets/dictionary.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-WillCapo
426db13aa4d5f6005d7079007ff5fdf114ef649e
[ "MIT" ]
null
null
null
src/homework/i_dictionaries_sets/dictionary.py
acc-cosc-1336-spring-2022/acc-cosc-1336-spring-2022-WillCapo
426db13aa4d5f6005d7079007ff5fdf114ef649e
[ "MIT" ]
1
2022-02-09T02:28:56.000Z
2022-02-09T02:28:56.000Z
def get_p_distance(list1, list2): count = 0 i = 0 while i < len(list1): if (list1[i] != list2[i]): count += .1 i += 1 return count def get_p_distance_matrix(list1, list2, list3, list4): dna1 = get_p_distance(list1, list1), get_p_distance(list1, list2), get_p_distance(lis...
52.266667
129
0.69898
123
784
4.154472
0.170732
0.1409
0.422701
0.166341
0.086106
0
0
0
0
0
0
0.082171
0.177296
784
15
130
52.266667
0.710078
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
543fd7e53080b049a8ec4e7ace7dac2f370068e8
38,634
py
Python
pysnmp-with-texts/ZHONE-COM-IP-FILTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/ZHONE-COM-IP-FILTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/ZHONE-COM-IP-FILTER-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ZHONE-COM-IP-FILTER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZHONE-COM-IP-FILTER-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:47:04 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
168.707424
2,566
0.786354
5,008
38,634
6.065695
0.153355
0.054515
0.095401
0.008822
0.396385
0.250058
0.21536
0.202456
0.172466
0.14455
0
0.049883
0.106978
38,634
228
2,567
169.447368
0.830585
0.008801
0
0
0
0.15
0.461956
0.014523
0
0
0
0
0
1
0
false
0.009091
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54520f95709f73e2e760152d29139cc05ba229e9
218
py
Python
badgify/apps.py
BrendanBerkley/django-badgify
61203e92cb76982f778caf168d371a72a401db10
[ "MIT" ]
null
null
null
badgify/apps.py
BrendanBerkley/django-badgify
61203e92cb76982f778caf168d371a72a401db10
[ "MIT" ]
null
null
null
badgify/apps.py
BrendanBerkley/django-badgify
61203e92cb76982f778caf168d371a72a401db10
[ "MIT" ]
null
null
null
from django.apps import AppConfig class BadgifyConfig(AppConfig): name = 'badgify' verbose_name = 'Badgify' def ready(self): super(BadgifyConfig, self).ready() self.module.autodiscover()
19.818182
42
0.674312
23
218
6.347826
0.695652
0.150685
0
0
0
0
0
0
0
0
0
0
0.220183
218
10
43
21.8
0.858824
0
0
0
0
0
0.06422
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
54670eac7c97edca8f6b8dd01151c748a6156511
9,940
py
Python
bin/genparams.py
neonkingfr/VizBench
e41f559cb6e761d717f2f5b202482d5d8dacd2d8
[ "MIT" ]
7
2015-01-05T06:32:49.000Z
2020-10-30T19:29:07.000Z
bin/genparams.py
neonkingfr/VizBench
e41f559cb6e761d717f2f5b202482d5d8dacd2d8
[ "MIT" ]
null
null
null
bin/genparams.py
neonkingfr/VizBench
e41f559cb6e761d717f2f5b202482d5d8dacd2d8
[ "MIT" ]
4
2016-03-09T22:29:26.000Z
2021-04-07T13:52:28.000Z
# This script reads *VizParams.list files that define Vizlet parameters # and generates .h files for them, making runtime access to them much faster. # This allows new parameters to be added just by editing one file. import sys import os import re types={"bool":"BOOL","int":"INT","double":"DBL","string":"STR"} realt...
27.458564
124
0.609557
1,308
9,940
4.610092
0.204128
0.05141
0.012935
0.025871
0.380929
0.276949
0.218905
0.182255
0.138806
0.130182
0
0.008774
0.162978
9,940
361
125
27.534626
0.715865
0.119417
0
0.506993
1
0.003497
0.321404
0.042232
0
0
0
0
0
0
null
null
0
0.01049
null
null
0.017483
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
1
0
0
0
0
0
0
0
0
2
5468626a4d8739106b686cc86e072541eeccc86e
956
py
Python
reporter-cli/sql-pdf/python/src/reporterprimary/__init__.py
rgolubtsov/reporter-multilang
6d7e04bbd57342ea80e1beccea3c4de1b1c4e203
[ "Unlicense" ]
3
2017-04-28T16:40:22.000Z
2019-02-22T16:57:12.000Z
reporter-cli/sql-pdf/python/src/reporterprimary/__init__.py
rgolubtsov/reporter-multilang
6d7e04bbd57342ea80e1beccea3c4de1b1c4e203
[ "Unlicense" ]
46
2017-01-17T01:10:15.000Z
2019-06-13T20:45:12.000Z
reporter-cli/sql-pdf/python/src/reporterprimary/__init__.py
rgolubtsov/reporter-multilang
6d7e04bbd57342ea80e1beccea3c4de1b1c4e203
[ "Unlicense" ]
1
2017-07-06T14:18:55.000Z
2017-07-06T14:18:55.000Z
# -*- coding: utf-8 -*- # reporter-cli/sql-pdf/python/src/reporterprimary/__init__.py # ============================================================================= # Reporter Multilang. Version 0.5.9 # ============================================================================= # A tool to generate human-readable re...
45.52381
79
0.561715
115
956
4.634783
0.808696
0.022514
0
0
0
0
0
0
0
0
0
0.016807
0.128661
956
20
80
47.8
0.623049
0.957113
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
547d39324fd1deeba259dcc2ee665fe787ad6b6c
1,055
py
Python
sphecius/ciphers/base.py
douglasdaly/sphecius
df8fc8dd2add157c6360c2b66cb22ac6f0241051
[ "MIT" ]
1
2019-09-26T01:08:20.000Z
2019-09-26T01:08:20.000Z
sphecius/ciphers/base.py
douglasdaly/sphecius
df8fc8dd2add157c6360c2b66cb22ac6f0241051
[ "MIT" ]
null
null
null
sphecius/ciphers/base.py
douglasdaly/sphecius
df8fc8dd2add157c6360c2b66cb22ac6f0241051
[ "MIT" ]
1
2019-09-26T01:08:19.000Z
2019-09-26T01:08:19.000Z
# -*- coding: utf-8 -*- """ base.py Base Cipher Object class @author: Douglas Daly @date: 1/12/2017 """ # # Imports # from abc import ABCMeta, abstractmethod from ..alphabets import English # # Classes # class Cipher(object, metaclass=ABCMeta): """ Base Cipher Class """ def __init__(self,...
16.484375
50
0.57346
112
1,055
5.330357
0.482143
0.080402
0.033501
0.053601
0.073702
0
0
0
0
0
0
0.01122
0.324171
1,055
63
51
16.746032
0.826087
0.42654
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.142857
0.142857
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
54835562ea5262f2ee7bb00d7ceac361aa51a6f1
226
py
Python
lnd/utils.py
gsmadi/lightningpy
14f4cc2dd5eb8726a06db8798944302974b890aa
[ "MIT" ]
null
null
null
lnd/utils.py
gsmadi/lightningpy
14f4cc2dd5eb8726a06db8798944302974b890aa
[ "MIT" ]
3
2019-08-21T11:51:52.000Z
2019-10-07T11:51:45.000Z
lnd/utils.py
smadici-labs/pylnd
14f4cc2dd5eb8726a06db8798944302974b890aa
[ "MIT" ]
null
null
null
import codecs def encode_macaroon(macaroon): encoded_macaroon = codecs.encode(macaroon, 'hex') return encoded_macaroon def read_file(file_path): opened_file = open(file_path, 'rb').read() return opened_file
20.545455
53
0.738938
30
226
5.3
0.466667
0.176101
0
0
0
0
0
0
0
0
0
0
0.163717
226
11
54
20.545455
0.84127
0
0
0
0
0
0.022026
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5497dc6a086f32d3001f4b0c68ed070534942148
179
py
Python
tests/_compat.py
lanius/hunk
bba04d9fb7f37c378ea41bc934c3a02401e34fe6
[ "MIT" ]
1
2015-04-03T08:35:41.000Z
2015-04-03T08:35:41.000Z
tests/_compat.py
lanius/hunk
bba04d9fb7f37c378ea41bc934c3a02401e34fe6
[ "MIT" ]
null
null
null
tests/_compat.py
lanius/hunk
bba04d9fb7f37c378ea41bc934c3a02401e34fe6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import sys PY2 = sys.version_info[0] == 2 if not PY2: json_text = lambda rv: rv.data.decode(rv.charset) else: json_text = lambda rv: rv.data
12.785714
53
0.625698
30
179
3.633333
0.666667
0.146789
0.256881
0.293578
0.40367
0.40367
0
0
0
0
0
0.035971
0.223464
179
13
54
13.769231
0.748201
0.117318
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54990a8312bff53b0e8f90e7a2361334c451c834
1,625
py
Python
osbot_aws/helpers/IAM_Policy.py
artem7902/OSBot-AWS
4b676b8323f18d3d9809d41263f3a71745ec2828
[ "Apache-2.0" ]
null
null
null
osbot_aws/helpers/IAM_Policy.py
artem7902/OSBot-AWS
4b676b8323f18d3d9809d41263f3a71745ec2828
[ "Apache-2.0" ]
null
null
null
osbot_aws/helpers/IAM_Policy.py
artem7902/OSBot-AWS
4b676b8323f18d3d9809d41263f3a71745ec2828
[ "Apache-2.0" ]
null
null
null
from osbot_aws.apis.IAM import IAM class IAM_Policy: def __init__(self, policy_name=None, policy_path=None): self.iam = IAM() self.policy_name = policy_name self.version = "2012-10-17" self.statements = [] self.policy_path = policy_path self.account_id ...
36.111111
123
0.649846
198
1,625
5.10101
0.242424
0.09901
0.069307
0.094059
0.233663
0
0
0
0
0
0
0.006478
0.24
1,625
44
124
36.931818
0.811336
0
0
0
0
0
0.086823
0
0
0
0
0
0
1
0.3125
false
0
0.03125
0.21875
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
549ee02e71d944702ec6c3b3ab3e03cf388c6552
458
py
Python
tests/test_eeg.py
y1ngyang/NeuroKit.py
867655f84bf210626649bca72258af6a2b5a2791
[ "MIT" ]
null
null
null
tests/test_eeg.py
y1ngyang/NeuroKit.py
867655f84bf210626649bca72258af6a2b5a2791
[ "MIT" ]
null
null
null
tests/test_eeg.py
y1ngyang/NeuroKit.py
867655f84bf210626649bca72258af6a2b5a2791
[ "MIT" ]
null
null
null
import pytest import doctest import os import numpy as np import pandas as pd import neurokit as nk run_tests_in_local = False #============================================================================== # data #============================================================================== #def test_read_acqknow...
16.962963
79
0.458515
42
458
4.595238
0.690476
0
0
0
0
0
0
0
0
0
0
0.005076
0.139738
458
26
80
17.615385
0.484772
0.526201
0
0
0
0
0.038278
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
54a4f81f72eecfec1f015beea32efd5b9edfa7de
168
py
Python
Curso-em-video-Python3-mundo1/ex024.py
bernardombraga/Solucoes-exercicios-cursos-gratuitos
0347a8325443fce84e0a753c96f523a22858537b
[ "MIT" ]
null
null
null
Curso-em-video-Python3-mundo1/ex024.py
bernardombraga/Solucoes-exercicios-cursos-gratuitos
0347a8325443fce84e0a753c96f523a22858537b
[ "MIT" ]
null
null
null
Curso-em-video-Python3-mundo1/ex024.py
bernardombraga/Solucoes-exercicios-cursos-gratuitos
0347a8325443fce84e0a753c96f523a22858537b
[ "MIT" ]
null
null
null
entrada = str(input('Em que cidade você nasceu? ')) cidade = entrada.strip().lower() partido = cidade.split() pnome = partido[0] santo = (pnome == 'santo') print(santo)
28
51
0.684524
23
168
5
0.695652
0
0
0
0
0
0
0
0
0
0
0.006849
0.130952
168
6
52
28
0.780822
0
0
0
0
0
0.189349
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
54b1f3e83d93705cfe337ba5f02b4044fdd2e4b8
70
py
Python
decimal to binary.py
Kshitijkrishnadas/haribol
ca45e633baaabaad3bb923f5633340ccf88d996c
[ "bzip2-1.0.6" ]
null
null
null
decimal to binary.py
Kshitijkrishnadas/haribol
ca45e633baaabaad3bb923f5633340ccf88d996c
[ "bzip2-1.0.6" ]
null
null
null
decimal to binary.py
Kshitijkrishnadas/haribol
ca45e633baaabaad3bb923f5633340ccf88d996c
[ "bzip2-1.0.6" ]
null
null
null
a='' n=int(input()) while n != 0: a=str(n%2)+a n//=2 print(a)
10
16
0.457143
16
70
2
0.5625
0.125
0
0
0
0
0
0
0
0
0
0.056604
0.242857
70
6
17
11.666667
0.54717
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
49a800c2275f46ea1981d8aa809ee37691f78025
1,330
py
Python
lottery/branch/retrain.py
chenw23/open_lth
2ce732fe48abd5a80c10a153c45d397b048e980c
[ "MIT" ]
509
2020-05-07T16:45:46.000Z
2022-03-28T13:41:36.000Z
lottery/branch/retrain.py
chenw23/open_lth
2ce732fe48abd5a80c10a153c45d397b048e980c
[ "MIT" ]
12
2020-06-10T10:07:09.000Z
2022-02-03T01:57:32.000Z
lottery/branch/retrain.py
chenw23/open_lth
2ce732fe48abd5a80c10a153c45d397b048e980c
[ "MIT" ]
103
2020-05-07T21:40:06.000Z
2022-03-11T19:07:55.000Z
# Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import datasets.registry from foundations import hparams from foundations.step import Step from lottery.branch import base import models.regist...
35.945946
118
0.72406
176
1,330
5.295455
0.431818
0.048283
0.048283
0.032189
0.062232
0.062232
0
0
0
0
0
0.00095
0.208271
1,330
36
119
36.944444
0.884141
0.144361
0
0.076923
0
0
0.049426
0
0
0
0
0
0
1
0.115385
false
0
0.307692
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
49abd960ef01b21e1a602cfce947ec5f7f32f14e
3,182
py
Python
pychron/processing/analysis_graph.py
aelamspychron/pychron
ad87c22b0817c739c7823a24585053041ee339d5
[ "Apache-2.0" ]
null
null
null
pychron/processing/analysis_graph.py
aelamspychron/pychron
ad87c22b0817c739c7823a24585053041ee339d5
[ "Apache-2.0" ]
20
2020-09-09T20:58:39.000Z
2021-10-05T17:48:37.000Z
pychron/processing/analysis_graph.py
aelamspychron/pychron
ad87c22b0817c739c7823a24585053041ee339d5
[ "Apache-2.0" ]
null
null
null
# =============================================================================== # Copyright 2013 Jake Ross # # 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/licens...
33.851064
100
0.653363
345
3,182
5.802899
0.35942
0.035964
0.050949
0.056943
0.272727
0.22977
0.16983
0.16983
0.16983
0.16983
0
0.002992
0.159648
3,182
93
101
34.215054
0.745699
0.313011
0
0.159091
0
0
0.152887
0.0097
0
0
0
0
0
1
0.295455
false
0.045455
0.113636
0.090909
0.681818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
49b84672d25848b03244c392641967f515178752
1,395
py
Python
examples/tx_rpc_client_ssl.py
jakm/txmsgpackrpc
9ff15fd7a7cd412d246d4e4937a5c56365f0d6be
[ "MIT" ]
18
2015-01-19T15:27:02.000Z
2018-12-29T17:30:36.000Z
examples/tx_rpc_client_ssl.py
jakm/txmsgpackrpc
9ff15fd7a7cd412d246d4e4937a5c56365f0d6be
[ "MIT" ]
6
2015-05-27T11:28:18.000Z
2016-12-19T06:35:55.000Z
examples/tx_rpc_client_ssl.py
jakm/txmsgpackrpc
9ff15fd7a7cd412d246d4e4937a5c56365f0d6be
[ "MIT" ]
4
2015-03-24T22:18:27.000Z
2018-02-05T18:12:45.000Z
from twisted.internet import defer, reactor @defer.inlineCallbacks def main(): try: from txmsgpackrpc.client import connect c = yield connect('localhost', 8000, ssl=True, connectTimeout=5, waitTimeout=5) data = { 'firstName': 'John', 'lastName': 'S...
27.352941
87
0.387097
98
1,395
5.408163
0.765306
0.041509
0
0
0
0
0
0
0
0
0
0.063676
0.50466
1,395
50
88
27.9
0.703329
0
0
0
0
0
0.156272
0
0
0
0
0
0.02381
0
null
null
0
0.071429
null
null
0.047619
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
1
0
0
0
0
0
0
0
0
2
49c52e67e91490b5205014ce1748575c1b06124d
9,647
py
Python
ocradmin/lib/fcrepo/http/interfaces.py
mikesname/ocropodium
a3e379cca38dc1999349bf4e9b5608e81dc54b10
[ "Apache-2.0" ]
2
2015-03-30T16:36:51.000Z
2016-06-15T01:39:47.000Z
ocradmin/lib/fcrepo/http/interfaces.py
mikesname/ocropodium
a3e379cca38dc1999349bf4e9b5608e81dc54b10
[ "Apache-2.0" ]
2
2021-06-10T17:43:54.000Z
2021-12-13T19:40:08.000Z
ocradmin/lib/fcrepo/http/interfaces.py
mikesname/ocropodium
a3e379cca38dc1999349bf4e9b5608e81dc54b10
[ "Apache-2.0" ]
1
2015-11-08T00:40:11.000Z
2015-11-08T00:40:11.000Z
""" Interfaces for FCRepoRequestFactory, FCRepoResponse and FCRepoResponseBody. """ from exceptions import NotImplementedError # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # class I_FCRepoResponseBody: def __init__(self, raw_content, mime_type): """ Constructor takes tow...
35.996269
79
0.59604
1,027
9,647
5.570594
0.182084
0.142632
0.146303
0.028841
0.571404
0.531026
0.479986
0.449572
0.401853
0.384024
0
0.00062
0.330984
9,647
267
80
36.131086
0.885807
0.584223
0
0.459459
0
0
0.001053
0
0
0
0
0
0
1
0.472973
false
0.054054
0.013514
0
0.527027
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
49c885495b8b9d85f2a2df00b05e024d355e6e0a
1,463
py
Python
analytics/utils.py
educreations/py-analytics
abbc814925c6cc200b3329c7de9f1868e1cb8c01
[ "Apache-2.0" ]
10
2015-01-25T20:29:55.000Z
2020-12-08T21:35:09.000Z
analytics/utils.py
educreations/py-analytics
abbc814925c6cc200b3329c7de9f1868e1cb8c01
[ "Apache-2.0" ]
3
2018-05-15T06:28:20.000Z
2021-03-30T17:47:45.000Z
analytics/utils.py
educreations/py-analytics
abbc814925c6cc200b3329c7de9f1868e1cb8c01
[ "Apache-2.0" ]
6
2017-07-03T16:28:29.000Z
2020-06-15T19:10:45.000Z
""" Copyright 2012 Numan Sachwani <numan@7Geese.com> This file is provided to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
32.511111
74
0.699932
209
1,463
4.813397
0.526316
0.069583
0.025845
0.031809
0
0
0
0
0
0
0
0.008865
0.228982
1,463
44
75
33.25
0.882979
0.695147
0
0
0
0
0.005063
0
0
0
0
0
0
1
0.090909
false
0
0.636364
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
49cfbdd139a2858864f15766804aa976f1344306
6,456
py
Python
room/easyctf/exploit/46635.py
danieldavidson/tryhackme-ctf
f42362609ffb72151f7056371e6ad7207e42c8c5
[ "MIT" ]
null
null
null
room/easyctf/exploit/46635.py
danieldavidson/tryhackme-ctf
f42362609ffb72151f7056371e6ad7207e42c8c5
[ "MIT" ]
null
null
null
room/easyctf/exploit/46635.py
danieldavidson/tryhackme-ctf
f42362609ffb72151f7056371e6ad7207e42c8c5
[ "MIT" ]
1
2022-03-11T22:55:33.000Z
2022-03-11T22:55:33.000Z
#!/usr/bin/env python # Exploit Title: Unauthenticated SQL Injection on CMS Made Simple <= 2.2.9 # Date: 30-03-2019 # Exploit Author: Daniele Scanu @ Certimeter Group # Vendor Homepage: https://www.cmsmadesimple.org/ # Software Link: https://www.cmsmadesimple.org/downloads/cmsms/ # Version: <= 2.2.9 # Tested on:...
34.709677
189
0.586431
795
6,456
4.589937
0.222642
0.043848
0.026309
0.018635
0.397369
0.355714
0.355714
0.344752
0.323376
0.255961
0
0.024167
0.288569
6,456
186
190
34.709677
0.770303
0.05189
0
0.425926
0
0.006173
0.207153
0.085358
0
0
0.005061
0
0
0
null
null
0.154321
0.037037
null
null
0.117284
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
49e3eb2356e1b76dcdb5820a9f4030de1c698ff6
1,510
py
Python
nitmis_admin/controllers/register.py
kalesh13/nitmis
b8c73f74411bbad441557c6553cbbd35acc5a5ee
[ "MIT" ]
null
null
null
nitmis_admin/controllers/register.py
kalesh13/nitmis
b8c73f74411bbad441557c6553cbbd35acc5a5ee
[ "MIT" ]
5
2020-07-19T10:28:57.000Z
2021-08-19T18:25:28.000Z
nitmis_admin/controllers/register.py
kalesh13/nitmis
b8c73f74411bbad441557c6553cbbd35acc5a5ee
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.response import Response from django.shortcuts import render from django.http.response import JsonResponse from nitmis_admin.serializers.UserSerializer import UserSerializer def create_user(role="Guest"): """ """ def fun_wrapper(func): d...
26.491228
74
0.625828
164
1,510
5.707317
0.457317
0.032051
0.036325
0.023504
0
0
0
0
0
0
0
0.003721
0.288079
1,510
56
75
26.964286
0.866977
0.261589
0
0.086957
0
0
0.033708
0
0
0
0
0
0
1
0.26087
false
0
0.217391
0
0.782609
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
49ebafbb9bb001087a55a6aebb22dbde9671371c
271
py
Python
{{cookiecutter.project_name}}/pages/main_page.py
victory-sokolov/selenium-boilerplate
43ac0e37c93c6379186f06050ab29e8521ac3ad1
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/pages/main_page.py
victory-sokolov/selenium-boilerplate
43ac0e37c93c6379186f06050ab29e8521ac3ad1
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/pages/main_page.py
victory-sokolov/selenium-boilerplate
43ac0e37c93c6379186f06050ab29e8521ac3ad1
[ "MIT" ]
null
null
null
from utils.Driver import Driver from pages.base_page import BasePage from pages.locators import MainPageLocators class MainPage(BasePage): def __init__(self, driver: Driver): self.locators = MainPageLocators super().__init__(driver=driver)
27.1
44
0.734317
31
271
6.129032
0.516129
0.094737
0
0
0
0
0
0
0
0
0
0
0.195572
271
10
45
27.1
0.87156
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
49f718d53ef81854c33add0bb6b608250490d75e
798
py
Python
saq/utils.py
cofin/saq
be81f383a0904e9084e24ccb5334e07fc5b61e00
[ "MIT" ]
29
2022-01-05T07:07:18.000Z
2022-03-29T20:09:03.000Z
saq/utils.py
cofin/saq
be81f383a0904e9084e24ccb5334e07fc5b61e00
[ "MIT" ]
3
2022-01-23T17:33:40.000Z
2022-03-10T03:36:21.000Z
saq/utils.py
cofin/saq
be81f383a0904e9084e24ccb5334e07fc5b61e00
[ "MIT" ]
4
2022-01-06T18:33:33.000Z
2022-03-23T18:44:19.000Z
import time import uuid from random import random def now(): return int(time.time() * 1000) def uuid1(): return str(uuid.uuid1()) def millis(s): return s * 1000 def seconds(ms): return ms / 1000 def exponential_backoff( attempts, base_delay, max_delay=None, jitter=True, ): ...
19
73
0.641604
115
798
4.373913
0.426087
0.095427
0.10338
0
0
0
0
0
0
0
0
0.028961
0.264411
798
41
74
19.463415
0.827939
0.308271
0
0
0
0
0.005769
0
0
0
0
0
0
1
0.217391
false
0
0.130435
0.173913
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
49fe4d073489d2871ae5e7fb65b3eed92cc792a4
372
py
Python
benchmark/info_locust.py
dmitryhd/avio
4e99c123de12a682f1ac1141899d670fbab81de6
[ "MIT" ]
2
2018-05-28T14:15:00.000Z
2018-10-15T09:33:38.000Z
benchmark/info_locust.py
dmitryhd/avio
4e99c123de12a682f1ac1141899d670fbab81de6
[ "MIT" ]
null
null
null
benchmark/info_locust.py
dmitryhd/avio
4e99c123de12a682f1ac1141899d670fbab81de6
[ "MIT" ]
null
null
null
from locust import HttpLocust, TaskSet def login(l): l.client.post("/login", {"username": "ellen_key", "password": "education"}) def info(l): l.client.get("/_info") def profile(l): l.client.get("/profile") class UserBehavior(TaskSet): tasks = {info: 1} class WebsiteUser(HttpLocust): task_s...
15.5
79
0.647849
49
372
4.816327
0.591837
0.025424
0.101695
0.09322
0
0
0
0
0
0
0
0.010033
0.196237
372
23
80
16.173913
0.779264
0
0
0
0
0
0.145161
0
0
0
0
0
0
1
0.230769
false
0.076923
0.076923
0
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
b70252d52453ebc8294d55dbd8e4ca2fdec3a045
338
py
Python
bluebottle/members/migrations/0028_merge_20190215_1441.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
10
2015-05-28T18:26:40.000Z
2021-09-06T10:07:03.000Z
bluebottle/members/migrations/0028_merge_20190215_1441.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
762
2015-01-15T10:00:59.000Z
2022-03-31T15:35:14.000Z
bluebottle/members/migrations/0028_merge_20190215_1441.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
9
2015-02-20T13:19:30.000Z
2022-03-08T14:09:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2019-02-15 13:41 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('members', '0026_auto_20180919_1434'), ('members', '0027_auto_20190208_1119'), ] ope...
19.882353
48
0.662722
41
338
5.195122
0.804878
0
0
0
0
0
0
0
0
0
0
0.184211
0.213018
338
16
49
21.125
0.616541
0.201183
0
0
1
0
0.224719
0.172285
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
b7076a862b13e824331a204380735697e0b6b508
4,158
py
Python
trabajo/Plugins/test_plugin_MontoEscrito.py
f2scali/siendo
5e3c20143317e365cfecb5b56a0f2388acc46949
[ "Apache-2.0" ]
null
null
null
trabajo/Plugins/test_plugin_MontoEscrito.py
f2scali/siendo
5e3c20143317e365cfecb5b56a0f2388acc46949
[ "Apache-2.0" ]
null
null
null
trabajo/Plugins/test_plugin_MontoEscrito.py
f2scali/siendo
5e3c20143317e365cfecb5b56a0f2388acc46949
[ "Apache-2.0" ]
1
2021-10-01T22:22:09.000Z
2021-10-01T22:22:09.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- __author__ = 'efrenfuentes' import unittest from plugin_MontoEscrito import numero_a_letras, numero_a_moneda class TestNumeroLetras(unittest.TestCase): def test_numero_demasiado_alto(self): numero = 1000000000000 self.assertRaises(OverflowError, numero_a...
39.980769
199
0.685907
514
4,158
5.354086
0.229572
0.089026
0.244186
0.255814
0.546148
0.545422
0.300509
0.171512
0.125727
0.125727
0
0.044099
0.225589
4,158
103
200
40.368932
0.810559
0.009139
0
0.02381
0
0.011905
0.24575
0
0
0
0
0
0.392857
1
0.142857
false
0
0.02381
0
0.178571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b72dfc9dbad5e8ddb1f77fb1efb1c89913e0c025
2,863
py
Python
backend/translator/admin.py
Gobaan/menu-translator-django
db2a922dce844cd60a66b0325d4c074696126ca4
[ "MIT" ]
null
null
null
backend/translator/admin.py
Gobaan/menu-translator-django
db2a922dce844cd60a66b0325d4c074696126ca4
[ "MIT" ]
4
2020-06-05T23:09:23.000Z
2021-06-10T18:51:26.000Z
backend/translator/admin.py
Gobaan/menu-translator-django
db2a922dce844cd60a66b0325d4c074696126ca4
[ "MIT" ]
null
null
null
from django.contrib import admin from django import forms from .models import Annotation, Clip, Food, Image, Language, Website, UserProfile class AnnotationAdminForm(forms.ModelForm): class Meta: model = Annotation fields = '__all__' class AnnotationAdmin(admin.ModelAdmin): form = Annotation...
26.027273
126
0.689487
292
2,863
6.527397
0.212329
0.080797
0.110178
0.161595
0.481112
0.369885
0.24659
0.120672
0.069255
0.069255
0
0
0.176039
2,863
109
127
26.266055
0.807969
0
0
0.212121
0
0
0.217057
0.017476
0
0
0
0
0
1
0
false
0
0.045455
0
0.681818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
b7366ab4b541a6d00ae9df7ac65ca2ada6762d7d
2,121
py
Python
test/unit/database/test_work.py
matiasmorant/py2neo
521c9799f386fcae262f9f1b379bca9e24184d16
[ "Apache-2.0" ]
null
null
null
test/unit/database/test_work.py
matiasmorant/py2neo
521c9799f386fcae262f9f1b379bca9e24184d16
[ "Apache-2.0" ]
null
null
null
test/unit/database/test_work.py
matiasmorant/py2neo
521c9799f386fcae262f9f1b379bca9e24184d16
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Copyright 2011-2020, Nigel Small # # 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 # # Unle...
22.806452
74
0.701556
273
2,121
5.274725
0.391941
0.04375
0.054167
0.070833
0.348611
0.3125
0.297917
0.204167
0
0
0
0.008274
0.202263
2,121
92
75
23.054348
0.84279
0.282414
0
0.340426
0
0
0.002654
0
0
0
0
0
0
1
0.255319
false
0
0.042553
0.106383
0.489362
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
3f814f9f3699e39e3b921e760844dbc2795a7e64
225
py
Python
src/spaceone/monitoring/interface/rest/v1/common.py
xellos00/monitoring
deb5363a2152e7b3f85a08d27bdede0e00023824
[ "Apache-2.0" ]
null
null
null
src/spaceone/monitoring/interface/rest/v1/common.py
xellos00/monitoring
deb5363a2152e7b3f85a08d27bdede0e00023824
[ "Apache-2.0" ]
null
null
null
src/spaceone/monitoring/interface/rest/v1/common.py
xellos00/monitoring
deb5363a2152e7b3f85a08d27bdede0e00023824
[ "Apache-2.0" ]
null
null
null
import logging from fastapi import APIRouter from spaceone.core.locator import Locator _LOGGER = logging.getLogger(__name__) router = APIRouter() @router.get('/check') async def check(): return {'status': 'SERVING'}
16.071429
41
0.742222
27
225
6
0.703704
0
0
0
0
0
0
0
0
0
0
0
0.142222
225
13
42
17.307692
0.839378
0
0
0
0
0
0.084444
0
0
0
0
0
0
1
0
false
0
0.375
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
3f83a4002afc61816d499ce9af2515b129624aaf
392
py
Python
examples/task1.py
qqgg231/Allegro
d5300bfb8eb58168d5efbd6a7e211561fce569e0
[ "MIT" ]
27
2017-04-22T03:00:04.000Z
2017-11-28T08:40:47.000Z
examples/task1.py
qqgg231/Allegro
d5300bfb8eb58168d5efbd6a7e211561fce569e0
[ "MIT" ]
2
2017-05-18T08:40:29.000Z
2018-11-07T02:00:20.000Z
examples/task1.py
qqgg231/Allegro
d5300bfb8eb58168d5efbd6a7e211561fce569e0
[ "MIT" ]
4
2017-04-21T11:49:15.000Z
2018-10-29T12:01:38.000Z
#!/usr/bin/env python # coding=utf-8 from celery import Celery from pprint import pprint import time app = Celery('tasks', backend='redis://localhost:6379/0', broker = 'redis://localhost:6379/0') @app.task def get(message): #=========== #pprint(message) #=========== return {"app":"Get Got"} @app.tas...
17.818182
94
0.614796
52
392
4.634615
0.538462
0.099585
0.149378
0.157676
0
0
0
0
0
0
0
0.033742
0.168367
392
21
95
18.666667
0.705521
0.214286
0
0.2
0
0
0.245847
0.159468
0
0
0
0
0
1
0.2
false
0
0.3
0.2
0.7
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
3f8a3a645b102cb7225f8c5a5422dfe385638911
4,775
py
Python
mysite/settings/base.py
HumanCellAtlas/HCA-Tracker
4b3df2b8a99582b7b654253d6e0faf537298a876
[ "MIT" ]
3
2019-09-09T15:43:23.000Z
2020-12-03T23:29:45.000Z
mysite/settings/base.py
HumanCellAtlas/HCA-Tracker
4b3df2b8a99582b7b654253d6e0faf537298a876
[ "MIT" ]
45
2019-09-30T19:00:04.000Z
2020-12-03T23:50:35.000Z
mysite/settings/base.py
HumanCellAtlas/HCA-Tracker
4b3df2b8a99582b7b654253d6e0faf537298a876
[ "MIT" ]
1
2021-01-11T21:30:52.000Z
2021-01-11T21:30:52.000Z
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os imp...
27.923977
99
0.685654
572
4,775
5.615385
0.421329
0.064757
0.047945
0.054483
0.193026
0.182441
0.097136
0.097136
0.03736
0
0
0.008671
0.178848
4,775
170
100
28.088235
0.810508
0.33822
0
0.021505
1
0
0.494231
0.366667
0
0
0
0
0
1
0
false
0.075269
0.021505
0
0.021505
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
3f8d947a33583e1607214e59c7b361284124cdbb
1,808
py
Python
hwk/tests/unit/test_udev.py
jaypipes/os-hardware
b43be56fafc7e853614cafc7d02c734aadb72cbe
[ "Apache-2.0" ]
null
null
null
hwk/tests/unit/test_udev.py
jaypipes/os-hardware
b43be56fafc7e853614cafc7d02c734aadb72cbe
[ "Apache-2.0" ]
7
2017-06-02T00:41:49.000Z
2017-06-19T23:00:12.000Z
hwk/tests/unit/test_udev.py
jaypipes/hwk
b43be56fafc7e853614cafc7d02c734aadb72cbe
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
30.644068
76
0.776549
277
1,808
4.888087
0.516245
0.044313
0.022157
0.023634
0.032496
0.032496
0.032496
0.032496
0.032496
0.032496
0
0.127834
0.121681
1,808
58
77
31.172414
0.724811
0.300885
0
0
0
0.025641
0.673062
0.494804
0
0
0.083133
0
0.102564
1
0.025641
false
0
0.076923
0
0.128205
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3f8dbacf9ded6ecf935b85a50c2260653a9563a1
618
py
Python
app/resources/continent.py
visar/world
c609dcf343e94d6bb5cd242cd093ad646c744575
[ "MIT" ]
2
2021-03-20T05:53:33.000Z
2021-04-12T04:38:58.000Z
app/resources/continent.py
visar/world
c609dcf343e94d6bb5cd242cd093ad646c744575
[ "MIT" ]
null
null
null
app/resources/continent.py
visar/world
c609dcf343e94d6bb5cd242cd093ad646c744575
[ "MIT" ]
null
null
null
from http import HTTPStatus from flask_restful import Resource from ..extensions import cache from ..models.country import Country from ..schemas.continent import ContinentSchema continent_list_schema = ContinentSchema(many=True) class ContinentListResource(Resource): @cache.cached(timeout=60, query_string=Tru...
29.428571
110
0.745955
74
618
6.121622
0.608108
0.057395
0.083885
0
0
0
0
0
0
0
0
0.005825
0.166667
618
20
111
30.9
0.873786
0
0
0
0
0
0.064725
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3f8ee60500939b288620ad55089e24b11d028c78
413
py
Python
tests/__init__.py
sgbaird/ml-matrics
e0560af810b12cae3a34dd818d628360de2d96e5
[ "MIT" ]
11
2021-07-12T02:12:02.000Z
2022-02-14T19:06:22.000Z
tests/__init__.py
sgbaird/ml-matrics
e0560af810b12cae3a34dd818d628360de2d96e5
[ "MIT" ]
7
2021-10-14T10:00:01.000Z
2022-03-01T21:09:30.000Z
tests/__init__.py
sgbaird/ml-matrics
e0560af810b12cae3a34dd818d628360de2d96e5
[ "MIT" ]
2
2021-10-01T10:00:50.000Z
2022-02-12T08:50:22.000Z
import matplotlib.pyplot as plt import pandas as pd import pytest from ml_matrics import ROOT @pytest.fixture(autouse=True) def run_around_tests(): # Code that runs before each test yield # Code that runs after each test plt.close() y_binary, y_proba, y_clf = pd.read_csv(f"{ROOT}/data/rand_clf.cs...
20.65
80
0.723971
74
413
3.851351
0.581081
0.05614
0.084211
0.070175
0.154386
0.154386
0.154386
0
0
0
0
0
0.159806
413
19
81
21.736842
0.821326
0.150121
0
0
0
0
0.140805
0.140805
0
0
0
0
0
1
0.1
true
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
3fa22069ae5fe18f29c6332040788c47fba607ea
469
py
Python
DataStructures/Stacks/TextEditor.py
baby5/HackerRank
1e68a85f40499adb9b52a4da16936f85ac231233
[ "MIT" ]
null
null
null
DataStructures/Stacks/TextEditor.py
baby5/HackerRank
1e68a85f40499adb9b52a4da16936f85ac231233
[ "MIT" ]
null
null
null
DataStructures/Stacks/TextEditor.py
baby5/HackerRank
1e68a85f40499adb9b52a4da16936f85ac231233
[ "MIT" ]
null
null
null
#coding:utf-8 N = int(raw_input()) S = '' stack = [S] for _ in xrange(N): s = raw_input() if s.startswith('1'): S = ''.join((S, s.split()[-1])) stack.append(S) elif s.startswith('2'): k = int(s.split()[-1]) S = S[:-k] stack.append(S) elif s.startswith('3'): ...
19.541667
39
0.447761
69
469
3
0.376812
0.21256
0.101449
0.154589
0.36715
0.26087
0
0
0
0
0
0.032362
0.341151
469
23
40
20.391304
0.63754
0.025586
0
0.210526
0
0
0.008772
0
0
0
0
0
0
0
null
null
0
0
null
null
0.052632
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
3fa6b41c13b8399c331e3ed2f410f771408be4f8
680
py
Python
envoy/examples/puma-proxy/internal_lib/backend/netflix/database_connect.py
kevinjesse/puma
163a363275bf5d84d1957aaf23783be84053e40f
[ "MIT" ]
null
null
null
envoy/examples/puma-proxy/internal_lib/backend/netflix/database_connect.py
kevinjesse/puma
163a363275bf5d84d1957aaf23783be84053e40f
[ "MIT" ]
null
null
null
envoy/examples/puma-proxy/internal_lib/backend/netflix/database_connect.py
kevinjesse/puma
163a363275bf5d84d1957aaf23783be84053e40f
[ "MIT" ]
null
null
null
# # @author Kevin Jesse # @email kevin.r.jesse@gmail.com # """ Database Connect serves to connect to the database postgres, as the master user. Autocommit has been turned on so all inserts, updates, and deletes will be enforced atomically """ import psycopg2 def db_connect(): cur = None try: conn = p...
30.909091
125
0.695588
94
680
5.010638
0.702128
0.038217
0.050955
0.084926
0
0
0
0
0
0
0
0.016822
0.213235
680
22
126
30.909091
0.863551
0.214706
0
0
0
0
0.318841
0
0
0
0
0
0
0
null
null
0.1
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
3fc2b905de175376e48fc847adcd762ca15c7b7a
2,571
py
Python
sarpy_gui_apps/apps/canvas_demo/panels/canvas_demo_button_panel.py
spowlas/sarpy
c4a404203607d404b93a556459aa5311d7148e95
[ "MIT" ]
null
null
null
sarpy_gui_apps/apps/canvas_demo/panels/canvas_demo_button_panel.py
spowlas/sarpy
c4a404203607d404b93a556459aa5311d7148e95
[ "MIT" ]
1
2019-11-14T20:55:57.000Z
2019-12-27T18:11:29.000Z
sarpy_gui_apps/apps/canvas_demo/panels/canvas_demo_button_panel.py
spowlas/sarpy
c4a404203607d404b93a556459aa5311d7148e95
[ "MIT" ]
2
2020-02-12T20:11:00.000Z
2020-03-26T16:55:03.000Z
from tkinter_gui_builder.panel_templates.widget_panel.widget_panel import AbstractWidgetPanel from tkinter_gui_builder.widgets import basic_widgets class CanvasDemoButtonPanel(AbstractWidgetPanel): fname_select = basic_widgets.Button zoom_in = basic_widgets.Button zoom_out = basic_widgets.Button rect_...
40.171875
93
0.552703
246
2,571
5.256098
0.296748
0.204176
0.236659
0.136118
0.273009
0.254447
0.068059
0
0
0
0
0.001889
0.382342
2,571
63
94
40.809524
0.812343
0.02217
0
0
0
0
0.137794
0.016726
0
0
0
0
0
1
0.018182
false
0
0.036364
0
0.418182
0.018182
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fc90063242679a163aee4c95d494aed3302ce11
961
py
Python
setup.py
adamltyson/fancylog
8e9047759d5c394e98b5af7c2d68f70f2fbeb40e
[ "MIT" ]
3
2020-09-30T09:02:08.000Z
2021-06-12T20:43:43.000Z
setup.py
adamltyson/fancylog
8e9047759d5c394e98b5af7c2d68f70f2fbeb40e
[ "MIT" ]
8
2020-01-07T11:27:05.000Z
2021-07-13T11:07:11.000Z
setup.py
adamltyson/fancylog
8e9047759d5c394e98b5af7c2d68f70f2fbeb40e
[ "MIT" ]
2
2020-02-05T19:03:04.000Z
2021-07-07T09:42:24.000Z
from setuptools import setup, find_packages setup( name="fancylog", version="0.2.6", description="Fancier logging in Python", install_requires=["packaging", "rich"], extras_require={ "dev": [ "black", "pytest-cov", "pytest", "coverage", ...
26.694444
49
0.552549
89
961
5.876404
0.707865
0.145315
0.191205
0.14914
0
0
0
0
0
0
0
0.020802
0.299688
961
35
50
27.457143
0.756315
0
0
0
0
0
0.437045
0
0
0
0
0
0
1
0
true
0
0.030303
0
0.030303
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3fce57d4964a0ce253965c723aa6fb69e1b90bf3
4,069
py
Python
mat2py/core/graph2d.py
mat2py/mat2py
2776fbe9ca4ad2aaa3eac6aa79d17747a9ec24a8
[ "MIT" ]
null
null
null
mat2py/core/graph2d.py
mat2py/mat2py
2776fbe9ca4ad2aaa3eac6aa79d17747a9ec24a8
[ "MIT" ]
37
2021-12-23T03:22:20.000Z
2022-02-16T15:40:47.000Z
mat2py/core/graph2d.py
mat2py/mat2py
2776fbe9ca4ad2aaa3eac6aa79d17747a9ec24a8
[ "MIT" ]
2
2022-01-23T07:59:10.000Z
2022-02-03T09:15:54.000Z
# type: ignore __all__ = [ "plotyy", "figtoolset", "getscribecontextmenu", "getobj", "scribeeventhandler", "setscribecontextmenu", "putdowntext", "gtext", "scribetextdlg", "doresize", "prepdrag", "scriberestoresavefcns", "zoom", "scribeclearmode", "domymenu",...
17.168776
54
0.673876
360
4,069
7.602778
0.222222
0.138107
0.429668
0
0
0
0
0
0
0
0
0.001224
0.1971
4,069
236
55
17.241525
0.836547
0.002949
0
0
0
0
0.194821
0.010358
0
0
0
0
0
1
0.296552
false
0
0.02069
0
0.324138
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
1
0
0
0
0
0
0
0
2
3fd08ba20ef96dd8738b44a611be2e078eaec1a9
789
py
Python
django_alive/tests/test_command.py
lincolnloop/django-alive
608fd0a1d94f90f51a48a943348e9038f402a504
[ "MIT" ]
25
2018-08-22T12:42:14.000Z
2022-01-18T19:03:05.000Z
django_alive/tests/test_command.py
lincolnloop/django-alive
608fd0a1d94f90f51a48a943348e9038f402a504
[ "MIT" ]
7
2019-11-05T23:52:49.000Z
2020-07-01T18:03:32.000Z
django_alive/tests/test_command.py
lincolnloop/django-alive
608fd0a1d94f90f51a48a943348e9038f402a504
[ "MIT" ]
null
null
null
import sys from django.core.management import CommandError, call_command from django.test import TestCase from .side_effects import bad_database_check try: from unittest.mock import patch except ImportError: from mock import patch # Python 2.7 support if sys.version_info > (3, 0): from io import StringI...
24.65625
80
0.697085
98
789
5.459184
0.530612
0.061682
0.085981
0
0
0
0
0
0
0
0
0.006547
0.225602
789
31
81
25.451613
0.869067
0.022814
0
0
0
0
0.075423
0.044213
0
0
0
0
0.086957
1
0.086957
false
0
0.391304
0
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3fda3cc0af3e5e42cd6c1e11390f1713cf4c09d1
3,365
py
Python
tests/unit/test_baseObject.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
1
2018-11-16T10:15:59.000Z
2018-11-16T10:15:59.000Z
tests/unit/test_baseObject.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
3
2017-09-29T17:14:18.000Z
2019-05-20T16:13:39.000Z
tests/unit/test_baseObject.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
1
2017-09-29T08:53:52.000Z
2017-09-29T08:53:52.000Z
#tests/unit/test_baseObject.py #A part of NonVisual Desktop Access (NVDA) #This file is covered by the GNU General Public License. #See the file COPYING for more details. #Copyright (C) 2018 NV Access Limited, Babbage B.V. """Unit tests for the baseObject module, its classes and their derivatives.""" import u...
30.044643
94
0.744428
343
3,365
7.198251
0.332362
0.032402
0.055083
0.053463
0.245849
0.157149
0.157149
0.082625
0.082625
0.040502
0
0.001407
0.155126
3,365
111
95
30.315315
0.867042
0.240119
0
0.285714
0
0
0.038301
0
0
0
0
0
0.085714
1
0.2
false
0
0.057143
0.114286
0.514286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
3fdb9c34cb8887a4abfe9945968ed8dd70631d27
137
py
Python
flopz/__init__.py
Flopz-Project/flopz
eb470811e4a8be5e5d625209b0f8eb7ccd1d5da3
[ "Apache-2.0" ]
7
2021-11-19T15:53:58.000Z
2022-03-28T03:38:52.000Z
flopz/__init__.py
Flopz-Project/flopz
eb470811e4a8be5e5d625209b0f8eb7ccd1d5da3
[ "Apache-2.0" ]
null
null
null
flopz/__init__.py
Flopz-Project/flopz
eb470811e4a8be5e5d625209b0f8eb7ccd1d5da3
[ "Apache-2.0" ]
1
2022-03-25T12:44:01.000Z
2022-03-25T12:44:01.000Z
""" flopz. Low Level Assembler and Firmware Instrumentation Toolkit """ __version__ = "0.2.0" __author__ = "Noelscher Consulting GmbH"
15.222222
56
0.744526
16
137
5.875
0.9375
0
0
0
0
0
0
0
0
0
0
0.025641
0.145985
137
8
57
17.125
0.777778
0.467153
0
0
0
0
0.461538
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3fec010889ccbdbd07b4bb7fe68a11cde75d9565
3,641
py
Python
server.py
MVHSiot/yelperhelper
a94dc9e80e301241da58b678770338e3fa9b642e
[ "MIT" ]
null
null
null
server.py
MVHSiot/yelperhelper
a94dc9e80e301241da58b678770338e3fa9b642e
[ "MIT" ]
null
null
null
server.py
MVHSiot/yelperhelper
a94dc9e80e301241da58b678770338e3fa9b642e
[ "MIT" ]
null
null
null
import sys try: sys.path.append('/opt/python3/lib/python3.4/site-packages') except: pass import yelp_api import pickle import calc pub_key = 'pub-c-2c436bc0-666e-4975-baaf-63f16a61558d' sub_key = 'sub-c-0442432a-3312-11e7-bae3-02ee2ddab7fe' from pubnub.callbacks import SubscribeCallback from pubnub.enums impor...
44.402439
198
0.611096
405
3,641
5.358025
0.303704
0.179724
0.058986
0.03318
0.101843
0.053917
0.053917
0
0
0
0
0.039065
0.247734
3,641
81
199
44.950617
0.753195
0.007965
0
0.121622
0
0
0.147922
0.034349
0
0
0
0
0
0
null
null
0.067568
0.108108
null
null
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
3fefc1a6bf75d8c0151f7c8fa8710346285e3ae9
281
py
Python
aas_core_meta/__init__.py
aas-core-works/aas-core3-meta
88b618c82f78392a47ee58cf2657ae6df8e5a418
[ "MIT" ]
null
null
null
aas_core_meta/__init__.py
aas-core-works/aas-core3-meta
88b618c82f78392a47ee58cf2657ae6df8e5a418
[ "MIT" ]
null
null
null
aas_core_meta/__init__.py
aas-core-works/aas-core3-meta
88b618c82f78392a47ee58cf2657ae6df8e5a418
[ "MIT" ]
null
null
null
"""Provide meta-models for Asset Administration Shell information model.""" __version__ = "2021.11.20a2" __author__ = ( "Nico Braunisch, Marko Ristin, Robert Lehmann, Marcin Sadurski, Manuel Sauer" ) __license__ = "License :: OSI Approved :: MIT License" __status__ = "Alpha"
31.222222
81
0.736655
32
281
5.96875
0.9375
0
0
0
0
0
0
0
0
0
0
0.037657
0.149466
281
8
82
35.125
0.761506
0.245552
0
0
0
0
0.631068
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b20a4404ed9e15d9b510a71724e0f8e9d7cc1046
645
py
Python
tools/leetcode.128.Longest Consecutive Sequence/leetcode.128.Longest Consecutive Sequence.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
4
2015-10-10T00:30:55.000Z
2020-07-27T19:45:54.000Z
tools/leetcode.128.Longest Consecutive Sequence/leetcode.128.Longest Consecutive Sequence.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
tools/leetcode.128.Longest Consecutive Sequence/leetcode.128.Longest Consecutive Sequence.submission1.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
class Solution: # @param {integer[]} nums # @return {integer} def longestConsecutive(self, nums): if not nums: return 0 result = 0 hashtable = set(nums) while hashtable: i = hashtable.pop() cnt = 1 temp = i while tem...
645
645
0.432558
62
645
4.5
0.387097
0.071685
0.086022
0.100358
0.387097
0.387097
0.387097
0.387097
0.387097
0.387097
0
0.027356
0.489922
645
1
645
645
0.820669
0.063566
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b20cdd9f8c550b03afcaa9236a4a608b7379d8bd
453
py
Python
pygeos/measurements.py
jorisvandenbossche/pygeos
0a25af4ae1c96d11752318d2755f4f3342611b17
[ "BSD-3-Clause" ]
null
null
null
pygeos/measurements.py
jorisvandenbossche/pygeos
0a25af4ae1c96d11752318d2755f4f3342611b17
[ "BSD-3-Clause" ]
null
null
null
pygeos/measurements.py
jorisvandenbossche/pygeos
0a25af4ae1c96d11752318d2755f4f3342611b17
[ "BSD-3-Clause" ]
null
null
null
from . import ufuncs __all__ = ["area", "distance", "length", "hausdorff_distance"] def area(geometries): return ufuncs.area(geometries) def distance(a, b): return ufuncs.distance(a, b) def length(geometries): return ufuncs.length(geometries) def hausdorff_distance(a, b, densify=None): if densi...
19.695652
63
0.697572
58
453
5.293103
0.327586
0.19544
0.130293
0.123779
0
0
0
0
0
0
0
0
0.187638
453
22
64
20.590909
0.834239
0
0
0
0
0
0.07947
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0.230769
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
b76e3c3a78b500e4bd43645ac8426138d20f7491
659
py
Python
uniclass_to_nf_ea_com_source/b_code/migrators/uniclass_raw_to_domain/evolve/evolve_stage_4/domain_table_data_processor/parent_code_column_adder.py
boro-alpha/uniclass_to_nf_ea_com
753e97467ce53c25bc86341b915489c2eeeb3f49
[ "MIT" ]
2
2021-08-09T14:40:04.000Z
2022-03-13T22:22:19.000Z
uniclass_to_nf_ea_com_source/b_code/migrators/uniclass_raw_to_domain/evolve/evolve_stage_4/domain_table_data_processor/parent_code_column_adder.py
boro-alpha/uniclass_to_nf_ea_com
753e97467ce53c25bc86341b915489c2eeeb3f49
[ "MIT" ]
null
null
null
uniclass_to_nf_ea_com_source/b_code/migrators/uniclass_raw_to_domain/evolve/evolve_stage_4/domain_table_data_processor/parent_code_column_adder.py
boro-alpha/uniclass_to_nf_ea_com
753e97467ce53c25bc86341b915489c2eeeb3f49
[ "MIT" ]
null
null
null
import numpy as np from uniclass_to_nf_ea_com_source.b_code.configurations.common_constants.uniclass_bclearer_constants import PARENT_CODE_COLUMN_NAME, \ UNICLASS2015_OBJECT_TABLE_NAME def add_parent_code_column_to_uniclass_objects_table( dictionary_of_dataframes: dict)\ -> dict: uniclass_201...
27.458333
134
0.752656
78
659
5.74359
0.423077
0.147321
0.196429
0.180804
0.321429
0.321429
0.321429
0.321429
0.321429
0.321429
0
0.045889
0.206373
659
23
135
28.652174
0.810707
0
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.235294
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b778ede17d0ff72b747e93fc5f260c19e384862d
160
py
Python
1_PROGI/Exe 5.py
Julymusso/IFES
939277c375dacc7750705c5593537d80ab4cbc0e
[ "MIT" ]
null
null
null
1_PROGI/Exe 5.py
Julymusso/IFES
939277c375dacc7750705c5593537d80ab4cbc0e
[ "MIT" ]
null
null
null
1_PROGI/Exe 5.py
Julymusso/IFES
939277c375dacc7750705c5593537d80ab4cbc0e
[ "MIT" ]
null
null
null
#var #num, media, i: inteiro media=0 for i in range(1,11,1): num=int(input("Digite um número: ")) media = media+num media=media/i print (media)
17.777778
40
0.61875
28
160
3.535714
0.607143
0.161616
0
0
0
0
0
0
0
0
0
0.040323
0.225
160
9
41
17.777778
0.758065
0.15625
0
0
0
0
0.134328
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b789e2f11f57608cb00f55b63d916cf77099aa18
338
py
Python
condiment/tests/test_simple.py
WeilerWebServices/Kivy
54e3438156eb0c853790fd3cecc593f09123f892
[ "MIT" ]
3
2020-09-13T09:55:02.000Z
2021-01-23T11:13:59.000Z
condiment/tests/test_simple.py
WeilerWebServices/Kivy
54e3438156eb0c853790fd3cecc593f09123f892
[ "MIT" ]
2
2018-03-16T22:01:12.000Z
2020-01-13T10:33:22.000Z
condiment/tests/test_simple.py
WeilerWebServices/Kivy
54e3438156eb0c853790fd3cecc593f09123f892
[ "MIT" ]
2
2015-04-26T15:31:40.000Z
2017-09-12T12:36:14.000Z
#exclude import condiment; condiment.install() #endexclude if WITH_TIMEBOMB: timebomb = int(WITH_TIMEBOMB) print 'timebomb feature is activated, and set to', timebomb if WITH_INAPP_PURCHASE: print 'inapp purchase feature is activated' if WITH_TIMEBOMB and WITH_INAPP_PURCHASE: print 'both features hav...
24.142857
63
0.775148
45
338
5.666667
0.488889
0.070588
0.109804
0.172549
0
0
0
0
0
0
0
0
0.16568
338
13
64
26
0.904255
0.050296
0
0
0
0
0.341693
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.375
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
b7939b77631def2ec27e1370419a519e33e2db7a
180
py
Python
matchms/similarity/spec2vec/__init__.py
fossabot/matchms
090db31b22829dc224e5ed78fb4901e8c14a8e92
[ "Apache-2.0" ]
null
null
null
matchms/similarity/spec2vec/__init__.py
fossabot/matchms
090db31b22829dc224e5ed78fb4901e8c14a8e92
[ "Apache-2.0" ]
null
null
null
matchms/similarity/spec2vec/__init__.py
fossabot/matchms
090db31b22829dc224e5ed78fb4901e8c14a8e92
[ "Apache-2.0" ]
null
null
null
from .Document import Document from .SpectrumDocument import SpectrumDocument from .Spec2Vec import Spec2Vec __all__ = [ "Document", "SpectrumDocument", "Spec2Vec" ]
16.363636
46
0.738889
16
180
8.0625
0.375
0
0
0
0
0
0
0
0
0
0
0.020408
0.183333
180
10
47
18
0.857143
0
0
0
0
0
0.177778
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
b7ae3072a6046637d4bd29d21eabd8d449e98c65
274
py
Python
src/events/admin.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
src/events/admin.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
src/events/admin.py
cbsBiram/xarala__ssr
863e1362c786daa752b942b796f7a015211d2f1b
[ "FSFAP" ]
null
null
null
from django.contrib import admin from django_summernote.admin import SummernoteModelAdmin from .models import Event, Speaker class EventAdmin(SummernoteModelAdmin): summernote_fields = ("content",) admin.site.register(Event, EventAdmin) admin.site.register(Speaker)
22.833333
56
0.813869
31
274
7.129032
0.516129
0.090498
0.153846
0
0
0
0
0
0
0
0
0
0.105839
274
11
57
24.909091
0.902041
0
0
0
0
0
0.025547
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b7b473cc7728c8bc405a3042f957fe877f0c27c2
790
py
Python
JTP Recap./2.Program_IO/function.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
JTP Recap./2.Program_IO/function.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
JTP Recap./2.Program_IO/function.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
""" Function def function_name(arg1, arg2, ...) : <op 1> <op 2> ... Function with undefined amount of input def fn_name(*args) --> args' elements make tuple. kwargs = Keyword Parameter >>> def print_kwargs(**kwargs): ... print(kwargs) ... >>> print_kwargs(a=1) {...
22.571429
72
0.596203
108
790
4.277778
0.537037
0.095238
0.073593
0
0
0
0
0
0
0
0
0.025554
0.256962
790
35
73
22.571429
0.761499
0.989873
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b7c327b6206469cd0cf73575f1196729fde0be3b
1,695
py
Python
nps/network_entity.py
Dry8r3aD/penta-nps
a4c74a2cd90eb2f95158e2040b7eca7056b062db
[ "MIT" ]
6
2016-09-25T07:26:22.000Z
2022-03-16T06:30:05.000Z
nps/network_entity.py
Dry8r3aD/penta-nps
a4c74a2cd90eb2f95158e2040b7eca7056b062db
[ "MIT" ]
14
2016-10-04T00:02:20.000Z
2017-02-22T03:06:21.000Z
nps/network_entity.py
Dry8r3aD/penta-nps
a4c74a2cd90eb2f95158e2040b7eca7056b062db
[ "MIT" ]
5
2016-10-06T04:53:32.000Z
2019-12-08T13:48:58.000Z
# -*- coding: UTF-8 -*- from collections import deque class NetworkEntity(object): """Client or Server simulation network entity""" def __init__(self, name): # "client" or "server" self.name = name # simulatation packet list(queue) # _packet_list contains send/recv PacketBuff...
25.298507
54
0.645428
228
1,695
4.390351
0.267544
0.10989
0.111888
0.05994
0.16983
0.067932
0.067932
0
0
0
0
0.017502
0.258407
1,695
66
55
25.681818
0.778839
0.384071
0
0
0
0
0.016782
0
0
0
0
0
0
1
0.375
false
0
0.041667
0.25
0.708333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
b7c3c9491c620a60056834ce6902dd96ab059f3b
3,373
py
Python
Scripts/simulation/tunable_utils/create_object.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/tunable_utils/create_object.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
Scripts/simulation/tunable_utils/create_object.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
null
null
null
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\tunable_utils\create_object.py # Compiled at: 2020-05-07 00:26:47 # Size of source mod 2**32: 4106 b...
54.403226
240
0.714794
393
3,373
5.979644
0.407125
0.025532
0.02383
0.030638
0.148936
0.120851
0.120851
0.090213
0.090213
0.090213
0
0.026716
0.201008
3,373
62
241
54.403226
0.845269
0.092499
0
0.046512
0
0.046512
0.222913
0
0
0
0
0
0
1
0.186047
false
0
0.139535
0.139535
0.581395
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
b7c7e5d7b1958fefce1bb2170ee1a05f5b0e1bc0
444
py
Python
cobalt/__init__.py
NicolasDenoyelle/cobalt
08742676214e728ed83f3a90a118b9c020a347fd
[ "BSD-3-Clause" ]
null
null
null
cobalt/__init__.py
NicolasDenoyelle/cobalt
08742676214e728ed83f3a90a118b9c020a347fd
[ "BSD-3-Clause" ]
null
null
null
cobalt/__init__.py
NicolasDenoyelle/cobalt
08742676214e728ed83f3a90a118b9c020a347fd
[ "BSD-3-Clause" ]
null
null
null
############################################################################### # Copyright 2020 UChicago Argonne, LLC. # (c.f. AUTHORS, LICENSE) # For more info, see https://xgitlab.cels.anl.gov/argo/cobalt-python-wrapper # SPDX-License-Identifier: BSD-3-Clause #########################################################...
37
79
0.481982
39
444
5.384615
0.820513
0.152381
0
0
0
0
0
0
0
0
0
0.012255
0.081081
444
11
80
40.363636
0.502451
0.391892
0
0
0
0
0.148148
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b7caeb322abf8aa00666ef3387b5272abace4020
528
py
Python
persons/urls.py
nhieckqo/lei
f461d8dcbc8f9e037c661abb18b226aa6fa7acae
[ "MIT" ]
null
null
null
persons/urls.py
nhieckqo/lei
f461d8dcbc8f9e037c661abb18b226aa6fa7acae
[ "MIT" ]
null
null
null
persons/urls.py
nhieckqo/lei
f461d8dcbc8f9e037c661abb18b226aa6fa7acae
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'persons' urlpatterns = [ path('', views.PersonsTableView.as_view(),name='persons_list'), path('persons_details/<int:pk>',views.PersonsUpdateView.as_view(),name='persons_details_edit'), path('persons_details/create',views.PersonsCreateView.as_vie...
40.615385
108
0.753788
68
528
5.602941
0.397059
0.257218
0.104987
0.178478
0.309711
0
0
0
0
0
0
0
0.083333
528
12
109
44
0.78719
0
0
0
0
0
0.342803
0.1875
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7cb5d32a878f3d9855d96b75ff3e715c839115f
977
py
Python
src/PyMud/Systems/system.py
NichCritic/pymud
583ec16f5a75dc7b45146564b39851291dc07b6c
[ "MIT" ]
null
null
null
src/PyMud/Systems/system.py
NichCritic/pymud
583ec16f5a75dc7b45146564b39851291dc07b6c
[ "MIT" ]
null
null
null
src/PyMud/Systems/system.py
NichCritic/pymud
583ec16f5a75dc7b45146564b39851291dc07b6c
[ "MIT" ]
null
null
null
import time class System(object): manditory = [] optional = [] handles = [] def __init__(self, node_factory): self.node_factory = node_factory def process(self): for node in self.get_nodes(): # print(f"{self.__class__.__name__} system got message from # {n...
23.261905
71
0.551689
117
977
4.401709
0.384615
0.07767
0.087379
0.050485
0.081553
0.081553
0
0
0
0
0
0
0.348004
977
41
72
23.829268
0.808477
0.070624
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.25
false
0.035714
0.035714
0.035714
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
1
0
0
0
0
1
0
0
2
b7cbe1a4f3d3609804f5ba47a2634ce6c4505d36
716
py
Python
yocto/poky/bitbake/lib/bb/ui/crumbs/__init__.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
16
2017-01-17T15:20:43.000Z
2021-03-19T05:45:14.000Z
yocto/poky/bitbake/lib/bb/ui/crumbs/__init__.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
415
2016-12-20T17:20:45.000Z
2018-09-23T07:59:23.000Z
yocto/poky/bitbake/lib/bb/ui/crumbs/__init__.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
10
2016-12-20T13:24:50.000Z
2021-03-19T05:46:43.000Z
# # Gtk+ UI pieces for BitBake # # Copyright (C) 2006-2007 Richard Purdie # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be ...
39.777778
73
0.765363
115
716
4.765217
0.686957
0.060219
0.071168
0.104015
0.149635
0.10219
0
0
0
0
0
0.03413
0.181564
716
17
74
42.117647
0.901024
0.951117
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
b7cc56e3520e5aa20afd04452b3d297df2206e1a
1,473
py
Python
ipmanagement/models.py
smilelhong/ip_manage
7581c596a84e943dc5dea4122eca3de14263992b
[ "Apache-2.0" ]
null
null
null
ipmanagement/models.py
smilelhong/ip_manage
7581c596a84e943dc5dea4122eca3de14263992b
[ "Apache-2.0" ]
null
null
null
ipmanagement/models.py
smilelhong/ip_manage
7581c596a84e943dc5dea4122eca3de14263992b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models from datetime import datetime # Create your models here. class IP_Address(models.Model): ip = models.GenericIPAddressField(verbose_name=u"IP地址") gateway = models.GenericIPAddressField(verbose_name=u"网关") network = models.GenericIPAddressField(verbose_name...
64.043478
104
0.745418
209
1,473
5.095694
0.296651
0.165258
0.180282
0.180282
0.735211
0.674178
0.558685
0.558685
0.558685
0.466667
0
0.012696
0.090971
1,473
23
105
64.043478
0.782674
0.031229
0
0.1
0
0
0.047018
0
0
0
0
0
0
1
0
false
0
0.1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b7d5141df884819f6f2e7164679f65c6fbc05ccf
5,741
py
Python
trainer.py
tkuboi/my-Punctuator
17c2c43f3397387b7c21a8ef25584c4fdab73f1b
[ "MIT" ]
3
2018-11-29T02:12:12.000Z
2020-01-15T10:52:38.000Z
trainer.py
tkuboi/my-Punctuator
17c2c43f3397387b7c21a8ef25584c4fdab73f1b
[ "MIT" ]
3
2020-01-15T10:52:25.000Z
2020-05-03T17:24:56.000Z
trainer.py
tkuboi/my-Punctuator
17c2c43f3397387b7c21a8ef25584c4fdab73f1b
[ "MIT" ]
5
2018-11-19T13:37:31.000Z
2021-06-25T07:03:38.000Z
"""This script is for training and evaluating a model.""" import sys import os import traceback import numpy as np from functools import partial from utils import * from punctuator import Punctuator from bidirectional_gru_with_gru import BidirectionalGruWithGru from keras.callbacks import ModelCheckpoint from keras.m...
43.492424
1,454
0.708413
849
5,741
4.673734
0.376914
0.014113
0.009073
0.008317
0.034778
0.034778
0.034778
0.010585
0
0
0
0.019699
0.213029
5,741
131
1,455
43.824427
0.858566
0.118795
0
0
0
0.060976
0.330025
0.009502
0
0
0
0
0
0
null
null
0
0.158537
null
null
0.182927
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
b7dd25cebefde2e55f7311a4ace4a861586de3c9
1,299
py
Python
lims/models/shipping.py
razorlabs/BRIMS-backend
2c5b7bd126debec459b775e9d11e96fc09975059
[ "MIT" ]
1
2020-03-20T23:00:24.000Z
2020-03-20T23:00:24.000Z
lims/models/shipping.py
razorlabs/BRIMS-backend
2c5b7bd126debec459b775e9d11e96fc09975059
[ "MIT" ]
null
null
null
lims/models/shipping.py
razorlabs/BRIMS-backend
2c5b7bd126debec459b775e9d11e96fc09975059
[ "MIT" ]
1
2020-03-09T09:57:25.000Z
2020-03-09T09:57:25.000Z
from django.db import models """ ShipmentModels have a one to many relationship with boxes and aliquot Aliquot and Box foreign keys to a ShipmentModel determine manifest contents for shipping purposes (resolved in schema return for manifest view) """ class ShipmentModel(models.Model): carrier = model...
34.184211
79
0.628176
146
1,299
5.458904
0.458904
0.067754
0.097867
0.12798
0.471769
0.471769
0.471769
0.371393
0.371393
0.165621
0
0.013115
0.295612
1,299
37
80
35.108108
0.857924
0.039261
0
0.545455
0
0
0.027695
0
0
0
0
0.027027
0
1
0.090909
false
0
0.045455
0.090909
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
b7f255f31605c7a9c29e736bc41dc0df25f503be
294
py
Python
tests/test_xmllint_map_html.py
sthagen/python-xmllint_map_html
23363cfe1c126bc72efddf8fea084283375e2204
[ "MIT" ]
null
null
null
tests/test_xmllint_map_html.py
sthagen/python-xmllint_map_html
23363cfe1c126bc72efddf8fea084283375e2204
[ "MIT" ]
16
2020-09-11T11:07:09.000Z
2020-12-06T16:42:18.000Z
tests/test_xmllint_map_html.py
sthagen/python-xmllint_map_html
23363cfe1c126bc72efddf8fea084283375e2204
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # pylint: disable=missing-docstring,unused-import,reimported import json import pytest # type: ignore import xmllint_map_html.xmllint_map_html as xmh def test_parse_ok_minimal(): job = ['[]'] parser = xmh.parse(job) assert next(parser) == NotImplemented
22.615385
60
0.714286
39
294
5.205128
0.74359
0.098522
0.137931
0
0
0
0
0
0
0
0
0.004049
0.159864
294
12
61
24.5
0.817814
0.316327
0
0
0
0
0.010152
0
0
0
0
0
0.142857
1
0.142857
false
0
0.428571
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
1
0
1
0
0
2
4d01262d0ab1840560717880a8567c3e85b8f930
1,082
py
Python
tests/application/register/test_views.py
AlexKouzy/ethnicity-facts-and-figures-publisher
18ab2495a8633f585e18e607c7f75daa564a053d
[ "MIT" ]
1
2021-10-06T13:48:36.000Z
2021-10-06T13:48:36.000Z
tests/application/register/test_views.py
AlexKouzy/ethnicity-facts-and-figures-publisher
18ab2495a8633f585e18e607c7f75daa564a053d
[ "MIT" ]
116
2018-11-02T17:20:47.000Z
2022-02-09T11:06:22.000Z
tests/application/register/test_views.py
racedisparityaudit/rd_cms
a12f0e3f5461cc41eed0077ed02e11efafc5dd76
[ "MIT" ]
2
2018-11-09T16:47:35.000Z
2020-04-09T13:06:48.000Z
from bs4 import BeautifulSoup from flask import url_for from application.utils import generate_token from application.auth.models import TypeOfUser from tests.models import UserFactory def test_confirm_account_rejects_easy_password(app, test_app_client): rdu_user = UserFactory(user_type=TypeOfUser.RDU_USER, ac...
38.642857
115
0.756932
153
1,082
5.163399
0.581699
0.035443
0.032911
0.04557
0.070886
0.070886
0
0
0
0
0
0.004329
0.146026
1,082
27
116
40.074074
0.850649
0
0
0
1
0.055556
0.31793
0.0878
0
0
0
0
0.055556
1
0.055556
false
0.166667
0.277778
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
1
0
0
0
0
0
2
4d1842ad937506e0139c4548364f4972688cf066
606
py
Python
lgtv_rs232/commands/power.py
davo22/lgtv_rs232
40562cddf7acdf6fa95124029595e3838dd9e7b0
[ "MIT" ]
null
null
null
lgtv_rs232/commands/power.py
davo22/lgtv_rs232
40562cddf7acdf6fa95124029595e3838dd9e7b0
[ "MIT" ]
null
null
null
lgtv_rs232/commands/power.py
davo22/lgtv_rs232
40562cddf7acdf6fa95124029595e3838dd9e7b0
[ "MIT" ]
null
null
null
from enum import Enum class Power(Enum): OFF = 0 ON = 1 def map_to_state(data: int): return Power(data) class PowerCommands(object): _command = "ka" def __init__(self, send_command): self._send_command = send_command async def get_state(self): return map_to_state(await se...
20.2
81
0.671617
88
606
4.340909
0.329545
0.143979
0.157068
0.149215
0.387435
0.387435
0.246073
0.246073
0.246073
0.246073
0
0.010707
0.229373
606
29
82
20.896552
0.807281
0
0
0
0
0
0.0033
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2