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
801c97920169bc38ceac7e3df3e4d149359591ed
186
py
Python
osu/__init__.py
LostPy/osu-api.py
695146217c56b7fe414e1c07cd97260a728d96d9
[ "MIT" ]
1
2021-01-13T00:18:42.000Z
2021-01-13T00:18:42.000Z
osu/__init__.py
LostPy/osu-api.py
695146217c56b7fe414e1c07cd97260a728d96d9
[ "MIT" ]
null
null
null
osu/__init__.py
LostPy/osu-api.py
695146217c56b7fe414e1c07cd97260a728d96d9
[ "MIT" ]
1
2021-04-13T01:45:19.000Z
2021-04-13T01:45:19.000Z
""" Description: A module with utility functions use in apiV1.py and apiV2.py Author: LostPy License: MIT Date: 2021-01-11 """ from .utils import from_json from .enumerate import Mods
16.909091
73
0.758065
30
186
4.666667
0.866667
0
0
0
0
0
0
0
0
0
0
0.063694
0.155914
186
10
74
18.6
0.828025
0.639785
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
8031144e5260519414d116c19364dfe32d4dcbd2
80
py
Python
the-python-standard-library-by-example/itertools/itertools_count.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
13
2020-01-04T07:37:38.000Z
2021-08-31T05:19:58.000Z
the-python-standard-library-by-example/itertools/itertools_count.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
3
2020-06-05T22:42:53.000Z
2020-08-24T07:18:54.000Z
the-python-standard-library-by-example/itertools/itertools_count.py
gottaegbert/penter
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
[ "MIT" ]
9
2020-10-19T04:53:06.000Z
2021-08-31T05:20:01.000Z
from itertools import * for i in zip(count(1), ['a', 'b', 'c']): print(i)
13.333333
40
0.5375
14
80
3.071429
0.928571
0
0
0
0
0
0
0
0
0
0
0.016129
0.225
80
5
41
16
0.677419
0
0
0
0
0
0.037975
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
8050a0e0af9258b1d7ec95e13b1310204e161a92
152
py
Python
SocialNPHS/sources/instagram/__init__.py
controversial/SocialNPHS
ec2d51e7801e62be68b8ed712b1f33ad58a0404c
[ "MIT" ]
1
2016-07-23T19:39:46.000Z
2016-07-23T19:39:46.000Z
SocialNPHS/sources/instagram/__init__.py
controversial/SocialNPHS
ec2d51e7801e62be68b8ed712b1f33ad58a0404c
[ "MIT" ]
4
2016-09-14T23:27:06.000Z
2016-12-17T19:47:11.000Z
SocialNPHS/sources/instagram/__init__.py
controversial/SocialNPHS
ec2d51e7801e62be68b8ed712b1f33ad58a0404c
[ "MIT" ]
2
2016-08-10T12:27:30.000Z
2019-06-27T17:00:53.000Z
""" Instagram data source. Fetches data from NPHS students' instagram accounts. """ raise NotImplementedError("Instagram support not yet implemented")
25.333333
75
0.789474
17
152
7.058824
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.125
152
5
76
30.4
0.902256
0.493421
0
0
0
0
0.536232
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3374e24d77311a225745190763261003ea0ec7cd
4,121
py
Python
tests/games/havannah/test_havannah_board.py
johink/willsmith
a6bdfff2e3b12770100811002867bf3ed64ad6d3
[ "MIT" ]
null
null
null
tests/games/havannah/test_havannah_board.py
johink/willsmith
a6bdfff2e3b12770100811002867bf3ed64ad6d3
[ "MIT" ]
9
2018-04-22T02:33:02.000Z
2018-05-11T03:55:44.000Z
tests/games/havannah/test_havannah_board.py
Cjreynol/willsmith
39d3b8caef8ba5825f3a0272c7fd61a2f78ef2b5
[ "MIT" ]
null
null
null
from copy import deepcopy from unittest import TestCase from games.havannah.color import Color from games.havannah.havannah_action import HavannahAction from games.havannah.havannah_board import HavannahBoard class TestHavannahBoard(TestCase): def setUp(self): HavannahBoard.BOARD_SIZE = 4 self.b...
45.285714
76
0.582383
589
4,121
3.937182
0.095076
0.112549
0.028461
0.022423
0.741268
0.721863
0.702889
0.67831
0.665804
0.665804
0
0.063134
0.25819
4,121
90
77
45.788889
0.695453
0.04198
0
0.382353
0
0
0
0
0
0
0
0
0.176471
1
0.191176
false
0
0.073529
0
0.279412
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
33a08002b01584522aa0fab8bf1b3cfadcd28848
2,495
py
Python
dslib/imports.py
mjsmagalhaes/examples-datascience
bd7e9cb5cc5c42e3896ad134db8765c7d6f27303
[ "MIT" ]
null
null
null
dslib/imports.py
mjsmagalhaes/examples-datascience
bd7e9cb5cc5c42e3896ad134db8765c7d6f27303
[ "MIT" ]
null
null
null
dslib/imports.py
mjsmagalhaes/examples-datascience
bd7e9cb5cc5c42e3896ad134db8765c7d6f27303
[ "MIT" ]
null
null
null
""" Implement data import functions and file format conversions. Supported formats: [csv][dslib.imports.pandas_from_csv], [parquet][dslib.imports.pandas_from_parquet], [feather][dslib.imports.pandas_from_feather]. """ import pandas as pd from pyarrow import feather, parquet, csv # import deal # fil...
27.417582
163
0.656914
346
2,495
4.618497
0.190751
0.056946
0.048185
0.043805
0.602628
0.591364
0.560075
0.481227
0.481227
0.481227
0
0
0.222044
2,495
90
164
27.722222
0.823287
0.646894
0
0.142857
0
0
0.035768
0
0
0
0
0.022222
0
1
0.357143
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
33a1f8b3b6940c64729674a2a496f47d9d3197cc
144
py
Python
unsorted/pythonsnippets_n3bpyy.py
fiddlerwoaroof/sandbox
652acaf710a8b60f005769bde317e7bbf548cc2b
[ "BSD-3-Clause" ]
null
null
null
unsorted/pythonsnippets_n3bpyy.py
fiddlerwoaroof/sandbox
652acaf710a8b60f005769bde317e7bbf548cc2b
[ "BSD-3-Clause" ]
null
null
null
unsorted/pythonsnippets_n3bpyy.py
fiddlerwoaroof/sandbox
652acaf710a8b60f005769bde317e7bbf548cc2b
[ "BSD-3-Clause" ]
null
null
null
import serializable_class class folder(serializable_class.DB_Serializable): _params = dict( name_folder=None, folder_description=None )
16
49
0.805556
17
144
6.470588
0.588235
0.309091
0
0
0
0
0
0
0
0
0
0
0.125
144
8
50
18
0.873016
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.5
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
33e9f45397770a26c01f3b2418b4c8baca90de8b
136
py
Python
text_to_speech.py
Ansonmathew/Python-Cracks
2c22d021cb53a66c90d35a129da30c8117ee2e80
[ "MIT" ]
null
null
null
text_to_speech.py
Ansonmathew/Python-Cracks
2c22d021cb53a66c90d35a129da30c8117ee2e80
[ "MIT" ]
null
null
null
text_to_speech.py
Ansonmathew/Python-Cracks
2c22d021cb53a66c90d35a129da30c8117ee2e80
[ "MIT" ]
null
null
null
# Import pyttsx import pyttsx #create connection engine = pyttsx.init() engine.say('Hello from Python...') # play engine.runAndWait()
15.111111
34
0.735294
17
136
5.882353
0.705882
0.24
0
0
0
0
0
0
0
0
0
0
0.132353
136
8
35
17
0.847458
0.264706
0
0
0
0
0.208333
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
33f3bf0b85b9794b6539bc2bb7175191c5954081
118
py
Python
cumulusrdf-integration-tests/src/test/resources/LearningSPARQLExamples/ex307.py
jlavan1/Cassandra-CumulusRDF
8a1359ceec94eb972c8d9710de0e22bc25a15ab4
[ "Apache-2.0" ]
92
2015-01-15T17:12:34.000Z
2017-03-13T03:18:11.000Z
cumulusrdf-integration-tests/src/test/resources/LearningSPARQLExamples/ex307.py
jlavan1/Cassandra-CumulusRDF
8a1359ceec94eb972c8d9710de0e22bc25a15ab4
[ "Apache-2.0" ]
99
2015-01-01T11:32:42.000Z
2017-03-05T09:52:44.000Z
cumulusrdf-integration-tests/src/test/resources/LearningSPARQLExamples/ex307.py
jlavan1/Cassandra-CumulusRDF
8a1359ceec94eb972c8d9710de0e22bc25a15ab4
[ "Apache-2.0" ]
14
2015-03-27T12:36:20.000Z
2016-06-27T15:53:04.000Z
# filename: ex307.py import hashlib m = hashlib.sha1() m.update("richard49@hotmail.com") print m.hexdigest()
14.75
34
0.686441
16
118
5.0625
0.8125
0
0
0
0
0
0
0
0
0
0
0.061224
0.169492
118
7
35
16.857143
0.765306
0.152542
0
0
0
0
0.233333
0.233333
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
33fff2d2a1d8ee9167bb9e77dd142705fc788471
59
py
Python
python/testData/stubs/FullyQualifiedNamedTupleWithAs.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/stubs/FullyQualifiedNamedTupleWithAs.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/stubs/FullyQualifiedNamedTupleWithAs.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
import collections as C nt = C.namedtuple("name", "field")
19.666667
34
0.711864
9
59
4.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.135593
59
3
34
19.666667
0.823529
0
0
0
0
0
0.15
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
1d130bffc4d9ca8ff0883d2c70c080847fb0b04f
1,205
py
Python
books/model/Term.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
9
2015-04-01T08:59:49.000Z
2022-01-27T01:27:45.000Z
books/model/Term.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
3
2020-05-14T04:22:22.000Z
2021-08-06T11:19:03.000Z
books/model/Term.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
11
2016-04-14T10:59:36.000Z
2020-08-19T13:26:05.000Z
#$Id$ class Term: """This class is used to create object for terms.""" def __init__(self): """Initialize parameters for terms.""" self.invoice_terms = '' self.estimate_terms = '' self.creditnotes_terms = '' def set_invoice_terms(self, invoice_terms): """Set invoice ...
21.517857
56
0.578423
123
1,205
5.414634
0.211382
0.216216
0.096096
0.094595
0.276276
0
0
0
0
0
0
0
0.326141
1,205
55
57
21.909091
0.820197
0.33527
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1d14c513064368dc57e7302b5012f67c4c45dade
3,767
py
Python
architectures/providers/azure/identity.py
marinmuso/architectures
d824056e6e69cdb06db31562a1fb71af058892c0
[ "MIT" ]
15
2021-01-18T02:46:12.000Z
2021-08-23T20:10:22.000Z
architectures/providers/azure/identity.py
marinmuso/architectures
d824056e6e69cdb06db31562a1fb71af058892c0
[ "MIT" ]
77
2021-01-11T05:01:30.000Z
2021-08-15T22:39:19.000Z
architectures/providers/azure/identity.py
marinmuso/architectures
d824056e6e69cdb06db31562a1fb71af058892c0
[ "MIT" ]
2
2021-01-10T19:28:13.000Z
2021-08-12T19:06:45.000Z
# Do not modify this file directly. It is auto-generated with Python. from architectures.providers import _Azure class _Identity(_Azure): _service_type = "identity" _icon_dir = "icons/azure/identity" class AzureActiveDirectoryGroup(_Identity): _icon = "azure-active-directory-group.png" _default_label...
35.205607
76
0.772763
385
3,767
7.283117
0.228571
0.117689
0.21398
0.123039
0.463267
0.293509
0.074536
0
0
0
0
0.00185
0.139103
3,767
107
77
35.205607
0.862781
0.017786
0
0
1
0
0.403893
0.195999
0
0
0
0
0
1
0
false
0
0.012658
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1d450d4455065ebd92b2d724d498f5dec47b4fc6
400
py
Python
paymill/models/__init__.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
paymill/models/__init__.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
paymill/models/__init__.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
__author__ = 'yalnazov' from . import order from . import filter from . import client from . import payment from . import fee from . import invoice from . import preauthorization from . import offer from . import subscription from . import transaction from . import webhook from . import paymill_list from . import refun...
22.222222
32
0.785
53
400
5.792453
0.433962
0.521173
0
0
0
0
0
0
0
0
0
0
0.1675
400
17
33
23.529412
0.921922
0
0
0
0
0
0.02
0
0
0
0
0
0
1
0
false
0
0.941176
0
0.941176
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1d4ce7be1ad92b12fd8738c6105d393e3ae3426f
230
py
Python
neural_net_cell_segmenter/predict.py
NilaiVemula/neural_net_cell_segmenter
c9d8727a329980b12e266c6749f7df911aae84aa
[ "MIT" ]
null
null
null
neural_net_cell_segmenter/predict.py
NilaiVemula/neural_net_cell_segmenter
c9d8727a329980b12e266c6749f7df911aae84aa
[ "MIT" ]
147
2020-07-28T20:30:45.000Z
2022-03-12T00:31:33.000Z
neural_net_cell_segmenter/predict.py
NilaiVemula/neural_net_cell_segmenter
c9d8727a329980b12e266c6749f7df911aae84aa
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import tensorflow as tf def preprocess(image_path='data/raw/gonzalez.tif'): input_image = plt.imread(fname=image_path, format="tif") input_image = tf.cast(input_image, tf.float32) / 255.0
28.75
60
0.752174
36
230
4.666667
0.638889
0.178571
0.154762
0
0
0
0
0
0
0
0
0.03
0.130435
230
7
61
32.857143
0.81
0
0
0
0
0
0.104803
0.091703
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1d4eae0f33639bf2331cb4e9f4dd05bb5b398431
4,201
py
Python
pycatia/hybrid_shape_interfaces/hybrid_shape_point_tangent.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
90
2019-02-21T10:05:28.000Z
2022-03-19T01:53:41.000Z
pycatia/hybrid_shape_interfaces/hybrid_shape_point_tangent.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
99
2019-05-21T08:29:12.000Z
2022-03-25T09:55:15.000Z
pycatia/hybrid_shape_interfaces/hybrid_shape_point_tangent.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
26
2019-04-04T06:31:36.000Z
2022-03-30T07:24:47.000Z
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
33.879032
108
0.527493
372
4,201
5.844086
0.357527
0.040478
0.034499
0.045998
0.24195
0.164213
0.134775
0.084177
0.084177
0.084177
0
0.036261
0.409188
4,201
123
109
34.154472
0.839645
0.60557
0
0.095238
1
0
0.040836
0.040836
0
0
0
0
0
1
0.285714
false
0
0.142857
0.047619
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1d7658d7cb61602f6d8ed331a72b3b1d49f0066b
1,103
py
Python
test/test_authentication.py
hi1280/pytest-example
1fa03b5d118d47d52beb707b5d8ce2ffffc786a1
[ "MIT" ]
null
null
null
test/test_authentication.py
hi1280/pytest-example
1fa03b5d118d47d52beb707b5d8ce2ffffc786a1
[ "MIT" ]
null
null
null
test/test_authentication.py
hi1280/pytest-example
1fa03b5d118d47d52beb707b5d8ce2ffffc786a1
[ "MIT" ]
null
null
null
from example.authentication import Authentication from example.account_dao import AccountDao from example.account import Account account = Account("user001", "pw123") def mock_response_none(self): return None def mock_response_1(self): return account def mock_response_2(self): return Account("user001", "pw999...
32.441176
67
0.747053
140
1,103
5.628571
0.25
0.091371
0.057107
0.121827
0.60533
0.549492
0.549492
0.549492
0.549492
0.492386
0
0.036093
0.145966
1,103
34
68
32.441176
0.800425
0
0
0.37931
0
0
0.086957
0
0
0
0
0
0.103448
1
0.206897
false
0.068966
0.103448
0.103448
0.448276
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
1d9527e7c075b9a5dc60a27dcd3df4b34df2df11
530
py
Python
tests/test_column_type.py
przemek83/data-explorer-python
75401dc3a54b778d886c2f18f2c76ba66a924af4
[ "MIT" ]
null
null
null
tests/test_column_type.py
przemek83/data-explorer-python
75401dc3a54b778d886c2f18f2c76ba66a924af4
[ "MIT" ]
null
null
null
tests/test_column_type.py
przemek83/data-explorer-python
75401dc3a54b778d886c2f18f2c76ba66a924af4
[ "MIT" ]
null
null
null
from column_type import column_type_from_string, ColumnType def test_integer() -> None: column = column_type_from_string('integer') assert column is ColumnType.INTEGER def test_string() -> None: column = column_type_from_string('string') assert column is ColumnType.STRING def test_empty_string() -...
24.090909
59
0.74717
70
530
5.342857
0.228571
0.160428
0.187166
0.26738
0.59893
0.352941
0.192513
0
0
0
0
0
0.167925
530
21
60
25.238095
0.848073
0
0
0.153846
0
0
0.030189
0
0
0
0
0
0.307692
1
0.307692
false
0
0.076923
0
0.384615
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
1d96a791022d8352d07d68adb4c63daaa6fc0b28
155
py
Python
mmf/version.py
kmarathe10/mmf
93cd2a7f333ad14e88fa6c2453a0f54b64b36210
[ "BSD-3-Clause" ]
null
null
null
mmf/version.py
kmarathe10/mmf
93cd2a7f333ad14e88fa6c2453a0f54b64b36210
[ "BSD-3-Clause" ]
null
null
null
mmf/version.py
kmarathe10/mmf
93cd2a7f333ad14e88fa6c2453a0f54b64b36210
[ "BSD-3-Clause" ]
null
null
null
import sys __version__ = "1.0.0rc3" msg = "MMF is only compatible with Python 3.6 and newer." if sys.version_info < (3, 6): raise ImportError(msg)
15.5
57
0.683871
26
155
3.884615
0.807692
0.19802
0
0
0
0
0
0
0
0
0
0.064516
0.2
155
9
58
17.222222
0.75
0
0
0
0
0
0.367742
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
1d9b61094401e78f6dda8b380b8a23dc774a0937
398
py
Python
examples/main.py
ftylitak/microCoAPy
703f4c79d4cecf9da095cb6bc926f239800a219d
[ "Apache-2.0" ]
37
2019-10-16T10:07:55.000Z
2022-02-07T15:25:26.000Z
examples/main.py
ftylitak/microCoAPy
703f4c79d4cecf9da095cb6bc926f239800a219d
[ "Apache-2.0" ]
6
2019-11-28T09:37:49.000Z
2022-02-04T11:45:14.000Z
examples/main.py
ftylitak/microCoAPy
703f4c79d4cecf9da095cb6bc926f239800a219d
[ "Apache-2.0" ]
7
2020-11-10T13:25:17.000Z
2022-02-03T10:22:50.000Z
print("hello from microCoAPy example main") import sys sys.path.append("/flash/lib/external") sys.path.append("/flash/pycom/nbiot") import pycom_nbiot_coap_client #sys.path.append("/flash/pycom/wifi") #import pycom_wifi_coap_client #import pycom_wifi_coap_server #sys.path.append("/esp/wifi") #import esp_wifi_coap_s...
23.411765
43
0.816583
63
398
4.84127
0.349206
0.131148
0.170492
0.177049
0.301639
0
0
0
0
0
0
0
0.067839
398
16
44
24.875
0.822102
0.545226
0
0
0
0
0.408046
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0.2
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
1
0
0
0
0
3
1d9f4a3acf2e9fd6d1078968c61c298c22f2473b
108
py
Python
clock.py
CodeGenie007/python
42c850999926b697a9b93667ca4d65bf5c643564
[ "MIT" ]
null
null
null
clock.py
CodeGenie007/python
42c850999926b697a9b93667ca4d65bf5c643564
[ "MIT" ]
null
null
null
clock.py
CodeGenie007/python
42c850999926b697a9b93667ca4d65bf5c643564
[ "MIT" ]
null
null
null
#!/usr/bin/python -u import time print "running" while True: print time.asctime(), '\r' time.sleep(1)
12
28
0.657407
17
108
4.176471
0.823529
0
0
0
0
0
0
0
0
0
0
0.011111
0.166667
108
8
29
13.5
0.777778
0.175926
0
0
0
0
0.102273
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.4
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
d51a7e60167da80e9181e91e4efd6c085dcc98cc
76
py
Python
Python/callenge_IDLE01.py
jacksontenorio8/python
a484f019960faa5aa29177eff44a1bb1e3f3b9d0
[ "MIT" ]
null
null
null
Python/callenge_IDLE01.py
jacksontenorio8/python
a484f019960faa5aa29177eff44a1bb1e3f3b9d0
[ "MIT" ]
null
null
null
Python/callenge_IDLE01.py
jacksontenorio8/python
a484f019960faa5aa29177eff44a1bb1e3f3b9d0
[ "MIT" ]
null
null
null
name = input('What is your name?') print('Hello!',name,'!','Nice to meet!')
25.333333
40
0.618421
12
76
3.916667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.118421
76
2
41
38
0.701493
0
0
0
0
0
0.5
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
d52ba1a010d0d0fd18ee63ce5e7136dfefecacce
271
py
Python
badger_utils/token_utils/__init__.py
Badger-Finance/badger-utils
e6cc5cf22f24840486f4a762eab024f87da83c18
[ "MIT" ]
1
2021-09-29T10:04:50.000Z
2021-09-29T10:04:50.000Z
badger_utils/token_utils/__init__.py
Badger-Finance/badger-utils
e6cc5cf22f24840486f4a762eab024f87da83c18
[ "MIT" ]
11
2021-10-17T15:52:22.000Z
2022-01-18T15:10:36.000Z
badger_utils/token_utils/__init__.py
SHAKOTN/badger-utils
e6cc5cf22f24840486f4a762eab024f87da83c18
[ "MIT" ]
1
2021-11-25T14:04:39.000Z
2021-11-25T14:04:39.000Z
from badger_utils.token_utils.balances import Balances from badger_utils.token_utils.utils import distribute_from_whales from badger_utils.token_utils.utils import get_token_balances __all__ = [ "Balances", "distribute_from_whales", "get_token_balances", ]
24.636364
65
0.811808
36
271
5.611111
0.277778
0.148515
0.222772
0.29703
0.480198
0.356436
0.356436
0
0
0
0
0
0.121771
271
10
66
27.1
0.84874
0
0
0
0
0
0.177122
0.081181
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
d52c2fdeff79cfc71bf819762a17cc990200764a
1,456
py
Python
ibemc/bak/ibemc_subset_1.py
cchmc-bmi-os/harvest_inc
ae1fecb6df9b78d9daafb1879c02c7fefb6a8a79
[ "BSD-2-Clause" ]
null
null
null
ibemc/bak/ibemc_subset_1.py
cchmc-bmi-os/harvest_inc
ae1fecb6df9b78d9daafb1879c02c7fefb6a8a79
[ "BSD-2-Clause" ]
null
null
null
ibemc/bak/ibemc_subset_1.py
cchmc-bmi-os/harvest_inc
ae1fecb6df9b78d9daafb1879c02c7fefb6a8a79
[ "BSD-2-Clause" ]
null
null
null
from django.db import models class v_intakedemographic_ibemc_clinic(models.Model): ibemc_clinic_v = models.TextField(verbose_name='IBEMC center name') class Meta: db_table = 'v_intakedemographic_ibemc_clinic' class v_intakedemographic_u_consent_obtained(models.Model): u_consent_obtained_v = models.Text...
39.351351
90
0.804945
193
1,456
5.632124
0.165803
0.231831
0.209752
0.148114
0.669733
0.364305
0.213431
0.149034
0
0
0
0
0.122253
1,456
36
91
40.444444
0.850548
0
0
0.241379
0
0
0.257555
0.168956
0
0
0
0
0
1
0
false
0
0.034483
0
0.758621
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d549d7a2842e3e00c3499218c1078daf5563344e
178
py
Python
Python/Tests/TestData/DebuggerProject/CheckNameAndFile.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
Python/Tests/TestData/DebuggerProject/CheckNameAndFile.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
Python/Tests/TestData/DebuggerProject/CheckNameAndFile.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
from sys import argv, exit, modules print(argv) if __name__ != '__main__': exit(1) if __file__ != argv[0]: exit(2) if modules['__main__'].__dict__ is not globals(): exit(3)
29.666667
58
0.685393
28
178
3.642857
0.678571
0
0
0
0
0
0
0
0
0
0
0.026667
0.157303
178
5
59
35.6
0.653333
0
0
0
0
0
0.092486
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d55199719e0b87225ce2b38a12b67624d64129d0
34,440
py
Python
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_neighbor_address_family.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
1
2020-01-22T13:11:23.000Z
2020-01-22T13:11:23.000Z
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_neighbor_address_family.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
12
2020-02-21T07:24:52.000Z
2020-04-14T09:54:32.000Z
venv/lib/python3.6/site-packages/ansible_collections/cisco/nxos/plugins/modules/nxos_bgp_neighbor_address_family.py
usegalaxy-no/usegalaxy
75dad095769fe918eb39677f2c887e681a747f3a
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2021 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) """ The module file for nxos_bgp_neighbor_address_family """ from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMEN...
29.844021
142
0.525813
3,460
34,440
5.131792
0.106069
0.108358
0.015206
0.050687
0.71649
0.68681
0.664226
0.661579
0.653807
0.649414
0
0.068314
0.39007
34,440
1,153
143
29.869905
0.776968
0.008362
0
0.803815
0
0.000908
0.969286
0.022977
0
0
0
0
0
1
0.000908
false
0
0.003633
0
0.004541
0.000908
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d5735172dd488cfe6408f1ebf2d6d81bf4c27499
800
py
Python
django/books_authors_proj/books_authors_app/models.py
MiyaSteven/python_stack
c0f766d646b155efb4f6dd9df3eddfe72b14d91c
[ "MIT" ]
null
null
null
django/books_authors_proj/books_authors_app/models.py
MiyaSteven/python_stack
c0f766d646b155efb4f6dd9df3eddfe72b14d91c
[ "MIT" ]
null
null
null
django/books_authors_proj/books_authors_app/models.py
MiyaSteven/python_stack
c0f766d646b155efb4f6dd9df3eddfe72b14d91c
[ "MIT" ]
null
null
null
from django.db import models class Book(models.Model): title=models.CharField(max_length=255) description=models.CharField(max_length=255) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) def __repr__(self): return f"<Book: {self.title},...
38.095238
90
0.735
108
800
5.185185
0.324074
0.133929
0.160714
0.214286
0.608929
0.560714
0.45
0.45
0.45
0.45
0
0.021802
0.14
800
21
90
38.095238
0.792151
0
0
0.352941
0
0.058824
0.148564
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0.117647
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
d58388117d03dbaabb0bdbed375e7d995a5add4a
110
py
Python
AppPkg/Applications/Python/Python-2.7.2/Lib/xml/parsers/expat.py
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
2,757
2018-04-28T21:41:36.000Z
2022-03-29T06:33:36.000Z
AppPkg/Applications/Python/Python-2.7.2/Lib/xml/parsers/expat.py
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
20
2019-07-23T15:29:32.000Z
2022-01-21T12:53:04.000Z
AppPkg/Applications/Python/Python-2.7.2/Lib/xml/parsers/expat.py
CEOALT1/RefindPlusUDK
116b957ad735f96fbb6d80a0ba582046960ba164
[ "BSD-2-Clause" ]
449
2018-05-09T05:54:05.000Z
2022-03-30T14:54:18.000Z
"""Interface to the Expat non-validating XML parser.""" __version__ = '$Revision$' from pyexpat import *
22
56
0.7
13
110
5.615385
1
0
0
0
0
0
0
0
0
0
0
0
0.172727
110
4
57
27.5
0.802198
0.445455
0
0
0
0
0.196078
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
636108039956363478914c163a8d5235f1a26712
2,560
py
Python
tests/anime/test_details.py
Nearata/myanimelist-rest-api
f254e53e7f54415c6b11f5b2e9a8afe142975f70
[ "Unlicense" ]
1
2020-11-11T14:55:23.000Z
2020-11-11T14:55:23.000Z
tests/anime/test_details.py
Nearata/myanimelist-rest-api
f254e53e7f54415c6b11f5b2e9a8afe142975f70
[ "Unlicense" ]
5
2021-03-31T19:26:31.000Z
2021-08-09T13:33:07.000Z
tests/anime/test_details.py
Nearata/myanimelist-rest-api
f254e53e7f54415c6b11f5b2e9a8afe142975f70
[ "Unlicense" ]
null
null
null
import pytest from httpx import AsyncClient from ..util import DEFAULT_PARAMS @pytest.mark.asyncio async def test_details(client: AsyncClient) -> None: params = DEFAULT_PARAMS | {"mal_request": "details"} response = await client.get("/anime", params=params) details = response.json()["data"] assert i...
36.571429
63
0.704297
268
2,560
6.697761
0.272388
0.338719
0.211699
0.072423
0.152646
0
0
0
0
0
0
0.003211
0.148438
2,560
69
64
37.101449
0.820183
0
0
0
0
0
0.144141
0
0
0
0
0
0.703704
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
636f9bcfda3f2bb39b09031fb875d751e91bce06
340
py
Python
api.py
WrathTitan/twentyone
22665214b2e7699d9c785b22174bdab8992cbb7d
[ "MIT" ]
9
2020-11-10T14:21:44.000Z
2021-10-02T13:12:50.000Z
api.py
WrathTitan/twentyone
22665214b2e7699d9c785b22174bdab8992cbb7d
[ "MIT" ]
null
null
null
api.py
WrathTitan/twentyone
22665214b2e7699d9c785b22174bdab8992cbb7d
[ "MIT" ]
7
2020-11-14T08:19:53.000Z
2021-08-11T14:41:37.000Z
import uvicorn from Backend.app import config if __name__=="__main__": uvicorn.run("Backend.app.app:app", host=config.settings.HOST, port=config.settings.PORT, reload=config.settings.DEBUG_MODE) #Location is specified as app/test.py and it is the main fastapi file #HOST, PORT and DEBUG_MODE can be con...
48.571429
132
0.758824
54
340
4.592593
0.574074
0.169355
0
0
0
0
0
0
0
0
0
0
0.147059
340
7
133
48.571429
0.855172
0.364706
0
0
0
0
0.125581
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
6372a2030846241c55e3ba96bcaa4e4d67eba012
255
py
Python
portalsdmz/userManagement/urls.py
larc-usp/data-transfer-tester
fd94f120961d6016f58247d31b5d04b2f2b2cd07
[ "AFL-2.1" ]
null
null
null
portalsdmz/userManagement/urls.py
larc-usp/data-transfer-tester
fd94f120961d6016f58247d31b5d04b2f2b2cd07
[ "AFL-2.1" ]
2
2017-12-13T20:57:34.000Z
2017-12-13T20:57:35.000Z
portalsdmz/userManagement/urls.py
larc-usp/data-transfer-tester
fd94f120961d6016f58247d31b5d04b2f2b2cd07
[ "AFL-2.1" ]
null
null
null
from django.conf.urls import patterns, include, url from userManagement import views urlpatterns = patterns('', url(r'^$', 'userManagement.views.user_login' , name='login'), url(r'^logout/$', 'userManagement.views.user_logout', name='logout'), )
31.875
73
0.713725
31
255
5.806452
0.516129
0.044444
0.255556
0
0
0
0
0
0
0
0
0
0.117647
255
7
74
36.428571
0.8
0
0
0
0
0
0.333333
0.247059
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
637efa1e52f041833e6e7b90b92ff43f835e0324
1,134
py
Python
microcosm/loaders/__init__.py
globality-corp/microcosm
90291dadcbf535e7e245bfda15f3c663d9b176dd
[ "Apache-2.0" ]
30
2016-04-05T18:37:57.000Z
2021-06-21T18:58:43.000Z
microcosm/loaders/__init__.py
globality-corp/microcosm
90291dadcbf535e7e245bfda15f3c663d9b176dd
[ "Apache-2.0" ]
24
2016-03-08T17:33:00.000Z
2020-04-26T06:55:48.000Z
microcosm/loaders/__init__.py
globality-corp/microcosm
90291dadcbf535e7e245bfda15f3c663d9b176dd
[ "Apache-2.0" ]
6
2016-12-19T22:39:20.000Z
2020-11-15T15:27:58.000Z
""" Configuration loading A configuration loader is any function that accepts `Metadata` and returns a `dict` (or `Configuration` model). Configuration might be loaded from a file, from environment variables, or from an external service. """ from typing import Any, Dict, Optional from microcosm.config.model import ...
28.35
79
0.758377
148
1,134
5.662162
0.351351
0.108592
0.095465
0.075179
0.181384
0
0
0
0
0
0
0.012645
0.163139
1,134
39
80
29.076923
0.87039
0.280423
0
0
0
0
0
0
0
0
0
0
0
1
0.157895
false
0
0.421053
0.105263
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
6388ccde55837c433073c484eae36d37c5100901
906
py
Python
partitions/neighbors.py
maxhully/partitions
97fe253e52f62b023dfad23e86926bded9dc9743
[ "MIT" ]
null
null
null
partitions/neighbors.py
maxhully/partitions
97fe253e52f62b023dfad23e86926bded9dc9743
[ "MIT" ]
null
null
null
partitions/neighbors.py
maxhully/partitions
97fe253e52f62b023dfad23e86926bded9dc9743
[ "MIT" ]
null
null
null
from collections import Sequence class Neighbors(Sequence): """ :ivar matrix: Symmetric adjacency matrix :vartype matrix: :class:`scipy.sparse.csr_matrix` """ def __init__(self, matrix): """ :param matrix: Symmetric adjacency matrix :type matrix: :class:`scipy.sparse.csr_m...
28.3125
80
0.646799
110
906
5.163636
0.518182
0.105634
0.084507
0.105634
0.109155
0.109155
0
0
0
0
0
0.005848
0.245033
906
31
81
29.225806
0.824561
0.39404
0
0
0
0
0.046414
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0.333333
0.916667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
895549c16e76ae9d124564c04ab47962abf360e3
4,948
py
Python
testing/sdk_utils.py
keithchambers/dcos-commons
b2457801dc6ef0c248c3ff849852134abf762086
[ "Apache-2.0" ]
null
null
null
testing/sdk_utils.py
keithchambers/dcos-commons
b2457801dc6ef0c248c3ff849852134abf762086
[ "Apache-2.0" ]
null
null
null
testing/sdk_utils.py
keithchambers/dcos-commons
b2457801dc6ef0c248c3ff849852134abf762086
[ "Apache-2.0" ]
null
null
null
''' ************************************************************************ FOR THE TIME BEING WHATEVER MODIFICATIONS ARE APPLIED TO THIS FILE SHOULD ALSO BE APPLIED TO sdk_utils IN ANY OTHER PARTNER REPOS ************************************************************************ ''' import functools import logging impo...
35.092199
116
0.673201
643
4,948
4.967341
0.357698
0.065435
0.033813
0.029743
0.24953
0.189105
0.11459
0.076393
0.076393
0.076393
0
0.016523
0.180477
4,948
140
117
35.342857
0.771147
0.44806
0
0
0
0
0.130874
0.023301
0
0
0
0
0
1
0.237288
false
0
0.135593
0.101695
0.610169
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
89818ec918b5a2417faa12e0611daa39f7637b57
2,315
py
Python
faker/utils/readconfig.py
515783034/Faker
1d2d5f480b67eca84ec0e5986d3b53739d00dacf
[ "Apache-2.0" ]
null
null
null
faker/utils/readconfig.py
515783034/Faker
1d2d5f480b67eca84ec0e5986d3b53739d00dacf
[ "Apache-2.0" ]
null
null
null
faker/utils/readconfig.py
515783034/Faker
1d2d5f480b67eca84ec0e5986d3b53739d00dacf
[ "Apache-2.0" ]
null
null
null
''' .::::. .::::::::. ::::::::::: ..:::::::::::' '::::::::::::' .:::::::::: '::::::::::::::.. ..::::::::::::. ``:::::::::::::::: ::::``:::::::::' ...
28.9375
87
0.413391
169
2,315
5.621302
0.372781
0.050526
0.078947
0.08
0.151579
0
0
0
0
0
0
0.01437
0.338661
2,315
80
88
28.9375
0.605487
0.406911
0
0
0
0
0.058682
0
0
0
0
0
0
1
0.257143
false
0
0.057143
0.142857
0.628571
0.028571
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
8996f845a86059b849aa5c8f4b92be683f659a39
498
py
Python
users/models/permission_model.py
Rafeen/Inventory-Management-and-POS
c6b93fd83e76d8cdee1bdbe1042a29b23bfc36ac
[ "MIT" ]
null
null
null
users/models/permission_model.py
Rafeen/Inventory-Management-and-POS
c6b93fd83e76d8cdee1bdbe1042a29b23bfc36ac
[ "MIT" ]
10
2019-07-03T21:28:41.000Z
2022-01-13T01:13:35.000Z
users/models/permission_model.py
Rafeen/Inventory-Management-and-POS
c6b93fd83e76d8cdee1bdbe1042a29b23bfc36ac
[ "MIT" ]
null
null
null
from django.db import models class Permissions(models.Model): #id = #module = role_id = models.IntegerField(max_length=5, blank=False, null=False) create = models.BooleanField(default=True, null=False) read = models.BooleanField(default=True, null=False) update = models.BooleanField(default...
41.5
72
0.742972
64
498
5.6875
0.484375
0.123626
0.274725
0.318681
0.593407
0.593407
0
0
0
0
0
0.002347
0.144578
498
12
73
41.5
0.852113
0.038153
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
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
899bd81fdb5d3e0419041b759335f75ce75ac37c
211
py
Python
setup.py
mweiss17/SEVN-model
14bb5b416886cd2aa0d21a3b6ec07411ec671dcb
[ "MIT" ]
null
null
null
setup.py
mweiss17/SEVN-model
14bb5b416886cd2aa0d21a3b6ec07411ec671dcb
[ "MIT" ]
null
null
null
setup.py
mweiss17/SEVN-model
14bb5b416886cd2aa0d21a3b6ec07411ec671dcb
[ "MIT" ]
1
2020-12-29T17:16:02.000Z
2020-12-29T17:16:02.000Z
from setuptools import find_packages, setup setup( name='sevn_model', packages=find_packages(), version='1.0.0', install_requires=['gym', 'matplotlib', 'pybullet', 'torch', 'tensorflow==1.14'])
26.375
84
0.677725
26
211
5.346154
0.769231
0.172662
0
0
0
0
0
0
0
0
0
0.033333
0.146919
211
7
85
30.142857
0.738889
0
0
0
0
0
0.270142
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
98364f832b26259e26d33ea488da2e1d13a52080
196
py
Python
Ejercicio12.py
mariagarciau/Ejercicios-Recursividad
ea4755c3960604def765de2e372b2eacf7618f11
[ "Apache-2.0" ]
null
null
null
Ejercicio12.py
mariagarciau/Ejercicios-Recursividad
ea4755c3960604def765de2e372b2eacf7618f11
[ "Apache-2.0" ]
null
null
null
Ejercicio12.py
mariagarciau/Ejercicios-Recursividad
ea4755c3960604def765de2e372b2eacf7618f11
[ "Apache-2.0" ]
null
null
null
"""Modifique el programa de las torres de Hanoi usando gráficos de tortuga para animar el movimiento de los discos. Sugerencia: Usted puede crear varias tortugas y darles forma de rectángulos. """
65.333333
102
0.80102
30
196
5.233333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.153061
196
3
103
65.333333
0.945783
0.964286
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
983be533512b8b44c2203e037223db02f78f722b
659
py
Python
lm/BeamSearchTree.py
CRAFIS/pycodesuggest
c21ab27e46d5c8078636f4b0b49c55e6eb9096ec
[ "MIT" ]
119
2016-11-28T11:43:12.000Z
2019-08-25T04:11:38.000Z
lm/BeamSearchTree.py
CRAFIS/pycodesuggest
c21ab27e46d5c8078636f4b0b49c55e6eb9096ec
[ "MIT" ]
13
2016-11-30T11:15:02.000Z
2019-08-24T07:36:30.000Z
lm/BeamSearchTree.py
CRAFIS/pycodesuggest
c21ab27e46d5c8078636f4b0b49c55e6eb9096ec
[ "MIT" ]
24
2016-11-28T17:35:36.000Z
2019-09-28T19:26:28.000Z
class BeamSearchTreeNode(object): def __init__(self, token_id, mask, state, probability): self._token_id = token_id self._state = state self._probability = probability self._children = [] self._mask = mask @property def mask(self): return self._mask @pr...
19.969697
59
0.61912
73
659
5.30137
0.232877
0.090439
0.180879
0
0
0
0
0
0
0
0
0
0.29742
659
32
60
20.59375
0.835853
0
0
0.208333
0
0
0
0
0
0
0
0
0
1
0.291667
false
0
0
0.208333
0.541667
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
1
0
0
0
3
9850b1edd65d9808fbec42cb90ad33bb8ef9b993
1,948
py
Python
lib/_types/String.py
C1200/CorLang
2cc9092a0f33173f2afeec066839b90fa3c62762
[ "MIT" ]
1
2022-02-05T01:23:43.000Z
2022-02-05T01:23:43.000Z
lib/_types/String.py
C1200/CorLang
2cc9092a0f33173f2afeec066839b90fa3c62762
[ "MIT" ]
1
2022-02-11T20:59:16.000Z
2022-02-11T20:59:16.000Z
lib/_types/String.py
C1200/CorLang
2cc9092a0f33173f2afeec066839b90fa3c62762
[ "MIT" ]
null
null
null
from _types.Type import Type from _types.Number import Number class String(Type): def __init__(self, value): super().__init__() self.value = value def add(self, other): if isinstance(other, String): return String(self.value + other.value).set_ctx(self.ctx), None else...
38.96
90
0.61653
258
1,948
4.476744
0.158915
0.093506
0.069264
0.090043
0.742857
0.685714
0.685714
0.638095
0.638095
0.638095
0
0
0.26232
1,948
50
91
38.96
0.803758
0
0
0.346939
0
0
0.00667
0
0
0
0
0
0
1
0.244898
false
0
0.040816
0.081633
0.653061
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
1
0
0
0
0
1
0
0
3
986d16c827430a7a6a179a20eb6353daa61d73d2
143
py
Python
semester-6/Python Practice/numpyPractice/program7.py
saranshbht/bsc-codes
7386c09cc986de9c84947f7dea7db3dc42219a35
[ "MIT" ]
3
2021-03-22T12:07:14.000Z
2021-08-30T17:28:23.000Z
semester-6/Python Practice/numpyPractice/program7.py
saranshbht/bsc-codes
7386c09cc986de9c84947f7dea7db3dc42219a35
[ "MIT" ]
null
null
null
semester-6/Python Practice/numpyPractice/program7.py
saranshbht/bsc-codes
7386c09cc986de9c84947f7dea7db3dc42219a35
[ "MIT" ]
null
null
null
import numpy as np a = np.array([1, 0, np.nan, np.inf]) print("Original array") print(a) print("Test element-wise for NaN:") print(np.isnan(a))
23.833333
36
0.685315
28
143
3.5
0.607143
0
0
0
0
0
0
0
0
0
0
0.015873
0.118881
143
6
37
23.833333
0.761905
0
0
0
0
0
0.277778
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.666667
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
9885d8da9dff6b48b29cfb16be0272deaf4e09cf
348
py
Python
pylox/lox_token.py
Gawesomer/lox
6c86324def8e697036f819931cf7571cbb2940c5
[ "MIT" ]
null
null
null
pylox/lox_token.py
Gawesomer/lox
6c86324def8e697036f819931cf7571cbb2940c5
[ "MIT" ]
null
null
null
pylox/lox_token.py
Gawesomer/lox
6c86324def8e697036f819931cf7571cbb2940c5
[ "MIT" ]
null
null
null
from token_type import TokenType class Token: def __init__(self, token_type: TokenType, lexeme: str, literal: object, line: int): self.type = token_type self.lexeme = lexeme self.literal = literal self.line = line def __str__(self): return "{} {} {}".format(self.type,...
24.857143
87
0.635057
43
348
4.883721
0.395349
0.128571
0.133333
0
0
0
0
0
0
0
0
0
0.252874
348
13
88
26.769231
0.807692
0
0
0
0
0
0.022989
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
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
1
0
0
0
1
1
0
0
3
9893fe565375817373abc338de7167d39ba5b529
53
py
Python
test/tests/75.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
1
2015-11-06T03:39:51.000Z
2015-11-06T03:39:51.000Z
test/tests/75.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
test/tests/75.py
kevinxucs/pyston
bdb87c1706ac74a0d15d9bc2bae53798678a5f14
[ "Apache-2.0" ]
null
null
null
def f(): if 0: str = 0 print str f()
8.833333
15
0.377358
9
53
2.222222
0.666667
0
0
0
0
0
0
0
0
0
0
0.074074
0.490566
53
5
16
10.6
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7f2e3d614e242019ad277533e6593850dd1b2ceb
1,263
py
Python
taylor-series/taylor-series.py
hertzsprung/high-order-transport
50d9633642dcd4d8fba54b9b408e69dc0f12d9e7
[ "MIT" ]
null
null
null
taylor-series/taylor-series.py
hertzsprung/high-order-transport
50d9633642dcd4d8fba54b9b408e69dc0f12d9e7
[ "MIT" ]
null
null
null
taylor-series/taylor-series.py
hertzsprung/high-order-transport
50d9633642dcd4d8fba54b9b408e69dc0f12d9e7
[ "MIT" ]
1
2020-02-13T09:16:36.000Z
2020-02-13T09:16:36.000Z
#!/usr/bin/python3 import numpy as np # cubicFit matrix A = [ [1, -5/2, (-5/2)**2, (-5/2)**3], [1, -3/2, (-3/2)**2, (-3/2)**3], [1, -1/2, (-1/2)**2, (-1/2)**3], [1, 1/2, ( 1/2)**2, ( 1/2)**3] ] print(np.linalg.inv(A)) print() # Taylor series expansion for 4-point upwind-biased stencil # for face app...
25.77551
89
0.396675
260
1,263
1.926923
0.161538
0.075848
0.047904
0.03992
0.53493
0.303393
0.259481
0.259481
0.087824
0.087824
0
0.215321
0.235154
1,263
48
90
26.3125
0.303313
0.171021
0
0.323529
0
0
0
0
0
0
0
0
0
1
0
false
0
0.029412
0
0.029412
0.235294
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f5e424a852760ff68a3e6439f03308c1bfb67fe
179
py
Python
clipboard.py
yschaeff/pscad
899c22f0f11223ecc034e3e33c7525c2f6b4bb07
[ "MIT" ]
6
2015-03-20T11:14:31.000Z
2019-12-15T23:34:37.000Z
clipboard.py
yschaeff/pscad
899c22f0f11223ecc034e3e33c7525c2f6b4bb07
[ "MIT" ]
1
2015-03-20T11:15:36.000Z
2015-03-20T15:32:09.000Z
clipboard.py
yschaeff/pscad
899c22f0f11223ecc034e3e33c7525c2f6b4bb07
[ "MIT" ]
1
2018-10-31T15:14:03.000Z
2018-10-31T15:14:03.000Z
from copy import deepcopy class Clippy(): def __init__(self): self.buf = None def store(self, obj): self.buf = deepcopy(obj) def load(self): return deepcopy(self.buf)
14.916667
27
0.692737
27
179
4.444444
0.555556
0.175
0
0
0
0
0
0
0
0
0
0
0.184358
179
11
28
16.272727
0.821918
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.125
0.75
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
7f84b66c93b946fae38a4922286a2b6a374eaffc
136
py
Python
hasty/mapp/urls.py
NREL/hasty
3beb041813ee92ba8942121d8e33c6b025eea448
[ "BSD-3-Clause" ]
4
2020-10-09T19:30:04.000Z
2020-11-23T10:05:43.000Z
hasty/mapp/urls.py
NREL/hasty
3beb041813ee92ba8942121d8e33c6b025eea448
[ "BSD-3-Clause" ]
29
2021-01-28T14:03:05.000Z
2022-02-03T18:21:09.000Z
hasty/mapp/urls.py
NREL/haste
18e4941d933a90a53c162a64993ff46608a7128f
[ "BSD-3-Clause" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.PointMappingView.as_view(), name='mapp.index'), ]
17
66
0.698529
17
136
5.529412
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.154412
136
7
67
19.428571
0.817391
0
0
0
0
0
0.073529
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
7f8d9b0710807ede20460efc1a965ee611e5306e
1,494
py
Python
assignment2/task3/main.py
ThomasTheDebugEngine/SchoolTasks
8165bf0469723858f21ec7d2a6fe0807b782cc4a
[ "MIT" ]
null
null
null
assignment2/task3/main.py
ThomasTheDebugEngine/SchoolTasks
8165bf0469723858f21ec7d2a6fe0807b782cc4a
[ "MIT" ]
null
null
null
assignment2/task3/main.py
ThomasTheDebugEngine/SchoolTasks
8165bf0469723858f21ec7d2a6fe0807b782cc4a
[ "MIT" ]
null
null
null
class Item: #Constructor def __init__(self, name, quantity=1, price=10): self.name = name self.quantity = quantity self.price = price self.total_price = quantity * price #Method to get total_price def get_total_price(self): return self.quantity * self.price ...
35.571429
122
0.646586
224
1,494
4.1875
0.258929
0.076759
0.069296
0.047974
0.507463
0.485075
0.485075
0.485075
0.485075
0.485075
0
0.019845
0.22423
1,494
42
123
35.571429
0.789474
0.300535
0
0.115385
0
0
0.043353
0
0
0
0
0
0
1
0.230769
false
0
0
0.192308
0.538462
0.153846
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
7fb47150823f356a5dac0b284133f4ba4d0b65f0
233
py
Python
tests/simple_test.py
douglasfraser-cloudreach/databricks_api
2226017f86b34d02d485957d6949cce8186ccf73
[ "MIT" ]
3
2020-05-19T18:16:27.000Z
2022-01-02T13:30:56.000Z
tests/simple_test.py
douglasfraser-cloudreach/databricks_api
2226017f86b34d02d485957d6949cce8186ccf73
[ "MIT" ]
2
2019-06-19T19:40:59.000Z
2021-07-19T11:41:25.000Z
tests/simple_test.py
douglasfraser-cloudreach/databricks_api
2226017f86b34d02d485957d6949cce8186ccf73
[ "MIT" ]
5
2019-03-24T20:58:15.000Z
2021-07-23T21:46:32.000Z
import os parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) os.sys.path.insert(0,parentdir) from databricksapi import Clusters, DBFS, Groups, InstanceProfile, Jobs, Libraries, SCIM, Secrets, Token, Workspace
33.285714
115
0.785408
32
233
5.59375
0.6875
0.100559
0.145251
0.167598
0.178771
0
0
0
0
0
0
0.004739
0.094421
233
6
116
38.833333
0.843602
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7fb768c721667f2d903f6d23f1072fb7d78751f2
198
py
Python
src/metaloader/serialisations/__init__.py
jacobneiltaylor/metaloader
acea30c5d775e45df2ea533f082a73d839411248
[ "MIT" ]
null
null
null
src/metaloader/serialisations/__init__.py
jacobneiltaylor/metaloader
acea30c5d775e45df2ea533f082a73d839411248
[ "MIT" ]
null
null
null
src/metaloader/serialisations/__init__.py
jacobneiltaylor/metaloader
acea30c5d775e45df2ea533f082a73d839411248
[ "MIT" ]
null
null
null
from .serialisation import Serialisation from .json import JsonSerialisation from .yaml import YamlSerialisation __all__ = [ "Serialisation", "JsonSerialisation", "YamlSerialisation" ]
19.8
40
0.767677
16
198
9.25
0.5
0
0
0
0
0
0
0
0
0
0
0
0.161616
198
9
41
22
0.891566
0
0
0
0
0
0.237374
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
7fbdae5b8479ca707d336cb66b988af96037c22c
315
py
Python
src/app/admin.py
currobeltran/TFG
3137edd1baeb02f2811c272bbbf3884c3af6d3fe
[ "MIT" ]
null
null
null
src/app/admin.py
currobeltran/TFG
3137edd1baeb02f2811c272bbbf3884c3af6d3fe
[ "MIT" ]
null
null
null
src/app/admin.py
currobeltran/TFG
3137edd1baeb02f2811c272bbbf3884c3af6d3fe
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Asignatura, Area, Mencion, Titulo, AñoAsignatura, Grupo # Register your models here. admin.site.register(Asignatura) admin.site.register(Area) admin.site.register(Mencion) admin.site.register(Titulo) admin.site.register(AñoAsignatura) admin.site.register(Grupo)
31.5
75
0.819048
42
315
6.142857
0.380952
0.209302
0.395349
0
0
0
0
0
0
0
0
0
0.07619
315
10
76
31.5
0.886598
0.08254
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f681bd50f8c4221ab73dc828dd1effbc87035e37
1,513
py
Python
src/dist/create_dist.py
paul-mateos/azure-apim-deployment-utils
969fedfa5b5c910ffd3aa04ede265ab18c1844a3
[ "Apache-2.0" ]
14
2016-03-16T16:46:46.000Z
2022-03-26T02:28:26.000Z
src/dist/create_dist.py
paul-mateos/azure-apim-deployment-utils
969fedfa5b5c910ffd3aa04ede265ab18c1844a3
[ "Apache-2.0" ]
2
2016-04-10T08:28:26.000Z
2018-01-30T07:58:46.000Z
src/dist/create_dist.py
paul-mateos/azure-apim-deployment-utils
969fedfa5b5c910ffd3aa04ede265ab18c1844a3
[ "Apache-2.0" ]
8
2016-06-24T23:11:33.000Z
2021-08-13T13:36:45.000Z
import os import tempfile import shutil import sys if len(sys.argv) < 2: print "Usage:" print " python create_dist.py <version>" sys.exit(1) version = sys.argv[1] try: temp_dir = tempfile.mkdtemp() print "Using temporary directory: " + temp_dir target_dir = os.path.join(temp_dir, 'azure-apim...
32.191489
130
0.656973
207
1,513
4.589372
0.256039
0.069474
0.115789
0.054737
0.793684
0.728421
0.633684
0.633684
0.633684
0.633684
0
0.0032
0.173827
1,513
46
131
32.891304
0.7568
0.015202
0
0.4
0
0
0.207522
0.063801
0
0
0
0
0
0
null
null
0
0.114286
null
null
0.171429
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f68234663bc91a3e79c53b5587dc500d079c667c
14,104
py
Python
tests/base_transformer/test_models.py
swagger-atlas/atlas
64a0a6e3107da9f7cf894880823badfa84e11f25
[ "Apache-2.0" ]
2
2019-04-25T10:22:53.000Z
2020-10-09T06:57:02.000Z
tests/base_transformer/test_models.py
swagger-atlas/atlas
64a0a6e3107da9f7cf894880823badfa84e11f25
[ "Apache-2.0" ]
9
2019-04-11T17:27:57.000Z
2021-05-08T13:12:10.000Z
tests/base_transformer/test_models.py
swagger-atlas/atlas
64a0a6e3107da9f7cf894880823badfa84e11f25
[ "Apache-2.0" ]
1
2019-04-18T22:18:37.000Z
2019-04-18T22:18:37.000Z
from unittest import mock import pytest from atlas.modules.transformer.base.models import ( ResourceFieldMap, TaskSet, Task, constants, exceptions, interface ) class TestTaskSet: def test_set_scenarios_no_scenario(self): task_set = TaskSet([]) assert task_set.scenarios == {"default": []...
42.354354
118
0.673071
1,649
14,104
5.437235
0.0849
0.033571
0.055766
0.051751
0.842182
0.789427
0.727749
0.683471
0.570712
0.514053
0
0.005935
0.187677
14,104
332
119
42.481928
0.776643
0.009714
0
0.372881
0
0
0.103728
0.027025
0
0
0
0
0.186441
1
0.194915
false
0
0.012712
0
0.237288
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f6884611ccabc0e1f2e7bb98f3150a97272a5738
462
py
Python
dream/policy/__init__.py
icyblade/dream
818e77f1c25e51f8cd966f7aa4eb1bcd4207b208
[ "MIT" ]
null
null
null
dream/policy/__init__.py
icyblade/dream
818e77f1c25e51f8cd966f7aa4eb1bcd4207b208
[ "MIT" ]
null
null
null
dream/policy/__init__.py
icyblade/dream
818e77f1c25e51f8cd966f7aa4eb1bcd4207b208
[ "MIT" ]
null
null
null
class BasePolicy(object): """Abstract class of policy function.""" def act(self, observation, reward, done): """Take action according to observations. Parameters -------- observation: instance of dream.game.observation.Observation. reward: instance of dream.game.reward....
24.315789
68
0.582251
45
462
5.977778
0.555556
0.111524
0.167286
0.211896
0
0
0
0
0
0
0
0
0.296537
462
18
69
25.666667
0.827692
0.599567
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
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
1
0
1
0
0
0
0
0
3
f6a296a67e253fb7eadd9ed6c4644654b59cfbc3
560
py
Python
themes/tomorrow_night_eighties.py
clandgraf/cui
2073e56e6f0a6d1278207b583bfc3f15a08a5ca5
[ "BSD-3-Clause" ]
null
null
null
themes/tomorrow_night_eighties.py
clandgraf/cui
2073e56e6f0a6d1278207b583bfc3f15a08a5ca5
[ "BSD-3-Clause" ]
null
null
null
themes/tomorrow_night_eighties.py
clandgraf/cui
2073e56e6f0a6d1278207b583bfc3f15a08a5ca5
[ "BSD-3-Clause" ]
null
null
null
import cui # Predef. Colors cui.def_colors('black', '#2d2d2d') cui.def_colors('red', '#f2777a') cui.def_colors('green', '#99cc99') cui.def_colors('yellow', '#ffcc66') cui.def_colors('blue', '#6699cc') cui.def_colors('magenta', '#cc99cc') cui.def_colors('cyan', '#66cccc') cui....
28
40
0.632143
72
560
4.694444
0.458333
0.213018
0.426036
0.106509
0
0
0
0
0
0
0
0.094421
0.167857
560
19
41
29.473684
0.630901
0.05
0
0
0
0
0.300567
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f6a9c24490a391357e9387eb426861a58df8d161
1,218
py
Python
StackApp/env/lib/python2.7/site-packages/flask_api/tests/test_status.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
555
2017-06-09T09:30:36.000Z
2022-03-29T03:06:52.000Z
StackApp/env/lib/python2.7/site-packages/flask_api/tests/test_status.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
49
2015-01-13T09:53:50.000Z
2017-06-08T18:40:38.000Z
StackApp/env/lib/python2.7/site-packages/flask_api/tests/test_status.py
jonathanmusila/StackOverflow-Lite
a9a03f129592c6f741eb4d1e608ca2db0e40bf11
[ "MIT" ]
124
2017-07-04T13:47:47.000Z
2022-03-26T16:03:08.000Z
# coding: utf8 from __future__ import unicode_literals from flask_api import status import unittest class TestStatus(unittest.TestCase): def test_status_categories(self): self.assertFalse(status.is_informational(99)) self.assertTrue(status.is_informational(100)) self.assertTrue(status.is_i...
36.909091
54
0.724138
151
1,218
5.602649
0.258278
0.189125
0.248227
0.271868
0.768322
0.316785
0
0
0
0
0
0.059347
0.169951
1,218
32
55
38.0625
0.777448
0.009852
0
0
0
0
0
0
0
0
0
0
0.8
1
0.04
false
0
0.12
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
f6beb70e89eba81b3d8ec553b9c859db66f0d71a
240
py
Python
fizzbuzz.py
mansour20-meet/meet2018y1lab6
c7f5d159cfdf92a099b51ae6b49d90b10dc6f82f
[ "MIT" ]
null
null
null
fizzbuzz.py
mansour20-meet/meet2018y1lab6
c7f5d159cfdf92a099b51ae6b49d90b10dc6f82f
[ "MIT" ]
null
null
null
fizzbuzz.py
mansour20-meet/meet2018y1lab6
c7f5d159cfdf92a099b51ae6b49d90b10dc6f82f
[ "MIT" ]
null
null
null
for i in range(100): count = int(input('enter a number')) try: count = int(input('enter a number')) if count % 3 == 0: print("fizz") elif count % 5 == 0: print("buzz") else: print (count)
21.818182
44
0.495833
33
240
3.606061
0.636364
0.134454
0.218487
0.302521
0.420168
0.420168
0
0
0
0
0
0.044872
0.35
240
10
45
24
0.717949
0
0
0.2
0
0
0.15
0
0
0
0
0
0
0
null
null
0
0
null
null
0.3
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
1
0
0
0
0
0
0
0
0
3
f6ebf1c29e894b1195cc62a8787612c93731922e
814
py
Python
tranny/exceptions.py
bobbintb/tranny
9d46c56ff2d878f262e0a24e3dbe6b0926a805aa
[ "BSD-3-Clause" ]
null
null
null
tranny/exceptions.py
bobbintb/tranny
9d46c56ff2d878f262e0a24e3dbe6b0926a805aa
[ "BSD-3-Clause" ]
null
null
null
tranny/exceptions.py
bobbintb/tranny
9d46c56ff2d878f262e0a24e3dbe6b0926a805aa
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- class TrannyException(Exception): """ Base exception used for application generated exceptions """ pass class BotchedTranny(TrannyException): """ General application error """ pass class ConfigError(BotchedTranny): """ Application configuration error """ pass cla...
14.8
68
0.719902
72
814
8.138889
0.486111
0.168942
0.112628
0
0
0
0
0
0
0
0
0.001527
0.195332
814
54
69
15.074074
0.89313
0.224816
0
0.5
1
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
100abd9cf62e1d99919020df29dc88a3d4c4e00a
838
py
Python
tests/views/index.py
fintanMcor/django-mako-plus
9a522275dc48068be5582dd9abd3d95b2814cb68
[ "Apache-2.0" ]
null
null
null
tests/views/index.py
fintanMcor/django-mako-plus
9a522275dc48068be5582dd9abd3d95b2814cb68
[ "Apache-2.0" ]
null
null
null
tests/views/index.py
fintanMcor/django-mako-plus
9a522275dc48068be5582dd9abd3d95b2814cb68
[ "Apache-2.0" ]
1
2020-01-23T16:34:11.000Z
2020-01-23T16:34:11.000Z
from django.conf import settings from django.http import HttpResponse from django.views.generic import View from django_mako_plus import view_function from .. import dmp_render, dmp_render_to_string import datetime ### Function-based endpoints ### @view_function def process_request(request): return dmp_ren...
19.045455
54
0.710024
106
838
5.462264
0.424528
0.112263
0.07772
0.075993
0.117444
0.117444
0
0
0
0
0
0
0.178998
838
43
55
19.488372
0.84157
0.091885
0
0.136364
0
0
0.134146
0
0
0
0
0
0
1
0.227273
false
0
0.272727
0.227273
0.772727
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
1017dd61f2e2759f8c9a4fb3ff66e7c77b1f3310
775
py
Python
package/Demo2.0/1.py
WangFudi9695/EIDE
f995dff6c3871b16fd037644968cfe41102ef7ce
[ "Apache-2.0" ]
null
null
null
package/Demo2.0/1.py
WangFudi9695/EIDE
f995dff6c3871b16fd037644968cfe41102ef7ce
[ "Apache-2.0" ]
null
null
null
package/Demo2.0/1.py
WangFudi9695/EIDE
f995dff6c3871b16fd037644968cfe41102ef7ce
[ "Apache-2.0" ]
null
null
null
import random import tkinter.messagebox #我是注释 Random=random.randint(1,100) A=tkinter.messagebox.askokcancel("","IDE测试:输出随机数"+str(Random)) A=tkinter.messagebox.askokcancel("自定义标题","IDE测试:输出随机数2"+str(random.randint(-10,20))) A=tkinter.messagebox.askokcancel("自定义标题","IDE测试:输出随机数3"+str(Random)) A=tkinter.m...
28.703704
85
0.691613
101
775
5.306931
0.366337
0.317164
0.302239
0.48694
0.41791
0.41791
0.184701
0
0
0
0
0.021898
0.116129
775
26
86
29.807692
0.760584
0.024516
0
0
0
0
0.151099
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
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
121de0870ef0609230a6146984e3da902016d5ef
297
py
Python
rpython/rlib/unicodedata/__init__.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
381
2018-08-18T03:37:22.000Z
2022-02-06T23:57:36.000Z
rpython/rlib/unicodedata/__init__.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
16
2018-09-22T18:12:47.000Z
2022-02-22T20:03:59.000Z
rpython/rlib/unicodedata/__init__.py
nanjekyejoannah/pypy
e80079fe13c29eda7b2a6b4cd4557051f975a2d9
[ "Apache-2.0", "OpenSSL" ]
55
2015-08-16T02:41:30.000Z
2022-03-20T20:33:35.000Z
# This is the default unicodedb used in various places: # - the unicode type # - the regular expression engine from rpython.rlib.unicodedata import unicodedb_5_2_0 as unicodedb # to get information about individual unicode chars look at: # http://www.fileformat.info/info/unicode/char/search.htm
37.125
65
0.794613
45
297
5.177778
0.844444
0
0
0
0
0
0
0
0
0
0
0.011673
0.13468
297
7
66
42.428571
0.894942
0.737374
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
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
122009a842b2203f489d6ce78c17138bb2da4e4a
115
py
Python
chineseCheck.py
JingChuanHe/JingPython
627e1812d6000d561277ae5b914cff2164701cb5
[ "MIT" ]
null
null
null
chineseCheck.py
JingChuanHe/JingPython
627e1812d6000d561277ae5b914cff2164701cb5
[ "MIT" ]
null
null
null
chineseCheck.py
JingChuanHe/JingPython
627e1812d6000d561277ae5b914cff2164701cb5
[ "MIT" ]
null
null
null
from PIL import Image import pytesseract text = pytesseract.image_to_string(Image.open('1.jpg'),lang='chi_sim')
28.75
71
0.773913
18
115
4.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0.009709
0.104348
115
3
72
38.333333
0.825243
0
0
0
0
0
0.107143
0
0
0
0
0
0
1
0
false
0
0.666667
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
1
0
0
0
0
3
126be0f69fc6ddf16b00de4e52a7cb1c5f36e452
243
py
Python
tronpytool/common/attrdict/__init__.py
tokenchain/tronpytool
42253e0afb71dcd0f773eda417de92cde9c6ca21
[ "MIT" ]
null
null
null
tronpytool/common/attrdict/__init__.py
tokenchain/tronpytool
42253e0afb71dcd0f773eda417de92cde9c6ca21
[ "MIT" ]
null
null
null
tronpytool/common/attrdict/__init__.py
tokenchain/tronpytool
42253e0afb71dcd0f773eda417de92cde9c6ca21
[ "MIT" ]
null
null
null
""" attrdict contains several mapping objects that allow access to their keys as attributes. """ from .mapping import AttrMap from .dictionary import AttrDict from .default import AttrDefault __all__ = ['AttrMap', 'AttrDict', 'AttrDefault']
22.090909
68
0.773663
29
243
6.344828
0.689655
0
0
0
0
0
0
0
0
0
0
0
0.139918
243
10
69
24.3
0.880383
0.36214
0
0
0
0
0.176871
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
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
89c7744bb0596ec9511abd69fbb62ffbf3704117
647
py
Python
conf.py
BastiOfBerlin/home-assistant-threema-gateway-notifier
bc252c13f01eaf0ce14b040251d3ab8cecec8d8f
[ "Apache-2.0" ]
null
null
null
conf.py
BastiOfBerlin/home-assistant-threema-gateway-notifier
bc252c13f01eaf0ce14b040251d3ab8cecec8d8f
[ "Apache-2.0" ]
1
2021-11-09T08:16:38.000Z
2021-11-09T08:16:38.000Z
conf.py
BastiOfBerlin/home-assistant-threema-gateway-notifier
bc252c13f01eaf0ce14b040251d3ab8cecec8d8f
[ "Apache-2.0" ]
null
null
null
""" Config class""" from .const import ( CONF_RECP_ID, ) def parseRecipients(inp): s = inp.strip() if len(s) == 0: return [] return list(map(lambda s: s.strip(), s.split(","))) class Conf: def __init__(self, sender_id, sender_secret, gateway_mode, **kwargs): self._gateway_mode = gateway_mode sel...
21.566667
71
0.690881
91
647
4.571429
0.340659
0.120192
0.086538
0.086538
0
0
0
0
0
0
0
0.001898
0.185471
647
29
72
22.310345
0.787476
0.018547
0
0.130435
0
0
0.001592
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0.130435
0.521739
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
89d6f72694d5a722de18f11a6e7715c95c43caf8
422
py
Python
ExerciciosPythonMundo1/67. Novo Salário Pt2.py
juniorppb/arquivos-python
25690e9ba65352fc332a0517ef65f1042e44edff
[ "MIT" ]
null
null
null
ExerciciosPythonMundo1/67. Novo Salário Pt2.py
juniorppb/arquivos-python
25690e9ba65352fc332a0517ef65f1042e44edff
[ "MIT" ]
null
null
null
ExerciciosPythonMundo1/67. Novo Salário Pt2.py
juniorppb/arquivos-python
25690e9ba65352fc332a0517ef65f1042e44edff
[ "MIT" ]
null
null
null
print('Estamos verificando a folha de pagamento de todos os funcionários da empresa, e precisamos saber qual é o seu salário.') print('='*120) n = float(input('Qual é o seu salário? ')) if n <= 1250.00: print('Seu novo salário será de R$ {:.2f}.'.format(n+(n*0.15))) else: print('Seu novo salário será de R$ {:.2...
38.363636
127
0.637441
77
422
3.493506
0.480519
0.089219
0.133829
0.211896
0.520446
0.401487
0.401487
0.401487
0.401487
0.275093
0
0.059829
0.168246
422
10
128
42.2
0.706553
0.170616
0
0
0
0.142857
0.606322
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
89d70ea6c933f98137df99b68edc84c25a51f7fa
847
py
Python
fieldingPackage/Base.py
reidcooper/PythonBaseballSim
8b723a38b0598071a798174baaf1e39382340e61
[ "MIT" ]
9
2015-08-04T23:36:22.000Z
2021-02-17T17:24:07.000Z
fieldingPackage/Base.py
reidcooper/PythonBaseballSim
8b723a38b0598071a798174baaf1e39382340e61
[ "MIT" ]
null
null
null
fieldingPackage/Base.py
reidcooper/PythonBaseballSim
8b723a38b0598071a798174baaf1e39382340e61
[ "MIT" ]
13
2015-06-24T00:22:06.000Z
2018-07-18T12:12:59.000Z
#!/usr/bin/python # fieldingPackage import os import sys var = os.path.abspath(os.path.dirname(__file__)+'../..') sys.path.append(var) from teamPackage import Player class Base(object): def __init(self): self.isFull = False self.nextBase = Base() self.playerOnBase = None def addPlayerToBase(self,p): self....
18.413043
56
0.729634
107
847
5.719626
0.411215
0.130719
0.068627
0
0
0
0
0
0
0
0
0
0.155844
847
45
57
18.822222
0.855944
0.062574
0
0.137931
0
0
0.029077
0
0
0
0
0
0
1
0.310345
false
0
0.103448
0.137931
0.586207
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
89da0b6c874161e38cb9911d8514513555a57c8c
429
py
Python
pypartpicker/regex.py
RobBrazier/pypartpicker
235b7819986ad1df312b2a8091ee2c21185e106f
[ "MIT" ]
6
2021-02-05T15:58:47.000Z
2021-04-30T14:50:58.000Z
pypartpicker/regex.py
RobBrazier/pypartpicker
235b7819986ad1df312b2a8091ee2c21185e106f
[ "MIT" ]
9
2021-02-05T11:50:39.000Z
2021-05-12T21:05:31.000Z
pypartpicker/regex.py
RobBrazier/pypartpicker
235b7819986ad1df312b2a8091ee2c21185e106f
[ "MIT" ]
5
2021-02-05T11:17:34.000Z
2021-06-26T20:00:56.000Z
import re def get_list_links(string): list_regex = re.compile("((?:http|https)://(?:[a-z]{2}.)?pcpartpicker.com/(?:(?:list/(?:[a-zA-Z0-9]{6}))|(?:user/(?:[\\w]+)/saved/(?:[a-zA-Z0-9]{6}))))") return re.findall(list_regex, string) def get_product_links(string): product_regex = re.compile("((?:http|https)...
35.75
157
0.60373
66
429
3.80303
0.393939
0.035857
0.059761
0.071713
0.52988
0.501992
0.501992
0.501992
0.326693
0.326693
0
0.028133
0.088578
429
11
158
39
0.613811
0
0
0
0
0.285714
0.470862
0.470862
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
d61164147a87c1e5a34ad473e3391aed70900f2d
57
py
Python
llhttp/__init__.py
make-itrain/pyllhttp
78230f08229ae1ed81f6cc77ec6323d87fda0522
[ "MIT" ]
25
2020-12-04T07:55:41.000Z
2022-02-13T02:44:38.000Z
llhttp/__init__.py
make-itrain/pyllhttp
78230f08229ae1ed81f6cc77ec6323d87fda0522
[ "MIT" ]
3
2021-03-16T00:54:56.000Z
2022-02-14T00:43:34.000Z
llhttp/__init__.py
make-itrain/pyllhttp
78230f08229ae1ed81f6cc77ec6323d87fda0522
[ "MIT" ]
2
2021-06-28T09:22:40.000Z
2021-08-22T18:53:08.000Z
from __llhttp import * __all__ = ("Request", "Response")
19
33
0.701754
6
57
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.140351
57
2
34
28.5
0.693878
0
0
0
0
0
0.263158
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
d644c7dacf1e3e491bb24b3f15188f6e605216e0
362
py
Python
mmdet/core/bbox/assigners/__init__.py
hukefei/chongqing_contest
c38ae3e6f25230282c65cdd568de93f28e88c6d6
[ "Apache-2.0" ]
1
2021-04-12T13:29:54.000Z
2021-04-12T13:29:54.000Z
mmdet/core/bbox/assigners/__init__.py
hukefei/chongqing_contest
c38ae3e6f25230282c65cdd568de93f28e88c6d6
[ "Apache-2.0" ]
1
2021-04-12T13:31:27.000Z
2021-04-12T13:33:10.000Z
mmdet/core/bbox/assigners/__init__.py
hukefei/chongqing_contest
c38ae3e6f25230282c65cdd568de93f28e88c6d6
[ "Apache-2.0" ]
1
2021-04-21T10:14:15.000Z
2021-04-21T10:14:15.000Z
from .approx_max_iou_assigner import ApproxMaxIoUAssigner from .assign_result import AssignResult from .base_assigner import BaseAssigner from .max_iou_assigner import MaxIoUAssigner from .contest_default_assigner import ContestDefaultAssigner __all__ = [ 'BaseAssigner', 'MaxIoUAssigner', 'ApproxMaxIoUAssigner', '...
36.2
102
0.845304
35
362
8.371429
0.485714
0.191126
0.095563
0.136519
0
0
0
0
0
0
0
0
0.093923
362
9
103
40.222222
0.893293
0
0
0
0
0
0.220994
0.060773
0
0
0
0
0
1
0
false
0
0.625
0
0.625
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
d65019c149aeb4734ac504d03d0f6f401fc4298d
195
py
Python
0x03-python-data_structures/5-no_c.py
oluwaseun-ebenezer/holbertonschool-higher_level_programming
e830f969d3ca71abf0a2f6d4f7c64a82337eccd7
[ "MIT" ]
null
null
null
0x03-python-data_structures/5-no_c.py
oluwaseun-ebenezer/holbertonschool-higher_level_programming
e830f969d3ca71abf0a2f6d4f7c64a82337eccd7
[ "MIT" ]
null
null
null
0x03-python-data_structures/5-no_c.py
oluwaseun-ebenezer/holbertonschool-higher_level_programming
e830f969d3ca71abf0a2f6d4f7c64a82337eccd7
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # 5-no_c.py def no_c(my_string): """Remove all characters c and C from a string.""" copy = [x for x in my_string if x != 'c' and x != 'C'] return ("".join(copy))
21.666667
58
0.584615
37
195
2.972973
0.621622
0.054545
0
0
0
0
0
0
0
0
0
0.013333
0.230769
195
8
59
24.375
0.72
0.369231
0
0
0
0
0.017241
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
d6547e4a3c2744b87235c4a38949ac6f1460e3df
13,343
py
Python
source/rttov_test/profile-datasets-py/div83/051.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
source/rttov_test/profile-datasets-py/div83/051.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
1
2022-03-12T12:19:59.000Z
2022-03-12T12:19:59.000Z
source/rttov_test/profile-datasets-py/div83/051.py
bucricket/projectMAScorrection
89489026c8e247ec7c364e537798e766331fe569
[ "BSD-3-Clause" ]
null
null
null
""" Profile ../profile-datasets-py/div83/051.py file automaticaly created by prof_gen.py script """ self["ID"] = "../profile-datasets-py/div83/051.py" self["Q"] = numpy.array([ 2.56796300e+00, 3.38298900e+00, 4.79538700e+00, 5.98161400e+00, 6.38105900e+00, 6.34373000e+00, 6.1827...
57.512931
92
0.567339
2,008
13,343
3.768426
0.475598
0.007136
0.008722
0.004758
0.012819
0.010308
0
0
0
0
0
0.700411
0.270779
13,343
231
93
57.761905
0.077287
0.00712
0
0
0
0
0.018818
0.002645
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d6556ea362e58da75df24c95308590806c045d39
321
py
Python
zabbix/models.py
lvhaidong/adminset
fbdd970138a93719b5a24b7a8855f0f0f3554f63
[ "Apache-2.0" ]
null
null
null
zabbix/models.py
lvhaidong/adminset
fbdd970138a93719b5a24b7a8855f0f0f3554f63
[ "Apache-2.0" ]
null
null
null
zabbix/models.py
lvhaidong/adminset
fbdd970138a93719b5a24b7a8855f0f0f3554f63
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # author:lvhaidong # datetime:2018/4/21 23:57 # software: PyCharm from __future__ import unicode_literals from django.db import models class Host(models.Model): ip = models.GenericIPAddressField(u"IP", max_length=30) def __unicode__(self): return self.ip...
18.882353
59
0.71028
45
321
4.844444
0.822222
0
0
0
0
0
0
0
0
0
0
0.052239
0.165109
321
16
60
20.0625
0.761194
0.314642
0
0
0
0
0.009302
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
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
0
0
1
1
1
0
0
3
c3b376f7ff081107374a2603483b6c4c9d43821c
31,451
py
Python
sdk/python/pulumi_vultr/outputs.py
vincentbernat/pulumi-vultr
171c75f59d169a62e5486bf9e7f6f421bbe0b7c8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_vultr/outputs.py
vincentbernat/pulumi-vultr
171c75f59d169a62e5486bf9e7f6f421bbe0b7c8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_vultr/outputs.py
vincentbernat/pulumi-vultr
171c75f59d169a62e5486bf9e7f6f421bbe0b7c8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
29.067468
165
0.579505
3,386
31,451
5.180154
0.068222
0.052452
0.05114
0.074743
0.744755
0.7061
0.698575
0.683637
0.678677
0.674914
0
0.002249
0.307208
31,451
1,081
166
29.094357
0.802745
0.246479
0
0.684818
1
0.006601
0.11424
0.032363
0
0
0
0
0
1
0.179868
false
0
0.008251
0.00165
0.361386
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c3b7187fef3c2b05287f69ebd5e236970166d55d
3,223
py
Python
botstory/ast/loop.py
botstory/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
5
2017-01-14T13:42:13.000Z
2021-07-27T21:52:04.000Z
botstory/ast/loop.py
botstory/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
235
2016-11-07T23:33:28.000Z
2018-03-13T11:27:33.000Z
botstory/ast/loop.py
hyzhak/bot-story
9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3
[ "MIT" ]
5
2017-01-14T13:42:14.000Z
2020-11-06T08:33:20.000Z
from botstory import ast, matchers from botstory.ast import forking import logging import json logger = logging.getLogger(__name__) # 1. once we trap on StoriesLoopNode we should stop execution # and wait any user input # 2. once we got any user import we should come to StoriesLoopNode # add check whether input matc...
28.27193
75
0.630779
394
3,223
4.949239
0.352792
0.041026
0.050256
0.021538
0.033846
0.033846
0.033846
0
0
0
0
0.002933
0.259386
3,223
113
76
28.522124
0.813992
0.177164
0
0.058824
0
0
0.070054
0.030023
0
0
0
0.00885
0
1
0.235294
false
0
0.058824
0.132353
0.573529
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
c3c1cfe7d758e0ba772080d62908745317fec73c
89
py
Python
server/test/test_training.py
UMass-Rescue/CombinedTechStack
b3447b174d9798f3baf9bf6509b4cc14a5bd225a
[ "MIT" ]
1
2020-11-30T18:42:05.000Z
2020-11-30T18:42:05.000Z
server/test/test_training.py
anishapai/CombinedTechStack
3152b424445b9dce09932c2f2ae313ff7a02de5c
[ "MIT" ]
32
2021-03-17T13:17:22.000Z
2021-05-04T14:25:31.000Z
server/test/test_training.py
anishapai/CombinedTechStack
3152b424445b9dce09932c2f2ae313ff7a02de5c
[ "MIT" ]
1
2020-12-17T12:47:44.000Z
2020-12-17T12:47:44.000Z
from fastapi.testclient import TestClient from main import app client = TestClient(app)
17.8
41
0.820225
12
89
6.083333
0.583333
0
0
0
0
0
0
0
0
0
0
0
0.134831
89
5
42
17.8
0.948052
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
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
1
0
0
0
0
3
c3c7e42d5af5f17e20e234202506850b79f24790
192
py
Python
pyler/__init__.py
ewjoachim/pyler
e672f790f1160905fc01e30893e068f4bf301317
[ "MIT" ]
1
2015-11-02T14:26:34.000Z
2015-11-02T14:26:34.000Z
pyler/__init__.py
ewjoachim/pyler
e672f790f1160905fc01e30893e068f4bf301317
[ "MIT" ]
8
2015-11-05T06:23:07.000Z
2017-08-31T17:10:56.000Z
pyler/__init__.py
ewjoachim/pyler
e672f790f1160905fc01e30893e068f4bf301317
[ "MIT" ]
2
2016-06-12T07:16:46.000Z
2017-08-31T14:48:41.000Z
""" Pyler is a lib that helps you take on the Project Euler challenges by implementing unit tests for every solution. """ from .euler_test_base import EulerProblem __all__ = ["EulerProblem"]
24
66
0.776042
28
192
5.107143
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.15625
192
7
67
27.428571
0.882716
0.588542
0
0
0
0
0.169014
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
c3d6c9ad0bab52d47974f8af7b9ceb20ff2fd1c2
1,271
py
Python
src/lump/helpers.py
viaacode/lump
02f669f7f25c2a123bc118b23dcc3d53d4cdf424
[ "MIT" ]
1
2021-02-01T08:07:00.000Z
2021-02-01T08:07:00.000Z
src/lump/helpers.py
viaacode/lump
02f669f7f25c2a123bc118b23dcc3d53d4cdf424
[ "MIT" ]
4
2020-03-12T18:06:32.000Z
2022-03-25T10:47:48.000Z
src/lump/helpers.py
viaacode/lump
02f669f7f25c2a123bc118b23dcc3d53d4cdf424
[ "MIT" ]
null
null
null
# Some code copied from ebu/benchmarkstt (by original author), see # https://github.com/ebu/benchmarkstt/blob/master/LICENCE.md from functools import partial, wraps class DeferredCallback: """Simple helper class to defer the execution of formatting functions until it is needed""" def __init__(self, cb, *arg...
24.442308
95
0.620771
163
1,271
4.607362
0.490798
0.055925
0.029294
0.034621
0
0
0
0
0
0
0
0.016913
0.255704
1,271
51
96
24.921569
0.775899
0.241542
0
0
0
0
0.009636
0
0
0
0.023555
0
0
1
0.25
false
0
0.035714
0.107143
0.642857
0.071429
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
c3e471f273568de9f20ff164e0b78dc03e5fd717
216
py
Python
tictactoe/ai/__init__.py
thisisdhaas/tictactoe
ad6e0d396862ead33af5578f5fb4912b17b91b37
[ "Apache-2.0" ]
null
null
null
tictactoe/ai/__init__.py
thisisdhaas/tictactoe
ad6e0d396862ead33af5578f5fb4912b17b91b37
[ "Apache-2.0" ]
null
null
null
tictactoe/ai/__init__.py
thisisdhaas/tictactoe
ad6e0d396862ead33af5578f5fb4912b17b91b37
[ "Apache-2.0" ]
null
null
null
from minimax import optimal from basic import random from basic import random_blocker from basic import random_winner AI_DIFFICULTY = { 1: random, 2: random_blocker, 3: random_winner, 4: optimal, }
16.615385
32
0.736111
30
216
5.133333
0.466667
0.175325
0.292208
0.409091
0
0
0
0
0
0
0
0.023529
0.212963
216
12
33
18
0.882353
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
c3fab58c2b1e6f07a012a4dc8482614fc8f3a1e9
626
py
Python
account/tests.py
muriithiderro/instagram
bcc3d933780b2ef319af01694f9d9b6328f99ead
[ "MIT" ]
null
null
null
account/tests.py
muriithiderro/instagram
bcc3d933780b2ef319af01694f9d9b6328f99ead
[ "MIT" ]
6
2020-02-12T01:01:11.000Z
2021-09-07T23:54:14.000Z
account/tests.py
muriithiderro/instagram
bcc3d933780b2ef319af01694f9d9b6328f99ead
[ "MIT" ]
null
null
null
from django.test import TestCase from .models import Profile from django.contrib.auth import get_user_model class TestUserAndProfile(TestCase): def setUp(self): self.User = get_user_model() self.User.objects.create(username="admin", password="123") def tearDown(self): pass ...
26.083333
104
0.667732
77
626
5.25974
0.545455
0.059259
0.059259
0
0
0
0
0
0
0
0
0.008247
0.22524
626
24
105
26.083333
0.826804
0.028754
0
0.142857
0
0
0.044444
0
0
0
0
0
0.071429
1
0.285714
false
0.214286
0.214286
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6135c3b786e5663b6a4469bc7aeb76213ae522c2
1,310
py
Python
release/stubs.min/System/Diagnostics/__init___parts/ThreadState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/Diagnostics/__init___parts/ThreadState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/Diagnostics/__init___parts/ThreadState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class ThreadState(Enum, IComparable, IFormattable, IConvertible): """ Specifies the current execution state of the thread. enum ThreadState,values: Initialized (0),Ready (1),Running (2),Standby (3),Terminated (4),Transition (6),Unknown (7),Wait (5) """ def __eq__(self, *args): """ x.__...
25.192308
221
0.573282
149
1,310
4.402685
0.38255
0.121951
0.128049
0.137195
0.196646
0.196646
0.196646
0.172256
0.172256
0.172256
0
0.00863
0.292366
1,310
51
222
25.686275
0.699029
0.38855
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6152f71419a0707a2efad15aab64c2ccd1c65267
523
py
Python
commands.py
pabloriutort/JBot
488b4169a862c830c63a8db52dbfa4b156f2706c
[ "MIT" ]
null
null
null
commands.py
pabloriutort/JBot
488b4169a862c830c63a8db52dbfa4b156f2706c
[ "MIT" ]
1
2017-04-06T18:35:39.000Z
2017-04-06T18:35:39.000Z
commands.py
pabloriutort/JBot
488b4169a862c830c63a8db52dbfa4b156f2706c
[ "MIT" ]
null
null
null
from decorators import reply, text def to_text(a_list): """Returns list as string """ return " ".join(a_list) @text def hello(bot, args): """Salute function Without decorator to see what happens... Returns a string as a salute message """ return "Hello sir, welcome" @text d...
18.678571
70
0.657744
76
523
4.447368
0.552632
0.06213
0.065089
0.100592
0
0
0
0
0
0
0
0.002494
0.23327
523
27
71
19.37037
0.840399
0.223709
0
0.166667
0
0
0.295699
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.166667
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
6156d82c9d10b463df360789d3ceb1860578d8f9
155
py
Python
opentpod/cvat_ui_adapter/urls.py
cnguyen123/OpenTPOD
bc2f1ba86f9797c11579f382e0773ef92aa16ff9
[ "Apache-2.0" ]
111
2020-04-18T10:06:44.000Z
2022-02-18T06:58:41.000Z
opentpod/cvat_ui_adapter/urls.py
cnguyen123/OpenTPOD
bc2f1ba86f9797c11579f382e0773ef92aa16ff9
[ "Apache-2.0" ]
17
2019-08-23T15:51:00.000Z
2020-02-18T20:22:35.000Z
opentpod/cvat_ui_adapter/urls.py
cnguyen123/OpenTPOD
bc2f1ba86f9797c11579f382e0773ef92aa16ff9
[ "Apache-2.0" ]
15
2020-04-18T13:12:25.000Z
2022-02-02T22:20:43.000Z
from django.urls import path, include from . import views urlpatterns = [ # Entry point for a client path("", views.render_cvat_annotation_ui), ]
19.375
46
0.716129
21
155
5.142857
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.193548
155
7
47
22.142857
0.864
0.154839
0
0
0
0
0
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
61912a63d4b890877c2c83098c15c3ea66d9fd06
92
py
Python
goodsunit/apps.py
skyydq/GreaterWMS
e14014a73b36ec0f0df03712a229b0931cb388fb
[ "Apache-2.0" ]
1,063
2020-11-15T12:55:15.000Z
2022-03-31T14:33:12.000Z
goodsunit/apps.py
ashrafali46/GreaterWMS
1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72
[ "Apache-2.0" ]
96
2020-11-18T00:06:05.000Z
2022-03-03T09:05:39.000Z
goodsunit/apps.py
ashrafali46/GreaterWMS
1aed14a8c26c8ac4571db5e6b07ab7e4fa3c7c72
[ "Apache-2.0" ]
349
2020-11-15T13:15:30.000Z
2022-03-31T11:01:15.000Z
from django.apps import AppConfig class GoodsunitConfig(AppConfig): name = 'goodsunit'
18.4
33
0.771739
10
92
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.152174
92
4
34
23
0.910256
0
0
0
0
0
0.097826
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
4eee6c97eeba80db9713badaec34f0afe941e979
600
py
Python
python/models/line.py
nathanmentley/coverlet.vim
0a69f0dde3e045df26e5eb1aff78af6e80d6ffe0
[ "MIT" ]
null
null
null
python/models/line.py
nathanmentley/coverlet.vim
0a69f0dde3e045df26e5eb1aff78af6e80d6ffe0
[ "MIT" ]
null
null
null
python/models/line.py
nathanmentley/coverlet.vim
0a69f0dde3e045df26e5eb1aff78af6e80d6ffe0
[ "MIT" ]
null
null
null
""" This file is subject to the terms and conditions defined in file 'LICENSE', which is part of this source code package. Copyright 2020 Nathan Mentley """ class Line: """ """ _covered = false _number = 0 def __init__(self, covered, number): self.set_covered(covered) self.se...
20
75
0.645
76
600
4.881579
0.447368
0.148248
0.145553
0
0
0
0
0
0
0
0
0.01139
0.268333
600
29
76
20.689655
0.833713
0.255
0
0
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4ef4ca362f9d2bf9e518de5ded1bdb80a83ef439
299
py
Python
tests/surrogates/generators/util.py
bbieniek/deidentify
7021bf0540e0a7f931e65544d12a2909c79a14eb
[ "MIT" ]
64
2020-01-16T16:20:47.000Z
2022-03-31T12:59:19.000Z
tests/surrogates/generators/util.py
HabibMrad/deidentify
d8960a74c852a71b29a6ee0fd6a3cf7f946a5f60
[ "MIT" ]
14
2020-01-28T08:47:06.000Z
2022-02-12T08:32:12.000Z
tests/surrogates/generators/util.py
HabibMrad/deidentify
d8960a74c852a71b29a6ee0fd6a3cf7f946a5f60
[ "MIT" ]
12
2020-01-21T07:54:04.000Z
2022-02-19T06:42:53.000Z
from deidentify.surrogates.generators import RandomData class RandomDataMock(RandomData): def digit(self, digits='1'): return digits def ascii_lowercase(self): return 'c' def ascii_uppercase(self): return 'C' def choice(self, seq): return seq[0]
18.6875
55
0.648829
35
299
5.485714
0.6
0.083333
0.114583
0.145833
0
0
0
0
0
0
0
0.009009
0.257525
299
15
56
19.933333
0.855856
0
0
0
0
0
0.010033
0
0
0
0
0
0
1
0.4
false
0
0.1
0.4
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f62b85f27fe7449a989be30625d47ad7f40e8b26
373
py
Python
tests/classes/linked_default_user.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
50
2021-08-18T08:08:04.000Z
2022-03-20T07:23:26.000Z
tests/classes/linked_default_user.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
1
2021-02-21T03:18:09.000Z
2021-03-08T01:07:52.000Z
tests/classes/linked_default_user.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
8
2021-07-01T02:39:15.000Z
2021-12-10T02:20:18.000Z
from __future__ import annotations from typing import Annotated, TYPE_CHECKING from jsonclasses import jsonclass, linkedthru, types if TYPE_CHECKING: from tests.classes.linked_default_post import LinkedDefaultPost @jsonclass class LinkedDefaultUser: name: str = types.str.default('Default User') posts: Ann...
31.083333
67
0.806971
43
373
6.813953
0.627907
0.081911
0.109215
0
0
0
0
0
0
0
0
0
0.123324
373
11
68
33.909091
0.896024
0
0
0
0
0
0.045576
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
f63292353513ada277c66f2089abce1c43cd4d74
80
py
Python
4-SoftwareEngineering/Debugging/lint_example.py
wking/swc-workshop
b8e0bd7e95213eda60defb644cdd1c4bf78cbbd8
[ "CC-BY-3.0" ]
null
null
null
4-SoftwareEngineering/Debugging/lint_example.py
wking/swc-workshop
b8e0bd7e95213eda60defb644cdd1c4bf78cbbd8
[ "CC-BY-3.0" ]
null
null
null
4-SoftwareEngineering/Debugging/lint_example.py
wking/swc-workshop
b8e0bd7e95213eda60defb644cdd1c4bf78cbbd8
[ "CC-BY-3.0" ]
1
2020-04-13T19:19:03.000Z
2020-04-13T19:19:03.000Z
import os space = """ # I like Space """ print spcae
2.424242
14
0.4125
8
80
4.125
0.875
0
0
0
0
0
0
0
0
0
0
0
0.4875
80
32
15
2.5
0.804878
0
0
0
0
0
0.5125
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
f6703ad5ee21c6ad837ec6de9f214cbe89aea6b3
593
py
Python
spiketools/tests/spatial/test_utils.py
claire98han/SpikeTools
f1cdffd50e2cbdb75961a716425c4665aa930f54
[ "Apache-2.0" ]
1
2022-03-09T19:40:37.000Z
2022-03-09T19:40:37.000Z
spiketools/tests/spatial/test_utils.py
claire98han/SpikeTools
f1cdffd50e2cbdb75961a716425c4665aa930f54
[ "Apache-2.0" ]
35
2021-09-28T15:13:31.000Z
2021-11-26T04:38:08.000Z
spiketools/tests/spatial/test_utils.py
claire98han/SpikeTools
f1cdffd50e2cbdb75961a716425c4665aa930f54
[ "Apache-2.0" ]
4
2021-09-28T14:56:24.000Z
2022-03-09T21:00:31.000Z
"""Tests for spiketools.spatial.utils""" import numpy as np from spiketools.spatial.utils import * ################################################################################################### ################################################################################################### def test_get_pos_...
25.782609
99
0.394604
64
593
3.5
0.5
0.151786
0.196429
0.25
0.044643
0
0
0
0
0
0
0.043738
0.151771
593
22
100
26.954545
0.40159
0.057336
0
0
0
0
0
0
0
0
0
0
0.090909
1
0.181818
false
0
0.181818
0
0.363636
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f6724b4d33f23df0357c965c6a2b807fd7d327a0
5,806
py
Python
monitoring/prober/rid/v2/test_subscription_isa_interactions.py
interuss/InterUSS-Platform
099abaa1159c4c143f8f1fde6b88956c86608281
[ "Apache-2.0" ]
null
null
null
monitoring/prober/rid/v2/test_subscription_isa_interactions.py
interuss/InterUSS-Platform
099abaa1159c4c143f8f1fde6b88956c86608281
[ "Apache-2.0" ]
null
null
null
monitoring/prober/rid/v2/test_subscription_isa_interactions.py
interuss/InterUSS-Platform
099abaa1159c4c143f8f1fde6b88956c86608281
[ "Apache-2.0" ]
null
null
null
"""Test subscriptions interact with ISAs: - Create an ISA. - Create a subscription, response should include the pre-existing ISA. - Modify the ISA, response should include the subscription. - Delete the ISA, response should include the subscription. - Delete the subscription. """ import datetime from monit...
33.755814
109
0.636411
711
5,806
4.971871
0.157525
0.061103
0.055446
0.057709
0.784441
0.751627
0.715134
0.693918
0.665064
0.637058
0
0.024499
0.226662
5,806
171
110
33.953216
0.762806
0.102308
0
0.634921
0
0
0.130762
0
0
0
0
0
0.134921
1
0.047619
false
0.015873
0.047619
0
0.095238
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
9c9121554c230c99d26f542c27d82c05a6884120
85
py
Python
tests/fixtures/test_body_block_content/content_08_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
9
2015-04-16T08:13:31.000Z
2020-05-18T14:03:06.000Z
tests/fixtures/test_body_block_content/content_08_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
310
2015-02-11T00:30:09.000Z
2021-07-14T23:58:50.000Z
tests/fixtures/test_body_block_content/content_08_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
9
2015-02-04T01:21:28.000Z
2021-06-15T12:50:47.000Z
from collections import OrderedDict expected = OrderedDict([("type", "paragraph")])
21.25
47
0.752941
8
85
8
0.875
0
0
0
0
0
0
0
0
0
0
0
0.105882
85
3
48
28.333333
0.842105
0
0
0
0
0
0.152941
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
9c9cfdc0d49f0f2b3c742233ec468b35bd8844d8
12,284
py
Python
kubernetes/client/models/com_coreos_monitoring_v1alpha1_alertmanager_config_spec_route.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
kubernetes/client/models/com_coreos_monitoring_v1alpha1_alertmanager_config_spec_route.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
kubernetes/client/models/com_coreos_monitoring_v1alpha1_alertmanager_config_spec_route.py
mariusgheorghies/python
68ac7e168963d8b5a81dc493b1973d29e903a15b
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: v1.20.7 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six fr...
38.507837
242
0.67185
1,290
12,284
6.269767
0.142636
0.042532
0.237389
0.189911
0.626731
0.5523
0.538947
0.405292
0.342112
0.274728
0
0.025022
0.25171
12,284
318
243
38.628931
0.854874
0.520677
0
0.089552
1
0
0.071457
0.01336
0
0
0
0
0
1
0.164179
false
0
0.029851
0
0.328358
0.014925
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
9cd794e66bd6c3f1eacaa1e7ee8149d34472b377
2,870
py
Python
CEC/bound_X.py
ZongSingHuang/Metaheuristic-benchmark
a454ee02ffe206d925a6193a60cf6bcb772213a0
[ "MIT" ]
null
null
null
CEC/bound_X.py
ZongSingHuang/Metaheuristic-benchmark
a454ee02ffe206d925a6193a60cf6bcb772213a0
[ "MIT" ]
null
null
null
CEC/bound_X.py
ZongSingHuang/Metaheuristic-benchmark
a454ee02ffe206d925a6193a60cf6bcb772213a0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Aug 26 15:01:28 2021 @author: zongsing.huang """ import numpy as np def Sphere(): return [-100, 100] def Rastrigin(): return [-5.12, 5.12] def Ackley(): return [-32, 32] def Griewank(): return [-600, 600] def Schwefel_P222(): return [-10, 10] def Ro...
13.537736
46
0.569686
399
2,870
4.085213
0.288221
0.042945
0.088344
0.110429
0.053988
0.03681
0
0
0
0
0
0.147754
0.247735
2,870
212
47
13.537736
0.607226
0.043902
0
0.37037
0
0
0
0
0
0
0
0
0
1
0.496296
false
0
0.007407
0.496296
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9cde92b995f4fe103861f20f97279ceeb7ef3aec
1,035
py
Python
snake_game/sprites/sprite.py
carlosjasso/pygame-snake
417f3515b2343a9ed3a1e39f7ca22159faaf3731
[ "Unlicense" ]
null
null
null
snake_game/sprites/sprite.py
carlosjasso/pygame-snake
417f3515b2343a9ed3a1e39f7ca22159faaf3731
[ "Unlicense" ]
null
null
null
snake_game/sprites/sprite.py
carlosjasso/pygame-snake
417f3515b2343a9ed3a1e39f7ca22159faaf3731
[ "Unlicense" ]
null
null
null
from pathlib import Path import pygame from pygame import Surface from utils.types import SpritePosition class Sprite: _surface : Surface _position_x : int _position_y : int @property def position(self) -> SpritePosition: return SpritePosition(self._position_x, self._position_y...
25.243902
66
0.627053
121
1,035
5.107438
0.272727
0.116505
0.063107
0.087379
0.087379
0.087379
0
0
0
0
0
0.002721
0.289855
1,035
40
67
25.875
0.838095
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.21875
false
0
0.125
0.125
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
140c0832c5169d81c75e6797b866a5e4950f0755
3,583
py
Python
module1-introduction-to-sql/rpg_queries.py
popkdodge/DS-Unit-3-Sprint-2-SQL-and-Databases
0cf72a94323837ffd5f304853da4b045fbaf207b
[ "MIT" ]
null
null
null
module1-introduction-to-sql/rpg_queries.py
popkdodge/DS-Unit-3-Sprint-2-SQL-and-Databases
0cf72a94323837ffd5f304853da4b045fbaf207b
[ "MIT" ]
null
null
null
module1-introduction-to-sql/rpg_queries.py
popkdodge/DS-Unit-3-Sprint-2-SQL-and-Databases
0cf72a94323837ffd5f304853da4b045fbaf207b
[ "MIT" ]
null
null
null
import sqlite3 # Connecting to a DB conn = sqlite3.connect('rpg_db.sqlite3') cursor = conn.cursor() ''' - How many total Characters are there? - How many of each specific subclass? - How many total Items? - How many of the Items are weapons? How many are not? - How many Items does each character have? (Return firs...
30.623932
95
0.764722
466
3,583
5.695279
0.188841
0.235494
0.140919
0.12208
0.558779
0.546345
0.490203
0.444612
0.415976
0.40731
0
0.017964
0.114429
3,583
116
96
30.887931
0.818468
0.01535
0
0.376344
0
0
0.833387
0.496629
0
0
0
0
0
1
0
false
0
0.010753
0
0.010753
0.11828
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
144955888f5c54fe41f46a2f8e51761c02e6e894
10,314
py
Python
pylie/methods/data.py
MD-Studio/MDStudio_pylie
9ac0ce81fd38d908ad2ff5b06ad8d09ee660337c
[ "Apache-2.0" ]
1
2018-07-08T13:57:09.000Z
2018-07-08T13:57:09.000Z
pylie/methods/data.py
MD-Studio/MDStudio_pylie
9ac0ce81fd38d908ad2ff5b06ad8d09ee660337c
[ "Apache-2.0" ]
1
2018-08-09T15:50:29.000Z
2018-08-10T09:09:28.000Z
pylie/methods/data.py
MD-Studio/MDStudio_pylie
9ac0ce81fd38d908ad2ff5b06ad8d09ee660337c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Chemical information resource class: - aa: amino-acid - dna: DNA """ GREEK_ALPHABET = ['alpha', 'beta', 'gamma', 'delta', 'epsilon', 'zeta', 'eta', 'theta', 'iota', 'kappa', 'lambda', 'mu', 'nu', 'xi', 'omicron', 'pi', 'rho', 'sigma', 'tau', 'upsilon', 'phi', ...
45.84
112
0.403335
1,255
10,314
3.30757
0.318725
0.131053
0.212961
0.327632
0.49458
0.079258
0.028427
0.028427
0
0
0
0.097938
0.266434
10,314
224
113
46.044643
0.450701
0.041885
0
0
0
0
0.32448
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
14524eb847ba51d4b65ea389ea4edbefaa2eabbb
521
py
Python
App/hefesto_logging/management/commands/delete_old_logs.py
ZikloSolar/Hefesto
b04675d9c0a70bbf4a637780dd098b9c7e93549b
[ "MIT" ]
1
2021-11-29T07:54:28.000Z
2021-11-29T07:54:28.000Z
App/hefesto_logging/management/commands/delete_old_logs.py
ZikloSolar/Hefesto
b04675d9c0a70bbf4a637780dd098b9c7e93549b
[ "MIT" ]
null
null
null
App/hefesto_logging/management/commands/delete_old_logs.py
ZikloSolar/Hefesto
b04675d9c0a70bbf4a637780dd098b9c7e93549b
[ "MIT" ]
3
2020-03-25T20:20:22.000Z
2021-11-10T05:20:20.000Z
import datetime import logging from django.core.management.base import BaseCommand from django.utils.timezone import now from ... import models logger = logging.getLogger(__name__) class Command(BaseCommand): """Delete all logs older that 2 days.""" def handle(self, *args, **options): try: ...
24.809524
72
0.679463
64
521
5.40625
0.71875
0.057803
0
0
0
0
0
0
0
0
0
0.012255
0.216891
521
20
73
26.05
0.835784
0.142035
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0.076923
0.384615
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
145e29c7e4eafea3bd11eba2f559a1ea96c5e4ac
148
py
Python
api/urls.py
BrenoRezende/DjangoBlog
f237d831a3dfcf006aaf50ba4aa66c89312bb389
[ "MIT" ]
null
null
null
api/urls.py
BrenoRezende/DjangoBlog
f237d831a3dfcf006aaf50ba4aa66c89312bb389
[ "MIT" ]
null
null
null
api/urls.py
BrenoRezende/DjangoBlog
f237d831a3dfcf006aaf50ba4aa66c89312bb389
[ "MIT" ]
null
null
null
from django.urls import path from . import views app_name = 'api' urlpatterns = [ path('artigos/', views.artigos_api, name='listar_artigos') ]
18.5
62
0.716216
20
148
5.15
0.6
0
0
0
0
0
0
0
0
0
0
0
0.155405
148
8
63
18.5
0.824
0
0
0
0
0
0.167785
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
146f3c70fb899ac1b910372f6639e82b09121d4c
17,814
py
Python
prof/views.py
nikhil-nk/IITG-Faculty-Portal
6d89b97cf44f7eb7c7778c79b3a3d9fda8d8fb0d
[ "MIT" ]
null
null
null
prof/views.py
nikhil-nk/IITG-Faculty-Portal
6d89b97cf44f7eb7c7778c79b3a3d9fda8d8fb0d
[ "MIT" ]
null
null
null
prof/views.py
nikhil-nk/IITG-Faculty-Portal
6d89b97cf44f7eb7c7778c79b3a3d9fda8d8fb0d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from .models import professor,department,education,award_fellowships,award_achievement,experience,project,publication_books,publication_conferences,publication_journals,publication_thesis,student_completed,student_ongoing from django.http import Http404 fr...
30.713793
221
0.633715
2,157
17,814
5.080204
0.105239
0.068261
0.090162
0.100748
0.742015
0.722668
0.713725
0.692645
0.675762
0.642727
0
0.009106
0.235545
17,814
579
222
30.766839
0.795565
0.105647
0
0.661728
0
0
0.113591
0.018848
0
0
0
0
0
1
0.079012
false
0.012346
0.032099
0
0.234568
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
1adb1e193f4be962c6dcc25b8ef37644546c45ed
2,115
py
Python
django/engagementmanager/http_client.py
onap/vvp-engagementmgr
8d2108708e7c55cc753b956563c535177f92d0d9
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
django/engagementmanager/http_client.py
onap/vvp-engagementmgr
8d2108708e7c55cc753b956563c535177f92d0d9
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
django/engagementmanager/http_client.py
onap/vvp-engagementmgr
8d2108708e7c55cc753b956563c535177f92d0d9
[ "Apache-2.0", "CC-BY-4.0" ]
1
2021-10-19T15:17:09.000Z
2021-10-19T15:17:09.000Z
# # ============LICENSE_START========================================== # org.onap.vvp/engagementmgr # =================================================================== # Copyright © 2017 AT&T Intellectual Property. All rights reserved. # =================================================================== # # Unless ...
38.454545
76
0.644444
258
2,115
5.263566
0.426357
0.088365
0.038292
0.047128
0.540501
0.540501
0.4919
0.453608
0.453608
0.453608
0
0.006869
0.173995
2,115
54
77
39.166667
0.769891
0.791962
0
0
0
0
0.010363
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
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
1
0
0
0
1
1
0
0
3
1aed5ce901a5cf92530205ccd41ef6dae9287929
78
py
Python
prototype/test/pythonvm_book/test_native.py
zoloypzuo/ZeloPy
43d9242a509737fe1bb66deba73aa9e749b53c62
[ "MIT" ]
null
null
null
prototype/test/pythonvm_book/test_native.py
zoloypzuo/ZeloPy
43d9242a509737fe1bb66deba73aa9e749b53c62
[ "MIT" ]
null
null
null
prototype/test/pythonvm_book/test_native.py
zoloypzuo/ZeloPy
43d9242a509737fe1bb66deba73aa9e749b53c62
[ "MIT" ]
null
null
null
s = "hello" #print len(s) def py_len(o): return len(o) print py_len(s)
8.666667
17
0.602564
16
78
2.8125
0.5
0.177778
0
0
0
0
0
0
0
0
0
0
0.230769
78
8
18
9.75
0.75
0.153846
0
0
0
0
0.076923
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
21015e9d178346bb26d43e74a37b88a0c4fcce5c
764
py
Python
firewall/pynft/fixed_size_array.py
vivitek/box
82b8f9fec3b92b38b8587e18bdfeb08d50708d03
[ "CC-BY-4.0" ]
2
2020-05-28T14:39:46.000Z
2020-06-19T18:38:46.000Z
firewall/pynft/fixed_size_array.py
vivitek/deep-thought
9f0e3ec1e1c1dbc14466ec8ebd24ae83e6fcee94
[ "CC-BY-4.0" ]
35
2020-06-19T18:43:47.000Z
2021-04-02T13:23:30.000Z
firewall/pynft/fixed_size_array.py
vivitek/box
82b8f9fec3b92b38b8587e18bdfeb08d50708d03
[ "CC-BY-4.0" ]
1
2020-09-01T16:08:49.000Z
2020-09-01T16:08:49.000Z
#!/usr/bin/env python3 class fixedSizeArray(object): def __init__(self, arraySize): self.arraySize = arraySize self.array = [None] * self.arraySize def __repr__(self): return str(self.array) def __get__(self, instance, owner): return self.array def append(self, index=...
30.56
79
0.621728
95
764
4.873684
0.515789
0.112311
0.051836
0.077754
0.095032
0
0
0
0
0
0
0.00367
0.286649
764
25
79
30.56
0.845872
0.027487
0
0.105263
0
0
0.201884
0
0
0
0
0
0
1
0.263158
false
0
0
0.105263
0.526316
0.157895
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
211a6eed4780762d757ddb8aebc1b5b8307ef8ee
891
py
Python
padouban/items.py
wt21/Movies_Recommend
97060ba44c7ac55d631c3198d1ec67e54a8cb9df
[ "MIT" ]
1
2020-01-08T10:48:48.000Z
2020-01-08T10:48:48.000Z
padouban/items.py
wt21/Movies_Recommend
97060ba44c7ac55d631c3198d1ec67e54a8cb9df
[ "MIT" ]
1
2020-04-02T07:14:19.000Z
2020-04-02T07:14:19.000Z
padouban/items.py
wt21/Movies_Recommend
97060ba44c7ac55d631c3198d1ec67e54a8cb9df
[ "MIT" ]
1
2020-01-06T16:13:50.000Z
2020-01-06T16:13:50.000Z
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class PadoubanItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() # 电影编号 rank = scrapy.Field() ...
19.8
53
0.601571
108
891
4.898148
0.592593
0.332703
0.05293
0
0
0
0
0
0
0
0
0.001548
0.274972
891
44
54
20.25
0.817337
0.316498
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.944444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
21266097390d589c2fc268b9529a306f842ee587
2,139
py
Python
app/models.py
Millyn/Flask_blog
f1784da8572e667f9385322c5c4c74b03f51a8b8
[ "Apache-2.0" ]
null
null
null
app/models.py
Millyn/Flask_blog
f1784da8572e667f9385322c5c4c74b03f51a8b8
[ "Apache-2.0" ]
null
null
null
app/models.py
Millyn/Flask_blog
f1784da8572e667f9385322c5c4c74b03f51a8b8
[ "Apache-2.0" ]
null
null
null
# -*- coding=utf-8 -*- from . import db, login_manager from datetime import datetime from werkzeug.security import generate_password_hash, check_password_hash # 引入密码加密 验证方法 from flask.ext.login import UserMixin # 引入flask-login用户模型继承类方法 class Pageabout(db.Model): __tablename__ = 'pageabouts' id = db.Column(d...
35.065574
88
0.712015
279
2,139
5.293907
0.290323
0.097495
0.121869
0.056872
0.410968
0.410968
0.410968
0.352065
0.30738
0.30738
0
0.008894
0.158953
2,139
60
89
35.65
0.812118
0.078541
0
0.227273
1
0
0.053971
0
0
0
0
0
0
1
0.090909
false
0.181818
0.090909
0.045455
0.886364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3