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
4f26cdc48806c7e0b87f557afa78a7a053262e04
644
py
Python
backend/src/error.py
rainflame/pith-api
f3eb48d2d43aad8583d2732e71c1847e109d3708
[ "Apache-2.0" ]
4
2020-11-13T11:01:29.000Z
2021-07-28T17:15:15.000Z
backend/src/error.py
rainflame/pith-api
f3eb48d2d43aad8583d2732e71c1847e109d3708
[ "Apache-2.0" ]
67
2020-12-03T22:01:07.000Z
2021-05-05T23:21:08.000Z
backend/src/error.py
rainflame/pith-api
f3eb48d2d43aad8583d2732e71c1847e109d3708
[ "Apache-2.0" ]
1
2021-01-02T23:05:15.000Z
2021-01-02T23:05:15.000Z
import enum class Errors(enum.Enum): SERVER_ERR = -1 """ Internal server error. """ BAD_REQUEST = -2 """ Malformed JSON request. """ DNE_BOARD = -3 """ Given board ID does not exist. """ DNE_DISC = -4 """ Given discussion ID does not exist. """ DNE_UNIT = -5 """ Given unit ID does not exist. ...
11.709091
57
0.596273
96
644
3.895833
0.458333
0.080214
0.120321
0.187166
0.262032
0
0
0
0
0
0
0.023013
0.257764
644
54
58
11.925926
0.759414
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.083333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4f42ca0a57404f7f7c817543e6e63d6711f46c07
53
py
Python
constants.py
dimitrijoy/fact_check_explorer_api
3be6ae323a9fd2a2a23ccb8a3918ecc1905398ed
[ "MIT" ]
null
null
null
constants.py
dimitrijoy/fact_check_explorer_api
3be6ae323a9fd2a2a23ccb8a3918ecc1905398ed
[ "MIT" ]
null
null
null
constants.py
dimitrijoy/fact_check_explorer_api
3be6ae323a9fd2a2a23ccb8a3918ecc1905398ed
[ "MIT" ]
null
null
null
CLAIMANT_START = 9 CLAIMANT_END = -1 TIME_LIMIT = 5
17.666667
19
0.735849
9
53
4
0.888889
0
0
0
0
0
0
0
0
0
0
0.069767
0.188679
53
3
20
17.666667
0.767442
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4f5fb8384f3133e7b8c60aa47d6e0a9ce36aca60
279
py
Python
fdap/app/contracts/service.py
miniyus/AutomaticPosting-Python
0627066e60d5cd474ed858e1567bcf6b5b1d9336
[ "MIT" ]
null
null
null
fdap/app/contracts/service.py
miniyus/AutomaticPosting-Python
0627066e60d5cd474ed858e1567bcf6b5b1d9336
[ "MIT" ]
null
null
null
fdap/app/contracts/service.py
miniyus/AutomaticPosting-Python
0627066e60d5cd474ed858e1567bcf6b5b1d9336
[ "MIT" ]
null
null
null
from fdap.app.contracts.logging import Logging from fdap.app.exceptions.parse_exceptoin import ParseException class Service(Logging): def __init__(self): super().__init__() def throw(self, code: int, message: str): raise ParseException(code, message)
23.25
62
0.724014
34
279
5.676471
0.647059
0.082902
0.11399
0
0
0
0
0
0
0
0
0
0.179211
279
11
63
25.363636
0.842795
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
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
0
0
0
1
0
0
0
0
1
0
0
2
4f6153c5d523270f9fd2f96d5bd4ecb2fec4da18
2,784
py
Python
py_system/prototype/__init__.py
mingpz2010/PhysicsThinker
adb0bc4296489df949ea2f0d26b4344abffbb740
[ "MIT" ]
1
2021-07-30T05:43:23.000Z
2021-07-30T05:43:23.000Z
py_system/prototype/__init__.py
mingpz2010/PhysicsThinker
adb0bc4296489df949ea2f0d26b4344abffbb740
[ "MIT" ]
null
null
null
py_system/prototype/__init__.py
mingpz2010/PhysicsThinker
adb0bc4296489df949ea2f0d26b4344abffbb740
[ "MIT" ]
1
2021-09-23T05:10:05.000Z
2021-09-23T05:10:05.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- """ The basic algorithm simulation archtecture of the C/C++ system """ import numpy as np PRIME= np.array([2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, ...
59.234043
93
0.633261
488
2,784
3.612705
0.991803
0
0
0
0
0
0
0
0
0
0
0.731535
0.187859
2,784
46
94
60.521739
0.048209
0.036638
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.026316
0
0.026316
0.026316
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
0
0
0
0
0
0
0
2
4f662eb986d34880092b519167dbefba826bd555
948
py
Python
dci/alembic/versions/732a3e25e65e_remove_topics_label_column.py
redhat-cip/dci-control-server
6dee30e7b8770fde2466f2b09554d299a3f3db4d
[ "Apache-2.0" ]
17
2016-09-02T09:21:29.000Z
2021-09-27T11:33:58.000Z
dci/alembic/versions/732a3e25e65e_remove_topics_label_column.py
redhat-cip/dci-control-server
6dee30e7b8770fde2466f2b09554d299a3f3db4d
[ "Apache-2.0" ]
80
2015-12-09T09:29:26.000Z
2021-01-06T08:24:22.000Z
dci/alembic/versions/732a3e25e65e_remove_topics_label_column.py
redhat-cip/dci-control-server
6dee30e7b8770fde2466f2b09554d299a3f3db4d
[ "Apache-2.0" ]
10
2015-09-29T21:34:53.000Z
2021-09-27T11:34:01.000Z
# # Copyright (C) 2018 Red Hat, Inc # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
24.307692
75
0.748945
140
948
5.042857
0.7
0.084986
0.036827
0.045326
0
0
0
0
0
0
0
0.078382
0.165612
948
38
76
24.947368
0.814159
0.743671
0
0
0
0
0.158371
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
0
0.333333
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
0
0
0
2
4f8409fbda6dae3ea0bf17082ec77e9764d0084a
2,504
py
Python
src/python/utility/strings.py
andyjost/Sprite
7ecd6fc7d48d7f62da644e48c12c7b882e1a2929
[ "MIT" ]
1
2022-03-16T16:37:11.000Z
2022-03-16T16:37:11.000Z
src/python/utility/strings.py
andyjost/Sprite
7ecd6fc7d48d7f62da644e48c12c7b882e1a2929
[ "MIT" ]
null
null
null
src/python/utility/strings.py
andyjost/Sprite
7ecd6fc7d48d7f62da644e48c12c7b882e1a2929
[ "MIT" ]
null
null
null
from six import PY2, PY3, text_type, binary_type def ensure_str_safe(arg, encoding='utf-8', errors='strict'): '''Like ensure_str, but passes non-string-like objects through.''' if isinstance(arg, (text_type, binary_type)): return ensure_str(arg, encoding, errors) else: return arg def ensure_binary_safe(...
27.822222
71
0.632188
343
2,504
4.510204
0.166181
0.046542
0.046542
0.069813
0.765999
0.735617
0.67033
0.649644
0.529412
0.334195
0
0.00826
0.226438
2,504
89
72
28.134831
0.790398
0.28754
0
0.604167
0
0
0.081081
0
0
0
0
0
0
1
0.125
false
0
0.145833
0
0.5625
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4f898950bd23bd22fc1c578bc470b5479f4fcb9f
1,034
py
Python
tests/test_books.py
pavlovprojects/python_qa_module_testing
50c6df046d49c0f66f0e870fee9ceae3bea1c656
[ "MIT" ]
null
null
null
tests/test_books.py
pavlovprojects/python_qa_module_testing
50c6df046d49c0f66f0e870fee9ceae3bea1c656
[ "MIT" ]
null
null
null
tests/test_books.py
pavlovprojects/python_qa_module_testing
50c6df046d49c0f66f0e870fee9ceae3bea1c656
[ "MIT" ]
1
2021-12-09T13:45:42.000Z
2021-12-09T13:45:42.000Z
import unittest from src import Book class TestBookClass(unittest.TestCase): BOOK_DATA = {"title": "Просто Книга", "author": "Просто Автор", "genre": "Боевик", "year": "2020"} def setUp(self): self.book = Book(self.BOOK_DATA) def test_book_attributes(self): self.assertE...
39.769231
115
0.659574
125
1,034
5.344
0.256
0.155689
0.125749
0.137725
0.305389
0.260479
0.131737
0.131737
0
0
0
0.004689
0.175048
1,034
25
116
41.36
0.778429
0
0
0
0
0
0.222437
0.05029
0
0
0
0
0.444444
1
0.222222
false
0
0.111111
0
0.444444
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
1
0
1
0
0
0
0
0
0
0
2
4f8ac57a92e2b4688b955d869afd3df1b3b42622
415
py
Python
colors.py
mmarchetti/cv_sandbox
de6a9aaab91e89029e4fbd6c4b117b4c09104156
[ "MIT" ]
null
null
null
colors.py
mmarchetti/cv_sandbox
de6a9aaab91e89029e4fbd6c4b117b4c09104156
[ "MIT" ]
null
null
null
colors.py
mmarchetti/cv_sandbox
de6a9aaab91e89029e4fbd6c4b117b4c09104156
[ "MIT" ]
null
null
null
# BGR colors WHITE = (255, 255, 255) BLACK = (0, 0, 0) GRAY25 = (64, 64, 64) GRAY50 = (128, 128, 128) GRAY75 = (192, 192, 192) GRAY33 = (85, 85, 85) GRAY66 = (170, 170, 170) BLUE = (255, 0, 0) GREEN = (0, 255, 0) RED = (0, 0, 255) CYAN = (255, 255, 0) MAGENTA = (255, 0, 255) YELLOW = (0, 255, 255) ORANGE = (0, 12...
15.37037
24
0.539759
74
415
3.027027
0.364865
0.107143
0
0
0
0
0
0
0
0
0
0.419048
0.240964
415
26
25
15.961538
0.292063
0.024096
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
2
4f8e2af0a1be181305e80ffe22d32fb314a6cd06
8,386
py
Python
src/ebay_rest/api/sell_account/api/rate_table_api.py
craiga/ebay_rest
a0be2677c65a787e9566df848ffa3ad0c309a9d9
[ "MIT" ]
null
null
null
src/ebay_rest/api/sell_account/api/rate_table_api.py
craiga/ebay_rest
a0be2677c65a787e9566df848ffa3ad0c309a9d9
[ "MIT" ]
null
null
null
src/ebay_rest/api/sell_account/api/rate_table_api.py
craiga/ebay_rest
a0be2677c65a787e9566df848ffa3ad0c309a9d9
[ "MIT" ]
null
null
null
# coding: utf-8 """ Account API The <b>Account API</b> gives sellers the ability to configure their eBay seller accounts, including the seller's policies (the Fulfillment Policy, Payment Policy, and Return Policy), opt in and out of eBay seller programs, configure sales tax tables, and get account information...
67.088
1,665
0.71834
1,204
8,386
4.881229
0.221761
0.052748
0.02212
0.012251
0.700868
0.69236
0.686064
0.673133
0.673133
0.673133
0
0.009648
0.221321
8,386
124
1,666
67.629032
0.890352
0.687217
0
0
0
0
0.144482
0.027801
0
0
0
0
0
1
0.051724
false
0
0.068966
0
0.189655
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4fa7f9825677d8a15a407797f552a24ac0208773
719
py
Python
blogs/blog/db/post.py
caifeifei0329/blogs_study
1976049e3f6d6a68ec08f365f561e33dbfdd7af0
[ "MIT" ]
null
null
null
blogs/blog/db/post.py
caifeifei0329/blogs_study
1976049e3f6d6a68ec08f365f561e33dbfdd7af0
[ "MIT" ]
null
null
null
blogs/blog/db/post.py
caifeifei0329/blogs_study
1976049e3f6d6a68ec08f365f561e33dbfdd7af0
[ "MIT" ]
null
null
null
import datetime from sqlalchemy.orm import relationship from sqlalchemy import Column, Integer, String, DateTime, ForeignKey from .base import Base class Post(Base): __tablename__ = "post" id = Column(Integer, primary_key=True, autoincrement=True,) title = Column(String) content = Column(String) ...
27.653846
68
0.72879
86
719
5.94186
0.337209
0.101761
0.088063
0.086106
0.344423
0.344423
0.344423
0.180039
0
0
0
0
0.162726
719
25
69
28.76
0.848837
0
0
0
0
0
0.032033
0
0
0
0
0
0
1
0
false
0.052632
0.210526
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
0
1
0
0
1
0
0
2
4fa81f70bbc5b3071cf7b0d22cc6361288cf45fd
567
py
Python
SpaceHabitRPG/Models/BaseModel.py
joelliusp/SpaceHabit
5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5
[ "MIT" ]
null
null
null
SpaceHabitRPG/Models/BaseModel.py
joelliusp/SpaceHabit
5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5
[ "MIT" ]
13
2016-07-19T04:13:20.000Z
2016-08-17T06:06:47.000Z
SpaceHabitRPG/Models/BaseModel.py
joelliusp/SpaceHabit
5656ef4d9c57f3e58d0ed756a3aa754c8a7dd6a5
[ "MIT" ]
null
null
null
from AllDBFields import BaseFields class BaseModel(object): @classmethod def get_dbFields(cls): return BaseFields def __init__(self): self._changes = {} self.dict = {} def get_pk(self): if not self.get_dbFields().PK_KEY in self.dict: return None return self.dict[self.get_dbFields()...
23.625
72
0.671958
82
567
4.47561
0.573171
0.087193
0.081744
0.092643
0.108992
0
0
0
0
0
0
0
0.229277
567
24
73
23.625
0.839817
0.190476
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
96c47a655dce7f66022c91983ed12631497cdf7a
3,505
py
Python
solutions/061_solution_02.py
UFResearchComputing/py4ai
db7f80614f26274ec18556d56ea9f549c463165a
[ "CC-BY-4.0" ]
null
null
null
solutions/061_solution_02.py
UFResearchComputing/py4ai
db7f80614f26274ec18556d56ea9f549c463165a
[ "CC-BY-4.0" ]
null
null
null
solutions/061_solution_02.py
UFResearchComputing/py4ai
db7f80614f26274ec18556d56ea9f549c463165a
[ "CC-BY-4.0" ]
1
2021-04-27T09:50:54.000Z
2021-04-27T09:50:54.000Z
# 1. We can check out the first five rows of `americas` by executing # `americas.head()` (allowing us to view the head of the DataFrame). We can # specify the number of rows we wish to see by specifying the parameter `n` # in our call to `americas.head()`. To view the first three rows, execute: americas.head(n...
48.013699
88
0.6
464
3,505
4.474138
0.581897
0.038536
0.023121
0.010597
0.041426
0.041426
0
0
0
0
0
0.355063
0.343509
3,505
72
89
48.680556
0.547153
0.216548
0
0.097561
0
0
0.003009
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
96c4e994b1d25f27a9f7a8f4e3ac20a15565218f
356
py
Python
orchard/configuration/__init__.py
BMeu/Orchard
cd595c9942e4e1ad0032193059f2b39fdf3bcfba
[ "MIT" ]
2
2016-10-06T21:19:32.000Z
2016-10-06T21:58:04.000Z
orchard/configuration/__init__.py
BMeu/Orchard
cd595c9942e4e1ad0032193059f2b39fdf3bcfba
[ "MIT" ]
392
2016-10-06T17:13:30.000Z
2021-01-15T04:15:38.000Z
orchard/configuration/__init__.py
BMeu/Orchard
cd595c9942e4e1ad0032193059f2b39fdf3bcfba
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ A collection of default configurations for certain operation modes of |projectname|. """ from .basedir import basedir from .default import Default from .development import Development from .production import Production from .testing import Testing __all__ = ['basedir', 'Default', 'Dev...
25.428571
88
0.741573
40
356
6.5
0.5
0
0
0
0
0
0
0
0
0
0
0.003289
0.146067
356
13
89
27.384615
0.851974
0.300562
0
0
0
0
0.177215
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
96d7a7693677083f42f7c36c4040d5a17fb24251
255,665
py
Python
pdk8s/gen/io/k8s/api/core/v1.py
madron/pdk8s
bb6f6516a1252aac2875ec2da8e87347d4ac38e4
[ "Apache-2.0" ]
2
2020-06-06T13:57:34.000Z
2020-09-16T02:54:47.000Z
pdk8s/gen/io/k8s/api/core/v1.py
madron/pdk8s
bb6f6516a1252aac2875ec2da8e87347d4ac38e4
[ "Apache-2.0" ]
12
2020-06-11T09:36:58.000Z
2020-08-10T21:24:41.000Z
pdk8s/gen/io/k8s/api/core/v1.py
madron/pdk8s
bb6f6516a1252aac2875ec2da8e87347d4ac38e4
[ "Apache-2.0" ]
3
2020-08-09T19:38:48.000Z
2022-03-03T16:47:14.000Z
# automatically generated file. DO NOT CHANGE MANUALLY from __future__ import annotations from typing import Dict, List, Optional, Union from pydantic import BaseModel, Field import pdk8s.model from ..... import ( Allocatable, BinaryData, Capacity, Data, Default, DefaultRequest, Hard, ...
50.110741
1,225
0.704668
31,934
255,665
5.593443
0.067264
0.031491
0.026805
0.022842
0.677546
0.653826
0.624244
0.602925
0.589897
0.576897
0
0.004147
0.214413
255,665
5,101
1,226
50.120565
0.885191
0.000203
0
0.535769
1
0.089809
0.569549
0.01
0
0
0
0
0.00044
1
0
false
0.003082
0.001761
0
0.268105
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
96ff12fc13e85ce352565042348f4e7b8f96ba75
2,214
py
Python
cohesity_management_sdk/models/centrify_schema_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
18
2019-09-24T17:35:53.000Z
2022-03-25T08:08:47.000Z
cohesity_management_sdk/models/centrify_schema_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
18
2019-03-29T19:32:29.000Z
2022-01-03T23:16:45.000Z
cohesity_management_sdk/models/centrify_schema_enum.py
nick6655/management-sdk-python
88e792cb83e5c24a22af495b220c145d0c45841d
[ "Apache-2.0" ]
16
2019-02-27T06:54:12.000Z
2021-11-16T18:10:24.000Z
# -*- coding: utf-8 -*- # Copyright 2021 Cohesity Inc. class CentrifySchemaEnum(object): """Implementation of the 'CentrifySchema' enum. Specifies the schema of this Centrify zone. The below list of schemas and their values are taken from the document Centrify Server Suite 2016 Windows API Programmer...
38.842105
74
0.759711
257
2,214
6.280156
0.256809
0.018587
0.11772
0.142503
0.434325
0.148699
0.045849
0
0
0
0
0.086481
0.174797
2,214
56
75
39.535714
0.796935
0.684282
0
0
0
0
0.369231
0.249573
0
0
0
0.178571
0
1
0
false
0
0
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
1
0
0
0
0
0
0
0
1
0
0
2
8c0767f7bc1ccf8373b9e9335449d432d2d94a1b
162
py
Python
output/models/ms_data/complex_type/ct_d033_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/complex_type/ct_d033_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/complex_type/ct_d033_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.complex_type.ct_d033_xsd.ct_d033 import ( FooType, MyType, Root, ) __all__ = [ "FooType", "MyType", "Root", ]
13.5
68
0.617284
20
162
4.55
0.75
0.131868
0.373626
0
0
0
0
0
0
0
0
0.04918
0.246914
162
11
69
14.727273
0.696721
0
0
0
0
0
0.104938
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8c0d76bbc4698145e12dc8a80c1e9862e9917fbc
203
py
Python
lang/Python/equilibrium-index-4.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
5
2021-01-29T20:08:05.000Z
2022-03-22T06:16:05.000Z
lang/Python/equilibrium-index-4.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/equilibrium-index-4.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2021-04-13T04:19:31.000Z
2021-04-13T04:19:31.000Z
from collections import defaultdict def eqindex1Pass(data): "One pass" l, h = 0, defaultdict(list) for i, c in enumerate(data): l += c h[l * 2 - c].append(i) return h[l]
20.3
35
0.576355
31
203
3.774194
0.677419
0.034188
0
0
0
0
0
0
0
0
0
0.021127
0.300493
203
9
36
22.555556
0.802817
0.039409
0
0
0
0
0.039409
0
0
0
0
0
0
1
0.125
false
0.25
0.125
0
0.375
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
1
0
0
0
0
0
2
8c11cb723038eca13602bdba817500c52486d59b
900
py
Python
back-end/aula/admin.py
Cicero-Forks/lccv-desafio-final
f83b1ffc28b7267a46d57a3754cecd3e4d41e61d
[ "MIT" ]
3
2021-12-12T23:05:00.000Z
2021-12-13T03:13:03.000Z
back-end/aula/admin.py
Cicero-Forks/lccv-desafio-final
f83b1ffc28b7267a46d57a3754cecd3e4d41e61d
[ "MIT" ]
1
2022-03-02T12:49:28.000Z
2022-03-02T12:49:28.000Z
back-end/aula/admin.py
Cicero-Forks/lccv-desafio-final
f83b1ffc28b7267a46d57a3754cecd3e4d41e61d
[ "MIT" ]
1
2021-12-13T03:17:57.000Z
2021-12-13T03:17:57.000Z
from django.contrib import admin from . import models from . import actions class FornecedoresForm(admin.ModelAdmin): readonly_fields = ['id_user_cad', 'id_user_alt'] search_fields = ['razao_social', 'cnpj', 'email', 'telefone'] list_filter = ['id_user_cad', 'id_user_alt'] actions = [actions.at...
34.615385
66
0.702222
108
900
5.685185
0.416667
0.117264
0.221498
0.299674
0.058632
0.058632
0
0
0
0
0
0
0.186667
900
26
67
34.615385
0.838798
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0.045455
false
0
0.136364
0
0.409091
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
0
0
0
2
8c126904693eba0f8209ef1644fca151e65bb025
6,355
py
Python
atp_classes/Rentrak.py
davidottogonzalez/Data-Fetcher
11e4f5ab34574eddb83c074aedc1bed82e975541
[ "MIT" ]
null
null
null
atp_classes/Rentrak.py
davidottogonzalez/Data-Fetcher
11e4f5ab34574eddb83c074aedc1bed82e975541
[ "MIT" ]
null
null
null
atp_classes/Rentrak.py
davidottogonzalez/Data-Fetcher
11e4f5ab34574eddb83c074aedc1bed82e975541
[ "MIT" ]
null
null
null
import atp_classes, requests, json class Rentrak: __user_token = None __current_user = None def __init__(self, api_url=None, username=None, password=None): config = atp_classes.Config().get_config() if api_url: self.api_url = api_url else: self.api_url = c...
41.266234
117
0.598269
697
6,355
5.248207
0.13056
0.046747
0.0883
0.109076
0.695189
0.686167
0.635867
0.608529
0.608529
0.608529
0
0.007933
0.26609
6,355
154
118
41.266234
0.776372
0
0
0.424779
0
0
0.181718
0
0
0
0
0
0
1
0.097345
false
0.053097
0.00885
0
0.221239
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
8c1d53a1573688ce99f3992e840c2633ab1d0770
1,312
py
Python
nbaspa/data/tasks/__init__.py
ak-gupta/nbaspa
db961717bb23854e0373b7732638021a18d909f5
[ "MIT" ]
1
2021-02-21T00:44:06.000Z
2021-02-21T00:44:06.000Z
nbaspa/data/tasks/__init__.py
ak-gupta/nbaspa
db961717bb23854e0373b7732638021a18d909f5
[ "MIT" ]
22
2021-02-21T16:41:39.000Z
2021-11-27T16:12:33.000Z
nbaspa/data/tasks/__init__.py
ak-gupta/nbaspa
db961717bb23854e0373b7732638021a18d909f5
[ "MIT" ]
null
null
null
"""Import the cleaning tasks.""" from typing import List from .gamelog import AddWinPercentage, GamesInLastXDays from .io import ( GenericLoader, FactoryGetter, PlayByPlayLoader, WinProbabilityLoader, GameLogLoader, LineupLoader, RotationLoader, ShotChartLoader, BoxScoreLoader, ...
23.428571
58
0.724085
94
1,312
10.031915
0.5
0.055143
0.089077
0.131495
0.366914
0.366914
0.366914
0.366914
0.366914
0.366914
0
0
0.1875
1,312
55
59
23.854545
0.884615
0.019817
0
0
0
0
0.282031
0.016406
0
0
0
0
0
1
0
true
0
0.215686
0
0.215686
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8c3514ac2c24aaf97efb4ca39e97b05fef4d6f81
447
py
Python
servicemon/tests/data/user_plugin_dir/cannot_make_reader_instance.py
tomdonaldson/servicemon
0abcc79cbd4d6ba10cd772d60cbc660f77f1e140
[ "BSD-3-Clause" ]
1
2019-11-12T22:38:42.000Z
2019-11-12T22:38:42.000Z
servicemon/tests/data/user_plugin_dir/cannot_make_reader_instance.py
tomdonaldson/servicemon
0abcc79cbd4d6ba10cd772d60cbc660f77f1e140
[ "BSD-3-Clause" ]
null
null
null
servicemon/tests/data/user_plugin_dir/cannot_make_reader_instance.py
tomdonaldson/servicemon
0abcc79cbd4d6ba10cd772d60cbc660f77f1e140
[ "BSD-3-Clause" ]
null
null
null
from servicemon.plugin_support import AbstractResultWriter class CannotInstantiate(AbstractResultWriter, plugin_name='cannot_make_reader_instance', description="A writer in the user's plug-in dir that cannot be instatiated" " because it doesn't implement the end() metho...
34.384615
104
0.675615
53
447
5.584906
0.792453
0
0
0
0
0
0
0
0
0
0
0
0.257271
447
12
105
37.25
0.891566
0
0
0.25
0
0
0.36689
0.060403
0
0
0
0
0
1
0.25
false
0.25
0.125
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
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
8c39883e2fc1ba378d003bdce56f731bc999e4a8
340
py
Python
iris_sdk/models/data/lidb_tn_group.py
NumberAI/python-bandwidth-iris
0e05f79d68b244812afb97e00fd65b3f46d00aa3
[ "MIT" ]
2
2020-04-13T13:47:59.000Z
2022-02-23T20:32:41.000Z
iris_sdk/models/data/lidb_tn_group.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2020-09-18T20:59:24.000Z
2021-08-25T16:51:42.000Z
iris_sdk/models/data/lidb_tn_group.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2018-12-12T14:39:50.000Z
2020-11-17T21:42:29.000Z
#!/usr/bin/env python from iris_sdk.models.base_resource import BaseData from iris_sdk.models.maps.lidb_tn_group import LidbTnGroupMap from iris_sdk.models.data.telephone_number_list import TelephoneNumberList class LidbTnGroupData(LidbTnGroupMap, BaseData): def __init__(self): self.telephone_numbers = T...
34
74
0.823529
43
340
6.209302
0.651163
0.089888
0.123596
0.191011
0
0
0
0
0
0
0
0
0.105882
340
10
75
34
0.878289
0.058824
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8c407813b2686a71b2f9736fdd641c25a1968104
157
py
Python
__init__.py
brendasalenave/NRCLex
2bbcbf4c6fa3373f2125a834825a2252c0a1e0e9
[ "MIT" ]
29
2019-10-12T20:32:39.000Z
2022-03-19T11:27:46.000Z
__init__.py
Jivanni/NRCLex
ed051a45f069a910166b2eba1b5f6495b477fb78
[ "MIT" ]
9
2020-11-03T14:59:51.000Z
2021-08-21T04:23:19.000Z
__init__.py
Jivanni/NRCLex
ed051a45f069a910166b2eba1b5f6495b477fb78
[ "MIT" ]
18
2020-09-15T11:09:51.000Z
2022-02-23T15:11:32.000Z
import os __version__ = '1.5.0' __license__ = 'MIT' __author__ = 'metalcorebear' name = "NRCLex" PACKAGE_DIR = os.path.dirname(os.path.abspath(__file__))
15.7
56
0.726115
21
157
4.619048
0.857143
0.123711
0
0
0
0
0
0
0
0
0
0.021898
0.127389
157
9
57
17.444444
0.686131
0
0
0
0
0
0.171975
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
2
8c59e3ae19d380a19e1047bbebdd8bd7264491a3
4,290
py
Python
test/test_giftcard.py
AdityaMisra/GiftCardService
7f2dd288078a86ba1d1495edff6c5d7bcef639dc
[ "MIT" ]
null
null
null
test/test_giftcard.py
AdityaMisra/GiftCardService
7f2dd288078a86ba1d1495edff6c5d7bcef639dc
[ "MIT" ]
null
null
null
test/test_giftcard.py
AdityaMisra/GiftCardService
7f2dd288078a86ba1d1495edff6c5d7bcef639dc
[ "MIT" ]
null
null
null
import pytest from models.brand import Brand from models.customer import Customer from models.giftcard import GiftCard from service.gift_card_service import GiftCardService class TestGiftService: # def setup(self): # # create brands # apple = Brand("Apple", 5) # walmart = Brand("Walmart"...
36.355932
113
0.592774
529
4,290
4.52552
0.132325
0.093985
0.073517
0.079365
0.783626
0.783626
0.720551
0.657895
0.556809
0.458229
0
0.061211
0.299301
4,290
117
114
36.666667
0.735196
0.132867
0
0.492754
0
0
0.027627
0
0
0
0
0
0.289855
1
0.086957
false
0
0.072464
0
0.173913
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8c5bf1676f40f1daade873ca0d91a48ecdf3ec6f
838
py
Python
guillotina_cms/vocabularies/content_layouts.py
alteroo/guillotina_cms
a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8
[ "BSD-2-Clause" ]
5
2018-11-11T07:19:06.000Z
2020-01-18T11:04:15.000Z
guillotina_cms/vocabularies/content_layouts.py
alteroo/guillotina_cms
a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8
[ "BSD-2-Clause" ]
4
2018-09-20T14:44:17.000Z
2018-10-23T12:16:45.000Z
guillotina_cms/vocabularies/content_layouts.py
alteroo/guillotina_cms
a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8
[ "BSD-2-Clause" ]
2
2019-06-14T10:42:22.000Z
2020-05-09T13:09:09.000Z
from guillotina import configure from guillotina import app_settings @configure.vocabulary(name="content_layouts") class ContentLayoutVocabulary: def __init__(self, context): self.context = context if hasattr(self.context, "context"): self.values = app_settings["layouts"].get(self.cont...
27.032258
89
0.639618
100
838
5.14
0.37
0.136187
0.101167
0.081712
0.163424
0.163424
0.163424
0.163424
0
0
0
0
0.25895
838
30
90
27.933333
0.827697
0
0
0.086957
0
0
0.059666
0
0
0
0
0
0
1
0.26087
false
0
0.086957
0.173913
0.608696
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
0
0
0
2
8c5ce2911f29705da5730229179586e53821f607
197
py
Python
addons/website_helpdesk_support_ticket/models/type_of_subject.py
marionumza/vocal_v12
480990e919c9410903e06e7813ee92800bd6a569
[ "Unlicense" ]
null
null
null
addons/website_helpdesk_support_ticket/models/type_of_subject.py
marionumza/vocal_v12
480990e919c9410903e06e7813ee92800bd6a569
[ "Unlicense" ]
null
null
null
addons/website_helpdesk_support_ticket/models/type_of_subject.py
marionumza/vocal_v12
480990e919c9410903e06e7813ee92800bd6a569
[ "Unlicense" ]
1
2021-05-05T07:59:08.000Z
2021-05-05T07:59:08.000Z
# -*- coding: utf-8 -*- from odoo import models, fields class TypeOfSubject(models.Model): _name = 'type.of.subject' name = fields.Char( 'Name', required=True, )
16.416667
34
0.573604
22
197
5.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0.007092
0.284264
197
11
35
17.909091
0.787234
0.106599
0
0
0
0
0.109195
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
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
0
0
1
0
0
2
8c5eb310c5edb9854e1c6741eb3faf919934f452
200
py
Python
exercicios/ex051.py
CinatitBR/exercicios-phyton
16d9c14a83c9dbd6f7bda5477d665848bcd91184
[ "MIT" ]
null
null
null
exercicios/ex051.py
CinatitBR/exercicios-phyton
16d9c14a83c9dbd6f7bda5477d665848bcd91184
[ "MIT" ]
null
null
null
exercicios/ex051.py
CinatitBR/exercicios-phyton
16d9c14a83c9dbd6f7bda5477d665848bcd91184
[ "MIT" ]
null
null
null
termo1 = int(input('Digite o 1º termo da P.A: ')) razao = int(input('Digite a razão desta P.A: ')) decimo = termo1 + (10 - 1) * razao for i in range(termo1, decimo + 1, razao): print(i, end=' ')
28.571429
49
0.61
35
200
3.485714
0.628571
0.131148
0.229508
0
0
0
0
0
0
0
0
0.050633
0.21
200
6
50
33.333333
0.721519
0
0
0
0
0
0.265
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4fb6a4b9c1bc1ece2a1cdea15dec74d5cb7ca301
1,340
py
Python
backend/music/models.py
ahanwaar/my-music-app
cc1d1f7f2497025874a169a5f41488ca6f6560d3
[ "MIT" ]
null
null
null
backend/music/models.py
ahanwaar/my-music-app
cc1d1f7f2497025874a169a5f41488ca6f6560d3
[ "MIT" ]
2
2022-02-19T06:23:16.000Z
2022-02-27T10:07:51.000Z
backend/music/models.py
ahanwaar/my-music-app
cc1d1f7f2497025874a169a5f41488ca6f6560d3
[ "MIT" ]
null
null
null
from django.db import models class Artist(models.Model): """Database model for the Artists""" name = models.CharField('Name', max_length=50, unique=True) artist_poster = models.URLField(blank=True, null=True) slug = models.SlugField(max_length=50, null=True, blank=True, unique=True) class Meta: ...
29.130435
87
0.677612
173
1,340
5.069364
0.283237
0.075257
0.050171
0.082098
0.437856
0.36488
0.084379
0
0
0
0
0.00759
0.213433
1,340
45
88
29.777778
0.824478
0.134328
0
0.285714
0
0
0.058618
0
0
0
0
0
0
1
0.107143
false
0
0.035714
0.107143
0.785714
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
0
1
1
0
0
2
4fb8ddcac27e37c6182e030d8ac31c0c9c075e52
5,710
py
Python
YonyouNC/yonyou-nc-exp/poc/nc_upload_rce.py
lal0ne/CVE
82d3d2c63bef37fdb0779a5b73fc382ca61d4995
[ "MIT" ]
7
2022-02-17T02:48:31.000Z
2022-03-16T07:57:48.000Z
YonyouNC/yonyou-nc-exp/poc/nc_upload_rce.py
lal0ne/vulnerability
11ce22333eefc5153aa1a30efa17ec6dfcaf9500
[ "MIT" ]
null
null
null
YonyouNC/yonyou-nc-exp/poc/nc_upload_rce.py
lal0ne/vulnerability
11ce22333eefc5153aa1a30efa17ec6dfcaf9500
[ "MIT" ]
5
2022-02-17T06:17:24.000Z
2022-03-30T07:31:41.000Z
import requests import threadpool import urllib3 import sys import argparse from rich.console import Console console = Console() urllib3.disable_warnings() proxies = {'http': 'http://localhost:8080', 'https': 'http://localhost:8080'} header = { "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHT...
82.753623
2,630
0.690718
817
5,710
4.799266
0.368421
0.012242
0.011477
0.021423
0.238715
0.154552
0.154552
0.154552
0.147921
0.147921
0
0.082433
0.124694
5,710
69
2,631
82.753623
0.702081
0
0
0.063492
0
0.063492
0.694449
0.356155
0
0
0
0
0
1
0.047619
false
0.015873
0.095238
0
0.15873
0.079365
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4fb9618aad415fab25388419174e77b9c1bd5b60
117
py
Python
Fun Excercise/factorial.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
32
2020-04-05T08:29:40.000Z
2022-01-08T03:10:00.000Z
Fun Excercise/factorial.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
3
2021-06-02T04:09:11.000Z
2022-03-02T14:55:03.000Z
Fun Excercise/factorial.py
NirmalSilwal/Python-
6d23112db8366360f0b79bdbf21252575e8eab3e
[ "MIT" ]
3
2020-07-13T05:44:04.000Z
2021-03-03T07:07:58.000Z
n = int(input('enter number to find the factorial: ')) fact=1; for i in range(1,n+1,1): fact=fact*i print(fact)
19.5
54
0.649573
24
117
3.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0.041667
0.179487
117
5
55
23.4
0.75
0
0
0
0
0
0.307692
0
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
2
4fbc69ae553bac280bc8000cfeac96289113f8a4
3,835
py
Python
manast_database/migrations/0001_initial.py
oierajenjo/ManagementAssistant
0055efccb5ab4465c28700f00a1e340914291968
[ "Apache-2.0" ]
null
null
null
manast_database/migrations/0001_initial.py
oierajenjo/ManagementAssistant
0055efccb5ab4465c28700f00a1e340914291968
[ "Apache-2.0" ]
2
2021-04-23T10:46:02.000Z
2021-06-10T20:25:08.000Z
manast_database/migrations/0001_initial.py
oierajenjo/ManagementAssistant
0055efccb5ab4465c28700f00a1e340914291968
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.13 on 2020-06-30 12:15 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('manast_site', '0001_initial'), ] operations = [ migrations.CreateModel...
50.460526
166
0.594263
403
3,835
5.459057
0.210918
0.13
0.050909
0.08
0.680455
0.680455
0.68
0.68
0.68
0.644545
0
0.018974
0.257888
3,835
75
167
51.133333
0.754041
0.011995
0
0.411765
1
0
0.168471
0.006337
0
0
0
0
0
1
0
false
0
0.044118
0
0.102941
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4fc51bf40ffada0fa50e993abf37448ad7f42c0d
1,225
py
Python
chmvh_website/team/migrations/0001_initial.py
chmvh/chmvh-website
d67068e5f28ea09d4608ebe67e178930c2fdc13c
[ "MIT" ]
null
null
null
chmvh_website/team/migrations/0001_initial.py
chmvh/chmvh-website
d67068e5f28ea09d4608ebe67e178930c2fdc13c
[ "MIT" ]
null
null
null
chmvh_website/team/migrations/0001_initial.py
chmvh/chmvh-website
d67068e5f28ea09d4608ebe67e178930c2fdc13c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-10-24 23:14 from __future__ import unicode_literals from django.db import migrations, models import team.models class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( ...
26.630435
71
0.400816
88
1,225
5.409091
0.647727
0.069328
0
0
0
0
0
0
0
0
0
0.03172
0.51102
1,225
45
72
27.222222
0.762938
0.05551
0
0.189189
1
0
0.035529
0
0
0
0
0
0
1
0
false
0
0.081081
0
0.189189
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
2
4fca11572b635335dc5986551a3a641b3c517426
961
py
Python
crawlplates/crawlplates/module/stock.py
ZombieIce/A-Stock-Plate-Crawling
e0478c720513876562ebe2a48b9f3131dad63e47
[ "MIT" ]
null
null
null
crawlplates/crawlplates/module/stock.py
ZombieIce/A-Stock-Plate-Crawling
e0478c720513876562ebe2a48b9f3131dad63e47
[ "MIT" ]
null
null
null
crawlplates/crawlplates/module/stock.py
ZombieIce/A-Stock-Plate-Crawling
e0478c720513876562ebe2a48b9f3131dad63e47
[ "MIT" ]
null
null
null
class Stock: def __init__(self, symbol, name): self.__name = name self.__symbol = symbol self.__stockPlate = [] self.__carePlate = [] @property def name(self): return self.__name @property def symbol(self): return self.__symbol @property def...
24.641026
99
0.583767
97
961
5.43299
0.247423
0.148008
0.106262
0.079696
0.094877
0
0
0
0
0
0
0
0.314256
961
39
99
24.641026
0.799697
0.041623
0
0.266667
0
0
0.055495
0
0
0
0
0
0
1
0.266667
false
0
0
0.166667
0.466667
0.066667
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
0
0
0
2
4fcda55adca8cefad73eed70e146d1bcc129871c
483
py
Python
src/textbook/rosalind_ba9d.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
src/textbook/rosalind_ba9d.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
src/textbook/rosalind_ba9d.py
cowboysmall/rosalind
021e4392a8fc946b97bbf86bbb8227b28bb5e462
[ "MIT" ]
null
null
null
import os import sys sys.path.append(os.path.join(os.path.dirname(__file__), '../tools')) import files import arrays import tree def main(argv): text = files.read_line(argv[0]) st = tree.SuffixTree(text) print st.longest_repeat() sa = arrays.suffix_array(text + '$') ha = arrays.lcp_a...
18.576923
68
0.625259
75
483
3.813333
0.493333
0.073427
0.055944
0.062937
0
0
0
0
0
0
0
0.020779
0.202899
483
25
69
19.32
0.722078
0
0
0
0
0
0.035197
0
0
0
0
0
0
0
null
null
0
0.3125
null
null
0.125
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
1
0
0
0
1
0
0
0
0
2
4fd10f6172262896c3986f36023487422b579171
1,099
py
Python
numero_feliz.py
neriphy/numeros_felices
ce73e81c69e2882b9c051541fc29e8dcbe7603a7
[ "MIT" ]
null
null
null
numero_feliz.py
neriphy/numeros_felices
ce73e81c69e2882b9c051541fc29e8dcbe7603a7
[ "MIT" ]
null
null
null
numero_feliz.py
neriphy/numeros_felices
ce73e81c69e2882b9c051541fc29e8dcbe7603a7
[ "MIT" ]
null
null
null
#Programa para evaluar si un numero es feliz numero_a_evaluar = input("Introduce el numero a evaluar: ") n = numero_a_evaluar suma = 2 primer_digito = 0 segundo_digito = 0 tercer_digito = 0 cuarto_digito = 0 while suma > 1: primer_digito = numero_a_evaluar[0] primer_digito = int(primer_digito) print(prim...
26.804878
72
0.686078
144
1,099
4.951389
0.236111
0.098177
0.196353
0.112202
0.206171
0.206171
0.140252
0
0
0
0
0.016867
0.244768
1,099
40
73
27.475
0.842169
0.039126
0
0.257143
0
0
0.046446
0
0
0
0
0
0
1
0
false
0.085714
0
0
0
0.171429
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
4ff21b7b8aacdceab8803745c93852376b71770c
1,029
py
Python
0034. Find First and Last Position of Element in Sorted Array/Solution.py
furutuki/LeetCodeSolution
db5e6573d0c907dfa3e6ad5e5b3b5ff9944a4f53
[ "MIT" ]
null
null
null
0034. Find First and Last Position of Element in Sorted Array/Solution.py
furutuki/LeetCodeSolution
db5e6573d0c907dfa3e6ad5e5b3b5ff9944a4f53
[ "MIT" ]
null
null
null
0034. Find First and Last Position of Element in Sorted Array/Solution.py
furutuki/LeetCodeSolution
db5e6573d0c907dfa3e6ad5e5b3b5ff9944a4f53
[ "MIT" ]
null
null
null
from typing import List class Solution: def searchRange(self, nums: List[int], target: int) -> List[int]: low = 0 high = len(nums) - 1 while low < len(nums) and high >= 0 and low <= high: mid = int((low + high) / 2) if nums[mid] == target: start = m...
27.078947
69
0.462585
147
1,029
3.238095
0.238095
0.07563
0.214286
0.226891
0.302521
0.302521
0.302521
0.302521
0.302521
0
0
0.100313
0.379981
1,029
37
70
27.810811
0.645768
0
0
0
0
0
0
0
0
0
0
0
0
1
0.034483
false
0
0.034483
0
0.172414
0.206897
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
0
0
0
2
4ffd6844044b50ebece5f78094308624bb1a1359
603
py
Python
circuit_recognizer/circuit_recognizer/connect/edge.py
symbench/scm
8e40d3549dd605b1822156216684a28cc027a8e8
[ "Apache-2.0" ]
1
2021-05-07T08:35:02.000Z
2021-05-07T08:35:02.000Z
circuit_recognizer/circuit_recognizer/connect/edge.py
symbench/scm
8e40d3549dd605b1822156216684a28cc027a8e8
[ "Apache-2.0" ]
273
2021-05-03T14:48:33.000Z
2022-03-31T21:46:54.000Z
circuit_recognizer/circuit_recognizer/connect/edge.py
symbench/scm
8e40d3549dd605b1822156216684a28cc027a8e8
[ "Apache-2.0" ]
null
null
null
class Edge: def __init__(self, src, dst, line): self.src = src self.dst = dst self.line = line assert src != dst, f"Source and destination are the same!" def reverse(self): return Edge(self.dst, self.src, self.line.reverse()) def to_dict(self): return { ...
28.714286
66
0.558872
91
603
3.56044
0.274725
0.17284
0.098765
0.067901
0.339506
0.339506
0.339506
0.339506
0.179012
0
0
0
0.318408
603
20
67
30.15
0.788321
0
0
0
0
0
0.116086
0
0
0
0
0
0.058824
1
0.235294
false
0
0
0.117647
0.470588
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
0
0
0
2
8b0898346312ba80b09b43764914c6ecce47e5c8
189
py
Python
test.py
sfu-arch/uir-lib
f631fbf1085a4da1bf2b26a168b87abf1b043ce9
[ "BSD-3-Clause" ]
4
2020-06-02T09:06:54.000Z
2022-03-29T07:55:41.000Z
test.py
sfu-arch/uir-lib
f631fbf1085a4da1bf2b26a168b87abf1b043ce9
[ "BSD-3-Clause" ]
17
2020-01-27T03:12:10.000Z
2022-01-26T23:49:01.000Z
test.py
sfu-arch/uir-lib
f631fbf1085a4da1bf2b26a168b87abf1b043ce9
[ "BSD-3-Clause" ]
3
2020-01-24T07:54:12.000Z
2020-11-30T01:33:28.000Z
with open('log', 'r') as logfile: for line in logfile: if line.__contains__('LOG'): print(line) #pvahdatn@cs-arch-20:~/git/dandelion-lib$ sbt "testOnly dataflow.test03Tester" > log
23.625
84
0.698413
28
189
4.571429
0.821429
0
0
0
0
0
0
0
0
0
0
0.02454
0.137566
189
7
85
27
0.760736
0.439153
0
0
0
0
0.067961
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8b0da1bb80e942687f93a37625ace59d2cbb8142
1,250
py
Python
src/robusta/core/reporting/consts.py
robusta-dev/robusta
5dadeb48724c37882759bcdd785e11f59a0afb09
[ "MIT" ]
273
2021-12-28T20:48:48.000Z
2022-03-31T16:03:13.000Z
src/robusta/core/reporting/consts.py
robusta-dev/robusta
5dadeb48724c37882759bcdd785e11f59a0afb09
[ "MIT" ]
103
2022-01-10T11:45:47.000Z
2022-03-31T16:31:11.000Z
src/robusta/core/reporting/consts.py
robusta-dev/robusta
5dadeb48724c37882759bcdd785e11f59a0afb09
[ "MIT" ]
35
2021-12-30T15:30:14.000Z
2022-03-28T11:43:57.000Z
from enum import Enum SYNC_RESPONSE_SINK = "robusta-synchronized-response-sink" class FindingType(Enum): ISSUE = "issue" CONF_CHANGE = "configuration_change" HEALTH_CHECK = "health_check" REPORT = "report" # Finding sources class FindingSource(Enum): NONE = None # empty default KUBERNETES_...
25
57
0.6664
125
1,250
6.48
0.392
0.177778
0.207407
0.049383
0
0
0
0
0
0
0
0
0.2504
1,250
49
58
25.510204
0.864461
0.0616
0
0
0
0
0.167952
0.047129
0
0
0
0
0
1
0.027778
false
0
0.027778
0
0.805556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
8b12b743277820e0a43fa109ee49d1fbfdd2c571
631
py
Python
torchsolver/utils/counter.py
killf/torchsolver
d9d651a646cff3a00ff36c455704cb009d45aa9a
[ "MIT" ]
null
null
null
torchsolver/utils/counter.py
killf/torchsolver
d9d651a646cff3a00ff36c455704cb009d45aa9a
[ "MIT" ]
null
null
null
torchsolver/utils/counter.py
killf/torchsolver
d9d651a646cff3a00ff36c455704cb009d45aa9a
[ "MIT" ]
null
null
null
import torch import numpy as np __ALL__ = ["Counter"] class Counter: def __init__(self): self.data = dict() def append(self, **kwargs): for key, value in kwargs.items(): self.set(key, value) def set(self, key, value): if key not in self.data: self.data[ke...
20.354839
43
0.554675
84
631
4.02381
0.369048
0.142012
0.097633
0.059172
0.106509
0.106509
0
0
0
0
0
0.002336
0.321712
631
30
44
21.033333
0.787383
0
0
0.095238
0
0
0.011094
0
0
0
0
0
0
1
0.238095
false
0
0.095238
0.047619
0.52381
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
0
1
0
0
2
8b1347aaa476972fcee518ff29318e3d67330948
170
py
Python
coding/python/day03/02_read_json_multiline.py
dkapanidis/my-tutorials
f3b72c35487782609b556016aba03b275cc6b105
[ "MIT" ]
null
null
null
coding/python/day03/02_read_json_multiline.py
dkapanidis/my-tutorials
f3b72c35487782609b556016aba03b275cc6b105
[ "MIT" ]
null
null
null
coding/python/day03/02_read_json_multiline.py
dkapanidis/my-tutorials
f3b72c35487782609b556016aba03b275cc6b105
[ "MIT" ]
null
null
null
from pyspark.sql import SparkSession spark = SparkSession.builder.getOrCreate() df = spark.read.option("multiLine", True).json("people_multiline.json") print(df.show())
28.333333
71
0.776471
22
170
5.954545
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.076471
170
6
72
28.333333
0.834395
0
0
0
0
0
0.175439
0.122807
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8b18fc3557ddeb4d5b188b40684ec215e76e1cc0
418
py
Python
meutils/aizoo/examples/pooling.py
Jie-Yuan/MeUtils
2bb191b0d35b809af037c0f65b37570b8828bea3
[ "Apache-2.0" ]
3
2020-12-03T07:30:02.000Z
2021-02-07T13:37:33.000Z
meutils/aizoo/examples/pooling.py
Jie-Yuan/MeUtils
2bb191b0d35b809af037c0f65b37570b8828bea3
[ "Apache-2.0" ]
null
null
null
meutils/aizoo/examples/pooling.py
Jie-Yuan/MeUtils
2bb191b0d35b809af037c0f65b37570b8828bea3
[ "Apache-2.0" ]
1
2021-02-07T13:37:38.000Z
2021-02-07T13:37:38.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Project : inn. # @File : pooling # @Time : 2020/5/20 6:23 下午 # @Author : yuanjie # @Email : yuanjie@xiaomi.com # @Software : PyCharm # @Description : import tensorflow as tf # 类似np tf.keras.layers.GlobalMaxPooling1D tf.keras.laye...
19
38
0.645933
49
418
5.510204
0.77551
0.103704
0.192593
0
0
0
0
0
0
0
0
0.046154
0.222488
418
21
39
19.904762
0.784615
0.552632
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
8b27062776513814e2bd31d8a585b41d4dc3992b
314
py
Python
venv/Lib/site-packages/pandas/tests/extension/arrow/test_string.py
OliviaNabbosa89/Disaster_Responses
1e66d77c303cec685dfc2ca94f4fca4cc9400570
[ "MIT" ]
1
2021-02-06T21:00:00.000Z
2021-02-06T21:00:00.000Z
venv/Lib/site-packages/pandas/tests/extension/arrow/test_string.py
OliviaNabbosa89/Disaster_Responses
1e66d77c303cec685dfc2ca94f4fca4cc9400570
[ "MIT" ]
null
null
null
venv/Lib/site-packages/pandas/tests/extension/arrow/test_string.py
OliviaNabbosa89/Disaster_Responses
1e66d77c303cec685dfc2ca94f4fca4cc9400570
[ "MIT" ]
1
2021-04-26T22:41:56.000Z
2021-04-26T22:41:56.000Z
import pytest import pandas as pd pytest.importorskip("pyarrow", minversion="0.13.0") from .arrays import ArrowStringDtype # isort:skip def test_constructor_from_list(): # GH 27673 result = pd.Series(["E"], dtype=ArrowStringDtype()) assert isinstance(result.dtype, ArrowStringDtype)
22.428571
56
0.710191
37
314
5.945946
0.72973
0.190909
0
0
0
0
0
0
0
0
0
0.035019
0.181529
314
13
57
24.153846
0.821012
0.06051
0
0
0
0
0.050179
0
0
0
0
0
0.142857
1
0.142857
false
0
0.571429
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
0
0
0
0
0
0
1
0
1
0
0
2
8b411f3a1e29a9571419f9af3b1fae8df96ee59b
283
py
Python
download_harbor.py
akshatvg/roadgain
e57e7e64f7786739433fe0c9cab20530c39d939e
[ "MIT" ]
1
2020-11-12T13:07:10.000Z
2020-11-12T13:07:10.000Z
download_harbor.py
akshatvg/roadgain
e57e7e64f7786739433fe0c9cab20530c39d939e
[ "MIT" ]
1
2020-11-07T01:55:03.000Z
2020-11-07T01:55:03.000Z
download_harbor.py
akshatvg/roadgain
e57e7e64f7786739433fe0c9cab20530c39d939e
[ "MIT" ]
null
null
null
import osmnx as ox import folium import pickle G = ox.graph_from_address('Inner Harbor, Baltimore, Maryland, USA', network_type='drive') pickle.dump(G, open('harbor.pkl', 'wb')) graph_map = ox.plot_graph_folium(G, popup_attribute='name', edge_width=2) graph_map.save('harbor.html')
31.444444
89
0.763251
46
283
4.5
0.695652
0.077295
0
0
0
0
0
0
0
0
0
0.003891
0.091873
283
9
90
31.444444
0.801556
0
0
0
0
0
0.246479
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
0
0
0
2
8c752c8c4518734b8504a6eb05d8ba1d60858f18
251
py
Python
aiostomp/errors.py
gajdy/aiostomp
2aa8ae940035b681cf11b0915694969611699063
[ "MIT" ]
null
null
null
aiostomp/errors.py
gajdy/aiostomp
2aa8ae940035b681cf11b0915694969611699063
[ "MIT" ]
null
null
null
aiostomp/errors.py
gajdy/aiostomp
2aa8ae940035b681cf11b0915694969611699063
[ "MIT" ]
null
null
null
class StompError(Exception): def __init__(self, message, detail): super(StompError, self).__init__(message) self.detail = detail class StompDisconnectedError(Exception): pass class ExceededRetryCount(Exception): pass
16.733333
49
0.709163
24
251
7.083333
0.5
0.152941
0
0
0
0
0
0
0
0
0
0
0.203187
251
14
50
17.928571
0.85
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.125
false
0.25
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
8c8cebccd39ad31e7e92b64402adfb34f0609094
23,205
py
Python
raysect/core/math/tests/test_random.py
vsnever/raysect-source
6aa8b60f2877635d3e58ac7636ef58f069796f72
[ "BSD-3-Clause" ]
2
2020-12-11T01:49:47.000Z
2021-09-03T07:50:26.000Z
raysect/core/math/tests/test_random.py
vsnever/raysect-source
6aa8b60f2877635d3e58ac7636ef58f069796f72
[ "BSD-3-Clause" ]
null
null
null
raysect/core/math/tests/test_random.py
vsnever/raysect-source
6aa8b60f2877635d3e58ac7636ef58f069796f72
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2014-2020, Dr Alex Meakins, Raysect Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # ...
91.358268
110
0.813014
2,290
23,205
8.236245
0.50524
0.00106
0.001803
0.002439
0.012937
0.007211
0.007211
0.007211
0.007211
0.007211
0
0.82543
0.095755
23,205
253
111
91.719368
0.07344
0.073088
0
0
0
0
0.002145
0
0
0
0
0
0.004785
1
0.004785
false
0
0.009569
0
0.019139
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
0
0
0
0
0
0
0
2
8c97a82d8d0bb2909f5955375023f7c8e562bbc4
695
py
Python
architectures/abel_tune_svm_with_embeddings.py
jimmycallin/master-thesis
5d30df288478ca944338eba353cbc2b84f415ee0
[ "MIT" ]
2
2016-06-21T12:34:23.000Z
2017-05-23T18:34:53.000Z
architectures/abel_tune_svm_with_embeddings.py
jimmycallin/master-thesis
5d30df288478ca944338eba353cbc2b84f415ee0
[ "MIT" ]
null
null
null
architectures/abel_tune_svm_with_embeddings.py
jimmycallin/master-thesis
5d30df288478ca944338eba353cbc2b84f415ee0
[ "MIT" ]
1
2020-06-17T14:07:50.000Z
2020-06-17T14:07:50.000Z
from subprocess import call from word_embedding_paths import word_embeddings from os.path import exists from os import mkdir for c in [2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]: name = "svmrbf-c" + str(c) if exists("/usit/abel/u1/jimmycallin/models/" + name): print("Model " + name + " already tra...
46.333333
239
0.670504
98
695
4.693878
0.571429
0.069565
0.086957
0.182609
0.223913
0.223913
0.156522
0
0
0
0
0.054983
0.16259
695
14
240
49.642857
0.735395
0
0
0
0
0
0.425899
0.31223
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.153846
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8cb60cb7ab1e7fba9fbbd1ace6726ee378df8a66
197
py
Python
the-settler/API/Screen/moveable_player.py
EnderDas/the-settler
c570d22446f6057a355c55133cbbeb6086863d18
[ "MIT" ]
null
null
null
the-settler/API/Screen/moveable_player.py
EnderDas/the-settler
c570d22446f6057a355c55133cbbeb6086863d18
[ "MIT" ]
null
null
null
the-settler/API/Screen/moveable_player.py
EnderDas/the-settler
c570d22446f6057a355c55133cbbeb6086863d18
[ "MIT" ]
null
null
null
#moveable_player class MoveablePlayer: def __init__(self, x=2, y=2, dir="FORWARD", color="170"): self.x = x self.y = y self.direction = dir self.color = color
19.7
61
0.573604
27
197
4
0.555556
0.092593
0
0
0
0
0
0
0
0
0
0.036232
0.299492
197
9
62
21.888889
0.746377
0.076142
0
0
0
0
0.055249
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8cbbd360e6d498c5955e107093b6ddd674fd832a
493
py
Python
src/orders/signals/handlers.py
tlgtaa/education-backend
86f8af315f9cff2c1fd19406899d593fc0852124
[ "MIT" ]
1
2021-03-03T19:51:24.000Z
2021-03-03T19:51:24.000Z
src/orders/signals/handlers.py
tlgtaa/education-backend
86f8af315f9cff2c1fd19406899d593fc0852124
[ "MIT" ]
null
null
null
src/orders/signals/handlers.py
tlgtaa/education-backend
86f8af315f9cff2c1fd19406899d593fc0852124
[ "MIT" ]
null
null
null
from django.db.models.signals import post_save from django.dispatch import receiver from orders.models import Order from tinkoff.models import PaymentNotification as TinkoffPaymentNotification @receiver(post_save, sender=TinkoffPaymentNotification) def mark_order_as_payd_on_tinkoff_transactions(instance, created, **...
27.388889
76
0.778905
61
493
6.131148
0.590164
0.053476
0
0
0
0
0
0
0
0
0
0
0.150101
493
17
77
29
0.892601
0
0
0.166667
0
0
0.018256
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.583333
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
0
1
0
0
2
8cbc8d1eb741b20cd09c132e36d55443c90e4fd8
566
py
Python
google_workflow/encv_to_db/settings.py
hcksystem/exposure-notifications-metrics-public
b6e0086a3d6fc8375e01e21fb7f2ca2c80dc204d
[ "Apache-2.0" ]
14
2021-07-18T16:11:16.000Z
2022-02-20T05:52:25.000Z
google_workflow/encv_to_db/settings.py
hcksystem/exposure-notifications-metrics-public
b6e0086a3d6fc8375e01e21fb7f2ca2c80dc204d
[ "Apache-2.0" ]
1
2021-04-06T18:49:56.000Z
2021-04-12T02:06:48.000Z
google_workflow/encv_to_db/settings.py
hcksystem/exposure-notifications-metrics-public
b6e0086a3d6fc8375e01e21fb7f2ca2c80dc204d
[ "Apache-2.0" ]
2
2021-04-06T17:39:06.000Z
2021-08-11T18:09:42.000Z
import os from pathlib import Path from typing import Optional from pydantic import BaseSettings class Settings(BaseSettings): google_application_credentials_json: Optional[str] = None # If supplied, we will read this json blob right away as the credentials google_application_credentials: Optional[str] = No...
31.444444
185
0.743816
81
566
5.111111
0.555556
0.072464
0.135266
0.082126
0.130435
0.130435
0
0
0
0
0
0
0.19258
566
17
186
33.294118
0.905908
0.348057
0
0
0
0
0.038251
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.818182
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
0
1
0
0
2
8cbf3dd6fa41bdefe8c525f8dbca447857cc5b10
1,328
py
Python
pycholib/Trial.py
lugtigheid/PychophysicsLibrary
b9e87065205a1abc6ace3b40dd80b1d10f0893e3
[ "MIT" ]
null
null
null
pycholib/Trial.py
lugtigheid/PychophysicsLibrary
b9e87065205a1abc6ace3b40dd80b1d10f0893e3
[ "MIT" ]
null
null
null
pycholib/Trial.py
lugtigheid/PychophysicsLibrary
b9e87065205a1abc6ace3b40dd80b1d10f0893e3
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- class Trial(object): ''' Created Fri 2 Aug 2013 - ajl Last edited: Sun 4 Aug 2013 - ajl This class contains all variables and methods associated with a single trial ''' def __init__(self, trialid = 0, staircaseid = 0, conditi...
26.039216
91
0.57003
154
1,328
4.753247
0.428571
0.016393
0.012295
0.010929
0.010929
0
0
0
0
0
0
0.023939
0.307982
1,328
50
92
26.56
0.772579
0.34262
0
0
0
0
0.026923
0
0
0
0
0
0
1
0.25
false
0
0
0.15
0.45
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
0
0
0
2
8ce201a1d0e647ea53be958274651d7616c65cdd
5,712
py
Python
LDAR_Sim/src/initialization/input_mapper_v1.py
SensorUp/LDAR_Sim
e341998257eb3c74497c950935c02bb81c01eb32
[ "MIT" ]
2
2021-11-08T13:55:45.000Z
2021-11-16T16:46:07.000Z
LDAR_Sim/src/initialization/input_mapper_v1.py
SensorUp/LDAR_Sim
e341998257eb3c74497c950935c02bb81c01eb32
[ "MIT" ]
123
2021-05-17T15:41:32.000Z
2022-03-09T16:34:07.000Z
LDAR_Sim/src/initialization/input_mapper_v1.py
SensorUp/LDAR_Sim
e341998257eb3c74497c950935c02bb81c01eb32
[ "MIT" ]
2
2021-11-18T17:10:10.000Z
2022-01-14T21:39:06.000Z
# ------------------------------------------------------------------------------ # Program: The LDAR Simulator (LDAR-Sim) # File: LDAR-Sim input mapper sample # Purpose: Example input mapper # # Copyright (C) 2018-2021 Intelligent Methane Monitoring and Management System (IM3S) Group # # This program is...
51.459459
100
0.656863
741
5,712
5.014845
0.333333
0.047363
0.009688
0.018299
0.041981
0.029602
0.01507
0
0
0
0
0.009448
0.203256
5,712
110
101
51.927273
0.807075
0.910364
0
0.4
0
0
0
0
0
0
0
0
0
1
0.2
false
0.4
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
8cf259c402462d273418d4a6094f755b1aa9f24e
379
py
Python
testing/freeze/create_executable.py
solackerman/pytest
0fc00c02a7a39ebd6c57886a85580ea3341e76eb
[ "MIT" ]
null
null
null
testing/freeze/create_executable.py
solackerman/pytest
0fc00c02a7a39ebd6c57886a85580ea3341e76eb
[ "MIT" ]
2
2017-07-15T22:12:00.000Z
2017-08-09T00:34:51.000Z
testing/freeze/create_executable.py
solackerman/pytest
0fc00c02a7a39ebd6c57886a85580ea3341e76eb
[ "MIT" ]
1
2020-12-02T16:03:58.000Z
2020-12-02T16:03:58.000Z
""" Generates an executable with pytest runner embedded using PyInstaller. """ if __name__ == '__main__': import pytest import subprocess hidden = [] for x in pytest.freeze_includes(): hidden.extend(['--hidden-import', x]) args = ['pyinstaller', '--noconfirm'] + hidden + ['runtests_script.p...
27.071429
75
0.656992
42
379
5.666667
0.738095
0
0
0
0
0
0
0
0
0
0
0
0.192612
379
13
76
29.153846
0.777778
0.184697
0
0
1
0
0.213333
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8cfea9502115f0a80de58421deaade0d4e650b53
1,123
py
Python
GeoDjango/geodjango/points/models.py
lmrissi/piloto_geodjango
729576c7e66b5d9b33618d8039bca21228927d21
[ "Apache-2.0" ]
null
null
null
GeoDjango/geodjango/points/models.py
lmrissi/piloto_geodjango
729576c7e66b5d9b33618d8039bca21228927d21
[ "Apache-2.0" ]
null
null
null
GeoDjango/geodjango/points/models.py
lmrissi/piloto_geodjango
729576c7e66b5d9b33618d8039bca21228927d21
[ "Apache-2.0" ]
null
null
null
# This is an auto-generated Django model module created by ogrinspect. from django.contrib.gis.db import models from django.template.defaultfilters import date class pocos(models.Model): proprietario = models.CharField("proprietario", max_length=254) orgao = models.CharField("orgao", max_length=254) ...
41.592593
85
0.669635
134
1,123
5.507463
0.410448
0.04878
0.081301
0.094851
0.070461
0
0
0
0
0
0
0.01766
0.193232
1,123
27
86
41.592593
0.796909
0.060552
0
0
1
0.047619
0.329767
0.164397
0
0
0
0
0
1
0.095238
false
0
0.095238
0.047619
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
5065f233b2301dbc8cc61a7cbab5c0348015d8cb
764
py
Python
dipy/utils/arrfuncs.py
oesteban/dipy
eb6ea58028959f4a507d70160dad770193449d66
[ "BSD-3-Clause" ]
3
2015-07-31T20:43:18.000Z
2019-07-26T13:58:07.000Z
dipy/utils/arrfuncs.py
jyeatman/dipy
57f7ec926f914d72f7f2f8feb8ccb51ab827895d
[ "BSD-3-Clause" ]
9
2015-05-13T17:44:42.000Z
2018-05-27T20:09:55.000Z
dipy/utils/arrfuncs.py
jyeatman/dipy
57f7ec926f914d72f7f2f8feb8ccb51ab827895d
[ "BSD-3-Clause" ]
3
2016-08-05T22:43:16.000Z
2017-06-23T18:35:13.000Z
""" Utilities to manipulate numpy arrays """ import sys import numpy as np from nibabel.volumeutils import endian_codes, native_code, swapped_code def as_native_array(arr): """ Return `arr` as native byteordered array If arr is already native byte ordered, return unchanged. If it is opposite endian, ...
24.645161
79
0.663613
103
764
4.834951
0.524272
0.054217
0.048193
0
0
0
0
0
0
0
0
0
0.240838
764
30
80
25.466667
0.858621
0.581152
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.857143
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
0
1
0
0
2
508c7573d53ebf607c721455e8b1c8d3eabfec1e
467
py
Python
azure_functions_devops_build/project/models/project_failed.py
coolgeeck/delwar1
5d3b2b5dc4933974ff26b0f0a869061129259046
[ "MIT" ]
16
2019-02-17T22:01:32.000Z
2022-03-31T22:59:46.000Z
azure_functions_devops_build/project/models/project_failed.py
coolgeeck/delwar1
5d3b2b5dc4933974ff26b0f0a869061129259046
[ "MIT" ]
19
2019-02-11T23:31:51.000Z
2021-06-01T23:20:35.000Z
azure_functions_devops_build/project/models/project_failed.py
coolgeeck/delwar1
5d3b2b5dc4933974ff26b0f0a869061129259046
[ "MIT" ]
21
2019-01-28T21:01:12.000Z
2022-03-07T16:18:29.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
42.454545
94
0.430407
35
467
5.628571
0.8
0.111675
0
0
0
0
0
0
0
0
0
0
0.12848
467
10
95
46.7
0.484029
0.719486
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
50a525ad3d8c8ab0f6adaf621607d87c45308314
569
py
Python
grizzly/__init__.py
dbis-ilm/grizzly
113e00b3cb980986f1f33e54fd7d84bf30763506
[ "MIT" ]
28
2019-09-25T09:33:54.000Z
2022-03-12T23:42:57.000Z
grizzly/__init__.py
dbis-ilm/grizzly
113e00b3cb980986f1f33e54fd7d84bf30763506
[ "MIT" ]
null
null
null
grizzly/__init__.py
dbis-ilm/grizzly
113e00b3cb980986f1f33e54fd7d84bf30763506
[ "MIT" ]
6
2020-10-01T07:04:39.000Z
2021-12-22T16:56:18.000Z
from .dataframes.frame import Table from .dataframes.frame import ExternalTable from .generator import GrizzlyGenerator def use(backend): GrizzlyGenerator._backend = backend def close(): GrizzlyGenerator.close() def read_table(tableName, index=None, schema=None): return Table(tableName, index, schema) def rea...
35.5625
104
0.780316
68
569
6.411765
0.485294
0.06422
0.087156
0.114679
0.142202
0
0
0
0
0
0
0
0.114236
569
16
105
35.5625
0.865079
0
0
0
0
0
0.068421
0
0
0
0
0
0.083333
1
0.333333
false
0
0.25
0.083333
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
0
1
0
0
2
50b51b31929910346f104ef3d59bd9f528d3ccff
1,481
py
Python
base-freq-histogram/test.py
kyclark/python_bioinformatics
49f991b6199f8a208af8c02b15cfc84aa3e29cf7
[ "MIT" ]
14
2019-07-14T08:29:04.000Z
2022-03-07T06:33:26.000Z
base-freq-histogram/test.py
kyclark/python_bioinformatics
49f991b6199f8a208af8c02b15cfc84aa3e29cf7
[ "MIT" ]
null
null
null
base-freq-histogram/test.py
kyclark/python_bioinformatics
49f991b6199f8a208af8c02b15cfc84aa3e29cf7
[ "MIT" ]
13
2019-06-20T16:32:38.000Z
2021-06-01T20:19:25.000Z
#!/usr/bin/env python3 """tests for histy.py""" import os import random import re import string from subprocess import getstatusoutput prg = './histy.py' # -------------------------------------------------- def test_usage(): """usage""" for flag in ['', '-h', '--help']: rv, out = getstatusoutput('{...
22.784615
76
0.407833
158
1,481
3.759494
0.392405
0.070707
0.074074
0.065657
0.158249
0
0
0
0
0
0
0.025162
0.16813
1,481
64
77
23.140625
0.456981
0.29237
0
0
0
0
0.192
0
0
0
0
0
0.148148
1
0.259259
false
0
0.185185
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
50c592a338e83f79909c5b6586ca9727da428760
835
py
Python
test/programytest/storage/stores/sql/dao/test_category.py
motazsaad/fit-bot-fb-clt
580477aa1ec91855b621d9ae276f2705962f6a87
[ "MIT" ]
5
2018-08-21T00:13:45.000Z
2018-09-01T20:00:55.000Z
test/programytest/storage/stores/sql/dao/test_category.py
motazsaad/fit-bot-fb-clt
580477aa1ec91855b621d9ae276f2705962f6a87
[ "MIT" ]
1
2018-09-12T18:30:17.000Z
2018-09-12T18:30:17.000Z
test/programytest/storage/stores/sql/dao/test_category.py
motazsaad/fit-bot-fb-clt
580477aa1ec91855b621d9ae276f2705962f6a87
[ "MIT" ]
5
2018-08-21T00:08:36.000Z
2018-09-23T06:11:04.000Z
import unittest from programy.storage.stores.sql.dao.category import Category class CategoryTests(unittest.TestCase): def test_init(self): category1 = Category(groupid='groupid', userid='userid', topic='topic', that='that', pattern='pattern', template='template') self.assertIsNotNone(category1)...
49.117647
167
0.698204
94
835
6.191489
0.329787
0.09622
0.137457
0.178694
0.621993
0.621993
0.621993
0.621993
0.621993
0.621993
0
0.010929
0.123353
835
16
168
52.1875
0.784153
0
0
0
0
0.2
0.381295
0
0
0
0
0
0.4
1
0.1
false
0
0.2
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
50cac5776c797797bec2f7bdb59c6f6359069b28
936
py
Python
src/direpack/__init__.py
zedian/direpack
507a5e21937a6e4032aa0d3e5c4a79e1349343d8
[ "MIT" ]
null
null
null
src/direpack/__init__.py
zedian/direpack
507a5e21937a6e4032aa0d3e5c4a79e1349343d8
[ "MIT" ]
null
null
null
src/direpack/__init__.py
zedian/direpack
507a5e21937a6e4032aa0d3e5c4a79e1349343d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Jul 22 12:17:17 2018 @author: Sven Serneels, Ponalytics """ __name__ = "direpack" __author__ = "Sven Serneels" __license__ = "MIT" __version__ = "1.0.0" __date__ = "2020-20-18" from .preprocessing.robcent import VersatileScaler, versatile_scale from ....
26.742857
86
0.797009
137
936
5.124088
0.481752
0.034188
0.051282
0
0
0
0
0
0
0
0
0.03023
0.116453
936
34
87
27.529412
0.818622
0.160256
0
0
0
0
0.050584
0
0
0
0
0
0
1
0
false
0
0.736842
0
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
0
1
0
0
2
50d3f642497c67c29da2e36b58a0e88b9a886c2c
523
py
Python
hic3defdr/plotting/histograms.py
thomasgilgenast/hic3defdr
7498ac468ccc21fa530d584944c1b12c73926755
[ "MIT" ]
null
null
null
hic3defdr/plotting/histograms.py
thomasgilgenast/hic3defdr
7498ac468ccc21fa530d584944c1b12c73926755
[ "MIT" ]
1
2021-05-02T08:55:20.000Z
2021-07-21T16:16:40.000Z
hic3defdr/plotting/histograms.py
thomasgilgenast/hic3defdr
7498ac468ccc21fa530d584944c1b12c73926755
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from lib5c.util.plotting import plotter @plotter def plot_pvalue_histogram(data, xlabel='pvalue', **kwargs): """ Plots a p-value or q-value distribution. Parameters ---------- data : np.ndarray The p-values or q-values to plot. kwarg...
20.115385
59
0.623327
70
523
4.628571
0.657143
0.018519
0
0
0
0
0
0
0
0
0
0.012853
0.256214
523
25
60
20.92
0.820051
0.414914
0
0
0
0
0.088
0
0
0
0
0
0
1
0.142857
false
0
0.428571
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
0
0
0
1
0
1
0
0
2
50f2c3303a45893c5dc419040a512aab22028910
229
py
Python
src/setup.py
w0bos/onifw
1ce72c1cd4a5c418817052b29015ef6fde6f2aa9
[ "MIT" ]
6
2019-08-12T17:30:49.000Z
2022-02-20T00:41:49.000Z
src/setup.py
w0bos/onifw
1ce72c1cd4a5c418817052b29015ef6fde6f2aa9
[ "MIT" ]
2
2020-09-14T19:47:00.000Z
2020-09-25T12:21:30.000Z
src/setup.py
w0bos/onifw
1ce72c1cd4a5c418817052b29015ef6fde6f2aa9
[ "MIT" ]
1
2020-10-19T17:31:36.000Z
2020-10-19T17:31:36.000Z
#!/usr/bin/env python from distutils.core import setup setup( name="onifw", version="1.13", description="pentest framework", author="w0bos", author_email="w0bos@protonmail.com", packages=["packaging"] )
17.615385
40
0.663755
27
229
5.592593
0.888889
0
0
0
0
0
0
0
0
0
0
0.026596
0.179039
229
12
41
19.083333
0.776596
0.087336
0
0
0
0
0.288462
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
50fdca295a2b01ae01f62fd4ce46c8ebe212ba04
1,522
py
Python
notes/algo-ds-practice/problems/list/copy_list_random_pointer.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
6
2020-07-05T05:15:19.000Z
2021-01-24T20:17:14.000Z
notes/algo-ds-practice/problems/list/copy_list_random_pointer.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
null
null
null
notes/algo-ds-practice/problems/list/copy_list_random_pointer.py
Anmol-Singh-Jaggi/interview-notes
65af75e2b5725894fa5e13bb5cd9ecf152a0d652
[ "MIT" ]
2
2020-09-14T06:46:37.000Z
2021-06-15T09:17:21.000Z
''' You are given a linked list with one pointer of each node pointing to the next node just like the usual. Every node, however, also has a second pointer that can point to any node in the list. Now write a program to deep copy this list. Solution 1: First backup all the nodes' next pointers node to another array. n...
33.086957
104
0.756899
276
1,522
4.101449
0.344203
0.030919
0.039753
0.030035
0.113074
0.04947
0
0
0
0
0
0.01581
0.168857
1,522
45
105
33.822222
0.879051
0.994087
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
0f9911847b5f54a833028e3ad1991e6eda9a5362
3,632
py
Python
src/data/clean_raw_data.py
ereidelbach/pubg
f33f94ebbea8745a412722d2ddac0743104c110a
[ "MIT" ]
1
2019-12-09T09:23:13.000Z
2019-12-09T09:23:13.000Z
src/data/clean_raw_data.py
ereidelbach/pubg
f33f94ebbea8745a412722d2ddac0743104c110a
[ "MIT" ]
null
null
null
src/data/clean_raw_data.py
ereidelbach/pubg
f33f94ebbea8745a412722d2ddac0743104c110a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.7 # -*- coding: utf-8 -*- """ Created on Mon Feb 4 15:45:33 2019 @author: ejreidelbach :DESCRIPTION: :REQUIRES: :TODO: """ #============================================================================== # Package Import #==================================================================...
26.903704
79
0.528634
454
3,632
4.070485
0.387665
0.048701
0.024351
0.040584
0.072511
0.041126
0
0
0
0
0
0.015943
0.188326
3,632
135
80
26.903704
0.610923
0.425385
0
0.066667
0
0
0.051908
0.023919
0
0
0
0.007407
0
1
0.25
false
0
0.116667
0.05
0.583333
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
0
1
0
0
2
0f9a848ae4f6a282ce4bc20fa7525f0303c9bdcf
107
py
Python
chess/__init__.py
Jonxslays/Chess
e7dbad1bfb2825fa8db616c64e9e3719e58c526c
[ "MIT" ]
1
2021-12-16T13:33:05.000Z
2021-12-16T13:33:05.000Z
chess/__init__.py
Jonxslays/Chess
e7dbad1bfb2825fa8db616c64e9e3719e58c526c
[ "MIT" ]
null
null
null
chess/__init__.py
Jonxslays/Chess
e7dbad1bfb2825fa8db616c64e9e3719e58c526c
[ "MIT" ]
null
null
null
"""Chess...""" __all__ = ["Game"] __version__ = "0.1.0" __author__ = "Jonxslays" from .game import Game
11.888889
24
0.626168
13
107
4.230769
0.769231
0
0
0
0
0
0
0
0
0
0
0.033333
0.158879
107
8
25
13.375
0.577778
0.074766
0
0
0
0
0.193548
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0fab57db56028a901d1f081a8d0e9d7995a4d9a3
25,286
py
Python
sdk/python/pulumi_azure_native/servicefabric/v20200101preview/_inputs.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
31
2020-09-21T09:41:01.000Z
2021-02-26T13:21:59.000Z
sdk/python/pulumi_azure_native/servicefabric/v20200101preview/_inputs.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
231
2020-09-21T09:38:45.000Z
2021-03-01T11:16:03.000Z
sdk/python/pulumi_azure_native/servicefabric/v20200101preview/_inputs.py
pulumi-bot/pulumi-azure-native
f7b9490b5211544318e455e5cceafe47b628e12c
[ "Apache-2.0" ]
4
2020-09-29T14:14:59.000Z
2021-02-10T20:38:16.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
40.652733
530
0.665665
3,007
25,286
5.432657
0.097439
0.098984
0.06856
0.038381
0.755203
0.581415
0.46572
0.368328
0.349841
0.300012
0
0.002102
0.228506
25,286
621
531
40.718196
0.835298
0.318358
0
0.259669
1
0
0.1246
0.028518
0
0
0
0
0
1
0.212707
false
0
0.016575
0
0.350829
0.046961
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
0
0
0
2
0fc43457135c73324503537664fe37591691bfe2
518
py
Python
Gallery/migrations/0011_auto_20210225_0853.py
CiganOliviu/InfiniteShoot
14f7fb21e360e3c58876d82ebbe206054c72958e
[ "MIT" ]
1
2021-04-02T16:45:37.000Z
2021-04-02T16:45:37.000Z
Gallery/migrations/0011_auto_20210225_0853.py
CiganOliviu/InfiniteShoot-1
6322ae34f88caaffc1de29dfa4f6d86d175810a7
[ "Apache-2.0" ]
null
null
null
Gallery/migrations/0011_auto_20210225_0853.py
CiganOliviu/InfiniteShoot-1
6322ae34f88caaffc1de29dfa4f6d86d175810a7
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.8 on 2021-02-25 08:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Gallery', '0010_pickedimage'), ] operations = [ migrations.RemoveField( model_name='pickedimage', name='cover_image'...
22.521739
68
0.586873
49
518
6.102041
0.693878
0.060201
0.133779
0.160535
0.227425
0.227425
0
0
0
0
0
0.052342
0.299228
518
22
69
23.545455
0.77135
0.086873
0
0.375
1
0
0.184713
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0fc5099b94debb1a29877db93421f9f57bf95541
362
py
Python
tests/utils/test_coprime.py
reidhoch/oeis-seq
5ee5fa0743cbe8fbcdb38c1c085fee2c2f96f7e0
[ "MIT" ]
null
null
null
tests/utils/test_coprime.py
reidhoch/oeis-seq
5ee5fa0743cbe8fbcdb38c1c085fee2c2f96f7e0
[ "MIT" ]
37
2021-06-10T14:48:48.000Z
2022-03-29T14:01:57.000Z
tests/utils/test_coprime.py
reidhoch/oeis-seq
5ee5fa0743cbe8fbcdb38c1c085fee2c2f96f7e0
[ "MIT" ]
null
null
null
# coding=utf-8 # flake8: noqa from math import gcd from hypothesis import given from hypothesis.strategies import integers from oeis.utils import coprime def lcm(x: int, y: int) -> int: return (x * y) // gcd(x, y) @given(a=integers(), b=integers()) def test_lcm_property(a: int, b: int) -> None: if coprime...
19.052632
46
0.649171
60
362
3.883333
0.483333
0.025751
0
0
0
0
0
0
0
0
0
0.006993
0.209945
362
18
47
20.111111
0.807692
0.069061
0
0
0
0
0
0
0
0
0
0
0.1
1
0.2
false
0
0.4
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
0fd6478e162fc8edc66986b77fb03f7ca0a1b9a0
2,345
py
Python
awwardapp/views.py
mornicamwende/ranker
107bcaad61bb5e726570a8250b55eb2e6245dc7a
[ "MIT" ]
null
null
null
awwardapp/views.py
mornicamwende/ranker
107bcaad61bb5e726570a8250b55eb2e6245dc7a
[ "MIT" ]
null
null
null
awwardapp/views.py
mornicamwende/ranker
107bcaad61bb5e726570a8250b55eb2e6245dc7a
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse, HttpResponseRedirect from django.template import loader from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from django.views.generic import ListView, DetailView, CreateView, UpdateView, DeleteView # from geelweb.django...
28.597561
89
0.670789
263
2,345
5.897338
0.353612
0.045132
0.048356
0.030948
0.288846
0.25403
0.25403
0.25403
0.25403
0.25403
0
0.003293
0.223028
2,345
81
90
28.950617
0.847969
0.134328
0
0.418182
0
0
0.060891
0
0
0
0
0
0
1
0.109091
false
0.054545
0.163636
0.018182
0.709091
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
0fde9709a58eb5d7fada118cadb20bcf39d8e04f
216
py
Python
src/chainmock/__init__.py
ollipa/chainmock
eb147de9829dc3e5f1fa6a7ebd68fae08a58c9bf
[ "MIT" ]
8
2021-12-24T13:20:19.000Z
2022-01-28T09:31:54.000Z
src/chainmock/__init__.py
ollipa/chainmock
eb147de9829dc3e5f1fa6a7ebd68fae08a58c9bf
[ "MIT" ]
17
2022-02-06T05:51:09.000Z
2022-02-07T02:15:04.000Z
src/chainmock/__init__.py
ollipa/chainmock
eb147de9829dc3e5f1fa6a7ebd68fae08a58c9bf
[ "MIT" ]
null
null
null
"""Chainmock. Spy, stub, and mock library for Python and Pytest. """ from . import _doctest # imported for side-effects from ._api import Assert, Mock, mocker __all__ = [ "Assert", "Mock", "mocker", ]
16.615385
51
0.652778
27
216
5
0.703704
0.148148
0.237037
0
0
0
0
0
0
0
0
0
0.217593
216
12
52
18
0.798817
0.412037
0
0
0
0
0.133333
0
0
0
0
0
0.285714
1
0
false
0
0.285714
0
0.285714
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0fe62d92a1510d91ac27ebcd375ae32d4b3de590
580
py
Python
capreolus/tests/common_fixtures.py
AlexWang000/capreolus
00b0bf471ea0eb116ab973254ea61b0492405c54
[ "Apache-2.0" ]
1
2020-07-23T07:59:40.000Z
2020-07-23T07:59:40.000Z
capreolus/tests/common_fixtures.py
AlexWang000/capreolus
00b0bf471ea0eb116ab973254ea61b0492405c54
[ "Apache-2.0" ]
1
2022-01-09T00:11:58.000Z
2022-01-21T13:58:50.000Z
capreolus/tests/common_fixtures.py
AlexWang000/capreolus
00b0bf471ea0eb116ab973254ea61b0492405c54
[ "Apache-2.0" ]
3
2021-10-20T13:11:46.000Z
2021-12-20T21:34:19.000Z
import pytest from pathlib import Path from capreolus.collection import DummyCollection from capreolus.index import AnseriniIndex from capreolus import registry @pytest.fixture(scope="function") def tmpdir_as_cache(tmpdir, monkeypatch): monkeypatch.setattr(registry, "CACHE_BASE_PATH", Path(tmpdir)) @pytest.fix...
29
90
0.762069
67
580
6.447761
0.462687
0.090278
0.083333
0.12037
0.134259
0
0
0
0
0
0
0
0.117241
580
19
91
30.526316
0.84375
0
0
0.142857
0
0
0.15
0
0
0
0
0
0
1
0.142857
false
0
0.357143
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
0
0
0
1
0
1
0
0
2
0ff1be3c09d6c418727cb0d0ceaf75226bbb78df
263
py
Python
eventex/core/views.py
Golker/wttd
17007d0aa4b83bbf5d67f51ca8c3b5b1a2e2d952
[ "MIT" ]
null
null
null
eventex/core/views.py
Golker/wttd
17007d0aa4b83bbf5d67f51ca8c3b5b1a2e2d952
[ "MIT" ]
null
null
null
eventex/core/views.py
Golker/wttd
17007d0aa4b83bbf5d67f51ca8c3b5b1a2e2d952
[ "MIT" ]
null
null
null
from django.views.generic import ListView, DetailView from eventex.core.models import Speaker, Talk home = ListView.as_view(template_name='index.html', model=Speaker) speaker_detail = DetailView.as_view(model=Speaker) talk_list = ListView.as_view(model=Talk)
26.3
66
0.809886
38
263
5.447368
0.578947
0.086957
0.135266
0
0
0
0
0
0
0
0
0
0.091255
263
9
67
29.222222
0.866109
0
0
0
0
0
0.038023
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
0
0
0
2
0ff26ee8a61f52a23bd4b2aca22972ff409846d3
294
py
Python
repoclone/exceptions.py
pikamachu/pika-repo-batch-clone
74eb850252ca6cbeed489b6bef5247aecb979635
[ "MIT" ]
1
2018-08-20T20:13:20.000Z
2018-08-20T20:13:20.000Z
repoclone/exceptions.py
pikamachu/pika-script-repoclone
74eb850252ca6cbeed489b6bef5247aecb979635
[ "MIT" ]
null
null
null
repoclone/exceptions.py
pikamachu/pika-script-repoclone
74eb850252ca6cbeed489b6bef5247aecb979635
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ repoclone.exceptions ----------------------- All exceptions used in the repoclone code base are defined here. """ class RepocloneException(Exception): """ Base exception class. All Cookiecutter-specific exceptions should subclass this class. """
18.375
78
0.639456
30
294
6.266667
0.733333
0
0
0
0
0
0
0
0
0
0
0.004167
0.183673
294
15
79
19.6
0.779167
0.748299
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
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
0
0
1
0
0
2
ba1047aa4606941eadd790c93a851406952c5933
12,624
py
Python
transcriptome_clustering/pitchfork_paramvary.py
mattsmart/biomodels
237f87489553fa1ebf5c676fab563166dd0c39e9
[ "MIT" ]
null
null
null
transcriptome_clustering/pitchfork_paramvary.py
mattsmart/biomodels
237f87489553fa1ebf5c676fab563166dd0c39e9
[ "MIT" ]
null
null
null
transcriptome_clustering/pitchfork_paramvary.py
mattsmart/biomodels
237f87489553fa1ebf5c676fab563166dd0c39e9
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np import os import time from inference import solve_true_covariance_from_true_J from pitchfork_langevin import jacobian_pitchfork, steadystate_pitchfork, langevin_dynamics from settings import DEFAULT_PARAMS, PARAMS_ID, FOLDER_OUTPUT, TIMESTEP, INIT_COND, NUM_TRAJ, NUM_...
56.357143
169
0.616999
1,681
12,624
4.319453
0.149316
0.076849
0.106046
0.046826
0.493871
0.44622
0.381628
0.315246
0.266492
0.219254
0
0.004037
0.273923
12,624
223
170
56.609865
0.78813
0.072798
0
0.1875
0
0
0.118716
0.012965
0
0
0
0.013453
0.005682
0
null
null
0
0.056818
null
null
0.056818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
ba1971345ded981e3808966e7a8fb8ed7fda720f
1,650
py
Python
tests/integration/platform/test_core_platforms_async.py
m1009d/scrapli_cfg
0d967f22be802ba57446f83b02a0703606546ec7
[ "MIT" ]
15
2021-03-14T18:27:15.000Z
2022-02-08T17:05:33.000Z
tests/integration/platform/test_core_platforms_async.py
m1009d/scrapli_cfg
0d967f22be802ba57446f83b02a0703606546ec7
[ "MIT" ]
21
2021-05-23T13:58:40.000Z
2022-03-02T14:38:00.000Z
tests/integration/platform/test_core_platforms_async.py
m1009d/scrapli_cfg
0d967f22be802ba57446f83b02a0703606546ec7
[ "MIT" ]
1
2021-10-04T12:48:14.000Z
2021-10-04T12:48:14.000Z
import pytest @pytest.mark.asyncio @pytest.mark.scrapli_replay async def test_get_config(async_cfg_conn): await async_cfg_conn.prepare() config = await async_cfg_conn.get_config() assert config.failed is False # expected config is loaded from disk and set as an attribute in the fixture to make life ea...
37.5
98
0.778182
252
1,650
4.769841
0.230159
0.1198
0.179701
0.141431
0.801165
0.660566
0.660566
0.660566
0.630616
0.630616
0
0
0.163636
1,650
43
99
38.372093
0.871014
0.167273
0
0.5
0
0
0
0
0
0
0
0
0.235294
1
0
false
0
0.029412
0
0.029412
0
0
0
0
null
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ba1e1a803b3c15cbbd61e04a86b2c3e02c212c0e
458
py
Python
two_sigma_problems/problem_7.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
129
2018-10-14T17:52:29.000Z
2022-01-29T15:45:57.000Z
two_sigma_problems/problem_7.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
2
2019-11-30T23:28:23.000Z
2020-01-03T16:30:32.000Z
two_sigma_problems/problem_7.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
60
2019-02-21T09:18:31.000Z
2022-03-25T21:01:04.000Z
"""This problem was asked by Two Sigma. You’re tracking stock price at a given instance of time. Implement an API with the following functions: add(), update(), remove(), which adds/updates/removes a datapoint for the stock price you are tracking. The data is given as (timestamp, price), where timestamp is specifie...
41.636364
82
0.748908
75
458
4.573333
0.76
0.058309
0
0
0
0
0
0
0
0
0
0
0.165939
458
11
83
41.636364
0.897906
0.984716
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
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
e839cbac60477fbbfd9d7f66f524c73b9f79f9be
1,252
py
Python
Files/03-Concatenacao-Operadores-e-Metodos.py
michelelozada/Logica-de-Programacao_e_Algoritmos_em_Python
4b2275d96d8cbf724e36a55234ffdcae4f833e1b
[ "MIT" ]
null
null
null
Files/03-Concatenacao-Operadores-e-Metodos.py
michelelozada/Logica-de-Programacao_e_Algoritmos_em_Python
4b2275d96d8cbf724e36a55234ffdcae4f833e1b
[ "MIT" ]
null
null
null
Files/03-Concatenacao-Operadores-e-Metodos.py
michelelozada/Logica-de-Programacao_e_Algoritmos_em_Python
4b2275d96d8cbf724e36a55234ffdcae4f833e1b
[ "MIT" ]
null
null
null
''' * Concatenação: operadores e métodos * Repositório: Lógica de Programação e Algoritmos em Python * GitHub: @michelelozada ''' # 1 - Operador + nome = 'Denzel' + ' ' + 'Washington' profissao = 'ator e produtor norte-americano' print(nome) # Denzel Washington print(nome + ', ' + profissao) # Denzel Washingto...
26.638298
126
0.648562
174
1,252
4.666667
0.471264
0.029557
0.049261
0.044335
0.29064
0.150246
0.068966
0.068966
0.068966
0
0
0.040157
0.184505
1,252
46
127
27.217391
0.755142
0.444888
0
0
0
0
0.447094
0
0.052632
0
0
0.043478
0
1
0
false
0
0
0
0
0.421053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
2
e852d3de371a87fcced9bc1046394bea170417fa
42,219
py
Python
docs/code/wk9b-out.py
bond-lab/Language-and-the-Computer
58d808cdbe6873256f1d0fa091ebc5d909f211bb
[ "CC-BY-4.0" ]
null
null
null
docs/code/wk9b-out.py
bond-lab/Language-and-the-Computer
58d808cdbe6873256f1d0fa091ebc5d909f211bb
[ "CC-BY-4.0" ]
null
null
null
docs/code/wk9b-out.py
bond-lab/Language-and-the-Computer
58d808cdbe6873256f1d0fa091ebc5d909f211bb
[ "CC-BY-4.0" ]
null
null
null
Parts of Speech per word contest [('V', 2), ('N', 22)] for the [('Advancement', 1), ('doctor', 1), ('alleviation', 1), ('dance', 1), ('dissolution', 1), ('child', 1), ('dollar', 1), ('month', 2), ('illustrated', 1), ('proposition', 1), ('balmy', 1), ('broader', 1), ('hanging', 1), ('Department', 3), ('mill', 1), ('mo...
30.027738
17,882
0.546768
6,818
42,219
3.385744
0.365943
0.010397
0.00104
0.00104
0.006411
0.004679
0.003639
0.003639
0.002166
0.002166
0
0.116068
0.150051
42,219
1,405
17,883
30.04911
0.527227
0
0
0.021614
0
0
0.24897
0.000497
0
0
0
0
0
0
null
null
0.001441
0.001441
null
null
0.00072
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
e876121d757cc9a28a3e81b563e1ecf15446bbbb
1,742
py
Python
1070.py
TheLurkingCat/TIOJ
077e1cd22239d8f6bc1cd7561f27c68143e80263
[ "MIT" ]
null
null
null
1070.py
TheLurkingCat/TIOJ
077e1cd22239d8f6bc1cd7561f27c68143e80263
[ "MIT" ]
null
null
null
1070.py
TheLurkingCat/TIOJ
077e1cd22239d8f6bc1cd7561f27c68143e80263
[ "MIT" ]
null
null
null
s = set(r"""~!@#$%^&*()_+|`-=\{}[]:";'<>?,./ """) while True: up = True low = True digit = True special = True a = input() b = input() t = len(a) if a != b: print('Password settings are not consistent.') elif a == 'END': break else: if not 8 <= t <= 12: ...
29.033333
90
0.433984
186
1,742
4.05914
0.33871
0.12053
0.125828
0.172185
0.283444
0.190728
0.190728
0
0
0
0
0.015102
0.467853
1,742
59
91
29.525424
0.799353
0
0
0.271186
0
0
0.253731
0.01837
0
0
0
0
0
1
0
false
0.152542
0
0
0
0.152542
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
1
0
0
0
0
0
2
e877746be561b70ee7328055f33a2b38f58806c8
500
py
Python
Foundation/pytestpractice/test_warn.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
null
null
null
Foundation/pytestpractice/test_warn.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
null
null
null
Foundation/pytestpractice/test_warn.py
youaresherlock/PythonPractice
2e22d3fdcb26353cb0d8215c150e84d11bc9a022
[ "Apache-2.0" ]
1
2019-11-05T01:10:15.000Z
2019-11-05T01:10:15.000Z
#!usr/bin/python # -*- coding:utf8 -*- """ @pytest.fixture注册成为一个fixture函数,来为测试用例 提供一个fixture对象 """ import pytest import make_warning class TestWarns(): def test_make_warn(self): with pytest.warns(DeprecationWarning): make_warning.make_warn() def test_not_warn(self): with pytest.wa...
12.820513
46
0.648
55
500
5.654545
0.454545
0.141479
0.115756
0.173633
0.221865
0
0
0
0
0
0
0.002646
0.244
500
38
47
13.157895
0.820106
0.174
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
e87a05333f9f135f8c5c1c1cc199df66cb4c2af9
918
py
Python
pytglib/api/types/reply_markup_remove_keyboard.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/types/reply_markup_remove_keyboard.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/types/reply_markup_remove_keyboard.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from ..utils import Object class ReplyMarkupRemoveKeyboard(Object): """ Instructs clients to remove the keyboard once this message has been received. This kind of keyboard can't be received in an incoming message; instead, UpdateChatReplyMarkup with message_id == 0 will be sent Attributes: ID (...
27.818182
210
0.671024
105
918
5.752381
0.638095
0.115894
0.046358
0
0
0
0
0
0
0
0
0.001443
0.245098
918
32
211
28.6875
0.87013
0.519608
0
0
0
0
0.157623
0.129199
0
0
0
0
0
1
0.222222
false
0
0.111111
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
0
0
0
1
0
0
2
e87cc40cccca178ace242287357d2f9bfee077a0
8,147
py
Python
pynads/abc/monad.py
justanr/gonads
4cd40eae04d3e738443d1232063c762b34784462
[ "MIT" ]
19
2015-03-21T07:47:15.000Z
2019-10-05T21:20:36.000Z
pynads/abc/monad.py
justanr/gonads
4cd40eae04d3e738443d1232063c762b34784462
[ "MIT" ]
7
2015-03-31T14:30:26.000Z
2017-07-29T15:29:59.000Z
pynads/abc/monad.py
justanr/gonads
4cd40eae04d3e738443d1232063c762b34784462
[ "MIT" ]
4
2017-10-18T08:07:46.000Z
2019-10-05T21:20:38.000Z
from abc import abstractmethod from .applicative import Applicative class Monad(Applicative): r"""Monads are probably the most misunderstood concept in Haskell. All a monad truly means is that it's a context for a value that provides a mechanism for interacting with that value. Consider the Haskell M...
36.864253
79
0.59347
1,193
8,147
4.027661
0.288349
0.009365
0.026639
0.017482
0.120916
0.100728
0.099688
0.08949
0.08949
0.08949
0
0.01374
0.312139
8,147
220
80
37.031818
0.843683
0.864858
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e88078b249c38cd88ee503d65a2952b0e39b7be5
381
py
Python
test.py
jdhxyy/cip
d575f0d5bff380cc421ce6a754f59fff04f3266a
[ "MIT" ]
null
null
null
test.py
jdhxyy/cip
d575f0d5bff380cc421ce6a754f59fff04f3266a
[ "MIT" ]
null
null
null
test.py
jdhxyy/cip
d575f0d5bff380cc421ce6a754f59fff04f3266a
[ "MIT" ]
null
null
null
import cip def main(): case2() def case1(): cip.set_lib_path() cip.set_requirements() def case2(): cip.set_lib_path('d:\\package\\clib') cip.set_requirements('d:\\package\\requirements.txt') cip.update() def case3(): cip.update('https://github.com/jdhxyy/lagan-clang.git') def case4...
13.137931
59
0.624672
51
381
4.392157
0.509804
0.107143
0.080357
0.116071
0
0
0
0
0
0
0
0.016234
0.191601
381
28
60
13.607143
0.711039
0
0
0.125
0
0
0.249344
0.076115
0
0
0
0
0
1
0.3125
true
0
0.0625
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
2
e893ec77787443d0fe7b907cc42007c4b3c35cbe
2,746
py
Python
integration/test_operations.py
exhuma/fabric
ed7bb72e91089f10add490e8b47cb4f91ccb2ca4
[ "BSD-2-Clause" ]
1
2017-10-31T11:28:06.000Z
2017-10-31T11:28:06.000Z
integration/test_operations.py
kevwil/fabric
7c9425f717684b6b0426b1cfbeecb3f04ac159c2
[ "BSD-2-Clause" ]
null
null
null
integration/test_operations.py
kevwil/fabric
7c9425f717684b6b0426b1cfbeecb3f04ac159c2
[ "BSD-2-Clause" ]
2
2019-01-01T18:35:50.000Z
2021-03-04T10:32:03.000Z
from __future__ import with_statement from StringIO import StringIO from fabric.api import run, path, put, sudo, abort, warn_only, env from util import Integration def assert_mode(path, mode): assert run("stat -c \"%%a\" %s" % path).stdout == mode class TestOperations(Integration): filepath = "/tmp/whoca...
34.759494
85
0.637291
383
2,746
4.339426
0.365535
0.029483
0.030084
0.033694
0.267148
0.219013
0.161853
0.144404
0.092659
0.092659
0
0.008633
0.240714
2,746
78
86
35.205128
0.788489
0.169701
0
0.081633
0
0
0.107584
0
0
0
0
0.012821
0.102041
0
null
null
0
0.081633
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
e89a25b09278d720b21ec8f4efe9e58cba39ac9e
685
py
Python
class7/json-vid-4-cmds.py
brutalic/pynet_brutal
2afb94430dc9a19eeaf075460494a44e93fab683
[ "Apache-2.0" ]
null
null
null
class7/json-vid-4-cmds.py
brutalic/pynet_brutal
2afb94430dc9a19eeaf075460494a44e93fab683
[ "Apache-2.0" ]
null
null
null
class7/json-vid-4-cmds.py
brutalic/pynet_brutal
2afb94430dc9a19eeaf075460494a44e93fab683
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import jsonrpclib import time import ssl from pprint import pprint ssl._create_default_https_context = ssl._create_unverified_context ip = '184.105.247.72' port = '443' username = 'admin1' password = '99saturday' switch_url = 'https://{}:{}@{}:{}'.format(username, password, ip, port) switch_url ...
19.571429
71
0.741606
86
685
5.744186
0.581395
0.072874
0.060729
0
0
0
0
0
0
0
0
0.037891
0.113869
685
34
72
20.147059
0.775947
0.023358
0
0
0
0
0.170915
0
0
0
0
0
0
0
null
null
0.095238
0.190476
null
null
0.190476
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
1
0
0
1
0
0
0
0
0
2
e89c58c40005a7e87b24e7c1aa158d03d6c67598
47,082
py
Python
components/google-cloud/google_cloud_pipeline_components/experimental/evaluation/flex/lib/proto/configuration_pb2.py
tomar27/pipelines
fc6a2761b3770cb3b854115b841c1a50876665c3
[ "Apache-2.0" ]
1
2021-10-23T00:39:47.000Z
2021-10-23T00:39:47.000Z
components/google-cloud/google_cloud_pipeline_components/experimental/evaluation/flex/lib/proto/configuration_pb2.py
tomar27/pipelines
fc6a2761b3770cb3b854115b841c1a50876665c3
[ "Apache-2.0" ]
13
2021-07-06T06:47:43.000Z
2022-03-08T23:35:13.000Z
components/google-cloud/google_cloud_pipeline_components/experimental/evaluation/flex/lib/proto/configuration_pb2.py
tomar27/pipelines
fc6a2761b3770cb3b854115b841c1a50876665c3
[ "Apache-2.0" ]
1
2020-10-29T04:24:27.000Z
2020-10-29T04:24:27.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: lib/proto/configuration.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection fro...
44.125586
4,111
0.770953
5,632
47,082
6.082209
0.059837
0.043205
0.068224
0.064633
0.685068
0.640023
0.623734
0.60975
0.602919
0.592439
0
0.034962
0.114247
47,082
1,066
4,112
44.166979
0.786442
0.024064
0
0.673096
1
0.00203
0.200357
0.153496
0
0
0
0
0
1
0
false
0
0.004061
0
0.004061
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e89e2ee4f9001f0578266953a3964c71a8f9254e
2,044
py
Python
2015-09-23-2048/marko/twozerofoureight.py
EIK-LUG/CodeClubPython
fb0660ad85a7b0a17d33d37d18f8b41ae597e022
[ "WTFPL" ]
2
2015-09-12T10:11:38.000Z
2015-09-13T13:18:25.000Z
2015-09-23-2048/marko/twozerofoureight.py
EIK-LUG/CodeClubPython
fb0660ad85a7b0a17d33d37d18f8b41ae597e022
[ "WTFPL" ]
2
2015-09-12T07:18:15.000Z
2015-10-07T06:01:56.000Z
2015-09-23-2048/marko/twozerofoureight.py
EIK-LUG/CodeClubPython
fb0660ad85a7b0a17d33d37d18f8b41ae597e022
[ "WTFPL" ]
5
2015-09-11T11:19:51.000Z
2018-02-08T18:17:44.000Z
from arrows import Arrow from random import randrange import os def cls(): os.system(['clear','cls'][os.name == 'nt']) class board: board_list = [] def __init__(self): for i in range(0,4): self.board_list.append([0,0,0,0]) def move_left_right(self,direction): for n in range(len(self.board_list)): s...
22.461538
65
0.6409
335
2,044
3.767164
0.197015
0.171157
0.236926
0.133122
0.400951
0.357369
0.263867
0.229002
0.094295
0.094295
0
0.023313
0.202544
2,044
90
66
22.711111
0.75092
0.004892
0
0.306667
0
0
0.035433
0
0
0
0
0
0
0
null
null
0.026667
0.04
null
null
0.093333
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
1
0
0
0
0
0
0
0
0
2
e8baedc3ea2fc704e9d63de6033e0cf477bb47ad
730
py
Python
venvs/sitio_web/restaurantes/forms.py
mmaguero/MII-SSBW16-17
25b6c340c63a2fbe8342b48ec7f730b68c58d1bc
[ "MIT" ]
1
2017-04-22T11:02:38.000Z
2017-04-22T11:02:38.000Z
venvs/sitio_web/restaurantes/forms.py
mmaguero/MII-SSBW16-17
25b6c340c63a2fbe8342b48ec7f730b68c58d1bc
[ "MIT" ]
4
2017-06-17T16:10:45.000Z
2022-02-13T20:23:04.000Z
venvs/sitio_web/restaurantes/forms.py
mmaguero/MII-SSBW16-17
25b6c340c63a2fbe8342b48ec7f730b68c58d1bc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django import forms from .models import restaurants # Para campos individuales: class RestaurantesForm(forms.Form): nombre = forms.CharField(required=True, label='Name', max_length=80) cocina = forms.CharField(required=True, label='Cuisine', widget=forms.TextInput(attrs={'plac...
30.416667
120
0.706849
81
730
6.358025
0.580247
0.108738
0.170874
0.201942
0.240777
0
0
0
0
0
0
0.004785
0.141096
730
23
121
31.73913
0.816587
0.064384
0
0
0
0
0.094675
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
e8c033cc6a4a48545997cee0b378c0c2bffa619f
1,321
py
Python
src/score.py
hudua/mlops
5d977ea9dd7556900fe74a699f1b294a14e43227
[ "MIT" ]
7
2020-04-20T18:14:22.000Z
2021-06-03T20:53:31.000Z
src/score.py
hudua/mlops
5d977ea9dd7556900fe74a699f1b294a14e43227
[ "MIT" ]
null
null
null
src/score.py
hudua/mlops
5d977ea9dd7556900fe74a699f1b294a14e43227
[ "MIT" ]
2
2020-04-16T19:53:03.000Z
2020-04-20T18:14:37.000Z
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- import json import pickle import numpy as np import pandas as pd import azureml.train.automl from sklearn.externals import joblib from azure...
34.763158
105
0.694171
163
1,321
5.484663
0.503067
0.043624
0.063758
0.06264
0.073826
0
0
0
0
0
0
0.016681
0.137774
1,321
37
106
35.702703
0.768218
0.211961
0
0
0
0
0.050242
0
0
0
0
0
0
1
0.076923
false
0
0.423077
0
0.576923
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
0
1
0
0
2
e8d19d4e94b6451041a4c1b7278c3a3b6d2c509e
3,189
py
Python
api/server/swagger_server/code_templates/serve_kfserving.TEMPLATE.py
srishtipithadia/mlx
2fb61a8840696c7ede77cd600caa8922178ec8b0
[ "Apache-2.0" ]
null
null
null
api/server/swagger_server/code_templates/serve_kfserving.TEMPLATE.py
srishtipithadia/mlx
2fb61a8840696c7ede77cd600caa8922178ec8b0
[ "Apache-2.0" ]
1
2021-09-21T23:31:13.000Z
2021-09-21T23:31:13.000Z
api/server/swagger_server/code_templates/serve_kfserving.TEMPLATE.py
srishtipithadia/mlx
2fb61a8840696c7ede77cd600caa8922178ec8b0
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 IBM Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
36.655172
157
0.6074
339
3,189
5.551622
0.448378
0.031881
0.038257
0.046759
0.030818
0
0
0
0
0
0
0.012956
0.201317
3,189
86
158
37.081395
0.725952
0.254625
0
0.045455
0
0.022727
0.256029
0.041047
0
0
0
0.011628
0
0
null
null
0
0.181818
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
e8d6579acf43de4b70508e27758ded56a4833eac
1,123
py
Python
python/save_cookies.py
ruilisi/weibo-crawler
c10747b6ef55dfb13194f7d42ccf0cc8cc176ff7
[ "MIT" ]
3
2020-11-24T02:53:15.000Z
2020-12-30T02:48:04.000Z
python/save_cookies.py
Soryu23/weibo-crawler
08d8d68ebf25e5446edcbc2ecd2927681a7db20a
[ "MIT" ]
null
null
null
python/save_cookies.py
Soryu23/weibo-crawler
08d8d68ebf25e5446edcbc2ecd2927681a7db20a
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.common.exceptions import TimeoutException from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.common.action_chains import ActionChains fro...
34.030303
106
0.764915
162
1,123
5.166667
0.481481
0.086022
0.100358
0.064516
0.088411
0.088411
0.088411
0.088411
0
0
0
0.009728
0.084595
1,123
32
107
35.09375
0.804475
0
0
0.071429
0
0
0.137133
0.039181
0
0
0
0
0
1
0
false
0.107143
0.321429
0
0.321429
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
0
0
0
2
2ce552def4b4786ff55b780f99b77baebe9cec72
346
py
Python
src/services/sspanel_mining/__init__.py
lkmvip/sspanel-mining
20adefc65cc1e631222a6529b47cba1f799314cb
[ "Apache-2.0" ]
1
2022-03-16T13:34:55.000Z
2022-03-16T13:34:55.000Z
src/services/sspanel_mining/__init__.py
lkmvip/sspanel-mining
20adefc65cc1e631222a6529b47cba1f799314cb
[ "Apache-2.0" ]
null
null
null
src/services/sspanel_mining/__init__.py
lkmvip/sspanel-mining
20adefc65cc1e631222a6529b47cba1f799314cb
[ "Apache-2.0" ]
null
null
null
""" - 集爬取、清洗、分类与测试为一体的STAFF采集队列自动化更新组件 - 需要本机启动系统全局代理,或使用“国外”服务器部署 """ from .sspanel_checker import SSPanelStaffChecker from .sspanel_classifier import SSPanelHostsClassifier from .sspanel_collector import SSPanelHostsCollector __version__ = 'v0.2.2' __all__ = ['SSPanelHostsCollector', "SSPanelStaffChecker", ...
28.833333
84
0.803468
30
346
8.9
0.666667
0.123596
0
0
0
0
0
0
0
0
0
0.009677
0.104046
346
11
85
31.454545
0.851613
0.179191
0
0
0
0
0.253731
0.160448
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2ceaaf84318f4b6252e8c55f5ebc679a86234e7c
42,316
py
Python
tests/test_dfa.py
UCSCFormalMethods/CIToolkit
3c7ad4950a5589122914da7fbb8509af64cbee71
[ "MIT" ]
null
null
null
tests/test_dfa.py
UCSCFormalMethods/CIToolkit
3c7ad4950a5589122914da7fbb8509af64cbee71
[ "MIT" ]
null
null
null
tests/test_dfa.py
UCSCFormalMethods/CIToolkit
3c7ad4950a5589122914da7fbb8509af64cbee71
[ "MIT" ]
null
null
null
""" Tests for the Dfa class""" import math import random import itertools import pytest from citoolkit.specifications.spec import AbstractSpec from citoolkit.specifications.dfa import Dfa, State, DfaCycleError ################################################################################################### # Basi...
38.156898
142
0.664453
5,580
42,316
4.860036
0.057168
0.054353
0.027803
0.036432
0.809101
0.731627
0.636085
0.618533
0.606696
0.59084
0
0.043443
0.195458
42,316
1,108
143
38.191336
0.753121
0.250378
0
0.586207
0
0
0.117957
0.015567
0
0
0
0
0.272578
1
0.045977
false
0
0.009852
0
0.057471
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2cfffdde49faeae9dcf8f62f7e8402295d50ba31
221
py
Python
mopidy_plex/settings.py
risiko79/mopidy_plex
c547bc3b7feba5973731a6b153b932c36ebc15cf
[ "Apache-2.0" ]
1
2022-02-14T17:53:49.000Z
2022-02-14T17:53:49.000Z
mopidy_plex/settings.py
risiko79/mopidy_plex
c547bc3b7feba5973731a6b153b932c36ebc15cf
[ "Apache-2.0" ]
1
2022-01-09T13:34:10.000Z
2022-01-17T16:14:17.000Z
mopidy_plex/settings.py
risiko79/mopidy_plex
c547bc3b7feba5973731a6b153b932c36ebc15cf
[ "Apache-2.0" ]
null
null
null
settings = {} settings['version'] = "0.1" settings['port'] = 36000 settings['product'] = "MOPIDY-PLEX" settings['debug_registration'] = False settings['debug_httpd'] = False settings['host'] = "" settings['token'] = None
24.555556
38
0.683258
25
221
5.96
0.64
0.174497
0
0
0
0
0
0
0
0
0
0.035533
0.108597
221
8
39
27.625
0.720812
0
0
0
0
0
0.316742
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fa136a9da590f2677c2d43720ca0cb8d13825acf
813
py
Python
oscar/lib/python2.7/site-packages/txclib/paths.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/txclib/paths.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
oscar/lib/python2.7/site-packages/txclib/paths.py
sainjusajan/django-oscar
466e8edc807be689b0a28c9e525c8323cc48b8e1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Path handling. We need to take into account the differences between UNIX systems and Windows. """ import os posix_sep = os.sep if os.altsep is None else os.altsep def posix_path(fpath): """Convert a filesystem path to a posix path. Always use the forward sla...
21.972973
76
0.650677
121
813
4.347107
0.413223
0.091255
0.057034
0.068441
0.43346
0.43346
0.395437
0.395437
0.26616
0.26616
0
0.001684
0.269373
813
36
77
22.583333
0.883838
0.537515
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
fa1a26cfde5c7617cee0dcc1167ff3224bdf036c
5,888
py
Python
lib/buildcommon.py
wgsyd/SCMReplication
fa1cf05cc6119f674fefe46823131a96c1b57cfa
[ "Unlicense" ]
2
2016-10-06T01:14:25.000Z
2016-10-21T15:07:49.000Z
lib/buildcommon.py
wgnet/SCMReplication
fa1cf05cc6119f674fefe46823131a96c1b57cfa
[ "Unlicense" ]
null
null
null
lib/buildcommon.py
wgnet/SCMReplication
fa1cf05cc6119f674fefe46823131a96c1b57cfa
[ "Unlicense" ]
1
2016-10-20T06:28:36.000Z
2016-10-20T06:28:36.000Z
'''some useful functions ''' import contextlib import os import shutil def generate_file_hash(filename): '''generate hash of contents of file @param filename [in] name of file to hash ''' import hashlib hasher = hashlib.sha256() blocksize = 65536 with open(filename, 'rb') as fo: ...
30.194872
98
0.613621
831
5,888
4.070999
0.22864
0.040792
0.037245
0.015371
0.197162
0.144546
0.138043
0.130062
0.077446
0.077446
0
0.004349
0.297045
5,888
195
99
30.194872
0.812998
0.024626
0
0.21374
1
0
0.014087
0
0
0
0
0
0
0
null
null
0.007634
0.061069
null
null
0.038168
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
fa25cf29087aebed47744c23693a24e18adcb78c
3,384
py
Python
src/comp_chem_utils/mysql_tables.py
lcbc-epfl/comp_chem_py
78cdde1e138086c78c69dca05a756b94d0d85cac
[ "MIT" ]
null
null
null
src/comp_chem_utils/mysql_tables.py
lcbc-epfl/comp_chem_py
78cdde1e138086c78c69dca05a756b94d0d85cac
[ "MIT" ]
null
null
null
src/comp_chem_utils/mysql_tables.py
lcbc-epfl/comp_chem_py
78cdde1e138086c78c69dca05a756b94d0d85cac
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Definitions of classes to work with molecular data. The mol_info_table class is used to store and manipulated information about a molecule. The mol_xyz_table class is used to store and manipulated the xyz coodinate of a molecule. The functions defined here are basically wrappers to MySQL e...
28.2
94
0.573286
451
3,384
4.126386
0.301552
0.018807
0.032241
0.022569
0.266523
0.209027
0.18431
0.18431
0.144546
0.109618
0
0.011731
0.269504
3,384
119
95
28.436975
0.7411
0.199173
0
0.225352
0
0
0.21676
0
0
0
0
0
0
1
0.211268
false
0
0
0.140845
0.422535
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
0
0
0
2
fa2c573d10c05fd8853851b63ff8e7e72613b07b
325
py
Python
src/apps/inventories/admin.py
Remy-TPP/q-api
761dd2d15557cb9a8bdc0b397fc10e0cf7c95c03
[ "MIT" ]
null
null
null
src/apps/inventories/admin.py
Remy-TPP/q-api
761dd2d15557cb9a8bdc0b397fc10e0cf7c95c03
[ "MIT" ]
14
2020-06-23T20:32:16.000Z
2022-01-13T03:13:20.000Z
src/apps/inventories/admin.py
MartinCura/q-api
761dd2d15557cb9a8bdc0b397fc10e0cf7c95c03
[ "MIT" ]
null
null
null
from django.contrib import admin from apps.inventories.models import Place @admin.register(Place) class PlaceAdmin(admin.ModelAdmin): list_display = ('pk', 'name', 'all_members') ordering = ('pk',) def all_members(self, obj): return '\n'.join([str(member) for member in obj.members.all().distinct...
25
82
0.689231
43
325
5.139535
0.72093
0.090498
0
0
0
0
0
0
0
0
0
0
0.16
325
12
83
27.083333
0.809524
0
0
0
0
0
0.064615
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
fa3504ac4944a8e9c274843d42d7d8f524fab17a
214
py
Python
j2lint/__init__.py
KonikaChaurasiya-GSLab/j2lint
7f6e5fecf2dd151d2e91cd1710d5796fcb28c961
[ "MIT" ]
9
2022-01-04T15:05:40.000Z
2022-01-10T12:45:22.000Z
j2lint/__init__.py
KonikaChaurasiya-GSLab/j2lint
7f6e5fecf2dd151d2e91cd1710d5796fcb28c961
[ "MIT" ]
20
2022-01-04T15:06:29.000Z
2022-02-25T05:56:02.000Z
j2lint/__init__.py
KonikaChaurasiya-GSLab/j2lint
7f6e5fecf2dd151d2e91cd1710d5796fcb28c961
[ "MIT" ]
6
2021-12-27T10:16:07.000Z
2022-02-22T11:58:25.000Z
"""__init__.py - A command-line utility that checks for best practices in Jinja2. """ NAME = 'j2lint' VERSION = '0.1' DESCRIPTION = __doc__ __author__ = "Arista Networks" __license__ = "MIT" __version__ = VERSION
21.4
81
0.728972
27
214
5.037037
0.925926
0
0
0
0
0
0
0
0
0
0
0.022099
0.154206
214
9
82
23.777778
0.729282
0.364486
0
0
0
0
0.209302
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
fa4efe933c2d85b43651624458b0ae0dbb7e2d92
468
py
Python
src/store.py
YTCdev/yangubot
065cf34d524de6d21236fe4ed669262483742014
[ "MIT" ]
null
null
null
src/store.py
YTCdev/yangubot
065cf34d524de6d21236fe4ed669262483742014
[ "MIT" ]
2
2020-11-09T22:31:41.000Z
2021-05-02T20:49:15.000Z
src/store.py
YTCdev/yangubot
065cf34d524de6d21236fe4ed669262483742014
[ "MIT" ]
null
null
null
from woocommerce import API class Store: def __init__(self, url, key, secret): self.wcapi = API( url=url, consumer_key=key, consumer_secret=secret, wp_api=True, version="wc/v3" ) def get_order(self, order_id): return self.wca...
24.631579
69
0.570513
59
468
4.288136
0.440678
0.110672
0.086957
0.134387
0.332016
0.332016
0.332016
0.332016
0.332016
0.332016
0
0.003086
0.307692
468
18
70
26
0.777778
0
0
0
0
0
0.053419
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.142857
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2