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
81ad9ff66774163a24db71d8fec5cb8565fc0147
223
py
Python
ExPython/CursoemVideo/ex015.py
MatheusEwen/Exercicios_Do_CursoDePython
7c21f95f0d31ec1e6c17e1b957c1442843118c48
[ "MIT" ]
1
2020-10-06T00:27:05.000Z
2020-10-06T00:27:05.000Z
ExPython/CursoemVideo/ex015.py
MatheusEwen/Exercicios_Do_CursoDePython
7c21f95f0d31ec1e6c17e1b957c1442843118c48
[ "MIT" ]
null
null
null
ExPython/CursoemVideo/ex015.py
MatheusEwen/Exercicios_Do_CursoDePython
7c21f95f0d31ec1e6c17e1b957c1442843118c48
[ "MIT" ]
null
null
null
km = float(input('Quantos KM você andou como carro alugado?: ')) dia = float(input('Quantos dias você ficou com o carro?:')) resul = (km * 0.15) + (dia * 60) print('O preço a pagar pelo uso do carro é de {}'.format(resul))
44.6
64
0.663677
39
223
3.794872
0.717949
0.135135
0.22973
0
0
0
0
0
0
0
0
0.027174
0.174888
223
4
65
55.75
0.777174
0
0
0
0
0
0.542601
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
81ba225f50302993d984fea2223217c7dcda5422
2,020
py
Python
pypen_init.py
ryan-pensando/pypen
4d50fc55ac49f7de53f1e141f48fe195c463e3c1
[ "Apache-2.0" ]
null
null
null
pypen_init.py
ryan-pensando/pypen
4d50fc55ac49f7de53f1e141f48fe195c463e3c1
[ "Apache-2.0" ]
null
null
null
pypen_init.py
ryan-pensando/pypen
4d50fc55ac49f7de53f1e141f48fe195c463e3c1
[ "Apache-2.0" ]
1
2020-10-26T20:34:43.000Z
2020-10-26T20:34:43.000Z
# Copyright (c) 2020, Pensando Systems # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above # copyright notice and this permission notice appear in all copies. # # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS A...
42.978723
98
0.670297
284
2,020
4.711268
0.461268
0.018685
0.029148
0
0
0
0
0
0
0
0
0.007009
0.152475
2,020
46
99
43.913043
0.774533
0.413366
0
0.115385
0
0
0.571429
0.146279
0
0
0
0
0
1
0
false
0.115385
0.115385
0
0.115385
0.461538
0
0
0
null
0
0
0
0
0
0
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
1
0
2
81c0a137406f903bdf82a74a1b7ff1d91ca454c8
867
py
Python
koku/api/dataexport/views.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
157
2018-04-30T16:27:53.000Z
2022-03-31T08:17:21.000Z
koku/api/dataexport/views.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
3,250
2018-04-26T14:14:25.000Z
2022-03-31T23:49:15.000Z
koku/api/dataexport/views.py
rubik-ai/koku
3255d1c217b7b6685cb2e130bf4e025946e76fac
[ "Apache-2.0" ]
65
2018-05-10T14:11:50.000Z
2022-03-18T19:22:58.000Z
"""Views for user-initiated data exports.""" from rest_framework import mixins from rest_framework import viewsets from rest_framework.permissions import AllowAny from api.dataexport.models import DataExportRequest from api.dataexport.serializers import DataExportRequestSerializer class DataExportRequestViewSet( ...
34.68
102
0.767013
93
867
7.064516
0.591398
0.03653
0.077626
0.070015
0
0
0
0
0
0
0
0
0.158016
867
24
103
36.125
0.9
0.176471
0
0
0
0
0.005731
0
0
0
0
0
0
1
0.0625
false
0
0.3125
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
81d014bf2d3153738014afed9eea0b2c8428798f
4,312
py
Python
tests/cloud_governance/tag_cluster/test_tag_cluster_resources.py
Rajpratik71/cloud-governance
41af7ea849041d1348a856e87e8faca9c605bbf6
[ "MIT" ]
4
2021-01-12T16:35:05.000Z
2022-01-26T20:15:47.000Z
tests/cloud_governance/tag_cluster/test_tag_cluster_resources.py
Rajpratik71/cloud-governance
41af7ea849041d1348a856e87e8faca9c605bbf6
[ "MIT" ]
26
2021-01-14T13:35:01.000Z
2022-02-02T14:27:01.000Z
tests/cloud_governance/tag_cluster/test_tag_cluster_resources.py
Rajpratik71/cloud-governance
41af7ea849041d1348a856e87e8faca9c605bbf6
[ "MIT" ]
8
2021-06-17T07:36:48.000Z
2022-03-31T11:31:34.000Z
# TEST DRY RUN: mandatory_tags = None from cloud_governance.tag_cluster.tag_cluster_resouces import TagClusterResources cluster_prefix = 'kubernetes.io/cluster/' cluster_name = 'ocs-test' #cluster_name = 'ocs-test-jlhpd' #cluster_name = 'opc464-k7jml' # input tags mandatory_tags = None # mandatory_tags = { # "Nam...
22.575916
148
0.68808
536
4,312
5.220149
0.173507
0.085776
0.149392
0.135811
0.603645
0.471766
0.345247
0.165118
0.065046
0.065046
0
0.009257
0.198284
4,312
190
149
22.694737
0.800116
0.332792
0
0
0
0
0.015822
0.008925
0
0
0
0
0.404255
1
0.446809
false
0
0.021277
0
0.468085
0.042553
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
81d93e475d4d0aa3a2472e11a65a9c24ac8fe160
419
py
Python
measure_mate/tests/models/test_attribute.py
niche-tester/measure-mate
c3acba57747bcb89fe0c6b9509ec90f04a581506
[ "MIT" ]
15
2015-12-14T02:20:31.000Z
2022-01-30T04:36:39.000Z
measure_mate/tests/models/test_attribute.py
rloomans/measure-mate
e89f9c8e1faa1920496f1c997f6d87ec0f9bd7c2
[ "MIT" ]
1,403
2017-02-16T01:00:04.000Z
2022-03-15T21:12:13.000Z
measure_mate/tests/models/test_attribute.py
rloomans/measure-mate
e89f9c8e1faa1920496f1c997f6d87ec0f9bd7c2
[ "MIT" ]
10
2015-12-18T01:30:46.000Z
2022-01-30T04:36:41.000Z
from builtins import str from django.test import TestCase from measure_mate.tests.factories import TemplateFactory, AttributeFactory class AttributeTestCases(TestCase): def test_creation_of_attribute(self): template = TemplateFactory() attribute = AttributeFactory(template=template) attri...
32.230769
85
0.74463
44
419
7
0.568182
0
0
0
0
0
0
0
0
0
0
0
0.167064
419
12
86
34.916667
0.882521
0
0
0
0
0
0.016706
0
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
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
1
0
1
0
0
2
81dbd174cd7405d7d5e397b2b07ec73bf49a8c95
263
py
Python
ia870/iahmax.py
bfoe/e2dhipseg
4f6cbfd77bde2f92835c7007a230c08829f1845a
[ "MIT" ]
4
2020-07-31T02:35:21.000Z
2021-07-29T23:03:39.000Z
ia870/iahmax.py
Abigale-Xin/e2dhipseg
520366326cd20c75b5db855c9dd05cf0a8d49089
[ "MIT" ]
2
2020-07-28T22:29:54.000Z
2021-07-07T20:37:25.000Z
ia870/iahmax.py
Abigale-Xin/e2dhipseg
520366326cd20c75b5db855c9dd05cf0a8d49089
[ "MIT" ]
7
2020-07-27T05:22:03.000Z
2022-03-10T06:29:21.000Z
# -*- encoding: utf-8 -*- # Module iahmax from numpy import * from ia870.iasecross import iasecross def iahmax(f, h=1, Bc=iasecross()): from iasubm import iasubm from iainfrec import iainfrec g = iasubm(f,h) y = iainfrec(g,f,Bc); return y
17.533333
37
0.653992
39
263
4.410256
0.512821
0.023256
0
0
0
0
0
0
0
0
0
0.024631
0.228137
263
14
38
18.785714
0.82266
0.140684
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
81e44c11a443feb2c8bfbc27be8660bf21a49c0a
747
py
Python
randomnamegenerator.py
mockinggod/Generatorbot
502ef3b72ad841f2cd2e6ebaf8bb6655ab7c18ef
[ "MIT" ]
7
2019-02-23T18:14:24.000Z
2021-10-04T06:24:15.000Z
randomnamegenerator.py
mockinggod/Generatorbot
502ef3b72ad841f2cd2e6ebaf8bb6655ab7c18ef
[ "MIT" ]
null
null
null
randomnamegenerator.py
mockinggod/Generatorbot
502ef3b72ad841f2cd2e6ebaf8bb6655ab7c18ef
[ "MIT" ]
2
2019-02-23T21:49:37.000Z
2019-02-24T10:24:34.000Z
import random consonants = ["b", "c", "d", "f", "g", "h", "j", "k", "l", "m", "n", "p", "q", "r", "s", "t", "v", "x", "z", "w"] vowels = ["a", "e", "i", "o", "u", "y"] def main(): letternum = random.triangular(2,6,10) name = "" if random.random() > 0.5: name = name + random.choice(consonants) c = 1 else: ...
20.75
113
0.515395
112
747
3.4375
0.4375
0.124675
0.218182
0.311688
0.587013
0.587013
0.587013
0.587013
0.587013
0.587013
0
0.036298
0.262383
747
36
114
20.75
0.662432
0
0
0.535714
0
0
0.034759
0
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.071429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c48f88a1675e67e030f0e3990d09f37fb667503d
3,718
py
Python
ucm_drf/api/serializers.py
ManianVSS/Shani
2c9e5c0f8a0f073d891a84c38131da02deff0330
[ "BSD-3-Clause" ]
null
null
null
ucm_drf/api/serializers.py
ManianVSS/Shani
2c9e5c0f8a0f073d891a84c38131da02deff0330
[ "BSD-3-Clause" ]
null
null
null
ucm_drf/api/serializers.py
ManianVSS/Shani
2c9e5c0f8a0f073d891a84c38131da02deff0330
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth.models import User, Group from rest_framework import serializers from api.models import UseCase, Requirement, TestCase, Feature, Run, ExecutionRecord, Attachment, Defect, Release, \ Epic, Sprint, Story, UseCaseCategory, ReliabilityRun class UserSerializer(serializers.ModelSerializer): ...
32.902655
119
0.649812
318
3,718
7.550314
0.305031
0.18409
0.219492
0.247813
0.446064
0.137859
0.107872
0.049146
0.049146
0
0
0
0.209521
3,718
112
120
33.196429
0.816945
0.055406
0
0.219178
0
0
0.237593
0.006275
0
0
0
0
0
1
0
false
0.013699
0.041096
0
0.479452
0.054795
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c49052187597b5f8b1a72d018a948e9d6681dbdc
610
py
Python
evo_gym/envs/atari/space_invaders_survival.py
SamuelSchmidgall/EvolutionarySelfReplication
1a6f8225378b59423a97b439b56710bbed2754e9
[ "MIT" ]
12
2021-08-19T22:15:26.000Z
2022-03-27T20:31:40.000Z
evo_gym/envs/atari/space_invaders_survival.py
SamuelSchmidgall/EvolutionarySelfReplication
1a6f8225378b59423a97b439b56710bbed2754e9
[ "MIT" ]
null
null
null
evo_gym/envs/atari/space_invaders_survival.py
SamuelSchmidgall/EvolutionarySelfReplication
1a6f8225378b59423a97b439b56710bbed2754e9
[ "MIT" ]
null
null
null
import numpy import evo_gym class SpaceInvadersSurvival(evo_gym.Env): def __init__(self): self.env = evo_gym.make("SpaceInvaders-ram-v4") self.action_space = self.env.action_space self.observation_space = self.env.observation_space self.action_space.shape = (self.action_space.n,) ...
23.461538
59
0.64918
80
610
4.7625
0.3875
0.110236
0.11811
0
0
0
0
0
0
0
0
0.014957
0.232787
610
25
60
24.4
0.799145
0
0
0
0
0
0.041254
0
0
0
0
0
0
1
0.25
false
0
0.125
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c499cfc27f15a2c35f5a91d8810323bb87151d2b
197
py
Python
app/libs/utils.py
krisnantobi/flask-python
d0da39d7c7f6e6d3b35def6e61c658ef279811e9
[ "MIT" ]
null
null
null
app/libs/utils.py
krisnantobi/flask-python
d0da39d7c7f6e6d3b35def6e61c658ef279811e9
[ "MIT" ]
null
null
null
app/libs/utils.py
krisnantobi/flask-python
d0da39d7c7f6e6d3b35def6e61c658ef279811e9
[ "MIT" ]
null
null
null
def safe_int(data, default=0) -> int: '''safely cast variable value to integer''' try: data = int(data) except (ValueError, TypeError): data = default return data
19.7
47
0.598985
24
197
4.875
0.708333
0.119658
0
0
0
0
0
0
0
0
0
0.007143
0.28934
197
9
48
21.888889
0.828571
0.187817
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c49cbcd61a24e264a424c6ad8f2e3333d9a8b8d3
433
gyp
Python
binding.gyp
ozonep/fast-hex
0a8d9eca1bd2023d349700b9d9356ad54770f1e6
[ "MIT" ]
null
null
null
binding.gyp
ozonep/fast-hex
0a8d9eca1bd2023d349700b9d9356ad54770f1e6
[ "MIT" ]
null
null
null
binding.gyp
ozonep/fast-hex
0a8d9eca1bd2023d349700b9d9356ad54770f1e6
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "strdecode", "sources": [ "src/strdecode.cc", "src/hex.cc" ], "include_dirs" : [ "<!(node -e \"require('nan')\")" ], "cflags":[ "-Ofast", "-Wno-cast-function-type", "-march=haswell" ], ...
17.32
42
0.39261
34
433
4.911765
0.647059
0.095808
0.143713
0.239521
0.431138
0.431138
0.431138
0
0
0
0
0
0.394919
433
24
43
18.041667
0.637405
0
0
0.375
0
0
0.43649
0.106236
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
0
0
2
c4a1d403575cebd70bff23eef02baabccbb413bb
641
py
Python
vkontakte_groups_migration/signals.py
ramusus/django-vkontakte-groups-migration
57ffd6cb638ac554f5967c35dcc1f8a26e33315e
[ "BSD-3-Clause" ]
null
null
null
vkontakte_groups_migration/signals.py
ramusus/django-vkontakte-groups-migration
57ffd6cb638ac554f5967c35dcc1f8a26e33315e
[ "BSD-3-Clause" ]
1
2015-06-15T04:05:02.000Z
2015-06-22T14:52:43.000Z
vkontakte_groups_migration/signals.py
ramusus/django-vkontakte-groups-migration
57ffd6cb638ac554f5967c35dcc1f8a26e33315e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from annoying.decorators import signals from django.conf import settings from django.dispatch import Signal from .models import GroupMigration, update_group_users group_migration_updated = Signal(providing_args=['instance']) group_users_updated = Signal(providing_args=['instance']) @signals(...
33.736842
62
0.787832
74
641
6.608108
0.513514
0.0818
0.06544
0.106339
0.139059
0
0
0
0
0
0
0.007156
0.127925
641
18
63
35.611111
0.867621
0.032761
0
0
0
0
0.038835
0
0
0
0
0
0
1
0.076923
false
0
0.384615
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
1
0
0
2
c4b1621aa04791f0ab36c6be266cffce1b62fd5a
2,506
py
Python
eda_plugin/examples/analysers.py
wl-stepp/eda_plugin
038a43796fce36863d1b27429ca7286b468d72c4
[ "BSD-3-Clause" ]
null
null
null
eda_plugin/examples/analysers.py
wl-stepp/eda_plugin
038a43796fce36863d1b27429ca7286b468d72c4
[ "BSD-3-Clause" ]
null
null
null
eda_plugin/examples/analysers.py
wl-stepp/eda_plugin
038a43796fce36863d1b27429ca7286b468d72c4
[ "BSD-3-Clause" ]
null
null
null
"""Examples of using the KerasWorker QRunnable to add on pre and post-processing steps.""" from multiprocessing.spawn import prepare import numpy as np from eda_plugin.analysers.keras import KerasWorker from eda_plugin.utility.image_processing import ( prepareNNImages, stitchImage, prepare_wo_tiling, ) fr...
36.852941
98
0.694334
296
2,506
5.736486
0.358108
0.037102
0.030035
0.033569
0.353357
0.291519
0.291519
0.183746
0.183746
0.183746
0
0.002997
0.201117
2,506
67
99
37.402985
0.845155
0.324022
0
0.333333
0
0
0.0459
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.055556
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c4b944a04f97c728a5fbe3f7e68b72fd3125ca9b
300
py
Python
GeneratorInterface/GenFilters/python/PythiaFilterZJetWithOutBg_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
GeneratorInterface/GenFilters/python/PythiaFilterZJetWithOutBg_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
GeneratorInterface/GenFilters/python/PythiaFilterZJetWithOutBg_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms zj_filter = cms.EDFilter("PythiaFilterZJet", MinZPt = cms.untracked.double(18.0), MaxZPt = cms.untracked.double(22.0), MaxMuonEta = cms.untracked.double(2.5), MaxEvents = cms.untracked.int32(10), MinMuonPt = cms.untracked.double(3.5) )
25
44
0.706667
40
300
5.275
0.625
0.28436
0.341232
0
0
0
0
0
0
0
0
0.055118
0.153333
300
11
45
27.272727
0.775591
0
0
0
0
0
0.053691
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4b9db5387f28c844c43d96f87a63ae0ae7b8058
1,051
py
Python
polecat/utils/config.py
furious-luke/polecat
7be5110f76dc42b15c922c1bb7d49220e916246d
[ "MIT" ]
4
2019-08-10T12:56:12.000Z
2020-01-21T09:51:20.000Z
polecat/utils/config.py
furious-luke/polecat
7be5110f76dc42b15c922c1bb7d49220e916246d
[ "MIT" ]
71
2019-04-09T05:39:21.000Z
2020-05-16T23:09:24.000Z
polecat/utils/config.py
furious-luke/polecat
7be5110f76dc42b15c922c1bb7d49220e916246d
[ "MIT" ]
null
null
null
import os from .meta import MetaMetaclass from .optiondict import OptionDict class ConfigMetaclass(MetaMetaclass): def __new__(metaclass, name, bases, attrs): if name == 'Config': return type.__new__(metaclass, name, bases, attrs) return metaclass.build_dict_type(metaclass, name, attr...
28.405405
76
0.632731
124
1,051
5.169355
0.387097
0.093604
0.049922
0.065523
0.081123
0
0
0
0
0
0
0.001266
0.248335
1,051
36
77
29.194444
0.810127
0.022835
0
0
0
0
0.05561
0.032195
0
0
0
0.027778
0
1
0.153846
false
0.038462
0.115385
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
1
0
0
0
0
0
0
0
1
0
0
2
c4c51c2f0faf53d91200ab33a1c83f8c3d921716
112
py
Python
src/python/CMSMonitoring/__init__.py
cronosnull/CMSMonitoring
95e6c95bbfa10833cac4ca77989768994b7c5ad1
[ "MIT" ]
1
2020-07-04T13:36:27.000Z
2020-07-04T13:36:27.000Z
src/python/CMSMonitoring/__init__.py
indrarahul2013/CMSMonitoring
1925bf5c099b10bde7d0017970313e52a9865350
[ "MIT" ]
null
null
null
src/python/CMSMonitoring/__init__.py
indrarahul2013/CMSMonitoring
1925bf5c099b10bde7d0017970313e52a9865350
[ "MIT" ]
null
null
null
#!/usr/env/bin python """ CMSMonitoring: set of utils for CMS monitoring """ __version__ = '0.0.0' __all__ = []
16
46
0.669643
16
112
4.1875
0.875
0.059701
0
0
0
0
0
0
0
0
0
0.031579
0.151786
112
6
47
18.666667
0.673684
0.598214
0
0
0
0
0.135135
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4ccf1591330c320f9420653dce5caa735fb59bb
85
py
Python
currency/choices.py
shaurmanchic/hillel_django
9472786aed9a30a1bc17f5764add06e041d672ea
[ "MIT" ]
null
null
null
currency/choices.py
shaurmanchic/hillel_django
9472786aed9a30a1bc17f5764add06e041d672ea
[ "MIT" ]
null
null
null
currency/choices.py
shaurmanchic/hillel_django
9472786aed9a30a1bc17f5764add06e041d672ea
[ "MIT" ]
null
null
null
CURRENCIES = [ ('USD', 'US Dollar'), ('EUR', 'Euro'), ('RUR', 'Ruble'), ]
17
25
0.423529
8
85
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.258824
85
5
26
17
0.571429
0
0
0
0
0
0.313953
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4d4722311290e89a71bb1c05841a02536f22039
223
py
Python
python/searching/linear-search.py
sesn/learn-algorithms
cbd803e1c4ca70edf2a715fca7d1bca9455e5d3f
[ "MIT" ]
null
null
null
python/searching/linear-search.py
sesn/learn-algorithms
cbd803e1c4ca70edf2a715fca7d1bca9455e5d3f
[ "MIT" ]
null
null
null
python/searching/linear-search.py
sesn/learn-algorithms
cbd803e1c4ca70edf2a715fca7d1bca9455e5d3f
[ "MIT" ]
null
null
null
def linear_search(arr, n, x): for i in range(n): if arr[i] == x: return True return False arr = [23,512,214,12,5,67,1,4,65] result = linear_search(arr, len(arr), 214) print('Search Element is found', result)
22.3
42
0.641256
42
223
3.357143
0.690476
0.170213
0.212766
0
0
0
0
0
0
0
0
0.111732
0.197309
223
9
43
24.777778
0.675978
0
0
0
0
0
0.103139
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0.125
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4dca23b507b8de7152dc38d4c61b06bf438ba6f
717
py
Python
tests/test_settings.py
PrincessMooMoo/django-resticus
82b13ec331d10c397a39ab5d689fd9d7a6f24d2d
[ "Unlicense" ]
9
2019-05-14T22:14:15.000Z
2021-05-03T04:08:23.000Z
tests/test_settings.py
PrincessMooMoo/django-resticus
82b13ec331d10c397a39ab5d689fd9d7a6f24d2d
[ "Unlicense" ]
15
2019-10-23T18:43:24.000Z
2020-11-08T19:46:54.000Z
tests/test_settings.py
PrincessMooMoo/django-resticus
82b13ec331d10c397a39ab5d689fd9d7a6f24d2d
[ "Unlicense" ]
4
2016-11-10T00:06:54.000Z
2020-11-08T18:52:03.000Z
from django.test import TestCase from resticus.settings import APISettings, api_settings from resticus import encoders class TestSettings(TestCase): def test_import_error_message_maintained(self): """ Make sure import errors are captured and raised sensibly. """ settings = APISetti...
32.590909
65
0.690377
71
717
6.746479
0.591549
0.068894
0.11691
0.087683
0
0
0
0
0
0
0
0
0.245467
717
21
66
34.142857
0.885397
0.079498
0
0
0
0
0.105346
0.105346
0
0
0
0
0.2
1
0.133333
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c4e6676b755b56800f8156391315d6cd7428a774
5,644
py
Python
lib/golink.py
Lucestra-Studios/LINK-OPENER-CircuitPython
c1abe007674970c15de0773f168e57213d1b1451
[ "MIT" ]
null
null
null
lib/golink.py
Lucestra-Studios/LINK-OPENER-CircuitPython
c1abe007674970c15de0773f168e57213d1b1451
[ "MIT" ]
null
null
null
lib/golink.py
Lucestra-Studios/LINK-OPENER-CircuitPython
c1abe007674970c15de0773f168e57213d1b1451
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2022 Lucas "Lucaso" Nguyen for Lucestra Studios Copytight (c) 2022 Lucestra Studios Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files(the "Software"), to deal in the Software without restriction, including wit...
30.181818
78
0.600992
761
5,644
4.444152
0.232589
0.221171
0.277351
0.151685
0.538143
0.48699
0.459196
0.459196
0
0
0
0.004825
0.265592
5,644
186
79
30.344086
0.811098
0.201099
0
0.02649
0
0
0.023995
0.004666
0
0
0
0
0
1
0.013245
false
0
0.02649
0
0.039735
0.013245
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4e7a4c047982b7b98aef2ea3f7107d50670691b
10,068
py
Python
pytest_splunk_addon/helmut/util/Constants.py
monishshah18/pytest-splunk-addon
1600f2c7d30ec304e9855642e63511780556b406
[ "Apache-2.0" ]
null
null
null
pytest_splunk_addon/helmut/util/Constants.py
monishshah18/pytest-splunk-addon
1600f2c7d30ec304e9855642e63511780556b406
[ "Apache-2.0" ]
null
null
null
pytest_splunk_addon/helmut/util/Constants.py
monishshah18/pytest-splunk-addon
1600f2c7d30ec304e9855642e63511780556b406
[ "Apache-2.0" ]
null
null
null
from builtins import object class Constants(object): TestConstants = { # Email alerting constants "EMAIL_SETTINGS": "/servicesNS/admin/search/admin/alert_actions/email", "PAPER_ORIENTATION": "/servicesNS/admin/search/saved/searches/{0}", "PAPER_SIZE": "/servicesNS/admin/search/save...
55.318681
204
0.630115
1,040
10,068
5.926923
0.275962
0.067489
0.063433
0.047696
0.251136
0.181538
0.093933
0.045425
0
0
0
0.019348
0.199146
10,068
181
205
55.624309
0.745132
0.057211
0
0.025157
0
0.006289
0.694794
0.446193
0
0
0
0
0.006289
1
0
false
0.031447
0.006289
0
0.018868
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c4ed50ac98ec4e2bd96e68fc1b77f45177d6dce2
712
py
Python
src/orquestadores/tasks/testing/test_clean_rangos.py
rluiseugenio/dpa_rita
4da52a103b455c97d7f3bc6253f1c455c340dfc4
[ "MIT" ]
null
null
null
src/orquestadores/tasks/testing/test_clean_rangos.py
rluiseugenio/dpa_rita
4da52a103b455c97d7f3bc6253f1c455c340dfc4
[ "MIT" ]
10
2020-05-06T14:30:44.000Z
2022-03-12T00:33:00.000Z
src/orquestadores/tasks/testing/test_clean_rangos.py
rluiseugenio/dpa_rita
4da52a103b455c97d7f3bc6253f1c455c340dfc4
[ "MIT" ]
6
2020-04-15T04:30:36.000Z
2020-10-23T16:02:24.000Z
#python -m marbles test_clean_rangos.py import unittest from marbles.mixins import mixins import pandas as pd import requests from pyspark.sql import SparkSession import psycopg2 as pg import pandas as pd from pyspark.sql.types import StructType, StructField, StringType from src.features.build_features import get_clea...
27.384615
93
0.77809
100
712
5.4
0.6
0.044444
0.051852
0.059259
0
0
0
0
0
0
0
0.016129
0.129213
712
25
94
28.48
0.854839
0.160112
0
0.142857
0
0
0.071057
0
0
0
0
0
0.071429
1
0.071429
false
0
0.642857
0
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c4ef3a9fb729657c69ee0cfa6af55687a7ac833a
371
py
Python
Interface/python/DConsole.py
Sloth-Panda/DConsole
0fae1fa72d92f8fd80a28284500070ab5257fe3b
[ "MIT" ]
null
null
null
Interface/python/DConsole.py
Sloth-Panda/DConsole
0fae1fa72d92f8fd80a28284500070ab5257fe3b
[ "MIT" ]
null
null
null
Interface/python/DConsole.py
Sloth-Panda/DConsole
0fae1fa72d92f8fd80a28284500070ab5257fe3b
[ "MIT" ]
null
null
null
import sys from sys import platform from utils import get_buff if platform.startswith('lin'): import DConsolePyUnix as DConsoleIn elif platform.startswith('win'): import DConsolePyWin as DConsoleIn def DConsole(console_msg, color='white', tab_name='default'): byte_buffer = get_buff(str(console_msg), colo...
26.5
61
0.773585
51
371
5.45098
0.588235
0.05036
0.107914
0
0
0
0
0
0
0
0
0
0.137466
371
13
62
28.538462
0.86875
0
0
0
0
0
0.048518
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c4f746b1f18590a0ad98fcea51f00fb0bc8bc0f3
1,320
py
Python
scraper/models.py
thetruefuss/hypercube
fe3262b5532530790a52d4791deb0114cd8cc8b4
[ "MIT" ]
3
2018-06-20T18:48:07.000Z
2021-02-24T12:41:16.000Z
scraper/models.py
thetruefuss/hypercube
fe3262b5532530790a52d4791deb0114cd8cc8b4
[ "MIT" ]
1
2021-06-10T20:30:29.000Z
2021-06-10T20:30:29.000Z
scraper/models.py
thetruefuss/hypercube
fe3262b5532530790a52d4791deb0114cd8cc8b4
[ "MIT" ]
1
2021-02-24T12:50:07.000Z
2021-02-24T12:50:07.000Z
from django.db import models from django.utils import timezone from autoslug import AutoSlugField class Book(models.Model): title = models.CharField(max_length=1000, null=True, default='no title found') slug = AutoSlugField(populate_from='title', null=True, unique=True) author = models.CharField(max_leng...
34.736842
103
0.723485
168
1,320
5.595238
0.375
0.08617
0.134043
0.178723
0.347872
0.226596
0.226596
0.226596
0
0
0
0.027199
0.164394
1,320
37
104
35.675676
0.825023
0
0
0.076923
0
0
0.104545
0
0
0
0
0
0
1
0.076923
false
0
0.115385
0.076923
0.884615
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c4fb82d38d41767a62e9b29dc5df9d4c12f60a00
2,222
py
Python
src/lib/kombi/TaskWrapper/DCCTaskWrapper.py
paulondc/chilopoda
046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4
[ "MIT" ]
2
2019-09-24T18:56:27.000Z
2021-02-07T04:58:49.000Z
src/lib/kombi/TaskWrapper/DCCTaskWrapper.py
paulondc/kombi
046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4
[ "MIT" ]
20
2019-02-16T04:21:13.000Z
2019-03-09T21:21:21.000Z
src/lib/kombi/TaskWrapper/DCCTaskWrapper.py
paulondc/kombi
046dbb0c1b4ff20ea5f2e1679f8d89f3089b6aa4
[ "MIT" ]
3
2019-11-15T05:16:32.000Z
2021-09-28T21:28:29.000Z
from .SubprocessTaskWrapper import SubprocessTaskWrapper # checking for immupipe support try: import basetools except ImportError: basetoolsAvailable = False else: basetoolsAvailable = True class DCCTaskWrapper(SubprocessTaskWrapper): """ ABC to perform a task inside of a dcc (like maya, nuke...)....
33.164179
116
0.59766
234
2,222
5.653846
0.478632
0.011338
0.013605
0.037793
0.057445
0.057445
0.057445
0
0
0
0
0
0.342034
2,222
66
117
33.666667
0.904925
0.368137
0
0.314286
0
0
0.01373
0
0
0
0
0.015152
0
1
0.085714
false
0.057143
0.085714
0
0.257143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
f202b60f806deb2b49a1493ad0e97eb643cf040e
253
py
Python
1877.py
ErFer7/URI-Python
94c36985852204e34806650e4ffec48d4d9e9ab1
[ "MIT" ]
1
2022-02-06T19:36:33.000Z
2022-02-06T19:36:33.000Z
1877.py
ErFer7/URI-Python
94c36985852204e34806650e4ffec48d4d9e9ab1
[ "MIT" ]
null
null
null
1877.py
ErFer7/URI-Python
94c36985852204e34806650e4ffec48d4d9e9ab1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- n, k = map(int, input().split()) h = list(map(int, input().split())) v = 0 for i in range(1, n - 1): if h[i] < h[i - 1] and h[i] < h[i + 1]: v += 1 if v == k - 1: print("beautiful") else: print("ugly")
13.315789
43
0.450593
47
253
2.425532
0.510638
0.070175
0.192982
0.280702
0.087719
0
0
0
0
0
0
0.044944
0.296443
253
19
44
13.315789
0.595506
0.083004
0
0
0
0
0.056277
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f211f8e7eea1e2f1c36aa40b97037f3e947da5a9
4,003
py
Python
macro_scrapy/pipelines.py
jachiike-madubuko/macro-scrapy
d8ed1a2ebf70d32e7f7137355081c65e9b192ede
[ "MIT" ]
null
null
null
macro_scrapy/pipelines.py
jachiike-madubuko/macro-scrapy
d8ed1a2ebf70d32e7f7137355081c65e9b192ede
[ "MIT" ]
2
2021-03-31T20:35:00.000Z
2021-12-13T20:58:34.000Z
macro_scrapy/pipelines.py
jachiike-madubuko/macro-scrapy
d8ed1a2ebf70d32e7f7137355081c65e9b192ede
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://doc.scrapy.org/en/latest/topics/item-pipeline.html from sqlalchemy.orm import sessionmaker from scrapy.exceptions import DropItem from .models import Quote, Author, Tag, db_con...
29.873134
101
0.585061
418
4,003
5.483254
0.291866
0.026178
0.019634
0.026178
0.427138
0.377836
0.377836
0.377836
0.358202
0.358202
0
0.000359
0.304022
4,003
133
102
30.097744
0.822326
0.767175
0
0
0
0
0.114899
0.027778
0
0
0
0
0
1
0.133333
false
0
0.466667
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
f227b852420d8b96cae0f6367d9903641171dd8f
1,780
py
Python
data_analysis/NumPy/01NumPy_Arrays.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
data_analysis/NumPy/01NumPy_Arrays.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
data_analysis/NumPy/01NumPy_Arrays.py
Matheus-IT/lang-python-related
dd2e5d9b9f16d3838ba1670fdfcba1fa3fe305e9
[ "MIT" ]
null
null
null
import numpy as np # CRIANDO UM ARRAY: #Array criado a partir de uma lista com np.array(): vetor1 = np.array([0, 1, 2, 3, 4, 5, 6, 7, 8]) #Todos elementos de mesmo tipo matrix1 = np.array([[0, 1, 2, 3, 4], [5, 6, 7, 8, 9], [10,11,12,13,14]]) #Colocando mais dimensões #Cr...
40.454545
89
0.651685
293
1,780
3.959044
0.368601
0.067241
0.010345
0.013793
0.115517
0.086207
0.086207
0.036207
0.036207
0.027586
0
0.054709
0.188764
1,780
43
90
41.395349
0.748615
0.430899
0
0
0
0
0.327004
0
0
0
0
0.023256
0
1
0
false
0
0.034483
0
0.034483
0.517241
0
0
0
null
0
0
0
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
1
0
2
1eea75443a220c2f532e41b7f00010cafe2ca7b4
147
py
Python
geldmaschine/__init__.py
elbaschid/geldmaschine
138fc9c7780aba81df1ca1651f913841d8f4162f
[ "MIT" ]
null
null
null
geldmaschine/__init__.py
elbaschid/geldmaschine
138fc9c7780aba81df1ca1651f913841d8f4162f
[ "MIT" ]
null
null
null
geldmaschine/__init__.py
elbaschid/geldmaschine
138fc9c7780aba81df1ca1651f913841d8f4162f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Sebastian Vetter' __email__ = 'sebastian@roadside-developer.com' __version__ = '0.0.1'
24.5
46
0.693878
19
147
4.736842
0.894737
0
0
0
0
0
0
0
0
0
0
0.030769
0.115646
147
6
47
24.5
0.661538
0.285714
0
0
0
0
0.509615
0.307692
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1ef642a5b13f2c361a5c6fea640d41d2eef18a48
324
py
Python
palindrome/alphabets.py
krshubham/speedrun-pattern-problems
1517f2d520819971c13f411cae3d478f12f115c2
[ "MIT" ]
null
null
null
palindrome/alphabets.py
krshubham/speedrun-pattern-problems
1517f2d520819971c13f411cae3d478f12f115c2
[ "MIT" ]
null
null
null
palindrome/alphabets.py
krshubham/speedrun-pattern-problems
1517f2d520819971c13f411cae3d478f12f115c2
[ "MIT" ]
null
null
null
n = int(input()) initial_ascii = 64 for i in range(1, n+1): if i == 1: print(chr(initial_ascii + 1), end="") else: for j in range(1, i+1): print(chr(initial_ascii + j) + " ", end="") for j in range(i-1, 0, -1): print(chr(initial_ascii + j) + " ", end="") pri...
24.923077
55
0.478395
51
324
2.960784
0.352941
0.317881
0.178808
0.317881
0.483444
0.483444
0.331126
0
0
0
0
0.050691
0.330247
324
13
56
24.923077
0.645161
0
0
0.181818
0
0
0.006154
0
0
0
0
0
0
1
0
false
0
0
0
0
0.363636
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
480bc45e4c30f1cba1253f68f0bae9b2cf45773c
3,044
py
Python
tests/functional/gtcs/test_computed_fields_06.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2022-02-05T11:37:13.000Z
2022-02-05T11:37:13.000Z
tests/functional/gtcs/test_computed_fields_06.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-09-03T11:47:00.000Z
2021-09-03T12:42:10.000Z
tests/functional/gtcs/test_computed_fields_06.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-06-30T14:14:16.000Z
2021-06-30T14:14:16.000Z
#coding:utf-8 # # id: functional.gtcs.computed_fields_06 # title: computed-fields-06 # decription: # Original test see in: # https://github.com/FirebirdSQL/fbtcs/blob/master/GTCS/tests/CF_ISQL_06.script # SQL script for creating test database ('gtc...
32.382979
109
0.570631
471
3,044
3.566879
0.254777
0.027381
0.016071
0.028571
0.41369
0.372619
0.320238
0.240476
0.194048
0.108333
0
0.077739
0.256242
3,044
93
110
32.731183
0.664311
0.213535
0
0.137931
0
0.12069
0.787879
0.06229
0
0
0
0
0.017241
1
0.017241
false
0.206897
0.034483
0
0.051724
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
480ec55e2b826a6e97a92815d1108b99cad81d8c
1,846
py
Python
logic/logs.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
2
2019-02-21T18:29:09.000Z
2021-01-27T14:52:46.000Z
logic/logs.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
3
2018-11-22T08:34:04.000Z
2021-06-01T22:47:19.000Z
logic/logs.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
1
2019-06-13T10:45:46.000Z
2019-06-13T10:45:46.000Z
import os import logging import glob __author__ = 'Enis Simsar' def get_logs_names(): log_file_names = glob.glob("./logs/*.log") log_file_names = [log_file_name.split("/")[-1] for log_file_name in log_file_names] return log_file_names def get_log(user_id, log_file_name): logging.info("user_id: {0...
25.638889
87
0.637053
280
1,846
3.860714
0.2
0.246068
0.223867
0.099907
0.6642
0.566142
0.503238
0.503238
0.503238
0.503238
0
0.004944
0.232936
1,846
71
88
26
0.758475
0
0
0.395833
0
0
0.212351
0
0
0
0
0
0
1
0.083333
false
0
0.0625
0
0.395833
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
48196240fca80c4feb046c08062297602b60ac7f
748
py
Python
tests/test_SklearnBinarizerConverter.py
wenbingl/sklearn-onnx
b18cf687f3ffa5fe7f6d23e2f06f2095da622e26
[ "MIT" ]
null
null
null
tests/test_SklearnBinarizerConverter.py
wenbingl/sklearn-onnx
b18cf687f3ffa5fe7f6d23e2f06f2095da622e26
[ "MIT" ]
null
null
null
tests/test_SklearnBinarizerConverter.py
wenbingl/sklearn-onnx
b18cf687f3ffa5fe7f6d23e2f06f2095da622e26
[ "MIT" ]
null
null
null
""" Tests scikit-learn's binarizer converter. """ import unittest import numpy from sklearn.preprocessing import Binarizer from skl2onnx import convert_sklearn from skl2onnx.common.data_types import FloatTensorType from test_utils import dump_data_and_model class TestSklearnBinarizer(unittest.TestCase): def tes...
29.92
107
0.725936
90
748
5.777778
0.522222
0.051923
0.042308
0.061538
0
0
0
0
0
0
0
0.017799
0.173797
748
24
108
31.166667
0.823625
0.054813
0
0
0
0
0.085837
0.035765
0
0
0
0
0.066667
1
0.066667
false
0
0.4
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
482aeaaabdc035053f917f8df7c33cf72a6d64fd
51,660
py
Python
rbtools/postreview.py
Khan/rbtools
38007690b7cddff7ba01fad9cfd8f22413ea9b20
[ "MIT" ]
null
null
null
rbtools/postreview.py
Khan/rbtools
38007690b7cddff7ba01fad9cfd8f22413ea9b20
[ "MIT" ]
null
null
null
rbtools/postreview.py
Khan/rbtools
38007690b7cddff7ba01fad9cfd8f22413ea9b20
[ "MIT" ]
null
null
null
#!/usr/bin/env python import base64 import cookielib import getpass import logging import mimetools import os import re import sys import urllib2 from optparse import OptionParser from pkg_resources import parse_version from urlparse import urljoin, urlparse # We may have a problem: rbtools can be installed twice on t...
38.494784
85
0.553058
5,774
51,660
4.819882
0.126602
0.041574
0.02102
0.016601
0.303485
0.244844
0.203773
0.159396
0.132088
0.115882
0
0.005181
0.349884
51,660
1,341
86
38.52349
0.823463
0.059059
0
0.261006
0
0
0.20322
0.008599
0
0
0
0.000746
0.003145
0
null
null
0.052411
0.024109
null
null
0.013627
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
4845f94a43a20599383a488a6a26878e11a0835c
361
py
Python
myapp/decorators.py
codehugger/Flask-Starter
0364e277a62024b0afa0dad7e2da0fed16b8ccbb
[ "BSD-3-Clause" ]
2
2015-05-07T10:38:52.000Z
2019-08-30T21:28:05.000Z
myapp/decorators.py
codehugger/Flask-Starter
0364e277a62024b0afa0dad7e2da0fed16b8ccbb
[ "BSD-3-Clause" ]
null
null
null
myapp/decorators.py
codehugger/Flask-Starter
0364e277a62024b0afa0dad7e2da0fed16b8ccbb
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from functools import wraps from flask import request, abort def json_service(func): '''Verifies that the incoming request is a JSON request''' @wraps(func) def decorated_view(*args, **kwargs): if request.json is None: return abort(406) return func(*a...
21.235294
62
0.645429
47
361
4.893617
0.595745
0.113043
0
0
0
0
0
0
0
0
0
0.014706
0.246537
361
16
63
22.5625
0.830882
0.207756
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4846306dcdbfe21e3cfdc8840387b3c4dac71e51
847
py
Python
test/sort/test_insertion_sort.py
ahmadgh74/clrs
2a5158036240ebea627315dce6e82346ac333e35
[ "MIT" ]
null
null
null
test/sort/test_insertion_sort.py
ahmadgh74/clrs
2a5158036240ebea627315dce6e82346ac333e35
[ "MIT" ]
null
null
null
test/sort/test_insertion_sort.py
ahmadgh74/clrs
2a5158036240ebea627315dce6e82346ac333e35
[ "MIT" ]
null
null
null
import unittest from src.sort import insertion_sort class TestInsertionSort(unittest.TestCase): def test_insertion_sort(self): data = [4, 2, 5, 6, 1, 7, 3, 15, 12, 9, 8, 20, 16] expected = [1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 15, 16, 20] self.assertEqual(insertion_sort(data), expected) de...
36.826087
96
0.576151
149
847
3.194631
0.362416
0.191176
0.10084
0.12605
0.168067
0.168067
0
0
0
0
0
0.264331
0.25856
847
22
97
38.5
0.493631
0
0
0.133333
0
0
0
0
0
0
0
0
0.2
1
0.2
false
0
0.133333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
484ea79e81401340911139985896cf08ad32b887
322
py
Python
getcontroller.py
cu2/zandagort
81ffd6afffc3b3ec39f3a731a931475871ba2897
[ "CC-BY-3.0" ]
8
2015-01-20T15:21:52.000Z
2020-12-29T22:11:38.000Z
getcontroller.py
cu2/zandagort
81ffd6afffc3b3ec39f3a731a931475871ba2897
[ "CC-BY-3.0" ]
null
null
null
getcontroller.py
cu2/zandagort
81ffd6afffc3b3ec39f3a731a931475871ba2897
[ "CC-BY-3.0" ]
9
2015-01-16T14:35:35.000Z
2021-03-16T16:06:55.000Z
""" Handles all GET requests """ from controller import Controller class GetController(Controller): """ Handles all GET requests For details: see controller.py """ def get_time(self): # TEST """Return world time. Possibly just test method.""" return self._game.get_time(...
17.888889
59
0.63354
37
322
5.432432
0.621622
0.099502
0.129353
0.208955
0
0
0
0
0
0
0
0
0.263975
322
17
60
18.941176
0.848101
0.413043
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
4854068268530eebecd0e9b87979ab494154ca4e
668
py
Python
home/migrations/0001_initial.py
d-shaktiranjan/E_Note_Book
2746392bc88f11ce5fb0d4bb3a1a911b3d2bc766
[ "Apache-2.0" ]
null
null
null
home/migrations/0001_initial.py
d-shaktiranjan/E_Note_Book
2746392bc88f11ce5fb0d4bb3a1a911b3d2bc766
[ "Apache-2.0" ]
1
2022-01-27T18:56:50.000Z
2022-01-27T18:56:50.000Z
home/migrations/0001_initial.py
d-shaktiranjan/E_Note_Book
2746392bc88f11ce5fb0d4bb3a1a911b3d2bc766
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-03 15:46 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='NoteBook', fields=[ ('id', models.AutoField...
26.72
114
0.565868
66
668
5.636364
0.712121
0.120968
0.145161
0.193548
0
0
0
0
0
0
0
0.045064
0.302395
668
24
115
27.833333
0.753219
0.067365
0
0
1
0
0.066023
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.294118
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
48636e76e057cf4119726e709c02c5749b4c99f6
1,011
py
Python
vision_project/api/drawing_assembler.py
keotl/vision_project
5601562e7562ebf005a067d93e3f3a90d9097c42
[ "MIT" ]
null
null
null
vision_project/api/drawing_assembler.py
keotl/vision_project
5601562e7562ebf005a067d93e3f3a90d9097c42
[ "MIT" ]
null
null
null
vision_project/api/drawing_assembler.py
keotl/vision_project
5601562e7562ebf005a067d93e3f3a90d9097c42
[ "MIT" ]
null
null
null
from typing import Tuple from jivago.lang.registry import Component from jivago.lang.stream import Stream from vision_project.api.drawing_model import DrawingModel, LineModel from vision_project.drawing.drawing import Drawing from vision_project.vision.util import RelativeWorldCoordinate @Component class DrawingAss...
36.107143
112
0.725025
119
1,011
6
0.319328
0.10084
0.071429
0.047619
0
0
0
0
0
0
0
0.009592
0.175074
1,011
27
113
37.444444
0.846523
0
0
0
0
0
0
0
0
0
0
0
0
1
0.15
false
0
0.3
0.15
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
48672d8a892a5d45dbff18ebaa90d3c397923492
616
py
Python
isimip_data/search/admin.py
ISI-MIP/isimip-data
a0e4772362cc60db91e7689ec397840dcaaacddb
[ "MIT" ]
3
2020-02-10T10:13:17.000Z
2021-12-21T09:10:50.000Z
isimip_data/search/admin.py
ISI-MIP/isimip-data
a0e4772362cc60db91e7689ec397840dcaaacddb
[ "MIT" ]
17
2020-02-10T16:09:12.000Z
2021-07-02T09:03:37.000Z
isimip_data/search/admin.py
ISI-MIP/isimip-data
a0e4772362cc60db91e7689ec397840dcaaacddb
[ "MIT" ]
null
null
null
from django import forms from django.contrib import admin from adminsortable2.admin import SortableAdminMixin from isimip_data.metadata.models import Attribute from .models import Facet class FacetModelForm(forms.ModelForm): attribute = forms.ModelChoiceField(queryset=Attribute.objects.using('metadata').distin...
25.666667
103
0.683442
60
616
6.983333
0.583333
0.047733
0
0
0
0
0
0
0
0
0
0.002123
0.23539
616
23
104
26.782609
0.887473
0
0
0
0
0
0.051948
0
0
0
0
0
0
1
0
false
0
0.357143
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
486b504d77e41d1e409f1545b85773773f5e976d
307
py
Python
lib/python2.7/site-packages/pylint/test/input/func_noerror_raise_return_self.py
KeynesYouDigIt/nimbleBlog
bde09f0142124ff5fc7703a612d33805f8a622cd
[ "Apache-2.0" ]
35
2016-09-22T22:53:14.000Z
2020-02-13T15:12:21.000Z
sdks/python/.tox/lint/lib/python2.7/site-packages/pylint/test/input/func_noerror_raise_return_self.py
axbaretto/presto
f137d2709db42b5c3e4d43a631832a8f74853065
[ "Apache-2.0" ]
28
2020-03-04T22:01:48.000Z
2022-03-12T00:59:47.000Z
sdks/python/.tox/lint/lib/python2.7/site-packages/pylint/test/input/func_noerror_raise_return_self.py
axbaretto/presto
f137d2709db42b5c3e4d43a631832a8f74853065
[ "Apache-2.0" ]
88
2016-11-27T02:16:11.000Z
2020-02-28T05:10:26.000Z
"""see ticket #5672""" # pylint: disable=R0903,W0232,C0111,C0103,using-constant-test __revision__ = 0 class MultiException(Exception): def __init__(self): Exception.__init__(self) def return_self(self): return self # raise Exception if 1: raise MultiException().return_self()
20.466667
61
0.700326
37
307
5.432432
0.648649
0.149254
0
0
0
0
0
0
0
0
0
0.087649
0.18241
307
14
62
21.928571
0.713147
0.302932
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
4883b88a671f18c75854b9747ce0e3696c84a968
377
py
Python
tests/illumidesk/apis/test_jupyterhub_api.py
1kastner/illumidesk
d4b3a6b964d7cf9f705ff70513491247e01e701f
[ "MIT" ]
null
null
null
tests/illumidesk/apis/test_jupyterhub_api.py
1kastner/illumidesk
d4b3a6b964d7cf9f705ff70513491247e01e701f
[ "MIT" ]
1
2020-04-24T16:58:52.000Z
2020-04-24T16:58:52.000Z
tests/illumidesk/apis/test_jupyterhub_api.py
netoisc/illumidesk
41b99594ac576247f3432b750157c6384b93bc47
[ "MIT" ]
null
null
null
import asyncio import json import os import requests import sys import unittest from jupyterhub import orm from jupyterhub.tests.conftest import app from pytest import mark from subprocess import check_output from tornado.httpclient import AsyncHTTPClient from illumidesk.apis.jupyterhub_api import JupyterHubAPI i...
17.136364
56
0.854111
51
377
6.27451
0.509804
0.0875
0.125
0
0
0
0
0
0
0
0
0
0.132626
377
21
57
17.952381
0.978593
0
0
0.266667
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
0
0
2
6f89dd90645224264b6e0be7cf718ae375a1d7ac
731
py
Python
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/HP/texture_lighting.py
temelkirci/Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
1
2022-03-02T17:07:20.000Z
2022-03-02T17:07:20.000Z
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/HP/texture_lighting.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/raw/GL/HP/texture_lighting.py
temelkirci/RealTime_6DOF_Motion_Editor
a8b8d4c4d2dcc9be28385600f56066cef92a38ad
[ "MIT" ]
null
null
null
'''OpenGL extension HP.texture_lighting Automatically generated by the get_gl_extensions script, do not edit! ''' from OpenGL import platform, constants, constant, arrays from OpenGL import extensions from OpenGL.GL import glget import ctypes EXTENSION_NAME = 'GL_HP_texture_lighting' _DEPRECATED = False GL_TEXTURE_LIG...
38.473684
88
0.823529
96
731
5.927083
0.458333
0.094903
0.094903
0.105448
0.323374
0.123023
0
0
0
0
0
0.023006
0.108071
731
18
89
40.611111
0.849693
0.23119
0
0
1
0
0.185455
0.185455
0
0
0.032727
0
0
1
0.090909
false
0
0.363636
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
6f985ac8b14400b5c5463a21397bc4c1166ae270
162
py
Python
ex010.py
lucas54neves/python-curso
1b76e460cea9178f5aa7c4e9f71addf77529939b
[ "MIT" ]
null
null
null
ex010.py
lucas54neves/python-curso
1b76e460cea9178f5aa7c4e9f71addf77529939b
[ "MIT" ]
null
null
null
ex010.py
lucas54neves/python-curso
1b76e460cea9178f5aa7c4e9f71addf77529939b
[ "MIT" ]
null
null
null
reais = float(input('Quanto dinheiro voce tem na carteira? R$')) dolares = reais / 3.27 print('Com R${:.2f} voce pode comprar US${:.2f}'.format(reais, dolares))
32.4
72
0.679012
26
162
4.230769
0.769231
0
0
0
0
0
0
0
0
0
0
0.035714
0.135802
162
5
72
32.4
0.75
0
0
0
0
0
0.490798
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6f98c4f12440c46f5190396a34390d3f5a4d99e7
398
py
Python
bitmovin/services/encodings/ts_muxing_service.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
44
2016-12-12T17:37:23.000Z
2021-03-03T09:48:48.000Z
bitmovin/services/encodings/ts_muxing_service.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
38
2017-01-09T14:45:45.000Z
2022-02-27T18:04:33.000Z
bitmovin/services/encodings/ts_muxing_service.py
camberbridge/bitmovin-python
3af4c6e79b0291fda05fd1ceeb5bed1bba9f3c95
[ "Unlicense" ]
27
2017-02-02T22:49:31.000Z
2019-11-21T07:04:57.000Z
from bitmovin.resources.models import TSMuxing as TSMuxingResource from .generic_muxing_service import GenericMuxingService from .ts_drm_service import TSDRMService class TSMuxing(GenericMuxingService): def __init__(self, http_client): super().__init__(http_client=http_client, type_url='ts', resource_cla...
36.181818
97
0.809045
47
398
6.446809
0.531915
0.165017
0.092409
0.132013
0
0
0
0
0
0
0
0
0.120603
398
10
98
39.8
0.865714
0
0
0
0
0
0.005025
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6fa7fece64b8eda5f6bc37550fe6b7056cac90a3
1,310
tac
Python
fmi-avi-xmlmodel-iwxxm30/src/main/resources/int/icao/iwxxm/3.0.0/examples/va-advisory-A2-1.tac
spatineo/fmi-avi-xmlmodel
92a87b3d65b1e1a4ec9b7226238785de01a744db
[ "MIT" ]
null
null
null
fmi-avi-xmlmodel-iwxxm30/src/main/resources/int/icao/iwxxm/3.0.0/examples/va-advisory-A2-1.tac
spatineo/fmi-avi-xmlmodel
92a87b3d65b1e1a4ec9b7226238785de01a744db
[ "MIT" ]
1
2019-03-12T11:26:03.000Z
2019-03-25T11:00:14.000Z
fmi-avi-xmlmodel-iwxxm30/src/main/resources/int/icao/iwxxm/3.0.0/examples/va-advisory-A2-1.tac
spatineo/fmi-avi-xmlmodel
92a87b3d65b1e1a4ec9b7226238785de01a744db
[ "MIT" ]
1
2020-02-26T07:19:02.000Z
2020-02-26T07:19:02.000Z
FVFE01 RJTD 230130 VA ADVISORY DTG: 20080923/0130Z VAAC: TOKYO VOLCANO: KARYMSKY 1000-13 PSN: N5403 E15927 AREA: RUSSIA SUMMIT ELEV: 1536M ADVISORY NR: 2008/4 INFO SOURCE: ...
48.518519
91
0.535115
153
1,310
4.581699
0.640523
0.035663
0.038516
0
0
0
0
0
0
0
0
0.407307
0.435878
1,310
26
92
50.384615
0.541272
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
6fc12e3e3da38e86958e8e012621810156aa73dd
244
py
Python
app/includes/util.py
CAUCHY2932/beibq_py3
02f7c81f246f4c2ece5c8c0444e4a76d10fce4da
[ "BSD-3-Clause" ]
null
null
null
app/includes/util.py
CAUCHY2932/beibq_py3
02f7c81f246f4c2ece5c8c0444e4a76d10fce4da
[ "BSD-3-Clause" ]
4
2021-03-19T03:38:34.000Z
2022-03-11T23:58:50.000Z
app/includes/util.py
CAUCHY2932/beibq_py3
02f7c81f246f4c2ece5c8c0444e4a76d10fce4da
[ "BSD-3-Clause" ]
null
null
null
# coding: utf-8 def strdecode(text): if not isinstance(text, str): try: text = text.decode('utf-8') except UnicodeDecodeError: text = text.decode('gbk', 'ignore') return text return text
22.181818
47
0.557377
28
244
4.857143
0.607143
0.058824
0.205882
0
0
0
0
0
0
0
0
0.012195
0.327869
244
10
48
24.4
0.817073
0.053279
0
0.25
0
0
0.061135
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6fc7bb40dd22e4639b624ee78020285637016171
372
py
Python
tests/test_generate.py
t20100/h5glance
f28ad86647ffe5198771367509dc2a1ea99a2430
[ "BSD-3-Clause" ]
44
2018-09-30T19:56:10.000Z
2022-01-20T09:06:55.000Z
tests/test_generate.py
takluyver/h5glance
5c2f8687cc87d6bfc4a8c976c5ef248647afba3c
[ "BSD-3-Clause" ]
25
2018-09-12T13:55:25.000Z
2022-03-19T12:17:43.000Z
tests/test_generate.py
takluyver/h5glance
5c2f8687cc87d6bfc4a8c976c5ef248647afba3c
[ "BSD-3-Clause" ]
3
2018-10-05T12:38:33.000Z
2020-11-13T14:42:44.000Z
from h5glance import html def test_h5obj_to_html(simple_h5_file): h = html.h5obj_to_html(simple_h5_file) assert 'subgroup1' in h assert '</div>' in h assert '<!DOCTYPE' not in h # This is not a full document def test_make_document(simple_h5_file): h = str(html.make_document(simple_h5_file)) ...
26.571429
62
0.709677
62
372
4
0.403226
0.060484
0.193548
0.137097
0.572581
0.427419
0.290323
0.290323
0
0
0
0.030201
0.198925
372
13
63
28.615385
0.802013
0.072581
0
0.2
0
0
0.122449
0
0
0
0
0
0.5
1
0.2
false
0
0.1
0
0.3
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
1
0
0
0
0
0
0
0
0
0
2
6fcb0aceb43fb1844f1faac815d20962673d4f5b
1,016
py
Python
solutions/question_answering_system/quick_deploy/server/src/test_main.py
kilianovski/bootcamp
8f3a753592ecb931815fde068f6377485e3fbe79
[ "Apache-2.0" ]
789
2019-08-26T11:20:33.000Z
2022-03-31T05:12:20.000Z
solutions/question_answering_system/quick_deploy/server/src/test_main.py
kilianovski/bootcamp
8f3a753592ecb931815fde068f6377485e3fbe79
[ "Apache-2.0" ]
569
2019-08-22T12:45:59.000Z
2022-03-27T09:08:39.000Z
solutions/question_answering_system/quick_deploy/server/src/test_main.py
kilianovski/bootcamp
8f3a753592ecb931815fde068f6377485e3fbe79
[ "Apache-2.0" ]
450
2019-08-09T10:12:14.000Z
2022-03-27T12:30:36.000Z
from fastapi.testclient import TestClient from main import app client = TestClient(app) def test_load(): _test_upload_file = 'QA_data/example_data.csv' _files = {'file': open(_test_upload_file, 'rb')} response = client.post("/qa/load_data", files=_files) assert response.status_code == 200 assert ...
28.222222
94
0.686024
134
1,016
5.044776
0.358209
0.186391
0.147929
0.177515
0.335799
0.295858
0.295858
0.295858
0.162722
0.162722
0
0.027414
0.174213
1,016
35
95
29.028571
0.778308
0
0
0.208333
0
0
0.21752
0.068898
0
0
0
0
0.375
1
0.208333
false
0
0.083333
0
0.291667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
6fccad3714dbb2b9332dc930e0980ee84e59215d
422
py
Python
easy/9. Palindrome Number.py
junyinglucn/leetcode
1fbd0962e4b7dc46b4ed4f0f86778cfedbda72e7
[ "MIT" ]
null
null
null
easy/9. Palindrome Number.py
junyinglucn/leetcode
1fbd0962e4b7dc46b4ed4f0f86778cfedbda72e7
[ "MIT" ]
null
null
null
easy/9. Palindrome Number.py
junyinglucn/leetcode
1fbd0962e4b7dc46b4ed4f0f86778cfedbda72e7
[ "MIT" ]
null
null
null
# Solution A class Solution: def isPalindrome(self, x): x = str(x) if x[::-1] == x: return True return False # Solution B class Solution: def isPalindrome(self, x): if x < 0 or (x % 10 == 0 and x != 0): return False rem = 0 while x > rem: ...
22.210526
45
0.443128
59
422
3.169492
0.338983
0.048128
0.171123
0.299465
0.352941
0.352941
0
0
0
0
0
0.06383
0.443128
422
18
46
23.444444
0.731915
0.049763
0
0.4
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0
0
0.533333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
6fe0915b7d68642ab32fccfaf4107b5da0477578
175
py
Python
Ladders/L1/110A.py
Thulio-Carvalho/CP-Training
41153222f6cc6315e35f809a38b831a37359e2c6
[ "MIT" ]
null
null
null
Ladders/L1/110A.py
Thulio-Carvalho/CP-Training
41153222f6cc6315e35f809a38b831a37359e2c6
[ "MIT" ]
null
null
null
Ladders/L1/110A.py
Thulio-Carvalho/CP-Training
41153222f6cc6315e35f809a38b831a37359e2c6
[ "MIT" ]
null
null
null
num = raw_input() cnt = 0 for c in num: if c != '4' and c != '7': continue cnt += 1 ans = 'YES' for c in str(cnt): if c != '4' and c != '7': ans = 'NO' print ans
15.909091
40
0.491429
35
175
2.428571
0.542857
0.094118
0.141176
0.164706
0.211765
0.211765
0
0
0
0
0
0.05
0.314286
175
11
41
15.909091
0.658333
0
0
0
0
0
0.051136
0
0
0
0
0
0
0
null
null
0
0
null
null
0.111111
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
6fe5fea6baff5db5a8dc889073066131f3369ce8
90
py
Python
ParaMol/Tests/Force_field/__init__.py
mnagaku/ParaMol
13529f584e2d50076e038388ecbdd57af23c73b9
[ "MIT" ]
15
2021-03-08T17:56:36.000Z
2022-03-30T01:46:29.000Z
ParaMol/Tests/Force_field/__init__.py
mnagaku/ParaMol
13529f584e2d50076e038388ecbdd57af23c73b9
[ "MIT" ]
7
2021-03-28T05:53:59.000Z
2021-10-15T15:37:56.000Z
ParaMol/Tests/Force_field/__init__.py
mnagaku/ParaMol
13529f584e2d50076e038388ecbdd57af23c73b9
[ "MIT" ]
2
2021-04-30T06:42:09.000Z
2021-06-21T05:49:29.000Z
# -*- coding: utf-8 -*- """ ParaMol Tests subpackage. """ __all__ = ['test_force_field']
12.857143
30
0.611111
10
90
4.9
1
0
0
0
0
0
0
0
0
0
0
0.013158
0.155556
90
7
30
12.857143
0.631579
0.533333
0
0
0
0
0.470588
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6fea484fb1bfbbcbd9946c1c4481823f41058354
787
py
Python
components/collector/src/source_collectors/performancetest_runner/source_up_to_dateness.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
33
2016-01-20T07:35:48.000Z
2022-03-14T09:20:51.000Z
components/collector/src/source_collectors/performancetest_runner/source_up_to_dateness.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
2,410
2016-01-22T18:13:01.000Z
2022-03-31T16:57:34.000Z
components/collector/src/source_collectors/performancetest_runner/source_up_to_dateness.py
kargaranamir/quality-time
1c427c61bee9d31c3526f0a01be2218a7e167c23
[ "Apache-2.0" ]
21
2016-01-16T11:49:23.000Z
2022-01-14T21:53:22.000Z
"""Performancetest-runner source up-to-dateness collector.""" from datetime import datetime from base_collectors import SourceUpToDatenessCollector from collector_utilities.type import Response from .base import PerformanceTestRunnerBaseClass class PerformanceTestRunnerSourceUpToDateness(PerformanceTestRunnerBaseC...
39.35
109
0.759848
86
787
6.802326
0.534884
0.02735
0.030769
0
0
0
0
0
0
0
0
0
0.15756
787
19
110
41.421053
0.882353
0.147395
0
0
0
0
0.030717
0
0
0
0
0
0
1
0
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
b500d00df21b04a15a547b90bd5bdddaa9ec0c0b
248
py
Python
hello.py
bopopescu/fbserver
e812dbc4dc0cbf2fda19473015a3d7e253718a19
[ "Apache-2.0" ]
null
null
null
hello.py
bopopescu/fbserver
e812dbc4dc0cbf2fda19473015a3d7e253718a19
[ "Apache-2.0" ]
null
null
null
hello.py
bopopescu/fbserver
e812dbc4dc0cbf2fda19473015a3d7e253718a19
[ "Apache-2.0" ]
1
2020-07-23T19:26:19.000Z
2020-07-23T19:26:19.000Z
from flask import Flask import numpy as np from sklearn.svm import SVC app = Flask(__name__) @app.route("/") def hello(): print np.array([1,2,3,4]) return 'hello world 788' # if __name__ == "__main__": # app.run(host='0.0.0.0', port=8080)
17.714286
40
0.665323
43
248
3.55814
0.697674
0.039216
0.039216
0
0
0
0
0
0
0
0
0.072464
0.165323
248
13
41
19.076923
0.666667
0.262097
0
0
0
0
0.088889
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.125
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
2
b504fc6cb3f42b1cf32a178cd0ea4a429cbcb8e9
3,751
py
Python
src/third_party/beaengine/tests/0f3855.py
CrackerCat/rp
5fe693c26d76b514efaedb4084f6e37d820db023
[ "MIT" ]
1
2022-01-17T17:40:29.000Z
2022-01-17T17:40:29.000Z
src/third_party/beaengine/tests/0f3855.py
CrackerCat/rp
5fe693c26d76b514efaedb4084f6e37d820db023
[ "MIT" ]
null
null
null
src/third_party/beaengine/tests/0f3855.py
CrackerCat/rp
5fe693c26d76b514efaedb4084f6e37d820db023
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This progra...
39.484211
74
0.646494
481
3,751
5.004158
0.286902
0.08226
0.142086
0.119651
0.76693
0.750312
0.689655
0.689655
0.638139
0.638139
0
0.085488
0.226606
3,751
94
75
39.904255
0.744226
0.281258
0
0.692308
0
0
0.148426
0
0
0
0.008996
0
0.346154
1
0.019231
false
0
0.038462
0
0.076923
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b50d1b4feb99e4daf61180cf94adc48cc4594dda
1,461
py
Python
main_app/migrations/0001_initial.py
Franciscosencion/AutoNetWebPublic
3cec24d43330de082ca4e9f45165d5c3daa4e798
[ "MIT" ]
null
null
null
main_app/migrations/0001_initial.py
Franciscosencion/AutoNetWebPublic
3cec24d43330de082ca4e9f45165d5c3daa4e798
[ "MIT" ]
4
2020-02-12T00:52:53.000Z
2021-06-10T21:42:44.000Z
main_app/migrations/0001_initial.py
Franciscosencion/AutoNetWebPublic
3cec24d43330de082ca4e9f45165d5c3daa4e798
[ "MIT" ]
null
null
null
# Generated by Django 2.1 on 2019-05-13 19:23 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='DevicesModel', fields=[ ...
35.634146
131
0.5859
150
1,461
5.52
0.413333
0.144928
0.173913
0.231884
0.425121
0.359903
0.275362
0.190821
0.190821
0.190821
0
0.034351
0.282683
1,461
40
132
36.525
0.755725
0.029432
0
0.333333
1
0
0.115113
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.181818
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b512a2c18d533415f389f465df8ca827695fd3e7
1,255
py
Python
edx_api_doc_tools/apps.py
nedbat-test-external/api-doc-tools
54a0c81a676b075d372e15705b6d0a133b098e1c
[ "Apache-2.0" ]
null
null
null
edx_api_doc_tools/apps.py
nedbat-test-external/api-doc-tools
54a0c81a676b075d372e15705b6d0a133b098e1c
[ "Apache-2.0" ]
null
null
null
edx_api_doc_tools/apps.py
nedbat-test-external/api-doc-tools
54a0c81a676b075d372e15705b6d0a133b098e1c
[ "Apache-2.0" ]
null
null
null
""" App for documenting REST APIs, generating spec files, and serving specs as a UI. Under the hood, this app uses drf-yasg ("Yet Another Swagger Generator for DRF") to generate API spec. It then uses Swagger to serve that spec. """ from __future__ import absolute_import, unicode_literals from django.apps import App...
30.609756
80
0.675697
171
1,255
4.830409
0.602339
0.042373
0.026634
0.043584
0.053269
0
0
0
0
0
0
0
0.256574
1,255
40
81
31.375
0.885316
0.475697
0
0
1
0
0.230903
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
82fc9e955a5e4461b41071160133e2d02d7aca38
1,588
py
Python
chrome/tools/extract_histograms.py
Scopetta197/chromium
b7bf8e39baadfd9089de2ebdc0c5d982de4a9820
[ "BSD-3-Clause" ]
212
2015-01-31T11:55:58.000Z
2022-02-22T06:35:11.000Z
chrome/tools/extract_histograms.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
5
2015-03-27T14:29:23.000Z
2019-09-25T13:23:12.000Z
chrome/tools/extract_histograms.py
1065672644894730302/Chromium
239dd49e906be4909e293d8991e998c9816eaa35
[ "BSD-3-Clause" ]
221
2015-01-07T06:21:24.000Z
2022-02-11T02:51:12.000Z
#!/usr/bin/env python # Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Extract UMA histogram strings from the Chrome source. This program generates the list of known histograms we expect to see in t...
25.206349
72
0.70466
235
1,588
4.680851
0.485106
0.024545
0.023636
0
0
0
0
0
0
0
0
0.00549
0.197103
1,588
62
73
25.612903
0.857255
0.203401
0
0
0
0
0.07878
0.027954
0
0
0
0.016129
0
0
null
null
0
0.115385
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
1
0
1
0
0
0
0
0
0
0
0
2
d2006bb3828dc7ad840855f357a01862e018be29
617
py
Python
authentication/tests/test_sanity.py
zachang/jirgin
4ef869e2641e3bac3d42ecb397504d1e61c03486
[ "MIT" ]
1
2019-06-28T04:47:51.000Z
2019-06-28T04:47:51.000Z
authentication/tests/test_sanity.py
zachang/jirgin
4ef869e2641e3bac3d42ecb397504d1e61c03486
[ "MIT" ]
null
null
null
authentication/tests/test_sanity.py
zachang/jirgin
4ef869e2641e3bac3d42ecb397504d1e61c03486
[ "MIT" ]
null
null
null
from rest_framework.test import APITestCase from rest_framework import status from rest_framework.test import APIClient from rest_framework.reverse import reverse class SanityTestCase(APITestCase): """Test the sanity of the api and that it can be accessed""" def test_welcome_view_successful(self): "...
36.294118
71
0.742301
84
617
5.333333
0.547619
0.071429
0.151786
0.09375
0.120536
0
0
0
0
0
0
0.005952
0.183144
617
16
72
38.5625
0.882937
0.178282
0
0
0
0
0.112903
0
0
0
0
0
0.1
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
d2070bb2cd2e11b78d289878ad72ff98b5bd38fd
14,510
py
Python
sdk/python/pulumi_aws/lambda_/_inputs.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/lambda_/_inputs.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/lambda_/_inputs.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilitie...
42.303207
294
0.687939
1,638
14,510
5.918803
0.126374
0.097576
0.062094
0.029397
0.71542
0.641774
0.595358
0.548943
0.474987
0.444765
0
0.000262
0.211371
14,510
342
295
42.426901
0.846981
0.343694
0
0.354167
1
0
0.16907
0.109685
0
0
0
0
0
1
0.213542
false
0
0.026042
0.005208
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
d20867b4ca9633b73886345a4c0b9d100d5f3524
540
py
Python
pypesto/select/__init__.py
m-philipps/pyPESTO
4c30abfca56ba714c302141cd44a9dd366bff4bb
[ "BSD-3-Clause" ]
null
null
null
pypesto/select/__init__.py
m-philipps/pyPESTO
4c30abfca56ba714c302141cd44a9dd366bff4bb
[ "BSD-3-Clause" ]
null
null
null
pypesto/select/__init__.py
m-philipps/pyPESTO
4c30abfca56ba714c302141cd44a9dd366bff4bb
[ "BSD-3-Clause" ]
null
null
null
""" Model Selection =============== Perform model selection with a PEtab Select problem. """ from . import postprocessors from .misc import model_to_pypesto_problem from .problem import Problem try: import petab_select del petab_select except ImportError: import warnings warnings.warn( "pyP...
22.5
77
0.7
66
540
5.636364
0.515152
0.177419
0
0
0
0
0
0
0
0
0
0.004619
0.198148
540
23
78
23.478261
0.854503
0.157407
0
0
0
0
0.431767
0
0
0
0
0
0
1
0
true
0
0.461538
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
d214d907d466123b06e36f0aec5e1940f9e0d104
367
py
Python
python/imported_error.py
ytchang05/N-lang
f626dc939b33941f3c2f23a4d1c523b58c847c15
[ "MIT" ]
null
null
null
python/imported_error.py
ytchang05/N-lang
f626dc939b33941f3c2f23a4d1c523b58c847c15
[ "MIT" ]
null
null
null
python/imported_error.py
ytchang05/N-lang
f626dc939b33941f3c2f23a4d1c523b58c847c15
[ "MIT" ]
null
null
null
from file import File class ImportedError: def __init__(self, err, file): self.err = err self.file = file.duplicate() def display(self, ty, unused_thing_to_match_type_check_error): return '\n'.join([e.display(ty, self.file) for e in self.err]) def compare(self, other): if type(other) != ImportedError: ...
22.9375
64
0.713896
57
367
4.421053
0.508772
0.083333
0
0
0
0
0
0
0
0
0
0
0.163488
367
15
65
24.466667
0.820847
0
0
0
0
0
0.00545
0
0
0
0
0
0
1
0.272727
false
0
0.272727
0.090909
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
d21aa31db54932f1c5db57966c922903c6493bab
27,482
py
Python
exopy_qcircuits/tasks/tasks/instr/alazar_tasks.py
Qcircuits/ecpy_qcircuits
ae5359a71283a7ddcd691e9cffbbf7b37d226e41
[ "BSD-3-Clause" ]
null
null
null
exopy_qcircuits/tasks/tasks/instr/alazar_tasks.py
Qcircuits/ecpy_qcircuits
ae5359a71283a7ddcd691e9cffbbf7b37d226e41
[ "BSD-3-Clause" ]
2
2018-05-25T09:35:27.000Z
2020-10-28T15:50:52.000Z
exopy_qcircuits/tasks/tasks/instr/alazar_tasks.py
Qcircuits/ecpy_qcircuits
ae5359a71283a7ddcd691e9cffbbf7b37d226e41
[ "BSD-3-Clause" ]
4
2017-11-23T10:14:29.000Z
2020-01-27T16:13:49.000Z
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright 2015-2016 by exopyHqcLegacy Authors, see AUTHORS for more details. # # Distributed under the terms of the BSD license. # # The full license is in the file LICENCE, distributed with this software. # ------...
41.957252
308
0.577141
3,076
27,482
5.060143
0.122237
0.05461
0.060649
0.071956
0.702217
0.683199
0.677482
0.658079
0.637392
0.6345
0
0.032351
0.306018
27,482
654
309
42.021407
0.783767
0.100975
0
0.731707
0
0
0.076043
0
0
0
0
0
0
1
0.019956
false
0
0.017738
0
0.177384
0.002217
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
d21de715df748dcf1d8d40e083197239cd6e256e
1,500
py
Python
rsx/systematic/__init__.py
gstamatelat/rsx
93a8da78bf950b9987fc79bbd1e8eeeae0a27973
[ "MIT" ]
null
null
null
rsx/systematic/__init__.py
gstamatelat/rsx
93a8da78bf950b9987fc79bbd1e8eeeae0a27973
[ "MIT" ]
null
null
null
rsx/systematic/__init__.py
gstamatelat/rsx
93a8da78bf950b9987fc79bbd1e8eeeae0a27973
[ "MIT" ]
null
null
null
r""" Implementation of weighted systematic random sampling algorithms. Systematic sampling is the process at which the population is sampled every :math:`s`-th element while the process starts from a random index. The :math:`s` variable itself is set based on criteria of the problem, such as the (constant) sample size...
60
120
0.790667
224
1,500
5.294643
0.441964
0.054806
0.063238
0.037099
0
0
0
0
0
0
0
0
0.146667
1,500
24
121
62.5
0.926563
0.993333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
d21fa74b97180305a071b19be071c57ee1eb49f7
973
py
Python
Msg.py
Shovalm888/crypto_project
6614e29dbd02f079ad5aa7fedf584d9605ba0f3e
[ "MIT" ]
null
null
null
Msg.py
Shovalm888/crypto_project
6614e29dbd02f079ad5aa7fedf584d9605ba0f3e
[ "MIT" ]
null
null
null
Msg.py
Shovalm888/crypto_project
6614e29dbd02f079ad5aa7fedf584d9605ba0f3e
[ "MIT" ]
null
null
null
import re from functools import reduce class Msg: def __init__(self,msg): block_size = 64 if len(msg)%block_size != 0: msg += " "*(block_size - len(msg)%block_size) self.msg_list = re.findall(".{4}",msg) def to_hex(self): hex_string_list = [ "".join("{:02x}".format(...
34.75
101
0.628983
146
973
3.931507
0.376712
0.174216
0.083624
0.094077
0.160279
0.160279
0
0
0
0
0
0.023546
0.257965
973
28
102
34.75
0.771468
0.064748
0
0
0
0
0.025303
0
0
0
0
0
0
1
0.227273
false
0
0.090909
0.045455
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
1
0
0
0
0
1
0
0
2
d249fb287b70c4997554c41918a8fbb067bf07b0
17,662
py
Python
Wellcheck/Webapps/api.wellcheck/Source/email/heb_report.py
SCcagg5/WellcheckV2
5c96a577f460e1f0dee8d3b3c3efc8217d1a2f5b
[ "MIT" ]
3
2020-05-16T19:24:42.000Z
2020-09-26T17:05:19.000Z
Wellcheck/Webapps/api.wellcheck/Source/email/heb_report.py
SCcagg5/WellcheckV2
5c96a577f460e1f0dee8d3b3c3efc8217d1a2f5b
[ "MIT" ]
30
2020-05-16T16:01:17.000Z
2020-10-08T23:05:08.000Z
Wellcheck/Webapps/api.wellcheck/Source/email/heb_report.py
WellCheck-Co/WellCheck-Web-App
afa076e6451ebbb055d06f938bb2ecc511cf9b6f
[ "MIT" ]
null
null
null
#point_id #report_link #date_start #date_end #date_origin report_header = """ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-micros...
71.796748
944
0.624505
2,316
17,662
4.750864
0.130397
0.020358
0.036354
0.0349
0.639826
0.608834
0.580115
0.555303
0.535218
0.518858
0
0.043271
0.182199
17,662
245
945
72.089796
0.71843
0.002718
0
0.422018
0
0.243119
0.99712
0.204216
0
0
0
0
0
1
0
false
0
0.09633
0
0.09633
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9633c28b23986bfaa7fc275c8a3185fd1afcd06e
2,187
py
Python
flask_securest/utils.py
cloudify-cosmo/flask-securerest
0b07cfde28219a97a9af1f1031f6886ce31ca70b
[ "Apache-2.0" ]
6
2015-08-06T07:50:18.000Z
2018-06-22T19:53:36.000Z
flask_securest/utils.py
cloudify-cosmo/flask-securerest
0b07cfde28219a97a9af1f1031f6886ce31ca70b
[ "Apache-2.0" ]
null
null
null
flask_securest/utils.py
cloudify-cosmo/flask-securerest
0b07cfde28219a97a9af1f1031f6886ce31ca70b
[ "Apache-2.0" ]
3
2015-05-03T02:02:28.000Z
2016-03-12T23:07:47.000Z
######### # Copyright (c) 2015 GigaSpaces Technologies Ltd. All rights reserved # # 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...
38.368421
77
0.668953
280
2,187
4.960714
0.475
0.064795
0.039597
0.023038
0
0
0
0
0
0
0
0.012225
0.251943
2,187
56
78
39.053571
0.836797
0.29904
0
0
0
0
0.149768
0
0
0
0
0.017857
0
1
0.090909
false
0.181818
0.060606
0.030303
0.242424
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
9637a85bdfb4d624d73295e0923e9d606dc30a3f
541
py
Python
pyleecan/Methods/Slot/HoleM51/comp_volume_magnets.py
helene-t/pyleecan
8362de9b0e32b346051b38192e07f3a6974ea9aa
[ "Apache-2.0" ]
1
2021-02-26T12:28:45.000Z
2021-02-26T12:28:45.000Z
Methods/Slot/HoleM51/comp_volume_magnets.py
magnetron/pyleecan
2a3338f4ab080ad6488b5ab8746c3fea1f36f177
[ "Apache-2.0" ]
null
null
null
Methods/Slot/HoleM51/comp_volume_magnets.py
magnetron/pyleecan
2a3338f4ab080ad6488b5ab8746c3fea1f36f177
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- def comp_volume_magnets(self): """Compute the volume of the hole magnets (some of them may be missing) Parameters ---------- self : HoleM51 A HoleM51 object Returns ------- Vmag: float Volume of the magnets [m**3] """ V = 0 if self.ma...
20.037037
75
0.55268
79
541
3.683544
0.481013
0.206186
0.123711
0.164948
0
0
0
0
0
0
0
0.050938
0.310536
541
26
76
20.807692
0.729223
0.391867
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
963a6041a5a92de7c22578026c9d9728acd46b0f
4,199
py
Python
source/extras/Mesa/src/mesa/glapi/gl_SPARC_asm.py
binaryblob01/zfree86
e80ea992d87501b8e3e2d7c07a414591c2e11c70
[ "Xnet", "X11" ]
1
2021-09-08T21:13:25.000Z
2021-09-08T21:13:25.000Z
source/extras/Mesa/src/mesa/glapi/gl_SPARC_asm.py
binaryblob01/zfree86
e80ea992d87501b8e3e2d7c07a414591c2e11c70
[ "Xnet", "X11" ]
null
null
null
source/extras/Mesa/src/mesa/glapi/gl_SPARC_asm.py
binaryblob01/zfree86
e80ea992d87501b8e3e2d7c07a414591c2e11c70
[ "Xnet", "X11" ]
1
2021-01-22T00:19:47.000Z
2021-01-22T00:19:47.000Z
#!/usr/bin/env python # (C) Copyright IBM Corporation 2004 # All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # on the...
30.649635
93
0.678257
668
4,199
4.124252
0.368263
0.029038
0.023956
0.03775
0.206534
0.163702
0.160436
0.120145
0.094011
0.094011
0
0.037639
0.164801
4,199
136
94
30.875
0.747933
0.300071
0
0.252747
0
0.010989
0.441522
0.124067
0
0
0.02133
0
0
0
null
null
0
0.065934
null
null
0.582418
0
0
0
null
0
0
0
0
0
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
1
0
2
9644fd739de672425083f7a653a30091d3ce6e1b
83
py
Python
given seq rev printer by ->.py
Jayapraveen34/crazy-lover
be5bd897c40c31b3e5e6eafe3b6436cb3d888efe
[ "BSD-2-Clause" ]
null
null
null
given seq rev printer by ->.py
Jayapraveen34/crazy-lover
be5bd897c40c31b3e5e6eafe3b6436cb3d888efe
[ "BSD-2-Clause" ]
null
null
null
given seq rev printer by ->.py
Jayapraveen34/crazy-lover
be5bd897c40c31b3e5e6eafe3b6436cb3d888efe
[ "BSD-2-Clause" ]
null
null
null
_=input() lst=[int(x) for x in input().split()] lst=lst[::-1] print(*lst,sep="->")
16.6
37
0.566265
15
83
3.066667
0.666667
0
0
0
0
0
0
0
0
0
0
0.013333
0.096386
83
4
38
20.75
0.6
0
0
0
0
0
0.024096
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9648048dba621f962b0cc055dd44e01c59e2ba90
2,783
py
Python
myip/myip_cmd.py
orenhe/myip
bfaa8ba2090fc8bf933dfa031223500331fe6d62
[ "MIT" ]
2
2015-07-30T16:52:05.000Z
2018-03-01T12:56:57.000Z
myip/myip_cmd.py
orenhe/myip
bfaa8ba2090fc8bf933dfa031223500331fe6d62
[ "MIT" ]
1
2017-09-12T07:50:15.000Z
2017-09-12T07:50:15.000Z
myip/myip_cmd.py
orenhe/myip
bfaa8ba2090fc8bf933dfa031223500331fe6d62
[ "MIT" ]
null
null
null
import commands import logging import sys import argparse import re import platform import parsing # TODO detect primary interface by default route # TODO check virtual interfaces (eth0:1) and funny iface names # TODO check bonding/teaming # TODO check IPless up interfaces # Consts BLACKLIST_IFACES_PREFIX = "lo" INT...
29.606383
107
0.724039
391
2,783
4.849105
0.327366
0.025844
0.040612
0.051688
0.162447
0.089662
0.074895
0.060127
0.060127
0.060127
0
0.004442
0.191161
2,783
93
108
29.924731
0.83785
0.12253
0
0.032787
0
0
0.074135
0
0
0
0
0.010753
0
0
null
null
0
0.147541
null
null
0.016393
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
96494690d8a6e0795e8a886ce6b93f9789372273
290
py
Python
src/modules/git/__init__.py
mradbourne/jump-to-py
42688123cfdf3e40330b5859d911d84d9a7601ca
[ "MIT" ]
null
null
null
src/modules/git/__init__.py
mradbourne/jump-to-py
42688123cfdf3e40330b5859d911d84d9a7601ca
[ "MIT" ]
null
null
null
src/modules/git/__init__.py
mradbourne/jump-to-py
42688123cfdf3e40330b5859d911d84d9a7601ca
[ "MIT" ]
null
null
null
from src.utils import cmd origin_url = cmd(['git', 'config', '--local', 'remote.origin.url']) def git(): print('jumping to github repo') def branch(): print('jumping to branch') def pr(): # Creates or opens PR on GitHub print('jumping to existing pr or create pr page')
20.714286
67
0.651724
44
290
4.272727
0.590909
0.191489
0.223404
0
0
0
0
0
0
0
0
0
0.2
290
13
68
22.307692
0.810345
0.1
0
0
0
0
0.432432
0
0
0
0
0
0
1
0.375
false
0
0.125
0
0.5
0.375
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
967e511876dbb8f8c47576d976223ededf5106cb
1,466
py
Python
projects/06/Code.py
anArkitect/Nand2Tetris
061a2866705692269af00cf541b5fcedb1e1b93e
[ "MIT" ]
null
null
null
projects/06/Code.py
anArkitect/Nand2Tetris
061a2866705692269af00cf541b5fcedb1e1b93e
[ "MIT" ]
null
null
null
projects/06/Code.py
anArkitect/Nand2Tetris
061a2866705692269af00cf541b5fcedb1e1b93e
[ "MIT" ]
null
null
null
# Test Checked class Code(object): def __init__(self): pass def gen_a_bits(self, addr): return '0' + self._to_bits(addr).zfill(15) def gen_c_bits(self, dest, comp, jump): return '111' + self._comp(comp) + self._dest(dest) + self._jump(jump) def _to_bits(self, addr): r...
38.578947
77
0.488404
188
1,466
3.659574
0.388298
0.05814
0.043605
0.052326
0
0
0
0
0
0
0
0.195791
0.254434
1,466
38
78
38.578947
0.433669
0.008186
0
0
0
0
0.24501
0
0
0
0
0
0
1
0.233333
false
0.033333
0
0.1
0.466667
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
1
0
0
0
0
0
0
0
2
968d54c60f2a9865fcaa3789725b0ddaff7ca3a6
501
py
Python
design_patterns/template_method.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
design_patterns/template_method.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
design_patterns/template_method.py
fredsonchaves07/python-fundamentals
4aee479c48f86319a2041e35ea985f971393c2ce
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class Abstract(ABC): def template_method(self): self.operation1() self.operation2() @abstractmethod def operation1(self): pass @abstractmethod def operation2(self): pass class ConcreteClass(Abstract): def operation1(self):...
17.275862
36
0.634731
51
501
6.039216
0.45098
0.136364
0.11039
0
0
0
0
0
0
0
0
0.0271
0.263473
501
28
37
17.892857
0.807588
0
0
0.421053
0
0
0.091816
0
0
0
0
0
0
1
0.263158
false
0.105263
0.052632
0
0.421053
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
9690825ebc986ade834ae7614da389e6578491c3
161
py
Python
iThenticate/test.py
pavanarya/ithenticate-api-python
ce4fe086721bca5dc8e7a42a7d6b1e266e4a7d11
[ "BSD-2-Clause" ]
null
null
null
iThenticate/test.py
pavanarya/ithenticate-api-python
ce4fe086721bca5dc8e7a42a7d6b1e266e4a7d11
[ "BSD-2-Clause" ]
null
null
null
iThenticate/test.py
pavanarya/ithenticate-api-python
ce4fe086721bca5dc8e7a42a7d6b1e266e4a7d11
[ "BSD-2-Clause" ]
null
null
null
import iThenticate client = iThenticate.API.Client('arham@chegg.com','Arham@2019') client.login() all_docs = client.documents.all('2320666','2') print(all_docs)
26.833333
63
0.763975
23
161
5.26087
0.652174
0.115702
0
0
0
0
0
0
0
0
0
0.07947
0.062112
161
6
64
26.833333
0.721854
0
0
0
0
0
0.203704
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
969e3c9420df941822fd70b2c47affb0bbd2b908
542
py
Python
database/nfl_data/migrations/0006_auto_20171217_1518.py
luispereda555/nfl-player-stats
e74c3817f7d10746546cdb9ce763bbd850badd89
[ "MIT" ]
74
2017-12-09T14:32:21.000Z
2022-01-26T20:22:09.000Z
database/nfl_data/migrations/0006_auto_20171217_1518.py
luispereda555/nfl-player-stats
e74c3817f7d10746546cdb9ce763bbd850badd89
[ "MIT" ]
14
2017-12-10T01:03:46.000Z
2020-12-02T16:12:39.000Z
database/nfl_data/migrations/0006_auto_20171217_1518.py
luispereda555/nfl-player-stats
e74c3817f7d10746546cdb9ce763bbd850badd89
[ "MIT" ]
41
2017-12-08T22:31:13.000Z
2021-12-08T23:25:50.000Z
# Generated by Django 2.0 on 2017-12-17 15:18 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('nfl_data', '0005_auto_20171217_1518'), ] operations = [ migrations.RenameField( model_name='game', old_name='reveiving_recepti...
22.583333
48
0.588561
54
542
5.648148
0.648148
0.137705
0.170492
0.196721
0.327869
0.327869
0.327869
0.327869
0
0
0
0.08
0.308118
542
23
49
23.565217
0.733333
0.079336
0
0.352941
1
0
0.219316
0.046278
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
96a0b4b2e6fae325acf613d0264e129489ff3c8b
2,750
py
Python
py2/tutorial/generated/contract/__init__.py
greenarr0w/yass
0f17de682666096bc0294430aa69d1822e661cd8
[ "BSD-3-Clause" ]
null
null
null
py2/tutorial/generated/contract/__init__.py
greenarr0w/yass
0f17de682666096bc0294430aa69d1822e661cd8
[ "BSD-3-Clause" ]
null
null
null
py2/tutorial/generated/contract/__init__.py
greenarr0w/yass
0f17de682666096bc0294430aa69d1822e661cd8
[ "BSD-3-Clause" ]
null
null
null
from enum import Enum from typing import List, Any, cast import yass from tutorial.base_types_external import Integer # shows how to use contract internal base types class ExpirationHandler(yass.BaseTypeHandler): def readBase(self, reader): # type: (yass.Reader) -> Expiration return Expiration( ...
28.947368
82
0.634545
304
2,750
5.605263
0.269737
0.061033
0.045188
0.052817
0.172535
0.11561
0.034038
0.034038
0
0
0
0.002863
0.237818
2,750
94
83
29.255319
0.810115
0.186182
0
0.203125
0
0
0.045681
0
0
0
0
0
0
1
0.203125
false
0.015625
0.0625
0.03125
0.53125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
96a375be5a1005fe27018f449b28689c9871cf54
223
py
Python
auth_service/shared/db_errors.py
rahungria/clean_arquitecture_auth
1d0276c2fd5b83705805dfe33f6781dde3bc064a
[ "MIT" ]
1
2022-03-11T21:33:36.000Z
2022-03-11T21:33:36.000Z
auth_service/shared/db_errors.py
rahungria/clean_arquitecture_auth
1d0276c2fd5b83705805dfe33f6781dde3bc064a
[ "MIT" ]
null
null
null
auth_service/shared/db_errors.py
rahungria/clean_arquitecture_auth
1d0276c2fd5b83705805dfe33f6781dde3bc064a
[ "MIT" ]
null
null
null
import psycopg2 ClientError = ( psycopg2.IntegrityError, psycopg2.DataError ) ServerError = ( psycopg2.OperationalError, psycopg2.DatabaseError, psycopg2.ProgrammingError, psycopg2.InternalError )
15.928571
30
0.73991
16
223
10.3125
0.625
0
0
0
0
0
0
0
0
0
0
0.038674
0.188341
223
14
31
15.928571
0.872928
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
96a695e6a852180005fc1fceaf9cb4d33994fc5a
545
py
Python
util.py
Pnfish/modpack-installer
18926491d247cb7aa4412496f7966127f4851e70
[ "MIT" ]
40
2020-04-25T22:14:02.000Z
2022-03-14T12:18:44.000Z
util.py
Pnfish/modpack-installer
18926491d247cb7aa4412496f7966127f4851e70
[ "MIT" ]
12
2021-07-03T20:07:56.000Z
2022-01-28T06:08:24.000Z
util.py
Pnfish/modpack-installer
18926491d247cb7aa4412496f7966127f4851e70
[ "MIT" ]
7
2021-07-03T20:18:54.000Z
2022-01-29T16:28:07.000Z
# utility functions import requests def download(url, dest): print("Downloading %s" % url) r = requests.get(url) print("Status: %s" % r.status_code) with open(dest, 'wb') as f: f.write(r.content) return r.status_code def rename_profile(launcher_profiles, orig_name, new_name): orig_prof...
32.058824
66
0.704587
74
545
4.959459
0.432432
0.217984
0.26158
0.098093
0.422343
0.228883
0.228883
0
0
0
0
0
0.161468
545
16
67
34.0625
0.803063
0.031193
0
0
0
0
0.117871
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.307692
0.153846
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
96abe9120ec2e7e0ce5d47d03282ceeaf91446f0
1,781
py
Python
linguistica/tests/test_ngram.py
inspiredideas/lxa5
156f825f5d56300779648e8b1ec6879acdaf47ad
[ "MIT" ]
29
2016-02-10T16:49:33.000Z
2022-03-24T05:54:08.000Z
linguistica/tests/test_ngram.py
inspiredideas/lxa5
156f825f5d56300779648e8b1ec6879acdaf47ad
[ "MIT" ]
7
2017-09-17T19:19:59.000Z
2020-10-26T09:43:11.000Z
linguistica/tests/test_ngram.py
inspiredideas/lxa5
156f825f5d56300779648e8b1ec6879acdaf47ad
[ "MIT" ]
18
2016-07-15T15:43:57.000Z
2021-09-02T05:57:32.000Z
# -*- encoding: utf8 -*- import os import linguistica as lxa from linguistica.datasets import brown as corpus_path from linguistica.datasets import cmudict as wordlist_path data_dir = os.path.join(os.path.dirname(__file__), 'data') def test_wordlist_from_corpus_file(): lxa_object = lxa.read_corpus(corpus_path,...
33.603774
78
0.772038
251
1,781
5.071713
0.171315
0.175962
0.113119
0.062844
0.706206
0.659859
0.659859
0.659859
0.632364
0.632364
0
0.013592
0.13251
1,781
52
79
34.25
0.810356
0.03425
0
0.424242
0
0
0.05067
0.041351
0
0
0
0.019231
0.151515
1
0.151515
false
0
0.121212
0
0.272727
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
1
0
0
0
0
0
0
0
0
0
0
2
96b3c8d7070b134b903493f01ea6933529367bd8
244
py
Python
python/api-examples-source/charts.line_chart.py
blackary/docs
5e49a42219f0d09676c7f784cdd51cc8155cf8a2
[ "Apache-2.0" ]
12
2021-10-15T20:25:24.000Z
2022-03-05T10:56:55.000Z
python/api-examples-source/charts.line_chart.py
blackary/docs
5e49a42219f0d09676c7f784cdd51cc8155cf8a2
[ "Apache-2.0" ]
81
2021-10-13T23:01:00.000Z
2022-03-29T08:33:58.000Z
python/api-examples-source/charts.line_chart.py
blackary/docs
5e49a42219f0d09676c7f784cdd51cc8155cf8a2
[ "Apache-2.0" ]
33
2021-10-29T19:32:53.000Z
2022-03-31T19:43:47.000Z
import streamlit as st import pandas as pd import numpy as np @st.experimental_memo def load_data(): df = pd.DataFrame(np.random.randn(20, 3), columns=["a", "b", "c"]) return df chart_data = load_data() st.line_chart(chart_data)
18.769231
70
0.692623
41
244
3.97561
0.634146
0.09816
0
0
0
0
0
0
0
0
0
0.014925
0.17623
244
12
71
20.333333
0.79602
0
0
0
0
0
0.012295
0
0
0
0
0
0
1
0.111111
false
0
0.333333
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
1
0
1
0
0
2
96b7335337e6322c325c26ba78a425b9e7fa9b9a
105
py
Python
Chapter-5 Functions/i_to_cm_funcn.py
jaiswalIT02/pythonprograms
bc94e52121202b04c3e9112d9786f93ed6707f7a
[ "MIT" ]
null
null
null
Chapter-5 Functions/i_to_cm_funcn.py
jaiswalIT02/pythonprograms
bc94e52121202b04c3e9112d9786f93ed6707f7a
[ "MIT" ]
null
null
null
Chapter-5 Functions/i_to_cm_funcn.py
jaiswalIT02/pythonprograms
bc94e52121202b04c3e9112d9786f93ed6707f7a
[ "MIT" ]
null
null
null
def inchtocm(c): i=2.54 cm=n*i return cm n=int(input("inch=")) c=inchtocm(n) print(c,"cm")
10.5
21
0.561905
21
105
2.809524
0.619048
0.101695
0
0
0
0
0
0
0
0
0
0.036585
0.219048
105
9
22
11.666667
0.682927
0
0
0
0
0
0.067308
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7368bc5b6e64736dd4ae3e93d2d1d939c91a61c5
3,079
py
Python
itk_invitations/migrations/0013_auto_20170728_2127.py
eric-scott-owens/loopla
1fd5e6e7e9907198ff904111010b362a129d5e39
[ "MIT" ]
null
null
null
itk_invitations/migrations/0013_auto_20170728_2127.py
eric-scott-owens/loopla
1fd5e6e7e9907198ff904111010b362a129d5e39
[ "MIT" ]
6
2020-06-05T22:27:20.000Z
2022-03-24T10:25:50.000Z
itk_invitations/migrations/0013_auto_20170728_2127.py
eric-scott-owens/loopla
1fd5e6e7e9907198ff904111010b362a129d5e39
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-07-28 21:27 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('itk_invitations', '0012_auto_20170726_1458'), ] op...
32.410526
214
0.582007
252
3,079
6.900794
0.337302
0.072455
0.149511
0.172513
0.453709
0.3341
0.098907
0.098907
0.098907
0.098907
0
0.018665
0.303995
3,079
94
215
32.755319
0.792814
0.022085
0
0.574713
1
0
0.235372
0.100731
0
0
0
0
0
1
0
false
0
0.034483
0
0.068966
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7376c9c0f44e1ea76af88fac5e16bca8f489bd74
106
py
Python
1-Lists/step-index/step-index.py
l33th/intermediate-python-programming
4cdb688b2ae6d5dc36970c1dd9aadfc5258aa6e7
[ "MIT" ]
1
2021-12-19T07:17:17.000Z
2021-12-19T07:17:17.000Z
1-Lists/step-index/step-index.py
l33th/advanced-python-programming
4cdb688b2ae6d5dc36970c1dd9aadfc5258aa6e7
[ "MIT" ]
null
null
null
1-Lists/step-index/step-index.py
l33th/advanced-python-programming
4cdb688b2ae6d5dc36970c1dd9aadfc5258aa6e7
[ "MIT" ]
null
null
null
si_list = [1, 2, 3, 4, 5, 6, 7, 8, 9] # Step 2 takes every second item start = si_list[::2] print(start)
17.666667
37
0.603774
23
106
2.695652
0.782609
0.193548
0
0
0
0
0
0
0
0
0
0.13253
0.216981
106
5
38
21.2
0.614458
0.283019
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
73883978e6a509bd2446b98a457774241dbbf60a
1,192
py
Python
nightcapcli/nightcapcli/cmds/settings/servers_cmd.py
abaker2010/NightCAP
c58365a0e2ff1896ce0f8fbf2977b3e83feee1e2
[ "MIT" ]
2
2022-02-11T17:47:38.000Z
2022-02-11T21:13:36.000Z
nightcapcli/nightcapcli/cmds/settings/servers_cmd.py
abaker2010/NightCAP
c58365a0e2ff1896ce0f8fbf2977b3e83feee1e2
[ "MIT" ]
null
null
null
nightcapcli/nightcapcli/cmds/settings/servers_cmd.py
abaker2010/NightCAP
c58365a0e2ff1896ce0f8fbf2977b3e83feee1e2
[ "MIT" ]
null
null
null
# Copyright 2020 by Aaron Baker. # All rights reserved. # This file is part of the Nightcap Project, # and is released under the "MIT License Agreement". Please see the LICENSE # file that should have been included as part of this package. # region Imports from nightcapcli.base.base_cmd import NightcapBaseCMD from nigh...
29.8
75
0.689597
129
1,192
6.271318
0.596899
0.059333
0.039555
0.049444
0.054388
0
0
0
0
0
0
0.004338
0.22651
1,192
39
76
30.564103
0.873102
0.463926
0
0
0
0
0.077586
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.583333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
738fad650f948442b56fe3c8fa865dbe88761f59
544
py
Python
myapp/calblog/__init__.py
cwg83/cgoodale.com-flask
50a18585e8d0e2ae31bfb12ed552e1c5089094c2
[ "CC0-1.0" ]
null
null
null
myapp/calblog/__init__.py
cwg83/cgoodale.com-flask
50a18585e8d0e2ae31bfb12ed552e1c5089094c2
[ "CC0-1.0" ]
null
null
null
myapp/calblog/__init__.py
cwg83/cgoodale.com-flask
50a18585e8d0e2ae31bfb12ed552e1c5089094c2
[ "CC0-1.0" ]
null
null
null
# import the Flask class from the flask module from flask import Flask from flask_sqlalchemy import SQLAlchemy # create the application object app = Flask(__name__) app.config.from_pyfile('../instance/config.py') app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///posts.db' db = SQLAlchemy(app) def get_users(): f...
27.2
94
0.746324
76
544
5.197368
0.473684
0.113924
0
0
0
0
0
0
0
0
0
0.002123
0.134191
544
20
95
27.2
0.836518
0.136029
0
0
0
0
0.188034
0.094017
0
0
0
0
0
1
0.076923
false
0.153846
0.307692
0
0.461538
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
1
0
0
0
0
2
7390abd57814275c606c76a6cc9682e6b3970b9f
588
py
Python
DianpingSpider/middlewares.py
tensorchen/DianpingSpider
97da2190f96d0a39449d750351a94c57fd987a6e
[ "Apache-2.0" ]
3
2016-08-22T08:53:34.000Z
2018-07-22T12:36:03.000Z
DianpingSpider/middlewares.py
tensorchen/DianpingSpider
97da2190f96d0a39449d750351a94c57fd987a6e
[ "Apache-2.0" ]
null
null
null
DianpingSpider/middlewares.py
tensorchen/DianpingSpider
97da2190f96d0a39449d750351a94c57fd987a6e
[ "Apache-2.0" ]
null
null
null
import base64 import random from settings import PROXIES from settings import USER_AGENTS class RandomUserAgent(object): def process_request(self, request, spider): request.headers.setdefault('User-Agent', random.choice(USER_AGENTS)) class ProxyMiddleware(object): def process_request(self, reques...
26.727273
76
0.72449
69
588
6
0.463768
0.077295
0.094203
0.111111
0.227053
0.227053
0.227053
0.227053
0
0
0
0.02449
0.166667
588
21
77
28
0.820408
0.292517
0
0.2
0
0
0.059259
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
739a6ed12e006389e0cd5b7069015e721ca4a64d
749
gyp
Python
file-shooter.gyp
indutny/file-shooter
c28c02eb7fe29424251c17cf77513e000237235e
[ "MIT", "Unlicense" ]
11
2016-06-03T03:14:19.000Z
2020-09-05T14:19:18.000Z
file-shooter.gyp
indutny/file-shooter
c28c02eb7fe29424251c17cf77513e000237235e
[ "MIT", "Unlicense" ]
1
2018-05-15T08:04:04.000Z
2018-05-15T08:04:04.000Z
file-shooter.gyp
indutny/file-shooter
c28c02eb7fe29424251c17cf77513e000237235e
[ "MIT", "Unlicense" ]
null
null
null
{ "targets": [{ "target_name": "file-shooter", "type": "executable", "include_dirs": [ ".", ], "variables": { "gypkg_deps": [ "git://github.com/libuv/libuv.git@^1.9.0 => uv.gyp:libuv", "git://github.com/indutny/uv_link_t@^1.0.0 [gpg] => uv_link_t.gyp:uv_link_t", ...
24.16129
85
0.523364
105
749
3.52381
0.352381
0.121622
0.162162
0.154054
0.248649
0.191892
0
0
0
0
0
0.026362
0.24032
749
30
86
24.966667
0.623902
0
0
0.153846
0
0.192308
0.671562
0.353805
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
73a2f0838a34a2e6882ead9443a7692d340b97f3
815
py
Python
scripts/pageobjects/base.py
bondarchukv/appium_instagram
09bcabf1ade8c9cb42eb4958199da6b3c18b1105
[ "MIT" ]
4
2019-04-22T19:49:29.000Z
2020-03-02T22:30:40.000Z
scripts/pageobjects/base.py
bondarchukv/appium_instagram
09bcabf1ade8c9cb42eb4958199da6b3c18b1105
[ "MIT" ]
null
null
null
scripts/pageobjects/base.py
bondarchukv/appium_instagram
09bcabf1ade8c9cb42eb4958199da6b3c18b1105
[ "MIT" ]
null
null
null
import time class Page(object): def __init__(self, driver): self._driver = driver def open(self, url): self._driver.get(url) def find_element(self, loc): print loc return self._driver.find_element(*loc) def send_keys(self, loc, keys): self._dri...
26.290323
72
0.55092
99
815
4.272727
0.393939
0.165485
0.132388
0.198582
0.22695
0
0
0
0
0
0
0.007619
0.355828
815
31
73
26.290323
0.798095
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.041667
0.041667
null
null
0.041667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
73a579cd71431be61ece8ec91024c7008b96099d
4,057
py
Python
Bitcoin Data/Datasets/helper.py
Aishwaryasasanapuri/Technocolabs_DeepLearning_Internship
301ae96c86ebf51b1ace225ea822b83c33b8c10a
[ "MIT" ]
null
null
null
Bitcoin Data/Datasets/helper.py
Aishwaryasasanapuri/Technocolabs_DeepLearning_Internship
301ae96c86ebf51b1ace225ea822b83c33b8c10a
[ "MIT" ]
null
null
null
Bitcoin Data/Datasets/helper.py
Aishwaryasasanapuri/Technocolabs_DeepLearning_Internship
301ae96c86ebf51b1ace225ea822b83c33b8c10a
[ "MIT" ]
null
null
null
""" Helper class and methods for making manipulating data for models. """ import numpy as np from cryptonic.models import normalizations class ModelHelper: """ Class with utility functions that aid in the process of training LSTM models with Keras. """ def __init__(self): pass def ...
27.97931
80
0.547449
457
4,057
4.809628
0.352298
0.028662
0.047316
0.054595
0.16424
0.146952
0.146952
0.126024
0.10646
0.10646
0
0.017268
0.357653
4,057
144
81
28.173611
0.82617
0.506039
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.033333
0.066667
0
0.566667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
73aa743daf942a3ac2bcf3c958dafb6b9840689a
3,022
py
Python
DjangoProject/aiyoutengproject/aiyouteng/migrations/0001_initial.py
AcerFeng/aiyouteng
2002d718b060719d91924be6c5000d41a9e3068c
[ "MIT" ]
null
null
null
DjangoProject/aiyoutengproject/aiyouteng/migrations/0001_initial.py
AcerFeng/aiyouteng
2002d718b060719d91924be6c5000d41a9e3068c
[ "MIT" ]
null
null
null
DjangoProject/aiyoutengproject/aiyouteng/migrations/0001_initial.py
AcerFeng/aiyouteng
2002d718b060719d91924be6c5000d41a9e3068c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-08-14 08:05 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
39.763158
118
0.563534
282
3,022
5.882979
0.276596
0.108499
0.130199
0.173599
0.610006
0.561784
0.50211
0.443038
0.443038
0.443038
0
0.020716
0.297154
3,022
75
119
40.293333
0.760358
0.022502
0
0.522388
1
0
0.110471
0.024399
0
0
0
0
0
1
0
false
0
0.044776
0
0.104478
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
73b7649fbc29f98dc084215615d76d2f915940ab
381
py
Python
PythonExercicios/ex022.py
Lucas-ns/Python-3-Curso-Em-Video
f6d338fffd7a4606d34fab09634eea0fe4b3dfb3
[ "MIT" ]
null
null
null
PythonExercicios/ex022.py
Lucas-ns/Python-3-Curso-Em-Video
f6d338fffd7a4606d34fab09634eea0fe4b3dfb3
[ "MIT" ]
null
null
null
PythonExercicios/ex022.py
Lucas-ns/Python-3-Curso-Em-Video
f6d338fffd7a4606d34fab09634eea0fe4b3dfb3
[ "MIT" ]
null
null
null
nome = str(input('Digite seu nome completo: ')).strip() print('Analisando seu nome...') print('Seu nome em maiúsculas é {}.'.format(nome.upper())) print('Seu nome em minúsculas é {}.'.format(nome.lower())) print('Seu nome tem ao todo {} letras.'.format(len(nome.replace(' ', '')))) nome = nome.split() print('Seu primeir...
47.625
78
0.656168
58
381
4.310345
0.448276
0.14
0.144
0.112
0
0
0
0
0
0
0
0.005935
0.115486
381
7
79
54.428571
0.735905
0
0
0
0
0
0.459318
0
0
0
0
0
0
1
0
false
0
0
0
0
0.714286
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
1
0
2
73ba0678a5db17d97f2cf12d09deee256059b698
1,081
py
Python
projects/crawl_taobao_goods_migrate/config.py
kingking888/crawler-pyspider
29ba13905c73081097df9ef646a5c8194eb024be
[ "Apache-2.0" ]
1
2021-12-07T15:48:51.000Z
2021-12-07T15:48:51.000Z
projects/crawl_taobao_goods_migrate/config.py
GongSong/crawler-pyspider
b6dcec4afa4e1cd393f94627290a21ed95238676
[ "Apache-2.0" ]
null
null
null
projects/crawl_taobao_goods_migrate/config.py
GongSong/crawler-pyspider
b6dcec4afa4e1cd393f94627290a21ed95238676
[ "Apache-2.0" ]
1
2021-11-10T07:12:02.000Z
2021-11-10T07:12:02.000Z
# request config USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36' GOODS_TIMEOUT = 15 GOODS_CONNECT_TIMEOUT = 15 GOODS_RATE_TIMEOUT = 60 GOODS_RATE_CONNECT_TIMEOUT = 60 # 公司的代理 COMPANY_PROXY = '10.20.0.74:3128' # 全量更新时的容许最大队列数 MAX...
37.275862
136
0.748381
157
1,081
4.968153
0.528662
0.051282
0.102564
0.121795
0.416667
0.416667
0.416667
0.416667
0.416667
0.416667
0
0.098765
0.100833
1,081
28
137
38.607143
0.703704
0.102683
0
0
0
0.375
0.675365
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
73bf5dd5c1882d5376348b4233a5e6d233e4b118
2,451
py
Python
lib/workspace.py
jie-json/swift-corelibs-foundation-master
9dcd02178d6516c137fc3970f87090904f334acd
[ "Apache-2.0" ]
null
null
null
lib/workspace.py
jie-json/swift-corelibs-foundation-master
9dcd02178d6516c137fc3970f87090904f334acd
[ "Apache-2.0" ]
null
null
null
lib/workspace.py
jie-json/swift-corelibs-foundation-master
9dcd02178d6516c137fc3970f87090904f334acd
[ "Apache-2.0" ]
null
null
null
# This source file is part of the Swift.org open source project # # Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors # Licensed under Apache License v2.0 with Runtime Library Exception # # See http://swift.org/LICENSE.txt for license information # See http://swift.org/CONTRIBUTORS.txt for the list of ...
41.542373
108
0.656875
272
2,451
5.841912
0.363971
0.226558
0.096916
0.075519
0.305853
0.231592
0.101951
0
0
0
0
0.006417
0.237046
2,451
59
109
41.542373
0.843316
0.159935
0
0.139535
0
0
0.081951
0
0
0
0
0
0
0
null
null
0
0.093023
null
null
0.046512
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
73cad405a052fa5cbcdf6ef055c9c7a12423916b
786
py
Python
test.py
Zephor5/img_similar
9b85fb87c8206b05c4c4cc335b01425059c70046
[ "MIT" ]
null
null
null
test.py
Zephor5/img_similar
9b85fb87c8206b05c4c4cc335b01425059c70046
[ "MIT" ]
null
null
null
test.py
Zephor5/img_similar
9b85fb87c8206b05c4c4cc335b01425059c70046
[ "MIT" ]
null
null
null
import time import numpy as np import img_similar as sim from PIL import Image # start=time.time() # im1 = Image.open('take1.jpg') # im2 = Image.open('take2.jpg') # print "take ", time.time() - start # ima1 = np.asarray(im1) # ima2 = np.asarray(im2) # print "take ", time.time() - start # # print sim.get_fingerprint(i...
23.117647
42
0.667939
125
786
4.128
0.384
0.108527
0.093023
0.131783
0.158915
0.116279
0.116279
0
0
0
0
0.033233
0.157761
786
33
43
23.818182
0.746224
0.587786
0
0
0
0
0.135314
0
0
0
0
0
0
0
null
null
0
0.363636
null
null
0.272727
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
2
73d214dce9368e2639f26d62b1e928669d6b2e32
822
py
Python
setup.py
femoiseev/patma-regex
ed0baf83c5f942848f829aaf12fa1109accc9743
[ "MIT" ]
4
2020-07-02T02:37:09.000Z
2020-08-20T11:20:58.000Z
setup.py
femoiseev/patma-regex
ed0baf83c5f942848f829aaf12fa1109accc9743
[ "MIT" ]
null
null
null
setup.py
femoiseev/patma-regex
ed0baf83c5f942848f829aaf12fa1109accc9743
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name = 'patma_regex', packages = ['patma_regex'], version = '0.1', license='MIT', description = 'A mini-library for destructive group matching of regexes in Python using recently proposed Structural Pattern Matching (https://www.python.org/dev/peps/pep-0622/).', autho...
39.142857
182
0.688564
99
822
5.656566
0.727273
0.071429
0.05
0.060714
0.128571
0.128571
0.128571
0
0
0
0
0.014493
0.160584
822
21
183
39.142857
0.797101
0
0
0
0
0.047619
0.63548
0
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
73d352eb5826c1d3b386b0c2e6a26e956105eb68
33,680
py
Python
gen/pb_python/flyteidl/core/workflow_pb2.py
SmritiSatyanV/flyteidl
e8a29e0deb437d9e7086f9e90b72362cd26000a2
[ "Apache-2.0" ]
13
2019-08-05T22:02:36.000Z
2020-07-05T06:21:14.000Z
gen/pb_python/flyteidl/core/workflow_pb2.py
SmritiSatyanV/flyteidl
e8a29e0deb437d9e7086f9e90b72362cd26000a2
[ "Apache-2.0" ]
70
2021-02-01T22:14:27.000Z
2022-03-29T12:56:06.000Z
gen/pb_python/flyteidl/core/workflow_pb2.py
SmritiSatyanV/flyteidl
e8a29e0deb437d9e7086f9e90b72362cd26000a2
[ "Apache-2.0" ]
22
2021-02-01T16:13:28.000Z
2022-02-25T08:15:29.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: flyteidl/core/workflow.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from goog...
43.514212
3,462
0.767637
4,259
33,680
5.743367
0.075135
0.041863
0.035976
0.044152
0.715506
0.614938
0.53248
0.504477
0.475328
0.46707
0
0.036046
0.110392
33,680
773
3,463
43.570505
0.780355
0.028682
0
0.638418
1
0.002825
0.215347
0.166137
0
0
0
0
0
1
0
false
0
0.019774
0
0.019774
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
73f32c08e9a6bee0de3280af55c154abbb0381d2
707
py
Python
test.py
raiadi96/bert_intentClassifier
fe294c2dfc8baca2555121e5387d8542ce3a4ab5
[ "MIT" ]
1
2021-07-14T17:40:51.000Z
2021-07-14T17:40:51.000Z
test.py
raiadi96/bert_intentClassifier
fe294c2dfc8baca2555121e5387d8542ce3a4ab5
[ "MIT" ]
null
null
null
test.py
raiadi96/bert_intentClassifier
fe294c2dfc8baca2555121e5387d8542ce3a4ab5
[ "MIT" ]
null
null
null
import tensorflow as tf import numpy as np from sklearn.metrics import confusion_matrix, classification_report import pandas as pd from output_utils import generate_confusion_matrix, generate_classification_report def test_model(model, data, classes): y_pred = model.predict(data.test_x).argmax(axis=-1) cm = co...
37.210526
111
0.800566
101
707
5.29703
0.425743
0.074766
0.050467
0.037383
0.052336
0
0
0
0
0
0
0.001618
0.125884
707
18
112
39.277778
0.864078
0
0
0
1
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
73f91e3c38ffb9ed0688c993c85b10ab185a5d07
238
py
Python
icast/licpivot/urls.py
wickylee/wwwicast
c625f7d2ebcacfaf4431ea4987eee4313db9eef1
[ "Unlicense" ]
null
null
null
icast/licpivot/urls.py
wickylee/wwwicast
c625f7d2ebcacfaf4431ea4987eee4313db9eef1
[ "Unlicense" ]
null
null
null
icast/licpivot/urls.py
wickylee/wwwicast
c625f7d2ebcacfaf4431ea4987eee4313db9eef1
[ "Unlicense" ]
null
null
null
from django.urls import path from rest_framework.routers import DefaultRouter from .core_actions import CoreViewSet urlpatterns = [] router = DefaultRouter() router.register("", CoreViewSet, basename='Core') urlpatterns += router.urls
21.636364
49
0.794118
27
238
6.925926
0.592593
0.181818
0
0
0
0
0
0
0
0
0
0
0.113445
238
10
50
23.8
0.886256
0
0
0
0
0
0.016807
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
fb3f73e52894b53a41479c81d630cb6c2119b501
182
py
Python
spinup_bis/algos/tf2/__init__.py
liubruce/ED2
7511840c075879866d78883df307a45777ea2502
[ "MIT" ]
4
2021-10-21T03:03:51.000Z
2021-12-06T15:23:28.000Z
spinup_bis/algos/tf2/__init__.py
liubruce/ED2
7511840c075879866d78883df307a45777ea2502
[ "MIT" ]
null
null
null
spinup_bis/algos/tf2/__init__.py
liubruce/ED2
7511840c075879866d78883df307a45777ea2502
[ "MIT" ]
1
2022-02-20T08:41:44.000Z
2022-02-20T08:41:44.000Z
"""Spinning Up algorithms ported to TensorFlow v2.""" from .ed2.ed2 import ed2 from .sac.sac import sac from .sunrise.sunrise import sunrise ED2 = ed2 SAC = sac SUNRISE = sunrise
16.545455
53
0.741758
28
182
4.821429
0.428571
0.088889
0
0
0
0
0
0
0
0
0
0.039735
0.17033
182
10
54
18.2
0.854305
0.258242
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2