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
7ab539e6ff73b8d2d7cdc319ae401a829578715e
1,790
py
Python
linkedin_crawler/pipelines.py
GuruOfPython/Scraping-Linkedin
1dfe7a341abb220ddc479fa5fdbea1991fb0231e
[ "MIT" ]
null
null
null
linkedin_crawler/pipelines.py
GuruOfPython/Scraping-Linkedin
1dfe7a341abb220ddc479fa5fdbea1991fb0231e
[ "MIT" ]
null
null
null
linkedin_crawler/pipelines.py
GuruOfPython/Scraping-Linkedin
1dfe7a341abb220ddc479fa5fdbea1991fb0231e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import hashlib import MySQLdb from scrapy.http import Request from scrapy.exceptions import DropItem class MySQLStorePipeline(...
41.627907
244
0.565922
211
1,790
4.63981
0.388626
0.057201
0.132789
0.171604
0.21859
0.013279
0.013279
0.013279
0.013279
0.013279
0
0.011682
0.282682
1,790
42
245
42.619048
0.750779
0.100559
0
0
0
0.068966
0.344763
0.026808
0
0
0
0
0
0
null
null
0.068966
0.137931
null
null
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
1
0
0
1
0
0
0
0
0
3
8f85e685fba22007a82cbc3dab313f837d8b3412
587
py
Python
exercises/0326-PowerOfThree/power_of_three_test.py
tqa236/leetcode-solutions
556147981c43509a6e8a7f59f138d1ab027ebfd1
[ "MIT" ]
1
2020-09-26T15:09:25.000Z
2020-09-26T15:09:25.000Z
exercises/0326-PowerOfThree/power_of_three_test.py
tqa236/leetcode-solutions
556147981c43509a6e8a7f59f138d1ab027ebfd1
[ "MIT" ]
null
null
null
exercises/0326-PowerOfThree/power_of_three_test.py
tqa236/leetcode-solutions
556147981c43509a6e8a7f59f138d1ab027ebfd1
[ "MIT" ]
null
null
null
import unittest from power_of_three import Solution class Test(unittest.TestCase): def test_1(self): solution = Solution() self.assertEqual(solution.isPowerOfThree(0), False) def test_2(self): solution = Solution() self.assertEqual(solution.isPowerOfThree(9), True) def te...
23.48
61
0.666099
65
587
5.8
0.415385
0.074271
0.212202
0.254642
0.604775
0.604775
0.604775
0
0
0
0
0.026374
0.224872
587
24
62
24.458333
0.802198
0
0
0.235294
0
0
0.013629
0
0
0
0
0
0.235294
1
0.235294
false
0
0.117647
0
0.411765
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
8f8cd5ae269381e51060cb716af4951042366faa
4,012
py
Python
Basic/03_Keywords.py
mqiaohaibin/python
36490a171a29b878f1944e901918a1c49c8d1b3c
[ "RSA-MD" ]
null
null
null
Basic/03_Keywords.py
mqiaohaibin/python
36490a171a29b878f1944e901918a1c49c8d1b3c
[ "RSA-MD" ]
null
null
null
Basic/03_Keywords.py
mqiaohaibin/python
36490a171a29b878f1944e901918a1c49c8d1b3c
[ "RSA-MD" ]
null
null
null
# Python keyword is a unique programming term intended to perform some action. There are as # many as 33 such keywords in Python, each serving a different purpose. # # Keywords are special words which are reserved and have a specific meaning. Python has a set # keywords that cannot be used as variables in programs. # #...
55.722222
95
0.726321
629
4,012
4.627981
0.430843
0.024734
0.009275
0.021299
0.025421
0
0
0
0
0
0
0.008596
0.217099
4,012
71
96
56.507042
0.918179
0.920987
0
0
0
0
0.207843
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.833333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
8f9b0b5c2504ad6235abdab9ecc40143dbc8cebc
99
py
Python
examples/python/gpu/tensors/tensor_copy_08.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
27
2018-08-16T21:32:49.000Z
2021-11-30T10:31:08.000Z
examples/python/gpu/tensors/tensor_copy_08.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
null
null
null
examples/python/gpu/tensors/tensor_copy_08.py
kant/ocean-tensor-package
fb3fcff8bba7f4ef6cd8b8d02f0e1be1258da02d
[ "Apache-2.0" ]
13
2018-08-17T17:33:16.000Z
2021-11-30T10:31:09.000Z
## Copy an empty tensor from gpu to cpu import ocean a = ocean.tensor([0],ocean.gpu[0]) print(a)
14.142857
39
0.686869
19
99
3.578947
0.684211
0
0
0
0
0
0
0
0
0
0
0.02439
0.171717
99
6
40
16.5
0.804878
0.363636
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8faafb632e08c432cfcfa347098253763395b390
596
py
Python
pymath/fib_test.py
patrickbucher/prog
6049ea9f029307cb861197a0e22071246e4f1cc1
[ "MIT" ]
null
null
null
pymath/fib_test.py
patrickbucher/prog
6049ea9f029307cb861197a0e22071246e4f1cc1
[ "MIT" ]
null
null
null
pymath/fib_test.py
patrickbucher/prog
6049ea9f029307cb861197a0e22071246e4f1cc1
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import unittest from fib import fib # 0, 1, 1, 2, 3, 5, 8, 13, 21, 34 class FibTest(unittest.TestCase): def test_n0(self): self.assertEqual(0, fib(0)) def test_n1(self): self.assertEqual(1, fib(1)) def test_n2(self): self.assertEqual(1, fib(2)) def test_...
18.060606
36
0.59396
91
596
3.725275
0.384615
0.144543
0.39233
0.117994
0.135693
0
0
0
0
0
0
0.083333
0.255034
596
32
37
18.625
0.68018
0.082215
0
0
0
0
0.014679
0
0
0
0
0
0.368421
1
0.368421
false
0
0.105263
0
0.526316
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
8fb828961c937bb41fe4b628991460f92826046a
180
py
Python
girder/molecules/molecules/utilities/get_cjson_energy.py
bnmajor/mongochemserver
aa76ab6e7f749c3e893f27e208984b6ed2d4b2b5
[ "BSD-3-Clause" ]
14
2015-05-04T16:40:48.000Z
2021-07-13T08:00:30.000Z
girder/molecules/molecules/utilities/get_cjson_energy.py
bnmajor/mongochemserver
aa76ab6e7f749c3e893f27e208984b6ed2d4b2b5
[ "BSD-3-Clause" ]
88
2015-07-24T07:58:43.000Z
2021-02-23T19:37:13.000Z
girder/molecules/molecules/utilities/get_cjson_energy.py
bnmajor/mongochemserver
aa76ab6e7f749c3e893f27e208984b6ed2d4b2b5
[ "BSD-3-Clause" ]
8
2015-06-12T20:54:39.000Z
2021-04-09T01:07:15.000Z
from jsonpath_rw import parse def get_cjson_energy(cjson): energy = parse('properties.totalEnergy').find(cjson) if energy: return energy[0].value return None
20
56
0.705556
24
180
5.166667
0.708333
0.177419
0
0
0
0
0
0
0
0
0
0.006993
0.205556
180
8
57
22.5
0.86014
0
0
0
0
0
0.122222
0.122222
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
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
8fbcc7833d15d10bde08df487f84e505654c4904
141
py
Python
lib/__init__.py
donuk/pyboard-robotics
c8cb816bc0a3f0bb30977b184cee97e3e85b1c3f
[ "Apache-2.0" ]
null
null
null
lib/__init__.py
donuk/pyboard-robotics
c8cb816bc0a3f0bb30977b184cee97e3e85b1c3f
[ "Apache-2.0" ]
1
2019-12-27T15:49:23.000Z
2019-12-27T15:49:23.000Z
lib/__init__.py
donuk/pyboard-robotics
c8cb816bc0a3f0bb30977b184cee97e3e85b1c3f
[ "Apache-2.0" ]
null
null
null
import lib.pip_path # noqa import lib.servo as servo servo1 = servo.servo1 servo2 = servo.servo2 servo3 = servo.servo3 servo4 = servo.servo4
20.142857
26
0.780142
22
141
4.954545
0.5
0.165138
0
0
0
0
0
0
0
0
0
0.066116
0.141844
141
6
27
23.5
0.834711
0.028369
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8fc2692aa9a392c51314555d70d3748f3b44458e
5,126
py
Python
test_chatmgmt_server.py
Pepewitch/parallel-chat-management-server
fda6255705c4e1ca7408d27061959dcddbe0d97a
[ "MIT" ]
null
null
null
test_chatmgmt_server.py
Pepewitch/parallel-chat-management-server
fda6255705c4e1ca7408d27061959dcddbe0d97a
[ "MIT" ]
null
null
null
test_chatmgmt_server.py
Pepewitch/parallel-chat-management-server
fda6255705c4e1ca7408d27061959dcddbe0d97a
[ "MIT" ]
null
null
null
# # Unit Tests - Chat Management Server # created by Natawut Nupairoj # Department of Computer Engineering, Chulalongkorn University # for 2110315 Parallel and Distributed Systems import requests import pytest # configuration for the location of test servers servers = [ 'http://localhost:3000', 'http://local...
30.694611
68
0.67538
761
5,126
4.287779
0.11958
0.168557
0.087649
0.110328
0.766779
0.721422
0.717438
0.694759
0.66871
0.620288
0
0.033366
0.210691
5,126
166
69
30.879518
0.773109
0.042138
0
0.604839
0
0
0.02631
0
0
0
0
0
0.266129
1
0.145161
false
0
0.016129
0.016129
0.241935
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8fc8b4cc8ceed907576718a2a1c15dcf5d36b2e8
173
py
Python
projects_oss/detr/detr/__init__.py
tsubauaaa/d2go
9f746159ebf78ce79f644c405ca8695bc29d1075
[ "Apache-2.0" ]
null
null
null
projects_oss/detr/detr/__init__.py
tsubauaaa/d2go
9f746159ebf78ce79f644c405ca8695bc29d1075
[ "Apache-2.0" ]
null
null
null
projects_oss/detr/detr/__init__.py
tsubauaaa/d2go
9f746159ebf78ce79f644c405ca8695bc29d1075
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from . import datasets, models, util __all__ = ["models", "util", "datasets"]
28.833333
70
0.710983
23
173
5.173913
0.826087
0.168067
0
0
0
0
0
0
0
0
0
0.006757
0.144509
173
5
71
34.6
0.797297
0.520231
0
0
0
0
0.222222
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
8fd3e6290286509a769be834f79b6588f445f71b
4,370
py
Python
misc/update_bg_dict.py
hci-unihd/batchlib
e7e4ce34228346c5dcf1d1f01c512d5fad5ba5c1
[ "MIT" ]
3
2020-04-14T21:37:10.000Z
2020-07-29T00:16:28.000Z
misc/update_bg_dict.py
hci-unihd/batchlib
e7e4ce34228346c5dcf1d1f01c512d5fad5ba5c1
[ "MIT" ]
104
2020-04-08T08:23:23.000Z
2020-06-15T10:40:17.000Z
misc/update_bg_dict.py
hci-unihd/batchlib
e7e4ce34228346c5dcf1d1f01c512d5fad5ba5c1
[ "MIT" ]
null
null
null
import json PLATE_NAMES = [ "20200405_test_images", "20200406_164555_328", "20200406_210102_953", "20200406_222205_911", "20200410_145132_254", "20200410_172801_461", "20200415_150710_683", "20200417_132123_311", "20200417_152052_943", "20200417_172611_193", "20200417_185943...
35.241935
96
0.709611
528
4,370
5.337121
0.494318
0.039745
0.02555
0.036196
0.12775
0.080908
0
0
0
0
0
0.407975
0.179405
4,370
123
97
35.528455
0.377858
0
0
0.018519
0
0
0.557895
0.401373
0
0
0
0
0
1
0.027778
false
0
0.009259
0
0.064815
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8fe4622e0555a94556802c632df885b7a90ce1dd
503
py
Python
src/sfr/state_field_registry.py
CornellDataScience/self-driving-car
449044840abdeed9f547a16cd192950e23ba189c
[ "MIT" ]
3
2021-09-29T21:15:25.000Z
2021-11-11T20:57:07.000Z
src/sfr/state_field_registry.py
CornellDataScience/self-driving-car
449044840abdeed9f547a16cd192950e23ba189c
[ "MIT" ]
44
2021-09-28T05:38:43.000Z
2022-03-31T21:29:48.000Z
src/sfr/state_field_registry.py
CornellDataScience/self-driving-car
449044840abdeed9f547a16cd192950e23ba189c
[ "MIT" ]
null
null
null
class StateFieldRegistry: def __init__(self): self.fields = {} """ Set a single value in the SFR. """ def set(self, key: str, value): self.fields[key] = value """ Returns None if [key] is not in SFR """ def get(self, key: str): return self.fields.get(key) """ SFR as ...
25.15
81
0.59841
71
503
4.169014
0.535211
0.135135
0.067568
0
0
0
0
0
0
0
0
0
0.282306
503
19
82
26.473684
0.819945
0.141153
0
0
0
0
0
0
0
0
0
0
0
1
0.444444
false
0
0
0.222222
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8916478e796c98616def69a5df9ae7417d8655e3
128
py
Python
pfile_tools/__init__.py
njvack/pfile-tools
fa5d3ed165fae8b0667c7adde0aa45e24becdcb8
[ "BSD-3-Clause" ]
17
2016-07-20T12:44:38.000Z
2021-12-22T20:58:21.000Z
pfile_tools/__init__.py
njvack/pfile-tools
fa5d3ed165fae8b0667c7adde0aa45e24becdcb8
[ "BSD-3-Clause" ]
6
2015-11-09T19:46:42.000Z
2020-01-27T20:57:40.000Z
pfile_tools/__init__.py
njvack/pfile-tools
fa5d3ed165fae8b0667c7adde0aa45e24becdcb8
[ "BSD-3-Clause" ]
10
2015-11-09T11:50:50.000Z
2021-10-21T21:46:40.000Z
VERSION_MAJOR = "0" VERSION_MINOR = "5" VERSION_TINY = "0" VERSION = "%s.%s.%s" % (VERSION_MAJOR, VERSION_MINOR, VERSION_TINY)
21.333333
67
0.695313
19
128
4.368421
0.368421
0.289157
0
0
0
0
0
0
0
0
0
0.027027
0.132813
128
5
68
25.6
0.720721
0
0
0
0
0
0.085938
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8918926ec37b361cb2eaddc12f90601f17fe054c
288
py
Python
autoelective/_compat.py
apomeloYM/PKUAutoElective
21b4ab000919f68080e7a942ddff4ca070cf41e7
[ "MIT" ]
null
null
null
autoelective/_compat.py
apomeloYM/PKUAutoElective
21b4ab000919f68080e7a942ddff4ca070cf41e7
[ "MIT" ]
null
null
null
autoelective/_compat.py
apomeloYM/PKUAutoElective
21b4ab000919f68080e7a942ddff4ca070cf41e7
[ "MIT" ]
2
2020-02-07T04:02:14.000Z
2020-02-16T23:34:16.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # filename: _compat.py __all__ = [ "json","JSONDecodeError", ] try: import simplejson as json from simplejson.decoder import JSONDecodeError except ImportError: import json from json.decoder import JSONDecodeError
18
50
0.690972
32
288
6.0625
0.65625
0.082474
0.28866
0
0
0
0
0
0
0
0
0.008734
0.204861
288
16
51
18
0.838428
0.222222
0
0
0
0
0.085586
0
0
0
0
0
0
1
0
false
0
0.555556
0
0.555556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8f0dedd74c411713594733b02b9fc2a7a3d41abb
189
py
Python
src/user/constant.py
cchienhao/data_collector
89546e6445f51ce29197c2bdc508d495a100ffb0
[ "Apache-2.0" ]
1
2016-02-05T06:54:15.000Z
2016-02-05T06:54:15.000Z
src/user/constant.py
cchienhao/data_collector
89546e6445f51ce29197c2bdc508d495a100ffb0
[ "Apache-2.0" ]
null
null
null
src/user/constant.py
cchienhao/data_collector
89546e6445f51ce29197c2bdc508d495a100ffb0
[ "Apache-2.0" ]
null
null
null
''' Created on Aug 29, 2015 @author: kevinchien ''' CACHED_PREFIX_USER = 'user' CACHED_PREFIX_AUTH = 'auth' CACHED_PREFIX_PROFILE = 'profile' CACHED_PREFIX_SERVC = 'servc'
18.9
35
0.687831
23
189
5.304348
0.565217
0.393443
0
0
0
0
0
0
0
0
0
0.039735
0.201058
189
9
36
21
0.768212
0.232804
0
0
0
0
0.145985
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8f19590ceda6f9c552c5cd5f71a3483cac6d37e1
254
py
Python
courses/clean_output.py
xuanyuyt/fastai
077ad2bc1ba95220ae20deaa6ecd146339e570a4
[ "Apache-2.0" ]
null
null
null
courses/clean_output.py
xuanyuyt/fastai
077ad2bc1ba95220ae20deaa6ecd146339e570a4
[ "Apache-2.0" ]
null
null
null
courses/clean_output.py
xuanyuyt/fastai
077ad2bc1ba95220ae20deaa6ecd146339e570a4
[ "Apache-2.0" ]
null
null
null
import nbclean as nbc path_original_notebook = 'D:/tyang/fastai/courses/dl1/lesson1-breeds.ipynb' path_save = 'D:/tyang/fastai/courses/dl1/lesson1-breeds.ipynb' ntbk = nbc.NotebookCleaner(path_original_notebook) ntbk.clear('output') ntbk.save(path_save)
36.285714
75
0.807087
38
254
5.236842
0.526316
0.120603
0.201005
0.190955
0.40201
0.40201
0.40201
0.40201
0
0
0
0.016736
0.059055
254
7
76
36.285714
0.8159
0
0
0
0
0
0.4
0.376471
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8f4d4d02f72977c05f63d01f350a5ec844448f5a
1,672
py
Python
aiotdlib/api/types/game.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
37
2021-05-04T10:41:41.000Z
2022-03-30T13:48:05.000Z
aiotdlib/api/types/game.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
13
2021-07-17T19:54:51.000Z
2022-02-26T06:50:00.000Z
aiotdlib/api/types/game.py
jraylan/aiotdlib
4528fcfca7c5c69b54a878ce6ce60e934a2dcc73
[ "MIT" ]
7
2021-09-22T21:27:11.000Z
2022-02-20T02:33:19.000Z
# =============================================================================== # # # # This file has been generated automatically!! Do not change this manually! # # ...
29.333333
118
0.535885
170
1,672
5.182353
0.388235
0.051078
0.044268
0
0
0
0
0
0
0
0
0
0.290072
1,672
56
119
29.857143
0.742207
0.605263
0
0
1
0
0.016514
0
0
0
0
0
0
1
0.052632
false
0
0.368421
0.052632
0.947368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
56ab3b7d8151a24a51ff7e563174929c33cbca61
131
bzl
Python
src/test/java/com/google/devtools/build/skydoc/testdata/providers_for_attributes_test/dep.bzl
jobechoi/bazel
c03e9ac2588a590881350f4f9dd859de480240de
[ "Apache-2.0" ]
16,989
2015-09-01T19:57:15.000Z
2022-03-31T23:54:00.000Z
src/test/java/com/google/devtools/build/skydoc/testdata/providers_for_attributes_test/dep.bzl
jobechoi/bazel
c03e9ac2588a590881350f4f9dd859de480240de
[ "Apache-2.0" ]
12,562
2015-09-01T09:06:01.000Z
2022-03-31T22:26:20.000Z
src/test/java/com/google/devtools/build/skydoc/testdata/providers_for_attributes_test/dep.bzl
jobechoi/bazel
c03e9ac2588a590881350f4f9dd859de480240de
[ "Apache-2.0" ]
3,707
2015-09-02T19:20:01.000Z
2022-03-31T17:06:14.000Z
"A file to test providers not defined in the same file." DepProviderInfo = provider( doc = "This provider does something.", )
21.833333
56
0.717557
18
131
5.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.198473
131
5
57
26.2
0.895238
0.412214
0
0
0
0
0.633588
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
56b7b8c0a71618bc48053e2624173289d1750633
1,079
py
Python
LeetCode/Arrays/Plus_One.py
Caleno83/LeetCode-Solution-Python
12351743f834e05077fce46a0477d92f477b1e66
[ "MIT" ]
1
2021-04-29T01:03:12.000Z
2021-04-29T01:03:12.000Z
LeetCode/Arrays/Plus_One.py
Caleno83/LeetCode-Solution-Python
12351743f834e05077fce46a0477d92f477b1e66
[ "MIT" ]
null
null
null
LeetCode/Arrays/Plus_One.py
Caleno83/LeetCode-Solution-Python
12351743f834e05077fce46a0477d92f477b1e66
[ "MIT" ]
null
null
null
""" 66. Plus One Easy 2313 3185 Add to List Share Given a non-empty array of decimal digits representing a non-negative integer, increment one to the integer. The digits are stored such that the most significant digit is at the head of the list, and each element in the array contains a single digit. You may assum...
23.456522
141
0.662651
183
1,079
3.907104
0.469945
0.055944
0.053147
0.081119
0.109091
0.109091
0
0
0
0
0
0.050847
0.234476
1,079
46
142
23.456522
0.81477
0.806302
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
56b95a093f8c6b614cc6eb09d5adb41f7b2a5f89
1,710
py
Python
code/addscenechange.py
VihanAgarwal97/ScreenParse
e7b3e4329b7b099f5db18470863c135128f8a55e
[ "Apache-2.0" ]
null
null
null
code/addscenechange.py
VihanAgarwal97/ScreenParse
e7b3e4329b7b099f5db18470863c135128f8a55e
[ "Apache-2.0" ]
null
null
null
code/addscenechange.py
VihanAgarwal97/ScreenParse
e7b3e4329b7b099f5db18470863c135128f8a55e
[ "Apache-2.0" ]
null
null
null
''' Code taken from github.com/mathbeveridge/shake ''' import updatescript as update # Adds a clear demarcation at the start of each scene change that will be used # during scene analysis # # This standardizes scene transitions, which are marked by INT. EXT. and CUT TO. # # file_name_prefix_list = [ # "/mac/Na...
30.535714
111
0.621637
194
1,710
5.376289
0.438144
0.221477
0.284756
0.325983
0.457335
0.118888
0.08629
0
0
0
0
0.034091
0.22807
1,710
55
112
31.090909
0.756061
0.484211
0
0.095238
0
0.047619
0.191142
0.05711
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
0.095238
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
56c1823feea696ff5f6605a32213e65d7f660c0a
206
py
Python
django_saml2_auth/exceptions.py
sgabb/django-saml2-auth
b6f90ea6abfac984642fc1aed586937635c545c8
[ "Apache-2.0" ]
12
2019-12-19T09:02:09.000Z
2021-01-26T12:38:05.000Z
django_saml2_auth/exceptions.py
sgabb/django-saml2-auth
b6f90ea6abfac984642fc1aed586937635c545c8
[ "Apache-2.0" ]
9
2021-07-15T13:22:30.000Z
2022-03-29T09:15:49.000Z
django_saml2_auth/exceptions.py
sgabb/django-saml2-auth
b6f90ea6abfac984642fc1aed586937635c545c8
[ "Apache-2.0" ]
9
2021-07-23T17:31:56.000Z
2022-03-25T16:43:23.000Z
"""Custom exception class for handling extra arguments.""" class SAMLAuthError(Exception): extra = None def __init__(self, msg, extra=None): self.message = msg self.extra = extra
20.6
58
0.660194
24
206
5.5
0.583333
0.136364
0
0
0
0
0
0
0
0
0
0
0.237864
206
9
59
22.888889
0.840764
0.252427
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7103d5d18b92704902894b3f8e1fefcdcc0275c2
1,180
py
Python
properties_tools/color.py
essembeh/properties-diff
cddfca2fc83c1733b5d8f80730f2a188bcaa452a
[ "Apache-2.0" ]
null
null
null
properties_tools/color.py
essembeh/properties-diff
cddfca2fc83c1733b5d8f80730f2a188bcaa452a
[ "Apache-2.0" ]
null
null
null
properties_tools/color.py
essembeh/properties-diff
cddfca2fc83c1733b5d8f80730f2a188bcaa452a
[ "Apache-2.0" ]
null
null
null
# pylint: disable=missing-function-docstring,missing-module-docstring import sys from dataclasses import dataclass from typing import Any, Optional from colorama import Fore, Style @dataclass class Color: """ Easy way to print optionally colored messages """ enabled: bool def __post_init__(self...
28.780488
85
0.642373
151
1,180
4.940397
0.370861
0.053619
0.073727
0.113941
0.316354
0.316354
0.316354
0.316354
0.316354
0.257373
0
0
0.222881
1,180
40
86
29.5
0.813522
0.09661
0
0
0
0
0.029524
0.028571
0
0
0
0
0
1
0.28
false
0
0.16
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
711b21edfbd3d2445803065f9682aed0309d9027
340
py
Python
Set 9/PR4.py
rcsiit1/python-practicals
76558dcbff2a6ae81ef4a5cb1d14c43a11c98faf
[ "Apache-2.0" ]
1
2018-11-17T08:01:16.000Z
2018-11-17T08:01:16.000Z
Set 9/PR4.py
rcsiit1/python-practicals
76558dcbff2a6ae81ef4a5cb1d14c43a11c98faf
[ "Apache-2.0" ]
null
null
null
Set 9/PR4.py
rcsiit1/python-practicals
76558dcbff2a6ae81ef4a5cb1d14c43a11c98faf
[ "Apache-2.0" ]
1
2018-10-14T19:31:42.000Z
2018-10-14T19:31:42.000Z
def bubbleSort(nlist): for passnum in range(len(nlist)-1,0,-1): for i in range(passnum): if nlist[i]>nlist[i+1]: temp = nlist[i] nlist[i] = nlist[i+1] nlist[i+1] = temp nlist = [int(x) for x in input("Enter element to sort: ").split()] bubbleSort(...
28.333333
66
0.532353
51
340
3.54902
0.431373
0.198895
0.18232
0.198895
0.281768
0
0
0
0
0
0
0.025751
0.314706
340
11
67
30.909091
0.751073
0
0
0
0
0
0.067647
0
0
0
0
0
0
1
0.1
false
0.2
0
0
0.1
0.1
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
1
0
0
0
0
0
3
7122a5b4ae3ecebd855793f314a669682e96c583
374
py
Python
app/schemas/html.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
76
2020-02-27T06:36:27.000Z
2022-03-10T20:18:03.000Z
app/schemas/html.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
33
2020-03-13T02:04:14.000Z
2022-03-04T02:06:11.000Z
app/schemas/html.py
ninoseki/uzen
93726f22f43902e17b22dd36142dac05171d0d84
[ "MIT" ]
6
2020-03-17T16:42:25.000Z
2021-04-27T06:35:46.000Z
from pydantic import Field from app.schemas.base import AbstractResourceModel, APIModel from app.schemas.mixin import TimestampMixin class BaseHTML(APIModel): id: str = Field(..., title="SHA256", alias="sha256") class HTML(AbstractResourceModel, TimestampMixin): """HTML""" id: str = Field(..., title="...
23.375
60
0.700535
42
374
6.238095
0.47619
0.091603
0.10687
0.114504
0.244275
0.244275
0.244275
0
0
0
0
0.037855
0.152406
374
15
61
24.933333
0.788644
0.010695
0
0.25
0
0
0.065934
0
0
0
0
0
0
1
0
true
0
0.375
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
7122fa7b12071991fe26cbce46dd0243c487d289
138
py
Python
algorithms/1470. Shuffle the Array.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
1
2020-12-02T13:54:30.000Z
2020-12-02T13:54:30.000Z
algorithms/1470. Shuffle the Array.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
null
null
null
algorithms/1470. Shuffle the Array.py
vuzway9132/leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
null
null
null
class Solution: def shuffle(self, nums: List[int], n: int) -> List[int]: nums[::2], nums[1::2] = nums[:n], nums[n:] return nums
27.6
58
0.57971
23
138
3.478261
0.521739
0.175
0
0
0
0
0
0
0
0
0
0.027027
0.195652
138
4
59
34.5
0.693694
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
713bb2de8e435ffa1d3f21ca0b3c37c4167b44dc
67
py
Python
backend/debits/providers/__init__.py
picsadotcom/maguire
555549580aa532eb333295bc5ea30adb69c45afa
[ "BSD-3-Clause" ]
2
2018-05-31T20:03:17.000Z
2018-11-14T23:03:14.000Z
backend/debits/providers/__init__.py
picsadotcom/maguire
555549580aa532eb333295bc5ea30adb69c45afa
[ "BSD-3-Clause" ]
2
2018-02-13T08:48:49.000Z
2020-04-30T07:47:40.000Z
backend/debits/providers/__init__.py
picsadotcom/maguire
555549580aa532eb333295bc5ea30adb69c45afa
[ "BSD-3-Clause" ]
1
2017-11-11T06:02:36.000Z
2017-11-11T06:02:36.000Z
from debits.providers.base import Provider __all__ = ['Provider']
16.75
42
0.776119
8
67
6
0.875
0
0
0
0
0
0
0
0
0
0
0
0.119403
67
3
43
22.333333
0.813559
0
0
0
0
0
0.119403
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
853326ba8c5256638b600589d21eb3e26e145a86
82
py
Python
pluralizer/__init__.py
weixu365/pluralizer-py
793b2a8ff1320f701e70810038e0902c610aa5b0
[ "MIT" ]
4
2020-05-10T12:02:57.000Z
2022-02-02T11:20:02.000Z
pluralizer/__init__.py
weixu365/pluralizer-py
793b2a8ff1320f701e70810038e0902c610aa5b0
[ "MIT" ]
30
2020-05-10T10:07:00.000Z
2022-03-26T18:22:43.000Z
pluralizer/__init__.py
weixu365/pluralizer-py
793b2a8ff1320f701e70810038e0902c610aa5b0
[ "MIT" ]
null
null
null
__license__ = "MIT" from .pluralizer import Pluralizer __all__ = ['Pluralizer']
13.666667
34
0.743902
8
82
6.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.146341
82
5
35
16.4
0.757143
0
0
0
0
0
0.158537
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
853cc00d943c5c0377ec5ec9ae61860ed444ef0b
109,243
py
Python
pysnmp/TRAPEZE-NETWORKS-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/TRAPEZE-NETWORKS-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/TRAPEZE-NETWORKS-TRAP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module TRAPEZE-NETWORKS-TRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TRAPEZE-NETWORKS-TRAP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:20:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3....
172.579779
13,446
0.790531
10,110
109,243
8.54184
0.071019
0.113076
0.141689
0.164061
0.541224
0.496989
0.441627
0.440897
0.43073
0.381875
0
0.048118
0.059272
109,243
632
13,447
172.852848
0.792202
0.003149
0
0.069884
0
0
0.340444
0.208807
0
0
0
0
0
1
0
false
0.001664
0.021631
0
0.179701
0.004992
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8559376c4d0662d5a1417932e0e9b15a6155ba68
140
py
Python
01-character-input/character-input.py
dlgiang/python-practice
b831d46a1afa6c67e2b3a849146f3c03f966baed
[ "Apache-2.0" ]
null
null
null
01-character-input/character-input.py
dlgiang/python-practice
b831d46a1afa6c67e2b3a849146f3c03f966baed
[ "Apache-2.0" ]
null
null
null
01-character-input/character-input.py
dlgiang/python-practice
b831d46a1afa6c67e2b3a849146f3c03f966baed
[ "Apache-2.0" ]
null
null
null
name = input("Give me your name: ") print("Your name is " + name) age = int(input("Enter your age: ")) print("Your age is " + str(age))
28
37
0.607143
23
140
3.695652
0.478261
0.188235
0
0
0
0
0
0
0
0
0
0
0.207143
140
4
38
35
0.765766
0
0
0
0
0
0.441176
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
8559f79b431ea2902d1b37f06beae46154da9b2e
216
py
Python
part_01/chapter_01/exercises.py
EverLookNeverSee/DLCVP
c199de9a91bdeff08d3befcb69ad7c50c53f9e5e
[ "MIT" ]
null
null
null
part_01/chapter_01/exercises.py
EverLookNeverSee/DLCVP
c199de9a91bdeff08d3befcb69ad7c50c53f9e5e
[ "MIT" ]
null
null
null
part_01/chapter_01/exercises.py
EverLookNeverSee/DLCVP
c199de9a91bdeff08d3befcb69ad7c50c53f9e5e
[ "MIT" ]
null
null
null
# importing relevant libraries import torch # returning True if pytorch library is available on our local machine torch.cuda.is_available() # returning the version of pytorch that we've installed torch.__version__
24
69
0.814815
31
216
5.516129
0.774194
0.128655
0
0
0
0
0
0
0
0
0
0
0.143519
216
8
70
27
0.924324
0.694444
0
0
0
0
0
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
85614e902616c252cd7cc0c8fba211078786af20
430
py
Python
source/_sample/ptt/account-update_delivery_device.py
showa-yojyo/notebook
82c15074c24d64a1dfcb70a526bc1deb2ecffe68
[ "MIT" ]
14
2016-04-13T08:10:02.000Z
2021-04-19T09:42:51.000Z
source/_sample/ptt/account-update_delivery_device.py
showa-yojyo/note
5f262ecda3df132cb66206c465d16e174061d6b9
[ "MIT" ]
88
2017-09-27T15:07:05.000Z
2019-10-02T04:05:03.000Z
source/_sample/ptt/account-update_delivery_device.py
showa-yojyo/note
5f262ecda3df132cb66206c465d16e174061d6b9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Demonstration POST account/update_delivery_device # See https://dev.twitter.com/rest/reference/post/account/update_delivery_device from secret import twitter_instance from json import dump import sys tw = twitter_instance() # [1] response = tw.account.update_delivery_device( device='sms'...
22.631579
80
0.776744
61
430
5.295082
0.655738
0.120743
0.195046
0.250774
0.19195
0
0
0
0
0
0
0.007874
0.113953
430
18
81
23.888889
0.839895
0.365116
0
0
0
0
0.011194
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
1
0
0
0
0
3
85724c58b1b3690af1495c10b827a1b5a52283cd
8,038
py
Python
komle/bindings/v20/_gmd.py
HemersonRafael/komle
01fb03447e063130c6a2c6830e07bbd220518996
[ "Apache-2.0" ]
null
null
null
komle/bindings/v20/_gmd.py
HemersonRafael/komle
01fb03447e063130c6a2c6830e07bbd220518996
[ "Apache-2.0" ]
null
null
null
komle/bindings/v20/_gmd.py
HemersonRafael/komle
01fb03447e063130c6a2c6830e07bbd220518996
[ "Apache-2.0" ]
null
null
null
# komle/bindings/v20/_gmd.py # -*- coding: utf-8 -*- # PyXB bindings for NM:410705b36885cae3fa86a581e054e9b962463ed8 # Generated 2020-05-05 12:51:53.525955 by PyXB version 1.2.6 using Python 3.8.2.final.0 # Namespace http://www.isotc211.org/2005/gmd [xmlns:gmd] from __future__ import unicode_literals import io import...
70.508772
3,276
0.794725
1,098
8,038
5.605647
0.204918
0.0671
0.143786
0.172543
0.432819
0.432819
0.424695
0.411048
0.034768
0
0
0.069217
0.095919
8,038
113
3,277
71.132743
0.777762
0.598532
0
0.061538
1
0
0.034044
0.014318
0
0
0
0
0
1
0.030769
false
0
0.169231
0
0.246154
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8587679153cd8f3626346b4eacee4f1052c180d7
348
py
Python
packaging/windows/hexrd-script.py
psavery/hexrdgui
2a02dff4284bdddc48aa0bb17473cc651e161759
[ "BSD-3-Clause" ]
null
null
null
packaging/windows/hexrd-script.py
psavery/hexrdgui
2a02dff4284bdddc48aa0bb17473cc651e161759
[ "BSD-3-Clause" ]
null
null
null
packaging/windows/hexrd-script.py
psavery/hexrdgui
2a02dff4284bdddc48aa0bb17473cc651e161759
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import re import sys import os from pathlib import Path # Start in the bin directory so that everything load OK. os.chdir(Path(__file__).parent / '..' / 'Library' / 'bin') from hexrd.ui.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.ar...
23.2
69
0.640805
54
348
3.907407
0.685185
0.066351
0.075829
0
0
0
0
0
0
0
0
0.010345
0.166667
348
14
70
24.857143
0.717241
0.218391
0
0
0
0
0.159851
0.085502
0
0
0
0
0
1
0
true
0
0.555556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
8587d5ed22bd51b621c8dca51cd2350faccd8cb9
56
py
Python
src/labportalen/constants.py
strativ-dev/django-labportalen
021cb2ec9d0d2cfafadbc050b361c62afd38213e
[ "MIT" ]
null
null
null
src/labportalen/constants.py
strativ-dev/django-labportalen
021cb2ec9d0d2cfafadbc050b361c62afd38213e
[ "MIT" ]
1
2022-03-01T12:26:52.000Z
2022-03-01T12:26:52.000Z
src/labportalen/constants.py
strativ-dev/django-labportalen
021cb2ec9d0d2cfafadbc050b361c62afd38213e
[ "MIT" ]
null
null
null
COMPLETED_REPLY_STATUS = 'CO' PARTIAL_REPLY_STATUS = 'P'
28
29
0.803571
8
56
5.125
0.75
0.536585
0
0
0
0
0
0
0
0
0
0
0.089286
56
2
30
28
0.803922
0
0
0
0
0
0.052632
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a41ad90c51a7c33c868eb0cd4a2e57d9c19e5a4f
143
py
Python
lib/literalword/constants.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
206
2015-10-15T07:05:08.000Z
2021-02-19T11:48:36.000Z
lib/literalword/constants.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
8
2017-10-16T10:18:31.000Z
2022-03-09T14:24:27.000Z
lib/literalword/constants.py
goztrk/django-htk
c56bf112e5d627780d2f4288460eae5cce80fa9e
[ "MIT" ]
61
2015-10-15T08:12:44.000Z
2022-03-10T12:25:06.000Z
DEFAULT_BIBLE_VERSION = 'esv' LITERAL_WORD_URLS = { 'esv' : 'http://esv.literalword.com/', 'nasb' : 'http://nasb.literalword.com/', }
20.428571
44
0.636364
17
143
5.117647
0.647059
0.321839
0
0
0
0
0
0
0
0
0
0
0.153846
143
6
45
23.833333
0.719008
0
0
0
0
0
0.454545
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a4330d3ae8a0f031c52edc928e425023bd4ef548
158
py
Python
chainmodel/models/steem/ops/decline_voting_rights.py
aaroncox/blockmodel
14fa856a439ee3563ea4cad7b77db9bb998bdc7e
[ "MIT" ]
1
2018-03-29T09:06:03.000Z
2018-03-29T09:06:03.000Z
chainmodel/models/steem/ops/decline_voting_rights.py
aaroncox/blockmodel
14fa856a439ee3563ea4cad7b77db9bb998bdc7e
[ "MIT" ]
null
null
null
chainmodel/models/steem/ops/decline_voting_rights.py
aaroncox/blockmodel
14fa856a439ee3563ea4cad7b77db9bb998bdc7e
[ "MIT" ]
null
null
null
from chainmodel.models.steem.operation import Operation class DeclineVotingRights(Operation): tx_involves = ['account'] tx_originator = ['account']
22.571429
55
0.759494
16
158
7.375
0.75
0
0
0
0
0
0
0
0
0
0
0
0.139241
158
6
56
26.333333
0.867647
0
0
0
0
0
0.088608
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a4540fd2ba86708d73dd4015286bd442f8709dac
148
py
Python
sample.py
innodatalabs/xmlfuse
2ff6f40ef837fd199709300a7f4cb1bdf0a755e7
[ "MIT" ]
null
null
null
sample.py
innodatalabs/xmlfuse
2ff6f40ef837fd199709300a7f4cb1bdf0a755e7
[ "MIT" ]
null
null
null
sample.py
innodatalabs/xmlfuse
2ff6f40ef837fd199709300a7f4cb1bdf0a755e7
[ "MIT" ]
null
null
null
import lxml.etree as et import lxmlx.event as ev xml = et.fromstring('<a>Hello<?pi?> world!</a>') print(et.tostring(ev.unscan( ev.scan(xml) )))
21.142857
48
0.675676
26
148
3.846154
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.128378
148
7
49
21.142857
0.775194
0
0
0
0
0
0.167785
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a4702e270541b8789a3a622810970d5c05e09fbd
40
py
Python
compressor/__init__.py
andriyor/django-compressor
be782489af21b51cad2e8a60dd6b0a3bed20bff3
[ "MIT" ]
null
null
null
compressor/__init__.py
andriyor/django-compressor
be782489af21b51cad2e8a60dd6b0a3bed20bff3
[ "MIT" ]
null
null
null
compressor/__init__.py
andriyor/django-compressor
be782489af21b51cad2e8a60dd6b0a3bed20bff3
[ "MIT" ]
null
null
null
# following PEP 386 __version__ = "3.1"
13.333333
19
0.7
6
40
4
1
0
0
0
0
0
0
0
0
0
0
0.151515
0.175
40
2
20
20
0.575758
0.425
0
0
0
0
0.142857
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
a4a0924cbab0e9624e8ae0111e92748efb7d5bdc
511
py
Python
configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_edgeLower_refinePM10_03_04SugarBox.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
33
2021-12-15T07:11:47.000Z
2022-03-29T08:58:32.000Z
configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_edgeLower_refinePM10_03_04SugarBox.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
3
2021-12-15T11:39:54.000Z
2022-03-29T07:24:23.000Z
configs/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_edgeLower_refinePM10/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_edgeLower_refinePM10_03_04SugarBox.py
THU-DA-6D-Pose-Group/self6dpp
c267cfa55e440e212136a5e9940598720fa21d16
[ "Apache-2.0" ]
null
null
null
_base_ = "./ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_edgeLower_refinePM10_01_02MasterChefCan.py" OUTPUT_DIR = "output/self6dpp/ssYCBV/ss_mlBCE_MaskFull_PredDouble_PBR05_woCenter_edgeLower_refinePM10/03_04SugarBox" DATASETS = dict( TRAIN=("ycbv_004_sugar_box_train_real_aligned_Kuw",), TRAIN2=("ycbv_004_sugar_...
51.1
154
0.8591
67
511
5.910448
0.686567
0.035354
0.075758
0.126263
0.388889
0.287879
0.287879
0.287879
0
0
0
0.085062
0.056751
511
9
155
56.777778
0.736515
0
0
0
0
0
0.778865
0.778865
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
8efaf673b8692944e4ae3e80722ec0c7d5ebd268
1,491
py
Python
Ago-Dic-2021/cedillo-aparicio-cristina/Practica-3/calculator_test2.py
AnhellO/DAS_Sistemas
07b4eca78357d02d225d570033d05748d91383e3
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ago-Dic-2021/cedillo-aparicio-cristina/Practica-3/calculator_test2.py
AnhellO/DAS_Sistemas
07b4eca78357d02d225d570033d05748d91383e3
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ago-Dic-2021/cedillo-aparicio-cristina/Practica-3/calculator_test2.py
AnhellO/DAS_Sistemas
07b4eca78357d02d225d570033d05748d91383e3
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
import pytest from calculator2 import * ######################SUMA#################### @pytest.mark.parametrize( "a, b, resultado", [(5, 5, 10),(8,4,12)]) def test_suma(a, b, resultado): assert Calculator.suma(a, b) == resultado #####################RESTA################################## @pytest.mark.parametr...
37.275
134
0.518444
176
1,491
4.357955
0.289773
0.046936
0.258149
0.172099
0.473272
0.26206
0.26206
0.132986
0
0
0
0.056103
0.115359
1,491
39
135
38.230769
0.525398
0.02951
0
0.230769
0
0
0.155996
0
0
0
0
0
0.230769
1
0.230769
false
0
0.076923
0
0.307692
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
f1111c4020a2fe48968e08daf311fabecc31e956
872
py
Python
molsysmt/structure/__init__.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
molsysmt/structure/__init__.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
molsysmt/structure/__init__.py
dprada/molsysmt
83f150bfe3cfa7603566a0ed4aed79d9b0c97f5d
[ "MIT" ]
null
null
null
from .get_distances import get_distances from .get_minimum_distances import get_minimum_distances from .get_maximum_distances import get_maximum_distances from .get_contacts import get_contacts from .get_neighbors import get_neighbors from .get_center import get_center from .get_geometric_center import get_geometric_ce...
39.636364
60
0.883028
136
872
5.25
0.183824
0.137255
0.07563
0.042017
0
0
0
0
0
0
0
0
0.09289
872
21
61
41.52381
0.902655
0.066514
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
f11a707acc4ae5ff98159bf82a5614705cef75ff
334
py
Python
common/TorchNNModuleInterface.py
Iwomichu/probable-giggle
2af5ed83a60d65ec9d509c217cb5fcb880d5dbcc
[ "MIT" ]
1
2020-11-30T11:21:21.000Z
2020-11-30T11:21:21.000Z
common/TorchNNModuleInterface.py
Iwomichu/probable-giggle
2af5ed83a60d65ec9d509c217cb5fcb880d5dbcc
[ "MIT" ]
5
2020-11-03T16:46:49.000Z
2021-01-24T14:29:24.000Z
common/TorchNNModuleInterface.py
Iwomichu/probable-giggle
2af5ed83a60d65ec9d509c217cb5fcb880d5dbcc
[ "MIT" ]
null
null
null
from pathlib import Path from typing import Any import torch from abc import ABCMeta, abstractmethod class TorchNNModuleInterface(metaclass=ABCMeta): @abstractmethod def __init__(self, module: torch.nn.Module): self.module = module @abstractmethod def predict(self, observation: Any) -> Any:...
19.647059
48
0.721557
38
334
6.236842
0.552632
0.177215
0
0
0
0
0
0
0
0
0
0
0.209581
334
16
49
20.875
0.897727
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.090909
0.363636
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
f1517e3aae63622e7fa41ab7aeba6a6dd49b8900
148
py
Python
webapp/DataProcessingApp/urls.py
AdaFactor/RamaProject
4da35480e2e7185a6d07f00cc8cdbf51898a7bb7
[ "MIT" ]
null
null
null
webapp/DataProcessingApp/urls.py
AdaFactor/RamaProject
4da35480e2e7185a6d07f00cc8cdbf51898a7bb7
[ "MIT" ]
7
2018-02-16T11:18:24.000Z
2019-04-23T17:49:04.000Z
webapp/DataProcessingApp/urls.py
AdaFactor/RamaProject
4da35480e2e7185a6d07f00cc8cdbf51898a7bb7
[ "MIT" ]
1
2018-01-29T05:15:13.000Z
2018-01-29T05:15:13.000Z
from django.urls import path from . import views app_name = 'DataProcessingApp' urlpatterns = [ path('report/', views.report, name='report'), ]
21.142857
49
0.716216
18
148
5.833333
0.611111
0
0
0
0
0
0
0
0
0
0
0
0.148649
148
7
50
21.142857
0.833333
0
0
0
0
0
0.201342
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
74ce78c95a457d0872017c30d44fbb4d832fe1f2
4,423
py
Python
src/Experiments/create_datasets.py
tzaremba5/Cross-Subject-BCI-Motor-Imagery-Classification
be4e786db39696da992b36d5186b908e98398969
[ "MIT" ]
1
2022-02-06T05:17:00.000Z
2022-02-06T05:17:00.000Z
src/Experiments/create_datasets.py
tzaremba5/Cross-Subject-BCI-Motor-Imagery-Classification
be4e786db39696da992b36d5186b908e98398969
[ "MIT" ]
null
null
null
src/Experiments/create_datasets.py
tzaremba5/Cross-Subject-BCI-Motor-Imagery-Classification
be4e786db39696da992b36d5186b908e98398969
[ "MIT" ]
null
null
null
################################################################################ # create_dataset.py # # stores the functions for creating the dataset # from single_trial import * def create_dataset(competition, subject, tasks = None): """ Creates the dataset for a given subject Args: - competition:...
30.715278
93
0.608411
555
4,423
4.67027
0.162162
0.072145
0.037809
0.028935
0.726466
0.707176
0.707176
0.683256
0.683256
0.642361
0
0.002253
0.297536
4,423
144
94
30.715278
0.831992
0.386163
0
0.683333
0
0
0.01909
0.014216
0
0
0
0
0
1
0.05
false
0
0.016667
0
0.116667
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2d0b3e69d8b76e1dd2fab09aa2749e7685fe5368
258
py
Python
bom1/wakeword/lecture_durations.py
vstenby/01005WakeWord
c7e2ca4e4102e66b851c517d4a746d87be42423c
[ "MIT" ]
2
2021-02-09T10:14:33.000Z
2021-09-20T07:43:33.000Z
bom1/wakeword/lecture_durations.py
vstenby/01005WakeWord
c7e2ca4e4102e66b851c517d4a746d87be42423c
[ "MIT" ]
null
null
null
bom1/wakeword/lecture_durations.py
vstenby/01005WakeWord
c7e2ca4e4102e66b851c517d4a746d87be42423c
[ "MIT" ]
null
null
null
import pandas as pd def lecture_durations(local_path = '/zhome/55/f/127565/Desktop/01005WakeWord/'): durations = pd.read_csv(local_path + 'csv/links.csv')[['ID', 'duration']] return dict(zip(durations['ID'].tolist(), durations['duration'].tolist()))
51.6
80
0.709302
35
258
5.114286
0.685714
0.100559
0
0
0
0
0
0
0
0
0
0.055794
0.096899
258
5
81
51.6
0.712446
0
0
0
0
0
0.285714
0.158301
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2d0b757ff29908799147f0fb80e86f1ece1d4059
537
py
Python
src/studying/tests/record_shipment/conftest.py
denkasyanov/education-backend
c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5
[ "MIT" ]
151
2020-04-21T09:58:57.000Z
2021-09-12T09:01:21.000Z
src/studying/tests/record_shipment/conftest.py
denkasyanov/education-backend
c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5
[ "MIT" ]
163
2020-05-29T20:52:00.000Z
2021-09-11T12:44:56.000Z
src/studying/tests/record_shipment/conftest.py
boochamoocha/education-backend
c6ffb0c00bc066c8f1e0a8c0ffe4d0215c7c416a
[ "MIT" ]
39
2020-04-21T12:28:16.000Z
2021-09-12T15:33:47.000Z
import pytest from studying.shipment import RecordShipment pytestmark = [pytest.mark.django_db] @pytest.fixture def course(mixer): return mixer.blend('products.Course', name='Кройка и шитьё', name_genitive='Кройки и шитья') @pytest.fixture def record(mixer, course): return mixer.blend('products.Record', c...
20.653846
96
0.756052
70
537
5.771429
0.428571
0.128713
0.158416
0.118812
0
0
0
0
0
0
0
0
0.126629
537
25
97
21.48
0.861407
0
0
0.266667
0
0
0.108007
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.266667
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
2d3b5722bfd0262643206f755f269e50810eb703
426
py
Python
report_builder_demo/demo_models/admin.py
nazmizorlu/django-report-builder
0b37cd0c94af15531e487554c774a01dad3b5500
[ "BSD-3-Clause" ]
560
2015-01-05T07:14:50.000Z
2022-03-11T13:27:42.000Z
report_builder_demo/demo_models/admin.py
nazmizorlu/django-report-builder
0b37cd0c94af15531e487554c774a01dad3b5500
[ "BSD-3-Clause" ]
189
2015-01-15T16:55:55.000Z
2020-10-29T07:36:51.000Z
report_builder_demo/demo_models/admin.py
nazmizorlu/django-report-builder
0b37cd0c94af15531e487554c774a01dad3b5500
[ "BSD-3-Clause" ]
235
2015-01-10T16:56:17.000Z
2022-03-29T15:57:03.000Z
from django.contrib import admin from .models import ( Foo, Bar, Place, Waiter, Restaurant, Account, Person, Child ) @admin.register(Foo) class FooAdmin(admin.ModelAdmin): pass @admin.register(Bar) class BarAdmin(admin.ModelAdmin): pass admin.site.register(Account) admin.site.register(Place) admin.sit...
18.521739
63
0.765258
56
426
5.821429
0.375
0.165644
0.312883
0.147239
0
0
0
0
0
0
0
0
0.115023
426
22
64
19.363636
0.864721
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0
true
0.125
0.125
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
2d3d8b0014598f1793fcaeb97d82a86eada11ec0
780
py
Python
topCoder/srms/600s/srm628/div2/bishop_move.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-09-30T19:53:08.000Z
2020-09-30T19:53:08.000Z
topCoder/srms/600s/srm628/div2/bishop_move.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
null
null
null
topCoder/srms/600s/srm628/div2/bishop_move.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-10-15T09:10:57.000Z
2020-10-15T09:10:57.000Z
class BishopMove: def howManyMoves(self, r1, c1, r2, c2): def is_in_range(r, c): for i in xrange(8): if ( (r2 == r+i and c2 == c+i) or (r2 == r+i and c2 == c-i) or (r2 == r-i and c2 == c+i) or (r2 == ...
30
48
0.373077
113
780
2.469027
0.238938
0.086022
0.193548
0.197133
0.569892
0.523297
0.415771
0.415771
0.415771
0.415771
0
0.084881
0.516667
780
25
49
31.2
0.655172
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
742c103bbf4b5483e9e06cb77c7933f556bd37b0
3,245
py
Python
test/client.py
richard-duong/MiniFB
4deba36a9869c42fe735e1d6487fe6c996c65bd3
[ "MIT" ]
null
null
null
test/client.py
richard-duong/MiniFB
4deba36a9869c42fe735e1d6487fe6c996c65bd3
[ "MIT" ]
null
null
null
test/client.py
richard-duong/MiniFB
4deba36a9869c42fe735e1d6487fe6c996c65bd3
[ "MIT" ]
null
null
null
import socket import sys from thread import * from getpass import getpass import os ''' Function Definition ''' def receiveThread(s): while True: try: reply = s.recv(4096) # receive msg from server # You can add operations below once you receive msg # from the server except: print "Connection clo...
23.860294
163
0.663482
476
3,245
4.481092
0.367647
0.022504
0.012658
0
0
0
0
0
0
0
0
0.014145
0.215716
3,245
135
164
24.037037
0.823969
0.234515
0
0.15942
0
0.014493
0.247711
0
0
0
0
0.022222
0
0
null
null
0.086957
0.072464
null
null
0.173913
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
742ec8eb2159bcd564e84bc453d480cba487f3ee
1,198
py
Python
assets/models.py
ahuopana/prodify
618b27e54bcdf365df65d0889b7582fdf79c221c
[ "BSD-2-Clause" ]
null
null
null
assets/models.py
ahuopana/prodify
618b27e54bcdf365df65d0889b7582fdf79c221c
[ "BSD-2-Clause" ]
null
null
null
assets/models.py
ahuopana/prodify
618b27e54bcdf365df65d0889b7582fdf79c221c
[ "BSD-2-Clause" ]
null
null
null
from django.db import models class ProductType(models.Model): name = models.CharField(max_length=200) def __str__(self): return self.name class ModuleType(models.Model): name = models.CharField(max_length=200) def __str__(self): return self.name class Version(models.Model): ...
27.860465
76
0.708681
151
1,198
5.390728
0.245033
0.067568
0.110565
0.14742
0.686732
0.686732
0.686732
0.686732
0.627764
0.627764
0
0.015259
0.179466
1,198
42
77
28.52381
0.812818
0
0
0.607143
0
0
0.043551
0
0
0
0
0
0
1
0.178571
false
0
0.035714
0.178571
1
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
7432b6778732c6dd0c755d96b03dd6015da46132
1,640
py
Python
tests/test_e2e_03_Reporting_count.py
blue-monk/csv-diff-python2
8fbe9d149231b7d321d867497200e7c0c0118e57
[ "MIT" ]
null
null
null
tests/test_e2e_03_Reporting_count.py
blue-monk/csv-diff-python2
8fbe9d149231b7d321d867497200e7c0c0118e57
[ "MIT" ]
null
null
null
tests/test_e2e_03_Reporting_count.py
blue-monk/csv-diff-python2
8fbe9d149231b7d321d867497200e7c0c0118e57
[ "MIT" ]
null
null
null
import sys import textwrap from src.csvdiff2 import csvdiff def test_show_number_of_cases(lhs, rhs, capfd): lhs.write(textwrap.dedent(''' head1, head2, head3, head4, head5, head6 1, value1-2, key2-2, 1002, 20210921T035902, value4-2 1, value1-3, key2-3, 1003, 20210921T035904, value4-3 ...
35.652174
83
0.581707
214
1,640
4.439252
0.373832
0.063158
0.04
0.050526
0.337895
0.337895
0.337895
0.337895
0.337895
0.337895
0
0.305237
0.254878
1,640
45
84
36.444444
0.472177
0
0
0.228571
0
0.028571
0.771533
0
0
0
0
0
0.057143
1
0.028571
false
0
0.085714
0
0.114286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
74373ec6e57d44b74ca204848d730f7936e429d8
1,127
py
Python
hytra/pluginsystem/feature_serializer_plugin.py
m-novikov/hytra
0dc28deaa2571fa8bea63ca178f0e53cc1cd7508
[ "MIT" ]
1
2021-08-25T03:57:55.000Z
2021-08-25T03:57:55.000Z
hytra/pluginsystem/feature_serializer_plugin.py
m-novikov/hytra
0dc28deaa2571fa8bea63ca178f0e53cc1cd7508
[ "MIT" ]
1
2019-04-01T13:39:09.000Z
2019-04-01T13:39:09.000Z
hytra/pluginsystem/feature_serializer_plugin.py
m-novikov/hytra
0dc28deaa2571fa8bea63ca178f0e53cc1cd7508
[ "MIT" ]
1
2018-11-15T13:17:26.000Z
2018-11-15T13:17:26.000Z
from yapsy.IPlugin import IPlugin class FeatureSerializerPlugin(IPlugin): """ This is the base class for all plugins that load/store the features to/from different locations """ server_address = None """ Address of the dvid server (only used by the dvid serializer plugin) """ uuid = None ...
26.209302
100
0.621118
123
1,127
5.666667
0.495935
0.040172
0.043042
0.045911
0.384505
0.266858
0.266858
0.266858
0.266858
0.266858
0
0
0.299911
1,127
42
101
26.833333
0.883397
0.228926
0
0.4
0
0
0
0
0
0
0
0
0
1
0.266667
false
0.133333
0.066667
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
74435bc3ee7ca004afba2b1c5b700121dca52a29
6,408
py
Python
queueing_tool/queues/agents.py
stormvirux/queueing-tool
16d5b4700e839979ab6ca23c5be813d0b38b04af
[ "MIT" ]
49
2015-04-30T00:42:45.000Z
2022-03-21T14:49:46.000Z
queueing_tool/queues/agents.py
stormvirux/queueing-tool
16d5b4700e839979ab6ca23c5be813d0b38b04af
[ "MIT" ]
48
2015-02-16T01:24:04.000Z
2021-02-11T04:31:15.000Z
queueing_tool/queues/agents.py
stormvirux/queueing-tool
16d5b4700e839979ab6ca23c5be813d0b38b04af
[ "MIT" ]
11
2017-11-23T08:53:12.000Z
2022-03-21T18:22:09.000Z
from numpy import infty from numpy.random import uniform from queueing_tool.queues.choice import _choice, _argmin class Agent(object): """The base class for an agent. ``Agents`` are the objects that move throughout the network. ``Agents`` are instantiated by a queue, and once serviced the ``Agent`` ...
33.726316
91
0.617353
841
6,408
4.567182
0.25327
0.024993
0.022911
0.031242
0.410049
0.370997
0.319448
0.309034
0.294194
0.278053
0
0.007224
0.287141
6,408
189
92
33.904762
0.833625
0.589888
0
0.320755
0
0
0.038019
0
0
0
0
0
0
1
0.339623
false
0.018868
0.056604
0.188679
0.716981
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
744ce9628482304786e715a6c3546590c8621384
476
py
Python
secrets.py
gaoyaocheng/proj5-LeafletJS-
26a6da966ff9133c5ef727e7684fd7c6f65b8db1
[ "MIT" ]
null
null
null
secrets.py
gaoyaocheng/proj5-LeafletJS-
26a6da966ff9133c5ef727e7684fd7c6f65b8db1
[ "MIT" ]
null
null
null
secrets.py
gaoyaocheng/proj5-LeafletJS-
26a6da966ff9133c5ef727e7684fd7c6f65b8db1
[ "MIT" ]
null
null
null
#here is a secret file, which need 2 key, #mapquest_key is develop key for mapquest api #mapbox_key is develop key for mapbox api class Secret(): def __init__(self): self.mapquest_key = "0QFqsOaM2IuBdUQWnAi6EZHD3GwedpjK" self.mapbox_key = "pk.eyJ1IjoieXUzNHBvIiwiYSI6ImNpdW5xb3J3cTAwMHUydGw4djlrbjBxNXEif...
31.733333
115
0.756303
60
476
5.75
0.433333
0.127536
0.069565
0.086957
0.104348
0
0
0
0
0
0
0.043367
0.176471
476
14
116
34
0.836735
0.260504
0
0
0
0
0.344828
0.344828
0
0
0
0
0
1
0.375
false
0
0
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
746dab6b1ef45a1456521a9a1e19b72ab8048d8e
137
py
Python
ex1-3/mytest/world.py
karimjamali/Class9
d41d57cc2d264898dcac8734e6012911fc603051
[ "Apache-2.0" ]
null
null
null
ex1-3/mytest/world.py
karimjamali/Class9
d41d57cc2d264898dcac8734e6012911fc603051
[ "Apache-2.0" ]
null
null
null
ex1-3/mytest/world.py
karimjamali/Class9
d41d57cc2d264898dcac8734e6012911fc603051
[ "Apache-2.0" ]
null
null
null
def func2(): print' Sorry, didnt recognize you' def main(): print 'This is the world module' if __name__ == '__main__': main()
13.7
36
0.649635
19
137
4.263158
0.789474
0
0
0
0
0
0
0
0
0
0
0.009346
0.218978
137
9
37
15.222222
0.747664
0
0
0
0
0
0.433824
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
748aafcf69717be129c15372578df7dab9f6b760
684
py
Python
backend/garpix_page/utils/get_current_language_code_url_prefix.py
griviala/garpix_page
55f1d9bc6d1de29d18e15369bebcbef18811b5a4
[ "MIT" ]
null
null
null
backend/garpix_page/utils/get_current_language_code_url_prefix.py
griviala/garpix_page
55f1d9bc6d1de29d18e15369bebcbef18811b5a4
[ "MIT" ]
null
null
null
backend/garpix_page/utils/get_current_language_code_url_prefix.py
griviala/garpix_page
55f1d9bc6d1de29d18e15369bebcbef18811b5a4
[ "MIT" ]
null
null
null
from django.utils import translation from django.conf import settings def get_current_language_code_url_prefix(): current_language_code_url_prefix = translation.get_language() try: use_default_prefix = settings.USE_DEFAULT_LANGUAGE_PREFIX except: # noqa use_default_prefix = True if no...
38
93
0.77924
89
684
5.449438
0.314607
0.247423
0.352577
0.408247
0.519588
0.230928
0.230928
0.230928
0.230928
0.230928
0
0
0.173977
684
17
94
40.235294
0.858407
0.005848
0
0.133333
0
0
0.001475
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.266667
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
7764e06413792e36b7705eb16bd88061027b2cdd
223
py
Python
RDMOEntities/RDMOEntities.py
GeoinformationSystems/RDMOCatalogBuilder
362c00c77462101ff48541bc50b3f0a44fdb12e2
[ "Apache-2.0" ]
null
null
null
RDMOEntities/RDMOEntities.py
GeoinformationSystems/RDMOCatalogBuilder
362c00c77462101ff48541bc50b3f0a44fdb12e2
[ "Apache-2.0" ]
null
null
null
RDMOEntities/RDMOEntities.py
GeoinformationSystems/RDMOCatalogBuilder
362c00c77462101ff48541bc50b3f0a44fdb12e2
[ "Apache-2.0" ]
null
null
null
# @author: Michael Wagner # @organization: TU Dresden # @contact: michael.wagner@tu-dresden.de from abc import ABC, abstractmethod class RDMOEntities(ABC): @abstractmethod def make_element(self): pass
18.583333
41
0.70852
26
223
6.038462
0.730769
0.165605
0
0
0
0
0
0
0
0
0
0
0.197309
223
11
42
20.272727
0.877095
0.403587
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.6
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
1
0
0
1
0
0
3
7772dec68a47554509e9826552e4acd786639001
300
py
Python
models/utils/__init__.py
codexponent/smd
e61d31e85d0b9d7bf44826787a22aaf0b252b74e
[ "Apache-2.0" ]
32
2019-11-18T16:23:04.000Z
2021-05-30T17:35:03.000Z
models/utils/__init__.py
codexponent/smd
e61d31e85d0b9d7bf44826787a22aaf0b252b74e
[ "Apache-2.0" ]
9
2019-11-16T02:28:07.000Z
2021-09-15T14:15:48.000Z
models/utils/__init__.py
codexponent/smd
e61d31e85d0b9d7bf44826787a22aaf0b252b74e
[ "Apache-2.0" ]
6
2019-12-26T11:40:23.000Z
2021-03-26T08:03:57.000Z
from .conv import conv_layer, norm_layer, ConvModule from .nms import multiclass_nms from .anchor_generator import AnchorGenerator from .bbox import delta2bbox, bbox2result __all__ = ['conv_layer', 'norm_layer', 'ConvModule', 'nms', 'AnchorGenerator', 'delta2bbox', 'multiclass_nms', 'bbox2result']
42.857143
125
0.79
35
300
6.457143
0.428571
0.079646
0.115044
0.159292
0.247788
0
0
0
0
0
0
0.014815
0.1
300
6
126
50
0.822222
0
0
0
0
0
0.276667
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
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
7788a6233b18d719533aa84fe93085f9f0dd8d85
538
py
Python
lib/spos/api/pupil/cntrl.py
mmoosstt/pwap
1fdfd188eef132c25e9313744ed2e9b1347fab36
[ "MIT" ]
2
2021-12-20T21:32:01.000Z
2022-01-09T09:38:25.000Z
lib/spos/api/pupil/cntrl.py
mmoosstt/pwap
1fdfd188eef132c25e9313744ed2e9b1347fab36
[ "MIT" ]
null
null
null
lib/spos/api/pupil/cntrl.py
mmoosstt/pwap
1fdfd188eef132c25e9313744ed2e9b1347fab36
[ "MIT" ]
null
null
null
from fastapi import APIRouter from spos.api.pupil import dto from spos.storage.db.pupil import glue from uuid import UUID router = APIRouter() @router.get(f"/all", response_model = dto.Pupils) def getAll(): return glue.load() @router.get(f"/default", response_model = dto.Pupil) def getDefault(): return dto.P...
23.391304
52
0.72119
78
538
4.923077
0.384615
0.135417
0.125
0.109375
0.125
0
0
0
0
0
0
0
0.141264
538
23
53
23.391304
0.831169
0
0
0
0
0
0.025974
0
0
0
0
0
0
1
0.222222
false
0
0.222222
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
77b2231e9fe34e71d955adbf1fb690474a4fa062
21,563
py
Python
cellpy/readers/instruments/biologic_file_format.py
lithium-ion/cellpy
5345912dbd51a8f546542ef7797a074aac9ba3c7
[ "MIT" ]
38
2016-08-16T10:54:56.000Z
2022-03-03T04:43:20.000Z
cellpy/readers/instruments/biologic_file_format.py
Ozzstein/cellpy
ee532905741db4cb928303d75426d2a4fa77144a
[ "MIT" ]
88
2016-08-16T13:10:27.000Z
2022-03-29T10:36:39.000Z
cellpy/readers/instruments/biologic_file_format.py
Ozzstein/cellpy
ee532905741db4cb928303d75426d2a4fa77144a
[ "MIT" ]
13
2019-01-02T03:57:52.000Z
2022-01-19T08:06:49.000Z
"""File-format dicts for BioLogic""" import numpy as np __version__ = "0.1" mpr_label = b"BIO-LOGIC MODULAR FILE\x1a \x00\x00\x00\x00" hdr_dtype = np.dtype( [ ("shortname", "S10"), ("longname", "S25"), ("length", "<u4"), ("version", "<u4"), ("date"...
38.992767
83
0.293976
2,255
21,563
2.597339
0.283814
0.30869
0.010244
0.004098
0.030391
0
0
0
0
0
0
0.204904
0.247229
21,563
552
84
39.063406
0.155927
0.022168
0
0
0
0
0.240518
0.000997
0
0
0
0
0
1
0
false
0
0.001883
0
0.001883
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
77c0b7db62bc6cf6e12f924d9f9237583f8e5104
49
py
Python
Atividade do Livro-Nilo Ney(PYTHON)/Cap.05/exe 5.1.py
EduardoJonathan0/Python
0e4dff4703515a6454ba25c6f401960b6155f32f
[ "MIT" ]
null
null
null
Atividade do Livro-Nilo Ney(PYTHON)/Cap.05/exe 5.1.py
EduardoJonathan0/Python
0e4dff4703515a6454ba25c6f401960b6155f32f
[ "MIT" ]
null
null
null
Atividade do Livro-Nilo Ney(PYTHON)/Cap.05/exe 5.1.py
EduardoJonathan0/Python
0e4dff4703515a6454ba25c6f401960b6155f32f
[ "MIT" ]
null
null
null
n = 1 while n <= 100: print(n) n = n + 1
9.8
15
0.408163
10
49
2
0.5
0.2
0
0
0
0
0
0
0
0
0
0.178571
0.428571
49
4
16
12.25
0.535714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
77c2a34df429ffa8eb149ba1d794db2941e6d2a7
240
py
Python
code-lab/colab/kaggle_dataset_to_colab.py
kant/AI-Resources
9f82ce1000d68a4ab55aab2cf0fafe88f8b56bfe
[ "MIT" ]
null
null
null
code-lab/colab/kaggle_dataset_to_colab.py
kant/AI-Resources
9f82ce1000d68a4ab55aab2cf0fafe88f8b56bfe
[ "MIT" ]
null
null
null
code-lab/colab/kaggle_dataset_to_colab.py
kant/AI-Resources
9f82ce1000d68a4ab55aab2cf0fafe88f8b56bfe
[ "MIT" ]
2
2020-12-09T05:01:51.000Z
2021-08-11T20:00:42.000Z
import os os.environ['KAGGLE_USERNAME'] = "NAME" # username from the json file os.environ['KAGGLE_KEY'] = "KAGGLE_KEY" # key from the json file !kaggle competitions download -c facial-keypoints-detection !unzip test.zip !unzip training.zip
34.285714
68
0.770833
36
240
5.055556
0.583333
0.098901
0.164835
0.164835
0
0
0
0
0
0
0
0
0.120833
240
6
69
40
0.862559
0.208333
0
0
0
0
0.208556
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
77c5cadaaaabf622299387d1a537518d4fc2c248
4,071
py
Python
Day05/Part1.py
PeterDowdy/AdventOfCode2019
93078b5fc2ef78cdb1b860a3535839dc718c9f5f
[ "MIT" ]
null
null
null
Day05/Part1.py
PeterDowdy/AdventOfCode2019
93078b5fc2ef78cdb1b860a3535839dc718c9f5f
[ "MIT" ]
null
null
null
Day05/Part1.py
PeterDowdy/AdventOfCode2019
93078b5fc2ef78cdb1b860a3535839dc718c9f5f
[ "MIT" ]
null
null
null
def get_opcode(code): strcode = str(code) while len(strcode) < 5: strcode = '0' + strcode return (int(strcode[0]), int(strcode[1]), int(strcode[2]), int(strcode[3])*10+int(strcode[4])) def calculate(): program = [3,225,1,225,6,6,1100,1,238,225,104,0,1102,72,20,224,1001,224,-1440,224,4,224,1...
92.522727
2,563
0.654139
864
4,071
3.069444
0.155093
0.072398
0.064103
0.058069
0.628582
0.579186
0.540347
0.509427
0.446456
0.22813
0
0.54378
0.133137
4,071
44
2,564
92.522727
0.207708
0
0
0.45
0
0
0.008104
0
0
0
0
0
0
1
0.05
false
0
0
0
0.1
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
77cb7493d223eee53f748522e489c0e18d892c49
255
py
Python
proto-build/gui/horizon/Horizon_GUI/config/templatetags/config_extras.py
Havate/havate-openstack
a0ca519af0da5df7981ccfb86cd9994f8c181644
[ "Apache-2.0" ]
1
2015-06-26T23:31:42.000Z
2015-06-26T23:31:42.000Z
proto-build/gui/horizon/openstack-dashboard/config/templatetags/config_extras.py
Havate/havate-openstack
a0ca519af0da5df7981ccfb86cd9994f8c181644
[ "Apache-2.0" ]
1
2015-03-12T01:03:44.000Z
2015-03-12T01:03:44.000Z
proto-build/gui/horizon/openstack-dashboard/config/templatetags/config_extras.py
Havate/havate-openstack
a0ca519af0da5df7981ccfb86cd9994f8c181644
[ "Apache-2.0" ]
null
null
null
from django import template from django.template.defaultfilters import stringfilter register = template.Library() @register.filter @stringfilter def escapenewline(value): # Only one argument. return value.replace('\r\n', '\\n').replace('\n', '\\n')
25.5
60
0.741176
31
255
6.096774
0.612903
0.10582
0
0
0
0
0
0
0
0
0
0
0.113725
255
9
61
28.333333
0.836283
0.070588
0
0
0
0
0.051064
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
77cc9271f7d91ef0cbaae1cd1100c3c420b0f006
2,048
py
Python
coinflow/protocol/structs/Varstr.py
mariuszlitwin/coinflow
49686e703a6edf90777eff2a154de1d732fc6b5f
[ "Apache-2.0", "MIT" ]
1
2018-06-12T23:04:11.000Z
2018-06-12T23:04:11.000Z
coinflow/protocol/structs/Varstr.py
mariuszlitwin/coinflow
49686e703a6edf90777eff2a154de1d732fc6b5f
[ "Apache-2.0", "MIT" ]
null
null
null
coinflow/protocol/structs/Varstr.py
mariuszlitwin/coinflow
49686e703a6edf90777eff2a154de1d732fc6b5f
[ "Apache-2.0", "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import struct from typing import NamedTuple from .Struct import Struct from .Varint import Varint Payload = NamedTuple('Payload', (('content', str), ('length', Varint))) class Varstr(str, Struct): """ Variable length string structure for use in Bitcoin protoco...
26.25641
77
0.554199
220
2,048
5.095455
0.354545
0.035682
0.053524
0.06066
0.220339
0.195361
0.195361
0.195361
0.17306
0.092774
0
0.00145
0.32666
2,048
77
78
26.597403
0.811458
0.478516
0
0
0
0
0.027174
0
0
0
0
0.012987
0
1
0.235294
false
0
0.235294
0.058824
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
77ebb858884a64e7d623021ca4a24717b2009b51
282
py
Python
answer/a6_3_ronri_enzan_andor.py
breeze-shared-inc/python_training_01
7e918b37adbce062ae279f060bc25cfacda2fb85
[ "MIT" ]
null
null
null
answer/a6_3_ronri_enzan_andor.py
breeze-shared-inc/python_training_01
7e918b37adbce062ae279f060bc25cfacda2fb85
[ "MIT" ]
1
2020-05-11T04:59:04.000Z
2020-05-11T05:29:08.000Z
answer/a6_3_ronri_enzan_andor.py
bzgwhite/python_training_01
7e918b37adbce062ae279f060bc25cfacda2fb85
[ "MIT" ]
null
null
null
print("Aが真かつBが真なら真") print(1 == 1 and 1 == 1) # True print(1 == 2 and 1 == 1) # False print(1 == 2 and 1 == 2) # False print("Aが真又はBが真なら真") print(1 == 1 or 1 == 1) # True print(1 == 2 or 1 == 1) # True print(1 == 2 or 1 == 2) # False print("Aが真なら偽になる") print(not 1 == 1) # false
20.142857
32
0.556738
53
282
2.962264
0.207547
0.089172
0.178344
0.210191
0.388535
0.292994
0.210191
0.210191
0.210191
0
0
0.12037
0.234043
282
13
33
21.692308
0.606481
0.134752
0
0
0
0
0.131356
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
77ee254d304cb8eae0fd2703b44d4a1b6ba09553
604
py
Python
plenum/test/plugin/demo_plugin/batch_handlers/auction_batch_handler.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
148
2017-07-11T19:05:25.000Z
2022-03-16T21:31:20.000Z
plenum/test/plugin/demo_plugin/batch_handlers/auction_batch_handler.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
561
2017-06-29T17:59:56.000Z
2022-03-09T15:47:14.000Z
plenum/test/plugin/demo_plugin/batch_handlers/auction_batch_handler.py
andkononykhin/plenum
28dc1719f4b7e80d31dafbadb38cfec4da949886
[ "Apache-2.0" ]
378
2017-06-29T17:45:27.000Z
2022-03-26T07:27:59.000Z
from plenum.common.constants import DOMAIN_LEDGER_ID from plenum.server.batch_handlers.batch_request_handler import BatchRequestHandler from plenum.server.database_manager import DatabaseManager from plenum.test.plugin.demo_plugin import AUCTION_LEDGER_ID class AuctionBatchHandler(BatchRequestHandler): def __ini...
35.529412
82
0.816225
76
604
6.065789
0.473684
0.086768
0.069414
0.091106
0.10846
0
0
0
0
0
0
0
0.124172
604
16
83
37.75
0.871456
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.181818
0.363636
0
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
1
0
0
0
0
3
7af8ae771b82a73c106e78343ff19f74b23f2c6b
1,128
py
Python
alarm/tests/test_backend.py
aadaniu/satori
edcb7285cda1996879bd6de8df5db24f0512cd73
[ "Apache-2.0" ]
1
2019-04-28T05:38:03.000Z
2019-04-28T05:38:03.000Z
alarm/tests/test_backend.py
aadaniu/satori
edcb7285cda1996879bd6de8df5db24f0512cd73
[ "Apache-2.0" ]
null
null
null
alarm/tests/test_backend.py
aadaniu/satori
edcb7285cda1996879bd6de8df5db24f0512cd73
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import # -- prioritized -- from gevent import monkey monkey.patch_all() # -- stdlib -- # -- third party -- # -- own -- from base import TestBase from example_data import alarm_example, user_example # -- code -- class TestBackend(TestBase): def do_tezt_bac...
24
60
0.664007
147
1,128
4.795918
0.346939
0.076596
0.165957
0.18156
0.306383
0.306383
0
0
0
0
0
0.001135
0.218972
1,128
46
61
24.521739
0.799092
0.449468
0
0
0
0
0.021595
0
0
0
0
0
0
1
0.2
false
0
0.4
0.133333
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
7afc3860d5f7b1bed9806950c03bdefb5cf896ac
132
py
Python
guet/errors.py
AbhishekMashetty/pairprogrammingmasetty
0528d4999b472ec6d94058193275a505eaf2c762
[ "Apache-2.0" ]
13
2018-12-21T22:47:28.000Z
2021-12-17T14:27:35.000Z
guet/errors.py
chiptopher/guet
1099ee623311ba1d052237612efc9b06b7ff68bb
[ "Apache-2.0" ]
63
2018-08-30T11:19:12.000Z
2021-05-13T12:11:08.000Z
guet/errors.py
chiptopher/guet
1099ee623311ba1d052237612efc9b06b7ff68bb
[ "Apache-2.0" ]
7
2019-05-21T13:52:37.000Z
2022-01-30T22:57:21.000Z
class GuetError(Exception): pass class InvalidInitialsError(GuetError): pass class UnexpectedError(GuetError): pass
12
38
0.742424
12
132
8.166667
0.5
0.183673
0
0
0
0
0
0
0
0
0
0
0.189394
132
10
39
13.2
0.915888
0
0
0.5
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
bb256b8261f58c25463692badf419bd78aef389f
349
py
Python
BranchAndBound/__init__.py
cdfmlr/IntegerProgExperiment
bdd21c342c76e2e6cbb01cdb86b37e3f912d4158
[ "MIT" ]
4
2020-07-11T04:42:59.000Z
2021-11-10T03:34:53.000Z
BranchAndBound/__init__.py
cdfmlr/IntegerProgExperiment
bdd21c342c76e2e6cbb01cdb86b37e3f912d4158
[ "MIT" ]
null
null
null
BranchAndBound/__init__.py
cdfmlr/IntegerProgExperiment
bdd21c342c76e2e6cbb01cdb86b37e3f912d4158
[ "MIT" ]
4
2020-11-22T03:05:29.000Z
2021-08-15T01:31:18.000Z
""" BranchAndBound 提供求解整数线性规划问题的「分支定界法」 Public ------ func branch_and_bound(c, A_ub, b_ub, A_eq, b_eq, bounds, bnbTreeNode=None): 对整数规划问题使用「分支定界法」进行*递归*求解。 class BnBTree: 表示分枝定界法求整数规划问题过程的树 class BnBTreeNode: BnBTree 的节点 """ from BranchAndBound.bnb_Tree import BnBTreeNode, BnBTree from BranchAndBound.branch_and_b...
24.928571
75
0.796562
48
349
5.5625
0.583333
0.101124
0.157303
0
0
0
0
0
0
0
0
0
0.106017
349
13
76
26.846154
0.855769
0.633238
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
bb2c7f2145270379a80d4d2feb0552d2ea2bb065
87
py
Python
wtfapi/apps.py
luismasuelli/wherethefuck
6e68543a804c299be4362836c518e34f10029b48
[ "MIT" ]
1
2019-11-18T15:02:16.000Z
2019-11-18T15:02:16.000Z
wtfapi/apps.py
luismasuelli/wherethefuck
6e68543a804c299be4362836c518e34f10029b48
[ "MIT" ]
null
null
null
wtfapi/apps.py
luismasuelli/wherethefuck
6e68543a804c299be4362836c518e34f10029b48
[ "MIT" ]
null
null
null
from django.apps import AppConfig class WtfapiConfig(AppConfig): name = 'wtfapi'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
bb37c586c72eff1297440e904edfc49a89e172ac
215
py
Python
tests/sample/code/second_module.py
pksol/mock_autogen
5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9
[ "MIT" ]
26
2018-12-24T15:02:34.000Z
2022-03-17T06:26:08.000Z
tests/sample/code/second_module.py
pksol/mock_autogen
5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9
[ "MIT" ]
29
2018-10-20T17:45:53.000Z
2022-03-08T02:24:24.000Z
tests/sample/code/second_module.py
pksol/mock_autogen
5eff3db7bac5f59c5c1c54cfcb4e66576d261ed9
[ "MIT" ]
null
null
null
def my_dir(obj): return dir(obj) class SingleClassInModule(object): def __init__(self, prop): raise NotImplementedError() def not_implemented(self, param): raise NotImplementedError()
19.545455
37
0.688372
23
215
6.173913
0.695652
0.084507
0
0
0
0
0
0
0
0
0
0
0.218605
215
10
38
21.5
0.845238
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.142857
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
bb512eaf4402293c2b179c769c0600a2f1992e39
158
py
Python
test/integration/default/testinfra/test_kibana.py
sensidev/kibana-formula
73e6f085d9d45a08d59669bffc983cc48d30cb98
[ "Apache-2.0" ]
10
2016-11-01T14:57:39.000Z
2021-11-28T21:00:03.000Z
test/integration/default/testinfra/test_kibana.py
sensidev/kibana-formula
73e6f085d9d45a08d59669bffc983cc48d30cb98
[ "Apache-2.0" ]
22
2016-09-05T13:46:40.000Z
2022-01-13T16:47:24.000Z
test/integration/default/testinfra/test_kibana.py
sensidev/kibana-formula
73e6f085d9d45a08d59669bffc983cc48d30cb98
[ "Apache-2.0" ]
50
2016-08-02T05:51:56.000Z
2021-11-28T21:00:04.000Z
import testinfra def test_service_is_running_and_enabled(Service): kibana = Service('kibana') assert kibana.is_running assert kibana.is_enabled
19.75
49
0.778481
21
158
5.52381
0.52381
0.155172
0.241379
0
0
0
0
0
0
0
0
0
0.158228
158
7
50
22.571429
0.87218
0
0
0
0
0
0.037975
0
0
0
0
0
0.4
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bb567f3dbb0b3821a4c7b350b76c55478cab1ed1
417
py
Python
tesufr/models/sentence.py
serge-sotnyk/tesufr
dba0277a1a10763689bd1fc29d9de265aef6c470
[ "MIT" ]
null
null
null
tesufr/models/sentence.py
serge-sotnyk/tesufr
dba0277a1a10763689bd1fc29d9de265aef6c470
[ "MIT" ]
3
2020-03-24T16:53:48.000Z
2021-02-02T21:58:54.000Z
tesufr/models/sentence.py
serge-sotnyk/tesufr
dba0277a1a10763689bd1fc29d9de265aef6c470
[ "MIT" ]
1
2019-05-26T18:23:55.000Z
2019-05-26T18:23:55.000Z
from .fragment import Fragment from .text_container import TextContainer class Sentence(Fragment): def __init__(self, owner: TextContainer, start: int, finish: int, lang=""): Fragment.__init__(self, owner, start, finish) self.lang: str = lang self.importance: float = 0.0 def __repr__(...
32.076923
89
0.671463
52
417
5.134615
0.442308
0.101124
0.097378
0
0
0
0
0
0
0
0
0.005952
0.194245
417
12
90
34.75
0.78869
0
0
0
0
0.111111
0.170264
0.052758
0
0
0
0
0
1
0.222222
false
0
0.333333
0.111111
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
2472f20546d5ae69481bea036f52c9d87428afa4
146
py
Python
starter-stack/player1.py
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
starter-stack/player1.py
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
starter-stack/player1.py
InsperDynamics/Soccer-Simulation-2D
a548d576ca4ab2a8f797810f5e23875c45cef73f
[ "Apache-2.0" ]
null
null
null
import os def player1(): os.chdir('Agent1/src') os.system('./start.sh -t teamnacme') #Aqui você pode trocar o nome do time player1()
14.6
78
0.650685
23
146
4.130435
0.869565
0
0
0
0
0
0
0
0
0
0
0.025862
0.205479
146
9
79
16.222222
0.793103
0.246575
0
0
0
0
0.308411
0
0
0
0
0
0
1
0.2
true
0
0.2
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
1
0
0
0
0
0
0
3
24a1e81a8c19ca3cffb16267b718112b29ec6116
1,415
py
Python
Teil_xx_Vector.py
RachidAGPython/Code
4c565d41a4f4f5f13a3e030297703e256b653c49
[ "MIT" ]
null
null
null
Teil_xx_Vector.py
RachidAGPython/Code
4c565d41a4f4f5f13a3e030297703e256b653c49
[ "MIT" ]
null
null
null
Teil_xx_Vector.py
RachidAGPython/Code
4c565d41a4f4f5f13a3e030297703e256b653c49
[ "MIT" ]
null
null
null
import math class Vec(tuple): def __new__(cls, *args): return tuple.__new__(cls, args) def __add__(self, other): if type(other) in (int, float): return Vec(*([x+other for x in self])) else: return Vec(*([sum(x) for x in zip(self, other)])) def __sub__(self, other): if type(other) i...
36.282051
175
0.629682
227
1,415
3.819383
0.330396
0.083045
0.034602
0.046136
0.467128
0.376009
0.286044
0.286044
0.260669
0.212226
0
0.040179
0.208481
1,415
38
176
37.236842
0.733929
0.361837
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.041667
0.125
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
24bb7a0f232b214cc4e11c15b2cbd4a521b1eefe
182
py
Python
example/projects/urls.py
robertofd1995/django-rest-polymorphic
9ce66d520346b20f0c4dd9fe7b809026e26a12b5
[ "MIT" ]
140
2017-12-08T17:26:59.000Z
2022-03-31T17:22:13.000Z
example/projects/urls.py
robertofd1995/django-rest-polymorphic
9ce66d520346b20f0c4dd9fe7b809026e26a12b5
[ "MIT" ]
36
2018-01-09T20:10:56.000Z
2022-03-20T14:35:49.000Z
example/projects/urls.py
robertofd1995/django-rest-polymorphic
9ce66d520346b20f0c4dd9fe7b809026e26a12b5
[ "MIT" ]
26
2018-02-02T13:10:58.000Z
2022-02-24T19:35:30.000Z
from rest_framework.routers import DefaultRouter from .views import ProjectViewSet router = DefaultRouter() router.register(r'projects', ProjectViewSet) urlpatterns = router.urls
20.222222
48
0.824176
20
182
7.45
0.7
0
0
0
0
0
0
0
0
0
0
0
0.104396
182
8
49
22.75
0.91411
0
0
0
0
0
0.043956
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
24d0b2140ce350e23a57ea2affefb3bd71bb62fb
124
py
Python
src/utils/isjson.py
vinthony/racpider
56cea984b69ed4faf0f1c5d264ce38690d4b449e
[ "MIT" ]
4
2015-05-27T04:07:59.000Z
2016-03-08T15:13:35.000Z
src/utils/isjson.py
vinthony/racpider
56cea984b69ed4faf0f1c5d264ce38690d4b449e
[ "MIT" ]
null
null
null
src/utils/isjson.py
vinthony/racpider
56cea984b69ed4faf0f1c5d264ce38690d4b449e
[ "MIT" ]
null
null
null
import json def isjson(s): j = json.loads(s) if isinstance(json,dict) or isinstance(j,list): return True return False
17.714286
48
0.717742
21
124
4.238095
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.169355
124
7
49
17.714286
0.864078
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
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
700a181904c093c921f0da337c27a0676215fe73
2,076
py
Python
Model/Oeuvre.py
amillet90/Flask_crud_v1
4958c06027b3eab87ac66774bb200ee2f4552e29
[ "Unlicense" ]
null
null
null
Model/Oeuvre.py
amillet90/Flask_crud_v1
4958c06027b3eab87ac66774bb200ee2f4552e29
[ "Unlicense" ]
null
null
null
Model/Oeuvre.py
amillet90/Flask_crud_v1
4958c06027b3eab87ac66774bb200ee2f4552e29
[ "Unlicense" ]
null
null
null
import db def insert(titre, date_parution, photo, prix, auteur_id): connection = db.get_db() try: with connection.cursor() as cursor: sql = 'INSERT INTO Oeuvre VALUES (null, %s, %s, %s, %s, %s)' cursor.execute(sql, (titre, date_parution, photo, prix, auteur_id)) conne...
24.423529
79
0.52553
223
2,076
4.789238
0.201794
0.089888
0.08427
0.095506
0.776217
0.758427
0.746255
0.716292
0.575843
0.511236
0
0
0.36079
2,076
84
80
24.714286
0.804823
0
0
0.587302
0
0.015873
0.159441
0
0
0
0
0
0
1
0.095238
false
0
0.015873
0
0.15873
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
702dbad5245ef79227eb787a28f445a520f5c672
293
py
Python
cloudsolutions/app/request/models.py
NicoMorillo/dj_csweb
e1739e89c602339f77fda9ab3440ff9133d7fc37
[ "MIT" ]
null
null
null
cloudsolutions/app/request/models.py
NicoMorillo/dj_csweb
e1739e89c602339f77fda9ab3440ff9133d7fc37
[ "MIT" ]
null
null
null
cloudsolutions/app/request/models.py
NicoMorillo/dj_csweb
e1739e89c602339f77fda9ab3440ff9133d7fc37
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Company(models.Model): comp_name = models.CharField(max_length=50) person_full_name = models.CharField(max_length=50) phone_num = models.IntegerField() email = models.EmailField() address = models.TextField()
26.636364
54
0.737201
38
293
5.526316
0.684211
0.095238
0.180952
0.209524
0.285714
0.285714
0
0
0
0
0
0.016327
0.163823
293
10
55
29.3
0.840816
0.081911
0
0
0
0
0
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
704d90cbb236b7f52136987a161f0295ee6665f9
219
py
Python
url/views.py
PiochU19/link-shortener
56a82f15763feb069490d84fbe448e45cefbe4ed
[ "MIT" ]
1
2021-04-13T08:19:56.000Z
2021-04-13T08:19:56.000Z
url/views.py
PiochU19/link-shortener
56a82f15763feb069490d84fbe448e45cefbe4ed
[ "MIT" ]
null
null
null
url/views.py
PiochU19/link-shortener
56a82f15763feb069490d84fbe448e45cefbe4ed
[ "MIT" ]
null
null
null
from django.shortcuts import redirect, get_object_or_404 from .models import ShortUrl def redirected(request, code): db_url = get_object_or_404(ShortUrl, short_url=code) db_url.click() return redirect(db_url.url)
21.9
56
0.803653
35
219
4.742857
0.571429
0.090361
0.13253
0.168675
0
0
0
0
0
0
0
0.030928
0.114155
219
10
57
21.9
0.824742
0
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
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
705a8fdc0c2a5109a0d443b8910685b547cfd302
709
py
Python
src/terrorism.py
Lodur03/terrorism-visual-analytics
200470a09b7efb60a470d965d661ed161257faf8
[ "MIT" ]
2
2018-02-27T16:10:50.000Z
2018-04-14T02:54:30.000Z
src/terrorism.py
DanielGunna/Terrorism-Visual-Analytics
03b041eb25f79ea753219e3c89ce5a417a312cd4
[ "MIT" ]
null
null
null
src/terrorism.py
DanielGunna/Terrorism-Visual-Analytics
03b041eb25f79ea753219e3c89ce5a417a312cd4
[ "MIT" ]
2
2018-02-27T16:10:42.000Z
2020-02-20T16:51:20.000Z
# Dependencies import pandas as pd import numpy as np import matplotlib.animation as animation from IPython.display import HTML import warnings warnings.filterwarnings('ignore') def checkColumns(data): print(data.columns.values) def checkContent(data): print(terror.head()) def getRowById(data,id): re...
24.448276
68
0.730606
92
709
5.619565
0.543478
0.034816
0.05029
0.065764
0
0
0
0
0
0
0
0.008197
0.139633
709
29
69
24.448276
0.839344
0.069111
0
0
0
0
0.079027
0.033435
0
0
0
0
0
1
0.3
false
0
0.25
0.2
0.75
0.15
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
7069ded6bf847abdbbd5e28eaeb16ed545b373be
100
py
Python
django/django_fundamentals/django_intro/template/template/urls.py
fatimaalheeh/python_stack
9ba84e6dc030a65494f105152a97f0a38aa2e4f3
[ "MIT" ]
null
null
null
django/django_fundamentals/django_intro/template/template/urls.py
fatimaalheeh/python_stack
9ba84e6dc030a65494f105152a97f0a38aa2e4f3
[ "MIT" ]
null
null
null
django/django_fundamentals/django_intro/template/template/urls.py
fatimaalheeh/python_stack
9ba84e6dc030a65494f105152a97f0a38aa2e4f3
[ "MIT" ]
null
null
null
from django.urls import path,include urlpatterns = [ path('', include("template_app.urls")), ]
16.666667
43
0.69
12
100
5.666667
0.75
0.323529
0
0
0
0
0
0
0
0
0
0
0.15
100
5
44
20
0.8
0
0
0
0
0
0.17
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
707de76d1129e41999877d9ce46065398189456c
77
py
Python
Image/printlibrary.py
pection/InternshipProject
2b39cc244e7ac989795d3aba5c1a11bb6c9a57b7
[ "Apache-2.0" ]
null
null
null
Image/printlibrary.py
pection/InternshipProject
2b39cc244e7ac989795d3aba5c1a11bb6c9a57b7
[ "Apache-2.0" ]
null
null
null
Image/printlibrary.py
pection/InternshipProject
2b39cc244e7ac989795d3aba5c1a11bb6c9a57b7
[ "Apache-2.0" ]
null
null
null
import cv2 events = [i for i in dir(cv2) if 'EVENT' in i] print (events )
25.666667
47
0.636364
15
77
3.266667
0.666667
0
0
0
0
0
0
0
0
0
0
0.034483
0.246753
77
3
48
25.666667
0.810345
0
0
0
0
0
0.065789
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5606d45a13d969739970e86e40e2b832e818a84c
15,625
py
Python
FlyHigh_Personal_Project_ParkSeHwan/send_email.py
MaengSanHa/flyhigh
461c8f7ce787b3961cdbcbc5c7c77a7ec45f7aeb
[ "Apache-2.0" ]
null
null
null
FlyHigh_Personal_Project_ParkSeHwan/send_email.py
MaengSanHa/flyhigh
461c8f7ce787b3961cdbcbc5c7c77a7ec45f7aeb
[ "Apache-2.0" ]
null
null
null
FlyHigh_Personal_Project_ParkSeHwan/send_email.py
MaengSanHa/flyhigh
461c8f7ce787b3961cdbcbc5c7c77a7ec45f7aeb
[ "Apache-2.0" ]
1
2019-10-18T06:52:37.000Z
2019-10-18T06:52:37.000Z
# -*- coding:utf-8 -*- from email.header import Header from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart from email.mime.image import MIMEImage import smtplib import json import os #----------------------------------------# #민원기관별 제품 사용 #정부24(민원24) : 옴니독, 옴니체크 #하이코리아 : 옴니체...
128.07377
6,992
0.674496
2,306
15,625
4.558109
0.212923
0.028922
0.029683
0.043383
0.457426
0.427172
0.396156
0.373989
0.364
0.347541
0
0.043293
0.114496
15,625
121
6,993
129.132231
0.71632
0.031808
0
0.205479
0
0.054795
0.874383
0.156855
0
0
0
0
0
1
0.027397
false
0.027397
0.123288
0.013699
0.150685
0.013699
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
56074e1610d849a04ad8e343504beead67597f54
394
py
Python
tests/test_contrib/test_extensions/test_celery.py
leesnhyun/sea
40796be02b43ad1a1e79c54765b755fe67442e36
[ "MIT" ]
null
null
null
tests/test_contrib/test_extensions/test_celery.py
leesnhyun/sea
40796be02b43ad1a1e79c54765b755fe67442e36
[ "MIT" ]
null
null
null
tests/test_contrib/test_extensions/test_celery.py
leesnhyun/sea
40796be02b43ad1a1e79c54765b755fe67442e36
[ "MIT" ]
null
null
null
import mock from sea.contrib.extensions.celery import AsyncTask, Bus from sea.contrib.extensions.celery.cmd import async_task, bus def test_celery(app): AsyncTask().init_app(app) Bus().init_app(app) with mock.patch("sea.contrib.extensions.celery.cmd.celerymain"): async_task(["worker"]) bus...
30.307692
68
0.705584
55
394
4.945455
0.527273
0.110294
0.220588
0.286765
0.338235
0
0
0
0
0
0
0.014925
0.149746
394
12
69
32.833333
0.797015
0.137056
0
0
0
0
0.16568
0.130178
0
0
0
0
0
1
0.111111
false
0
0.333333
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
0
0
0
1
0
0
0
0
3
5635c67eed6599ecaf7ed7fab9b59738b1d54849
1,594
py
Python
main/migrations/0001_initial.py
mhartley/popkids
30add65ebc4d6fd0c3f6a1ce51bef18817d35093
[ "MIT" ]
null
null
null
main/migrations/0001_initial.py
mhartley/popkids
30add65ebc4d6fd0c3f6a1ce51bef18817d35093
[ "MIT" ]
null
null
null
main/migrations/0001_initial.py
mhartley/popkids
30add65ebc4d6fd0c3f6a1ce51bef18817d35093
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-11-04 20:19 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Events...
37.069767
114
0.562735
158
1,594
5.481013
0.43038
0.114319
0.207852
0.277136
0.445727
0.385681
0.182448
0.182448
0.182448
0.182448
0
0.037367
0.294856
1,594
42
115
37.952381
0.733096
0.04266
0
0.294118
1
0
0.095863
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.176471
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
564a50a2fba0a95f699b65fccdbcd19dc6c8b33e
26,420
py
Python
assignments/textureHist.py
Upward-Spiral-Science/claritycontrol
3da44a35f4eb8746c408ad34e7f433d14c031323
[ "Apache-2.0" ]
2
2016-02-04T20:32:20.000Z
2016-02-21T15:44:01.000Z
code/textureHist.py
Upward-Spiral-Science/claritycontrol
3da44a35f4eb8746c408ad34e7f433d14c031323
[ "Apache-2.0" ]
6
2016-02-04T20:24:34.000Z
2016-04-28T10:08:32.000Z
code/textureHist.py
Upward-Spiral-Science/claritycontrol
3da44a35f4eb8746c408ad34e7f433d14c031323
[ "Apache-2.0" ]
null
null
null
#IMPORTANT: THE ABOVE PORTION IS A SCRIPT FROM SOLEM'S VISION BLOG # http://www.janeriksolem.net/2009/06/histogram-equalization-with-python-and.html import SimpleITK as sitk import clarity as cl # I wrote this module for easier operations on data import clarity.resources as rs import csv,gc # garbage memory collec...
197.164179
880
0.094663
506
26,420
4.835968
0.391304
0.058848
0.040866
0.0613
0.158153
0.127912
0.089089
0.023702
0.023702
0
0
0.014634
0.89137
26,420
133
881
198.646617
0.837979
0.045004
0
0.11236
0
0
0.004482
0.001983
0
0
0
0
0
0
null
null
0
0.134831
null
null
0.022472
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
565d3d891d2cc22f5dee7e9d337892ca195bd731
887
py
Python
test_gcexport.py
jedie/garmin-connect-export
133319b5e447cdc50d490eb4faa5806c9387265b
[ "MIT" ]
3
2019-04-09T17:43:43.000Z
2021-05-30T17:54:32.000Z
test_gcexport.py
jedie/garmin-connect-export
133319b5e447cdc50d490eb4faa5806c9387265b
[ "MIT" ]
2
2021-05-27T20:20:55.000Z
2021-05-27T20:22:07.000Z
test_gcexport.py
jedie/garmin-connect-export
133319b5e447cdc50d490eb4faa5806c9387265b
[ "MIT" ]
1
2019-10-11T05:02:25.000Z
2019-10-11T05:02:25.000Z
from unittest import TestCase from gcexport import resolve_path class Tests(TestCase): def test_resolve_path_1(self): actual = resolve_path("root", "sub/{YYYY}", "2018-03-08 12:23:22") self.assertEqual("root/sub/2018", actual) actual = resolve_path("root", "sub/{MM}", "2018-03-08 12:23:22...
36.958333
79
0.622322
128
887
4.234375
0.210938
0.154982
0.188192
0.232472
0.771218
0.771218
0.605166
0.605166
0.523985
0.523985
0
0.134722
0.188275
887
23
80
38.565217
0.618056
0
0
0
0
0
0.32018
0
0
0
0
0
0.375
1
0.0625
false
0
0.125
0
0.25
0
0
0
0
null
0
1
1
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
0
0
0
0
0
0
0
0
3
5691e53dc1ec41e4c6acdde7ae9c83305c8c88f4
816
py
Python
new_indie.py
alisha/defining-genres
5b205bfde5221b4d9ae207fa31bc0d9d97b4dfad
[ "MIT" ]
6
2017-08-24T14:51:49.000Z
2018-03-20T13:41:51.000Z
new_indie.py
alisha/defining-genres
5b205bfde5221b4d9ae207fa31bc0d9d97b4dfad
[ "MIT" ]
null
null
null
new_indie.py
alisha/defining-genres
5b205bfde5221b4d9ae207fa31bc0d9d97b4dfad
[ "MIT" ]
null
null
null
import music_data # Get artists potential_indie_artists_seed = ["SZA", "FKA Twigs", "Dawn Richard", "Valerie June", "M.I.A."] potential_indie_artists = potential_indie_artists_seed for artist in potential_indie_artists_seed: similar_artists = music_data.get_similar_artists(artist, num_artists=1) for similar_artist...
42.947368
114
0.827206
116
816
5.37931
0.310345
0.230769
0.302885
0.179487
0.323718
0.266026
0
0
0
0
0
0.001348
0.090686
816
18
115
45.333333
0.839623
0.104167
0
0
0
0
0.111417
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
56923d0b3af20c43a93a366b7b2ff0810dbac3f4
436
py
Python
python/e07boundgenerics/example2.py
deemson/2022-jan-examples
8ec811cf9c3174bd32f5336c81e5514e9a5d76e5
[ "Unlicense" ]
null
null
null
python/e07boundgenerics/example2.py
deemson/2022-jan-examples
8ec811cf9c3174bd32f5336c81e5514e9a5d76e5
[ "Unlicense" ]
null
null
null
python/e07boundgenerics/example2.py
deemson/2022-jan-examples
8ec811cf9c3174bd32f5336c81e5514e9a5d76e5
[ "Unlicense" ]
null
null
null
class User: @classmethod def deserialize(cls) -> "User": return cls() def do_a_user_thing(self): print("doing a user thing") user = User.deserialize() user.do_a_user_thing() class Product: @classmethod def deserialize(cls) -> "Product": return cls() def do_a_product...
17.44
38
0.651376
56
436
4.857143
0.25
0.044118
0.110294
0.205882
0.257353
0
0
0
0
0
0
0
0.233945
436
24
39
18.166667
0.814371
0
0
0.25
0
0
0.114679
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.5
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
5696777f9d79f42f1a4ff16196eb3a14b920573d
114
py
Python
string_and_regex/regex-demo/find_all_demo.py
pysga1996/python-basic-programming
5fe817986fbef2649b4b03955f07b59d2a2035d8
[ "MIT" ]
null
null
null
string_and_regex/regex-demo/find_all_demo.py
pysga1996/python-basic-programming
5fe817986fbef2649b4b03955f07b59d2a2035d8
[ "MIT" ]
null
null
null
string_and_regex/regex-demo/find_all_demo.py
pysga1996/python-basic-programming
5fe817986fbef2649b4b03955f07b59d2a2035d8
[ "MIT" ]
null
null
null
import re txt = 'The rain in Spain' x = re.findall('ai', txt) print(x) x = re.findall('Portugal', txt) print(x)
12.666667
31
0.640351
21
114
3.47619
0.571429
0.082192
0.273973
0
0
0
0
0
0
0
0
0
0.175439
114
8
32
14.25
0.776596
0
0
0.333333
0
0
0.236842
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
56a3e948815b2fc14556ed06a41162f43af69f81
317
py
Python
src/lib/datasets/dataset_factory.py
wss321/CenterPerson
c2f049c7f012131173422a8e6079adb1e4e9fe96
[ "MIT" ]
null
null
null
src/lib/datasets/dataset_factory.py
wss321/CenterPerson
c2f049c7f012131173422a8e6079adb1e4e9fe96
[ "MIT" ]
3
2021-06-08T21:20:05.000Z
2022-01-18T02:25:09.000Z
src/lib/datasets/dataset_factory.py
wss321/CenterPerson
c2f049c7f012131173422a8e6079adb1e4e9fe96
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from .dataset.jde import JointDataset, CtDetDataset def get_dataset(task): if task == 'mot': return JointDataset if task == 'det': return CtDetDataset else: return None
21.133333
51
0.716088
37
317
5.72973
0.540541
0.141509
0.226415
0
0
0
0
0
0
0
0
0
0.230284
317
14
52
22.642857
0.868852
0
0
0
0
0
0.018927
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.727273
0.090909
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3b0d7c73cef8f6e3cfadd52509bb357f23c51350
921
py
Python
exercises/en/test_05_04.py
Lavendulaa/programming-in-python-for-data-science
bc41da8afacf4c180ae0ff9c6dc26a7e6292252f
[ "MIT" ]
1
2020-06-26T20:15:44.000Z
2020-06-26T20:15:44.000Z
exercises/en/test_05_04.py
Lavendulaa/programming-in-python-for-data-science
bc41da8afacf4c180ae0ff9c6dc26a7e6292252f
[ "MIT" ]
20
2020-06-15T23:05:20.000Z
2020-09-01T22:07:45.000Z
exercises/en/test_05_04.py
UBC-MDS/MCL-programming-in-python
22836d9013d3e3d1b1074678ba7dc3ee2e66f398
[ "MIT" ]
1
2020-06-25T20:53:13.000Z
2020-06-25T20:53:13.000Z
def test(): # Here we can either check objects created in the solution code, or the # string value of the solution, available as __solution__. A helper for # printing formatted messages is available as __msg__. See the testTemplate # in the meta.json for details. # If an assertion fails, the messag...
65.785714
103
0.709012
133
921
4.789474
0.526316
0.062794
0.069074
0.087912
0.122449
0.122449
0
0
0
0
0
0.002725
0.20304
921
14
104
65.785714
0.865123
0.32139
0
0
0
0
0.691935
0
0
0
0
0
0.75
1
0.125
true
0
0
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
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
3b0ec55ab6e9a5ccf1a7aa2bd6bad0d31a62f416
3,969
py
Python
src/xdevice/_core/exception.py
openharmony-gitee-mirror/test_xdevice
1d24201649d4f6a3e5aa381989f794bb8cfe15b9
[ "Apache-2.0" ]
2
2021-12-20T03:22:21.000Z
2022-02-10T07:26:38.000Z
src/xdevice/_core/exception.py
openharmony-gitee-mirror/test_xdevice
1d24201649d4f6a3e5aa381989f794bb8cfe15b9
[ "Apache-2.0" ]
null
null
null
src/xdevice/_core/exception.py
openharmony-gitee-mirror/test_xdevice
1d24201649d4f6a3e5aa381989f794bb8cfe15b9
[ "Apache-2.0" ]
2
2021-09-13T11:13:53.000Z
2022-02-28T21:54:23.000Z
#!/usr/bin/env python3 # coding=utf-8 # # Copyright (c) 2020-2021 Huawei Device Co., Ltd. # 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 # #...
29.842105
77
0.691862
516
3,969
4.874031
0.207364
0.17495
0.157455
0.135189
0.59841
0.590855
0.579722
0.579722
0.579722
0.422266
0
0.004489
0.21416
3,969
133
78
29.842105
0.80186
0.175863
0
0.696203
0
0
0.009577
0
0
0
0
0
0
1
0.278481
false
0
0
0.139241
0.556962
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
3b20b00d345f6ea4c9c7db36e8efce94382db687
1,095
py
Python
theroot/users_bundle/models/user.py
Deviad/Adhesive
a7eb5140c4e5de783aca24ea935b3bf00a44f3e1
[ "MIT" ]
null
null
null
theroot/users_bundle/models/user.py
Deviad/Adhesive
a7eb5140c4e5de783aca24ea935b3bf00a44f3e1
[ "MIT" ]
null
null
null
theroot/users_bundle/models/user.py
Deviad/Adhesive
a7eb5140c4e5de783aca24ea935b3bf00a44f3e1
[ "MIT" ]
null
null
null
from theroot.db import * role_user_table = db.Table('role_user', db.Model.metadata, db.Column('users_id', db.Integer, db.ForeignKey('users.id', onupdate="cascade"), nullable=False), db.Column('roles_id', db.Integer, db.ForeignKey('roles.id', onupdate="cascade"), nu...
42.115385
124
0.656621
144
1,095
4.798611
0.354167
0.057887
0.043415
0.037627
0.22576
0.072359
0
0
0
0
0
0.006764
0.189954
1,095
25
125
43.8
0.772266
0
0
0
0
0
0.114155
0
0
0
0
0
0
1
0.166667
false
0.222222
0.055556
0.111111
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
3b286bd2f7cb9bbba504bd531a1aa11a3a3f6efa
6,013
py
Python
shopipy/resources/orders/schemas.py
lowercase00/pyshopify
98fdd0ac30569725fc0ec32345a92cd84c510a6a
[ "MIT" ]
1
2021-10-17T02:09:22.000Z
2021-10-17T02:09:22.000Z
shopipy/resources/orders/schemas.py
lowercase00/shopipy
98fdd0ac30569725fc0ec32345a92cd84c510a6a
[ "MIT" ]
null
null
null
shopipy/resources/orders/schemas.py
lowercase00/shopipy
98fdd0ac30569725fc0ec32345a92cd84c510a6a
[ "MIT" ]
null
null
null
from typing import List, Optional from datetime import datetime from pydantic import BaseModel from shopipy.resources.fulfillment.schemas import Fulfillments # type: ignore from shopipy.resources.transactions.schemas import Transactions # type: ignore from shopipy.resources.customers.schemas import Address, CustomerSho...
29.767327
87
0.736737
698
6,013
6.160458
0.213467
0.286512
0.051395
0.040698
0.312093
0.195581
0.08093
0.08093
0.04
0.04
0
0
0.170464
6,013
201
88
29.915423
0.862069
0.00632
0
0.264368
0
0
0
0
0
0
0
0
0
1
0
true
0
0.04023
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
3b3d0cf6c1f241ad5720d833aa830ce8394a3001
266
py
Python
flytekit/types/schema/__init__.py
bstadlbauer/flytekit
12ef34d7b6d777088ab87f9cf0d5c32355895852
[ "Apache-2.0" ]
null
null
null
flytekit/types/schema/__init__.py
bstadlbauer/flytekit
12ef34d7b6d777088ab87f9cf0d5c32355895852
[ "Apache-2.0" ]
null
null
null
flytekit/types/schema/__init__.py
bstadlbauer/flytekit
12ef34d7b6d777088ab87f9cf0d5c32355895852
[ "Apache-2.0" ]
null
null
null
from .types import ( FlyteSchema, LocalIOSchemaReader, LocalIOSchemaWriter, SchemaEngine, SchemaFormat, SchemaHandler, SchemaOpenMode, SchemaReader, SchemaWriter, ) from .types_pandas import PandasSchemaReader, PandasSchemaWriter
20.461538
64
0.740602
18
266
10.888889
0.833333
0.091837
0
0
0
0
0
0
0
0
0
0
0.206767
266
12
65
22.166667
0.92891
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3b43b9ecf4cd8b7f1750c5926ac2997296420275
1,334
py
Python
memory-cli/game.py
seranotannason/memory-cli
6d83a963c567a8a3b632ba1f081a3fc5073e9894
[ "MIT" ]
null
null
null
memory-cli/game.py
seranotannason/memory-cli
6d83a963c567a8a3b632ba1f081a3fc5073e9894
[ "MIT" ]
null
null
null
memory-cli/game.py
seranotannason/memory-cli
6d83a963c567a8a3b632ba1f081a3fc5073e9894
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import random SUIT_SYMBOLS = { 'spades': u'♠', 'diamonds': u'♦', 'clubs': u'♣', 'hearts': u'♥', } class InvalidMove(Exception): """Raised to indicate an invalid move""" class Card(object): def __init__(self, rank, suit, face_up=False): self.rank = rank ...
21.174603
91
0.572714
176
1,334
4.125
0.380682
0.07438
0.045455
0.046832
0
0
0
0
0
0
0
0.007307
0.281859
1,334
63
92
21.174603
0.746347
0.042729
0
0.05
0
0.025
0.113208
0.033805
0
0
0
0
0
1
0.25
false
0
0.025
0.15
0.575
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
3b4499aad5c3562cf72401ba0cdc8f9b575d379e
126
py
Python
extra_level/package2/setup.py
BenLatham/bug-free-parakeet
3bc0e98a0ccb144c405790b2405fe9fd7a3c25e6
[ "MIT" ]
null
null
null
extra_level/package2/setup.py
BenLatham/bug-free-parakeet
3bc0e98a0ccb144c405790b2405fe9fd7a3c25e6
[ "MIT" ]
null
null
null
extra_level/package2/setup.py
BenLatham/bug-free-parakeet
3bc0e98a0ccb144c405790b2405fe9fd7a3c25e6
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name="package2", packages=["package2"], package_dir={"package2": "."}, )
15.75
34
0.634921
13
126
6.076923
0.769231
0
0
0
0
0
0
0
0
0
0
0.029126
0.18254
126
7
35
18
0.737864
0
0
0
0
0
0.198413
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
3b653638be8ca8693274e46ab72aea8780d103ca
214
py
Python
VisualizedSorting/Algorithms/QuickSort.py
lachieggg/Misc
066149309e3e4634cded168687c7dfc3a3a4d6f3
[ "MIT" ]
null
null
null
VisualizedSorting/Algorithms/QuickSort.py
lachieggg/Misc
066149309e3e4634cded168687c7dfc3a3a4d6f3
[ "MIT" ]
null
null
null
VisualizedSorting/Algorithms/QuickSort.py
lachieggg/Misc
066149309e3e4634cded168687c7dfc3a3a4d6f3
[ "MIT" ]
null
null
null
from math import floor import random from Algorithms.Algorithm import Algorithm LENGTH = 2**5 MAX_VALUE = 2**7 CONSOLE_OUTPUT = False class QuickSort(Algorithm): def __init__(self): super().__init__()
19.454545
42
0.738318
29
214
5.103448
0.758621
0
0
0
0
0
0
0
0
0
0
0.022599
0.172897
214
11
43
19.454545
0.813559
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
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