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
6a06e23eb62c2d172db11de4053e6e5bbfd2816b
6,971
py
Python
robosuite/models/objects/xml_objects.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
null
null
null
robosuite/models/objects/xml_objects.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
null
null
null
robosuite/models/objects/xml_objects.py
kyungjaelee/robosuite
0d73fcca9ed8e638632f4bd7b0f1b8ebf4640fb1
[ "MIT" ]
null
null
null
import numpy as np from robosuite.models.objects import MujocoXMLObject from robosuite.utils.mjcf_utils import xml_path_completion, array_to_string class ArchBoxObject(MujocoXMLObject): """ Bottle object """ def __init__(self, name=None, joints=None): super().__init__(xml_path_completion("obj...
30.709251
104
0.677521
850
6,971
5.294118
0.144706
0.035778
0.075556
0.063333
0.740444
0.705778
0.653333
0.568444
0.568444
0.568444
0
0.000359
0.200832
6,971
226
105
30.845133
0.807395
0.236265
0
0.317073
0
0
0.128665
0.084691
0
0
0
0
0
1
0.256098
false
0
0.036585
0
0.52439
0
0
0
0
null
0
0
0
0
1
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
6a1732c5707c41accbf81ea3d28dd438b55a7d5d
187
py
Python
9term/fipt/P2PLending/reviews/urls.py
nik-sergeson/bsuir-informatics-labs
14805fb83b8e2324580b6253158565068595e804
[ "Apache-2.0" ]
null
null
null
9term/fipt/P2PLending/reviews/urls.py
nik-sergeson/bsuir-informatics-labs
14805fb83b8e2324580b6253158565068595e804
[ "Apache-2.0" ]
null
null
null
9term/fipt/P2PLending/reviews/urls.py
nik-sergeson/bsuir-informatics-labs
14805fb83b8e2324580b6253158565068595e804
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from P2PLending.reviews.views import ReviewView urlpatterns = [ url(r'^create/(?P<reviewed_id>\d*)$', ReviewView.as_view(), name="create_review"), ]
26.714286
86
0.73262
26
187
5.153846
0.807692
0
0
0
0
0
0
0
0
0
0
0.005988
0.106952
187
6
87
31.166667
0.796407
0
0
0
0
0
0.224599
0.15508
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
6a2885573ffea604789443d5d0b702941a4b41d2
176
py
Python
examples/test.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
null
null
null
examples/test.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
null
null
null
examples/test.py
Jincheng-Sun/Kylearn
ba6cd80c97e155d4bb4791b3ae74135bc1365064
[ "Apache-2.0" ]
3
2019-07-07T06:37:52.000Z
2019-09-10T20:32:34.000Z
from examples.mt_model import Mt_model from resnet import Resnet network = Resnet() model = Mt_model(Network = network, ckpt_path='a', tsboard_path= 'n', x_shape=[None ,86,1])
35.2
91
0.755682
29
176
4.37931
0.586207
0.165354
0
0
0
0
0
0
0
0
0
0.019355
0.119318
176
5
91
35.2
0.8
0
0
0
0
0
0.011299
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6a2ea0a2efcf99f159b8a65aa11655916d5c4988
237
py
Python
lesson_5/count_div.py
acelletti/codility_lessons_python
cec9b0d3c8d4dcbe6c9b2572d211f416c9b92eec
[ "MIT" ]
null
null
null
lesson_5/count_div.py
acelletti/codility_lessons_python
cec9b0d3c8d4dcbe6c9b2572d211f416c9b92eec
[ "MIT" ]
null
null
null
lesson_5/count_div.py
acelletti/codility_lessons_python
cec9b0d3c8d4dcbe6c9b2572d211f416c9b92eec
[ "MIT" ]
null
null
null
""" Task Score: 100% Complexity: O(1) """ import math def solution(A, B, K): """ While the previous problem was mathematically challenging, this one is a doodle. """ return math.floor(B / K) - math.ceil(A / K) + 1
15.8
76
0.603376
35
237
4.085714
0.771429
0.027972
0
0
0
0
0
0
0
0
0
0.028249
0.253165
237
14
77
16.928571
0.779661
0.481013
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
1
0
0
1
0
1
0
0
3
6a392978883c64d9b1c870611b3e727a16b3ee78
1,435
py
Python
mine/test_my_calc.py
aroberge/lsbasi
5c20346bdde1109a86716f87d9ee49f125a28fd7
[ "MIT" ]
null
null
null
mine/test_my_calc.py
aroberge/lsbasi
5c20346bdde1109a86716f87d9ee49f125a28fd7
[ "MIT" ]
null
null
null
mine/test_my_calc.py
aroberge/lsbasi
5c20346bdde1109a86716f87d9ee49f125a28fd7
[ "MIT" ]
null
null
null
# Use pytest to run import my_spi # ============================ # Computations # ============================ def calc(text): lexer = my_spi.Lexer(text) parser = my_spi.Parser(lexer) interpreter = my_spi.Interpreter(parser) return interpreter.calc() def test_do_addition(): assert calc("10+22")...
20.211268
82
0.532404
213
1,435
3.41784
0.253521
0.288462
0.061813
0.065934
0.225275
0.118132
0.118132
0.118132
0.118132
0.065934
0
0.103321
0.244599
1,435
70
83
20.5
0.568266
0.061324
0
0
0
0.025641
0.184054
0
0
0
0
0
0.538462
1
0.333333
false
0
0.025641
0
0.384615
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
6a3c8b0e4eb8da6019244948afe8794910893e4e
161
py
Python
apps/comments/api/urls.py
ilindrey/whatyouknow
e2960272e5a50d7975261d91bc36b921179d0536
[ "MIT" ]
2
2022-03-02T10:23:22.000Z
2022-03-09T15:16:59.000Z
apps/comments/api/urls.py
ilindrey/whatyouknow
e2960272e5a50d7975261d91bc36b921179d0536
[ "MIT" ]
null
null
null
apps/comments/api/urls.py
ilindrey/whatyouknow
e2960272e5a50d7975261d91bc36b921179d0536
[ "MIT" ]
null
null
null
from rest_framework.routers import DefaultRouter from .views import CommentAPIViewSet router = DefaultRouter() router.register('comments', CommentAPIViewSet)
20.125
48
0.832298
16
161
8.3125
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.099379
161
7
49
23
0.917241
0
0
0
0
0
0.049689
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6a43ec962b7d29e33de3af39b5b0935576120dde
144
py
Python
app.py
sigmeta/mysite
e2e8359ac0eba6ba0edb93c5aa561749f358b15e
[ "Apache-2.0" ]
null
null
null
app.py
sigmeta/mysite
e2e8359ac0eba6ba0edb93c5aa561749f358b15e
[ "Apache-2.0" ]
null
null
null
app.py
sigmeta/mysite
e2e8359ac0eba6ba0edb93c5aa561749f358b15e
[ "Apache-2.0" ]
null
null
null
from myapp import create_app app = create_app() from myapp.views import admin if __name__=="__main__": app.run(host='0.0.0.0', debug=True)
20.571429
39
0.722222
25
144
3.76
0.6
0.06383
0.06383
0
0
0
0
0
0
0
0
0.032258
0.138889
144
6
40
24
0.725806
0
0
0
0
0
0.104167
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
6a46455fa07ca9973fddd603303bfb7174831046
678
py
Python
test/test_dct.py
pythoro/resultbox
1d30a1ef08cfaff3c11f5c7b67bfb6a2e9f62c0a
[ "MIT" ]
null
null
null
test/test_dct.py
pythoro/resultbox
1d30a1ef08cfaff3c11f5c7b67bfb6a2e9f62c0a
[ "MIT" ]
null
null
null
test/test_dct.py
pythoro/resultbox
1d30a1ef08cfaff3c11f5c7b67bfb6a2e9f62c0a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun Sep 1 20:04:58 2019 @author: Reuben """ import unittest from resultbox import Dict_Container, get_dict def dct1(): return {'a': 1, 'b': 2} def dct2(): return {'a': 3, 'b': 4, 'c': 5} class Test_Dict_Container(unittest.TestCase): def test_init(self): ...
18.833333
47
0.564897
90
678
4.122222
0.5
0.175202
0.080863
0.153639
0.156334
0.156334
0.156334
0
0
0
0
0.047718
0.289086
678
35
48
19.371429
0.721992
0.110619
0
0.263158
0
0
0.036975
0
0
0
0
0
0.105263
1
0.263158
false
0
0.105263
0.105263
0.526316
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
6a4d09f35887a835908754934366893969d704cb
16
py
Python
src/ID_info_pages.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
4
2019-09-26T21:34:32.000Z
2021-11-18T19:31:15.000Z
src/ID_info_pages.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
null
null
null
src/ID_info_pages.py
faycalki/tainted-paths
81cecf6c1fba903ec3b8043e22652d222892609d
[ "MIT" ]
null
null
null
ip_Update = 0
4
13
0.625
3
16
3
1
0
0
0
0
0
0
0
0
0
0
0.090909
0.3125
16
3
14
5.333333
0.727273
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
dbedc7c4183481eef0fd662564ff77e21c0ef01f
253
py
Python
quiz/admin.py
baybars313/examsys
4170ad340d45d08b541c6d1dedcb96e6822ab877
[ "MIT" ]
null
null
null
quiz/admin.py
baybars313/examsys
4170ad340d45d08b541c6d1dedcb96e6822ab877
[ "MIT" ]
null
null
null
quiz/admin.py
baybars313/examsys
4170ad340d45d08b541c6d1dedcb96e6822ab877
[ "MIT" ]
null
null
null
from django.contrib import admin from import_export.admin import ImportExportModelAdmin from .models import * # Register your models here. # admin.site.register(item) @admin.register(Question) class ViewAdmin(ImportExportModelAdmin): exclude=['id']
28.111111
54
0.802372
30
253
6.733333
0.6
0
0
0
0
0
0
0
0
0
0
0
0.106719
253
9
55
28.111111
0.893805
0.205534
0
0
0
0
0.01005
0
0
0
0
0
0
1
0
false
0
0.666667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e010d356e3c207b79d6d77191dd9a1577a9a4192
965
py
Python
brainstorm/__init__.py
PyCN/brainstorm
8f1fc886faf268b25085fa5c95bf106b1805d766
[ "MIT" ]
1,473
2015-10-25T19:12:45.000Z
2022-03-13T01:00:51.000Z
brainstorm/__init__.py
PyCN/brainstorm
8f1fc886faf268b25085fa5c95bf106b1805d766
[ "MIT" ]
50
2015-10-25T19:14:17.000Z
2018-10-03T07:48:25.000Z
brainstorm/__init__.py
PyCN/brainstorm
8f1fc886faf268b25085fa5c95bf106b1805d766
[ "MIT" ]
209
2015-10-25T20:22:06.000Z
2021-07-23T00:00:39.000Z
#!/usr/bin/env python # coding=utf-8 from __future__ import division, print_function, unicode_literals from brainstorm.describable import get_description, create_from_description from brainstorm.randomness import global_rnd from brainstorm.structure import Network, generate_architecture from brainstorm.training import ...
37.115385
75
0.792746
109
965
6.688073
0.385321
0.268861
0.246914
0.065844
0.096022
0
0
0
0
0
0
0.001202
0.137824
965
25
76
38.6
0.875
0.034197
0
0
0
0
0.187097
0.047312
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0.05
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
1
0
0
0
0
3
e01973a52d82978f8df2a9b2fbe70fbe862cfce3
483
py
Python
FoodScan/BarcodeSync/BarcodeDecoder/barcodeDecoder.py
danielBreitlauch/FoodScan
cf84209c4da84a8cb56deccdbde9c305eee1b8c3
[ "MIT" ]
1
2017-03-16T00:59:01.000Z
2017-03-16T00:59:01.000Z
FoodScan/BarcodeSync/BarcodeDecoder/barcodeDecoder.py
danielBreitlauch/FoodScan
cf84209c4da84a8cb56deccdbde9c305eee1b8c3
[ "MIT" ]
null
null
null
FoodScan/BarcodeSync/BarcodeDecoder/barcodeDecoder.py
danielBreitlauch/FoodScan
cf84209c4da84a8cb56deccdbde9c305eee1b8c3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import abc class BarcodeDecoder: def __init__(self): pass @staticmethod @abc.abstractmethod def url(barcode): """ :rtype: String """ raise NotImplementedError('users must define __str__ to use this base class') @abc.abstractmetho...
17.888889
85
0.583851
49
483
5.510204
0.571429
0.125926
0.148148
0.244444
0.444444
0.444444
0.444444
0.444444
0.444444
0.444444
0
0.003021
0.3147
483
26
86
18.576923
0.812689
0.10352
0
0.363636
0
0
0.25
0
0
0
0
0
0
1
0.272727
false
0.090909
0.090909
0
0.454545
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
e01f73883d51249aad78e18dc995c10556d270d2
371
py
Python
cassiopeia/__init__.py
YosefLab/Cassiopeia
3002617a00e1281ef073a6f17b6dd55c3337bdad
[ "MIT" ]
52
2019-05-14T02:06:24.000Z
2022-03-27T05:22:56.000Z
cassiopeia/__init__.py
sbradford2/Cassiopeia
010072b307f7eadbf10dc4af8b2165e48f1736a7
[ "MIT" ]
88
2019-06-07T15:07:45.000Z
2022-03-22T14:40:03.000Z
cassiopeia/__init__.py
sbradford2/Cassiopeia
010072b307f7eadbf10dc4af8b2165e48f1736a7
[ "MIT" ]
17
2019-05-17T00:46:16.000Z
2022-03-25T00:39:18.000Z
# -*- coding: utf-8 -*- """Top-level for Cassiopeia development.""" package_name = "cassiopeia" __author__ = "Matt Jones, Alex Khodaveridan, Richard Zhang, Sebastian Prillo" __email__ = "mattjones315@berkeley.edu" __version__ = "0.0.1" from . import pp from . import solver from . import pl from . import data from . ...
21.823529
77
0.725067
49
371
5.22449
0.714286
0.273438
0
0
0
0
0
0
0
0
0
0.022436
0.15903
371
16
78
23.1875
0.798077
0.161725
0
0
0
0
0.334426
0.081967
0
0
0
0
0
1
0
false
0
0.636364
0
0.636364
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e0456f71be612e2dc101884c4c0ef18ef8b90681
151
py
Python
lyricnommer/sources/__init__.py
mtsev/lyric-nommer
eafc1bedaab2143142bf23498221ca452e0119f9
[ "MIT" ]
1
2019-04-04T17:16:48.000Z
2019-04-04T17:16:48.000Z
lyricnommer/sources/__init__.py
mtsev/lyric-nommer
eafc1bedaab2143142bf23498221ca452e0119f9
[ "MIT" ]
null
null
null
lyricnommer/sources/__init__.py
mtsev/lyric-nommer
eafc1bedaab2143142bf23498221ca452e0119f9
[ "MIT" ]
null
null
null
from pathlib import Path modules = Path(__file__).parent.glob("*.py") __all__ = [ f.stem for f in modules if f.is_file() and f.stem != "__init__" ]
37.75
77
0.682119
25
151
3.6
0.72
0.111111
0
0
0
0
0
0
0
0
0
0
0.165563
151
4
77
37.75
0.714286
0
0
0
0
0
0.080537
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
e04795de653c421ed4cb921ada0d925136d33710
109
py
Python
Images/Boolean_operations/union.py
RubenRubens/Montys-CAD
3c59b1a8b01f66f61cce4bf8be735d63fd79bcef
[ "Apache-2.0" ]
2
2020-06-06T22:16:36.000Z
2020-08-10T11:24:25.000Z
Images/Boolean_operations/union.py
RubenRubens/SolidMonty
3c59b1a8b01f66f61cce4bf8be735d63fd79bcef
[ "Apache-2.0" ]
null
null
null
Images/Boolean_operations/union.py
RubenRubens/SolidMonty
3c59b1a8b01f66f61cce4bf8be735d63fd79bcef
[ "Apache-2.0" ]
null
null
null
from SolidMonty_FreeCAD import * a = cube([5, 5, 1]) + cone(h = 2, r1 = 5, r2 = 4) export(name="union") (a)
21.8
49
0.587156
20
109
3.15
0.85
0
0
0
0
0
0
0
0
0
0
0.091954
0.201835
109
5
50
21.8
0.632184
0
0
0
0
0
0.045455
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
e05ec0651e6ccefb04ffd83f9c65affdff780d39
784
py
Python
tests/test_typeclass/test_protocols.py
vpoulailleau/classes
060d4e43bd3b5ee816d1a8c5ce4a0a9020e126bd
[ "BSD-2-Clause" ]
null
null
null
tests/test_typeclass/test_protocols.py
vpoulailleau/classes
060d4e43bd3b5ee816d1a8c5ce4a0a9020e126bd
[ "BSD-2-Clause" ]
null
null
null
tests/test_typeclass/test_protocols.py
vpoulailleau/classes
060d4e43bd3b5ee816d1a8c5ce4a0a9020e126bd
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from typing import Sized from classes import typeclass @typeclass def protocols(instance, other: str) -> str: """Example typeclass for protocols.""" @protocols.instance(Sized, is_protocol=True) def _sized_protocols(instance: Sized, other: str) -> str: return str(len(instance)) + ot...
21.189189
57
0.66199
100
784
5.03
0.43
0.135189
0.065606
0.067594
0
0
0
0
0
0
0
0.017241
0.186224
784
36
58
21.777778
0.77116
0.154337
0
0
0
0
0.015456
0
0
0
0
0
0.166667
1
0.333333
false
0
0.111111
0.166667
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
e060106bb9d0105c819560aed112bb49d279c638
128
py
Python
flask_celery_sample/index/tasks.py
vicenteneto/flask-celery-sample
a2ac1ea4211e24b06fd307709fcb9c1b4ec7c3e9
[ "MIT" ]
2
2017-01-11T07:30:53.000Z
2022-03-06T15:48:52.000Z
flask_celery_sample/index/tasks.py
vicenteneto/flask-celery-sample
a2ac1ea4211e24b06fd307709fcb9c1b4ec7c3e9
[ "MIT" ]
null
null
null
flask_celery_sample/index/tasks.py
vicenteneto/flask-celery-sample
a2ac1ea4211e24b06fd307709fcb9c1b4ec7c3e9
[ "MIT" ]
null
null
null
from flask_celery_sample.app_celery import celery @celery.task def hello(): for i in range(10000): print 'Hello!'
16
49
0.695313
19
128
4.526316
0.789474
0
0
0
0
0
0
0
0
0
0
0.049505
0.210938
128
7
50
18.285714
0.80198
0
0
0
0
0
0.046875
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e063abc12ccadc0a3c390ffa150db45a0af92ff7
3,626
py
Python
pymel/internal/parsers.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
pymel/internal/parsers.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
pymel/internal/parsers.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
from pymel.util.external.BeautifulSoup import BeautifulSoup from pymel.mayautils import getMayaLocation from HTMLParser import HTMLParser from pymel.util.external.BeautifulSoup import NavigableString class CommandModuleDocParser(HTMLParser): def __init__(self, category, version=None): pass de...
15.299578
109
0.517926
330
3,626
5.524242
0.387879
0.149753
0.048272
0.043884
0.200219
0.188151
0.120132
0.120132
0.120132
0.063631
0
0.00044
0.372587
3,626
236
110
15.364407
0.800879
0.096525
0
0.490566
0
0
0.00437
0
0
0
0
0
0
1
0.40566
false
0.40566
0.037736
0
0.575472
0.018868
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
0eca4d3d807456cfcba63a4ff71d91e36013b232
186
py
Python
onacol/base.py
calcite/onacol
4e4a9af6c61318d2e449840d98b1cd24251123bd
[ "MIT" ]
5
2021-07-26T08:20:23.000Z
2021-12-16T20:46:53.000Z
onacol/base.py
calcite/onacol
4e4a9af6c61318d2e449840d98b1cd24251123bd
[ "MIT" ]
1
2021-08-30T14:23:23.000Z
2021-08-30T14:23:23.000Z
onacol/base.py
calcite/onacol
4e4a9af6c61318d2e449840d98b1cd24251123bd
[ "MIT" ]
null
null
null
""" .. module: onacol.base :synopsis: Basic utilities and exception classes. .. moduleauthor:: Josef Nevrly <josef.nevrly@gmail.com> """ class OnacolException(Exception): pass
16.909091
55
0.709677
20
186
6.6
0.85
0.166667
0
0
0
0
0
0
0
0
0
0
0.155914
186
10
56
18.6
0.840764
0.709677
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
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
0
1
1
0
0
0
0
0
3
0ed4fffe4316ad33e7be336b8009673f28cedd92
752
py
Python
blog/view/validations.py
vyahello/Blog
5e0dae383be2eedde221f31bc61d29bfc436a44a
[ "MIT" ]
4
2018-05-22T10:02:23.000Z
2018-06-04T19:58:46.000Z
blog/view/validations.py
vyahello/blog
5e0dae383be2eedde221f31bc61d29bfc436a44a
[ "MIT" ]
1
2020-09-28T21:01:05.000Z
2020-09-28T21:01:05.000Z
blog/view/validations.py
vyahello/blog
5e0dae383be2eedde221f31bc61d29bfc436a44a
[ "MIT" ]
1
2021-04-10T22:32:39.000Z
2021-04-10T22:32:39.000Z
from abc import ABC, abstractmethod from blog.storage.models import User from blog.storage.queries import Query, UserQuery class Validation(ABC): """Represent abstraction for some validation.""" @abstractmethod def validate_username(self, username: User) -> None: pass @abstractmethod def...
25.931034
56
0.691489
88
752
5.784091
0.340909
0.078585
0.070727
0.100196
0.337917
0.282908
0.282908
0
0
0
0
0
0.202128
752
28
57
26.857143
0.848333
0.101064
0
0.470588
0
0
0
0
0
0
0
0
0
1
0.294118
false
0.117647
0.176471
0
0.588235
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
0eed9662f2fcba3948ed18ddeece773aa6e13981
111
py
Python
Solutions/8kyu/8kyu_find_first_non-consequtive_number.py
citrok25/Codewars-1
dc641c5079e2e8b5955eb027fd15427e5bdb2e26
[ "MIT" ]
46
2017-08-24T09:27:57.000Z
2022-02-25T02:24:33.000Z
Solutions/8kyu/8kyu_find_first_non-consequtive_number.py
abbhishek971/Codewars
9e761811db724da1e8aae44594df42b4ee879a16
[ "MIT" ]
null
null
null
Solutions/8kyu/8kyu_find_first_non-consequtive_number.py
abbhishek971/Codewars
9e761811db724da1e8aae44594df42b4ee879a16
[ "MIT" ]
35
2017-08-01T22:09:48.000Z
2022-02-18T17:21:37.000Z
def first_non_consecutive(arr): for i,j in zip(range(arr[0], arr[-1]+1), arr): if i != j: return j
27.75
50
0.585586
22
111
2.863636
0.681818
0.063492
0
0
0
0
0
0
0
0
0
0.035294
0.234234
111
3
51
37
0.705882
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0ef0b7d8e6233b6f13fb69a9a42c6442d5190769
2,286
py
Python
fabric_cf/actor/core/plugins/handlers/configuration_mapping.py
fabric-testbed/ActorBase
3c7dd040ee79fef0759e66996c93eeec57c790b2
[ "MIT" ]
null
null
null
fabric_cf/actor/core/plugins/handlers/configuration_mapping.py
fabric-testbed/ActorBase
3c7dd040ee79fef0759e66996c93eeec57c790b2
[ "MIT" ]
67
2020-12-21T15:39:49.000Z
2022-02-27T17:55:00.000Z
fabric_cf/actor/core/plugins/handlers/configuration_mapping.py
fabric-testbed/ControlFramework
95ab745e32f15c993bc7a017aa97a5a0f67f210f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # MIT License # # Copyright (c) 2020 FABRIC Testbed # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to ...
33.130435
104
0.702537
318
2,286
4.893082
0.40566
0.052057
0.041774
0.032776
0.05527
0
0
0
0
0
0
0.003917
0.218285
2,286
68
105
33.617647
0.866816
0.494751
0
0
0
0.033333
0.1
0
0
0
0
0
0
1
0.4
false
0
0
0.166667
0.633333
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
16119b8bbc803a7b8359827fd20d947818c5fa1c
629
py
Python
docs/components_page/components/__tests__/wrappers.py
jouvin/dash-bootstrap-components
79c0f19e139f48862fcc6e84ec9c6c14c343fbe4
[ "Apache-2.0" ]
null
null
null
docs/components_page/components/__tests__/wrappers.py
jouvin/dash-bootstrap-components
79c0f19e139f48862fcc6e84ec9c6c14c343fbe4
[ "Apache-2.0" ]
null
null
null
docs/components_page/components/__tests__/wrappers.py
jouvin/dash-bootstrap-components
79c0f19e139f48862fcc6e84ec9c6c14c343fbe4
[ "Apache-2.0" ]
null
null
null
PY_WRAPPER = """ import dash import dash_bootstrap_components as dbc app = dash.Dash(external_stylesheets=[dbc.themes.BOOTSTRAP]) {snippet} app.layout = html.Div([{components}]) """ R_WRAPPER = """ library(dash) library(dashBootstrapComponents) library(dashHtmlComponents) app <- Dash$new(external_stylesheets = dbc...
17.971429
60
0.737679
76
629
5.947368
0.421053
0.04646
0.126106
0.165929
0.327434
0.327434
0.327434
0.327434
0.327434
0.327434
0
0.010582
0.098569
629
34
61
18.5
0.786596
0
0
0.26087
0
0
0.903021
0.521463
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
161794686e3d7d8f217d9f87f93ab72af8bf82e4
96
py
Python
django_werkzeug/management/commands/runserver.py
joeyespo/django-werkzeug
ce5a2cb4667d096cbd5c1cf1475bb7c7cf893365
[ "MIT" ]
10
2016-12-07T16:01:38.000Z
2021-07-19T13:59:47.000Z
django_werkzeug/management/commands/runserver.py
joeyespo/django-werkzeug
ce5a2cb4667d096cbd5c1cf1475bb7c7cf893365
[ "MIT" ]
1
2021-04-07T08:32:17.000Z
2021-04-07T08:32:17.000Z
django_werkzeug/management/commands/runserver.py
joeyespo/django-werkzeug
ce5a2cb4667d096cbd5c1cf1475bb7c7cf893365
[ "MIT" ]
null
null
null
from django_extensions.management.commands.runserver_plus import Command __all__ = ['Command']
24
72
0.833333
11
96
6.727273
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.083333
96
3
73
32
0.840909
0
0
0
0
0
0.072917
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1632af715d149c1fdd5edc38ddfa55c9cee5eacd
4,293
py
Python
statsmodels/distributions/tests/test_discrete.py
equinaut/statsmodels
6fe8d4e351416727641db4c3d3552f4ec4f46d0e
[ "BSD-3-Clause" ]
null
null
null
statsmodels/distributions/tests/test_discrete.py
equinaut/statsmodels
6fe8d4e351416727641db4c3d3552f4ec4f46d0e
[ "BSD-3-Clause" ]
null
null
null
statsmodels/distributions/tests/test_discrete.py
equinaut/statsmodels
6fe8d4e351416727641db4c3d3552f4ec4f46d0e
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import statsmodels.api as sm from scipy.stats import poisson, nbinom from numpy.testing import assert_allclose class TestGenpoisson_p(object): """ Test Generalized Poisson Destribution """ def test_pmf_p1(self): poisson_pmf = poisson.pmf(1, 1) genpoisson_pmf = sm.di...
39.027273
79
0.668297
656
4,293
4.175305
0.103659
0.136911
0.078861
0.085433
0.818912
0.715225
0.608616
0.400511
0.220884
0.165389
0
0.065211
0.210575
4,293
109
80
39.385321
0.742992
0.018169
0
0.275
0
0
0
0
0
0
0
0
0.225
1
0.2125
false
0
0.05
0
0.3125
0
0
0
0
null
0
0
0
1
1
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
16388d09352d3a15eccade0912b62f7b3e2e59f7
2,760
py
Python
tests/test_mutator.py
malcolmraine/Gatekeeper
33461bdd90ed83f834e13a7542d333982ba37d24
[ "Apache-2.0" ]
null
null
null
tests/test_mutator.py
malcolmraine/Gatekeeper
33461bdd90ed83f834e13a7542d333982ba37d24
[ "Apache-2.0" ]
null
null
null
tests/test_mutator.py
malcolmraine/Gatekeeper
33461bdd90ed83f834e13a7542d333982ba37d24
[ "Apache-2.0" ]
null
null
null
import unittest from Gatekeeper import Mutator class Person(Mutator): def __init__(self): self.address = "" @staticmethod def get_address_attribute(value): # Using mutator without decorator return value.upper() class TestMutator(unittest.TestCase): def test_cast(self) -> Non...
20.75188
72
0.536594
303
2,760
4.825083
0.257426
0.043092
0.073871
0.082079
0.45212
0.391245
0.391245
0.309166
0.287278
0.287278
0
0.040759
0.351087
2,760
132
73
20.909091
0.775544
0.248188
0
0.358491
0
0
0.042914
0
0
0
0
0
0.169811
1
0.358491
false
0
0.037736
0.169811
0.603774
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
164713f1333393554e5f920a21efbb89e66dc7e5
192
py
Python
testing/urls.py
jainmickey/django-sites
b370bc50c2052df210c2410adb80d42cff18617b
[ "BSD-3-Clause" ]
null
null
null
testing/urls.py
jainmickey/django-sites
b370bc50c2052df210c2410adb80d42cff18617b
[ "BSD-3-Clause" ]
null
null
null
testing/urls.py
jainmickey/django-sites
b370bc50c2052df210c2410adb80d42cff18617b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf.urls import patterns, include, url from django.views.generic import View urlpatterns = patterns('', url(r'foo$', View.as_view(), name="foo"), )
19.2
51
0.666667
27
192
4.703704
0.703704
0.15748
0
0
0
0
0
0
0
0
0
0.006135
0.151042
192
9
52
21.333333
0.773006
0.109375
0
0
0
0
0.04142
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
165b736c2947d535f550d96cae388143e269c5d5
211
py
Python
plotly_ex/graphs/urls.py
msamunetogetoge/plotly_ex
489f5a31a09d1d27607a48fa64af2cc059de11ba
[ "MIT" ]
null
null
null
plotly_ex/graphs/urls.py
msamunetogetoge/plotly_ex
489f5a31a09d1d27607a48fa64af2cc059de11ba
[ "MIT" ]
null
null
null
plotly_ex/graphs/urls.py
msamunetogetoge/plotly_ex
489f5a31a09d1d27607a48fa64af2cc059de11ba
[ "MIT" ]
null
null
null
from pathlib import Path from django.urls import path from . import views BASE_DIR = Path(__file__).resolve(strict=True).parent.parent urlpatterns = [ path("", views.index, name="index"), ]
16.230769
61
0.677725
27
211
5.111111
0.62963
0.144928
0.202899
0
0
0
0
0
0
0
0
0
0.203791
211
12
62
17.583333
0.821429
0
0
0
0
0
0.025253
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
166c5f6eb05cc098ec379f1e41d88d2fcee53fec
57
py
Python
techgig/stringmin.py
suhasksv/py-ground
8c04a845c6b5c4efcb335c8ad59416874e8226d1
[ "Apache-2.0" ]
3
2020-06-01T09:40:41.000Z
2020-08-26T12:09:27.000Z
techgig/stringmin.py
suhasksv/py-ground
8c04a845c6b5c4efcb335c8ad59416874e8226d1
[ "Apache-2.0" ]
null
null
null
techgig/stringmin.py
suhasksv/py-ground
8c04a845c6b5c4efcb335c8ad59416874e8226d1
[ "Apache-2.0" ]
4
2020-07-20T10:38:23.000Z
2020-10-16T08:41:05.000Z
def main(): st = input("") print(min(st)) main()
11.4
18
0.491228
8
57
3.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.263158
57
4
19
14.25
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
166e96b7f95430a03e6a167c31b85b9458be5bfa
1,074
py
Python
project01/lookup.py
uva-sp2021-cs5010-g6/finalproject
28de55b5b4f1117e019b2b4462d28357fa264d40
[ "MIT" ]
1
2021-12-03T13:09:05.000Z
2021-12-03T13:09:05.000Z
project01/lookup.py
uva-sp2021-cs5010-g6/finalproject
28de55b5b4f1117e019b2b4462d28357fa264d40
[ "MIT" ]
null
null
null
project01/lookup.py
uva-sp2021-cs5010-g6/finalproject
28de55b5b4f1117e019b2b4462d28357fa264d40
[ "MIT" ]
null
null
null
import pandas as pd class NutrientLookup: def __init__(self, csv_file): self._df = pd.read_csv(csv_file, header=0) def _lookup(self, col, val): return self._df[self._df[col] == val].tolist() def lookup_id(self, idx): return self._lookup("id", idx) def lookup_name(self, name...
23.866667
54
0.569832
128
1,074
4.523438
0.375
0.093264
0.138169
0
0
0
0
0
0
0
0
0.01731
0.300745
1,074
44
55
24.409091
0.753662
0
0
0.0625
0
0
0.091418
0
0
0
0
0
0
1
0.28125
false
0
0.03125
0.21875
0.59375
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
167a575aba02b9fb0f31be776efce14109add78c
348
py
Python
stringTesting1.py
nawnaw1/PythonTesting
eade05cee4af0c2c0f805db6cf17ff9981f4688f
[ "MIT" ]
null
null
null
stringTesting1.py
nawnaw1/PythonTesting
eade05cee4af0c2c0f805db6cf17ff9981f4688f
[ "MIT" ]
null
null
null
stringTesting1.py
nawnaw1/PythonTesting
eade05cee4af0c2c0f805db6cf17ff9981f4688f
[ "MIT" ]
null
null
null
str = 'Hello World!' print(str) # Prints complete string print(str[0]) # Prints first character of the string print(str[2:5]) # Prints characters starting from 3rd to 5th print(str[2:]) # Prints string starting from 3rd character print(str * 2) # Prints string two times print(str + "TEST") ...
49.714286
64
0.681034
50
348
4.74
0.48
0.202532
0.113924
0.126582
0.177215
0
0
0
0
0
0
0.02952
0.221264
348
7
65
49.714286
0.845018
0.560345
0
0
0
0
0.108844
0
0
0
0
0
0
1
0
false
0
0
0
0
0.857143
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
0
0
0
1
0
3
1683f0cda4ae101c1f6d66598737ee53d3e6b7e7
451
py
Python
nablapps/news/migrations/0016_auto_20190205_1300.py
Amund211/nablaweb
8105c34615d4b67637e982545fbc6489a131c1f3
[ "MIT" ]
17
2019-10-07T15:10:58.000Z
2022-01-21T14:18:07.000Z
nablapps/news/migrations/0016_auto_20190205_1300.py
Amund211/nablaweb
8105c34615d4b67637e982545fbc6489a131c1f3
[ "MIT" ]
222
2019-10-07T15:04:51.000Z
2022-03-24T12:14:16.000Z
nablapps/news/migrations/0016_auto_20190205_1300.py
Amund211/nablaweb
8105c34615d4b67637e982545fbc6489a131c1f3
[ "MIT" ]
7
2019-10-10T18:53:42.000Z
2021-10-18T02:13:09.000Z
# Generated by Django 2.1.5 on 2019-02-05 13:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("news", "0015_auto_20180922_1915"), ] operations = [ migrations.RemoveField( model_name="newsarticle", name="publication_date...
20.5
47
0.578714
43
451
5.930233
0.744186
0.164706
0.203922
0.235294
0.352941
0.352941
0
0
0
0
0
0.1
0.312639
451
21
48
21.47619
0.722581
0.099778
0
0.4
1
0
0.183168
0.056931
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
168721524e50c7e706286013ddc9493b4f5f46a1
228
py
Python
pypc/operations/branches/branch_not_equals.py
xpenalosa/PyPc
fff3ae29b800d127d261492098aecbbf6719bd07
[ "MIT" ]
null
null
null
pypc/operations/branches/branch_not_equals.py
xpenalosa/PyPc
fff3ae29b800d127d261492098aecbbf6719bd07
[ "MIT" ]
null
null
null
pypc/operations/branches/branch_not_equals.py
xpenalosa/PyPc
fff3ae29b800d127d261492098aecbbf6719bd07
[ "MIT" ]
null
null
null
from pypc.operations.branches import BeOp class BneOp(BeOp): def __init__(self, *args): super().__init__(*args) def _check_branch(self, a1, a2, *args): return not super()._check_branch(a1, a2, *args)
20.727273
55
0.653509
31
228
4.419355
0.612903
0.160584
0.116788
0
0
0
0
0
0
0
0
0.022222
0.210526
228
10
56
22.8
0.738889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
169318bb88f767e85c6ae2d0fc5b20aab129b0c4
604
py
Python
mlrose/algorithms/__init__.py
tadmorgan/mlrose
846408b74f999f122156d4724067a003ea68ea47
[ "BSD-3-Clause" ]
null
null
null
mlrose/algorithms/__init__.py
tadmorgan/mlrose
846408b74f999f122156d4724067a003ea68ea47
[ "BSD-3-Clause" ]
null
null
null
mlrose/algorithms/__init__.py
tadmorgan/mlrose
846408b74f999f122156d4724067a003ea68ea47
[ "BSD-3-Clause" ]
null
null
null
""" Classes for defining algorithms problem objects.""" # Author: Genevieve Hayes (modified by Andrew Rollings) # License: BSD 3 clause from .ga import (genetic_alg) from .sa import (simulated_annealing) from .hc import (hill_climb) from .rhc import (random_hill_climb) from .gd import (gradient_descent) from .mimic i...
33.555556
85
0.806291
73
604
6.561644
0.712329
0.037578
0.05428
0
0
0
0
0
0
0
0
0.00188
0.119205
604
17
86
35.529412
0.898496
0.206954
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
1694f94d63d8d37101f2eac326c895e55a7298ab
583
py
Python
Pancake Problem Algorithm/SearchStrategy.py
MrTee99/Pancake-Problem-Algorithm
eb2474d070aa875323b174b3dadc51c68de3af82
[ "MIT" ]
null
null
null
Pancake Problem Algorithm/SearchStrategy.py
MrTee99/Pancake-Problem-Algorithm
eb2474d070aa875323b174b3dadc51c68de3af82
[ "MIT" ]
null
null
null
Pancake Problem Algorithm/SearchStrategy.py
MrTee99/Pancake-Problem-Algorithm
eb2474d070aa875323b174b3dadc51c68de3af82
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Mon Oct 28 00:10:56 2019 @author: MrTee """ from abc import abstractmethod; class SearchStrategy(object): @abstractmethod def __init__(self): pass @abstractmethod def IsEmpty(self): pass # This will be used to check weather the frin...
23.32
77
0.634648
80
583
4.575
0.5875
0.185792
0.098361
0.114754
0.295082
0.295082
0.131148
0
0
0
0
0.031477
0.291595
583
25
78
23.32
0.854722
0.421955
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0.1
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
16be9f3b29431650161f93845274a6f98a6fb1da
297
py
Python
src/.ycm_extra_conf.py
xprov/NeuralNetwork
09eb922385aa68fc86124167f168082904da98e9
[ "MIT" ]
null
null
null
src/.ycm_extra_conf.py
xprov/NeuralNetwork
09eb922385aa68fc86124167f168082904da98e9
[ "MIT" ]
null
null
null
src/.ycm_extra_conf.py
xprov/NeuralNetwork
09eb922385aa68fc86124167f168082904da98e9
[ "MIT" ]
1
2019-05-07T20:55:47.000Z
2019-05-07T20:55:47.000Z
def FlagsForFile( filename ): return { 'flags': [ '-Wall', '-Wextra', '-Werror', '-std=c++11', '-x', 'c++', '-isystem', '/usr/include/c++/10', '-isystem', '/usr/include/c++/10/backward', '-isystem', '/usr/local/include', '-isystem', '/usr/include', ] }
22.846154
47
0.488215
31
297
4.677419
0.580645
0.275862
0.351724
0.248276
0.275862
0
0
0
0
0
0
0.026201
0.228956
297
12
48
24.75
0.606987
0
0
0
0
0
0.498317
0.094276
0
0
0
0
0
1
0.083333
false
0
0
0.083333
0.166667
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
16cd0021e5d7b43cea264b84ee49926cc726ce5d
392
py
Python
tests/unit/utils/test_stringutils.py
ChuckVanHoff/pyowm
86735d8629ead2cfa0232b0f8ec0b88ab16eff11
[ "MIT" ]
1
2019-06-01T07:47:12.000Z
2019-06-01T07:47:12.000Z
tests/unit/utils/test_stringutils.py
cjsgh901/pyowm
cdd59eb72f32f7238624ceef9b2e2329a5ebd472
[ "MIT" ]
null
null
null
tests/unit/utils/test_stringutils.py
cjsgh901/pyowm
cdd59eb72f32f7238624ceef9b2e2329a5ebd472
[ "MIT" ]
1
2020-01-20T22:54:02.000Z
2020-01-20T22:54:02.000Z
import unittest import sys from pyowm.utils import stringutils class TestStringUtils(unittest.TestCase): def test_obfuscate_API_key(self): API_key = '22e28da2669c4283acdbd9cfa7dc0903' expected = '************************a7dc0903' self.assertEqual(expected, stringutils.obfuscate_API_key(A...
28
74
0.714286
40
392
6.775
0.55
0.110701
0.166052
0.191882
0
0
0
0
0
0
0
0.069486
0.155612
392
13
75
30.153846
0.749245
0
0
0
0
0
0.163265
0.163265
0
0
0
0
0.222222
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
16e16ae170bbaa0413e63007b81a6e04bb6f5075
1,963
py
Python
functions.py
feberhardt/Project-Digital
92bfb4c04305182a0a4c86b81056ad0734bf14c6
[ "MIT" ]
null
null
null
functions.py
feberhardt/Project-Digital
92bfb4c04305182a0a4c86b81056ad0734bf14c6
[ "MIT" ]
null
null
null
functions.py
feberhardt/Project-Digital
92bfb4c04305182a0a4c86b81056ad0734bf14c6
[ "MIT" ]
3
2017-11-02T15:30:51.000Z
2017-12-18T14:46:27.000Z
#Author: John, Leo, & Viktoria #Project: Connect 4 #Date: 12/12/2017 import numpy import pygame def createboard(rows,columns): """ Creates a string given rows and columns desired that can be converted into a matrix through numpy >>> createboard(5,4) '0,0,0,0,0; 0,0,0,0,0; 0,0,0,0,0; 0,0,0,0,0' ...
29.298507
96
0.505858
318
1,963
3.056604
0.254717
0.23251
0.32716
0.411523
0.222222
0.191358
0.191358
0.191358
0.191358
0.191358
0
0.123077
0.337748
1,963
66
97
29.742424
0.624615
0.462557
0
0.125
0
0
0.035941
0
0
0
0
0
0
1
0.0625
false
0
0.09375
0
0.21875
0.03125
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
bc41aa6db97f69052d0e9f5b0be079f653f849cb
809
py
Python
nickpale/views.py
whiteisnick/nickpale
77ad44fa4f2f3b22d0e04419c9625f0fc2dbda02
[ "MIT" ]
null
null
null
nickpale/views.py
whiteisnick/nickpale
77ad44fa4f2f3b22d0e04419c9625f0fc2dbda02
[ "MIT" ]
9
2018-03-25T18:00:11.000Z
2022-03-11T23:16:16.000Z
nickpale/views.py
nickpale/nickpale
77ad44fa4f2f3b22d0e04419c9625f0fc2dbda02
[ "MIT" ]
null
null
null
from django.views.generic.base import TemplateView class HomePageView(TemplateView): template_name = "nickpale/home.html" class AboutPageView(TemplateView): template_name = "nickpale/about.html" class DonatePageView(TemplateView): template_name = "nickpale/donate.html" class EmailPageView(TemplateVi...
21.289474
58
0.779975
79
809
7.873418
0.392405
0.289389
0.347267
0.463023
0
0
0
0
0
0
0
0.01983
0.127318
809
37
59
21.864865
0.86119
0
0
0
0
0
0.253399
0.088999
0
0
0
0
0
1
0
false
0
0.052632
0
1
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
bc448a9713d22bf4d0c17fa7759dbfdcc90ebf60
351
py
Python
src/_solutions/eda_targets_q1.py
eotp/workshop-data-science
3c066e541448e6f471cf4eea9effa6b0b118a2cb
[ "MIT" ]
1
2018-03-12T13:46:10.000Z
2018-03-12T13:46:10.000Z
src/_solutions/eda_targets_q1.py
eotp/workshop-data-science
3c066e541448e6f471cf4eea9effa6b0b118a2cb
[ "MIT" ]
null
null
null
src/_solutions/eda_targets_q1.py
eotp/workshop-data-science
3c066e541448e6f471cf4eea9effa6b0b118a2cb
[ "MIT" ]
null
null
null
# EDA: Target - Q1 print("Number of unique cities in the data set:\n", df_tar['Target City'].nunique()) print("---------------------------------------") most_frequent_cities = df_tar['Target City'].value_counts().sort_values(ascending=False)[:15] print("Most frequent cities:\n", most_frequent_cities) print("----------...
50.142857
93
0.57265
42
351
4.595238
0.619048
0.186529
0.279793
0.15544
0
0
0
0
0
0
0
0.009202
0.071225
351
7
94
50.142857
0.582822
0.045584
0
0.4
0
0
0.494012
0.233533
0
0
0
0
0
1
0
false
0
0
0
0
0.8
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
bc512ca23c9c0fbc4da96299ad38d365659841c9
7,605
py
Python
api/documentation/__init__.py
Major-League-Summer-Baseball/mlsb-platform
ecb2a6a15dcaa12c4e18a6d9c5d1b4caf83e05a4
[ "Apache-2.0" ]
1
2021-04-22T02:06:33.000Z
2021-04-22T02:06:33.000Z
api/documentation/__init__.py
Major-League-Summer-Baseball/mlsb-platform
ecb2a6a15dcaa12c4e18a6d9c5d1b4caf83e05a4
[ "Apache-2.0" ]
42
2021-03-12T23:18:30.000Z
2022-03-13T20:57:36.000Z
api/documentation/__init__.py
Major-League-Summer-Baseball/mlsb-platform
ecb2a6a15dcaa12c4e18a6d9c5d1b4caf83e05a4
[ "Apache-2.0" ]
1
2019-04-21T23:24:54.000Z
2019-04-21T23:24:54.000Z
''' Name: Dallas Fraser Date: 2016-04-12 Project: MLSB API Purpose: Holds the routes for the documentation ''' from flask import render_template from api.routes import Routes from api import app from api.errors import ERRORS @app.route(Routes["dindex"]) def index_doc(): return render_template('documentation/docum...
29.25
79
0.567127
676
7,605
6.211538
0.183432
0.183377
0.116694
0.191712
0.678971
0.657538
0.365087
0.32222
0
0
0
0.001533
0.313741
7,605
259
80
29.362934
0.803027
0.036423
0
0.391061
0
0
0.196638
0.151271
0
0
0
0
0
1
0.195531
true
0
0.022346
0.195531
0.413408
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
0
0
0
3
bc69a061a82640fa1c1efe840531c0d231c654c5
945
py
Python
cibyl/plugins/openstack/service.py
amolkahat/cibyl
586c3c0a6b21a8f1b71db0c5b29e7d60f9cf0def
[ "Apache-2.0" ]
null
null
null
cibyl/plugins/openstack/service.py
amolkahat/cibyl
586c3c0a6b21a8f1b71db0c5b29e7d60f9cf0def
[ "Apache-2.0" ]
null
null
null
cibyl/plugins/openstack/service.py
amolkahat/cibyl
586c3c0a6b21a8f1b71db0c5b29e7d60f9cf0def
[ "Apache-2.0" ]
null
null
null
""" # Copyright 2022 Red Hat # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
30.483871
78
0.715344
133
945
5.082707
0.669173
0.088757
0.038462
0.047337
0
0
0
0
0
0
0
0.013405
0.210582
945
30
79
31.5
0.892761
0.87619
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
bca5b4476e4b28ac10fa860520d90b2e6c91b614
214
py
Python
Mundo 2/ex047.py
adonaifariasdev/cursoemvideo-python3
1fd35e45b24c52013fa3bc98e723971db8e6b7d1
[ "MIT" ]
null
null
null
Mundo 2/ex047.py
adonaifariasdev/cursoemvideo-python3
1fd35e45b24c52013fa3bc98e723971db8e6b7d1
[ "MIT" ]
null
null
null
Mundo 2/ex047.py
adonaifariasdev/cursoemvideo-python3
1fd35e45b24c52013fa3bc98e723971db8e6b7d1
[ "MIT" ]
null
null
null
# Crie um programa que mostre na tela todos os números pares # que estão no intervalo entre 1 e 50. for c in range(0, 51): #print('{}'.format(c), end=' ') #print(n, end=' ') print(c, end=' ') print('FIM')
26.75
60
0.61215
37
214
3.540541
0.783784
0.183206
0.137405
0
0
0
0
0
0
0
0
0.035503
0.21028
214
7
61
30.571429
0.739645
0.668224
0
0
0
0
0.060606
0
0
0
0
0.142857
0
1
0
false
0
0
0
0
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
3
bca6218a3d809b61a6b7022f8a8f1d1dd9d6e903
229
py
Python
bitmovin_api_sdk/models/player_third_party_licensing_error_action.py
jaythecaesarean/bitmovin-api-sdk-python
48166511fcb9082041c552ace55a9b66cc59b794
[ "MIT" ]
11
2019-07-03T10:41:16.000Z
2022-02-25T21:48:06.000Z
bitmovin_api_sdk/models/player_third_party_licensing_error_action.py
jaythecaesarean/bitmovin-api-sdk-python
48166511fcb9082041c552ace55a9b66cc59b794
[ "MIT" ]
8
2019-11-23T00:01:25.000Z
2021-04-29T12:30:31.000Z
bitmovin_api_sdk/models/player_third_party_licensing_error_action.py
jaythecaesarean/bitmovin-api-sdk-python
48166511fcb9082041c552ace55a9b66cc59b794
[ "MIT" ]
13
2020-01-02T14:58:18.000Z
2022-03-26T12:10:30.000Z
# coding: utf-8 from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model class PlayerThirdPartyLicensingErrorAction(Enum): ALLOW = "ALLOW" DENY = "DENY"
20.818182
59
0.781659
29
229
6.034483
0.689655
0
0
0
0
0
0
0
0
0
0
0.005155
0.152838
229
10
60
22.9
0.896907
0.056769
0
0
0
0
0.042056
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
bcafd46a99d16245bb6f3545cb2de71749e1ca20
240
py
Python
data_collection/gazette/spiders/pe_associacao_municipios.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
2
2020-10-16T20:06:19.000Z
2020-10-20T01:59:30.000Z
data_collection/gazette/spiders/pe_associacao_municipios.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
4
2021-02-10T02:36:48.000Z
2022-03-02T14:55:34.000Z
data_collection/gazette/spiders/pe_associacao_municipios.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
null
null
null
from gazette.spiders.base import SigpubGazetteSpider class PeAssociacaoMunicipiosSpider(SigpubGazetteSpider): name = "pe_associacao_municipios" TERRITORY_ID = "2600000" CALENDAR_URL = "http://www.diariomunicipal.com.br/amupe"
30
60
0.791667
24
240
7.75
0.958333
0
0
0
0
0
0
0
0
0
0
0.033175
0.120833
240
7
61
34.285714
0.848341
0
0
0
0
0
0.291667
0.1
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
bcd2c99aab96d2569f0494902bc634fe954bb87e
103
py
Python
src/opera/commands/__init__.py
Legion2/xopera-opera
808f23cbac326b6d067e6ec531a0109ae02d0f5e
[ "Apache-2.0" ]
null
null
null
src/opera/commands/__init__.py
Legion2/xopera-opera
808f23cbac326b6d067e6ec531a0109ae02d0f5e
[ "Apache-2.0" ]
null
null
null
src/opera/commands/__init__.py
Legion2/xopera-opera
808f23cbac326b6d067e6ec531a0109ae02d0f5e
[ "Apache-2.0" ]
null
null
null
from opera.commands import ( validate, init, info, deploy, undeploy, outputs )
11.444444
28
0.582524
10
103
6
1
0
0
0
0
0
0
0
0
0
0
0
0.339806
103
8
29
12.875
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
1
0
0
0
0
0
0
3
bcdb989f687048413152ed8f39c80c553ac27ff7
3,971
py
Python
baselines/ruwordnet/database.py
vvyadrincev/taxonomy-enrichment
6e8b48f60bdd6078bfac2ccc96684f3143f75762
[ "Apache-2.0" ]
11
2019-12-23T09:43:40.000Z
2021-11-19T06:49:07.000Z
baselines/ruwordnet/database.py
vvyadrincev/taxonomy-enrichment
6e8b48f60bdd6078bfac2ccc96684f3143f75762
[ "Apache-2.0" ]
null
null
null
baselines/ruwordnet/database.py
vvyadrincev/taxonomy-enrichment
6e8b48f60bdd6078bfac2ccc96684f3143f75762
[ "Apache-2.0" ]
9
2019-12-22T12:07:31.000Z
2020-11-23T20:36:09.000Z
import sqlite3 class DatabaseRuWordnet(object): def __init__(self, path="ruwordnet/ruwordnet.db"): self.conn = sqlite3.connect(path) self.cursor = self.conn.cursor() self.cursor.execute('PRAGMA encoding = "UTF-8"') self.cursor.execute('PRAGMA auto_vacuum = 1') self.create_r...
45.643678
118
0.629313
518
3,971
4.640927
0.144788
0.091514
0.127288
0.124376
0.53619
0.395591
0.322795
0.21797
0.174709
0.148918
0
0.007921
0.236968
3,971
86
119
46.174419
0.785479
0
0
0.121212
0
0
0.25661
0.00554
0
0
0
0
0
1
0.287879
false
0
0.015152
0.106061
0.530303
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
bcf9d490e081e6f60157a03bdd32b9410f0dace5
15,238
py
Python
pycatia/in_interfaces/viewer_3d.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
90
2019-02-21T10:05:28.000Z
2022-03-19T01:53:41.000Z
pycatia/in_interfaces/viewer_3d.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
99
2019-05-21T08:29:12.000Z
2022-03-25T09:55:15.000Z
pycatia/in_interfaces/viewer_3d.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
26
2019-04-04T06:31:36.000Z
2022-03-30T07:24:47.000Z
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-06-11 12:40:47.360445 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
32.283898
111
0.509188
1,472
15,238
5.201766
0.174592
0.029254
0.037613
0.031344
0.510383
0.48139
0.423403
0.410866
0.349615
0.298812
0
0.051146
0.418756
15,238
471
112
32.352442
0.813368
0.637485
0
0.144737
1
0
0.008645
0.008645
0
0
0
0
0
1
0.328947
false
0
0.039474
0.013158
0.565789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
bcfcfcd5bce5f1b2c4f68078f573c0c4c446ce08
137
py
Python
src/conversion.py
brakdag/cursoBasicopython
60670c9d3ad7c32482971165387bce4cd4179a79
[ "MIT" ]
null
null
null
src/conversion.py
brakdag/cursoBasicopython
60670c9d3ad7c32482971165387bce4cd4179a79
[ "MIT" ]
null
null
null
src/conversion.py
brakdag/cursoBasicopython
60670c9d3ad7c32482971165387bce4cd4179a79
[ "MIT" ]
null
null
null
valor = input("ingrese la medida en cm: ") valor_pulgadas = int(valor) / 2.54 print(valor + "cm = " + str(valor_pulgadas) + " pulgadas")
34.25
58
0.664234
20
137
4.45
0.65
0.292135
0
0
0
0
0
0
0
0
0
0.026316
0.167883
137
3
59
45.666667
0.754386
0
0
0
0
0
0.284672
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
4c0f4da42d9083cdd1600236f0e1b1589abb03f3
1,210
py
Python
src/jk_triologging/_inst.py
jkpubsrc/python-module-jk-triologging
dcae799121e6c5d6d45a566e32d5aa1931586b6b
[ "Apache-1.1" ]
1
2019-12-27T01:02:44.000Z
2019-12-27T01:02:44.000Z
src/jk_triologging/_inst.py
jkpubsrc/python-module-jk-triologging
dcae799121e6c5d6d45a566e32d5aa1931586b6b
[ "Apache-1.1" ]
null
null
null
src/jk_triologging/_inst.py
jkpubsrc/python-module-jk-triologging
dcae799121e6c5d6d45a566e32d5aa1931586b6b
[ "Apache-1.1" ]
null
null
null
import jk_logging from .TrioLogWrapper import TrioLogWrapper from .TrioBufferLogger import TrioBufferLogger from .TrioConsoleLogger import TrioConsoleLogger from .TrioFileLogger import TrioFileLogger from .TrioFilterLogger import TrioFilterLogger from .TrioMulticastLogger import TrioMulticastLogger from .TrioNamedMu...
24.2
62
0.823967
124
1,210
7.959677
0.241935
0.091185
0.091185
0.162107
0.177305
0.177305
0
0
0
0
0
0
0.11157
1,210
49
63
24.693878
0.91814
0
0
0
0
0
0
0
0
0
0
0
0
1
0.033333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4c0fb6b284d606daaffc13008c3796849f4d85e7
477
py
Python
torchsparse/nn/functional/count.py
collector-m/torchsparse
a41fe4b1f53f9ba27299a98162b679f9d6f449fe
[ "MIT" ]
428
2020-08-30T02:00:57.000Z
2022-03-31T05:49:42.000Z
torchsparse/nn/functional/count.py
collector-m/torchsparse
a41fe4b1f53f9ba27299a98162b679f9d6f449fe
[ "MIT" ]
123
2020-08-31T10:22:39.000Z
2022-03-31T15:57:13.000Z
torchsparse/nn/functional/count.py
collector-m/torchsparse
a41fe4b1f53f9ba27299a98162b679f9d6f449fe
[ "MIT" ]
69
2020-09-01T14:53:05.000Z
2022-03-25T05:26:34.000Z
import torch import torchsparse.backend __all__ = ['spcount'] def spcount(coords: torch.Tensor, num: torch.Tensor) -> torch.Tensor: coords = coords.contiguous() if coords.device.type == 'cuda': return torchsparse.backend.count_cuda(coords, num) elif coords.device.type == 'cpu': return to...
28.058824
74
0.687631
58
477
5.534483
0.362069
0.224299
0.224299
0.271028
0.23676
0.23676
0
0
0
0
0
0
0.188679
477
16
75
29.8125
0.829457
0
0
0
0
0
0.02935
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.5
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
4c1de7a0216acc6903d5689897661cce5a57b244
1,523
py
Python
var/spack/repos/builtin/packages/ctre/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/ctre/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-11-09T20:28:40.000Z
2022-03-15T03:26:33.000Z
var/spack/repos/builtin/packages/ctre/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-02-08T20:37:20.000Z
2019-03-31T15:19:26.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * class Ctre(CMakePackage): """Compile time regular expressions for C++""" homepage = ...
58.576923
96
0.794485
134
1,523
9.029851
0.529851
0.066116
0.03719
0.071901
0.087603
0.087603
0.087603
0.087603
0
0
0
0.326354
0.090611
1,523
25
97
60.92
0.547292
0.151018
0
0
0
0.0625
0.679128
0.498442
0
0
0
0
0
1
0
false
0
0.0625
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4c2e9553d2a4c24ca474209eb8963d62e1450987
95
py
Python
bin/test.py
Jahongir2007/calc.py
48dc6e10d420c6822e503620d986dc267f6f1d88
[ "MIT" ]
1
2021-04-06T05:03:20.000Z
2021-04-06T05:03:20.000Z
bin/test.py
Jahongir2007/calc.py
48dc6e10d420c6822e503620d986dc267f6f1d88
[ "MIT" ]
null
null
null
bin/test.py
Jahongir2007/calc.py
48dc6e10d420c6822e503620d986dc267f6f1d88
[ "MIT" ]
null
null
null
import calcpy cpy = calcpy cpy.add(12, 3) cpy.multipi(23, 4) cpy.div(25, 5) cpy.multipl(12, 3)
13.571429
18
0.684211
20
95
3.25
0.65
0.276923
0
0
0
0
0
0
0
0
0
0.146341
0.136842
95
6
19
15.833333
0.646341
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
4c3b5bb4718c1f53fdb0c41b38e89509ae23eb10
239
py
Python
windrvmap/__main__.py
afaucon/pywindrvmap
c6d02ecb6285122ecc854fb2aed93b5874804935
[ "MIT" ]
null
null
null
windrvmap/__main__.py
afaucon/pywindrvmap
c6d02ecb6285122ecc854fb2aed93b5874804935
[ "MIT" ]
null
null
null
windrvmap/__main__.py
afaucon/pywindrvmap
c6d02ecb6285122ecc854fb2aed93b5874804935
[ "MIT" ]
null
null
null
from .cli_drives import main if __name__ == "__main__": main() # pylint: disable=no-value-for-parameter; Reason: @click.command decorator edits the function parameters, but pylint does not know this since it does not run the code.
39.833333
179
0.748954
36
239
4.722222
0.833333
0.082353
0
0
0
0
0
0
0
0
0
0
0.167364
239
5
180
47.8
0.854271
0.690377
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
4c41cdf89493b9ce280b63cc975b4766aaabac18
205
py
Python
scheme/5/2-map.py
AlexDoykov/fp1819
190617a76d7c6cc5dd893ceaedb433761ebc4149
[ "MIT" ]
9
2018-10-01T15:46:30.000Z
2021-08-25T14:40:28.000Z
scheme/5/2-map.py
AlexDoykov/fp1819
190617a76d7c6cc5dd893ceaedb433761ebc4149
[ "MIT" ]
1
2018-11-29T14:18:18.000Z
2018-11-29T14:23:30.000Z
scheme/5/2-map.py
AlexDoykov/fp1819
190617a76d7c6cc5dd893ceaedb433761ebc4149
[ "MIT" ]
7
2018-10-01T17:14:40.000Z
2019-01-06T23:36:57.000Z
my_list = [1, 2, 3, 4, 5] def sqr(x): return x ** 2; def map(list_, f): return [f(x) for x in list_] def map_iter(list_, f): new_list = [] for i in list_: new_list.append(f(i)) return new_list
12.8125
29
0.604878
43
205
2.674419
0.44186
0.182609
0
0
0
0
0
0
0
0
0
0.037975
0.229268
205
15
30
13.666667
0.689873
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0
0.2
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
0
0
1
1
0
0
3
4c4f6f314af678bb935bf62c5983b87afd6a2d32
1,233
py
Python
jury/migrations/0013_auto_20210720_0039.py
COdingaorg/The_Jury
a4432269a023edf49a010644ca4f06324a934d7f
[ "MIT" ]
null
null
null
jury/migrations/0013_auto_20210720_0039.py
COdingaorg/The_Jury
a4432269a023edf49a010644ca4f06324a934d7f
[ "MIT" ]
null
null
null
jury/migrations/0013_auto_20210720_0039.py
COdingaorg/The_Jury
a4432269a023edf49a010644ca4f06324a934d7f
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-07-19 21:39 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jury', '0012_auto_20210720_0038'), ] operations = [ migrations.AlterField( model_name='application...
41.1
204
0.6691
135
1,233
6.044444
0.355556
0.085784
0.171569
0.106618
0.761029
0.761029
0.699755
0.699755
0.699755
0.699755
0
0.053608
0.213301
1,233
29
205
42.517241
0.787629
0.036496
0
0.521739
1
0
0.205734
0.019393
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4c5d76535f3e1adf30ce9486ce9ff57e965a08b0
3,503
py
Python
pywinrt/winsdk/windows/media/miracast/__init__.py
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
3
2022-02-14T14:53:08.000Z
2022-03-29T20:48:54.000Z
pywinrt/winsdk/windows/media/miracast/__init__.py
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
4
2022-01-28T02:53:52.000Z
2022-02-26T18:10:05.000Z
pywinrt/winsdk/windows/media/miracast/__init__.py
pywinrt/python-winsdk
1e2958a712949579f5e84d38220062b2cec12511
[ "MIT" ]
null
null
null
# WARNING: Please don't edit this file. It was generated by Python/WinRT v1.0.0-beta.4 import enum import winsdk _ns_module = winsdk._import_ns_module("Windows.Media.Miracast") try: import winsdk.windows.applicationmodel.core except Exception: pass try: import winsdk.windows.foundation except Exception...
31
100
0.821582
325
3,503
8.550769
0.387692
0.057575
0.032386
0.047499
0.132782
0.132782
0.132782
0.103275
0.048938
0.048938
0
0.014517
0.134742
3,503
112
101
31.276786
0.902342
0.023979
0
0.27957
1
0
0.006438
0.006438
0
0
0
0
0
1
0
false
0.064516
0.096774
0
0.612903
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
4c6fb3caed627777973f95661d8dbb8065fe2acc
1,421
py
Python
tests/snippets/membership.py
evilpie/RustPython
2d22a882ae642d4b2e66b44008378da63e71f78f
[ "MIT" ]
null
null
null
tests/snippets/membership.py
evilpie/RustPython
2d22a882ae642d4b2e66b44008378da63e71f78f
[ "MIT" ]
null
null
null
tests/snippets/membership.py
evilpie/RustPython
2d22a882ae642d4b2e66b44008378da63e71f78f
[ "MIT" ]
null
null
null
# test lists assert 3 in [1, 2, 3] assert 3 not in [1, 2] assert not (3 in [1, 2]) assert not (3 not in [1, 2, 3]) # test strings assert "foo" in "foobar" assert "whatever" not in "foobar" # test bytes # TODO: uncomment this when bytes are implemented # assert b"foo" in b"foobar" # assert b"whatever" not in b"foobar...
19.202703
63
0.652357
247
1,421
3.704453
0.238866
0.021858
0.02623
0.065574
0.311475
0.24918
0.175956
0.113661
0.113661
0
0
0.056808
0.219564
1,421
73
64
19.465753
0.76826
0.275862
0
0.268293
0
0
0.082016
0
0
0
0
0.013699
0.585366
1
0.04878
false
0.073171
0
0.02439
0.121951
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
1
0
0
0
1
0
0
0
0
0
3
4c6fc0935ca8018d3513dd2bd4712bf71dbb17d0
330
py
Python
app/models.py
bicconess-swteam/webapp-dht22
e22d6aef48b6fdd9e8d85be0f27bc874f2c7ba42
[ "MIT" ]
null
null
null
app/models.py
bicconess-swteam/webapp-dht22
e22d6aef48b6fdd9e8d85be0f27bc874f2c7ba42
[ "MIT" ]
1
2018-11-01T23:59:49.000Z
2018-11-01T23:59:49.000Z
app/models.py
bicconess-swteam/webapp-dht22
e22d6aef48b6fdd9e8d85be0f27bc874f2c7ba42
[ "MIT" ]
null
null
null
# app/models.py from app import db class Information(db.Model): """ Create an Information table """ __tablename__ = 'InformationTempHum' id = db.Column(db.Integer, primary_key=True) date = db.Column(db.DateTime) temperature = db.Column(db.Integer) humidity = db.Column(db.Inte...
18.333333
48
0.645455
40
330
5.2
0.6
0.153846
0.192308
0.245192
0
0
0
0
0
0
0
0
0.239394
330
17
49
19.411765
0.828685
0.127273
0
0
0
0
0.066421
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
4c7aa0009488d49ab2a18478f2cdb31beee15a79
299
py
Python
vest/aggregations/fft.py
vcerqueira/vest-python
146e1ee50463637c89e32112283cf857e2eb190a
[ "MIT" ]
5
2021-04-26T12:55:05.000Z
2021-12-23T20:03:57.000Z
vest/aggregations/fft.py
vcerqueira/vest-python
146e1ee50463637c89e32112283cf857e2eb190a
[ "MIT" ]
null
null
null
vest/aggregations/fft.py
vcerqueira/vest-python
146e1ee50463637c89e32112283cf857e2eb190a
[ "MIT" ]
3
2021-02-12T23:12:22.000Z
2021-06-11T14:25:58.000Z
import numpy as np from scipy import fft def fft_amplitude(x: np.ndarray): """ Average amplitude of FFT :param x: a 1-d numeric vector :return: scalar feature """ amplitude = np.abs(fft.fft(x) / len(x)) average_amplitude = np.mean(amplitude) return average_amplitude
19.933333
43
0.672241
44
299
4.5
0.568182
0.242424
0
0
0
0
0
0
0
0
0
0.004329
0.227425
299
14
44
21.357143
0.852814
0.264214
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d5c6307529294b72616de5e1fc150a81e4295ac4
1,398
py
Python
key_shifts.py
michael-lazar/playscii
2416e7438b993abd119a86b0fc1ffb1170eb33c3
[ "MIT" ]
14
2020-04-08T22:52:59.000Z
2022-03-21T03:13:41.000Z
key_shifts.py
michael-lazar/playscii
2416e7438b993abd119a86b0fc1ffb1170eb33c3
[ "MIT" ]
2
2021-09-21T12:04:21.000Z
2021-09-21T13:42:47.000Z
key_shifts.py
squintdev/nftscii
dcefdd1deef9bdb3517c39d0129e948d238d4978
[ "MIT" ]
2
2021-11-16T03:30:59.000Z
2021-12-23T18:29:54.000Z
# dict for key shift-char mappings import sdl2 # MAYBE-TODO: find out if this breaks for non-US english KB layouts SHIFT_MAP = { '1': '!', '2': '@', '3': '#', '4': '$', '5': '%', '6': '^', '7': '&', '8': '*', '9': '(', '0': ')', '-': '_', '=': '+', '`': '~', '[': '{', ']': '}', '\\': '|', ';': ':', "'": ...
31.066667
84
0.620172
228
1,398
3.421053
0.241228
0.553846
0.346154
0.033333
0.582051
0.582051
0.130769
0
0
0
0
0.082096
0.180973
1,398
44
85
31.772727
0.599127
0.0701
0
0.054054
0
0
0.033153
0
0.027027
0
0
0.022727
0
1
0
false
0
0.027027
0
0.027027
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
1
0
0
0
0
0
0
0
0
0
0
3
d5c901e0a80683b3914d625435cf1038464975fc
496
py
Python
core/migrations/0020_auto_20210405_0538.py
mariob0y/spoonbill-web
ec82547998a7ea7f319e934c8aa441a935433259
[ "BSD-3-Clause" ]
1
2022-01-12T07:56:08.000Z
2022-01-12T07:56:08.000Z
core/migrations/0020_auto_20210405_0538.py
mariob0y/spoonbill-web
ec82547998a7ea7f319e934c8aa441a935433259
[ "BSD-3-Clause" ]
110
2021-03-04T16:40:34.000Z
2022-02-23T02:13:19.000Z
core/migrations/0020_auto_20210405_0538.py
mariob0y/spoonbill-web
ec82547998a7ea7f319e934c8aa441a935433259
[ "BSD-3-Clause" ]
3
2021-04-19T15:03:30.000Z
2021-07-05T09:26:52.000Z
# Generated by Django 3.1.7 on 2021-04-05 05:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("core", "0019_table_included"), ] operations = [ migrations.RenameField( model_name="table", old_name="included", ...
20.666667
47
0.548387
49
496
5.387755
0.632653
0.159091
0.19697
0.227273
0.318182
0.318182
0.318182
0
0
0
0
0.057751
0.336694
496
23
48
21.565217
0.744681
0.090726
0
0.352941
1
0
0.135857
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d5cc891d330ea4ee4cadacf32f0a710fc8c1989a
1,547
py
Python
tests/services/service_client.py
vladcalin/pymicroservice
325a49d17621b9d45ffd2b5eca6f0de284de8ba4
[ "MIT" ]
2
2016-12-17T13:09:14.000Z
2016-12-31T18:38:57.000Z
tests/services/service_client.py
vladcalin/pymicroservice
325a49d17621b9d45ffd2b5eca6f0de284de8ba4
[ "MIT" ]
15
2016-11-27T13:28:25.000Z
2017-01-10T09:09:30.000Z
tests/services/service_client.py
vladcalin/pymicroservice
325a49d17621b9d45ffd2b5eca6f0de284de8ba4
[ "MIT" ]
null
null
null
import time from gemstone.core import MicroService, exposed_method HOST, PORT = "127.0.0.1", 6799 PORT2 = PORT + 1 class Service1(MicroService): name = "test.service.client.1" skip_configuration = True host = HOST port = PORT @exposed_method() def method1(self): return "hello there...
23.089552
62
0.631545
192
1,547
4.989583
0.34375
0.122129
0.100209
0.056367
0.453027
0.271399
0.202505
0.202505
0.202505
0.202505
0
0.024263
0.25404
1,547
66
63
23.439394
0.805893
0
0
0.416667
0
0
0.10084
0.027149
0
0
0
0
0
1
0.208333
false
0
0.041667
0.104167
0.645833
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
d5cdbb72a0ba18eaeccc1ad866fd72d573999f5f
178
py
Python
src/scraper/errors/errors.py
bab014/piscraper
196155815a92977cdb175d19c6dd09d49c482ace
[ "MIT" ]
null
null
null
src/scraper/errors/errors.py
bab014/piscraper
196155815a92977cdb175d19c6dd09d49c482ace
[ "MIT" ]
null
null
null
src/scraper/errors/errors.py
bab014/piscraper
196155815a92977cdb175d19c6dd09d49c482ace
[ "MIT" ]
null
null
null
""" Error module holds all custom errors for the scraper class """ class InvalidWebsite(Exception): """ An Invalid website was proided to the scraper """ pass
13.692308
49
0.668539
22
178
5.409091
0.863636
0.168067
0
0
0
0
0
0
0
0
0
0
0.247191
178
12
50
14.833333
0.88806
0.58427
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
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
0
1
1
0
0
0
0
0
3
d5d55a2fa0bbb0e0a38a425f1b50d645ff61904f
80
py
Python
examples/optimizers/science/create_bh.py
anukaal/opytimizer
5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9
[ "Apache-2.0" ]
528
2018-10-01T20:00:09.000Z
2022-03-27T11:15:31.000Z
examples/optimizers/science/create_bh.py
anukaal/opytimizer
5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9
[ "Apache-2.0" ]
17
2019-10-30T00:47:03.000Z
2022-03-21T11:39:28.000Z
examples/optimizers/science/create_bh.py
anukaal/opytimizer
5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9
[ "Apache-2.0" ]
35
2018-10-01T20:03:23.000Z
2022-03-20T03:54:15.000Z
from opytimizer.optimizers.science import BH # Creates a BH optimizer o = BH()
16
44
0.7625
12
80
5.083333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.1625
80
4
45
20
0.910448
0.275
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d5dd2df629a9d21ca958a5cef0edacbd2fc8cb78
337
py
Python
rio_cogeo/errors.py
pierotofy/rio-cogeo
e1532e1c4eb2aefd2706b8839be679d3b2fbcd09
[ "BSD-3-Clause" ]
1
2020-07-03T06:27:55.000Z
2020-07-03T06:27:55.000Z
rio_cogeo/errors.py
pierotofy/rio-cogeo
e1532e1c4eb2aefd2706b8839be679d3b2fbcd09
[ "BSD-3-Clause" ]
null
null
null
rio_cogeo/errors.py
pierotofy/rio-cogeo
e1532e1c4eb2aefd2706b8839be679d3b2fbcd09
[ "BSD-3-Clause" ]
1
2020-05-29T08:28:05.000Z
2020-05-29T08:28:05.000Z
"""Rio-Cogeo Errors and Warnings.""" class DeprecationWarning(UserWarning): """Rio-cogeo module deprecations warning.""" class LossyCompression(UserWarning): """Rio-cogeo module Lossy compression warning.""" class IncompatibleBlockRasterSize(UserWarning): """Rio-cogeo module incompatible raster block/...
24.071429
66
0.747774
33
337
7.636364
0.575758
0.126984
0.22619
0.297619
0
0
0
0
0
0
0
0
0.127596
337
13
67
25.923077
0.857143
0.504451
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
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
1
0
0
0
0
0
0
3
d5defdcbdc29727208976f208b7e3d1b4ad63b1c
3,665
py
Python
django_stomp/helpers.py
juntossomosmais/django-stomp
65e7cb86f8f6e2336a2739df8f33f985c9b4c792
[ "MIT" ]
32
2019-06-10T13:24:11.000Z
2021-12-17T21:00:41.000Z
django_stomp/helpers.py
juntossomosmais/django-stomp
65e7cb86f8f6e2336a2739df8f33f985c9b4c792
[ "MIT" ]
26
2019-12-17T12:51:00.000Z
2022-02-16T16:13:14.000Z
django_stomp/helpers.py
juntossomosmais/django-stomp
65e7cb86f8f6e2336a2739df8f33f985c9b4c792
[ "MIT" ]
1
2021-09-11T03:55:30.000Z
2021-09-11T03:55:30.000Z
import functools import logging import time import uuid from typing import Callable from typing import Dict import tenacity logger = logging.getLogger("django_stomp") def slow_down(_func=None, *args, **kwargs): """Sleep given amount of seconds before calling the function""" before = kwargs.get("before", 0....
31.059322
109
0.721692
503
3,665
5.017893
0.292247
0.071315
0.031696
0.020206
0.145008
0.110143
0.098257
0.063391
0.032488
0
0
0.006673
0.182265
3,665
117
110
31.324786
0.835502
0.142974
0
0.029851
0
0
0.060616
0.038574
0
0
0
0
0
1
0.253731
false
0
0.104478
0.104478
0.671642
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
d5e35b30e5ac4c01c4c8b6540ebdbc5a0143c705
525
py
Python
tmdb3/__init__.py
thomasvs/pytmdb3
07c849512d8043d74ecf90c85eb2c6445e09171e
[ "BSD-3-Clause" ]
66
2015-02-03T07:46:11.000Z
2022-01-01T12:52:07.000Z
tmdb3/__init__.py
thomasvs/pytmdb3
07c849512d8043d74ecf90c85eb2c6445e09171e
[ "BSD-3-Clause" ]
17
2015-01-18T02:21:21.000Z
2021-04-14T05:53:09.000Z
tmdb3/__init__.py
thomasvs/pytmdb3
07c849512d8043d74ecf90c85eb2c6445e09171e
[ "BSD-3-Clause" ]
29
2015-01-03T16:28:02.000Z
2020-10-14T08:14:01.000Z
#!/usr/bin/env python from tmdb_api import Configuration, searchMovie, searchMovieWithYear, \ searchPerson, searchStudio, searchList, searchCollection, \ searchSeries, Person, Movie, Collection, Genre, List, \ Series, Studio, Network, Episode, Season, __ve...
40.384615
80
0.72381
58
525
6.310345
0.672414
0.065574
0
0
0
0
0
0
0
0
0
0
0.219048
525
12
81
43.75
0.892683
0.038095
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d5fef0cd24fb8a3e10587bd3d61892cba3be55d3
451
py
Python
applications/ThermalDEMApplication/tests/NightTests.py
hbayraktaroglu/Kratos
6b71869ca7adb36a798e0cb11b34287fdc482590
[ "BSD-4-Clause" ]
null
null
null
applications/ThermalDEMApplication/tests/NightTests.py
hbayraktaroglu/Kratos
6b71869ca7adb36a798e0cb11b34287fdc482590
[ "BSD-4-Clause" ]
null
null
null
applications/ThermalDEMApplication/tests/NightTests.py
hbayraktaroglu/Kratos
6b71869ca7adb36a798e0cb11b34287fdc482590
[ "BSD-4-Clause" ]
null
null
null
# Definition of the classes for the NIGHTLY TESTS import KratosMultiphysics import KratosMultiphysics.DEMApplication import KratosMultiphysics.ThermalDEMApplication import KratosMultiphysics.KratosUnittest as KratosUnittest import TestFactory as TF available_tests = [] def SetTestSuite(suites): night_suite = suit...
32.214286
93
0.840355
45
451
8.311111
0.555556
0.256684
0
0
0
0
0
0
0
0
0
0
0.10643
451
13
94
34.692308
0.92804
0.104213
0
0
0
0
0.017413
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.7
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
910b1bc61671a00995826c9412d5ad61f72310c3
132
py
Python
lang/py/cookbook/v2/source/cb2_4_6_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_4_6_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_4_6_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
def nonstring_iterable(obj): try: iter(obj) except TypeError: return False else: return not isinstance(obj, basestring)
26.4
48
0.727273
17
132
5.588235
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.189394
132
4
49
33
0.88785
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9122537a8e84e94d2f2429f93622a86c982bfa3d
4,077
py
Python
src/eduid_webapp/security/app.py
SUNET/eduid-webapp
8e531f288d50d18a5c9182003fff2ab6670a44c3
[ "BSD-3-Clause" ]
null
null
null
src/eduid_webapp/security/app.py
SUNET/eduid-webapp
8e531f288d50d18a5c9182003fff2ab6670a44c3
[ "BSD-3-Clause" ]
161
2017-04-13T07:56:38.000Z
2021-03-12T13:46:38.000Z
src/eduid_webapp/security/app.py
SUNET/eduid-webapp
8e531f288d50d18a5c9182003fff2ab6670a44c3
[ "BSD-3-Clause" ]
3
2016-05-16T20:25:49.000Z
2018-07-27T12:10:58.000Z
# -*- coding: utf-8 -*- # # Copyright (c) 2016 NORDUnet A/S # Copyright (c) 2020 SUNET # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain...
39.970588
110
0.764287
551
4,077
5.524501
0.395644
0.047306
0.039422
0.037779
0.12385
0.077201
0.044678
0.044678
0.044678
0.044678
0
0.00443
0.169487
4,077
101
111
40.366337
0.894566
0.446407
0
0
0
0
0.02
0
0
0
0
0
0
1
0.04878
false
0.121951
0.439024
0
0.536585
0.097561
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
912630889dcf37b3fda1b3325381d7d486453a28
577
py
Python
src/quote.py
skonnov/walbot
5b9347bf04d65f099e18ff343b80527f6849daca
[ "MIT" ]
null
null
null
src/quote.py
skonnov/walbot
5b9347bf04d65f099e18ff343b80527f6849daca
[ "MIT" ]
33
2021-01-22T06:05:26.000Z
2022-03-18T11:03:04.000Z
src/quote.py
skonnov/walbot
5b9347bf04d65f099e18ff343b80527f6849daca
[ "MIT" ]
null
null
null
import datetime class Quote: def __init__(self, message, added_by): self.message = message self.author = "" self.added_by = added_by self.timestamp = datetime.datetime.now().replace(microsecond=0) def __str__(self): return self.quote() def get_author(self): ...
26.227273
99
0.623917
75
577
4.586667
0.346667
0.127907
0.063953
0.093023
0.232558
0.232558
0.232558
0.232558
0.232558
0
0
0.002283
0.240901
577
21
100
27.47619
0.783105
0
0
0
0
0.066667
0.206239
0.045061
0
0
0
0
0
1
0.333333
false
0
0.066667
0.266667
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9132163b1dd77614d7947da403078db05eb467b4
2,327
py
Python
scripts/study_case/ID_4/torch_geometric/datasets/coauthor.py
kzbnb/numerical_bugs
bc22e72bcc06df6ce7889a25e0aeed027bde910b
[ "Apache-2.0" ]
8
2021-06-30T06:55:14.000Z
2022-03-18T01:57:14.000Z
scripts/study_case/ID_4/torch_geometric/datasets/coauthor.py
kzbnb/numerical_bugs
bc22e72bcc06df6ce7889a25e0aeed027bde910b
[ "Apache-2.0" ]
1
2021-06-30T03:08:15.000Z
2021-06-30T03:08:15.000Z
scripts/study_case/ID_4/torch_geometric/datasets/coauthor.py
kzbnb/numerical_bugs
bc22e72bcc06df6ce7889a25e0aeed027bde910b
[ "Apache-2.0" ]
2
2021-11-17T11:19:48.000Z
2021-11-18T03:05:58.000Z
import torch from scripts.study_case.ID_4.torch_geometric.data import InMemoryDataset, download_url from scripts.study_case.ID_4.torch_geometric.read import read_npz class Coauthor(InMemoryDataset): r"""The Coauthor CS and Coauthor Physics networks from the `"Pitfalls of Graph Neural Network Evaluation" <...
41.553571
86
0.674259
317
2,327
4.791798
0.400631
0.0395
0.03555
0.026333
0.248848
0.248848
0.248848
0.248848
0.200132
0.200132
0
0.008242
0.217877
2,327
55
87
42.309091
0.826374
0.436184
0
0.076923
0
0
0.090317
0
0
0
0
0
0.038462
1
0.230769
false
0
0.115385
0.115385
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
913c12e1b741fe56510863cc2ea794ad4eeb5e43
2,535
py
Python
eggs/Flask_Admin-1.1.0-py2.7.egg/flask_admin/contrib/pymongo/filters.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
334
2015-01-04T01:47:17.000Z
2021-11-27T06:38:16.000Z
eggs/Flask_Admin-1.1.0-py2.7.egg/flask_admin/contrib/pymongo/filters.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
119
2015-01-01T21:05:49.000Z
2022-02-23T15:54:33.000Z
eggs/Flask_Admin-1.1.0-py2.7.egg/flask_admin/contrib/pymongo/filters.py
salayhin/talkofacta
8b5a14245dd467bb1fda75423074c4840bd69fb7
[ "MIT" ]
196
2015-01-02T20:14:07.000Z
2021-12-14T02:07:06.000Z
import re from flask.ext.admin.babel import gettext from flask.ext.admin.model import filters from .tools import parse_like_term class BasePyMongoFilter(filters.BaseFilter): """ Base pymongo filter. """ def __init__(self, column, name, options=None, data_type=None): """ Const...
24.142857
73
0.613412
264
2,535
5.825758
0.284091
0.052016
0.097529
0.113134
0.564369
0.564369
0.564369
0.564369
0.384915
0.315995
0
0.0022
0.28284
2,535
104
74
24.375
0.843784
0.087968
0
0.533333
0
0
0.0369
0
0
0
0
0
0
1
0.25
false
0
0.066667
0.133333
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
e66fde3e8c8eb0929e95acccccd5369723bccaf8
2,077
py
Python
tests/parsers/c_parser/stmts/empty_stmt_tests.py
mehrdad-shokri/retdec-regression-tests-framework
9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3
[ "MIT" ]
21
2017-12-12T20:38:43.000Z
2019-04-14T12:46:10.000Z
tests/parsers/c_parser/stmts/empty_stmt_tests.py
mehrdad-shokri/retdec-regression-tests-framework
9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3
[ "MIT" ]
6
2018-01-06T13:32:23.000Z
2018-09-14T15:09:11.000Z
tests/parsers/c_parser/stmts/empty_stmt_tests.py
mehrdad-shokri/retdec-regression-tests-framework
9c3edcd0a7bc292a0d5b5cbfb4315010c78d3bc3
[ "MIT" ]
11
2017-12-12T20:38:46.000Z
2018-07-19T03:12:03.000Z
""" Tests for the :module`regression_tests.parsers.c_parser.stmts.empty_stmt` module. """ from tests.parsers.c_parser import WithModuleTests class EmptyStmtTests(WithModuleTests): """Tests for `EmptyStmt`.""" def get_empty_stmt(self, code, func_name): """Returns the first empty statement in the ...
37.763636
85
0.676938
275
2,077
4.712727
0.24
0.25
0.135802
0.222222
0.516204
0.380401
0.218364
0.164352
0.164352
0.108796
0
0.003008
0.199807
2,077
54
86
38.462963
0.776775
0.07559
0
0.128205
0
0
0.057429
0
0
0
0
0
0.435897
1
0.179487
false
0
0.025641
0
0.25641
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
1
0
0
0
0
0
0
0
0
0
3
e6704c4a7090192d3ac79ecbdcb5c9b182ed1eef
1,699
py
Python
piccolo/columns/defaults/date.py
teners/piccolo
e5c32a4810badf39fc61e465747b7343309d7e12
[ "MIT" ]
null
null
null
piccolo/columns/defaults/date.py
teners/piccolo
e5c32a4810badf39fc61e465747b7343309d7e12
[ "MIT" ]
null
null
null
piccolo/columns/defaults/date.py
teners/piccolo
e5c32a4810badf39fc61e465747b7343309d7e12
[ "MIT" ]
null
null
null
from __future__ import annotations import datetime import typing as t from .base import Default class DateOffset(Default): def __init__(self, days: int): self.days = days @property def postgres(self): interval_string = self.get_postgres_interval_string(["days"]) return f"CURRENT_...
23.273973
72
0.640965
198
1,699
5.343434
0.272727
0.066163
0.053875
0.065217
0.304348
0.071834
0.071834
0
0
0
0
0
0.251324
1,699
72
73
23.597222
0.831761
0.035903
0
0.372549
0
0
0.095966
0.017115
0
0
0
0
0
1
0.235294
false
0
0.078431
0.156863
0.568627
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
e6a097cf9f588074adaeabcbf42eb5465180ac35
293
py
Python
1_code_example.py
OneSevenDev/examples-of-python
486f471a099fc20a5ef39b22925d501d873a8e83
[ "MIT" ]
null
null
null
1_code_example.py
OneSevenDev/examples-of-python
486f471a099fc20a5ef39b22925d501d873a8e83
[ "MIT" ]
null
null
null
1_code_example.py
OneSevenDev/examples-of-python
486f471a099fc20a5ef39b22925d501d873a8e83
[ "MIT" ]
null
null
null
class Person(object): def __init__(self, name, age): self.name = name self.age = age def get_person(self): return '<Person ({0}, {1})'.format(self.name, self.age) p = Person('Manuel', 21) print('Type of Object: {0}, Memory Address: {1}'.format(type(p), id(p)))
32.555556
72
0.593857
44
293
3.840909
0.5
0.142012
0.130178
0
0
0
0
0
0
0
0
0.026087
0.215017
293
9
72
32.555556
0.708696
0
0
0
0
0
0.217687
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
e6a7adedc48d5efa90efef26a32b563574959718
150
py
Python
couchbase_mapping/__init__.py
hdmessaging/couchbase-mapping-python
a32539ded1a5f6c74a1695af3ac53146095f107b
[ "BSD-3-Clause" ]
1
2015-02-24T14:47:15.000Z
2015-02-24T14:47:15.000Z
couchbase_mapping/__init__.py
hdmessaging/couchbase-mapping-python
a32539ded1a5f6c74a1695af3ac53146095f107b
[ "BSD-3-Clause" ]
null
null
null
couchbase_mapping/__init__.py
hdmessaging/couchbase-mapping-python
a32539ded1a5f6c74a1695af3ac53146095f107b
[ "BSD-3-Clause" ]
null
null
null
from .mapping import * try: __version__ = __import__('pkg_resources').get_distribution('CouchbaseMapping').version except: __version__ = '?'
21.428571
90
0.733333
14
150
6.857143
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.14
150
6
91
25
0.744186
0
0
0
0
0
0.2
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
e6ce23d7300ebb72ee7baf0a9700065626fef5f3
2,894
py
Python
ningen/settings.py
jinkanhq/ningen
5cc28bb6b2e17d8dd1e289ea77713650340d1f64
[ "Apache-2.0" ]
3
2018-08-20T02:37:37.000Z
2021-07-14T09:08:11.000Z
ningen/settings.py
jinkanhq/ningen
5cc28bb6b2e17d8dd1e289ea77713650340d1f64
[ "Apache-2.0" ]
null
null
null
ningen/settings.py
jinkanhq/ningen
5cc28bb6b2e17d8dd1e289ea77713650340d1f64
[ "Apache-2.0" ]
null
null
null
""" Django settings for ningen project. Generated by 'django-admin startproject' using Django 2.1. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ imp...
26.550459
92
0.672771
302
2,894
6.334437
0.397351
0.101934
0.062206
0.065342
0.23471
0.200209
0.096707
0.081547
0.041819
0
0
0.007765
0.199032
2,894
108
93
26.796296
0.817515
0.225985
0
0
1
0
0.543006
0.464556
0
0
0
0
0
1
0
false
0.09375
0.046875
0
0.046875
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e6e17374da92d0cba628afe363db2b2da9706192
2,020
py
Python
ssguan/ignitor/orm/error.py
samuelbaizg/ssguan
97def0609d61e40472554464470758b5fb9eca35
[ "Apache-2.0" ]
1
2015-07-14T14:24:05.000Z
2015-07-14T14:24:05.000Z
ssguan/ignitor/orm/error.py
samuelbaizg/ssguan
97def0609d61e40472554464470758b5fb9eca35
[ "Apache-2.0" ]
null
null
null
ssguan/ignitor/orm/error.py
samuelbaizg/ssguan
97def0609d61e40472554464470758b5fb9eca35
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2015 www.suishouguan.com # # Licensed under the Private License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://github.com/samuelbaizg/ssguan/blob/master/LICENSE # # Unless ...
34.827586
144
0.668317
242
2,020
5.413223
0.471074
0.045802
0.041985
0.072519
0.127481
0
0
0
0
0
0
0.016181
0.235149
2,020
58
145
34.827586
0.831715
0.316337
0
0.322581
0
0
0.178793
0
0
0
0
0
0
1
0.322581
false
0
0.032258
0.16129
0.677419
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
e6e2c3dbb8c6c67fc43c7dbf3dea6cb7462ed04b
268
py
Python
tetris/tetrominos/s.py
JacobChen258/AI-Constraints-Satisfaction
9b01cfce447e40678eb2e426413b4e2e437257f0
[ "MIT" ]
null
null
null
tetris/tetrominos/s.py
JacobChen258/AI-Constraints-Satisfaction
9b01cfce447e40678eb2e426413b4e2e437257f0
[ "MIT" ]
null
null
null
tetris/tetrominos/s.py
JacobChen258/AI-Constraints-Satisfaction
9b01cfce447e40678eb2e426413b4e2e437257f0
[ "MIT" ]
null
null
null
from .tetromino import Tetromino class S(Tetromino): def __init__(self): super().__init__("s") def _build(self): self._original = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 1, 1, 0], [1, 1, 0, 0]]
20.615385
35
0.425373
34
268
3.058824
0.382353
0.173077
0.201923
0.230769
0.086538
0.086538
0.086538
0.086538
0
0
0
0.101266
0.410448
268
12
36
22.333333
0.556962
0
0
0
0
0
0.003731
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e6e60e2a7a45122906b494ada839b4bc648ffa12
144
py
Python
website/templatetags/custom_tags.py
CrowdcoinSA/crowdcoin-platform
72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9
[ "MIT" ]
null
null
null
website/templatetags/custom_tags.py
CrowdcoinSA/crowdcoin-platform
72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9
[ "MIT" ]
7
2020-02-12T00:10:22.000Z
2022-01-13T00:43:13.000Z
website/templatetags/custom_tags.py
CrowdcoinSA/crowdcoin-platform
72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9
[ "MIT" ]
1
2020-10-05T12:20:19.000Z
2020-10-05T12:20:19.000Z
__author__ = 'user' from django import template register = template.Library() @register.filter def subtract(value, arg): return value - arg
20.571429
29
0.75
18
144
5.777778
0.777778
0.153846
0
0
0
0
0
0
0
0
0
0
0.152778
144
7
30
20.571429
0.852459
0
0
0
0
0
0.027586
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
fc10f30f5f8300b8d8d6b6237abc5f2fd739d39b
343
py
Python
auctions/admin.py
nmk0462/commerce
a5dee3a63d986bf8630cccc859f372133d5084f9
[ "MIT" ]
14
2020-07-26T07:45:54.000Z
2022-03-31T00:05:58.000Z
auctions/admin.py
nmk0462/commerce
a5dee3a63d986bf8630cccc859f372133d5084f9
[ "MIT" ]
null
null
null
auctions/admin.py
nmk0462/commerce
a5dee3a63d986bf8630cccc859f372133d5084f9
[ "MIT" ]
17
2020-07-20T06:22:12.000Z
2021-04-12T11:12:09.000Z
from django.contrib import admin from .models import User, Listing, Bid,Comment,Watchlist,Closedbid,Alllisting # Register your models here. admin.site.register(User) admin.site.register(Listing) admin.site.register(Bid) admin.site.register(Comment) admin.site.register(Watchlist) admin.site.register(Closedbid) admin.si...
31.181818
77
0.825073
47
343
6.021277
0.361702
0.222615
0.420495
0
0
0
0
0
0
0
0
0
0.06414
343
11
78
31.181818
0.88162
0.075802
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
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
1
0
0
0
0
0
0
3
fc12d9f8193485819590eeb3e251783e8df03874
3,098
py
Python
person_statistics/processing.py
mpnordland/person-statistics
69cbf6a251386e4a3a1e9c5cc4719cd5c68e4d3e
[ "MIT" ]
null
null
null
person_statistics/processing.py
mpnordland/person-statistics
69cbf6a251386e4a3a1e9c5cc4719cd5c68e4d3e
[ "MIT" ]
null
null
null
person_statistics/processing.py
mpnordland/person-statistics
69cbf6a251386e4a3a1e9c5cc4719cd5c68e4d3e
[ "MIT" ]
null
null
null
from collections import Counter, defaultdict #predicates def is_female(user): return user['gender'] == 'female' def is_male(user): return user['gender'] == 'male' def name_starts_with_a_m(name): return name and name[0].lower() in 'abcdefghijklm' #constructors def make_percentage_of_total(predicate, user...
31.938144
106
0.683667
470
3,098
4.329787
0.234043
0.053071
0.038329
0.036855
0.561671
0.503686
0.438821
0.426044
0.426044
0.390663
0
0.029559
0.224661
3,098
96
107
32.270833
0.817652
0.304713
0
0.042553
0
0
0.044291
0
0
0
0
0
0
1
0.255319
false
0
0.021277
0.106383
0.531915
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
fc47a9301d6bd2a02585ae40ab1c6cfc04bf3d0a
586
py
Python
app/schema/user.py
murgle2/api-template
ad284ea34ff66b09d9c385c0fa983da35d6a0aad
[ "MIT" ]
null
null
null
app/schema/user.py
murgle2/api-template
ad284ea34ff66b09d9c385c0fa983da35d6a0aad
[ "MIT" ]
null
null
null
app/schema/user.py
murgle2/api-template
ad284ea34ff66b09d9c385c0fa983da35d6a0aad
[ "MIT" ]
null
null
null
from typing import Optional from pydantic import BaseModel, EmailStr class User(BaseModel): id: Optional[int] = None username: Optional[str] = None email: Optional[EmailStr] = None # is_active: Optional[bool] = True # add a field here for level of the user (mark premium users) # image: Optiona...
25.478261
65
0.692833
76
586
5.289474
0.605263
0.136816
0.186567
0.114428
0
0
0
0
0
0
0
0
0.225256
586
22
66
26.636364
0.885463
0.283276
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.153846
0.153846
0
0.923077
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
fc4f6910c3d2d01202b7fe09c35823a334635768
902
py
Python
sqlalchemy/sqlalchemy-0.3.6+codebay/test/pickleable.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
5
2015-04-16T08:36:17.000Z
2017-05-12T17:20:12.000Z
sqlalchemy/sqlalchemy-0.3.6+codebay/test/pickleable.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
null
null
null
sqlalchemy/sqlalchemy-0.3.6+codebay/test/pickleable.py
nakedible/vpnease-l2tp
0fcda6a757f2bc5c37f4753b3cd8b1c6d282db5c
[ "WTFPL" ]
4
2015-03-19T14:39:51.000Z
2019-01-23T08:22:55.000Z
"""since the cPickle module as of py2.4 uses erroneous relative imports, define the various picklable classes here so we can test PickleType stuff without issue.""" class Foo(object): def __init__(self, moredata): self.data = 'im data' self.stuff = 'im stuff' self.moredata = moredata d...
31.103448
102
0.620843
133
902
3.93985
0.338346
0.066794
0.045802
0.097328
0.333969
0.333969
0.244275
0.244275
0.244275
0.244275
0
0.002976
0.254989
902
29
103
31.103448
0.776786
0.175166
0
0.571429
0
0
0.050068
0
0
0
0
0
0
1
0.333333
false
0
0
0.190476
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
fc822fde3d61386f6e09f69ccaec35cc70231e6f
227
py
Python
python/envs/hackathon/lib/python3.7/site-packages/thinc/tests/unit/test_pickle.py
FISHackathon2020/RAN
cb5e1459f4d26bd619ba7244979fce277b44aba9
[ "MIT" ]
1
2020-08-13T12:21:56.000Z
2020-08-13T12:21:56.000Z
venv/lib/python3.6/site-packages/thinc/tests/unit/test_pickle.py
assaufianggie/VerraBot
cbe46ccb219c2972871e760268b427e1f8e79f93
[ "MIT" ]
4
2021-06-02T00:49:27.000Z
2022-01-13T01:59:34.000Z
venv/lib/python3.6/site-packages/thinc/tests/unit/test_pickle.py
assaufianggie/VerraBot
cbe46ccb219c2972871e760268b427e1f8e79f93
[ "MIT" ]
1
2020-09-02T07:24:59.000Z
2020-09-02T07:24:59.000Z
"""Test that various classes can be pickled and unpickled.""" import pickle from ...linear.linear import LinearModel def test_pickle_linear_model(): model = LinearModel(10) model2 = pickle.loads(pickle.dumps(model))
22.7
61
0.744493
30
227
5.533333
0.666667
0
0
0
0
0
0
0
0
0
0
0.015544
0.14978
227
9
62
25.222222
0.84456
0.242291
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
fc99f2fc94e838d0920dc02ec1e35cd6bc8b3187
151
py
Python
python3.4Smartforest/lib/python3.4/site-packages/django/contrib/gis/geometry/backend/geos.py
letouriste001/SmartForest_2.0
109b78bf1e8c8404800f377ab969395ccbb617be
[ "MIT" ]
null
null
null
python3.4Smartforest/lib/python3.4/site-packages/django/contrib/gis/geometry/backend/geos.py
letouriste001/SmartForest_2.0
109b78bf1e8c8404800f377ab969395ccbb617be
[ "MIT" ]
null
null
null
python3.4Smartforest/lib/python3.4/site-packages/django/contrib/gis/geometry/backend/geos.py
letouriste001/SmartForest_2.0
109b78bf1e8c8404800f377ab969395ccbb617be
[ "MIT" ]
null
null
null
from django.contrib.gis.geos import ( GEOSException as GeometryException, GEOSGeometry as Geometry, ) __all__ = ['Geometry', 'GeometryException']
151
151
0.768212
15
151
7.466667
0.8
0
0
0
0
0
0
0
0
0
0
0
0.13245
151
1
151
151
0.854962
0
0
0
0
0
0.165563
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fc9aac8c5156e204891fe9fd3d197ee16f591bd0
101
py
Python
lin/version.py
br0wn9/lin
53853c2dc519f22b7b3cdbe81181541164128e26
[ "BSD-3-Clause" ]
null
null
null
lin/version.py
br0wn9/lin
53853c2dc519f22b7b3cdbe81181541164128e26
[ "BSD-3-Clause" ]
null
null
null
lin/version.py
br0wn9/lin
53853c2dc519f22b7b3cdbe81181541164128e26
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 - __VERSION__ = (0, 4, 7) __SERVER_NAME__ = 'lin/{}.{}.{}'.format(*__VERSION__)
20.2
53
0.584158
12
101
3.833333
0.916667
0
0
0
0
0
0
0
0
0
0
0.045977
0.138614
101
4
54
25.25
0.482759
0.188119
0
0
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fca38a8c8df6fb8cd08a7717ff2114f5e7f5daf3
3,600
py
Python
test/edge_test/EdgeFactory_test.py
alejandrodelcampillo/geomag-algorithms
43a734d63a8eb2a696f14237e0054e21d36de7c3
[ "CC0-1.0" ]
1
2021-02-22T23:45:22.000Z
2021-02-22T23:45:22.000Z
test/edge_test/EdgeFactory_test.py
alejandrodelcampillo/geomag-algorithms
43a734d63a8eb2a696f14237e0054e21d36de7c3
[ "CC0-1.0" ]
1
2021-09-08T03:42:52.000Z
2021-09-08T03:42:52.000Z
test/edge_test/EdgeFactory_test.py
alejandrodelcampillo/geomag-algorithms
43a734d63a8eb2a696f14237e0054e21d36de7c3
[ "CC0-1.0" ]
null
null
null
"""Tests for EdgeFactory.py""" from obspy.core import Stream, Trace, UTCDateTime from geomagio.edge import EdgeFactory from numpy.testing import assert_equal def test__get_edge_network(): """edge_test.EdgeFactory_test.test__get_edge_network()""" # _get_edge_network should always return NT for use by USGS geo...
40.909091
88
0.671944
452
3,600
5
0.256637
0.077434
0.165487
0.188053
0.430973
0.391593
0.145575
0.036283
0
0
0
0.010302
0.164167
3,600
87
89
41.37931
0.740778
0.270833
0
0.076923
0
0
0.122425
0
0
0
0
0.011494
0.423077
1
0.134615
false
0
0.057692
0
0.192308
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
1
1
0
0
0
0
0
0
0
0
0
3
fca8080f56c1df6c4e18aed1df70a625301195d5
1,224
py
Python
local/luigiexec/TransformTask.py
ProtoML/ProtoML-persist
ffb85dd4c06d626ea1cf3e55bcb1c863f6130bc5
[ "Apache-2.0" ]
2
2015-05-26T00:39:47.000Z
2017-12-11T01:50:28.000Z
local/luigiexec/TransformTask.py
ProtoML/ProtoML-persist
ffb85dd4c06d626ea1cf3e55bcb1c863f6130bc5
[ "Apache-2.0" ]
null
null
null
local/luigiexec/TransformTask.py
ProtoML/ProtoML-persist
ffb85dd4c06d626ea1cf3e55bcb1c863f6130bc5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import subprocess import json import luigi class InputFile(luigi.ExternalTask): ifile = luigi.Parameter() # Absolute path to file needed def output(self): return luigi.LocalTarget(self.ifile) class TransformTask(luigi.Task): #TODO: Should we prepend "./", or assume that's already been don...
33.081081
155
0.753268
171
1,224
5.245614
0.461988
0.055741
0.028986
0.042363
0.078038
0.078038
0
0
0
0
0
0
0.13317
1,224
36
156
34
0.845429
0.183007
0
0.083333
0
0.041667
0.227912
0
0
0
0
0.027778
0
1
0.166667
false
0.041667
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
1
1
0
0
3
5d8e369ae4885cc5c0e407a825331eaa6d039283
980
bzl
Python
third_party/org_apache_kafka.bzl
wix/exodus
dfb0c9713b07a8b6a49b548b7b543021e748d80b
[ "MIT" ]
186
2019-06-05T01:02:53.000Z
2022-03-31T10:44:19.000Z
third_party/org_apache_kafka.bzl
wix/exodus
dfb0c9713b07a8b6a49b548b7b543021e748d80b
[ "MIT" ]
25
2019-06-04T23:18:55.000Z
2021-09-22T03:44:25.000Z
third_party/org_apache_kafka.bzl
wix/exodus
dfb0c9713b07a8b6a49b548b7b543021e748d80b
[ "MIT" ]
17
2019-06-04T18:45:19.000Z
2022-01-20T09:40:04.000Z
load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external") def dependencies(): import_external( name = "org_apache_kafka_kafka_2_12", artifact = "org.apache.kafka:kafka_2.12:1.1.1", artifact_sha256 = "d7b77e3b150519724d542dfb5da1584b9cba08fb1272ff1e3b3d735937e22632", ...
33.793103
91
0.682653
98
980
6.244898
0.489796
0.091503
0.068627
0.093137
0.071895
0.071895
0
0
0
0
0
0.139687
0.218367
980
28
92
35
0.659269
0
0
0.083333
0
0
0.606339
0.554192
0
0
0
0
0
1
0.041667
true
0
0.083333
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5d91d3e984e54a6abe0c50447e3205ca98d4fec6
389
py
Python
python/ex022_string_meths.py
lucasdiogomartins/curso-em-video
9da92b6255a11021f719a9e0ce994db639e1ac38
[ "MIT" ]
null
null
null
python/ex022_string_meths.py
lucasdiogomartins/curso-em-video
9da92b6255a11021f719a9e0ce994db639e1ac38
[ "MIT" ]
null
null
null
python/ex022_string_meths.py
lucasdiogomartins/curso-em-video
9da92b6255a11021f719a9e0ce994db639e1ac38
[ "MIT" ]
null
null
null
nome = input('Digite seu nome: ').strip() print('\n Nome em maiúsculas:', nome.upper()) print(' Nome em minúsculas:', nome.lower()) print(' Quantidade de letras:', len(nome.replace(' ', ''))) print(' Quantidade de letras:', len(nome)-nome.count(' ')) # 2° opção print(' Q. de letras primeiro nome:', len(nome.split()[0]...
48.625
70
0.640103
58
389
4.327586
0.448276
0.12749
0.135458
0.183267
0.446215
0.446215
0
0
0
0
0
0.008902
0.133676
389
7
71
55.571429
0.72997
0.043702
0
0
0
0
0.439024
0
0
0
0
0
0
1
0
false
0
0
0
0
0.857143
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5d9246a56f052a1760cc982db74f0d84c36390d2
6,700
py
Python
faker/providers/geo/tr_TR/__init__.py
jacksmith15/faker
bc5dda1983e4d055aa2698ccf0806a462cb8370e
[ "MIT" ]
1
2022-02-16T23:14:19.000Z
2022-02-16T23:14:19.000Z
faker/providers/geo/tr_TR/__init__.py
jacksmith15/faker
bc5dda1983e4d055aa2698ccf0806a462cb8370e
[ "MIT" ]
33
2020-12-09T16:49:15.000Z
2022-01-04T22:03:10.000Z
faker/providers/geo/tr_TR/__init__.py
jacksmith15/faker
bc5dda1983e4d055aa2698ccf0806a462cb8370e
[ "MIT" ]
3
2022-02-07T18:18:54.000Z
2022-03-11T22:09:01.000Z
from .. import Provider as GeoProvider class Provider(GeoProvider): # Source: https://tr.wikipedia.org/wiki/T%C3%BCrkiye%27nin_illeri land_coords = ( ("37.003277000000004", "35.3261219", "Adana", "TR", "Europe/Istanbul"), ("37.7640008", "38.2764355", "Adıyaman", "TR", "Europe/Istanbul"), ...
62.616822
87
0.56194
673
6,700
5.594354
0.423477
0.172112
0.344223
0.090837
0
0
0
0
0
0
0
0.336354
0.192836
6,700
106
88
63.207547
0.359467
0.009403
0
0.087379
0
0
0.586436
0
0
0
0
0
0
1
0
false
0
0.009709
0
0.029126
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5dafeb6b8ea104703e18abc6054c84ea37a515e2
144
py
Python
Intermediate/26/squaring_numbers.py
Matthew1906/100DaysOfPython
94ffff8f5535ce5d574f49c0d7971d64a4575aad
[ "MIT" ]
1
2021-12-25T02:19:18.000Z
2021-12-25T02:19:18.000Z
Intermediate/26/squaring_numbers.py
Matthew1906/100DaysOfPython
94ffff8f5535ce5d574f49c0d7971d64a4575aad
[ "MIT" ]
null
null
null
Intermediate/26/squaring_numbers.py
Matthew1906/100DaysOfPython
94ffff8f5535ce5d574f49c0d7971d64a4575aad
[ "MIT" ]
1
2021-11-25T10:31:47.000Z
2021-11-25T10:31:47.000Z
# Exercise 1: Squaring Numbers numbers = [1,1,2,3,5,8,13,21,34,55] squared_numbers = [number**2 for number in numbers] print(squared_numbers)
20.571429
51
0.729167
26
144
3.961538
0.653846
0.271845
0
0
0
0
0
0
0
0
0
0.126984
0.125
144
7
52
20.571429
0.690476
0.194444
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
5dc2ea31a253fd60c4dcf26bd1110a46c0615b67
2,107
py
Python
src/home/models.py
anivalogy/project_Anivalogy
87841cc108a1ce546bbc7e94930b36535b7cdf2f
[ "Apache-2.0" ]
null
null
null
src/home/models.py
anivalogy/project_Anivalogy
87841cc108a1ce546bbc7e94930b36535b7cdf2f
[ "Apache-2.0" ]
null
null
null
src/home/models.py
anivalogy/project_Anivalogy
87841cc108a1ce546bbc7e94930b36535b7cdf2f
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.db.models.fields import CharField from django.contrib.auth.models import User # Create your models here. # Create your models here. class Photo(models.Model): width = models.IntegerField(default = 0) height = models.IntegerField(default = 0) title = models.CharFiel...
35.711864
100
0.717608
281
2,107
5.252669
0.206406
0.108401
0.176152
0.230352
0.726965
0.618564
0.553523
0.553523
0.553523
0.445799
0
0.018718
0.163265
2,107
58
101
36.327586
0.818491
0.050309
0
0.325
0
0
0.022066
0
0
0
0
0
0
1
0.125
false
0
0.075
0.125
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
5dd7eadff3872b0d284140c2c3f758b359383497
51
py
Python
article/__init__.py
Jeremy-ZJL/MyBlog
750019b5e91a07a5aa6dd866bcca47208669cea9
[ "Apache-2.0" ]
null
null
null
article/__init__.py
Jeremy-ZJL/MyBlog
750019b5e91a07a5aa6dd866bcca47208669cea9
[ "Apache-2.0" ]
null
null
null
article/__init__.py
Jeremy-ZJL/MyBlog
750019b5e91a07a5aa6dd866bcca47208669cea9
[ "Apache-2.0" ]
null
null
null
default_app_config = "article.apps.ArticleConfig"
25.5
50
0.823529
6
51
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.078431
51
1
51
51
0.851064
0
0
0
0
0
0.52
0.52
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5de823a8c1c1c044a197f7fa8f94994fef6743ee
1,685
py
Python
Extended_Methods/Downstream_analysis/ASB_analysis/GLOBAL_VAR.py
heyuan7676/ts_eQTLs
62b04f5477183f5c0cb60f21264b3147fd8bd82a
[ "CC-BY-4.0" ]
19
2019-10-02T20:50:08.000Z
2021-07-21T16:49:21.000Z
Extended_Methods/Downstream_analysis/sn_spMF/ASB_ChIP/GLOBAL_VAR.py
heyuan7676/ts_eQTLs
62b04f5477183f5c0cb60f21264b3147fd8bd82a
[ "CC-BY-4.0" ]
2
2020-04-07T10:53:35.000Z
2021-05-15T15:35:51.000Z
Extended_Methods/Downstream_analysis/ASB_analysis/GLOBAL_VAR.py
heyuan7676/ts_eQTLs
62b04f5477183f5c0cb60f21264b3147fd8bd82a
[ "CC-BY-4.0" ]
1
2020-09-14T11:40:55.000Z
2020-09-14T11:40:55.000Z
import os import sys import numpy as np import pandas as pd from readin_X import readin_X from readin import readin import pdb r2 = '1' FDR = 0.05 fmDir = '/work-zfs/abattle4/heyuan/tissue_spec_eQTL_v8/FL/coph' ll_dir = '/work-zfs/abattle4/heyuan/tissue_spec_eQTL_v8/LL' prefix = 'v8_cbset_95_allPairs_filtere...
39.186047
111
0.81365
245
1,685
5.24898
0.371429
0.054432
0.116641
0.163297
0.585537
0.548212
0.548212
0.548212
0.369362
0.332815
0
0.038015
0.078932
1,685
42
112
40.119048
0.790593
0.065875
0
0
0
0
0.65818
0.653087
0
0
0
0
0
1
0
false
0
0.259259
0
0.259259
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5def1cb30d79d09afd03f8c8fe06d91c577a65ac
310
py
Python
pyfbook/facebook/credentials.py
Leouldan/pyfbook
642c514d560f32a48585fc5e3f2c852c25bc76b2
[ "BSD-2-Clause" ]
null
null
null
pyfbook/facebook/credentials.py
Leouldan/pyfbook
642c514d560f32a48585fc5e3f2c852c25bc76b2
[ "BSD-2-Clause" ]
null
null
null
pyfbook/facebook/credentials.py
Leouldan/pyfbook
642c514d560f32a48585fc5e3f2c852c25bc76b2
[ "BSD-2-Clause" ]
null
null
null
import os def get_fb_credentials(instance): instance = "FB_" + instance + "_" fb_credentials = { "access_token": os.environ[instance + "ACCESSTOKEN"], "app_id": os.environ[instance + "APP_ID"], "app_secret": os.environ[instance + "APP_SECRET"] } return fb_credentials
25.833333
61
0.635484
35
310
5.314286
0.428571
0.209677
0.274194
0.215054
0
0
0
0
0
0
0
0
0.229032
310
11
62
28.181818
0.778243
0
0
0
0
0
0.190323
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
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
5defa01767f6749b6dc711c02071e5ce0e9a360a
212
py
Python
externals/depot_tools/recipe_modules/rietveld/__init__.py
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
1
2019-10-29T14:36:32.000Z
2019-10-29T14:36:32.000Z
externals/depot_tools/recipe_modules/rietveld/__init__.py
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
1
2017-06-18T00:25:03.000Z
2017-11-29T16:01:48.000Z
externals/depot_tools/recipe_modules/rietveld/__init__.py
terrajobst/linux-packaging-skiasharp
47dbb2ff9ae01305b190f409ccea00b3b4f0bc79
[ "MIT" ]
5
2017-11-30T06:06:50.000Z
2022-03-31T21:48:49.000Z
DEPS = [ 'recipe_engine/path', 'recipe_engine/properties', 'recipe_engine/python', 'recipe_engine/step', ] # TODO(phajdan.jr): provide coverage (http://crbug.com/693058). DISABLE_STRICT_COVERAGE = True
19.272727
63
0.721698
26
212
5.653846
0.730769
0.326531
0
0
0
0
0
0
0
0
0
0.032258
0.122642
212
10
64
21.2
0.758065
0.287736
0
0
0
0
0.536913
0.161074
0
0
0
0.1
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3