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
43d985066df9aa8a69c41556b5dbe3e2ef55c48d
1,499
py
Python
example/testapp/models.py
sesenion/django-admin-sortable2
84b51d28709bf4f563145c49d581dafd6fe5483c
[ "MIT" ]
null
null
null
example/testapp/models.py
sesenion/django-admin-sortable2
84b51d28709bf4f563145c49d581dafd6fe5483c
[ "MIT" ]
null
null
null
example/testapp/models.py
sesenion/django-admin-sortable2
84b51d28709bf4f563145c49d581dafd6fe5483c
[ "MIT" ]
1
2021-05-06T06:10:41.000Z
2021-05-06T06:10:41.000Z
from django.db import models class Author(models.Model): name = models.CharField('Name', null=True, blank=True, max_length=255) class Meta: ordering = ['name'] def __str__(self): return self.name def __unicode__(self): return self.name class SortableBook(models.Model): ...
26.767857
79
0.671781
189
1,499
5.100529
0.216931
0.082988
0.053942
0.070539
0.655602
0.605809
0.53527
0.386929
0.386929
0.386929
0
0.014155
0.198799
1,499
55
80
27.254545
0.78851
0
0
0.666667
0
0
0.053369
0
0
0
0
0
0
1
0.222222
false
0
0.027778
0.222222
0.916667
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
1
0
0
3
600264009f0a0a97638d86632176ae58bc77e45f
1,233
py
Python
tests/test_status.py
viniciuschiele/flask-webapi
4901c0b78fc61b8db18c211c5858b84901d0f4ab
[ "MIT" ]
null
null
null
tests/test_status.py
viniciuschiele/flask-webapi
4901c0b78fc61b8db18c211c5858b84901d0f4ab
[ "MIT" ]
null
null
null
tests/test_status.py
viniciuschiele/flask-webapi
4901c0b78fc61b8db18c211c5858b84901d0f4ab
[ "MIT" ]
null
null
null
from flask_webapi import status from unittest import TestCase class TestStatus(TestCase): def test_is_informational(self): self.assertFalse(status.is_informational(99)) self.assertFalse(status.is_informational(200)) for i in range(100, 199): self.assertTrue(status.is_informati...
30.825
55
0.676399
165
1,233
4.848485
0.224242
0.15
0.2625
0.2875
0.45
0.1925
0
0
0
0
0
0.061331
0.219789
1,233
39
56
31.615385
0.77027
0
0
0
0
0
0
0
0
0
0
0
0.535714
1
0.178571
false
0
0.071429
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
60033847457fe85fe1460f7627b093711ace0aae
518
py
Python
Python/Algorithms/Greedy/car_fuelling.py
ritvik1912/AlgorithmsAndDataStructure
11efd3977c6a3913798a84d944560a7b8ee95470
[ "MIT" ]
null
null
null
Python/Algorithms/Greedy/car_fuelling.py
ritvik1912/AlgorithmsAndDataStructure
11efd3977c6a3913798a84d944560a7b8ee95470
[ "MIT" ]
null
null
null
Python/Algorithms/Greedy/car_fuelling.py
ritvik1912/AlgorithmsAndDataStructure
11efd3977c6a3913798a84d944560a7b8ee95470
[ "MIT" ]
null
null
null
d=int(input()) m=int(input()) n=int(input()) x=[int(z) for z in input().split(" ")] dist_travelled=0 i=0 refuel=0 while(dist_travelled<d and i<n-1): if(dist_travelled+m>=d): break if(dist_travelled+m>=x[i] and dist_travelled+m<x[i+1]): dist_travelled=x[i] refuel+=1 elif(dist_travelle...
20.72
59
0.6139
96
518
3.197917
0.229167
0.465798
0.319218
0.208469
0.439739
0.218241
0.123779
0
0
0
0
0.028916
0.198842
518
24
60
21.583333
0.710843
0
0
0.26087
0
0
0.001931
0
0
0
0
0
0
1
0
false
0
0
0
0
0.043478
0
0
0
null
1
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
3
6037fdd66588d4a456746615c50901834650df9c
437
py
Python
opto/opto/tests/functions.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
5
2019-03-25T17:52:28.000Z
2022-03-19T06:20:41.000Z
opto/opto/tests/functions.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
null
null
null
opto/opto/tests/functions.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
6
2018-02-19T05:33:40.000Z
2019-11-21T04:17:22.000Z
# Compatibility Python 2/3 from __future__ import division, print_function, absolute_import from builtins import range # ---------------------------------------------------------------------------------------------------------------------- import numpy as np from dotmap import DotMap import matplotlib.pyplot as plt ...
25.705882
120
0.576659
47
437
5.234043
0.659574
0.097561
0
0
0
0
0
0
0
0
0
0.005208
0.121281
437
17
121
25.705882
0.635417
0.425629
0
0
0
0
0
0
0
0
0
0.058824
0
1
0
false
0
0.75
0
0.75
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
604f83341db1077e60e77a919eadedb3412e751d
575
py
Python
src/errors/exceptions.py
x2012x/conductor
ee1bfefd3dcd369efd2363e4c203c63dd97e2fb8
[ "MIT" ]
4
2021-06-14T15:11:26.000Z
2022-03-15T12:34:17.000Z
src/errors/exceptions.py
x2012x/conductor
ee1bfefd3dcd369efd2363e4c203c63dd97e2fb8
[ "MIT" ]
7
2021-06-14T10:38:54.000Z
2021-08-19T22:30:17.000Z
src/errors/exceptions.py
x2012x/conductor
ee1bfefd3dcd369efd2363e4c203c63dd97e2fb8
[ "MIT" ]
null
null
null
''' Created on Apr 4, 2021 @author: x2012x ''' class ConductorException(Exception): pass class UnsupportedAction(ConductorException): pass class UnsupportedIntent(ConductorException): pass class RegistrationExists(ConductorException): pass class SpeakableException(ConductorException): def __ini...
17.424242
45
0.756522
49
575
8.795918
0.469388
0.146172
0.187935
0
0
0
0
0
0
0
0
0.018868
0.170435
575
32
46
17.96875
0.884696
0.067826
0
0.421053
0
0
0
0
0
0
0
0
0
1
0.052632
false
0.421053
0
0
0.526316
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
605a6f7f52d1d6728e6550a7842a2b46a891af3f
1,988
py
Python
aliyun-python-sdk-cloudmarketing/aliyunsdkcloudmarketing/request/v20180910/DescribeFileRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-cloudmarketing/aliyunsdkcloudmarketing/request/v20180910/DescribeFileRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-cloudmarketing/aliyunsdkcloudmarketing/request/v20180910/DescribeFileRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
34.275862
100
0.758048
269
1,988
5.457249
0.405204
0.040872
0.047684
0.057902
0.105586
0.105586
0.105586
0
0
0
0
0.010006
0.145372
1,988
58
101
34.275862
0.854032
0.379276
0
0
0
0
0.116653
0.035503
0
0
0
0
0
1
0.407407
false
0
0.037037
0.185185
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
606fdd44644c90078dd68704171ddd1123f0feda
1,819
py
Python
tests/commands/test__vi_s.py
trishume/VintageousPlus
1dd62435138234979fe5bb413e1731119b017daf
[ "MIT" ]
6
2017-04-01T05:30:08.000Z
2017-04-05T14:17:40.000Z
tests/commands/test__vi_s.py
trishume/VintageousPlus
1dd62435138234979fe5bb413e1731119b017daf
[ "MIT" ]
1
2017-04-04T06:47:13.000Z
2017-04-04T14:26:32.000Z
tests/commands/test__vi_s.py
trishume/VintageousPlus
1dd62435138234979fe5bb413e1731119b017daf
[ "MIT" ]
null
null
null
""" Tests for o motion (visual kind). """ import unittest from VintageousPlus.vi.constants import _MODE_INTERNAL_NORMAL from VintageousPlus.vi.constants import MODE_NORMAL from VintageousPlus.vi.constants import MODE_VISUAL from VintageousPlus.vi.constants import MODE_VISUAL_LINE from VintageousPlus.tests import set...
33.685185
89
0.68829
255
1,819
4.694118
0.215686
0.106934
0.064327
0.121136
0.680869
0.586466
0.501253
0.36675
0.36675
0.253133
0
0.014541
0.168224
1,819
53
90
34.320755
0.776603
0.713579
0
0
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
1
0
0
3
6072aece28a89001e37987af2d539dff0c5498b9
372
py
Python
Codes/Python32/Lib/test/subprocessdata/sigchild_ignore.py
eyantra/FireBird_Swiss_Knife
cac322cf28e2d690b86ba28a75e87551e5e47988
[ "MIT" ]
12,496
2016-02-19T13:38:26.000Z
2022-03-31T23:56:19.000Z
Codes/Python32/Lib/test/subprocessdata/sigchild_ignore.py
eyantra/FireBird_Swiss_Knife
cac322cf28e2d690b86ba28a75e87551e5e47988
[ "MIT" ]
9,429
2016-02-19T13:41:32.000Z
2022-03-31T23:29:38.000Z
Codes/Python32/Lib/test/subprocessdata/sigchild_ignore.py
eyantra/FireBird_Swiss_Knife
cac322cf28e2d690b86ba28a75e87551e5e47988
[ "MIT" ]
2,770
2016-02-19T16:18:19.000Z
2022-03-31T08:12:49.000Z
import signal, subprocess, sys # On Linux this causes os.waitpid to fail with OSError as the OS has already # reaped our child process. The wait() passing the OSError on to the caller # and causing us to exit with an error is what we are testing against. signal.signal(signal.SIGCHLD, signal.SIG_IGN) subprocess.Popen([...
53.142857
76
0.758065
61
372
4.606557
0.737705
0.085409
0
0
0
0
0
0
0
0
0
0
0.145161
372
6
77
62
0.883648
0.586022
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
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
1
0
1
0
0
0
0
3
6075f9bfbdcb78b3eb375540bc332163a9c7917d
1,226
py
Python
tests/user_test.py
mangowilliam/quotesblog
c4e09ff33631ab8b4a9425fac87c89fc95bcde9d
[ "MIT" ]
null
null
null
tests/user_test.py
mangowilliam/quotesblog
c4e09ff33631ab8b4a9425fac87c89fc95bcde9d
[ "MIT" ]
null
null
null
tests/user_test.py
mangowilliam/quotesblog
c4e09ff33631ab8b4a9425fac87c89fc95bcde9d
[ "MIT" ]
null
null
null
import unittest from app.user import Blog, Quote, User,Comment class QuoteTest(unittest.TestCase): ''' Test Class to test the behaviour of the Quote class ''' def setUp(self): ''' Set up method that will run before every Test ''' self.new_quote = Quote(1, 'mango', 'tr...
25.020408
79
0.640294
157
1,226
4.847134
0.394904
0.073587
0.063075
0.094612
0.319317
0.319317
0.319317
0.18134
0.18134
0
0
0.007551
0.243883
1,226
48
80
25.541667
0.813376
0.079119
0
0.28
0
0
0.109174
0
0
0
0
0
0.16
1
0.32
false
0.2
0.08
0
0.56
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
607e199d1dcb647393985eb5264fb37b7ae69c73
132
py
Python
conda-recipes/preshed-feedstock/recipe/run_test.py
predrag12/powerai
27718e3e3a078c0345e6c4cd4da99d9294d1f399
[ "BSD-2-Clause" ]
58
2018-06-21T13:12:57.000Z
2022-01-07T22:36:00.000Z
conda-recipes/preshed-feedstock/recipe/run_test.py
predrag12/powerai
27718e3e3a078c0345e6c4cd4da99d9294d1f399
[ "BSD-2-Clause" ]
105
2018-10-06T16:13:21.000Z
2021-07-20T02:02:54.000Z
conda-recipes/preshed-feedstock/recipe/run_test.py
predrag12/powerai
27718e3e3a078c0345e6c4cd4da99d9294d1f399
[ "BSD-2-Clause" ]
64
2018-08-08T00:50:28.000Z
2021-12-21T13:48:11.000Z
import os import preshed import pytest PACKAGE_DIR = os.path.abspath(os.path.dirname(preshed.__file__)) pytest.main([PACKAGE_DIR])
18.857143
64
0.80303
20
132
5
0.55
0.2
0
0
0
0
0
0
0
0
0
0
0.083333
132
6
65
22
0.826446
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
1
0
0
0
0
3
6084094d73ae796f54616141f097432e16c3a06e
71
py
Python
Python/Numpy.py
BiswajitDeb/My_all_programs
4717cfc0b3b1aeda75f8eec0b7ff643e8556d262
[ "Unlicense" ]
null
null
null
Python/Numpy.py
BiswajitDeb/My_all_programs
4717cfc0b3b1aeda75f8eec0b7ff643e8556d262
[ "Unlicense" ]
null
null
null
Python/Numpy.py
BiswajitDeb/My_all_programs
4717cfc0b3b1aeda75f8eec0b7ff643e8556d262
[ "Unlicense" ]
null
null
null
import numpy as np import array a= np.array([(1,2,3),(2,3,4)]) print(a)
17.75
30
0.647887
17
71
2.705882
0.647059
0.086957
0
0
0
0
0
0
0
0
0
0.095238
0.112676
71
4
31
17.75
0.634921
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
608d052f7352125f109454b8086658b87892290e
2,133
py
Python
sdk/python/pulumi_azure_nextgen/peering/__init__.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
31
2020-09-21T09:41:01.000Z
2021-02-26T13:21:59.000Z
sdk/python/pulumi_azure_nextgen/peering/__init__.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
231
2020-09-21T09:38:45.000Z
2021-03-01T11:16:03.000Z
sdk/python/pulumi_azure_nextgen/peering/__init__.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
4
2020-09-29T14:14:59.000Z
2021-02-10T20:38:16.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Export this package's modules as members: from ._enums import * from .get_peer_asn import * from .get_peering import * from .get_peering_service impo...
33.328125
89
0.676981
241
2,133
5.858921
0.352697
0.09915
0.094193
0.093484
0.223796
0.201841
0.201841
0.201841
0.201841
0.201841
0
0.024833
0.225973
2,133
63
90
33.857143
0.830406
0.108298
0
0
1
0
0.127637
0.102848
0
0
0
0
0
1
0.0625
false
0
0.375
0.020833
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
60987d8d2582b3da0132d1a774fbd622837bb1b4
2,941
py
Python
google/ads/google_ads/v3/proto/services/ad_service_pb2_grpc.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
1
2019-11-30T23:42:39.000Z
2019-11-30T23:42:39.000Z
google/ads/google_ads/v3/proto/services/ad_service_pb2_grpc.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v3/proto/services/ad_service_pb2_grpc.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
1
2020-03-13T00:14:31.000Z
2020-03-13T00:14:31.000Z
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! import grpc from google.ads.google_ads.v3.proto.resources import ad_pb2 as google_dot_ads_dot_googleads__v3_dot_proto_dot_resources_dot_ad__pb2 from google.ads.google_ads.v3.proto.services import ad_service_pb2 as google_dot_ads_dot_googleads__v3_do...
42.623188
146
0.791908
375
2,941
5.677333
0.213333
0.067168
0.056364
0.070456
0.720056
0.720056
0.702677
0.639737
0.639737
0.589009
0
0.010626
0.136008
2,941
68
147
43.25
0.827233
0.114927
0
0.2
1
0
0.097886
0.056382
0
0
0
0
0
1
0.1
false
0
0.075
0
0.225
0
0
0
0
null
0
0
0
0
1
1
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
3
609e716e3bca1adbf13babd35430ac10a026e6ef
13,498
py
Python
tests/examples/minlplib/ex8_3_3.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/ex8_3_3.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/ex8_3_3.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# NLP written by GAMS Convert at 04/21/18 13:51:47 # # Equation counts # Total E G L N X C B # 77 77 0 0 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
45.911565
119
0.623055
2,744
13,498
3.064869
0.095845
0.117717
0.183115
0.261593
0.590844
0.505351
0.503924
0.487277
0.487277
0.188347
0
0.201041
0.145799
13,498
293
120
46.068259
0.528361
0.05023
0
0.025773
0
0
0
0
0
0
0
0
0
1
0
false
0
0.005155
0
0.005155
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60a07993a58185ce943ba205cb3952af600d467a
1,077
py
Python
release/stubs.min/Rhino/DocObjects/__init___parts/ObjectMaterialSource.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Rhino/DocObjects/__init___parts/ObjectMaterialSource.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Rhino/DocObjects/__init___parts/ObjectMaterialSource.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class ObjectMaterialSource(Enum,IComparable,IFormattable,IConvertible): """ Defines enumerated values for the source of material of single objects. enum ObjectMaterialSource,values: MaterialFromLayer (0),MaterialFromObject (1),MaterialFromParent (3) """ def __eq__(self,*args): """ x.__eq__(y) <==> x...
29.108108
215
0.690808
132
1,077
4.916667
0.363636
0.123267
0.12943
0.138675
0.198767
0.198767
0.198767
0.174114
0.174114
0.174114
0
0.003333
0.164345
1,077
36
216
29.916667
0.717778
0.467967
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
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
1
0
1
0
0
1
0
0
3
60a979c69f9a186a7237f12f3db13872eb3f8ac5
836
py
Python
stubs/micropython-v1_16-pyboard/cmath.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
stubs/micropython-v1_16-pyboard/cmath.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
stubs/micropython-v1_16-pyboard/cmath.py
mattytrentini/micropython-stubs
4d596273823b69e9e5bcf5fa67f249c374ee0bbc
[ "MIT" ]
null
null
null
""" Module: 'cmath' on micropython-v1.16-pyboard """ # MCU: {'ver': 'v1.16', 'port': 'pyboard', 'arch': 'armv7emsp', 'sysname': 'pyboard', 'release': '1.16.0', 'name': 'micropython', 'mpy': 7685, 'version': '1.16.0', 'machine': 'PYBv1.1 with STM32F405RG', 'build': '', 'nodename': 'pyboard', 'platform': 'pyboard', 'fami...
17.061224
286
0.538278
104
836
4.326923
0.528846
0.2
0.26
0.213333
0
0
0
0
0
0
0
0.067466
0.202153
836
48
287
17.416667
0.607196
0.441388
0
0.428571
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.047619
0
0.47619
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
1
0
0
0
0
0
0
0
3
60ad362e3095976f72b53a838aa549d627726e4e
31,930
py
Python
projects/UniDet/unidet/data/datasets/inst_categories.py
Othinus099/int
44d83c5d37f91957666ce65120543608a8a7f6a2
[ "Apache-2.0" ]
null
null
null
projects/UniDet/unidet/data/datasets/inst_categories.py
Othinus099/int
44d83c5d37f91957666ce65120543608a8a7f6a2
[ "Apache-2.0" ]
null
null
null
projects/UniDet/unidet/data/datasets/inst_categories.py
Othinus099/int
44d83c5d37f91957666ce65120543608a8a7f6a2
[ "Apache-2.0" ]
null
null
null
categories = { 'coco': [ {"color": [220, 20, 60], "isthing": 1, "id": 1, "name": "person"}, {"color": [119, 11, 32], "isthing": 1, "id": 2, "name": "bicycle"}, {"color": [0, 0, 142], "isthing": 1, "id": 3, "name": "car"}, {"color": [0, 0, 230], "isthing": 1, "id": 4, "name": "mo...
65.699588
93
0.473724
3,803
31,930
3.889824
0.272154
0.202799
0.223078
0.006692
0.019874
0.014737
0.014737
0.014737
0.014737
0.014737
0
0.108027
0.233761
31,930
486
94
65.699588
0.496608
0
0
0.047325
0
0
0.450105
0.016345
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
60b1c1a1525cb9ec92ecaa3c79f7401779ee4128
15,708
py
Python
code/optimisation_base.py
KaroBe/bachelorthesis-bioinspired-optimisation
e4495951b3721a5da1599aa84b68627ccd9036fd
[ "MIT" ]
2
2021-12-31T13:26:01.000Z
2022-01-07T12:19:57.000Z
code/optimisation_base.py
KaroBe/bachelorthesis-bioinspired-optimisation
e4495951b3721a5da1599aa84b68627ccd9036fd
[ "MIT" ]
null
null
null
code/optimisation_base.py
KaroBe/bachelorthesis-bioinspired-optimisation
e4495951b3721a5da1599aa84b68627ccd9036fd
[ "MIT" ]
null
null
null
""" Base Class for Optimization Algorithms Implements problem instance loading, heuristic initialization function, and data plotting functions. """ # ---------------------------------------------------------- import tsplib95 as tsp from numpy.random import default_rng # plotting import matplotlib import matplotlib...
33.279661
100
0.551566
1,873
15,708
4.521089
0.137747
0.029877
0.034128
0.039679
0.718115
0.713746
0.710794
0.694733
0.67265
0.650803
0
0.021648
0.300102
15,708
471
101
33.350318
0.74859
0.101222
0
0.590909
0
0
0.086186
0.003287
0
0
0
0
0
1
0.030303
false
0.00303
0.024242
0.009091
0.069697
0.015152
0
0
0
null
0
0
0
0
1
1
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
3
60bf217de12f0d1c67c6ecbec7be7d31f6d9f440
218
py
Python
hifive/api/rest/GenderEnum.py
gdfdfg/openmusic-python-sdk
8c5df944ae223b3b46ae249684786552391b6c88
[ "MIT" ]
null
null
null
hifive/api/rest/GenderEnum.py
gdfdfg/openmusic-python-sdk
8c5df944ae223b3b46ae249684786552391b6c88
[ "MIT" ]
null
null
null
hifive/api/rest/GenderEnum.py
gdfdfg/openmusic-python-sdk
8c5df944ae223b3b46ae249684786552391b6c88
[ "MIT" ]
1
2022-02-28T02:49:40.000Z
2022-02-28T02:49:40.000Z
''' Created by yong.huang on 2016.11.04 ''' ''' Created by yong.huang on 2016.11.04 ''' from enum import Enum class GenderEnum(Enum): UNKNOWN = "0" # 人妖 MAN = "1" # 男性 WOMAN = "2" # 女性
15.571429
43
0.536697
32
218
3.65625
0.6875
0.153846
0.222222
0.307692
0.478632
0.478632
0.478632
0.478632
0
0
0
0.126667
0.311927
218
13
44
16.769231
0.653333
0.206422
0
0
0
0
0.028846
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
60cccc5fbdd8cc526a352f3890f13c7e33425119
293
py
Python
sphinxcontrib/confluencebuilder/__main__.py
TheDubliner/confluencebuilder
f92d63ae9949c52cf8639643073aacb249cacd62
[ "BSD-2-Clause" ]
null
null
null
sphinxcontrib/confluencebuilder/__main__.py
TheDubliner/confluencebuilder
f92d63ae9949c52cf8639643073aacb249cacd62
[ "BSD-2-Clause" ]
null
null
null
sphinxcontrib/confluencebuilder/__main__.py
TheDubliner/confluencebuilder
f92d63ae9949c52cf8639643073aacb249cacd62
[ "BSD-2-Clause" ]
1
2019-02-25T13:08:42.000Z
2019-02-25T13:08:42.000Z
# -*- coding: utf-8 -*- """ :copyright: Copyright 2017-2018 by the contributors (see AUTHORS file). :license: BSD-2-Clause, see LICENSE for details. """ import sphinxcontrib.confluencebuilder import sys if __name__ == '__main__': sys.exit(sphinxcontrib.confluencebuilder.main())
24.416667
75
0.709898
34
293
5.882353
0.764706
0.3
0
0
0
0
0
0
0
0
0
0.040323
0.153584
293
11
76
26.636364
0.766129
0.488055
0
0
0
0
0.059701
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
60cd6d1e0dd98d72275b55713fa8098ea3b64885
208
py
Python
ExcelBack/urls.py
teddydotpy/Excel_Api
3cb14769eb8e7a53dc102b707b698efb536f7cb7
[ "MIT" ]
null
null
null
ExcelBack/urls.py
teddydotpy/Excel_Api
3cb14769eb8e7a53dc102b707b698efb536f7cb7
[ "MIT" ]
null
null
null
ExcelBack/urls.py
teddydotpy/Excel_Api
3cb14769eb8e7a53dc102b707b698efb536f7cb7
[ "MIT" ]
null
null
null
from django.contrib import admin from django.urls import path, include, re_path from ExcelApi.urls import patterns urlpatterns = [ path('admin/', admin.site.urls), re_path(r'', include(patterns)), ]
23.111111
46
0.730769
29
208
5.172414
0.482759
0.133333
0
0
0
0
0
0
0
0
0
0
0.149038
208
8
47
26
0.847458
0
0
0
0
0
0.028846
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
60e6afaa85b666a0e66bbdb3056e7efc8be7a5c3
78
py
Python
clubcpg_prelim/__init__.py
waterlandlab/CluBCpG
610b11d1a743b763ccd93622b3c14f0cc71301a7
[ "MIT" ]
9
2019-06-28T14:53:30.000Z
2021-12-26T00:41:32.000Z
clubcpg_prelim/__init__.py
waterlandlab/CluBCpG
610b11d1a743b763ccd93622b3c14f0cc71301a7
[ "MIT" ]
13
2019-05-28T21:36:28.000Z
2022-03-19T22:42:12.000Z
clubcpg_prelim/__init__.py
waterlandlab/CluBCpG
610b11d1a743b763ccd93622b3c14f0cc71301a7
[ "MIT" ]
4
2019-06-24T17:58:43.000Z
2021-06-02T12:31:56.000Z
from .PReLIM import PReLIM __version__ = "0.1.13" __author__ = "Jack Duryea"
15.6
26
0.730769
11
78
4.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0.060606
0.153846
78
4
27
19.5
0.681818
0
0
0
0
0
0.217949
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
88042839c9b406cc8526f659721611cda380d4dd
513
py
Python
mayan/apps/document_comments/urls.py
mbehrle/mayan-edms
9ebf27d2ea1666eaa36ad6ddc0fb9c6accf5cced
[ "Apache-2.0" ]
null
null
null
mayan/apps/document_comments/urls.py
mbehrle/mayan-edms
9ebf27d2ea1666eaa36ad6ddc0fb9c6accf5cced
[ "Apache-2.0" ]
1
2022-03-12T01:03:39.000Z
2022-03-12T01:03:39.000Z
mayan/apps/document_comments/urls.py
mbehrle/mayan-edms
9ebf27d2ea1666eaa36ad6ddc0fb9c6accf5cced
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from django.conf.urls import patterns, url urlpatterns = patterns('document_comments.views', url(r'^comment/(?P<comment_id>\d+)/delete/$', 'comment_delete', (), 'comment_delete'), url(r'^comment/multiple/delete/$', 'comment_multiple_delete', (), 'comment_multiple_delete...
46.636364
103
0.699805
66
513
5.121212
0.363636
0.047337
0.186391
0.16568
0.322485
0.322485
0.136095
0
0
0
0
0
0.091618
513
10
104
51.3
0.725322
0
0
0
0
0
0.575049
0.477583
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
715738a14c7782280e91c8e0b6a31474713cabcd
50
py
Python
python/testData/refactoring/move/globalStatementWithSingleName/before/src/a.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2018-12-29T09:53:39.000Z
2018-12-29T09:53:42.000Z
python/testData/refactoring/move/globalStatementWithSingleName/before/src/a.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/refactoring/move/globalStatementWithSingleName/before/src/a.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
VAR = 42 def func(): global VAR VAR += 1
8.333333
14
0.5
8
50
3.125
0.75
0
0
0
0
0
0
0
0
0
0
0.096774
0.38
50
6
15
8.333333
0.709677
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
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
1
0
0
0
0
0
0
0
3
71796be7114a7ccc7e66d58b3d84097a0051beb5
833
py
Python
python_django/sdk_lpl/utils/inscription_partenaire.py
NextINpact/LaPresseLibreSDK
8908a96e9aad18734464bf0742be9be6c0367e93
[ "MIT" ]
34
2016-05-09T09:20:32.000Z
2021-05-28T07:25:08.000Z
python_django/sdk_lpl/utils/inscription_partenaire.py
NextINpact/LaPresseLibreSDK
8908a96e9aad18734464bf0742be9be6c0367e93
[ "MIT" ]
10
2016-05-06T09:48:32.000Z
2021-06-25T20:01:25.000Z
python_django/sdk_lpl/utils/inscription_partenaire.py
NextINpact/LaPresseLibreSDK
8908a96e9aad18734464bf0742be9be6c0367e93
[ "MIT" ]
7
2016-07-05T15:57:32.000Z
2018-11-05T21:04:58.000Z
import json from urllib.parse import quote from sdk_lpl.config import Config from sdk_lpl.models.InfoCompteModel import InformationCompteModel from sdk_lpl.utils.crypt import Crypt def generate_url(mail, username, guid): """ Génération de l'url de l'inscription partenaire Inclure cette url dans une balis...
36.217391
172
0.744298
114
833
5.324561
0.570175
0.034596
0.049423
0
0
0
0
0
0
0
0
0
0.166867
833
22
173
37.863636
0.87464
0.321729
0
0
1
0
0.128544
0
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
71a097c78c7e3bab53deee78f7d7766cb968fe66
50
py
Python
gpu_info/__init__.py
cnstark/awesome_gpu_scheduler
36f4a7232af19c7211cd15be2b0125393802b21d
[ "MIT" ]
35
2020-12-03T02:16:58.000Z
2022-03-20T15:27:19.000Z
gpu_info/__init__.py
cnstark/awesome_gpu_scheduler
36f4a7232af19c7211cd15be2b0125393802b21d
[ "MIT" ]
13
2020-12-03T09:56:07.000Z
2021-05-06T13:43:37.000Z
gpu_info/__init__.py
378978764/gputasker
f855f1bee351e6ed145eab4bf42175f2b583043f
[ "MIT" ]
6
2020-12-03T07:25:41.000Z
2022-03-07T12:16:57.000Z
default_app_config = 'gpu_info.apps.GpuInfoConfig'
50
50
0.86
7
50
5.714286
1
0
0
0
0
0
0
0
0
0
0
0
0.04
50
1
50
50
0.833333
0
0
0
0
0
0.529412
0.529412
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
71b1862d68a9e47b344f6ee39e833f298eb3c268
666
py
Python
python-threatexchange/threatexchange/content_type/video.py
b-bold/ThreatExchange
6f8d0dc803faccf576c9398569bb52d54a4f9a87
[ "BSD-3-Clause" ]
997
2015-03-13T18:04:03.000Z
2022-03-30T12:09:10.000Z
python-threatexchange/threatexchange/content_type/video.py
b-bold/ThreatExchange
6f8d0dc803faccf576c9398569bb52d54a4f9a87
[ "BSD-3-Clause" ]
444
2015-03-26T17:28:49.000Z
2022-03-28T19:34:05.000Z
python-threatexchange/threatexchange/content_type/video.py
b-bold/ThreatExchange
6f8d0dc803faccf576c9398569bb52d54a4f9a87
[ "BSD-3-Clause" ]
294
2015-03-13T22:19:43.000Z
2022-03-30T08:42:45.000Z
#!/usr/bin/env python # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved """ Wrapper around the video content type. """ import typing as t from ..signal_type import raw_text, trend_query, url, md5, video_tmk_pdqf from ..signal_type.signal_base import SignalType from .content_base import ContentTyp...
24.666667
77
0.723724
88
666
5.340909
0.715909
0.042553
0.059574
0
0
0
0
0
0
0
0
0.00738
0.186186
666
26
78
25.615385
0.859779
0.376877
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0.125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
71b93170ac2460be3132ed2d2ae1dc831573dc78
195
py
Python
model/__init__.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
model/__init__.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
model/__init__.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
__author__ = "Liyuan Liu and Frank Xu" __credits__ = ["Liyuan Liu", "Frank Xu", "Jingbo Shang"] __license__ = "Apache License 2.0" __maintainer__ = "Liyuan Liu" __email__ = "llychinalz@gmail.com"
39
56
0.733333
25
195
4.92
0.72
0.219512
0
0
0
0
0
0
0
0
0
0.011834
0.133333
195
5
57
39
0.715976
0
0
0
0
0
0.515306
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
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
3
71d21cfacc2e8d1bf7b70b2785fe9db8b4d6ddda
261
py
Python
src/pyspiffe/spiffe_id/trust_domain.py
mchurichi/py-spiffe
bec617ae5beb48db62094a95cc04d36158c6841a
[ "Apache-2.0" ]
null
null
null
src/pyspiffe/spiffe_id/trust_domain.py
mchurichi/py-spiffe
bec617ae5beb48db62094a95cc04d36158c6841a
[ "Apache-2.0" ]
null
null
null
src/pyspiffe/spiffe_id/trust_domain.py
mchurichi/py-spiffe
bec617ae5beb48db62094a95cc04d36158c6841a
[ "Apache-2.0" ]
null
null
null
class TrustDomain(object): """ Represents the name of a SPIFFE trust domain (e.g. 'domain.test'). :param trust_domain: The name of the Trust Domain """ name: str def __init__(self, trust_domain: str): self.name = trust_domain
21.75
70
0.643678
36
261
4.472222
0.527778
0.341615
0.111801
0
0
0
0
0
0
0
0
0
0.252874
261
11
71
23.727273
0.825641
0.448276
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
71e16fd937351508535a93d4f14579391842ad14
941
py
Python
Profile/models.py
MasoudHeidary/django-telegram-bot-trade
7032428e5e04cb02bb081dcc4d86a585a773ada0
[ "MIT" ]
null
null
null
Profile/models.py
MasoudHeidary/django-telegram-bot-trade
7032428e5e04cb02bb081dcc4d86a585a773ada0
[ "MIT" ]
null
null
null
Profile/models.py
MasoudHeidary/django-telegram-bot-trade
7032428e5e04cb02bb081dcc4d86a585a773ada0
[ "MIT" ]
null
null
null
from django.db import models from Bot.models import TelegramUser # Create your models here. class Profile(models.Model): Name = models.CharField(max_length=100, verbose_name='نام') Family = models.CharField(max_length=100, verbose_name='نام خانوادگی') ClubCode = models.CharField(max_length=6, verbose_na...
42.772727
109
0.749203
124
941
5.532258
0.459677
0.16035
0.183673
0.244898
0.228863
0.119534
0.119534
0.119534
0
0
0
0.019827
0.142402
941
22
110
42.772727
0.830235
0.025505
0
0
0
0
0.10917
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.866667
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
1
0
0
3
71e52a94761da6021f4a5c755527eda58297b4e4
2,705
py
Python
src/pyrin/security/utils/services.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/security/utils/services.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
src/pyrin/security/utils/services.py
wilsonGmn/pyrin
25dbe3ce17e80a43eee7cfc7140b4c268a6948e0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ security utils services module. """ from pyrin.application.services import get_component from pyrin.security.utils import SecurityUtilsPackage def generate_rsa_key(length=None, **options): """ generates a pair of public/private rsa keys. :param int length: key length in bits....
31.453488
93
0.616636
324
2,705
4.987654
0.256173
0.044554
0.055693
0.117574
0.509901
0.485149
0.436262
0.306312
0.261757
0.261757
0
0.000533
0.3061
2,705
85
94
31.823529
0.860416
0.534566
0
0.133333
1
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.133333
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e08c847ece7d71b3553a0bc73dce7b3a45691aca
823
py
Python
sheepdog/tests/test_job_file.py
adamgreig/sheepdog
a3e038255c43f4592b176fde1cc256bfe1c27c62
[ "MIT" ]
1
2015-08-23T21:13:24.000Z
2015-08-23T21:13:24.000Z
sheepdog/tests/test_job_file.py
adamgreig/sheepdog
a3e038255c43f4592b176fde1cc256bfe1c27c62
[ "MIT" ]
4
2015-01-12T15:55:42.000Z
2018-03-05T18:05:16.000Z
sheepdog/tests/test_job_file.py
adamgreig/sheepdog
a3e038255c43f4592b176fde1cc256bfe1c27c62
[ "MIT" ]
1
2018-03-05T17:42:20.000Z
2018-03-05T17:42:20.000Z
# Sheepdog # Copyright 2013 Adam Greig # # Released under the MIT license. See LICENSE file for details. from sheepdog import job_file class TestJobFile: def test_includes_client(self): assert "Sheepdog's clientside code." in job_file("", "", 0, 1, "", []) def test_includes_serialisation(self): ...
30.481481
78
0.572296
111
823
4.081081
0.396396
0.108168
0.119205
0.0883
0.128035
0.07947
0.07947
0
0
0
0
0.039746
0.235723
823
26
79
31.653846
0.680445
0.116646
0
0
0
0
0.15928
0
0
0
0
0
0.4
1
0.4
false
0.133333
0.066667
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
1
0
1
0
0
1
0
0
3
e099b0151f59911adc1d69d5b5efef9cad740985
634
py
Python
pystratis/api/global_responsemodels/addressbalancemodel.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
8
2021-06-30T20:44:22.000Z
2021-12-07T14:42:22.000Z
pystratis/api/global_responsemodels/addressbalancemodel.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
2
2021-07-01T11:50:18.000Z
2022-01-25T18:39:49.000Z
pystratis/api/global_responsemodels/addressbalancemodel.py
TjadenFroyda/pyStratis
9cc7620d7506637f8a2b84003d931eceb36ac5f2
[ "MIT" ]
4
2021-07-01T04:36:42.000Z
2021-09-17T10:54:19.000Z
from pydantic import Field from pystratis.core.types import Address, Money from pystratis.core import CoinType from pystratis.api import Model class AddressBalanceModel(Model): """A pydantic model for an address balance.""" address: Address """The address.""" coin_type: CoinType = Field(alias='coinTyp...
33.368421
64
0.711356
71
634
6.295775
0.408451
0.089485
0.100671
0
0
0
0
0
0
0
0
0
0.164038
634
18
65
35.222222
0.843396
0.063091
0
0
0
0
0.117773
0
0
0
0
0
0
1
0
true
0
0.4
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
1
0
0
3
e0b3026c7c7e2b25568e434ebd1a54e79adaf262
290
py
Python
Maze/main.py
jiahuiguo/AIOpenNERO
c14daac312b79ac24d5d07ef7c1070dba467edbe
[ "MIT" ]
2
2016-05-14T08:02:21.000Z
2016-05-21T08:48:19.000Z
Maze/main.py
JiahuiGuo/AIOpenNERO
c14daac312b79ac24d5d07ef7c1070dba467edbe
[ "MIT" ]
null
null
null
Maze/main.py
JiahuiGuo/AIOpenNERO
c14daac312b79ac24d5d07ef7c1070dba467edbe
[ "MIT" ]
1
2018-05-28T11:33:35.000Z
2018-05-28T11:33:35.000Z
# OpenNero will execute ModMain when this mod is loaded from Maze.client import ClientMain def ModMain(): ClientMain() def StartMe(): from Maze.module import getMod getMod().set_speedup(1.0) # full speed ahead getMod().start_sarsa() # start an algorithm for headless mode
26.363636
65
0.731034
41
290
5.121951
0.780488
0.07619
0
0
0
0
0
0
0
0
0
0.008475
0.186207
290
10
66
29
0.881356
0.368966
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
true
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
e0bafa5855fbc034ea5f6fa54a8303a966e63bf7
133
py
Python
python_plot.py
ek051698/NU_REU_git_EK
4d109a1fae4083de933630083935738fb3e873c5
[ "MIT" ]
null
null
null
python_plot.py
ek051698/NU_REU_git_EK
4d109a1fae4083de933630083935738fb3e873c5
[ "MIT" ]
null
null
null
python_plot.py
ek051698/NU_REU_git_EK
4d109a1fae4083de933630083935738fb3e873c5
[ "MIT" ]
1
2019-07-08T19:15:02.000Z
2019-07-08T19:15:02.000Z
import numpy as np import matplotlib import matplotlib.pyplot as plt x=np.arange(0,2*np.pi,0.1) y=np.exp(x) plt.plot(x,y) plt.show()
16.625
31
0.736842
30
133
3.266667
0.566667
0.326531
0
0
0
0
0
0
0
0
0
0.033613
0.105263
133
7
32
19
0.789916
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e0ca403d2992a9f602d093950be9a3af7a24d72a
2,305
py
Python
toontown/effects/CarSmoke.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
99
2019-11-02T22:25:00.000Z
2022-02-03T03:48:00.000Z
toontown/effects/CarSmoke.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
42
2019-11-03T05:31:08.000Z
2022-03-16T22:50:32.000Z
toontown/effects/CarSmoke.py
TheFamiliarScoot/open-toontown
678313033174ea7d08e5c2823bd7b473701ff547
[ "BSD-3-Clause" ]
57
2019-11-03T07:47:37.000Z
2022-03-22T00:41:49.000Z
from pandac.PandaModules import * from direct.particles import ParticleEffect from direct.directnotify import DirectNotifyGlobal from direct.showbase import AppRunnerGlobal import os class CarSmoke(NodePath): def __init__(self, parent): NodePath.__init__(self) notify = DirectNotifyGlobal.directNot...
41.909091
98
0.675922
217
2,305
7.069124
0.437788
0.215124
0.267275
0.209909
0.19296
0.065189
0
0
0
0
0
0.009424
0.217354
2,305
54
99
42.685185
0.840909
0
0
0
0
0
0.126681
0.0282
0
0
0
0
0
1
0.081633
false
0.020408
0.102041
0
0.22449
0
0
0
0
null
1
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
3
e0da7ea850991ac03ee258bdb53b8ccdc12f2441
1,291
py
Python
python/blazingdb/messages/blazingdb/protocol/calcite/DMLResponse.py
HubBucket-Team/blazingdb-protocol
bf3cdc83b60d30cecb6b906f11d8a194e73119c1
[ "Apache-2.0" ]
1
2019-08-13T17:17:54.000Z
2019-08-13T17:17:54.000Z
python/blazingdb/messages/blazingdb/protocol/calcite/DMLResponse.py
VonRosenchild/blazingdb-protocol
bf3cdc83b60d30cecb6b906f11d8a194e73119c1
[ "Apache-2.0" ]
null
null
null
python/blazingdb/messages/blazingdb/protocol/calcite/DMLResponse.py
VonRosenchild/blazingdb-protocol
bf3cdc83b60d30cecb6b906f11d8a194e73119c1
[ "Apache-2.0" ]
1
2019-08-13T17:17:59.000Z
2019-08-13T17:17:59.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: calcite import flatbuffers class DMLResponse(object): __slots__ = ['_tab'] @classmethod def GetRootAsDMLResponse(cls, buf, offset): n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) x = DM...
33.102564
155
0.695585
151
1,291
5.821192
0.397351
0.055745
0.100114
0.119454
0.258248
0.219568
0.134243
0.134243
0.134243
0.134243
0
0.013566
0.20062
1,291
38
156
33.973684
0.838178
0.093726
0
0.08
1
0
0.003436
0
0
0
0
0
0
1
0.32
false
0
0.04
0.04
0.64
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
1
0
0
3
e0e4d1eadc4d92b5eb6cd7ef3ad2e9f00b098dde
383
py
Python
synergine/synergy/Simulation.py
buxx/synergine
da05d762cdbc993362807d4851e1ca74784438ae
[ "Apache-2.0" ]
6
2015-04-03T08:04:22.000Z
2016-11-13T22:47:11.000Z
synergine/synergy/Simulation.py
buxx/synergine
da05d762cdbc993362807d4851e1ca74784438ae
[ "Apache-2.0" ]
2
2019-10-21T15:41:39.000Z
2021-06-10T14:15:27.000Z
synergine/synergy/Simulation.py
buxx/synergine
da05d762cdbc993362807d4851e1ca74784438ae
[ "Apache-2.0" ]
2
2015-02-27T12:05:51.000Z
2016-05-11T07:25:20.000Z
from synergine.lib.eint import IncrementedNamedInt class Simulation(): STATE = IncrementedNamedInt.get('simulation.state') def __init__(self, collections): self._collections = collections def connect_actions_signals(self, Signals): pass def get_collections(self): return sel...
20.157895
55
0.697128
40
383
6.425
0.55
0.175097
0
0
0
0
0
0
0
0
0
0
0.224543
383
18
56
21.277778
0.86532
0
0
0.181818
0
0
0.041775
0
0
0
0
0
0
1
0.363636
false
0.181818
0.090909
0.090909
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
e0f3456e0d9fde8af9f47c89e965351ef7208c77
131
py
Python
Kattis/problems/bus.py
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
2
2021-07-27T10:46:47.000Z
2021-07-27T10:47:57.000Z
Kattis/problems/bus.py
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
Kattis/problems/bus.py
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
n = int(input()) for i in range(n): s = int(input()) p = 0 for j in range(0, s): p = (p * 2) + 1 print(p)
14.555556
25
0.419847
25
131
2.2
0.56
0.290909
0
0
0
0
0
0
0
0
0
0.05
0.389313
131
8
26
16.375
0.6375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
1
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
3
46084d387ae5181b8023076173b21cb07ee8c181
1,904
py
Python
model/mobilenet.py
zhangkaiitugithub/BackgroundMattingV2
220003663d72b9bab207398217680ea1d22db0fe
[ "MIT" ]
16
2021-01-14T11:22:53.000Z
2022-02-15T09:24:52.000Z
model/mobilenet.py
zhangkaiitugithub/BackgroundMattingV2
220003663d72b9bab207398217680ea1d22db0fe
[ "MIT" ]
3
2020-12-29T21:24:32.000Z
2020-12-31T21:28:19.000Z
model/mobilenet.py
zhangkaiitugithub/BackgroundMattingV2
220003663d72b9bab207398217680ea1d22db0fe
[ "MIT" ]
3
2020-12-29T00:45:37.000Z
2021-06-19T14:04:02.000Z
from torch import nn from torchvision.models import MobileNetV2 class MobileNetV2Encoder(MobileNetV2): """ MobileNetV2Encoder inherits from torchvision's official MobileNetV2. It is modified to use dilation on the last block to maintain output stride 16, and deleted the classifier block that was origi...
33.403509
90
0.560399
269
1,904
3.918216
0.35316
0.26186
0.222011
0.185958
0.045541
0
0
0
0
0
0
0.063272
0.319328
1,904
56
91
34
0.75
0.256303
0
0
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
0
0
0
0
null
1
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
3
1cbd383791c2cd258d0d975bd65a717c258ecdfb
205
py
Python
timer.py
ceesroele/tango_library
15290018d9074b1554aac5d89e599ed0a28cdf6a
[ "MIT" ]
null
null
null
timer.py
ceesroele/tango_library
15290018d9074b1554aac5d89e599ed0a28cdf6a
[ "MIT" ]
null
null
null
timer.py
ceesroele/tango_library
15290018d9074b1554aac5d89e599ed0a28cdf6a
[ "MIT" ]
null
null
null
from tango import mixxx_main # # Use a playlist named 'Timer' for timing purposes. Fill it with tandas you want timed. # if __name__ == '__main__': mixxx_main(query='Timer', timer=True, embed=False)
25.625
88
0.726829
31
205
4.483871
0.83871
0.129496
0
0
0
0
0
0
0
0
0
0
0.170732
205
7
89
29.285714
0.817647
0.414634
0
0
0
0
0.113043
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
1cd4a854251153f46a53e0a340ae570b6fba656a
932
py
Python
pythia/pyre/inventory/Item.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
1
2015-11-30T08:01:39.000Z
2015-11-30T08:01:39.000Z
pythia/pyre/inventory/Item.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
27
2018-05-24T18:31:25.000Z
2021-10-16T03:57:52.000Z
pythia/pyre/inventory/Item.py
willic3/pythia
2657b95a0c07fd3c914ab6b5f7ec89a8edba004c
[ "BSD-3-Clause" ]
7
2019-07-19T02:30:56.000Z
2021-06-02T22:00:01.000Z
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # California Institute of Technology # (C) 2007 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
29.125
80
0.51824
88
932
5.340909
0.431818
0.134043
0.268085
0.32766
0.423404
0
0
0
0
0
0
0.005556
0.227468
932
31
81
30.064516
0.647222
0.381974
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.818182
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
1
0
0
3
1cd5d61a926f3fc1b6d86073af90a42c145bf3ff
570
py
Python
release/scripts/presets/ffmpeg/h264.py
wycivil08/blendocv
f6cce83e1f149fef39afa8043aade9c64378f33e
[ "Unlicense" ]
30
2015-01-29T14:06:05.000Z
2022-01-10T07:47:29.000Z
release/scripts/presets/ffmpeg/h264.py
ttagu99/blendocv
f6cce83e1f149fef39afa8043aade9c64378f33e
[ "Unlicense" ]
1
2017-02-20T20:57:48.000Z
2018-12-19T23:44:38.000Z
release/scripts/presets/ffmpeg/h264.py
ttagu99/blendocv
f6cce83e1f149fef39afa8043aade9c64378f33e
[ "Unlicense" ]
15
2015-04-23T02:38:36.000Z
2021-03-01T20:09:39.000Z
import bpy is_ntsc = (bpy.context.scene.render.fps != 25) bpy.context.scene.render.ffmpeg_format = "H264" bpy.context.scene.render.ffmpeg_codec = "H264" if is_ntsc: bpy.context.scene.render.ffmpeg_gopsize = 18 else: bpy.context.scene.render.ffmpeg_gopsize = 15 bpy.context.scene.render.ffmpeg_video_bitrate = ...
31.666667
52
0.791228
86
570
5.093023
0.372093
0.251142
0.376712
0.527397
0.723744
0.230594
0
0
0
0
0
0.071567
0.092982
570
17
53
33.529412
0.775629
0
0
0
0
0
0.014035
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
1
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
3
1cda88f3e7ba9b751ab13ac30b71617134ce467f
113
py
Python
apps/course/apps.py
capy-pl/nccu-grade-system
db7107d56e45d535eed92b47c06e0d5c06f983a2
[ "Apache-2.0" ]
2
2019-01-14T17:20:06.000Z
2019-05-06T03:26:23.000Z
apps/course/apps.py
capy-pl/nccu-grade-system
db7107d56e45d535eed92b47c06e0d5c06f983a2
[ "Apache-2.0" ]
4
2018-12-25T15:06:35.000Z
2019-01-05T08:02:36.000Z
apps/course/apps.py
capy-pl/nccu-grade-system
db7107d56e45d535eed92b47c06e0d5c06f983a2
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class CourseConfig(AppConfig): name = 'apps.course' label = 'course'
16.142857
33
0.707965
13
113
6.153846
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.19469
113
6
34
18.833333
0.879121
0
0
0
0
0
0.150442
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
1
0
0
3
1cf3d6a23e2101f5e0b88f55c9286299285b4a60
150
py
Python
04_List/03_Remove_From_list.py
AmanDhimanD/Python_CompleteCode
5af7afaa189fdab56ffc21ed53b998f4a07252ed
[ "Adobe-Glyph" ]
2
2021-05-29T17:22:40.000Z
2021-06-07T09:32:53.000Z
04_List/03_Remove_From_list.py
AmanDhimanD/Python_CompleteCode
5af7afaa189fdab56ffc21ed53b998f4a07252ed
[ "Adobe-Glyph" ]
null
null
null
04_List/03_Remove_From_list.py
AmanDhimanD/Python_CompleteCode
5af7afaa189fdab56ffc21ed53b998f4a07252ed
[ "Adobe-Glyph" ]
null
null
null
list=["rayne","coder","python","c","c++","java"] #REMOVE list.remove("java") print(list) #remove BY index list.pop(1) # 1- coder print(list)
16.666667
49
0.606667
23
150
3.956522
0.521739
0.21978
0
0
0
0
0
0
0
0
0
0.015504
0.14
150
8
50
18.75
0.689922
0.2
0
0.4
0
0
0.256881
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
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
3
e810d8d9dd46a7ad004a1addd921b7db3872d621
83
py
Python
01Aula26-08/ex07.py
danicon/Curso-IPE
3b9e2a9d187492d6561a512363bd06156286df6a
[ "MIT" ]
2
2020-09-09T12:50:57.000Z
2020-09-09T12:56:02.000Z
01Aula26-08/ex07.py
danicon/Curso-IPE
3b9e2a9d187492d6561a512363bd06156286df6a
[ "MIT" ]
null
null
null
01Aula26-08/ex07.py
danicon/Curso-IPE
3b9e2a9d187492d6561a512363bd06156286df6a
[ "MIT" ]
null
null
null
print("Váriaveis tipo Boleano [True/false]") boo = True print(type(boo)) print(boo)
20.75
44
0.73494
13
83
4.692308
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.096386
83
4
45
20.75
0.813333
0
0
0
0
0
0.416667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
1
0
3
e81cad68fe28e45fcf206a1ce932539311d49cd0
318
py
Python
L1Trigger/L1TNtuples/python/l1MetFilterRecoTree_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
L1Trigger/L1TNtuples/python/l1MetFilterRecoTree_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
L1Trigger/L1TNtuples/python/l1MetFilterRecoTree_cfi.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms l1MetFilterRecoTree = cms.EDAnalyzer("L1MetFilterRecoTreeProducer", triggerResultsToken = cms.untracked.InputTag("TriggerResults::RECO"), hbheNoiseFilterResultToken = cms.untracked.InputTag("HBHENoiseFilterResultProducer:HBHENoiseFilterResult") )
31.8
115
0.77673
22
318
11.227273
0.772727
0.097166
0.161943
0
0
0
0
0
0
0
0
0.007299
0.138365
318
9
116
35.333333
0.894161
0
0
0
0
0
0.310127
0.246835
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
1
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
3
e8234a3e86c6d0cc201600912c1113ea7134816b
1,406
py
Python
huoguoml/server/service/experiment.py
huoguoml/huoguoml
749b0b2a24ddcf1ab34c36267eae7a2427b907f4
[ "Apache-2.0" ]
5
2021-08-02T16:35:29.000Z
2022-03-28T13:07:38.000Z
huoguoml/server/service/experiment.py
huoguoml/huoguoml
749b0b2a24ddcf1ab34c36267eae7a2427b907f4
[ "Apache-2.0" ]
12
2021-07-03T19:00:07.000Z
2021-07-11T17:26:47.000Z
huoguoml/server/service/experiment.py
huoguoml/huoguoml
749b0b2a24ddcf1ab34c36267eae7a2427b907f4
[ "Apache-2.0" ]
null
null
null
from typing import List, Optional from huoguoml.schema.experiment import Experiment from huoguoml.server.entity.experiment import ExperimentORM from huoguoml.server.entity.run import RunORM from huoguoml.server.repository.experiment import ExperimentRepository from huoguoml.server.service import Service class Experi...
45.354839
114
0.745377
153
1,406
6.575163
0.24183
0.125249
0.119284
0.068588
0.33002
0
0
0
0
0
0
0
0.183499
1,406
30
115
46.866667
0.876307
0
0
0
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0.285714
0.142857
0.761905
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
1
0
0
3
e827df4fec65144b81148c4cd1fde23895bb616c
881
py
Python
40.py
HatsuneMikuV/PythonLearning
34a7179ee20eb8ade50ce74b12732daea491e527
[ "Apache-2.0" ]
null
null
null
40.py
HatsuneMikuV/PythonLearning
34a7179ee20eb8ade50ce74b12732daea491e527
[ "Apache-2.0" ]
null
null
null
40.py
HatsuneMikuV/PythonLearning
34a7179ee20eb8ade50ce74b12732daea491e527
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: 40 Description : ^_^ !!! Author : anglemiku Eamil : anglemiku.v@gmail.com date: 2019/12/18 ------------------------------------------------- Change Activity: 2019/12/18: ...
25.171429
69
0.409762
97
881
3.628866
0.608247
0.059659
0.045455
0.022727
0
0
0
0
0
0
0
0.093168
0.269012
881
35
70
25.171429
0.453416
0.023837
0
0
0
0
0.090164
0
0
0
0
0
0
0
null
null
0.090909
0
null
null
0.090909
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
1
0
0
1
0
0
0
0
0
3
e8346585b48e163e452f4b9ab29936c53555bbe6
110
py
Python
FreeTAKServer/model/SpecificCoT/SendHealthCheck.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
27
2020-05-01T01:45:59.000Z
2020-07-03T00:17:13.000Z
FreeTAKServer/model/SpecificCoT/SendHealthCheck.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
34
2020-04-26T11:25:52.000Z
2020-07-03T21:06:34.000Z
FreeTAKServer/model/SpecificCoT/SendHealthCheck.py
logikal/FreeTakServer
c0916ce65781b5c60079d6440e52db8fc6ee0467
[ "MIT" ]
15
2020-05-01T01:46:07.000Z
2020-07-03T12:14:04.000Z
class SendHealthCheck: def __init__(self): self.xmlString = '' self.clientInformation = ''
27.5
35
0.627273
9
110
7.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.263636
110
4
35
27.5
0.802469
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
1
0
0
0
0
0
0
0
3
e834b62e6ac533c141b905027c75b50335a178d0
9,574
py
Python
psdaq/psdaq/pyxpm/surf/xilinx/_Gtpe2Common.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/psdaq/pyxpm/surf/xilinx/_Gtpe2Common.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
null
null
null
psdaq/psdaq/pyxpm/surf/xilinx/_Gtpe2Common.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
null
null
null
#!/usr/bin/env python #----------------------------------------------------------------------------- # Title : PyRogue Gtpe2Common #----------------------------------------------------------------------------- # File : Gtpe2Common.py # Created : 2017-04-12 #------------------------------------------------...
31.701987
78
0.341341
677
9,574
4.735598
0.190547
0.058952
0.075795
0.193699
0.702745
0.621647
0.602932
0.591391
0.591391
0.564255
0
0.058303
0.516294
9,574
301
79
31.807309
0.633988
0.099332
0
0.784
0
0
0.051966
0
0
0
0.018961
0
0
1
0.004
false
0
0.004
0
0.012
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
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
3
e836ec4371b02ddd5ac438d6750d23d8cba6488a
11,225
py
Python
2x2plot.py
Prokofeva/Deoxyribozyme_data_proc
34959eb014bc02e9c051791f1d4496745186f9ba
[ "MIT" ]
null
null
null
2x2plot.py
Prokofeva/Deoxyribozyme_data_proc
34959eb014bc02e9c051791f1d4496745186f9ba
[ "MIT" ]
null
null
null
2x2plot.py
Prokofeva/Deoxyribozyme_data_proc
34959eb014bc02e9c051791f1d4496745186f9ba
[ "MIT" ]
null
null
null
#!/usr/bin/env python import matplotlib.pyplot as plt from scipy import interpolate import numpy as np # data loading sh1 = np.loadtxt('data/data_1h_short.txt') lo1 = np.loadtxt('data/data_1h_long.txt') sh1r = np.loadtxt('data/data_1h_short_robot.txt') lo1r = np.loadtxt('data/data_1h_long_robot.txt') sh3 = np.loadtx...
37.541806
93
0.626904
2,212
11,225
3.053345
0.070524
0.033758
0.123779
0.130293
0.871484
0.841427
0.779982
0.68626
0.637252
0.595943
0
0.089177
0.120891
11,225
298
94
37.667785
0.595257
0.247572
0
0
0
0
0.103334
0.024111
0
0
0
0
0
1
0.006329
false
0
0.018987
0
0.031646
0
0
0
0
null
0
0
0
1
1
1
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
3
1c338654e5da1e13145829ea4df34006bc84f57f
3,698
py
Python
tests/test_schedules.py
sunny316/redbeat
51db315ef182f28cbb4a8d33af0b78bd816ac9a6
[ "Apache-2.0" ]
null
null
null
tests/test_schedules.py
sunny316/redbeat
51db315ef182f28cbb4a8d33af0b78bd816ac9a6
[ "Apache-2.0" ]
null
null
null
tests/test_schedules.py
sunny316/redbeat
51db315ef182f28cbb4a8d33af0b78bd816ac9a6
[ "Apache-2.0" ]
null
null
null
from datetime import ( datetime, timedelta ) from unittest import TestCase from mock import patch try: # celery 3.x from celery.utils.timeutils import timezone except ImportError: # celery 4.x from celery.utils.time import timezone from redbeat.schedules import rrule @patch.object(rrule, 'now', dat...
42.022727
94
0.685506
507
3,698
4.783037
0.18146
0.045361
0.085361
0.11134
0.759175
0.759175
0.743093
0.689897
0.644948
0.636289
0
0.014194
0.199838
3,698
87
95
42.505747
0.80534
0.094375
0
0.632353
0
0
0.026355
0
0
0
0
0
0.308824
1
0.102941
false
0
0.102941
0
0.235294
0
0
0
0
null
0
0
0
0
1
1
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
3
1c3d63bf838c9704d007fe35733aa5c33a7f3ab7
501
py
Python
rvpy/transformations.py
TimothyKBook/distributions
301fd61df894d4b300176e287bf9e725378c38eb
[ "MIT" ]
1
2018-06-27T17:22:56.000Z
2018-06-27T17:22:56.000Z
rvpy/transformations.py
TimothyKBook/distributions
301fd61df894d4b300176e287bf9e725378c38eb
[ "MIT" ]
null
null
null
rvpy/transformations.py
TimothyKBook/distributions
301fd61df894d4b300176e287bf9e725378c38eb
[ "MIT" ]
1
2018-06-12T13:38:25.000Z
2018-06-12T13:38:25.000Z
def log(rv): """ Returns the natural logarithm of a random variable """ return rv.log() def exp(rv): """ Returns the exponentiation of a random variable """ return rv.exp() def sqrt(rv): """ Returns the square root of a random variable """ return rv**0.5 def pow(rv, k)...
16.7
54
0.57485
70
501
4.114286
0.342857
0.173611
0.15625
0.295139
0.434028
0.434028
0
0
0
0
0
0.005747
0.305389
501
29
55
17.275862
0.821839
0.461078
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
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
1
0
0
3
1c6dffb4bf9c380176946de87324540a8a076217
1,408
py
Python
tests/base_unittest.py
benoitRodde/DeepPoker
1f5336246324d97bb915373b1a05f30be38c5126
[ "MIT" ]
null
null
null
tests/base_unittest.py
benoitRodde/DeepPoker
1f5336246324d97bb915373b1a05f30be38c5126
[ "MIT" ]
8
2020-04-24T08:11:54.000Z
2022-02-10T01:21:56.000Z
tests/base_unittest.py
benoitRodde/DeepPoker
1f5336246324d97bb915373b1a05f30be38c5126
[ "MIT" ]
1
2020-08-27T15:44:25.000Z
2020-08-27T15:44:25.000Z
import unittest class BaseUnitTest(unittest.TestCase): def eq(self, expected, target): return self.assertEqual(expected, target) def almosteq(self, expected, target, tolerance): if isinstance(expected, list): curry = lambda zipped: self.almosteq(zipped[0], zipped[1], tolerance) ...
29.333333
108
0.634233
168
1,408
5.27381
0.345238
0.112867
0.108352
0.090293
0.24605
0.128668
0
0
0
0
0
0.001919
0.259943
1,408
47
109
29.957447
0.848369
0
0
0.0625
0
0
0.04833
0
0
0
0
0
0.25
1
0.34375
false
0
0.0625
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1c940ffa53d97a2f6aa2a5cd6189ae5694480732
4,180
py
Python
programming_ex/ex-07/relalgebra/relalg.py
nnhjy/AI-python
35a23215b788464b2790fd3609f560add771ffcd
[ "MIT" ]
null
null
null
programming_ex/ex-07/relalgebra/relalg.py
nnhjy/AI-python
35a23215b788464b2790fd3609f560add771ffcd
[ "MIT" ]
null
null
null
programming_ex/ex-07/relalgebra/relalg.py
nnhjy/AI-python
35a23215b788464b2790fd3609f560add771ffcd
[ "MIT" ]
2
2022-03-09T18:30:26.000Z
2022-03-25T12:10:54.000Z
from RDBMS import relNatJoin, relUnion, relDifference, relDivision, relProject, relSelect, relRename # Function to add 'n' blanks in front of every line in 'lines' def INDENT(n,lines): blanks = n * " " return [ blanks + line for line in lines ] # # Relational algebra expressions # # The method 'eval' calls ...
32.153846
142
0.620813
517
4,180
4.911025
0.195358
0.060654
0.031508
0.050414
0.499409
0.434817
0.434817
0.404096
0.25128
0.25128
0
0.018599
0.22823
4,180
129
143
32.403101
0.768444
0.138517
0
0.44186
0
0
0.043867
0
0
0
0
0
0
1
0.348837
false
0
0.011628
0.197674
0.755814
0.22093
0
0
0
null
0
0
0
0
0
0
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
1
0
0
3
1c97f9bdf8403f26f940c33522053469f157fcdd
9,353
py
Python
veroviz/getTimeDistScalar3D.py
kayliebu/veroviz
ae4f8b338bfe6c1147a5033d123c2dd33af56d52
[ "MIT" ]
null
null
null
veroviz/getTimeDistScalar3D.py
kayliebu/veroviz
ae4f8b338bfe6c1147a5033d123c2dd33af56d52
[ "MIT" ]
null
null
null
veroviz/getTimeDistScalar3D.py
kayliebu/veroviz
ae4f8b338bfe6c1147a5033d123c2dd33af56d52
[ "MIT" ]
null
null
null
from veroviz._common import * from veroviz._validation import valGetTimeDistScalar3D from veroviz.utilities import convertDistance from veroviz.utilities import convertTime from veroviz._buildFlightProfile import buildNoLoiteringFlight from veroviz._buildFlightProfile import getTimeDistFromFlight def getTimeDistScal...
88.235849
1,154
0.758259
1,212
9,353
5.846535
0.232673
0.018628
0.014677
0.018769
0.380751
0.349704
0.308778
0.276743
0.271804
0.247813
0
0.023259
0.167968
9,353
106
1,155
88.235849
0.887304
0.873303
0
0
0
0
0.015737
0
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.473684
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
98de8701252ab63fd3fc04cf44c14d8642d73a86
1,076
py
Python
examples.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
150
2018-03-17T20:38:43.000Z
2020-11-18T14:08:06.000Z
examples.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
14
2018-04-08T11:39:59.000Z
2019-08-10T14:16:23.000Z
examples.py
pauloromeira/onegram
8294e237e8b8aa70c783347e42ea03d24098c48e
[ "MIT" ]
11
2018-03-22T04:34:29.000Z
2021-06-10T10:55:35.000Z
#!/usr/bin/env python from operator import itemgetter from itertools import islice from collections import defaultdict from onegram import Login, login, logout # Queries from onegram import user_info, post_info from onegram import followers, following from onegram import posts, likes, comments, feed from onegram imp...
22.893617
64
0.70539
142
1,076
5.316901
0.394366
0.131126
0.202649
0.042384
0.312583
0.312583
0.312583
0.312583
0.312583
0.312583
0
0.004662
0.202602
1,076
46
65
23.391304
0.875291
0.033457
0
0.275862
0
0
0.025072
0
0
0
0
0
0
1
0.068966
false
0
0.413793
0
0.551724
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
98ea431626569abcc4c4cb8a868db211819e2a83
755,075
py
Python
models_SHOT_convex/squfl030-150.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_SHOT_convex/squfl030-150.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_SHOT_convex/squfl030-150.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 01/15/21 11:37:49 # # Equation counts # Total E G L N X C B # 4651 151 0 4500 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
47.254209
120
0.640679
122,735
755,075
3.941508
0.112592
0.037332
0.144183
0.186042
0.358332
0.346365
0.346365
0.346349
0.346349
0
0
0.324204
0.178699
755,075
15,978
121
47.257166
0.455875
0.000901
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.000088
0
0.000088
0
0
0
0
null
0
0
1
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
3
98efbb5035d545c939ddcc270633526dbadca442
376
py
Python
administration/utils/models/variable.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
2
2022-01-24T23:30:18.000Z
2022-01-26T00:21:22.000Z
administration/utils/models/variable.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
null
null
null
administration/utils/models/variable.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
null
null
null
""" Created: 16 Mar. 2020 Author: Jordan Prechac """ from django.apps import apps Variable = apps.get_model('administration', 'Variable') # ----------------------------------------------------------------------------- def retrieve_variable(variable, default, is_bool=False, output_type=str): return Variable.objec...
28.923077
80
0.609043
39
376
5.717949
0.666667
0.134529
0
0
0
0
0
0
0
0
0
0.017595
0.093085
376
12
81
31.333333
0.636364
0.327128
0
0
0
0
0.089796
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c70a544470a0c7842fdd4618986abdbcce0423ca
732
py
Python
songs/migrations/0004_auto_20200212_1404.py
cr0manty/Fox_Project
a12e936fba79f290c0c9ecce16bc33de18a3a10c
[ "MIT" ]
null
null
null
songs/migrations/0004_auto_20200212_1404.py
cr0manty/Fox_Project
a12e936fba79f290c0c9ecce16bc33de18a3a10c
[ "MIT" ]
4
2021-04-08T20:58:40.000Z
2021-09-08T01:32:35.000Z
songs/migrations/0004_auto_20200212_1404.py
cr0manty/Fox_Project
a12e936fba79f290c0c9ecce16bc33de18a3a10c
[ "MIT" ]
null
null
null
# Generated by Django 2.2.7 on 2020-02-12 12:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('songs', '0003_auto_20200107_0103'), ] operations = [ migrations.AlterField( model_name='song', name='artist', ...
25.241379
74
0.56694
76
732
5.342105
0.526316
0.078818
0.184729
0.214286
0.514778
0.514778
0.423645
0.423645
0.423645
0.423645
0
0.073559
0.312842
732
28
75
26.142857
0.733598
0.061475
0
0.5
1
0
0.083212
0.033577
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c7351befa285c28f81cf3f510d0270c5f43ddabd
1,587
py
Python
illustrator/onelayeractive.py
OptrixAU/xltops
c75174daf30dcd4382248d19c7c1dc4cf0794afd
[ "MIT" ]
1
2020-02-28T10:19:43.000Z
2020-02-28T10:19:43.000Z
illustrator/onelayeractive.py
OptrixAU/xltops
c75174daf30dcd4382248d19c7c1dc4cf0794afd
[ "MIT" ]
null
null
null
illustrator/onelayeractive.py
OptrixAU/xltops
c75174daf30dcd4382248d19c7c1dc4cf0794afd
[ "MIT" ]
null
null
null
class OneLayerActiveScriptGen: def __init__(self, args): self.valid = args.split('|') pass def GenerateScript(self, arg2): if len(self.valid) == 1: #OK, this uses sub-layers Script = "for (i=0;i<app.activeDocument.layers.length;i++)\n" ...
45.342857
88
0.441714
170
1,587
4.1
0.276471
0.150646
0.23099
0.172166
0.579627
0.579627
0.54089
0.2066
0.2066
0.2066
0
0.008282
0.391304
1,587
34
89
46.676471
0.713251
0.046629
0
0.333333
1
0
0.380543
0.221046
0
0
0
0
0
1
0.066667
false
0.033333
0
0
0.133333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c73ac9ff94494f83f511971729d374e85954e5b0
862
py
Python
week4/exam/exam2.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
null
null
null
week4/exam/exam2.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
null
null
null
week4/exam/exam2.py
sdanil-ops/stepik-beegeek-python
02302ab85d581962a82cbce766b7b284d4c5491e
[ "MIT" ]
1
2021-08-18T00:58:27.000Z
2021-08-18T00:58:27.000Z
# ----------------------------------------------------------- # Copyright (c) 2021. Danil Smirnov # Two squares of a chessboard are given. Write a program # that determines whether the specified cells are of # the same color or not. If they are painted in the same # color, then output the word "YES", ...
35.916667
88
0.561485
114
862
4.061404
0.473684
0.077754
0.103672
0.12959
0.220302
0.220302
0.151188
0.151188
0.151188
0
0
0.014225
0.184455
862
23
89
37.478261
0.644381
0.490719
0
0
0
0
0.030445
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c74dfb41f2e71977deaf1e1bbf6b3c38fb1c7878
181
py
Python
jobcardProject/CardsApp/urls.py
alvaroqueiroz/JobProject
11e3785f452d88a7a4cd4640bdcf4dbe7b3ffa2e
[ "MIT" ]
null
null
null
jobcardProject/CardsApp/urls.py
alvaroqueiroz/JobProject
11e3785f452d88a7a4cd4640bdcf4dbe7b3ffa2e
[ "MIT" ]
5
2020-02-12T00:26:15.000Z
2021-05-08T23:09:43.000Z
jobcardProject/CardsApp/urls.py
alvaroqueiroz/JobProject
11e3785f452d88a7a4cd4640bdcf4dbe7b3ffa2e
[ "MIT" ]
null
null
null
from rest_framework import routers from .api import CardViewSet router = routers.DefaultRouter() router.register('api/CardsApp', CardViewSet, 'CardsApp') urlpatterns = router.urls
25.857143
56
0.80663
21
181
6.904762
0.619048
0
0
0
0
0
0
0
0
0
0
0
0.099448
181
7
57
25.857143
0.889571
0
0
0
0
0
0.10989
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c751c79d451ee4cbab4218951d1fb7a241017afb
142
py
Python
gtt.py
Bitseat/Athena
f0a33c56437b0a962d32abecbf1560bbcc5f3b4b
[ "MIT" ]
null
null
null
gtt.py
Bitseat/Athena
f0a33c56437b0a962d32abecbf1560bbcc5f3b4b
[ "MIT" ]
null
null
null
gtt.py
Bitseat/Athena
f0a33c56437b0a962d32abecbf1560bbcc5f3b4b
[ "MIT" ]
null
null
null
from gtts import gTTS import os tts = gTTS(text='Hello sir, how can I help you?', lang='en') tts.save("good.mp3") os.system("mpg321 good.mp3")
28.4
60
0.704225
27
142
3.703704
0.740741
0.2
0
0
0
0
0
0
0
0
0
0.040323
0.126761
142
5
61
28.4
0.766129
0
0
0
0
0
0.384615
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c766ecd87638378323c89516cf3089bb9d31028a
232
py
Python
python-app/app.py
Dhruvaraju/docker-alpha
26a48b69e722e7578d77e285047e3180916c7358
[ "MIT" ]
null
null
null
python-app/app.py
Dhruvaraju/docker-alpha
26a48b69e722e7578d77e285047e3180916c7358
[ "MIT" ]
null
null
null
python-app/app.py
Dhruvaraju/docker-alpha
26a48b69e722e7578d77e285047e3180916c7358
[ "MIT" ]
null
null
null
number_one = int(input("Enter a number: ")) number_two = int(input("Enter another number: ")) if (number_one > number_two): print("Number one is greater than number two") else: print("Number two is greater than number one")
33.142857
50
0.706897
36
232
4.444444
0.388889
0.225
0.1625
0.2375
0
0
0
0
0
0
0
0
0.168103
232
7
51
33.142857
0.829016
0
0
0
0
0
0.480687
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c76d8abc6665ec4b045adc9274d7c71b9b537b87
362
py
Python
tests/kyu_7_tests/test_genetic_algorithm_series_1_generate.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_7_tests/test_genetic_algorithm_series_1_generate.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_7_tests/test_genetic_algorithm_series_1_generate.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_7.genetic_algorithm_series_1_generate import generate class GenerateTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(len(generate(16)), 16) def test_equals_2(self): self.assertEqual(len(generate(32)), 32) def test_equals_3(self): ...
24.133333
68
0.723757
49
362
5.142857
0.510204
0.083333
0.154762
0.261905
0.357143
0
0
0
0
0
0
0.053156
0.168508
362
14
69
25.857143
0.784053
0
0
0
1
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0.222222
0
0.666667
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
1
0
0
0
0
0
0
0
3
c79982df0d161c3499351a57f75920266bbfa955
121
py
Python
app/config_template.py
FabianGruben/dbt-spotify-analytics
3b88315ce4a1ddd71d055ed20c7267a9995455fd
[ "MIT" ]
68
2020-10-13T03:31:52.000Z
2022-03-26T16:08:23.000Z
app/config_template.py
FabianGruben/dbt-spotify-analytics
3b88315ce4a1ddd71d055ed20c7267a9995455fd
[ "MIT" ]
1
2022-02-03T08:23:55.000Z
2022-02-03T08:23:55.000Z
app/config_template.py
FabianGruben/dbt-spotify-analytics
3b88315ce4a1ddd71d055ed20c7267a9995455fd
[ "MIT" ]
9
2020-10-19T02:40:53.000Z
2022-02-13T09:04:42.000Z
USERNAME='username' CLIENT_ID='client_id' CLIENT_SECRET='client_secret' REDIRECT_URI='http://localhost:8888/callback/'
30.25
46
0.801653
16
121
5.75
0.625
0.173913
0.304348
0
0
0
0
0
0
0
0
0.034783
0.049587
121
4
46
30.25
0.765217
0
0
0
0
0
0.512605
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
3
c79e271c31a0943e7e1d75a4fc39beb16137e604
544
py
Python
authentication/migrations/0003_remove_user_groups_remove_user_is_superuser_and_more.py
erhic/Awwards-django-Api
323c7d4196bb475293bac16cf9ee95b8e3656988
[ "MIT" ]
null
null
null
authentication/migrations/0003_remove_user_groups_remove_user_is_superuser_and_more.py
erhic/Awwards-django-Api
323c7d4196bb475293bac16cf9ee95b8e3656988
[ "MIT" ]
null
null
null
authentication/migrations/0003_remove_user_groups_remove_user_is_superuser_and_more.py
erhic/Awwards-django-Api
323c7d4196bb475293bac16cf9ee95b8e3656988
[ "MIT" ]
1
2022-03-28T15:07:57.000Z
2022-03-28T15:07:57.000Z
# Generated by Django 4.0.3 on 2022-03-16 08:06 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('authentication', '0002_useraccount'), ] operations = [ migrations.RemoveField( model_name='user', name='groups', ), ...
20.923077
47
0.547794
49
544
5.959184
0.632653
0.109589
0.267123
0.308219
0.390411
0.390411
0
0
0
0
0
0.052925
0.340074
544
25
48
21.76
0.760446
0.082721
0
0.473684
1
0
0.152918
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c7ab554f64b23a6eefda30a24518dfa96dba0da2
180
py
Python
coding/urls.py
garrykevin-ep/Skillet
386262b9bdc8c2921c01a8449c5e3d7bfcab6795
[ "BSD-3-Clause" ]
3
2018-01-10T13:36:45.000Z
2018-03-13T14:35:20.000Z
coding/urls.py
garrykevin-ep/codewars
386262b9bdc8c2921c01a8449c5e3d7bfcab6795
[ "BSD-3-Clause" ]
22
2017-05-14T23:47:08.000Z
2018-08-28T17:03:17.000Z
coding/urls.py
garrykevin-ep/codewars
386262b9bdc8c2921c01a8449c5e3d7bfcab6795
[ "BSD-3-Clause" ]
5
2017-10-16T06:35:53.000Z
2021-05-25T05:46:15.000Z
from django.conf.urls import url from . import views app_name = 'code' urlpatterns = [ url(r'^(?P<pk>[0-9]+)/(?P<question>[0-9]+)/$',views.submission, name='submission'), ]
18
87
0.633333
27
180
4.185185
0.666667
0.035398
0
0
0
0
0
0
0
0
0
0.025641
0.133333
180
9
88
20
0.698718
0
0
0
0
0
0.288889
0.211111
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
c7b363e0293d1e934daa5b1db5fb578560ceba96
554
py
Python
tests/test_heurstic.py
alexdawn/risk
8b7ae9995c17ede784a32388e8fe357b0a71b7c5
[ "MIT" ]
null
null
null
tests/test_heurstic.py
alexdawn/risk
8b7ae9995c17ede784a32388e8fe357b0a71b7c5
[ "MIT" ]
4
2020-05-05T08:53:10.000Z
2020-05-13T21:13:35.000Z
tests/test_heurstic.py
alexdawn/risk
8b7ae9995c17ede784a32388e8fe357b0a71b7c5
[ "MIT" ]
null
null
null
from risk.heuristic import border_threat, border_security_ratio, heuristic from fixture_board import test_scenario def test_border_threat(test_scenario): map, players = test_scenario assert border_threat(map, map.get_territory("Eastern Australia")) == 3 def test_border_security_ratio(test_scenario): map,...
32.588235
86
0.765343
76
554
5.289474
0.328947
0.208955
0.141791
0.164179
0.502488
0.502488
0.502488
0.228856
0
0
0
0.014768
0.144404
554
16
87
34.625
0.833333
0
0
0.272727
0
0
0.061372
0
0
0
0
0
0.272727
1
0.272727
false
0
0.181818
0
0.454545
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
1
0
0
0
0
0
0
0
3
c7b81a1d5873d23c860e689f6bd50129840070c2
58
py
Python
helstrom/__init__.py
benedictusalvian/helstrom
2092af5c06d240c3760f76c45de02938f299e087
[ "MIT" ]
null
null
null
helstrom/__init__.py
benedictusalvian/helstrom
2092af5c06d240c3760f76c45de02938f299e087
[ "MIT" ]
null
null
null
helstrom/__init__.py
benedictusalvian/helstrom
2092af5c06d240c3760f76c45de02938f299e087
[ "MIT" ]
null
null
null
from helstrom.helstromSDP import sdp __version__ = "0.3"
14.5
36
0.775862
8
58
5.125
1
0
0
0
0
0
0
0
0
0
0
0.04
0.137931
58
3
37
19.333333
0.78
0
0
0
0
0
0.051724
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c7bebc06a15022eb65bb1d14797784b15047e29a
709
py
Python
src/tile_loader.py
AnEnigmaticBug/map-gen
f6ec13dc617541a8568c566bbf7cbe95bc09a6a0
[ "MIT" ]
null
null
null
src/tile_loader.py
AnEnigmaticBug/map-gen
f6ec13dc617541a8568c566bbf7cbe95bc09a6a0
[ "MIT" ]
null
null
null
src/tile_loader.py
AnEnigmaticBug/map-gen
f6ec13dc617541a8568c566bbf7cbe95bc09a6a0
[ "MIT" ]
null
null
null
from pygame import image, transform class TileLoader: def __init__(self, tile_size): self.images = [ transform.scale(image.load('assets/water-deep.png'), (tile_size, tile_size)), transform.scale(image.load('assets/water-shallow.png'), (tile_size, tile_size)), transform.s...
44.3125
92
0.638928
90
709
4.844444
0.277778
0.238532
0.261468
0.316514
0.683486
0.639908
0.550459
0.550459
0.550459
0.550459
0
0
0.207334
709
15
93
47.266667
0.775801
0
0
0
0
0
0.149506
0.06347
0
0
0
0
0
1
0.153846
false
0
0.076923
0.076923
0.384615
0
0
0
0
null
1
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
3
c7f018ad0b7285d4ddaa1812e76725e6126c37c9
60
py
Python
kidb/__init__.py
x-yzt/kidb
5f0eec208accf4adb90b2ba1082d63921bc0e9ef
[ "MIT" ]
null
null
null
kidb/__init__.py
x-yzt/kidb
5f0eec208accf4adb90b2ba1082d63921bc0e9ef
[ "MIT" ]
null
null
null
kidb/__init__.py
x-yzt/kidb
5f0eec208accf4adb90b2ba1082d63921bc0e9ef
[ "MIT" ]
null
null
null
from pathlib import Path BASE_DIR = Path(__file__).parent
12
32
0.783333
9
60
4.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.15
60
4
33
15
0.823529
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1be3578545529c1eae541a7afea2307a6d033ed1
388
py
Python
Chapter14/LDA.py
marcjour303/PytML
cd1391976167a7a671e98a1f588898c01585cee9
[ "MIT" ]
36
2019-04-05T00:58:57.000Z
2022-03-12T09:25:04.000Z
Chapter14/LDA.py
ClauPorto/Python-Machine-Learning-Cookbook-Second-Edition
99d8b799dbfe1d9a82f0bcc3648aaeb147b7298f
[ "MIT" ]
null
null
null
Chapter14/LDA.py
ClauPorto/Python-Machine-Learning-Cookbook-Second-Edition
99d8b799dbfe1d9a82f0bcc3648aaeb147b7298f
[ "MIT" ]
37
2019-04-16T00:50:20.000Z
2022-02-28T18:14:41.000Z
from sklearn.decomposition import LatentDirichletAllocation from sklearn.datasets import make_multilabel_classification X, Y = make_multilabel_classification(n_samples=100, n_features=20, n_classes=5, n_labels=2, random_state=1) LDAModel = LatentDirichletAllocation(n_components=5, random_state=1) LDAModel.fit(X) # ge...
43.111111
108
0.829897
54
388
5.759259
0.62963
0.07074
0.180064
0.128617
0
0
0
0
0
0
0
0.033613
0.079897
388
8
109
48.5
0.837535
0.087629
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
1
0
0
0
0
3
40007e4e513dfb447e6e296344187853d86b55e6
292
py
Python
test/core/scripts/basicpass.py
jcollins1983/Fixate
132f7cda69f3d53ff1bd660518d11b45dc6182fd
[ "MIT" ]
15
2018-10-05T04:55:18.000Z
2022-03-10T08:08:20.000Z
test/core/scripts/basicpass.py
jcollins1983/Fixate
132f7cda69f3d53ff1bd660518d11b45dc6182fd
[ "MIT" ]
86
2018-09-26T02:33:11.000Z
2022-01-10T06:12:17.000Z
test/core/scripts/basicpass.py
jcollins1983/Fixate
132f7cda69f3d53ff1bd660518d11b45dc6182fd
[ "MIT" ]
12
2018-10-09T01:32:11.000Z
2022-03-22T01:19:09.000Z
from fixate.core.common import TestClass from fixate.core.ui import user_ok, user_info from fixate.core.checks import * __version__ = "1" class SimpleTest(TestClass): """Simple passing test""" def test(self): chk_true(True, "It is True!") TEST_SEQUENCE = [SimpleTest()]
18.25
45
0.705479
40
292
4.95
0.625
0.151515
0.212121
0
0
0
0
0
0
0
0
0.004167
0.178082
292
15
46
19.466667
0.820833
0.065068
0
0
0
0
0.044944
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
401018d4a0ed9d0e76f67eb6ef42eb5ba509453f
126
py
Python
cambie/map.py
blx/cambie
c06130f8463594f7b3cc74194933b5d5afbf6283
[ "ISC" ]
1
2016-02-25T02:51:41.000Z
2016-02-25T02:51:41.000Z
cambie/map.py
blx/cambie
c06130f8463594f7b3cc74194933b5d5afbf6283
[ "ISC" ]
1
2016-03-22T11:00:54.000Z
2016-03-22T11:00:54.000Z
cambie/map.py
blx/cambie
c06130f8463594f7b3cc74194933b5d5afbf6283
[ "ISC" ]
null
null
null
import folium VANCOUVER = (49.2511587, -123.1344104) def vancouver(): m = folium.Map(location=VANCOUVER, zoom_start=12)
18
53
0.722222
17
126
5.294118
0.823529
0
0
0
0
0
0
0
0
0
0
0.194444
0.142857
126
6
54
21
0.638889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
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
1
0
0
0
0
0
0
0
3
40245a49addbbd19c401fdf7d79169ff6e2a5a0e
4,921
py
Python
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
8
2021-01-13T23:44:08.000Z
2021-03-17T10:13:36.000Z
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
226
2019-07-24T07:57:21.000Z
2019-10-15T01:07:24.000Z
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/models/__init__.py
iscai-msft/azure-sdk-for-python
83715b95c41e519d5be7f1180195e2fba136fc0f
[ "MIT" ]
2
2020-05-21T22:51:22.000Z
2020-05-26T20:53:01.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
38.748031
76
0.760008
412
4,921
8.805825
0.225728
0.176406
0.114664
0.167585
0.055127
0
0
0
0
0
0
0.008017
0.163585
4,921
126
77
39.055556
0.873421
0.091851
0
0
0
0
0.167564
0.097802
0
0
0
0
0
1
0
false
0
0.614035
0
0.614035
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
402b2727f82db329b80365cc857726bc2ffb8a86
660
py
Python
jesse/strategies/Test03/__init__.py
laughingwithu/jesse
c21adf59074ad62e4aa775261b4ad86c542ec4d5
[ "MIT" ]
10
2020-05-24T17:31:11.000Z
2022-03-18T00:31:14.000Z
jesse/strategies/Test03/__init__.py
laughingwithu/jesse
c21adf59074ad62e4aa775261b4ad86c542ec4d5
[ "MIT" ]
null
null
null
jesse/strategies/Test03/__init__.py
laughingwithu/jesse
c21adf59074ad62e4aa775261b4ad86c542ec4d5
[ "MIT" ]
4
2020-07-08T19:24:45.000Z
2022-01-26T12:53:04.000Z
from jesse.strategies import Strategy # test_multiple_routes_can_communicate_with_each_other class Test03(Strategy): def should_long(self): return False def should_short(self): return len(self.candles) == 1 def go_long(self): pass def go_short(self): qty = 1 ...
21.290323
54
0.630303
86
660
4.569767
0.5
0.101781
0.091603
0.091603
0
0
0
0
0
0
0
0.019231
0.290909
660
30
55
22
0.820513
0.078788
0
0.1
0
0
0
0
0
0
0
0
0
1
0.35
false
0.05
0.05
0.2
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
1
0
0
0
1
1
0
0
3
402dd6536beb9417191807bee7498c5f7cc0c34a
249
py
Python
lib/django-0.96/django/conf/project_template/urls.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/lib/django-0.96/django/conf/project_template/urls.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/lib/django-0.96/django/conf/project_template/urls.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
from django.conf.urls.defaults import * urlpatterns = patterns('', # Example: # (r'^{{ project_name }}/', include('{{ project_name }}.foo.urls')), # Uncomment this for admin: # (r'^admin/', include('django.contrib.admin.urls')), )
24.9
72
0.614458
28
249
5.392857
0.678571
0.145695
0
0
0
0
0
0
0
0
0
0
0.172691
249
9
73
27.666667
0.73301
0.630522
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
4044c0ba927b6e802deb0f068dfd874dc528afd2
1,608
py
Python
cvdatasetutils/coco.py
dmoranj/cvdatasetutils
24758ec7284debe1a62ccd8b8568ada33fb386d7
[ "MIT" ]
null
null
null
cvdatasetutils/coco.py
dmoranj/cvdatasetutils
24758ec7284debe1a62ccd8b8568ada33fb386d7
[ "MIT" ]
null
null
null
cvdatasetutils/coco.py
dmoranj/cvdatasetutils
24758ec7284debe1a62ccd8b8568ada33fb386d7
[ "MIT" ]
null
null
null
from cvdatasetutils.dnnutils import load_json import os import pandas as pd ANNOTATION_FOLDER = 'annotations' INSTANCES_FILE = 'instances_train2017.json' def parse_labels(instances): return { category['id']: category['name'] for category in instances['categories']} def parse_images(instances): def to_arra...
31.529412
115
0.670398
197
1,608
5.248731
0.28934
0.027079
0.042553
0.03675
0.147002
0.147002
0.147002
0.147002
0.071567
0
0
0.006144
0.190299
1,608
50
116
32.16
0.788018
0
0
0
0
0
0.120174
0.014944
0
0
0
0
0
1
0.28125
false
0
0.09375
0.1875
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
404f9651827603750fd425e775fbdfc4cac14e0f
185
py
Python
lib/runtime/runtime.py
chaosotter/python-basic
47028c730fb85a20a34a6d83843fad5b2c5c5a1a
[ "MIT" ]
null
null
null
lib/runtime/runtime.py
chaosotter/python-basic
47028c730fb85a20a34a6d83843fad5b2c5c5a1a
[ "MIT" ]
null
null
null
lib/runtime/runtime.py
chaosotter/python-basic
47028c730fb85a20a34a6d83843fad5b2c5c5a1a
[ "MIT" ]
null
null
null
class Runtime: """Encapsulates the runtime state of execution itself, excluding I/O.""" def __init__(self, program, env): self.program = program self.env = env
26.428571
76
0.648649
23
185
5.043478
0.695652
0.189655
0
0
0
0
0
0
0
0
0
0
0.248649
185
6
77
30.833333
0.834532
0.356757
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
1
0
0
0
0
0
0
0
3
4054468d0b2dc19072eca106626343a654a971cf
2,129
py
Python
bikeshed/refs/RefWrapper.py
saschanaz/bikeshed
fb1e763a4f49852a7dabe8d783c6980416b238ef
[ "CC0-1.0" ]
null
null
null
bikeshed/refs/RefWrapper.py
saschanaz/bikeshed
fb1e763a4f49852a7dabe8d783c6980416b238ef
[ "CC0-1.0" ]
null
null
null
bikeshed/refs/RefWrapper.py
saschanaz/bikeshed
fb1e763a4f49852a7dabe8d783c6980416b238ef
[ "CC0-1.0" ]
null
null
null
import copy import attr from . import utils @attr.s(slots=True) class RefWrapper: # Refs don't contain their own name, so I don't have to copy as much when there are multiple linkTexts # This wraps that, producing an object that looks like it has a text property. # It also makes all the ref dict keys lo...
23.921348
106
0.568342
258
2,129
4.604651
0.329457
0.094276
0.080808
0.09596
0.130471
0.130471
0.130471
0
0
0
0
0
0.292156
2,129
88
107
24.193182
0.788321
0.131517
0
0.283019
0
0
0.055858
0
0
0
0
0.011364
0
1
0.226415
false
0
0.056604
0.113208
0.660377
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
1
0
0
0
1
0
0
0
3
4056b09a076bcb3448852514aeee6343476e8c4f
184
py
Python
c7_7.py
JaneHQ1/Path-to-Python3-v2
2db608447c271b2e3231432ec5886366510ba8fe
[ "MIT" ]
null
null
null
c7_7.py
JaneHQ1/Path-to-Python3-v2
2db608447c271b2e3231432ec5886366510ba8fe
[ "MIT" ]
null
null
null
c7_7.py
JaneHQ1/Path-to-Python3-v2
2db608447c271b2e3231432ec5886366510ba8fe
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Jan 3 15:54:59 2019 @author: janej """ print('name:'+__name__) print('package:'+__package__) print('doc:'+__doc__) print('file:'+__file__)
16.727273
35
0.646739
26
184
3.961538
0.730769
0
0
0
0
0
0
0
0
0
0
0.074074
0.119565
184
10
36
18.4
0.561728
0.402174
0
0
0
0
0.215686
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
1
0
0
0
0
1
0
3
408a7f73bcdb6546000fe0445178f90f53d8d97c
130
py
Python
projectmanager/admin.py
AbhijithGanesh/Django-Custom-Authentication
ea2fdac47eabe09e22de586dc16f0adaedf08b3a
[ "BSD-3-Clause" ]
null
null
null
projectmanager/admin.py
AbhijithGanesh/Django-Custom-Authentication
ea2fdac47eabe09e22de586dc16f0adaedf08b3a
[ "BSD-3-Clause" ]
null
null
null
projectmanager/admin.py
AbhijithGanesh/Django-Custom-Authentication
ea2fdac47eabe09e22de586dc16f0adaedf08b3a
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from .models import * myModels = [Employee, Project, ProjectTask] admin.site.register(myModels)
21.666667
43
0.792308
16
130
6.4375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.115385
130
5
44
26
0.895652
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
408bc45ed3899702296ca65719534341142d3742
128
py
Python
urllib/parse/demo2.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
null
null
null
urllib/parse/demo2.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
3
2021-09-08T01:11:16.000Z
2022-03-02T15:14:03.000Z
urllib/parse/demo2.py
silianpan/seal-spider-demo
23bf013d08f9edaf23823bc3787f579bccd0ec3a
[ "Apache-2.0" ]
1
2019-08-04T09:57:29.000Z
2019-08-04T09:57:29.000Z
from urllib.parse import urlparse result = urlparse('www.baidu.com/index.html;user?id=5#comment', scheme='https') print(result)
32
79
0.773438
20
128
4.95
0.9
0
0
0
0
0
0
0
0
0
0
0.008403
0.070313
128
4
80
32
0.823529
0
0
0
0
0
0.364341
0.325581
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
408f7c0f11b21556bffc014bf94fb40e22121bb4
171
py
Python
settings/production.py
otraczyk/gsevol-web
c0ed1647e55059d0328abbe89d4433f138ba6971
[ "MIT" ]
2
2015-09-10T14:56:04.000Z
2016-09-18T19:25:34.000Z
settings/production.py
otraczyk/gsevol-web
c0ed1647e55059d0328abbe89d4433f138ba6971
[ "MIT" ]
null
null
null
settings/production.py
otraczyk/gsevol-web
c0ed1647e55059d0328abbe89d4433f138ba6971
[ "MIT" ]
null
null
null
from settings.base import * DEBUG = False TEMPLATE_DEBUG = False if os.environ['DJANGO_SETTINGS_MODULE'] == 'settings.production': from settings.celeryapp import *
19
65
0.754386
21
171
6
0.666667
0.190476
0
0
0
0
0
0
0
0
0
0
0.146199
171
8
66
21.375
0.863014
0
0
0
0
0
0.239766
0.128655
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
409366ca4d923b4e448e2625d748ad63b0e626ff
430
py
Python
snmp-collector/core/query/parse_data_details.py
winkemoji/snmp-collector
4a8b027920192d9cba0e969c547ecdc33f3828f6
[ "MIT" ]
1
2021-10-07T15:57:47.000Z
2021-10-07T15:57:47.000Z
snmp-collector/core/query/parse_data_details.py
winkemoji/snmp-collector
4a8b027920192d9cba0e969c547ecdc33f3828f6
[ "MIT" ]
null
null
null
snmp-collector/core/query/parse_data_details.py
winkemoji/snmp-collector
4a8b027920192d9cba0e969c547ecdc33f3828f6
[ "MIT" ]
null
null
null
from core.db.decorator import query @query.delete("delete from parse_data_details") def clear_all(): pass @query.insert("insert into parse_data_details(pid,binding_key,routing_keys,status) values({pid},{binding_key}," "{routing_keys},{status})") def insert_one(pid, binding_key, routing_keys, statu...
26.875
111
0.734884
63
430
4.761905
0.412698
0.09
0.16
0.2
0.546667
0.546667
0.246667
0
0
0
0
0
0.137209
430
16
112
26.875
0.808625
0
0
0.272727
0
0
0.452436
0.24594
0
0
0
0
0
1
0.272727
false
0.272727
0.090909
0
0.363636
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
1
0
0
0
0
0
3
4093a9b5290814a13d3ddfafb91638575f05d1de
2,109
py
Python
firesong/ConvertFlux.py
TGarfield17/FIRESONG
ad9e3688ed88563cfdb81b9f25aaa63850cc99f9
[ "BSD-3-Clause" ]
null
null
null
firesong/ConvertFlux.py
TGarfield17/FIRESONG
ad9e3688ed88563cfdb81b9f25aaa63850cc99f9
[ "BSD-3-Clause" ]
null
null
null
firesong/ConvertFlux.py
TGarfield17/FIRESONG
ad9e3688ed88563cfdb81b9f25aaa63850cc99f9
[ "BSD-3-Clause" ]
null
null
null
import numpy as np def nu_to_gamma(nuFlux, index, interaction): """ Convert the neutrino flux to gamma-ray flux The neutrino flux in GeV cm^-2 s^-1 at a pivot energy of 100 TeV is converted to a gamma-ray flux in TeV^-1 cm^-2 s^-1 at a pivot energy of 1 TeV. There is a factor of 2 difference b...
33.47619
71
0.642959
332
2,109
4.072289
0.25
0.035503
0.023669
0.029586
0.781065
0.760355
0.760355
0.690828
0.690828
0.690828
0
0.047495
0.271219
2,109
62
72
34.016129
0.832141
0.678521
0
0.307692
0
0
0.02963
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.384615
0
0
0
0
null
0
0
0
0
1
1
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
3
40c65c2e1e1474d2363321c13d7e03c0893919e4
147
py
Python
7 kyu_Complete The Pattern # 5 - Even Ladder.py
mwk48/pattern-series
df25d7741eca2d59a06a96dbee0abc30640cc2a7
[ "MIT" ]
null
null
null
7 kyu_Complete The Pattern # 5 - Even Ladder.py
mwk48/pattern-series
df25d7741eca2d59a06a96dbee0abc30640cc2a7
[ "MIT" ]
null
null
null
7 kyu_Complete The Pattern # 5 - Even Ladder.py
mwk48/pattern-series
df25d7741eca2d59a06a96dbee0abc30640cc2a7
[ "MIT" ]
null
null
null
def pattern(n): if n <= 1: return "" res = "" for i in range(1, n//2+1): res += str(i*2)*(i*2)+"\n" return res[:-1]
21
34
0.408163
26
147
2.307692
0.5
0.3
0
0
0
0
0
0
0
0
0
0.073684
0.353742
147
7
35
21
0.557895
0
0
0
0
0
0.013514
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0
1
0
0
null
1
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
3
40d40ed7cf4a14bf795c9bc1283d5db2565d52f2
2,467
py
Python
wellregistry/registry/migrations/0010_registry_updates_20200824.py
ayan-usgs/well_registry_management
cd4d7cd0fb75755499aeadd9083fd5112660fe5d
[ "CC0-1.0" ]
null
null
null
wellregistry/registry/migrations/0010_registry_updates_20200824.py
ayan-usgs/well_registry_management
cd4d7cd0fb75755499aeadd9083fd5112660fe5d
[ "CC0-1.0" ]
null
null
null
wellregistry/registry/migrations/0010_registry_updates_20200824.py
ayan-usgs/well_registry_management
cd4d7cd0fb75755499aeadd9083fd5112660fe5d
[ "CC0-1.0" ]
null
null
null
# The below suppresses pylint message: Module name "*" doesn't conform to snake_case naming style # pylint: disable-msg=C0103 # Enable check for the rest of the file # pylint: enable-msg=C0103 """ # Changes to the Registry model """ # Generated by Django 3.1 on 2020-08-24 19:19 from django.db import migrations, models...
46.54717
246
0.645318
262
2,467
5.946565
0.301527
0.077022
0.096277
0.111682
0.75353
0.75353
0.75353
0.740693
0.536585
0.536585
0
0.023663
0.211998
2,467
52
247
47.442308
0.777778
0.128496
0
0.486486
0
0
0.338201
0.095148
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
0
0
0
0
null
0
0
0
0
1
1
1
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
3
40db0f21a1bb8ccdcbc898d11b339ad7cbb01d2e
411
py
Python
dcov/__init__.py
xiak/dcov
27d31e90602dc7fff9ddd32b8f42837505467d4b
[ "Apache-2.0" ]
null
null
null
dcov/__init__.py
xiak/dcov
27d31e90602dc7fff9ddd32b8f42837505467d4b
[ "Apache-2.0" ]
null
null
null
dcov/__init__.py
xiak/dcov
27d31e90602dc7fff9ddd32b8f42837505467d4b
[ "Apache-2.0" ]
null
null
null
try: from importlib.metadata import version except ImportError: # Importlib.metadata introduced in python 3.8 import pkg_resources def version(package): return pkg_resources.get_distribution(package).version VERSION = version("dcov") DESCRIPTION = "Automatically find diff lines that need test...
29.357143
78
0.77129
49
411
6.387755
0.673469
0.108626
0.178914
0.204473
0.236422
0
0
0
0
0
0
0.005831
0.16545
411
13
79
31.615385
0.906706
0.104623
0
0
0
0
0.306011
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
40e535fcce382596fd39a027f56600d8d099bc56
389
py
Python
handlers/logsHandler.py
DEMON1A/WEngine
ad506e4bd5f65c32acb6eaab0667f45eb118d559
[ "MIT" ]
5
2021-03-30T23:36:03.000Z
2022-02-01T19:25:19.000Z
handlers/logsHandler.py
DEMON1A/WEngine
ad506e4bd5f65c32acb6eaab0667f45eb118d559
[ "MIT" ]
7
2021-04-08T18:53:08.000Z
2021-04-27T07:44:32.000Z
handlers/logsHandler.py
DEMON1A/WEngine
ad506e4bd5f65c32acb6eaab0667f45eb118d559
[ "MIT" ]
1
2021-03-30T23:36:16.000Z
2021-03-30T23:36:16.000Z
from utils.makeResponse import returnHTTPBasicResponse, returnRenderedTemplate from utils.logsController import readLogs from config.settings import PUBLIC_LOGS def Handler(responseHeaders): if PUBLIC_LOGS: return returnHTTPBasicResponse(readLogs(), {"content-type":"text/plain"}, 200) else: ret...
38.9
86
0.77892
39
389
7.717949
0.692308
0.059801
0
0
0
0
0
0
0
0
0
0.026627
0.131105
389
9
87
43.222222
0.863905
0
0
0
0
0
0.131105
0.07455
0
0
0
0
0
1
0.125
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
40f0a24033bd4c648e3da2ff3632e6755c44040e
2,281
py
Python
openshift/installer/vendored/openshift-ansible-3.11.28-1/roles/lib_utils/test/test_sanity_checks.py
fahlmant/openshift-tools
dbb4f16ccde3404c36c23108c45ca7b67138ee12
[ "Apache-2.0" ]
164
2015-07-29T17:35:04.000Z
2021-12-16T16:38:04.000Z
roles/lib_utils/test/test_sanity_checks.py
SupLinux/openshift-ansible
887d6b8f9e2e1b62011e463f6cb211f097e7c5d4
[ "Apache-2.0" ]
3,634
2015-06-09T13:49:15.000Z
2022-03-23T20:55:44.000Z
roles/lib_utils/test/test_sanity_checks.py
SupLinux/openshift-ansible
887d6b8f9e2e1b62011e463f6cb211f097e7c5d4
[ "Apache-2.0" ]
250
2015-06-08T19:53:11.000Z
2022-03-01T04:51:23.000Z
''' Unit tests for wildcard ''' import os import sys MODULE_PATH = os.path.realpath(os.path.join(__file__, os.pardir, os.pardir, 'action_plugins')) sys.path.insert(0, MODULE_PATH) # pylint: disable=import-error,wrong-import-position,missing-docstring from sanity_checks import is_registry_match # noqa: E402 def t...
43.037736
98
0.751425
330
2,281
4.893939
0.224242
0.167183
0.250774
0.16904
0.686068
0.681115
0.613003
0.430341
0.331269
0.242724
0
0.023857
0.117931
2,281
52
99
43.865385
0.778827
0.057431
0
0
0
0
0.301318
0.136535
0
0
0
0
0.657143
1
0.028571
false
0
0.085714
0
0.114286
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
1
0
0
0
0
0
0
0
0
0
3
40f2ae091030dfbc962c4c99cf429ba7dbd2e726
33
py
Python
dalib/vision/__init__.py
xyzhu12/Transfer-Learning-Library
25fa177880b17815c4e0106bc59140bfb906ab35
[ "MIT" ]
109
2016-05-18T16:52:30.000Z
2021-12-22T12:57:31.000Z
dalib/vision/__init__.py
xyzhu12/Transfer-Learning-Library
25fa177880b17815c4e0106bc59140bfb906ab35
[ "MIT" ]
52
2016-06-07T01:15:51.000Z
2022-03-20T02:24:05.000Z
dalib/vision/__init__.py
xyzhu12/Transfer-Learning-Library
25fa177880b17815c4e0106bc59140bfb906ab35
[ "MIT" ]
37
2016-05-18T14:05:03.000Z
2021-11-18T10:09:28.000Z
__all__ = ['datasets', 'models']
16.5
32
0.636364
3
33
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.586207
0
0
0
0
0
0.424242
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
40f77f4f764d1781cddec89080964f7a624ced9e
232
py
Python
db.py
pranavgandhi01/flask_mongodb_doctors_apps
35c19b5fd6bd16a5f0d2d550317b6f17510695ca
[ "MIT" ]
null
null
null
db.py
pranavgandhi01/flask_mongodb_doctors_apps
35c19b5fd6bd16a5f0d2d550317b6f17510695ca
[ "MIT" ]
null
null
null
db.py
pranavgandhi01/flask_mongodb_doctors_apps
35c19b5fd6bd16a5f0d2d550317b6f17510695ca
[ "MIT" ]
null
null
null
MONGODB_SETTINGS = { 'DB': 'Your_DB_Name', 'host': 'localhost', 'port': 27017, } from pymongo import MongoClient client = MongoClient(f'{MONGODB_SETTINGS["host"]}:{MONGODB_SETTINGS["port"]}') db = client.DoctorsDB
29
79
0.668103
26
232
5.769231
0.615385
0.3
0
0
0
0
0
0
0
0
0
0.025773
0.163793
232
8
80
29
0.747423
0
0
0
0
0
0.371681
0.234513
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
0
0
null
1
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
3
40fcfd615ef9ec01c54205a24564d8d7e7356a45
632
py
Python
BlueprintsApp/main/gui/buttons/delete_button.py
PiCodingClub/BlueprintsEdu
f65ad2c3bf6f01acb26660505f6ceded0bee888f
[ "Apache-2.0" ]
null
null
null
BlueprintsApp/main/gui/buttons/delete_button.py
PiCodingClub/BlueprintsEdu
f65ad2c3bf6f01acb26660505f6ceded0bee888f
[ "Apache-2.0" ]
null
null
null
BlueprintsApp/main/gui/buttons/delete_button.py
PiCodingClub/BlueprintsEdu
f65ad2c3bf6f01acb26660505f6ceded0bee888f
[ "Apache-2.0" ]
null
null
null
from gui.buttons.button import Button from utils.string_utils import StringUtils from utils.managers.project_manager import ProjectManager from utils.gui_utils import Themes class DeleteButton(Button): def __init__(self, pos=0): Button.__init__(self, StringUtils.get_string("ID_DELETE"), pos) def on_...
33.263158
73
0.738924
83
632
5.373494
0.445783
0.060538
0.089686
0.098655
0.125561
0
0
0
0
0
0
0.001887
0.161392
632
18
74
35.111111
0.839623
0
0
0
0
0
0.037975
0
0
0
0
0
0
1
0.230769
false
0
0.307692
0
0.615385
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
1
0
1
0
0
3
dc10845c860c3e5654915a4fdee137d771765510
330
py
Python
thonny/plugins/circuitpython/api_stubs/os.py
shreyas202/thonny
ef894c359200b0591cf98451907243395b817c63
[ "MIT" ]
1
2021-06-12T22:24:40.000Z
2021-06-12T22:24:40.000Z
Thonny/Lib/site-packages/thonny/plugins/circuitpython/api_stubs/os.py
Pydiderot/pydiderotIDE
a42fcde3ea837ae40c957469f5d87427e8ce46d3
[ "MIT" ]
30
2019-01-04T10:14:56.000Z
2020-10-12T14:00:31.000Z
Thonny/Lib/site-packages/thonny/plugins/circuitpython/api_stubs/os.py
Pydiderot/pydiderotIDE
a42fcde3ea837ae40c957469f5d87427e8ce46d3
[ "MIT" ]
3
2018-11-24T14:00:30.000Z
2019-07-02T02:32:26.000Z
def chdir(): pass def getcwd(): pass def listdir(): pass def mkdir(): pass def remove(): pass def rename(): pass def rmdir(): pass sep = "/" def stat(): pass def statvfs(): pass def sync(): pass def uname(): pass def unlink(): pass def urandom():...
6.111111
14
0.506061
40
330
4.175
0.4
0.461078
0
0
0
0
0
0
0
0
0
0
0.363636
330
53
15
6.226415
0.795238
0
0
0.481481
0
0
0.00303
0
0
0
0
0
0
1
0.481481
false
0.481481
0
0
0.481481
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
90716433ab2d258eb98d01dba2abcd6bc9239bec
9,082
py
Python
ui/controller.py
ove/ove-asset-manager
34b20ba8b436a5fe5c1561e0c5d98f171a37193f
[ "MIT" ]
null
null
null
ui/controller.py
ove/ove-asset-manager
34b20ba8b436a5fe5c1561e0c5d98f171a37193f
[ "MIT" ]
191
2019-03-01T14:00:57.000Z
2021-06-06T23:01:57.000Z
ui/controller.py
ove/ove-asset-manager
34b20ba8b436a5fe5c1561e0c5d98f171a37193f
[ "MIT" ]
1
2020-01-13T13:07:49.000Z
2020-01-13T13:07:49.000Z
import json from os.path import basename from typing import Dict, List, Any, Union from ui.backend import BackendClient _RESERVED_NAMES = {"list", "validate", "create"} class BackendController: def __init__(self, backend_url: str, launcher_url: str): self._backend = BackendClient(backend_url=backend_url...
56.409938
174
0.661749
1,290
9,082
4.406977
0.099225
0.137731
0.068602
0.094987
0.652595
0.625154
0.568865
0.46051
0.41759
0.385928
0
0.000809
0.18366
9,082
160
175
56.7625
0.765983
0
0
0.067797
0
0
0.093261
0.013653
0
0
0
0
0
1
0.288136
false
0.016949
0.033898
0.186441
0.567797
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
1
0
0
3
9072e3425f6887906cf8cc20309111e7b706af64
2,190
py
Python
python/chisel/mteval/bleu.py
wilkeraziz/chisel
3e23a7c0937bbd56d2dffb1df7594878fb9c75eb
[ "Apache-2.0" ]
1
2017-01-15T01:01:16.000Z
2017-01-15T01:01:16.000Z
python/chisel/mteval/bleu.py
wilkeraziz/chisel
3e23a7c0937bbd56d2dffb1df7594878fb9c75eb
[ "Apache-2.0" ]
null
null
null
python/chisel/mteval/bleu.py
wilkeraziz/chisel
3e23a7c0937bbd56d2dffb1df7594878fb9c75eb
[ "Apache-2.0" ]
null
null
null
""" @author waziz """ import chisel.mteval as mteval import logging from _bleu import BLEU, DecodingBLEU, TrainingBLEU class WrappedBLEU(mteval.LossFunction): def __init__(self, alias): self.alias_ = alias self.bleu_config_ = {} self.decoding_bleu_wrapper_ = None self.training_ble...
31.73913
108
0.666667
253
2,190
5.533597
0.300395
0.045714
0.08
0.082143
0.162143
0.108571
0.065714
0.065714
0.065714
0.065714
0
0.001819
0.247032
2,190
69
109
31.73913
0.84718
0.1621
0
0.054054
0
0
0.084638
0
0
0
0
0
0.027027
1
0.297297
false
0.027027
0.081081
0.135135
0.540541
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
1
0
0
3