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
fb61d84d6ca8803f811924f03880ba31de624d70
2,188
py
Python
pygfx/utils/viewport.py
almarklein/visvis2
728a4b7434879d3606f32836eda3971ed73905f8
[ "BSD-2-Clause" ]
7
2019-12-20T14:15:53.000Z
2020-05-03T17:43:02.000Z
pygfx/utils/viewport.py
almarklein/visvis2
728a4b7434879d3606f32836eda3971ed73905f8
[ "BSD-2-Clause" ]
30
2020-02-10T08:59:30.000Z
2020-06-16T21:21:33.000Z
pygfx/utils/viewport.py
almarklein/visvis2
728a4b7434879d3606f32836eda3971ed73905f8
[ "BSD-2-Clause" ]
null
null
null
from ..renderers import Renderer class Viewport: """Defines a rectangular area on a renderer.""" def __init__(self, renderer, rect=None): if not isinstance(renderer, Renderer): raise TypeError("Viewport first arg must be a Renderer.") self._renderer = renderer self.rect = ...
31.710145
82
0.583638
290
2,188
4.334483
0.341379
0.057279
0.02864
0.039777
0
0
0
0
0
0
0
0.007979
0.312614
2,188
68
83
32.176471
0.827793
0.263711
0
0.139535
0
0
0.074391
0
0
0
0
0
0
1
0.209302
false
0
0.023256
0
0.44186
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fb697fcf29dc0df2f775c31812d4a4b42c915f8e
4,122
py
Python
plugins.py
MinweiShen/pytest_testrail
d51acb80245fa18845ffec5c175aaf7e7495dc58
[ "MIT" ]
null
null
null
plugins.py
MinweiShen/pytest_testrail
d51acb80245fa18845ffec5c175aaf7e7495dc58
[ "MIT" ]
null
null
null
plugins.py
MinweiShen/pytest_testrail
d51acb80245fa18845ffec5c175aaf7e7495dc58
[ "MIT" ]
null
null
null
import pytest import datetime from testrail import TestRailAgent PYTEST_TO_TESTRAIL_STATUS = { "passed": 1, "failed": 5, "skipped": 2, } def generate_testrun_name(): return 'Auto Test {}'.format( datetime.datetime.now().strftime('%Y-%m-%d, %H:%M')) def get_case_ids(items): """ Return Te...
31.707692
72
0.539301
492
4,122
4.345528
0.235772
0.028064
0.029935
0.049111
0.259121
0.243218
0.206735
0.206735
0.168382
0.138447
0
0.002643
0.357351
4,122
129
73
31.953488
0.804455
0.070597
0
0.257732
1
0
0.055332
0
0
0
0
0
0
1
0.082474
false
0.010309
0.030928
0.010309
0.14433
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fb69ab5862dd5892ba623e2c85bbfaeca25a38a8
1,366
py
Python
corehq/ex-submodules/dimagi/utils/data/deid_generator.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/ex-submodules/dimagi/utils/data/deid_generator.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/ex-submodules/dimagi/utils/data/deid_generator.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
import hashlib from functools import reduce def to_number(bytes): return reduce(lambda a, b: a * 256 + b, bytes) def to_base(n, b): if not n: return [] else: rest, digit = divmod(n, b) answer = to_base(rest, b) answer.append(digit) return answer class DeidGenera...
26.784314
70
0.587848
179
1,366
4.368715
0.391061
0.051151
0.038363
0
0
0
0
0
0
0
0
0.038776
0.282577
1,366
50
71
27.32
0.759184
0.079063
0
0.055556
0
0
0.04571
0.028869
0
0
0
0
0.027778
1
0.222222
false
0
0.055556
0.055556
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fb6b718e88277ec6724fc4f7f133de14673d31d7
17,727
py
Python
main.py
waiting-gy/3dPoseBaseline
9a387bdb39f1a58c88179169d0783112ef4f1dfd
[ "MIT" ]
null
null
null
main.py
waiting-gy/3dPoseBaseline
9a387bdb39f1a58c88179169d0783112ef4f1dfd
[ "MIT" ]
null
null
null
main.py
waiting-gy/3dPoseBaseline
9a387bdb39f1a58c88179169d0783112ef4f1dfd
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function, absolute_import, division import os import sys import time from pprint import pprint import numpy as np import torch import torch.nn as nn import torch.optim import torch.backends.cudnn as cudnn from torch.utils.data import DataLoade...
35.668008
154
0.546229
2,298
17,727
4.032202
0.159704
0.030218
0.032808
0.028167
0.479279
0.451867
0.409886
0.358083
0.312001
0.300993
0
0.035824
0.30242
17,727
496
155
35.739919
0.713489
0.375642
0
0.269231
0
0.008547
0.064901
0.002407
0
0
0
0
0
0
null
null
0
0.119658
null
null
0.08547
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fb738738aa01ad7c8f1ad9e98712fdf555f5066b
3,343
py
Python
src/test/testcases/testExecutorMemory.py
open-power/sbe
0208243c5bbd68fa36464397fa46a2940c827edf
[ "Apache-2.0" ]
9
2017-03-21T08:34:24.000Z
2022-01-25T06:00:51.000Z
src/test/testcases/testExecutorMemory.py
sumant8098/sbe
0208243c5bbd68fa36464397fa46a2940c827edf
[ "Apache-2.0" ]
17
2016-11-04T00:46:43.000Z
2021-04-13T16:31:11.000Z
src/test/testcases/testExecutorMemory.py
sumant8098/sbe
0208243c5bbd68fa36464397fa46a2940c827edf
[ "Apache-2.0" ]
17
2017-03-24T11:52:56.000Z
2022-01-25T06:00:49.000Z
#!/usr/bin/python # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # $Source: src/test/testcases/testExecutorMemory.py $ # # OpenPOWER sbe Project # # Contributors Listed Below - COPYRIGHT 2016,2019 # [+] International Business Machines Corp. # # # Licensed under the Apache License, Version 2.0 (th...
35.189474
122
0.546216
355
3,343
5.028169
0.535211
0.033613
0.02465
0.031933
0.127731
0.05042
0.05042
0.05042
0.05042
0.05042
0
0.017844
0.212085
3,343
94
123
35.56383
0.659833
0.58959
0
0.125
1
0
0.287671
0.039484
0
0
0.003223
0
0
1
0.03125
false
0
0.125
0
0.15625
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fb767e24c0dec5452dc7a6733bd62b2c40413cd8
4,592
py
Python
RNN/rnn.py
not-a-lawyer/insult_classifier
a34efc9d0b0cfe7ee9aaa2c8c49cd404fd9e13f6
[ "MIT" ]
1
2020-03-31T17:13:16.000Z
2020-03-31T17:13:16.000Z
RNN/rnn.py
not-a-lawyer/insult_classifier
a34efc9d0b0cfe7ee9aaa2c8c49cd404fd9e13f6
[ "MIT" ]
null
null
null
RNN/rnn.py
not-a-lawyer/insult_classifier
a34efc9d0b0cfe7ee9aaa2c8c49cd404fd9e13f6
[ "MIT" ]
null
null
null
## Using Keras to classify some tweets as hate speech ## Following this guide at # https://medium.com/@armandj.olivares/detecting-toxic-comments-with-keras-and-interpreting-the-model-with-eli5-dbe734f3e86b from bayes_classifier import * from nltk.corpus import stopwords from keras.preprocessing.text import Tokenizer ...
41.369369
1,355
0.732361
655
4,592
5.038168
0.607634
0.040909
0.016667
0.018182
0.077879
0.060909
0.026061
0.026061
0.026061
0
0
0.011857
0.191855
4,592
110
1,356
41.745455
0.877392
0.201437
0
0
0
0.023256
0.403208
0
0
0
0
0.009091
0
1
0.093023
false
0
0.209302
0
0.372093
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fb799def71bf7c18e67e9e4f36b7d117708f0be3
132,113
py
Python
SimpleCV/Camera.py
M93Pragya/SimpleCV
6c4d61b6d1d9d856b471910107cad0838954d2b2
[ "BSD-3-Clause" ]
1,686
2015-01-02T08:47:08.000Z
2022-03-26T11:55:35.000Z
SimpleCV/Camera.py
M93Pragya/SimpleCV
6c4d61b6d1d9d856b471910107cad0838954d2b2
[ "BSD-3-Clause" ]
64
2015-01-05T11:23:11.000Z
2021-12-17T18:29:10.000Z
SimpleCV/Camera.py
M93Pragya/SimpleCV
6c4d61b6d1d9d856b471910107cad0838954d2b2
[ "BSD-3-Clause" ]
599
2015-01-10T17:37:08.000Z
2022-03-28T05:31:51.000Z
# SimpleCV Cameras & Devices #load system libraries from SimpleCV.base import * from SimpleCV.ImageClass import Image, ImageSet, ColorSpace from SimpleCV.Display import Display from SimpleCV.Color import Color from collections import deque import time import ctypes as ct import subprocess import cv2 import numpy as np...
34.530319
271
0.567915
14,585
132,113
5.074186
0.122592
0.008418
0.005405
0.00327
0.425338
0.380221
0.356277
0.319037
0.291378
0.27669
0
0.021555
0.320854
132,113
3,825
272
34.539346
0.803274
0.031201
0
0.384124
0
0.002664
0.132395
0.010781
0
0
0.000095
0.00183
0
0
null
null
0.004262
0.017581
null
null
0.022376
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fb7ac8b666f52e69e889509aa242a9411a4b8da3
2,607
py
Python
evidence-base/board/models.py
waw3ru/PROJECT_X
37255fd15496cb94c9e495d32a023fab3dd3f294
[ "MIT" ]
1
2018-09-18T21:33:05.000Z
2018-09-18T21:33:05.000Z
evidence-base/board/models.py
waw3ru/PROJECT_X
37255fd15496cb94c9e495d32a023fab3dd3f294
[ "MIT" ]
3
2018-08-17T17:47:07.000Z
2018-09-27T13:39:52.000Z
evidence-base/board/models.py
waw3ru/PROJECT_X
37255fd15496cb94c9e495d32a023fab3dd3f294
[ "MIT" ]
1
2018-09-10T13:46:54.000Z
2018-09-10T13:46:54.000Z
from django.db import models from django.conf import settings from django.core.urlresolvers import reverse import misaka from django.contrib.auth import get_user_model Current_user = get_user_model() # Models from our applications here # Create your models here. class Board(models.Model): title = models.CharFi...
41.380952
95
0.744918
341
2,607
5.42522
0.237537
0.063243
0.12973
0.149189
0.625405
0.625405
0.590811
0.348649
0.348649
0
0
0.031579
0.161872
2,607
62
96
42.048387
0.815103
0.032605
0
0
0
0
0.104448
0
0
0
0
0
0
1
0.065217
false
0
0.108696
0.043478
0.804348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fb7dc7d6065d0bc3beba4c8feee0b9e0cdd2109b
3,221
py
Python
tapeforms/contrib/bootstrap.py
jeromelebleu/django-tapeforms
72d141a904ece6568c081591e902d040b353b0b9
[ "MIT" ]
null
null
null
tapeforms/contrib/bootstrap.py
jeromelebleu/django-tapeforms
72d141a904ece6568c081591e902d040b353b0b9
[ "MIT" ]
1
2018-12-10T09:12:36.000Z
2018-12-10T09:12:36.000Z
tapeforms/contrib/bootstrap.py
jeromelebleu/django-tapeforms
72d141a904ece6568c081591e902d040b353b0b9
[ "MIT" ]
null
null
null
from django import forms from ..mixins import TapeformMixin class BootstrapTapeformMixin(TapeformMixin): """ Tapeform Mixin to render Bootstrap4 compatible forms. (using the template tags provided by `tapeforms`). """ #: Use a special layout template for Bootstrap compatible forms. layout_te...
40.772152
86
0.678671
386
3,221
5.525907
0.264249
0.052508
0.022504
0.030942
0.484763
0.385842
0.304266
0.283638
0.157525
0.157525
0
0.000405
0.233468
3,221
78
87
41.294872
0.863507
0.370382
0
0.060606
0
0
0.180896
0.129669
0
0
0
0
0
1
0.121212
false
0
0.060606
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fb7e29ff0f4f0b25f3d4c17c88166cc5c0ca57d0
615
py
Python
scale-generator/scale-generator.py
NewGuy012/scale-generator
33327264db57c63fdfeddfe78520aa2b91d8675f
[ "BSD-2-Clause" ]
null
null
null
scale-generator/scale-generator.py
NewGuy012/scale-generator
33327264db57c63fdfeddfe78520aa2b91d8675f
[ "BSD-2-Clause" ]
null
null
null
scale-generator/scale-generator.py
NewGuy012/scale-generator
33327264db57c63fdfeddfe78520aa2b91d8675f
[ "BSD-2-Clause" ]
null
null
null
from CircularDoublyLinkedList import MusicalScale, generate_musical_scale def main(): # keys_list = ["C", "D"] # scales_list = ["major", "minor", "dominant", "diminished", "augmented", # "pentatonic", "fourths", "fifths", "relative minor"] # chords_list = ["triad", "sus2", "sus4", "7th"...
30.75
77
0.577236
65
615
5.138462
0.569231
0.071856
0.11976
0.05988
0
0
0
0
0
0
0
0.016949
0.23252
615
19
78
32.368421
0.690678
0.421138
0
0
1
0
0.082857
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fb845f5f1fda217c5256c6b24741b4d9281d8a04
1,184
py
Python
fundingapi/api/handlers/create_pair.py
edge2b/fundingapi
1b3a59a141687027ef8a4ff1d6614518381edb61
[ "MIT" ]
2
2017-11-04T07:42:11.000Z
2017-11-29T00:19:21.000Z
fundingapi/api/handlers/create_pair.py
edge2b/fundingapi
1b3a59a141687027ef8a4ff1d6614518381edb61
[ "MIT" ]
2
2017-11-24T15:27:17.000Z
2017-11-29T00:26:12.000Z
fundingapi/api/handlers/create_pair.py
edge2b/fundingapi
1b3a59a141687027ef8a4ff1d6614518381edb61
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import logging import time from aiohttp import web from fundingapi.utils import generate_key_pair from fundingapi.utils import is_address_valid from ...schema import createPairRequest from ...schema import validate logger = logging.getLogger(__name__) @validate(createPairRequest) async def...
32
90
0.693412
161
1,184
4.956522
0.409938
0.052632
0.065163
0.105263
0.159148
0.152882
0.085213
0
0
0
0
0.016211
0.166385
1,184
36
91
32.888889
0.7923
0.017736
0
0
1
0
0.175711
0
0
0
0
0
0
1
0
false
0
0.269231
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fb86a7575ada235cfa4afdf254068e30bbcc3ae2
1,912
py
Python
skynet/ovs/bridge/cli.py
dceara/skynet
85e9074eb6cf368b81827130b5f929b3e12c904c
[ "Apache-2.0" ]
1
2021-01-13T10:41:49.000Z
2021-01-13T10:41:49.000Z
skynet/ovs/bridge/cli.py
dceara/skynet
85e9074eb6cf368b81827130b5f929b3e12c904c
[ "Apache-2.0" ]
1
2021-01-13T13:45:38.000Z
2021-01-13T13:45:38.000Z
skynet/ovs/bridge/cli.py
dceara/skynet
85e9074eb6cf368b81827130b5f929b3e12c904c
[ "Apache-2.0" ]
1
2021-01-13T12:27:05.000Z
2021-01-13T12:27:05.000Z
import click import textwrap from skynet.context import SkyNetCtxt from skynet.ovs.bridge.data import OvSDataProvider @click.group(name='bridge') @click.pass_obj def bridgecli(obj: SkyNetCtxt) -> None: """ OvS Bridge commands """ @bridgecli.command() @click.option('-h', '--host', ...
29.415385
75
0.575837
207
1,912
5.246377
0.405797
0.029466
0.033149
0.041436
0
0
0
0
0
0
0
0.004213
0.25523
1,912
64
76
29.875
0.758427
0.03818
0
0.152174
0
0
0.194088
0.011712
0
0
0
0
0
1
0.065217
false
0.065217
0.086957
0
0.152174
0.130435
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fb8e36b4f514016a85d4ede4c3f576c34fe5571f
324
py
Python
model/medical_dose_unit.py
IDRISSOUM/hospital_management
56a768f29269a77bc890d40479a8aacb90867189
[ "Unlicense" ]
null
null
null
model/medical_dose_unit.py
IDRISSOUM/hospital_management
56a768f29269a77bc890d40479a8aacb90867189
[ "Unlicense" ]
null
null
null
model/medical_dose_unit.py
IDRISSOUM/hospital_management
56a768f29269a77bc890d40479a8aacb90867189
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- # Part of BrowseInfo. See LICENSE file for full copyright and licensing details. from odoo import api, fields, models, _ class medical_dose_unit(models.Model): _name = 'medical.dose.unit' name = fields.Char(string="Unit",required=True) description = fields.Char(string="Description...
27
80
0.716049
43
324
5.302326
0.744186
0.096491
0.131579
0
0
0
0
0
0
0
0
0.003676
0.160494
324
11
81
29.454545
0.834559
0.308642
0
0
0
0
0.145455
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fb8f4bb9d0f4ce476bec3dc5209e253fdb5900b4
566
py
Python
vmraid/tests/test_patches.py
sowrisurya/vmraid
f833e00978019dad87af80b41279c0146c063ed5
[ "MIT" ]
null
null
null
vmraid/tests/test_patches.py
sowrisurya/vmraid
f833e00978019dad87af80b41279c0146c063ed5
[ "MIT" ]
null
null
null
vmraid/tests/test_patches.py
sowrisurya/vmraid
f833e00978019dad87af80b41279c0146c063ed5
[ "MIT" ]
null
null
null
from __future__ import unicode_literals import unittest, vmraid from vmraid.modules import patch_handler class TestPatches(unittest.TestCase): def test_patch_module_names(self): vmraid.flags.final_patches = [] vmraid.flags.in_install = True for patchmodule in patch_handler.get_all_patches(): if patchmodule.s...
31.444444
73
0.756184
70
566
5.885714
0.571429
0.080097
0.063107
0.097087
0
0
0
0
0
0
0
0.004065
0.130742
566
17
74
33.294118
0.833333
0
0
0
0
0
0.056537
0
0
0
0
0
0.066667
1
0.066667
false
0.066667
0.2
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fb92f8d64a1467ba094667f9bfebac6308fa5f51
3,069
py
Python
sra_py/sra_py/misc.py
Atidipt123/sra_py
52a8cf9f447a421f5cf8846e3e04bb80b62893a3
[ "MIT" ]
null
null
null
sra_py/sra_py/misc.py
Atidipt123/sra_py
52a8cf9f447a421f5cf8846e3e04bb80b62893a3
[ "MIT" ]
null
null
null
sra_py/sra_py/misc.py
Atidipt123/sra_py
52a8cf9f447a421f5cf8846e3e04bb80b62893a3
[ "MIT" ]
null
null
null
from .image import Image , GIF from .exceptions import InvalidAction , SongNotFound import requests class Song: ''' Represents a song.\n `Song,title` - Name of the song\n `Song.author` - Author of the song\n `Song.lyrics` - Lyrics of the song\n `Song.thumbnail` - Thumbnail of the song\n `...
30.088235
128
0.582926
403
3,069
4.389578
0.248139
0.045223
0.055964
0.022612
0.220464
0.142453
0.142453
0.098361
0.098361
0.098361
0
0.001854
0.296839
3,069
102
129
30.088235
0.817887
0.377973
0
0.162791
0
0
0.146282
0
0
0
0
0
0
1
0.209302
false
0
0.069767
0
0.465116
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
1
0
0
0
0
0
0
0
1
fb9349eef77750ca8aab10844d599cce9eeae303
5,518
py
Python
intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/ansible/utils/plugins/lookup/get_path.py
Stienvdh/statrick
7b092fc42171e226718a70a285a4b323f2f395ad
[ "MIT" ]
null
null
null
intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/ansible/utils/plugins/lookup/get_path.py
Stienvdh/statrick
7b092fc42171e226718a70a285a4b323f2f395ad
[ "MIT" ]
null
null
null
intro-ansible/venv3/lib/python3.8/site-packages/ansible_collections/ansible/utils/plugins/lookup/get_path.py
Stienvdh/statrick
7b092fc42171e226718a70a285a4b323f2f395ad
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2020 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) """ The get_path lookup plugin """ from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = """ name: get_path author:...
30.153005
94
0.624502
763
5,518
4.433814
0.269987
0.008868
0.012415
0.009459
0.361218
0.321017
0.216967
0.196867
0.176766
0.102867
0
0.017346
0.226894
5,518
182
95
30.318681
0.775668
0.02954
0
0.158621
0
0.089655
0.802208
0.148765
0
0
0
0
0
1
0.006897
false
0
0.034483
0
0.055172
0.006897
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fb97589325b509fd4082db81a24a9cc984258eb1
1,457
py
Python
heuslertools/tem/tem_measurement.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
heuslertools/tem/tem_measurement.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
heuslertools/tem/tem_measurement.py
LukeSkywalker92/heuslertools
58108511eec4a027f7d42888e66b50b2dc8d7612
[ "MIT" ]
null
null
null
""" Functions to load xps data from measurement files """ import numpy as np import matplotlib.pyplot as plt from heuslertools.tools.measurement import Measurement from heuslertools.tem.ser_reader import serReader class TEMMeasurement(Measurement): """Object representing a Measurement Parameters ---------...
29.14
87
0.59849
172
1,457
4.959302
0.494186
0.028136
0.039859
0.049238
0.063306
0.063306
0
0
0
0
0
0
0.30199
1,457
49
88
29.734694
0.838741
0.331503
0
0
0
0
0.029445
0
0
0
0
0
0
1
0.208333
false
0
0.166667
0.041667
0.458333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fb9d1b89318cdd65a7f128f4311dd5ce9680f62c
545
py
Python
datasets/dataset_info.py
AkshatShetty101/dmm-8803
299b5777f6801db0d56c83d37fca9b44d126d45a
[ "MIT" ]
1
2021-05-06T02:35:00.000Z
2021-05-06T02:35:00.000Z
datasets/dataset_info.py
yuxguo/frustum-convnet
a096d402e11965dad9745a7600a6ef98f72f2bf8
[ "MIT" ]
null
null
null
datasets/dataset_info.py
yuxguo/frustum-convnet
a096d402e11965dad9745a7600a6ef98f72f2bf8
[ "MIT" ]
null
null
null
import numpy as np class KITTICategory(object): CLASSES = ['Car', 'Pedestrian', 'Cyclist'] CLASS_MEAN_SIZE = { 'Car': np.array([3.88311640418, 1.62856739989, 1.52563191462]), 'Pedestrian': np.array([0.84422524, 0.66068622, 1.76255119]), 'Cyclist': np.array([1.76282397, 0.59706367, 1...
34.0625
71
0.649541
73
545
4.657534
0.479452
0.094118
0.123529
0
0
0
0
0
0
0
0
0.208716
0.2
545
16
72
34.0625
0.571101
0.022018
0
0
0
0
0.075188
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fb9d73def914c611d597b188332703a4b29d2e81
8,837
py
Python
scte/Scte35/SpliceEvent.py
jamesfining/scte
ad0eba0d9354bcc9f9d4858ef5fb385fc01c35c4
[ "Apache-2.0" ]
9
2019-05-04T02:03:18.000Z
2021-02-25T01:30:12.000Z
scte/Scte35/SpliceEvent.py
jamesfining/scte
ad0eba0d9354bcc9f9d4858ef5fb385fc01c35c4
[ "Apache-2.0" ]
3
2019-05-14T17:23:05.000Z
2020-10-12T15:42:36.000Z
scte/Scte35/SpliceEvent.py
jamesfining/scte
ad0eba0d9354bcc9f9d4858ef5fb385fc01c35c4
[ "Apache-2.0" ]
7
2018-11-05T19:46:43.000Z
2020-07-26T01:38:59.000Z
import base64 import copy import bitstring from scte.Scte35.TimeSignal import TimeSignal from scte.Scte35.SpliceDescriptor import SpliceDescriptor from scte.Scte35.SpliceNull import SpliceNull from scte.Scte35.SpliceInsert import SpliceInsert from scte.Scte35.SpliceSchedule import SpliceSchedule import logging class ...
49.094444
210
0.667082
1,070
8,837
5.165421
0.169159
0.085037
0.144563
0.174778
0.460286
0.410711
0.382124
0.347205
0.317894
0.282974
0
0.012171
0.246916
8,837
179
211
49.368715
0.818332
0.071857
0
0.191489
0
0
0.189272
0.050694
0
0
0
0
0
1
0.056738
false
0.007092
0.06383
0.021277
0.184397
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fba3992d9ffd79c01d08bccc0b8a8e963585483a
1,017
py
Python
basic/6_loop.py
yueban/python3_demo
20f2de7e124a9fee7eac99925737dc318be85353
[ "Apache-2.0" ]
null
null
null
basic/6_loop.py
yueban/python3_demo
20f2de7e124a9fee7eac99925737dc318be85353
[ "Apache-2.0" ]
null
null
null
basic/6_loop.py
yueban/python3_demo
20f2de7e124a9fee7eac99925737dc318be85353
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # sum = 0 # i = 1 # while i < 100: # sum += i # i += 1 # print(sum) # while True: # n = int(input('请输入一个数字: ')) # print('你输入的数字是: %d' % n) # edge = 10 # n = int(input('请输入一个大于%d的整数: ' % edge)) # while n < 10: # print('输入错误,%d小于%d' % (n, edge)) # n = int(input('请输入一个大于%d的整数: '...
16.95
50
0.460177
148
1,017
3.162162
0.351351
0.017094
0.057692
0.068376
0.213675
0.213675
0.111111
0
0
0
0
0.026393
0.3294
1,017
59
51
17.237288
0.659824
0.776794
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0.4
0
0
0
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
fba89819c85af4d987022fa84a34bc7242e0c37d
3,113
py
Python
g2p/tests/test_create_mapping.py
roedoejet/gi2pi
3699c15b327ddbc484c93bb14153a537af4be57b
[ "MIT" ]
29
2019-08-03T04:25:46.000Z
2022-03-30T03:48:23.000Z
g2p/tests/test_create_mapping.py
roedoejet/gi2pi
3699c15b327ddbc484c93bb14153a537af4be57b
[ "MIT" ]
96
2019-08-16T04:59:17.000Z
2022-03-29T16:42:50.000Z
g2p/tests/test_create_mapping.py
roedoejet/gi2pi
3699c15b327ddbc484c93bb14153a537af4be57b
[ "MIT" ]
5
2019-08-18T15:34:03.000Z
2022-03-25T13:34:52.000Z
#!/usr/bin/env python3 """ Test all Mappings """ from unittest import TestCase, main from g2p.mappings import Mapping from g2p.mappings.create_ipa_mapping import create_mapping from g2p.transducer import Transducer class MappingCreationTest(TestCase): def setUp(self): self.mappings = [ {"in...
36.623529
88
0.547703
359
3,113
4.579387
0.222841
0.109489
0.182482
0.055961
0.457421
0.36253
0.36253
0.36253
0.36253
0.36253
0
0.001744
0.263412
3,113
84
89
37.059524
0.712604
0.012528
0
0.231884
0
0
0.100457
0
0
0
0
0
0.173913
1
0.072464
false
0
0.057971
0
0.144928
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbb2f30f45921e7bc06228e82c457a74816bf068
2,355
py
Python
lab/lab01/tests/q3_1_2.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
lab/lab01/tests/q3_1_2.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
lab/lab01/tests/q3_1_2.py
ds-modules/Colab-demo
cccaff13633f8a5ec697cd4aeca9087f2feec2e4
[ "BSD-3-Clause" ]
null
null
null
test = { 'name': 'q3_1_2', 'points': 1, 'suites': [ { 'cases': [ { 'code': ">>> #It looks like you didn't give anything the name;\n" ">>> # seconds_in_a_decade. Maybe there's a typo, or maybe you ;\n" '>>> # ...
73.59375
121
0.317197
190
2,355
3.810526
0.468421
0.077348
0.096685
0.106354
0.371547
0.207182
0.16989
0.138122
0.138122
0.138122
0
0.033966
0.574947
2,355
31
122
75.967742
0.689311
0
0
0.258065
0
0
0.410616
0.008917
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
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbb777d8ab94b2456f367e6b381a141057e31fa6
14,938
py
Python
IRIS/IRIS_translation.py
Xinglab/IRIS
dc3c172eae9083daf57ce0e71c4fe322ab5cc928
[ "BSD-2-Clause-FreeBSD" ]
7
2019-11-21T08:42:37.000Z
2021-08-13T15:49:18.000Z
IRIS/IRIS_translation.py
Xinglab/IRIS
dc3c172eae9083daf57ce0e71c4fe322ab5cc928
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
IRIS/IRIS_translation.py
Xinglab/IRIS
dc3c172eae9083daf57ce0e71c4fe322ab5cc928
[ "BSD-2-Clause-FreeBSD" ]
2
2021-05-08T08:22:38.000Z
2022-01-20T23:43:03.000Z
import sys, argparse, os ,datetime,logging, uuid import multiprocessing as mp from . import config ID = str(uuid.uuid4()).split('-')[0] def loadFrame(fin): nomap=0 mis=0 exonFrameDict={} for l in open(fin): ls=l.strip().split('|') if len(ls)>5: #no hits if (float(ls[1])/3)*0.4>float(ls[11]): #identities to...
40.048257
209
0.673986
2,506
14,938
3.806464
0.163607
0.052836
0.015096
0.009435
0.421113
0.336828
0.288814
0.241849
0.202013
0.175909
0
0.031961
0.143326
14,938
372
210
40.155914
0.713448
0.206788
0
0.305233
0
0
0.087813
0.012399
0
0
0
0.002688
0
0
null
null
0.011628
0.008721
null
null
0.014535
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fbbdb42a6ec870a1424b6748b831e11932cb8938
845
py
Python
scripts/LightGBMClassifier/test.py
yangfei1223/FHM
724afdb799e6ddc697f6af0aa13860b80b1329fd
[ "Unlicense" ]
null
null
null
scripts/LightGBMClassifier/test.py
yangfei1223/FHM
724afdb799e6ddc697f6af0aa13860b80b1329fd
[ "Unlicense" ]
null
null
null
scripts/LightGBMClassifier/test.py
yangfei1223/FHM
724afdb799e6ddc697f6af0aa13860b80b1329fd
[ "Unlicense" ]
null
null
null
# coding: utf-8 # pylint: disable = invalid-name, C0111 import sys import os import numpy as np import pandas as pd import lightgbm as lgb from sklearn.metrics import mean_squared_error print sys.argv print len(sys.argv) pathname='/media/yangfei/Repository/HFM/lidar_feature/training/' filelist=os.listdir(pathname) file...
29.137931
84
0.718343
130
845
4.515385
0.553846
0.034072
0.054514
0
0
0
0
0
0
0
0
0.016621
0.145562
845
28
85
30.178571
0.796399
0.20355
0
0
0
0
0.121622
0.07958
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fbc2397407aca7a10ad3aaee264d558c891d03a6
1,342
py
Python
tests/i18n/test_i18n.py
SuneelMaurya/the-example-app
ec3238ec1db387037aba56baeaabc4a34d6fa2fd
[ "MIT" ]
17
2018-03-30T03:03:12.000Z
2022-01-20T02:21:59.000Z
tests/i18n/test_i18n.py
SuneelMaurya/the-example-app
ec3238ec1db387037aba56baeaabc4a34d6fa2fd
[ "MIT" ]
6
2018-01-18T20:18:26.000Z
2020-06-29T20:39:44.000Z
tests/i18n/test_i18n.py
SuneelMaurya/the-example-app
ec3238ec1db387037aba56baeaabc4a34d6fa2fd
[ "MIT" ]
38
2018-03-30T03:03:14.000Z
2022-03-30T13:49:46.000Z
from unittest import TestCase from tests import MockApp from i18n.i18n import I18n, translate, is_translation_available class I18nTest(TestCase): @classmethod def setUpClass(klass): I18n(MockApp()) # translation available def test_returns_false_if_translation_not_available_for_symbol(self): ...
35.315789
81
0.728018
159
1,342
5.754717
0.320755
0.045902
0.091803
0.04153
0.337705
0.313661
0
0
0
0
0
0.009091
0.180328
1,342
37
82
36.27027
0.822727
0.0231
0
0.076923
0
0
0.142966
0
0
0
0
0
0.269231
1
0.269231
false
0
0.115385
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fbc885bc925df60a901d73affc5569e1e8ba0b2e
3,350
py
Python
Model_training&Heatmap.py
34-Matt/Latex-Math
d91e0d239d00cec491c850cc4b32a7362dbda1cb
[ "MIT" ]
3
2019-10-24T07:22:40.000Z
2020-12-17T08:43:42.000Z
Model_training&Heatmap.py
34-Matt/Latex-Math
d91e0d239d00cec491c850cc4b32a7362dbda1cb
[ "MIT" ]
2
2019-10-31T16:57:57.000Z
2019-12-29T18:31:29.000Z
Model_training&Heatmap.py
34-Matt/Latex-Math
d91e0d239d00cec491c850cc4b32a7362dbda1cb
[ "MIT" ]
1
2020-06-18T05:32:03.000Z
2020-06-18T05:32:03.000Z
# -*- coding: utf-8 -*- """Project Training.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1Kr15oI3Jz958EB30I3We9V278wZnGd83 """ #!pip install tensorflow-gpu import sklearn as sk from sklearn.metrics import confusion_matrix import seaborn as sn...
30.18018
121
0.723284
511
3,350
4.622309
0.377691
0.050804
0.032176
0.018628
0.19602
0.169771
0.152837
0.152837
0.124894
0.084251
0
0.044437
0.146866
3,350
111
122
30.18018
0.782015
0.174925
0
0.151515
1
0
0.088418
0.029229
0
0
0
0
0
1
0.030303
false
0
0.257576
0
0.318182
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbce9445d28a1e2e8444f1b14891ea9bfa4aa1fd
1,322
py
Python
alipay/aop/api/response/AlipayUserAccountInfoTaobaoQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayUserAccountInfoTaobaoQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayUserAccountInfoTaobaoQueryResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayUserAccountInfoTaobaoQueryResponse(AlipayResponse): def __init__(self): super(AlipayUserAccountInfoTaobaoQueryResponse, self).__init__() self._alipay_user_id = ...
28.73913
113
0.683812
160
1,322
5.28125
0.2125
0.106509
0.127811
0.07574
0.04497
0
0
0
0
0
0
0.000983
0.230711
1,322
45
114
29.377778
0.829892
0.03177
0
0.088235
0
0
0.048513
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.088235
0.411765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
fbd1f05f5c0719e53bb8cd556b5d85d392b3ceaa
1,207
py
Python
Intro-Bites/105.py
joaopalmeiro/pybites
54a70689c14149a8b927a004e70f1b07642ec766
[ "MIT" ]
null
null
null
Intro-Bites/105.py
joaopalmeiro/pybites
54a70689c14149a8b927a004e70f1b07642ec766
[ "MIT" ]
null
null
null
Intro-Bites/105.py
joaopalmeiro/pybites
54a70689c14149a8b927a004e70f1b07642ec766
[ "MIT" ]
null
null
null
from typing import List text = """ One really nice feature of Python is polymorphism: using the same operation on different types of objects. Let's talk about an elegant feature: slicing. You can use this on a string as well as a list for example 'pybites'[0:2] gives 'py'. The first value is inclusive and the last on...
31.763158
81
0.671914
200
1,207
3.995
0.53
0.022528
0.022528
0.032541
0.04005
0.04005
0
0
0
0
0
0.009667
0.228666
1,207
37
82
32.621622
0.84855
0.106048
0
0
0
0.076923
0.609756
0
0
0
0
0
0
1
0.038462
false
0
0.038462
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
fbd3a95c5d5786e306df3ae48cd97de664083257
9,743
py
Python
scripts/python/qlibmenutools.py
JosephSilvermanArt/qLib
00a5d9c85e4588448ed149ffe79160e64af831f1
[ "BSD-3-Clause" ]
1
2020-11-06T06:15:07.000Z
2020-11-06T06:15:07.000Z
scripts/python/qlibmenutools.py
JosephSilvermanArt/qLib
00a5d9c85e4588448ed149ffe79160e64af831f1
[ "BSD-3-Clause" ]
null
null
null
scripts/python/qlibmenutools.py
JosephSilvermanArt/qLib
00a5d9c85e4588448ed149ffe79160e64af831f1
[ "BSD-3-Clause" ]
null
null
null
""" @file qlibmenutools.py @author xy @since 2019-12-10 @brief Menu related convenience functions. """ import os import traceback import hou import qlibutils import re def get_all_parms(kwargs, unlocked_only=False): """Get all (both normal and locked) parms, ...
27.997126
95
0.56266
1,248
9,743
4.28766
0.235577
0.034947
0.02878
0.044478
0.276958
0.235283
0.214539
0.193235
0.173052
0.14801
0
0.006417
0.312224
9,743
347
96
28.07781
0.792121
0.043416
0
0.333333
0
0
0.058575
0
0
0
0
0.002882
0
0
null
null
0.014085
0.023474
null
null
0.032864
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
fbda76b34062e23f2034abba1637d6ec1c4e7bbe
306
py
Python
tests/test_dask.py
JoshKarpel/htcondor-executor
a2a40f55772a4391b57bc1baeb5aa66d9ca0f17d
[ "Apache-2.0" ]
null
null
null
tests/test_dask.py
JoshKarpel/htcondor-executor
a2a40f55772a4391b57bc1baeb5aa66d9ca0f17d
[ "Apache-2.0" ]
null
null
null
tests/test_dask.py
JoshKarpel/htcondor-executor
a2a40f55772a4391b57bc1baeb5aa66d9ca0f17d
[ "Apache-2.0" ]
null
null
null
from htcondor_executor import HTCondorExecutor import dask import dask.array as da import numpy as np def test_works_as_dask_executor(): with HTCondorExecutor() as pool: with dask.config.set(pool=pool): x = da.sum(da.ones(5)) ** 2 y = x.compute() assert y == 25
20.4
46
0.653595
45
306
4.333333
0.6
0.102564
0
0
0
0
0
0
0
0
0
0.017544
0.254902
306
14
47
21.857143
0.837719
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.1
false
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
836dedb5112322e69161c5f5be8299213bf48054
1,146
py
Python
example/Async API/Video API/process_video_url.py
mountaincode2/symbl-python
c46f3eac5d92be50e7ecb92b782619544a5af58e
[ "Apache-2.0" ]
null
null
null
example/Async API/Video API/process_video_url.py
mountaincode2/symbl-python
c46f3eac5d92be50e7ecb92b782619544a5af58e
[ "Apache-2.0" ]
null
null
null
example/Async API/Video API/process_video_url.py
mountaincode2/symbl-python
c46f3eac5d92be50e7ecb92b782619544a5af58e
[ "Apache-2.0" ]
null
null
null
import symbl ''' you can also pass other parameters with the payload payload = { 'url': "<url>", #write the url path of the video, which you want to process 'name': "TestingMeeting", 'enableSpeakerDiarization': "true", 'diarizationSpeakerCount': "2", 'channelMetadata': [ { ...
26.045455
86
0.557592
108
1,146
5.824074
0.462963
0.162162
0.190779
0.063593
0.344992
0.344992
0.344992
0.209857
0.209857
0.209857
0
0.003802
0.311518
1,146
43
87
26.651163
0.793409
0.202443
0
0
0
0
0.056738
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
837045e51689f57614a27fe1626affd36a1750d6
579
py
Python
booktime/booktime/main/tests/test_views.py
thiagosantos346/apress
0dab6b36fd8e937b79194f670bf5161154b80e39
[ "Apache-2.0" ]
null
null
null
booktime/booktime/main/tests/test_views.py
thiagosantos346/apress
0dab6b36fd8e937b79194f670bf5161154b80e39
[ "Apache-2.0" ]
null
null
null
booktime/booktime/main/tests/test_views.py
thiagosantos346/apress
0dab6b36fd8e937b79194f670bf5161154b80e39
[ "Apache-2.0" ]
null
null
null
from django.test import TestCase from django.urls import reverse class TestPage(TestCase): def test_home_page_works(self): response = self.client.get("/") self.assertEqual(response.status_code, 200) self.assertTemplateUsed(response, 'home.html') self.assertContains(response, 'Home')...
36.1875
58
0.70639
68
579
5.852941
0.397059
0.052764
0.065327
0.105528
0.502513
0.502513
0.502513
0.331658
0.331658
0
0
0.012685
0.183074
579
15
59
38.6
0.828753
0
0
0.153846
0
0
0.074266
0
0
0
0
0
0.461538
1
0.153846
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
83709959b5142c56e27c2cc54eae41da4bce8d58
272
py
Python
test/nn/test_reshape.py
mrmotallebi/pytorch_geometric
5d768659d2a54544219c057ad05172ca55b43119
[ "MIT" ]
12,651
2017-10-28T15:14:24.000Z
2021-09-12T07:22:57.000Z
test/nn/test_reshape.py
mrmotallebi/pytorch_geometric
5d768659d2a54544219c057ad05172ca55b43119
[ "MIT" ]
2,472
2017-10-30T23:38:47.000Z
2021-09-12T06:41:44.000Z
test/nn/test_reshape.py
mrmotallebi/pytorch_geometric
5d768659d2a54544219c057ad05172ca55b43119
[ "MIT" ]
2,363
2017-12-01T13:25:05.000Z
2021-09-12T07:23:09.000Z
import torch from torch_geometric.nn.reshape import Reshape def test_reshape(): x = torch.randn(10, 4) op = Reshape(5, 2, 4) assert op.__repr__() == 'Reshape(5, 2, 4)' assert op(x).size() == (5, 2, 4) assert op(x).view(10, 4).tolist() == x.tolist()
22.666667
51
0.602941
45
272
3.511111
0.444444
0.037975
0.056962
0.170886
0.310127
0.310127
0
0
0
0
0
0.069767
0.209559
272
11
52
24.727273
0.665116
0
0
0
0
0
0.058824
0
0
0
0
0
0.375
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83728d88ecb4244c2e8e23d374edbc0d10acf193
283
py
Python
bin/bin_MD/2PCF-LX-bins-30-MD04box.py
JohanComparat/nbody-npt-functions
a034db4e5a9b2f87dc42eeb6059c4dd280589e4a
[ "CC0-1.0" ]
4
2017-11-07T02:15:46.000Z
2022-03-03T01:35:53.000Z
bin/bin_MD/2PCF-LX-bins-30-MD04box.py
JohanComparat/nbody-npt-functions
a034db4e5a9b2f87dc42eeb6059c4dd280589e4a
[ "CC0-1.0" ]
null
null
null
bin/bin_MD/2PCF-LX-bins-30-MD04box.py
JohanComparat/nbody-npt-functions
a034db4e5a9b2f87dc42eeb6059c4dd280589e4a
[ "CC0-1.0" ]
2
2020-08-12T14:26:38.000Z
2021-09-14T06:08:58.000Z
from MultiDark import * box = MultiDarkSimulation(Lbox=400.0 * uu.Mpc, boxDir = "MD_0.4Gpc") ll = n.array( glob.glob( "/home/comparat/darksim/MD/MD_0.4Gpc/catalogs//out_54*.fits" ) ) box.compute2PCF_LX(ll, rmax=30, dr = 0.1, Nmax=1000000, vmin=41.5, dlogBin=0.2, name="rmax_30")
35.375
96
0.699647
50
283
3.86
0.76
0.031088
0.072539
0
0
0
0
0
0
0
0
0.115538
0.113074
283
7
97
40.428571
0.653386
0
0
0
0
0
0.262411
0.205674
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8373c215289e097f4c5d51c9601a46cce2b60b22
1,640
py
Python
uwsgi/app/models.py
TomoyaFujiwara/easy_recipe
af66d34aad3f967f1ac3698a838750a928df775a
[ "MIT" ]
null
null
null
uwsgi/app/models.py
TomoyaFujiwara/easy_recipe
af66d34aad3f967f1ac3698a838750a928df775a
[ "MIT" ]
4
2020-07-17T08:34:18.000Z
2022-01-22T05:19:04.000Z
uwsgi/app/models.py
TomoyaFujiwara/easy_recipe
af66d34aad3f967f1ac3698a838750a928df775a
[ "MIT" ]
null
null
null
from datetime import datetime from app import app, db class Recipe(db.Model): __tablename__ = "recipe" recipe_id = db.Column(db.Integer, primary_key=True) user_id = db.Column(db.String(128)) # Google Oath id name = db.Column(db.String(50)) site_url = db.Column(db.String(128)) image_url = db.C...
32.8
113
0.615854
210
1,640
4.528571
0.190476
0.109359
0.136698
0.07571
0.532072
0.470032
0.297581
0.297581
0.262881
0.262881
0
0.013535
0.234146
1,640
49
114
33.469388
0.743631
0.008537
0
0.166667
0
0
0.149815
0
0
0
0
0
0
1
0.083333
false
0
0.055556
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
837894c0b1de2ddbfc77f45d99a96c48aef466b4
3,845
py
Python
angrcli/plugins/ContextView/colors.py
cokesme/angr-cli-mirror
37da5bf731549dab2523215a9212f372e3302168
[ "MIT" ]
38
2018-10-18T17:03:52.000Z
2022-02-06T13:19:19.000Z
angrcli/plugins/ContextView/colors.py
cokesme/angr-cli-mirror
37da5bf731549dab2523215a9212f372e3302168
[ "MIT" ]
3
2019-06-29T10:16:20.000Z
2021-06-10T15:29:27.000Z
angrcli/plugins/ContextView/colors.py
cokesme/angr-cli-mirror
37da5bf731549dab2523215a9212f372e3302168
[ "MIT" ]
4
2018-10-08T12:54:50.000Z
2020-03-27T09:29:27.000Z
from typing import NewType, cast ColoredString = NewType("ColoredString", str) class Color: """Used to colorify terminal output. Taken nearly verbatim from gef, https://github.com/hugsy/gef/blob/ecd6f8ff638d34043045df169ca6062b2fb28819/gef.py#L366-L421 gef is distributed under the MIT License (MIT) Copyrigh...
32.863248
127
0.653316
473
3,845
5.293869
0.395349
0.071885
0.083466
0.109824
0.204073
0.180112
0.180112
0
0
0
0
0.039142
0.235891
3,845
116
128
33.146552
0.813138
0.353446
0
0.173913
0
0
0.145373
0
0
0
0
0
0
1
0.173913
false
0
0.014493
0.15942
0.42029
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
8381dab5b6e230b0447963b5f9186148f0122d83
1,861
py
Python
latlong.py
gbowerman/random-destination
88f6a6a6e6cf971cb9d4bea477b093a4b0eef84e
[ "MIT" ]
null
null
null
latlong.py
gbowerman/random-destination
88f6a6a6e6cf971cb9d4bea477b093a4b0eef84e
[ "MIT" ]
null
null
null
latlong.py
gbowerman/random-destination
88f6a6a6e6cf971cb9d4bea477b093a4b0eef84e
[ "MIT" ]
null
null
null
'''latlong.py - simple command line tool to generate a random destination from starting coordinates Warning: You might have to swim ''' import math import random import sys EARTH_RADIUS = 6378.1 MIN_DIST = 1 MAX_DIST = 16 # destination radius in KM def plot_location(latitude, longitude, bearing, distance...
32.649123
85
0.691564
272
1,861
4.573529
0.338235
0.033762
0.024116
0.032154
0.241961
0.142283
0.071543
0
0
0
0
0.02642
0.186459
1,861
57
86
32.649123
0.795244
0.233745
0
0
1
0
0.117901
0.029475
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.242424
0.060606
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8385e362df8513b79b9dd393ab2c3ba628459a95
1,187
py
Python
ADV_Fixo.py
Faheldantas/ADV
31b3e2ee4b2e07d36a5d6e22822529b7f3f49b1b
[ "MIT" ]
null
null
null
ADV_Fixo.py
Faheldantas/ADV
31b3e2ee4b2e07d36a5d6e22822529b7f3f49b1b
[ "MIT" ]
null
null
null
ADV_Fixo.py
Faheldantas/ADV
31b3e2ee4b2e07d36a5d6e22822529b7f3f49b1b
[ "MIT" ]
null
null
null
print("Bem Vindo ao jogo de Adivinhação") print("################################") print("DICA: Obter, para si, vantagem ilícita, em prejuízo alheio, induzindo ou mantendo alguém em erro, mediante artifício, ardil, ou qualquer outro meio fraudulento:") print("################################") numero_secreto = 71 tot...
33.914286
169
0.603201
145
1,187
4.848276
0.489655
0.110953
0.072546
0.065434
0.119488
0
0
0
0
0
0
0.018764
0.236731
1,187
35
170
33.914286
0.757174
0.00674
0
0.068966
0
0.034483
0.440204
0.054283
0
0
0
0
0
1
0
false
0
0
0
0
0.413793
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
83892684b95fec716e5e506c51b86fd0cef25222
435
py
Python
tests/cli/test_signature_extractor.py
mmiki21/Viola-SV
10fe2c326749024551d3e41f900b37e20dbde35c
[ "Apache-2.0" ]
13
2021-05-03T18:43:25.000Z
2022-03-26T04:57:01.000Z
tests/cli/test_signature_extractor.py
mmiki21/Viola-SV
10fe2c326749024551d3e41f900b37e20dbde35c
[ "Apache-2.0" ]
6
2021-04-02T08:04:23.000Z
2022-03-24T11:34:43.000Z
tests/cli/test_signature_extractor.py
mmiki21/Viola-SV
10fe2c326749024551d3e41f900b37e20dbde35c
[ "Apache-2.0" ]
3
2022-02-23T03:36:12.000Z
2022-03-07T07:05:00.000Z
from viola.cli.viola import viola from click.testing import CliRunner import pandas as pd import sys, os HERE = os.path.abspath(os.path.dirname(__file__)) infile = os.path.join(HERE, 'data/feature_matrix.csv') outfile = os.path.join(HERE, 'data/out/test_signature.tsv') def test_signature_extractor(): runner = CliR...
33.461538
73
0.749425
64
435
4.953125
0.59375
0.07571
0.063091
0.088328
0.113565
0
0
0
0
0
0
0.002625
0.124138
435
12
74
36.25
0.829396
0
0
0
0
0
0.154023
0.114943
0
0
0
0
0.090909
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
838b7d227b4f077ccbfae783145564769d73a0c7
1,303
py
Python
change_password.py
Yzma-Robotics/smart-banking-app
ba90ebb22e6dbd382c2b02832438c0fadb49486f
[ "MIT" ]
2
2019-09-18T10:47:48.000Z
2021-03-02T09:01:52.000Z
change_password.py
Yzma-Robotics/smart-banking-app
ba90ebb22e6dbd382c2b02832438c0fadb49486f
[ "MIT" ]
null
null
null
change_password.py
Yzma-Robotics/smart-banking-app
ba90ebb22e6dbd382c2b02832438c0fadb49486f
[ "MIT" ]
2
2019-09-18T10:47:50.000Z
2019-09-18T11:04:55.000Z
#!/usr/bin/python import pymysql import cgi, cgitb import sys import os import re import private_data import config from smtplib import SMTP_SSL as SMTP from email.mime.text import MIMEText class Mail: USERNAME = private_data.admin_email PASSWORD = private_data.admin_password def send_mail(self,email_ad): SMTPs...
23.267857
73
0.711435
183
1,303
4.967213
0.459016
0.048405
0.052805
0.046205
0
0
0
0
0
0
0
0.002712
0.15119
1,303
56
74
23.267857
0.819168
0.012279
0
0.096154
0
0
0.160839
0.02331
0
0
0
0
0
1
0.019231
false
0.134615
0.173077
0
0.25
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
838c6f23dd09b675ebf69724f947e4486c3a5719
1,946
py
Python
solum/objects/sqlalchemy/plan.py
alex/solum
ca61f2844c5187378986c8b1356130b0d8dfa846
[ "Apache-2.0" ]
1
2015-11-08T13:02:17.000Z
2015-11-08T13:02:17.000Z
solum/objects/sqlalchemy/plan.py
alex/solum
ca61f2844c5187378986c8b1356130b0d8dfa846
[ "Apache-2.0" ]
null
null
null
solum/objects/sqlalchemy/plan.py
alex/solum
ca61f2844c5187378986c8b1356130b0d8dfa846
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 - Rackspace, 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 to in wri...
34.140351
77
0.722508
260
1,946
5.284615
0.480769
0.081514
0.13246
0.116448
0.103348
0.078603
0
0
0
0
0
0.012033
0.188592
1,946
56
78
34.75
0.858138
0.322713
0
0.1
0
0
0.003089
0
0
0
0
0
0
1
0.1
false
0
0.166667
0.033333
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
83951298885e01af2c474af8672899b0b2882063
12,399
py
Python
opto/regression/classes/model.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
5
2019-03-25T17:52:28.000Z
2022-03-19T06:20:41.000Z
opto/regression/classes/model.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
null
null
null
opto/regression/classes/model.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
6
2018-02-19T05:33:40.000Z
2019-11-21T04:17:22.000Z
# Compatibility Python 2/3 from __future__ import division, print_function, absolute_import from past.builtins import basestring from builtins import range # ---------------------------------------------------------------------------------------------------------------------- import numpy as np import time # import js...
38.150769
130
0.561013
1,412
12,399
4.815864
0.179178
0.023824
0.027941
0.013235
0.466765
0.443235
0.416176
0.400294
0.382794
0.378088
0
0.012655
0.31809
12,399
324
131
38.268519
0.791603
0.316477
0
0.375758
0
0
0.022532
0
0
0
0
0.018519
0.024242
1
0.090909
false
0.012121
0.139394
0.012121
0.30303
0.006061
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
839515d18aea3bb5611b46570ca5bcc8b4f393e0
2,539
py
Python
tests/test_callbacks.py
seanrcollings/arc
77628b7bb99ac1869944c9c25a87aa3c80407492
[ "MIT" ]
2
2020-02-23T01:37:30.000Z
2020-09-05T20:46:08.000Z
tests/test_callbacks.py
seanrcollings/arc
77628b7bb99ac1869944c9c25a87aa3c80407492
[ "MIT" ]
116
2020-08-14T05:15:26.000Z
2022-03-08T05:41:34.000Z
tests/test_callbacks.py
seanrcollings/arc
77628b7bb99ac1869944c9c25a87aa3c80407492
[ "MIT" ]
null
null
null
import pytest from arc import CLI, Context, errors, callback class CallbackException(Exception): """Used to assert that callbacks are actually running""" def __init__(self, ctx: Context, **kwargs): self.ctx = ctx self.kwargs = kwargs def test_execute(cli: CLI): @callback.create() de...
18.398551
60
0.582907
274
2,539
5.332117
0.208029
0.068446
0.07666
0.049281
0.461328
0.387406
0.250513
0.19781
0.132786
0.132786
0
0.011693
0.292635
2,539
137
61
18.532847
0.801782
0.019693
0
0.62
0
0
0.028997
0
0
0
0
0
0.05
1
0.24
false
0
0.02
0.01
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8398c4bba5b549730e3a2fde67ffdf434ac6005c
29,879
py
Python
ib/ext/EWrapperMsgGenerator.py
LewisW/IbPy
eb6ec62a3c578c650e6b98e56a9b6ed2c0a28f0f
[ "BSD-3-Clause" ]
1,260
2015-01-05T01:38:43.000Z
2022-03-28T14:08:02.000Z
ib/ext/EWrapperMsgGenerator.py
LewisW/IbPy
eb6ec62a3c578c650e6b98e56a9b6ed2c0a28f0f
[ "BSD-3-Clause" ]
46
2015-01-04T15:37:17.000Z
2019-10-24T09:53:40.000Z
ib/ext/EWrapperMsgGenerator.py
LewisW/IbPy
eb6ec62a3c578c650e6b98e56a9b6ed2c0a28f0f
[ "BSD-3-Clause" ]
521
2015-01-01T14:26:01.000Z
2022-03-26T16:22:36.000Z
#!/usr/bin/env python """ generated source for module EWrapperMsgGenerator """ # # Original file copyright original author(s). # This file copyright Troy Melhase, troy@gci.net. # # WARNING: all changes to this file will be lost. from ib.ext.AnyWrapperMsgGenerator import AnyWrapperMsgGenerator from ib.ext.EClientSocket...
53.739209
179
0.548312
2,538
29,879
6.36052
0.141844
0.031593
0.028433
0.062442
0.261599
0.200335
0.156724
0.120795
0.098619
0.098619
0
0.001297
0.303056
29,879
555
180
53.836036
0.773915
0.071321
0
0.316594
1
0
0.168323
0.013466
0
0
0
0
0
1
0.091703
false
0
0.0131
0
0.203057
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
839a121760c0a5c0868cc011f1cdfe499de92349
1,747
py
Python
students/k3342/laboratory_works/Shaidullina_Regina/laboratory_work_2_3/school/serializers.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
10
2020-03-20T09:06:12.000Z
2021-07-27T13:06:02.000Z
students/k3342/laboratory_works/Shaidullina_Regina/laboratory_work_2_3/school/serializers.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
134
2020-03-23T09:47:48.000Z
2022-03-12T01:05:19.000Z
students/k3342/laboratory_works/Shaidullina_Regina/laboratory_work_2_3/school/serializers.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
71
2020-03-20T12:45:56.000Z
2021-10-31T19:22:25.000Z
from rest_framework import serializers from school.models import Subject, Room, Teacher, Pupil, Class, Assessment, Timetable, Teaching class SubjectSerializers(serializers.ModelSerializer): class Meta: model = Subject fields = ('name', 'sub_type') class TeacherSerializers(serializers.ModelSerial...
28.639344
97
0.670864
150
1,747
7.746667
0.3
0.179002
0.096386
0.11704
0.325301
0.154905
0.154905
0.154905
0.154905
0
0
0
0.211219
1,747
60
98
29.116667
0.843251
0.139668
0
0.222222
0
0
0.137124
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
839adccaf9f1a4dda7740d882cea54dffa7de465
539
py
Python
model-optimizer/extensions/front/onnx/cast_ext.py
monroid/openvino
8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
model-optimizer/extensions/front/onnx/cast_ext.py
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
model-optimizer/extensions/front/onnx/cast_ext.py
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
# Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from extensions.ops.Cast import Cast from mo.front.extractor import FrontExtractorOp from mo.front.onnx.extractors.utils import get_onnx_datatype_as_numpy, onnx_attr class CastFrontExtractor(FrontExtractorOp): op = 'Cast' enabl...
29.944444
81
0.734694
74
539
5.175676
0.648649
0.031332
0.057441
0.088773
0.114883
0
0
0
0
0
0
0.022222
0.165121
539
17
82
31.705882
0.828889
0.142857
0
0
0
0
0.03268
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
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
0
0
0
0
0
0
0
0
1
0
0
1
839dd444c3a5d7f23e1920cfc943125303c34be5
1,105
py
Python
silvia/silviacontrol/migrations/0005_auto_20200527_1108.py
willhunt/silvia
1e2a207d2525f965024e9fb362537569d8a3c4e0
[ "MIT" ]
5
2020-09-07T18:17:30.000Z
2021-12-14T02:00:53.000Z
silvia/silviacontrol/migrations/0005_auto_20200527_1108.py
willhunt/silvia
1e2a207d2525f965024e9fb362537569d8a3c4e0
[ "MIT" ]
6
2020-05-20T14:39:06.000Z
2021-05-11T18:53:30.000Z
silvia/silviacontrol/migrations/0005_auto_20200527_1108.py
willhunt/silvia
1e2a207d2525f965024e9fb362537569d8a3c4e0
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-27 10:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('django_celery_beat', '0012_periodictask_expire_seconds'), ('silviacontrol', '0004_auto_20180915_1228'), ] o...
35.645161
171
0.659729
119
1,105
5.92437
0.453782
0.04539
0.059574
0.093617
0.570213
0.485106
0.419858
0.266667
0.266667
0.266667
0
0.043124
0.223529
1,105
30
172
36.833333
0.778555
0.040724
0
0.375
1
0
0.245747
0.110586
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83a00beae71363abd7cef023e9a1295b91c46cda
4,919
py
Python
astropop/math/tests/test_math.py
FCeoni/astropop-1
cc7fa7f5e20a7335bf30ee70f18a178222f80cd7
[ "BSD-3-Clause" ]
1
2019-12-17T17:27:12.000Z
2019-12-17T17:27:12.000Z
astropop/math/tests/test_math.py
FCeoni/astropop-1
cc7fa7f5e20a7335bf30ee70f18a178222f80cd7
[ "BSD-3-Clause" ]
null
null
null
astropop/math/tests/test_math.py
FCeoni/astropop-1
cc7fa7f5e20a7335bf30ee70f18a178222f80cd7
[ "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst import pytest import hashlib from astropop.math.hasher import hasher from astropop.math.array import xy2r, iraf_indices, trim_array from astropop.math.opd_utils import opd2jd, solve_decimal, \ read_opd_header_number fro...
29.45509
79
0.579183
845
4,919
3.265089
0.144379
0.153679
0.108373
0.14353
0.661834
0.616165
0.570134
0.56506
0.416818
0.390721
0
0.118343
0.244155
4,919
166
80
29.63253
0.623722
0.017077
0
0.363636
0
0
0.046358
0
0
0
0
0
0.484848
1
0.121212
false
0
0.05303
0
0.174242
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
83a2f3a7e9371c7d2b0d27b4ba9f5122d2c74816
859
py
Python
src/test.py
kdonbekci/olympus
5f25349ff5020cb03880a7fa87956b531ea4003d
[ "MIT" ]
null
null
null
src/test.py
kdonbekci/olympus
5f25349ff5020cb03880a7fa87956b531ea4003d
[ "MIT" ]
null
null
null
src/test.py
kdonbekci/olympus
5f25349ff5020cb03880a7fa87956b531ea4003d
[ "MIT" ]
null
null
null
from mutation import AddConnectionMutation,AddNodeMutation,ChangeNodeMutation,ChangeConnectionMutation,ToggleConnectionMutation,ToggleNodeMutation,tests from gene import ConnectionGene, NodeGene, PseudoGene, tests from genome import Genome, tests from phenome import Phenome, tests from fitness import Fitness, tests fro...
34.36
152
0.798603
112
859
6.071429
0.464286
0.092647
0.035294
0.067647
0
0
0
0
0
0
0
0.03381
0.104773
859
24
153
35.791667
0.850455
0
0
0.095238
0
0
0.091967
0
0
0
0
0
0
1
0
false
0
0.380952
0
0.380952
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
83a3c8d7f689b9ace1a971da7c98796ee97f4bfc
831
py
Python
wand/contrib/http.py
phvalguima/kafka_charm_lib
0062a277c12f5650f2a18b17eae8529500fafafe
[ "Apache-2.0" ]
null
null
null
wand/contrib/http.py
phvalguima/kafka_charm_lib
0062a277c12f5650f2a18b17eae8529500fafafe
[ "Apache-2.0" ]
null
null
null
wand/contrib/http.py
phvalguima/kafka_charm_lib
0062a277c12f5650f2a18b17eae8529500fafafe
[ "Apache-2.0" ]
null
null
null
""" Implement helpers around urllib to fetch or push data for HTTP server. """ import urllib def send_request(url, path, json_body, username, password): """Send request with username and password. Leave json_body empty for a GET""" password_mgr = urllib.request.HTTPPasswordMgrWithDefaultRealm() pa...
29.678571
67
0.716005
105
831
5.561905
0.466667
0.155822
0.071918
0.078767
0.10274
0.10274
0
0
0
0
0
0.001475
0.184116
831
27
68
30.777778
0.859882
0.172082
0
0
0
0
0.007474
0
0
0
0
0
0
1
0.066667
false
0.266667
0.066667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
83aa2d8377894b95ff994525bf4440c64ed1ee43
2,670
py
Python
sellotape/sellotape_dj/main_app/migrations/0001_initial.py
itzhaki1234/sellotape
326e52d3743ccc35309a96c89a30e1c6a7e77a3b
[ "MIT" ]
6
2020-08-11T07:28:35.000Z
2020-10-08T03:29:10.000Z
sellotape/sellotape_dj/main_app/migrations/0001_initial.py
itzhaki1234/sellotape
326e52d3743ccc35309a96c89a30e1c6a7e77a3b
[ "MIT" ]
60
2020-08-14T15:20:10.000Z
2020-11-08T09:54:01.000Z
sellotape/sellotape_dj/main_app/migrations/0001_initial.py
itzhaki1234/sellotape
326e52d3743ccc35309a96c89a30e1c6a7e77a3b
[ "MIT" ]
10
2020-08-11T07:40:39.000Z
2021-03-09T11:54:32.000Z
# Generated by Django 3.1.1 on 2020-09-27 17:38 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
41.076923
121
0.542322
255
2,670
5.537255
0.380392
0.033994
0.049575
0.077904
0.418555
0.330737
0.330737
0.330737
0.303116
0.265581
0
0.016349
0.312734
2,670
64
122
41.71875
0.753134
0.016854
0
0.333333
1
0
0.114754
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.122807
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83b05e8f45435ae377a1ea6f64c6d87c7f29868c
566
py
Python
cplusplus/level1_single_api/4_op_dev/2_verify_op/acl_execute_addrowranges/run/out/test_data/data/generate_data.py
coldenheart/123
798768bba7dfaef051a46d8e1df48bc671de5213
[ "Apache-2.0" ]
25
2020-11-20T09:01:35.000Z
2022-03-29T10:35:38.000Z
cplusplus/level1_single_api/4_op_dev/2_verify_op/acl_execute_addrowranges/run/out/test_data/data/generate_data.py
coldenheart/123
798768bba7dfaef051a46d8e1df48bc671de5213
[ "Apache-2.0" ]
5
2021-02-28T20:49:37.000Z
2022-03-04T21:50:27.000Z
cplusplus/level1_single_api/4_op_dev/2_verify_op/acl_execute_addrowranges/run/out/test_data/data/generate_data.py
coldenheart/123
798768bba7dfaef051a46d8e1df48bc671de5213
[ "Apache-2.0" ]
16
2020-12-06T07:26:13.000Z
2022-03-01T07:51:55.000Z
""" * @file generate_data.py * * Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. """ import numpy as np a = ...
29.789474
72
0.719081
95
566
4.242105
0.631579
0.059553
0.111663
0.133995
0.255583
0.255583
0.198511
0.198511
0.198511
0.198511
0
0.060976
0.130742
566
18
73
31.444444
0.75813
0.507067
0
0
1
0
0.121771
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83b18b9168ac6f446066b727ac489b980dbd58f1
16,458
py
Python
test/intelliflow/core/signal_processing/dimension_constructs/test_dimension_spec.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
4
2022-03-24T04:39:02.000Z
2022-03-31T16:41:50.000Z
test/intelliflow/core/signal_processing/dimension_constructs/test_dimension_spec.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
null
null
null
test/intelliflow/core/signal_processing/dimension_constructs/test_dimension_spec.py
amzn/rheoceros
5e8f79d97f8b21d693d3c869b0df70de3d5fd068
[ "Apache-2.0", "MIT-0" ]
null
null
null
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 import copy from collections import OrderedDict import pytest from intelliflow.core.serialization import dumps, loads from intelliflow.core.signal_processing.definitions.dimension_defs import Type from intellif...
48.26393
140
0.691275
2,101
16,458
5.05664
0.075202
0.123588
0.131212
0.082831
0.755459
0.679029
0.576619
0.50913
0.469221
0.409544
0
0.01561
0.198141
16,458
340
141
48.405882
0.789422
0.033479
0
0.112403
0
0
0.054122
0
0
0
0
0
0.426357
1
0.077519
false
0
0.023256
0
0.147287
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
83b571c4e0dea15a0c72c29545ebb028528c35e3
12,526
py
Python
Classes/Winding.py
PMSMcqut/pyleecan-of-manatee
3efa06e8bc53c81a3e35457c108290e1d9ec1373
[ "Apache-2.0" ]
2
2020-06-29T13:48:37.000Z
2021-06-15T07:34:05.000Z
Classes/Winding.py
PMSMcqut/pyleecan-of-manatee
3efa06e8bc53c81a3e35457c108290e1d9ec1373
[ "Apache-2.0" ]
null
null
null
Classes/Winding.py
PMSMcqut/pyleecan-of-manatee
3efa06e8bc53c81a3e35457c108290e1d9ec1373
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """Warning : this file has been generated, you shouldn't edit it""" from os import linesep from pyleecan.Classes.check import check_init_dict, check_var from pyleecan.Functions.save import save from pyleecan.Classes.frozen import FrozenClass from pyleecan.Methods.Machine.Winding.comp_Ncspc imp...
36.097983
211
0.604662
1,571
12,526
4.605347
0.143221
0.030961
0.043124
0.017415
0.267865
0.197927
0.165584
0.1349
0.103386
0.103386
0
0.012755
0.298978
12,526
346
212
36.202312
0.811183
0.198866
0
0.058577
1
0.012552
0.133238
0
0
0
0
0
0
1
0.096234
false
0
0.050209
0
0.297071
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83b60e0b314fcb7463c6f2297891505f25fed50c
2,882
py
Python
session.py
BraveHelyx/Orbweaver
56db16aaecf3416cedb1d4b17ef3cb59f11f5dc1
[ "MIT" ]
2
2017-10-30T06:57:34.000Z
2017-10-30T22:44:25.000Z
session.py
BraveHelyx/Orbweaver
56db16aaecf3416cedb1d4b17ef3cb59f11f5dc1
[ "MIT" ]
null
null
null
session.py
BraveHelyx/Orbweaver
56db16aaecf3416cedb1d4b17ef3cb59f11f5dc1
[ "MIT" ]
null
null
null
#!/usr/bin/python from surface import * from sectionedURL import * from os import mkdir, makedirs, path import re # Structure # blog.example.com/dir1/dir2/page.html # --------- # /orbweaver.py # /saved/ # /saved/blog.example.com/unexplored # /saved/blog.example.com/explored/index.html # /saved/blog.example.com/expl...
23.241935
83
0.687717
390
2,882
5.051282
0.351282
0.022843
0.028426
0.030457
0.027411
0
0
0
0
0
0
0.003783
0.174532
2,882
123
84
23.430894
0.824296
0.314712
0
0.079365
0
0
0.095214
0
0
0
0
0
0
0
null
null
0
0.063492
null
null
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
83b8ac68bfa0c6cfa96e35a3d0b2be55fa5908ce
9,710
py
Python
examples/ContributionsMktdataExample.py
buckie/blpapi-py
0ff500b547679e3310414d1427215d620b9f67d9
[ "Unlicense" ]
5
2019-03-20T05:43:50.000Z
2021-12-17T06:03:33.000Z
examples/ContributionsMktdataExample.py
buckie/blpapi-py
0ff500b547679e3310414d1427215d620b9f67d9
[ "Unlicense" ]
null
null
null
examples/ContributionsMktdataExample.py
buckie/blpapi-py
0ff500b547679e3310414d1427215d620b9f67d9
[ "Unlicense" ]
2
2019-03-20T05:39:22.000Z
2019-07-02T14:00:01.000Z
# ContributionsMktdataExample.py import blpapi import time from optparse import OptionParser, OptionValueError import datetime import threading TOKEN_SUCCESS = blpapi.Name("TokenGenerationSuccess") TOKEN_FAILURE = blpapi.Name("TokenGenerationFailure") AUTHORIZATION_SUCCESS = blpapi.Name("AuthorizationSuccess") TOKEN ...
34.070175
76
0.612049
935
9,710
6.281283
0.348663
0.014984
0.019581
0.021454
0.051251
0.051251
0.0441
0.039503
0.024178
0.024178
0
0.004416
0.300412
9,710
284
77
34.190141
0.86015
0.045005
0
0.106481
0
0
0.226207
0.040942
0
0
0
0
0
0
null
null
0
0.023148
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
83be49645c955cde22e0faff001e168688025f09
8,482
py
Python
skyportal/models/user_token.py
Theodlz/skyportal
5efd76150d14282d592a7fd5dafc05bb92b6ec5e
[ "BSD-3-Clause" ]
1
2022-01-14T10:32:04.000Z
2022-01-14T10:32:04.000Z
skyportal/models/user_token.py
Theodlz/skyportal
5efd76150d14282d592a7fd5dafc05bb92b6ec5e
[ "BSD-3-Clause" ]
null
null
null
skyportal/models/user_token.py
Theodlz/skyportal
5efd76150d14282d592a7fd5dafc05bb92b6ec5e
[ "BSD-3-Clause" ]
1
2021-11-28T21:00:02.000Z
2021-11-28T21:00:02.000Z
# Customizations of baselayer User and Token models from sqlalchemy.orm import relationship from sqlalchemy import event from slugify import slugify from baselayer.app.models import ( join_model, DBSession, User, Token, public, UserAccessControl, CustomUserAccessControl, ) from .group im...
28.752542
88
0.729545
1,028
8,482
5.804475
0.191634
0.04793
0.057315
0.045752
0.392157
0.312385
0.273002
0.153511
0.109435
0.028155
0
0
0.169418
8,482
294
89
28.85034
0.846984
0.068498
0
0.233607
0
0
0.234995
0.045015
0
0
0
0
0
1
0.053279
false
0.077869
0.036885
0.012295
0.135246
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
83c5e7deb43433ea1728bf50c0cf3393c6cc65e5
868
py
Python
francoralite/apps/francoralite_api/tests/factories/item_domain_song.py
Francoralite/francoralite
f8c5eeffe6d395c7e4222a9f5a4a7a01841b503c
[ "BSD-3-Clause" ]
2
2021-07-26T08:29:26.000Z
2021-07-26T08:29:27.000Z
francoralite/apps/francoralite_api/tests/factories/item_domain_song.py
lluc/telemeta-integration
c2fb116471235674eae597abac84a7113e0f7c82
[ "BSD-3-Clause" ]
167
2018-10-20T14:34:46.000Z
2021-06-01T10:40:55.000Z
francoralite/apps/francoralite_api/tests/factories/item_domain_song.py
Francoralite/francoralite
f8c5eeffe6d395c7e4222a9f5a4a7a01841b503c
[ "BSD-3-Clause" ]
1
2021-06-06T12:16:49.000Z
2021-06-06T12:16:49.000Z
# -*- coding: utf-8 -*- # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # Authors: Luc LEGER / Coopérative ARTEFACTS <artefacts.lle@gmail.com> """ item_domain_song factory to execute tests """ import factory from ...mo...
28.933333
100
0.721198
99
868
6.212121
0.646465
0.081301
0.068293
0
0
0
0
0
0
0
0
0.001406
0.180876
868
29
101
29.931034
0.863572
0.410138
0
0
0
0
0.169772
0.138716
0
0
0
0
0
1
0
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
83c8ca08776d2bbadde70e00409d0eafadcd7397
458
py
Python
redbot/message/headers/tcn.py
kinow/redbot
f183f8468b3cf645711ff4a078ea85075ea9c081
[ "MIT" ]
167
2015-01-07T16:34:56.000Z
2022-02-20T15:20:06.000Z
redbot/message/headers/tcn.py
QPC-database/redbot
f05dd7754cd6f6ba005ae44beeb8ed21516a93c8
[ "MIT" ]
180
2015-02-01T01:37:53.000Z
2022-02-17T04:32:01.000Z
redbot/message/headers/tcn.py
QPC-database/redbot
f05dd7754cd6f6ba005ae44beeb8ed21516a93c8
[ "MIT" ]
32
2015-05-20T21:00:13.000Z
2022-02-16T10:14:15.000Z
#!/usr/bin/env python from redbot.message import headers class tcn(headers.HttpHeader): canonical_name = "TCN" description = """\ The `TCN` header field is part of an experimental transparent content negotiation scheme. It is not widely supported in clients. """ reference = "https://tools.ietf.org/html/...
24.105263
92
0.718341
60
458
5.366667
0.816667
0.062112
0.074534
0
0
0
0
0
0
0
0
0.01084
0.194323
458
18
93
25.444444
0.861789
0.043668
0
0
0
0
0.386728
0
0
0
0
0
0
1
0
false
0
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
0
0
0
0
0
1
0
0
1
83cb4f404d0aaac6002a810ce177ea5dae3033f6
610
py
Python
scrape/json_scrape.py
Jmete/deepThorin
d2ba6a5be2a0b48007e7be8602956a37ebef66e5
[ "MIT" ]
3
2018-02-22T09:40:26.000Z
2021-05-18T05:10:45.000Z
scrape/json_scrape.py
Jmete/deepThorin
d2ba6a5be2a0b48007e7be8602956a37ebef66e5
[ "MIT" ]
null
null
null
scrape/json_scrape.py
Jmete/deepThorin
d2ba6a5be2a0b48007e7be8602956a37ebef66e5
[ "MIT" ]
null
null
null
import json def open_jason(f): ''' Opens up a json file of tweets, and extracts tweets to a text file. ''' with open(f) as json_file: data = json.load(json_file) # This is the output file. text_file = open("Output_tweets.txt", "w") # Loop through each element in the json file. for p in data: print('Text:...
29.047619
67
0.678689
104
610
3.903846
0.490385
0.098522
0
0
0
0
0
0
0
0
0
0.002041
0.196721
610
20
68
30.5
0.826531
0.365574
0
0
0
0
0.169935
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
83ce41e8c85a621e89b10a003d46bffc77c3f8bb
3,532
py
Python
modules/nsfw/handlers.py
Kylmakalle/assistant-bot
71c0f488a3dfb370ef2a87bbba83862b061c772a
[ "MIT" ]
4
2020-02-05T14:05:08.000Z
2021-09-12T17:43:04.000Z
modules/nsfw/handlers.py
Kylmakalle/assistant-bot
71c0f488a3dfb370ef2a87bbba83862b061c772a
[ "MIT" ]
6
2019-03-20T07:42:26.000Z
2022-01-06T17:56:47.000Z
modules/nsfw/handlers.py
Kylmakalle/assistant-bot
71c0f488a3dfb370ef2a87bbba83862b061c772a
[ "MIT" ]
5
2019-06-22T06:32:41.000Z
2022-01-02T16:10:51.000Z
from aiogram import types from core.config import git_repository, bot_token from core.misc import dp, mp, bot from core.stats import StatsEvents from core.config import clarifai_token from modules.nsfw.functions import check_nsfw from modules.nsfw.consts import MIME_TYPES async def get_file_url(file_id): file =...
41.069767
114
0.653454
479
3,532
4.521921
0.217119
0.149584
0.148661
0.213296
0.490766
0.38735
0.38181
0.262696
0.20868
0.080332
0
0.00116
0.267554
3,532
85
115
41.552941
0.835331
0
0
0.152778
0
0
0.074462
0
0
0
0
0
0
1
0.013889
false
0
0.097222
0
0.180556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83d11abfc98b221a9bb0a3e1beac7199339c8121
3,345
py
Python
xblog/podcast_utils.py
rubeon/django-xblog
1709a3c2f6c1901231f817f9adeb189b0be6251e
[ "BSD-2-Clause" ]
null
null
null
xblog/podcast_utils.py
rubeon/django-xblog
1709a3c2f6c1901231f817f9adeb189b0be6251e
[ "BSD-2-Clause" ]
null
null
null
xblog/podcast_utils.py
rubeon/django-xblog
1709a3c2f6c1901231f817f9adeb189b0be6251e
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python import os import sys os.environ['DJANGO_SETTINGS_MODULE']= 'settings' SITE_DIR = os.path.abspath(os.path.split(__file__)[0]+'/..') #print __file__ #print SITE_DIR sys.path.insert(0,SITE_DIR) sys.path.insert(0,os.path.join(SITE_DIR,'..')) sys.path.insert(0,os.path.join(SITE_DIR,'..','..')) # os.chd...
30.688073
125
0.64275
432
3,345
4.837963
0.296296
0.028708
0.028708
0.040191
0.221531
0.20622
0.196172
0.148804
0.148804
0.148804
0
0.003479
0.226607
3,345
109
126
30.688073
0.804407
0.158744
0
0.153846
0
0
0.10956
0.007877
0
0
0
0
0
0
null
null
0
0.179487
null
null
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
83e59e4a486c62fe79e364645f4dc1d534ef6fd9
1,142
py
Python
run.py
DoraemonShare/yuqing4test
6dc840c645532b98bedc889458d93da286076edc
[ "BSD-3-Clause" ]
1
2017-07-27T03:09:16.000Z
2017-07-27T03:09:16.000Z
run.py
DoraemonShare/yuqing
01a1a904c3c2efe447b2e212958e0a7112482439
[ "BSD-3-Clause" ]
null
null
null
run.py
DoraemonShare/yuqing
01a1a904c3c2efe447b2e212958e0a7112482439
[ "BSD-3-Clause" ]
null
null
null
#-*-coding:utf-8 -*- ''' 启动pipeline 形式》》python run.py 2017-6-11 GS8 将分析6-11以后GS8的数据 ''' import sys import os sys.path.append(os.path.abspath('.')) sys.path.append(os.path.abspath('../..')) from src.raw import loadData # from src.preprocess import cleanData from src.model import analysisData from src.result import...
24.826087
84
0.609457
144
1,142
4.645833
0.513889
0.052317
0.058296
0.044843
0.077728
0.077728
0
0
0
0
0
0.030713
0.287215
1,142
46
85
24.826087
0.791155
0.088441
0
0
0
0
0.075258
0
0
0
0
0
0
0
null
null
0.037037
0.222222
null
null
0.074074
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
83eadfcc70564a1b8c9fb395c8114aaff3cfccaa
1,385
py
Python
tests/metarl/envs/wrappers/test_resize_env.py
icml2020submission6857/metarl
9b66cefa2b6bcb6a38096d629ce8853b47c7171d
[ "MIT" ]
2
2020-03-15T14:35:15.000Z
2021-02-15T16:38:00.000Z
tests/metarl/envs/wrappers/test_resize_env.py
neurips2020submission11699/metarl
ae4825d21478fa1fd0aa6b116941ea40caa152a5
[ "MIT" ]
null
null
null
tests/metarl/envs/wrappers/test_resize_env.py
neurips2020submission11699/metarl
ae4825d21478fa1fd0aa6b116941ea40caa152a5
[ "MIT" ]
1
2020-02-24T03:04:23.000Z
2020-02-24T03:04:23.000Z
import gym.spaces import numpy as np import pytest from metarl.envs.wrappers import Resize from tests.fixtures.envs.dummy import DummyDiscrete2DEnv class TestResize: def setup_method(self): self.width = 16 self.height = 16 self.env = DummyDiscrete2DEnv() self.env_r = Resize( ...
32.97619
78
0.669314
182
1,385
4.906593
0.302198
0.094065
0.053751
0.076148
0.526316
0.404255
0.397536
0.360582
0.360582
0.264278
0
0.01487
0.223105
1,385
41
79
33.780488
0.815056
0
0
0.125
0
0
0
0
0
0
0
0
0.09375
1
0.21875
false
0
0.15625
0
0.40625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
83f4149c7ec215c5ba8c6865a8f9ae539e397429
1,804
py
Python
tests/request_methods/test_sellers.py
wangluyi1982/python-amazon-mws
0715f3d5bfbccb210dde0ea03574dda727f7a3df
[ "Unlicense" ]
2
2020-06-15T00:38:58.000Z
2020-06-15T00:44:37.000Z
tests/request_methods/test_sellers.py
DennisSuperstar/Python_Amazon_mws
58fe8d87eb3a0003cf0ce56405cb08253fa9bb17
[ "Unlicense" ]
3
2018-01-19T16:00:43.000Z
2020-02-25T16:58:04.000Z
tests/request_methods/test_sellers.py
DennisSuperstar/Python_Amazon_mws
58fe8d87eb3a0003cf0ce56405cb08253fa9bb17
[ "Unlicense" ]
2
2018-05-09T20:44:27.000Z
2020-02-01T12:31:47.000Z
""" Tests for the Sellers API class. """ import unittest import mws from .utils import CommonRequestTestTools class SellersTestCase(unittest.TestCase, CommonRequestTestTools): """ Test cases for Sellers. """ # TODO: Add remaining methods for Sellers def setUp(self): self.api = mws.Sellers(...
36.08
87
0.703437
174
1,804
7.017241
0.293103
0.07371
0.142506
0.054054
0.636364
0.60688
0.472563
0.472563
0.395577
0.350532
0
0
0.213969
1,804
49
88
36.816327
0.861072
0.162417
0
0.321429
0
0
0.119098
0.076815
0
0
0
0.020408
0.285714
1
0.142857
false
0
0.107143
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
83f6b18deb2b8476a60c76fabc8cb075039d5db3
6,393
py
Python
YorForger/modules/animequotes.py
Voidxtoxic/kita
b2a3007349727280e149dcca017413d7dc2e7648
[ "MIT" ]
null
null
null
YorForger/modules/animequotes.py
Voidxtoxic/kita
b2a3007349727280e149dcca017413d7dc2e7648
[ "MIT" ]
null
null
null
YorForger/modules/animequotes.py
Voidxtoxic/kita
b2a3007349727280e149dcca017413d7dc2e7648
[ "MIT" ]
null
null
null
import json import requests import html import random import time from YorForger import dispatcher from YorForger.modules.disable import DisableAbleCommandHandler from telegram.ext import CallbackContext, CommandHandler, Filters, run_async, CallbackQueryHandler from YorForger.modules.helper_funcs.chat_status import ...
35.320442
118
0.668231
800
6,393
5.22625
0.22
0.093279
0.171012
0.217651
0.559196
0.234872
0.210954
0.210954
0.187754
0.187754
0
0.013994
0.172845
6,393
180
119
35.516667
0.77553
0.007977
0
0.128205
0
0.012821
0.383086
0.010729
0
0
0
0
0
1
0.032051
false
0.00641
0.076923
0
0.115385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
83ff6ab52c7708c9f814dcc73111d670df6dca53
4,636
py
Python
src/alldecays/fitting/plugins/abstract_fit_plugin.py
LLR-ILD/alldecays
08e51e99385ae7ca96edefddafd715e1d8cac3d3
[ "Apache-2.0" ]
null
null
null
src/alldecays/fitting/plugins/abstract_fit_plugin.py
LLR-ILD/alldecays
08e51e99385ae7ca96edefddafd715e1d8cac3d3
[ "Apache-2.0" ]
null
null
null
src/alldecays/fitting/plugins/abstract_fit_plugin.py
LLR-ILD/alldecays
08e51e99385ae7ca96edefddafd715e1d8cac3d3
[ "Apache-2.0" ]
null
null
null
"""The interface defining class for fit modes.""" from abc import ABC, abstractmethod import numpy as np from iminuit import Minuit class AbstractFitPlugin(ABC): """Minuit wrapper to standardize usage with different likelihood function definitions and parameter transformations. """ def __init__( ...
31.753425
93
0.605695
575
4,636
4.558261
0.269565
0.044639
0.018695
0.029378
0.209081
0.109882
0.061045
0.048836
0.031286
0
0
0.003119
0.308456
4,636
145
94
31.972414
0.81441
0.081104
0
0.258929
0
0
0.074503
0.011589
0
0
0
0
0
1
0.116071
false
0.071429
0.026786
0.017857
0.1875
0.026786
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8603ecef02d1093b3c02ea53ed7ea33b76c4c305
12,643
py
Python
substra/sdk/schemas.py
yagosys/substra
fc2d50f2f80be14c0c80546451cdf458034dbf78
[ "Apache-2.0" ]
null
null
null
substra/sdk/schemas.py
yagosys/substra
fc2d50f2f80be14c0c80546451cdf458034dbf78
[ "Apache-2.0" ]
null
null
null
substra/sdk/schemas.py
yagosys/substra
fc2d50f2f80be14c0c80546451cdf458034dbf78
[ "Apache-2.0" ]
null
null
null
# Copyright 2018 Owkin, 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 to in writing,...
30.538647
87
0.680851
1,526
12,643
5.441022
0.168414
0.03577
0.01927
0.034445
0.495965
0.404312
0.356377
0.300012
0.287246
0.270384
0
0.001033
0.234201
12,643
413
88
30.612591
0.856538
0.195444
0
0.446809
0
0
0.044876
0.004808
0
0
0
0.002421
0
1
0.042553
false
0.003546
0.035461
0.028369
0.64539
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
860629fec82ae36f072e8ba9c33666116175a29d
276
py
Python
output/models/nist_data/list_pkg/unsigned_short/schema_instance/nistschema_sv_iv_list_unsigned_short_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/list_pkg/unsigned_short/schema_instance/nistschema_sv_iv_list_unsigned_short_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/list_pkg/unsigned_short/schema_instance/nistschema_sv_iv_list_unsigned_short_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.list_pkg.unsigned_short.schema_instance.nistschema_sv_iv_list_unsigned_short_pattern_1_xsd.nistschema_sv_iv_list_unsigned_short_pattern_1 import NistschemaSvIvListUnsignedShortPattern1 __all__ = [ "NistschemaSvIvListUnsignedShortPattern1", ]
46
213
0.902174
32
276
7.0625
0.625
0.172566
0.123894
0.159292
0.345133
0.345133
0.345133
0.345133
0
0
0
0.015267
0.050725
276
5
214
55.2
0.847328
0
0
0
0
0
0.141304
0.141304
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7a56180ce059a380101111f1edbc35021b1cb42
4,402
py
Python
Daemon/Server.py
aholmes/PythonDaemon
72d1b1d087033fd20d8fe4f71b8be1de9bd4fb52
[ "BSD-3-Clause" ]
2
2021-06-22T18:23:20.000Z
2021-06-22T23:45:26.000Z
Daemon/Server.py
aholmes/PythonDaemon
72d1b1d087033fd20d8fe4f71b8be1de9bd4fb52
[ "BSD-3-Clause" ]
null
null
null
Daemon/Server.py
aholmes/PythonDaemon
72d1b1d087033fd20d8fe4f71b8be1de9bd4fb52
[ "BSD-3-Clause" ]
null
null
null
import Daemon import socket, os, select, sys, curses, locale, struct from time import sleep class Server(object): socket = None client_socket = None daemon_config = {} address = '' port = 1227 daemon = None child_callback = lambda self, client: None parent_callback = lambda self: None ...
27.860759
93
0.678328
594
4,402
4.887205
0.234007
0.095074
0.044092
0.053049
0.27351
0.208061
0.152256
0.029625
0
0
0
0.008608
0.208314
4,402
157
94
28.038217
0.82439
0.149705
0
0.15534
0
0
0.108456
0
0
0
0
0
0
0
null
null
0
0.029126
null
null
0.048544
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f7aa6f8cf9b1876f25a806254ad29f2c52cf21b0
124,950
py
Python
kaltura_lib/KalturaClient/Plugins/DropFolder.py
KameliaZhelyazkova/Media-Hopper-Initial-Project
c15ad7cbd23dcddc7463d510510916ffcc4954df
[ "CC0-1.0" ]
null
null
null
kaltura_lib/KalturaClient/Plugins/DropFolder.py
KameliaZhelyazkova/Media-Hopper-Initial-Project
c15ad7cbd23dcddc7463d510510916ffcc4954df
[ "CC0-1.0" ]
null
null
null
kaltura_lib/KalturaClient/Plugins/DropFolder.py
KameliaZhelyazkova/Media-Hopper-Initial-Project
c15ad7cbd23dcddc7463d510510916ffcc4954df
[ "CC0-1.0" ]
null
null
null
# =================================================================================================== # _ __ _ _ # | |/ /__ _| | |_ _ _ _ _ __ _ # | ' </ _` | | _| || | '_/ _` | # |_|\_\__,_|_|\__|\_,_|_| \__,_| ...
33.222547
148
0.664058
8,044
124,950
10.237195
0.09274
0.01943
0.025162
0.016758
0.619007
0.595133
0.571283
0.555205
0.551635
0.543304
0
0.000755
0.268619
124,950
3,760
149
33.231383
0.900346
0.05106
0
0.690729
0
0
0.065096
0.033741
0
0
0
0
0
1
0.136235
false
0.012031
0.0092
0.053786
0.288393
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7b2167ccc71242e4ce2338ed556749e9e0f6995
596
py
Python
setup.py
flix-tech/yabeda
5ce629a1872022c63c31938b5ba07e0ce4b2cecd
[ "MIT" ]
4
2018-10-11T19:31:11.000Z
2020-04-14T10:59:58.000Z
setup.py
sikandarqaisar/Eurus-bot
326505cd2ba2a5ee694c39af603fd9fc67d14e73
[ "MIT" ]
9
2018-10-11T13:53:27.000Z
2020-06-03T08:02:51.000Z
setup.py
sikandarqaisar/Eurus-bot
326505cd2ba2a5ee694c39af603fd9fc67d14e73
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='yabeda', version='0.1', description="Yabeda", long_description=""" A tool that sends deployment notifications from Gitlab CI to Slack. """, url="https://github.com/flix-tech/yabeda", author="Flixtech", license='MIT', p...
18.060606
71
0.567114
59
596
5.644068
0.779661
0.072072
0
0
0
0
0
0
0
0
0
0.018779
0.285235
596
32
72
18.625
0.762911
0
0
0
0
0
0.375839
0
0
0
0
0
0
1
0
true
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f7b586018991a60ad4a2b780726ef8d7dc79fecf
2,956
py
Python
code_genetrate.py
hahayacracker/study_python
21dbf5a400d5f4a440dea87d78217b58c90945dc
[ "Apache-2.0" ]
null
null
null
code_genetrate.py
hahayacracker/study_python
21dbf5a400d5f4a440dea87d78217b58c90945dc
[ "Apache-2.0" ]
null
null
null
code_genetrate.py
hahayacracker/study_python
21dbf5a400d5f4a440dea87d78217b58c90945dc
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'code_genetrate.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.se...
46.1875
75
0.707037
340
2,956
5.967647
0.291176
0.086742
0.044357
0.046821
0.260227
0.117299
0
0
0
0
0
0.028041
0.179635
2,956
63
76
46.920635
0.80866
0.063599
0
0
1
0
0.069565
0
0
0
0
0
0
1
0.039216
false
0
0.019608
0
0.078431
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7b788e7b58e30f28b1b917da42a55fd1283e51b
2,651
py
Python
src/auth_api/oidc/signaturgruppen/backend.py
CodeReaper/eo-auth
d6d17e5346aa490ca056c0b86f50b2a732956d2e
[ "Apache-2.0" ]
null
null
null
src/auth_api/oidc/signaturgruppen/backend.py
CodeReaper/eo-auth
d6d17e5346aa490ca056c0b86f50b2a732956d2e
[ "Apache-2.0" ]
null
null
null
src/auth_api/oidc/signaturgruppen/backend.py
CodeReaper/eo-auth
d6d17e5346aa490ca056c0b86f50b2a732956d2e
[ "Apache-2.0" ]
null
null
null
import json from typing import Optional from ..backend import OpenIDConnectBackend from .models import SignaturgruppenToken class SignaturgruppenBackend(OpenIDConnectBackend): """ TODO """ def __init__( self, *args, authorization_endpoint: str, token_e...
29.131868
73
0.588834
266
2,651
5.691729
0.402256
0.055482
0.033025
0.021136
0
0
0
0
0
0
0
0
0.337231
2,651
90
74
29.455556
0.861696
0.261411
0
0.132075
0
0
0.04909
0
0
0
0
0.033333
0
1
0.056604
false
0
0.075472
0
0.188679
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f7bc29c7f23a4a4932b1d758380193e81d9bfe63
239
py
Python
class23morning/classApp/urls.py
cs-fullstack-2019-fall/django-intro1-cw-LilPrice-Code
ac1605303b4adcd90cdba5f12ea0fb264f825519
[ "Apache-2.0" ]
null
null
null
class23morning/classApp/urls.py
cs-fullstack-2019-fall/django-intro1-cw-LilPrice-Code
ac1605303b4adcd90cdba5f12ea0fb264f825519
[ "Apache-2.0" ]
null
null
null
class23morning/classApp/urls.py
cs-fullstack-2019-fall/django-intro1-cw-LilPrice-Code
ac1605303b4adcd90cdba5f12ea0fb264f825519
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('',views.index), path('music/',views.music), path('music/lukas/',views.lukas), path('music/script/',views.script), path('music/mack/',views.mack), ]
23.9
39
0.648536
31
239
5
0.387097
0.232258
0
0
0
0
0
0
0
0
0
0
0.154812
239
10
40
23.9
0.767327
0
0
0
0
0
0.175
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7c10ccc245393fbaa6498093bb80b5c3e89c4c3
4,816
py
Python
backend/framework/bin/util.py
desihub/qlf
a9c455f7aee41d7901c89ae90dd821c617340a86
[ "BSD-3-Clause" ]
8
2017-09-08T00:24:20.000Z
2019-02-03T07:31:03.000Z
backend/framework/bin/util.py
desihub/qlf
a9c455f7aee41d7901c89ae90dd821c617340a86
[ "BSD-3-Clause" ]
77
2017-06-15T21:39:09.000Z
2019-07-13T19:41:27.000Z
backend/framework/bin/util.py
desihub/qlf
a9c455f7aee41d7901c89ae90dd821c617340a86
[ "BSD-3-Clause" ]
5
2017-09-10T02:25:03.000Z
2019-02-06T20:55:59.000Z
import logging import os import astropy.io.fits import datetime import yaml logger = logging.getLogger() qlf_root = os.getenv('QLF_ROOT') if not qlf_root: raise ValueError('QLF_ROOT not define.') # TODO: flat program can also use flat_preproc. program_mapping = { 'flat': 'flat', # flat_preproc 'arc': '...
26.173913
86
0.614826
586
4,816
4.856655
0.244027
0.052706
0.057976
0.02811
0.432888
0.373858
0.347154
0.347154
0.347154
0.347154
0
0.004201
0.258513
4,816
183
87
26.31694
0.792775
0.213248
0
0.25
0
0
0.170819
0
0
0
0
0.010929
0
1
0.0625
false
0
0.052083
0
0.197917
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f7c1851839cf999eeb064acbc56c0922b6fc6969
293
py
Python
PythonExercicios/ex008.py
gabjohann/python_3
380cb622669ed82d6b22fdd09d41f02f1ad50a73
[ "MIT" ]
null
null
null
PythonExercicios/ex008.py
gabjohann/python_3
380cb622669ed82d6b22fdd09d41f02f1ad50a73
[ "MIT" ]
null
null
null
PythonExercicios/ex008.py
gabjohann/python_3
380cb622669ed82d6b22fdd09d41f02f1ad50a73
[ "MIT" ]
null
null
null
# Escreva um programa que leia um valor em metros e o exiba convertido em centímetros e milímetros medida = float(input('Digite o valor em metros: ')) cent = int(medida * 100) mili = int(medida * 1000) print('{} metros, equivalem a {} centímetros e {} milímetros'.format(medida, cent, mili))
41.857143
98
0.723549
44
293
4.818182
0.613636
0.066038
0.122642
0
0
0
0
0
0
0
0
0.028571
0.163823
293
6
99
48.833333
0.836735
0.327645
0
0
0
0
0.405128
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7d6b26b3074cb8ff9d6daec27b560ad2962f2fe
723
py
Python
grouper/ctl/shell.py
benjaminp/grouper
64b3f436a4b8f5befa936dca3e04b9dcad53c9e0
[ "Apache-2.0" ]
null
null
null
grouper/ctl/shell.py
benjaminp/grouper
64b3f436a4b8f5befa936dca3e04b9dcad53c9e0
[ "Apache-2.0" ]
null
null
null
grouper/ctl/shell.py
benjaminp/grouper
64b3f436a4b8f5befa936dca3e04b9dcad53c9e0
[ "Apache-2.0" ]
null
null
null
import code from pprint import pprint from grouper import models from grouper.ctl.util import make_session from grouper.graph import GroupGraph def shell_command(args): session = make_session() graph = GroupGraph.from_db(session) m = models pp = pprint try: from IPython import embed ...
21.909091
61
0.62379
84
723
5.25
0.452381
0.07483
0
0
0
0
0
0
0
0
0
0
0.28769
723
32
62
22.59375
0.856311
0
0
0
0
0
0.085754
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f7dbb481b07f5bbeff96b88639023c4bf295bffb
7,936
py
Python
conans/test/command/upload_test.py
nesono/conan
1fd70a2e43ef3cc6eacf9b9f8b802d90bcd92d52
[ "MIT" ]
null
null
null
conans/test/command/upload_test.py
nesono/conan
1fd70a2e43ef3cc6eacf9b9f8b802d90bcd92d52
[ "MIT" ]
null
null
null
conans/test/command/upload_test.py
nesono/conan
1fd70a2e43ef3cc6eacf9b9f8b802d90bcd92d52
[ "MIT" ]
null
null
null
import unittest from conans.test.utils.tools import TestClient, TestServer from conans.test.utils.cpp_test_files import cpp_hello_conan_files from conans.model.ref import ConanFileReference, PackageReference from conans.util.files import save import os class UploadTest(unittest.TestCase): def not_existing_error_...
47.520958
95
0.630166
1,001
7,936
4.894106
0.164835
0.033068
0.049602
0.044091
0.733007
0.681364
0.638294
0.599102
0.589712
0.529292
0
0.020013
0.225554
7,936
166
96
47.807229
0.777091
0.090726
0
0.57377
0
0
0.296576
0.076031
0
0
0
0
0.262295
1
0.065574
false
0.07377
0.04918
0
0.122951
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f7dcdab289d72d58d12d63e285477bd8d73d7036
574
py
Python
Projects/HerdImmunity/virus.py
AbdullahNoori/CS-1.1-Intro-to-Programming
3b3ab4a7ff5c44ce9d74df767a8d5d3cf2a3ee2e
[ "MIT" ]
null
null
null
Projects/HerdImmunity/virus.py
AbdullahNoori/CS-1.1-Intro-to-Programming
3b3ab4a7ff5c44ce9d74df767a8d5d3cf2a3ee2e
[ "MIT" ]
null
null
null
Projects/HerdImmunity/virus.py
AbdullahNoori/CS-1.1-Intro-to-Programming
3b3ab4a7ff5c44ce9d74df767a8d5d3cf2a3ee2e
[ "MIT" ]
null
null
null
class Virus(object): '''Properties and attributes of the virus used in Simulation.''' def __init__(self, name, repro_rate, mortality_rate): self.name = name self.repro_rate = repro_rate self.mortality_rate = mortality_rate def test_virus_instantiation(): #TODO: Create your own tes...
33.764706
74
0.682927
83
574
4.554217
0.493976
0.095238
0.089947
0
0
0
0
0
0
0
0
0.017857
0.219512
574
16
75
35.875
0.825893
0.325784
0
0
0
0
0.015957
0
0
0
0
0.0625
0.3
1
0.2
false
0
0
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f7dd64b9632041f874a0d908d8eac58281ba0b7e
3,082
py
Python
Lab1/ex1/plots/plot_cores.py
PanosAntoniadis/pps-ntua
cb428232ff0986519b364434daffcbf520dd8381
[ "MIT" ]
5
2020-01-21T14:17:31.000Z
2021-07-26T07:59:49.000Z
Lab1/ex1/plots/plot_cores.py
PanosAntoniadis/pps-ntua
cb428232ff0986519b364434daffcbf520dd8381
[ "MIT" ]
null
null
null
Lab1/ex1/plots/plot_cores.py
PanosAntoniadis/pps-ntua
cb428232ff0986519b364434daffcbf520dd8381
[ "MIT" ]
2
2021-12-23T09:12:43.000Z
2022-02-24T13:37:34.000Z
# A simple script that plots the time and the speedup # of the parallel OpenMP program as the number of available # cores increases. import matplotlib.pyplot as plt import sys import numpy as np import matplotlib matplotlib.use('Agg') t_64 = [] t_1024 = [] t_4096 = [] s_64 = [] s_1024 = [] s_4096 = [] fp = open(sys...
27.765766
59
0.667099
577
3,082
3.44714
0.155979
0.060332
0.024133
0.048265
0.70186
0.688788
0.688788
0.688788
0.688788
0.688788
0
0.099521
0.119727
3,082
110
60
28.018182
0.631404
0.040883
0
0.526882
0
0
0.176491
0
0
0
0
0
0
1
0
false
0
0.043011
0
0.043011
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7df63393d132602ed88c4f0fe01f76bd4161567
1,706
py
Python
stores/urls.py
fats2005/pma-backend
c4f86e2a6f8f437842fcc79440b8c68ce5ccd349
[ "MIT" ]
null
null
null
stores/urls.py
fats2005/pma-backend
c4f86e2a6f8f437842fcc79440b8c68ce5ccd349
[ "MIT" ]
null
null
null
stores/urls.py
fats2005/pma-backend
c4f86e2a6f8f437842fcc79440b8c68ce5ccd349
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from stores import views from rest_framework.routers import DefaultRouter from rest_framework.schemas import get_schema_view from rest_framework.authtoken import views as views_rest from django.contrib.auth import views as auth_views from django.conf import settings from djang...
40.619048
83
0.747948
235
1,706
5.246809
0.319149
0.032441
0.072993
0.071371
0.081914
0.050284
0
0
0
0
0
0.002637
0.110785
1,706
41
84
41.609756
0.810152
0.029308
0
0
0
0
0.241233
0.088271
0
0
0
0
0
1
0
false
0.205882
0.264706
0
0.264706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f7e0ac9afd54690f9012ba5d403de5834f9cf7cb
1,412
py
Python
bluebottle/slides/migrations/0007_auto_20200903_1117.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
10
2015-05-28T18:26:40.000Z
2021-09-06T10:07:03.000Z
bluebottle/slides/migrations/0007_auto_20200903_1117.py
terrameijar/bluebottle
b4f5ba9c4f03e678fdd36091b29240307ea69ffd
[ "BSD-3-Clause" ]
762
2015-01-15T10:00:59.000Z
2022-03-31T15:35:14.000Z
bluebottle/slides/migrations/0007_auto_20200903_1117.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.11.15 on 2020-09-03 09:17 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ...
36.205128
186
0.640935
165
1,412
5.327273
0.509091
0.040956
0.063709
0.081911
0.129693
0.129693
0
0
0
0
0
0.034926
0.229462
1,412
38
187
37.157895
0.772978
0.048867
0
0.354839
1
0
0.148507
0.017164
0
0
0
0
0
1
0
false
0
0.16129
0
0.258065
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7e2504972153430adf9ae4740dc6c211cdb0f91
36,923
py
Python
scripts/venv/lib/python2.7/site-packages/cogent/align/pairwise.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
3
2015-11-20T08:44:42.000Z
2016-12-14T01:40:03.000Z
scripts/venv/lib/python2.7/site-packages/cogent/align/pairwise.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
1
2017-09-04T14:04:32.000Z
2020-05-26T19:04:00.000Z
scripts/venv/lib/python2.7/site-packages/cogent/align/pairwise.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Align two Alignables, each of which can be a sequence or a subalignment produced by the same code.""" # How many cells before using linear space alignment algorithm. # Should probably set to about half of physical memory / PointerEncoder.bytes HIRSCHBERG_LIMIT = 10**8 import numpy # setting...
38.501564
89
0.574493
4,487
36,923
4.576554
0.144417
0.014901
0.012418
0.006623
0.144631
0.097005
0.086389
0.066326
0.056294
0.031556
0
0.013992
0.320586
36,923
958
90
38.541754
0.804592
0.072475
0
0.152086
0
0
0.015354
0
0
0
0
0
0.025572
0
null
null
0
0.018843
null
null
0.001346
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
f7e2cfc75dc62a261872d622c3ff5696d82d3fcd
174
py
Python
problem/10000~19999/11651/11651.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-19T16:37:44.000Z
2019-04-19T16:37:44.000Z
problem/10000~19999/11651/11651.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
1
2019-04-20T11:42:44.000Z
2019-04-20T11:42:44.000Z
problem/10000~19999/11651/11651.py3.py
njw1204/BOJ-AC
1de41685725ae4657a7ff94e413febd97a888567
[ "MIT" ]
3
2019-04-19T16:37:47.000Z
2021-10-25T00:45:00.000Z
import sys input=sys.stdin.readline n=int(input()) x=[0]*n for i in range(n): x[i]=[*map(int,input().split())] x.sort(key=lambda x:(x[1],x[0])) for i in x: print(i[0],i[1])
19.333333
33
0.614943
41
174
2.609756
0.487805
0.149533
0.11215
0
0
0
0
0
0
0
0
0.032051
0.103448
174
9
34
19.333333
0.653846
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7e639e21bf067786a9eeec47d8d63a2a3b43b21
50,828
py
Python
estimagic/optimization/nlopt_optimizers.py
vishalbelsare/estimagic
afae1be3a1566056d11962c495b67e64bc4a0822
[ "BSD-3-Clause" ]
null
null
null
estimagic/optimization/nlopt_optimizers.py
vishalbelsare/estimagic
afae1be3a1566056d11962c495b67e64bc4a0822
[ "BSD-3-Clause" ]
null
null
null
estimagic/optimization/nlopt_optimizers.py
vishalbelsare/estimagic
afae1be3a1566056d11962c495b67e64bc4a0822
[ "BSD-3-Clause" ]
null
null
null
"""Implement `nlopt` algorithms. The documentation is heavily based on (nlopt documentation)[nlopt.readthedocs.io]. """ import numpy as np from estimagic.config import IS_NLOPT_INSTALLED from estimagic.optimization.algo_options import CONVERGENCE_ABSOLUTE_CRITERION_TOLERANCE from estimagic.optimization.algo_options ...
43.368601
88
0.760781
6,152
50,828
6.033648
0.127438
0.085132
0.067243
0.065788
0.695277
0.683181
0.666101
0.661683
0.658665
0.651391
0
0.007814
0.189246
50,828
1,171
89
43.405636
0.892742
0.524967
0
0.678119
0
0
0.047107
0.013523
0
0
0
0
0
1
0.034358
false
0.001808
0.016275
0
0.084991
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7e910783a1edb5388ef4e221624d2ab8acfe872
1,398
py
Python
reinforcement_learning/dqn/atari_utils.py
AaratiAkkapeddi/nnabla-examples
db9e5ad850303c158773aeb275e5c3821b4a3935
[ "Apache-2.0" ]
228
2017-11-20T06:05:56.000Z
2022-03-23T12:40:05.000Z
reinforcement_learning/dqn/atari_utils.py
AaratiAkkapeddi/nnabla-examples
db9e5ad850303c158773aeb275e5c3821b4a3935
[ "Apache-2.0" ]
36
2018-01-11T23:26:20.000Z
2022-03-12T00:53:38.000Z
reinforcement_learning/dqn/atari_utils.py
AaratiAkkapeddi/nnabla-examples
db9e5ad850303c158773aeb275e5c3821b4a3935
[ "Apache-2.0" ]
76
2017-11-22T22:00:00.000Z
2022-03-28T05:58:57.000Z
# Copyright 2019,2020,2021 Sony Corporation. # Copyright 2021 Sony Group Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
33.285714
74
0.713162
196
1,398
4.979592
0.566327
0.061475
0.026639
0.032787
0
0
0
0
0
0
0
0.026197
0.208155
1,398
41
75
34.097561
0.855465
0.484263
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.222222
0.055556
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f7e93394b8baa5f02087bbee16824e4fe715c247
503
py
Python
test/TestTaskIncludes.py
eemz/ansible-lint
f48133b5461dc0b827518d499c5f761c89aa94ae
[ "MIT" ]
1
2020-05-03T16:53:14.000Z
2020-05-03T16:53:14.000Z
test/TestTaskIncludes.py
eemz/ansible-lint
f48133b5461dc0b827518d499c5f761c89aa94ae
[ "MIT" ]
null
null
null
test/TestTaskIncludes.py
eemz/ansible-lint
f48133b5461dc0b827518d499c5f761c89aa94ae
[ "MIT" ]
null
null
null
import os import unittest import ansiblelint from ansiblelint import RulesCollection class TestTaskIncludes(unittest.TestCase): def setUp(self): rulesdir = os.path.join('lib', 'ansiblelint', 'rules') self.rules = RulesCollection.create_from_directory(rulesdir) def test_included_tasks(self): ...
27.944444
68
0.695825
54
503
6.407407
0.574074
0.052023
0
0
0
0
0
0
0
0
0
0.002457
0.190855
503
17
69
29.588235
0.847666
0
0
0
0
0
0.079523
0.04175
0
0
0
0
0.076923
1
0.153846
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
f7f1c4a46c2c6cfb87ade08a5452eda8a52f57f1
712
py
Python
quiz-devpro/quiz/base/migrations/0001_initial.py
carlosromaro/Quiz-DevPro
2638db12844cecf45038911a7c1df08d55f2fe66
[ "MIT" ]
null
null
null
quiz-devpro/quiz/base/migrations/0001_initial.py
carlosromaro/Quiz-DevPro
2638db12844cecf45038911a7c1df08d55f2fe66
[ "MIT" ]
null
null
null
quiz-devpro/quiz/base/migrations/0001_initial.py
carlosromaro/Quiz-DevPro
2638db12844cecf45038911a7c1df08d55f2fe66
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-23 18:20 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Pergunta', fields=[ ('id', models.AutoField...
28.48
114
0.549157
70
712
5.514286
0.757143
0
0
0
0
0
0
0
0
0
0
0.037773
0.293539
712
24
115
29.666667
0.729622
0.063202
0
0
1
0
0.097744
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7f74b41bc438a17f0cd16a5250d1822798dfb2b
1,571
py
Python
oxe-api/resource/user/update_user_group_assignment.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
oxe-api/resource/user/update_user_group_assignment.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
oxe-api/resource/user/update_user_group_assignment.py
CybersecurityLuxembourg/openxeco
8d4e5578bde6a07f5d6d569b16b4de224abf7bf0
[ "BSD-2-Clause" ]
null
null
null
from flask_apispec import MethodResource from flask_apispec import use_kwargs, doc from flask_jwt_extended import jwt_required from flask_restful import Resource from webargs import fields from decorator.catch_exception import catch_exception from decorator.log_request import log_request from decorator.verify_admin_ac...
28.563636
90
0.631445
180
1,571
5.344444
0.338889
0.06237
0.049896
0.049896
0.043659
0.043659
0
0
0
0
0
0.011696
0.238065
1,571
54
91
29.092593
0.79198
0
0
0.04878
0
0
0.148313
0
0
0
0
0
0
1
0.04878
false
0.073171
0.219512
0
0.341463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f7f828687dcec133fb81e88915fcaee542ded6a4
1,028
py
Python
project/app/urls.py
dbinetti/brookwood
e3c89e4ab16f07519258f1ced5f20e64b482e47e
[ "BSD-3-Clause" ]
null
null
null
project/app/urls.py
dbinetti/brookwood
e3c89e4ab16f07519258f1ced5f20e64b482e47e
[ "BSD-3-Clause" ]
null
null
null
project/app/urls.py
dbinetti/brookwood
e3c89e4ab16f07519258f1ced5f20e64b482e47e
[ "BSD-3-Clause" ]
null
null
null
# Django from django.urls import path from django.views.generic import TemplateView # Local from . import views urlpatterns = [ # Root path('', views.index, name='index',), # Footer path('about/', TemplateView.as_view(template_name='app/pages/about.html'), name='about',), path('faq/', TemplateVie...
32.125
100
0.669261
128
1,028
5.296875
0.25
0.103245
0.132743
0.19174
0.280236
0.280236
0.280236
0
0
0
0
0
0.13716
1,028
31
101
33.16129
0.764374
0.052529
0
0
0
0
0.246377
0.045549
0
0
0
0
0
1
0
false
0
0.176471
0
0.176471
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f7fc24de7a98724ab3a74270c6473d7f970b075d
375
py
Python
main.py
hongkunyoo/coffeewhale
aae5f338f074b64dcc2988060c9ca026bf73ebbc
[ "MIT" ]
1
2020-05-07T01:20:44.000Z
2020-05-07T01:20:44.000Z
main.py
hongkunyoo/coffeewhale
aae5f338f074b64dcc2988060c9ca026bf73ebbc
[ "MIT" ]
null
null
null
main.py
hongkunyoo/coffeewhale
aae5f338f074b64dcc2988060c9ca026bf73ebbc
[ "MIT" ]
1
2020-05-07T01:20:46.000Z
2020-05-07T01:20:46.000Z
import coffeewhale import time def main(): test_func() @coffeewhale.on_except def test_func(): print('start sleeping') time.sleep(1) print('after sleep') raise Exception() # coffeewhale.notify(url="https://hooks.slack.com/services/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", # result='...
17.857143
109
0.688
43
375
5.744186
0.744186
0.064777
0
0
0
0
0
0
0
0
0
0.03871
0.173333
375
20
110
18.75
0.758065
0.336
0
0
0
0
0.134146
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
7901bd5b4b172d6f3e1c4b47ac8b79bb97033ac2
6,202
py
Python
tpdatasrc/tpgamefiles/rules/char_class/class016_sorcerer.py
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
tpdatasrc/tpgamefiles/rules/char_class/class016_sorcerer.py
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
tpdatasrc/tpgamefiles/rules/char_class/class016_sorcerer.py
edoipi/TemplePlus
f0e552289822fea908f16daa379fa568b1bd286d
[ "MIT" ]
null
null
null
from toee import * import char_class_utils import char_editor ################################################### def GetConditionName(): # used by API return "Sorcerer" # def GetSpellCasterConditionName(): # return "Sorcerer Spellcasting" def GetCategory(): return "Core 3.5 Ed Classes" def GetClassDefinitionFla...
28.319635
149
0.688165
978
6,202
4.202454
0.204499
0.036496
0.042336
0.041849
0.26691
0.232603
0.20292
0.196107
0.154501
0.095864
0
0.076549
0.170106
6,202
219
150
28.319635
0.721974
0.120284
0
0.171779
0
0
0.013704
0
0
0
0
0
0
0
null
null
0
0.018405
null
null
0.006135
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7901e656363d5b25cd254636df77374db1493797
1,826
py
Python
Aula18/rev3.py
marcelabbc07/TrabalhosPython
91734d13110e4dee12a532dfd7091e36394a6449
[ "MIT" ]
null
null
null
Aula18/rev3.py
marcelabbc07/TrabalhosPython
91734d13110e4dee12a532dfd7091e36394a6449
[ "MIT" ]
null
null
null
Aula18/rev3.py
marcelabbc07/TrabalhosPython
91734d13110e4dee12a532dfd7091e36394a6449
[ "MIT" ]
null
null
null
# A lista a seguir possui mais uma lista interna, a lista de preços. # A lista de preços possui 3 sublistas dentro dela com os preços dos produtos. # para exemplificar, o preço do mamão é de 10.00 - alface crespa é de 2.99 e o feijão 9.0 # Será solicitado o preço de alguns produtos. para imprimir deve ser por f-string ...
40.577778
114
0.637459
325
1,826
3.581538
0.289231
0.109966
0.178694
0.128866
0.113402
0.07732
0.039519
0
0
0
0
0.080635
0.171413
1,826
45
115
40.577778
0.688698
0.556407
0
0
0
0
0.215463
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
790236a048130bda458133b39792d5a4070de4f2
409
py
Python
weblog/migrations/0012_userdetail_phone.py
mmohajer9/Resumo
625c279e71e98f0d461679d75c6c464f6afcf437
[ "MIT" ]
1
2019-07-28T10:09:26.000Z
2019-07-28T10:09:26.000Z
weblog/migrations/0012_userdetail_phone.py
mmohajer9/Resumo
625c279e71e98f0d461679d75c6c464f6afcf437
[ "MIT" ]
8
2021-04-08T22:03:32.000Z
2022-02-10T09:35:46.000Z
weblog/migrations/0012_userdetail_phone.py
mmohajer9/resumo
625c279e71e98f0d461679d75c6c464f6afcf437
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2019-07-18 19:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('weblog', '0011_auto_20190718_1829'), ] operations = [ migrations.AddField( model_name='userdetail', name='phone', ...
21.526316
73
0.606357
46
409
5.282609
0.804348
0.016461
0
0
0
0
0
0
0
0
0
0.111486
0.276284
409
18
74
22.722222
0.709459
0.110024
0
0
1
0
0.121547
0.063536
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7904176478811e02fa8f18ce975f9b7bee88c17a
488
py
Python
visitor_manage/src/migrations/0011_auto_20200622_1909.py
parth-27/Visitor-Management-System
575b7ad1a4eecf65e764399ea53e836b8cf1768d
[ "MIT" ]
3
2020-06-30T15:46:56.000Z
2021-11-17T13:13:15.000Z
visitor_manage/src/migrations/0011_auto_20200622_1909.py
DipikaPawar12/Visitor-Management-System
9585d8613daa4f5a0b0a81cce6850f79db768a64
[ "MIT" ]
1
2021-06-10T19:39:03.000Z
2021-06-10T19:39:03.000Z
visitor_manage/src/migrations/0011_auto_20200622_1909.py
DipikaPawar12/Visitor-Management-System
9585d8613daa4f5a0b0a81cce6850f79db768a64
[ "MIT" ]
1
2020-06-30T15:49:07.000Z
2020-06-30T15:49:07.000Z
# Generated by Django 3.0.6 on 2020-06-22 13:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('src', '0010_temporaryuser'), ] operations = [ migrations.RemoveField( model_name='admin', name='username', )...
21.217391
52
0.567623
47
488
5.808511
0.765957
0.065934
0
0
0
0
0
0
0
0
0
0.066066
0.317623
488
22
53
22.181818
0.753754
0.092213
0
0.125
1
0
0.115646
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7906cd293271edf1db810f3042870d676c4e0208
1,185
py
Python
userbot/plugins/indanime.py
aksr-aashish/FIREXUSERBOT
dff0b7bf028cb27779626ce523402346cc990402
[ "MIT" ]
null
null
null
userbot/plugins/indanime.py
aksr-aashish/FIREXUSERBOT
dff0b7bf028cb27779626ce523402346cc990402
[ "MIT" ]
1
2022-01-09T11:35:06.000Z
2022-01-09T11:35:06.000Z
userbot/plugins/indanime.py
aksr-aashish/FIREXUSERBOT
dff0b7bf028cb27779626ce523402346cc990402
[ "MIT" ]
null
null
null
# made by @Eviral from . import * @bot.on(admin_cmd(pattern="indanime(.*)")) async def xd(event): await event.edit("wishing to all🇮🇳🇮🇳...") event.pattern_match.group(1) async for tele in borg.iter_dialogs(): if tele.is_group: chat = tele.id lol = 0 done = ...
38.225806
488
0.357806
132
1,185
6.030303
0.666667
0.025126
0
0
0
0
0
0
0
0
0
0.005507
0.233755
1,185
30
489
39.5
0.454846
0.012658
0
0
0
0.045455
0.528253
0.357877
0
0
0
0
0
1
0
false
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
79096a8346292bfd6ff343f4fd6a6669e3524ac6
632
py
Python
Curso Python/Aula06/CondicoesAinhada.py
ElHa07/Python
d8014948a6472daa3dd0c9be5e536fc79742f02e
[ "MIT" ]
null
null
null
Curso Python/Aula06/CondicoesAinhada.py
ElHa07/Python
d8014948a6472daa3dd0c9be5e536fc79742f02e
[ "MIT" ]
null
null
null
Curso Python/Aula06/CondicoesAinhada.py
ElHa07/Python
d8014948a6472daa3dd0c9be5e536fc79742f02e
[ "MIT" ]
null
null
null
#Curso Python #06 - Condições Aninhadas #Primeiro Exemplo #nome = str(input('Qual é seu Nome: ')) #if nome == 'Jefferson': # print('Que Nome Bonito') #else: # print('Seu nome é bem normal.') #print('Tenha um bom dia, {}'.format(nome)) #Segundo Exemplo nome = str(input('Qual é seu Nome: ')) if nome == 'Jeffers...
27.478261
60
0.648734
95
632
4.315789
0.463158
0.085366
0.087805
0.095122
0.614634
0.57561
0.57561
0.57561
0.57561
0.57561
0
0.003899
0.188291
632
23
61
27.478261
0.795322
0.378165
0
0
0
0
0.486979
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7909ac6ebed762c73ef81e2e2fbf36179641e940
1,142
py
Python
Particle-On-Potential-MC-sampling/Run_MuellerBrownPotential-WithMetaD.py
valsson/MD-MC-Codes-2016
b1e5438313fe6fec7c1bbc8fb8ea979ce964f7dc
[ "MIT" ]
3
2016-09-30T15:27:16.000Z
2020-12-27T02:51:35.000Z
Particle-On-Potential-MC-sampling/Run_MuellerBrownPotential-WithMetaD.py
valsson/MD-MC-Codes-2016
b1e5438313fe6fec7c1bbc8fb8ea979ce964f7dc
[ "MIT" ]
null
null
null
Particle-On-Potential-MC-sampling/Run_MuellerBrownPotential-WithMetaD.py
valsson/MD-MC-Codes-2016
b1e5438313fe6fec7c1bbc8fb8ea979ce964f7dc
[ "MIT" ]
1
2020-12-27T02:51:37.000Z
2020-12-27T02:51:37.000Z
import numpy as np import time import matplotlib.pyplot as plt from MuellerBrownPotential import MuellerBrownPotential from LogExpOfHarmonicWellsPotential import LogExpOfHarmonicWellsPotential from MonteCarloSimulator import MonteCarloSimulator from MetadynamicsBias import MetadynamicsBias T = 1.0 NumMCmoves = 10000 ...
23.791667
73
0.718914
99
1,142
8.292929
0.424242
0.036541
0
0
0
0
0
0
0
0
0
0.022099
0.207531
1,142
47
74
24.297872
0.885083
0.038529
0
0.128205
0
0
0.002737
0
0
0
0
0
0
0
null
null
0
0.179487
null
null
0.128205
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
790d305c4c82dbbdb373cbd1da0b2ee0f0a34716
964
py
Python
genestack_client/unaligned_reads.py
genestack/python-client
083eb0508dc99c7575ba7f115595f2535f007583
[ "MIT" ]
2
2017-08-30T22:32:59.000Z
2021-07-20T10:08:23.000Z
genestack_client/unaligned_reads.py
genestack/python-client
083eb0508dc99c7575ba7f115595f2535f007583
[ "MIT" ]
58
2015-10-19T08:36:00.000Z
2020-12-07T13:48:17.000Z
genestack_client/unaligned_reads.py
genestack/python-client
083eb0508dc99c7575ba7f115595f2535f007583
[ "MIT" ]
6
2015-10-21T21:43:45.000Z
2021-01-06T20:33:53.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from future import standard_library standard_library.install_aliases() from builtins import * from builtins import object READS_LOCATION = 'genest...
21.422222
54
0.698133
115
964
5.565217
0.4
0.078125
0.125
0
0
0
0
0
0
0
0
0.014323
0.20332
964
44
55
21.909091
0.81901
0.021784
0
0
0
0
0.153029
0.025505
0
0
0
0
0
1
0.03125
false
0
0.21875
0.03125
0.84375
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1