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
ce0c1ff014d59c7bc78084b54f0d9d1bc222c3a1
925
py
Python
speakeasyApp/appserializers.py
bertoko/speakeasyandpurge
fbe6dcb2070922df84888c6fe45e7a1f9e8564b6
[ "MIT" ]
null
null
null
speakeasyApp/appserializers.py
bertoko/speakeasyandpurge
fbe6dcb2070922df84888c6fe45e7a1f9e8564b6
[ "MIT" ]
null
null
null
speakeasyApp/appserializers.py
bertoko/speakeasyandpurge
fbe6dcb2070922df84888c6fe45e7a1f9e8564b6
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import CustomUser, Article, Video, Newsletter_users #from models import Subscription, UserProfile from .appserializers import UserSerializer class UserSerializer(serializers.ModelSerializer): class Meta: model = CustomUser fields = ['pk', ...
29.83871
90
0.64973
84
925
7.047619
0.452381
0.175676
0.209459
0.236486
0.27027
0
0
0
0
0
0
0
0.245405
925
30
91
30.833333
0.848138
0.095135
0
0.210526
0
0
0.157764
0.027329
0
0
0
0
0
1
0
false
0
0.105263
0
0.526316
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
ce22cc5bb1dee5fc4f1cf71bfe9106dd3d31fca0
1,031
py
Python
tests/unit/dao/test_db.py
rbarbioni/python-flask-api
b245e167eae6482e80b8b69b33e418eea2b31aff
[ "Apache-2.0" ]
3
2020-07-01T19:42:42.000Z
2021-06-06T00:47:48.000Z
tests/unit/dao/test_db.py
rbarbioni/python-flask-api
b245e167eae6482e80b8b69b33e418eea2b31aff
[ "Apache-2.0" ]
1
2021-04-04T23:45:29.000Z
2021-04-04T23:45:29.000Z
tests/unit/dao/test_db.py
rbarbioni/python-flask-api
b245e167eae6482e80b8b69b33e418eea2b31aff
[ "Apache-2.0" ]
null
null
null
from alchemy_mock.mocking import AlchemyMagicMock from unittest import TestCase from app.dao import db class TestDaoDb(TestCase): def setUp(self): self.session = AlchemyMagicMock() def test_all(self): db.all(self.session, {}) self.assertTrue(self.session.query.called) def test_q...
27.131579
50
0.646945
126
1,031
5.198413
0.214286
0.251908
0.160305
0.267176
0.570992
0.570992
0.516031
0.516031
0.444275
0.444275
0
0
0.215325
1,031
37
51
27.864865
0.809642
0
0
0.222222
0
0
0
0
0
0
0
0
0.259259
1
0.296296
false
0
0.111111
0
0.444444
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
ce2eca8ed9ad8ada8b3316370af58a90836405b3
404
py
Python
skubyBrewCalc.py
JohnSkubic/SkubyBrewCalculator
0e1875ab44cdbd09889d69b30f29939084eda460
[ "MIT" ]
null
null
null
skubyBrewCalc.py
JohnSkubic/SkubyBrewCalculator
0e1875ab44cdbd09889d69b30f29939084eda460
[ "MIT" ]
9
2017-12-20T06:10:59.000Z
2020-05-24T18:49:50.000Z
skubyBrewCalc.py
JohnSkubic/SkubyBrewCalculator
0e1875ab44cdbd09889d69b30f29939084eda460
[ "MIT" ]
null
null
null
#!/usr/bin/python ################################################################################ # # Refer to "LICENSE" for licensing information # # Author: John Skubic # Email: skubicjj@gmail.com # Date: 12/16/17 # # Description: # #############################################################################...
21.263158
80
0.403465
31
404
5
1
0
0
0
0
0
0
0
0
0
0
0.016807
0.116337
404
18
81
22.444444
0.417367
0.344059
0
0
0
0
0.387097
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
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ce3fc0f3f78495ba291993e5c368fcb4f8932bb7
36
py
Python
items.py
rullmann/bundlewrap-lm-sensors
11beda9393caa6731475ce578a4425fa29833334
[ "MIT" ]
null
null
null
items.py
rullmann/bundlewrap-lm-sensors
11beda9393caa6731475ce578a4425fa29833334
[ "MIT" ]
null
null
null
items.py
rullmann/bundlewrap-lm-sensors
11beda9393caa6731475ce578a4425fa29833334
[ "MIT" ]
null
null
null
pkg_dnf = { 'lm_sensors': {}, }
9
21
0.472222
4
36
3.75
1
0
0
0
0
0
0
0
0
0
0
0
0.277778
36
3
22
12
0.576923
0
0
0
0
0
0.277778
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
cbf477a66535ab2c00d5ddcc552c59d7ef374f6d
91
py
Python
week3/4.py
kamorozov/coursera_python
706bc1bc46839f8b3debdf293240ad5ce20c9775
[ "Unlicense" ]
2
2019-05-17T13:42:02.000Z
2019-05-18T04:00:35.000Z
week3/4.py
kamorozov/coursera_python
706bc1bc46839f8b3debdf293240ad5ce20c9775
[ "Unlicense" ]
null
null
null
week3/4.py
kamorozov/coursera_python
706bc1bc46839f8b3debdf293240ad5ce20c9775
[ "Unlicense" ]
2
2019-10-03T09:07:44.000Z
2019-12-28T19:17:20.000Z
price = float(input()) rest = (price - int(price)) * 100 print(int(price), round(rest))
22.75
34
0.626374
13
91
4.384615
0.615385
0.280702
0
0
0
0
0
0
0
0
0
0.039474
0.164835
91
3
35
30.333333
0.710526
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
cbf5256d351a38835775bd4fde664b5cc71105be
2,447
py
Python
planegeometry/algorithms/tests/test_closestpair4.py
ufkapano/planegeometry
fa9309a4e867acedd635665f32d7f59a8eeaf2e3
[ "BSD-3-Clause" ]
null
null
null
planegeometry/algorithms/tests/test_closestpair4.py
ufkapano/planegeometry
fa9309a4e867acedd635665f32d7f59a8eeaf2e3
[ "BSD-3-Clause" ]
null
null
null
planegeometry/algorithms/tests/test_closestpair4.py
ufkapano/planegeometry
fa9309a4e867acedd635665f32d7f59a8eeaf2e3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import unittest from planegeometry.structures.points import Point from planegeometry.algorithms.closestpair4 import ClosestPairSortXY class TestClosestPair(unittest.TestCase): def setUp(self): self.point_list = [Point(2, 8), Point(0, 7), Point(5, 6), Point(4, 3), Point(7, 2...
33.986111
71
0.608092
321
2,447
4.5919
0.199377
0.216418
0.276798
0.358209
0.505427
0.063772
0.031208
0.031208
0
0
0
0.07603
0.225991
2,447
71
72
34.464789
0.702218
0.008173
0
0.036364
0
0
0.003299
0
0
0
0
0
0.090909
1
0.072727
false
0.018182
0.054545
0
0.145455
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
cbf7efb9919caeb8212d682432b4cc1c57dba473
3,071
py
Python
skyportal/tests/api/test_finders.py
bparazin/skyportal
c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56
[ "BSD-3-Clause" ]
52
2018-11-02T00:53:21.000Z
2022-03-08T16:03:52.000Z
skyportal/tests/api/test_finders.py
bparazin/skyportal
c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56
[ "BSD-3-Clause" ]
1,944
2017-04-27T18:51:20.000Z
2022-03-31T20:17:44.000Z
skyportal/tests/api/test_finders.py
bparazin/skyportal
c160610ca0cc28eef9f36c2d11cc15bd9bcbfe56
[ "BSD-3-Clause" ]
63
2017-05-13T01:40:47.000Z
2022-03-12T11:32:11.000Z
import pytest from skyportal.tests import api @pytest.mark.xfail(strict=False) def test_finder(upload_data_token, public_source): status, data = api( "PATCH", f"sources/{public_source.id}", data={"ra": 234.22, "dec": -22.33}, token=upload_data_token, ) assert status == 200...
26.938596
86
0.556171
350
3,071
4.725714
0.242857
0.054414
0.08162
0.084643
0.779323
0.766022
0.708585
0.605804
0.605804
0.605804
0
0.04951
0.302833
3,071
113
87
27.176991
0.723027
0.041029
0
0.690722
0
0
0.213338
0.042531
0
0
0
0
0.175258
1
0.020619
false
0
0.020619
0
0.041237
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
0215f87b46952990e2cbb6dc5da5b2a6b4e1ff8a
1,329
py
Python
challenge_10/python/slandau3/tests.py
rchicoli/2017-challenges
44f0b672e5dea34de1dde131b6df837d462f8e29
[ "Apache-2.0" ]
271
2017-01-01T22:58:36.000Z
2021-11-28T23:05:29.000Z
challenge_10/python/slandau3/tests.py
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
283
2017-01-01T23:26:05.000Z
2018-03-23T00:48:55.000Z
challenge_10/python/slandau3/tests.py
AakashOfficial/2017Challenges
a8f556f1d5b43c099a0394384c8bc2d826f9d287
[ "Apache-2.0" ]
311
2017-01-01T22:59:23.000Z
2021-09-23T00:29:12.000Z
#!/usr/bin/env python3 # @author slandau3 import unittest from closers import valid_closers class Test(unittest.TestCase): def test1(self): self.assertEqual(valid_closers('{{{{{{{{{adfkjaefia}}}}}}}'), False) def test2(self): self.assertEqual(valid_closers('{{{{{{{{{[[[[[[kadfa{{{{{{{((({da...
26.58
137
0.54778
133
1,329
5.345865
0.458647
0.151899
0.213783
0.270042
0.447257
0.185654
0.185654
0
0
0
0
0.009643
0.219714
1,329
50
138
26.58
0.675988
0.066968
0
0
0
0
0.216478
0.174475
0
0
0
0
0.25
1
0.28125
false
0
0.0625
0
0.375
0.03125
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
0230d93e9bc25deb35058d26f461cdade4ffcb1e
153
py
Python
base/models.py
hshinf/Restaurant-Roulette
221f354c47b166517df55bb8a4e586469e50b433
[ "MIT" ]
null
null
null
base/models.py
hshinf/Restaurant-Roulette
221f354c47b166517df55bb8a4e586469e50b433
[ "MIT" ]
null
null
null
base/models.py
hshinf/Restaurant-Roulette
221f354c47b166517df55bb8a4e586469e50b433
[ "MIT" ]
null
null
null
from django.db import models class Restrandom(models.Model): name = models.CharField(max_length=50) visit_count = models.IntegerField(default=0)
30.6
48
0.771242
21
153
5.52381
0.857143
0
0
0
0
0
0
0
0
0
0
0.022556
0.130719
153
5
48
30.6
0.849624
0
0
0
0
0
0
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
0240e11500d86acdb48f0ed49c3dbc041fb22919
456
py
Python
0x03-caching/2-main.py
JoseAVallejo12/holbertonschool-web_back_end
eb514784772352b8e4873d1f648726815ab69592
[ "MIT" ]
null
null
null
0x03-caching/2-main.py
JoseAVallejo12/holbertonschool-web_back_end
eb514784772352b8e4873d1f648726815ab69592
[ "MIT" ]
null
null
null
0x03-caching/2-main.py
JoseAVallejo12/holbertonschool-web_back_end
eb514784772352b8e4873d1f648726815ab69592
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ 2-main """ LIFOCache = __import__('2-lifo_cache').LIFOCache my_cache = LIFOCache() my_cache.put("A", "Hello") my_cache.put("B", "World") my_cache.put("C", "Holberton") my_cache.put("D", "School") my_cache.print_cache() my_cache.put("E", "Battery") my_cache.print_cache() my_cache.put("C", "Street...
24
48
0.70614
75
456
3.973333
0.373333
0.328859
0.268456
0.285235
0.362416
0.362416
0.362416
0
0
0
0
0.007092
0.072368
456
18
49
25.333333
0.6974
0.054825
0
0.333333
0
0
0.183962
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.333333
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
026271b9a7d82b677b7e5d215317ed93290b26fd
641
py
Python
magic method.py
PMinThant/My-Python
fbcd6906e442c0d7b42a93c366ec608de9fb402e
[ "MIT" ]
null
null
null
magic method.py
PMinThant/My-Python
fbcd6906e442c0d7b42a93c366ec608de9fb402e
[ "MIT" ]
null
null
null
magic method.py
PMinThant/My-Python
fbcd6906e442c0d7b42a93c366ec608de9fb402e
[ "MIT" ]
null
null
null
class add: def __init__(self,x): self.x = x def __add__(self,other): return add (self.x+other) fi = add(8)+8 print (fi.x) class sub: def __init__(self,y): self.y = y def __sub__(self,other): return sub (self.y-other) su = sub(9)-7 print(su.y) cla...
16.025
35
0.531981
100
641
3.09
0.23
0.090615
0.142395
0
0
0
0
0
0
0
0
0.018561
0.327613
641
39
36
16.435897
0.698376
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0268658b7214860ae4592decb50886fc770cee01
2,570
py
Python
test/test_plugins/test_image.py
brandoncruz3/limbo
eb271236606abd00086cb3386e0f2a31205e2d0e
[ "MIT" ]
369
2015-02-24T05:35:22.000Z
2021-11-12T11:26:27.000Z
test/test_plugins/test_image.py
brandoncruz3/limbo
eb271236606abd00086cb3386e0f2a31205e2d0e
[ "MIT" ]
124
2015-02-24T03:13:44.000Z
2022-02-08T15:04:08.000Z
test/test_plugins/test_image.py
brandoncruz3/limbo
eb271236606abd00086cb3386e0f2a31205e2d0e
[ "MIT" ]
157
2015-02-28T16:33:16.000Z
2022-03-01T22:36:12.000Z
# -*- coding: UTF-8 -*- import json import os import sys import limbo import vcr DIR = os.path.dirname(os.path.realpath(__file__)) sys.path.insert(0, os.path.join(DIR, '../../limbo/plugins')) from image import on_message # The set of valid images given the bananas fixture bananas_images = [u'https://cdn.mos.cms.fut...
71.388889
1,644
0.768093
379
2,570
5.118734
0.601583
0.040206
0.013918
0.016495
0.083505
0.083505
0.057732
0.057732
0.057732
0.057732
0
0.13897
0.070428
2,570
35
1,645
73.428571
0.673085
0.044747
0
0.083333
0
0.416667
0.702162
0.026112
0
0
0
0
0.041667
1
0.125
false
0
0.25
0.041667
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
027ceb019933c5348db64a6d84f6a1e965dde3bc
395
py
Python
98-Validate-Binary-Search-Tree/solution.py
alfmunny/leetcode
e35d2164c7e6e66410309fe1667ceab5a7689bef
[ "MIT" ]
null
null
null
98-Validate-Binary-Search-Tree/solution.py
alfmunny/leetcode
e35d2164c7e6e66410309fe1667ceab5a7689bef
[ "MIT" ]
null
null
null
98-Validate-Binary-Search-Tree/solution.py
alfmunny/leetcode
e35d2164c7e6e66410309fe1667ceab5a7689bef
[ "MIT" ]
null
null
null
class Solution: def isValidBST(self, root): return self.isValidBSTBound(root, -sys.maxsize, sys.maxisze) def isValidBSTBound(self, root, lb, hb): if not root: return True if lb < root.val < hb: return self.isValidBSTBound(root.left, lb, root.val) and self.isVali...
30.384615
115
0.612658
49
395
4.938776
0.44898
0.235537
0.285124
0.239669
0
0
0
0
0
0
0
0
0.288608
395
12
116
32.916667
0.86121
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.1
0.7
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
5a0369355b87d17d38b0ebea8009ca918944e3ad
239
py
Python
analyticsclient/tests/test_course_totals.py
annagav/edx-analytics-data-api-client
d26891b53be18490aff4e2d38a5c80efbf00626f
[ "Apache-2.0" ]
null
null
null
analyticsclient/tests/test_course_totals.py
annagav/edx-analytics-data-api-client
d26891b53be18490aff4e2d38a5c80efbf00626f
[ "Apache-2.0" ]
4
2015-11-19T20:15:39.000Z
2019-03-19T18:15:49.000Z
analyticsclient/tests/test_course_totals.py
Stanford-Online/edx-analytics-data-api-client
8901e59e02bb30b8b604e274a39439dc3f71aa8b
[ "Apache-2.0" ]
null
null
null
from analyticsclient.tests import ClientTestCase, APIWithPostableIDsTestCase class CourseTotalsTests(APIWithPostableIDsTestCase, ClientTestCase): endpoint = 'course_totals' id_field = 'course_ids' other_params = frozenset()
26.555556
76
0.803347
20
239
9.4
0.85
0
0
0
0
0
0
0
0
0
0
0
0.133891
239
8
77
29.875
0.908213
0
0
0
0
0
0.096234
0
0
0
0
0
0
1
0
false
0
0.2
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
5a10f0f763adba9ee183b58edab8fb52c1812444
635
py
Python
ArubaCloud/Compute/LoadBalancer/Models/__init__.py
luigidacunto/pyArubaCloud
0aa4a558739fdfd9ad93e33b5290fb0ad219e9a2
[ "Apache-2.0" ]
39
2016-01-27T17:42:33.000Z
2021-09-28T08:03:32.000Z
ArubaCloud/Compute/LoadBalancer/Models/__init__.py
luigidacunto/pyArubaCloud
0aa4a558739fdfd9ad93e33b5290fb0ad219e9a2
[ "Apache-2.0" ]
33
2016-01-13T15:52:18.000Z
2021-04-05T17:00:21.000Z
ArubaCloud/Compute/LoadBalancer/Models/__init__.py
luigidacunto/pyArubaCloud
0aa4a558739fdfd9ad93e33b5290fb0ad219e9a2
[ "Apache-2.0" ]
31
2015-11-05T14:12:59.000Z
2022-03-24T08:27:15.000Z
from LoadBalancerAlgorithmType import LoadBalancerAlgorithmType from LoadBalancerProtocol import LoadBalancerProtocol from LoadBalancerStatus import LoadBalancerStatus from NewLoadBalancerRule import NewLoadBalancerRule from NotificationContact import NotificationContact from NotificationContacts import NotificationCon...
48.846154
108
0.861417
46
635
11.804348
0.26087
0
0
0
0
0
0
0
0
0
0
0
0.092913
635
12
109
52.916667
0.942708
0
0
0
0
0
0.23622
0.03937
0
0
0
0
0
1
0
false
0
0.818182
0
0.818182
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5a5ecdca1df864b3fc0724f32c980455f7f3a662
163
py
Python
email_normalizer/base.py
iorlandini/python-email-normalizer
90fca84fca8bffa4b4aea194b9bfc5e97d9e42ee
[ "MIT" ]
2
2016-09-24T00:10:50.000Z
2018-07-11T07:29:42.000Z
email_normalizer/base.py
iorlandini/python-email-normalizer
90fca84fca8bffa4b4aea194b9bfc5e97d9e42ee
[ "MIT" ]
null
null
null
email_normalizer/base.py
iorlandini/python-email-normalizer
90fca84fca8bffa4b4aea194b9bfc5e97d9e42ee
[ "MIT" ]
3
2016-09-28T17:02:07.000Z
2020-10-09T23:32:06.000Z
# encoding: utf-8 class BaseNormalizer(object): domains = [] @classmethod def normalize(cls, local_part, domain): raise NotImplementedError
16.3
43
0.674847
16
163
6.8125
1
0
0
0
0
0
0
0
0
0
0
0.008
0.233129
163
9
44
18.111111
0.864
0.092025
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
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
0
0
1
0
0
3
5a75bcae8d09dad5f84199d1814dde4548611ddf
506
py
Python
omgwords-agent/facades/user_permissions.py
ddugovic/omgwords-agent
4f9b7632a3c6e10985b77de9f91ce323857b4ec2
[ "MIT" ]
null
null
null
omgwords-agent/facades/user_permissions.py
ddugovic/omgwords-agent
4f9b7632a3c6e10985b77de9f91ce323857b4ec2
[ "MIT" ]
null
null
null
omgwords-agent/facades/user_permissions.py
ddugovic/omgwords-agent
4f9b7632a3c6e10985b77de9f91ce323857b4ec2
[ "MIT" ]
null
null
null
from ..util import lazy class UserPermissions: REVIEW_QUALIFIERS = "omgwords-agent.change_qualifier" def __init__(self, user): self.user = user @lazy def auth_user(self): if (self.user and hasattr(self.user, "website_user") and hasattr(self.user.website_user, "auth_use...
29.764706
93
0.683794
68
506
4.838235
0.397059
0.145897
0.136778
0.173252
0.294833
0.294833
0.18845
0
0
0
0
0
0.22332
506
16
94
31.625
0.83715
0
0
0
0
0
0.102767
0.061265
0
0
0
0
0
1
0.25
false
0
0.083333
0.083333
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
ce4cd8c2e690f7606295dd7e3fd6caa46097ac93
1,778
py
Python
ros/src/twist_controller/twist_controller.py
silodiq/CarND-Capstone
a8b12e2033eed852d0cd219f5631ce575b3c4964
[ "MIT" ]
null
null
null
ros/src/twist_controller/twist_controller.py
silodiq/CarND-Capstone
a8b12e2033eed852d0cd219f5631ce575b3c4964
[ "MIT" ]
11
2020-01-28T22:50:45.000Z
2022-03-11T23:50:55.000Z
ros/src/twist_controller/twist_controller.py
silodiq/CarND-Capstone
a8b12e2033eed852d0cd219f5631ce575b3c4964
[ "MIT" ]
null
null
null
import rospy GAS_DENSITY = 2.858 ONE_MPH = 0.44704 class Controller(object): def __init__(self, yaw_controller, pid_controller, low_pass_filter, vehicle_mass, fuel_capacity, wheel_radius): # TODO: Implement self.yaw_controller = yaw_controller self.pid_controller = pid_controller sel...
34.862745
115
0.663667
211
1,778
5.308057
0.341232
0.064286
0.046429
0.041071
0.046429
0
0
0
0
0
0
0.016781
0.262655
1,778
50
116
35.56
0.837529
0.119235
0
0.058824
0
0
0
0
0
0
0
0.02
0
0
null
null
0.117647
0.029412
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
ce52e037e4f481f082faf6a7cee2bc047a121719
204
py
Python
Networking/Packets/Outgoing/CancelTradePacket.py
henriquelino/pyrelay
b448cca3accc9a566616b756a03958ba096a5ebf
[ "MIT" ]
26
2020-07-24T05:47:02.000Z
2022-03-31T16:03:13.000Z
Networking/Packets/Outgoing/CancelTradePacket.py
henriquelino/pyrelay
b448cca3accc9a566616b756a03958ba096a5ebf
[ "MIT" ]
17
2020-07-27T08:11:19.000Z
2022-03-29T05:26:16.000Z
Networking/Packets/Outgoing/CancelTradePacket.py
henriquelino/pyrelay
b448cca3accc9a566616b756a03958ba096a5ebf
[ "MIT" ]
16
2021-01-20T14:30:37.000Z
2022-03-18T05:31:51.000Z
class CancelTradePacket: def __init__(self): self.type = "CANCELTRADE" self.objectId = 0 def write(self, writer): pass def read(self, reader): pass
18.545455
34
0.54902
21
204
5.142857
0.666667
0
0
0
0
0
0
0
0
0
0
0.007692
0.362745
204
10
35
20.4
0.823077
0
0
0.25
0
0
0.056701
0
0
0
0
0
0
1
0.375
false
0.25
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
ce8e2f335198de44b749c49d20c08b9821ea8f6d
74
py
Python
exercicios/PycharmProjects/exepython/ex002.py
Ojhowribeiro/PythonProjects
a058c0e090a7b96714bbd942c5c03664e4f3744f
[ "MIT" ]
null
null
null
exercicios/PycharmProjects/exepython/ex002.py
Ojhowribeiro/PythonProjects
a058c0e090a7b96714bbd942c5c03664e4f3744f
[ "MIT" ]
null
null
null
exercicios/PycharmProjects/exepython/ex002.py
Ojhowribeiro/PythonProjects
a058c0e090a7b96714bbd942c5c03664e4f3744f
[ "MIT" ]
null
null
null
nome = input('what is your name?') print ('bem vindo, {}!'.format(nome))
18.5
37
0.621622
11
74
4.181818
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.148649
74
3
38
24.666667
0.730159
0
0
0
0
0
0.432432
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
ceb1a43e2242fb7c5e9f6b9b6588a5021173b71a
1,483
py
Python
qcore/uncertainties/magnitude_scaling/strasser_2010.py
QuakeKorea/qcore
725811947504514a16188bd1f7fba471ead211d1
[ "MIT" ]
1
2020-10-01T10:36:09.000Z
2020-10-01T10:36:09.000Z
qcore/uncertainties/magnitude_scaling/strasser_2010.py
QuakeKorea/qcore
725811947504514a16188bd1f7fba471ead211d1
[ "MIT" ]
38
2018-08-01T04:25:24.000Z
2022-03-08T23:37:53.000Z
qcore/uncertainties/magnitude_scaling/strasser_2010.py
QuakeKorea/qcore
725811947504514a16188bd1f7fba471ead211d1
[ "MIT" ]
1
2019-10-17T21:44:14.000Z
2019-10-17T21:44:14.000Z
import numpy as np def strasser_interface_bounds(func): def inner(mw): if mw < 6.3 or mw > 9.4: raise ValueError("Magnitude out of range for model [6.3, 9.4]") return func(mw) return inner def strasser_slab_bounds(func): def inner(mw): if mw < 5.9 or mw > 7.8: ...
21.492754
75
0.656777
243
1,483
3.798354
0.246914
0.091008
0.071506
0.084507
0.72481
0.627302
0.463705
0.294691
0.15818
0
0
0.128722
0.229939
1,483
68
76
21.808824
0.67951
0.098449
0
0.342857
0
0
0.092549
0
0
0
0
0
0
1
0.314286
false
0
0.028571
0.114286
0.657143
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
ceb67d92254cf4fee9f2125374201244438555e4
111
py
Python
ci/tests.py
selfsryo/django_github_actions_test
067bfd85a4aec905f8e47455cc9348be78cb4e94
[ "MIT" ]
null
null
null
ci/tests.py
selfsryo/django_github_actions_test
067bfd85a4aec905f8e47455cc9348be78cb4e94
[ "MIT" ]
null
null
null
ci/tests.py
selfsryo/django_github_actions_test
067bfd85a4aec905f8e47455cc9348be78cb4e94
[ "MIT" ]
null
null
null
from django.test import TestCase class TestCi(TestCase): def test(self): self.assertEqual(1, 1)
13.875
32
0.675676
15
111
5
0.733333
0
0
0
0
0
0
0
0
0
0
0.023256
0.225225
111
7
33
15.857143
0.848837
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.75
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
cec65032eef5b42c85d7f7749755f123a1378701
149
py
Python
test.py
dairiki/python-inifile
3e688eeaaef42d0df628e4a5eea39ece548b3d03
[ "BSD-3-Clause" ]
32
2015-01-01T06:49:53.000Z
2022-03-27T20:32:58.000Z
test.py
dairiki/python-inifile
3e688eeaaef42d0df628e4a5eea39ece548b3d03
[ "BSD-3-Clause" ]
11
2015-12-26T20:13:33.000Z
2022-01-29T19:48:28.000Z
test.py
dairiki/python-inifile
3e688eeaaef42d0df628e4a5eea39ece548b3d03
[ "BSD-3-Clause" ]
11
2015-09-05T14:56:47.000Z
2022-01-06T10:46:23.000Z
from inifile import IniFile i = IniFile('hello.ini') i['foo.bar'] = 'testing more stuff' i['foo.mup'] = 'aha!' print i.get_updated_lines() i.save()
18.625
35
0.677852
25
149
3.96
0.72
0.080808
0
0
0
0
0
0
0
0
0
0
0.127517
149
7
36
21.285714
0.761538
0
0
0
0
0
0.302013
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
ced0425ce9ff35c7a2fa7929c0bbe6930246494b
31,151
py
Python
problem6.py
thatguyandy27/advent-of-code-2016
1648e405bdcf300220efb611f967055c2a24ca61
[ "MIT" ]
null
null
null
problem6.py
thatguyandy27/advent-of-code-2016
1648e405bdcf300220efb611f967055c2a24ca61
[ "MIT" ]
null
null
null
problem6.py
thatguyandy27/advent-of-code-2016
1648e405bdcf300220efb611f967055c2a24ca61
[ "MIT" ]
null
null
null
triangles = [] formatted_triangles = [] def format_triangles(): triangle_count = len(triangles) index = 0 while index < triangle_count: formatted_triangles.append([triangles[index], triangles[index + 3], triangles[index + 6]]) formatted_triangles.append([triangles[index + 1], triangles[index + 4], trian...
19.087623
98
0.465282
4,892
31,151
2.957277
0.206664
0.009677
0.004977
0.006843
0.00788
0
0
0
0
0
0
0.720551
0.377837
31,151
1,631
99
19.099326
0.025902
0
0
0
0
0
0.000257
0
0
0
0
0
0
0
null
null
0
0
null
null
0.000617
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
cedeae18c4f36d97afd55910f6eef8f2fd45c568
215
py
Python
framework/src/OEA_Examples.py
dochines/OpenEduAnalytics
a1882dec7ad8e1606b88a8042dcf95d5c03b42dc
[ "CC-BY-4.0", "MIT" ]
74
2021-01-20T18:51:34.000Z
2022-03-29T03:05:55.000Z
framework/src/OEA_Examples.py
dochines/OpenEduAnalytics
a1882dec7ad8e1606b88a8042dcf95d5c03b42dc
[ "CC-BY-4.0", "MIT" ]
26
2020-12-09T22:13:43.000Z
2022-03-14T18:58:57.000Z
framework/src/OEA_Examples.py
dochines/OpenEduAnalytics
a1882dec7ad8e1606b88a8042dcf95d5c03b42dc
[ "CC-BY-4.0", "MIT" ]
37
2021-02-11T17:53:16.000Z
2022-03-10T08:33:28.000Z
def create_sample_data(): new_rows = [('CA',22, 45000),("WA",35,65000) ,("WA",50,85000)] demo_df = spark.createDataFrame(new_rows, ['state', 'age', 'salary']) demo_df.show() #create_sample_data()
30.714286
74
0.623256
30
215
4.2
0.733333
0.190476
0.253968
0
0
0
0
0
0
0
0
0.116022
0.15814
215
6
75
35.833333
0.580111
0.093023
0
0
0
0
0.106952
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
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
1
0
0
0
0
0
0
0
3
cedfbfa364a7c042d1907284aa063d9a2300ed96
134
py
Python
toy-conslaw/__init__.py
IanHawke/toy-conslaw
bb93a62f39f4fb4f770bd4ca15105967adf03663
[ "MIT" ]
5
2019-05-27T18:13:45.000Z
2021-01-06T09:42:28.000Z
toy-amr/__init__.py
IanHawke/toy-amr
1f616791993ccd83cc6034616c08e09fa4ba310d
[ "MIT" ]
1
2019-10-21T13:34:48.000Z
2019-12-11T22:11:17.000Z
toy-conslaw/__init__.py
IanHawke/toy-conslaw
bb93a62f39f4fb4f770bd4ca15105967adf03663
[ "MIT" ]
2
2019-05-08T18:00:36.000Z
2021-05-27T16:57:57.000Z
__all__ = ["simulation", "rk", "bcs", "flux_functions", "grid", "methods", "slope_limiting", "weno"] from . import models
33.5
74
0.604478
14
134
5.357143
1
0
0
0
0
0
0
0
0
0
0
0
0.19403
134
3
75
44.666667
0.694444
0
0
0
0
0
0.432836
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
0c9465d13c1b680794656cd6e675112a5f06983e
3,402
py
Python
natlas-server/app/models/user.py
pryorda/natlas
048b5597c0ad77d1a95eadf8859e1122a9eb3d3a
[ "Apache-2.0" ]
null
null
null
natlas-server/app/models/user.py
pryorda/natlas
048b5597c0ad77d1a95eadf8859e1122a9eb3d3a
[ "Apache-2.0" ]
8
2020-08-10T08:49:20.000Z
2020-09-27T12:17:16.000Z
natlas-server/app/models/user.py
pryorda/natlas
048b5597c0ad77d1a95eadf8859e1122a9eb3d3a
[ "Apache-2.0" ]
null
null
null
from email_validator import validate_email, EmailNotValidError from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin from app import login, db from app.models.dict_serializable import DictSerializable from app.models.token_validation import validate_token import sec...
36.191489
87
0.700176
434
3,402
5.260369
0.269585
0.056943
0.048182
0.029785
0.143671
0.116513
0.031537
0
0
0
0
0.009709
0.212816
3,402
93
88
36.580645
0.842793
0.026749
0
0.090909
1
0
0.017533
0
0
0
0
0
0
1
0.142857
false
0.233766
0.103896
0.038961
0.61039
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
0cae02e75c43658706203fdce8f4b5978af78d6c
520
py
Python
layers/poky/meta/lib/oeqa/core/tests/cases/oetag.py
dtischler/px30-test
55dce0b7aff1c4a7dea3ac94f94cc9c67fba7c9f
[ "Apache-2.0" ]
53
2018-02-28T08:51:32.000Z
2022-02-28T06:49:23.000Z
layers/poky/meta/lib/oeqa/core/tests/cases/oetag.py
dtischler/px30-test
55dce0b7aff1c4a7dea3ac94f94cc9c67fba7c9f
[ "Apache-2.0" ]
27
2018-01-25T00:26:53.000Z
2020-08-09T05:20:04.000Z
layers/poky/meta/lib/oeqa/core/tests/cases/oetag.py
dtischler/px30-test
55dce0b7aff1c4a7dea3ac94f94cc9c67fba7c9f
[ "Apache-2.0" ]
51
2018-02-21T04:46:08.000Z
2022-03-02T04:20:41.000Z
# Copyright (C) 2016 Intel Corporation # Released under the MIT license (see COPYING.MIT) from oeqa.core.case import OETestCase from oeqa.core.decorator.oetag import OETestTag class TagTest(OETestCase): @OETestTag('goodTag') def testTagGood(self): self.assertTrue(True, msg='How is this possible?') ...
27.368421
58
0.703846
66
520
5.545455
0.560606
0.065574
0.147541
0.180328
0.344262
0.344262
0.344262
0.344262
0.344262
0
0
0.009434
0.184615
520
18
59
28.888889
0.853774
0.163462
0
0.272727
0
0
0.180556
0
0
0
0
0
0.272727
1
0.272727
false
0
0.181818
0
0.545455
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
0cc81c3dda931987d64e2d4d7c90a91dfec9d592
331
py
Python
challenges/c11.py
GunshipPenguin/prospector
fd760dd7f8eff684aa9022cc6c5a8febfaba3ebd
[ "MIT" ]
null
null
null
challenges/c11.py
GunshipPenguin/prospector
fd760dd7f8eff684aa9022cc6c5a8febfaba3ebd
[ "MIT" ]
1
2017-01-21T22:54:37.000Z
2017-01-21T22:54:37.000Z
challenges/c11.py
GunshipPenguin/prospector
fd760dd7f8eff684aa9022cc6c5a8febfaba3ebd
[ "MIT" ]
null
null
null
from challenge import Challenge import flask class c11(Challenge): ''' Challenge 11 Win screen ''' def __init__(self): super() self._id = '0aaeb7a4cf49f562b6c806f70f3aff98ecf6353c' self._hints = {} def get_response(self, app): return app.send_static_file('c11/in...
19.470588
61
0.640483
35
331
5.8
0.714286
0.147783
0
0
0
0
0
0
0
0
0
0.110204
0.259819
331
16
62
20.6875
0.718367
0.069486
0
0
0
0
0.1875
0.138889
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
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
0ce338c23a56443ff70ee34c8a095f18d90b5f91
60
py
Python
dynv6_ddns_app.py
RafaelJVicente/dynv6_ddns
5034146e556e0a640ad476717a85bbe934718a39
[ "MIT" ]
null
null
null
dynv6_ddns_app.py
RafaelJVicente/dynv6_ddns
5034146e556e0a640ad476717a85bbe934718a39
[ "MIT" ]
null
null
null
dynv6_ddns_app.py
RafaelJVicente/dynv6_ddns
5034146e556e0a640ad476717a85bbe934718a39
[ "MIT" ]
null
null
null
from dynv6_ddns.client import Cli c = Cli() c.update_ipv4()
15
33
0.75
11
60
3.909091
0.818182
0.186047
0
0
0
0
0
0
0
0
0
0.038462
0.133333
60
3
34
20
0.788462
0
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
0b30eb9c6c8356cbc9e1fdbc687645b2e7674655
89
py
Python
notebooks/_solutions/case2_biodiversity_analysis36.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
65
2017-03-21T09:15:40.000Z
2022-02-01T23:43:08.000Z
notebooks/_solutions/case2_biodiversity_analysis36.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
100
2016-12-15T03:44:06.000Z
2022-03-07T08:14:07.000Z
notebooks/_solutions/case2_biodiversity_analysis36.py
rprops/Python_DS-WS
b2fc449a74be0c82863e5fcf1ddbe7d64976d530
[ "BSD-3-Clause" ]
52
2016-12-19T07:48:52.000Z
2022-02-19T17:53:48.000Z
non_rodent_species = survey_data[survey_data['taxa'].isin(['Rabbit', 'Bird', 'Reptile'])]
89
89
0.730337
12
89
5.083333
0.833333
0.327869
0
0
0
0
0
0
0
0
0
0
0.044944
89
1
89
89
0.717647
0
0
0
0
0
0.233333
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
0b39cc1f40fc2182904d18076da673e33cdef770
752
py
Python
pytglib/api/functions/delete_profile_photo.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/functions/delete_profile_photo.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/functions/delete_profile_photo.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class DeleteProfilePhoto(Object): """ Deletes a profile photo. If something changes, updateUser will be sent Attributes: ID (:obj:`str`): ``DeleteProfilePhoto`` Args: profile_photo_id (:obj:`int`): Identifier of the profile photo to delete ...
22.787879
75
0.636968
84
752
5.488095
0.535714
0.234273
0.212581
0.078091
0
0
0
0
0
0
0
0
0.261968
752
32
76
23.5
0.830631
0.371011
0
0
0
0
0.124105
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.6
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0b3d740fc78533f003028497d191066fdb6f83ad
1,005
py
Python
projeto/app/serializers.py
ThiagoSilva20/project
3238ce2223d0c79f50e35c70b73e0686ed965e55
[ "MIT" ]
1
2022-02-21T17:39:29.000Z
2022-02-21T17:39:29.000Z
projeto/app/serializers.py
ThiagoSilva20/project
3238ce2223d0c79f50e35c70b73e0686ed965e55
[ "MIT" ]
null
null
null
projeto/app/serializers.py
ThiagoSilva20/project
3238ce2223d0c79f50e35c70b73e0686ed965e55
[ "MIT" ]
null
null
null
from .models import Rede, Pessoa, Loja, Produto, ListaDeProdutos,Venda from rest_framework import serializers class RedeSerializer(serializers.ModelSerializer): class Meta: model = Rede fields = ['id', 'nome_rede', 'cnpj'] class PessoaSerializer(serializers.ModelSerializer): class Meta: ...
37.222222
70
0.666667
95
1,005
7.010526
0.357895
0.234234
0.279279
0.315315
0.36036
0
0
0
0
0
0
0
0.206965
1,005
27
71
37.222222
0.835634
0
0
0.230769
0
0
0.129225
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.538462
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
0b49cced9539a25431f182db5b1e6e62fe733774
1,298
py
Python
main/models.py
genderquery/what-should-we-watch-django
2c712bf4e3d4587fb946bf19a9d45669577148c6
[ "MIT" ]
null
null
null
main/models.py
genderquery/what-should-we-watch-django
2c712bf4e3d4587fb946bf19a9d45669577148c6
[ "MIT" ]
null
null
null
main/models.py
genderquery/what-should-we-watch-django
2c712bf4e3d4587fb946bf19a9d45669577148c6
[ "MIT" ]
null
null
null
from django.contrib.sessions.models import Session from django.db import models from django.utils.translation import gettext as _ import nanoid def generate_code(): return nanoid.generate(alphabet='ABCDEFGHIJKLMNOPQRSTUVWXYZ', size=4) class Party(models.Model): # TODO deal with collisions and drop old part...
28.217391
73
0.6849
153
1,298
5.614379
0.437909
0.041909
0.048894
0.073341
0.123399
0.123399
0.086147
0
0
0
0
0.003839
0.197227
1,298
46
74
28.217391
0.820537
0.035439
0
0.125
1
0
0.090328
0.020783
0
0
0
0.021739
0
1
0.09375
false
0
0.125
0.09375
0.71875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
0b54d66da32e5c3d0d514c91d9a33510454a85b6
2,316
py
Python
opsmop/client/user_defaults.py
doebi/opsmop
58ac1c812e4f22dad9515b880c1f69f1c5f5b8cf
[ "Apache-2.0" ]
null
null
null
opsmop/client/user_defaults.py
doebi/opsmop
58ac1c812e4f22dad9515b880c1f69f1c5f5b8cf
[ "Apache-2.0" ]
null
null
null
opsmop/client/user_defaults.py
doebi/opsmop
58ac1c812e4f22dad9515b880c1f69f1c5f5b8cf
[ "Apache-2.0" ]
null
null
null
import os import toml from opsmop.core.common import memoize LOCAL_CONFIG = "~/.opsmop/defaults.toml" GLOBAL_CONFIG = "/etc/opsmop/defaults.toml" DEFAULT_SSH_USERNAME = 'opsmop' DEFAULT_SSH_PASSWORD = 'opsmop' DEFAULT_SUDO_USERNAME = 'root' DEFAULT_SUDO_PASSWORD = None DEFAULT_SSH_CHECK_HOST_KEYS = 'ignore' class ...
28.243902
86
0.648964
284
2,316
5.105634
0.31338
0.096552
0.066207
0.044138
0.182759
0.064828
0.064828
0.064828
0.064828
0.064828
0
0.005172
0.248705
2,316
81
87
28.592593
0.828161
0.09456
0
0.278689
0
0
0.116157
0.022945
0
0
0
0
0
1
0.180328
false
0.098361
0.04918
0.114754
0.508197
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
0b79a04090f0e91bc8b0359ba6cce5acc19b03fc
275
py
Python
question_bank/divisor-game/divisor-game.py
yatengLG/leetcode-python
5d48aecb578c86d69835368fad3d9cc21961c226
[ "Apache-2.0" ]
9
2020-08-12T10:01:00.000Z
2022-01-05T04:37:48.000Z
question_bank/divisor-game/divisor-game.py
yatengLG/leetcode-python
5d48aecb578c86d69835368fad3d9cc21961c226
[ "Apache-2.0" ]
1
2021-02-16T10:19:31.000Z
2021-02-16T10:19:31.000Z
question_bank/divisor-game/divisor-game.py
yatengLG/leetcode-python
5d48aecb578c86d69835368fad3d9cc21961c226
[ "Apache-2.0" ]
4
2020-08-12T10:13:31.000Z
2021-11-05T01:26:58.000Z
# -*- coding: utf-8 -*- # @Author : LG """ 执行用时:44 ms, 在所有 Python3 提交中击败了56.79% 的用户 内存消耗:13.7 MB, 在所有 Python3 提交中击败了25.00% 的用户 解题思路: 以极限情况,按每次取1来解。 以偶数开始,若爱丽丝先选必赢 以奇数来选,爱丽丝必输 """ class Solution: def divisorGame(self, N: int) -> bool: return N%2 ==0
18.333333
42
0.610909
41
275
4.097561
0.902439
0.119048
0
0
0
0
0
0
0
0
0
0.090047
0.232727
275
15
43
18.333333
0.706161
0.654545
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
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
1
0
0
0
1
1
0
0
3
0b80e35b0ec762abcddfa11c9dfe355bbd4e5834
824
py
Python
rustplus/api/structures/rust_chat_message.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
rustplus/api/structures/rust_chat_message.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
rustplus/api/structures/rust_chat_message.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
class RustChatMessage: def __init__(self, data): self._steam_id: int = data.steamId self._name: str = data.name self._message: str = data.message self._colour: str = data.color self._time: int = data.time @property def steam_id(self) -> int: return self._stea...
24.969697
101
0.59466
98
824
4.704082
0.214286
0.075922
0.071584
0.110629
0
0
0
0
0
0
0
0
0.286408
824
32
102
25.75
0.784014
0
0
0.192308
0
0
0.092233
0.033981
0
0
0
0
0
1
0.269231
false
0
0
0.230769
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0bad459747dfb6ee3185ff98dd3dc7bfa6e1825e
516
py
Python
sfcc-fetch-siteprefs/conf/systems.py
keinerweiss/SFCCSitePrefComparison
266d54ab591e6b971631c42a93f470001743666c
[ "MIT" ]
6
2020-10-19T15:02:21.000Z
2021-08-08T01:29:04.000Z
sfcc-fetch-siteprefs/conf/systems.py
keinerweiss/SFCCSitePrefComparison
266d54ab591e6b971631c42a93f470001743666c
[ "MIT" ]
null
null
null
sfcc-fetch-siteprefs/conf/systems.py
keinerweiss/SFCCSitePrefComparison
266d54ab591e6b971631c42a93f470001743666c
[ "MIT" ]
null
null
null
""" acquirationConfig = { "name": { "sites": [ "site1", "site2", ], "systems": [ "development", "staging", "production", ] }, } """ allSites = [ "DE", "FR" ] acquirationConfig = { "production": { "sites": allSites, "systems": [ "production", ] }, "sta...
12
22
0.459302
30
516
7.9
0.4
0.227848
0.253165
0.295359
0
0
0
0
0
0
0
0.005747
0.325581
516
43
23
12
0.675287
0.625969
0
0.384615
0
0
0.366771
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0bb5b72023915fef77f31856e3303aaba8569324
450
py
Python
huntserver/migrations/0071_auto_20201021_2143.py
adenylyl/pi_day_puzzle_hunt
aa01cef427bc5f524e89558da72a2f79b0c78514
[ "MIT" ]
18
2017-03-07T19:53:03.000Z
2022-02-24T04:58:47.000Z
huntserver/migrations/0071_auto_20201021_2143.py
adenylyl/pi_day_puzzle_hunt
aa01cef427bc5f524e89558da72a2f79b0c78514
[ "MIT" ]
161
2016-11-14T00:04:42.000Z
2021-06-10T17:25:17.000Z
huntserver/migrations/0071_auto_20201021_2143.py
adenylyl/pi_day_puzzle_hunt
aa01cef427bc5f524e89558da72a2f79b0c78514
[ "MIT" ]
22
2016-09-27T18:00:10.000Z
2022-03-13T17:51:44.000Z
# Generated by Django 2.2.11 on 2020-10-22 01:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('huntserver', '0070_auto_20201021_2042'), ] operations = [ migrations.RemoveField( model_name='hunt', name='resource_link', ...
20.454545
50
0.577778
44
450
5.75
0.704545
0.166008
0.205534
0.237154
0
0
0
0
0
0
0
0.10356
0.313333
450
21
51
21.428571
0.71521
0.102222
0
0.4
1
0
0.179104
0.057214
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
e7e527a87ffa8d1f085d5bdf09bb0ca997c3fe6f
338
py
Python
openapi_server/models/one_ofintegerarray.py
eugenegesdisc/gmuedr
e8b3e5c7b8d18421d875f0f6f778a37a6d8ec3fd
[ "MIT" ]
null
null
null
openapi_server/models/one_ofintegerarray.py
eugenegesdisc/gmuedr
e8b3e5c7b8d18421d875f0f6f778a37a6d8ec3fd
[ "MIT" ]
null
null
null
openapi_server/models/one_ofintegerarray.py
eugenegesdisc/gmuedr
e8b3e5c7b8d18421d875f0f6f778a37a6d8ec3fd
[ "MIT" ]
null
null
null
# generated by datamodel-codegen: # filename: testapi4.yaml # timestamp: 2022-02-10T13:42:58+00:00 from __future__ import annotations from enum import Enum from typing import Any, Dict, List, Optional, Union from openapi_server.models.base_model_ import Model class OneOfintegerarray(Model): __root__: Unio...
22.533333
51
0.769231
47
338
5.297872
0.723404
0
0
0
0
0
0
0
0
0
0
0.065744
0.14497
338
14
52
24.142857
0.795848
0.286982
0
0
1
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
e7e849a49b65ac02adc13578cb407fc6748e2606
322
py
Python
libraries/botframework-streaming/botframework/streaming/transport/transport_receiver_base.py
andreikop/botbuilder-python
5e073e0c68fcbdc558133bdbd59a02453e597abe
[ "MIT" ]
388
2019-05-07T15:53:21.000Z
2022-03-28T20:29:46.000Z
libraries/botframework-streaming/botframework/streaming/transport/transport_receiver_base.py
andreikop/botbuilder-python
5e073e0c68fcbdc558133bdbd59a02453e597abe
[ "MIT" ]
1,286
2019-05-07T23:38:19.000Z
2022-03-31T10:44:16.000Z
libraries/botframework-streaming/botframework/streaming/transport/transport_receiver_base.py
andreikop/botbuilder-python
5e073e0c68fcbdc558133bdbd59a02453e597abe
[ "MIT" ]
168
2019-05-14T20:23:25.000Z
2022-03-16T06:49:14.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. from abc import ABC from .transport_base import TransportBase class TransportReceiverBase(ABC, TransportBase): async def receive(self, buffer: object, offset: int, count: int) -> int: raise NotImplementedError(...
26.833333
76
0.754658
38
322
6.368421
0.815789
0
0
0
0
0
0
0
0
0
0
0
0.167702
322
11
77
29.272727
0.902985
0.276398
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e7ec848da2cb6b9332ab391bcf6ac422c3b38de3
1,914
py
Python
esppy/connectors/__init__.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
esppy/connectors/__init__.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
esppy/connectors/__init__.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 # # Copyright SAS Institute # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
39.875
82
0.822884
224
1,914
7
0.651786
0.038265
0.016582
0.020408
0
0
0
0
0
0
0
0.002994
0.127482
1,914
47
83
40.723404
0.935928
0.316092
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e7f3188dc7f25a774e81d1f498b45ca25c24b283
1,317
py
Python
3ml/tf-from-nv/tcat.py
dikuznet/python-test-book
baf85ae62dbf09f83ea3dcf6f613410d28cbe6f8
[ "MIT" ]
null
null
null
3ml/tf-from-nv/tcat.py
dikuznet/python-test-book
baf85ae62dbf09f83ea3dcf6f613410d28cbe6f8
[ "MIT" ]
null
null
null
3ml/tf-from-nv/tcat.py
dikuznet/python-test-book
baf85ae62dbf09f83ea3dcf6f613410d28cbe6f8
[ "MIT" ]
null
null
null
import cv2 import re import pytesseract def scan_img(image): config = r'--oem 3 --psm 6' return pytesseract.image_to_string(img, config=config) def get_digit(s): return re.search(r'\d+',s).group() def get_sn_carriage(image): return get_digit(scan_img(image)) img = cv2.imread('text.png') img = cv2.cvtColor...
22.322034
85
0.647684
212
1,317
3.924528
0.391509
0.050481
0.064904
0.019231
0.276442
0.209135
0.170673
0
0
0
0
0.040183
0.168565
1,317
59
86
22.322034
0.719635
0.655277
0
0
0
0
0.062651
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.153846
0.692308
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e7fae0e303a74aba0097304de883608edcaf3f65
291
py
Python
sfftkplus/unittests/__init__.py
emdb-empiar/sfftk-plus
7ceca24b78c540169bddb3fd433b4aed050f40ec
[ "Apache-2.0" ]
null
null
null
sfftkplus/unittests/__init__.py
emdb-empiar/sfftk-plus
7ceca24b78c540169bddb3fd433b4aed050f40ec
[ "Apache-2.0" ]
null
null
null
sfftkplus/unittests/__init__.py
emdb-empiar/sfftk-plus
7ceca24b78c540169bddb3fd433b4aed050f40ec
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # path to test data import os import random from .. import BASE_DIR TEST_DATA_PATH = os.path.join(BASE_DIR, 'test_data') # helper functions def _random_integer(start=1, stop=1000): return random.randint(start, stop) def _random_float(): return random.random()
17.117647
75
0.728522
45
291
4.511111
0.555556
0.118227
0.108374
0.147783
0
0
0
0
0
0
0
0.024096
0.14433
291
16
76
18.1875
0.791165
0.19244
0
0
0
0
0.039301
0
0
0
0
0
0
1
0.333333
false
0
0.5
0.333333
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
e7ff01f3ae8ff9080a5dd8e962836059364711c1
18,832
py
Python
build/piman.app/pysnmp/smi/mibs/SNMP-FRAMEWORK-MIB.py
jackgisel/team-athens
91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0
[ "Apache-2.0" ]
4
2022-03-05T01:09:30.000Z
2022-03-31T15:34:00.000Z
build/piman.app/pysnmp/smi/mibs/SNMP-FRAMEWORK-MIB.py
jackgisel/team-athens
91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0
[ "Apache-2.0" ]
2
2021-11-24T13:40:47.000Z
2021-11-25T09:48:47.000Z
build/piman.app/pysnmp/smi/mibs/SNMP-FRAMEWORK-MIB.py
jackgisel/team-athens
91e2aa810c0064f8b6b39ee53c3b05f037e0aeb0
[ "Apache-2.0" ]
1
2022-02-12T09:15:39.000Z
2022-02-12T09:15:39.000Z
# # This file is part of pysnmp software. # # Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pysnmp/license.html # # PySNMP MIB module SNMP-FRAMEWORK-MIB (http://snmplabs.com/pysnmp) # ASN.1 source http://mibs.snmplabs.com:80/asn1/SNMP-FRAMEWORK-MIB # Produced by pysmi-0.1.3 at...
155.636364
2,941
0.791684
2,576
18,832
5.786491
0.266304
0.015296
0.026768
0.004025
0.350597
0.30263
0.268818
0.247216
0.23997
0.187039
0
0.042233
0.139975
18,832
120
2,942
156.933333
0.878118
0.034303
0
0.204545
0
0.113636
0.677822
0.021468
0
0
0.001982
0
0
1
0.011364
false
0.045455
0.102273
0
0.420455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f00609a894ad9f680f56d7fd0e5d3d712ac97f30
13,921
py
Python
Draw.py
Vibhu-Agarwal/Automated-Draw-In-MS-Paint
6d7c798967343d4731c18fbf51e337ede280090c
[ "Apache-2.0" ]
null
null
null
Draw.py
Vibhu-Agarwal/Automated-Draw-In-MS-Paint
6d7c798967343d4731c18fbf51e337ede280090c
[ "Apache-2.0" ]
1
2019-12-09T06:20:56.000Z
2019-12-09T06:20:56.000Z
Draw.py
Vibhu-Agarwal/Automated-Draw-In-MS-Paint
6d7c798967343d4731c18fbf51e337ede280090c
[ "Apache-2.0" ]
1
2021-09-09T08:00:32.000Z
2021-09-09T08:00:32.000Z
#----------------------------------------------------------------------------- #Author: Vibhu Agarwal (github.com/Vibhu-Agarwal) #About: Python Script to open MS-Paint in Windows10 and draw the words #----------------------------------------------------------------------------- import pyautogui, time #--------...
40.944118
101
0.514977
2,083
13,921
3.43975
0.106097
0.162038
0.285834
0.17083
0.698535
0.689742
0.677181
0.661131
0.630705
0.609909
0
0.05128
0.194526
13,921
339
102
41.064897
0.587711
0.207528
0
0.572
0
0
0.019923
0
0
0
0
0
0
1
0.116
false
0.004
0.004
0
0.136
0.02
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f00d975dbf8e909d0a570acfb81c9e674c743b50
1,415
py
Python
C2.py
Phantom8208/Glab
20e0108384f4e46872767a3932ed0c61dd6a150c
[ "Net-SNMP", "Xnet" ]
null
null
null
C2.py
Phantom8208/Glab
20e0108384f4e46872767a3932ed0c61dd6a150c
[ "Net-SNMP", "Xnet" ]
null
null
null
C2.py
Phantom8208/Glab
20e0108384f4e46872767a3932ed0c61dd6a150c
[ "Net-SNMP", "Xnet" ]
null
null
null
#!/usr/bin/python from binascii import * n1 = 295722865793798033460986793237541395631977030560369657198479193181766567057754287459743723539658396944636677358515648785314565228205230261697963097395812598331880872455869139731578362748460265979187318613591087019956434720952036757300875287830045303192314296720794872499471...
38.243243
314
0.773145
122
1,415
8.967213
0.409836
0.009141
0.027422
0
0
0
0
0
0
0
0
0.681481
0.141343
1,415
36
315
39.305556
0.21893
0.024028
0
0.060606
0
0
0.02248
0
0
1
0
0
0
1
0.060606
false
0
0.030303
0
0.181818
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
f013e55069307d7ccf565207d19977c7461324a1
14,427
py
Python
tests/test_channels.py
Iceberg-Marketplace/Iceberg-API-PYTHON
5f8314376ebb6e5a8099253ec79fd40ea835beac
[ "MIT" ]
null
null
null
tests/test_channels.py
Iceberg-Marketplace/Iceberg-API-PYTHON
5f8314376ebb6e5a8099253ec79fd40ea835beac
[ "MIT" ]
2
2015-01-26T10:22:41.000Z
2015-01-26T10:22:41.000Z
tests/test_channels.py
Iceberg-Marketplace/Iceberg-API-PYTHON
5f8314376ebb6e5a8099253ec79fd40ea835beac
[ "MIT" ]
3
2016-12-30T15:08:57.000Z
2019-09-24T14:13:44.000Z
# -*- coding: utf-8 -*- import random from decimal import Decimal from helper import IcebergUnitTestCase, get_api_handler from helpers.login_utils import IcebergLoginUtils class ProductChannelTests(IcebergUnitTestCase): @classmethod def setUpClass(cls): cls.my_context_dict = {} cls._objects_to...
46.389068
130
0.713385
1,720
14,427
5.620349
0.112791
0.093204
0.06186
0.068584
0.764043
0.729596
0.710458
0.691321
0.671149
0.649529
0
0.011359
0.200596
14,427
310
131
46.53871
0.826845
0.108824
0
0.516432
0
0.004695
0.08421
0.008476
0
0
0
0
0.14554
1
0.084507
false
0
0.018779
0
0.107981
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
f01d793e3d811ab7d2c5f85f59efc6fe5e4a566e
2,119
py
Python
test/test_network_api.py
metal-stack/metal-python
cdf40fa86d2b2944f9818cef1c6723b1eecc506e
[ "MIT" ]
7
2020-12-21T05:24:24.000Z
2022-02-12T20:55:32.000Z
test/test_network_api.py
metal-stack/metal-python
cdf40fa86d2b2944f9818cef1c6723b1eecc506e
[ "MIT" ]
6
2020-09-16T07:23:34.000Z
2022-01-18T12:05:30.000Z
test/test_network_api.py
metal-stack/metal-python
cdf40fa86d2b2944f9818cef1c6723b1eecc506e
[ "MIT" ]
null
null
null
# coding: utf-8 """ metal-api API to manage and control plane resources like machines, switches, operating system images, machine sizes, networks, IP addresses and more # noqa: E501 OpenAPI spec version: v0.15.7 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __futur...
23.285714
156
0.636149
269
2,119
4.851301
0.3829
0.067433
0.067433
0.091954
0.336398
0.122605
0.04751
0
0
0
0
0.025199
0.288344
2,119
90
157
23.544444
0.840186
0.495045
0
0.321429
0
0
0.009313
0
0
0
0
0
0
1
0.357143
false
0.321429
0.178571
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
0
1
0
0
1
0
0
3
f03198183dc0825b4513df7b49ccff7eb94ae0d9
6,121
py
Python
src/GramatykiGrafoweAGH/__init__.py
GramatykiGrafoweAGH/GramatykiGrafoweAGH
5cdfa0df0a5520040ea42e05e386424306ea044a
[ "Apache-2.0" ]
null
null
null
src/GramatykiGrafoweAGH/__init__.py
GramatykiGrafoweAGH/GramatykiGrafoweAGH
5cdfa0df0a5520040ea42e05e386424306ea044a
[ "Apache-2.0" ]
11
2021-12-15T07:20:57.000Z
2022-01-11T23:52:53.000Z
src/GramatykiGrafoweAGH/__init__.py
GramatykiGrafoweAGH/GramatykiGrafoweAGH
5cdfa0df0a5520040ea42e05e386424306ea044a
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from collections import defaultdict from dataclasses import dataclass, field from itertools import count from typing import List, Iterable, Tuple, Callable import networkx as nx from networkx.classes.reportviews import NodeView from GramatykiGrafoweAGH.exceptions import NodeNotFoun...
33.631868
110
0.640091
863
6,121
4.3708
0.144844
0.04878
0.031813
0.021209
0.389714
0.279427
0.223224
0.181866
0.161188
0.138918
0
0.005204
0.246528
6,121
181
111
33.81768
0.812663
0
0
0.227941
0
0
0.023035
0
0
0
0
0
0.051471
1
0.272059
false
0
0.066176
0.102941
0.551471
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
f043164b147b888cde9226d52bf7c35fdfc296f9
459
py
Python
src/models/model.py
dsp-uga/anthony-p1
e1998f5b98cc2d7c56a5ef46cffcf29e9d4fcc38
[ "MIT" ]
null
null
null
src/models/model.py
dsp-uga/anthony-p1
e1998f5b98cc2d7c56a5ef46cffcf29e9d4fcc38
[ "MIT" ]
null
null
null
src/models/model.py
dsp-uga/anthony-p1
e1998f5b98cc2d7c56a5ef46cffcf29e9d4fcc38
[ "MIT" ]
null
null
null
import pyspark # main entry point for Spark # SparkContext represents connection to a Spark cluster spark_conf = pyspark.SparkConf().setMaster("local[*]").setAppName("p0") sc = pyspark.SparkContext(conf = spark_conf) # TODO # 1. Preprocessing (bag of words, feature set) # 2. Naive Bayes # 3. Work on other models d...
20.863636
71
0.633987
55
459
5.218182
0.727273
0.062718
0
0
0
0
0
0
0
0
0
0.011364
0.233115
459
22
72
20.863636
0.803977
0.40305
0
0
0
0
0.039526
0
0
0
0
0.045455
0
1
0.5
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
f0499d0a9314140cf7fada385d39582d90565d86
21,524
py
Python
stats/distributions.py
Jventajas/sciprob
af1fce8f1184f027063cdb66496fcd07bbc7b02c
[ "MIT" ]
1
2019-12-31T14:05:28.000Z
2019-12-31T14:05:28.000Z
stats/distributions.py
Jventajas/sciprob
af1fce8f1184f027063cdb66496fcd07bbc7b02c
[ "MIT" ]
null
null
null
stats/distributions.py
Jventajas/sciprob
af1fce8f1184f027063cdb66496fcd07bbc7b02c
[ "MIT" ]
null
null
null
import sys import numpy as np import math from abc import ABC, abstractmethod from stats.combinatorics import ncr from numerical.special_functions import erf, ierf from scipy.special import gamma, gammainc, gammaincc, gammainccinv, digamma, beta, betainc, hyp2f1 class Distribution(ABC): def __init__(self, suppor...
24.542759
112
0.543347
2,835
21,524
4.059259
0.070899
0.072993
0.042579
0.018248
0.640511
0.521985
0.456117
0.366615
0.318822
0.284758
0
0.019181
0.336322
21,524
876
113
24.570776
0.786419
0.014263
0
0.630435
0
0
0.061395
0
0
0
0
0.001142
0
1
0.310559
false
0.034161
0.01087
0.156832
0.569876
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
f04f5d42d03bfcfdfdc27ff6c38f5b39d9f1ebf8
6,287
py
Python
selection/abstract_expression.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
selection/abstract_expression.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
selection/abstract_expression.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from typing import Optional, Union, Iterable, Callable, Any, NoReturn try: # Assume we're a sub-module in a package. from utils import ( arguments as arg, items as it, selection as sf, ) from items.item_type import ItemType from items.struct_...
31.592965
108
0.669
755
6,287
5.250331
0.160265
0.068618
0.045913
0.03002
0.544904
0.464178
0.421039
0.371342
0.371342
0.371342
0
0
0.2467
6,287
198
109
31.752525
0.836993
0.019405
0
0.371069
0
0
0.004382
0
0
0
0
0
0.006289
1
0.201258
false
0.050314
0.09434
0.106918
0.440252
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
1
0
0
0
3
f053be4df9a85021d74def831fc164853901ee94
325
py
Python
04classes/Bank/current_account.py
TonyJenkins/cfs2160-python
3d7cc6e175dd8e9e513969fe1591cd93b45b2152
[ "Unlicense" ]
1
2017-03-30T16:19:05.000Z
2017-03-30T16:19:05.000Z
04classes/Bank/current_account.py
TonyJenkins/cfs2160-python
3d7cc6e175dd8e9e513969fe1591cd93b45b2152
[ "Unlicense" ]
null
null
null
04classes/Bank/current_account.py
TonyJenkins/cfs2160-python
3d7cc6e175dd8e9e513969fe1591cd93b45b2152
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # current_account.py # # Simple Bank Account class example: The Current Account. # # AMJ # 2017-04-01 from bank_account import BankAccount class CurrentAccount (BankAccount): def __init__ (self, account_holder, has_overdraft): BankAccount.__init__ (self, account_holder, has_overdr...
20.3125
66
0.753846
41
325
5.634146
0.634146
0.121212
0.12987
0.181818
0.285714
0.285714
0
0
0
0
0
0.032847
0.156923
325
15
67
21.666667
0.810219
0.341538
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
f06bd24a68ccff159ac7383aac3efe7da65bbec9
907
py
Python
test/test_fedora/__init__.py
ghukill/eulfedora
a90825cad1d61394af8a292f3948188f9301de00
[ "Apache-2.0" ]
null
null
null
test/test_fedora/__init__.py
ghukill/eulfedora
a90825cad1d61394af8a292f3948188f9301de00
[ "Apache-2.0" ]
null
null
null
test/test_fedora/__init__.py
ghukill/eulfedora
a90825cad1d61394af8a292f3948188f9301de00
[ "Apache-2.0" ]
null
null
null
# file test_fedora/__init__.py # # Copyright 2011 Emory University Libraries # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
39.434783
76
0.770673
138
907
4.942029
0.550725
0.102639
0.105572
0.158358
0.237537
0.205279
0
0
0
0
0
0.010554
0.164278
907
22
77
41.227273
0.889182
0.674752
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
f0704917505ff7c44a4f5ecf29285a2f5ef396df
238
py
Python
tests/misc_scripts/scapy_dump_packets.py
MischMetal/p4-traffictool
761263bf6d911432f5a102fcf987095dc90afab2
[ "MIT" ]
null
null
null
tests/misc_scripts/scapy_dump_packets.py
MischMetal/p4-traffictool
761263bf6d911432f5a102fcf987095dc90afab2
[ "MIT" ]
null
null
null
tests/misc_scripts/scapy_dump_packets.py
MischMetal/p4-traffictool
761263bf6d911432f5a102fcf987095dc90afab2
[ "MIT" ]
null
null
null
#!/usr/bin/python from scapy.all import * from <insert generated scapy code file> import * import os os.system("rm -rf raw_dump.pcap") for packet in possible_packets_: wrpcap("raw_dump.pcap", packet/"XXX", append=True) packet.show()
19.833333
51
0.735294
38
238
4.5
0.736842
0.081871
0.128655
0
0
0
0
0
0
0
0
0
0.130252
238
11
52
21.636364
0.826087
0.067227
0
0
1
0
0.162896
0
0
0
0
0
0
0
null
null
0
0.428571
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
f07b3fb42351fccb1225434ea00d197a86c20655
668
py
Python
shopit/admin/__init__.py
dinoperovic/djangoshop-shopit
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
14
2016-11-25T16:06:20.000Z
2018-08-30T19:20:41.000Z
shopit/admin/__init__.py
dinoperovic/djangoshop-shopit
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
3
2017-04-14T13:18:22.000Z
2018-07-18T11:34:53.000Z
shopit/admin/__init__.py
dinoperovic/django-shop
b42a2bf0ec319817eb37ef939608b04498fc4ff2
[ "BSD-3-Clause" ]
6
2019-04-07T23:52:54.000Z
2020-09-20T05:30:07.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from shopit.admin.customer import CustomerAdmin from shopit.admin.order import OrderAdmin from shopit.admin.tax import TaxAdmin from shopit.admin.modifier import ModifierAdmin, DiscountCodeAdmin from shopit.admin.flag import FlagAdmin fro...
44.533333
104
0.802395
68
668
7.735294
0.441176
0.13308
0.19962
0
0
0
0
0
0
0
0
0.001669
0.103293
668
14
105
47.714286
0.876461
0.031437
0
0
0
0
0.210853
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
f082a866a2b6c2df1c732e86b6b9d590723782ce
416
py
Python
surfacescan/registry.py
vbogretsov/surfacescan
f5ff7a6dc9db51b9a95d2850404971ed321b288d
[ "MIT" ]
null
null
null
surfacescan/registry.py
vbogretsov/surfacescan
f5ff7a6dc9db51b9a95d2850404971ed321b288d
[ "MIT" ]
null
null
null
surfacescan/registry.py
vbogretsov/surfacescan
f5ff7a6dc9db51b9a95d2850404971ed321b288d
[ "MIT" ]
null
null
null
from surfacescan import scanning from surfacescan import tracking _tracker = None _scanner = None def set_tracker(tracker: tracking.Tracker) -> None: global _tracker _tracker = tracker def get_tracker() -> tracking.Tracker: return _tracker def set_scanner(scanner: scanning.Scanner) -> None: glob...
16.64
51
0.735577
48
416
6.125
0.270833
0.153061
0.142857
0
0
0
0
0
0
0
0
0
0.192308
416
24
52
17.333333
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b2c01b92ff058e3b5e86cbfea7f35c832e0dc248
140
py
Python
main.py
nhsconnect/ndop-nojs
ad049db27650e850742a3bd466f96d36a3420589
[ "MIT" ]
null
null
null
main.py
nhsconnect/ndop-nojs
ad049db27650e850742a3bd466f96d36a3420589
[ "MIT" ]
null
null
null
main.py
nhsconnect/ndop-nojs
ad049db27650e850742a3bd466f96d36a3420589
[ "MIT" ]
2
2019-04-11T14:21:33.000Z
2021-04-11T07:29:43.000Z
#!/usr/bin/env python3 from ndopapp import create_app app = create_app("ndopapp.config.Config") if __name__ == '__main__': app.run()
15.555556
41
0.707143
20
140
4.45
0.7
0.202247
0
0
0
0
0
0
0
0
0
0.008403
0.15
140
8
42
17.5
0.739496
0.15
0
0
0
0
0.245763
0.177966
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
b2c7a1beaf4fa7d2ec4781a2e8ab03affb4b409b
170
py
Python
settings.py
0xboz/selenium_chrome_proxy_authorization
5dc4f056b1484fac29245c78ffeb8b515d3abc24
[ "MIT" ]
1
2021-02-26T02:44:19.000Z
2021-02-26T02:44:19.000Z
settings.py
0xboz/selenium_chrome_proxy_authorization
5dc4f056b1484fac29245c78ffeb8b515d3abc24
[ "MIT" ]
null
null
null
settings.py
0xboz/selenium_chrome_proxy_authorization
5dc4f056b1484fac29245c78ffeb8b515d3abc24
[ "MIT" ]
1
2021-05-27T17:59:39.000Z
2021-05-27T17:59:39.000Z
import os ROOT = os.path.dirname(os.path.abspath(__file__)) CHROME_WEBDRIVER = os.path.join(ROOT, 'bin/chromedriver_linux64/chromedriver') USERNAME = '' PASSWORD = ''
18.888889
78
0.747059
22
170
5.5
0.681818
0.14876
0
0
0
0
0
0
0
0
0
0.013158
0.105882
170
9
79
18.888889
0.782895
0
0
0
0
0
0.216374
0.216374
0
0
0
0
0
1
0
false
0.2
0.2
0
0.2
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
1
0
0
0
0
0
3
b2cec4e76b61ba9884468e72173272edc782d59e
53,799
py
Python
LFE/text_processor.py
jaaack-wang/ling_feature_extractor
0b97e719d734794f36275df98936a594b45d5057
[ "MIT" ]
2
2021-03-23T02:12:45.000Z
2021-08-13T23:29:31.000Z
LFE/text_processor.py
jaaack-wang/ling_feature_extractor
0b97e719d734794f36275df98936a594b45d5057
[ "MIT" ]
null
null
null
LFE/text_processor.py
jaaack-wang/ling_feature_extractor
0b97e719d734794f36275df98936a594b45d5057
[ "MIT" ]
null
null
null
from stanfordcorenlp import StanfordCoreNLP import re import json import os from os import listdir from os.path import isfile, join # loading Stanford tagger # please specify the path to StanfordCoreNLP when first using the program nlp = StanfordCoreNLP("/path/to/StanfordCoreNLP/") # setting the properties for the nlp...
368.486301
49,140
0.707615
4,147
53,799
9.155534
0.891488
0.003134
0.000395
0.001054
0.012273
0.008086
0.006374
0.006374
0.006374
0.006374
0
0.000305
0.08489
53,799
145
49,141
371.027586
0.770901
0.016692
0
0.086022
0
0.021505
0.681386
0.005371
0
0
0
0
0
1
0.096774
false
0.010753
0.064516
0
0.247312
0.010753
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b2d6a00606519d6954a26bbf83a7882b808a04a2
1,159
py
Python
py3canvas/tests/course_audit_log.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
py3canvas/tests/course_audit_log.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
py3canvas/tests/course_audit_log.py
tylerclair/py3canvas
7485d458606b65200f0ffa5bbe597a9d0bee189f
[ "MIT" ]
null
null
null
"""CourseAuditLog API Tests for Version 1.0. This is a testing template for the generated CourseAuditLogAPI Class. """ import unittest import requests import secrets from py3canvas.apis.course_audit_log import CourseAuditLogAPI from py3canvas.apis.course_audit_log import Courseeventlink from py3canvas.apis.course_audi...
36.21875
87
0.77308
151
1,159
5.708609
0.357616
0.048724
0.098608
0.133411
0.462877
0.462877
0.462877
0.187935
0.074246
0
0
0.007114
0.150992
1,159
31
88
37.387097
0.868902
0.263158
0
0
1
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.470588
0
0.705882
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
b2dd18694526267dfac53a3321b0f8aa7b32bcf9
502
py
Python
addons/hr_payroll/models/res_config_settings.py
jjiege/odoo
fd5b8ad387c1881f349d125cbd56433f4d49398f
[ "MIT" ]
null
null
null
addons/hr_payroll/models/res_config_settings.py
jjiege/odoo
fd5b8ad387c1881f349d125cbd56433f4d49398f
[ "MIT" ]
null
null
null
addons/hr_payroll/models/res_config_settings.py
jjiege/odoo
fd5b8ad387c1881f349d125cbd56433f4d49398f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from odoo import fields, models class ResConfigSettings(models.TransientModel): _inherit = 'res.config.settings' module_account_accountant = fields.Boolean(string='Account') module_l10n_fr_hr_payroll = fie...
35.857143
74
0.766932
65
502
5.692308
0.615385
0.140541
0.205405
0.178378
0.227027
0
0
0
0
0
0
0.016092
0.133466
502
13
75
38.615385
0.834483
0.187251
0
0
0
0
0.17037
0
0
0
0
0
0
1
0
false
0
0.142857
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
b2e707ada7b7536d054401ff648d75b0922478e9
538
py
Python
esgfpid/rabbit/naturalsorting.py
merretbuurman/esgf-pid
df511387904ad215cd84ef29ef0c902ce6cec826
[ "Apache-2.0" ]
null
null
null
esgfpid/rabbit/naturalsorting.py
merretbuurman/esgf-pid
df511387904ad215cd84ef29ef0c902ce6cec826
[ "Apache-2.0" ]
7
2017-02-22T15:24:54.000Z
2021-05-06T22:43:15.000Z
esgfpid/rabbit/naturalsorting.py
merretbuurman/esgf-pid
df511387904ad215cd84ef29ef0c902ce6cec826
[ "Apache-2.0" ]
5
2016-08-23T08:52:00.000Z
2020-03-25T21:28:31.000Z
import re # Natural sorting # From Stack Overflow: http://stackoverflow.com/questions/5967500/how-to-correctly-sort-a-string-with-a-number-inside # We need this, as priorities are given as integers, but we need them # as strings to use them as dictionary keys, def atoi(text): return int(text) if text.isdigit() el...
35.866667
117
0.715613
85
538
4.494118
0.670588
0.031414
0
0
0
0
0
0
0
0
0
0.028761
0.159851
538
15
118
35.866667
0.816372
0.648699
0
0
0
0
0.03012
0
0
0
0
0
0
1
0.4
false
0
0.2
0.2
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
1
0
0
0
1
1
0
0
3
b2fefe54831bd79eca5b3f30128fc2aeb6f87cc5
22,597
py
Python
project_v2/buy.py
grishenkovp/project_-heese_market
5e9732baa47e14089246de692dc0eb86ba38a5d9
[ "MIT" ]
2
2022-01-19T08:01:48.000Z
2022-02-05T16:23:33.000Z
project_v2/buy.py
grishenkovp/project_cheese_market
5e9732baa47e14089246de692dc0eb86ba38a5d9
[ "MIT" ]
null
null
null
project_v2/buy.py
grishenkovp/project_cheese_market
5e9732baa47e14089246de692dc0eb86ba38a5d9
[ "MIT" ]
null
null
null
import pandas as pd import random import copy import yaml import os from typing import List, Dict from retailer import Retailer as r import model as m with open('settings.yaml', encoding='utf8') as f: settings = yaml.safe_load(f) path_sales = settings['DATA']['PATH_SALES'] class Buy(): """Фо...
60.419786
124
0.613179
2,528
22,597
5.204905
0.13212
0.117875
0.072959
0.085195
0.75513
0.728682
0.715154
0.680423
0.654963
0.646755
0
0.009103
0.309643
22,597
373
125
60.581769
0.834359
0.242864
0
0.534413
0
0
0.095318
0.032375
0
0
0
0
0
1
0.024292
false
0.008097
0.032389
0
0.109312
0.004049
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
650367820a790eade47c61dbd742a0c05de6b594
388
py
Python
app/main/views/search.py
alphagov-mirror/digitalmarketplace-admin-frontend
a46f2a1625a8fccdf5296c561b1dc07e63ad6970
[ "MIT" ]
7
2015-05-09T02:29:15.000Z
2021-05-06T22:37:11.000Z
app/main/views/search.py
alphagov-mirror/digitalmarketplace-admin-frontend
a46f2a1625a8fccdf5296c561b1dc07e63ad6970
[ "MIT" ]
349
2015-02-24T11:24:05.000Z
2021-07-27T15:23:50.000Z
app/main/views/search.py
alphagov-mirror/digitalmarketplace-admin-frontend
a46f2a1625a8fccdf5296c561b1dc07e63ad6970
[ "MIT" ]
16
2015-03-23T14:18:38.000Z
2021-04-10T18:05:11.000Z
from dmutils.flask import timed_render_template as render_template from .. import main from ..auth import role_required @main.route('/search', methods=['GET']) @role_required('admin-ccs-data-controller', 'admin', 'admin-ccs-category', 'admin-ccs-sourcing', 'admin-framework-manager') def search_supplie...
32.333333
96
0.742268
50
388
5.58
0.6
0.150538
0
0
0
0
0
0
0
0
0
0
0.121134
388
11
97
35.272727
0.818182
0
0
0
0
0
0.301546
0.123711
0
0
0
0
0
1
0.125
true
0
0.375
0.125
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
0
1
0
1
1
0
0
0
3
650e2799d3abeb87d8916beab9fb2d82b81a5adb
850
py
Python
cblearn/datasets/__init__.py
Conzel/cblearn
4e75ba5533796607d7c182b37d2ab108324f2b54
[ "MIT" ]
7
2021-11-19T13:53:56.000Z
2022-03-28T18:39:04.000Z
cblearn/datasets/__init__.py
Conzel/cblearn
4e75ba5533796607d7c182b37d2ab108324f2b54
[ "MIT" ]
20
2021-09-24T11:39:06.000Z
2022-03-17T15:50:06.000Z
cblearn/datasets/__init__.py
Conzel/cblearn
4e75ba5533796607d7c182b37d2ab108324f2b54
[ "MIT" ]
3
2021-11-24T13:23:17.000Z
2022-03-24T08:57:20.000Z
from ._musician_similarity import fetch_musician_similarity from ._food_similarity import fetch_food_similarity from ._material_similarity import fetch_material_similarity from ._nature_vogue_similarity import fetch_nature_scene_similarity from ._nature_vogue_similarity import fetch_vogue_cover_similarity from ._things...
50
67
0.910588
110
850
6.445455
0.218182
0.139633
0.236953
0.070522
0.296192
0.12976
0.12976
0
0
0
0
0
0.071765
850
17
68
50
0.898606
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6523c742473a31767a7686c681a27cd2daeb06dc
40
py
Python
example_snippets/multimenus_snippets/Snippets/NumPy/Creating arrays/Return views of the data, split into $N$ groups.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Creating arrays/Return views of the data, split into $N$ groups.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/Snippets/NumPy/Creating arrays/Return views of the data, split into $N$ groups.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
x = np.arange(12) a,b,c = np.split(x, 3)
20
22
0.575
11
40
2.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0.088235
0.15
40
2
22
20
0.588235
0
0
0
0
0
0
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
6536cde4b9bc9eec40d4071f59020010cabacf30
248
py
Python
tests/__init__.py
yanhuixie/iommi
b6ae39c270b10b553a7ef2ab52e8c1c96489db0b
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
yanhuixie/iommi
b6ae39c270b10b553a7ef2ab52e8c1c96489db0b
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
yanhuixie/iommi
b6ae39c270b10b553a7ef2ab52e8c1c96489db0b
[ "BSD-3-Clause" ]
null
null
null
from datetime import datetime import freezegun # Initialize freezegun to avoid freezegun being reinitialized which is expensive initialize_freezegun = freezegun.freeze_time(datetime(1948, 2, 19)) # Tony Iommis birth initialize_freezegun.start()
31
88
0.826613
31
248
6.516129
0.677419
0.282178
0
0
0
0
0
0
0
0
0
0.03211
0.120968
248
7
89
35.428571
0.894495
0.387097
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
6544d0857d56254057164d13da51c172c32eca37
1,300
py
Python
venv/Lib/site-packages/pybrain/tests/unittests/test_capture_game.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
3
2015-03-21T21:42:28.000Z
2018-07-12T04:21:32.000Z
venv/Lib/site-packages/pybrain/tests/unittests/test_capture_game.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pybrain/tests/unittests/test_capture_game.py
ishatserka/MachineLearningAndDataAnalysisCoursera
e82e772df2f4aec162cb34ac6127df10d14a625a
[ "MIT" ]
null
null
null
""" Initialize a capturegame >>> from pybrain.rl.environments.twoplayergames import CaptureGame >>> c = CaptureGame(5) >>> print c . . . . . . . . . . . . . . . . . . . . . . . . . Do some moves to produce a situation >>> c.performAction([1, (1,0)]) >>> c.performActio...
21.666667
91
0.463846
170
1,300
3.429412
0.352941
0.19211
0.205832
0.082333
0.058319
0
0
0
0
0
0
0.077766
0.297692
1,300
59
92
22.033898
0.560789
0.862308
0
0
0
0
0.236686
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e8f878a94b3f38d508dbe99ebb30b09340eabeb3
307
py
Python
src/licma/rules/java/jrule3.py
stg-tud/licma
b899e6e682f7716d19e79d6ce7b73c28c6efd4cf
[ "MIT" ]
5
2021-09-13T11:24:13.000Z
2022-03-18T21:56:58.000Z
src/licma/rules/java/jrule3.py
stg-tud/licma
b899e6e682f7716d19e79d6ce7b73c28c6efd4cf
[ "MIT" ]
null
null
null
src/licma/rules/java/jrule3.py
stg-tud/licma
b899e6e682f7716d19e79d6ce7b73c28c6efd4cf
[ "MIT" ]
1
2021-09-13T06:02:20.000Z
2021-09-13T06:02:20.000Z
from abc import ABC from licma.query.jquery import JQuery class JRule3(JQuery, ABC): def rule(self, syntax_tree): ci = self.ci(syntax_tree, "SecretKeySpec", parameter_index=1) return self.o(self.is_const(ci), self.is_unknowen(ci)) def get_rule_name(self): return "Rule 3"
25.583333
69
0.687296
47
307
4.340426
0.553191
0.098039
0
0
0
0
0
0
0
0
0
0.012245
0.201954
307
11
70
27.909091
0.820408
0
0
0
0
0
0.061889
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
1
1
0
0
3
33071ead36b1c3822ece673125a722497a059865
1,475
py
Python
src/gen_bagged_runs.py
yell/kaggle-camera
7b471c3631343f6f7fd7adf1a80b2edb46d62f0b
[ "MIT" ]
6
2019-04-05T23:19:45.000Z
2020-12-01T11:21:42.000Z
src/gen_bagged_runs.py
monsta-hd/kaggle-camera
7b471c3631343f6f7fd7adf1a80b2edb46d62f0b
[ "MIT" ]
1
2020-12-02T13:17:12.000Z
2020-12-02T13:17:12.000Z
src/gen_bagged_runs.py
monsta-hd/kaggle-camera
7b471c3631343f6f7fd7adf1a80b2edb46d62f0b
[ "MIT" ]
5
2019-03-27T16:43:37.000Z
2020-12-02T07:53:21.000Z
import env from utils import RNG a = [''] * 2 + ['-a'] b = ['-b 16'] * 3 + ['-b 12'] * 3 + ['-b 8'] cs = ['-cs 256'] * 2 + ['-cs 224'] d = ['-d 0', '-d 0.05', '-d 0.1', '-d 0.1', '-d 0.15'] # TODO eu = ['-eu 8'] * 3 + ['-eu 6'] * 2 + ['-eu 4'] fc = [''] * 3 + ['-fc 1024 256'] * 2 l_lr = ['-lr 1e-4 1e-3 -clr 1e-3 4e-3'...
42.142857
100
0.435932
259
1,475
2.436293
0.285714
0.015848
0.009509
0.012678
0.085578
0.041204
0.041204
0.041204
0
0
0
0.099091
0.254237
1,475
34
101
43.382353
0.474545
0.267119
0
0
0
0.038462
0.351955
0
0
0
0
0.029412
0
0
null
null
0
0.076923
null
null
0.038462
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
1
0
1
0
0
0
0
0
0
0
0
3
331f8838f06a42c647bf0ccb06971a002fdbf1a8
4,695
py
Python
registrasion/tests/test_batch.py
pyohio/registrasion
461d5846c6f9f3b7099322a94f5d9911564448e4
[ "Apache-2.0" ]
20
2016-04-15T16:50:53.000Z
2021-12-18T10:03:58.000Z
registrasion/tests/test_batch.py
pyohio/registrasion
461d5846c6f9f3b7099322a94f5d9911564448e4
[ "Apache-2.0" ]
141
2016-03-27T08:37:57.000Z
2018-01-12T11:45:22.000Z
registrasion/tests/test_batch.py
pyohio/registrasion
461d5846c6f9f3b7099322a94f5d9911564448e4
[ "Apache-2.0" ]
14
2016-01-24T01:01:39.000Z
2019-10-14T05:43:32.000Z
import pytz from registrasion.tests.test_cart import RegistrationCartTestCase from registrasion.controllers.batch import BatchController UTC = pytz.timezone('UTC') class BatchTestCase(RegistrationCartTestCase): def test_no_caches_outside_of_batches(self): cache_1 = BatchController.get_cache(self.USER_...
34.021739
68
0.678381
601
4,695
4.973378
0.133111
0.128471
0.111409
0.187354
0.761793
0.74908
0.693878
0.663767
0.635999
0.632653
0
0.029742
0.240895
4,695
137
69
34.270073
0.808923
0.039191
0
0.626374
0
0
0.000666
0
0
0
0
0
0.186813
1
0.153846
false
0
0.032967
0.021978
0.230769
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3320a09847cd84993b38cb1095b6e7a2c6ffa318
3,424
py
Python
Modules/ThirdParty/pygccxml/src/pygccxml/declarations/decl_factory.py
eile/ITK
2f09e6e2f9e0a4a7269ac83c597f97b04f915dc1
[ "Apache-2.0" ]
4
2015-05-22T03:47:43.000Z
2016-06-16T20:57:21.000Z
Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/declarations/decl_factory.py
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
null
null
null
Wrapping/Generators/SwigInterface/pygccxml-1.0.0/pygccxml/declarations/decl_factory.py
GEHC-Surgery/ITK
f5df62749e56c9036e5888cfed904032ba5fdfb7
[ "Apache-2.0" ]
9
2016-06-23T16:03:12.000Z
2022-03-31T09:25:08.000Z
# Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) """ defines default declarations factory class """ from calldef import member_function_t from calldef import constructor_t fro...
41.253012
83
0.726636
392
3,424
6.160714
0.153061
0.183023
0.113043
0.150725
0.561491
0.448033
0.330435
0.330435
0.330435
0.191304
0
0.005011
0.183995
3,424
82
84
41.756098
0.859341
0.331192
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.309524
0
0.97619
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
335a4c70a300ee47c904dfc1b2f5aa2381994936
783
py
Python
checkov/terraform/checks/resource/azure/KeyBackedByHSM.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
checkov/terraform/checks/resource/azure/KeyBackedByHSM.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
checkov/terraform/checks/resource/azure/KeyBackedByHSM.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
from checkov.common.models.enums import CheckResult, CheckCategories from checkov.terraform.checks.resource.base_resource_value_check import BaseResourceValueCheck class KeyBackedByHSM(BaseResourceValueCheck): def __init__(self): name = "Ensure that key vault key is backed by HSM" id = "CKV_AZURE_...
32.625
106
0.735632
92
783
5.934783
0.532609
0.098901
0.040293
0
0
0
0
0
0
0
0
0.004666
0.178799
783
23
107
34.043478
0.844479
0
0
0
0
0
0.123883
0.02682
0
0
0
0
0
1
0.25
false
0
0.125
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
335d559f183a825dfdacbfbbce88c38a2407befa
616
py
Python
helpers/utility_classes.py
jim3456/basics
056084f16da6917995aa3ddf242624f2f63d507c
[ "Apache-2.0" ]
null
null
null
helpers/utility_classes.py
jim3456/basics
056084f16da6917995aa3ddf242624f2f63d507c
[ "Apache-2.0" ]
null
null
null
helpers/utility_classes.py
jim3456/basics
056084f16da6917995aa3ddf242624f2f63d507c
[ "Apache-2.0" ]
null
null
null
class EnumBase(object): ''' for performance purposes, objects with simple class variables are used throught the library instead of enums using this object exposes classmethods to transform the string representation to and from the interal integer representation ''' @classmethod def tostring(cls,...
38.5
128
0.688312
84
616
4.892857
0.595238
0.10219
0.043796
0
0
0
0
0
0
0
0
0
0.219156
616
16
129
38.5
0.85447
0.378247
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0.3
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6823a7cc70e04c1c35d18e9ce4aebacefcb2d4d6
49
py
Python
bootleg/_version.py
rubmz/bootleg
58ce6462d7939c7c3cd88d48885c749510aa3944
[ "Apache-2.0" ]
160
2020-09-16T01:12:26.000Z
2022-03-28T05:03:33.000Z
bootleg/_version.py
rubmz/bootleg
58ce6462d7939c7c3cd88d48885c749510aa3944
[ "Apache-2.0" ]
29
2020-12-16T07:00:40.000Z
2022-03-25T05:14:24.000Z
bootleg/_version.py
rubmz/bootleg
58ce6462d7939c7c3cd88d48885c749510aa3944
[ "Apache-2.0" ]
24
2020-09-16T03:00:05.000Z
2021-11-15T17:04:25.000Z
"""Bootleg version.""" __version__ = "1.1.0dev1"
16.333333
25
0.653061
6
49
4.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.090909
0.102041
49
2
26
24.5
0.545455
0.326531
0
0
0
0
0.333333
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
682a8d627c82ba32c52887db9c41c45e59ba2526
1,761
py
Python
Harpe-website/Kraggne/parser.py
Krozark/Harpe-Website
1038a8550d08273806c9ec244cb8157ef9e9101e
[ "BSD-2-Clause" ]
null
null
null
Harpe-website/Kraggne/parser.py
Krozark/Harpe-Website
1038a8550d08273806c9ec244cb8157ef9e9101e
[ "BSD-2-Clause" ]
null
null
null
Harpe-website/Kraggne/parser.py
Krozark/Harpe-Website
1038a8550d08273806c9ec244cb8157ef9e9101e
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.utils.translation import ugettext_lazy as _ from django.db.models.loading import get_model from django.forms import ValidationError def get_model_from_include(link,return_app_model=False): app = link[len('include('):] app = app[:-1].split('.') if len(app) != 2: r...
31.446429
114
0.622942
253
1,761
4.181818
0.185771
0.173913
0.098299
0.096408
0.793951
0.753308
0.713611
0.685255
0.622873
0.622873
0
0.010541
0.191936
1,761
55
115
32.018182
0.732959
0.011925
0
0.575
0
0
0.175489
0.024166
0
0
0
0
0
1
0.075
false
0
0.075
0
0.3
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
684970fcbd2bf12e19fb689a7e5de68799d6c980
340
py
Python
analytics/urls.py
MarkCupitt/zulip
86bb9a9431084e59b491ca7980ec4f4333eb96f7
[ "Apache-2.0" ]
1
2021-02-13T20:43:29.000Z
2021-02-13T20:43:29.000Z
analytics/urls.py
eric-erki/zulip
a063dd3b26f7ada794e14ace0d24ea1834611446
[ "Apache-2.0" ]
9
2021-02-08T20:22:39.000Z
2022-02-11T03:40:19.000Z
analytics/urls.py
tobby2002/zulip
66e7c455759f9368bae16b9a604cf63f8e3524cd
[ "Apache-2.0" ]
1
2021-04-09T05:50:23.000Z
2021-04-09T05:50:23.000Z
from django.conf.urls import patterns, url i18n_urlpatterns = [ url(r'^activity$', 'analytics.views.get_activity'), url(r'^realm_activity/(?P<realm>[\S]+)/$', 'analytics.views.get_realm_activity'), url(r'^user_activity/(?P<email>[\S]+)/$', 'analytics.views.get_user_activity'), ] urlpatterns = patterns('',...
34
85
0.694118
44
340
5.159091
0.431818
0.052863
0.22467
0.15859
0
0
0
0
0
0
0
0.013029
0.097059
340
9
86
37.777778
0.726384
0
0
0
0
0
0.505882
0.476471
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6854e07f64eefb404a9920ed462dba3e8fc6bc48
3,464
py
Python
DataRetrieval/main.py
Yaamani/fantasy-database-CMP202-project
44c1188e6a7e1c5899d2ef54a65abbb13564b1bc
[ "MIT" ]
null
null
null
DataRetrieval/main.py
Yaamani/fantasy-database-CMP202-project
44c1188e6a7e1c5899d2ef54a65abbb13564b1bc
[ "MIT" ]
null
null
null
DataRetrieval/main.py
Yaamani/fantasy-database-CMP202-project
44c1188e6a7e1c5899d2ef54a65abbb13564b1bc
[ "MIT" ]
1
2021-06-29T11:46:07.000Z
2021-06-29T11:46:07.000Z
import requests import json import random import string from tqdm import tqdm def lerp(val, in_min, in_max, out_min, out_max): return ((val - in_min) / (in_max-in_min)) * (out_max-out_min) + out_min # get teams in premier league (id=2) '''url = "https://api-football-v1.p.rapidapi.com/v2/teams/league/2" headers ...
33.960784
158
0.610277
491
3,464
4.242363
0.201629
0.026884
0.023524
0.040326
0.604417
0.571771
0.534325
0.519923
0.519923
0.417187
0
0.048197
0.191397
3,464
101
159
34.29703
0.695466
0.044746
0
0
0
0
0.090604
0.087248
0
0
0
0
0
1
0.111111
false
0
0.555556
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
6865888d7f0151ece62e1da6d66b538f16005e23
234
py
Python
examples/archive/ephys_synch.py
nbonacchi/ibllib
9066c00a8e9a65a1d209144a2ac54d0b87bec0b3
[ "MIT" ]
38
2018-08-07T21:55:29.000Z
2022-03-21T14:49:03.000Z
examples/archive/ephys_synch.py
nbonacchi/ibllib
9066c00a8e9a65a1d209144a2ac54d0b87bec0b3
[ "MIT" ]
207
2018-07-25T15:10:48.000Z
2022-03-08T13:23:08.000Z
examples/archive/ephys_synch.py
nbonacchi/ibllib
9066c00a8e9a65a1d209144a2ac54d0b87bec0b3
[ "MIT" ]
35
2018-09-04T14:49:56.000Z
2022-01-06T21:17:51.000Z
import numpy as np from ibllib.ephys.sync_probes import apply_sync sync_file = "/path/to/my/probe01/_spikeglx_ephysData_g0_t0.imec1.sync.npy" times_secs = np.arange(600) interp_times = apply_sync(sync_file, times_secs, forward=True)
33.428571
74
0.816239
40
234
4.475
0.7
0.100559
0.145251
0.189944
0
0
0
0
0
0
0
0.037383
0.08547
234
6
75
39
0.799065
0
0
0
0
0
0.25641
0.25641
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6888629377606e1e0e912813deda6bff3edcd722
273
py
Python
commands/command.py
matthew-robertson/banned-word-tracker
32defe7936114258325ef8ba2f740648d43d4abf
[ "MIT" ]
11
2019-03-10T18:31:59.000Z
2021-02-13T12:42:44.000Z
commands/command.py
matthew-robertson/banned-word-tracker
32defe7936114258325ef8ba2f740648d43d4abf
[ "MIT" ]
51
2019-02-21T21:21:59.000Z
2022-03-09T01:29:55.000Z
commands/command.py
matthew-robertson/vore-tracker
c35807612397ae7bc540cb0a1af6bf3ec1f98593
[ "MIT" ]
5
2018-07-12T06:36:29.000Z
2019-01-09T04:11:19.000Z
from abc import ABC, abstractmethod class Command(ABC): def __init__(self): self.detect_bans_in_message = True def is_command_authorized(self, permissions=None): return True @abstractmethod def execute(self, current_server, current_time, message, author): pass
22.75
66
0.783883
37
273
5.486486
0.675676
0
0
0
0
0
0
0
0
0
0
0
0.135531
273
12
67
22.75
0.860169
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.111111
0.111111
0.111111
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
1
0
1
0
0
0
3
688ebb8a017e7d146344d25b89b0f6ec779d9701
764
py
Python
src/file_util.py
wwarriner/RVGAN
d76042da976fb8de7e0e6984cc9d61ba0f4b9970
[ "BSD-3-Clause" ]
null
null
null
src/file_util.py
wwarriner/RVGAN
d76042da976fb8de7e0e6984cc9d61ba0f4b9970
[ "BSD-3-Clause" ]
null
null
null
src/file_util.py
wwarriner/RVGAN
d76042da976fb8de7e0e6984cc9d61ba0f4b9970
[ "BSD-3-Clause" ]
null
null
null
from pathlib import Path, PurePath from typing import Any, List, Union import yaml PathLike = Union[Path, PurePath, str] def glob(folder: PurePath, pattern: str) -> List[PurePath]: files = Path(folder).glob(pattern=pattern) files = sorted(list(files)) files = [PurePath(f) for f in files] return file...
23.151515
59
0.663613
113
764
4.415929
0.362832
0.096192
0.084168
0.102204
0.266533
0.266533
0.266533
0.266533
0.196393
0.196393
0
0
0.191099
764
32
60
23.875
0.807443
0
0
0
0
0
0.003927
0
0
0
0
0
0.05
1
0.25
false
0
0.15
0.15
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
68a2d2ded79dd1c2eb83129211320dcf3b9ea66b
94,077
py
Python
tests/test_cli.py
mschwitalla/senza
301a43fde41db194cbb80c68271692d1fe2212db
[ "Apache-2.0" ]
null
null
null
tests/test_cli.py
mschwitalla/senza
301a43fde41db194cbb80c68271692d1fe2212db
[ "Apache-2.0" ]
null
null
null
tests/test_cli.py
mschwitalla/senza
301a43fde41db194cbb80c68271692d1fe2212db
[ "Apache-2.0" ]
null
null
null
import collections import datetime import json import os from contextlib import contextmanager from typing import List, Dict from unittest.mock import MagicMock, mock_open import botocore.exceptions import pytest import senza.traffic import yaml import base64 from click.testing import CliRunner from senza.components...
43.716078
120
0.541418
9,054
94,077
5.487851
0.082836
0.028015
0.030994
0.031739
0.778232
0.741441
0.707408
0.675468
0.656087
0.623101
0
0.023611
0.325159
94,077
2,151
121
43.736402
0.759022
0.014212
0
0.613405
0
0.002992
0.250634
0.066806
0
0
0
0.000465
0.133453
1
0.067624
false
0.001197
0.013764
0.00778
0.129862
0.014961
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
d7a86e3962e062cf3095c728702f84aff21b4c37
984
py
Python
_go/47-chinese-zodiac.py
Shimenrock/Shimenrock.github.io
933a5a670274c8ba853a436bff8fb120c19bc822
[ "MIT" ]
null
null
null
_go/47-chinese-zodiac.py
Shimenrock/Shimenrock.github.io
933a5a670274c8ba853a436bff8fb120c19bc822
[ "MIT" ]
2
2020-02-20T22:47:31.000Z
2022-03-26T02:19:56.000Z
_go/47-chinese-zodiac.py
Shimenrock/shimenrock.github.io
933a5a670274c8ba853a436bff8fb120c19bc822
[ "MIT" ]
null
null
null
# 记录生肖,根据年份判断生肖 # chinese_zodiac = '鼠牛虎兔龙蛇马羊猴鸡狗猪' chinese_zodiac = '猴鸡狗猪鼠牛虎兔龙蛇马羊' # print (chinese_zodiac[1]) # print (chinese_zodiac[0:4]) # print (chinese_zodiac[-1]) year = 2020 print (year % 12) print (chinese_zodiac[year % 12]) # 成员关系 in not in print ( '狗' in chinese_zodiac ) # 连接 + print (chinese_zodiac + 'abcd'...
26.594595
71
0.618902
164
984
3.560976
0.408537
0.222603
0.215753
0.065068
0
0
0
0
0
0
0
0.071864
0.16565
984
37
72
26.594595
0.639464
0.182927
0
0.086957
0
0
0.079545
0
0
0
0
0
0
1
0
false
0
0
0
0
0.478261
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d7d05999d02378ae720b658dc105527db192ec80
733
py
Python
mast/crypto.py
seanjensengrey/MAST
ad4fd721101e7bbcc02d533968c99d5aa72ec98d
[ "Apache-2.0" ]
13
2015-01-17T21:53:40.000Z
2021-07-28T16:40:51.000Z
mast/crypto.py
seanjensengrey/MAST
ad4fd721101e7bbcc02d533968c99d5aa72ec98d
[ "Apache-2.0" ]
null
null
null
mast/crypto.py
seanjensengrey/MAST
ad4fd721101e7bbcc02d533968c99d5aa72ec98d
[ "Apache-2.0" ]
3
2016-01-14T04:32:04.000Z
2019-08-16T10:57:00.000Z
from hashlib import sha256 class hashable: def __init__(self, data): self.data = data self.h = hash(str(data)) def __str__(self): return "{data:%s\n,hash:%s}"%(self.data, self.h.encode('hex')) def hash(self): return self.h class ishash: def __init__(self, data): ...
22.90625
70
0.589359
108
733
3.851852
0.277778
0.134615
0.086538
0.072115
0.326923
0.129808
0.129808
0
0
0
0
0.025271
0.244202
733
31
71
23.645161
0.725632
0
0
0.285714
0
0
0.058663
0
0
0
0
0
0
1
0.392857
false
0
0.035714
0.285714
0.821429
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
d7d212367e4555cdc73277a764b29b427fa0075e
121
py
Python
pythoninter.py
jackcbrown89/fidelio-flask
bf64680b3e1dd9a0aa1df6872d48d5a71473499c
[ "MIT" ]
null
null
null
pythoninter.py
jackcbrown89/fidelio-flask
bf64680b3e1dd9a0aa1df6872d48d5a71473499c
[ "MIT" ]
null
null
null
pythoninter.py
jackcbrown89/fidelio-flask
bf64680b3e1dd9a0aa1df6872d48d5a71473499c
[ "MIT" ]
null
null
null
#!/bin/sh #Python Interpreter for running tests as root # user needs sudo NOPASSWD enabled sudo PYTHONPATH= python
12.1
45
0.752066
17
121
5.352941
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.190083
121
9
46
13.444444
0.928571
0.702479
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
d7dbcba585f77ed9c65b02f4e37ae8f9d2fdbff1
135
py
Python
telebuilder/_version.py
mlbendall/telebuilder2
0f677f6f8a6d4adccf97d6b2725c6353625964ea
[ "MIT" ]
null
null
null
telebuilder/_version.py
mlbendall/telebuilder2
0f677f6f8a6d4adccf97d6b2725c6353625964ea
[ "MIT" ]
null
null
null
telebuilder/_version.py
mlbendall/telebuilder2
0f677f6f8a6d4adccf97d6b2725c6353625964ea
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Matthew L. Bendall' __copyright__ = "Copyright (C) 2017 Matthew L. Bendall" VERSION = '2.0.0b'
19.285714
55
0.651852
18
135
4.444444
0.777778
0.2
0.375
0
0
0
0
0
0
0
0
0.071429
0.17037
135
6
56
22.5
0.642857
0.155556
0
0
0
0
0.544643
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
d7ddac2dc7aa1748346537e6e97de201102c0f26
15,132
py
Python
tf_agents/replay_buffers/tf_uniform_replay_buffer_test.py
wookayin/tensorflow-agents
ae3751dfeed52422a350227047648dd82297960b
[ "Apache-2.0" ]
2
2018-12-20T01:49:33.000Z
2019-12-09T13:17:05.000Z
tf_agents/replay_buffers/tf_uniform_replay_buffer_test.py
kuanfang/agents
a0f25a4b44d4fc844c9b804bab60af2167f8d2bb
[ "Apache-2.0" ]
null
null
null
tf_agents/replay_buffers/tf_uniform_replay_buffer_test.py
kuanfang/agents
a0f25a4b44d4fc844c9b804bab60af2167f8d2bb
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # Copyright 2018 The TF-Agents Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
36.114558
80
0.67876
1,968
15,132
4.926829
0.128049
0.064975
0.027847
0.034653
0.744121
0.72927
0.704002
0.681106
0.653775
0.633148
0
0.017881
0.209093
15,132
418
81
36.200957
0.792279
0.047713
0
0.647059
0
0
0.029814
0.001459
0
0
0
0.002392
0.085294
1
0.058824
false
0
0.026471
0.002941
0.094118
0.002941
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
d7ff5e01ef00d848dfe74c98376c6fea279111c3
460
py
Python
src/accounts/migrations/0003_auto_20200610_0647.py
Rami-Younes/App-Note2
fed35aa2d42d1952bdd046d04c0413004fdcb2da
[ "MIT" ]
null
null
null
src/accounts/migrations/0003_auto_20200610_0647.py
Rami-Younes/App-Note2
fed35aa2d42d1952bdd046d04c0413004fdcb2da
[ "MIT" ]
9
2021-03-19T11:32:52.000Z
2022-03-12T00:35:25.000Z
src/accounts/migrations/0003_auto_20200610_0647.py
Rami-Younes/App-Note2
fed35aa2d42d1952bdd046d04c0413004fdcb2da
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2020-06-10 04:47 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20200610_0637'), ] operations = [ migrations.RemoveField( model_name='profile', name='firs...
20.909091
49
0.543478
43
460
5.651163
0.674419
0.17284
0.213992
0.246914
0.337449
0.337449
0
0
0
0
0
0.100671
0.352174
460
21
50
21.904762
0.714765
0.093478
0
0.4
1
0
0.162437
0.058376
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
cc24c23f9e9a7d2fbb64fb14eb863812e25c2699
443
py
Python
xivdb/general/routes.py
luther38/XivDbWeb
204d066232c04dce0ea5a03ec55f160cfbc62659
[ "MIT" ]
null
null
null
xivdb/general/routes.py
luther38/XivDbWeb
204d066232c04dce0ea5a03ec55f160cfbc62659
[ "MIT" ]
null
null
null
xivdb/general/routes.py
luther38/XivDbWeb
204d066232c04dce0ea5a03ec55f160cfbc62659
[ "MIT" ]
null
null
null
from flask import render_template, Blueprint #from xivdb.sql import DB, Base, Weapon, Repair, Materia, Stats from typing import List from sqlalchemy.orm import sessionmaker, Session, Query general_bp = Blueprint('general', __name__ ,template_folder='templates') @general_bp.route('/') def index(): return rende...
29.533333
63
0.760722
58
443
5.62069
0.551724
0.128834
0.08589
0.165644
0
0
0
0
0
0
0
0
0.119639
443
15
64
29.533333
0.835897
0.139955
0
0
0
0
0.154856
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.181818
0.636364
0.181818
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
0be17c59122923ae9bf04771dfbb1d99e2c8abc0
880
py
Python
application/models/user.py
yongli82/FlaskBookRead
b69e469e1d48cda29906ed6f33ec0a239576313a
[ "MIT" ]
null
null
null
application/models/user.py
yongli82/FlaskBookRead
b69e469e1d48cda29906ed6f33ec0a239576313a
[ "MIT" ]
null
null
null
application/models/user.py
yongli82/FlaskBookRead
b69e469e1d48cda29906ed6f33ec0a239576313a
[ "MIT" ]
null
null
null
# coding: utf-8 from datetime import datetime from ._base import db class User(db.Model): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(50), unique=True) email = db.Column(db.String(50), unique=True) avatar = db.Column(db.String(200), default='default.png') password = db...
31.428571
61
0.660227
119
880
4.705882
0.411765
0.1
0.125
0.114286
0.167857
0.1
0.1
0
0
0
0
0.01585
0.211364
880
27
62
32.592593
0.791066
0.178409
0
0
0
0
0.027894
0
0
0
0
0
0
1
0.1875
false
0.1875
0.125
0.125
0.9375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
0be5750ae5ee769e3e160d5cf3cbaccba6cf7192
981
py
Python
drivers/tests/TESTS/host_tests/device_echo.py
mcheah-bose/mbed-os
4a2e58006ce12d657d928419b7aa7242abe505c0
[ "Apache-2.0" ]
3,897
2015-09-04T13:42:23.000Z
2022-03-30T16:53:07.000Z
drivers/tests/TESTS/host_tests/device_echo.py
mcheah-bose/mbed-os
4a2e58006ce12d657d928419b7aa7242abe505c0
[ "Apache-2.0" ]
13,030
2015-09-17T10:30:05.000Z
2022-03-31T13:36:44.000Z
drivers/tests/TESTS/host_tests/device_echo.py
mcheah-bose/mbed-os
4a2e58006ce12d657d928419b7aa7242abe505c0
[ "Apache-2.0" ]
2,950
2015-09-08T19:07:05.000Z
2022-03-31T13:37:23.000Z
""" Copyright (c) 2011-2020, Arm Limited and affiliates SPDX-License-Identifier: Apache-2.0 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless re...
29.727273
72
0.753313
145
981
5
0.627586
0.082759
0.035862
0.044138
0
0
0
0
0
0
0
0.017263
0.173293
981
32
73
30.65625
0.876695
0.623853
0
0
0
0
0.038781
0
0
0
0
0
0
1
0.3
false
0.1
0.2
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
0be9867d18b1eecc451355dfabb713b761008f59
559
py
Python
Interprete/Pila.py
mauriballes/proyecto_compiladores_c3
e1627910c640869ddee6417613789f4e0684bce6
[ "MIT" ]
null
null
null
Interprete/Pila.py
mauriballes/proyecto_compiladores_c3
e1627910c640869ddee6417613789f4e0684bce6
[ "MIT" ]
null
null
null
Interprete/Pila.py
mauriballes/proyecto_compiladores_c3
e1627910c640869ddee6417613789f4e0684bce6
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- class Pila: def __init__(self): self.P = [] self.cima = -1 def Push(self, Ele): self.cima += 1 self.P.append(Ele) def Pop(self): self.cima -= 1 return self.P.pop() def Get(self, Index = -1): return se...
19.275862
56
0.499106
79
559
3.43038
0.367089
0.147601
0.132841
0.088561
0
0
0
0
0
0
0
0.01897
0.339893
559
29
57
19.275862
0.715447
0.069767
0
0
0
0
0
0
0
0
0
0
0
1
0.368421
false
0
0
0.105263
0.578947
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
0beb054f9cf0a7fde5aec2fccad7c562d0b1f237
142
py
Python
tweets_preprocess/cf.py
ladcva/tweets_preprocess
e566c675b21d36d4abf06c5def9053277ee06415
[ "MIT" ]
5
2020-11-11T15:47:55.000Z
2021-12-01T16:23:30.000Z
tweets_preprocess/cf.py
ladcva/tweets_preprocess
e566c675b21d36d4abf06c5def9053277ee06415
[ "MIT" ]
null
null
null
tweets_preprocess/cf.py
ladcva/tweets_preprocess
e566c675b21d36d4abf06c5def9053277ee06415
[ "MIT" ]
null
null
null
import preprocess import os import platform try: platform.archtecture() except e: raise Exception e finally: os.compile(platform.unit)
12.909091
27
0.774648
19
142
5.789474
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.15493
142
10
28
14.2
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.333333
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
0bf42c088eba8af67ed6d9a77d6cea7757378bab
921
py
Python
src/vehicle/vehicle_peripheral.py
rotor-ai/rtrcmd
5797f08279832982852290076cc8e9f1c8fa88a8
[ "Apache-2.0" ]
3
2021-01-14T02:57:49.000Z
2022-03-20T20:02:14.000Z
src/vehicle/vehicle_peripheral.py
rotor-ai/rtrcmd
5797f08279832982852290076cc8e9f1c8fa88a8
[ "Apache-2.0" ]
4
2021-09-03T01:50:01.000Z
2022-03-20T19:17:04.000Z
src/vehicle/vehicle_peripheral.py
rotor-ai/rtrcmd
5797f08279832982852290076cc8e9f1c8fa88a8
[ "Apache-2.0" ]
null
null
null
from abc import ABCMeta, abstractmethod import threading from time import sleep from common.stoppable_thread import StoppableThread class VehiclePeripheral(StoppableThread, metaclass=ABCMeta): """ This interface class should be used for any peripheral created for the vehicle. The purpose is to provide a c...
27.088235
111
0.702497
106
921
6.009434
0.613208
0.021978
0
0
0
0
0
0
0
0
0
0
0.233442
921
33
112
27.909091
0.902266
0.205212
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.142857
0.285714
0.071429
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
04152915aaa04432a396c5f6243d4ed959a6a3f4
45
py
Python
cca/factutils/python/factutils/__init__.py
mstmhsmt/cca
0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a
[ "Apache-2.0" ]
null
null
null
cca/factutils/python/factutils/__init__.py
mstmhsmt/cca
0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a
[ "Apache-2.0" ]
null
null
null
cca/factutils/python/factutils/__init__.py
mstmhsmt/cca
0dc69b0f0da1def4e8404e5f7b7fe35b6ac3198a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 __all__ = ['common']
11.25
22
0.644444
6
45
4.166667
1
0
0
0
0
0
0
0
0
0
0
0.025641
0.133333
45
3
23
15
0.615385
0.466667
0
0
0
0
0.26087
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
f089bd7af01ebc848af609adcad0e5c431f08535
1,036
py
Python
src/azure-cli/azure/cli/command_modules/cdn/_client_factory.py
psignoret/azure-cli
1a4a043750315f9a7f2894b4287126089978b615
[ "MIT" ]
1
2019-12-12T19:55:26.000Z
2019-12-12T19:55:26.000Z
src/azure-cli/azure/cli/command_modules/cdn/_client_factory.py
psignoret/azure-cli
1a4a043750315f9a7f2894b4287126089978b615
[ "MIT" ]
4
2018-08-08T20:01:17.000Z
2018-09-17T15:20:06.000Z
src/azure-cli/azure/cli/command_modules/cdn/_client_factory.py
psignoret/azure-cli
1a4a043750315f9a7f2894b4287126089978b615
[ "MIT" ]
1
2019-06-21T05:08:09.000Z
2019-06-21T05:08:09.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
29.6
94
0.633205
130
1,036
4.692308
0.392308
0.137705
0.091803
0.12623
0.22623
0.22623
0.22623
0
0
0
0
0
0.120656
1,036
34
95
30.470588
0.669594
0.355212
0
0
0
0
0
0
0
0
0
0
0
1
0.4375
false
0
0.125
0.375
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
1
0
0
0
1
1
0
0
3
f089d100285a98e153a95ea6ec6c40b5401ecf9f
119
py
Python
tests/testdata/test_mod_basic/myModule.py
internetimagery/semantic
b0302d09a9fdd3abe770d04002e3733b36097a60
[ "MIT" ]
1
2019-09-25T08:22:29.000Z
2019-09-25T08:22:29.000Z
tests/testdata/test_mod_basic/myModule.py
internetimagery/semantic
b0302d09a9fdd3abe770d04002e3733b36097a60
[ "MIT" ]
3
2019-08-21T00:17:30.000Z
2019-08-22T10:27:27.000Z
tests/testdata/test_mod_basic/myModule.py
internetimagery/semantic
b0302d09a9fdd3abe770d04002e3733b36097a60
[ "MIT" ]
null
null
null
""" Hello there """ import enum as _enum myVar = [1, 2, 3] class MyEnumGroup(int, _enum.Enum): myEnumVar = 123
11.9
35
0.630252
17
119
4.294118
0.823529
0
0
0
0
0
0
0
0
0
0
0.065217
0.226891
119
9
36
13.222222
0.728261
0.092437
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
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
f0a079fd5926ac7bb3ea0ac4c603d9fedc88fd06
111
py
Python
ip_rep/front_end_scorer/urls.py
logicbomb-1/ARTIF
8f5cc38ab2e986ee39cbc0328aac0d825c1915b4
[ "MIT" ]
205
2021-06-21T13:49:14.000Z
2022-02-17T05:10:50.000Z
ip_rep/front_end_scorer/urls.py
0xDivyanshu/ARTIF
946ea8ea7b60e2d81b35ae820a07241ecf25e9b0
[ "MIT" ]
3
2021-07-11T08:08:01.000Z
2021-09-22T20:01:03.000Z
ip_rep/front_end_scorer/urls.py
0xDivyanshu/ARTIF
946ea8ea7b60e2d81b35ae820a07241ecf25e9b0
[ "MIT" ]
35
2021-06-21T10:35:07.000Z
2021-10-11T07:39:12.000Z
from django.urls import path from . import views urlpatterns = [ path("ip/", views.test, name="test"), ]
13.875
41
0.657658
15
111
4.866667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.189189
111
7
42
15.857143
0.811111
0
0
0
0
0
0.063063
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