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
e39a3c3b775461febca500db51904b1f4313be40
838
py
Python
turismo_v1/apps/crud_lugar/migrations/0006_auto_20191015_1633.py
diegogarciapablo/proyecto_tesis
98882b009486e7324679654d101702cfe3d0e0ee
[ "MIT" ]
null
null
null
turismo_v1/apps/crud_lugar/migrations/0006_auto_20191015_1633.py
diegogarciapablo/proyecto_tesis
98882b009486e7324679654d101702cfe3d0e0ee
[ "MIT" ]
null
null
null
turismo_v1/apps/crud_lugar/migrations/0006_auto_20191015_1633.py
diegogarciapablo/proyecto_tesis
98882b009486e7324679654d101702cfe3d0e0ee
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-10-15 20:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('crud_lugar', '0005_auto_20191015_1559'), ] operations = [ migrations.AlterField( model_name='alojamiento', name='fec...
24.647059
50
0.551313
74
838
6.081081
0.5
0.177778
0.222222
0.257778
0.531111
0.531111
0.446667
0.446667
0.446667
0.446667
0
0.055755
0.336516
838
33
51
25.393939
0.753597
0.053699
0
0.592593
1
0
0.155499
0.029077
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3b596dd949fc22f7621b87fe093e66e1ea11087
4,533
py
Python
Alignment/MuonAlignmentAlgorithms/test/standAloneTest_cfg.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Alignment/MuonAlignmentAlgorithms/test/standAloneTest_cfg.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
7
2016-07-17T02:34:54.000Z
2019-08-13T07:58:37.000Z
Alignment/MuonAlignmentAlgorithms/test/standAloneTest_cfg.py
NTrevisani/cmssw
a212a27526f34eb9507cf8b875c93896e6544781
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
import FWCore.ParameterSet.Config as cms process = cms.Process("TEST") process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring( "/store/data/CRAFT09/Cosmics/RAW-RECO/GR09_31X_V5P_CSCSkim_BFieldStudies-332_v4/0021/FAF8A711-C297-DE11-A00E-001731AF66AF.root", "/store/data/CRAFT09/Cosmics/RAW-R...
69.738462
168
0.754467
493
4,533
6.793103
0.320487
0.042699
0.047775
0.068677
0.405793
0.361302
0.361302
0.333234
0.333234
0.311138
0
0.095322
0.122877
4,533
64
169
70.828125
0.746982
0.216634
0
0
0
0.25
0.602891
0.563492
0
0
0
0
0
1
0
false
0
0.025
0
0.025
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3d98fcaa52e96b195461760f1d7ce8826c761e7
167
py
Python
src/python/nimbusml/preprocessing/__init__.py
GalOshri/NimbusML
a2ba6f51b7c8cdd3c3316d5ecf4605621be3bd8d
[ "MIT" ]
2
2019-03-01T01:22:54.000Z
2019-07-10T19:57:38.000Z
src/python/nimbusml/preprocessing/__init__.py
GalOshri/NimbusML
a2ba6f51b7c8cdd3c3316d5ecf4605621be3bd8d
[ "MIT" ]
null
null
null
src/python/nimbusml/preprocessing/__init__.py
GalOshri/NimbusML
a2ba6f51b7c8cdd3c3316d5ecf4605621be3bd8d
[ "MIT" ]
null
null
null
from .fromkey import FromKey from .tokey import ToKey from .tensorflowscorer import TensorFlowScorer __all__ = [ 'FromKey', 'ToKey', 'TensorFlowScorer' ]
16.7
46
0.724551
16
167
7.3125
0.375
0
0
0
0
0
0
0
0
0
0
0
0.191617
167
9
47
18.555556
0.866667
0
0
0
0
0
0.167665
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e3f2eeb0757920445defdd3147acac438377a54c
866
py
Python
src/pycoils/pycoils/tests/data/testdata.py
harisankar-krishna-swamy/coils
2fb9606ee2df9c49db4ab67ee650ff8edc285a7e
[ "Apache-2.0" ]
2
2020-12-29T18:37:07.000Z
2021-05-11T12:48:04.000Z
src/pycoils/pycoils/tests/data/testdata.py
harisankar-krishna-swamy/coils
2fb9606ee2df9c49db4ab67ee650ff8edc285a7e
[ "Apache-2.0" ]
null
null
null
src/pycoils/pycoils/tests/data/testdata.py
harisankar-krishna-swamy/coils
2fb9606ee2df9c49db4ab67ee650ff8edc285a7e
[ "Apache-2.0" ]
null
null
null
''' Created on Nov 8, 2015 @author: hari ''' from builtins import object from functools import total_ordering class WrappedString(object): ''' This class simply wraps around python string. ''' def __init__(self, string = 'default string'): self._string = string @property def wrapp...
24.055556
54
0.600462
100
866
4.9
0.41
0.142857
0.130612
0.077551
0.355102
0.355102
0.355102
0.355102
0.355102
0.355102
0
0.008251
0.300231
866
36
55
24.055556
0.80033
0.095843
0
0.3
0
0
0.018397
0
0
0
0
0
0
1
0.3
false
0
0.1
0.15
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
1
0
0
0
1
1
0
0
3
e3f5a9140d6ad6b972face405b41f19f2f822c13
79
py
Python
POO_I/teste.py
saul-rocha/POO_I
ca046576de33c74052a07baafdc0d3b04ec64110
[ "MIT" ]
null
null
null
POO_I/teste.py
saul-rocha/POO_I
ca046576de33c74052a07baafdc0d3b04ec64110
[ "MIT" ]
null
null
null
POO_I/teste.py
saul-rocha/POO_I
ca046576de33c74052a07baafdc0d3b04ec64110
[ "MIT" ]
null
null
null
print ("Hello World") n = int(input("numero: ")) print(type(n)) print(bin(3))
13.166667
26
0.620253
13
79
3.769231
0.769231
0
0
0
0
0
0
0
0
0
0
0.014493
0.126582
79
6
27
13.166667
0.695652
0
0
0
0
0
0.2375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
540eae033fbb6d53b77734558be9404ebd3f0077
791
py
Python
lokki/feature_transform/feature_engineering/ica.py
bzhanglab/Lokki
035087d58f2b194b3a1644b932683ded0fb71af4
[ "Apache-2.0" ]
null
null
null
lokki/feature_transform/feature_engineering/ica.py
bzhanglab/Lokki
035087d58f2b194b3a1644b932683ded0fb71af4
[ "Apache-2.0" ]
null
null
null
lokki/feature_transform/feature_engineering/ica.py
bzhanglab/Lokki
035087d58f2b194b3a1644b932683ded0fb71af4
[ "Apache-2.0" ]
null
null
null
import numpy as np import sklearn as sk from lokki.feature_transform import FeatureTransformChoice class ICA(FeatureTransformChoice): def __init__(self, dataset_shape, parameters): self.dataset_shape = dataset_shape self.parameters = parameters self.step_size = int(dataset_shape[1] * 0.15...
31.64
172
0.675095
107
791
4.831776
0.448598
0.116054
0.061896
0.061896
0
0
0
0
0
0
0
0.017572
0.208597
791
24
173
32.958333
0.808307
0
0
0
0
0
0.044248
0
0
0
0
0
0
1
0.294118
false
0
0.176471
0.176471
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
54112033fb0811c1f4b56863ca437e4b2ac9ebaf
1,445
py
Python
tests/helpers/test_errorcode.py
marcelb98/pycroft
34cc59d9ab7fdc0c20b09b4851111048a9f64d90
[ "Apache-2.0" ]
null
null
null
tests/helpers/test_errorcode.py
marcelb98/pycroft
34cc59d9ab7fdc0c20b09b4851111048a9f64d90
[ "Apache-2.0" ]
null
null
null
tests/helpers/test_errorcode.py
marcelb98/pycroft
34cc59d9ab7fdc0c20b09b4851111048a9f64d90
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2014 The Pycroft Authors. See the AUTHORS file. # This file is part of the Pycroft project and licensed under the terms of # the Apache License, Version 2.0. See the LICENSE file for details. import unittest from pycroft.helpers.errorcode import digits, Type1Code, Type2Code class Test_010_digits(unitt...
32.111111
74
0.722491
203
1,445
4.945813
0.285714
0.076693
0.13247
0.068725
0.624502
0.573705
0.49004
0.49004
0.406375
0.406375
0
0.107769
0.171626
1,445
44
75
32.840909
0.730994
0.1391
0
0.296296
0
0
0
0
0
0
0
0
0.407407
1
0.407407
false
0
0.074074
0
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
1
0
0
3
541314f74c7841c7007e82add9486abbc00f6fd3
352
py
Python
convsBot/main1.py
nearwatson/sai
e3c3fdb525eab7e0f84afb9fecd124995b18fec1
[ "Apache-2.0" ]
null
null
null
convsBot/main1.py
nearwatson/sai
e3c3fdb525eab7e0f84afb9fecd124995b18fec1
[ "Apache-2.0" ]
null
null
null
convsBot/main1.py
nearwatson/sai
e3c3fdb525eab7e0f84afb9fecd124995b18fec1
[ "Apache-2.0" ]
null
null
null
# RL classification task # text -to-> graph # each char as a node # 1. Annotation task: # given the state_graph, action space is whether to link several nodes or not # surrender action to the env? # how is env defined: # env.step(action) # NER # import dgl import torch import torch.nn as nn i...
16.761905
81
0.681818
56
352
4.267857
0.660714
0.138075
0.108787
0
0
0
0
0
0
0
0
0.003788
0.25
352
20
82
17.6
0.901515
0.639205
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
5417ba9f6452e09315c6c3010b5644fd2323b9ae
727
py
Python
kapacitor/objects/common.py
ot4kon/kapacitor-python
253378c514ebae72781586cf1abc9fc9fbccac39
[ "MIT" ]
null
null
null
kapacitor/objects/common.py
ot4kon/kapacitor-python
253378c514ebae72781586cf1abc9fc9fbccac39
[ "MIT" ]
null
null
null
kapacitor/objects/common.py
ot4kon/kapacitor-python
253378c514ebae72781586cf1abc9fc9fbccac39
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import from .exceptions import InvalidTaskType class Type(object): def __init__(self, task_type='stream'): self._type = task_type def __str__(self): return self._type def __repr__(self): return self._type def _check_ty...
22.71875
95
0.634113
94
727
4.521277
0.361702
0.188235
0.112941
0.112941
0.263529
0.112941
0
0
0
0
0
0.001859
0.259972
727
31
96
23.451613
0.788104
0.028886
0
0.238095
0
0
0.089489
0
0
0
0
0
0
1
0.333333
false
0
0.095238
0.142857
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
1
0
0
0
1
1
0
0
3
5425893403988ef9814575ec1b4e522c9eb334a3
183
py
Python
backend/web-back/jam/urls.py
kk6/jam
647fa971a4e053d018a08a48cc840c628deae67c
[ "MIT" ]
null
null
null
backend/web-back/jam/urls.py
kk6/jam
647fa971a4e053d018a08a48cc840c628deae67c
[ "MIT" ]
null
null
null
backend/web-back/jam/urls.py
kk6/jam
647fa971a4e053d018a08a48cc840c628deae67c
[ "MIT" ]
null
null
null
from django.urls import path from .views import ListVideo, DetailVideo urlpatterns = [ path("video/<str:pk>/", DetailVideo.as_view()), path("video/", ListVideo.as_view()), ]
22.875
51
0.693989
23
183
5.434783
0.608696
0.144
0
0
0
0
0
0
0
0
0
0
0.142077
183
7
52
26.142857
0.796178
0
0
0
0
0
0.114754
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
581f838eff927a43c7429e4d17c518bbfcbc1b23
176
py
Python
SidToS3/objects/indexentry.py
brian-nelson/SupersidUtilities
0bdd24dc424d7b67d6a72de575487a31f0cb4565
[ "MIT" ]
null
null
null
SidToS3/objects/indexentry.py
brian-nelson/SupersidUtilities
0bdd24dc424d7b67d6a72de575487a31f0cb4565
[ "MIT" ]
null
null
null
SidToS3/objects/indexentry.py
brian-nelson/SupersidUtilities
0bdd24dc424d7b67d6a72de575487a31f0cb4565
[ "MIT" ]
null
null
null
class DataFile: def __init__(self, datetime, chart, datafile): self.Datetime = datetime self.Chart = chart self.Datafile = datafile return
22
50
0.619318
18
176
5.833333
0.444444
0.228571
0
0
0
0
0
0
0
0
0
0
0.306818
176
8
51
22
0.860656
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
582aac3fb40d18a8caf88d0e37df5844f69f579a
5,765
py
Python
pbgpp/PCAP/Information.py
cmoeller-dx/pbgp-parser
7db344298c94dc11a86cdd448aa455f188f6362e
[ "Apache-2.0" ]
null
null
null
pbgpp/PCAP/Information.py
cmoeller-dx/pbgp-parser
7db344298c94dc11a86cdd448aa455f188f6362e
[ "Apache-2.0" ]
null
null
null
pbgpp/PCAP/Information.py
cmoeller-dx/pbgp-parser
7db344298c94dc11a86cdd448aa455f188f6362e
[ "Apache-2.0" ]
null
null
null
# # This file is part of PCAP BGP Parser (pbgpp) # # Copyright 2016-2017 DE-CIX Management GmbH # Author: Tobias Hannaske <tobias.hannaske@de-cix.net> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the Lic...
32.027778
217
0.624458
709
5,765
4.944993
0.212976
0.035938
0.047918
0.032516
0.430405
0.312892
0.241586
0.241586
0.241586
0.183115
0
0.029135
0.261752
5,765
179
218
32.206704
0.794643
0.150737
0
0.387387
0
0
0.087716
0.0265
0
0
0.001233
0
0
1
0.252252
false
0
0.027027
0.162162
0.603604
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5852698a7e87ed1af4770747c28bce2a7badd860
977
py
Python
week8/codingbat/list1.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
null
null
null
week8/codingbat/list1.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
13
2021-03-10T08:46:52.000Z
2022-03-02T08:13:58.000Z
week8/codingbat/list1.py
yestemir/web
5bdead66c26a3c466701e25ecae9720f04ad4118
[ "Unlicense" ]
null
null
null
def first_last6(nums): if nums[0] == 6 or nums[-1] == 6: return True else: return False def same_first_last(nums): if len(nums) >= 1 and nums[0] == nums[-1]: return True else: return False def make_pi(): return [3, 1, 4] def common_end(a, b): if a[-1] == b[-1] or a[0] == b[0]: return ...
16.844828
66
0.546571
185
977
2.837838
0.205405
0.085714
0.106667
0.152381
0.268571
0.16
0
0
0
0
0
0.077778
0.26305
977
58
67
16.844828
0.651389
0
0
0.282609
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0
0.130435
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5864422c65e66f73ac177dd90544f92bd46d8d4d
1,240
py
Python
setup.py
17451k/eventb-to-txt
79ab03bd98c6545ffe118f627494c98d18e83fd7
[ "MIT" ]
4
2019-03-21T07:16:15.000Z
2022-03-02T11:35:37.000Z
setup.py
17451k/eventb-to-txt
79ab03bd98c6545ffe118f627494c98d18e83fd7
[ "MIT" ]
2
2018-12-14T10:52:26.000Z
2021-03-15T12:08:57.000Z
setup.py
17451k/eventb-to-txt
79ab03bd98c6545ffe118f627494c98d18e83fd7
[ "MIT" ]
null
null
null
# Copyright (c) 2018 Ilya Shchepetkov # Use of this source code is governed by the MIT license that can be # found in the LICENSE file. import setuptools setuptools.setup( name='eventb-to-txt', version='1.4', author='Ilya Shchepetkov', author_email='ilya.shchepetkov@yandex.ru', license='LICENSE.tx...
33.513514
70
0.623387
143
1,240
5.293706
0.573427
0.175694
0.231176
0.206077
0
0
0
0
0
0
0
0.026233
0.231452
1,240
36
71
34.444444
0.768101
0.104032
0
0
0
0
0.550136
0.060524
0
0
0
0
0
1
0
true
0
0.032258
0
0.032258
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
58748af4b38ef6bccdecc903a2765f800951385b
2,120
py
Python
dtf/migrations/0021_allow_null_reference.py
siehr/django-testing-framework
7e411227afff1a5463ebc73ae5cb2c537f0d4f69
[ "MIT" ]
null
null
null
dtf/migrations/0021_allow_null_reference.py
siehr/django-testing-framework
7e411227afff1a5463ebc73ae5cb2c537f0d4f69
[ "MIT" ]
70
2021-03-06T14:36:42.000Z
2022-03-30T10:00:54.000Z
dtf/migrations/0021_allow_null_reference.py
siehr/django-testing-framework
7e411227afff1a5463ebc73ae5cb2c537f0d4f69
[ "MIT" ]
1
2022-02-02T14:05:43.000Z
2022-02-02T14:05:43.000Z
# Generated by Django 3.1.7 on 2021-04-03 10:48 from django.db import migrations, models import dtf.validators class Migration(migrations.Migration): dependencies = [ ('dtf', '0020_introduce_duration'), ] operations = [ migrations.AlterField( model_name='testreference', ...
106
1,755
0.559906
209
2,120
5.665072
0.416268
0.08277
0.081081
0.106419
0.052365
0.052365
0
0
0
0
0
0.012254
0.114623
2,120
19
1,756
111.578947
0.61854
0.021226
0
0
1
0.076923
0.502653
0.083936
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5878503093afd58603419e4c7ab382b8a5accd69
77,936
py
Python
wastd/observations/migrations/0001_initial.py
ropable/wastd
295c60760548d177859de9c0bebdae93342767d0
[ "MIT" ]
3
2020-07-23T06:37:43.000Z
2022-01-27T09:40:40.000Z
wastd/observations/migrations/0001_initial.py
ropable/wastd
295c60760548d177859de9c0bebdae93342767d0
[ "MIT" ]
337
2018-07-12T05:56:29.000Z
2022-03-30T02:40:41.000Z
wastd/observations/migrations/0001_initial.py
ropable/wastd
295c60760548d177859de9c0bebdae93342767d0
[ "MIT" ]
2
2020-02-24T00:05:46.000Z
2020-07-15T07:02:29.000Z
# Generated by Django 2.0.7 on 2018-07-31 06:35 import django.contrib.gis.db.models.fields import django.db.models.deletion import django_fsm from django.conf import settings from django.db import migrations, models import wastd.observations.models class Migration(migrations.Migration): initial = True dep...
137.211268
5,779
0.670268
9,316
77,936
5.505582
0.118184
0.043537
0.028095
0.031819
0.705401
0.686547
0.658588
0.636284
0.604738
0.566816
0
0.011275
0.170422
77,936
567
5,780
137.453263
0.782024
0.000577
0
0.57424
1
0.021467
0.496245
0.051368
0
0
0
0
0
1
0
false
0
0.010733
0
0.017889
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
587c7307d11f141c7d4fbe2cc4464313f9856cbe
797
py
Python
tests/test_main.py
animuk/f8a-stacks-report
f4ec0c303720a5c42bded6df6e34899fc6112f10
[ "Apache-2.0" ]
null
null
null
tests/test_main.py
animuk/f8a-stacks-report
f4ec0c303720a5c42bded6df6e34899fc6112f10
[ "Apache-2.0" ]
null
null
null
tests/test_main.py
animuk/f8a-stacks-report
f4ec0c303720a5c42bded6df6e34899fc6112f10
[ "Apache-2.0" ]
null
null
null
"""Tests for main module.""" from f8a_report.main import time_to_generate_monthly_report, main from unittest import mock class TodayMockClass: """Mock class for `today` from datetime module.""" def __init__(self, day): """Construct the class and initialize day attribute.""" self.day = day ...
27.482759
79
0.72271
106
797
5.141509
0.415094
0.055046
0.12844
0.192661
0.304587
0.205505
0.146789
0.146789
0
0
0
0.009063
0.169385
797
28
80
28.464286
0.814199
0.240903
0
0
1
0
0.067358
0.067358
0
0
0
0
0.214286
1
0.214286
false
0
0.142857
0
0.428571
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
1
0
0
0
0
0
0
0
3
5888c6fdc8e4a76fc7930213ac18525bb6b6a29c
166
py
Python
PycharmProjects/pythonProject/venv/ex003.py
Caiocolas/-Exercicios-Python-
7c4fa922f3ec89f1d5a5ccd928651722b932793c
[ "MIT" ]
null
null
null
PycharmProjects/pythonProject/venv/ex003.py
Caiocolas/-Exercicios-Python-
7c4fa922f3ec89f1d5a5ccd928651722b932793c
[ "MIT" ]
null
null
null
PycharmProjects/pythonProject/venv/ex003.py
Caiocolas/-Exercicios-Python-
7c4fa922f3ec89f1d5a5ccd928651722b932793c
[ "MIT" ]
null
null
null
v1 = int(input('Digite um valor:')) v2 = int(input('Digite outro valor:')) re = (v1+v2) print ('O valor da soma entre {} e {} tem o resultado {}!'.format(v1,v2,re))
27.666667
76
0.620482
29
166
3.551724
0.62069
0.15534
0.271845
0
0
0
0
0
0
0
0
0.043165
0.162651
166
5
77
33.2
0.697842
0
0
0
0
0
0.509091
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
58896dc7359939933a6e374216ea99d83c37611a
796
py
Python
DataBase/spider/BoxOffice/douban.py
Mbaey/CupCup
a6bf9b10f68020bf9bb2d44c19f7f6a89367abde
[ "Apache-2.0" ]
4
2017-08-06T09:16:38.000Z
2021-08-31T07:07:00.000Z
CupCupNow/DataBase/spider/DoubanMovie/douban.py
aikeshuidema/CupCup
3b902c0399b87e2bb0e94f1dd82241bc7e952cae
[ "Apache-2.0" ]
null
null
null
CupCupNow/DataBase/spider/DoubanMovie/douban.py
aikeshuidema/CupCup
3b902c0399b87e2bb0e94f1dd82241bc7e952cae
[ "Apache-2.0" ]
1
2017-08-11T08:08:48.000Z
2017-08-11T08:08:48.000Z
# coding: UTF-8 import sys reload(sys) sys.setdefaultencoding('utf8') import json import datetime import urllib2 import MySQLdb import MySQLdb.cursors db = MySQLdb.connect(host='127.0.0.1', user='root', passwd='root', db='test', port=3306, charset='utf8', cursorclass = MySQLdb.cursors.DictCursor) db.autocommit(True) ...
33.166667
153
0.677136
110
796
4.9
0.527273
0.033395
0.044527
0.051948
0.319109
0.319109
0.319109
0.319109
0.319109
0.211503
0
0.020772
0.153266
796
24
154
33.166667
0.778932
0.094221
0
0
0
0.066667
0.248603
0
0
0
0
0
0
0
null
null
0.066667
0.4
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
1
0
0
0
0
3
58a97b4f11b73693efdad95bc0d879c6a8b2c173
158
py
Python
utils/onehot.py
ahirsharan/SegNet
3044f5fbc78c98685ba2f1b7d45be6b60d7aaaef
[ "MIT" ]
10
2020-07-04T05:28:23.000Z
2022-03-21T03:37:59.000Z
utils/onehot.py
ahirsharan/SegNet
3044f5fbc78c98685ba2f1b7d45be6b60d7aaaef
[ "MIT" ]
1
2020-11-24T15:19:11.000Z
2020-11-27T01:53:29.000Z
utils/onehot.py
ahirsharan/SegNet
3044f5fbc78c98685ba2f1b7d45be6b60d7aaaef
[ "MIT" ]
1
2022-03-22T06:00:48.000Z
2022-03-22T06:00:48.000Z
import torch.nn.functional as F import torch def onehot(X,num_classes): ident=torch.eye(num_classes,dtype=int) X_onehot=ident[X] return X_onehot
19.75
42
0.746835
27
158
4.222222
0.592593
0.192982
0
0
0
0
0
0
0
0
0
0
0.158228
158
7
43
22.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5444ba4ad9dea26dfce70707ac115cc1a7f551f4
27,393
py
Python
labot/mitm/bridge.py
amnesik/LaBot
7215ad1bfbdceffd8261069611ea95eb37e4dfcf
[ "MIT" ]
null
null
null
labot/mitm/bridge.py
amnesik/LaBot
7215ad1bfbdceffd8261069611ea95eb37e4dfcf
[ "MIT" ]
null
null
null
labot/mitm/bridge.py
amnesik/LaBot
7215ad1bfbdceffd8261069611ea95eb37e4dfcf
[ "MIT" ]
null
null
null
""" Classes to take decisions for transmitting the packets The classes inheriting from BridgeHandler must implement `handle`. The classes inheriting from MsgBridgeHandler must implement `handle_message`. """ import select from abc import ABC, abstractmethod from collections import deque import os import logging impo...
67.470443
13,566
0.680466
3,985
27,393
4.63212
0.692597
0.006447
0.008451
0.008289
0.197681
0.188851
0.164581
0.157918
0.155967
0.139932
0
0.492071
0.171248
27,393
405
13,567
67.637037
0.321029
0.101814
0
0.525097
0
0.003861
0.051568
0.019389
0
0
0
0.002469
0.011583
1
0.104247
false
0.011583
0.034749
0.003861
0.177606
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
546d2c794d2d5a2313bb06d2c39fe5a6b990f09e
448
py
Python
tests/Unit/Elliptic/Systems/Elasticity/BoundaryConditions/LaserBeam.py
nilsvu/spectre
1455b9a8d7e92db8ad600c66f54795c29c3052ee
[ "MIT" ]
117
2017-04-08T22:52:48.000Z
2022-03-25T07:23:36.000Z
tests/Unit/Elliptic/Systems/Elasticity/BoundaryConditions/LaserBeam.py
GitHimanshuc/spectre
4de4033ba36547113293fe4dbdd77591485a4aee
[ "MIT" ]
3,177
2017-04-07T21:10:18.000Z
2022-03-31T23:55:59.000Z
tests/Unit/Elliptic/Systems/Elasticity/BoundaryConditions/LaserBeam.py
geoffrey4444/spectre
9350d61830b360e2d5b273fdd176dcc841dbefb0
[ "MIT" ]
85
2017-04-07T19:36:13.000Z
2022-03-01T10:21:00.000Z
# Distributed under the MIT License. # See LICENSE.txt for details. import numpy as np from numpy import sqrt, exp, pi def normal_dot_minus_stress(x, n, beam_width): n /= np.linalg.norm(n) r = sqrt(np.linalg.norm(x)**2 - np.dot(x, n)**2) beam_profile = exp(-(r / beam_width)**2) / pi / beam_width**2 r...
26.352941
65
0.6875
79
448
3.734177
0.481013
0.122034
0.081356
0.115254
0.155932
0
0
0
0
0
0
0.016216
0.174107
448
16
66
28
0.781081
0.140625
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
547309e88a07e8d592fed5bc523162e851cf6b49
3,227
py
Python
hooks/webkitpy/tool/commands/sheriffbot.py
nizovn/luna-sysmgr
48b7e2546e81d6ad1604353f2e5ab797a7d1667c
[ "Apache-2.0" ]
3
2018-11-16T14:51:17.000Z
2019-11-21T10:55:24.000Z
WebKit/Tools/Scripts/webkitpy/tool/commands/sheriffbot.py
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
1
2021-02-20T13:12:15.000Z
2021-02-20T13:12:15.000Z
WebKit/Tools/Scripts/webkitpy/tool/commands/sheriffbot.py
JavaScriptTesting/LJS
9818dbdb421036569fff93124ac2385d45d01c3a
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2009 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the...
39.839506
78
0.753951
435
3,227
5.485057
0.473563
0.030176
0.026823
0.019279
0.095557
0.056999
0.056999
0.056999
0.056999
0.056999
0
0.001524
0.186861
3,227
80
79
40.3375
0.907774
0.536412
0
0.058824
0
0
0.029392
0
0
0
0
0
0
1
0.235294
false
0.029412
0.205882
0.117647
0.676471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
548e6ef0c6d891adc8df0107d485dfbbca08217a
7,921
py
Python
02.Regression/02.Multiple-Linear-Regression/multiple_linear_regression.py
HassanRahim26/Machine-Learning
4cce862e06191126c9070b47dd5d910c0cf40b67
[ "MIT" ]
null
null
null
02.Regression/02.Multiple-Linear-Regression/multiple_linear_regression.py
HassanRahim26/Machine-Learning
4cce862e06191126c9070b47dd5d910c0cf40b67
[ "MIT" ]
null
null
null
02.Regression/02.Multiple-Linear-Regression/multiple_linear_regression.py
HassanRahim26/Machine-Learning
4cce862e06191126c9070b47dd5d910c0cf40b67
[ "MIT" ]
null
null
null
# Multiple Linear Regression # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('50_Startups.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, -1].values print(X) """ [[165349.2 136897.8 471784.1 'New York'] [162597....
41.041451
501
0.711148
1,568
7,921
3.576531
0.284439
0.066334
0.05724
0.040656
0.492154
0.470399
0.022825
0.004636
0
0
0
0.428889
0.148719
7,921
192
502
41.255208
0.40175
0.080419
0
0.086957
0
0
0.033435
0
0
0
0
0
0
1
0
false
0.043478
0.304348
0
0.304348
0.304348
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
1
0
0
0
0
3
5492e0d1cbe11edd4184851eec16c63690cb09d9
1,941
py
Python
{{cookiecutter.github_repository_name}}/tests/{{cookiecutter.app_name}}_tests/users/test_views.py
ehudhala/cookiecutter-django-rest-angular2
fd1ccf2a7659feb207872a11159e1c30bb444d31
[ "MIT" ]
16
2016-11-04T19:13:16.000Z
2018-02-19T18:13:23.000Z
{{cookiecutter.github_repository_name}}/tests/{{cookiecutter.app_name}}_tests/users/test_views.py
ehudhala/cookiecutter-django-rest-angular2
fd1ccf2a7659feb207872a11159e1c30bb444d31
[ "MIT" ]
null
null
null
{{cookiecutter.github_repository_name}}/tests/{{cookiecutter.app_name}}_tests/users/test_views.py
ehudhala/cookiecutter-django-rest-angular2
fd1ccf2a7659feb207872a11159e1c30bb444d31
[ "MIT" ]
7
2016-11-08T04:31:41.000Z
2018-07-30T15:14:02.000Z
# from django.core.urlresolvers import reverse # from django.forms.models import model_to_dict # from django.contrib.auth.hashers import check_password # from nose.tools import ok_, eq_ # from rest_framework.test import APITestCase # from faker import Faker # from {{cookiecutter.app_name}}.users.models import User # fr...
34.660714
93
0.672334
252
1,941
4.936508
0.333333
0.051447
0.038585
0.064309
0.213023
0.090836
0.053055
0
0
0
0
0.007648
0.191654
1,941
55
94
35.290909
0.785214
0.943328
0
null
0
null
0
0
null
0
0
0.018182
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
1
0
0
0
1
0
0
0
0
0
0
3
54967cc7b53cdb814fb714a7fa9fb397e178f578
535
py
Python
Day 05/stats_analysis.py
nitish3006/100-days-of-code-1
1cf706ad56c6a7cf141edc833946c2ca6c27b107
[ "MIT" ]
31
2019-10-12T18:29:37.000Z
2022-01-17T06:13:14.000Z
Day 05/stats_analysis.py
nitish3006/100-days-of-code-1
1cf706ad56c6a7cf141edc833946c2ca6c27b107
[ "MIT" ]
3
2019-09-17T04:25:43.000Z
2019-09-26T19:05:00.000Z
Day 05/stats_analysis.py
nitish3006/100-days-of-code-1
1cf706ad56c6a7cf141edc833946c2ca6c27b107
[ "MIT" ]
13
2020-06-15T12:18:39.000Z
2022-02-22T02:34:02.000Z
import pandas as pd import matplotlib.pyplot as plt # Import our data file stock_prices = pd.read_csv('/data/tesla.csv') # Print stock_prices DataFrame for review # print(stock_prices) # Print using the .describe() method # print(stock_prices.describe()) # Print the minimum value of Open # print(stock_prices['Open...
21.4
45
0.73271
83
535
4.614458
0.445783
0.229765
0.250653
0.125326
0.24282
0.24282
0.24282
0
0
0
0
0
0.134579
535
24
46
22.291667
0.827214
0.66729
0
0
0
0
0.13253
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
0
3
549e8584b0814592dc85278267c8af959dd649b9
165
py
Python
professor-service/run.py
mjrulesamrat/k8s-demo
b0b7ff300ec0d048990024697deb140bc14ba2f2
[ "MIT" ]
null
null
null
professor-service/run.py
mjrulesamrat/k8s-demo
b0b7ff300ec0d048990024697deb140bc14ba2f2
[ "MIT" ]
null
null
null
professor-service/run.py
mjrulesamrat/k8s-demo
b0b7ff300ec0d048990024697deb140bc14ba2f2
[ "MIT" ]
null
null
null
from fastapi import FastAPI app = FastAPI() @app.get("/api/v1/incoming") def incoming(): return {"message": "You've seccussfully reached professor server!"}
20.625
71
0.70303
21
165
5.52381
0.809524
0.172414
0
0
0
0
0
0
0
0
0
0.007143
0.151515
165
7
72
23.571429
0.821429
0
0
0
0
0
0.412121
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
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
1
0
0
0
3
54a13f448618c99994c396c6ec7094459e1d8722
239
py
Python
6 kyu/The Lamp Revisited.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
6
2020-09-03T09:32:25.000Z
2020-12-07T04:10:01.000Z
6 kyu/The Lamp Revisited.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
1
2021-12-13T15:30:21.000Z
2021-12-13T15:30:21.000Z
6 kyu/The Lamp Revisited.py
mwk0408/codewars_solutions
9b4f502b5f159e68024d494e19a96a226acad5e5
[ "MIT" ]
null
null
null
class Lamp: def __init__(self, color): self.color=color self.on=False def state(self): return "The lamp is off." if not self.on else "The lamp is on." def toggle_switch(self): self.on=not self.on
29.875
71
0.606695
38
239
3.684211
0.473684
0.171429
0.128571
0
0
0
0
0
0
0
0
0
0.288703
239
8
72
29.875
0.823529
0
0
0
0
0
0.129167
0
0
0
0
0
0
1
0.375
false
0
0
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
54a45a0d1668da8c9b2c0e2992e6a7ef6488f59d
58
py
Python
olliebennett/__init__.py
olliebennett/raspberry-pi-scripts
4e8dc3dcd80b195aa80100a7de2a2a4230715de4
[ "MIT" ]
1
2015-08-09T21:48:31.000Z
2015-08-09T21:48:31.000Z
olliebennett/__init__.py
olliebennett/raspberry-pi-scripts
4e8dc3dcd80b195aa80100a7de2a2a4230715de4
[ "MIT" ]
1
2015-08-09T23:29:54.000Z
2015-08-09T23:29:54.000Z
olliebennett/__init__.py
olliebennett/raspberry-pi-scripts
4e8dc3dcd80b195aa80100a7de2a2a4230715de4
[ "MIT" ]
null
null
null
__author__ = 'Ollie Bennett | http://olliebennett.co.uk/'
29
57
0.724138
7
58
5.428571
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
58
1
58
58
0.730769
0
0
0
0
0
0.724138
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54b2bc80bff894dc81754f1c4f6377a0356ac3be
1,029
py
Python
snake_agent_factory.py
sbeignez/Coding-Adventures
3fc3656b73371eac3847cded6c91aa65a6185f5b
[ "MIT" ]
null
null
null
snake_agent_factory.py
sbeignez/Coding-Adventures
3fc3656b73371eac3847cded6c91aa65a6185f5b
[ "MIT" ]
null
null
null
snake_agent_factory.py
sbeignez/Coding-Adventures
3fc3656b73371eac3847cded6c91aa65a6185f5b
[ "MIT" ]
null
null
null
from snake_utils import * from snake_agent_ai import * from snake_agent_astar import * from snake_agent_greedy import * from snake_agent_bfs import * from snake_agent_rl_qlearning import * class AgentFactory(): def __init__(self, session, agent_type : Agents): self._session = session self._agent_t...
34.3
66
0.701652
130
1,029
5.130769
0.284615
0.175412
0.214393
0.17991
0.383808
0.311844
0.311844
0.311844
0.311844
0.311844
0
0
0.223518
1,029
29
67
35.482759
0.834793
0
0
0
0
0
0.020448
0
0
0
0
0
0
1
0.086957
false
0
0.26087
0
0.608696
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
49afdbafa3903fc83c1caa9b63dae685d77a7d40
505
py
Python
tests/test_constant.py
civilian/django-business-logic
3af2175318d019e6327d41e0256cb945b33a713c
[ "MIT" ]
160
2016-05-25T12:51:02.000Z
2022-01-29T20:39:22.000Z
tests/test_constant.py
civilian/django-business-logic
3af2175318d019e6327d41e0256cb945b33a713c
[ "MIT" ]
36
2016-09-06T11:13:27.000Z
2021-02-27T12:33:31.000Z
tests/test_constant.py
civilian/django-business-logic
3af2175318d019e6327d41e0256cb945b33a713c
[ "MIT" ]
30
2016-07-23T14:41:51.000Z
2022-03-25T21:31:06.000Z
# -*- coding: utf-8 -*- # from .common import * class ConstantTest(TestCase): def test_init(self): integer_const = NumberConstant(value=33) self.assertEqual(33, integer_const.value) def test_str(self): integer_const = NumberConstant(value=33) self.assertEqual(str(33), str(in...
24.047619
62
0.665347
58
505
5.637931
0.37931
0.220183
0.146789
0.275229
0.562691
0.431193
0.318043
0.318043
0
0
0
0.032911
0.217822
505
20
63
25.25
0.794937
0.041584
0
0.25
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.083333
0
0.416667
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
1
0
0
0
0
0
0
0
3
49b11908f2f4b153a8067fb495c27246ccd878ea
1,261
py
Python
app/backend/api/endpoints/user.py
sourcery-ai-bot/find-my-pet
82654e20740c3bd7935374868ec0dd0b4d2c33bd
[ "Apache-2.0" ]
2
2020-03-16T10:33:00.000Z
2021-04-08T09:15:34.000Z
app/backend/api/endpoints/user.py
sourcery-ai-bot/find-my-pet
82654e20740c3bd7935374868ec0dd0b4d2c33bd
[ "Apache-2.0" ]
21
2020-03-16T11:09:34.000Z
2021-04-08T12:27:55.000Z
app/backend/api/endpoints/user.py
sourcery-ai-bot/find-my-pet
82654e20740c3bd7935374868ec0dd0b4d2c33bd
[ "Apache-2.0" ]
1
2021-04-08T09:15:36.000Z
2021-04-08T09:15:36.000Z
# coding=utf-8 from flask_restplus import Resource from app.backend.api.restplus import api from app.backend.api.serializers.user import user_get_serializer, user_post_serializer from app.backend.web.business.user import UserBus ns_user = api.namespace('user', description='Users operations and registry') @ns_user...
27.413043
86
0.747819
183
1,261
4.934426
0.262295
0.054264
0.094131
0.079734
0.469546
0.390919
0.390919
0.387597
0.387597
0.296788
0
0.003552
0.107058
1,261
45
87
28.022222
0.798401
0.009516
0
0.290323
0
0
0.048917
0
0
0
0
0
0
1
0.225806
false
0
0.129032
0.16129
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
49b229ed0763a109bb11e917ae10770aaacf0130
861
py
Python
freeline/freeline_core/cursor.py
xyzmst/rxlist
959ceda68650e71c9b0081a1131fcdc9c60c24d0
[ "Apache-2.0" ]
6,094
2016-08-03T17:36:41.000Z
2022-03-29T11:34:21.000Z
freeline/freeline_core/cursor.py
xyzmst/rxlist
959ceda68650e71c9b0081a1131fcdc9c60c24d0
[ "Apache-2.0" ]
1,010
2016-08-12T11:59:06.000Z
2022-01-12T15:50:11.000Z
freeline/freeline_core/cursor.py
xyzmst/rxlist
959ceda68650e71c9b0081a1131fcdc9c60c24d0
[ "Apache-2.0" ]
773
2016-08-15T06:41:35.000Z
2022-02-15T12:40:33.000Z
# -*- coding:utf8 -*- from terminal import Terminal class Cursor(object): def __init__(self, term=None): self.term = Terminal() if term is None else term self._stream = self.term.stream self._saved = False def write(self, s): self._stream.write(s) def save(self): ...
23.916667
56
0.599303
119
861
4.176471
0.327731
0.160966
0.183099
0.239437
0.358149
0.245473
0.144869
0.144869
0.144869
0.144869
0
0.003247
0.284553
861
35
57
24.6
0.803571
0.022067
0
0.16
0
0
0
0
0
0
0
0
0
1
0.28
false
0
0.04
0
0.36
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
49b49c51ab1b2a3a6302b76933196e47ee8588c6
27
py
Python
omni-mini/configs.py
indy-lab/ProtoTransfer
90a526bb209160e376b2b8290e99b0f62b240052
[ "MIT" ]
43
2020-06-23T08:09:08.000Z
2022-03-03T03:05:34.000Z
omni-mini/configs.py
Asphalt93/ProtoTransfer
2e186ffd5bd795244c6dd7192575b84f935c5749
[ "MIT" ]
5
2020-07-03T20:58:24.000Z
2021-08-04T06:34:09.000Z
omni-mini/configs.py
Asphalt93/ProtoTransfer
2e186ffd5bd795244c6dd7192575b84f935c5749
[ "MIT" ]
9
2020-07-21T03:26:29.000Z
2021-09-26T06:10:37.000Z
data_path = '../few_data/'
13.5
26
0.62963
4
27
3.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.625
0
0
0
0
0
0.444444
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
49badaf36438777dc4c34a8a760291b52f883549
428
py
Python
tests/test_sample.py
Itisfilipe/django-live-profiler
578a8343a42bacc697d688ac4f0a0e2f332f9ab1
[ "MIT" ]
24
2017-10-21T17:21:19.000Z
2022-03-31T15:31:47.000Z
tests/test_sample.py
Itisfilipe/django-live-profiler
578a8343a42bacc697d688ac4f0a0e2f332f9ab1
[ "MIT" ]
null
null
null
tests/test_sample.py
Itisfilipe/django-live-profiler
578a8343a42bacc697d688ac4f0a0e2f332f9ab1
[ "MIT" ]
15
2016-12-10T14:36:51.000Z
2022-02-05T23:37:42.000Z
""" Sample Test """ # pylint: disable=redefined-outer-name, unused-argument import pytest import sample.main @pytest.fixture def sample_fixture(): """Setup test fixture""" return 1 def test_func(sample_fixture): """Test the sample function""" assert sample.main.sample_func(1) == 2 def test_negati...
17.833333
55
0.698598
57
428
5.122807
0.421053
0.10274
0.136986
0.178082
0.273973
0.273973
0.273973
0
0
0
0
0.014045
0.168224
428
23
56
18.608696
0.80618
0.334112
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.333333
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
49c907d3ef72faa29e29803b1d1c97ca60f8e546
682
py
Python
src/mutanno/web/views.py
dbmi-bgm/cgap-annotation-server
05d022f254b5e3057abf13aa9c8bdae5eb8b6e3a
[ "MIT" ]
1
2021-05-27T14:27:47.000Z
2021-05-27T14:27:47.000Z
src/mutanno/web/views.py
dbmi-bgm/cgap-annotation-server
05d022f254b5e3057abf13aa9c8bdae5eb8b6e3a
[ "MIT" ]
8
2020-02-11T20:06:10.000Z
2020-09-28T20:03:17.000Z
src/mutanno/web/views.py
dbmi-bgm/cgap-annotation-server
05d022f254b5e3057abf13aa9c8bdae5eb8b6e3a
[ "MIT" ]
null
null
null
from . import stat from . import gene from . import variant from .util import web # Create your views here. def home(request): data = {} return web.render(request, 'index.html', data) def gene_list(request): data = {} return web.render(request, 'gene_list.html', data) def gene_view(request): ...
18.432432
57
0.668622
93
682
4.795699
0.225806
0.147982
0.2287
0.269058
0.538117
0.538117
0.464126
0
0
0
0
0
0.199413
682
36
58
18.944444
0.81685
0.033724
0
0.272727
0
0
0.130898
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0
0.727273
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
49fae2309cb1a52ed464ff0836521e4afc752e3a
264
py
Python
webapp/WebProject/user_auth/admin.py
jai-soni/csye6225-spring2019
a0fb898f650a79bc683e54dd8b51d82633ebe1f4
[ "Apache-2.0" ]
1
2019-12-03T23:19:00.000Z
2019-12-03T23:19:00.000Z
webapp/WebProject/user_auth/admin.py
jai-soni/csye6225-spring2019
a0fb898f650a79bc683e54dd8b51d82633ebe1f4
[ "Apache-2.0" ]
4
2020-06-06T00:37:09.000Z
2021-06-10T22:16:04.000Z
webapp/WebProject/user_auth/admin.py
jai-soni/csye6225-spring2019
a0fb898f650a79bc683e54dd8b51d82633ebe1f4
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import * class NotesModelAdmin(admin.ModelAdmin): list_display = ('id', 'title', 'content', 'user', 'created_on', 'last_updated_on') admin.site.register(NotesModel, NotesModelAdmin) admin.site.register(Attachment)
37.714286
86
0.768939
32
264
6.21875
0.71875
0.201005
0.170854
0
0
0
0
0
0
0
0
0
0.094697
264
7
87
37.714286
0.832636
0
0
0
0
0
0.162264
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b702a614381dd0e01441a33e3e720e1bd9d1f294
800
py
Python
essmc2/datasets/base_dataset.py
huang-ziyuan/EssentialMC2
87141df94c1ac8e426ceec071720b97f5b9d3b88
[ "MIT" ]
null
null
null
essmc2/datasets/base_dataset.py
huang-ziyuan/EssentialMC2
87141df94c1ac8e426ceec071720b97f5b9d3b88
[ "MIT" ]
null
null
null
essmc2/datasets/base_dataset.py
huang-ziyuan/EssentialMC2
87141df94c1ac8e426ceec071720b97f5b9d3b88
[ "MIT" ]
null
null
null
# Copyright 2021 Alibaba Group Holding Limited. All Rights Reserved. from abc import ABCMeta, abstractmethod from torch.utils.data import Dataset from essmc2.utils.file_systems import FS from ..transforms.registry import build_pipeline, TRANSFORMS class BaseDataset(Dataset, metaclass=ABCMeta): def __init__(sel...
27.586207
78
0.67
94
800
5.393617
0.510638
0.047337
0.047337
0
0
0
0
0
0
0
0
0.00813
0.23125
800
28
79
28.571429
0.81626
0.0825
0
0
0
0
0.087432
0.035519
0
0
0
0
0
1
0.210526
false
0.052632
0.210526
0.052632
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b7068bf43698c1ce99824f716d0df94addefe9b2
414
py
Python
app/app/api/routes.py
icapora/fastapi-tortoise
521e02c097718552a46b5f8fa228ce4669cd095c
[ "MIT" ]
null
null
null
app/app/api/routes.py
icapora/fastapi-tortoise
521e02c097718552a46b5f8fa228ce4669cd095c
[ "MIT" ]
null
null
null
app/app/api/routes.py
icapora/fastapi-tortoise
521e02c097718552a46b5f8fa228ce4669cd095c
[ "MIT" ]
null
null
null
from app.controllers import login, opinions, status, users from fastapi import APIRouter api_route = APIRouter() api_route.include_router(status.router, prefix="/status", tags=["status"]) api_route.include_router(login.router, prefix="/login", tags=["login"]) api_route.include_router(users.router, prefix="/users", tag...
46
80
0.772947
55
414
5.654545
0.290909
0.128617
0.192926
0.270096
0
0
0
0
0
0
0
0
0.065217
414
8
81
51.75
0.803618
0
0
0
0
0
0.125604
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b71ae0ce6f66b6d84f746ac9997b742f50f61d81
562
py
Python
258_add_digits.py
claytonjwong/leetcode-py
16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7
[ "MIT" ]
1
2020-07-15T14:16:23.000Z
2020-07-15T14:16:23.000Z
258_add_digits.py
claytonjwong/leetcode-py
16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7
[ "MIT" ]
null
null
null
258_add_digits.py
claytonjwong/leetcode-py
16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7
[ "MIT" ]
null
null
null
# # 258. Add Digits # # Q: https://leetcode.com/problems/add-digits/ # A: https://leetcode.com/problems/add-digits/discuss/756944/Javascript-Python3-C%2B%2B-1-Liners # # using reduce() to accumulate the digits of x class Solution: def addDigits(self, x: int) -> int: return x if x < 10 else self.addDigits(r...
33.058824
105
0.66548
95
562
3.936842
0.421053
0.072193
0.085562
0.128342
0.652406
0.652406
0.475936
0.475936
0.475936
0.475936
0
0.036876
0.179715
562
16
106
35.125
0.774403
0.430605
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3f960cdbd0c9cae1606b4d3f26cf2ff15a649f5d
159
py
Python
judge_client/constants.py
trojsten/judge-client
75d28dd7e638ca28bae6b16b256dba16f39385ff
[ "MIT" ]
2
2018-08-19T15:00:02.000Z
2020-06-17T11:54:47.000Z
judge_client/constants.py
trojsten/judge-client
75d28dd7e638ca28bae6b16b256dba16f39385ff
[ "MIT" ]
1
2022-01-19T21:02:45.000Z
2022-01-19T21:02:45.000Z
judge_client/constants.py
trojsten/judge-client
75d28dd7e638ca28bae6b16b256dba16f39385ff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Common constants for submit SUBMIT_RESPONSE_ERROR = 'CERR' SUBMIT_RESPONSE_OK = 'OK' SUBMIT_RESPONSE_PROTOCOL_CORRUPTED = 'PROTCOR'
22.714286
46
0.754717
20
159
5.65
0.7
0.371681
0
0
0
0
0
0
0
0
0
0.007194
0.125786
159
6
47
26.5
0.805755
0.308176
0
0
0
0
0.121495
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3f9fce5a9ff4144f4720b5df984f8190750f58fa
7,926
py
Python
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
ravitejasaidus/airbyte
2f7c15a540ad16824ac80f8674e30c63b915a690
[ "MIT" ]
2
2021-03-02T09:17:41.000Z
2021-03-02T11:02:23.000Z
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
ravitejasaidus/airbyte
2f7c15a540ad16824ac80f8674e30c63b915a690
[ "MIT" ]
4
2021-06-10T13:30:31.000Z
2021-06-10T14:03:22.000Z
airbyte-integrations/connectors/source-posthog/source_posthog/streams.py
keu/airbyte
0bfd83052887e1ca72ddfdb339c62d2e39b050bc
[ "MIT" ]
1
2021-05-31T00:08:34.000Z
2021-05-31T00:08:34.000Z
# # MIT License # # Copyright (c) 2020 Airbyte # # 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 use, copy, modify, merge, pu...
34.311688
135
0.682438
1,020
7,926
5.169608
0.264706
0.028447
0.051773
0.03224
0.377394
0.362981
0.33169
0.269107
0.260193
0.251849
0
0.001277
0.209816
7,926
230
136
34.46087
0.840651
0.296997
0
0.303922
0
0
0.054126
0
0
0
0
0
0
1
0.215686
false
0
0.058824
0.107843
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3fb8f9ccd0741445fdf777a6b82e63cf07f8eccc
282
py
Python
snipping/main.py
yittg/Snipping
99962214e81ed4a0a02b9cc01f7faa5cb702e39b
[ "MIT" ]
4
2016-02-16T10:25:35.000Z
2016-11-30T06:11:05.000Z
snipping/main.py
yittg/Snipping
99962214e81ed4a0a02b9cc01f7faa5cb702e39b
[ "MIT" ]
2
2016-02-16T10:23:52.000Z
2016-02-16T15:42:32.000Z
snipping/main.py
yittg/Snipping
99962214e81ed4a0a02b9cc01f7faa5cb702e39b
[ "MIT" ]
null
null
null
"""Main """ import sys from snipping import application from snipping import prompt_toolkit def main(): init_file = None if len(sys.argv) > 1: init_file = sys.argv[1] app = application.get_application(init_file=init_file) return prompt_toolkit.run(app)
16.588235
58
0.698582
40
282
4.75
0.5
0.168421
0.189474
0
0
0
0
0
0
0
0
0.008929
0.205674
282
16
59
17.625
0.839286
0.014184
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3fdb30c557fd3c99486708db0ff972f2db57069b
9,175
py
Python
crystalgodgenerator.py
trinitysoulstars/thecrystalgod.com
97a5e56fdc2260bacf60b0cea7982a3d28287285
[ "Apache-2.0" ]
null
null
null
crystalgodgenerator.py
trinitysoulstars/thecrystalgod.com
97a5e56fdc2260bacf60b0cea7982a3d28287285
[ "Apache-2.0" ]
null
null
null
crystalgodgenerator.py
trinitysoulstars/thecrystalgod.com
97a5e56fdc2260bacf60b0cea7982a3d28287285
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ Generate The Corpus Cloud with Page Elements, to be Styled """ import jinja2 import arrow corpus = { "5Cars": "http://5cars.world", "Astral Seed": "http://trinitysoulstars.com", "Ascension Symptoms": "http://ascension.fyi", "Amethyst Grills": "http://amethystg...
38.389121
221
0.577112
1,091
9,175
4.839597
0.328139
0.013636
0.034848
0.023864
0.159659
0.129924
0.101894
0.079167
0.079167
0.079167
0
0.01349
0.23248
9,175
238
222
38.55042
0.736297
0.02158
0
0.122995
1
0.128342
0.88693
0.137997
0
0
0
0
0
0
null
null
0
0.010695
null
null
0.037433
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
1
0
0
0
0
0
0
0
0
3
b20477a785a95ce58d48f3e8fd272d89b4d1b78a
882
py
Python
src/repositories/user.py
laurosn/flask-api-starter-kit
09a5b67bf48abeb427beae9bccae323aea16d9ae
[ "MIT" ]
null
null
null
src/repositories/user.py
laurosn/flask-api-starter-kit
09a5b67bf48abeb427beae9bccae323aea16d9ae
[ "MIT" ]
null
null
null
src/repositories/user.py
laurosn/flask-api-starter-kit
09a5b67bf48abeb427beae9bccae323aea16d9ae
[ "MIT" ]
null
null
null
""" Defines the User repository """ from models.user import User from models import db class UserRepository: """ The repository for the user model """ @staticmethod def get(email): """ Query a user by last and first name """ return User.query.filter_by(email=email).one_or_none() def...
24.5
72
0.606576
119
882
4.352941
0.310924
0.138996
0.175676
0.196911
0.310811
0.108108
0.108108
0
0
0
0
0
0.282313
882
35
73
25.2
0.818325
0.174603
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.105263
0
0.578947
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
b20abb9d50c97067e8f3df612bf6df5889a596b3
227
py
Python
src/setup.py
mikewolfli/batch_print
3e10af5a30ce1b92e0a65d9e0bcda5f6c4cec374
[ "Unlicense" ]
null
null
null
src/setup.py
mikewolfli/batch_print
3e10af5a30ce1b92e0a65d9e0bcda5f6c4cec374
[ "Unlicense" ]
null
null
null
src/setup.py
mikewolfli/batch_print
3e10af5a30ce1b92e0a65d9e0bcda5f6c4cec374
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- ''' Created on 2015年8月25日 @author: 10256603 ''' from distutils.core import setup import encodings import py2exe setup(windows=[ { "script":"batch_print.py", }])
17.461538
50
0.568282
23
227
5.565217
0.869565
0
0
0
0
0
0
0
0
0
0
0.10559
0.290749
227
13
51
17.461538
0.689441
0.277533
0
0
0
0
0.127389
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
b20b22377658b8b32fc3a27778302df85bee4703
157
py
Python
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E9.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
12
2018-11-14T03:55:58.000Z
2021-12-12T01:13:05.000Z
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E9.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
null
null
null
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 11/E9.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
7
2019-10-10T06:28:58.000Z
2022-02-15T07:18:12.000Z
song = "The rain in Spain..." print(" ".join(song.split())) # the output only differs from the 'song' when there are more than one spaces between characters
39.25
96
0.719745
25
157
4.52
0.84
0
0
0
0
0
0
0
0
0
0
0
0.159236
157
3
97
52.333333
0.856061
0.598726
0
0
0
0
0.344262
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
b753a6417322c9a45f24683d3e370f24f175092a
1,549
py
Python
authx/utils.py
ace-han/onedegree
ffa30c518a0035509289c36e70316c1b660df3fd
[ "BSD-3-Clause" ]
null
null
null
authx/utils.py
ace-han/onedegree
ffa30c518a0035509289c36e70316c1b660df3fd
[ "BSD-3-Clause" ]
2
2015-10-27T10:12:36.000Z
2015-11-01T05:21:06.000Z
authx/utils.py
ace-han/onedegree
ffa30c518a0035509289c36e70316c1b660df3fd
[ "BSD-3-Clause" ]
null
null
null
from rest_framework import serializers from authx.models import User from rest_framework_jwt.utils import jwt_payload_handler as drf_jwt_payload_handler class UserSerializer(serializers.ModelSerializer): password = serializers.CharField( style={'input_type': 'password'}, wr...
30.372549
83
0.630084
173
1,549
5.49711
0.537572
0.073607
0.071504
0.042061
0
0
0
0
0
0
0
0.0018
0.282763
1,549
51
84
30.372549
0.854185
0.23499
0
0
0
0
0.055191
0
0
0
0
0.019608
0
1
0.105263
false
0.105263
0.157895
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
1
0
0
0
0
1
0
0
1
0
0
3
b77fc50fd4c1ddb1388835baab0d1cea697c0adc
249
py
Python
engine/constants.py
tynr-io/labelling-engine
96befdd9b7cad977fbcdc878c94f23a2ffe9f79f
[ "MIT" ]
null
null
null
engine/constants.py
tynr-io/labelling-engine
96befdd9b7cad977fbcdc878c94f23a2ffe9f79f
[ "MIT" ]
null
null
null
engine/constants.py
tynr-io/labelling-engine
96befdd9b7cad977fbcdc878c94f23a2ffe9f79f
[ "MIT" ]
null
null
null
DATABASES_PATH="../tmp/storage" CREDENTIALS_PATH_BUCKETS="../credentials/tynr/engine/bucketAccess.json" CREDENTIALS_PATH_FIRESTORE = '../credentials/tynr/engine/firestoreServiceAccount.json' INGESTION_COLLECTION = "tyns" INGESTION_BATCH_LIMIT = 1000
49.8
86
0.835341
27
249
7.407407
0.666667
0.15
0.21
0
0
0
0
0
0
0
0
0.016736
0.040161
249
5
87
49.8
0.820084
0
0
0
0
0
0.468
0.396
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b78bfe0092dbfc66846b95d60cda4b7bb9980b6b
2,911
py
Python
app/controllers/web/admin/component.py
arxcdr/silverback
212139cbc1a648d1f877d60f2d7c4d750eefc3da
[ "BSD-3-Clause" ]
null
null
null
app/controllers/web/admin/component.py
arxcdr/silverback
212139cbc1a648d1f877d60f2d7c4d750eefc3da
[ "BSD-3-Clause" ]
null
null
null
app/controllers/web/admin/component.py
arxcdr/silverback
212139cbc1a648d1f877d60f2d7c4d750eefc3da
[ "BSD-3-Clause" ]
null
null
null
""" Component Web Controller """ # Standard Library import os # Third Party Library from django.views import View from django.http import Http404 from django.shortcuts import render from django.utils.translation import gettext as _ # Local Library from app.modules.core.context import Context from app.modules.core.de...
33.848837
122
0.69976
354
2,911
5.437853
0.211864
0.085714
0.043636
0.047792
0.72
0.72
0.659221
0.659221
0.659221
0.659221
0
0.00254
0.188595
2,911
85
123
34.247059
0.811177
0.026108
0
0.607143
0
0
0.142655
0.036814
0
0
0
0
0
1
0.053571
false
0
0.142857
0
0.517857
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b793db1e2c44b3691ddb98dddc04eaa2f28dba82
580
py
Python
src/helperobjects/EntryCellRow.py
linjorejoy/json-testcase-generator
872c5dd48e97746ee8f538c105611cb2395d7d22
[ "MIT" ]
1
2021-08-11T02:51:28.000Z
2021-08-11T02:51:28.000Z
src/helperobjects/EntryCellRow.py
linjorejoy/json-testcase-generator
872c5dd48e97746ee8f538c105611cb2395d7d22
[ "MIT" ]
null
null
null
src/helperobjects/EntryCellRow.py
linjorejoy/json-testcase-generator
872c5dd48e97746ee8f538c105611cb2395d7d22
[ "MIT" ]
null
null
null
from tkinter import Entry from helperobjects.EntryCell import EntryCell from typing import List class EntryCellRow: def __init__(self): self.file_name:str = None self.entry_cell_list:List[EntryCell] = [] self.comment_entry:Entry = None def add_cell(self, entry_cell:EntryCell): ...
25.217391
71
0.691379
77
580
4.753247
0.337662
0.147541
0.177596
0.185792
0
0
0
0
0
0
0
0
0.227586
580
23
72
25.217391
0.816964
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.1875
0.1875
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
b7973259be592dd476bcb72ec56c97380048fb93
37,916
py
Python
instagram_api/big_strings/experiments.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
13
2019-08-07T21:24:34.000Z
2020-12-12T12:23:50.000Z
instagram_api/big_strings/experiments.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
instagram_api/big_strings/experiments.py
Yuego/instagram_api
b53f72db36c505a2eb24ebac1ba8267a0cc295bb
[ "MIT" ]
null
null
null
__all__ = ['EXPERIMENTS'] EXPERIMENTS = ','.join([ 'ig_android_sticker_search_explorations', 'android_ig_camera_ar_asset_manager_improvements_universe', 'ig_android_stories_seen_state_serialization', 'ig_stories_photo_time_duration_universe', 'ig_android_bitmap_cache_executor_size', 'ig_androi...
46.752158
80
0.829571
4,937
37,916
5.53413
0.220782
0.21049
0.16613
0.01852
0.082315
0.031037
0.012078
0
0
0
0
0.005637
0.106393
37,916
810
81
46.809877
0.80075
0
0
0
0
0
0.829017
0.819285
0
0
0
0
0
1
0
false
0
0.006188
0
0.006188
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b7a51fbfad3f7c7ee459303517df4fef8785d068
7,260
py
Python
lib/pose_loss_layer/layer.py
gramuah/pose-estimation-study
e1051df18e52fe7efdba1e6410674fae70561f29
[ "BSD-2-Clause" ]
3
2018-03-14T16:03:40.000Z
2018-08-15T18:07:00.000Z
lib/pose_loss_layer/layer.py
gramuah/pose-estimation-study
e1051df18e52fe7efdba1e6410674fae70561f29
[ "BSD-2-Clause" ]
2
2018-05-29T07:59:14.000Z
2019-07-04T00:27:44.000Z
lib/pose_loss_layer/layer.py
gramuah/pose-estimation-study
e1051df18e52fe7efdba1e6410674fae70561f29
[ "BSD-2-Clause" ]
1
2018-07-25T10:23:24.000Z
2018-07-25T10:23:24.000Z
''' Created on Jan 8, 2016 @author: Daniel Onoro Rubio ''' import caffe from fast_rcnn.config import cfg from roi_data_layer.minibatch import get_minibatch import numpy as np import yaml from multiprocessing import Process, Queue class PoseLossLayer(caffe.Layer): """ Pose loss layer that computes the bi...
38.010471
119
0.510055
1,017
7,260
3.557522
0.180924
0.0445
0.013267
0.025152
0.741294
0.713101
0.70094
0.660033
0.645661
0.62963
0
0.09019
0.35551
7,260
191
120
38.010471
0.683052
0.264876
0
0.611765
0
0
0.036958
0
0
0
0
0
0
1
0.094118
false
0
0.070588
0
0.188235
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b7c2d9ab2674b9c75f24e651d135e48db27866b2
717
py
Python
src/browserist/factory/set.py
jakob-bagterp/browserist
76bd916dd217b7da3759fd6ec3374191002dc091
[ "Apache-2.0" ]
2
2022-02-20T10:03:19.000Z
2022-03-22T11:17:10.000Z
src/browserist/factory/set.py
jakob-bagterp/browserist
76bd916dd217b7da3759fd6ec3374191002dc091
[ "Apache-2.0" ]
null
null
null
src/browserist/factory/set.py
jakob-bagterp/browserist
76bd916dd217b7da3759fd6ec3374191002dc091
[ "Apache-2.0" ]
null
null
null
from selenium.webdriver.chrome.options import Options as ChromeOptions from selenium.webdriver.edge.options import Options as EdgeOptions from selenium.webdriver.firefox.options import Options as FirefoxOptions from selenium.webdriver.ie.options import Options as IEOptions from selenium.webdriver.safari.options import ...
55.153846
213
0.841004
83
717
7.168675
0.337349
0.10084
0.176471
0.184874
0.29916
0
0
0
0
0
0
0
0.101813
717
12
214
59.75
0.923913
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.666667
0
0.888889
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b7db0ce52482d14bb86e532983b37cb30cfae2dd
169
py
Python
src/make_headers.py
ABHISHEKVALSAN/ML-Arrhythmia-Dataset
c8adaf02d90c096cb332daafb0d1cf2ec8f24307
[ "MIT" ]
null
null
null
src/make_headers.py
ABHISHEKVALSAN/ML-Arrhythmia-Dataset
c8adaf02d90c096cb332daafb0d1cf2ec8f24307
[ "MIT" ]
null
null
null
src/make_headers.py
ABHISHEKVALSAN/ML-Arrhythmia-Dataset
c8adaf02d90c096cb332daafb0d1cf2ec8f24307
[ "MIT" ]
null
null
null
import pandas as pd from constants import HEADERS data = pd.read_csv('data/data.csv',sep=';') data.columns=HEADERS data.to_csv('data/data_with_headers.csv',index=False)
28.166667
53
0.781065
29
169
4.413793
0.551724
0.171875
0.171875
0
0
0
0
0
0
0
0
0
0.076923
169
5
54
33.8
0.820513
0
0
0
0
0
0.236686
0.153846
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b7f5bdf88fa01317222b0c48c87c9f37a79aa9dd
765
py
Python
python/hetu/gpu_links/CrossEntropyLink.py
AFDWang/Hetu
c2c85a8db885dabec41aeafe3895e5f818795e57
[ "Apache-2.0" ]
82
2021-07-20T02:45:54.000Z
2022-03-14T07:08:45.000Z
python/hetu/gpu_links/CrossEntropyLink.py
AFDWang/Hetu
c2c85a8db885dabec41aeafe3895e5f818795e57
[ "Apache-2.0" ]
4
2021-11-25T13:39:21.000Z
2022-03-13T04:14:14.000Z
python/hetu/gpu_links/CrossEntropyLink.py
AFDWang/Hetu
c2c85a8db885dabec41aeafe3895e5f818795e57
[ "Apache-2.0" ]
13
2021-07-18T14:40:56.000Z
2022-03-09T06:37:42.000Z
from __future__ import absolute_import import ctypes from .._base import _LIB from .. import ndarray as _nd def cross_entropy(y, y_, out, stream=None): assert isinstance(y, _nd.NDArray) assert isinstance(y_, _nd.NDArray) assert isinstance(out, _nd.NDArray) _LIB.DLGpuCrossEntropy( y.handle, y_...
33.26087
103
0.747712
108
765
5
0.259259
0.207407
0.138889
0.231481
0.414815
0.251852
0.251852
0
0
0
0
0
0.162092
765
22
104
34.772727
0.842434
0
0
0
0
0
0
0
0
0
0
0
0.411765
1
0.117647
false
0
0.235294
0
0.352941
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
1
0
0
0
0
0
0
0
0
0
3
b7f7c86d762368cffb8fb3e8f0f45c2af20cdf7b
139
py
Python
Aniyom Ebenezer/Phase 2/LIST/Day_44_Challenge_Solution/Question 6 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Aniyom Ebenezer/Phase 2/LIST/Day_44_Challenge_Solution/Question 6 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Aniyom Ebenezer/Phase 2/LIST/Day_44_Challenge_Solution/Question 6 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
""" Write a Python program to convert a string to a list. """ import ast color = "['red', 'green', 'white']" print(ast.literal_eval(color))
23.166667
53
0.676259
22
139
4.227273
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.143885
139
6
54
23.166667
0.781513
0.381295
0
0
0
0
0.316456
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4d1c0f48d1a6a11d049e66a8790a02f42e0308a0
740
py
Python
tests/helper/fetch.py
alarig/peeringdb-py
917cda69f7bc05be008faa66875827d408328609
[ "Apache-2.0" ]
71
2015-11-10T04:55:54.000Z
2022-02-25T20:03:48.000Z
tests/helper/fetch.py
alarig/peeringdb-py
917cda69f7bc05be008faa66875827d408328609
[ "Apache-2.0" ]
53
2016-01-29T12:15:38.000Z
2022-03-04T07:03:41.000Z
tests/helper/fetch.py
alarig/peeringdb-py
917cda69f7bc05be008faa66875827d408328609
[ "Apache-2.0" ]
28
2016-02-03T07:59:34.000Z
2022-02-27T19:25:06.000Z
from twentyc.rpc import RestClient from twentyc.rpc.client import NotFoundException, PermissionDeniedException from peeringdb import get_backend from peeringdb.resource import Network from . import _data # try: from peeringdb import _debug_http # except: pass __data = {Network: {20: _data.twentyc}} class Fetcher(...
24.666667
75
0.691892
100
740
4.87
0.4
0.036961
0.065708
0.073922
0.078029
0.078029
0
0
0
0
0
0.008375
0.193243
740
29
76
25.517241
0.80737
0.068919
0
0
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.294118
0.235294
0.882353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4d1cb532237d552d4922263049d5ebeec1572bed
261
py
Python
puzzlesolver/classifiers/__init__.py
zhakguder/puzzlesolver
6516a446065f84031607b8a97a566784d25fa21f
[ "MIT" ]
null
null
null
puzzlesolver/classifiers/__init__.py
zhakguder/puzzlesolver
6516a446065f84031607b8a97a566784d25fa21f
[ "MIT" ]
null
null
null
puzzlesolver/classifiers/__init__.py
zhakguder/puzzlesolver
6516a446065f84031607b8a97a566784d25fa21f
[ "MIT" ]
null
null
null
import os from configparser import ConfigParser from puzzlesolver.utils import get_project_root PROJECT_ROOT = get_project_root() config = ConfigParser() CONFIG_FILE = os.path.join(PROJECT_ROOT, "puzzlesolver/classifiers/config.ini") config.read(CONFIG_FILE)
26.1
79
0.831418
35
261
5.971429
0.457143
0.210526
0.133971
0
0
0
0
0
0
0
0
0
0.088123
261
9
80
29
0.878151
0
0
0
0
0
0.1341
0.1341
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4d50515852d638c6711404a1f461b0a12fe8c447
425
py
Python
crawler/items.py
rocksea/cralwer
2c95045f4422ad102ad3485b479abba89fb8148d
[ "MIT" ]
null
null
null
crawler/items.py
rocksea/cralwer
2c95045f4422ad102ad3485b479abba89fb8148d
[ "MIT" ]
null
null
null
crawler/items.py
rocksea/cralwer
2c95045f4422ad102ad3485b479abba89fb8148d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class NaverKinItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() qTitle = scrapy.Field() qContent...
21.25
53
0.663529
56
425
5.035714
0.642857
0.234043
0
0
0
0
0
0
0
0
0
0.002967
0.207059
425
19
54
22.368421
0.833828
0.484706
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.125
0.125
0
0.875
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
4d5263183626d315336bdb3fdc06e08dc55c2dea
404
py
Python
src/CPCLI/processing_function/__init__.py
cpcgskill/CPCLI
2fa432b9f978be7eeebaf803c3572c1ff280a2d8
[ "Apache-2.0" ]
2
2021-02-24T23:02:34.000Z
2021-07-22T12:49:43.000Z
src/CPCLI/processing_function/__init__.py
2921251087/CPCLI
2fa432b9f978be7eeebaf803c3572c1ff280a2d8
[ "Apache-2.0" ]
null
null
null
src/CPCLI/processing_function/__init__.py
2921251087/CPCLI
2fa432b9f978be7eeebaf803c3572c1ff280a2d8
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*-coding:utf-8 -*- u""" :创建时间: 2021/2/23 6:41 :作者: 苍之幻灵 :我的主页: https://cpcgskill.com :QQ: 2921251087 :爱发电: https://afdian.net/@Phantom_of_the_Cang :aboutcg: https://www.aboutcg.org/teacher/54335 :bilibili: https://space.bilibili.com/351598127 """ from .addhead import addhead from .delete_blank_lin...
25.25
56
0.759901
58
404
5.172414
0.793103
0.066667
0
0
0
0
0
0
0
0
0
0.094595
0.084158
404
15
57
26.933333
0.716216
0.631188
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
4d5db355fcbc1440b9232abe430beadb0a6a6a0c
11,153
py
Python
twilio/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.py
BrimmingDev/twilio-python
3226b5fed92b3c2ce64f03e6b19fc4792ef7647f
[ "MIT" ]
1
2022-03-03T05:24:20.000Z
2022-03-03T05:24:20.000Z
twilio/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.py
BrimmingDev/twilio-python
3226b5fed92b3c2ce64f03e6b19fc4792ef7647f
[ "MIT" ]
1
2022-03-03T05:32:47.000Z
2022-03-03T05:36:32.000Z
env/lib/python3.9/site-packages/twilio/rest/numbers/v2/regulatory_compliance/bundle/bundle_copy.py
giannicrivello/AudioShack_BE
b50ba91b6904ac069fc37c98a691729932297b6a
[ "MIT" ]
null
null
null
# coding=utf-8 r""" This code was generated by \ / _ _ _| _ _ | (_)\/(_)(_|\/| |(/_ v1.0.0 / / """ from twilio.base import deserialize from twilio.base import values from twilio.base.instance_resource import InstanceResource from twilio.base.list_resource import ListResource from twilio.base.page ...
35.977419
104
0.646463
1,251
11,153
5.617106
0.172662
0.020492
0.03145
0.03515
0.565675
0.537498
0.49381
0.460936
0.430767
0.416109
0
0.007084
0.265937
11,153
309
105
36.093851
0.851228
0.484982
0
0.188119
1
0
0.140051
0.037788
0
0
0
0
0
1
0.217822
false
0
0.049505
0
0.504951
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4d5ec6e2779f5f5b1a7e912e11bbfd25715f77d2
588
py
Python
tests/kernels/test_decaying.py
vishalbelsare/mlkernels
a682de952cc35c123e4a4b177eaaee60da25e52e
[ "MIT" ]
5
2021-02-25T21:46:00.000Z
2021-08-21T12:22:37.000Z
tests/kernels/test_decaying.py
vishalbelsare/mlkernels
a682de952cc35c123e4a4b177eaaee60da25e52e
[ "MIT" ]
2
2021-06-01T14:10:07.000Z
2021-10-02T16:53:31.000Z
tests/kernels/test_decaying.py
vishalbelsare/mlkernels
a682de952cc35c123e4a4b177eaaee60da25e52e
[ "MIT" ]
3
2021-06-08T13:30:31.000Z
2021-08-21T12:23:06.000Z
from mlkernels import EQ, DecayingKernel from ..util import standard_kernel_tests def test_decaying_kernel(): k = DecayingKernel(3.0, 4.0) # Verify that the kernel has the right properties. assert not k.stationary assert str(k) == "DecayingKernel(3.0, 4.0)" # Test equality. assert DecayingK...
28
63
0.678571
89
588
4.41573
0.314607
0.045802
0.3257
0.302799
0.473282
0.473282
0.37659
0.37659
0.277354
0
0
0.07563
0.190476
588
20
64
29.4
0.75
0.134354
0
0
0
0
0.047525
0
0
0
0
0
0.545455
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
4d62becbca7096ac38e3d836e75222a937eb3db7
175
py
Python
Unique Usernames.py
Lyubomir-Dakov/Python-Advanced
3b3b7181cc2bafc6f60329d6e42873d0f78b972f
[ "MIT" ]
null
null
null
Unique Usernames.py
Lyubomir-Dakov/Python-Advanced
3b3b7181cc2bafc6f60329d6e42873d0f78b972f
[ "MIT" ]
null
null
null
Unique Usernames.py
Lyubomir-Dakov/Python-Advanced
3b3b7181cc2bafc6f60329d6e42873d0f78b972f
[ "MIT" ]
null
null
null
num_usernames = int(input()) usernames = set() for _ in range(num_usernames): username = input() usernames.add(username) [print(name) for name in usernames]
19.444444
36
0.668571
22
175
5.181818
0.545455
0.210526
0
0
0
0
0
0
0
0
0
0
0.211429
175
8
37
21.875
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4d895a5594acf21a2c7cd3f8b33186e63d26b47a
14,108
py
Python
src/genie/libs/parser/iosxe/tests/test_show_monitor.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
2
2021-01-27T03:37:39.000Z
2021-01-27T03:40:50.000Z
src/genie/libs/parser/iosxe/tests/test_show_monitor.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
1
2020-08-01T00:23:31.000Z
2020-08-01T00:40:05.000Z
src/genie/libs/parser/iosxe/tests/test_show_monitor.py
nujo/genieparser
083b01efc46afc32abe1a1858729578beab50cd3
[ "Apache-2.0" ]
null
null
null
# Python import unittest from unittest.mock import Mock # ATS from pyats.topology import Device from pyats.topology import loader # Metaparser from genie.metaparser.util.exceptions import SchemaEmptyParserError,SchemaMissingKeyError # iosxe show_monitor from genie.libs.parser.iosxe.show_monitor import ShowMonitor,Sh...
35.182045
89
0.502481
1,371
14,108
5.015317
0.134209
0.041594
0.023997
0.02356
0.81559
0.764398
0.750145
0.670012
0.61591
0.560064
0
0.052827
0.389495
14,108
401
90
35.182045
0.745501
0.027148
0
0.64881
0
0
0.531737
0.021231
0
0
0
0
0.026786
1
0.026786
false
0
0.017857
0
0.104167
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4d9dc229539ac995b5f06ca705d2f04b809d1ec7
1,217
py
Python
lib/net/generateNet.py
Guo-Xiaoqing/ThresholdNet
460026bdacd9d5e577e9b4ae1370e8c9924fcfc3
[ "MIT" ]
7
2020-12-29T14:09:27.000Z
2021-07-08T07:12:24.000Z
lib/net/generateNet.py
CityU-AIM-Group/ThresholdNet
e82da9f1266c07518c4037d0a0b3afd6290ca33d
[ "MIT" ]
null
null
null
lib/net/generateNet.py
CityU-AIM-Group/ThresholdNet
e82da9f1266c07518c4037d0a0b3afd6290ca33d
[ "MIT" ]
2
2021-04-08T11:59:07.000Z
2021-08-09T15:16:41.000Z
# ---------------------------------------- # Written by Xiaoqing Guo # ---------------------------------------- import torch import torch.nn as nn from net.deeplabv3plus import deeplabv3plus from net.fcn import FCN8s from net.unetplusplus import NestedUNet from net.SegNet import SegNet def generate_net(cfg): if cfg....
36.878788
82
0.666393
167
1,217
4.736527
0.257485
0.192162
0.288243
0.147914
0.25158
0
0
0
0
0
0
0.009588
0.142975
1,217
32
83
38.03125
0.748802
0.441249
0
0
0
0
0.156156
0
0
0
0
0
0
1
0.058824
false
0
0.352941
0
0.647059
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4da788f2dfc173dd43bf958bde7eafc50a604154
124
py
Python
HJ 14/code.py
swy20190/NiuKe
d9dbbbbac403f5b4fe37efe82f9708aff614f018
[ "MIT" ]
null
null
null
HJ 14/code.py
swy20190/NiuKe
d9dbbbbac403f5b4fe37efe82f9708aff614f018
[ "MIT" ]
null
null
null
HJ 14/code.py
swy20190/NiuKe
d9dbbbbac403f5b4fe37efe82f9708aff614f018
[ "MIT" ]
null
null
null
num = int(input()) words = [] for i in range(num): words.append(input()) words.sort() for word in words: print(word)
17.714286
25
0.629032
20
124
3.9
0.6
0.25641
0
0
0
0
0
0
0
0
0
0
0.193548
124
7
26
17.714286
0.78
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4db33c7f324b62976e578c10a561fd11333cf4a1
36
py
Python
python/spinn/data/__init__.py
pramitmallick/spinn
a5d476b3fad8e4ee97eeed7ac914993bdf7be384
[ "MIT" ]
103
2017-07-15T01:58:59.000Z
2022-03-06T07:27:37.000Z
python/spinn/data/__init__.py
pramitmallick/spinn
a5d476b3fad8e4ee97eeed7ac914993bdf7be384
[ "MIT" ]
9
2017-08-10T17:43:52.000Z
2021-09-20T15:46:19.000Z
python/spinn/data/__init__.py
pramitmallick/spinn
a5d476b3fad8e4ee97eeed7ac914993bdf7be384
[ "MIT" ]
40
2017-08-23T20:35:22.000Z
2021-05-04T06:54:23.000Z
T_SHIFT = 0 T_REDUCE = 1 T_SKIP = 2
9
12
0.666667
9
36
2.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0.111111
0.25
36
3
13
12
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4db452dcfd649c24de79e5a321f74a2ad8be735c
134
py
Python
python_demos/dates_demo/time_diff.py
t4d-classes/advanced-python_05102021
2d596a6135a0e25d641e2a8f6c8ea0091291e843
[ "MIT" ]
null
null
null
python_demos/dates_demo/time_diff.py
t4d-classes/advanced-python_05102021
2d596a6135a0e25d641e2a8f6c8ea0091291e843
[ "MIT" ]
null
null
null
python_demos/dates_demo/time_diff.py
t4d-classes/advanced-python_05102021
2d596a6135a0e25d641e2a8f6c8ea0091291e843
[ "MIT" ]
null
null
null
""" time diff demo """ import time start = time.time() time.sleep(3) end = time.time() time_diff = end - start print(time_diff)
9.571429
23
0.649254
21
134
4.047619
0.428571
0.376471
0.282353
0
0
0
0
0
0
0
0
0.009259
0.19403
134
13
24
10.307692
0.777778
0.104478
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4dc9a42b91a1e6b2eba446f066771241a1e1722e
418
py
Python
uvoyeur/app/Agent/__init__.py
egustafson/uvoyeur
ed7a9c60933a898964a111c0e5311bab3172b21a
[ "Apache-2.0" ]
null
null
null
uvoyeur/app/Agent/__init__.py
egustafson/uvoyeur
ed7a9c60933a898964a111c0e5311bab3172b21a
[ "Apache-2.0" ]
null
null
null
uvoyeur/app/Agent/__init__.py
egustafson/uvoyeur
ed7a9c60933a898964a111c0e5311bab3172b21a
[ "Apache-2.0" ]
null
null
null
""" Client (App) Agent singleton More description - TBD """ # # Author: Eric Gustafson <eg-git@elfwerks.org> (29 Aug 2015) # # ############################################################ # import statement def init_agent(**kwargs): # opportunity for pre/post hooks. return Agent(**kwargs) class Agent: ...
14.928571
62
0.535885
43
418
5.093023
0.837209
0.063927
0
0
0
0
0
0
0
0
0
0.017964
0.200957
418
27
63
15.481481
0.637725
0.476077
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
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
1
0
0
0
1
1
0
0
3
4deb3f25e6248afaca2a1e6cd3c492c56e7c4ff5
359
py
Python
hyperion/torch/data/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
14
2021-12-19T04:24:15.000Z
2022-03-18T03:24:04.000Z
hyperion/torch/data/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
null
null
null
hyperion/torch/data/__init__.py
hyperion-ml/hyperion
c4c9eee0acab1ba572843373245da12d00dfffaa
[ "Apache-2.0" ]
5
2021-12-14T20:41:27.000Z
2022-02-24T14:18:11.000Z
""" Copyright 2019 Johns Hopkins University (Author: Jesus Villalba) Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) """ # datasets from .feat_seq_dataset import FeatSeqDataset from .paired_feat_seq_dataset import PairedFeatSeqDataset from .audio_dataset import AudioDataset # samplers from .weighted_seq_...
25.642857
66
0.81337
45
359
6.311111
0.688889
0.137324
0.098592
0.140845
0
0
0
0
0
0
0
0.025078
0.111421
359
13
67
27.615385
0.865204
0.392758
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
4deeed8aa1253076ca937b9a354bcdeba019bc51
462
py
Python
task_5/create_example.py
christopher-besch/bwinf39
e5394b37894a56608312057d179029d8a5df98fd
[ "MIT" ]
1
2021-01-04T15:16:44.000Z
2021-01-04T15:16:44.000Z
task_5/create_example.py
christopher-besch/bwinf39
e5394b37894a56608312057d179029d8a5df98fd
[ "MIT" ]
null
null
null
task_5/create_example.py
christopher-besch/bwinf39
e5394b37894a56608312057d179029d8a5df98fd
[ "MIT" ]
null
null
null
from random import choice def main(): amount_students = 1000 amount_wishes = 100 print(amount_students) for student_number in range(1, amount_students + 1): wishes = [] for _ in range(amount_wishes): while str(wish := choice(range(1, amount_students + 1))) in wish...
24.315789
80
0.569264
53
462
4.660377
0.490566
0.226721
0.097166
0.161943
0.17004
0
0
0
0
0
0
0.03537
0.32684
462
18
81
25.666667
0.758842
0
0
0
0
0
0.02027
0
0
0
0
0
0
1
0.071429
false
0.071429
0.071429
0
0.142857
0.142857
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
1
0
0
0
0
0
3
15085e6b9a45b57cfcf1f66dc43190adfe79a81c
175
py
Python
modules/2.79/bpy/types/ShrinkwrapConstraint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/ShrinkwrapConstraint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/ShrinkwrapConstraint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
class ShrinkwrapConstraint: distance = None project_axis = None project_axis_space = None project_limit = None shrinkwrap_type = None target = None
15.909091
29
0.691429
19
175
6.105263
0.578947
0.284483
0.258621
0
0
0
0
0
0
0
0
0
0.268571
175
10
30
17.5
0.90625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1515555b091b66dd98eafaac5534dd27eb29cd8f
1,407
py
Python
tests/test_main.py
tsandrini/DoSU
312afb1c1dccaf5088b8d5818adf08d5406076ae
[ "MIT" ]
null
null
null
tests/test_main.py
tsandrini/DoSU
312afb1c1dccaf5088b8d5818adf08d5406076ae
[ "MIT" ]
2
2017-02-07T08:23:34.000Z
2017-09-09T08:46:25.000Z
tests/test_main.py
tsandrini/dosu
312afb1c1dccaf5088b8d5818adf08d5406076ae
[ "MIT" ]
null
null
null
""" __/\\\\\\\\\\\\______________________/\\\\\\\\\\\____/\\\________/\\\_ _\/\\\////////\\\__________________/\\\/////////\\\_\/\\\_______\/\\\_ _\/\\\______\//\\\________________\//\\\______\///__\/\\\_______\/\\\_ _\/\\\_______\/\\\_____/\\\\\______\////\\\_________\/\\\_______\/\\\_ _\/\\\_______\/\\\___/...
31.266667
78
0.561478
94
1,407
4.989362
0.425532
0.06823
0.089552
0.085288
0.200426
0.200426
0.200426
0.200426
0
0
0
0.000824
0.137171
1,407
44
79
31.977273
0.385502
0.448472
0
0.095238
0
0
0.032951
0
0
0
0
0
0.095238
1
0.095238
false
0
0.380952
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
127d795a68d5899e40f6a8e3c076bda1c1bbf0ca
313
py
Python
dockercloud/api/exceptions.py
lllanos/Docker-Python-Lib-for-Cloud
3df41bf76038e3ee7b03da7b110896f35ec1398d
[ "Apache-2.0" ]
null
null
null
dockercloud/api/exceptions.py
lllanos/Docker-Python-Lib-for-Cloud
3df41bf76038e3ee7b03da7b110896f35ec1398d
[ "Apache-2.0" ]
null
null
null
dockercloud/api/exceptions.py
lllanos/Docker-Python-Lib-for-Cloud
3df41bf76038e3ee7b03da7b110896f35ec1398d
[ "Apache-2.0" ]
null
null
null
class ApiError(Exception): """An error status code was returned when querying the HTTP API""" pass class AuthError(ApiError): """An 401 Unauthorized status code was returned when querying the API""" pass class NonUniqueIdentifier(ApiError): pass class ObjectNotFound(ApiError): pass
18.411765
76
0.71885
38
313
5.921053
0.526316
0.12
0.115556
0.186667
0.32
0.32
0.32
0
0
0
0
0.012048
0.204473
313
16
77
19.5625
0.891566
0.405751
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
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
0
1
1
0
0
0
0
0
3
12814b500b0c6386ff368fa1a2acc84cd8772def
393
py
Python
sms/db/storydata.py
NovelLab/sms
b9df8d22d8a5bd555a4c7f5bf9cdd0084f156ae9
[ "MIT" ]
null
null
null
sms/db/storydata.py
NovelLab/sms
b9df8d22d8a5bd555a4c7f5bf9cdd0084f156ae9
[ "MIT" ]
null
null
null
sms/db/storydata.py
NovelLab/sms
b9df8d22d8a5bd555a4c7f5bf9cdd0084f156ae9
[ "MIT" ]
null
null
null
"""Define story data.""" # Official Libraries # My Modules from sms.utils import assertion __all__ = ( 'StoryData', ) # Main class StoryData(object): def __init__(self, data: list): self.data = assertion.is_list(data) def get_data(self) -> list: return self.data def...
15.115385
47
0.618321
50
393
4.64
0.62
0.137931
0
0
0
0
0
0
0
0
0
0
0.274809
393
25
48
15.72
0.814035
0.137405
0
0
0
0
0.02719
0
0
0
0
0
0.181818
1
0.272727
false
0
0.090909
0.181818
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
12874b544a36cbd930ff84441da7f8129612526c
648
py
Python
pypro/videos/tests/conftest.py
rodrigoddc/django-advanced-course
098507d8111f38f8a6b914575e50861538913f6c
[ "MIT" ]
1
2020-06-30T01:30:31.000Z
2020-06-30T01:30:31.000Z
pypro/videos/tests/conftest.py
rodrigoddc/django-advanced-course
098507d8111f38f8a6b914575e50861538913f6c
[ "MIT" ]
102
2020-06-30T01:03:27.000Z
2021-09-22T19:26:44.000Z
pypro/videos/tests/conftest.py
rodrigoddc/django-advanced-course
098507d8111f38f8a6b914575e50861538913f6c
[ "MIT" ]
null
null
null
import pytest from django.urls import reverse from model_bakery import baker from pypro.videos.models.model_video import Video @pytest.fixture def video(db): return baker.make(Video) @pytest.fixture def videos(db): return baker.make(Video, 3) @pytest.fixture def response_video_list(client, videos): r...
20.903226
84
0.756173
92
648
5.184783
0.304348
0.136268
0.167715
0.150943
0.624738
0.471698
0.264151
0.264151
0.264151
0.264151
0
0.001761
0.123457
648
30
85
21.6
0.838028
0
0
0.263158
0
0
0.092593
0
0
0
0
0
0
1
0.263158
false
0
0.210526
0.263158
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1298a56cbb42035c791ffe83eb12987ca3c4cd6a
237
py
Python
src/games/abc/basePlayer.py
Italian-Coders-Group/papaya
ce0d4e0bb461f19899a4f7122e3a19527f2c20cc
[ "MIT" ]
1
2020-12-04T19:36:23.000Z
2020-12-04T19:36:23.000Z
src/games/abc/basePlayer.py
Italian-Coders-Group/papaya
ce0d4e0bb461f19899a4f7122e3a19527f2c20cc
[ "MIT" ]
16
2020-12-07T00:06:28.000Z
2021-04-25T19:13:59.000Z
src/games/abc/basePlayer.py
Italian-Coders-Group/papaya
ce0d4e0bb461f19899a4f7122e3a19527f2c20cc
[ "MIT" ]
null
null
null
from abc import ABCMeta, abstractmethod import discord import core class BasePlayer(metaclass=ABCMeta): user: int team: int async def getUser( self ) -> discord.User: return await core.Bot.instance.client.fetch_user(self.user)
16.928571
61
0.767932
33
237
5.484848
0.69697
0
0
0
0
0
0
0
0
0
0
0
0.147679
237
13
62
18.230769
0.89604
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
12a23694b77d37bdb4910b20b889352d6ea03429
191
py
Python
submissions/abc125/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
1
2021-05-10T01:16:28.000Z
2021-05-10T01:16:28.000Z
submissions/abc125/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
3
2021-05-11T06:14:15.000Z
2021-06-19T08:18:36.000Z
submissions/abc125/b.py
m-star18/atcoder
08e475810516602fa088f87daf1eba590b4e07cc
[ "Unlicense" ]
null
null
null
n = int(input()) v = list(map(int, input().split())) c = list(map(int, input().split())) ans = 0 for i in range(n): xy = v[i] - c[i] if xy > 0: ans += xy print(ans)
15.916667
35
0.47644
34
191
2.676471
0.5
0.263736
0.21978
0.32967
0.43956
0
0
0
0
0
0
0.014925
0.298429
191
11
36
17.363636
0.664179
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
12d42981a056e15165745dacd06da228d717bc71
267
py
Python
modules/api/functional_test/live_tests/internal/health_test.py
slandry90/vinyldns
bf3122bdd5058af53561224adb1984e3b9f1f5bc
[ "Apache-2.0" ]
333
2018-07-27T12:58:40.000Z
2022-03-16T23:05:37.000Z
modules/api/functional_test/live_tests/internal/health_test.py
slandry90/vinyldns
bf3122bdd5058af53561224adb1984e3b9f1f5bc
[ "Apache-2.0" ]
1,010
2018-07-27T14:43:14.000Z
2022-03-25T09:29:43.000Z
modules/api/functional_test/live_tests/internal/health_test.py
slandry90/vinyldns
bf3122bdd5058af53561224adb1984e3b9f1f5bc
[ "Apache-2.0" ]
123
2018-07-26T20:06:04.000Z
2022-02-16T17:12:17.000Z
import pytest from hamcrest import * from vinyldns_python import VinylDNSClient def test_health(shared_zone_test_context): """ Tests that the health check endpoint works """ client = shared_zone_test_context.ok_vinyldns_client client.health()
19.071429
56
0.7603
34
267
5.676471
0.617647
0.103627
0.145078
0.217617
0
0
0
0
0
0
0
0
0.183521
267
13
57
20.538462
0.885321
0.157303
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
12f570c09bdac3a66f72c4d0df27a904f15b220c
86
py
Python
celeryd.py
PythonicNinja/test_celery
f2d798ce229159543cc06c6ca2dc2f4d2654e907
[ "MIT" ]
null
null
null
celeryd.py
PythonicNinja/test_celery
f2d798ce229159543cc06c6ca2dc2f4d2654e907
[ "MIT" ]
null
null
null
celeryd.py
PythonicNinja/test_celery
f2d798ce229159543cc06c6ca2dc2f4d2654e907
[ "MIT" ]
null
null
null
from celery import Celery app = Celery('tasks') ''' This file is used to create '''
10.75
27
0.674419
13
86
4.461538
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.197674
86
7
28
12.285714
0.84058
0
0
0
0
0
0.098039
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4202ba0d5aaf107e9ee41233b1beae64f18dc9ea
2,722
py
Python
venv/lib/python3.6/site-packages/past/types/olddict.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
null
null
null
venv/lib/python3.6/site-packages/past/types/olddict.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
1
2021-06-01T23:32:38.000Z
2021-06-01T23:32:38.000Z
venv/lib/python3.6/site-packages/past/types/olddict.py
aitoehigie/britecore_flask
eef1873dbe6b2cc21f770bc6dec783007ae4493b
[ "MIT" ]
null
null
null
""" A dict subclass for Python 3 that behaves like Python 2's dict Example use: >>> from past.builtins import dict >>> d1 = dict() # instead of {} for an empty dict >>> d2 = dict(key1='value1', key2='value2') The keys, values and items methods now return lists on Python 3.x and there are methods for iterkeys, ite...
27.77551
80
0.599192
344
2,722
4.598837
0.363372
0.069532
0.032238
0.03603
0.097345
0.097345
0.040455
0.040455
0
0
0
0.011765
0.281778
2,722
97
81
28.061856
0.797442
0.591109
0
0
0
0
0.00691
0
0
0
0
0
0
1
0.24
false
0
0.08
0.16
0.88
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
421d5f442d5390e8717b7e387c7d652bd5289a60
173
py
Python
usaspending_api/awards/v2/urls_transactions.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
null
null
null
usaspending_api/awards/v2/urls_transactions.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
1
2021-11-15T17:53:27.000Z
2021-11-15T17:53:27.000Z
usaspending_api/awards/v2/urls_transactions.py
truthiswill/usaspending-api
bd7d915442e2ec94cc830c480ceeffd4479be6c0
[ "CC0-1.0" ]
null
null
null
from django.conf.urls import url from usaspending_api.awards.v2.views.transactions import TransactionViewSet urlpatterns = [ url(r'^$', TransactionViewSet.as_view()) ]
24.714286
75
0.780347
21
173
6.333333
0.809524
0
0
0
0
0
0
0
0
0
0
0.006494
0.109827
173
6
76
28.833333
0.857143
0
0
0
0
0
0.011561
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
42441fe979c428b02b9c2546a6a7123330fd950b
11,135
py
Python
services/Wikidata_Endpoint_API/main.py
muhammad-abbady/JenTab
df7b1450cb14e64edade30ea7de49d05a7d7dbf2
[ "Apache-2.0" ]
null
null
null
services/Wikidata_Endpoint_API/main.py
muhammad-abbady/JenTab
df7b1450cb14e64edade30ea7de49d05a7d7dbf2
[ "Apache-2.0" ]
null
null
null
services/Wikidata_Endpoint_API/main.py
muhammad-abbady/JenTab
df7b1450cb14e64edade30ea7de49d05a7d7dbf2
[ "Apache-2.0" ]
null
null
null
from quart import Quart, request import traceback import inc.api import inc.api_properties import inc.api_classes import inc.api_types import util_log util_log.init("Wikidata_Endpoint_API.log") app = Quart(__name__) app.debug = False @app.route('/test') async def routeTest(): # res = await inc.api.get_type_lst(...
30.258152
118
0.687113
1,492
11,135
4.824397
0.081769
0.068352
0.073354
0.093359
0.841206
0.804529
0.786607
0.680745
0.53626
0.467213
0
0.013129
0.151774
11,135
367
119
30.340599
0.748968
0.121419
0
0.489796
0
0
0.140617
0.069386
0
0
0
0
0
1
0.008163
false
0
0.028571
0.004082
0.195918
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
425f4b2bfc6695d67fd5c0d17026bdcbb6305c86
1,262
py
Python
opentaxii/auth/manager.py
fossabot/OpenTAXII
cb267fc3f5b17b72e16a52bf8a5cbf7a7789e9ad
[ "BSD-Source-Code" ]
null
null
null
opentaxii/auth/manager.py
fossabot/OpenTAXII
cb267fc3f5b17b72e16a52bf8a5cbf7a7789e9ad
[ "BSD-Source-Code" ]
null
null
null
opentaxii/auth/manager.py
fossabot/OpenTAXII
cb267fc3f5b17b72e16a52bf8a5cbf7a7789e9ad
[ "BSD-Source-Code" ]
1
2021-02-09T15:00:22.000Z
2021-02-09T15:00:22.000Z
import structlog log = structlog.getLogger(__name__) class AuthManager(object): '''Manager responsible for authentication. Manager uses API instance ``api`` for basic auth operations and provides additional logic on top. :param `opentaxii.auth.api.OpenTAXIIAuthAPI` api: instance of Auth API...
25.24
71
0.639461
141
1,262
5.638298
0.432624
0.044025
0.050314
0
0
0
0
0
0
0
0
0
0.272583
1,262
49
72
25.755102
0.866013
0.450872
0
0
0
0
0.027174
0
0
0
0
0
0
1
0.307692
false
0.307692
0.076923
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
42671de1b4eae9f21dceb2c34b3cd9d9f307256f
277
py
Python
python/kata/5-kyu/Maximum subarray sum/main.py
Carlososuna11/codewars-handbook
a0e7c9ac5ad19cfaed3ad463c04616daa3fed82e
[ "MIT" ]
null
null
null
python/kata/5-kyu/Maximum subarray sum/main.py
Carlososuna11/codewars-handbook
a0e7c9ac5ad19cfaed3ad463c04616daa3fed82e
[ "MIT" ]
null
null
null
python/kata/5-kyu/Maximum subarray sum/main.py
Carlososuna11/codewars-handbook
a0e7c9ac5ad19cfaed3ad463c04616daa3fed82e
[ "MIT" ]
null
null
null
import codewars_test as test from solution import max_sequence test.describe("Tests") test.it('should work on an empty array') test.assert_equals(max_sequence([]), 0) test.it('should work on the example') test.assert_equals(max_sequence([-2, 1, -3, 4, -1, 2, 1, -5, 4]), 6)
34.625
68
0.718412
49
277
3.938776
0.571429
0.170984
0.124352
0.165803
0.466321
0
0
0
0
0
0
0.045455
0.126354
277
8
68
34.625
0.752066
0
0
0
0
0
0.215827
0
0
0
0
0
0.285714
1
0
true
0
0.285714
0
0.285714
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
1
0
0
0
0
0
0
3
427df0aa4b3f8a11d9742322dfc8c86de1453262
347
py
Python
cocos/symbolic/__init__.py
michaelnowotny/cocos
3c34940d7d9eb8592a97788a5df84b8d472f2928
[ "MIT" ]
101
2019-03-30T05:23:01.000Z
2021-11-27T09:09:40.000Z
cocos/symbolic/__init__.py
michaelnowotny/cocos
3c34940d7d9eb8592a97788a5df84b8d472f2928
[ "MIT" ]
3
2019-04-17T06:04:12.000Z
2020-12-14T17:36:01.000Z
cocos/symbolic/__init__.py
michaelnowotny/cocos
3c34940d7d9eb8592a97788a5df84b8d472f2928
[ "MIT" ]
5
2020-02-07T14:29:50.000Z
2020-12-09T17:54:07.000Z
from ._lambdification import ( DUMMY_TIME_SYMBOL, lambdify, LambdifiedArrayExpressions, LambdifiedMatrixExpressions, LambdifiedVectorExpressions, LambdifiedArrayExpression, LambdifiedMatrixExpression, LambdifiedVectorExpression, LambdifiedScalarExpression ) from .utilities import fi...
24.785714
51
0.806916
22
347
12.409091
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.158501
347
13
52
26.692308
0.934932
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
428ef9c88deee1f7256e0c979e5d12250ddb3a37
380
py
Python
src/timeline_year.py
abeakkas/ipho-unofficial.org
803ab3cc20670304f7be899ecc48b753765c2ddc
[ "MIT" ]
5
2020-04-10T19:32:43.000Z
2021-05-08T23:39:21.000Z
src/timeline_year.py
abeakkas/ipho-unofficial.org
803ab3cc20670304f7be899ecc48b753765c2ddc
[ "MIT" ]
5
2016-09-01T04:38:53.000Z
2019-01-31T15:51:39.000Z
src/timeline_year.py
abeakkas/ipho-unofficial.org
803ab3cc20670304f7be899ecc48b753765c2ddc
[ "MIT" ]
7
2016-08-10T10:30:59.000Z
2020-02-21T14:12:35.000Z
import sys import util import timeline_year_country import timeline_year_index import timeline_year_individual def run(year): print("Creating timeline/" + year) util.makedirs("../timeline/" + year) timeline_year_index.run(year) timeline_year_country.run(year) timeline_year_individual.run...
23.75
41
0.721053
49
380
5.183673
0.367347
0.377953
0.212598
0.149606
0
0
0
0
0
0
0
0.003205
0.178947
380
15
42
25.333333
0.810897
0
0
0
0
0
0.10411
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.461538
0.076923
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
1
0
0
0
0
3
429c254c1eab568335b65c87436b8bb6c00a8234
1,299
py
Python
gateway/migrations/0007_auto_20180410_0810.py
u-transnet/utransnet-gateway
bea4e99d2d5f404a5456adc453d0a73e7b19332c
[ "MIT" ]
null
null
null
gateway/migrations/0007_auto_20180410_0810.py
u-transnet/utransnet-gateway
bea4e99d2d5f404a5456adc453d0a73e7b19332c
[ "MIT" ]
null
null
null
gateway/migrations/0007_auto_20180410_0810.py
u-transnet/utransnet-gateway
bea4e99d2d5f404a5456adc453d0a73e7b19332c
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-04-10 05:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('gateway', '0006_auto_20180405_0111'), ] operations = [ migrations.RemoveField( model_name='bitsharestransnettransaction', ...
32.475
162
0.584296
107
1,299
6.971963
0.392523
0.072386
0.13941
0.160858
0.63807
0.63807
0.289544
0.289544
0.289544
0.289544
0
0.037274
0.277136
1,299
39
163
33.307692
0.757189
0.034642
0
0.787879
1
0
0.252396
0.152556
0
0
0
0
0
1
0
false
0
0.030303
0
0.121212
0
0
0
0
null
0
0
1
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
3
42a61fb4ce631ba9c42dd6d83f0576df62b4d099
1,229
py
Python
aug.py
RainBoltz/time-series-augmentation-toolkit
2e5712f3f6b96b62e407bd2a05cdf3a9c80aa602
[ "MIT" ]
2
2020-12-17T07:52:33.000Z
2021-04-27T02:21:52.000Z
aug.py
RainBoltz/time-series-augmentation-toolkit
2e5712f3f6b96b62e407bd2a05cdf3a9c80aa602
[ "MIT" ]
null
null
null
aug.py
RainBoltz/time-series-augmentation-toolkit
2e5712f3f6b96b62e407bd2a05cdf3a9c80aa602
[ "MIT" ]
1
2020-06-01T09:23:16.000Z
2020-06-01T09:23:16.000Z
import numpy as np np.random.seed(9453) from time_series_augmentation_toolkit import DN import pickle with open('labeldata.pkl','rb') as f: data = pickle.load(f) output = [] for d in data: this_output = d.copy() r = np.random.choice([3,5,10,15,20], size=4, p=[0.1,0.5,0.3,0.05,0.05]) this_...
45.518519
117
0.624898
201
1,229
3.641791
0.288557
0.245902
0.26776
0.344262
0.531421
0.364754
0.364754
0.364754
0.364754
0.184426
0
0.030593
0.148902
1,229
27
118
45.518519
0.669216
0
0
0
0
0
0.181301
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c40878ccfd4a7d97c415e1cae481eeceed9194bb
190
py
Python
0401-0500/0492-Construct the Rectangle/0492-Construct the Rectangle.py
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0401-0500/0492-Construct the Rectangle/0492-Construct the Rectangle.py
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0401-0500/0492-Construct the Rectangle/0492-Construct the Rectangle.py
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
import math class Solution: def constructRectangle(self, area: int) -> List[int]: W = int(math.sqrt(area)) while area % W: W -= 1 return [area//W, W]
23.75
57
0.536842
25
190
4.08
0.6
0.098039
0.117647
0
0
0
0
0
0
0
0
0.007874
0.331579
190
7
58
27.142857
0.795276
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c42f8d506e9344afbc3a6039dc84f2ff03ba3ff3
349
py
Python
week1/warmups/fib_number_test.py
sevgo/Programming101
ac25c4d9695563b449a629c60ec77a739c9f5be3
[ "BSD-3-Clause" ]
null
null
null
week1/warmups/fib_number_test.py
sevgo/Programming101
ac25c4d9695563b449a629c60ec77a739c9f5be3
[ "BSD-3-Clause" ]
1
2021-09-16T05:44:31.000Z
2021-09-16T05:44:31.000Z
week1/warmups/fib_number_test.py
sevgo/Programming101
ac25c4d9695563b449a629c60ec77a739c9f5be3
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import unittest from fib_number import fib_number class Test_Fib_Number(unittest.TestCase): def test_is_number_fib_number(self): self.assertIsInstance(fib_number(3), int) def test_fib_number(self): self.assertEqual(fib_number(10), 11235813213455) if __name__ == "__...
18.368421
56
0.730659
47
349
5
0.510638
0.268085
0.110638
0.144681
0
0
0
0
0
0
0
0.062069
0.169054
349
18
57
19.388889
0.748276
0.060172
0
0
0
0
0.024465
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
c4362b590b98629d691a21d6862261afe05b25c9
19
py
Python
static/returns.py
cisaacstern/when-rad
ea97d77be0ff227494ce5eb168872f397ee4f064
[ "BSD-3-Clause" ]
null
null
null
static/returns.py
cisaacstern/when-rad
ea97d77be0ff227494ce5eb168872f397ee4f064
[ "BSD-3-Clause" ]
null
null
null
static/returns.py
cisaacstern/when-rad
ea97d77be0ff227494ce5eb168872f397ee4f064
[ "BSD-3-Clause" ]
null
null
null
returns = """ """
4.75
13
0.368421
1
19
7
1
0
0
0
0
0
0
0
0
0
0
0
0.263158
19
3
14
6.333333
0.5
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c452857457205e054f052fb93b5f206f4da8e07a
153
py
Python
opencv/readimage.py
moosemaniam/learning
93fd1b88fdd63ffc8dcddcb2da1ad41b9fd7e32c
[ "CC0-1.0" ]
null
null
null
opencv/readimage.py
moosemaniam/learning
93fd1b88fdd63ffc8dcddcb2da1ad41b9fd7e32c
[ "CC0-1.0" ]
null
null
null
opencv/readimage.py
moosemaniam/learning
93fd1b88fdd63ffc8dcddcb2da1ad41b9fd7e32c
[ "CC0-1.0" ]
null
null
null
import numpy as np import cv2 as cv #reads image as greyscale img = cv.imread("image.jpg",0) cv.imshow('image',img) cv.waitKey(0) cv.destroyAllWindows()
19.125
30
0.745098
27
153
4.222222
0.592593
0.087719
0
0
0
0
0
0
0
0
0
0.022222
0.117647
153
7
31
21.857143
0.822222
0.156863
0
0
0
0
0.109375
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c45ef42d805d64b5a73a6d5583f4fd346acd1080
2,094
py
Python
tests/test_kinematics.py
RafaelCenzano/Marvin-V4
a3d33816716c7581eae662eedf7b99c8ebf76d93
[ "Apache-2.0" ]
4
2019-10-03T03:19:00.000Z
2021-02-22T02:51:34.000Z
tests/test_kinematics.py
Marvin-Virtual-Assistant/Marvin-V4
a3d33816716c7581eae662eedf7b99c8ebf76d93
[ "Apache-2.0" ]
6
2019-10-21T17:02:55.000Z
2021-01-12T17:53:36.000Z
tests/test_kinematics.py
RafaelCenzano/Marvin-V4
a3d33816716c7581eae662eedf7b99c8ebf76d93
[ "Apache-2.0" ]
1
2021-03-09T16:39:32.000Z
2021-03-09T16:39:32.000Z
from . import physics, assertEqual classObjecttoTest = physics.kinematics.Kinematics( initialVelocity=3, acceleration=2, time=20, sigFigs=1) classObjecttoTest.calculations() classObjecttoTestTwo = physics.kinematics.Kinematics( acceleration=-1, deltaDistance=2, finalVelocity=0, sigFigs=1) classObjecttoTestTwo...
24.635294
72
0.788443
212
2,094
7.533019
0.198113
0.078898
0.191609
0.075141
0.039449
0
0
0
0
0
0
0.027837
0.107927
2,094
84
73
24.928571
0.827088
0
0
0
0
0
0.014804
0
0
0
0
0
0.413043
1
0.391304
false
0
0.021739
0
0.413043
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
3
67032b19d21cfedd2a87e391f574f9bd0d72589b
222
py
Python
minimo/interface/cli.py
philip1134/mini-mo
485c7967ce42b2d3b4a33fde2b074b80563921ab
[ "MIT" ]
4
2018-02-27T11:58:26.000Z
2019-06-04T03:29:43.000Z
minimo/interface/cli.py
philip1134/mini-mo
485c7967ce42b2d3b4a33fde2b074b80563921ab
[ "MIT" ]
null
null
null
minimo/interface/cli.py
philip1134/mini-mo
485c7967ce42b2d3b4a33fde2b074b80563921ab
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- # # author: philip1134 # date: 2021-04-27 # import click class MoCLI(click.Group): """Interface for cli type""" def __init__(self, **attrs): super(MoCLI, self).__init__() # end
12.333333
37
0.599099
28
222
4.464286
0.857143
0
0
0
0
0
0
0
0
0
0
0.075145
0.220721
222
17
38
13.058824
0.647399
0.378378
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
1
0
0
3
670d85c68165bdb508925a46b3799de7e5d6b7d4
56
py
Python
win32/redrrpy/__init__.py
PiRSquared17/r-orange
6bc383f1db3c10c59e16b39daffc44df904ce031
[ "Apache-2.0" ]
1
2019-04-15T13:50:30.000Z
2019-04-15T13:50:30.000Z
win32/redrrpy/__init__.py
PiRSquared17/r-orange
6bc383f1db3c10c59e16b39daffc44df904ce031
[ "Apache-2.0" ]
null
null
null
win32/redrrpy/__init__.py
PiRSquared17/r-orange
6bc383f1db3c10c59e16b39daffc44df904ce031
[ "Apache-2.0" ]
1
2016-01-21T23:00:21.000Z
2016-01-21T23:00:21.000Z
## __init__ function for the base package.
14
43
0.589286
6
56
4.833333
1
0
0
0
0
0
0
0
0
0
0
0
0.357143
56
4
44
14
0.805556
0.696429
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
67155f75c124ae7d71d1cf38fa37205d968bb12d
265
py
Python
v1/replies/models/post_reply.py
lawiz22/PLOUC-Backend-master
b93fa2fea8d45df9f19c3c58037e59dad4981921
[ "MIT" ]
null
null
null
v1/replies/models/post_reply.py
lawiz22/PLOUC-Backend-master
b93fa2fea8d45df9f19c3c58037e59dad4981921
[ "MIT" ]
3
2020-06-05T21:24:34.000Z
2022-03-11T23:50:26.000Z
v1/replies/models/post_reply.py
lawiz22/PLOUC-Backend-master
b93fa2fea8d45df9f19c3c58037e59dad4981921
[ "MIT" ]
null
null
null
from django.db import models from v1.posts.models.post import Post from .reply import Reply class PostReply(Reply): post = models.ForeignKey(Post) class Meta: default_related_name = 'post_replies' def __str__(self): return self.body
18.928571
45
0.70566
36
265
5
0.611111
0
0
0
0
0
0
0
0
0
0
0.004831
0.218868
265
13
46
20.384615
0.864734
0
0
0
0
0
0.045283
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
672508bb34440c3d88c116b9db78973e19039e05
7,818
py
Python
book_spider/settings.py
cleven1/Book_sprder
7f5872cfdf886147b06665d629074b2d0da22fa1
[ "MIT" ]
null
null
null
book_spider/settings.py
cleven1/Book_sprder
7f5872cfdf886147b06665d629074b2d0da22fa1
[ "MIT" ]
null
null
null
book_spider/settings.py
cleven1/Book_sprder
7f5872cfdf886147b06665d629074b2d0da22fa1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Scrapy settings for book_spider project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/la...
56.652174
207
0.731901
1,336
7,818
4.233533
0.244012
0.013083
0.046146
0.036775
0.473656
0.422383
0.402228
0.370403
0.337871
0.311881
0
0.126304
0.11691
7,818
137
208
57.065693
0.692932
0.363392
0
0
0
0.653846
0.895681
0.029951
0
0
0
0
0
1
0
false
0.057692
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
0
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
673124b0ee880f517c2b84a841257d4aaa4ec3fb
479
py
Python
pyHexa/main.py
Rod-Persky/pyLynxHexapod
8205edda4ad4505fe604bd37fc4d0d3ebc51dcbd
[ "AFL-3.0", "Unlicense" ]
1
2021-06-13T14:07:45.000Z
2021-06-13T14:07:45.000Z
pyHexa/main.py
Rod-Persky/pyLynxHexapod
8205edda4ad4505fe604bd37fc4d0d3ebc51dcbd
[ "AFL-3.0", "Unlicense" ]
null
null
null
pyHexa/main.py
Rod-Persky/pyLynxHexapod
8205edda4ad4505fe604bd37fc4d0d3ebc51dcbd
[ "AFL-3.0", "Unlicense" ]
1
2015-01-23T07:23:57.000Z
2015-01-23T07:23:57.000Z
from bottle import route, run, template, static_file import lynxmotion import behaviors import os.path static_root = os.path.join(os.path.dirname(__file__), 'static') @route('/') def home_page(): return template('controller') @route('/static/<filepath:path>') def server_static(filepath): return ...
28.176471
69
0.720251
66
479
5.075758
0.454545
0.053731
0.095522
0.119403
0
0
0
0
0
0
0
0.028777
0.129436
479
17
70
28.176471
0.77458
0.139875
0
0
0
0
0.118687
0.058081
0
0
0
0
0
1
0.166667
false
0
0.333333
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3