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
e20bf47ab8e2dbee6e9efd39685eed89d9f254e4
355
py
Python
Homework/week7/Base/Predict.py
zhufyaxel/ML_SaltyFish
84b839fa236c471e1fa8600093f0096ff79e4097
[ "MIT" ]
null
null
null
Homework/week7/Base/Predict.py
zhufyaxel/ML_SaltyFish
84b839fa236c471e1fa8600093f0096ff79e4097
[ "MIT" ]
null
null
null
Homework/week7/Base/Predict.py
zhufyaxel/ML_SaltyFish
84b839fa236c471e1fa8600093f0096ff79e4097
[ "MIT" ]
null
null
null
import os import numpy as np from keras.models import load_model def makePredict(arrayTest, strOutputFolder): strModelPath = os.path.join(strOutputFolder, "model.h5") model = load_model(strModelPath) predictions = model.predict(arrayTest[0], batch_size=256) predictions = (predictions > 0.5).ast...
23.666667
61
0.735211
44
355
5.863636
0.636364
0.069767
0
0
0
0
0
0
0
0
0
0.023729
0.169014
355
15
62
23.666667
0.850847
0
0
0
0
0
0.022472
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
35595d46cdc5f85893c3eef28f6d9f86bd21026c
2,197
py
Python
mf_analysis/financial_service.py
anardana/mf-analysis
23fdc4cf5d6751c6c6ace99a41bf2b14b3911a8c
[ "MIT" ]
null
null
null
mf_analysis/financial_service.py
anardana/mf-analysis
23fdc4cf5d6751c6c6ace99a41bf2b14b3911a8c
[ "MIT" ]
2
2017-09-20T04:54:14.000Z
2017-09-20T04:55:34.000Z
mf_analysis/financial_service.py
anardana/mf-analysis
23fdc4cf5d6751c6c6ace99a41bf2b14b3911a8c
[ "MIT" ]
null
null
null
from datetime import datetime from pprint import pprint from mf_analysis.coin_file_parse_service import parse, read_file from mf_analysis.financial import xirr from mf_analysis.headers import CoinExportHeaders def xirr_zerodha(transactions, final_date, final_amount): cashflow = [] for log in transactions: ...
39.232143
93
0.67137
250
2,197
5.724
0.212
0.209644
0.069881
0.069881
0.630328
0.630328
0.575821
0.532495
0.532495
0.47659
0
0.005187
0.210287
2,197
55
94
39.945455
0.819597
0
0
0.536585
0
0
0.040965
0
0
0
0
0
0
0
null
null
0
0.121951
null
null
0.04878
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
1
0
0
0
0
0
0
0
0
2
35681b3722c9db7543167346fbd9f178620aaef4
570
py
Python
rltime/policies/torch/distributions/distribution_layer.py
frederikschubert/rltime
d1722ffd4cf7b4599655b8d9c64abc243919afc9
[ "Apache-2.0" ]
147
2019-09-05T10:41:15.000Z
2021-12-28T23:41:54.000Z
rltime/policies/torch/distributions/distribution_layer.py
frederikschubert/rltime
d1722ffd4cf7b4599655b8d9c64abc243919afc9
[ "Apache-2.0" ]
1
2020-10-18T14:55:53.000Z
2021-11-18T10:41:36.000Z
rltime/policies/torch/distributions/distribution_layer.py
frederikschubert/rltime
d1722ffd4cf7b4599655b8d9c64abc243919afc9
[ "Apache-2.0" ]
11
2019-09-08T09:18:28.000Z
2020-11-30T12:41:37.000Z
import torch class DistributionLayer(torch.nn.Module): """A distribution layer for action selection (e.g. for actor-critic)""" def __init__(self, action_space, input_size): """Initializes the distribution layer for the given action space and input_size (i.e. the output size of the model) ...
31.666667
76
0.668421
72
570
5.138889
0.597222
0.091892
0.108108
0
0
0
0
0
0
0
0
0
0.249123
570
17
77
33.529412
0.864486
0.52807
0
0
0
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
3582327548890280ef8aab72108c363bd7da1c89
1,902
py
Python
emr/emr/doctype/comisiones_doctores/comisiones_doctores.py
chabito79/EMR_ERP
6cc4f6592ef9962bece93d9cacbeef71fe26562a
[ "MIT" ]
null
null
null
emr/emr/doctype/comisiones_doctores/comisiones_doctores.py
chabito79/EMR_ERP
6cc4f6592ef9962bece93d9cacbeef71fe26562a
[ "MIT" ]
null
null
null
emr/emr/doctype/comisiones_doctores/comisiones_doctores.py
chabito79/EMR_ERP
6cc4f6592ef9962bece93d9cacbeef71fe26562a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015, C0D1G0 B1NAR10 and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class ComisionesDoctores(Document): pass @frappe.whitelist() def corte(docname): fecha = f...
52.833333
211
0.71346
288
1,902
4.583333
0.288194
0.075758
0.068182
0.064394
0.500758
0.443939
0.428788
0.428788
0.422727
0.422727
0
0.021538
0.145636
1,902
36
212
52.833333
0.790769
0.488959
0
0.266667
0
0.266667
0.522513
0
0
0
0
0
0
1
0.066667
false
0.066667
0.2
0
0.333333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
358ea14f1d003f4df0e95e419cdbc10c5b23c5a9
298
py
Python
tests/testapp/jobs/hourly/test_hourly_job.py
kaozdl/django-extensions
bbc3ae686d2cba9c0bb0a6b88f5e71ddf1a6af36
[ "MIT" ]
1
2019-12-22T23:37:28.000Z
2019-12-22T23:37:28.000Z
tests/testapp/jobs/hourly/test_hourly_job.py
kaozdl/django-extensions
bbc3ae686d2cba9c0bb0a6b88f5e71ddf1a6af36
[ "MIT" ]
2
2020-07-15T10:51:52.000Z
2020-07-15T12:52:28.000Z
tests/testapp/jobs/hourly/test_hourly_job.py
kaozdl/django-extensions
bbc3ae686d2cba9c0bb0a6b88f5e71ddf1a6af36
[ "MIT" ]
3
2020-08-07T16:16:54.000Z
2020-10-12T18:06:35.000Z
# -*- coding: utf-8 -*- from django_extensions.management.jobs import HourlyJob try: from unittest import mock except ImportError: import mock HOURLY_JOB_MOCK = mock.MagicMock() class Job(HourlyJob): help = "My sample hourly job." def execute(self): HOURLY_JOB_MOCK()
16.555556
55
0.694631
38
298
5.315789
0.657895
0.133663
0.128713
0
0
0
0
0
0
0
0
0.004237
0.208054
298
17
56
17.529412
0.851695
0.07047
0
0
0
0
0.076364
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
359bf62789e8fc6f25281d954b1059feb860912a
225
py
Python
util/inputReader.py
sree-cfa/adventOfCode
0dffcf2b6668a37505afeedd0869f7ae2b5b93cf
[ "BSD-3-Clause" ]
null
null
null
util/inputReader.py
sree-cfa/adventOfCode
0dffcf2b6668a37505afeedd0869f7ae2b5b93cf
[ "BSD-3-Clause" ]
null
null
null
util/inputReader.py
sree-cfa/adventOfCode
0dffcf2b6668a37505afeedd0869f7ae2b5b93cf
[ "BSD-3-Clause" ]
null
null
null
def read_as_strings(filename): f = open(filename, "r") res = f.read().split("\n") return res def read_as_ints(filename): f = open(filename, "r") res = map(int, f.read().split("\n")) return list(res)
20.454545
40
0.591111
35
225
3.685714
0.457143
0.108527
0.139535
0.325581
0.651163
0.387597
0
0
0
0
0
0
0.217778
225
10
41
22.5
0.732955
0
0
0.25
0
0
0.026667
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
35b001e1a976a44a7bdb9f0ced58239879a732bd
517
py
Python
curso em video/python/mundo 2/ex 067.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
curso em video/python/mundo 2/ex 067.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
curso em video/python/mundo 2/ex 067.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
#num1 = int(input('qual tabuada você deseja?')) #num2 = 1 #while True: # if num1 <= 0: # break # print(f'{num2} X {num1} ={num2*num1}') # num2 += 1 # if num2>=11: # num1 = int(input('qual tabuada você deseja?')) # num2 = 1 #print('programa encerrado!') while True: num1 = int(input('...
25.85
55
0.533849
72
517
3.833333
0.347222
0.076087
0.130435
0.173913
0.518116
0.394928
0.394928
0.275362
0.275362
0
0
0.07754
0.276596
517
20
56
25.85
0.660428
0.510638
0
0.222222
0
0
0.279835
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
35b9dae75fa67670875f1d37fc818d54438b90ed
15,330
py
Python
celltk/utils/utils.py
sjeknic/CellST
1c57789f9deccca62b3f0aaad07c5a006801b1fd
[ "MIT" ]
null
null
null
celltk/utils/utils.py
sjeknic/CellST
1c57789f9deccca62b3f0aaad07c5a006801b1fd
[ "MIT" ]
32
2022-01-23T19:47:29.000Z
2022-03-16T16:04:11.000Z
celltk/utils/utils.py
sjeknic/CellTK
205e2c14a7647703247d24b1b68c97fc9b3494d5
[ "MIT" ]
null
null
null
import sys import os import functools import itertools import contextlib import warnings import logging import inspect import typing from copy import deepcopy from typing import Tuple, Generator, Dict from collections import Counter import numpy as np from celltk.utils._types import (Image, Mask, Track, ...
39.715026
91
0.557665
1,877
15,330
4.396377
0.214172
0.015269
0.024237
0.007271
0.078405
0.036355
0.030053
0.013815
0.006059
0.006059
0
0.005324
0.362883
15,330
385
92
39.818182
0.839562
0.252577
0
0.119658
0
0
0.06626
0.006913
0
0
0
0.012987
0.008547
1
0.051282
false
0.081197
0.07265
0
0.17094
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
35bfc52e2432009638337048a3b37232a52bde1e
5,337
py
Python
messari/blockexplorers/optimisticetherscan/optimisticetherscan.py
messari/messari-python-api-private
b027b691b570bc804e4b55a95cf1046ed1dbde86
[ "MIT" ]
2
2022-03-16T06:28:57.000Z
2022-03-22T19:48:22.000Z
messari/blockexplorers/optimisticetherscan/optimisticetherscan.py
messari/messari-python-api-private
b027b691b570bc804e4b55a95cf1046ed1dbde86
[ "MIT" ]
2
2022-01-06T07:28:23.000Z
2022-01-31T03:55:20.000Z
messari/blockexplorers/optimisticetherscan/optimisticetherscan.py
messari/messari-python-api-private
b027b691b570bc804e4b55a95cf1046ed1dbde86
[ "MIT" ]
2
2022-03-16T06:29:00.000Z
2022-03-25T09:03:20.000Z
"""This module is meant to contain the OptimisticEtherscan class""" from typing import Union, List import pandas as pd from messari.blockexplorers import Scanner from messari.utils import validate_input BASE_URL='https://api-optimistic.etherscan.io/api' # Reference: https://optimistic.etherscan.io/apis class Optimis...
31.958084
109
0.589657
618
5,337
4.88835
0.229773
0.112546
0.101291
0.135055
0.602781
0.602781
0.576299
0.55048
0.538232
0.522675
0
0.005338
0.29792
5,337
166
110
32.150602
0.800907
0.178377
0
0.523256
0
0
0.048406
0
0
0
0
0.006024
0
1
0.244186
false
0
0.046512
0
0.534884
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
35c19c0a977eae05ce38f237600c4c2baee780ed
1,957
py
Python
demisto_sdk/commands/common/content/objects/abstract_objects/dictionary_based_object.py
SergeBakharev/demisto-sdk
17d00942a1bd33039a8aba9ddffecfd81008d275
[ "MIT" ]
null
null
null
demisto_sdk/commands/common/content/objects/abstract_objects/dictionary_based_object.py
SergeBakharev/demisto-sdk
17d00942a1bd33039a8aba9ddffecfd81008d275
[ "MIT" ]
null
null
null
demisto_sdk/commands/common/content/objects/abstract_objects/dictionary_based_object.py
SergeBakharev/demisto-sdk
17d00942a1bd33039a8aba9ddffecfd81008d275
[ "MIT" ]
null
null
null
from abc import abstractmethod from typing import Any, Dict, Optional, Union from wcmatch.pathlib import Path import demisto_sdk.commands.common.content.errors as exc from .general_object import GeneralObject class DictionaryBasedObject(GeneralObject): def __init__(self, path: Union[Path, str], file_name_prefi...
26.093333
94
0.591211
237
1,957
4.675105
0.291139
0.043321
0.045126
0.025271
0.095668
0.095668
0.095668
0.095668
0.095668
0.095668
0
0
0.313235
1,957
74
95
26.445946
0.824405
0.203884
0
0.105263
0
0
0.019499
0
0
0
0
0
0
1
0.210526
false
0.026316
0.131579
0.026316
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ea001e44efe18f06c7050ab4e088cd0abdf23129
4,932
py
Python
analysis/tensorflow/fast_em.py
LinziJay/rappor
d524e2059947657198f1a232e13efd59f2047dae
[ "Apache-2.0" ]
797
2015-01-11T12:16:14.000Z
2022-03-20T08:47:06.000Z
analysis/tensorflow/fast_em.py
Jason-Cooke/rappor
a13fa964edb7c576366c83f40ff58d7c8c1db759
[ "Apache-2.0" ]
56
2015-01-15T23:06:37.000Z
2022-01-24T07:31:58.000Z
analysis/tensorflow/fast_em.py
Jason-Cooke/rappor
a13fa964edb7c576366c83f40ff58d7c8c1db759
[ "Apache-2.0" ]
174
2015-01-10T16:00:18.000Z
2022-03-20T08:47:01.000Z
#!/usr/bin/python """ fast_em.py: Tensorflow implementation of expectation maximization for RAPPOR association analysis. TODO: - Use TensorFlow ops for reading input (so that reading input can be distributed) - Reduce the number of ops (currently proportional to the number of reports). May require new Tens...
27.248619
79
0.680454
792
4,932
4.089646
0.320707
0.052794
0.046311
0.05866
0.168879
0.082433
0.041988
0.041988
0.041988
0.024082
0
0.013685
0.199919
4,932
180
80
27.4
0.807146
0.153487
0
0.067416
0
0
0.077097
0
0
0
0
0.011111
0.011236
0
null
null
0
0.033708
null
null
0.044944
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
ea0d7fe0f7bc8761e696d3f189cd92cd7f9fc862
160
py
Python
samples/tutorial/05_getting_results/hello_output.py
crest-cassia/caravan
0a8e606e31d2d36a9379bdc00fafe55cf9144da6
[ "MIT" ]
4
2017-12-27T06:04:46.000Z
2018-04-27T04:07:49.000Z
samples/tutorial/05_getting_results/hello_output.py
crest-cassia/caravan
0a8e606e31d2d36a9379bdc00fafe55cf9144da6
[ "MIT" ]
null
null
null
samples/tutorial/05_getting_results/hello_output.py
crest-cassia/caravan
0a8e606e31d2d36a9379bdc00fafe55cf9144da6
[ "MIT" ]
null
null
null
from caravan import Server,Task with Server.start(): t = Task.create("echo '[1.0,2.0,3.0]' > _output.json") Server.await_task(t) print(t.output())
22.857143
58
0.64375
27
160
3.740741
0.666667
0
0
0
0
0
0
0
0
0
0
0.045113
0.16875
160
6
59
26.666667
0.714286
0
0
0
0
0
0.21875
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ea1050a4129346efe906b6e66c6ca278778c4bba
3,027
py
Python
beacon/nn/init.py
dusanerdeljan/beacon
be0bfc324ed2def9fb5d39be39f346b914b73686
[ "MIT" ]
10
2020-04-17T20:26:22.000Z
2021-10-14T03:17:53.000Z
beacon/nn/init.py
dusanerdeljan/beacon
be0bfc324ed2def9fb5d39be39f346b914b73686
[ "MIT" ]
null
null
null
beacon/nn/init.py
dusanerdeljan/beacon
be0bfc324ed2def9fb5d39be39f346b914b73686
[ "MIT" ]
2
2020-10-15T12:05:08.000Z
2022-01-23T15:42:36.000Z
import numpy as np def normal(shape: tuple): """ Normal initializer. ## Parameters shape: `tuple` - shape of inputs tensor ## Example usage ```python from beacon.nn.init import normal t = Tensor(data=normal(shape=(5, 3))) ``` """ return np.random.normal(size=shape) def un...
21.316901
53
0.598612
383
3,027
4.684073
0.099217
0.100334
0.130435
0.155518
0.729654
0.696767
0.673356
0.655518
0.586399
0.570792
0
0.020517
0.259333
3,027
142
54
21.316901
0.779661
0.566568
0
0.32
0
0
0
0
0
0
0
0
0
1
0.36
false
0
0.04
0
0.76
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ea1c71389b2dee6b678bbc3b8357e490aaae0f4c
204
py
Python
Raspberry code for recieving data from Arduino and sending to Firebase/serial_test.py
Naman1997/tarp-serial-connection-code
fbe9e079b4016c980d86e8f42dba804cd95d02e8
[ "MIT" ]
5
2019-07-15T13:09:18.000Z
2021-01-31T22:50:16.000Z
Raspberry code for recieving data from Arduino and sending to Firebase/serial_test.py
Naman1997/VAAK-firebase-arduino-python-serial-comunication
fbe9e079b4016c980d86e8f42dba804cd95d02e8
[ "MIT" ]
3
2019-03-27T13:13:32.000Z
2019-03-27T14:45:23.000Z
Raspberry code for recieving data from Arduino and sending to Firebase/serial_test.py
Naman1997/VAAK-firebase-arduino-python-serial-comunication
fbe9e079b4016c980d86e8f42dba804cd95d02e8
[ "MIT" ]
3
2019-03-27T12:59:46.000Z
2019-03-27T13:52:22.000Z
# This file is to test if your arduino is able to send data to your RPi serially import serial ser = serial.Serial('/dev/ttyACM0',9600) while True: read_serial=ser.readline() print read_serial
20.4
80
0.735294
34
204
4.352941
0.705882
0.121622
0
0
0
0
0
0
0
0
0
0.030303
0.191176
204
9
81
22.666667
0.866667
0.382353
0
0
0
0
0.096774
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
ea1eacedd91a0e87dac1e0574e709791bb2c8897
393
py
Python
app/models/Movie.py
samousli/ikiru
4a4a002db398dd7ba1b112ea406c92b0a8cb6c37
[ "MIT" ]
null
null
null
app/models/Movie.py
samousli/ikiru
4a4a002db398dd7ba1b112ea406c92b0a8cb6c37
[ "MIT" ]
null
null
null
app/models/Movie.py
samousli/ikiru
4a4a002db398dd7ba1b112ea406c92b0a8cb6c37
[ "MIT" ]
null
null
null
from .Base import Base from . import db class Movie(Base): title = db.Column(db.String(256), nullable=False) language = db.Column(db.String(8), default='en') imdb_id = db.Column(db.String(10)) release_year = db.Column(db.Integer) rentals = db.relationship('Rental', back_populates='movie', lazy=T...
30.230769
74
0.694656
56
393
4.785714
0.589286
0.119403
0.149254
0.179104
0
0
0
0
0
0
0
0.018072
0.155216
393
12
75
32.75
0.789157
0
0
0
0
0
0.086514
0
0
0
0
0
0
1
0
false
0
0.222222
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
ea2786a5629ec57e654f0aeeae32e11b695eb63f
385
py
Python
Django/SemiRestful_Users/apps/users/urls.py
justnclrk/Python
0922961cbd94694a69ae8132a5c33baf552d8d89
[ "MIT" ]
null
null
null
Django/SemiRestful_Users/apps/users/urls.py
justnclrk/Python
0922961cbd94694a69ae8132a5c33baf552d8d89
[ "MIT" ]
8
2020-06-06T01:02:06.000Z
2022-03-12T00:24:13.000Z
Django/SemiRestful_Users/apps/users/urls.py
justnclrk/Python
0922961cbd94694a69ae8132a5c33baf552d8d89
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^users$', views.index), url(r'^users/(?P<id>\d+)$', views.show), url(r'^users/new$', views.new), url(r'^users/create$', views.create), url(r'^users/(?P<id>\d+)/edit$', views.edit), url(r'^users/(?P<id>\d+)/delete$', views...
35
53
0.587013
62
385
3.645161
0.322581
0.123894
0.278761
0.176991
0.230089
0.230089
0
0
0
0
0
0
0.137662
385
11
54
35
0.680723
0
0
0
0
0
0.329016
0.196891
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ea3a1bc9989544e1629dd0052b9552ab2ca0c5cf
333
py
Python
birthday_multiparam.py
ISE2012/ch7
6c6444b6b44adb6f45a9123f6a33bda388241fad
[ "MIT" ]
null
null
null
birthday_multiparam.py
ISE2012/ch7
6c6444b6b44adb6f45a9123f6a33bda388241fad
[ "MIT" ]
null
null
null
birthday_multiparam.py
ISE2012/ch7
6c6444b6b44adb6f45a9123f6a33bda388241fad
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Oct 28 06:33:05 2020 @author: ucobiz """ def happy(): print("Happy Bday to you!") def sing(person, age): happy() happy() print("Happy Bday,", person) print("You're already", age, "years old") happy() def main(): sing("Fred", 30...
15.136364
46
0.528529
45
333
3.911111
0.666667
0.113636
0.170455
0.215909
0
0
0
0
0
0
0
0.063025
0.285285
333
21
47
15.857143
0.676471
0.225225
0
0.272727
0
0
0.244541
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.272727
0.272727
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
ea44b1b32f4c6c7e1009e6222f6894f5fab6d251
1,205
py
Python
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Flight_Dynamics/Dynamic_Stability/Full_Linearized_Equations/Supporting_Functions/cy_psi.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Flight_Dynamics/Dynamic_Stability/Full_Linearized_Equations/Supporting_Functions/cy_psi.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
SUAVE/SUAVE-2.5.0/trunk/SUAVE/Methods/Flight_Dynamics/Dynamic_Stability/Full_Linearized_Equations/Supporting_Functions/cy_psi.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
## @ingroup Methods-Flight_Dynamics-Dynamic_Stability-Full_Linearized_Equations-Supporting_Functions # cy_psi.py # # Created: Jun 2014, A. Wendorff # Modified: Jan 2016, E. Botero # ---------------------------------------------------------------------- # Imports # ---------------------------------------------------...
28.023256
100
0.492946
109
1,205
5.311927
0.706422
0.043178
0.069085
0.096718
0.297064
0.297064
0.297064
0.297064
0.297064
0.297064
0
0.014815
0.215768
1,205
43
101
28.023256
0.597884
0.834025
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
ea4962156bd9f8e6a35a22850972461df61a1fea
332
py
Python
python/bottle/server.py
krishnaTORQUE/web-frameworks
ff0252dc2184d18b7b586fee01cba3d09d946468
[ "MIT" ]
null
null
null
python/bottle/server.py
krishnaTORQUE/web-frameworks
ff0252dc2184d18b7b586fee01cba3d09d946468
[ "MIT" ]
187
2020-03-03T20:23:29.000Z
2020-06-08T11:33:50.000Z
python/bottle/server.py
krishnaTORQUE/web-frameworks
ff0252dc2184d18b7b586fee01cba3d09d946468
[ "MIT" ]
null
null
null
# Disable all logging features import logging logging.disable() from meinheld import patch patch.patch_all() from bottle import Bottle app = Bottle() @app.route("/") def index(): return "" @app.route("/user/<id:int>") def user_info(id): return str(id) @app.route("/user", method="POST") def user(): ...
11.857143
34
0.659639
46
332
4.717391
0.456522
0.110599
0.110599
0
0
0
0
0
0
0
0
0
0.177711
332
27
35
12.296296
0.794872
0.084337
0
0.133333
0
0
0.07947
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
ea502e3052203813abad550fb8c346f40e749d70
1,833
py
Python
src/openmovement/load/base_data.py
digitalinteraction/openmovement-python
d07dcd66d5c402436ee1113ed2862f6c41aa61b1
[ "BSD-2-Clause" ]
null
null
null
src/openmovement/load/base_data.py
digitalinteraction/openmovement-python
d07dcd66d5c402436ee1113ed2862f6c41aa61b1
[ "BSD-2-Clause" ]
null
null
null
src/openmovement/load/base_data.py
digitalinteraction/openmovement-python
d07dcd66d5c402436ee1113ed2862f6c41aa61b1
[ "BSD-2-Clause" ]
null
null
null
""" Base class for timeseries data loader """ from abc import ABC, abstractmethod class BaseData(ABC): def __init__(self, filename, verbose=False): """ Construct a data object from a file. :param filename: The path to the source file. :param verbose: Output more detailed informat...
24.77027
126
0.619203
237
1,833
4.565401
0.388186
0.09427
0.092421
0.055453
0.22366
0.22366
0.112754
0.112754
0.112754
0.112754
0
0.004666
0.298418
1,833
73
127
25.109589
0.836703
0.444626
0
0.46875
0
0
0
0
0
0
0
0
0
1
0.34375
false
0.21875
0.03125
0.0625
0.46875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
ea52b02a8489b15a73e913288783397cda0b4ef9
547
py
Python
students/k3343/laboratory_works/Suzdaltseva_Margarita/laboratory_work_2/marketing/luchapp/migrations/0004_auto_20200620_1902.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
10
2020-03-20T09:06:12.000Z
2021-07-27T13:06:02.000Z
students/k3343/laboratory_works/Suzdaltseva_Margarita/laboratory_work_2/marketing/luchapp/migrations/0004_auto_20200620_1902.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
134
2020-03-23T09:47:48.000Z
2022-03-12T01:05:19.000Z
students/k3343/laboratory_works/Suzdaltseva_Margarita/laboratory_work_2/marketing/luchapp/migrations/0004_auto_20200620_1902.py
TonikX/ITMO_ICT_-WebProgramming_2020
ba566c1b3ab04585665c69860b713741906935a0
[ "MIT" ]
71
2020-03-20T12:45:56.000Z
2021-10-31T19:22:25.000Z
# Generated by Django 3.0.6 on 2020-06-20 19:02 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('luchapp', '0003_product'), ] operations = [ migrations.AlterField( model_name='payment', name='day_paid', ...
22.791667
58
0.579525
55
547
5.636364
0.690909
0.129032
0.16129
0.187097
0.277419
0.277419
0.277419
0
0
0
0
0.050132
0.30713
547
23
59
23.782609
0.76781
0.082267
0
0.352941
1
0
0.108
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ea5c28748e52dc9d676e59534df765530975eb97
185
py
Python
Randomizer/random_tools.py
Zirgzar/ShowdownLoadoutRandomizer
54dc978eb42bfd4f5096e602d9b1ed6e20f0e537
[ "MIT" ]
null
null
null
Randomizer/random_tools.py
Zirgzar/ShowdownLoadoutRandomizer
54dc978eb42bfd4f5096e602d9b1ed6e20f0e537
[ "MIT" ]
null
null
null
Randomizer/random_tools.py
Zirgzar/ShowdownLoadoutRandomizer
54dc978eb42bfd4f5096e602d9b1ed6e20f0e537
[ "MIT" ]
null
null
null
import random def randomly_pick_tools(tools: list): """ Randomly picks out a tool """ random_index = random.randint(0, len(tools) - 1) return tools[random_index]
16.818182
52
0.659459
25
185
4.72
0.68
0.186441
0
0
0
0
0
0
0
0
0
0.014085
0.232432
185
10
53
18.5
0.816901
0.135135
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
ea67622547d994c0e60a3fe0462591cfafb2ef9d
2,593
py
Python
application/migrations/0002_auto_20200730_1432.py
AhmadTariqAlflahat/Web-Project-Django
80d8ba5cd04df9781e94a65122aa703999c1bdb8
[ "MIT" ]
null
null
null
application/migrations/0002_auto_20200730_1432.py
AhmadTariqAlflahat/Web-Project-Django
80d8ba5cd04df9781e94a65122aa703999c1bdb8
[ "MIT" ]
7
2021-04-08T21:31:50.000Z
2022-01-13T03:05:02.000Z
application/migrations/0002_auto_20200730_1432.py
AhmadTariqAlflahat/Web-Project-Django
80d8ba5cd04df9781e94a65122aa703999c1bdb8
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-30 11:32 import account.models_addon import django.core.validators from django.db import migrations, models import django.utils.timezone import stdimage.models import stdimage.validators class Migration(migrations.Migration): dependencies = [ ('application', '0001_...
38.132353
440
0.6371
256
2,593
6.300781
0.316406
0.050217
0.114073
0.133912
0.596404
0.596404
0.561066
0.530688
0.530688
0.49225
0
0.021705
0.25376
2,593
67
441
38.701493
0.811886
0.017354
0
0.754098
1
0
0.148075
0.010998
0
0
0
0
0
1
0
false
0
0.098361
0
0.147541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ea79e132c32efd79a13d423fd76baf5512de96e5
723
py
Python
cogs/Info.py
paulranshaw/Discord-Bot
82a6837c3753bb1dfb8f5c4c2f5f02edf0309f89
[ "Apache-2.0" ]
null
null
null
cogs/Info.py
paulranshaw/Discord-Bot
82a6837c3753bb1dfb8f5c4c2f5f02edf0309f89
[ "Apache-2.0" ]
null
null
null
cogs/Info.py
paulranshaw/Discord-Bot
82a6837c3753bb1dfb8f5c4c2f5f02edf0309f89
[ "Apache-2.0" ]
null
null
null
import discord import os from discord import client import dotenv import logging import asyncio from discord.ext import commands, tasks from dotenv import load_dotenv from itertools import cycle class Info(commands.Cog): def __init__(self, client): self.client = client # Commands @c...
24.1
73
0.673582
94
723
5.095745
0.468085
0.066806
0.093946
0.096033
0.179541
0.179541
0.179541
0.179541
0.179541
0
0
0.007194
0.230982
723
29
74
24.931034
0.854317
0.011065
0
0.181818
0
0
0.118943
0.038179
0
0
0
0
0
1
0.090909
false
0
0.409091
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
0
0
0
1
0
1
0
0
2
ea7b1e9b9c8a84dce442167fcab0afcfbce82d4c
248
py
Python
7/confirmed_users.py
liuhanyu200/pygame
38a68e779e6b0a63edb1758fca98ebbf40bb0444
[ "BSD-3-Clause" ]
null
null
null
7/confirmed_users.py
liuhanyu200/pygame
38a68e779e6b0a63edb1758fca98ebbf40bb0444
[ "BSD-3-Clause" ]
null
null
null
7/confirmed_users.py
liuhanyu200/pygame
38a68e779e6b0a63edb1758fca98ebbf40bb0444
[ "BSD-3-Clause" ]
null
null
null
# coding:utf-8 unconfirmed_users = ['liuhanyu', 'luoliuzhou', 'wangyue', 'xiaolizi'] confirmed_users = [] while unconfirmed_users: user = unconfirmed_users.pop() confirmed_users.append(user) print(confirmed_users) print(unconfirmed_users)
24.8
69
0.758065
28
248
6.464286
0.535714
0.353591
0
0
0
0
0
0
0
0
0
0.004545
0.112903
248
10
70
24.8
0.818182
0.048387
0
0
0
0
0.140426
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
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
0
0
0
0
0
2
ea885f565f183ec13332a01d2ec6b76cf4f1d2b9
466
py
Python
Tests/Test_videocourses_access_to_TT_without_autorization.py
AllaZhulyanova/Autotests_for_ADUKAR
ba45b09e2cc859fc10542eb4dc1792ea6e296b08
[ "Apache-2.0" ]
null
null
null
Tests/Test_videocourses_access_to_TT_without_autorization.py
AllaZhulyanova/Autotests_for_ADUKAR
ba45b09e2cc859fc10542eb4dc1792ea6e296b08
[ "Apache-2.0" ]
null
null
null
Tests/Test_videocourses_access_to_TT_without_autorization.py
AllaZhulyanova/Autotests_for_ADUKAR
ba45b09e2cc859fc10542eb4dc1792ea6e296b08
[ "Apache-2.0" ]
null
null
null
# Доступ к тренировочным тестам урока без авторизации def test_opening_TT_without_authorization (app): app.Button_menu.Test_Button_Videocourses() # кнопка "Видеокурсы" result = app.List_items_before_autorization.Test_list_of_all_items_for_TT(TEXT='УРОК') # нажимает на тренировочные тесты в предмете по порядку...
51.777778
146
0.815451
66
466
5.333333
0.681818
0.125
0.181818
0.113636
0.147727
0
0
0
0
0
0
0.004902
0.124464
466
9
147
51.777778
0.857843
0.26824
0
0
0
0
0.011869
0
0
0
0
0
0.166667
1
0.166667
false
0
0
0
0.166667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ea995e6e0edf67f8984767eb8c99c526a48c876f
645
py
Python
assin.py
ruanchaves/assin
f8ed74afb10dbc9e588e66c764ca66b002a50fc5
[ "MIT" ]
6
2019-10-23T02:02:57.000Z
2020-06-04T06:19:14.000Z
assin.py
ruanchaves/assin
f8ed74afb10dbc9e588e66c764ca66b002a50fc5
[ "MIT" ]
null
null
null
assin.py
ruanchaves/assin
f8ed74afb10dbc9e588e66c764ca66b002a50fc5
[ "MIT" ]
2
2019-10-23T02:03:01.000Z
2019-10-23T04:57:16.000Z
from utils_conv import AssinReader, assin_json_reader from run_train import parallel_train from ensemble import load_ensemble from utils_submission import assin_json_writer from report import generate_report import sys import json if __name__ == '__main__': with open(sys.argv[1]) as f: data = json.load(f...
26.875
53
0.751938
88
645
5.147727
0.329545
0.07947
0.066225
0
0
0
0
0
0
0
0
0.001866
0.168992
645
24
54
26.875
0.843284
0
0
0
1
0
0.065015
0
0
0
0
0
0
1
0
false
0
0.368421
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
eaa15496d55ee91553ee44c87ea65d037034e368
105
py
Python
typecats/__about__.py
xoeye/typecats
0b97262bdef0e36232b7849187586c9bb7e82198
[ "MIT" ]
14
2019-08-15T02:19:28.000Z
2021-12-28T19:44:56.000Z
typecats/__about__.py
xoeye/typecats
0b97262bdef0e36232b7849187586c9bb7e82198
[ "MIT" ]
4
2019-08-22T21:11:37.000Z
2022-02-17T15:42:12.000Z
typecats/__about__.py
xoeye/typecats
0b97262bdef0e36232b7849187586c9bb7e82198
[ "MIT" ]
2
2019-12-31T08:53:23.000Z
2021-09-03T20:26:21.000Z
"""typecats""" __version__ = "1.7.0" __author__ = "Peter Gaultney" __author_email__ = "pgaultney@xoi.io"
21
37
0.714286
13
105
4.769231
0.923077
0
0
0
0
0
0
0
0
0
0
0.031915
0.104762
105
4
38
26.25
0.62766
0.07619
0
0
0
0
0.384615
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
575e4902d461babd38cf629176a406b09583ef18
154
py
Python
Class 5/Operators with Conditions.py
teenage-coder/Introduction-to-Python
fee751071bdac27b4644279c44eb8f008271fcd1
[ "Apache-2.0" ]
1
2021-09-16T03:17:19.000Z
2021-09-16T03:17:19.000Z
Operators in Python/Operators with Conditions.py
teenage-coder/Data-Analysis-with-Python
5b4cd1277fd0ab6db9f8953087070fc30b0e293f
[ "Apache-2.0" ]
null
null
null
Operators in Python/Operators with Conditions.py
teenage-coder/Data-Analysis-with-Python
5b4cd1277fd0ab6db9f8953087070fc30b0e293f
[ "Apache-2.0" ]
null
null
null
num = int(input("Enter a number: ")) if ((num % 2 == 0) and (num % 3 == 0) and (num % 5 == 0)): print("Divisible") else: print("Not Divisible")
19.25
58
0.525974
24
154
3.375
0.666667
0.098765
0.17284
0
0
0
0
0
0
0
0
0.051724
0.246753
154
7
59
22
0.646552
0
0
0
0
0
0.246753
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
577132c5a924884f2c243cde302ab45e7bc61249
331
py
Python
cloudconvert/environment_vars.py
claudep/cloudconvert-python
9c0e8705fe2c208eef87cf121300ea691d1dc03a
[ "MIT" ]
153
2015-11-27T12:29:55.000Z
2022-03-30T15:12:38.000Z
cloudconvert/environment_vars.py
claudep/cloudconvert-python
9c0e8705fe2c208eef87cf121300ea691d1dc03a
[ "MIT" ]
20
2016-01-07T11:18:18.000Z
2022-01-29T15:19:28.000Z
packages/cloudconvert/environment_vars.py
YariKartoshe4ka/sublime-svg-viewer
bb4c7d9df6e41ec68341e51aec77b5afd1964376
[ "MIT" ]
49
2015-12-28T13:37:22.000Z
2022-03-27T03:03:24.000Z
"""Environment Variables to be used inside the CloudConvert-Python-REST-SDK""" CLOUDCONVERT_API_KEY = "API_KEY" """Environment variable defining the Cloud Convert REST API default credentials as Access Token.""" CLOUDCONVERT_SANDBOX = "true" """Environment variable defining if the sandbox API is used instead of the l...
36.777778
86
0.785498
46
331
5.565217
0.630435
0.046875
0.210938
0
0
0
0
0
0
0
0
0
0.129909
331
8
87
41.375
0.888889
0.217523
0
0
0
0
0.161765
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
57794102118178b2f81fc05f5a33a34e7ec316aa
490
py
Python
dojo/unittests/test_blackduck_component_risk_parser.py
krbalag/django-DefectDojo
f93e24ef97cd06e426e60e708602eb8fc797ec80
[ "BSD-3-Clause" ]
3
2020-07-15T12:57:14.000Z
2020-10-14T14:32:40.000Z
dojo/unittests/test_blackduck_component_risk_parser.py
viral-sangani/django-DefectDojo
e0fa585ee770bd0b15ba4a73bd81e6cc043650fd
[ "BSD-3-Clause" ]
173
2020-12-17T20:29:09.000Z
2022-03-23T12:54:32.000Z
dojo/unittests/test_blackduck_component_risk_parser.py
viral-sangani/django-DefectDojo
e0fa585ee770bd0b15ba4a73bd81e6cc043650fd
[ "BSD-3-Clause" ]
2
2022-02-07T09:57:28.000Z
2022-03-11T08:42:59.000Z
from django.test import TestCase from dojo.tools.blackduck_component_risk.parser import BlackduckHubParser from dojo.models import Test from pathlib import Path class TestBlackduckHubCRParser(TestCase): def test_blackduck_enhanced_zip_upload(self): testfile = Path("dojo/unittests/scans/blackduck_component...
37.692308
73
0.755102
56
490
6.410714
0.535714
0.108635
0.122563
0
0
0
0
0
0
0
0
0.004926
0.171429
490
12
74
40.833333
0.87931
0
0
0
0
0
0.159184
0.159184
0
0
0
0
0.1
1
0.1
false
0
0.4
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
577a470ba11fe32482058ffcf2cb479048bf1edd
225
py
Python
pytest_wiremock/client/_endpoints_recordings.py
symonk/pytest-wiremock
372956418174adafadcb33ad38db121a049f7f2b
[ "MIT" ]
null
null
null
pytest_wiremock/client/_endpoints_recordings.py
symonk/pytest-wiremock
372956418174adafadcb33ad38db121a049f7f2b
[ "MIT" ]
7
2022-03-14T08:41:55.000Z
2022-03-28T18:01:22.000Z
pytest_wiremock/client/_endpoints_recordings.py
symonk/pytest-wiremock
372956418174adafadcb33ad38db121a049f7f2b
[ "MIT" ]
null
null
null
from pytest_wiremock.client._protocols import Requestable class RecordingsEndpoint: """ Facade into recordings. """ def __init__(self, dispatcher: Requestable) -> None: self.dispatcher = dispatcher
20.454545
57
0.706667
21
225
7.285714
0.809524
0.183007
0
0
0
0
0
0
0
0
0
0
0.208889
225
10
58
22.5
0.859551
0.102222
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
577bb57396f514053e074102a881fd95850ffb10
2,421
py
Python
cattledb/restserver/__init__.py
reiterd/cattledb
015214afa5c3b1e94b555b138334163068aaf982
[ "MIT" ]
1
2021-02-26T14:52:40.000Z
2021-02-26T14:52:40.000Z
cattledb/restserver/__init__.py
reiterd/cattledb
015214afa5c3b1e94b555b138334163068aaf982
[ "MIT" ]
6
2020-04-30T19:20:28.000Z
2021-03-09T15:10:50.000Z
cattledb/restserver/__init__.py
reiterd/cattledb
015214afa5c3b1e94b555b138334163068aaf982
[ "MIT" ]
5
2020-05-04T09:10:33.000Z
2021-07-20T15:04:50.000Z
#!/usr/bin/python # coding: utf-8 import logging import logging.config import os # def init_s_db(app, loop): # from ..directclient import AsyncCDBClient # config = app.cdb_config # # Setup DB # engine = config.ENGINE # engine_options = config.ENGINE_OPTIONS # read_only = config.READ_ONLY # ...
28.482353
103
0.683189
300
2,421
5.266667
0.273333
0.049367
0.036076
0.03038
0.150633
0.150633
0.150633
0.150633
0.150633
0.091139
0
0.00053
0.220157
2,421
84
104
28.821429
0.836335
0.51012
0
0
0
0
0.053866
0
0
0
0
0
0
1
0.066667
false
0
0.4
0
0.533333
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
577fd47b965937888726f733f3cb624153e8ca94
903
py
Python
controllers/db_index/db_index.py
gbf-labs/rh-api
317a812164ad8943ab638c06f61723cb928bfd12
[ "Apache-2.0" ]
null
null
null
controllers/db_index/db_index.py
gbf-labs/rh-api
317a812164ad8943ab638c06f61723cb928bfd12
[ "Apache-2.0" ]
6
2020-03-30T23:11:27.000Z
2022-03-12T00:21:45.000Z
controllers/db_index/db_index.py
gbf-labs/rh-api
317a812164ad8943ab638c06f61723cb928bfd12
[ "Apache-2.0" ]
null
null
null
# #====================================# # # AUTHOR: KRISFEN DUCAO # # #====================================# # # pylint: disable=too-few-public-methods # """DB Index""" # # from flask import jsonify, request # from library.MySQLDatabase import MySQLDatabase # from library.common import Common #...
27.363636
61
0.51495
87
903
5.229885
0.563218
0.052747
0.03956
0.079121
0.092308
0
0
0
0
0
0
0.018957
0.299003
903
32
62
28.21875
0.699842
0.887043
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
57923b460aac6fd777787b768d515643c8929f1a
4,727
py
Python
tests/test_colt.py
altescy/colt
934a129f97043614d163c8b22d45360564082818
[ "MIT" ]
18
2020-05-02T05:52:38.000Z
2022-01-04T05:18:54.000Z
tests/test_colt.py
altescy/colt
934a129f97043614d163c8b22d45360564082818
[ "MIT" ]
null
null
null
tests/test_colt.py
altescy/colt
934a129f97043614d163c8b22d45360564082818
[ "MIT" ]
null
null
null
from typing import Any, Dict, List, Optional, Set, Tuple, Union import colt @colt.register("foo") class Foo: def __init__(self, x: str) -> None: self.x = x @colt.register("bar") class Bar: def __init__(self, foos: List[Foo]) -> None: self.foos = foos @colt.register("baz") class Baz(Foo): ...
19.614108
67
0.51428
583
4,727
4.051458
0.102916
0.209992
0.249365
0.099069
0.488992
0.419136
0.359018
0.287045
0.214225
0.15453
0
0.007564
0.300825
4,727
240
68
19.695833
0.70711
0.008039
0
0.362573
0
0
0.079829
0
0
0
0
0
0.233918
1
0.116959
false
0
0.011696
0
0.181287
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
0
0
0
2
579e8b38e0fc3e88676dfde71b352a1aab9d9400
1,485
py
Python
tests/modules/matrix_attention/cosine_matrix_attention_test.py
MSLars/allennlp
2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475
[ "Apache-2.0" ]
11,433
2017-06-27T03:08:46.000Z
2022-03-31T18:14:33.000Z
tests/modules/matrix_attention/cosine_matrix_attention_test.py
MSLars/allennlp
2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475
[ "Apache-2.0" ]
4,006
2017-06-26T21:45:43.000Z
2022-03-31T02:11:10.000Z
tests/modules/matrix_attention/cosine_matrix_attention_test.py
MSLars/allennlp
2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475
[ "Apache-2.0" ]
2,560
2017-06-26T21:16:53.000Z
2022-03-30T07:55:46.000Z
import torch from numpy.testing import assert_almost_equal import numpy from allennlp.common import Params from allennlp.common.testing.test_case import AllenNlpTestCase from allennlp.modules.matrix_attention import CosineMatrixAttention from allennlp.modules.matrix_attention.matrix_attention import MatrixAttention ...
43.676471
103
0.659933
194
1,485
4.969072
0.438144
0.03112
0.052905
0.051867
0.151452
0.024896
0.024896
0.024896
0.024896
0
0
0.042328
0.236364
1,485
33
104
45
0.80776
0.297643
0
0
0
0
0.009681
0
0
0
0
0
0.105263
1
0.105263
false
0
0.368421
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
57abba9535da6ecc8806129afaaca112ee93836a
1,066
py
Python
pythonlib/randc_m.py
johnkerl/scripts-math
71b6c6617728290ce9643c80a75a402707ad1134
[ "BSD-2-Clause" ]
3
2019-01-11T20:56:22.000Z
2020-02-22T10:32:59.000Z
pythonlib/randc_m.py
johnkerl/scripts-math
71b6c6617728290ce9643c80a75a402707ad1134
[ "BSD-2-Clause" ]
null
null
null
pythonlib/randc_m.py
johnkerl/scripts-math
71b6c6617728290ce9643c80a75a402707ad1134
[ "BSD-2-Clause" ]
3
2018-01-12T00:55:16.000Z
2020-02-22T10:33:03.000Z
#!/usr/bin/python -Wall # ================================================================ # John Kerl # kerl.john.r@gmail.com # 2008-02-06 # # Pseudorandom scalar-complex routines layered on top of Python's (real) # random module. # ================================================================ from __future__ imp...
28.810811
72
0.4803
130
1,066
3.846154
0.446154
0.016
0.076
0.08
0.18
0.124
0.124
0.124
0.124
0
0
0.069694
0.111632
1,066
36
73
29.611111
0.458289
0.499062
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
57b0076f6c21256a7ae8cf2e33572cc08199bebf
668
py
Python
Python/07 - Collections/Piling Up!.py
sohammanjrekar/HackerRank
1f5010133a1ac1e765e855a086053c97d9e958be
[ "MIT" ]
null
null
null
Python/07 - Collections/Piling Up!.py
sohammanjrekar/HackerRank
1f5010133a1ac1e765e855a086053c97d9e958be
[ "MIT" ]
null
null
null
Python/07 - Collections/Piling Up!.py
sohammanjrekar/HackerRank
1f5010133a1ac1e765e855a086053c97d9e958be
[ "MIT" ]
null
null
null
""" Author: Eda AYDIN """ T = int(input()) answer = [] for i in range(T): size = int(input()) blocks = list(map(int, input().split())) for j in range(size - 1): if blocks[0] >= blocks[len(blocks) - 1]: a = blocks[0] blocks.pop(0) elif blocks[0] < blo...
22.266667
61
0.449102
84
668
3.571429
0.404762
0.18
0.2
0.213333
0.256667
0.2
0.2
0.2
0
0
0
0.029056
0.381737
668
29
62
23.034483
0.697337
0.025449
0
0
0
0
0.011401
0
0
0
0
0
0
1
0
false
0.05
0
0
0
0.05
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
57b189cda242ff754e1ef4ccfda9cfc632d9cd6f
3,807
py
Python
src/libs/core/register/test.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
src/libs/core/register/test.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
src/libs/core/register/test.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
# All rights reserved by forest fairy. # You cannot modify or share anything without sacrifice. # If you don't agree, keep calm and don't look at code bellow! __author__ = "VirtualV <https://github.com/virtualvfix>" __date__ = "09/27/17 14:58" from .base import Base class Test(Base): """ Test default config...
39.65625
111
0.697662
481
3,807
5.392931
0.39501
0.020817
0.050116
0.063608
0.19468
0.17926
0.097918
0.097918
0.097918
0.097918
0
0.012032
0.214079
3,807
95
112
40.073684
0.854947
0.572629
0
0
0
0
0.164331
0.01465
0
0
0
0
0
1
0.026316
false
0.052632
0.026316
0
0.921053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
57c5301117d21c5f8fe448d32008528e7bc9ce5e
1,146
py
Python
api/controllers/blogs.py
rwolande/site_api
6de42936789c75ffc3896f1fd3f2cb3e91e02862
[ "MIT" ]
null
null
null
api/controllers/blogs.py
rwolande/site_api
6de42936789c75ffc3896f1fd3f2cb3e91e02862
[ "MIT" ]
null
null
null
api/controllers/blogs.py
rwolande/site_api
6de42936789c75ffc3896f1fd3f2cb3e91e02862
[ "MIT" ]
null
null
null
import datetime from flask import Flask, current_app from flask import request from flask import jsonify from flask_restful import Resource, Api, reqparse, HTTPException from flask_mysqldb import MySQL from flask import g import hashlib import uuid #import db_query_select, db_query_update from api.controllers.base im...
28.65
92
0.782723
159
1,146
5.433962
0.402516
0.0625
0.069444
0.104167
0.351852
0.291667
0.231481
0.231481
0.162037
0.162037
0
0.00402
0.131763
1,146
40
93
28.65
0.864322
0.04363
0
0.142857
0
0
0.06484
0
0
0
0
0
0
1
0.071429
false
0
0.464286
0
0.678571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
57d5e116a70b9e13387063235117c56f8a3403a8
195
py
Python
Python/OOP/InitClass.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
148
2017-08-03T01:49:27.000Z
2022-03-26T10:39:30.000Z
Python/OOP/InitClass.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
3
2017-11-23T19:52:05.000Z
2020-04-01T00:44:40.000Z
Python/OOP/InitClass.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
59
2017-08-03T01:49:19.000Z
2022-03-31T23:24:38.000Z
class A(object): def __init__(self): print("init") def __call__(self): print("call ") a = A() #imprime init A() #imprime call #https://pt.stackoverflow.com/q/109813/101
17.727273
42
0.605128
27
195
4.074074
0.592593
0.163636
0
0
0
0
0
0
0
0
0
0.059603
0.225641
195
10
43
19.5
0.668874
0.333333
0
0
0
0
0.070866
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0.285714
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
0
0
0
2
57d70e7b5662a64f5e7b588dd5794a90a3b9b81b
216
py
Python
lang/py/cookbook/v2/source/cb2_1_17_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_17_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_1_17_exm_4.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
Dear Fred Smith, I hope you are having a great time. If you do not find Room 307 to your satisfaction, let us know. Please accept this $5 coupon. Sincerely, Barney Mills SleepyInn
27
49
0.648148
33
216
4.242424
0.969697
0
0
0
0
0
0
0
0
0
0
0.027211
0.319444
216
7
50
30.857143
0.92517
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
57f3e82c06de4b980109c7355cd576f406587f76
765
py
Python
tutorial/tables.py
VladyslavHnatchenko/django-locallibrary-tutorial
948088d18331383d34481874360eb22ae3dd3ac4
[ "CC0-1.0" ]
null
null
null
tutorial/tables.py
VladyslavHnatchenko/django-locallibrary-tutorial
948088d18331383d34481874360eb22ae3dd3ac4
[ "CC0-1.0" ]
null
null
null
tutorial/tables.py
VladyslavHnatchenko/django-locallibrary-tutorial
948088d18331383d34481874360eb22ae3dd3ac4
[ "CC0-1.0" ]
null
null
null
import django_tables2 as tables from catalog.models import Book, Genre, Language, Author from .models import Person class PersonTable(tables.Table): class Meta: model = Person template_name = "django_tables2/bootstrap.html" class BookTable(tables.Table): class Meta: model = Book ...
21.857143
56
0.691503
87
765
5.954023
0.298851
0.150579
0.15444
0.19305
0.646718
0.405405
0.332046
0
0
0
0
0.010187
0.230065
765
34
57
22.5
0.86927
0
0
0.434783
0
0
0.189542
0.189542
0
0
0
0
0
1
0
false
0
0.130435
0
0.565217
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
17aad1ccef84917ec85e6e01fc123f1392cabcc4
1,858
py
Python
src/gallery/models.py
pfskiev/lisbon
c756d0cd2f8fd2405c7123dab029748da75b6e5b
[ "MIT" ]
null
null
null
src/gallery/models.py
pfskiev/lisbon
c756d0cd2f8fd2405c7123dab029748da75b6e5b
[ "MIT" ]
1
2017-11-07T09:09:28.000Z
2017-11-07T09:09:28.000Z
src/gallery/models.py
pfskiev/lisbon
c756d0cd2f8fd2405c7123dab029748da75b6e5b
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import ugettext as _ from django.core.urlresolvers import reverse class Gallery(models.Model): title_PT = models.CharField(_('Title PT'), max_length=100, blank=True, null=False) title_EN = models.CharField(_('Title EN'), max_length=100, blank=True, nu...
46.45
101
0.698062
256
1,858
4.84375
0.230469
0.108871
0.094355
0.130645
0.542742
0.354839
0.324194
0.250806
0
0
0
0.027406
0.155544
1,858
39
102
47.641026
0.762906
0
0
0.064516
0
0
0.109257
0
0
0
0
0
0
1
0.16129
false
0
0.096774
0.16129
0.967742
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
17c5063a81cc8f6a2536a35b326364ce7821faf8
252
py
Python
fs/expose/wsgi/serve_home.py
jwilk-forks/pyfilesystem
44573f70e72b2cf378ee20d1c8bc2084ba975e16
[ "BSD-3-Clause" ]
314
2015-04-11T10:52:26.000Z
2022-01-26T07:00:30.000Z
fs/expose/wsgi/serve_home.py
jwilk-forks/pyfilesystem
44573f70e72b2cf378ee20d1c8bc2084ba975e16
[ "BSD-3-Clause" ]
94
2015-04-11T10:43:16.000Z
2021-10-06T11:21:26.000Z
fs/expose/wsgi/serve_home.py
jwilk-forks/pyfilesystem
44573f70e72b2cf378ee20d1c8bc2084ba975e16
[ "BSD-3-Clause" ]
95
2015-04-21T02:13:20.000Z
2021-11-26T05:07:59.000Z
from wsgiref.simple_server import make_server from fs.osfs import OSFS from wsgi import serve_fs osfs = OSFS('~/') application = serve_fs(osfs) httpd = make_server('', 8000, application) print "Serving on http://127.0.0.1:8000" httpd.serve_forever()
22.909091
45
0.757937
40
252
4.625
0.525
0.097297
0.118919
0
0
0
0
0
0
0
0
0.063063
0.119048
252
10
46
25.2
0.77027
0
0
0
0
0
0.134921
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
17cd8a2c1d841b0f6183ee1b877076e54ecbc5ac
1,161
py
Python
cornflow-server/cornflow/endpoints/token.py
ggsdc/corn
4c17c46a70f95b8882bcb6a55ef7daa1f69e0456
[ "MIT" ]
2
2020-07-09T20:58:47.000Z
2020-07-20T20:40:46.000Z
cornflow-server/cornflow/endpoints/token.py
baobabsoluciones/cornflow
bd7cae22107e5fe148704d5f41d4f58f9c410b40
[ "Apache-2.0" ]
2
2022-03-31T08:42:10.000Z
2022-03-31T12:05:23.000Z
cornflow-server/cornflow/endpoints/token.py
ggsdc/corn
4c17c46a70f95b8882bcb6a55ef7daa1f69e0456
[ "MIT" ]
null
null
null
# Import from libraries from cornflow_core.resources import BaseMetaResource from flask import request from flask_apispec import marshal_with, doc # Import from internal modules from ..schemas.user import TokenEndpointResponse from cornflow_core.exceptions import InvalidCredentials, ObjectDoesNotExist from ..shared.au...
33.171429
116
0.699397
136
1,161
5.794118
0.507353
0.025381
0.040609
0.053299
0
0
0
0
0
0
0
0.008743
0.211886
1,161
34
117
34.147059
0.852459
0.198966
0
0
0
0
0.040495
0
0
0
0
0
0
1
0.095238
false
0
0.333333
0
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
17d02881a63ce6e2bc4387798ca8fdada32ab815
1,043
py
Python
graph.py
gaagusac/Descendente
04203c59e552f53bc9b6decba7deaf926b77487b
[ "MIT" ]
null
null
null
graph.py
gaagusac/Descendente
04203c59e552f53bc9b6decba7deaf926b77487b
[ "MIT" ]
null
null
null
graph.py
gaagusac/Descendente
04203c59e552f53bc9b6decba7deaf926b77487b
[ "MIT" ]
null
null
null
import node import graphviz dot = graphviz.Graph(format="png") def create_gv(root: node.Node): if not root: return # print(root.token) label = '' if root.token == '+' \ or root.token == '-' \ or root.token == '*' \ or root.token == '/' \ or root.token == '(...
29.8
83
0.53116
139
1,043
3.964029
0.352518
0.245009
0.15971
0.163339
0.136116
0.136116
0.136116
0.136116
0.136116
0.136116
0
0
0.290508
1,043
35
84
29.8
0.744595
0.016299
0
0
0
0.032258
0.15338
0
0
0
0
0
0
1
0.064516
false
0
0.064516
0
0.129032
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
17de285b79f7ce5889ee49d69849e9ed170c16b4
2,825
py
Python
ven2/lib/python2.7/site-packages/zope/container/sample.py
manliu1225/Facebook_crawler
0f75a1c4382dd4effc3178d84b99b0cad97337cd
[ "Apache-2.0" ]
3
2019-03-29T19:49:05.000Z
2021-02-05T07:27:16.000Z
ven2/lib/python2.7/site-packages/zope/container/sample.py
manliu1225/Facebook_crawler
0f75a1c4382dd4effc3178d84b99b0cad97337cd
[ "Apache-2.0" ]
32
2015-05-20T07:21:45.000Z
2021-11-19T16:01:16.000Z
ven2/lib/python2.7/site-packages/zope/container/sample.py
manliu1225/Facebook_crawler
0f75a1c4382dd4effc3178d84b99b0cad97337cd
[ "Apache-2.0" ]
8
2015-04-03T08:28:25.000Z
2021-09-14T08:33:21.000Z
############################################################################## # # Copyright (c) 2001, 2002 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # TH...
31.388889
78
0.643894
315
2,825
5.555556
0.406349
0.054857
0.104
0.128
0.168
0.147429
0.075429
0
0
0
0
0.004474
0.20885
2,825
89
79
31.741573
0.778523
0.467965
0
0
0
0
0.013019
0
0
0
0
0
0
1
0.375
false
0
0.09375
0.03125
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
aa17bb97b5f1a95b555df6adaee73c4b45594580
514
py
Python
draugr/torch_utilities/tensors/__init__.py
cnHeider/draugr
b95e0bb1fa5efa581bfb28ff604f296ed2e6b7d6
[ "Apache-2.0" ]
3
2019-09-27T08:04:59.000Z
2020-12-02T06:14:45.000Z
draugr/torch_utilities/tensors/__init__.py
cnHeider/draugr
b95e0bb1fa5efa581bfb28ff604f296ed2e6b7d6
[ "Apache-2.0" ]
64
2019-09-27T08:03:42.000Z
2022-03-28T15:07:30.000Z
draugr/torch_utilities/tensors/__init__.py
cnHeider/draugr
b95e0bb1fa5efa581bfb28ff604f296ed2e6b7d6
[ "Apache-2.0" ]
1
2020-10-01T00:18:57.000Z
2020-10-01T00:18:57.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = "Christian Heider Nielsen" __doc__ = r""" Created on 21/02/2020 """ from pathlib import Path with open(Path(__file__).parent / "README.md", "r") as this_init_file: __doc__ += this_init_file.read() from .info import * from .mixins...
21.416667
70
0.684825
70
514
4.685714
0.614286
0.243902
0.073171
0
0
0
0
0
0
0
0
0.024155
0.194553
514
23
71
22.347826
0.768116
0.083658
0
0
0
0
0.170576
0
0
0
0
0
0
1
0
false
0
0.625
0
0.625
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
aa1c1d4629d64a70b5f6a286f9f65ffb187c40f2
1,699
py
Python
x-archive-temp/hw10/tests/q2.py
UCBerkeley-SCET/DataX-Berkeley
f912d22c838b511d3ada4ecfa3548afd80437b74
[ "Apache-2.0" ]
28
2020-06-15T23:53:36.000Z
2022-03-19T09:27:02.000Z
x-archive-temp/hw10/tests/q2.py
UCBerkeley-SCET/DataX-Berkeley
f912d22c838b511d3ada4ecfa3548afd80437b74
[ "Apache-2.0" ]
4
2020-06-24T22:20:31.000Z
2022-02-28T01:37:36.000Z
x-archive-temp/hw10/tests/q2.py
UCBerkeley-SCET/DataX-Berkeley
f912d22c838b511d3ada4ecfa3548afd80437b74
[ "Apache-2.0" ]
78
2020-06-19T09:41:01.000Z
2022-02-05T00:13:29.000Z
test = { 'name': 'q2', 'points': 6, 'suites': [ { 'cases': [ {'code': ">>> model.get_layer(index=0).output_shape[1] \n" '300', 'hidden': False, 'locked': False}, {'code': ">>> model.get_layer(inde...
51.484848
139
0.26957
103
1,699
4.330097
0.349515
0.121076
0.161435
0.2287
0.55157
0.502242
0.502242
0.502242
0.502242
0.403587
0
0.033094
0.590936
1,699
32
140
53.09375
0.608633
0
0
0.387097
0
0
0.274279
0.154208
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
aa2b15a620300734ab6b405a475d9c4850f39849
3,589
py
Python
matrix.py
aashish2000/object_det_3d_server
dfda7ad9725b9f39afdeb49791051b15a9282089
[ "MIT" ]
null
null
null
matrix.py
aashish2000/object_det_3d_server
dfda7ad9725b9f39afdeb49791051b15a9282089
[ "MIT" ]
null
null
null
matrix.py
aashish2000/object_det_3d_server
dfda7ad9725b9f39afdeb49791051b15a9282089
[ "MIT" ]
null
null
null
import numpy as np def projection_mat(file_path): with open(file_path,"r") as f: content = f.readlines() extrinsic = np.transpose(np.reshape(np.fromstring(content[1].strip()[2:-2], sep=", ").astype(np.float32),(-1,4))) extrinsic *= np.array([ [ 1.0, -1.0, -1.0, 1.0], [-1.0, 1.0, 1...
42.72619
190
0.674004
554
3,589
4.287004
0.148014
0.189895
0.156632
0.025263
0.649263
0.560421
0.560421
0.509895
0.509895
0.487158
0
0.343408
0.133463
3,589
83
191
43.240964
0.420257
0.424631
0
0.555556
0
0
0.002943
0
0
0
0
0
0
1
0.055556
false
0
0.027778
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
aa323e1eb4195e117a74365893fd92ac49aa70ef
513
py
Python
tests/tests/test_conditions.py
TodWell/ButtonBob
486816d59f1e698306c611d44a8e8bff1432a81f
[ "MIT" ]
null
null
null
tests/tests/test_conditions.py
TodWell/ButtonBob
486816d59f1e698306c611d44a8e8bff1432a81f
[ "MIT" ]
null
null
null
tests/tests/test_conditions.py
TodWell/ButtonBob
486816d59f1e698306c611d44a8e8bff1432a81f
[ "MIT" ]
null
null
null
import unittest from BobsConditions import FooEqual, FooDifference class MyTestCase(unittest.TestCase): def test_something(self): condition_1 = FooEqual('test_foo_equal', None, 12) condition_2 = FooDifference('test_foo_difference', None, 10) conditions = [ condition_1, ...
23.318182
68
0.641326
53
513
5.811321
0.54717
0.12987
0.185065
0.194805
0.194805
0.194805
0.194805
0.194805
0
0
0
0.032345
0.276803
513
21
69
24.428571
0.797844
0
0
0
0
0
0.079922
0
0
0
0
0
0.066667
1
0.066667
false
0
0.133333
0
0.266667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
aa46e36e66d835ded2518d58345d3ae0f71e335a
5,967
py
Python
hatsploit/core/db/importer.py
enty8080/HatSplo
57ea81c2bc73838cbf7d7062d7e665eda1143d18
[ "MIT" ]
null
null
null
hatsploit/core/db/importer.py
enty8080/HatSplo
57ea81c2bc73838cbf7d7062d7e665eda1143d18
[ "MIT" ]
null
null
null
hatsploit/core/db/importer.py
enty8080/HatSplo
57ea81c2bc73838cbf7d7062d7e665eda1143d18
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # MIT License # # Copyright (c) 2020-2021 EntySec # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to...
40.04698
113
0.633819
693
5,967
5.282828
0.255411
0.027315
0.019667
0.0295
0.301011
0.301011
0.301011
0.294455
0.257034
0.210052
0
0.0028
0.281716
5,967
148
114
40.317568
0.851377
0.182001
0
0.247706
0
0
0.061149
0.004324
0
0
0
0
0
1
0.082569
false
0.009174
0.330275
0
0.541284
0.045872
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a4ac10dae975b9164d133594e1fce752a2a9f29c
95
py
Python
tests/prueba_multyield.py
ADCenterNetwork/discern
29188cc12d00319d6687d853e0f361ac3661f920
[ "Apache-2.0" ]
1
2021-02-17T09:55:32.000Z
2021-02-17T09:55:32.000Z
tests/prueba_multyield.py
ADCenterNetwork/discern
29188cc12d00319d6687d853e0f361ac3661f920
[ "Apache-2.0" ]
4
2020-11-17T10:31:26.000Z
2020-12-01T09:06:46.000Z
tests/prueba_multyield.py
ADCenterNetwork/discern
29188cc12d00319d6687d853e0f361ac3661f920
[ "Apache-2.0" ]
2
2020-11-17T07:05:02.000Z
2020-11-17T09:44:22.000Z
def generator(num): if num < 0: yield 'negativo' else: yield 'positivo'
19
24
0.536842
11
95
4.636364
0.818182
0
0
0
0
0
0
0
0
0
0
0.016393
0.357895
95
5
25
19
0.819672
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a4ae315bb6a936f2e1127ead3a61bc04eb8068f0
2,293
py
Python
rl_bolts/_nbdev.py
jfpettit/rl_bolts
c3c3b3f91ee192048912fd48f2655b46526918a7
[ "Apache-2.0" ]
2
2020-11-11T13:40:30.000Z
2021-03-16T01:38:01.000Z
rl_bolts/_nbdev.py
jfpettit/rl_bolts
c3c3b3f91ee192048912fd48f2655b46526918a7
[ "Apache-2.0" ]
null
null
null
rl_bolts/_nbdev.py
jfpettit/rl_bolts
c3c3b3f91ee192048912fd48f2655b46526918a7
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"color2num": "00_utils.ipynb", "colorize": "00_utils.ipynb", "calc_logstd_anneal": "00_utils.ipynb", "save_frames_as_gif": "00_utils.ipynb", "conv2d_output_size": "00_utils...
39.534483
61
0.619712
251
2,293
5.294821
0.374502
0.052671
0.090293
0.127916
0.234763
0.040632
0
0
0
0
0
0.047565
0.22983
2,293
57
62
40.22807
0.704983
0.0157
0
0
1
0
0.615965
0.108647
0
0
0
0
0
1
0.02
false
0
0
0.02
0.02
0.02
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a4b317444b88bb7d10e5414597351e5d5549945f
191
py
Python
digit_sum.py
jyoti140220/function_logical_quetion_python
50e3da10e0cc02cb78e5d429f2c87c0a171bd693
[ "MIT" ]
null
null
null
digit_sum.py
jyoti140220/function_logical_quetion_python
50e3da10e0cc02cb78e5d429f2c87c0a171bd693
[ "MIT" ]
null
null
null
digit_sum.py
jyoti140220/function_logical_quetion_python
50e3da10e0cc02cb78e5d429f2c87c0a171bd693
[ "MIT" ]
null
null
null
def sumofdigits(number): sum = 0 modulus = 0 while number!=0 : modulus = number%10 sum+=modulus number/=10 return sum print(sumofdigits(123))
19.1
28
0.549738
22
191
4.772727
0.5
0.152381
0.285714
0
0
0
0
0
0
0
0
0.081301
0.356021
191
10
29
19.1
0.772358
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0.111111
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a4b60b62cd1ef8d8caa730049e1b6fc6a42405b4
1,791
py
Python
NewYorkTimesHeadlineScaper.py
PatelProjects/New-York-Times-Headline-Scaper
14b3af102990d056a57e39cd8e3bf7512ff7d707
[ "MIT" ]
null
null
null
NewYorkTimesHeadlineScaper.py
PatelProjects/New-York-Times-Headline-Scaper
14b3af102990d056a57e39cd8e3bf7512ff7d707
[ "MIT" ]
null
null
null
NewYorkTimesHeadlineScaper.py
PatelProjects/New-York-Times-Headline-Scaper
14b3af102990d056a57e39cd8e3bf7512ff7d707
[ "MIT" ]
null
null
null
import requests from bs4 import BeautifulSoup print("Running...") base_url = 'http://www.nytimes.com' r = requests.get(base_url) soup = BeautifulSoup(r.text.encode("utf-8", "ignore"), "lxml") def replaceIt(string1): string2 = string1.replace('\\xe2\\x80\\x99', "'"). \ replace('\\xc3\\xa9', 'e'). \ ...
34.442308
116
0.46622
193
1,791
4.284974
0.393782
0.314389
0.330109
0.038694
0.241838
0.171705
0.171705
0
0
0
0
0.085837
0.21943
1,791
52
117
34.442308
0.505722
0
0
0.097561
0
0
0.290341
0
0
0
0
0
0
1
0.02439
false
0
0.04878
0
0.097561
0.097561
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
0
0
2
a4c0e0a59c799e55b0a5a36676c153f4228eb181
1,536
py
Python
cbuild/core/paths.py
ismith/cports
9fe76e231872e0b03b425252b5fc5e1d9af2a6d8
[ "BSD-2-Clause" ]
null
null
null
cbuild/core/paths.py
ismith/cports
9fe76e231872e0b03b425252b5fc5e1d9af2a6d8
[ "BSD-2-Clause" ]
null
null
null
cbuild/core/paths.py
ismith/cports
9fe76e231872e0b03b425252b5fc5e1d9af2a6d8
[ "BSD-2-Clause" ]
null
null
null
# Provides current locations of all the global paths. import pathlib _stage = 2 def init(distdir, masterdir, hostdir): global _ddir, _mdir, _hdir, _srcs, _cbdir cwd = pathlib.Path.cwd() _ddir = pathlib.Path(distdir) _mdir = (cwd / masterdir).resolve() _hdir = (cwd / hostdir).resolve() _srcs...
23.630769
69
0.61849
181
1,536
5.055249
0.303867
0.053552
0.084153
0.137705
0.196721
0.196721
0.078689
0
0
0
0
0.002573
0.240885
1,536
64
70
24
0.782161
0.044922
0
0.042553
0
0
0.094262
0.014344
0
0
0
0
0
1
0.212766
false
0
0.021277
0.106383
0.382979
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
a4ca928bce026d448fb501c5dd5bc18187cb7a98
378
py
Python
118-Pascals-Triangle/solution.py
alfmunny/leetcode
e35d2164c7e6e66410309fe1667ceab5a7689bef
[ "MIT" ]
null
null
null
118-Pascals-Triangle/solution.py
alfmunny/leetcode
e35d2164c7e6e66410309fe1667ceab5a7689bef
[ "MIT" ]
null
null
null
118-Pascals-Triangle/solution.py
alfmunny/leetcode
e35d2164c7e6e66410309fe1667ceab5a7689bef
[ "MIT" ]
null
null
null
class Solution: def generate(self, numRows: int) -> List[List[int]]: ans = [] for i in range(1, numRows+1): level = [1] * i if ans: for j in range(1, i-1): level[j] = ans[-1][j-1] + ans[-1][j] ...
25.2
56
0.365079
44
378
3.136364
0.431818
0.086957
0.115942
0
0
0
0
0
0
0
0
0.043011
0.507937
378
14
57
27
0.698925
0
0
0
1
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a4d2ecad6e68546c31cce7a32128bf2585a472b3
1,273
py
Python
datalite3/constraints.py
afdaniele/datalite3
7a9eec56c42078001f141862e4e9fef5a9785374
[ "MIT" ]
null
null
null
datalite3/constraints.py
afdaniele/datalite3
7a9eec56c42078001f141862e4e9fef5a9785374
[ "MIT" ]
null
null
null
datalite3/constraints.py
afdaniele/datalite3
7a9eec56c42078001f141862e4e9fef5a9785374
[ "MIT" ]
null
null
null
""" datalite3.constraints module introduces constraint types that can be used to hint field variables, that can be used to signal datalite decorator constraints in the database. """ from typing import TypeVar, Union, Tuple, List T = TypeVar('T') # TODO: starting with Python 3.9 the Annotated type is avai...
30.309524
97
0.697565
190
1,273
4.673684
0.494737
0.022523
0.030405
0.029279
0.234234
0.20045
0.20045
0.20045
0.20045
0.20045
0
0.003106
0.241163
1,273
41
98
31.04878
0.916149
0.596229
0
0
0
0
0.005181
0
0
0
0
0.02439
0
1
0
false
0.166667
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
a4d7c88c351a81b03d8a29817f3249ff44c4bf51
894
py
Python
cleaning/partition_domains_fixed_block_size.py
AGLDWG/ld-link-harvester
64f33cc7ddb36069d0e0e3f3c9529aab88ef9ddc
[ "Apache-2.0" ]
null
null
null
cleaning/partition_domains_fixed_block_size.py
AGLDWG/ld-link-harvester
64f33cc7ddb36069d0e0e3f3c9529aab88ef9ddc
[ "Apache-2.0" ]
null
null
null
cleaning/partition_domains_fixed_block_size.py
AGLDWG/ld-link-harvester
64f33cc7ddb36069d0e0e3f3c9529aab88ef9ddc
[ "Apache-2.0" ]
null
null
null
import pandas as pd IN_FILE = 'aus-domain-urls.txt' START_IDX = 1186 BLOCK_SIZE = 100 OUT_FILE_PREFIX = 'partition_data/aus-domain-urls' data = pd.read_csv(IN_FILE) data_length = len(data) for i in range(int(data_length - START_IDX / BLOCK_SIZE)): if i == 0: lower_bound = START_IDX else: lower...
37.25
113
0.689038
134
894
4.216418
0.328358
0.176991
0.212389
0.176991
0.538053
0.538053
0.538053
0.538053
0.467257
0.467257
0
0.012278
0.180089
894
23
114
38.869565
0.758527
0
0
0.2
0
0
0.090705
0.033595
0
0
0
0
0
1
0
false
0
0.05
0
0.05
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a4e7e26830d75cfeb916ab899e5f6822a76298bc
456
py
Python
commerce/auctions/admin.py
CM-MORRIS/commerce
440814944bd1ed410bd47a8ef95a620b05571e95
[ "MIT" ]
null
null
null
commerce/auctions/admin.py
CM-MORRIS/commerce
440814944bd1ed410bd47a8ef95a620b05571e95
[ "MIT" ]
null
null
null
commerce/auctions/admin.py
CM-MORRIS/commerce
440814944bd1ed410bd47a8ef95a620b05571e95
[ "MIT" ]
1
2020-11-23T10:46:48.000Z
2020-11-23T10:46:48.000Z
from django.contrib import admin from .models import User, Listings, Bids, Comments, Watchlist # admin user interface can be used to view, add, edit, delete from tables # Use 'python manage.py createsuperuser' to create a superuser logged_in_user # access admin page using '/admin' # Register your models here. admin.s...
32.571429
77
0.79386
67
456
5.373134
0.567164
0.125
0.236111
0
0
0
0
0
0
0
0
0
0.118421
456
13
78
35.076923
0.895522
0.453947
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
a4ec58e5c69ce3036ff25ef5cd79b200eead7b8d
16,829
py
Python
tr/books/volumes/V_20000LeaguesUnderTheSea.py
hegistva/sync-reader
2eceba5b1fd572b077a039ca20fac5c2da4d8a26
[ "MIT" ]
null
null
null
tr/books/volumes/V_20000LeaguesUnderTheSea.py
hegistva/sync-reader
2eceba5b1fd572b077a039ca20fac5c2da4d8a26
[ "MIT" ]
null
null
null
tr/books/volumes/V_20000LeaguesUnderTheSea.py
hegistva/sync-reader
2eceba5b1fd572b077a039ca20fac5c2da4d8a26
[ "MIT" ]
null
null
null
from tr.libs.trans import utils from tr.books.books import AUDIO_FILE, AUDIO_START, AUDIO_STOP, AUTHOR, TRANSLATIONS, CHAPTERS, FIRST_LINE, LAST_LINE, TITLE, URL, IDX VOLUME = { '20000LeaguesUnderTheSea': { AUTHOR: 'Jules Verne', TRANSLATIONS: { utils.Lang.FRA: { TITLE: ...
145.077586
186
0.648464
2,564
16,829
3.942668
0.119345
0.084578
0.111584
0.158077
0.415966
0.405579
0.390642
0.384509
0.38352
0.33485
0
0.240792
0.201438
16,829
116
187
145.077586
0.511422
0
0
0.017391
0
0
0.315686
0.210814
0
0
0
0
0
1
0
false
0
0.017391
0
0.017391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
35137028de5afc78e98164bb5b3455f0ed46f77b
848
py
Python
tests/unit/test_path_resolver.py
verdimrc/aws-lambda-builders
67f42dd936fd4f0c517c38acb8b6a170156549ec
[ "Apache-2.0" ]
1
2020-07-21T20:16:12.000Z
2020-07-21T20:16:12.000Z
tests/unit/test_path_resolver.py
verdimrc/aws-lambda-builders
67f42dd936fd4f0c517c38acb8b6a170156549ec
[ "Apache-2.0" ]
1
2020-06-26T12:36:39.000Z
2020-06-26T12:36:39.000Z
tests/unit/test_path_resolver.py
verdimrc/aws-lambda-builders
67f42dd936fd4f0c517c38acb8b6a170156549ec
[ "Apache-2.0" ]
1
2020-06-22T23:28:24.000Z
2020-06-22T23:28:24.000Z
from unittest import TestCase import os import mock from aws_lambda_builders import utils from aws_lambda_builders.path_resolver import PathResolver class TestPathResolver(TestCase): def setUp(self): self.path_resolver = PathResolver(runtime="chitti2.0", binary="chitti") def test_inits(self): ...
31.407407
79
0.714623
106
848
5.5
0.40566
0.144082
0.164666
0.123499
0.164666
0
0
0
0
0
0
0.005839
0.192217
848
26
80
32.615385
0.845255
0
0
0
0
0
0.042453
0
0
0
0
0
0.210526
1
0.210526
false
0
0.263158
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
351a11fa19556bbbcde3efa3b0e667c48ec964c9
136
py
Python
spydr/__init__.py
nkpydev/SimpleWebCrawler
e634cb2710633295559aed0e22d57211b22a359f
[ "MIT" ]
null
null
null
spydr/__init__.py
nkpydev/SimpleWebCrawler
e634cb2710633295559aed0e22d57211b22a359f
[ "MIT" ]
null
null
null
spydr/__init__.py
nkpydev/SimpleWebCrawler
e634cb2710633295559aed0e22d57211b22a359f
[ "MIT" ]
null
null
null
__version__ = "1.0.1" __author__ = "nkpydev" __program__ = "SimpleWebCrawler" __desc__ = "Simple Pythonic implementation of Web Crawler"
34
58
0.779412
15
136
6
0.933333
0
0
0
0
0
0
0
0
0
0
0.025
0.117647
136
4
58
34
0.725
0
0
0
0
0
0.532847
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
351eba827fa79043f2784d6a27fb01097750da16
3,272
py
Python
src/location/migrations/0001_initial.py
ApetEat/Public-Holidays-API
01fb19a1c2d48fa572bf42eae3712e417e32643c
[ "Apache-2.0" ]
null
null
null
src/location/migrations/0001_initial.py
ApetEat/Public-Holidays-API
01fb19a1c2d48fa572bf42eae3712e417e32643c
[ "Apache-2.0" ]
null
null
null
src/location/migrations/0001_initial.py
ApetEat/Public-Holidays-API
01fb19a1c2d48fa572bf42eae3712e417e32643c
[ "Apache-2.0" ]
1
2018-02-06T19:19:17.000Z
2018-02-06T19:19:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-08-14 11:24 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Cre...
41.948718
115
0.57121
321
3,272
5.647975
0.224299
0.091009
0.101489
0.114727
0.702151
0.667954
0.667954
0.667954
0.667954
0.667954
0
0.014194
0.289425
3,272
77
116
42.493506
0.765591
0.021088
0
0.565217
1
0
0.114375
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.101449
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3529e7cbaf349fa2683948c6045bbaf3c3d7ae71
32,699
py
Python
data/descr_stats.py
psychoinformatics-de/paper-f1000_gumpemotions
fb51348a8e12e5680da5053b1b42f02f3cd56178
[ "CC0-1.0" ]
1
2020-10-28T14:40:13.000Z
2020-10-28T14:40:13.000Z
data/descr_stats.py
psychoinformatics-de/paper-f1000_gumpemotions
fb51348a8e12e5680da5053b1b42f02f3cd56178
[ "CC0-1.0" ]
null
null
null
data/descr_stats.py
psychoinformatics-de/paper-f1000_gumpemotions
fb51348a8e12e5680da5053b1b42f02f3cd56178
[ "CC0-1.0" ]
1
2017-05-13T12:47:04.000Z
2017-05-13T12:47:04.000Z
#!/usr/bin/python # # This script generates summary statistics and raw plots for the data note # associated with the annotations of portrayed emotions in the movie # Forrest Gump. It is intended to serve as a more detailed description # of the employed analysis and aggregation procedures than what is possible # to conv...
37.498853
139
0.57858
4,019
32,699
4.596417
0.167455
0.019488
0.012992
0.013533
0.40616
0.345098
0.310561
0.258431
0.220863
0.214421
0
0.014397
0.288419
32,699
871
140
37.541906
0.779526
0.1093
0
0.292724
1
0.001692
0.137472
0.048359
0
0
0
0
0
0
null
null
0.003384
0.023689
null
null
0.069374
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
35389b1dda431883462d43a53b81c827ace9b7c6
1,470
py
Python
setup.py
lazy-scrivener-games/libris
1e791da2a876076d390aa1e7281ad4324b0bb3f4
[ "MIT" ]
null
null
null
setup.py
lazy-scrivener-games/libris
1e791da2a876076d390aa1e7281ad4324b0bb3f4
[ "MIT" ]
2
2021-11-18T14:08:17.000Z
2022-01-03T19:51:53.000Z
setup.py
lazy-scrivener-games/libris
1e791da2a876076d390aa1e7281ad4324b0bb3f4
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='libris', version='1.1.0', description='PDF generator that uses Markdown sources.', url='https://github.com/lazy-scrivener-games/libris', download_url='https://github.com/lazy-scrivener-games/libris/archive/refs/tags/v1.1.tar.gz', author='Chris Muller', ...
27.735849
96
0.534014
149
1,470
5.241611
0.604027
0.121639
0.160051
0.166453
0.104994
0.104994
0.104994
0.104994
0
0
0
0.040658
0.297279
1,470
52
97
28.269231
0.715392
0
0
0.096154
0
0.019231
0.546259
0.019048
0
0
0
0
0
1
0
true
0
0.019231
0
0.019231
0.019231
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3544cd77439e096291255d9ae822ea8626902259
364
py
Python
lib/python2.7/site-packages/braintree/coinbase_account.py
ervinpepic/E-commerce
2c15255d1730728cf35c166b9f88cffcb99f5323
[ "MIT" ]
2
2019-12-06T15:40:14.000Z
2020-07-29T21:30:35.000Z
lib/python2.7/site-packages/braintree/coinbase_account.py
ervinpepic/E-commerce
2c15255d1730728cf35c166b9f88cffcb99f5323
[ "MIT" ]
13
2020-03-24T17:53:51.000Z
2022-02-10T20:01:14.000Z
lib/python2.7/site-packages/braintree/coinbase_account.py
ervinpepic/E-commerce
2c15255d1730728cf35c166b9f88cffcb99f5323
[ "MIT" ]
2
2019-04-29T14:16:10.000Z
2020-07-23T12:04:17.000Z
import braintree from braintree.resource import Resource class CoinbaseAccount(Resource): def __init__(self, gateway, attributes): Resource.__init__(self, gateway, attributes) if "subscriptions" in attributes: self.subscriptions = [braintree.subscription.Subscription(gateway, subscripti...
40.444444
132
0.760989
36
364
7.472222
0.444444
0.05948
0.111524
0.185874
0
0
0
0
0
0
0
0
0.164835
364
8
133
45.5
0.884868
0
0
0
0
0
0.035714
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3545b0af996f2bab834bba341f06bea49a35176a
575
py
Python
fastapi_csrf/__init__.py
TheLazzziest/fastapi-csrf
11499aaf2f343e96071d5836da911cec335af4bf
[ "MIT" ]
null
null
null
fastapi_csrf/__init__.py
TheLazzziest/fastapi-csrf
11499aaf2f343e96071d5836da911cec335af4bf
[ "MIT" ]
null
null
null
fastapi_csrf/__init__.py
TheLazzziest/fastapi-csrf
11499aaf2f343e96071d5836da911cec335af4bf
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (C) 2019-2020 All rights reserved. # FILENAME: __init__.py # VERSION: 0.0.1 # CREATED: 2020-11-25 14:35 # AUTHOR: Aekasitt Guruvanich <aekazitt@gmail.com> # DESCRIPTION: # # HISTORY: #************************************************************* ''' FastAPI extension that provi...
27.380952
74
0.676522
67
575
5.641791
0.776119
0.042328
0
0
0
0
0
0
0
0
0
0.053678
0.125217
575
20
75
28.75
0.697813
0.573913
0
0
0
0
0.02193
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1020607eb3344c46ee1556a2a91d6be5181cce30
9,206
py
Python
src/sentinel/azext_sentinel/vendored_sdks/security_insights/_security_insights.py
hpsan/azure-cli-extensions
be1589bb6dd23837796e088d28e65e873050171e
[ "MIT" ]
null
null
null
src/sentinel/azext_sentinel/vendored_sdks/security_insights/_security_insights.py
hpsan/azure-cli-extensions
be1589bb6dd23837796e088d28e65e873050171e
[ "MIT" ]
null
null
null
src/sentinel/azext_sentinel/vendored_sdks/security_insights/_security_insights.py
hpsan/azure-cli-extensions
be1589bb6dd23837796e088d28e65e873050171e
[ "MIT" ]
1
2020-07-16T23:49:49.000Z
2020-07-16T23:49:49.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
59.393548
118
0.783837
827
9,206
8.493349
0.174123
0.035592
0.045843
0.06549
0.19533
0.186219
0.186219
0.186219
0.179385
0.134966
0
0.001139
0.141864
9,206
154
119
59.779221
0.887975
0.391158
0
0.280488
1
0
0.00335
0
0
0
0
0
0
1
0.012195
false
0
0.329268
0
0.353659
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
102473a32f8acee21899128791e05433ccc614ee
1,579
py
Python
tests/unit/test_structure_sets.py
juvilius/atomium
9613bee3444042c1eceb570f762efe0a98f6384e
[ "MIT" ]
2
2016-05-05T10:51:25.000Z
2017-03-23T20:45:44.000Z
tests/unit/test_structure_sets.py
juvilius/atomium
9613bee3444042c1eceb570f762efe0a98f6384e
[ "MIT" ]
null
null
null
tests/unit/test_structure_sets.py
juvilius/atomium
9613bee3444042c1eceb570f762efe0a98f6384e
[ "MIT" ]
null
null
null
from unittest import TestCase from unittest.mock import Mock, patch, PropertyMock, MagicMock from atomium.base import StructureSet class StructureSetTest(TestCase): def setUp(self): self.structures = [Mock(_id=1), Mock(_id=2), Mock(_id=2)] class StructureSetCreationTests(StructureSetTest): def tes...
26.762712
86
0.704877
188
1,579
5.765957
0.239362
0.193727
0.167897
0.143911
0.428967
0.375461
0.305351
0.22048
0.105166
0.105166
0
0.018419
0.174794
1,579
59
87
26.762712
0.813507
0
0
0.212121
0
0
0
0
0
0
0
0
0.212121
1
0.212121
false
0
0.090909
0
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1027adaa268c7cfd3c8ab5ad76434dddf638bfef
280
py
Python
0x00-python_variable_annotations/2-floor.py
JoseAVallejo12/holbertonschool-web_back_end
eb514784772352b8e4873d1f648726815ab69592
[ "MIT" ]
null
null
null
0x00-python_variable_annotations/2-floor.py
JoseAVallejo12/holbertonschool-web_back_end
eb514784772352b8e4873d1f648726815ab69592
[ "MIT" ]
null
null
null
0x00-python_variable_annotations/2-floor.py
JoseAVallejo12/holbertonschool-web_back_end
eb514784772352b8e4873d1f648726815ab69592
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Write a function which takes a float n as argument and returns the floor of the float""" def floor(n: float) -> int: """return int part of n Args: n (float): arg Returns: int: value int of np """ return int(n)
17.5
50
0.582143
44
280
3.704545
0.590909
0.07362
0
0
0
0
0
0
0
0
0
0.005155
0.307143
280
15
51
18.666667
0.835052
0.675
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1033474b5f7434ce4647090c2adec2814c595d0b
769
py
Python
swagger_server/controllers/host_controller.py
BlueLens/bl-db-product
b6d82ed6407a511185dac0d5e22dd45929d76852
[ "Apache-2.0" ]
null
null
null
swagger_server/controllers/host_controller.py
BlueLens/bl-db-product
b6d82ed6407a511185dac0d5e22dd45929d76852
[ "Apache-2.0" ]
null
null
null
swagger_server/controllers/host_controller.py
BlueLens/bl-db-product
b6d82ed6407a511185dac0d5e22dd45929d76852
[ "Apache-2.0" ]
null
null
null
import connexion from swagger_server.models.add_host_response import AddHostResponse from swagger_server.models.host import Host from datetime import date, datetime from typing import List, Dict from six import iteritems from ..util import deserialize_date, deserialize_datetime from orm.hosts import Hosts def add_hos...
22.617647
67
0.712614
105
769
5.12381
0.447619
0.039033
0.063197
0.085502
0
0
0
0
0
0
0
0.008278
0.214564
769
33
68
23.30303
0.88245
0.314694
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.666667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
103662e2f1c32d914a502a85553eda3108c12a77
338
py
Python
src/x_mlps/_types.py
PyriteAI/x-mlps
fcbba196384f16b742fccb8e82bd2adc467b1ef2
[ "MIT" ]
4
2021-12-29T03:04:58.000Z
2022-01-13T13:07:43.000Z
src/x_mlps/_types.py
PyriteAI/x-mlps
fcbba196384f16b742fccb8e82bd2adc467b1ef2
[ "MIT" ]
1
2022-01-24T00:06:46.000Z
2022-01-24T00:06:46.000Z
src/x_mlps/_types.py
PyriteAI/x-mlps
fcbba196384f16b742fccb8e82bd2adc467b1ef2
[ "MIT" ]
1
2022-02-24T10:17:17.000Z
2022-02-24T10:17:17.000Z
from typing import Any, Optional, Protocol import haiku as hk class XModuleFactory(Protocol): """Defines a common factory function interface for all X-MLP modules.""" def __call__(self, num_patches: int, dim: int, depth: int, name: Optional[str] = None, **kwargs: Any) -> hk.Module: ... __all__ = [...
24.142857
119
0.686391
44
338
5.068182
0.795455
0
0
0
0
0
0
0
0
0
0
0
0.189349
338
13
120
26
0.813869
0.195266
0
0
0
0
0.052632
0
0
0
0
0
0
1
0.166667
false
0
0.333333
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
0
0
1
0
1
0
0
2
103d421d9e7a788769f572e3441c46e43761c020
2,998
py
Python
backend/radar/tests/engine/test_directions.py
me-anton/radar-app
cc7d1e876e0ce9b6173b6d7b484d5553e247166e
[ "MIT" ]
null
null
null
backend/radar/tests/engine/test_directions.py
me-anton/radar-app
cc7d1e876e0ce9b6173b6d7b484d5553e247166e
[ "MIT" ]
null
null
null
backend/radar/tests/engine/test_directions.py
me-anton/radar-app
cc7d1e876e0ce9b6173b6d7b484d5553e247166e
[ "MIT" ]
null
null
null
import pytest from radar.engine.directions_meta import Position from radar.engine.directions import DirectionPool from radar.tests.engine.share import make_positions start_pos = Position(5, 5) width = 4 height = 6 occupy_when_moving_left = make_positions((4, 5), (4, 6), (4, 7), (4, 8), (4, 9), (4, 10)) occupy_when_mo...
48.354839
104
0.782188
428
2,998
5
0.126168
0.224299
0.239252
0.093458
0.791589
0.621028
0.548598
0.298131
0.071963
0.071963
0
0.022745
0.12008
2,998
61
105
49.147541
0.788476
0
0
0.113208
0
0
0.074383
0
0
0
0
0
0.037736
1
0.037736
false
0
0.075472
0
0.113208
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
0
0
0
2
103daf4ed416c14f821a4beeb3f883ba6356a46e
501
py
Python
backend/api/serializers/sales_submission_content_reason.py
kuanfan99/zeva
57b506a108fe57438506569d5503c90c52216b2f
[ "Apache-2.0" ]
3
2020-03-25T03:06:20.000Z
2021-01-20T23:36:03.000Z
backend/api/serializers/sales_submission_content_reason.py
kuanfan99/zeva
57b506a108fe57438506569d5503c90c52216b2f
[ "Apache-2.0" ]
740
2019-12-16T15:53:39.000Z
2022-03-26T08:25:10.000Z
backend/api/serializers/sales_submission_content_reason.py
kuanfan99/zeva
57b506a108fe57438506569d5503c90c52216b2f
[ "Apache-2.0" ]
11
2019-11-28T20:39:15.000Z
2022-01-31T17:53:31.000Z
""" Sales Submission Content Reason Serializer """ from rest_framework.serializers import ModelSerializer from api.models.sales_submission_content_reason import \ SalesSubmissionContentReason class SalesSubmissionContentReasonSerializer(ModelSerializer): """ Serializer for sales submission content reasons ...
22.772727
62
0.682635
39
501
8.615385
0.589744
0.133929
0.196429
0.166667
0
0
0
0
0
0
0
0
0.251497
501
21
63
23.857143
0.896
0.179641
0
0.166667
0
0
0.030928
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1040698960d5a7b813dcd3322776e784cf2b1015
64
py
Python
memsource/__init__.py
zepellin/memsource-wrap
49694129b26e4c32a07d10cdca3af80b344fee3d
[ "MIT" ]
null
null
null
memsource/__init__.py
zepellin/memsource-wrap
49694129b26e4c32a07d10cdca3af80b344fee3d
[ "MIT" ]
null
null
null
memsource/__init__.py
zepellin/memsource-wrap
49694129b26e4c32a07d10cdca3af80b344fee3d
[ "MIT" ]
null
null
null
__author__ = 'Gengo' __version__ = '0.4.11' __license__ = 'MIT'
16
22
0.6875
8
64
4
1
0
0
0
0
0
0
0
0
0
0
0.072727
0.140625
64
3
23
21.333333
0.509091
0
0
0
0
0
0.21875
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1047a19c9eb5ae4766b29b30024ddec7e8072afb
251
py
Python
pyoaz/cache/simple_cache/__init__.py
ameroueh/oaz
7cf192b02adaa373b7b93bedae3ef67886ea53af
[ "MIT" ]
8
2021-03-18T16:06:42.000Z
2022-03-09T10:42:44.000Z
pyoaz/cache/simple_cache/__init__.py
ameroueh/oaz
7cf192b02adaa373b7b93bedae3ef67886ea53af
[ "MIT" ]
null
null
null
pyoaz/cache/simple_cache/__init__.py
ameroueh/oaz
7cf192b02adaa373b7b93bedae3ef67886ea53af
[ "MIT" ]
null
null
null
from ..cache import * from .simple_cache import SimpleCache as SimpleCacheCore class SimpleCache: def __init__(self, game, size): self._core = SimpleCacheCore(game.core, size) @property def core(self): return self._core
20.916667
56
0.693227
30
251
5.566667
0.533333
0.131737
0
0
0
0
0
0
0
0
0
0
0.223108
251
11
57
22.818182
0.85641
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
104f11e40180dde7994628cb3acb5e2cfa492764
1,159
py
Python
setup.py
d34ddr34m3r/python-magic
5fa21cad9bec648c700b223d6222f5d601db50da
[ "MIT" ]
21
2018-02-14T18:51:49.000Z
2022-01-15T06:59:16.000Z
setup.py
d34ddr34m3r/python-magic
5fa21cad9bec648c700b223d6222f5d601db50da
[ "MIT" ]
1
2019-01-30T19:55:22.000Z
2020-05-16T21:31:58.000Z
setup.py
d34ddr34m3r/python-magic
5fa21cad9bec648c700b223d6222f5d601db50da
[ "MIT" ]
7
2017-10-02T16:14:16.000Z
2022-03-16T14:27:32.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup setup(name='python-magic-bin', description='File type identification using libmagic binary package', author='Adam Hupp, Julian David Rath, Spencer Hanson', author_email='adam@hupp.org, julian.rath@gmail.com, spencer.hanson@sw...
37.387097
112
0.630716
135
1,159
5.377778
0.651852
0.078512
0.103306
0
0
0
0
0
0
0
0
0.007778
0.223469
1,159
31
113
37.387097
0.798889
0.036238
0
0
0
0.037037
0.603943
0.043907
0
0
0
0
0
1
0
true
0
0.037037
0
0.037037
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
105cb3ddf04ae26471a7d62ef8e5f06993ff1778
140
py
Python
src/shared/constants.py
CaliberAI/neutralizing-bias
03b57794fb9438ab0392ba8aceea857988ff5f60
[ "MIT" ]
169
2019-11-20T05:20:05.000Z
2022-03-25T11:56:26.000Z
src/shared/constants.py
gsajko/neutralizing-bias
b4774ac088e269644ec65372fee78f1adde4c5f4
[ "MIT" ]
10
2020-02-10T21:41:10.000Z
2022-02-05T10:37:52.000Z
src/shared/constants.py
gsajko/neutralizing-bias
b4774ac088e269644ec65372fee78f1adde4c5f4
[ "MIT" ]
44
2019-11-26T11:54:45.000Z
2022-03-03T23:16:04.000Z
""" just a lil global variable so everybody knows whether we have a gpu or not """ import torch CUDA = (torch.cuda.device_count() > 0)
11.666667
53
0.692857
23
140
4.173913
0.869565
0.1875
0
0
0
0
0
0
0
0
0
0.009009
0.207143
140
11
54
12.727273
0.855856
0.528571
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
1069b032c23405f5db455a2d7fa48816205bb575
543
py
Python
example/tests/test_transform_record.py
prodmodel/prodmodel
83aad9a2e3f07b182a8e90ea0d92580cb2e949fe
[ "Apache-2.0" ]
53
2019-04-28T03:50:05.000Z
2022-02-04T21:52:51.000Z
example/tests/test_transform_record.py
prodmodel/prodmodel
83aad9a2e3f07b182a8e90ea0d92580cb2e949fe
[ "Apache-2.0" ]
17
2019-04-25T01:46:46.000Z
2019-07-15T02:58:02.000Z
example/tests/test_transform_record.py
prodmodel/prodmodel
83aad9a2e3f07b182a8e90ea0d92580cb2e949fe
[ "Apache-2.0" ]
3
2019-06-20T07:47:23.000Z
2021-09-06T07:21:51.000Z
import transform_record import feature_definitions import unittest class TestTransformRecord(unittest.TestCase): def test_transform_record(self): self.assertEqual(transform_record.transform_record( {'marital': 'single', 'balance': 600, 'education': 'primary'}, {'primary': 100}), {...
33.9375
112
0.683241
56
543
6.464286
0.410714
0.165746
0.165746
0.190608
0.21547
0.21547
0
0
0
0
0
0.03304
0.163904
543
15
113
36.2
0.764317
0
0
0
0
0
0.217311
0
0
0
0
0
0.2
1
0.2
false
0
0.3
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
107ffc374cf13152bb40d18c06e73d9fc20f17e1
1,462
py
Python
support/check_python_prereqs.py
kishorerv93/spinnaker-terraform
a86164c7a66ab9c7ec81551add53c00a59610aca
[ "Apache-2.0" ]
116
2016-02-08T21:17:31.000Z
2020-08-19T08:00:18.000Z
support/check_python_prereqs.py
kishorerv93/spinnaker-terraform
a86164c7a66ab9c7ec81551add53c00a59610aca
[ "Apache-2.0" ]
12
2016-03-12T22:54:57.000Z
2019-03-28T16:48:01.000Z
support/check_python_prereqs.py
kishorerv93/spinnaker-terraform
a86164c7a66ab9c7ec81551add53c00a59610aca
[ "Apache-2.0" ]
66
2015-11-24T19:30:46.000Z
2022-03-27T16:50:58.000Z
#!/usr/bin/env python import sys import imp import re def main(argv): cloud_provider = sys.argv[1] reqd_module_names_and_versions = {} reqd_module_names_and_versions['requests'] = '2.2.1' reqd_module_names_and_versions['json'] = '2.0.9' reqd_module_names_and_versions['docopt'] = '0.6.2' if ...
31.106383
183
0.636115
188
1,462
4.484043
0.361702
0.106762
0.160142
0.192171
0.365362
0.149466
0.085409
0
0
0
0
0.019108
0.24829
1,462
46
184
31.782609
0.747953
0.077975
0
0.068966
0
0
0.152416
0
0
0
0
0
0
0
null
null
0
0.275862
null
null
0.068966
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
0
0
0
0
0
2
1082978a22e95c0fe901caae136fcc55cde02847
225
py
Python
readfile.py
qubard/deepq-collision-avoidance
2d6cc3d494482e0b7a3e38f825bcb6eae103c453
[ "MIT" ]
3
2020-01-07T14:44:30.000Z
2020-11-10T04:16:17.000Z
readfile.py
qubard/deepq-collision-avoidance
2d6cc3d494482e0b7a3e38f825bcb6eae103c453
[ "MIT" ]
1
2021-01-11T03:51:47.000Z
2021-01-11T03:51:47.000Z
readfile.py
qubard/deepq-collision-avoidance
2d6cc3d494482e0b7a3e38f825bcb6eae103c453
[ "MIT" ]
null
null
null
with open('mar27') as f: content = f.readlines() for line in content: split = line.split(' ') if split[0] == 'Episode:': print("("+str(int(split[1])) + "," + split[3].split("\n")[0] + ")")
32.142857
79
0.48
29
225
3.724138
0.689655
0
0
0
0
0
0
0
0
0
0
0.03681
0.275556
225
6
80
37.5
0.625767
0
0
0
0
0
0.084444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1084223963fafab9b17b69220c1aa68166545785
468
py
Python
Strings_example.py
lokichinni12/python
b41de2d0f99b355c6d2d626f6121abf25e41a6e7
[ "Apache-2.0" ]
null
null
null
Strings_example.py
lokichinni12/python
b41de2d0f99b355c6d2d626f6121abf25e41a6e7
[ "Apache-2.0" ]
null
null
null
Strings_example.py
lokichinni12/python
b41de2d0f99b355c6d2d626f6121abf25e41a6e7
[ "Apache-2.0" ]
null
null
null
mystring="hello world" #Print Complete string print(mystring) print(mystring[::]) #indexing of string print(mystring[0]) print(mystring[4]) #slicing print(mystring[1:7]) print(mystring[0:10:2]) # Methods print(mystring.upper()) print(mystring.split()) #formatting print("hello world {},".format("Loki")) print("hello...
21.272727
82
0.690171
60
468
5.383333
0.4
0.321981
0.139319
0.130031
0.154799
0
0
0
0
0
0
0.025822
0.089744
468
21
83
22.285714
0.732394
0.136752
0
0
0
0
0.330827
0
0
0
0
0
0
1
0
false
0
0
0
0
0.916667
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
0
0
0
1
0
2
108686718d83ec67d715e658e5f1e08a9c537e3a
410
py
Python
sense_hat/pitch_roll_yaw.py
g-grilli/station
8a26da6318c2b1fbc8129ea7224907c4798ae3be
[ "MIT" ]
null
null
null
sense_hat/pitch_roll_yaw.py
g-grilli/station
8a26da6318c2b1fbc8129ea7224907c4798ae3be
[ "MIT" ]
null
null
null
sense_hat/pitch_roll_yaw.py
g-grilli/station
8a26da6318c2b1fbc8129ea7224907c4798ae3be
[ "MIT" ]
null
null
null
from sense_hat import SenseHat sense = SenseHat() sense.show_letter("G") while True: x = sense.get_accelerometer_raw()['x'] y = sense.get_accelerometer_raw()['y'] z = sense.get_accelerometer_raw()['z'] x = round(x, 0) y = round(y, 0) if x == -1: sense.set_rotation(180) elif y == 1: sense.set_...
18.636364
40
0.641463
65
410
3.861538
0.415385
0.12749
0.25498
0.286853
0.175299
0.175299
0
0
0
0
0
0.042683
0.2
410
22
41
18.636364
0.722561
0
0
0
0
0
0.009732
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
109c5d77ca6eace01905f595c8747c38e6987617
89
py
Python
detectem/__init__.py
kelar86/detectem
b1ecc3543b7c44ee76c4cac0d3896a7747bf86c1
[ "MIT" ]
null
null
null
detectem/__init__.py
kelar86/detectem
b1ecc3543b7c44ee76c4cac0d3896a7747bf86c1
[ "MIT" ]
1
2021-03-26T00:23:57.000Z
2021-03-26T00:23:57.000Z
detectem/__init__.py
kelar86/detectem
b1ecc3543b7c44ee76c4cac0d3896a7747bf86c1
[ "MIT" ]
null
null
null
__author__ = """Claudio Salazar""" __email__ = 'csalazar@spect.cl' __version__ = '0.7.0'
22.25
34
0.696629
11
89
4.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0.037975
0.11236
89
3
35
29.666667
0.594937
0
0
0
0
0
0.41573
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
10b3ffc095102fa1f687c9b862878cd194ae7382
387
py
Python
webchat.py
Tony2h/Xhome_bjtu
4fb98cf71896d3441106a48213c61678a0271fc4
[ "Apache-2.0" ]
2
2018-09-28T07:12:09.000Z
2018-09-28T07:12:16.000Z
webchat.py
Tony2h/Xhome_bjtu
4fb98cf71896d3441106a48213c61678a0271fc4
[ "Apache-2.0" ]
null
null
null
webchat.py
Tony2h/Xhome_bjtu
4fb98cf71896d3441106a48213c61678a0271fc4
[ "Apache-2.0" ]
1
2018-09-28T07:13:08.000Z
2018-09-28T07:13:08.000Z
import os from rasa_addons.webchat import WebChatInput, SocketInputChannel from rasa_core.agent import Agent current_path = os.path.dirname(os.path.realpath(__file__)) agent = Agent.load("models/dialogue", "models/default/current") input_channel = WebChatInput(static_assets_path=os.path.join(current_path, 'static')) ...
38.7
85
0.813953
51
387
5.921569
0.509804
0.059603
0.066225
0
0
0
0
0
0
0
0
0.011111
0.069767
387
9
86
43
0.827778
0
0
0
0
0
0.113695
0.056848
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
10b7e09dde28dead7e1b8f772fb59317db5b79d8
305
py
Python
textprivacy/__init__.py
KennethEnevoldsen/DaAnonymization
bf0056505c850bf468f537117a10c7ea66077781
[ "Apache-2.0" ]
12
2021-03-31T08:36:06.000Z
2022-02-08T09:38:03.000Z
textprivacy/__init__.py
KennethEnevoldsen/DaAnonymization
bf0056505c850bf468f537117a10c7ea66077781
[ "Apache-2.0" ]
null
null
null
textprivacy/__init__.py
KennethEnevoldsen/DaAnonymization
bf0056505c850bf468f537117a10c7ea66077781
[ "Apache-2.0" ]
3
2021-08-05T07:54:54.000Z
2021-11-25T09:39:45.000Z
"""Top-level package for TextAnonymization.""" __author__ = """Martin Closter Jespersen""" __email__ = "martincjespersen@gmail.com" __version__ = "0.1.0" from textprivacy import utils from textprivacy.textanonymization import TextAnonymizer from textprivacy.textpseudonymization import TextPseudonymizer
33.888889
62
0.819672
31
305
7.677419
0.741935
0.189076
0
0
0
0
0
0
0
0
0
0.01083
0.091803
305
8
63
38.125
0.848375
0.131148
0
0
0
0
0.212355
0.100386
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
10ba1796a8bd8d15084e4890fc71c60921ba0fc2
1,882
py
Python
craneui/crane/inspect.py
newrelic/shipyard
e4e990583a646b77e7e1767682e1ecf94c278fb8
[ "Apache-2.0" ]
3
2015-04-29T05:45:23.000Z
2017-02-04T13:57:36.000Z
craneui/crane/inspect.py
newrelic/shipyard
e4e990583a646b77e7e1767682e1ecf94c278fb8
[ "Apache-2.0" ]
null
null
null
craneui/crane/inspect.py
newrelic/shipyard
e4e990583a646b77e7e1767682e1ecf94c278fb8
[ "Apache-2.0" ]
1
2015-12-24T04:10:11.000Z
2015-12-24T04:10:11.000Z
import os from data import versions, extensions, HOST_DATABASE_FOLDER from base import crane_path def list_oses(): oses_raw = os.listdir(crane_path('templates/os/')) oses_raw.remove('os.tpl') oses = [] for os_ in oses_raw: if os_[0] != '.': oses.append((os_[:-4], os_[:-4])) retur...
34.851852
83
0.717853
229
1,882
5.655022
0.253275
0.100386
0.037066
0.039382
0.194595
0.149807
0.080309
0.080309
0
0
0
0.002594
0.180659
1,882
53
84
35.509434
0.837224
0.03932
0
0.045455
0
0
0.110803
0.023823
0
0
0
0.018868
0
0
null
null
0
0.068182
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
529acc72221f18fd5cdb6dcd7e78b6ec93af3673
189
py
Python
katas/beta/dinner_plans.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
katas/beta/dinner_plans.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
katas/beta/dinner_plans.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
def common_ground(s1,s2): words = s2.split() return ' '.join(sorted((a for a in set(s1.split()) if a in words), key=lambda b: words.index(b))) or 'death'
37.8
70
0.544974
30
189
3.4
0.7
0.058824
0
0
0
0
0
0
0
0
0
0.030075
0.296296
189
4
71
47.25
0.736842
0
0
0
0
0
0.031746
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
52ba7d12dbd36a00286c0c67cb57dda7f28cddf3
647
py
Python
tests/test_config_middleware.py
cjwatson/pastedeploy
596ec6804b1ad649542da3d8d8fe0cabcf22123f
[ "MIT" ]
18
2018-11-22T05:45:57.000Z
2022-03-06T08:58:07.000Z
tests/test_config_middleware.py
cjwatson/pastedeploy
596ec6804b1ad649542da3d8d8fe0cabcf22123f
[ "MIT" ]
26
2018-11-22T18:38:07.000Z
2020-10-12T18:35:11.000Z
tests/test_config_middleware.py
cjwatson/pastedeploy
596ec6804b1ad649542da3d8d8fe0cabcf22123f
[ "MIT" ]
10
2018-11-22T19:52:32.000Z
2022-03-06T08:58:11.000Z
import pytest from paste.deploy.config import ConfigMiddleware class Bug(Exception): pass def app_with_exception(environ, start_response): def cont(): yield b"something" raise Bug start_response('200 OK', [('Content-type', 'text/html')]) return cont() def test_error(): # This ...
23.107143
69
0.680062
83
647
5.192771
0.626506
0.041763
0.074246
0
0
0
0
0
0
0
0
0.009901
0.219475
647
27
70
23.962963
0.843564
0.097372
0
0
0
0
0.111684
0
0
0
0
0
0
1
0.166667
false
0.055556
0.277778
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
52be32a9cb45b224f06b6a3928e05101fc16cf3f
519
py
Python
remi/command/core/prefix/__init__.py
Qu4n7r01d/remi
6ba6c9cbc5121e00d849ff385966ac7e72e1409f
[ "MIT" ]
1
2021-12-31T08:35:59.000Z
2021-12-31T08:35:59.000Z
remi/command/core/prefix/__init__.py
Qu4n7r01d/remi
6ba6c9cbc5121e00d849ff385966ac7e72e1409f
[ "MIT" ]
7
2021-12-19T17:49:58.000Z
2022-02-17T06:52:30.000Z
remi/command/core/prefix/__init__.py
Qu4n7r01d/remi
6ba6c9cbc5121e00d849ff385966ac7e72e1409f
[ "MIT" ]
null
null
null
import lightbulb from remi.core.constant import Client from remi.core.exceptions import ProtectedPlugin from .prefix import prefix_manager __plugin_name__ = prefix_manager.name __plugin_description__ = prefix_manager.description def load(bot: lightbulb.BotApp) -> None: bot.add_plugin(prefix_manager) def unlo...
24.714286
87
0.776493
66
519
5.818182
0.454545
0.203125
0.148438
0.114583
0
0
0
0
0
0
0
0
0.146435
519
20
88
25.95
0.866817
0
0
0
0
0
0.102119
0.042389
0
0
0
0
0
1
0.153846
false
0
0.307692
0
0.461538
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
52c9971d37d126013add8c51fa3884308c24a3b6
5,210
py
Python
portsfallout/settings_dev.py
dbaio/portsfallout
2512036a9983b833f4ece2a0801541dca4d8d58c
[ "BSD-2-Clause" ]
6
2020-10-11T07:54:50.000Z
2022-01-25T22:03:18.000Z
portsfallout/settings_dev.py
dbaio/portsfallout
2512036a9983b833f4ece2a0801541dca4d8d58c
[ "BSD-2-Clause" ]
null
null
null
portsfallout/settings_dev.py
dbaio/portsfallout
2512036a9983b833f4ece2a0801541dca4d8d58c
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) 2020-2021 Danilo G. Baio <dbaio@bsd.com.br> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this # list of conditions and the...
29.435028
91
0.714012
609
5,210
6.031199
0.43514
0.056629
0.041928
0.047645
0.192486
0.152192
0.10972
0.10972
0.069698
0.037027
0
0.012068
0.172937
5,210
176
92
29.602273
0.840334
0.441267
0
0.043011
0
0
0.550436
0.448866
0
0
0
0
0
1
0
false
0.053763
0.010753
0
0.010753
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
52fa9b2fade239b930813ebac6c7b0374cb9b0c5
2,249
py
Python
test_projects/Number/main.py
ynsnf/apysc
b10ffaf76ec6beb187477d0a744fca00e3efc3fb
[ "MIT" ]
16
2021-04-16T02:01:29.000Z
2022-01-01T08:53:49.000Z
test_projects/Number/main.py
ynsnf/apysc
b10ffaf76ec6beb187477d0a744fca00e3efc3fb
[ "MIT" ]
613
2021-03-24T03:37:38.000Z
2022-03-26T10:58:37.000Z
test_projects/Number/main.py
simon-ritchie/apyscript
c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279
[ "MIT" ]
2
2021-06-20T07:32:58.000Z
2021-12-26T08:22:11.000Z
"""Test project for `Number` class. Command examples: $ python test_projects/Number/main.py """ import sys sys.path.append('./') import os from types import ModuleType import apysc as ap from apysc._file import file_util this_module: ModuleType = sys.modules[__name__] _DEST_DIR_PATH: str = os.p...
26.77381
59
0.657181
381
2,249
3.635171
0.194226
0.150181
0.140794
0.184116
0.376173
0.232491
0.141516
0.086643
0
0
0
0.080067
0.205869
2,249
83
60
27.096386
0.695409
0.056914
0
0
0
0
0.012833
0
0
0
0
0
0.294118
1
0.019608
true
0
0.098039
0
0.117647
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
0
0
0
0
0
2
5e02edd0a2906304c7bae0e21692481c48e4676f
307
py
Python
1_wordcount/myproject/urls.py
LIkelion-at-KOREATECH/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
28
2019-10-15T13:15:26.000Z
2021-11-08T08:23:45.000Z
1_wordcount/myproject/urls.py
jhleed/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
null
null
null
1_wordcount/myproject/urls.py
jhleed/LikeLion_Django_Study_Summary
c788182af5bcfd16bdd4b57235a48659758e494b
[ "MIT" ]
17
2019-09-09T00:15:36.000Z
2021-01-28T13:08:51.000Z
from django.contrib import admin from django.urls import path import wordcount.views urlpatterns = [ path('admin/', admin.site.urls), path('', wordcount.views.home, name="home"), path('about/', wordcount.views.about, name='about'), path('result/', wordcount.views.result, name='result'), ]
27.909091
59
0.690554
39
307
5.435897
0.384615
0.264151
0
0
0
0
0
0
0
0
0
0
0.136808
307
10
60
30.7
0.8
0
0
0
0
0
0.110749
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
5e06f1fcc65be37abdab941ad46d2284712fe674
378
py
Python
spirl/data/block_stacking/src/robosuite/models/arenas/empty_arena.py
kouroshHakha/fist
328c098789239fd892e17edefd799fc1957ab637
[ "BSD-3-Clause" ]
8
2021-10-14T03:14:23.000Z
2022-03-15T21:31:17.000Z
spirl/data/block_stacking/src/robosuite/models/arenas/empty_arena.py
kouroshHakha/fist
328c098789239fd892e17edefd799fc1957ab637
[ "BSD-3-Clause" ]
null
null
null
spirl/data/block_stacking/src/robosuite/models/arenas/empty_arena.py
kouroshHakha/fist
328c098789239fd892e17edefd799fc1957ab637
[ "BSD-3-Clause" ]
1
2021-09-13T20:42:28.000Z
2021-09-13T20:42:28.000Z
from spirl.data.block_stacking.src.robosuite.models.arenas import Arena from spirl.data.block_stacking.src.robosuite.utils.mjcf_utils import xml_path_completion class EmptyArena(Arena): """Empty workspace.""" def __init__(self): super().__init__(xml_path_completion("arenas/empty_arena.xml")) ...
34.363636
88
0.743386
50
378
5.3
0.58
0.067925
0.098113
0.135849
0.286792
0.286792
0.286792
0
0
0
0
0
0.119048
378
10
89
37.8
0.795796
0.042328
0
0
0
0
0.120787
0.120787
0
0
0
0
0
1
0.166667
false
0
0.333333
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
0
0
1
0
1
0
0
2
5e1fc66f9bb95f58ec81b8175aa90c3a37a27e55
3,432
py
Python
data/kids/number_density/ngal_to_area.py
KiDS-WL/Cat_to_Obs_K1000_P1
0de7f79cab150416859ffe58ac2d0f5659aedb5d
[ "MIT" ]
7
2020-11-18T12:58:03.000Z
2021-07-01T08:54:29.000Z
data/kids/number_density/ngal_to_area.py
KiDS-WL/Cat_to_Obs_K1000_P1
0de7f79cab150416859ffe58ac2d0f5659aedb5d
[ "MIT" ]
null
null
null
data/kids/number_density/ngal_to_area.py
KiDS-WL/Cat_to_Obs_K1000_P1
0de7f79cab150416859ffe58ac2d0f5659aedb5d
[ "MIT" ]
3
2020-12-09T13:30:22.000Z
2022-03-02T01:40:13.000Z
import numpy as np # # blind A # # Z_Bbin sigma_e neff # # Flag_SOM_Fid # 0.1<ZB<=0.3 0.27085526185463465 0.6141903412434272 # 0.3<ZB<=0.5 0.260789170603278 1.1714443526924525 # 0.5<ZB<=0.7 0.27664489739710685 1.8306617593091257 # 0.7<ZB<=0.9 0.2616226704859973 1.2340324684694277 # 0.9<ZB<=1.2 0.2818628832701304 1.277...
34.666667
122
0.75
495
3,432
5.032323
0.224242
0.043356
0.03613
0.028904
0.258531
0.226415
0.07226
0.07226
0.07226
0.038539
0
0.540086
0.116841
3,432
98
123
35.020408
0.281755
0.480478
0
0
0
0
0.126079
0.079447
0
0
0
0
0
1
0
false
0
0.02381
0
0.02381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eaab5f38c8c17da18b0c06ab17ce192aa22c9da5
88,678
py
Python
pysnmp/HUAWEI-PWE3-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/HUAWEI-PWE3-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/HUAWEI-PWE3-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module HUAWEI-PWE3-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-PWE3-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:34:00 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
150.301695
10,196
0.744852
10,187
88,678
6.483754
0.05507
0.016412
0.063179
0.016836
0.482014
0.463104
0.385057
0.370386
0.361423
0.347176
0
0.092223
0.085365
88,678
589
10,197
150.556876
0.722124
0.003654
0
0.031034
0
0
0.18061
0.029441
0
0
0
0
0
1
0
false
0.008621
0.02069
0
0.027586
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
eabf8410c7e3c18f912f519d0b1c8ed86f92b8c2
14,590
py
Python
config/qutebrowser/config.py
anmolmathias/dotfiles
d66b553346fe8fa54e5a49f284163507f37f8407
[ "MIT" ]
null
null
null
config/qutebrowser/config.py
anmolmathias/dotfiles
d66b553346fe8fa54e5a49f284163507f37f8407
[ "MIT" ]
null
null
null
config/qutebrowser/config.py
anmolmathias/dotfiles
d66b553346fe8fa54e5a49f284163507f37f8407
[ "MIT" ]
null
null
null
# Autogenerated config.py # # NOTE: config.py is intended for advanced users who are comfortable # with manually migrating the config file on qutebrowser upgrades. If # you prefer, you can also configure qutebrowser using the # :set/:bind/:config-* commands without having to write a config.py # file. # # Documentation:...
39.646739
340
0.724195
2,119
14,590
4.951392
0.209061
0.018872
0.033549
0.023065
0.641727
0.62276
0.603126
0.596645
0.58902
0.576439
0
0.009335
0.155655
14,590
367
341
39.754768
0.842357
0.736463
0
0
1
0.0625
0.557515
0.225021
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2