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
c372b684bbfd0f42f8ea8e01aa6fca7740c0259d
85
py
Python
hackernews/__init__.py
niksite/hackernews-api-client
728a6543d282e5455201ea2fbcfeb258e6b075f7
[ "MIT" ]
null
null
null
hackernews/__init__.py
niksite/hackernews-api-client
728a6543d282e5455201ea2fbcfeb258e6b075f7
[ "MIT" ]
null
null
null
hackernews/__init__.py
niksite/hackernews-api-client
728a6543d282e5455201ea2fbcfeb258e6b075f7
[ "MIT" ]
null
null
null
"""HackerNews API client.""" from .client import get_user_items __version__ = '0.1'
17
34
0.729412
12
85
4.666667
0.916667
0
0
0
0
0
0
0
0
0
0
0.027027
0.129412
85
4
35
21.25
0.72973
0.258824
0
0
0
0
0.052632
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c37370e73d524c767bae011358a76e55f81a1beb
371
py
Python
app/_settings/__init__.py
valeriansaliou/waaave-web
8a0cde773563865a905af38f5a0b723a43b17341
[ "RSA-MD" ]
1
2020-04-06T10:04:43.000Z
2020-04-06T10:04:43.000Z
app/_settings/__init__.py
valeriansaliou/waaave-web
8a0cde773563865a905af38f5a0b723a43b17341
[ "RSA-MD" ]
null
null
null
app/_settings/__init__.py
valeriansaliou/waaave-web
8a0cde773563865a905af38f5a0b723a43b17341
[ "RSA-MD" ]
null
null
null
import os from .common import * try: import environment except ImportError: pass ENVIRONMENT = os.getenv("DJANGO_ENVIRONMENT") or "development" if ENVIRONMENT == "production": from .production import * elif ENVIRONMENT == "testing": from .testing import * else: from .development import * try: ...
17.666667
62
0.703504
41
371
6.341463
0.463415
0.069231
0.161538
0
0
0
0
0
0
0
0
0
0.207547
371
21
63
17.666667
0.884354
0
0
0.352941
0
0
0.123656
0
0
0
0
0
0
1
0
false
0.117647
0.529412
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
c379fed199a38c03e54147ed54487d643a12397e
668
py
Python
lib/tags.py
Mozzo1000/tagz
4a35bc25c1727a4eba2830af890368c3afba0813
[ "Apache-2.0" ]
null
null
null
lib/tags.py
Mozzo1000/tagz
4a35bc25c1727a4eba2830af890368c3afba0813
[ "Apache-2.0" ]
2
2021-12-07T11:59:08.000Z
2021-12-07T12:01:23.000Z
lib/tags.py
Mozzo1000/tagz
4a35bc25c1727a4eba2830af890368c3afba0813
[ "Apache-2.0" ]
null
null
null
from backend.database import init_db, Files, session from backend.utils import flatten class Tags: def __init__(self): db = init_db() self.session = session(db) def get(self, tag): tag = self.session.query(Files).filter(Files.tags.like("%" + tag + "%")).all() return tag ...
30.363636
86
0.60479
89
668
4.41573
0.359551
0.111959
0.122137
0.160305
0.277354
0.277354
0.183206
0
0
0
0
0
0.255988
668
21
87
31.809524
0.790744
0
0
0
0
0
0.007485
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0
0.588235
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
5ef02a4c7e0f8322184f82409ad8178e9c4d591a
120
py
Python
lib/global_vars.py
sumedhpb/TAF
fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449
[ "Apache-2.0" ]
null
null
null
lib/global_vars.py
sumedhpb/TAF
fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449
[ "Apache-2.0" ]
null
null
null
lib/global_vars.py
sumedhpb/TAF
fc6f4cb8dc0b8234393f2e52a7b4a1aa723d9449
[ "Apache-2.0" ]
null
null
null
import logging logger = dict() logger["infra"] = logging.getLogger("infra") logger["test"] = logging.getLogger("test")
20
44
0.708333
14
120
6.071429
0.5
0.376471
0
0
0
0
0
0
0
0
0
0
0.1
120
5
45
24
0.787037
0
0
0
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5ef2191efad3ea19c97841e6a8568caa99028a49
111
py
Python
main_module/submodule2/__init__.py
JohanNicander/python-test-architecture
2418f861cb46c3fccaa21be94ee92c5862985a15
[ "Apache-2.0" ]
null
null
null
main_module/submodule2/__init__.py
JohanNicander/python-test-architecture
2418f861cb46c3fccaa21be94ee92c5862985a15
[ "Apache-2.0" ]
null
null
null
main_module/submodule2/__init__.py
JohanNicander/python-test-architecture
2418f861cb46c3fccaa21be94ee92c5862985a15
[ "Apache-2.0" ]
null
null
null
from .two import two from main_module._unittester import UnitTester test = UnitTester(__name__) del UnitTester
22.2
46
0.837838
15
111
5.8
0.6
0
0
0
0
0
0
0
0
0
0
0
0.117117
111
5
47
22.2
0.887755
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6f176fadd4741132216606597655bb6be93b8dc1
264
py
Python
testapps/PY/teacher.py
EyelynSu/pinpoint-c-agent
35cab594fe69c8de3ddb13625590d76a75bf8381
[ "Apache-2.0" ]
44
2020-10-27T07:15:50.000Z
2022-03-26T13:37:23.000Z
testapps/PY/teacher.py
EyelynSu/pinpoint-c-agent
35cab594fe69c8de3ddb13625590d76a75bf8381
[ "Apache-2.0" ]
120
2020-10-19T17:33:24.000Z
2022-03-23T06:31:14.000Z
testapps/PY/teacher.py
EyelynSu/pinpoint-c-agent
35cab594fe69c8de3ddb13625590d76a75bf8381
[ "Apache-2.0" ]
23
2020-10-22T06:47:40.000Z
2022-03-17T08:15:09.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- from person import Person from pinpoint.common import PinpointCommonPlugin class Teacher(Person): @PinpointCommonPlugin("Teacher"+__name__) def eat(self): return super().eat()+"Teacher eating too!"
20.307692
50
0.69697
31
264
5.806452
0.741935
0
0
0
0
0
0
0
0
0
0
0.004545
0.166667
264
12
51
22
0.813636
0.159091
0
0
0
0
0.118182
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
6f45a3bf0ae3f5c18ff48a032a9b6e966df47c41
415
py
Python
integration_tests/models.py
aiqa/geo-docker-django
87dbb841ce79d43222b7a03f708b142dc4de36de
[ "MIT" ]
1
2020-08-26T17:59:26.000Z
2020-08-26T17:59:26.000Z
integration_tests/models.py
aiqa/geo-docker-django
87dbb841ce79d43222b7a03f708b142dc4de36de
[ "MIT" ]
12
2020-06-06T00:56:38.000Z
2022-02-19T00:17:10.000Z
integration_tests/models.py
aiqa/geo-docker-django
87dbb841ce79d43222b7a03f708b142dc4de36de
[ "MIT" ]
1
2022-03-16T14:00:24.000Z
2022-03-16T14:00:24.000Z
from random import randint from faker import Faker fake = Faker() def random_city_body(): return { 'name': fake.city(), 'population': randint(300, 5_000_000) } def random_mountain_body(): return { 'name': fake.word(), 'height': randint(300, 5000) } def random_rive...
15.37037
45
0.571084
48
415
4.770833
0.4375
0.117904
0.183406
0.235808
0.19214
0
0
0
0
0
0
0.081633
0.291566
415
26
46
15.961538
0.697279
0
0
0.277778
0
0
0.081928
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0.166667
0.444444
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
6f492802adf2e29a21cedfdda97c922aea02a214
632
py
Python
pincer/objects/overwrite.py
ashu96902/Pincer
102ac4ff998cbb3c57a86b252439f69895650cf3
[ "MIT" ]
null
null
null
pincer/objects/overwrite.py
ashu96902/Pincer
102ac4ff998cbb3c57a86b252439f69895650cf3
[ "MIT" ]
null
null
null
pincer/objects/overwrite.py
ashu96902/Pincer
102ac4ff998cbb3c57a86b252439f69895650cf3
[ "MIT" ]
null
null
null
# Copyright Pincer 2021-Present # Full MIT License can be found in `LICENSE` at the project root. from __future__ import annotations from dataclasses import dataclass from typing import TYPE_CHECKING from ..utils import APIObject if TYPE_CHECKING: from ..utils import Snowflake @dataclass class Overwrite(APIObj...
18.057143
65
0.672468
81
632
5.17284
0.617284
0.057279
0.076372
0.100239
0.128878
0
0
0
0
0
0
0.012987
0.268987
632
34
66
18.588235
0.893939
0.454114
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.416667
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
1
0
1
0
1
0
0
3
48932e32ca310d5a0fb608a372bb60e1b4fc18ab
1,180
py
Python
tests/1_basics.py
zauddelig/pytest-workshop
06f2f35188df94d6c6f5b9ac52ac1ea78da587f8
[ "Apache-2.0" ]
null
null
null
tests/1_basics.py
zauddelig/pytest-workshop
06f2f35188df94d6c6f5b9ac52ac1ea78da587f8
[ "Apache-2.0" ]
null
null
null
tests/1_basics.py
zauddelig/pytest-workshop
06f2f35188df94d6c6f5b9ac52ac1ea78da587f8
[ "Apache-2.0" ]
null
null
null
""" A python file must contain a prefix to be detected by pytest as a test file. You can run the test using: pytest tests/must_have_a_prefx.py To allow pytest to find this file add the test_ prefix, e.g.: test_basics.py once done you can run it using: pytest test.py """ def test_assertions(): """ Most ...
20.344828
76
0.657627
198
1,180
3.853535
0.419192
0.055046
0.023591
0.036697
0.081258
0
0
0
0
0
0
0.004689
0.277119
1,180
57
77
20.701754
0.889801
0.750847
0
0
0
0
0.19898
0
0
0
0
0
0.666667
1
0.5
true
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
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
1
0
0
0
0
0
0
3
4895f41d4680ea2d4c2191214672738d62b156ce
145
py
Python
main.py
benfrankel/set-game
3018ef359e541d045ba1cc674f252ecabc5d3374
[ "Apache-2.0" ]
null
null
null
main.py
benfrankel/set-game
3018ef359e541d045ba1cc674f252ecabc5d3374
[ "Apache-2.0" ]
null
null
null
main.py
benfrankel/set-game
3018ef359e541d045ba1cc674f252ecabc5d3374
[ "Apache-2.0" ]
null
null
null
import pygame from setgame import launcher pygame.init() pygame.mixer.quit() launcher.load() launcher.spawn_app().launch(fps=60, debug=True)
13.181818
47
0.765517
21
145
5.238095
0.761905
0
0
0
0
0
0
0
0
0
0
0.015385
0.103448
145
10
48
14.5
0.830769
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
0
0
0
3
48a02cccd1f2fd142b79ebe9a6fe18ef605203bf
1,585
py
Python
app/api/v2/__init__.py
Mati607/caldera
895c3ff84715aa7333ea02545ba8d022cbc9e053
[ "Apache-2.0" ]
3,385
2017-11-29T02:08:31.000Z
2022-03-31T13:38:11.000Z
app/api/v2/__init__.py
Mati607/caldera
895c3ff84715aa7333ea02545ba8d022cbc9e053
[ "Apache-2.0" ]
1,283
2017-11-29T16:45:31.000Z
2022-03-31T20:10:04.000Z
app/api/v2/__init__.py
Mati607/caldera
895c3ff84715aa7333ea02545ba8d022cbc9e053
[ "Apache-2.0" ]
800
2017-11-29T17:48:43.000Z
2022-03-30T22:39:40.000Z
from aiohttp import web def make_app(services): from .responses import json_request_validation_middleware from .security import authentication_required_middleware_factory app = web.Application( middlewares=[ authentication_required_middleware_factory(services['auth_svc']), ...
28.818182
77
0.760252
183
1,585
6.360656
0.284153
0.134021
0.189863
0.223368
0.396907
0.33677
0.061856
0
0
0
0
0
0.170347
1,585
54
78
29.351852
0.885171
0
0
0
0
0
0.005047
0
0
0
0
0
0
1
0.027027
false
0
0.432432
0
0.486486
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
48a2a86fa0b4f02ffd3d48d5b5f1d6a3c6f5186f
409
py
Python
onnx_tf/handlers/frontend/relu.py
jsigee87/onnx-tensorflow
90a58bed24a18f5260ebe9f22bf4997f9d591f62
[ "Apache-2.0" ]
18
2020-02-03T07:14:40.000Z
2021-12-20T18:45:43.000Z
onnx_tf/handlers/frontend/relu.py
jsigee87/onnx-tensorflow
90a58bed24a18f5260ebe9f22bf4997f9d591f62
[ "Apache-2.0" ]
11
2020-01-28T23:16:25.000Z
2022-02-10T01:04:56.000Z
onnx_tf/handlers/frontend/relu.py
jsigee87/onnx-tensorflow
90a58bed24a18f5260ebe9f22bf4997f9d591f62
[ "Apache-2.0" ]
2
2020-08-20T08:15:09.000Z
2021-02-23T07:30:40.000Z
from onnx_tf.handlers.frontend_handler import FrontendHandler from onnx_tf.handlers.handler import onnx_op from onnx_tf.handlers.handler import tf_op @onnx_op("Relu") @tf_op("Relu") class Relu(FrontendHandler): @classmethod def version_1(cls, node, **kwargs): return cls.make_node_from_tf_node(node) @class...
24.058824
61
0.777506
63
409
4.761905
0.333333
0.08
0.1
0.18
0.5
0.5
0.293333
0.293333
0.293333
0.293333
0
0.005571
0.122249
409
16
62
25.5625
0.830084
0
0
0.333333
0
0
0.01956
0
0
0
0
0
0
1
0.166667
false
0
0.25
0.166667
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
48a8621492c86b993ab9c82cc593d7e8d39dd159
509
py
Python
App/Actualiza/api/forms.py
stroomed/tesis2020
78ce1da41e91e324625aa78a4c9afa7552639e41
[ "MIT" ]
null
null
null
App/Actualiza/api/forms.py
stroomed/tesis2020
78ce1da41e91e324625aa78a4c9afa7552639e41
[ "MIT" ]
26
2020-04-07T18:00:08.000Z
2020-07-20T00:28:41.000Z
App/Actualiza/api/forms.py
stroomed/tesis2020
78ce1da41e91e324625aa78a4c9afa7552639e41
[ "MIT" ]
null
null
null
from django.forms import ModelForm from users.models import Usuario from .models import experimento, imagen, video class UsuarioForm(ModelForm): class Meta: model = Usuario fields = '__all__' class ExperimentoForm(ModelForm): class Meta: model = experimento fields = '__all__' ...
21.208333
46
0.656189
52
509
6.115385
0.384615
0.176101
0.226415
0.289308
0
0
0
0
0
0
0
0
0.27112
509
24
47
21.208333
0.857143
0
0
0.421053
0
0
0.054902
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.578947
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
48ca66e1e1e0e910f0bfe48e7f3d8b5ee61e6185
626
py
Python
src/394. Decode String.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
src/394. Decode String.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
src/394. Decode String.py
xiaonanln/myleetcode-python
95d282f21a257f937cd22ef20c3590a69919e307
[ "Apache-2.0" ]
null
null
null
class Solution(object): def decodeString(self, s): """ :type s: str :rtype: str """ stack = [ ["", None, ] ] cur = stack[-1] for c in s: if c == '[': cur = ["", None] stack.append( cur ) elif c == ']': # print 'closing', cur s = cur[0] stack.pop() cur = stack[-1] c...
18.969697
63
0.504792
96
626
3.291667
0.395833
0.063291
0.237342
0.164557
0
0
0
0
0
0
0
0.046053
0.271566
626
33
64
18.969697
0.64693
0.174121
0
0.090909
0
0
0.027311
0
0
0
0
0
0
0
null
null
0
0
null
null
0.045455
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
48d0f75ec86c95b6b4e84b0119aa660bd1611eaf
222
py
Python
Research/tools/api_socket.py
RomanMichaelPaolucci/Automatic_Portfolio_Optimization
6a7925d5f30f02cffef19d7347a979a38e282805
[ "MIT" ]
9
2020-02-12T13:26:30.000Z
2021-11-22T16:06:26.000Z
Research/tools/api_socket.py
RomanMichaelPaolucci/Automatic_Portfolio_Optimization
6a7925d5f30f02cffef19d7347a979a38e282805
[ "MIT" ]
null
null
null
Research/tools/api_socket.py
RomanMichaelPaolucci/Automatic_Portfolio_Optimization
6a7925d5f30f02cffef19d7347a979a38e282805
[ "MIT" ]
9
2020-02-22T22:26:48.000Z
2021-01-05T10:01:48.000Z
import pandas as pd import quandl import requests class QuandlSocket: """ Socket for cached historical market data requests """ def __init__(self): quandl.ApiConfig.api_key = 'YOUR_API_KEY'
15.857143
57
0.68018
27
222
5.333333
0.777778
0.083333
0
0
0
0
0
0
0
0
0
0
0.252252
222
13
58
17.076923
0.86747
0.220721
0
0
0
0
0.078431
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
48e95b7acd98b0486ed50bff61ec9b704459058b
195
py
Python
dev.py
Nearata/speedtest-servers
21f835be724afffc47b7f3eb1c5bda909063aa15
[ "MIT" ]
null
null
null
dev.py
Nearata/speedtest-servers
21f835be724afffc47b7f3eb1c5bda909063aa15
[ "MIT" ]
null
null
null
dev.py
Nearata/speedtest-servers
21f835be724afffc47b7f3eb1c5bda909063aa15
[ "MIT" ]
null
null
null
from speedtest_servers import create_app from config import Config app = create_app(Config) app.config["ENV"] = "development" if __name__ == "__main__": app.run(threaded=True, debug=True)
19.5
40
0.748718
27
195
5
0.592593
0.133333
0
0
0
0
0
0
0
0
0
0
0.138462
195
9
41
21.666667
0.803571
0
0
0
0
0
0.112821
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
48e97d99b57b8066f423de347c4020b58ecadbfa
3,764
py
Python
examples/example_script.py
nokia/napalm-srlinux
a29c93bbd5947747173c629a3afffdfa2e24747d
[ "Apache-2.0" ]
2
2021-07-29T23:56:49.000Z
2021-09-26T08:59:29.000Z
examples/example_script.py
nokia/napalm-srlinux
a29c93bbd5947747173c629a3afffdfa2e24747d
[ "Apache-2.0" ]
null
null
null
examples/example_script.py
nokia/napalm-srlinux
a29c93bbd5947747173c629a3afffdfa2e24747d
[ "Apache-2.0" ]
2
2021-06-29T10:05:26.000Z
2021-09-14T18:40:10.000Z
# Copyright 2020 Nokia # Licensed under the Apache License 2.0. # SPDX-License-Identifier: Apache-2.0 from napalm import get_network_driver import json driver = get_network_driver("srl") optional_args = { "gnmi_port": 57400, "jsonrpc_port": 80, "target_name": "172.20.20.2", "tls_cert":"/root/gnmic_cer...
50.864865
132
0.743092
571
3,764
4.705779
0.271454
0.147376
0.229252
0.327503
0.632304
0.533681
0.456271
0.314105
0.221064
0.096762
0
0.034434
0.05101
3,764
73
133
51.561644
0.717805
0.82492
0
0
0
0
0.405018
0.216846
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0
0
0
0
null
0
1
1
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
0
0
0
3
5b00e482294a654f202caff65f4ad1f6f450b2ce
930
py
Python
release/stubs.min/System/Runtime/InteropServices/__init___parts/TypeLibFuncAttribute.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/System/Runtime/InteropServices/__init___parts/TypeLibFuncAttribute.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/System/Runtime/InteropServices/__init___parts/TypeLibFuncAttribute.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class TypeLibFuncAttribute(Attribute,_Attribute): """ Contains the System.Runtime.InteropServices.FUNCFLAGS that were originally imported for this method from the COM type library. TypeLibFuncAttribute(flags: TypeLibFuncFlags) TypeLibFuncAttribute(flags: Int16) """ def __init__(self,*args): """ ...
27.352941
215
0.724731
104
930
5.971154
0.432692
0.072464
0.077295
0.091787
0.181965
0.181965
0.181965
0.181965
0.181965
0.181965
0
0.005128
0.16129
930
33
216
28.181818
0.791026
0.530108
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.285714
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
5b0edb9b01a42fc851cc1a8db6a300175e11cdf5
588
py
Python
experiments/nginx/collect.py
tudinfse/intel_mpx_explained
9a3d7b060742d8fe89c1b56898f2b2e3617b670b
[ "MIT" ]
15
2018-07-31T07:24:36.000Z
2020-05-31T03:18:25.000Z
experiments/nginx/collect.py
OleksiiOleksenko/intel_mpx_explained
dd6da57e0fcf22df358d1a742079b414620a7c88
[ "MIT" ]
1
2020-02-01T00:29:32.000Z
2020-02-04T14:25:57.000Z
experiments/nginx/collect.py
OleksiiOleksenko/intel_mpx_explained
dd6da57e0fcf22df358d1a742079b414620a7c88
[ "MIT" ]
3
2017-02-08T04:02:51.000Z
2018-03-30T07:58:45.000Z
#!/usr/bin/env python from __future__ import absolute_import from core import collect def main(): collect.collect("nginx", user_parameters={ "num_clients": ["Concurrency Level", lambda l: collect.get_int_from_string(l)], "tput": ["Requests per second", lambda l: collect.get_float_from_string(l)],...
39.2
93
0.688776
79
588
4.822785
0.43038
0.091864
0.183727
0.223097
0.459318
0.459318
0.459318
0.459318
0.204724
0
0
0
0.164966
588
14
94
42
0.775967
0.034014
0
0
0
0
0.236332
0
0
0
0
0
0
1
0.1
true
0
0.2
0
0.3
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d2873c368d020d10bb16d6ad54fd67d36d519c27
162
py
Python
Python Pattern Programs/Symbol Patterns/Pattern 32.py
trial1user/Printing-Pattern-Programs
dde29e056b8e067fb3a824edb7ecb7dd9c9a776a
[ "MIT" ]
61
2021-01-07T03:56:25.000Z
2022-02-26T14:39:52.000Z
PythonPatternPrograms/SymbolPatterns/Pattern 32.py
Ankur-586/Printing-Pattern-Programs
33e534ed66a02705e6cd6bc1992d4818a44d1b6b
[ "MIT" ]
51
2020-12-25T17:06:26.000Z
2021-05-07T12:52:56.000Z
PythonPatternPrograms/SymbolPatterns/Pattern 32.py
Ankur-586/Printing-Pattern-Programs
33e534ed66a02705e6cd6bc1992d4818a44d1b6b
[ "MIT" ]
13
2021-01-07T09:50:21.000Z
2021-12-17T11:03:57.000Z
for x in range(6, 0, -1): if (x % 2 != 0): ctrl = x + 1 else: ctrl = x for y in range(0, ctrl): print("*", end="") print()
20.25
28
0.388889
26
162
2.423077
0.538462
0.222222
0
0
0
0
0
0
0
0
0
0.074468
0.419753
162
8
29
20.25
0.595745
0
0
0
0
0
0.006135
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d2a14e9f700f25021aee8ed4632015a1cfdf4eb8
4,321
py
Python
micrometals.py
dword1511/powdercore-q
ddf24c50e8178033a30cfbbf94642a5199764da6
[ "Apache-2.0" ]
null
null
null
micrometals.py
dword1511/powdercore-q
ddf24c50e8178033a30cfbbf94642a5199764da6
[ "Apache-2.0" ]
null
null
null
micrometals.py
dword1511/powdercore-q
ddf24c50e8178033a30cfbbf94642a5199764da6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import material class _Micrometals(material.Material): def __init__(self, ur, a, b, c, d, exp_a = 3, exp_b = 2.3, exp_c = 1.65): self._a = a self._b = b self._c = c self._d = d self._exp_a = exp_a self._exp_b = exp_b self._exp_c = exp_c super(...
26.03012
87
0.596853
778
4,321
2.848329
0.177378
0.097924
0.153881
0.202166
0.531588
0.515343
0.490975
0.258574
0.258574
0.090253
0
0.116652
0.220319
4,321
165
88
26.187879
0.54111
0.03402
0
0.27027
0
0
0.00288
0
0
0
0
0
0
1
0.288288
false
0
0.009009
0
0.585586
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d2cc5852acd5b0c5ffe642dea2dc756bf59bc3ff
2,649
py
Python
xcube/core/store/__init__.py
bcdev/xcube
9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3
[ "MIT" ]
null
null
null
xcube/core/store/__init__.py
bcdev/xcube
9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3
[ "MIT" ]
null
null
null
xcube/core/store/__init__.py
bcdev/xcube
9d275ef3baef8fbcea5c1fbbfb84c3d0164aecd3
[ "MIT" ]
null
null
null
# The MIT License (MIT) # Copyright (c) 2021 by the xcube development team and contributors # # Permission is hereby granted, free of charge, to any person obtaining a copy of # this software and associated documentation files (the "Software"), to deal in # the Software without restriction, including without limitation...
44.898305
81
0.8339
371
2,649
5.832884
0.404313
0.049908
0.074861
0.030499
0.100739
0.024954
0
0
0
0
0
0.001736
0.130238
2,649
58
82
45.672414
0.9375
0.418271
0
0
0
0
0
0
0
0
0
0
0.054054
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d2d716a108dc9efd12cbacfbd258eb5f34c5c818
380
py
Python
dongtai_agent_python/middlewares/django_wsgi_middleware.py
luzhongyang/DongTai-agent-python-1
f4e14afb136946809c5e84b7b163a8c32267a27a
[ "Apache-2.0" ]
17
2021-11-13T11:57:10.000Z
2022-03-26T12:45:30.000Z
dongtai_agent_python/middlewares/django_wsgi_middleware.py
luzhongyang/DongTai-agent-python-1
f4e14afb136946809c5e84b7b163a8c32267a27a
[ "Apache-2.0" ]
2
2021-11-08T07:43:38.000Z
2021-12-09T02:23:46.000Z
dongtai_agent_python/middlewares/django_wsgi_middleware.py
luzhongyang/DongTai-agent-python-1
f4e14afb136946809c5e84b7b163a8c32267a27a
[ "Apache-2.0" ]
17
2021-11-02T08:21:57.000Z
2022-02-19T13:24:36.000Z
import django from dongtai_agent_python.middlewares.wsgi_middleware import WSGIMiddleware from dongtai_agent_python.setting import const class DjangoWSGIMiddleware(WSGIMiddleware): def __init__(self, wsgi_app): super(DjangoWSGIMiddleware, self).__init__(wsgi_app, { "name": const.CONTAINER_DJA...
29.230769
75
0.736842
40
380
6.575
0.575
0.08365
0.121673
0.1673
0
0
0
0
0
0
0
0
0.184211
380
12
76
31.666667
0.848387
0
0
0
0
0
0.028947
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d2eaa7c73076a8eb2dc0137c66dc5095e6618961
2,150
py
Python
simulation.py
jwmueller/OptimalIntervention
7f52f0f645d119974f655da3c6d13f55032dade6
[ "MIT" ]
1
2020-10-09T06:42:13.000Z
2020-10-09T06:42:13.000Z
simulation.py
jwmueller/OptimalIntervention
7f52f0f645d119974f655da3c6d13f55032dade6
[ "MIT" ]
null
null
null
simulation.py
jwmueller/OptimalIntervention
7f52f0f645d119974f655da3c6d13f55032dade6
[ "MIT" ]
null
null
null
import numpy as np from scipy.stats import invwishart """ Code to simulate data from some simple outcome-covariate relationships. """ def make_func(a): def func(sample_size, D, noise): r, fx = a() x = (r[1] - r[0]) * np.random.rand(sample_size, D) + r[0] y = np.apply_along_axis(lambda x: [...
34.677419
122
0.551628
386
2,150
2.968912
0.178756
0.038394
0.048866
0.04712
0.467714
0.441536
0.39267
0.319372
0.319372
0.319372
0
0.068986
0.224651
2,150
61
123
35.245902
0.618476
0.229767
0
0.277778
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.055556
0.138889
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d2f0f9f0661fd9302fcdfe86be26c4face971b62
444
py
Python
lost_ds/vis/api.py
l3p-cv/lost_ds
4a2f3ef027128b759d28e67cb1fdaa0a557e343c
[ "MIT" ]
1
2022-03-30T11:29:57.000Z
2022-03-30T11:29:57.000Z
lost_ds/vis/api.py
l3p-cv/lost_ds
4a2f3ef027128b759d28e67cb1fdaa0a557e343c
[ "MIT" ]
null
null
null
lost_ds/vis/api.py
l3p-cv/lost_ds
4a2f3ef027128b759d28e67cb1fdaa0a557e343c
[ "MIT" ]
null
null
null
from lost_ds.vis.vis import (vis_and_store, vis_sample, vis_semantic_segmentation, ) from lost_ds.vis.geometries import (draw_boxes, draw_lines, ...
44.4
55
0.346847
30
444
4.733333
0.566667
0.112676
0.140845
0.183099
0
0
0
0
0
0
0
0
0.619369
444
10
56
44.4
0.840237
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d2ff3099bb32420c8fcee3b51d19de67c55606bc
167
py
Python
melissa/actions/repeat.py
blacksparrow6/Melissa-Core
ea08ae5e3088360d3bddc40db72160697522b8f7
[ "MIT" ]
554
2015-12-10T12:08:50.000Z
2022-02-24T02:56:11.000Z
melissa/actions/repeat.py
blacksparrow6/Melissa-Core
ea08ae5e3088360d3bddc40db72160697522b8f7
[ "MIT" ]
178
2016-01-07T06:26:17.000Z
2020-04-23T20:41:07.000Z
melissa/actions/repeat.py
blacksparrow6/Melissa-Core
ea08ae5e3088360d3bddc40db72160697522b8f7
[ "MIT" ]
300
2015-12-16T13:23:29.000Z
2022-03-20T04:21:07.000Z
# Melissa from melissa.tts import tts WORDS = {'repeat_text': {'groups': ['repeat', 'say']}} def repeat_text(text): text = text.split(' ', 1)[1] tts(text)
15.181818
54
0.60479
23
167
4.304348
0.521739
0.242424
0.242424
0
0
0
0
0
0
0
0
0.014815
0.191617
167
10
55
16.7
0.718519
0.041916
0
0
0
0
0.170886
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
960108b6cf554360f4c0d07afc45c57d4a7cf7e8
944
py
Python
users/admin.py
namanmalikk/UpCare
43af1a3d291d4580cdf9348e9c38da4a7e41db73
[ "Apache-2.0" ]
null
null
null
users/admin.py
namanmalikk/UpCare
43af1a3d291d4580cdf9348e9c38da4a7e41db73
[ "Apache-2.0" ]
null
null
null
users/admin.py
namanmalikk/UpCare
43af1a3d291d4580cdf9348e9c38da4a7e41db73
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import * admin.site.register(Doctor) admin.site.register(Patient) admin.site.register(Pharmacist) admin.site.register(Pathologist) admin.site.register(Appointment) admin.site.register(Medecine) # ---------------------------------------------------- # pharmacy registratio...
26.222222
54
0.635593
90
944
6.666667
0.333333
0.27
0.51
0.09
0.146667
0.146667
0.146667
0
0
0
0
0
0.055085
944
36
55
26.222222
0.672646
0.361229
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.105263
0
0.105263
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9606e4086bfae214a27a8ffbb99d9f5d55ade593
11,159
py
Python
compiler/fo_ast.py
k-ye/Fo
0d320ea7d0074803dffb7bf2199566db117867bc
[ "MIT" ]
null
null
null
compiler/fo_ast.py
k-ye/Fo
0d320ea7d0074803dffb7bf2199566db117867bc
[ "MIT" ]
null
null
null
compiler/fo_ast.py
k-ye/Fo
0d320ea7d0074803dffb7bf2199566db117867bc
[ "MIT" ]
null
null
null
from contextlib import contextmanager from fo_symbols import * from fo_types import * from source_code_builder import * class AstNode(object): def __init__(self, symbol_chain=None): self._symbol_chain = symbol_chain @property def lang(self): return 'Fo' @property def symbol(self): return sel...
19.646127
65
0.679631
1,502
11,159
4.774301
0.090546
0.072514
0.087854
0.039743
0.595454
0.520011
0.469391
0.427137
0.379584
0.366476
0
0.000908
0.210592
11,159
567
66
19.680776
0.813146
0.012994
0
0.573566
0
0
0.008086
0
0
0
0
0
0.01995
1
0.284289
false
0.002494
0.009975
0.157107
0.503741
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9606f792ebc1c2adfc053a7a2645405b21d0a779
297
py
Python
boids/test/test_betterboids.py
cpmck/boids
9547281d31ec806752ad7616fc6c6676cbc644d8
[ "MIT" ]
null
null
null
boids/test/test_betterboids.py
cpmck/boids
9547281d31ec806752ad7616fc6c6676cbc644d8
[ "MIT" ]
null
null
null
boids/test/test_betterboids.py
cpmck/boids
9547281d31ec806752ad7616fc6c6676cbc644d8
[ "MIT" ]
null
null
null
from matplotlib import pyplot as plt from matplotlib import animation import random import numpy as np from boids.flock import Flock from boids.flight import Flight from argparse import ArgumentParser import yaml import os from nose.tools import assert_equal from nose.tools import assert_raises
24.75
37
0.848485
46
297
5.434783
0.478261
0.112
0.16
0.152
0.2
0
0
0
0
0
0
0
0.138047
297
11
38
27
0.976563
0
0
0
0
0
0
0
0
0
0
0
0.181818
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
961051abffeab8beda618c1dc17575e0930609a9
504
py
Python
benchmarks/benchmark_timefn.py
samtx/pass-predictor
6577f75cd7d64bd3c12a9512880d4b29c2682b4c
[ "MIT" ]
null
null
null
benchmarks/benchmark_timefn.py
samtx/pass-predictor
6577f75cd7d64bd3c12a9512880d4b29c2682b4c
[ "MIT" ]
null
null
null
benchmarks/benchmark_timefn.py
samtx/pass-predictor
6577f75cd7d64bd3c12a9512880d4b29c2682b4c
[ "MIT" ]
null
null
null
# Write the benchmarking functions here. # See "Writing benchmarks" in the asv docs for more information. from datetime import datetime, timedelta, timezone import numpy as np from passpredict import time as pptime from passpredict import _time class Jday2Datetime: params = [2450383.09722222, 2453101.828154745,...
26.526316
71
0.738095
64
504
5.75
0.609375
0.065217
0.11413
0.13587
0
0
0
0
0
0
0
0.163814
0.188492
504
18
72
28
0.735941
0.200397
0
0
0
0
0.005
0
0
0
0
0
0
1
0.181818
false
0.181818
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
1
1
0
1
0
0
3
961c8c9a1b257c07452e04aa593acf62a7c05055
3,141
py
Python
projects/20131811/api/models.py
sisobus/WebStudio2019
2f659a84647110bcf975525905722931fa7055b3
[ "MIT" ]
14
2019-03-06T10:32:40.000Z
2021-11-18T01:44:28.000Z
projects/20131811/api/models.py
sisobus/WebStudio2019
2f659a84647110bcf975525905722931fa7055b3
[ "MIT" ]
35
2019-03-13T07:04:02.000Z
2019-10-08T06:26:45.000Z
projects/20131811/api/models.py
sisobus/WebStudio2019
2f659a84647110bcf975525905722931fa7055b3
[ "MIT" ]
22
2019-03-11T11:00:24.000Z
2019-09-14T06:53:30.000Z
from flask_sqlalchemy import SQLAlchemy from werkzeug import generate_password_hash, check_password_hash from sqlalchemy.orm import relationship, backref from datetime import datetime import json db = SQLAlchemy() def myconverter(o): if isinstance(o, datetime): return o.__str__() class User(db.Model): ...
29.632075
73
0.629417
398
3,141
4.698492
0.188442
0.072727
0.090909
0.090909
0.340642
0.269519
0.248128
0.231551
0.213904
0.151337
0
0.00593
0.248329
3,141
106
74
29.632075
0.786108
0.005731
0
0.261905
1
0
0.078526
0
0
0
0
0
0
1
0.119048
false
0.107143
0.059524
0.047619
0.607143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
824983050787e70b350b3215e0fb8717322ae942
265
py
Python
py2/Problem006.py
DanielGarrett/ProjectEuler
ca23f4dbfb2a47ea663fb0858630d3e2fb3b9764
[ "MIT" ]
null
null
null
py2/Problem006.py
DanielGarrett/ProjectEuler
ca23f4dbfb2a47ea663fb0858630d3e2fb3b9764
[ "MIT" ]
null
null
null
py2/Problem006.py
DanielGarrett/ProjectEuler
ca23f4dbfb2a47ea663fb0858630d3e2fb3b9764
[ "MIT" ]
null
null
null
import EulerRunner def sum_squares(top): return sum(x ** 2 for x in range(1, top+1)) def square_sum(top): return (top * (top + 1) / 2) ** 2 def problem6_func(): return square_sum(100) - sum_squares(100) EulerRunner.solve_problem(problem6_func)
18.928571
47
0.671698
42
265
4.071429
0.452381
0.116959
0
0
0
0
0
0
0
0
0
0.066038
0.2
265
13
48
20.384615
0.740566
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.375
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
825c6e13a75e96d762f474e026ff300a9de5d306
130
py
Python
control/decoder.py
shimomura314/Arithmetic-Logic-Unit
a547d2fe4ac3cbc2e38a64d654e26141f4c9c81a
[ "MIT" ]
null
null
null
control/decoder.py
shimomura314/Arithmetic-Logic-Unit
a547d2fe4ac3cbc2e38a64d654e26141f4c9c81a
[ "MIT" ]
null
null
null
control/decoder.py
shimomura314/Arithmetic-Logic-Unit
a547d2fe4ac3cbc2e38a64d654e26141f4c9c81a
[ "MIT" ]
null
null
null
__all__ = ["decoder"] def decoder(x: list) -> int: x = int(str("0b" + "".join(reversed(list(map(str, x))))), 2) return x
21.666667
64
0.553846
20
130
3.4
0.65
0
0
0
0
0
0
0
0
0
0
0.019231
0.2
130
6
65
21.666667
0.634615
0
0
0
0
0
0.068702
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
8264c19e26f5f39e2f5a1ae195a6d6c3fa970d9d
204
py
Python
openiPrototype/openiPrototype/APIS/Activity/Measurement/admin.py
OPENi-ict/ntua_demo
104118fbe1f54db35386ca96286317ceb64cb658
[ "Apache-2.0" ]
null
null
null
openiPrototype/openiPrototype/APIS/Activity/Measurement/admin.py
OPENi-ict/ntua_demo
104118fbe1f54db35386ca96286317ceb64cb658
[ "Apache-2.0" ]
null
null
null
openiPrototype/openiPrototype/APIS/Activity/Measurement/admin.py
OPENi-ict/ntua_demo
104118fbe1f54db35386ca96286317ceb64cb658
[ "Apache-2.0" ]
null
null
null
__author__ = 'mpetyx' from django.contrib import admin from .models import OpeniMeasurement class MeasurementAdmin(admin.ModelAdmin): pass admin.site.register(OpeniMeasurement, MeasurementAdmin)
17
55
0.808824
21
204
7.666667
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.122549
204
11
56
18.545455
0.899441
0
0
0
0
0
0.029412
0
0
0
0
0
0
1
0
false
0.166667
0.333333
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
1
0
0
0
0
3
826de322cc35f124ad6d96c5daf3f5d90a3b2fd3
212
py
Python
pmfp/entrypoint/project/__init__.py
Python-Tools/pmfp
832273890eec08e84f9c68d03f3316b2c8139133
[ "MIT" ]
4
2017-09-15T03:38:56.000Z
2019-12-16T02:03:14.000Z
pmfp/entrypoint/project/__init__.py
Python-Tools/pmfp
832273890eec08e84f9c68d03f3316b2c8139133
[ "MIT" ]
1
2021-04-27T10:51:42.000Z
2021-04-27T10:51:42.000Z
pmfp/entrypoint/project/__init__.py
Python-Tools/pmfp
832273890eec08e84f9c68d03f3316b2c8139133
[ "MIT" ]
null
null
null
from .info import project_info from .add import add_component from .new import new_project from .as_template import project_as_temp __all__ = ["project_info", "add_component", "new_project", "project_as_temp"]
26.5
77
0.801887
32
212
4.84375
0.34375
0.167742
0.167742
0
0
0
0
0
0
0
0
0
0.113208
212
7
78
30.285714
0.824468
0
0
0
0
0
0.240566
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
828aaf5df2b7622c91023d443de9752070021c59
1,284
py
Python
ardana_configurationprocessor/cp/model/DependencyElement.py
eapodaca/ardana-configuration-processor
70ea25a138cf65d9fb6baf75b48d82f12bbc6d8b
[ "Apache-2.0" ]
2
2018-01-24T20:21:23.000Z
2019-07-29T07:55:21.000Z
ardana_configurationprocessor/cp/model/DependencyElement.py
eapodaca/ardana-configuration-processor
70ea25a138cf65d9fb6baf75b48d82f12bbc6d8b
[ "Apache-2.0" ]
null
null
null
ardana_configurationprocessor/cp/model/DependencyElement.py
eapodaca/ardana-configuration-processor
70ea25a138cf65d9fb6baf75b48d82f12bbc6d8b
[ "Apache-2.0" ]
3
2018-03-09T19:51:06.000Z
2019-02-26T19:58:11.000Z
# # (c) Copyright 2015 Hewlett Packard Enterprise Development LP # (c) Copyright 2017-2018 SUSE LLC # # 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-...
28.533333
75
0.707944
170
1,284
5.247059
0.517647
0.067265
0.047085
0.035874
0
0
0
0
0
0
0
0.016899
0.216511
1,284
44
76
29.181818
0.869781
0.475857
0
0.15
0
0
0
0
0
0
0
0
0
1
0.35
false
0
0
0.25
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
828efa69856be2a04ea3b0f2e4adc29263207edc
4,737
py
Python
Tools/SeeDot/seedot/compiler/antlr/seedotVisitor.py
shas19/EdgeML
3c03b128761018fb39e447589aa72d5b6b0649a2
[ "MIT" ]
null
null
null
Tools/SeeDot/seedot/compiler/antlr/seedotVisitor.py
shas19/EdgeML
3c03b128761018fb39e447589aa72d5b6b0649a2
[ "MIT" ]
null
null
null
Tools/SeeDot/seedot/compiler/antlr/seedotVisitor.py
shas19/EdgeML
3c03b128761018fb39e447589aa72d5b6b0649a2
[ "MIT" ]
1
2020-07-05T15:12:20.000Z
2020-07-05T15:12:20.000Z
# Generated from .\seedot.g4 by ANTLR 4.8 from antlr4 import * if __name__ is not None and "." in __name__: from .seedotParser import seedotParser else: from seedotParser import seedotParser # This class defines a complete generic visitor for a parse tree produced by seedotParser. class seedotVisitor(ParseTre...
30.960784
90
0.729787
551
4,737
6.259528
0.221416
0.050449
0.084082
0.151348
0.513192
0.513192
0.503914
0.493186
0.493186
0.493186
0
0.002625
0.195693
4,737
153
91
30.960784
0.902625
0.325945
0
0.444444
1
0
0.000319
0
0
0
0
0
0
1
0.444444
false
0
0.047619
0.444444
0.952381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
82bc85561958032d6e1b248a119ff4c12096b2d3
575
py
Python
courses/python/cursoemvideo/aulas/aula11_cor_no_terminal.py
bdpcampos/public
dda57c265718f3e1cc0d6bce73f149051f5647ef
[ "MIT" ]
3
2020-04-28T01:42:09.000Z
2020-05-03T12:05:23.000Z
courses/python/cursoemvideo/aulas/aula11_cor_no_terminal.py
bdpcampos/public
dda57c265718f3e1cc0d6bce73f149051f5647ef
[ "MIT" ]
null
null
null
courses/python/cursoemvideo/aulas/aula11_cor_no_terminal.py
bdpcampos/public
dda57c265718f3e1cc0d6bce73f149051f5647ef
[ "MIT" ]
null
null
null
print('\033[1;30mTeste\033[m') print('\033[4;33mTeste\033[m') print('\033[1;34;40mTeste\033[m') print('\033[30mTeste\033[m') print('\033[mTeste\033[m') print('\033[7;30mTeste\033[m') a = 3 b = 5 print('Os valores são \33[1;32m{}\033[m e \033[1;31m{}\033[m !!!'.format(a,b)) nome = 'Bruno' print('Olá {}{}{} !!'.format(...
26.136364
78
0.58087
94
575
3.553191
0.404255
0.11976
0.134731
0.179641
0.11976
0
0
0
0
0
0
0.196429
0.123478
575
22
79
26.136364
0.46627
0.048696
0
0
0
0.0625
0.547619
0.159341
0
0
0
0
0
1
0
false
0
0
0
0
0.5625
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
82d8d61f727265c3b704abd4482c4064302ffe63
171
py
Python
ast/example_ast_parse_cpy.py
MaxTurchin/pycopy-lib
d7a69fc2a28031e2ca475c29239f715c1809d8cc
[ "PSF-2.0" ]
126
2019-07-19T14:42:41.000Z
2022-03-21T22:22:19.000Z
ast/example_ast_parse_cpy.py
MaxTurchin/pycopy-lib
d7a69fc2a28031e2ca475c29239f715c1809d8cc
[ "PSF-2.0" ]
38
2019-08-28T01:46:31.000Z
2022-03-17T05:46:51.000Z
ast/example_ast_parse_cpy.py
MaxTurchin/pycopy-lib
d7a69fc2a28031e2ca475c29239f715c1809d8cc
[ "PSF-2.0" ]
55
2019-08-02T09:32:33.000Z
2021-12-22T11:25:51.000Z
import sys sys.path.pop(0) import ast sys.path.insert(0, ".") import _tool_ast_pprint as ast_pprint t = ast.parse(open(sys.argv[1]).read()) ast_pprint.dump_to_stdout(t)
17.1
39
0.74269
33
171
3.636364
0.575758
0.225
0
0
0
0
0
0
0
0
0
0.019481
0.099415
171
9
40
19
0.75974
0
0
0
0
0
0.005848
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.285714
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
82e90b2c3822ae607a93907a9db72e2d36e03e83
609
py
Python
echo/s3.py
aaronlelevier/githook-echo-server
7ce19ab90e8324f4889e04255ff7376f24a7e42f
[ "Apache-2.0" ]
null
null
null
echo/s3.py
aaronlelevier/githook-echo-server
7ce19ab90e8324f4889e04255ff7376f24a7e42f
[ "Apache-2.0" ]
null
null
null
echo/s3.py
aaronlelevier/githook-echo-server
7ce19ab90e8324f4889e04255ff7376f24a7e42f
[ "Apache-2.0" ]
null
null
null
import os import io import base64 import boto3 from echo import git from echo.const import BUCKET_NAME def get_boto_client(aws_service, **kwargs): return boto3.client(aws_service, **kwargs) def sync_files(files): """ Syncs files to S3 """ ret = [] client = get_boto_client("s3") for f...
17.4
60
0.622332
80
609
4.575
0.5625
0.043716
0.071038
0.120219
0
0
0
0
0
0
0
0.013514
0.270936
609
34
61
17.911765
0.810811
0.100164
0
0
0
0
0.056391
0
0
0
0
0.029412
0
1
0.105263
false
0
0.315789
0.052632
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
7d5669c95848ea90b453e59d8c54729fb9eb6204
168,790
py
Python
tencentcloud/iotvideo/v20201215/models.py
HS-Gray/tencentcloud-sdk-python
b28b19c4beebc9f361aa3221afa36ad1ee047ccc
[ "Apache-2.0" ]
37
2017-10-12T01:50:42.000Z
2022-02-24T02:44:45.000Z
tencentcloud/iotvideo/v20201215/models.py
HS-Gray/tencentcloud-sdk-python
b28b19c4beebc9f361aa3221afa36ad1ee047ccc
[ "Apache-2.0" ]
null
null
null
tencentcloud/iotvideo/v20201215/models.py
HS-Gray/tencentcloud-sdk-python
b28b19c4beebc9f361aa3221afa36ad1ee047ccc
[ "Apache-2.0" ]
12
2018-07-31T10:04:56.000Z
2022-02-07T00:08:06.000Z
# -*- coding: utf8 -*- # Copyright (c) 2017-2021 THL A29 Limited, a Tencent company. All Rights Reserved. # # 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...
28.192751
144
0.592357
16,922
168,790
5.821889
0.0705
0.063126
0.020433
0.02229
0.743509
0.707921
0.668741
0.655819
0.630697
0.616974
0
0.004031
0.30186
168,790
5,987
145
28.192751
0.832008
0.280218
0
0.784139
0
0
0.075563
0
0
0
0
0
0
1
0.130156
false
0
0.001422
0
0.196657
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7d5901bcdafac97d067642690f800448810c51f9
207
py
Python
dataherb/parse/csv.py
DataHerb/dataherb-python
91f2787eabb450d653b0b9dbc9bb78980d13460f
[ "MIT" ]
4
2021-08-08T21:31:40.000Z
2022-02-11T03:13:47.000Z
dataherb/parse/csv.py
DataHerb/dataherb-python
91f2787eabb450d653b0b9dbc9bb78980d13460f
[ "MIT" ]
9
2020-03-15T15:38:46.000Z
2021-11-04T08:23:43.000Z
dataherb/parse/csv.py
DataHerb/dataherb-python
91f2787eabb450d653b0b9dbc9bb78980d13460f
[ "MIT" ]
2
2020-03-23T17:00:23.000Z
2021-08-06T00:03:18.000Z
from loguru import logger from dataherb.parse.model import MetaData import sys logger.remove() logger.add(sys.stderr, level="INFO", enqueue=True) if __name__ == "__main__": logger.debug("End of Game")
20.7
50
0.748792
30
207
4.9
0.766667
0
0
0
0
0
0
0
0
0
0
0
0.130435
207
9
51
23
0.816667
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
3
7d742235a2ad2107abe0e8412df64efdae822f5d
44,929
py
Python
Neural Network HW2/berkan_ozdamar_21602353_hw2.py
ozdamarberkan/Neural_Networks
d46fac2f6d0c089906ebc335d3a0a1dfd3a3b22a
[ "MIT" ]
null
null
null
Neural Network HW2/berkan_ozdamar_21602353_hw2.py
ozdamarberkan/Neural_Networks
d46fac2f6d0c089906ebc335d3a0a1dfd3a3b22a
[ "MIT" ]
null
null
null
Neural Network HW2/berkan_ozdamar_21602353_hw2.py
ozdamarberkan/Neural_Networks
d46fac2f6d0c089906ebc335d3a0a1dfd3a3b22a
[ "MIT" ]
null
null
null
import sys import numpy as np import h5py import matplotlib.pyplot as plt question = sys.argv[1] def berkan_ozdamar_21602353_hw2(question): if question == '1': import numpy as np import h5py import matplotlib.pyplot as plt # Part A f = h5py.File('assign2_data1.h5', 'r')...
36.85726
158
0.489305
5,011
44,929
4.289164
0.071044
0.060485
0.060392
0.02345
0.775183
0.725864
0.702368
0.656214
0.642814
0.633741
0
0.026256
0.416769
44,929
1,219
159
36.85726
0.793963
0.223931
0
0.607553
0
0
0.064268
0
0
0
0
0
0
1
0.054187
false
0
0.01642
0
0.1133
0.041051
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7dbdb92137d4ef31e896c07139759fd8eae9d022
2,931
py
Python
keras/losses.py
cc13ny/keras
172fa11ecce5aff8f359c8eec32b3cf1f76d1312
[ "MIT" ]
1
2020-04-08T20:41:37.000Z
2020-04-08T20:41:37.000Z
keras/losses.py
cc13ny/keras
172fa11ecce5aff8f359c8eec32b3cf1f76d1312
[ "MIT" ]
null
null
null
keras/losses.py
cc13ny/keras
172fa11ecce5aff8f359c8eec32b3cf1f76d1312
[ "MIT" ]
3
2020-02-24T15:16:05.000Z
2020-05-09T05:29:53.000Z
from __future__ import absolute_import import six from . import backend as K from .utils.generic_utils import deserialize_keras_object def mean_squared_error(y_true, y_pred): return K.mean(K.square(y_pred - y_true), axis=-1) def mean_absolute_error(y_true, y_pred): return K.mean(K.abs(y_pred - y_true), axis...
28.735294
74
0.658137
445
2,931
4.053933
0.195506
0.088692
0.059867
0.099778
0.404656
0.346452
0.282705
0.186807
0.130266
0.031042
0
0.011894
0.22552
2,931
101
75
29.019802
0.782819
0.002729
0
0
0
0
0.019856
0
0
0
0
0
0
1
0.261538
false
0
0.061538
0.169231
0.615385
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7dc08fb24cf6b3e06b71dba3f3f9700daf06593e
329
py
Python
jobq/__init__.py
wenbobuaa/pykit
43e38fe40297a1e7a9329bcf3db3554c7ca48ead
[ "MIT" ]
13
2016-12-16T09:23:09.000Z
2018-03-10T08:04:00.000Z
jobq/__init__.py
wenbobuaa/pykit
43e38fe40297a1e7a9329bcf3db3554c7ca48ead
[ "MIT" ]
74
2017-03-23T11:36:22.000Z
2018-04-02T06:19:09.000Z
jobq/__init__.py
drmingdrmer/pykit
e25a71146e81aaf79625cf8d4f4c439ccd515b82
[ "MIT" ]
5
2016-12-27T07:30:47.000Z
2018-03-10T07:06:21.000Z
from .jobq import ( EmptyRst, Finish, run, stat, JobManager, JobWorkerError, JobWorkerNotFound, ) from .works import ( limit_job_speed, ) __all__ = [ 'EmptyRst', 'Finish', 'run', 'stat', 'JobManager', 'JobWorkerError', 'JobWorkerNotFound', 'limit_job_s...
12.185185
24
0.577508
27
329
6.740741
0.555556
0.153846
0.186813
0.230769
0.681319
0.681319
0.681319
0
0
0
0
0
0.297872
329
26
25
12.653846
0.787879
0
0
0
0
0
0.234043
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
1
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
3
7dde77370b150e87baa4a48385a501fe27bb3e00
3,289
py
Python
invenio_mail/__init__.py
zzacharo/invenio-mail
9dc7e1dad9355fab5654bb501bf4462d6f12869a
[ "MIT" ]
1
2017-10-22T00:15:55.000Z
2017-10-22T00:15:55.000Z
invenio_mail/__init__.py
zzacharo/invenio-mail
9dc7e1dad9355fab5654bb501bf4462d6f12869a
[ "MIT" ]
27
2015-10-23T09:34:45.000Z
2021-09-27T06:15:38.000Z
invenio_mail/__init__.py
zzacharo/invenio-mail
9dc7e1dad9355fab5654bb501bf4462d6f12869a
[ "MIT" ]
27
2015-10-18T11:14:59.000Z
2021-11-25T09:15:15.000Z
# -*- coding: utf-8 -*- # # This file is part of Invenio. # Copyright (C) 2015-2018 CERN. # # Invenio is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """Invenio mail module. The Invenio-Mail module is a tiny wrapper around Flask-Mail ...
30.738318
78
0.675585
453
3,289
4.821192
0.410596
0.037088
0.020604
0.03022
0.213828
0.152473
0.152473
0.152473
0.152473
0.130952
0
0.005243
0.188203
3,289
106
79
31.028302
0.812734
0.94436
0
0
0
0
0.129412
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
816c9d68a02e67dd95f3a64e6f848756f8369723
683
py
Python
ForeignKey_tutorial/models.py
twtrubiks/django-field-tutorial
e48a0c047abf07b1d9de195a30a5b2772d231fbb
[ "MIT" ]
24
2017-08-20T03:48:38.000Z
2022-01-23T17:03:52.000Z
ForeignKey_tutorial/models.py
jr008489900/django-field-tutorial
e48a0c047abf07b1d9de195a30a5b2772d231fbb
[ "MIT" ]
null
null
null
ForeignKey_tutorial/models.py
jr008489900/django-field-tutorial
e48a0c047abf07b1d9de195a30a5b2772d231fbb
[ "MIT" ]
11
2017-08-20T03:48:39.000Z
2021-07-20T11:46:30.000Z
from django.db import models # ForeignKey_tutorial class Reporter(models.Model): first_name = models.CharField(max_length=30) last_name = models.CharField(max_length=30) email = models.EmailField() def __str__(self): return '{} {}'.format(self.first_name, self.last_name) class Article(mode...
22.766667
62
0.667643
78
683
5.589744
0.448718
0.110092
0.123853
0.165138
0.137615
0.137615
0
0
0
0
0
0.013233
0.225476
683
29
63
23.551724
0.810964
0.136164
0
0.117647
0
0
0.022222
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0.117647
0.764706
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
81aa058b75639324b3987ca9daf0ea2ca21761c3
202
py
Python
pyopteryx/utils/scheduling_enum.py
DanielZim/PyOpteryx
dd8fcdb23cc4ca52167820455a6d54c140f3cb00
[ "MIT" ]
null
null
null
pyopteryx/utils/scheduling_enum.py
DanielZim/PyOpteryx
dd8fcdb23cc4ca52167820455a6d54c140f3cb00
[ "MIT" ]
2
2021-03-31T19:09:54.000Z
2021-12-13T19:59:46.000Z
pyopteryx/utils/scheduling_enum.py
DanielZim/PyOpteryx
dd8fcdb23cc4ca52167820455a6d54c140f3cb00
[ "MIT" ]
null
null
null
from enum import auto class Scheduling(auto): FCFS = "fcfs" PS = "ps" PP = "pp" INF = "inf" RAND = "rand" HOL = "hol" PS_HOL = "ps_hol" PS_PP = "ps_pp" CFS = "cfs"
14.428571
23
0.5
29
202
3.344828
0.448276
0.123711
0.164948
0.206186
0
0
0
0
0
0
0
0
0.351485
202
13
24
15.538462
0.740458
0
0
0
0
0
0.158416
0
0
0
0
0
0
1
0
false
0
0.090909
0
1
0
1
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
3
81bf71101158aefef25a92eb67d9e44d95ef0362
1,626
py
Python
apps/app_stores/management/commands/initialize_token.py
Mohitkaushal97/File
0bc5cca9a557e242861a289af74dfe8b905bc3bd
[ "MIT" ]
null
null
null
apps/app_stores/management/commands/initialize_token.py
Mohitkaushal97/File
0bc5cca9a557e242861a289af74dfe8b905bc3bd
[ "MIT" ]
null
null
null
apps/app_stores/management/commands/initialize_token.py
Mohitkaushal97/File
0bc5cca9a557e242861a289af74dfe8b905bc3bd
[ "MIT" ]
null
null
null
# import os # from django.core.management.base import BaseCommand # import logging # from apps.job.models import UserToken # # # from apps.job.operations.importer import ImporterClass # # # PROJECT_PATH = os.path.abspath("../../../django_job/static") # # logger = logging.getLogger(__name__) # # import envir...
58.071429
850
0.824108
112
1,626
11.669643
0.651786
0.038256
0.053558
0
0
0
0
0
0
0
0
0.077344
0.101476
1,626
27
851
60.222222
0.817248
0.947724
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
1
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
3
81c51dd4e73bc580b801a1b0274cf6ec14dcc6b7
247
py
Python
server/api/resources/Quotations.py
surbina/devaluometro
2632fcd352a062dd700abdd70d3837d8b3cfbed6
[ "MIT" ]
null
null
null
server/api/resources/Quotations.py
surbina/devaluometro
2632fcd352a062dd700abdd70d3837d8b3cfbed6
[ "MIT" ]
null
null
null
server/api/resources/Quotations.py
surbina/devaluometro
2632fcd352a062dd700abdd70d3837d8b3cfbed6
[ "MIT" ]
null
null
null
import requests from flask_restful import Resource class Quotations(Resource): PATH = '/quotations' def get(self): return requests.get('https://www.bloomberg.com/markets/api/bulk-time-series/price/USDARS%3ACUR?timeFrame=5_YEAR').json(), 200
27.444444
127
0.773279
35
247
5.4
0.857143
0
0
0
0
0
0
0
0
0
0
0.022222
0.089069
247
8
128
30.875
0.817778
0
0
0
0
0.166667
0.408907
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
81c707bbde6abd7a6bac02cc06f5e87bb3c55e51
655
py
Python
src/models/metrics.py
imad24/pc_clustering
b76cb5a0e6429610802594cc1ca5218dfcdb3605
[ "MIT" ]
null
null
null
src/models/metrics.py
imad24/pc_clustering
b76cb5a0e6429610802594cc1ca5218dfcdb3605
[ "MIT" ]
null
null
null
src/models/metrics.py
imad24/pc_clustering
b76cb5a0e6429610802594cc1ca5218dfcdb3605
[ "MIT" ]
1
2019-05-27T21:34:35.000Z
2019-05-27T21:34:35.000Z
import numpy as np def getMSE(true,pred): return (( (true - pred) ** 2)).mean() def getMAE(true,pred): return (np.abs((true - pred))).mean() def getMAPE(true,pred): return np.abs((true - pred)/true).mean() def getsMAPE(true,pred): return ( (200*np.abs(true - pred)) / true+pred).mean() def getMAS...
25.192308
68
0.630534
98
655
4.132653
0.367347
0.177778
0.138272
0.096296
0.185185
0.133333
0.133333
0
0
0
0
0.01145
0.2
655
26
69
25.192308
0.76145
0
0
0
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.055556
0.222222
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
81cac47daadfdb624267d0e11cb8b4f85f079018
676
py
Python
fiber/rest_api/fields.py
leukeleu/django-fiber-multilingual
4574fffb953c442ff7981c16ea1d460784e38eab
[ "Apache-2.0" ]
1
2019-01-27T05:52:43.000Z
2019-01-27T05:52:43.000Z
fiber/rest_api/fields.py
check4anjil/django-fiber
48d1af8867e19b9e27332d2b98ca07a47927de15
[ "Apache-2.0" ]
6
2021-03-19T16:08:19.000Z
2022-03-12T00:54:38.000Z
fiber/rest_api/fields.py
check4anjil/django-fiber
48d1af8867e19b9e27332d2b98ca07a47927de15
[ "Apache-2.0" ]
1
2019-01-27T05:52:33.000Z
2019-01-27T05:52:33.000Z
from rest_framework import serializers from fiber.app_settings import PERMISSION_CLASS from fiber.utils import class_loader from fiber.utils.date import friendly_datetime PERMISSIONS = class_loader.load_class(PERMISSION_CLASS) class CanEditField(serializers.Field): """ A custom field that returns True if re...
26
70
0.747041
88
676
5.556818
0.465909
0.055215
0.05726
0.06544
0.155419
0.155419
0.155419
0.155419
0.155419
0
0
0
0.173077
676
25
71
27.04
0.874776
0.156805
0
0.181818
0
0
0.013084
0
0
0
0
0
0
1
0.181818
false
0
0.363636
0.181818
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
81e5b7ddf7a4f903500dd6c5eb3f027906947e1b
28
py
Python
sahyun_bot/irc_bot_settings.py
TheGoodlike13/sahyun-bot
8ebc3d4e58a0acf9bde3c9ea8339145abcc53fcb
[ "MIT" ]
1
2022-02-21T18:55:34.000Z
2022-02-21T18:55:34.000Z
sahyun_bot/irc_bot_settings.py
TheGoodlike13/sahyun-bot
8ebc3d4e58a0acf9bde3c9ea8339145abcc53fcb
[ "MIT" ]
null
null
null
sahyun_bot/irc_bot_settings.py
TheGoodlike13/sahyun-bot
8ebc3d4e58a0acf9bde3c9ea8339145abcc53fcb
[ "MIT" ]
null
null
null
MAX_CONCURRENT_COMMANDS = 8
14
27
0.857143
4
28
5.5
1
0
0
0
0
0
0
0
0
0
0
0.04
0.107143
28
1
28
28
0.84
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c491ff78841fe4187438b6522544a2e4353efdfe
582
py
Python
internals/utils/labeling.py
schutzekatze/allsky-cloudiness-estimator
4df443836a35fbd2c0aed938110dde9f8883a49d
[ "Apache-2.0" ]
2
2018-10-30T21:36:55.000Z
2020-11-13T22:03:21.000Z
internals/utils/labeling.py
schutzekatze/allsky-cloud-detector
4df443836a35fbd2c0aed938110dde9f8883a49d
[ "Apache-2.0" ]
null
null
null
internals/utils/labeling.py
schutzekatze/allsky-cloud-detector
4df443836a35fbd2c0aed938110dde9f8883a49d
[ "Apache-2.0" ]
2
2017-10-03T15:49:07.000Z
2017-10-21T21:35:05.000Z
from os.path import splitext import numpy as np def is_label(path): root, _ = splitext(path) return root[-1:] == 'l' def remove_label(path): root, ext = splitext(path) return root[:-1] + ext def add_label(path): root, ext = splitext(path) return root + 'l' + ext UNSURE_LOWER_LIMIT = 0.1 UNSU...
23.28
100
0.671821
88
582
4.25
0.329545
0.085562
0.149733
0.176471
0.524064
0.203209
0.203209
0.203209
0
0
0
0.054348
0.209622
582
24
101
24.25
0.758696
0
0
0.111111
0
0
0.003436
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c4a1244aea7d8b6fb80f71a88d819fd1414149e8
215
py
Python
rallf/sdk/Task.py
nombrekeff/rallf-python-sdk
38b507d467c7a5ee4edba763fbfa20f3437b478a
[ "MIT" ]
2
2018-12-11T20:40:09.000Z
2019-01-25T09:48:49.000Z
rallf/sdk/Task.py
nombrekeff/rallf-python-sdk
38b507d467c7a5ee4edba763fbfa20f3437b478a
[ "MIT" ]
null
null
null
rallf/sdk/Task.py
nombrekeff/rallf-python-sdk
38b507d467c7a5ee4edba763fbfa20f3437b478a
[ "MIT" ]
null
null
null
class Task: def __init__(self, robot): self.robot = robot def warmup(self): pass def run(self, input): pass def cooldown(self): pass def mock(self, input): return "this is a test"
12.647059
28
0.609302
31
215
4.096774
0.548387
0.165354
0.173228
0
0
0
0
0
0
0
0
0
0.283721
215
16
29
13.4375
0.824675
0
0
0.272727
0
0
0.065421
0
0
0
0
0
0
1
0.454545
false
0.272727
0
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
c4a63df03b11203ac8689bbecb4a3baac18c3b27
746
py
Python
rooms/E23_R2.py
stfbnc/TrovaEscapeBackEnd
ca32523c14f44e65ddac475f44ed0467eb8c3552
[ "MIT" ]
1
2020-12-09T21:01:07.000Z
2020-12-09T21:01:07.000Z
rooms/E23_R2.py
stfbnc/TrovaEscapeBackEnd
ca32523c14f44e65ddac475f44ed0467eb8c3552
[ "MIT" ]
null
null
null
rooms/E23_R2.py
stfbnc/TrovaEscapeBackEnd
ca32523c14f44e65ddac475f44ed0467eb8c3552
[ "MIT" ]
null
null
null
import Room import Constants as c class E23_R2(Room.Room): def __init__(self): super().__init__('La Bambola Assassina', 'http://d.supersaas.it/schedule/La_Casa_Degli_Enigmi/RM_La_Bambola_Assassina', 'E23_R2') def get_prices(self): p = ['2 GIOCATORI – € 25,00 (lun-gio) / € 30,00 (ven-dom) a p...
35.52381
137
0.592493
129
746
3.387597
0.449612
0.114416
0.125858
0.102975
0.183066
0
0
0
0
0
0
0.093023
0.25067
746
20
138
37.3
0.661896
0
0
0
0
0.357143
0.546917
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
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
1
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c4aeb378cfeccc55f3655eb5e26081ed41dadb3f
192
py
Python
setup.py
MafikengZ/Distributions
7ad12efa3930d214a2fc5454b34c9fdd6dafe317
[ "MIT" ]
null
null
null
setup.py
MafikengZ/Distributions
7ad12efa3930d214a2fc5454b34c9fdd6dafe317
[ "MIT" ]
null
null
null
setup.py
MafikengZ/Distributions
7ad12efa3930d214a2fc5454b34c9fdd6dafe317
[ "MIT" ]
null
null
null
from setuptools import setup setup(name = 'distribution', version - 0.1, description = 'Gaussian distribution', package = ['distribution'], zip_safe = False)
21.333333
46
0.614583
18
192
6.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.014493
0.28125
192
8
47
24
0.833333
0
0
0
0
0
0.234375
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
c4bd5c2075c871cc3abc44abd9bd4b466161e282
636
py
Python
problems/50/problem_50.py
r1cc4rdo/daily_coding_problem
6ac85309fad2f64231ac7ab94aa4158e18bdec40
[ "Unlicense" ]
158
2018-01-25T06:33:30.000Z
2022-03-14T23:18:05.000Z
problems/50/problem_50.py
r1cc4rdo/daily_coding_problem
6ac85309fad2f64231ac7ab94aa4158e18bdec40
[ "Unlicense" ]
9
2018-07-04T00:31:57.000Z
2020-05-16T21:02:30.000Z
problems/50/problem_50.py
r1cc4rdo/daily_coding_problem
6ac85309fad2f64231ac7ab94aa4158e18bdec40
[ "Unlicense" ]
50
2018-06-22T16:48:44.000Z
2022-01-11T16:45:48.000Z
def coding_problem_50(tree): """ Suppose an arithmetic expression is given as a binary tree. Each leaf is an integer and each internal node is one of '+', '-', '*' or '/'. Given the root to such a tree, write a function to evaluate it. For example, given the following tree: * / \ ...
28.909091
110
0.476415
92
636
3.228261
0.51087
0.026936
0.040404
0.053872
0
0
0
0
0
0
0
0.099291
0.334906
636
21
111
30.285714
0.602837
0.831761
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
c4cc3c34dcf45481971975fcf4ae9fb010ca0c39
523
py
Python
c2cwsgiutils/pretty_json.py
camptocamp/c2cwsgiutils
7f99937ccebc31c8e97c58de3819458eb9d6435e
[ "BSD-2-Clause-FreeBSD" ]
5
2017-06-25T07:50:57.000Z
2019-01-25T16:49:57.000Z
c2cwsgiutils/pretty_json.py
camptocamp/c2cwsgiutils
7f99937ccebc31c8e97c58de3819458eb9d6435e
[ "BSD-2-Clause-FreeBSD" ]
200
2017-02-01T15:13:38.000Z
2022-03-31T21:29:54.000Z
c2cwsgiutils/pretty_json.py
camptocamp/c2cwsgiutils
7f99937ccebc31c8e97c58de3819458eb9d6435e
[ "BSD-2-Clause-FreeBSD" ]
4
2019-07-08T12:28:19.000Z
2020-06-10T02:44:35.000Z
from typing import Any import pyramid.config import ujson from pyramid.renderers import JSON def fast_dumps(v: Any, **_kargv: Any) -> str: """Dump the json fast using ujson.""" return ujson.dumps(v, ensure_ascii=False, indent=2, sort_keys=True, escape_forward_slashes=False) def init(config: pyramid.config....
30.764706
101
0.739962
76
523
4.934211
0.5
0.069333
0.058667
0.08
0.101333
0
0
0
0
0
0
0.004425
0.135755
523
16
102
32.6875
0.825221
0.135755
0
0
0
0
0.029478
0
0
0
0
0
0
1
0.222222
false
0
0.444444
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
c4dfcb054bc0c78193811a702731954b1f8895df
1,204
py
Python
uiza/exceptions.py
uizaio/api-wrapper-python
e67c162e711857341f7ef5752178219e94f604d3
[ "MIT" ]
2
2019-04-22T11:39:36.000Z
2020-05-26T04:01:43.000Z
uiza/exceptions.py
uizaio/api-wrapper-python
e67c162e711857341f7ef5752178219e94f604d3
[ "MIT" ]
null
null
null
uiza/exceptions.py
uizaio/api-wrapper-python
e67c162e711857341f7ef5752178219e94f604d3
[ "MIT" ]
2
2019-02-11T09:34:03.000Z
2019-02-12T10:31:41.000Z
class ClientException(Exception): pass class ServerException(Exception): pass class BadRequestError(ServerException): pass class UnauthorizedError(ServerException): pass class NotFoundError(ServerException): pass class UnprocessableError(ServerException): pass class InternalServerErr...
24.08
101
0.767442
146
1,204
6.171233
0.541096
0.099889
0.213097
0
0
0
0
0
0
0
0
0
0.17608
1,204
49
102
24.571429
0.908266
0
0
0.344828
0
0
0.329734
0
0
0
0
0
0
1
0
false
0.344828
0
0
0.655172
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
c4e4e4a4b1e6060b485a390dfcaa87e5e5967b2a
135
py
Python
settings.py
kashtan404/zbx_telegram_bot
b1a8031b19bcf5eb384382d52b0c3c8833c97250
[ "MIT" ]
null
null
null
settings.py
kashtan404/zbx_telegram_bot
b1a8031b19bcf5eb384382d52b0c3c8833c97250
[ "MIT" ]
null
null
null
settings.py
kashtan404/zbx_telegram_bot
b1a8031b19bcf5eb384382d52b0c3c8833c97250
[ "MIT" ]
null
null
null
[Zabbix] url = http://zabbix.org/zabbix/api_jsonrpc.php user = guest password = auth = [Telegram] telegram_token = botan_token =
12.272727
46
0.711111
18
135
5.166667
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.162963
135
10
47
13.5
0.823009
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.125
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
c4ee3301ccda4ae063371d3b19122890c6a1a704
1,184
py
Python
plugins/Tester/freezeVertex.py
wmoten/medic
bc2e9ec09e33ce2d0cedd8dc0c17f567208503ed
[ "MIT" ]
null
null
null
plugins/Tester/freezeVertex.py
wmoten/medic
bc2e9ec09e33ce2d0cedd8dc0c17f567208503ed
[ "MIT" ]
null
null
null
plugins/Tester/freezeVertex.py
wmoten/medic
bc2e9ec09e33ce2d0cedd8dc0c17f567208503ed
[ "MIT" ]
null
null
null
import medic from maya import OpenMaya from maya import cmds import sys class FreezeVertex(medic.PyTester): def __init__(self): super(FreezeVertex, self).__init__() def Name(self): return "FreezeVertex" def Description(self): return "Not Frozen Verticies" def...
24.163265
74
0.541385
127
1,184
4.96063
0.503937
0.047619
0.044444
0
0
0
0
0
0
0
0
0.002667
0.366554
1,184
48
75
24.666667
0.837333
0
0
0.166667
0
0
0.03169
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.138889
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
1
1
0
0
3
4801c52bbeb058b5eab98960cbb55793984e5af0
4,641
py
Python
ibis/expr/schema.py
andrewseidl/ibis
1468b8c4f96d9d58f6fa147a2579b0d9e5796186
[ "Apache-2.0" ]
null
null
null
ibis/expr/schema.py
andrewseidl/ibis
1468b8c4f96d9d58f6fa147a2579b0d9e5796186
[ "Apache-2.0" ]
null
null
null
ibis/expr/schema.py
andrewseidl/ibis
1468b8c4f96d9d58f6fa147a2579b0d9e5796186
[ "Apache-2.0" ]
null
null
null
import collections from multipledispatch import Dispatcher import ibis.common as com import ibis.util as util import ibis.expr.datatypes as dt class Schema: """An object for holding table schema information, i.e., column names and types. Parameters ---------- names : Sequence[str] A seq...
25.640884
77
0.600948
565
4,641
4.743363
0.258407
0.053731
0.026119
0.01791
0.127985
0.08209
0.08209
0.057463
0.057463
0.03209
0
0.001511
0.286792
4,641
180
78
25.783333
0.808157
0.106012
0
0.071429
0
0
0.033219
0
0
0
0
0
0
1
0.25
false
0
0.044643
0.1875
0.544643
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
48164c6e47c8a472ba475ec4620dbcbb56ac2f7f
16,936
py
Python
nova/objects/keypair.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/objects/keypair.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
null
null
null
nova/objects/keypair.py
bopopescu/nova-token
ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2
[ "Apache-2.0" ]
2
2017-07-20T17:31:34.000Z
2020-07-24T02:42:19.000Z
begin_unit comment|'# Copyright 2013 IBM Corp.' nl|'\n' comment|'#' nl|'\n' comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may' nl|'\n' comment|'# not use this file except in compliance with the License. You may obtain' nl|'\n' comment|'# a copy of the License at' nl|'\n' com...
12.676647
88
0.604688
2,533
16,936
3.93486
0.084485
0.18481
0.082272
0.058694
0.789305
0.731514
0.676533
0.643423
0.613023
0.563459
0
0.002997
0.113486
16,936
1,335
89
12.686142
0.66085
0
0
0.927341
0
0
0.369036
0.009093
0
0
0
0
0
0
null
null
0.001498
0.006742
null
null
0.000749
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
481e72c4f325c259e94e00c5d0f8608a11d7c89a
1,211
py
Python
jigu/query/txinfo.py
bongtrop/jigu
448bce8ce693f3f7c530bea0f2f268e22100937a
[ "MIT" ]
14
2020-03-03T06:46:39.000Z
2021-05-01T15:29:35.000Z
jigu/query/txinfo.py
bongtrop/jigu
448bce8ce693f3f7c530bea0f2f268e22100937a
[ "MIT" ]
9
2020-03-09T06:36:30.000Z
2021-02-15T14:40:48.000Z
jigu/query/txinfo.py
bongtrop/jigu
448bce8ce693f3f7c530bea0f2f268e22100937a
[ "MIT" ]
5
2020-05-30T22:38:34.000Z
2021-02-11T00:56:20.000Z
from __future__ import annotations from typing import Iterable, Union from jigu.core.auth.transaction import TxInfo from jigu.query.msginfo import MsgInfosQuery from jigu.util.pretty import PrettyPrintable, pretty_repr __all__ = ["TxInfosQuery"] class TxInfosQuery(PrettyPrintable): def __init__(self, txinfos: ...
28.833333
79
0.652353
144
1,211
5.277778
0.375
0.115789
0.036842
0
0
0
0
0
0
0
0
0
0.2436
1,211
41
80
29.536585
0.829694
0
0
0.066667
0
0
0.109001
0
0
0
0
0
0
1
0.233333
false
0
0.166667
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
484ab27d37aa93bd10b554b13558fc01d9cc4417
385
py
Python
05 ListTuple/ListDemo.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
3
2021-05-08T13:11:41.000Z
2021-05-14T02:43:20.000Z
05 ListTuple/ListDemo.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
null
null
null
05 ListTuple/ListDemo.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
null
null
null
grocery = ["Sugar", "Pizza", "Ice-Cream", 100] print(grocery) print(grocery[1]) numbers = [2, 5, 6, 9, 4] print(numbers) print(numbers[3]) print(numbers[0:4]) print(numbers[1:3]) print(numbers[::1]) print("\n") numbers.sort() print(numbers) numbers.reverse() print(numbers) numbers.append(99) print("\t", numbers) num...
16.041667
46
0.690909
59
385
4.508475
0.423729
0.406015
0.214286
0
0
0
0
0
0
0
0
0.063037
0.093506
385
24
47
16.041667
0.69914
0
0
0.25
0
0
0.059585
0
0
0
0
0
0
1
0
false
0
0
0
0
0.65
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
4879556c96330be5e472a3d7384b640ec916e32b
232
py
Python
ocs_ci/deployment/azure.py
phlogistonjohn/ocs-ci
38223e18ca2e1db7a24cc9bdb76e38d2ba4e6f12
[ "MIT" ]
null
null
null
ocs_ci/deployment/azure.py
phlogistonjohn/ocs-ci
38223e18ca2e1db7a24cc9bdb76e38d2ba4e6f12
[ "MIT" ]
null
null
null
ocs_ci/deployment/azure.py
phlogistonjohn/ocs-ci
38223e18ca2e1db7a24cc9bdb76e38d2ba4e6f12
[ "MIT" ]
1
2020-07-28T07:32:09.000Z
2020-07-28T07:32:09.000Z
import logging logger = logging.getLogger(__name__) class AZUREIPI: """ A class to handle AZURE IPI specific deployment """ def __init__(self): logger.info("AZURE IPI") # TODO: OCP,OCS deployment
16.571429
51
0.642241
27
232
5.222222
0.777778
0.113475
0
0
0
0
0
0
0
0
0
0
0.262931
232
13
52
17.846154
0.824561
0.314655
0
0
0
0
0.062937
0
0
0
0
0.076923
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
48896c135312f70966a7041285269e16dbd223a1
100
py
Python
about/models.py
deepaktiwari88/Gladys
9fc33393e228ba6f8f50e26201fd47bb907b6add
[ "MIT" ]
7
2018-05-21T07:47:50.000Z
2019-11-15T12:06:47.000Z
about/models.py
deepaktiwari88/Gladys
9fc33393e228ba6f8f50e26201fd47bb907b6add
[ "MIT" ]
null
null
null
about/models.py
deepaktiwari88/Gladys
9fc33393e228ba6f8f50e26201fd47bb907b6add
[ "MIT" ]
8
2018-03-28T04:57:41.000Z
2022-03-26T09:03:06.000Z
from django.db import models class User(models.Model): name = models.CharField(max_length=25)
16.666667
42
0.75
15
100
4.933333
0.866667
0
0
0
0
0
0
0
0
0
0
0.023529
0.15
100
5
43
20
0.847059
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6f9a258bb381f2a5e9c13bb6aec1028c35178c6b
7,141
py
Python
tests/components/plugwise/test_climate.py
wstewart15/core
854d7d49367d560406d6099a5ba56a0be6c0b9c7
[ "Apache-2.0" ]
null
null
null
tests/components/plugwise/test_climate.py
wstewart15/core
854d7d49367d560406d6099a5ba56a0be6c0b9c7
[ "Apache-2.0" ]
7
2020-08-05T07:22:37.000Z
2020-10-12T10:43:30.000Z
tests/components/plugwise/test_climate.py
wstewart15/core
854d7d49367d560406d6099a5ba56a0be6c0b9c7
[ "Apache-2.0" ]
3
2021-11-14T13:29:33.000Z
2021-12-27T17:05:22.000Z
"""Tests for the Plugwise Climate integration.""" from unittest.mock import MagicMock from plugwise.exceptions import PlugwiseException import pytest from homeassistant.components.climate.const import ( HVAC_MODE_AUTO, HVAC_MODE_COOL, HVAC_MODE_HEAT, HVAC_MODE_OFF, ) from homeassistant.core import Ho...
32.022422
86
0.683658
808
7,141
5.735149
0.133663
0.048554
0.067976
0.03798
0.802331
0.766077
0.732628
0.680837
0.595166
0.595166
0
0.032781
0.213976
7,141
222
87
32.166667
0.792802
0.011903
0
0.573864
0
0
0.201806
0.055375
0
0
0
0
0.25
1
0
false
0
0.039773
0
0.039773
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6fa68ba4cb2178a5e9bc8e6fd011251212930702
162
py
Python
520A.py
cocomo29/CodeForces
be3bb4c2a90ca3f707fb2536a1ee8ee2eecd6e24
[ "MIT" ]
1
2022-01-16T13:06:14.000Z
2022-01-16T13:06:14.000Z
520A.py
cocomo29/CodeForces
be3bb4c2a90ca3f707fb2536a1ee8ee2eecd6e24
[ "MIT" ]
null
null
null
520A.py
cocomo29/CodeForces
be3bb4c2a90ca3f707fb2536a1ee8ee2eecd6e24
[ "MIT" ]
2
2022-01-19T15:44:13.000Z
2022-01-21T16:25:42.000Z
n=input() words=input() words=words.lower() lst=[] for i in words: if i not in lst: lst.append(i) print("YES") if len(lst)==26 else print("NO")
20.25
45
0.58642
29
162
3.275862
0.586207
0.210526
0
0
0
0
0
0
0
0
0
0.016
0.228395
162
8
45
20.25
0.744
0
0
0
0
0
0.032051
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6fb42dcb3772d90cd8f949d5e520306e0cec600c
134
py
Python
operations/employees/apps.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/employees/apps.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
25
2018-03-23T16:39:51.000Z
2018-05-19T17:28:42.000Z
employees/apps.py
belatrix/BelatrixEventsBackend
eb38574bba0ca0269b17d0be938cc46787c21895
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.apps import AppConfig class EmployeesConfig(AppConfig): name = 'employees'
16.75
39
0.798507
15
134
6.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.149254
134
7
40
19.142857
0.894737
0
0
0
0
0
0.067164
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6fc3fe6fa8ed60fd30d51867ab074d218cc2483c
16,801
py
Python
spydrnet/callback/callback_listener.py
ganeshgore/spydrnet
22672b8fc7d63461a71077bd20f29df6d38e96f4
[ "BSD-3-Clause" ]
34
2020-03-12T15:40:49.000Z
2022-02-28T07:13:47.000Z
spydrnet/callback/callback_listener.py
ganeshgore/spydrnet
22672b8fc7d63461a71077bd20f29df6d38e96f4
[ "BSD-3-Clause" ]
104
2020-01-06T20:32:19.000Z
2022-01-02T00:20:14.000Z
spydrnet/callback/callback_listener.py
ganeshgore/spydrnet
22672b8fc7d63461a71077bd20f29df6d38e96f4
[ "BSD-3-Clause" ]
10
2020-09-02T20:24:00.000Z
2022-02-24T16:10:07.000Z
from spydrnet.global_state import global_callback class CallbackListener: """ extend this class to create a listener that can be used to make a plugin to spydrnet. In this class are all of the functions that are used as callbacks. There are also register methods whos function is to register the callba...
39.907363
131
0.768526
1,982
16,801
6.002018
0.037336
0.064728
0.040854
0.113484
0.865081
0.747478
0.563551
0.515299
0.376261
0.376261
0
0
0.177251
16,801
421
132
39.907363
0.860595
0.022796
0
0.293478
0
0
0
0
0
0
0
0
0
1
0.304348
false
0
0.003623
0
0.311594
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
6fc6b91f83737a0fa3d26227cec645a96fff6f56
20,836
py
Python
triagelib/triagelib.py
jblackb1/triagelib
9eb7d4fe275032dc349dcadaa632468fbae4d54c
[ "MIT" ]
7
2018-06-26T17:07:32.000Z
2020-06-28T22:49:28.000Z
triagelib/triagelib.py
jblackb1/triagelib
9eb7d4fe275032dc349dcadaa632468fbae4d54c
[ "MIT" ]
null
null
null
triagelib/triagelib.py
jblackb1/triagelib
9eb7d4fe275032dc349dcadaa632468fbae4d54c
[ "MIT" ]
2
2019-02-04T11:12:53.000Z
2021-05-26T14:05:50.000Z
#!/usr/bin/env python import json import logging import requests from requests import Request, Session global triagelog class TriageError(Exception): """Base exception class for all Triage related errors Exception is explicitly raised when an unknown Triage error""" class TriageStateError(TriageError): ...
47.354545
114
0.598243
2,593
20,836
4.632858
0.107212
0.020395
0.067427
0.071173
0.735703
0.720469
0.700991
0.684925
0.673021
0.658453
0
0.009877
0.300298
20,836
439
115
47.462415
0.814116
0.18828
0
0.625926
0
0
0.217153
0.020499
0
0
0
0
0
1
0.033333
false
0.022222
0.014815
0
0.111111
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6fe3915b35e615306ae129b0c289b0363f9ac7aa
99
py
Python
stack/items.py
manojpandey/crawl-so
c3f68a085b73c06813341acfaac1147e2ce8185a
[ "MIT" ]
2
2015-07-01T06:04:07.000Z
2021-09-03T01:00:31.000Z
stack/items.py
manojpandey/crawl-so
c3f68a085b73c06813341acfaac1147e2ce8185a
[ "MIT" ]
1
2015-06-28T05:02:22.000Z
2015-06-28T05:02:22.000Z
stack/items.py
manojpandey/crawl-so
c3f68a085b73c06813341acfaac1147e2ce8185a
[ "MIT" ]
null
null
null
from scrapy.item import Item, Field class StackItem(Item): title = Field() url = Field()
14.142857
35
0.656566
13
99
5
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.232323
99
6
36
16.5
0.855263
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6fe896bf6b8212604557b2dabe8318c428f8f05f
1,402
py
Python
sqlflow/rows.py
lhw362950217/pysqlflow
7617b0f776d0d3bb96b05e54abae2de94a2eea4a
[ "Apache-2.0" ]
29
2019-04-18T02:37:31.000Z
2021-07-15T14:32:05.000Z
sqlflow/rows.py
lhw362950217/pysqlflow
7617b0f776d0d3bb96b05e54abae2de94a2eea4a
[ "Apache-2.0" ]
27
2019-04-17T05:29:43.000Z
2020-07-01T11:26:22.000Z
sqlflow/rows.py
lhw362950217/pysqlflow
7617b0f776d0d3bb96b05e54abae2de94a2eea4a
[ "Apache-2.0" ]
15
2019-04-20T00:35:27.000Z
2021-08-15T13:48:36.000Z
class Rows: def __init__(self, column_names, rows_gen): """Query result of sqlflow.client.Client.execute :param column_names: column names :type column_names: list[str]. :param rows_gen: rows generator :type rows_gen: generator """ self._column_names = column...
23.762712
67
0.552068
164
1,402
4.384146
0.27439
0.122392
0.104312
0.061196
0.125174
0.080668
0
0
0
0
0
0
0.353067
1,402
58
68
24.172414
0.792723
0.261056
0
0.074074
0
0
0
0
0
0
0
0
0
1
0.259259
false
0.037037
0.037037
0.111111
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6ff074f1694ca85f5c5eae0b457fa560bc1834c3
146
py
Python
youtube.py
TechDudie/Portal
b89779fdbc1aeb5a260a60b770ab4b3c381c96f6
[ "MIT" ]
1
2021-04-17T03:22:42.000Z
2021-04-17T03:22:42.000Z
youtube.py
TechDudie/Portal
b89779fdbc1aeb5a260a60b770ab4b3c381c96f6
[ "MIT" ]
null
null
null
youtube.py
TechDudie/Portal
b89779fdbc1aeb5a260a60b770ab4b3c381c96f6
[ "MIT" ]
null
null
null
import requests import re html = requests.get("https://www.wolframalpha.com/input/?i=HelloWorld").content print(html.decode().split("</head>")[1])
36.5
79
0.739726
21
146
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.007194
0.047945
146
4
80
36.5
0.769784
0
0
0
0
0
0.37415
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
6ff5e59a28e6ee757f67a08ac2d4e59fd8a05d8c
457
py
Python
output/models/nist_data/atomic/non_negative_integer/schema_instance/nistschema_sv_iv_atomic_non_negative_integer_enumeration_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/non_negative_integer/schema_instance/nistschema_sv_iv_atomic_non_negative_integer_enumeration_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/non_negative_integer/schema_instance/nistschema_sv_iv_atomic_non_negative_integer_enumeration_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.non_negative_integer.schema_instance.nistschema_sv_iv_atomic_non_negative_integer_enumeration_4_xsd.nistschema_sv_iv_atomic_non_negative_integer_enumeration_4 import ( NistschemaSvIvAtomicNonNegativeIntegerEnumeration4, NistschemaSvIvAtomicNonNegativeIntegerEnumeration4Type, ...
45.7
203
0.890591
36
457
10.611111
0.583333
0.070681
0.133508
0.188482
0.26178
0.26178
0.26178
0.26178
0.26178
0
0
0.014052
0.065646
457
9
204
50.777778
0.880562
0
0
0
0
0
0.227571
0.227571
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b516380461c6d7c47c83a3238f506135ee4dc7a7
1,023
py
Python
server/logline_server/util.py
messa/logline
eb1ba824784c09ea691cb7e25400ccf105c7c006
[ "MIT" ]
1
2021-02-24T01:04:57.000Z
2021-02-24T01:04:57.000Z
server/logline_server/util.py
messa/logline
eb1ba824784c09ea691cb7e25400ccf105c7c006
[ "MIT" ]
3
2021-02-24T01:04:46.000Z
2021-02-27T14:59:38.000Z
server/logline_server/util.py
messa/logline
eb1ba824784c09ea691cb7e25400ccf105c7c006
[ "MIT" ]
null
null
null
import asyncio from functools import partial try: from asyncio import to_thread except ImportError: # asyncio.to_thread is available only in Python 3.9+ # so for older Python version here is our polyfill: async def to_thread(func, *args, **kwargs): loop = asyncio.get_running_loop() ret...
33
98
0.705767
126
1,023
5.619048
0.52381
0.056497
0.039548
0.053672
0.127119
0.127119
0
0
0
0
0
0.003741
0.216031
1,023
30
99
34.1
0.879052
0.236559
0
0.380952
0
0
0.096774
0
0
0
0
0
0.047619
1
0
false
0.095238
0.380952
0
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
0
0
1
1
0
1
0
0
3
b5163e7a2eb190c69555f3bff1310ed580a6752a
319
py
Python
properties/config.py
utkarsh-tiwari/blockchain
e1f4b3fc252a65b64228376f201ac69d317f1ee1
[ "Unlicense" ]
null
null
null
properties/config.py
utkarsh-tiwari/blockchain
e1f4b3fc252a65b64228376f201ac69d317f1ee1
[ "Unlicense" ]
null
null
null
properties/config.py
utkarsh-tiwari/blockchain
e1f4b3fc252a65b64228376f201ac69d317f1ee1
[ "Unlicense" ]
null
null
null
import os process_folder_name = 'blockchain' properties_folder = os.path.join(os.path.dirname(os.path.abspath(__file__))) processing_folder = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), process_folder_name, 'processing') log_config = os.path.join(properties_folder, 'logging_config.yml')
45.571429
128
0.799373
47
319
5.06383
0.361702
0.201681
0.12605
0.189076
0.441176
0.441176
0.441176
0.294118
0.294118
0
0
0
0.056426
319
6
129
53.166667
0.790698
0
0
0
0
0
0.119122
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
82f94abd64779f6efb7a815bf6189562f8264466
152
py
Python
src/genie/libs/parser/iosxe/tests/ShowCefPathSetIdDetailReplicateOce/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowCefPathSetIdDetailReplicateOce/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/tests/ShowCefPathSetIdDetailReplicateOce/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
null
null
null
expected_output={ "replicate_oce": { "0x7F9E40C590C8": { "uid": 6889 }, "0x7F9E40C59340": { "uid": 6888 } } }
13.818182
24
0.460526
10
152
6.8
0.9
0
0
0
0
0
0
0
0
0
0
0.284211
0.375
152
10
25
15.2
0.431579
0
0
0
0
0
0.330986
0
0
0
0.197183
0
0
1
0
false
0
0
0
0
0
1
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
3
82ff129d5d8ebf806d749138377bf8d9be5bf91b
129
py
Python
fileio.py
mhwdvs/MITSBot
a0b3899b24df61976b0a6c98c61a75b9e8fa32a0
[ "MIT" ]
null
null
null
fileio.py
mhwdvs/MITSBot
a0b3899b24df61976b0a6c98c61a75b9e8fa32a0
[ "MIT" ]
null
null
null
fileio.py
mhwdvs/MITSBot
a0b3899b24df61976b0a6c98c61a75b9e8fa32a0
[ "MIT" ]
null
null
null
# Return lines from a file def getFileLines(file): f = open(file, "r") lines = f.readlines() f.close return lines
21.5
26
0.627907
19
129
4.263158
0.631579
0.271605
0
0
0
0
0
0
0
0
0
0
0.255814
129
6
27
21.5
0.84375
0.186047
0
0
0
0
0.009615
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d20f8ea241ce4397cbea76d6820ec381c9a274b1
171
py
Python
P2/P2_2_UDP_Server.py
Newport1990/Black_Hat_Python
33b93314167bdfef7869cf0a00fb2e8b62b3dd67
[ "Apache-2.0" ]
null
null
null
P2/P2_2_UDP_Server.py
Newport1990/Black_Hat_Python
33b93314167bdfef7869cf0a00fb2e8b62b3dd67
[ "Apache-2.0" ]
null
null
null
P2/P2_2_UDP_Server.py
Newport1990/Black_Hat_Python
33b93314167bdfef7869cf0a00fb2e8b62b3dd67
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # @Time : 2020/9/30 11:22 # @Author : Newport # @Site : # @File : P2_2_UDP_Server.py # @Software: PyCharm import socket target
15.545455
28
0.631579
26
171
4.038462
1
0
0
0
0
0
0
0
0
0
0
0.099291
0.175439
171
11
29
15.545455
0.64539
0.789474
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
d20f9a92399e1fa7ef40e6478771a4c6b48be3de
219
py
Python
tests/wasp1/AllAnswerSets/choice_41.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
19
2015-12-03T08:53:45.000Z
2022-03-31T02:09:43.000Z
tests/wasp1/AllAnswerSets/choice_41.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
80
2017-11-25T07:57:32.000Z
2018-06-10T19:03:30.000Z
tests/wasp1/AllAnswerSets/choice_41.test.py
bernardocuteri/wasp
05c8f961776dbdbf7afbf905ee00fc262eba51ad
[ "Apache-2.0" ]
6
2015-01-15T07:51:48.000Z
2020-06-18T14:47:48.000Z
input = """ a1:- not b1. b1:- not a1. a2:- not b2. b2:- not a2. a3:- not b3. b3:- not a3. """ output = """ {a1, a2, a3} {a1, a2, b3} {a1, a3, b2} {a1, b2, b3} {a2, a3, b1} {a2, b1, b3} {a3, b1, b2} {b1, b2, b3} """
9.521739
12
0.461187
44
219
2.295455
0.204545
0.118812
0
0
0
0
0
0
0
0
0
0.218182
0.246575
219
22
13
9.954545
0.393939
0
0
0.111111
0
0
0.853881
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d21046dd6ac8c90e53ac79fef62b3d35dc3e5b83
285
py
Python
a2ml/cmdl/commands/cmd_review.py
gitter-badger/a2ml
1d9ef6657645b61c64090284ed8fadb1a68b932c
[ "Apache-2.0" ]
2
2020-04-09T16:59:22.000Z
2020-04-09T17:01:10.000Z
a2ml/cmdl/commands/cmd_review.py
arita37/a2ml
3e92bede2c2ef6e63be74560cc6b904d3ec9d931
[ "Apache-2.0" ]
null
null
null
a2ml/cmdl/commands/cmd_review.py
arita37/a2ml
3e92bede2c2ef6e63be74560cc6b904d3ec9d931
[ "Apache-2.0" ]
null
null
null
import click from a2ml.api.a2ml import A2ML from a2ml.api.utils.context import pass_context @click.command('review', short_help='Review specified model info.') @pass_context def cmdl(ctx): """Review specified model info.""" ctx.setup_logger(format='') A2ML(ctx).review()
23.75
67
0.733333
41
285
5
0.512195
0.078049
0.107317
0.234146
0
0
0
0
0
0
0
0.020243
0.133333
285
11
68
25.909091
0.809717
0.098246
0
0
0
0
0.135458
0
0
0
0
0
0
1
0.125
false
0.25
0.375
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
0
0
1
1
0
0
0
0
3
d2203cff5306179b27371494e83facf865c551b7
633
py
Python
pakaman/lang/__init__.py
mikonse/pakaman
4b6ac2ec550bfd642d34dce1fc406f2bd230e8de
[ "MIT" ]
1
2020-10-18T17:57:30.000Z
2020-10-18T17:57:30.000Z
pakaman/lang/__init__.py
mikonse/pakaman
4b6ac2ec550bfd642d34dce1fc406f2bd230e8de
[ "MIT" ]
null
null
null
pakaman/lang/__init__.py
mikonse/pakaman
4b6ac2ec550bfd642d34dce1fc406f2bd230e8de
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod from pathlib import Path from typing import Optional, Callable LANGUAGES = {} class LanguageMeta(ABCMeta): def __init__(cls, name, bases, classdict): super().__init__(name, bases, classdict) LANGUAGES[cls.lang] = cls class LanguageBuilder(metaclass=Langua...
20.419355
50
0.703002
75
633
5.706667
0.493333
0.056075
0.084112
0
0
0
0
0
0
0
0
0
0.205371
633
30
51
21.1
0.850895
0.030016
0
0
0
0
0.011438
0
0
0
0
0
0
1
0.222222
false
0.055556
0.222222
0.055556
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d2298c8e77bae56fd5b1aa57f838e597e5407c0a
955
py
Python
website/Contact/migrations/0006_auto_20200202_2046.py
bubai666sen/Visitor-Manager
9ecfa087f332d368e2a52dd812c272d30c3a55df
[ "MIT" ]
null
null
null
website/Contact/migrations/0006_auto_20200202_2046.py
bubai666sen/Visitor-Manager
9ecfa087f332d368e2a52dd812c272d30c3a55df
[ "MIT" ]
null
null
null
website/Contact/migrations/0006_auto_20200202_2046.py
bubai666sen/Visitor-Manager
9ecfa087f332d368e2a52dd812c272d30c3a55df
[ "MIT" ]
1
2020-09-14T14:37:02.000Z
2020-09-14T14:37:02.000Z
# Generated by Django 2.2 on 2020-02-02 15:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Contact', '0005_auto_20200202_2040'), ] operations = [ migrations.AlterField( model_name='sitecontact', name='email', ...
28.088235
75
0.581152
95
955
5.715789
0.442105
0.14733
0.184162
0.213628
0.572744
0.572744
0.491713
0.491713
0.395948
0.395948
0
0.058559
0.302618
955
33
76
28.939394
0.756757
0.045026
0
0.518519
1
0
0.11978
0.025275
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d23ba13ad2bd078385e262a6412cdbb359c9127e
277
py
Python
params/speed/generate_wb_speed.py
NREL/human-metrics-explore
205d0f18e3630c72bc6b826efbb4984e1738e1e0
[ "BSD-3-Clause" ]
null
null
null
params/speed/generate_wb_speed.py
NREL/human-metrics-explore
205d0f18e3630c72bc6b826efbb4984e1738e1e0
[ "BSD-3-Clause" ]
1
2022-01-12T21:19:12.000Z
2022-01-12T23:50:53.000Z
params/speed/generate_wb_speed.py
NREL/human-metrics-explore
205d0f18e3630c72bc6b826efbb4984e1738e1e0
[ "BSD-3-Clause" ]
null
null
null
import pandas as pd import scipy.stats import random def generate_wb_speed(n): wb_speed_list = [] for i in range(0,n): speed_temp = random.uniform(5,20) wb_speed_list.append(speed_temp) #print(randomlist) return(wb_speed_list)
21.307692
41
0.649819
41
277
4.146341
0.634146
0.164706
0.194118
0
0
0
0
0
0
0
0
0.019608
0.263538
277
13
42
21.307692
0.813725
0.061372
0
0
1
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d2409dbfd5929ce883a5d104515d6acd2da990ff
539
py
Python
js_services/migrations/0012_auto_20190430_0804.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
js_services/migrations/0012_auto_20190430_0804.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
js_services/migrations/0012_auto_20190430_0804.py
evgeny-dmi3ev/js-services
8d4960ec49a44b0eda537713af9f4976456e0f5e
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-04-30 08:04 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('js_services', '0011_auto_20190429_1705'), ] operations = [ #migrations.RemoveField...
22.458333
51
0.599258
52
539
5.980769
0.730769
0.135048
0.167203
0.192926
0
0
0
0
0
0
0
0.087404
0.278293
539
23
52
23.434783
0.712082
0.402597
0
0
1
0
0.109325
0.073955
0
0
0
0
0
1
0
false
0
0.25
0
0.625
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
1
0
0
3
d241c05fedadf1acd6cf538416ac6f3bbf5dd345
112
py
Python
test/test_linear_algebra.py
RaylaKurosaki1503/Raylas_Modules
078281e17130d09ea1fadde0b96539046b60d4a8
[ "MIT" ]
1
2022-02-15T05:31:37.000Z
2022-02-15T05:31:37.000Z
test/test_linear_algebra.py
RaylaKurosaki1503/Raylas_Modules
078281e17130d09ea1fadde0b96539046b60d4a8
[ "MIT" ]
null
null
null
test/test_linear_algebra.py
RaylaKurosaki1503/Raylas_Modules
078281e17130d09ea1fadde0b96539046b60d4a8
[ "MIT" ]
null
null
null
""" Author: Rayla Kurosaki File: test_linear_algebra.py Description: """ if __name__ == '__main__': pass
10.181818
28
0.6875
13
112
5.153846
1
0
0
0
0
0
0
0
0
0
0
0
0.178571
112
10
29
11.2
0.728261
0.589286
0
0
0
0
0.210526
0
0
0
0
0
0
1
0
true
0.5
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
d244bc2f6d3fb9c7c4b324a788c011fe998a3244
146
py
Python
predavanje6/operatoriListe.py
Miillky/uvod_u_programiranje
209611e38c8fe84c727649df4b868a4278eb77c3
[ "MIT" ]
null
null
null
predavanje6/operatoriListe.py
Miillky/uvod_u_programiranje
209611e38c8fe84c727649df4b868a4278eb77c3
[ "MIT" ]
null
null
null
predavanje6/operatoriListe.py
Miillky/uvod_u_programiranje
209611e38c8fe84c727649df4b868a4278eb77c3
[ "MIT" ]
null
null
null
a = [1,2,3] b = [4,5,6] print(a+b) print(a) print(a*2) print(a*3) print(b*2) print(b*3) print(1 in a) print(2 in a) print(3 in a) print(4 in a)
9.733333
13
0.582192
41
146
2.073171
0.243902
0.282353
0.282353
0
0
0
0
0
0
0
0
0.116667
0.178082
146
15
14
9.733333
0.591667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.833333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d247b6d6ab14bcffb1c99e71b2fdd9baff424970
414
py
Python
tests/interpreter/__init__.py
ChandlerSwift/little-python
e36b45fd3f92238c02c73c025ed0f424d599123d
[ "MIT" ]
2
2016-10-15T15:48:03.000Z
2016-10-19T15:41:24.000Z
tests/interpreter/__init__.py
ChandlerSwift/little-python
e36b45fd3f92238c02c73c025ed0f424d599123d
[ "MIT" ]
12
2016-10-12T13:51:53.000Z
2017-10-21T23:12:39.000Z
tests/interpreter/__init__.py
ChandlerSwift/little-python
e36b45fd3f92238c02c73c025ed0f424d599123d
[ "MIT" ]
1
2020-11-05T17:21:40.000Z
2020-11-05T17:21:40.000Z
from littlepython import Compiler, Features def compile(code, features=Features.ALL): compiler = Compiler() return compiler.compile(code, features=features) def run(code, max_op_count=-1, **kargs): if len(kargs) == 1 and "in_state" in kargs: return compile(code).run(kargs["in_state"], max_op_cou...
29.571429
78
0.71256
61
414
4.639344
0.360656
0.088339
0.176678
0.190813
0.318021
0.141343
0
0
0
0
0
0.005797
0.166667
414
13
79
31.846154
0.814493
0
0
0
0
0
0.038647
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d248a8fb58a57577819454578913f899284ce4e3
116
py
Python
rial/ir/modifier/VariableMutabilityModifier.py
L3tum/RIAL
fba25f37434ff51e0de8e22ce834af589aba24e8
[ "BSD-3-Clause" ]
2
2020-06-02T20:00:28.000Z
2020-06-06T02:15:49.000Z
rial/ir/modifier/VariableMutabilityModifier.py
L3tum/RIAL
fba25f37434ff51e0de8e22ce834af589aba24e8
[ "BSD-3-Clause" ]
51
2020-04-13T13:27:10.000Z
2020-06-12T11:38:36.000Z
rial/ir/modifier/VariableMutabilityModifier.py
L3tum/RIAL
fba25f37434ff51e0de8e22ce834af589aba24e8
[ "BSD-3-Clause" ]
2
2020-06-24T14:44:01.000Z
2020-11-29T04:08:54.000Z
from enum import Enum class VariableMutabilityModifier(Enum): CONST = "const" MUT = "mut" REF = "ref"
14.5
39
0.646552
13
116
5.769231
0.615385
0
0
0
0
0
0
0
0
0
0
0
0.25
116
7
40
16.571429
0.862069
0
0
0
0
0
0.094828
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d2680ff326c79d68381400ec15c72d63374f4ec0
207
py
Python
app/ports/api.py
jmp/fast1
2fb0283168d93b258da15e12af530c50de2dba75
[ "MIT" ]
1
2021-11-23T13:27:21.000Z
2021-11-23T13:27:21.000Z
app/ports/api.py
jmp/fast1
2fb0283168d93b258da15e12af530c50de2dba75
[ "MIT" ]
null
null
null
app/ports/api.py
jmp/fast1
2fb0283168d93b258da15e12af530c50de2dba75
[ "MIT" ]
null
null
null
from typing import Optional, Protocol from app.domain.circuit import Circuit class GetCircuitUseCase(Protocol): def get_circuit(self, ref: str) -> Optional[Circuit]: raise NotImplementedError
23
57
0.763285
24
207
6.541667
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.164251
207
8
58
25.875
0.907514
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d274fa6f50d66e1efdd10219cc980d3e5b741480
1,964
py
Python
dist/Platform.app/Contents/Resources/lib/python3.7/wx/lib/pubsub/core/arg1/topicargspecimpl.py
njalloul90/Genomics_Oncology_Platform
9bf6d0edca5df783f4e371fa1bc46b7b1576fe70
[ "MIT" ]
6
2021-07-26T14:21:25.000Z
2021-07-26T14:32:01.000Z
dist/Platform.app/Contents/Resources/lib/python3.7/wx/lib/pubsub/core/arg1/topicargspecimpl.py
njalloul90/Genomics_Oncology_Platform
9bf6d0edca5df783f4e371fa1bc46b7b1576fe70
[ "MIT" ]
9
2021-03-18T23:10:27.000Z
2022-03-11T23:43:55.000Z
dist/Platform.app/Contents/Resources/lib/python3.7/wx/lib/pubsub/core/arg1/topicargspecimpl.py
njalloul90/Genomics_Oncology_Platform
9bf6d0edca5df783f4e371fa1bc46b7b1576fe70
[ "MIT" ]
2
2019-12-02T01:39:10.000Z
2021-02-13T22:41:00.000Z
""" :copyright: Copyright since 2006 by Oliver Schoenborn, all rights reserved. :license: BSD, see LICENSE_BSD_Simple.txt for details. """ import weakref from .topicutils import WeakNone class SenderMissingReqdMsgDataError(RuntimeError): """ Ignore: Not used for this message protocol. """ pass cla...
29.313433
84
0.687882
244
1,964
5.483607
0.495902
0.029895
0.03139
0.037369
0.083707
0.083707
0.083707
0.083707
0.083707
0.083707
0
0.006069
0.244908
1,964
66
85
29.757576
0.896156
0.473014
0
0.08
0
0
0.021299
0
0
0
0
0
0
1
0.2
false
0.08
0.08
0.16
0.64
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
d27ac4a919b6d060841c2aabda13312ad0a7d3b9
282
py
Python
cadnano25/cadnano/fileio/encoder.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
1
2021-10-11T21:47:33.000Z
2021-10-11T21:47:33.000Z
cadnano25/cadnano/fileio/encoder.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
null
null
null
cadnano25/cadnano/fileio/encoder.py
amylittleyang/OtraCAD
126360719704caf6850d42565fe96be53b66a22d
[ "MIT" ]
null
null
null
from json import dumps from .legacyencoder import legacy_dict_from_doc def encode(document, helix_order_list, io): obj = legacy_dict_from_doc(document, io.name, helix_order_list) json_string = dumps(obj, separators=(',', ':')) # compact encoding io.write(json_string)
35.25
71
0.751773
40
282
5
0.55
0.1
0.14
0.17
0
0
0
0
0
0
0
0
0.141844
282
7
72
40.285714
0.826446
0.056738
0
0
0
0
0.007576
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d2803299ca349a6eba81c8c2e21f722ddea1adb3
191
py
Python
harpoon/src/plugins/Config/commands/EnablePersist.py
xezzz/Harpoon
4a0bdea10a6e961013738598726a4205a5cc4c91
[ "MIT" ]
null
null
null
harpoon/src/plugins/Config/commands/EnablePersist.py
xezzz/Harpoon
4a0bdea10a6e961013738598726a4205a5cc4c91
[ "MIT" ]
null
null
null
harpoon/src/plugins/Config/commands/EnablePersist.py
xezzz/Harpoon
4a0bdea10a6e961013738598726a4205a5cc4c91
[ "MIT" ]
null
null
null
async def run(plugin, ctx): plugin.db.configs.update(ctx.guild.id, "persist", True) await ctx.send(plugin.t(ctx.guild, "enabled_module_no_channel", _emote="YES", module="Persist"))
31.833333
100
0.712042
29
191
4.551724
0.724138
0.121212
0
0
0
0
0
0
0
0
0
0
0.115183
191
6
100
31.833333
0.781065
0
0
0
0
0
0.222222
0.132275
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9630a70105d9ed6a6f7f207cd826e80124c112cc
611
py
Python
api/serializers.py
njenga5/django-mediastore-site
579fe162f32520ca95917e95fa4c841e1bbe0ab1
[ "MIT" ]
1
2020-12-19T20:49:04.000Z
2020-12-19T20:49:04.000Z
api/serializers.py
njenga5/django-mediastore-site
579fe162f32520ca95917e95fa4c841e1bbe0ab1
[ "MIT" ]
null
null
null
api/serializers.py
njenga5/django-mediastore-site
579fe162f32520ca95917e95fa4c841e1bbe0ab1
[ "MIT" ]
null
null
null
from rest_framework import serializers from commonops.models import CustomUser as User from dashboard import models class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = '__all__' class PhotoSerializer(serializers.ModelSerializer): class Meta: model = m...
21.821429
51
0.702128
59
611
6.983051
0.40678
0.252427
0.300971
0.339806
0.432039
0.334951
0
0
0
0
0
0
0.232406
611
27
52
22.62963
0.878465
0
0
0.421053
0
0
0.045827
0
0
0
0
0
0
1
0
false
0
0.157895
0
0.578947
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
964daf346dfa7dbbd9b59c8909a66f21fb369c1a
430
py
Python
Assignments/HW3/fancy_tester.py
chenchuw/EC602-Design-by-Software
c233c9d08a67abc47235282fedd866d67ccaf4ce
[ "MIT" ]
3
2018-11-14T16:07:31.000Z
2018-11-15T16:44:51.000Z
assignment4/fancy_tester.py
guozhonghao1994/BU_EC602_Assignment
e8f6b61e5cdad64e9fe943fc4f61d1fc9ad85f74
[ "Unlicense" ]
null
null
null
assignment4/fancy_tester.py
guozhonghao1994/BU_EC602_Assignment
e8f6b61e5cdad64e9fe943fc4f61d1fc9ad85f74
[ "Unlicense" ]
1
2022-01-11T20:23:47.000Z
2022-01-11T20:23:47.000Z
from model_complex import Complex def test_complex_type_class(f): "try out features of complex classes." c = f(3,4) d = 4 + 3j e = 2 + 5j print("c d e",c,d,e) print("imag c",c.imag) print("real c",c.real) print("c*d",c*d) print("abs(c)",abs(c)) print("c+d",c+d) print("c*e*d"...
22.631579
42
0.604651
79
430
3.063291
0.367089
0.049587
0.18595
0.247934
0.338843
0.115702
0
0
0
0
0
0.017964
0.223256
430
19
43
22.631579
0.706587
0.083721
0
0
0
0
0.180974
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.125
0.4375
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
1
0
3
96526ac72dd2dcda881ca5e2cf21fa3d41d1cb7f
482
py
Python
desktop/core/ext-py/Paste-1.7.2/tests/test_import_string.py
t3hi3x/hue
36d71c1a8dd978b899ef2dc3eef8887b68fd99a8
[ "Apache-2.0" ]
19
2015-05-01T19:59:03.000Z
2021-12-09T08:03:16.000Z
desktop/core/ext-py/Paste-1.7.2/tests/test_import_string.py
t3hi3x/hue
36d71c1a8dd978b899ef2dc3eef8887b68fd99a8
[ "Apache-2.0" ]
1
2018-01-03T15:26:49.000Z
2018-01-03T15:26:49.000Z
desktop/core/ext-py/Paste-1.7.2/tests/test_import_string.py
t3hi3x/hue
36d71c1a8dd978b899ef2dc3eef8887b68fd99a8
[ "Apache-2.0" ]
30
2015-03-25T19:40:07.000Z
2021-05-28T22:59:26.000Z
from paste.util.import_string import * import sys import os def test_simple(): for func in eval_import, simple_import: assert func('sys') is sys assert func('sys.version') is sys.version assert func('os.path.join') is os.path.join def test_complex(): assert eval_import('sys:version') i...
28.352941
53
0.651452
70
482
4.371429
0.328571
0.196078
0.156863
0.098039
0.320261
0.183007
0
0
0
0
0
0.005249
0.209544
482
16
54
30.125
0.7979
0
0
0
0
0
0.145228
0.045643
0
0
0
0
0.461538
1
0.153846
false
0
0.538462
0
0.692308
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
0
0
0
1
0
1
0
0
3
9652c6a11bcb8552ff9fbfe707491759405ce139
54
py
Python
Instructions/starter_code/api_keys.py
bshub6/API-Challenge
c431ec527e4a1bdb13f3335b6ac034c7798b1751
[ "MIT" ]
null
null
null
Instructions/starter_code/api_keys.py
bshub6/API-Challenge
c431ec527e4a1bdb13f3335b6ac034c7798b1751
[ "MIT" ]
null
null
null
Instructions/starter_code/api_keys.py
bshub6/API-Challenge
c431ec527e4a1bdb13f3335b6ac034c7798b1751
[ "MIT" ]
null
null
null
# OpenWeatherMap API Key api_key = "YOUR KEY HERE!"
18
27
0.703704
8
54
4.625
0.625
0.324324
0
0
0
0
0
0
0
0
0
0
0.203704
54
2
28
27
0.860465
0.407407
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3