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
330d1651da2f0e2263d81473818365d615ca88b8
234
py
Python
tests/resources/selenium/python/test_selenium_transactions.py
IamSaurabh1/taurus
928d44e30e6cd5b979e675bfdce4c1dbeb5d0eff
[ "Apache-2.0" ]
1,743
2015-03-30T20:56:03.000Z
2022-03-31T09:08:37.000Z
tests/resources/selenium/python/test_selenium_transactions.py
IamSaurabh1/taurus
928d44e30e6cd5b979e675bfdce4c1dbeb5d0eff
[ "Apache-2.0" ]
1,159
2015-04-01T08:25:53.000Z
2022-03-29T08:15:31.000Z
tests/resources/selenium/python/test_selenium_transactions.py
IamSaurabh1/taurus
928d44e30e6cd5b979e675bfdce4c1dbeb5d0eff
[ "Apache-2.0" ]
497
2015-03-31T21:05:18.000Z
2022-03-17T12:45:21.000Z
import time import unittest import apiritif class TestSomething(unittest.TestCase): def test_me(self): with apiritif.transaction_logged('hello there'): time.sleep(0.1) self.assertEqual(2 + 2, 4)
19.5
56
0.662393
29
234
5.275862
0.758621
0
0
0
0
0
0
0
0
0
0
0.028249
0.24359
234
11
57
21.272727
0.836158
0
0
0
0
0
0.047009
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.625
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
331fdc16e45f08290e29c884d6302e5377682b31
84
py
Python
boj/11004.py
JeongHoLim/practice
5f8914ba42b2ae01e0a00e92a7af9fcf63c8b7c2
[ "MIT" ]
1
2022-01-16T19:57:28.000Z
2022-01-16T19:57:28.000Z
boj/11004.py
JeongHoLim/practice
5f8914ba42b2ae01e0a00e92a7af9fcf63c8b7c2
[ "MIT" ]
null
null
null
boj/11004.py
JeongHoLim/practice
5f8914ba42b2ae01e0a00e92a7af9fcf63c8b7c2
[ "MIT" ]
null
null
null
n,k = input().split() a = list(map(int,input().split())) print(sorted(a)[int(k)-1])
21
34
0.595238
16
84
3.125
0.6875
0.4
0
0
0
0
0
0
0
0
0
0.012987
0.083333
84
4
35
21
0.636364
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
332c60b94edbc86bb4f9e55cdbaaf92a464ccac8
5,233
py
Python
tests/functional/esxi_events/test_esxi_reboot.py
atsgen/tf-vcenter-fabric-manager
bb2cf0a0f80464457e1b884847df77a11259077c
[ "Apache-2.0" ]
1
2022-03-13T06:31:49.000Z
2022-03-13T06:31:49.000Z
tests/functional/esxi_events/test_esxi_reboot.py
atsgen/tf-vcenter-fabric-manager
bb2cf0a0f80464457e1b884847df77a11259077c
[ "Apache-2.0" ]
null
null
null
tests/functional/esxi_events/test_esxi_reboot.py
atsgen/tf-vcenter-fabric-manager
bb2cf0a0f80464457e1b884847df77a11259077c
[ "Apache-2.0" ]
1
2020-08-25T12:44:56.000Z
2020-08-25T12:44:56.000Z
import pytest from pyVmomi import vim from vnc_api import vnc_api from tests import utils from cvfm import models @pytest.fixture def vmware_dpg_1(): net_data = { "key": "dvportgroup-1", "name": "dpg-1", "type": vim.DistributedVirtualPortgroup, "dvs-name": "dvs-1", "vlan":...
34.427632
110
0.726352
860
5,233
4.10814
0.115116
0.054345
0.054345
0.068497
0.797339
0.768469
0.739598
0.726012
0.64874
0.542598
0
0.02805
0.182496
5,233
151
111
34.655629
0.797803
0.196828
0
0.398148
0
0
0.083632
0
0
0
0
0
0.064815
1
0.074074
false
0
0.046296
0
0.185185
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3339ca1a7f33364530eed57996314ff9239e779b
335
py
Python
script/core/renderer/renderer.py
jose/RepairThemAll
a961df65870f17a221be316b165ac3a17bdc9d35
[ "MIT" ]
null
null
null
script/core/renderer/renderer.py
jose/RepairThemAll
a961df65870f17a221be316b165ac3a17bdc9d35
[ "MIT" ]
null
null
null
script/core/renderer/renderer.py
jose/RepairThemAll
a961df65870f17a221be316b165ac3a17bdc9d35
[ "MIT" ]
null
null
null
import os from BashRenderer import BashRenderer from EmptyRenderer import EmptyRenderer def is_grid5k_node(): return 'OAR_JOB_ID' in os.environ def get_renderer(runner): """ :param runner: :return: EmptyRenderer """ if is_grid5k_node(): return EmptyRenderer(runner) return BashRe...
17.631579
39
0.710448
39
335
5.923077
0.512821
0.069264
0.103896
0.155844
0
0
0
0
0
0
0
0.007576
0.21194
335
18
40
18.611111
0.867424
0.110448
0
0
0
0
0.035971
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
333f1f00f003f349d0614be9ef7123b99bb84202
88
py
Python
myconfig/__init__.py
omerholz/myconfig
3724b9e31f9cde49c06dd61a78af170dd023f9a3
[ "MIT" ]
null
null
null
myconfig/__init__.py
omerholz/myconfig
3724b9e31f9cde49c06dd61a78af170dd023f9a3
[ "MIT" ]
null
null
null
myconfig/__init__.py
omerholz/myconfig
3724b9e31f9cde49c06dd61a78af170dd023f9a3
[ "MIT" ]
null
null
null
import os from .config_wrapper import ConfigWrapper CONFIG = ConfigWrapper(os.environ)
17.6
41
0.829545
11
88
6.545455
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.113636
88
4
42
22
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3344c16d4c0064d669d6acb238ee1b509fcd4d61
1,449
py
Python
ocellaris/solver_parts/multiphase/__init__.py
TormodLandet/Ocellaris
6b4b2515fb881b1ed8d8fd8d8c23a8e1990ada58
[ "Apache-2.0" ]
1
2017-11-07T12:19:44.000Z
2017-11-07T12:19:44.000Z
ocellaris/solver_parts/multiphase/__init__.py
TormodLandet/Ocellaris
6b4b2515fb881b1ed8d8fd8d8c23a8e1990ada58
[ "Apache-2.0" ]
null
null
null
ocellaris/solver_parts/multiphase/__init__.py
TormodLandet/Ocellaris
6b4b2515fb881b1ed8d8fd8d8c23a8e1990ada58
[ "Apache-2.0" ]
2
2018-05-02T17:17:01.000Z
2019-03-11T13:09:40.000Z
# Copyright (C) 2015-2019 Tormod Landet # SPDX-License-Identifier: Apache-2.0 import dolfin from ocellaris.utils import ocellaris_error _MULTI_PHASE_MODELS = {} def add_multi_phase_model(name, multi_phase_model_class): """ Register a multi phase scheme """ _MULTI_PHASE_MODELS[name] = multi_phase_mo...
22.292308
63
0.663906
179
1,449
5.094972
0.418994
0.186404
0.180921
0.109649
0.210526
0.092105
0.092105
0.092105
0.092105
0
0
0.011132
0.256039
1,449
64
64
22.640625
0.834879
0.130435
0
0.055556
0
0
0.073372
0
0
0
0
0
0
1
0.166667
false
0.055556
0.222222
0
0.527778
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
3353465adcb67ef17b9f5e6107a1ca29891d4f94
159
py
Python
Code Bundle/Chapter03/tests/test_mark_modules.py
ghanigreen/pytest_code
dbdcc322b3469c62ad328043060518edf2b2d83f
[ "MIT" ]
46
2018-06-28T04:40:08.000Z
2022-02-14T05:36:48.000Z
Code Bundle/Chapter03/tests/test_mark_modules.py
ghanigreen/pytest_code
dbdcc322b3469c62ad328043060518edf2b2d83f
[ "MIT" ]
null
null
null
Code Bundle/Chapter03/tests/test_mark_modules.py
ghanigreen/pytest_code
dbdcc322b3469c62ad328043060518edf2b2d83f
[ "MIT" ]
22
2018-06-10T23:20:29.000Z
2022-02-24T06:47:18.000Z
import pytest pytestmark = pytest.mark.timeout(10) class TestCore: def test_simple_simulation(self): ... def test_compute_tracers(): ...
11.357143
37
0.666667
18
159
5.666667
0.833333
0.137255
0
0
0
0
0
0
0
0
0
0.016129
0.220126
159
13
38
12.230769
0.806452
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
335a88fa8dd17be65d21ed9924b6d25c212e05c2
382
py
Python
tests/RST213/emphasis.py
domdfcoding/flake8-rst-docstrings
5a8badf13c6696e23150c57e1cd4fe7f2edba355
[ "MIT" ]
1
2020-11-18T22:45:37.000Z
2020-11-18T22:45:37.000Z
tests/RST213/emphasis.py
domdfcoding/flake8-rst-docstrings
5a8badf13c6696e23150c57e1cd4fe7f2edba355
[ "MIT" ]
2
2020-12-28T20:17:50.000Z
2020-12-28T21:48:11.000Z
tests/RST213/emphasis.py
domdfcoding/flake8-rst-docstrings
5a8badf13c6696e23150c57e1cd4fe7f2edba355
[ "MIT" ]
null
null
null
"""Print 'Hello world' to the terminal. RST uses single asterisks for *emphasis*, which is normally rendered as *italics*. Here *emphasis is missing a closing asterisk. That is considered to be an error, and should fail:: $ flake8 --select RST RST213/emphasis.py RST213/emphasis.py:7:1: RST213 Inline emphasi...
23.875
83
0.735602
57
382
4.929825
0.736842
0.071174
0.106762
0
0
0
0
0
0
0
0
0.037736
0.167539
382
15
84
25.466667
0.845912
0.918848
0
0
0
0
0.478261
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
33659d4ba7ca8789fc605f79fe4b3808c392f2e5
1,401
py
Python
pybrainframework/nodes/audio/MorletScalogramGeneratorNode.py
hytham/pybrainframework
9b3875271eda81b1a20eea9b1db77d1d1e59b704
[ "MIT" ]
null
null
null
pybrainframework/nodes/audio/MorletScalogramGeneratorNode.py
hytham/pybrainframework
9b3875271eda81b1a20eea9b1db77d1d1e59b704
[ "MIT" ]
null
null
null
pybrainframework/nodes/audio/MorletScalogramGeneratorNode.py
hytham/pybrainframework
9b3875271eda81b1a20eea9b1db77d1d1e59b704
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt from obspy.signal.tf_misfit import cwt from pybrainframework import BrainNode import numpy as np def _generate_morlet_scalogram(signal): """ Generate morelet scalogram from a numpy signal""" axis = signal.ndim - 1 signal_length = signal.shape[axis] t = np.linspace(0, s...
24.578947
92
0.665953
195
1,401
4.574359
0.446154
0.028027
0.049327
0.017937
0
0
0
0
0
0
0
0.017164
0.20985
1,401
56
93
25.017857
0.788618
0.032834
0
0.102564
1
0
0.025964
0.019288
0
0
0
0
0
1
0.205128
false
0.102564
0.102564
0.051282
0.410256
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
1
0
0
0
0
0
3
682c0674d7f770b960c1a0452b10ec7701c9ebe7
529
py
Python
radius_search/dbfunctions.py
denisiko/django-radius-search
83f628a12cdf0c729bc8bea3e4f3585f1e24d8c0
[ "MIT" ]
null
null
null
radius_search/dbfunctions.py
denisiko/django-radius-search
83f628a12cdf0c729bc8bea3e4f3585f1e24d8c0
[ "MIT" ]
null
null
null
radius_search/dbfunctions.py
denisiko/django-radius-search
83f628a12cdf0c729bc8bea3e4f3585f1e24d8c0
[ "MIT" ]
null
null
null
from django.db.models import Func class Radians(Func): """ SQL function for converting degrees to radians. """ function = 'RADIANS' name = 'Radians' class Sin(Func): """ SQL function for calculating the sine. """ function = 'SIN' name = 'Sin' class Cos(Func): """ SQ...
15.558824
51
0.57845
59
529
5.186441
0.389831
0.091503
0.196078
0.235294
0.313725
0.313725
0
0
0
0
0
0
0.296786
529
33
52
16.030303
0.822581
0.323251
0
0
0
0
0.114478
0
0
0
0
0
0
1
0
false
0
0.076923
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
683827f78db29734a30337cf193246395c476e92
6,293
py
Python
src/hearth/metrics/base.py
leaprovenzano/muspelheim
00f09ab35df93e67fd25536f6a3d6fa4ab001afb
[ "MIT" ]
null
null
null
src/hearth/metrics/base.py
leaprovenzano/muspelheim
00f09ab35df93e67fd25536f6a3d6fa4ab001afb
[ "MIT" ]
1
2020-11-01T13:34:33.000Z
2020-11-01T13:34:33.000Z
src/hearth/metrics/base.py
leaprovenzano/muspelheim
00f09ab35df93e67fd25536f6a3d6fa4ab001afb
[ "MIT" ]
null
null
null
from abc import ABC from typing import Tuple, Mapping import torch from torch import Tensor from hearth._internals import to_snakecase from hearth.containers import TensorDict from hearth._multihead import _MultiHeadFunc class Metric(ABC): """abstract base class for all metrics. Note: Metrics should ...
34.767956
100
0.616876
767
6,293
4.911343
0.269883
0.031059
0.0146
0.015928
0.155031
0.135917
0.089727
0.036103
0.036103
0.036103
0
0.017624
0.269665
6,293
180
101
34.961111
0.802002
0.572223
0
0.033898
0
0
0.048957
0.026394
0
0
0
0
0
1
0.237288
false
0.016949
0.118644
0.118644
0.610169
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
685367f9b9f0d6b8caf6935a4d83758e2d394194
4,354
py
Python
YourDailyLog/settings.py
Zad-100/YourLearningLogProj
ceda566dda1cd3b78debab4ba5b9a50edad8d5f3
[ "Apache-2.0" ]
null
null
null
YourDailyLog/settings.py
Zad-100/YourLearningLogProj
ceda566dda1cd3b78debab4ba5b9a50edad8d5f3
[ "Apache-2.0" ]
null
null
null
YourDailyLog/settings.py
Zad-100/YourLearningLogProj
ceda566dda1cd3b78debab4ba5b9a50edad8d5f3
[ "Apache-2.0" ]
null
null
null
""" Django settings for YourDailyLog project. Generated by 'django-admin startproject' using Django 3.2.9. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pa...
26.876543
91
0.705328
523
4,354
5.799235
0.432122
0.064293
0.058028
0.065941
0.152654
0.152654
0.10122
0.10122
0.052753
0
0
0.011179
0.178227
4,354
162
92
26.876543
0.836501
0.410887
0
0.025974
1
0.012987
0.519208
0.424951
0
0
0
0
0
1
0
false
0.064935
0.038961
0
0.038961
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
6878e47d3907baf63bd744ccdfafccc61042edc0
456
py
Python
applications/ExaquteSandboxApplication/ExaquteSandboxApplication.py
Gaoliu19910601/Kratos
0bac5e132d02061680fc90f1e52d4930b5ed7fa3
[ "BSD-4-Clause" ]
null
null
null
applications/ExaquteSandboxApplication/ExaquteSandboxApplication.py
Gaoliu19910601/Kratos
0bac5e132d02061680fc90f1e52d4930b5ed7fa3
[ "BSD-4-Clause" ]
1
2019-10-15T13:11:37.000Z
2019-10-15T13:11:37.000Z
applications/ExaquteSandboxApplication/ExaquteSandboxApplication.py
Gaoliu19910601/Kratos
0bac5e132d02061680fc90f1e52d4930b5ed7fa3
[ "BSD-4-Clause" ]
null
null
null
# makes KratosMultiphysics backward compatible with python 2.6 and 2.7 from __future__ import print_function, absolute_import, division import KratosMultiphysics as KM from KratosExaquteSandboxApplication import * application = KratosExaquteSandboxApplication() application_name = "KratosExaquteSandboxApplication" appl...
45.6
90
0.870614
42
456
9.095238
0.619048
0.219895
0
0
0
0
0
0
0
0
0
0.009569
0.083333
456
10
90
45.6
0.904306
0.149123
0
0
0
0
0.144703
0.144703
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0.142857
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
687f75f060791f4e601e1de85936125541ae45f8
1,035
py
Python
resta/endpoint.py
surabujin/resta
e5d69990bf77fa5a08faf3fdb584ede672c2b62b
[ "Apache-2.0" ]
null
null
null
resta/endpoint.py
surabujin/resta
e5d69990bf77fa5a08faf3fdb584ede672c2b62b
[ "Apache-2.0" ]
null
null
null
resta/endpoint.py
surabujin/resta
e5d69990bf77fa5a08faf3fdb584ede672c2b62b
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 Dmitry Bogun. Contacts: <nayka@nyaka.org> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
34.5
75
0.717874
140
1,035
5.185714
0.635714
0.082645
0.078512
0.044077
0
0
0
0
0
0
0
0.009685
0.201932
1,035
29
76
35.689655
0.869249
0.571014
0
0
0
0
0
0
0
0
0
0
0
1
0.363636
false
0.090909
0
0
0.545455
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
6893e9c66102382b11f513324aae8b0b806bb758
669
py
Python
tests/test_suppression.py
bitranox/Arpeggio
62151cb8ef2cfe5113a4388da09892e7714c5e96
[ "MIT" ]
null
null
null
tests/test_suppression.py
bitranox/Arpeggio
62151cb8ef2cfe5113a4388da09892e7714c5e96
[ "MIT" ]
null
null
null
tests/test_suppression.py
bitranox/Arpeggio
62151cb8ef2cfe5113a4388da09892e7714c5e96
[ "MIT" ]
null
null
null
####################################################################### # Name: test_suppression # Purpose: Test suppresion of parse tree nodes. # Author: Igor R. Dejanović <igor DOT dejanovic AT gmail DOT com> # Copyright: (c) 2016 Igor R. Dejanović <igor DOT dejanovic AT gmail DOT com> # License: MIT License ########...
27.875
77
0.526158
69
669
5.057971
0.608696
0.028653
0.080229
0.103152
0.246418
0.246418
0.246418
0.246418
0.246418
0.246418
0
0.008977
0.167414
669
23
78
29.086957
0.617594
0.349776
0
0
0
0
0.134545
0
0
0
0
0
0.142857
1
0.285714
false
0
0.142857
0.142857
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
0
0
1
1
0
0
3
689bffd8e131fb04bf2b4321a8994f33c7dea15a
61
py
Python
Views/SearchFriendsView.py
AiursoftWeb/Kahla.CLI
5f83fa79914fab8ad5ce628b56d18d83d77cc049
[ "MIT" ]
10
2019-03-21T13:38:24.000Z
2019-12-15T11:42:02.000Z
Views/SearchFriendsView.py
AiursoftWeb/Kahla.CLI
5f83fa79914fab8ad5ce628b56d18d83d77cc049
[ "MIT" ]
31
2019-04-10T04:29:40.000Z
2019-08-11T10:05:31.000Z
Views/SearchFriendsView.py
AiursoftWeb/Kahla.CLI
5f83fa79914fab8ad5ce628b56d18d83d77cc049
[ "MIT" ]
8
2019-03-21T14:17:42.000Z
2019-08-14T00:04:24.000Z
def SearchFriends(data): for d in data: print(d)
15.25
24
0.590164
9
61
4
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.311475
61
3
25
20.333333
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
68a11dbaf2bd6375ecd8b8ce7d31cad3dfaffbef
901
py
Python
back/migrations/0008_auto_20220212_0433.py
Bash-Air/bashair
76d07c0cca9323f5089d0c49450470bde887c4ea
[ "MIT" ]
null
null
null
back/migrations/0008_auto_20220212_0433.py
Bash-Air/bashair
76d07c0cca9323f5089d0c49450470bde887c4ea
[ "MIT" ]
null
null
null
back/migrations/0008_auto_20220212_0433.py
Bash-Air/bashair
76d07c0cca9323f5089d0c49450470bde887c4ea
[ "MIT" ]
1
2022-02-14T11:27:50.000Z
2022-02-14T11:27:50.000Z
# Generated by Django 3.2.12 on 2022-02-11 23:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('back', '0007_auto_20220212_0431'), ] operations = [ migrations.AlterField( model_name='factory', name='address', ...
26.5
75
0.561598
88
901
5.659091
0.5
0.160643
0.200803
0.232932
0.485944
0.485944
0.405622
0.405622
0.309237
0.309237
0
0.057003
0.318535
901
33
76
27.30303
0.754072
0.051054
0
0.518519
1
0
0.099648
0.026964
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
68a2aa9740db860b76671872f2a9f3bb66e3c15f
173
py
Python
ecommerce/product-catalog/product_catalog/events.py
NetstationPL/example_event_source_ecommerce
67e673e91da4e24ff88d17e34e69a312da65b80d
[ "MIT" ]
null
null
null
ecommerce/product-catalog/product_catalog/events.py
NetstationPL/example_event_source_ecommerce
67e673e91da4e24ff88d17e34e69a312da65b80d
[ "MIT" ]
null
null
null
ecommerce/product-catalog/product_catalog/events.py
NetstationPL/example_event_source_ecommerce
67e673e91da4e24ff88d17e34e69a312da65b80d
[ "MIT" ]
null
null
null
from dataclasses import dataclass from uuid import UUID from infra.event_store import Event @dataclass class ProductRegistered(Event): name: str product_id: UUID
15.727273
35
0.786127
23
173
5.826087
0.608696
0
0
0
0
0
0
0
0
0
0
0
0.17341
173
10
36
17.3
0.937063
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.428571
0
0.857143
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
68a2b80dcaeeb92faa14696095d9db239dd01988
181
py
Python
demos/00_window.py
TiberiumN/gsdl2
f40f52887f127713cb8c922ce4ebb13183170bd8
[ "MIT" ]
2
2020-11-10T06:24:03.000Z
2021-01-01T18:14:26.000Z
demos/00_window.py
Yardanico/gsdl2
f40f52887f127713cb8c922ce4ebb13183170bd8
[ "MIT" ]
null
null
null
demos/00_window.py
Yardanico/gsdl2
f40f52887f127713cb8c922ce4ebb13183170bd8
[ "MIT" ]
null
null
null
import gsdl2 gsdl2.init() screen = gsdl2.display.set_mode((640, 480)) gsdl2.display.set_caption('00_window.py - Window will close in 4 seconds...') gsdl2.time.wait(4000)
20.111111
78
0.707182
28
181
4.464286
0.75
0.192
0.24
0
0
0
0
0
0
0
0
0.116883
0.149171
181
8
79
22.625
0.694805
0
0
0
0
0
0.277457
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d7a87726a8ff8932d6b3572f0432ce485c3b4c29
169
py
Python
iotbot/exceptions.py
ITJoker233/python-iotbot
5ea293d36e7fa5b2cc83acfce3ccb5382bcc5afa
[ "MIT" ]
31
2020-07-24T03:47:56.000Z
2020-12-18T15:45:09.000Z
iotbot/exceptions.py
ITJoker233/python-iotbot
5ea293d36e7fa5b2cc83acfce3ccb5382bcc5afa
[ "MIT" ]
20
2020-08-06T15:47:40.000Z
2020-10-09T14:39:23.000Z
iotbot/exceptions.py
ITJoker233/python-iotbot
5ea293d36e7fa5b2cc83acfce3ccb5382bcc5afa
[ "MIT" ]
18
2020-08-02T04:06:35.000Z
2022-01-06T14:27:11.000Z
class ContextTypeError(Exception): """不是正确的消息上下文对象""" class InvalidConfigError(Exception): """配置文件有毛病""" class InvalidPluginError(Exception): """插件问题"""
15.363636
36
0.692308
12
169
9.75
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.147929
169
10
37
16.9
0.8125
0.147929
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
d7aafcfd1c8a8900530fd9a4553d885599a03353
93
py
Python
capstone/animalproject/animalapp/apps.py
jastr945/PDXclass
f8bf97e03586a83c860845a383a32162b9bea74c
[ "MIT" ]
null
null
null
capstone/animalproject/animalapp/apps.py
jastr945/PDXclass
f8bf97e03586a83c860845a383a32162b9bea74c
[ "MIT" ]
null
null
null
capstone/animalproject/animalapp/apps.py
jastr945/PDXclass
f8bf97e03586a83c860845a383a32162b9bea74c
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AnimalappConfig(AppConfig): name = 'animalapp'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
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
d7c20c30c2c7f8bcc4a0c28ec6178eabd4f5bd10
229
py
Python
run.py
KNOT-FIT-BUT/evalHulth2003
3e8d16f1af26ac8c48d573369a089e7bbf2d7a03
[ "Unlicense" ]
null
null
null
run.py
KNOT-FIT-BUT/evalHulth2003
3e8d16f1af26ac8c48d573369a089e7bbf2d7a03
[ "Unlicense" ]
null
null
null
run.py
KNOT-FIT-BUT/evalHulth2003
3e8d16f1af26ac8c48d573369a089e7bbf2d7a03
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """" Created on 17.02.20 Wrapper for running evalhulth2003 directly. :author: Martin Dočekal """ from evalhulth2003.__main__ import main if __name__ == '__main__': main()
16.357143
43
0.676856
29
229
4.931034
0.862069
0
0
0
0
0
0
0
0
0
0
0.084656
0.174672
229
13
44
17.615385
0.671958
0.60262
0
0
0
0
0.096386
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
d7e9839d3c6e9d1597b601555eb7a5f5e7e5a059
90
py
Python
paper/copy_paper_to_Readme.py
belbahrim/twin-causal-net
f45d5a61ed9039ae7d0cd615d95212f11a5a2086
[ "MIT" ]
null
null
null
paper/copy_paper_to_Readme.py
belbahrim/twin-causal-net
f45d5a61ed9039ae7d0cd615d95212f11a5a2086
[ "MIT" ]
null
null
null
paper/copy_paper_to_Readme.py
belbahrim/twin-causal-net
f45d5a61ed9039ae7d0cd615d95212f11a5a2086
[ "MIT" ]
null
null
null
import shutil import os src= r'./paper.md' dst = r'./Readme.md' shutil.copyfile(src, dst)
15
25
0.7
16
90
3.9375
0.625
0
0
0
0
0
0
0
0
0
0
0
0.122222
90
5
26
18
0.797468
0
0
0
0
0
0.233333
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cc0c060dbfc318955679d5a17f0f8d9fa739b24e
1,131
py
Python
mgf_filter/util.py
kusterlab/MasterSpectrum
938688043690a7da1b68126a73e519d2a07ba6de
[ "MIT" ]
null
null
null
mgf_filter/util.py
kusterlab/MasterSpectrum
938688043690a7da1b68126a73e519d2a07ba6de
[ "MIT" ]
null
null
null
mgf_filter/util.py
kusterlab/MasterSpectrum
938688043690a7da1b68126a73e519d2a07ba6de
[ "MIT" ]
null
null
null
import math import datetime import pyximport; pyximport.install() from mgf_filter.cython.mat import pow def calculate_Resolution_based_MZ(mz): """ based on MZ calculates resolution provided by a LR """ return math.pow(10, 5.847 + math.log10(mz) * (-0.546)) def calculate_Delta_based_MZ(mz, numSig...
23.081633
81
0.682582
157
1,131
4.802548
0.458599
0.06366
0.035809
0.068966
0.074271
0
0
0
0
0
0
0.0301
0.206897
1,131
48
82
23.5625
0.810479
0.16534
0
0
0
0
0.02809
0.02809
0
0
0
0
0
1
0.391304
false
0
0.173913
0.173913
0.956522
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
cc261810a4d38af7a1c0bb2bd60563c54fc9b936
145
py
Python
week1/foods.py
PetarPeychev/python-labs
f4318c17f238fa57e653acac659b7845c6842942
[ "MIT" ]
null
null
null
week1/foods.py
PetarPeychev/python-labs
f4318c17f238fa57e653acac659b7845c6842942
[ "MIT" ]
null
null
null
week1/foods.py
PetarPeychev/python-labs
f4318c17f238fa57e653acac659b7845c6842942
[ "MIT" ]
1
2020-02-17T15:04:45.000Z
2020-02-17T15:04:45.000Z
food1 = input("Enter your first favourite food: ") food2 = input("Enter your second favourite food: ") print("Your new food is: ", food1, food2)
36.25
51
0.710345
21
145
4.904762
0.571429
0.194175
0.271845
0
0
0
0
0
0
0
0
0.032787
0.158621
145
3
52
48.333333
0.811475
0
0
0
0
0
0.586207
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cc2c527bec0422ad44516ca39fa369c944303112
25,548
py
Python
test_MyAMI_V2.py
ocefpaf/cbsyst
30a5f00f4659bfb35c5552694139ae3887ee3617
[ "MIT" ]
20
2017-06-25T15:21:13.000Z
2022-02-09T19:25:47.000Z
test_MyAMI_V2.py
ocefpaf/cbsyst
30a5f00f4659bfb35c5552694139ae3887ee3617
[ "MIT" ]
22
2017-06-10T16:41:47.000Z
2021-06-03T20:27:48.000Z
test_MyAMI_V2.py
ocefpaf/cbsyst
30a5f00f4659bfb35c5552694139ae3887ee3617
[ "MIT" ]
15
2017-07-04T02:19:15.000Z
2021-12-11T08:59:03.000Z
import unittest import numpy as np import pandas as pd from cbsyst.MyAMI_V2 import ( MyAMI_params, MyAMI_K_calc, MyAMI_pK_calc, MyAMI_K_calc_multi, ) class MyAMIConsistency(unittest.TestCase): """Compare MyAMI_V2 with MyAMI_V1""" def test_CompareToMyAMI_V1(self): # parameters calculat...
30.929782
82
0.355292
1,670
25,548
5.393413
0.423353
0.044299
0.014211
0.018652
0.088376
0.05418
0.05418
0.048185
0.048185
0.034307
0
0.553685
0.558165
25,548
825
83
30.967273
0.244242
0.026225
0
0.167098
0
0
0.022723
0.001974
0
0
0
0
0.015544
1
0.005181
false
0
0.005181
0
0.016839
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
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
0bc726fed67ae7fd0a46b14b064bbe493773df9e
1,023
py
Python
02_Beyond_Fundamentals/03_01.py
AnmolTomer/lynda_programming_foundations
2f1269f2984ae8707acd80017b892ff4cceb0ee9
[ "MIT" ]
null
null
null
02_Beyond_Fundamentals/03_01.py
AnmolTomer/lynda_programming_foundations
2f1269f2984ae8707acd80017b892ff4cceb0ee9
[ "MIT" ]
null
null
null
02_Beyond_Fundamentals/03_01.py
AnmolTomer/lynda_programming_foundations
2f1269f2984ae8707acd80017b892ff4cceb0ee9
[ "MIT" ]
null
null
null
""" Instead of re-inventing the wheel, it's better to just use the wheel. Developers often create code to accomplish basic tasks, and these collection of helpful functions/methods are called libraries. Instead of re-inventing the wheel, we can simply find the existing shared code that does what we need and rather we ca...
78.692308
359
0.789834
180
1,023
4.488889
0.6
0.029703
0.027228
0.049505
0.069307
0.069307
0
0
0
0
0
0.003542
0.172043
1,023
12
360
85.25
0.950413
0.951124
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
0bd45a5be39cc79761863253345067a7452343f0
184
py
Python
simpleget.py
n1cfury/BlackHatPython
26f6e9bce7e13879f0c2d9760d210c222d5e9e3a
[ "MIT" ]
10
2018-08-14T22:28:07.000Z
2020-10-23T16:21:48.000Z
simpleget.py
n1cfury/BlackHatPython
26f6e9bce7e13879f0c2d9760d210c222d5e9e3a
[ "MIT" ]
1
2018-08-01T05:45:53.000Z
2018-08-01T05:47:45.000Z
simpleget.py
n1cfury/BlackHatPython
26f6e9bce7e13879f0c2d9760d210c222d5e9e3a
[ "MIT" ]
4
2018-05-18T08:46:29.000Z
2020-05-07T03:28:03.000Z
#!/usr/bin/env python import urllib2, sys #TODO: ADD FUNCTIONS #Simple Get reqeust to a site specified in arguments host = sys.argv[1] body = urllib2.urlopen(host) print body.read()
18.4
52
0.744565
30
184
4.566667
0.866667
0
0
0
0
0
0
0
0
0
0
0.019108
0.146739
184
9
53
20.444444
0.853503
0.48913
0
0
0
0
0
0
0
0
0
0.111111
0
0
null
null
0
0.25
null
null
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
0be42957c5d88a873e4cb9f806be9ff144f7e27b
933
py
Python
src/python/twitter/common/process/process_provider_ps.py
zhouyijiaren/commons
10df6fb63547baa9047782aa7ad4edf354914b10
[ "Apache-2.0" ]
1,143
2015-01-05T04:19:24.000Z
2019-12-11T12:02:23.000Z
src/python/twitter/common/process/process_provider_ps.py
zhouyijiaren/commons
10df6fb63547baa9047782aa7ad4edf354914b10
[ "Apache-2.0" ]
144
2015-01-06T05:05:07.000Z
2019-12-12T18:02:37.000Z
src/python/twitter/common/process/process_provider_ps.py
zhouyijiaren/commons
10df6fb63547baa9047782aa7ad4edf354914b10
[ "Apache-2.0" ]
426
2015-01-08T08:33:41.000Z
2019-12-09T13:15:40.000Z
import os from process_handle_ps import ProcessHandlePs from process_provider import ProcessProvider class ProcessProvider_PS(ProcessProvider): """ Process provider on top of the "ps" utility. """ def _collect_all(self): return os.popen('ps ax -o %s' % (','.join(ProcessHandlePs.ATTRS))).readlines() de...
30.096774
82
0.690247
117
933
5.333333
0.470085
0.128205
0.041667
0.048077
0.221154
0
0
0
0
0
0
0.001307
0.180064
933
30
83
31.1
0.814379
0.113612
0
0
0
0
0.04305
0
0
0
0
0
0
1
0.238095
false
0
0.142857
0.190476
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0bf8adfc737e172faa0c12c21597983457c8ccde
426
py
Python
000577MyerPy/000577_29_Dict_add_20190915.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
000577MyerPy/000577_29_Dict_add_20190915.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
000577MyerPy/000577_29_Dict_add_20190915.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
customer_29876 = {"first name": "David", "last name": "Elliott", "address": "4803 Wellesley St."} print(customer_29876) customer_29876["city"] = "Toronto" print(customer_29876) print(customer_29876["address"]) # empty dict things_to_remember = {} # Later, you can fill the dictionary with pairs, adding one at a time: ...
28.4
97
0.744131
61
426
4.983607
0.606557
0.213816
0.210526
0
0
0
0
0
0
0
0
0.085333
0.119718
426
14
98
30.428571
0.725333
0.185446
0
0.222222
0
0
0.284884
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
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
0bfc0086712775f237411f55b28b9d151d6cf923
3,409
py
Python
Corkran/settings.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
null
null
null
Corkran/settings.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
3
2020-06-23T17:13:11.000Z
2021-04-08T19:57:20.000Z
Corkran/settings.py
Positron11/Corkran
53f463ca4f02e2617205bf67c123923dda2ce403
[ "MIT" ]
null
null
null
""" Django settings for Corkran project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os #...
22.136364
85
0.745967
403
3,409
6.176179
0.397022
0.078345
0.04781
0.060265
0.18642
0.153074
0.090398
0.078746
0.048212
0
0
0.007608
0.11323
3,409
154
86
22.136364
0.815746
0.2643
0
0
1
0
0.563534
0.430012
0
0
0
0
0
1
0
false
0.065934
0.032967
0
0.032967
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
040c1085dec631f36ed70358560a463ca48341a2
1,285
py
Python
__init__.py
Odyseus/MarkdownEditingFork
13ced60c99042ffca7a91549606c616a7a603c20
[ "MIT" ]
null
null
null
__init__.py
Odyseus/MarkdownEditingFork
13ced60c99042ffca7a91549606c616a7a603c20
[ "MIT" ]
null
null
null
__init__.py
Odyseus/MarkdownEditingFork
13ced60c99042ffca7a91549606c616a7a603c20
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- import sublime_plugin from .st_plugins import settings from python_utils.sublime_text_utils import events from python_utils.sublime_text_utils import utils # NOTE: Import last. from .st_plugins.completions import * # noqa from .st_plugins.decide_title import * ...
28.555556
64
0.652918
141
1,285
5.666667
0.382979
0.082603
0.178974
0.180225
0.35169
0.092616
0.092616
0
0
0
0
0.002099
0.258366
1,285
44
65
29.204545
0.836306
0.164202
0
0
0
0
0.034417
0
0
0
0
0
0
1
0.125
false
0.041667
0.583333
0
0.75
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
0425c70f8ca36031f3ed7b0ba451aa371f3a6469
251
py
Python
pip_benchmark_python/utilities/__init__.py
pip-benchmark/pip-benchmark-python
d75672e940af12e2f9818607e2188490e989d8c5
[ "MIT" ]
null
null
null
pip_benchmark_python/utilities/__init__.py
pip-benchmark/pip-benchmark-python
d75672e940af12e2f9818607e2188490e989d8c5
[ "MIT" ]
null
null
null
pip_benchmark_python/utilities/__init__.py
pip-benchmark/pip-benchmark-python
d75672e940af12e2f9818607e2188490e989d8c5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- __all__ = [ 'Converter', 'Formatter', 'Properties', 'PropertyFileLine' ] from .Converter import Converter from .Formatter import Formatter from .Properties import Properties from .PropertyFileLine import PropertyFileLine
22.818182
62
0.752988
24
251
7.708333
0.416667
0
0
0
0
0
0
0
0
0
0
0.00463
0.139442
251
10
63
25.1
0.851852
0.083665
0
0
0
0
0.192982
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
044067287272d0fa750ef58a8f627a1d7874d62c
435
py
Python
components/mpas-seaice/testing_and_setup/testcases/square/operators_strain/run_testcase.py
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
235
2018-04-23T16:30:06.000Z
2022-03-21T17:53:12.000Z
components/mpas-seaice/testing_and_setup/testcases/square/operators_strain/run_testcase.py
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
2,372
2018-04-20T18:12:34.000Z
2022-03-31T23:43:17.000Z
components/mpas-seaice/testing_and_setup/testcases/square/operators_strain/run_testcase.py
Fa-Li/E3SM
a91995093ec6fc0dd6e50114f3c70b5fb64de0f0
[ "zlib-acknowledgement", "FTL", "RSA-MD" ]
254
2018-04-20T20:43:32.000Z
2022-03-30T20:13:38.000Z
from create_grids import create_grids from create_ics import create_ics from run_model import run_model from average_variational_strains import average_variational_strains from strain_map import strain_map from strain_scaling import strain_scaling from error_analysis_strain import error_analysis_strain create_grids() ...
19.772727
67
0.871264
62
435
5.677419
0.241935
0.09375
0.213068
0
0
0
0
0
0
0
0
0
0.096552
435
21
68
20.714286
0.895674
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
04559ee984c8fa12d7f76ed4101e3a7bf1f8c440
170
py
Python
tests/resources/postgres-docker/postgres-docker-project/postgres_docker_project/api/v1/__init__.py
Kludex/fastapi-template
47256eb8f8c7439a4d669172d94ce84c62cdb25a
[ "MIT" ]
14
2021-03-27T22:18:56.000Z
2022-03-21T19:04:48.000Z
tests/resources/postgres-docker/postgres-docker-project/postgres_docker_project/api/v1/__init__.py
Kludex/fastapi-template
47256eb8f8c7439a4d669172d94ce84c62cdb25a
[ "MIT" ]
33
2021-03-28T21:06:22.000Z
2022-03-07T14:18:26.000Z
tests/resources/postgres-docker/postgres-docker-project/postgres_docker_project/api/v1/__init__.py
Kludex/fastapi-template
47256eb8f8c7439a4d669172d94ce84c62cdb25a
[ "MIT" ]
null
null
null
from fastapi import APIRouter from postgres_docker_project.api.v1.home import router as home_router router = APIRouter(prefix="/v1") router.include_router(home_router)
24.285714
69
0.829412
25
170
5.44
0.56
0.147059
0
0
0
0
0
0
0
0
0
0.012987
0.094118
170
6
70
28.333333
0.87013
0
0
0
0
0
0.017647
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
045a2df81e23de5ea60c5356b29561f714581eda
618
py
Python
src/api/models/warehouse.py
UNDP-India/Data4Policy
38d8e2c3f3161838f3d0642fe7d461b028c3976c
[ "MIT" ]
4
2021-11-06T16:43:46.000Z
2022-02-02T22:27:46.000Z
src/api/models/warehouse.py
UNDP-India/Data4Policy
38d8e2c3f3161838f3d0642fe7d461b028c3976c
[ "MIT" ]
11
2021-11-24T18:56:39.000Z
2021-12-17T15:53:02.000Z
src/api/models/warehouse.py
UNDP-India/Data4Policy
38d8e2c3f3161838f3d0642fe7d461b028c3976c
[ "MIT" ]
null
null
null
from sqlalchemy import Integer, String, Text, Boolean, DateTime from sqlalchemy.sql.schema import Column from db.database import Base class Warehouse(Base): __tablename__ = 'tbl_warehouses' id = Column(Integer, primary_key=True) region = Column(String(255)) wh_type = Column(String(255)) warehouse ...
29.428571
63
0.695793
75
618
5.64
0.466667
0.283688
0.35461
0
0
0
0
0
0
0
0
0.05988
0.18932
618
20
64
30.9
0.784431
0
0
0
0
0
0.022654
0
0
0
0
0
0
1
0
false
0
0.176471
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f0bfcaa6def8cfb2657175ef6159875b858156d8
5,088
py
Python
Cache/storageBackends/__init__.py
KOLANICH/Cache.py
2cb0658a4d7e5a81da4626759578136c64456bb2
[ "Unlicense" ]
null
null
null
Cache/storageBackends/__init__.py
KOLANICH/Cache.py
2cb0658a4d7e5a81da4626759578136c64456bb2
[ "Unlicense" ]
null
null
null
Cache/storageBackends/__init__.py
KOLANICH/Cache.py
2cb0658a4d7e5a81da4626759578136c64456bb2
[ "Unlicense" ]
null
null
null
import typing from abc import ABC, ABCMeta, abstractmethod from pathlib import Path from pantarei import ProgressReporter class Tablez: """A class that manages tables creation and/or closing""" __slots__ = ("_parent", "_tables") def __init__(self, parent): self._parent = parent self._tables = {} def __ente...
24.941176
112
0.724843
576
5,088
6.086806
0.270833
0.111523
0.22761
0.245579
0.294067
0.127781
0.071877
0.03822
0.027382
0.027382
0
0.000709
0.168632
5,088
203
113
25.064039
0.828132
0.068396
0
0.369863
0
0
0.052159
0
0
0
0
0
0
1
0.239726
false
0.006849
0.027397
0.013699
0.39726
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f0dcea7297f8f4203bdc5101c125696014b2b039
733
py
Python
src/python_pachyderm/experimental/__init__.py
sjezewski/pypachy
4bc022d0c73140475f9bd0acd5c0e7204609de26
[ "Apache-2.0" ]
2
2017-02-01T14:22:34.000Z
2017-02-01T19:58:54.000Z
src/python_pachyderm/experimental/__init__.py
sjezewski/pypachy
4bc022d0c73140475f9bd0acd5c0e7204609de26
[ "Apache-2.0" ]
3
2018-02-13T20:40:59.000Z
2018-02-13T22:23:41.000Z
src/python_pachyderm/experimental/__init__.py
sjezewski/pypachy
4bc022d0c73140475f9bd0acd5c0e7204609de26
[ "Apache-2.0" ]
null
null
null
""" The experimental module is where new features will be first tested before being added to the regular module. Check out mixins to see method documentation. Check out protos to inspect input and output proto objects for the mixin methods. Current experimental features: - All: Replaced google protobuf-generated c...
30.541667
82
0.762619
101
733
5.455446
0.762376
0.054446
0.076225
0
0
0
0
0
0
0
0
0.004902
0.165075
733
23
83
31.869565
0.895425
0.815825
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
f0eeb72f437e162d873ea7c49d7399882ac3cba6
1,009
py
Python
src/Adventofcode_2.py
Leopold2020/code_repo
24b1a932d77ba1456f8df4978f029dd841c7b177
[ "MIT" ]
null
null
null
src/Adventofcode_2.py
Leopold2020/code_repo
24b1a932d77ba1456f8df4978f029dd841c7b177
[ "MIT" ]
null
null
null
src/Adventofcode_2.py
Leopold2020/code_repo
24b1a932d77ba1456f8df4978f029dd841c7b177
[ "MIT" ]
null
null
null
#Oskar Svedlund #TEINF-20 #2021-12-01 #Sonar sweep measurements = [] increments = 0 with open("Advent of code/puzzle_01.egen.txt", "r", encoding="utf8") as puzzle_01: for line in puzzle_01: measurements.append(int(line)) for i in range(0, len(measurements)-2): if measurements[i] + measurements[i+1] + m...
38.807692
129
0.666997
140
1,009
4.785714
0.314286
0.465672
0.250746
0.349254
0.619403
0.619403
0.510448
0.510448
0.508955
0.508955
0
0.044794
0.181368
1,009
25
130
40.36
0.766344
0.078295
0
0
0
0
0.142237
0.024973
0
0
0
0
0
1
0
false
0
0
0
0
0.214286
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
0b062d67224f9562343763949c85fdd5df257e01
30,367
py
Python
sympycore/matrices/linalg.py
radovankavicky/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
96
2015-01-25T05:59:56.000Z
2021-12-29T14:05:22.000Z
sympycore/matrices/linalg.py
1zinnur9/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
3
2015-12-17T19:25:46.000Z
2018-06-19T07:05:20.000Z
sympycore/matrices/linalg.py
1zinnur9/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
36
2016-01-31T15:22:01.000Z
2021-03-29T07:03:07.000Z
# Author: Pearu Peterson # Created: March 2008 import sys from ..utils import MATRIX, MATRIX_DICT, MATRIX_DICT_T from ..arithmetic.numbers import div from .algebra import MatrixDict, Matrix from ..core import init_module init_module.import_lowlevel_operations() def MATRIX_DICT_get_gauss_jordan_elimination_operation...
30.458375
126
0.496756
4,134
30,367
3.4821
0.067247
0.043071
0.030566
0.006252
0.751997
0.710733
0.677596
0.628135
0.596527
0.568739
0
0.007518
0.413014
30,367
996
127
30.488956
0.800056
0.009451
0
0.719481
0
0
0.015261
0.003422
0
0
0
0
0.002597
0
null
null
0
0.007792
null
null
0
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
0b1a8c54a4a39843fe17e262f40e217ddc82f51a
91
py
Python
minerals/apps.py
baselbb/mineral_catalog_basic
51a8d82851d4c535ff318ad3acaa6eda5ba59214
[ "MIT" ]
1
2018-02-26T08:42:45.000Z
2018-02-26T08:42:45.000Z
minerals/apps.py
baselbb/mineral_catalog_basic
51a8d82851d4c535ff318ad3acaa6eda5ba59214
[ "MIT" ]
null
null
null
minerals/apps.py
baselbb/mineral_catalog_basic
51a8d82851d4c535ff318ad3acaa6eda5ba59214
[ "MIT" ]
null
null
null
from django.apps import AppConfig class MineralsConfig(AppConfig): name = 'minerals'
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
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
9bc73419b7ee69610adbf64a31f1e8edc34eb7bc
140
py
Python
accounts/urls.py
soundreaper/makeWiki
6a7498f872d30b4545af3e6c91d6404e1c85f6e2
[ "MIT" ]
null
null
null
accounts/urls.py
soundreaper/makeWiki
6a7498f872d30b4545af3e6c91d6404e1c85f6e2
[ "MIT" ]
6
2020-05-06T01:24:38.000Z
2021-06-10T20:10:21.000Z
accounts/urls.py
soundreaper/makeWiki
6a7498f872d30b4545af3e6c91d6404e1c85f6e2
[ "MIT" ]
null
null
null
from django.urls import path from accounts.views import SignUpView urlpatterns = [ path('new', SignUpView.as_view(), name='signup'), ]
20
53
0.728571
18
140
5.611111
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.142857
140
7
54
20
0.841667
0
0
0
0
0
0.06383
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9bdbfdccad4b68c262f062235e450aa2a85e1a99
157
py
Python
BOJ/10000~10999/10865.py
shinkeonkim/today-ps
f3e5e38c5215f19579bb0422f303a9c18c626afa
[ "Apache-2.0" ]
2
2020-01-29T06:54:41.000Z
2021-11-07T13:23:27.000Z
BOJ/10000~10999/10865.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
BOJ/10000~10999/10865.py
shinkeonkim/Today_PS
bb0cda0ee1b9c57e1cfa38355e29d0f1c6167a44
[ "Apache-2.0" ]
null
null
null
n,m=map(int,input().split()) L = [0]*(n+1) for i in range(m): a,b=map(int,input().split()) L[a]+=1 L[b]+=1 for i in range(1,n+1): print(L[i])
19.625
32
0.503185
37
157
2.135135
0.432432
0.151899
0.278481
0.405063
0.734177
0
0
0
0
0
0
0.047619
0.197452
157
8
33
19.625
0.579365
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9bf7d08048880cdf135e5b414d892347c34f90ad
25
py
Python
properties.py
TomCreeper/goldmine
8407b787aeb042630b4d35083f4267cceca35078
[ "MIT" ]
2
2017-07-10T13:05:18.000Z
2017-07-10T13:05:20.000Z
properties.py
Tominous/goldmine
8407b787aeb042630b4d35083f4267cceca35078
[ "MIT" ]
null
null
null
properties.py
Tominous/goldmine
8407b787aeb042630b4d35083f4267cceca35078
[ "MIT" ]
null
null
null
storage_backend = 'json'
12.5
24
0.76
3
25
6
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.818182
0
0
0
0
0
0.16
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
5014705dcbd12650949e0d7289197e54b63517d0
490
py
Python
src/viur/project.py
0x6369616e/viur-cli
6937ac3d02568d4aa5c068f8d12aac87506b31e9
[ "MIT" ]
null
null
null
src/viur/project.py
0x6369616e/viur-cli
6937ac3d02568d4aa5c068f8d12aac87506b31e9
[ "MIT" ]
null
null
null
src/viur/project.py
0x6369616e/viur-cli
6937ac3d02568d4aa5c068f8d12aac87506b31e9
[ "MIT" ]
1
2021-12-11T23:36:28.000Z
2021-12-11T23:36:28.000Z
import click from .cli import cli @cli.group(help='Develop the gcloud projects') def project(): pass @project.command(name="add", help="Add a new gcloud project to the config.") def project_add(): pass @project.command(name="remove", help="Remove a new gcloud project from the config.") def project_remove()...
18.148148
84
0.714286
70
490
4.885714
0.357143
0.116959
0.157895
0.192982
0
0
0
0
0
0
0
0
0.155102
490
26
85
18.846154
0.826087
0
0
0.25
0
0
0.344898
0
0
0
0
0
0
1
0.25
false
0.25
0.125
0
0.375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
5016b51fb0f3c93978381f37210940465d76a03a
4,055
py
Python
awards/tests.py
Abzed/projects-awards
0c84f392286242f67b70f9001af439aaa31c6531
[ "MIT" ]
null
null
null
awards/tests.py
Abzed/projects-awards
0c84f392286242f67b70f9001af439aaa31c6531
[ "MIT" ]
null
null
null
awards/tests.py
Abzed/projects-awards
0c84f392286242f67b70f9001af439aaa31c6531
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth.models import User from django.test import TestCase from .models import * import datetime as dt class ProfileTestCase(TestCase): def setUp(self): user = User.objects.create_user(username='testusereres', password='12345') self.profil...
45.561798
196
0.659926
513
4,055
5.150097
0.14425
0.063588
0.039364
0.04542
0.744512
0.744512
0.695307
0.695307
0.641938
0.584027
0
0.059487
0.191615
4,055
88
197
46.079545
0.746492
0.028853
0
0.508197
0
0
0.143366
0.032028
0
0
0
0
0.114754
1
0.245902
false
0.098361
0.081967
0
0.42623
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
501872689d65ba37ce5c71dc377da05f7a1e06d5
192
py
Python
pino/utils.py
akx/pino
de98260b6e26eda73627df62baa61850e19c3f5e
[ "MIT" ]
null
null
null
pino/utils.py
akx/pino
de98260b6e26eda73627df62baa61850e19c3f5e
[ "MIT" ]
null
null
null
pino/utils.py
akx/pino
de98260b6e26eda73627df62baa61850e19c3f5e
[ "MIT" ]
null
null
null
import logging import shlex import subprocess log = logging.getLogger(__name__) def check_call_verbose(args) -> None: log.info("`%s`", shlex.join(args)) subprocess.check_call(args)
17.454545
38
0.734375
26
192
5.153846
0.615385
0.134328
0
0
0
0
0
0
0
0
0
0
0.140625
192
10
39
19.2
0.812121
0
0
0
0
0
0.020833
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
501af631eaac6eef34b1fe33236f90bfe2c4e4d1
385
py
Python
src/agstoolbox/core/ags/ags_local_run.py
ericoporto/agstoolbox
2a689e3c653a0c48211c55c59e03ced3c6a07d43
[ "MIT" ]
2
2022-02-06T16:00:00.000Z
2022-03-11T18:58:36.000Z
src/agstoolbox/core/ags/ags_local_run.py
ericoporto/agstoolbox
2a689e3c653a0c48211c55c59e03ced3c6a07d43
[ "MIT" ]
17
2022-01-24T11:21:21.000Z
2022-03-20T18:04:41.000Z
src/agstoolbox/core/ags/ags_local_run.py
ericoporto/agstoolbox
2a689e3c653a0c48211c55c59e03ced3c6a07d43
[ "MIT" ]
null
null
null
from __future__ import annotations # for python 3.8 from subprocess import Popen from agstoolbox.core.ags.ags_editor import LocalAgsEditor from agstoolbox.core.ags.game_project import GameProject def start_ags_editor(editor: LocalAgsEditor): Popen(editor.path) def ags_editor_load_project(editor: LocalAgsEdito...
27.5
74
0.81039
51
385
5.901961
0.431373
0.089701
0.119601
0.139535
0
0
0
0
0
0
0
0.005882
0.116883
385
13
75
29.615385
0.879412
0.036364
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
502e02b0f7ed1250aa21b56f0a525db0cab516ee
649
py
Python
coding_interviews/daily_code_problems/005.py
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
coding_interviews/daily_code_problems/005.py
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
coding_interviews/daily_code_problems/005.py
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
''' cons(a, b) constructs a pair, and car(pair) and cdr(pair) returns the first and last element of that pair. For example, car(cons(3, 4)) returns 3, and cdr(cons(3, 4)) returns 4. Given this implementation of cons: def cons(a, b): def pair(f): return f(a, b) return pair Implement car and cdr. '''...
13.520833
70
0.597843
115
649
3.330435
0.269565
0.046997
0.078329
0.067885
0.276762
0.18799
0.18799
0.18799
0.18799
0.18799
0
0.016632
0.25886
649
47
71
13.808511
0.779626
0.48074
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0
0.111111
0.555556
0.111111
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
5053183fd275b27da07ffb5204c3d42e03b5a7e7
1,146
py
Python
nexus/queue/queue.py
MulberryBeacon/data-structures
c91289e3aa647893f644ff49b3dacb61f3c23e97
[ "MIT" ]
null
null
null
nexus/queue/queue.py
MulberryBeacon/data-structures
c91289e3aa647893f644ff49b3dacb61f3c23e97
[ "MIT" ]
null
null
null
nexus/queue/queue.py
MulberryBeacon/data-structures
c91289e3aa647893f644ff49b3dacb61f3c23e97
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- """ Simple implementation of a queue (FIFO). Essential operations: * enqueue :: adds an element to the end of the queue * dequeue :: removes the element at the beginning of the queue Non-essential operations: * empty :: checks if the queue is empty * length :: returns the number of...
23.387755
77
0.561082
146
1,146
4.349315
0.445205
0.099213
0.061417
0.075591
0.069291
0
0
0
0
0
0
0.008739
0.301047
1,146
48
78
23.875
0.78402
0.511344
0
0
0
0
0.017857
0
0
0
0
0
0
1
0.333333
false
0
0
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
505ea71bdbeb6bfa714d1011489cb2f5b4764a1b
142
py
Python
Binary_tree/node.py
zaydu98/python-mini-project
660d78001385192e87dd71d378f3314d07f6a678
[ "MIT" ]
1
2022-02-09T06:40:37.000Z
2022-02-09T06:40:37.000Z
Binary_tree/node.py
Afif-Shadman/python-mini-project
30559c9a2973ff8ae3db746fb827a835c848209b
[ "MIT" ]
null
null
null
Binary_tree/node.py
Afif-Shadman/python-mini-project
30559c9a2973ff8ae3db746fb827a835c848209b
[ "MIT" ]
1
2022-01-06T16:35:43.000Z
2022-01-06T16:35:43.000Z
# Class of the nodes class Node: def __init__(self, data): self.left = None self.right = None self.data = data
14.2
29
0.56338
19
142
4
0.631579
0.210526
0
0
0
0
0
0
0
0
0
0
0.352113
142
9
30
15.777778
0.826087
0.126761
0
0
0
0
0
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
5061b92d56b20494424468e568f8470921d80ae1
378
py
Python
tests/test_slack_bot.py
joeirimpan/slack-bot
a74845bd3e119fc05cce2d6ea183887c167ad7c1
[ "MIT" ]
null
null
null
tests/test_slack_bot.py
joeirimpan/slack-bot
a74845bd3e119fc05cce2d6ea183887c167ad7c1
[ "MIT" ]
null
null
null
tests/test_slack_bot.py
joeirimpan/slack-bot
a74845bd3e119fc05cce2d6ea183887c167ad7c1
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test_slack_bot ---------------------------------- Tests for `slack_bot` module. """ import pytest from slack_bot import slack_bot class TestSlack_bot(object): @classmethod def setup_class(cls): pass def test_something(self): pass ...
12.6
34
0.57672
44
378
4.75
0.613636
0.15311
0.114833
0
0
0
0
0
0
0
0
0.00346
0.23545
378
29
35
13.034483
0.719723
0.325397
0
0.454545
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.272727
0.181818
0
0.545455
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
aca020231c68d6a6358ebd94bfc2ea43c5b4cb12
162
py
Python
Projects/test.py
bgrose/TeachingPython
206cefe9056fc2e6efb35749aee3fefa6ec747fd
[ "Apache-2.0" ]
1
2020-06-14T01:44:44.000Z
2020-06-14T01:44:44.000Z
Projects/test.py
bgrose/TeachingPython
206cefe9056fc2e6efb35749aee3fefa6ec747fd
[ "Apache-2.0" ]
null
null
null
Projects/test.py
bgrose/TeachingPython
206cefe9056fc2e6efb35749aee3fefa6ec747fd
[ "Apache-2.0" ]
null
null
null
fileIn = open("text1.txt") string = fileIn.read(5) print(string) fileIn.close fileOut = open("text2.txt", "w") fileOut.write("I hate this class") fileOut.close
16.2
34
0.709877
25
162
4.6
0.68
0.208696
0
0
0
0
0
0
0
0
0
0.020979
0.117284
162
9
35
18
0.783217
0
0
0
0
0
0.223602
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
acc34ad4e02a2c4a7e7ceb9fceb16b3d64a2186b
624
py
Python
com.systemincloud.examples.tasks.pythontask/src/test/py/tasks/extsrc/ExtSrc.py
systemincloud/sic-examples
b82d5d672f515b1deb5ddb35c5a93c003e03c030
[ "Apache-2.0" ]
null
null
null
com.systemincloud.examples.tasks.pythontask/src/test/py/tasks/extsrc/ExtSrc.py
systemincloud/sic-examples
b82d5d672f515b1deb5ddb35c5a93c003e03c030
[ "Apache-2.0" ]
15
2015-01-08T20:28:19.000Z
2016-07-20T07:19:15.000Z
com.systemincloud.examples.tasks.pythontask/src/test/py/tasks/extsrc/ExtSrc.py
systemincloud/sic-examples
b82d5d672f515b1deb5ddb35c5a93c003e03c030
[ "Apache-2.0" ]
null
null
null
from sicpythontask.PythonTaskInfo import PythonTaskInfo from sicpythontask.PythonTask import PythonTask from sicpythontask.OutputPort import OutputPort from sicpythontask.data.Bool import Bool import threading import random @PythonTaskInfo(external_source=True) class ExtSrc(PythonTask): def __init_ports__(self):...
24.96
60
0.741987
76
624
5.934211
0.421053
0.150776
0.04878
0
0
0
0
0
0
0
0
0.003839
0.165064
624
24
61
26
0.861804
0
0
0
0
0
0.004815
0
0
0
0
0
0
1
0.235294
false
0
0.352941
0
0.647059
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
acc95760e7ebe82f2d4d96f97e55fb018156534d
2,596
py
Python
tests/experiments/test_mapping.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
null
null
null
tests/experiments/test_mapping.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
4
2021-03-24T23:38:22.000Z
2021-03-31T07:24:30.000Z
tests/experiments/test_mapping.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
null
null
null
from typing import Any, Generic, TypeVar LEFT = TypeVar("LEFT") RIGHT = TypeVar("RIGHT") class AttrMapMeta(type): def __getattr__(cls, name): return AttrPath(name) def __getitem__(cls, name_or_index): return AttrPath((name_or_index,)) def __call__(cls): return AttrPath(None) c...
23.178571
79
0.586672
313
2,596
4.498403
0.261981
0.034091
0.039773
0.038352
0.231534
0.15483
0.099432
0.055398
0.055398
0
0
0.003776
0.285824
2,596
111
80
23.387387
0.755663
0.004623
0
0.180556
0
0
0.042631
0.025173
0
0
0
0
0.027778
1
0.277778
false
0.013889
0.013889
0.152778
0.625
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
accf0449fcb8fb7732fbfd190f22785815eccc63
530
py
Python
blog/feeds.py
Venus9023/django_for_beginer
c12edb9d347f444f9817d0c6e13716284476820c
[ "BSD-3-Clause" ]
1,440
2015-01-05T13:06:12.000Z
2022-03-30T23:09:24.000Z
blog/feeds.py
Venus9023/django_for_beginer
c12edb9d347f444f9817d0c6e13716284476820c
[ "BSD-3-Clause" ]
711
2015-01-01T19:42:33.000Z
2022-03-29T08:36:29.000Z
blog/feeds.py
Venus9023/django_for_beginer
c12edb9d347f444f9817d0c6e13716284476820c
[ "BSD-3-Clause" ]
887
2015-01-01T03:17:20.000Z
2022-03-23T09:15:26.000Z
from django.contrib.syndication.views import Feed from .models import Entry class WeblogEntryFeed(Feed): title = "The Django weblog" link = "https://www.djangoproject.com/weblog/" description = "Latest news about Django, the Python web framework." def items(self): return Entry.objects.publis...
24.090909
71
0.690566
68
530
5.294118
0.602941
0.058333
0.116667
0.15
0
0
0
0
0
0
0
0.004808
0.215094
530
21
72
25.238095
0.860577
0
0
0
0
0
0.198113
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.285714
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
acd2e4f7bd002b978aa773228676c457d4179f4c
732
py
Python
test_find.py
UO-CIS-322/scrabble-helper
f18569709e6def2684dd7eada9200ff41c4c6b23
[ "MIT" ]
null
null
null
test_find.py
UO-CIS-322/scrabble-helper
f18569709e6def2684dd7eada9200ff41c4c6b23
[ "MIT" ]
null
null
null
test_find.py
UO-CIS-322/scrabble-helper
f18569709e6def2684dd7eada9200ff41c4c6b23
[ "MIT" ]
null
null
null
""" Test suite for 'find.py' (Fall 2015 version) """ from find15F import matches def test_find_no_wildcards(): ## Matches without wildcards assert matches("abc", "abc", "abc") assert matches("abc", "abc", "xxx") # Uses nothing from tray assert not matches("abx", "abc", "abc") # x doesn't match c ...
26.142857
65
0.617486
103
732
4.271845
0.456311
0.136364
0.218182
0.129545
0.090909
0
0
0
0
0
0
0.010545
0.222678
732
27
66
27.111111
0.762742
0.269126
0
0
0
0
0.166023
0
0
0
0
0
0.75
1
0.166667
true
0
0.083333
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
3
acd7491fa148953cc23aa043a033639ce9e56949
8,394
py
Python
test/test_jsonapi_serializer.py
Patreon/cartographer
fe5c03decf01c9f7894bb9cf1f839af435143527
[ "Apache-2.0" ]
29
2016-03-30T00:53:42.000Z
2022-03-02T23:45:12.000Z
test/test_jsonapi_serializer.py
Patreon/cartographer
fe5c03decf01c9f7894bb9cf1f839af435143527
[ "Apache-2.0" ]
20
2016-04-19T18:34:05.000Z
2022-02-14T14:18:33.000Z
test/test_jsonapi_serializer.py
Patreon/cartographer
fe5c03decf01c9f7894bb9cf1f839af435143527
[ "Apache-2.0" ]
5
2016-04-28T00:44:24.000Z
2019-10-26T08:09:17.000Z
from cartographer.serializers import JSONAPISerializer, JSONAPINullSerializer, \ JSONAPICollectionSerializer from nose.tools import * class ExampleSerializer(JSONAPISerializer): def __init__(self, id): self._id = id def resource_type(self): return "example" def resource_id(self): ...
27.794702
128
0.395521
556
8,394
5.778777
0.111511
0.07563
0.082789
0.126984
0.800187
0.723934
0.708683
0.637099
0.637099
0.593215
0
0.012223
0.473672
8,394
301
129
27.887043
0.715029
0
0
0.523636
0
0
0.188111
0
0
0
0
0
0.032727
1
0.061818
false
0
0.007273
0.029091
0.105455
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
acece32a7f4d27fa1ffccbfc4da26b82ba51b21e
390
py
Python
src/onegov/town6/views/dashboard.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/town6/views/dashboard.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
src/onegov/town6/views/dashboard.py
politbuero-kampagnen/onegov-cloud
20148bf321b71f617b64376fe7249b2b9b9c4aa9
[ "MIT" ]
null
null
null
from onegov.core.security import Secret from onegov.org.views.dashboard import dashboard from onegov.town6 import TownApp from onegov.org.models import Dashboard from onegov.town6.layout import DashboardLayout @TownApp.html(model=Dashboard, template='dashboard.pt', permission=Secret) def town_dashboard(self, request)...
35.454545
74
0.820513
51
390
6.254902
0.470588
0.15674
0.081505
0.15674
0.188088
0
0
0
0
0
0
0.005666
0.094872
390
10
75
39
0.898017
0
0
0
0
0
0.030769
0
0
0
0
0
0
1
0.125
false
0
0.625
0.125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
acf0348cc9f5686842f2e3136971034fafda1149
1,706
py
Python
dfi/metrics.py
nicemanis/deep-focus-interpolation
1df772fdb9a7c9c0813a3d1d6948a07dedb4384b
[ "MIT" ]
null
null
null
dfi/metrics.py
nicemanis/deep-focus-interpolation
1df772fdb9a7c9c0813a3d1d6948a07dedb4384b
[ "MIT" ]
null
null
null
dfi/metrics.py
nicemanis/deep-focus-interpolation
1df772fdb9a7c9c0813a3d1d6948a07dedb4384b
[ "MIT" ]
null
null
null
import tensorflow as tf import keras.backend as K class Metrics: def __init__(self, hparams): self.hparams = hparams def get_max_val(self): return self.hparams.data.norm_max - self.hparams.data.norm_min def get_y(self, x, r): y1 = r[:, :, :, 0:1] + x[:, :, :, 0:1] y2 = r[...
31.018182
115
0.586166
267
1,706
3.498127
0.168539
0.089936
0.12848
0.162741
0.582441
0.537473
0.487152
0.460385
0.417559
0.35546
0
0.010664
0.285463
1,706
54
116
31.592593
0.755537
0.026964
0
0.25641
0
0
0.003619
0
0
0
0
0
0
1
0.307692
false
0
0.051282
0.076923
0.692308
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
4a050397033246bf229246395dd2ba79c96bb089
1,484
py
Python
SOLID/es2/isp_step2.py
nick87ds/MaterialeSerate
51627e47ff1d3c3ecfc9ce6741c04b91b3295359
[ "MIT" ]
12
2021-12-12T22:19:52.000Z
2022-03-18T11:45:17.000Z
SOLID/es2/isp_step2.py
nick87ds/MaterialeSerate
51627e47ff1d3c3ecfc9ce6741c04b91b3295359
[ "MIT" ]
1
2022-03-23T13:58:33.000Z
2022-03-23T14:05:08.000Z
SOLID/es2/isp_step2.py
nick87ds/MaterialeSerate
51627e47ff1d3c3ecfc9ce6741c04b91b3295359
[ "MIT" ]
7
2021-02-01T22:09:14.000Z
2021-06-22T08:30:16.000Z
""" E se aggiungiamo un altro metodo all'interfaccia IShape, come draw_triangle()? """ class IShape: def draw_square(self): raise NotImplementedError def draw_rectangle(self): raise NotImplementedError def draw_circle(self): raise NotImplementedError def draw_triangle(self):...
32.977778
79
0.789084
205
1,484
5.687805
0.541463
0.072899
0.096055
0.07976
0.090051
0
0
0
0
0
0
0
0.171159
1,484
44
80
33.727273
0.947967
0.052561
0
0.444444
0
0
0
0
0
0
0
0.045455
0
1
0.444444
false
0
0
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
4a19bdd90d28bc297f4aa11e8f790a7f83d5dede
1,478
py
Python
docs/src/automobile.py
VictorOmondi1997/Automobile
4ab74b5607ad275073d9c717748accff511f8670
[ "Apache-2.0" ]
null
null
null
docs/src/automobile.py
VictorOmondi1997/Automobile
4ab74b5607ad275073d9c717748accff511f8670
[ "Apache-2.0" ]
null
null
null
docs/src/automobile.py
VictorOmondi1997/Automobile
4ab74b5607ad275073d9c717748accff511f8670
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Jun 5 13:10:41 2019 @author: Victor Omondi """ class Automobile: def __init__(self, vehicle_id, make, model, color, year, mileage): self.vehicle_id = vehicle_id self.make = make self.__model = model self.__color = color self.__yea...
26.872727
181
0.562923
182
1,478
4.203297
0.181319
0.091503
0.091503
0.054902
0.295425
0.295425
0.295425
0.295425
0.295425
0.295425
0
0.011799
0.311908
1,478
55
182
26.872727
0.740413
0.05548
0
0.352941
0
0
0.050396
0
0
0
0
0
0
1
0.382353
false
0
0
0.147059
0.617647
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
c584362c75952e07dca923524c5cdc4db7715483
44
py
Python
ExplainToMe/version.py
DiSiqueira/ExplainToMe
c74a4b15ceee7218dd6788f110edd97751667379
[ "Apache-2.0" ]
null
null
null
ExplainToMe/version.py
DiSiqueira/ExplainToMe
c74a4b15ceee7218dd6788f110edd97751667379
[ "Apache-2.0" ]
null
null
null
ExplainToMe/version.py
DiSiqueira/ExplainToMe
c74a4b15ceee7218dd6788f110edd97751667379
[ "Apache-2.0" ]
null
null
null
__version__ = '1.1.0' __build__ = 'release'
14.666667
21
0.681818
6
44
3.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.078947
0.136364
44
2
22
22
0.5
0
0
0
0
0
0.272727
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
c5892454f29bd185d422aa09d66a281c3dbe9f75
1,029
py
Python
pydata_shiv/prediction_grpc.py
drjroythorne/pydata-shiv
88cd6dc32f3fbb11c2f69f685d02995b092a0021
[ "MIT" ]
null
null
null
pydata_shiv/prediction_grpc.py
drjroythorne/pydata-shiv
88cd6dc32f3fbb11c2f69f685d02995b092a0021
[ "MIT" ]
null
null
null
pydata_shiv/prediction_grpc.py
drjroythorne/pydata-shiv
88cd6dc32f3fbb11c2f69f685d02995b092a0021
[ "MIT" ]
null
null
null
# Generated by the Protocol Buffers compiler. DO NOT EDIT! # source: pydata_shiv/prediction.proto # plugin: grpclib.plugin.main import abc import grpclib.const import grpclib.client import pydata_shiv.prediction_pb2 class PredictionServiceBase(abc.ABC): @abc.abstractmethod async def Predict(self, stream): ...
27.078947
76
0.667638
101
1,029
6.584158
0.425743
0.120301
0.180451
0.172932
0.219549
0.219549
0.219549
0.219549
0.219549
0.219549
0
0.00651
0.253644
1,029
37
77
27.810811
0.859375
0.11759
0
0.16
1
0
0.084071
0.084071
0
0
0
0
0
1
0.08
false
0.04
0.16
0.04
0.36
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
c5a053afc46878694f654197057867c8fe6207c3
1,010
py
Python
think-python/code/ObjectOrientedProgramming.py
baldoinov/think-python-2e-exercises
5a5cd6e94f44e14dc567c35ebf3dd9160cf6b01b
[ "MIT" ]
null
null
null
think-python/code/ObjectOrientedProgramming.py
baldoinov/think-python-2e-exercises
5a5cd6e94f44e14dc567c35ebf3dd9160cf6b01b
[ "MIT" ]
null
null
null
think-python/code/ObjectOrientedProgramming.py
baldoinov/think-python-2e-exercises
5a5cd6e94f44e14dc567c35ebf3dd9160cf6b01b
[ "MIT" ]
null
null
null
# This code was produced through the reading of this tutorial: https://realpython.com/python3-object-oriented-programming/ class Dog: species = "Canis Familiaris" def __init__(self, name, age, breed) -> None: self.name = name self.age = age def __str__(self): ret...
21.956522
122
0.59604
126
1,010
4.587302
0.436508
0.055363
0.062284
0.088235
0.15917
0
0
0
0
0
0
0.015048
0.276238
1,010
45
123
22.444444
0.77565
0.118812
0
0.076923
0
0
0.162162
0
0
0
0
0
0
1
0.269231
false
0
0
0.192308
0.653846
0.076923
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
c5acf882ca32e31e52c3f9f6975a9d72f0fc0533
2,126
py
Python
mingus/core/feeds.py
joshbohde/django-mingus
991e64100816945cd1724d4de9192ee123a2ff8f
[ "Apache-2.0", "BSD-3-Clause" ]
102
2015-01-02T20:30:16.000Z
2021-06-03T21:35:18.000Z
mingus/core/feeds.py
scelis/django-mingus
1f18fbd059922569b6ad12aa58c0914d824dbd14
[ "Apache-2.0", "BSD-3-Clause" ]
5
2016-01-20T03:32:40.000Z
2021-02-08T20:25:29.000Z
mingus/core/feeds.py
scelis/django-mingus
1f18fbd059922569b6ad12aa58c0914d824dbd14
[ "Apache-2.0", "BSD-3-Clause" ]
41
2015-01-09T07:09:46.000Z
2019-10-16T14:39:26.000Z
from django.contrib.syndication.feeds import Feed from django.core.urlresolvers import reverse from basic.blog.models import Settings from django_proxy.models import Proxy from tagging.models import Tag, TaggedItem class AllEntries(Feed): _settings = None @property def settings(self): if self._se...
26.911392
82
0.638758
265
2,126
4.992453
0.335849
0.108844
0.054422
0.045351
0.352986
0.311413
0.311413
0.311413
0.311413
0.311413
0
0.003822
0.261524
2,126
78
83
27.25641
0.838854
0.017874
0
0.321429
0
0
0.072387
0
0
0
0
0
0
1
0.285714
false
0
0.089286
0.196429
0.732143
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
c5aeb2d00c7ea4b80a8144c456d37c7f5ef6bcca
208
py
Python
tests/bench/funcall-3.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
7
2019-10-18T13:41:39.000Z
2022-03-15T17:27:57.000Z
tests/bench/funcall-3.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
null
null
null
tests/bench/funcall-3.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
2
2020-06-23T09:10:15.000Z
2020-12-22T06:42:14.000Z
import time num = 100000 t = time.ticks_ms() def f(x): return x + 1 def test(num): f_ = f for i in iter(range(num)): a = f_(i) test(num) t = time.ticks_ms() - t print("PASS: " + str(t))
13.866667
30
0.548077
39
208
2.820513
0.564103
0.090909
0.181818
0.218182
0
0
0
0
0
0
0
0.046667
0.278846
208
15
31
13.866667
0.686667
0
0
0
0
0
0.028708
0
0
0
0
0
0
1
0.166667
false
0.083333
0.083333
0.083333
0.333333
0.083333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c5b2b35bea6dea5138250942a9c2781f9b81b1c6
182
py
Python
lock/urls.py
iandmyhand/django-tester
b86c203d9529c61b291961b98b0907763385b285
[ "MIT" ]
null
null
null
lock/urls.py
iandmyhand/django-tester
b86c203d9529c61b291961b98b0907763385b285
[ "MIT" ]
null
null
null
lock/urls.py
iandmyhand/django-tester
b86c203d9529c61b291961b98b0907763385b285
[ "MIT" ]
null
null
null
from django.conf.urls import url from lock.views import TestLockViewSet urlpatterns = [ url(regex=r'^test-lock/$', view=TestLockViewSet.as_view(), name='test-lock'), ]
20.222222
58
0.697802
24
182
5.25
0.666667
0.126984
0
0
0
0
0
0
0
0
0
0
0.159341
182
8
59
22.75
0.823529
0
0
0
0
0
0.115385
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
c5bc01a3d303f237b616d1298a5d3e677430cd1d
1,105
py
Python
setup.py
MwrPub/mwrpc-py
a6480d76775b008545a9363ae2ed2593f7ff519a
[ "MIT" ]
null
null
null
setup.py
MwrPub/mwrpc-py
a6480d76775b008545a9363ae2ed2593f7ff519a
[ "MIT" ]
null
null
null
setup.py
MwrPub/mwrpc-py
a6480d76775b008545a9363ae2ed2593f7ff519a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 from setuptools import setup, find_packages setup( name='mwrpc', version='0.1.7', description='Yet Another RPC Framework.', long_description=open('README.md').read(), long_description_content_type="text/markdown", author='MWR Organization', author_email...
35.645161
88
0.568326
111
1,105
5.594595
0.684685
0.152979
0.201288
0.20934
0
0
0
0
0
0
0
0.016456
0.285068
1,105
30
89
36.833333
0.76962
0.029864
0
0
0
0
0.501869
0
0
0
0
0
0
1
0
true
0
0.038462
0
0.038462
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
c5d920519088a4c9307fbeba5d094ddd5c0b1f80
116
py
Python
django_ontruck/notifiers/push/device.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
1
2020-03-23T11:29:53.000Z
2020-03-23T11:29:53.000Z
django_ontruck/notifiers/push/device.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
24
2020-03-23T10:31:19.000Z
2022-02-10T10:25:58.000Z
django_ontruck/notifiers/push/device.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
null
null
null
from enum import Enum, unique @unique class Device(Enum): ANDROID = 'android' IOS = 'ios' WEB = 'web'
12.888889
29
0.612069
15
116
4.733333
0.6
0
0
0
0
0
0
0
0
0
0
0
0.267241
116
8
30
14.5
0.835294
0
0
0
0
0
0.112069
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
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
c5e485114b89355817ce70db1629d32bd9cc2004
7,196
py
Python
tests/behaviour/concept/type/attributetype/attribute_type_steps.py
rpatil524/client-python
e8daba79842a81669f4f4c2799bcc8610e610551
[ "Apache-2.0" ]
47
2019-01-22T19:17:13.000Z
2021-02-06T15:39:59.000Z
tests/behaviour/concept/type/attributetype/attribute_type_steps.py
rpatil524/client-python
e8daba79842a81669f4f4c2799bcc8610e610551
[ "Apache-2.0" ]
85
2019-01-22T14:51:34.000Z
2021-04-08T15:41:43.000Z
tests/behaviour/concept/type/attributetype/attribute_type_steps.py
rpatil524/client-python
e8daba79842a81669f4f4c2799bcc8610e610551
[ "Apache-2.0" ]
24
2019-01-22T13:21:42.000Z
2021-03-02T18:06:03.000Z
# # Copyright (C) 2021 Vaticle # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0...
48.621622
130
0.761673
1,060
7,196
4.883962
0.135849
0.121692
0.063743
0.048677
0.774194
0.753912
0.710643
0.696156
0.658296
0.637821
0
0.001273
0.126459
7,196
147
131
48.952381
0.822304
0.108255
0
0.556701
0
0
0.121169
0.043152
0
0
0
0
0.14433
1
0.14433
false
0
0.051546
0
0.257732
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
c5e4fa726e3a6fca6d8a4eff6ad882a0f98a5dfa
129
py
Python
docs/video_docs/learn.py
Glitchfix/mindsdb
e6c33d7085898c223030334962596ae8afa3fbd5
[ "MIT" ]
1
2019-07-09T20:21:27.000Z
2019-07-09T20:21:27.000Z
docs/video_docs/learn.py
Glitchfix/mindsdb
e6c33d7085898c223030334962596ae8afa3fbd5
[ "MIT" ]
null
null
null
docs/video_docs/learn.py
Glitchfix/mindsdb
e6c33d7085898c223030334962596ae8afa3fbd5
[ "MIT" ]
1
2019-10-06T20:14:59.000Z
2019-10-06T20:14:59.000Z
import mindsdb model = mindsdb.Predictor(name='wine_model') model.learn(from_data='wine_data_train.tsv', to_predict='Cultivar')
25.8
67
0.79845
19
129
5.157895
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.062016
129
4
68
32.25
0.809917
0
0
0
0
0
0.286822
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
c5efb4727b625e8fd219df27847c2c889c990a70
268
py
Python
rlearn/experiment/__init__.py
AlgoWit/research-learn
81ff420accf3929d0d9ae400a6b69eb88e8ae592
[ "MIT" ]
1
2019-11-15T16:02:35.000Z
2019-11-15T16:02:35.000Z
rlearn/experiment/__init__.py
AlgoWit/research-learn
81ff420accf3929d0d9ae400a6b69eb88e8ae592
[ "MIT" ]
6
2019-11-29T12:09:39.000Z
2020-08-13T17:14:09.000Z
rlearn/experiment/__init__.py
AlgoWit/research-learn
81ff420accf3929d0d9ae400a6b69eb88e8ae592
[ "MIT" ]
2
2019-11-29T11:50:38.000Z
2020-03-16T12:15:23.000Z
""" The :mod:`rlearn.tools` module includes various functions to analyze and visualize the results of model search and experiments on multiple datasets. """ from ._imbalanced import ImbalancedClassificationExperiment __all__ = ['ImbalancedClassificationExperiment']
26.8
68
0.817164
28
268
7.642857
0.892857
0
0
0
0
0
0
0
0
0
0
0
0.115672
268
9
69
29.777778
0.902954
0.552239
0
0
0
0
0.303571
0.303571
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
68046c0a537f87f922f89cc2d7a0e9692f4007b2
154
py
Python
plugins/vicworl_boke_cms.py
cflq3/getcms
6cf07da0ea3ec644866df715cff1f311a46ee378
[ "MIT" ]
22
2016-09-01T08:27:07.000Z
2021-01-11T13:32:59.000Z
plugins/vicworl_boke_cms.py
cflq3/getcms
6cf07da0ea3ec644866df715cff1f311a46ee378
[ "MIT" ]
null
null
null
plugins/vicworl_boke_cms.py
cflq3/getcms
6cf07da0ea3ec644866df715cff1f311a46ee378
[ "MIT" ]
20
2015-11-07T19:09:48.000Z
2018-05-02T03:10:41.000Z
#!/usr/bin/env python # encoding: utf-8 def run(whatweb, pluginname): whatweb.recog_from_file(pluginname, "javascript/dreamobject.js", "deconcept")
22
81
0.74026
20
154
5.6
0.9
0
0
0
0
0
0
0
0
0
0
0.007299
0.11039
154
6
82
25.666667
0.810219
0.233766
0
0
0
0
0.295652
0.217391
0
0
0
0
0
1
0.5
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
680be316f0cd7ac0412c081b3f6726fa3043da46
486
py
Python
sirepo/pkcli/genesis.py
radiasoft/sirepo
db3d1737bab7a84d39d456c0e8913c88deff3c31
[ "Apache-2.0" ]
49
2015-07-29T14:11:29.000Z
2021-12-10T15:24:26.000Z
sirepo/pkcli/genesis.py
radiasoft/sirepo
db3d1737bab7a84d39d456c0e8913c88deff3c31
[ "Apache-2.0" ]
3,732
2015-08-03T22:07:26.000Z
2022-03-31T22:48:33.000Z
sirepo/pkcli/genesis.py
radiasoft/sirepo
db3d1737bab7a84d39d456c0e8913c88deff3c31
[ "Apache-2.0" ]
28
2015-11-20T16:23:46.000Z
2021-09-20T07:22:48.000Z
# -*- coding: utf-8 -*- """CLI for genesis :copyright: Copyright (c) 2021 RadiaSoft LLC. All Rights Reserved. :license: http://www.apache.org/licenses/LICENSE-2.0.html """ from __future__ import absolute_import, division, print_function from pykern.pkcollections import PKDict from pykern.pkdebug import pkdp, pkdlog f...
30.375
67
0.76749
68
486
5.323529
0.794118
0.055249
0
0
0
0
0
0
0
0
0
0.016509
0.127572
486
15
68
32.4
0.837264
0.438272
0
0
0
0
0
0
0
0
0
0.066667
0
1
0.166667
false
0
0.666667
0
0.833333
0.166667
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
681029745a93925eec9deee23a8ac745fa6d1aa1
611
py
Python
admin_app/auth/routes.py
freelancing-solutions/Flask-React-admin_app
05c1e793e972fb394a00fa0a0aa74cbd0ad43962
[ "MIT" ]
2
2021-04-15T19:45:07.000Z
2021-05-21T16:51:01.000Z
admin_app/auth/routes.py
freelancing-solutions/Flask-React-admin_app
05c1e793e972fb394a00fa0a0aa74cbd0ad43962
[ "MIT" ]
6
2021-04-23T17:24:40.000Z
2021-04-23T19:15:07.000Z
admin_app/auth/routes.py
freelancing-solutions/Flask-React-admin_app
05c1e793e972fb394a00fa0a0aa74cbd0ad43962
[ "MIT" ]
2
2021-04-16T07:11:20.000Z
2021-04-16T07:13:59.000Z
from functools import lru_cache from flask import Blueprint, render_template auth_bp = Blueprint('auth', __name__) @auth_bp.route('/login') @lru_cache(maxsize=16) def login() -> tuple: return render_template('login.html'), 200 @auth_bp.route('/recover', methods=['POST']) def recover(): """ recover p...
19.09375
48
0.679214
79
611
5.037975
0.35443
0.075377
0.110553
0.128141
0.241206
0
0
0
0
0
0
0.029297
0.162029
611
31
49
19.709677
0.748047
0.040917
0
0.166667
0
0
0.129264
0
0
0
0
0
0
1
0.222222
false
0.055556
0.111111
0.166667
0.5
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
a84fde74b20d095879f99a75e1722bcda6852343
508
py
Python
mmpose/models/__init__.py
ssumin6/buob
4fb4537423a993cd2894f54cb12f5f3b3fb73141
[ "Apache-2.0" ]
367
2022-01-14T03:32:25.000Z
2022-03-31T04:48:20.000Z
mmpose/models/__init__.py
ssumin6/buob
4fb4537423a993cd2894f54cb12f5f3b3fb73141
[ "Apache-2.0" ]
27
2022-01-27T07:12:49.000Z
2022-03-31T04:31:13.000Z
mmpose/models/__init__.py
ssumin6/buob
4fb4537423a993cd2894f54cb12f5f3b3fb73141
[ "Apache-2.0" ]
53
2022-01-18T11:21:43.000Z
2022-03-31T06:42:41.000Z
from .backbones import * # noqa from .builder import (build_backbone, build_head, build_loss, build_neck, build_posenet) from .detectors import * # noqa from .keypoint_heads import * # noqa from .losses import * # noqa from .mesh_heads import * # noqa from .necks import * # noqa from .regist...
33.866667
79
0.687008
61
508
5.459016
0.327869
0.18018
0.252252
0.132132
0.216216
0.216216
0.216216
0
0
0
0
0
0.198819
508
14
80
36.285714
0.818182
0.057087
0
0
0
0
0.180085
0
0
0
0
0
0
1
0
false
0
0.615385
0
0.615385
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a85e1681a56115729a4407d82e4d02323d06d646
563
py
Python
ex2/operations/bank_balance.py
hentt30/lab7-ces22
d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad
[ "MIT" ]
null
null
null
ex2/operations/bank_balance.py
hentt30/lab7-ces22
d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad
[ "MIT" ]
null
null
null
ex2/operations/bank_balance.py
hentt30/lab7-ces22
d6e2f67897acc8ba723dbb6d6ad38dd15d7873ad
[ "MIT" ]
null
null
null
""" Operation to check bank balance """ from .operations import Operation class BankBalance(Operation): """ Implementation of the command that generates the bank balance """ def __init__(self, account): """ Start the class parameters Args: account (Account...
21.653846
83
0.603908
60
563
5.533333
0.516667
0.13253
0.096386
0
0
0
0
0
0
0
0
0
0.316163
563
25
84
22.52
0.862338
0.452931
0
0
1
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a8be9972ba80960dea4c57d98213bf58e1637044
377
py
Python
administration/forms.py
olveragit/pld
4fc746a1aa8fd27b6f2c7fbc420c6d7542cc6e70
[ "MIT" ]
null
null
null
administration/forms.py
olveragit/pld
4fc746a1aa8fd27b6f2c7fbc420c6d7542cc6e70
[ "MIT" ]
null
null
null
administration/forms.py
olveragit/pld
4fc746a1aa8fd27b6f2c7fbc420c6d7542cc6e70
[ "MIT" ]
null
null
null
from django import forms from django.forms import ModelForm from django.contrib.auth.models import User from .models import Client class ClientForm(ModelForm): class Meta: model = Client fields = ['name', 'last_name', 'email'] class UserForm(ModelForm): class Meta: model = User ...
25.133333
63
0.67374
45
377
5.6
0.466667
0.119048
0.142857
0.18254
0
0
0
0
0
0
0
0
0.220159
377
14
64
26.928571
0.857143
0
0
0.166667
0
0
0.127321
0
0
0
0
0
0
1
0
false
0.083333
0.333333
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
a8c58323691f4a6e76060ca69684a24e78994587
394
py
Python
canary.py
pixelguff/ultrabutt
24c4ae7a969a639ee802a5914a22800d620aa5ff
[ "MIT" ]
3
2018-06-27T15:43:10.000Z
2020-03-10T13:50:00.000Z
canary.py
pixelguff/ultrabutt
24c4ae7a969a639ee802a5914a22800d620aa5ff
[ "MIT" ]
null
null
null
canary.py
pixelguff/ultrabutt
24c4ae7a969a639ee802a5914a22800d620aa5ff
[ "MIT" ]
1
2019-08-29T12:32:58.000Z
2019-08-29T12:32:58.000Z
import sopel @sopel.module.commands('nsh') def nsh(bot, trigger): bot.say('+------------------+') bot.say('| HAWK YOUR CRAP |') bot.say('| SOMEWHERE ELSE |') bot.say('| |') bot.say('| Thank you! |') bot.say('+------------------+') bot.say(' || ') bot.say(' || ...
26.266667
32
0.42132
39
394
3.923077
0.461538
0.392157
0.352941
0.470588
0.196078
0.196078
0.196078
0.196078
0
0
0
0
0.258883
394
14
33
28.142857
0.523973
0.068528
0
0.333333
0
0
0.5
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a8cc0117d8d02eaf6a2ee4a1c1180129353e5b75
1,090
py
Python
AmEl_Tourism/application/forms/account_forms.py
Amirelkanov/AmEl_Tourism
136445335bd8de4007ff2c7106fd97dd3a6c7bc1
[ "Apache-2.0" ]
null
null
null
AmEl_Tourism/application/forms/account_forms.py
Amirelkanov/AmEl_Tourism
136445335bd8de4007ff2c7106fd97dd3a6c7bc1
[ "Apache-2.0" ]
null
null
null
AmEl_Tourism/application/forms/account_forms.py
Amirelkanov/AmEl_Tourism
136445335bd8de4007ff2c7106fd97dd3a6c7bc1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """ Account Forms """ from flask_wtf import FlaskForm from wtforms import StringField, SubmitField, PasswordField from wtforms.fields.html5 import EmailField from wtforms.validators import DataRequired class NameForm(FlaskForm): name = StringField('Имя:', validators=[Da...
34.0625
71
0.662385
93
1,090
7.709677
0.451613
0.214784
0.195258
0.142259
0.468619
0.359833
0.284519
0.284519
0.284519
0.284519
0
0.002336
0.214679
1,090
31
72
35.16129
0.83528
0.048624
0
0.4
0
0
0.108844
0
0
0
0
0
0
1
0
false
0.35
0.2
0
0.85
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
763732eb068c312c796e0441653f76ad53f8debe
2,668
py
Python
release/stubs.min/Autodesk/Revit/DB/__init___parts/Segment.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/Segment.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/Autodesk/Revit/DB/__init___parts/Segment.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class Segment(Element, IDisposable): """ This element represents a segment of an MEP curve object. """ def AddSize(self, size): """ AddSize(self: Segment,size: MEPSize) Adds a new MEPSize to the segment. size: The new MEPSize to be added. """ pass def Dispose...
22.803419
221
0.60982
286
2,668
5.479021
0.29021
0.076579
0.045948
0.061264
0.215061
0.215061
0.215061
0.215061
0.215061
0.215061
0
0.000516
0.273988
2,668
116
222
23
0.808467
0.375562
0
0.413793
0
0
0
0
0
0
0
0
0
1
0.344828
false
0.344828
0
0
0.517241
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
763d6c1770eabbe316f3950b81e8bd656b4bd42d
606
py
Python
antimentionspam/data/some.py
JasonJW/SinbadCogs
45c572992907b6b1c5704a8d754b39cfcd0fd83f
[ "MIT" ]
null
null
null
antimentionspam/data/some.py
JasonJW/SinbadCogs
45c572992907b6b1c5704a8d754b39cfcd0fd83f
[ "MIT" ]
null
null
null
antimentionspam/data/some.py
JasonJW/SinbadCogs
45c572992907b6b1c5704a8d754b39cfcd0fd83f
[ "MIT" ]
null
null
null
async def get_msg(self, message_id: str, server=None): if server is not None: for channel in server.channels: try: msg = await self.bot.get_message(channel, message_id) if msg: return msg except Exception: pass ...
30.3
70
0.50165
67
606
4.447761
0.373134
0.090604
0.080537
0.120805
0.691275
0.691275
0.691275
0.691275
0.691275
0.691275
0
0
0.443894
606
19
71
31.894737
0.884273
0
0
0.777778
0
0
0
0
0
0
0
0
0
1
0
false
0.111111
0
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
764584c10a0888674b0ae7e832c1dbe6a1855fa1
927
py
Python
SmartFoxServer_PRO_1.6.6/Server/lib/Lib/test/test_future.py
ChisdealHD/DetlasWorldLinux
336465a4df1a48c9a273329fc7a09d8099c4e4d5
[ "MIT" ]
8
2016-11-24T09:38:31.000Z
2021-04-23T13:04:48.000Z
SmartFoxServer_PRO_1.6.6/Server/lib/Lib/test/test_future.py
ChisdealHD/DetlasWorldLinux
336465a4df1a48c9a273329fc7a09d8099c4e4d5
[ "MIT" ]
4
2018-02-22T07:42:13.000Z
2021-12-13T10:53:09.000Z
SmartFoxServer_PRO_1.6.6/Server/lib/Lib/test/test_future.py
ChisdealHD/DetlasWorldLinux
336465a4df1a48c9a273329fc7a09d8099c4e4d5
[ "MIT" ]
4
2015-09-09T11:54:37.000Z
2018-05-26T05:08:14.000Z
# Test various flavors of legal and illegal future statements from test_support import unload import re rx = re.compile('\((\S+).py, line (\d+)') def check_error_location(msg): mo = rx.search(msg) print "SyntaxError %s %s" % mo.group(1, 2) # The first two tests should work unload('test_future1') import tes...
19.3125
61
0.747573
129
927
5.186047
0.395349
0.089686
0.161435
0.186846
0.436472
0.436472
0.436472
0.436472
0.370703
0.370703
0
0.016731
0.161812
927
47
62
19.723404
0.844273
0.132686
0
0.46875
0
0
0.09375
0
0
0
0
0
0
0
null
null
0
0.3125
null
null
0.03125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
765e41291b7552d5bd1eca623c508389f435474c
193
py
Python
RecoTracker/TkDetLayers/python/trackerRecoGeometry_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoTracker/TkDetLayers/python/trackerRecoGeometry_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoTracker/TkDetLayers/python/trackerRecoGeometry_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms # # This cfi should be included to build the TrackerReco geometry. # TrackerRecoGeometryESProducer = cms.ESProducer("TrackerRecoGeometryESProducer")
21.444444
79
0.818653
20
193
7.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.119171
193
8
80
24.125
0.929412
0.321244
0
0
0
0
0.232
0.232
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
76763dee5b0a749e74dd49797b6145d11606aeb8
5,196
py
Python
conanfile.py
bmanga/conan-libtorch
83942abdebe55c81977c70db4bbcb90110bcfec7
[ "MIT" ]
null
null
null
conanfile.py
bmanga/conan-libtorch
83942abdebe55c81977c70db4bbcb90110bcfec7
[ "MIT" ]
null
null
null
conanfile.py
bmanga/conan-libtorch
83942abdebe55c81977c70db4bbcb90110bcfec7
[ "MIT" ]
null
null
null
from conans import ConanFile, CMake, tools import sys import os class LibtorchConan(ConanFile): name = "libtorch" version = "1.4.0" license = "Pytorch" author = "" url = "<Package recipe repository url here, for issues about the package>" description = "An open source machine learning framewor...
41.903226
191
0.661278
604
5,196
5.508278
0.31457
0.226029
0.227232
0.216411
0.202585
0.138864
0.138864
0.138864
0.138864
0.138864
0
0.006849
0.213241
5,196
123
192
42.243902
0.806996
0.024634
0
0.019417
0
0
0.330898
0.054689
0
0
0
0
0
1
0.058252
false
0
0.029126
0
0.23301
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
76889f78c4a7f8bf7e014ed3fab040dc716bb47e
445
py
Python
rf4ce/__init__.py
meecash/rf4ce-tools
0f3d11bc14c3fb099c45a54edab2d525672432d5
[ "MIT" ]
null
null
null
rf4ce/__init__.py
meecash/rf4ce-tools
0f3d11bc14c3fb099c45a54edab2d525672432d5
[ "MIT" ]
null
null
null
rf4ce/__init__.py
meecash/rf4ce-tools
0f3d11bc14c3fb099c45a54edab2d525672432d5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .rf4ce import Rf4ceNode, Rf4ceFrame, Rf4ceConstants, Rf4ceException, Rf4ceMakeFCS from .linkconfig import LinkConfig from scapy.all import Dot15d4FCS, Dot15d4Data, Raw # Keep scapy from parsing the RF4CE payload Dot15d4Data.payload_guess = [({}, Raw)] import scapy.config from scapy.theme...
31.785714
86
0.793258
53
445
6.603774
0.584906
0.094286
0.16
0.182857
0
0
0
0
0
0
0
0.050633
0.11236
445
13
87
34.230769
0.835443
0.141573
0
0
0
0
0.015831
0
0
0
0
0
0
1
0
true
0
0.625
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
76a47c5c2c444418935b405cfbea3931cd1af035
122
py
Python
teste.py
lucaslk122/Programas-python
816bdaa128f2d279c255c588c1ff61cb4b834ccd
[ "MIT" ]
null
null
null
teste.py
lucaslk122/Programas-python
816bdaa128f2d279c255c588c1ff61cb4b834ccd
[ "MIT" ]
null
null
null
teste.py
lucaslk122/Programas-python
816bdaa128f2d279c255c588c1ff61cb4b834ccd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Jul 5 20:54:47 2019 @author: Lucas """ tuplas = (2,1,3,4,5,4,3) 4 in tuplas
12.2
35
0.565574
25
122
2.76
0.8
0.057971
0
0
0
0
0
0
0
0
0
0.206186
0.204918
122
9
36
13.555556
0.505155
0.606557
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
76a4950e8df4a0016cc510598ed11462e04fee2f
349
py
Python
app/cogs/base.py
troyan-dy/zalupa-discord-bot
43a94c04a3c4c7dd8ef5a36c79da9fa23e8833c2
[ "MIT" ]
null
null
null
app/cogs/base.py
troyan-dy/zalupa-discord-bot
43a94c04a3c4c7dd8ef5a36c79da9fa23e8833c2
[ "MIT" ]
null
null
null
app/cogs/base.py
troyan-dy/zalupa-discord-bot
43a94c04a3c4c7dd8ef5a36c79da9fa23e8833c2
[ "MIT" ]
null
null
null
from app.logger import LoggerMixin from discord.ext.commands import Bot, Cog, Context class BaseCog(Cog, LoggerMixin): def __init__(self, bot: Bot): self.bot = bot def author_id(self, ctx: Context) -> int: return ctx.message.author.id async def cog_command_error(self, ctx, error): ...
24.928571
50
0.690544
49
349
4.77551
0.55102
0.059829
0.08547
0
0
0
0
0
0
0
0
0
0.22063
349
13
51
26.846154
0.860294
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
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
76a6152964cc156f5b4576eb24125f21dc027b17
959
py
Python
tests/test_context/test_requires_context_ioresult/test_requires_context_ioresult.py
internetimagery/returns
8f4f23bae6861fb3969a8d0c8979f96c5589fc61
[ "BSD-2-Clause" ]
null
null
null
tests/test_context/test_requires_context_ioresult/test_requires_context_ioresult.py
internetimagery/returns
8f4f23bae6861fb3969a8d0c8979f96c5589fc61
[ "BSD-2-Clause" ]
null
null
null
tests/test_context/test_requires_context_ioresult/test_requires_context_ioresult.py
internetimagery/returns
8f4f23bae6861fb3969a8d0c8979f96c5589fc61
[ "BSD-2-Clause" ]
null
null
null
from __future__ import absolute_import from returns.context import RequiresContextIOResultE from returns.io import IOSuccess def test_regression394(): u""" It used to raise ``ImmutableStateError`` for type aliases. Here we use the minimal reproduction sample. .. code:: python Traceback (most ...
33.068966
78
0.68196
115
959
5.469565
0.634783
0.038156
0.025437
0.038156
0
0
0
0
0
0
0
0.029333
0.217935
959
28
79
34.25
0.809333
0.699687
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
true
0
0.5
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
76c9acccf8760d9d7503d5d5916ea32fd12e130b
1,041
py
Python
Chapter 10/exercise5/retailitem.py
nescience8/starting-out-with-python-global-4th-edition
c16f93b7cbb4c7ae7b57653a7190bf192fe6b472
[ "MIT" ]
35
2019-05-03T00:30:31.000Z
2022-01-20T06:57:25.000Z
Chapter 10/exercise5/retailitem.py
nescience8/starting-out-with-python-global-4th-edition
c16f93b7cbb4c7ae7b57653a7190bf192fe6b472
[ "MIT" ]
null
null
null
Chapter 10/exercise5/retailitem.py
nescience8/starting-out-with-python-global-4th-edition
c16f93b7cbb4c7ae7b57653a7190bf192fe6b472
[ "MIT" ]
22
2020-05-13T21:20:02.000Z
2021-12-21T08:35:59.000Z
# 5. RetailItem Class # Write a class named RetailItem that holds data about an item in a retail store. # The class should store the following data in attributes: item description, # units in inventory, and price. # Once you have written the class, write a program that creates three RetailItem # objects and stores the ...
29.742857
81
0.6878
141
1,041
4.879433
0.390071
0.109012
0.061047
0.052326
0
0
0
0
0
0
0
0.028061
0.246878
1,041
35
82
29.742857
0.84949
0.426513
0
0.235294
0
0
0
0
0
0
0
0
0
1
0.411765
false
0
0
0.176471
0.647059
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
76c9fcb40508e59c61d9cda861054e4a1e06a0d5
200
py
Python
api/views/core_views.py
gheyderov/E-commerce-website
9a87e8e6658a69fb017bdc3b36d6dc5417e3124e
[ "MIT" ]
null
null
null
api/views/core_views.py
gheyderov/E-commerce-website
9a87e8e6658a69fb017bdc3b36d6dc5417e3124e
[ "MIT" ]
null
null
null
api/views/core_views.py
gheyderov/E-commerce-website
9a87e8e6658a69fb017bdc3b36d6dc5417e3124e
[ "MIT" ]
null
null
null
from api.serializers.core_serializers import SubscriberSerializer from rest_framework.generics import CreateAPIView class SubscribeAPIView(CreateAPIView): serializer_class = SubscriberSerializer
33.333333
65
0.875
19
200
9.052632
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.09
200
6
66
33.333333
0.945055
0
0
0
0
0
0
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
4f189ea5466aa048a21a4f49706af7b3689357c4
11,461
py
Python
test/taskloader_test.py
etiennesky/ece2cmor3
af51e99dd496b5202623569a23fe52c5506761e0
[ "Apache-2.0" ]
null
null
null
test/taskloader_test.py
etiennesky/ece2cmor3
af51e99dd496b5202623569a23fe52c5506761e0
[ "Apache-2.0" ]
null
null
null
test/taskloader_test.py
etiennesky/ece2cmor3
af51e99dd496b5202623569a23fe52c5506761e0
[ "Apache-2.0" ]
null
null
null
import os import json import logging import unittest from nose.tools import eq_, ok_ from ece2cmor3 import taskloader, ece2cmorlib, cmor_source, cmor_task, cmor_target logging.basicConfig(level=logging.DEBUG) drqpath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "test_data", "testdrq.json") class tas...
39.52069
115
0.59192
1,264
11,461
5.092563
0.142405
0.073481
0.064937
0.102532
0.7881
0.74398
0.720522
0.704831
0.686034
0.586764
0
0.022142
0.274932
11,461
289
116
39.657439
0.752467
0
0
0.631783
0
0
0.059244
0.003141
0
0
0
0
0
1
0.096899
false
0
0.023256
0
0.127907
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4f2c33ae999d023cd50bf62d3c9eef9970661c8a
255
py
Python
basic/String/string slices.py
mklsw/python-learning
7923b3d80ddabc05121543c88178f51379ae910b
[ "MIT" ]
null
null
null
basic/String/string slices.py
mklsw/python-learning
7923b3d80ddabc05121543c88178f51379ae910b
[ "MIT" ]
null
null
null
basic/String/string slices.py
mklsw/python-learning
7923b3d80ddabc05121543c88178f51379ae910b
[ "MIT" ]
null
null
null
string = 'Hello' print(string[1:4]) # 输出字符串从索引1开始到4但不包括4,包括开头但不包括结尾。 print(string[1:]) # 得到从1号到最后的结果,末尾省略了,语法上最后一个不需要写。 print(string[0:]) print(string[2:]) print(string[2:4]) print(string[:]) # 字符串的所有字符 print(string[1:90]) # 超出索引范围后,输出所有字符串
15
52
0.686275
33
255
5.30303
0.484848
0.44
0.205714
0
0
0
0
0
0
0
0
0.06278
0.12549
255
16
53
15.9375
0.721973
0.337255
0
0
0
0
0.030675
0
0
0
0
0
0
1
0
false
0
0
0
0
0.875
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
4f2d0b2412694a48289f07a7ce27be606e778f91
2,925
py
Python
tests/test_itertools.py
twocucao/hutoolpy
84f3de287a7a0793b169b3a83eac60b34254b26a
[ "MIT" ]
null
null
null
tests/test_itertools.py
twocucao/hutoolpy
84f3de287a7a0793b169b3a83eac60b34254b26a
[ "MIT" ]
null
null
null
tests/test_itertools.py
twocucao/hutoolpy
84f3de287a7a0793b169b3a83eac60b34254b26a
[ "MIT" ]
null
null
null
""" # 无限迭代器 count(10, 2) -> 10, 10 + 2*1, 10 + 2*2, … cycle("ABCD") repeat(10, 3) --> 10 10 10 tee """ import itertools def test_itertools(): assert list(itertools.accumulate([1, 2, 3, 4, 5])) == [1, 3, 6, 10, 15] assert list(itertools.chain(*["ABC", "DEF"])) == ["A", "B", "C", "D", "E", "F"] assert lis...
23.58871
88
0.347009
372
2,925
2.723118
0.206989
0.167818
0.262586
0.015795
0.27542
0.227048
0.17769
0.17078
0.123396
0.051333
0
0.075472
0.365812
2,925
123
89
23.780488
0.469003
0.064957
0
0.622449
0
0
0.068801
0
0
0
0
0
0.183673
1
0.010204
true
0
0.010204
0
0.020408
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4f365c13fa0d7ff260ef1b9ddb6173d329c03b22
584
py
Python
smart_eb/UserCall.py
danilocgsilva/smarteb
7c4cd6c18f37195e1749dffa713341560457cf55
[ "MIT" ]
null
null
null
smart_eb/UserCall.py
danilocgsilva/smarteb
7c4cd6c18f37195e1749dffa713341560457cf55
[ "MIT" ]
null
null
null
smart_eb/UserCall.py
danilocgsilva/smarteb
7c4cd6c18f37195e1749dffa713341560457cf55
[ "MIT" ]
null
null
null
import sys class UserCall: def __init__(self): self.userCommand = None self.arguments = None def getUserCall(self) -> str: try: self.userCommand = sys.argv[1] searchArguments = self.userCommand.split(":") if len(searchArguments) > 1: ...
22.461538
57
0.575342
55
584
6.036364
0.436364
0.225904
0.078313
0.10241
0
0
0
0
0
0
0
0.007732
0.335616
584
25
58
23.36
0.847938
0
0
0
0
0
0.001715
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.111111
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
4f368471e36e66516b12f9efe54fb7ccee679f6b
639
py
Python
corehq/ex-submodules/fluff/__init__.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/ex-submodules/fluff/__init__.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/ex-submodules/fluff/__init__.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
from fluff import exceptions from fluff.exceptions import EmitterValidationError from fluff.signals import BACKEND_SQL, BACKEND_COUCH from .calculators import Calculator from .const import * from .emitters import custom_date_emitter, custom_null_emitter, date_emitter, null_emitter from .filters import filter_by from .i...
30.428571
90
0.832551
83
639
6.228916
0.590361
0.052224
0
0
0
0
0
0
0
0
0
0
0.125196
639
20
91
31.95
0.924866
0.093897
0
0
0
0
0.053726
0.053726
0
0
0
0
0
1
0
false
0.066667
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
4f631a6987dd17fedffc6915c4f1dc0407be9e83
1,957
py
Python
kits/python/dev/tests/test_strategy_utils.py
ppinchuk/Lux-Design-2021
8a04ad48c6749cafc9aca986f14e75daaa31c789
[ "Apache-2.0" ]
null
null
null
kits/python/dev/tests/test_strategy_utils.py
ppinchuk/Lux-Design-2021
8a04ad48c6749cafc9aca986f14e75daaa31c789
[ "Apache-2.0" ]
null
null
null
kits/python/dev/tests/test_strategy_utils.py
ppinchuk/Lux-Design-2021
8a04ad48c6749cafc9aca986f14e75daaa31c789
[ "Apache-2.0" ]
null
null
null
import pytest import sys import agent as agent import lux.game as g import lux.strategy_utils as su import lux.game_objects as go import lux.game_map as gm import lux.constants as c """ [WARN] (match_NF4VsaRK1hf9) - Agent 0 sent malformed command: 'rp 0 0' <- research points (player id, num) [WARN] (match_NF4VsaRK1hf...
48.925
152
0.682678
337
1,957
3.857567
0.252226
0.032308
0.226154
0.28
0.575385
0.544615
0.544615
0.544615
0.508462
0.170769
0
0.104756
0.204905
1,957
39
153
50.179487
0.73072
0
0
0
0
0
0.157546
0
0
0
0
0
0.052632
1
0.052632
false
0
0.421053
0
0.473684
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
4f6ddedda7ddacfa1cdf35965365b1343bee768a
65,512
py
Python
examples/address_claming.py
Alonewolf-123/j1939
1e96e641247034bc05ea426666ee0de44f5918bf
[ "MIT" ]
1
2020-07-31T19:43:12.000Z
2020-07-31T19:43:12.000Z
examples/address_claming.py
Alonewolf-123/j1939
1e96e641247034bc05ea426666ee0de44f5918bf
[ "MIT" ]
null
null
null
examples/address_claming.py
Alonewolf-123/j1939
1e96e641247034bc05ea426666ee0de44f5918bf
[ "MIT" ]
null
null
null
import logging import time import can import j1939 #logging.basicConfig() logging.getLogger('j1939').setLevel(logging.DEBUG) logging.getLogger('can').setLevel(logging.DEBUG) class OwnCaToProduceCyclicMessages(j1939.ControllerApplication): """CA to produce messages This CA produces simulated sensor values and...
60.828227
1,714
0.707809
8,838
65,512
4.752885
0.056913
0.07299
0.064277
0.083417
0.793077
0.724492
0.65155
0.621268
0.602343
0.589535
0
0.029851
0.204344
65,512
1,076
1,715
60.884758
0.776019
0.070201
0
0.388412
0
0.009657
0.113439
0.078427
0
0
0.000133
0
0
0
null
null
0.004292
0.004292
null
null
0.077253
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4f73797a4ef2f5ce80c48fc67382a1ae5b32a972
302
py
Python
metadata-ingestion/src/datahub/ingestion/source/metadata_common.py
Nickko04/datacatalog-datahub
a5759e946a7d0619e76e2302b34b94eb3738dac8
[ "Apache-2.0" ]
1
2021-04-07T16:25:49.000Z
2021-04-07T16:25:49.000Z
metadata-ingestion/src/datahub/ingestion/source/metadata_common.py
Nickko04/datacatalog-datahub
a5759e946a7d0619e76e2302b34b94eb3738dac8
[ "Apache-2.0" ]
4
2022-01-14T23:26:20.000Z
2022-02-27T19:05:55.000Z
metadata-ingestion/src/datahub/ingestion/source/metadata_common.py
Nickko04/datacatalog-datahub
a5759e946a7d0619e76e2302b34b94eb3738dac8
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from datahub.ingestion.api.source import WorkUnit from datahub.metadata.com.linkedin.pegasus2avro.mxe import MetadataChangeEvent @dataclass class MetadataWorkUnit(WorkUnit): mce: MetadataChangeEvent def get_metadata(self): return {"mce": self.mce}
23.230769
78
0.788079
34
302
6.970588
0.647059
0.092827
0
0
0
0
0
0
0
0
0
0.003846
0.139073
302
12
79
25.166667
0.907692
0
0
0
0
0
0.009934
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3