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
db37d0cd2b39cd2465fb5d02b71d27ad24bf750e
2,449
py
Python
Python/problem_607.py
HarrisonGreen/Project-Euler-Solutions
e2599e406c8a1c997bf620e1c35045303b12091e
[ "MIT" ]
null
null
null
Python/problem_607.py
HarrisonGreen/Project-Euler-Solutions
e2599e406c8a1c997bf620e1c35045303b12091e
[ "MIT" ]
null
null
null
Python/problem_607.py
HarrisonGreen/Project-Euler-Solutions
e2599e406c8a1c997bf620e1c35045303b12091e
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np def optimise_points(): x = [-50, -25*np.sqrt(2), -15*np.sqrt(2), -5*np.sqrt(2), 5*np.sqrt(2), 15*np.sqrt(2), 25*np.sqrt(2), 50] y = [0, 0, 0, 0, 0, 0, 0, 0] for i in range(0, -6, -1): eps = 10 ** i t = time(x, y) ...
34.492958
133
0.402205
418
2,449
2.315789
0.157895
0.204545
0.188017
0.154959
0.548554
0.548554
0.521694
0.471074
0.471074
0.471074
0
0.164751
0.360555
2,449
71
134
34.492958
0.453384
0
0
0.357143
0
0
0.006122
0
0
0
0
0
0
1
0.053571
false
0
0.035714
0.017857
0.125
0.017857
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
db3b00082943d228575e7862cc77c216c7bf8f56
509
py
Python
applications/CompressiblePotentialFlowApplication/CompressiblePotentialFlowApplication.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
778
2017-01-27T16:29:17.000Z
2022-03-30T03:01:51.000Z
applications/CompressiblePotentialFlowApplication/CompressiblePotentialFlowApplication.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
6,634
2017-01-15T22:56:13.000Z
2022-03-31T15:03:36.000Z
applications/CompressiblePotentialFlowApplication/CompressiblePotentialFlowApplication.py
lkusch/Kratos
e8072d8e24ab6f312765185b19d439f01ab7b27b
[ "BSD-4-Clause" ]
224
2017-02-07T14:12:49.000Z
2022-03-06T23:09:34.000Z
# makes KratosMultiphysics backward compatible with python 2.6 and 2.7 from __future__ import print_function, absolute_import, division # Application dependent names and paths from KratosMultiphysics import _ImportApplication import KratosMultiphysics.FluidDynamicsApplication from KratosCompressiblePotentialFlowApplic...
42.416667
70
0.884086
43
509
10.232558
0.581395
0.068182
0
0
0
0
0
0
0
0
0
0.008565
0.082515
509
11
71
46.272727
0.933619
0.208251
0
0
0
0
0.105
0.105
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0.142857
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e1f13dbd6d0d8bdc5a24feb152da67a70aff0d6f
2,825
py
Python
credentialScripts/updateicscredentials.py
LaudateCorpus1/cloud-asset-ics-agentkeystore-scripts
f14ca2e6aafa78318a39b3a1f28a68ca775e2772
[ "UPL-1.0" ]
1
2020-09-18T09:02:44.000Z
2020-09-18T09:02:44.000Z
credentialScripts/updateicscredentials.py
LaudateCorpus1/cloud-asset-ics-agentkeystore-scripts
f14ca2e6aafa78318a39b3a1f28a68ca775e2772
[ "UPL-1.0" ]
null
null
null
credentialScripts/updateicscredentials.py
LaudateCorpus1/cloud-asset-ics-agentkeystore-scripts
f14ca2e6aafa78318a39b3a1f28a68ca775e2772
[ "UPL-1.0" ]
2
2019-11-02T21:44:03.000Z
2022-02-18T04:45:14.000Z
#========================================================================================= # Title: updateicscredentials.py - ICS Connectivity Agent credential update # # Disclaimer: This script is provided "AS IS" and without any official support # from Oracle. Its use needs to be performed using d...
47.083333
149
0.652743
355
2,825
5.174648
0.552113
0.030484
0.019597
0
0
0
0
0
0
0
0
0.011009
0.228319
2,825
59
150
47.881356
0.831193
0.808496
0
0
0
0
0.241036
0
0
0
0
0
0
0
null
null
0.266667
0.2
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
1
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
e1fee83df055884efce6964afb0a2d77fa4489dd
622
py
Python
gpytorch/random_variables/__init__.py
imsrgadich/gpytorch
6d312392515599e5b79735c8fa3174c1a2a7e698
[ "MIT" ]
1
2018-05-30T07:32:29.000Z
2018-05-30T07:32:29.000Z
gpytorch/random_variables/__init__.py
julieli/gpytorch
21f08b6067a3733ffd9d729a1ce25487976f927e
[ "MIT" ]
null
null
null
gpytorch/random_variables/__init__.py
julieli/gpytorch
21f08b6067a3733ffd9d729a1ce25487976f927e
[ "MIT" ]
null
null
null
from .random_variable import RandomVariable from .bernoulli_random_variable import BernoulliRandomVariable from .categorical_random_variable import CategoricalRandomVariable from .dirichlet_random_variable import DirichletRandomVariable from .gaussian_random_variable import GaussianRandomVariable from .mixture_random_v...
34.555556
66
0.863344
49
622
10.612245
0.367347
0.188462
0.269231
0
0
0
0
0
0
0
0
0
0.109325
622
17
67
36.588235
0.938628
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.4375
0
0
0
1
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
0
0
0
3
c01327a21783b27578d7c1b7ec0907cdf60abcc1
4,790
py
Python
test/test_pack.py
pgcudahy/sos
ee902841003c7630db501101038f370650955ef9
[ "BSD-3-Clause" ]
90
2019-06-25T15:33:22.000Z
2022-03-31T03:50:58.000Z
test/test_pack.py
pgcudahy/sos
ee902841003c7630db501101038f370650955ef9
[ "BSD-3-Clause" ]
223
2019-06-24T13:47:38.000Z
2022-03-29T21:37:10.000Z
test/test_pack.py
pgcudahy/sos
ee902841003c7630db501101038f370650955ef9
[ "BSD-3-Clause" ]
26
2019-06-27T19:24:23.000Z
2022-03-24T03:41:37.000Z
#!/usr/bin/env python3 # # Copyright (c) Bo Peng and the University of Texas MD Anderson Cancer Center # Distributed under the terms of the 3-clause BSD License. # # import os # import shutil # import subprocess # import unittest # # # class TestPack(unittest.TestCase): # def setUp(self): # if os.path.isdir...
36.564885
93
0.579958
662
4,790
4.096677
0.228097
0.082596
0.100295
0.160398
0.558997
0.481563
0.444322
0.42441
0.296829
0.271386
0
0.02636
0.247599
4,790
130
94
36.846154
0.726138
0.943424
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
c0197e7597700908f646f2badaaf18e5d229e561
49
py
Python
example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Trigonometric functions/Simplification, possibly to exponentials.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Trigonometric functions/Simplification, possibly to exponentials.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
null
null
null
example_snippets/multimenus_snippets/NewSnippets/SymPy/Manipulating expressions/Trigonometric functions/Simplification, possibly to exponentials.py
kuanpern/jupyterlab-snippets-multimenus
477f51cfdbad7409eab45abe53cf774cd70f380c
[ "BSD-3-Clause" ]
1
2021-02-04T04:51:48.000Z
2021-02-04T04:51:48.000Z
expr = cosh(z) - sinh(z) expr = exptrigsimp(expr)
24.5
24
0.673469
8
49
4.125
0.625
0
0
0
0
0
0
0
0
0
0
0
0.142857
49
2
25
24.5
0.785714
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
c024cba83a69c586f59312121199b03266d978e3
2,215
py
Python
flask_saml2/sp/parser.py
coretelligent/flask-saml2
5a9cfbd5e816d664543f438544efbe6a1821aa36
[ "MIT" ]
null
null
null
flask_saml2/sp/parser.py
coretelligent/flask-saml2
5a9cfbd5e816d664543f438544efbe6a1821aa36
[ "MIT" ]
null
null
null
flask_saml2/sp/parser.py
coretelligent/flask-saml2
5a9cfbd5e816d664543f438544efbe6a1821aa36
[ "MIT" ]
null
null
null
from typing import List, Mapping, Optional, Union from flask_saml2.types import XmlNode from flask_saml2.utils import cached_property from flask_saml2.xml_parser import XmlParser class ResponseParser(XmlParser): def is_signed(self): sig = self.xml_tree.xpath('/samlp:Response/ds:Signature', namespaces=se...
30.342466
102
0.63702
265
2,215
5.124528
0.256604
0.123711
0.137703
0.07511
0.359352
0.291605
0.244477
0.218704
0.18704
0
0
0.008314
0.239729
2,215
72
103
30.763889
0.7981
0
0
0.285714
0
0
0.139503
0.092099
0
0
0
0
0.089286
1
0.214286
false
0
0.071429
0.142857
0.553571
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
c0306ad3342094db504fa56b1e6d1aad001586e0
51,535
py
Python
src/cri_api/v1alpha2/api_pb2_grpc.py
dominodatalab/container-runtime-interface-api
3e4992dcd924b216743a48c705f23aec1a00a3f5
[ "Apache-2.0" ]
null
null
null
src/cri_api/v1alpha2/api_pb2_grpc.py
dominodatalab/container-runtime-interface-api
3e4992dcd924b216743a48c705f23aec1a00a3f5
[ "Apache-2.0" ]
11
2020-08-03T20:11:21.000Z
2022-03-01T09:07:21.000Z
src/cri_api/v1alpha2/api_pb2_grpc.py
dominodatalab/container-runtime-interface-api
3e4992dcd924b216743a48c705f23aec1a00a3f5
[ "Apache-2.0" ]
null
null
null
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc from cri_api.v1alpha2 import api_pb2 as v1alpha2_dot_api__pb2 class RuntimeServiceStub(object): """Runtime service defines the public APIs for remote conta...
47.541513
122
0.670282
4,528
51,535
7.337235
0.068242
0.031785
0.073744
0.089546
0.820185
0.778015
0.549348
0.427415
0.427415
0.425759
0
0.01703
0.261667
51,535
1,083
123
47.585411
0.85611
0.083749
0
0.529148
1
0
0.094964
0.05872
0
0
0
0.000923
0
1
0.069507
false
0
0.002242
0.032511
0.110987
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c042a50ad7084fd6471da93c69014ef5b5230730
53
py
Python
simple_menus/__init__.py
russelljk/simple_menus
d2edb7f60c8c2278933a6ad723f436f56389ffb8
[ "Zlib" ]
1
2019-09-23T08:43:37.000Z
2019-09-23T08:43:37.000Z
simple_menus/__init__.py
russelljk/simple_menus
d2edb7f60c8c2278933a6ad723f436f56389ffb8
[ "Zlib" ]
null
null
null
simple_menus/__init__.py
russelljk/simple_menus
d2edb7f60c8c2278933a6ad723f436f56389ffb8
[ "Zlib" ]
null
null
null
default_app_config = 'simple_menus.apps.MenusConfig'
26.5
52
0.849057
7
53
6
1
0
0
0
0
0
0
0
0
0
0
0
0.056604
53
1
53
53
0.84
0
0
0
0
0
0.54717
0.54717
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c04af4226acadafa47b82d241554537223d9e2f9
86
py
Python
mayan/apps/mailer/__init__.py
nadwiabd/insight_edms
90a09d7ca77cb111c791e307b55a603e82042dfe
[ "Apache-2.0" ]
1
2020-07-15T02:56:02.000Z
2020-07-15T02:56:02.000Z
mayan/apps/mailer/__init__.py
kyper999/mayan-edms
ca7b8301a1f68548e8e718d42a728a500d67286e
[ "Apache-2.0" ]
null
null
null
mayan/apps/mailer/__init__.py
kyper999/mayan-edms
ca7b8301a1f68548e8e718d42a728a500d67286e
[ "Apache-2.0" ]
2
2020-02-24T21:02:31.000Z
2021-01-05T23:52:01.000Z
from __future__ import unicode_literals default_app_config = 'mailer.apps.MailerApp'
21.5
44
0.848837
11
86
6
1
0
0
0
0
0
0
0
0
0
0
0
0.093023
86
3
45
28.666667
0.846154
0
0
0
0
0
0.244186
0.244186
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
c05f47473c846751016ca7e6d973d26ea493a42c
180
py
Python
predico/services/adapter/base_adapter.py
pauleveritt/predico
2bbf88a7775d31907d2229a32a89490172acd988
[ "Apache-2.0" ]
null
null
null
predico/services/adapter/base_adapter.py
pauleveritt/predico
2bbf88a7775d31907d2229a32a89490172acd988
[ "Apache-2.0" ]
null
null
null
predico/services/adapter/base_adapter.py
pauleveritt/predico
2bbf88a7775d31907d2229a32a89490172acd988
[ "Apache-2.0" ]
null
null
null
""" Marker class to allow registrations, DI, and type hinting for subclasses. """ class Adapter: """ Marker adapter all adapters are expected to subclass from """ pass
15
69
0.694444
23
180
5.434783
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.216667
180
11
70
16.363636
0.886525
0.733333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
c061fb8a354621ead8dd5afdade055730dfc756d
212
py
Python
backend/service_request/serializers.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
null
null
null
backend/service_request/serializers.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
2
2020-02-11T15:45:51.000Z
2020-07-17T16:47:06.000Z
backend/service_request/serializers.py
adabutch/account_tracker
2ae6e287266262557268f080cff821a736d6ec8b
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import ServiceRequest class ServiceRequestSerializer(serializers.ModelSerializer): class Meta: model = ServiceRequest fields = '__all__'
21.2
60
0.759434
19
212
8.210526
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.193396
212
9
61
23.555556
0.912281
0
0
0
0
0
0.033019
0
0
0
0
0
0
1
0
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
220347d4002b6971a1145cf705ef356bfb5a853b
548
py
Python
elegy/losses/__init__.py
Ciroye/elegy
40d879d7b7306ffdffc3fb57fd1b6919db9c8361
[ "Apache-2.0" ]
1
2020-07-20T22:19:30.000Z
2020-07-20T22:19:30.000Z
elegy/losses/__init__.py
Ciroye/elegy
40d879d7b7306ffdffc3fb57fd1b6919db9c8361
[ "Apache-2.0" ]
null
null
null
elegy/losses/__init__.py
Ciroye/elegy
40d879d7b7306ffdffc3fb57fd1b6919db9c8361
[ "Apache-2.0" ]
null
null
null
from .binary_crossentropy import BinaryCrossentropy, binary_crossentropy from .categorical_crossentropy import CategoricalCrossentropy from .loss import Loss, Reduction from .mean_absolute_error import MeanAbsoluteError, mean_absolute_error from .mean_absolute_percentage_error import ( MeanAbsolutePercentageError, ...
39.142857
72
0.866788
55
548
8.254545
0.345455
0.118943
0.127753
0.092511
0
0
0
0
0
0
0
0
0.09854
548
13
73
42.153846
0.919028
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.538462
0
0.538462
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
221adc0d5b89da96170f287fc371da26b04db8e5
1,775
py
Python
kasaya/core/client/exec_context.py
AYAtechnologies/Kasaya-esb
150fa96d4136641cd4632f3c9a09d4fc2610df07
[ "BSD-2-Clause" ]
1
2015-06-26T18:05:20.000Z
2015-06-26T18:05:20.000Z
kasaya/core/client/exec_context.py
AYAtechnologies/Kasaya-esb
150fa96d4136641cd4632f3c9a09d4fc2610df07
[ "BSD-2-Clause" ]
null
null
null
kasaya/core/client/exec_context.py
AYAtechnologies/Kasaya-esb
150fa96d4136641cd4632f3c9a09d4fc2610df07
[ "BSD-2-Clause" ]
null
null
null
#encoding: utf-8 from __future__ import division, absolute_import, print_function, unicode_literals from .proxies import SyncProxy, AsyncProxy, ControlProxy, TransactionProxy class ExecContext(object): """ Uruchamia zadania i tworzy context. """ def __init__(self, context=None): self._contex...
27.307692
114
0.664789
187
1,775
6.069519
0.57754
0.05815
0.070485
0.088106
0.123348
0.123348
0
0
0
0
0
0.000767
0.265352
1,775
64
115
27.734375
0.869632
0.329014
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.3
false
0.033333
0.066667
0.133333
0.766667
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
222a66b845b53e7700889f9521763235238061de
277
py
Python
tests/routers/jobs/test_jobs_search.py
upwork/python-upwork
63aa5ebfd91cbf6f019437358f3e89d0e3bc29aa
[ "Apache-2.0" ]
150
2015-05-28T19:09:33.000Z
2022-03-22T16:56:33.000Z
tests/routers/jobs/test_jobs_search.py
Top-coder-1/python-upwork
0671e1e90cc2d770be4f96ae4bfb21bc111dd122
[ "Apache-2.0" ]
38
2015-05-28T18:45:55.000Z
2021-06-14T09:34:27.000Z
tests/routers/jobs/test_jobs_search.py
upwork/python-upwork-oauth2
5a10558a5c4479e7aea462fec0193db40ecde9e2
[ "Apache-2.0" ]
61
2015-09-01T06:39:25.000Z
2021-11-09T12:29:57.000Z
import upwork from upwork.routers.jobs import search from unittest.mock import patch @patch.object(upwork.Client, "get") def test_find(mocked_method): search.Api(upwork.Client).find({"a": "b"}) mocked_method.assert_called_with("/profiles/v2/search/jobs", {"a": "b"})
27.7
76
0.732852
41
277
4.829268
0.609756
0.121212
0
0
0
0
0
0
0
0
0
0.004032
0.104693
277
9
77
30.777778
0.794355
0
0
0
0
0
0.111913
0.086643
0
0
0
0
0.142857
1
0.142857
false
0
0.428571
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
22339e8f0edfc5d92abecadd69413b93ce88ea70
226
py
Python
kiramath/const.py
kirajcg/kiramath
6ad8496f8c08e50a031422240bfa1f9a89019eee
[ "MIT" ]
null
null
null
kiramath/const.py
kirajcg/kiramath
6ad8496f8c08e50a031422240bfa1f9a89019eee
[ "MIT" ]
null
null
null
kiramath/const.py
kirajcg/kiramath
6ad8496f8c08e50a031422240bfa1f9a89019eee
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- def pi(N=2**7): pi = 0 for n in range(0, N + 1): pi += 1 / (16**n) * (4 / (8 * n + 1) - 2 / (8 * n + 4) - 1 / (8 * n + 5) - 1 / (8 * n + 6)) return pi
22.6
64
0.287611
39
226
1.666667
0.461538
0.123077
0.092308
0
0
0
0
0
0
0
0
0.176471
0.473451
226
9
65
25.111111
0.369748
0.09292
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2236ba5dc3eed5f72da2ff35d2c6286b20b84d27
335
py
Python
cli/psym/graphql/enum/check_list_item_enum_selection_mode.py
danielrh135568/symphony-1
54c92a0f8775d1a837ab7c7bd6a08ccd906d28a4
[ "BSD-3-Clause" ]
null
null
null
cli/psym/graphql/enum/check_list_item_enum_selection_mode.py
danielrh135568/symphony-1
54c92a0f8775d1a837ab7c7bd6a08ccd906d28a4
[ "BSD-3-Clause" ]
12
2022-02-14T04:20:30.000Z
2022-03-28T04:20:17.000Z
cli/psym/graphql/enum/check_list_item_enum_selection_mode.py
danielrh135568/symphony-1
54c92a0f8775d1a837ab7c7bd6a08ccd906d28a4
[ "BSD-3-Clause" ]
1
2022-02-24T21:47:51.000Z
2022-02-24T21:47:51.000Z
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from enum import Enum class CheckListItemEnumSelectionMode(Enum): single = "single" multiple = "multiple" MISSING_ENUM = "" @classmethod def _missing_(cls, value: object) -> "CheckListItemEnumSelectionMode": return cl...
22.333333
74
0.710448
34
335
6.882353
0.705882
0.094017
0
0
0
0
0
0
0
0
0
0.003704
0.19403
335
14
75
23.928571
0.862963
0.2
0
0
1
0
0.165414
0.112782
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
2246af388dc14b6fe34a67329ce406fb354834ad
60
py
Python
mayan/apps/cabinets/__init__.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
343
2015-01-05T14:19:35.000Z
2018-12-10T19:07:48.000Z
mayan/apps/cabinets/__init__.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
191
2015-01-03T00:48:19.000Z
2018-11-30T09:10:25.000Z
mayan/apps/cabinets/__init__.py
nattangwiwat/Mayan-EDMS-recitation
fcf16afb56eae812fb99144d65ae1ae6749de0b7
[ "Apache-2.0" ]
257
2019-05-14T10:26:37.000Z
2022-03-30T03:37:36.000Z
default_app_config = 'mayan.apps.cabinets.apps.CabinetsApp'
30
59
0.833333
8
60
6
0.875
0
0
0
0
0
0
0
0
0
0
0
0.05
60
1
60
60
0.842105
0
0
0
0
0
0.6
0.6
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
22474b54e1faaf3f796c96ca87d435532d0e4a87
96
py
Python
tavern/util/formatted_str.py
lvijnck/tavern
067a75dd9e845136b461b2fc443be29ecee9273a
[ "MIT" ]
889
2017-11-04T11:43:36.000Z
2022-03-31T11:37:31.000Z
tavern/util/formatted_str.py
lvijnck/tavern
067a75dd9e845136b461b2fc443be29ecee9273a
[ "MIT" ]
636
2017-11-04T11:43:02.000Z
2022-03-31T00:02:04.000Z
tavern/util/formatted_str.py
lvijnck/tavern
067a75dd9e845136b461b2fc443be29ecee9273a
[ "MIT" ]
181
2017-12-05T13:51:42.000Z
2022-03-25T11:34:58.000Z
class FormattedString(str): """Wrapper class for things that have already been formatted"""
32
67
0.75
12
96
6
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.15625
96
2
68
48
0.888889
0.59375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2249af20be53886aec25387221a1ad7ca03fbd9b
3,263
py
Python
commands/control_commands.py
HCI901E20/P9-Embedded
75648d8240ae386331f9bcd1d19940db0ac93512
[ "MIT" ]
null
null
null
commands/control_commands.py
HCI901E20/P9-Embedded
75648d8240ae386331f9bcd1d19940db0ac93512
[ "MIT" ]
null
null
null
commands/control_commands.py
HCI901E20/P9-Embedded
75648d8240ae386331f9bcd1d19940db0ac93512
[ "MIT" ]
1
2021-02-02T07:39:21.000Z
2021-02-02T07:39:21.000Z
from enums import DirectionEnum class ControlCommands(): def __init__(self, command): self.command = command def takeoff(self): """ description: Tello auto takeoff response: ok, error """ return self.command('takeoff') def land(self): ...
27.652542
98
0.519767
382
3,263
4.426702
0.204188
0.11709
0.141928
0.198699
0.627439
0.59314
0.367238
0.347723
0.302779
0.248374
0
0.025072
0.364389
3,263
117
99
27.888889
0.79026
0.343242
0
0
0
0.027778
0.109964
0
0
0
0
0
0
1
0.472222
false
0
0.027778
0
0.972222
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
224b5e5c16e2f8a4b6dcd3fc7b3b26939283d5ec
153
py
Python
Server/app/models/__init__.py
DSM-GRAM/The-Manual-Backend
6f968c309cdaebebcf305ac38eacf24ccde14573
[ "MIT" ]
1
2018-08-13T02:04:20.000Z
2018-08-13T02:04:20.000Z
Server/app/models/__init__.py
DSM-GRAM/The-Manual-Backend
6f968c309cdaebebcf305ac38eacf24ccde14573
[ "MIT" ]
3
2018-07-26T14:05:22.000Z
2018-08-01T13:05:37.000Z
Server/app/models/__init__.py
DSM-GRAM/The-Manual-Backend
6f968c309cdaebebcf305ac38eacf24ccde14573
[ "MIT" ]
1
2018-07-23T13:35:00.000Z
2018-07-23T13:35:00.000Z
from peewee import Model from app import db class BaseModel(Model): # Model 클래스마다 내부에 Meta 클래스를 가지지 않아도 되도록 class Meta: database = db
15.3
43
0.679739
23
153
4.521739
0.695652
0
0
0
0
0
0
0
0
0
0
0
0.281046
153
9
44
17
0.945455
0.24183
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
226188d969d07d76e3ae4c120dd3e5cbdad34560
214
py
Python
cloudscheduler/__init__.py
hep-gc/cloud-scheduler-2
180d9dc4f8751cf8c8254518e46f83f118187e84
[ "Apache-2.0" ]
3
2020-03-03T03:25:36.000Z
2021-12-03T15:31:39.000Z
cloudscheduler/__init__.py
hep-gc/cloud-scheduler-2
180d9dc4f8751cf8c8254518e46f83f118187e84
[ "Apache-2.0" ]
341
2017-06-08T17:27:59.000Z
2022-01-28T19:37:57.000Z
cloudscheduler/__init__.py
hep-gc/cloud-scheduler-2
180d9dc4f8751cf8c8254518e46f83f118187e84
[ "Apache-2.0" ]
3
2018-04-25T16:13:20.000Z
2020-04-15T20:03:46.000Z
""" cloudscheduler is a module that contains various cloud connection classes for starting virtual machines in the cloud in conjuction with HTCondor to assemble a distributed computing resource for batch jobs. """
35.666667
78
0.817757
30
214
5.833333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.149533
214
5
79
42.8
0.961538
0.957944
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
227407a0a72e4b4066d585ce573f6a6ab69afeb7
106
py
Python
app/database.py
ezecavallo/phrase-line
1874a6221e77da5168c7e69ff27838d9e16a4d52
[ "Apache-2.0" ]
null
null
null
app/database.py
ezecavallo/phrase-line
1874a6221e77da5168c7e69ff27838d9e16a4d52
[ "Apache-2.0" ]
null
null
null
app/database.py
ezecavallo/phrase-line
1874a6221e77da5168c7e69ff27838d9e16a4d52
[ "Apache-2.0" ]
null
null
null
"""Inicialize database.""" # SQLAlchemy from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy()
15.142857
40
0.716981
10
106
7.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0.179245
106
6
41
17.666667
0.862069
0.301887
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
97d46b73dfd1559b68e8cc25beb8f28a4fdc5a5a
117
py
Python
api_framework/module/__init__.py
alex-polosky/django-api-framework
6441fb70294429979653da58787c4d0304ead117
[ "BSD-2-Clause" ]
null
null
null
api_framework/module/__init__.py
alex-polosky/django-api-framework
6441fb70294429979653da58787c4d0304ead117
[ "BSD-2-Clause" ]
null
null
null
api_framework/module/__init__.py
alex-polosky/django-api-framework
6441fb70294429979653da58787c4d0304ead117
[ "BSD-2-Clause" ]
null
null
null
from .base import BaseModule from .factory import ModuleFactory __all__ = [ 'BaseModule', 'ModuleFactory' ]
14.625
34
0.717949
11
117
7.272727
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.196581
117
7
35
16.714286
0.851064
0
0
0
0
0
0.196581
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
97debca95044ccfc95b8d368a9567340553cda7c
2,166
py
Python
pruebas_unitarias_con_python.py
jose-121/RECTANGULO
1f692caa279ce4346a34306d0cfc7b629c028742
[ "MIT" ]
null
null
null
pruebas_unitarias_con_python.py
jose-121/RECTANGULO
1f692caa279ce4346a34306d0cfc7b629c028742
[ "MIT" ]
null
null
null
pruebas_unitarias_con_python.py
jose-121/RECTANGULO
1f692caa279ce4346a34306d0cfc7b629c028742
[ "MIT" ]
1
2018-09-26T00:05:28.000Z
2018-09-26T00:05:28.000Z
import ejemplo import frutasOmarSalgado import ManuelBuritica import SEBASTIAN_YEPES import factorialDiegoHerrera import JOHAN_ALVAREZ import JOHAN_LOPEZ import Andres_Suarez import KarinaBolivar import unittest ''' creamos los casos de prueba para las funciones y para eso debemos crear una clase ''' class Test_ejemp...
27.417722
67
0.722068
257
2,166
5.945525
0.326848
0.094241
0.153141
0.164921
0.286649
0.268979
0.10733
0
0
0
0
0.024585
0.192521
2,166
78
68
27.769231
0.849057
0.134349
0
0.083333
0
0
0.01128
0
0
0
0
0.012821
0.1875
1
0.1875
false
0
0.208333
0
0.583333
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
1
0
0
0
0
0
0
0
1
0
0
3
97fc8fb911119682d1aee72ae5181af3063ebffd
639
py
Python
tests/fixtures/__init__.py
GoNzCiD/pytraccar
538d37baee776397db0ff290ecd7ed3f20c45aee
[ "MIT" ]
null
null
null
tests/fixtures/__init__.py
GoNzCiD/pytraccar
538d37baee776397db0ff290ecd7ed3f20c45aee
[ "MIT" ]
null
null
null
tests/fixtures/__init__.py
GoNzCiD/pytraccar
538d37baee776397db0ff290ecd7ed3f20c45aee
[ "MIT" ]
null
null
null
"""Fixtures.""" import pytest @pytest.fixture() def connected(): """Response when no active beta.""" return { "info": {"version": "9.99.9"}, "releases": { "9.97.9b0": [], "9.97.9": [], "9.98.9b0": [], "9.98.9": [], "9.99.9b0": [], ...
19.363636
39
0.359937
64
639
3.59375
0.328125
0.065217
0.052174
0.173913
0.547826
0.547826
0.304348
0.304348
0.304348
0.304348
0
0.139535
0.394366
639
32
40
19.96875
0.45478
0.103286
0
0.64
0
0
0.219031
0
0
0
0
0
0
1
0.08
true
0
0.04
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3f194320fd29b8bb4b0cb7b4ebb47424ec7bae76
1,011
py
Python
language_demos/class_mixin_demo.py
t4d-classes/python_03222021_afternoon
c954702cf55c0f9d919ac32404a29830601883ba
[ "MIT" ]
null
null
null
language_demos/class_mixin_demo.py
t4d-classes/python_03222021_afternoon
c954702cf55c0f9d919ac32404a29830601883ba
[ "MIT" ]
null
null
null
language_demos/class_mixin_demo.py
t4d-classes/python_03222021_afternoon
c954702cf55c0f9d919ac32404a29830601883ba
[ "MIT" ]
null
null
null
import json import yaml class JsonMixin: def to_json(self): return json.dumps(self._items) class YamlMixin: def to_yaml(self): return yaml.dump(self._items) class Parent: def __init__(self): # single underscore convention means protected self._items = [] class Chil...
17.736842
54
0.616222
128
1,011
4.59375
0.296875
0.107143
0.071429
0
0
0
0
0
0
0
0
0.015404
0.229476
1,011
56
55
18.053571
0.73941
0.121662
0
0.064516
0
0
0.05436
0
0
0
0
0
0
1
0.258065
false
0
0.064516
0.129032
0.612903
0.096774
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
3f3952439535dcf189af3021a28f664033aa98e9
217
py
Python
denver/_colorama/__init__.py
AdityaJ7/denver
b17e46b7d68980ce695f15bc078b05916dd1705a
[ "MIT" ]
null
null
null
denver/_colorama/__init__.py
AdityaJ7/denver
b17e46b7d68980ce695f15bc078b05916dd1705a
[ "MIT" ]
null
null
null
denver/_colorama/__init__.py
AdityaJ7/denver
b17e46b7d68980ce695f15bc078b05916dd1705a
[ "MIT" ]
null
null
null
# Copyright (c) 2020 Xcodz. # All Rights Reserved. from .initialise import init, deinit, reinit, colorama_text from .ansi import Fore, Back, Style, Cursor from .ansitowin32 import AnsiToWin32 __version__ = '0.4.3'
27.125
59
0.75576
30
217
5.3
0.833333
0
0
0
0
0
0
0
0
0
0
0.059783
0.152074
217
7
60
31
0.804348
0.21659
0
0
0
0
0.03012
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3f4ccf343e322e8152d3d4d58aee7ac8543e4b48
680
py
Python
vectorizable/pipe.py
spacelis/vectorizable
bcc3da1e10a65aa31a85482f8073890128813afa
[ "MIT" ]
null
null
null
vectorizable/pipe.py
spacelis/vectorizable
bcc3da1e10a65aa31a85482f8073890128813afa
[ "MIT" ]
null
null
null
vectorizable/pipe.py
spacelis/vectorizable
bcc3da1e10a65aa31a85482f8073890128813afa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ A base class for pipable objects """ class Pipable(object): """ A class for pipable objects """ def __init__(self, this, parent=None): super(Pipable, self).__init__() self.this = this self.call = this self.parent = parent def pipe(self, other): ...
26.153846
63
0.589706
88
680
4.375
0.431818
0.083117
0.077922
0.114286
0
0
0
0
0
0
0
0.002037
0.277941
680
25
64
27.2
0.782077
0.235294
0
0
0
0
0.016032
0
0
0
0
0.04
0
1
0.285714
false
0
0
0.071429
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
3f53235a9b94f99151e659844e6b8b650e6ddc69
1,779
py
Python
module1-introduction-to-sql/rpg_queries.py
zwarshavsky/DS-Unit-3-Sprint-2-SQL-and-Databases
529dbaf17a50a789d825f48d5c56443b191a4f4f
[ "MIT" ]
null
null
null
module1-introduction-to-sql/rpg_queries.py
zwarshavsky/DS-Unit-3-Sprint-2-SQL-and-Databases
529dbaf17a50a789d825f48d5c56443b191a4f4f
[ "MIT" ]
null
null
null
module1-introduction-to-sql/rpg_queries.py
zwarshavsky/DS-Unit-3-Sprint-2-SQL-and-Databases
529dbaf17a50a789d825f48d5c56443b191a4f4f
[ "MIT" ]
null
null
null
import sqlite3 conn = sqlite3.connect('/Users/user/Documents/GitHub/Lambda/DS-Unit-3-Sprint-2-SQL-and-Databases/module1-introduction-to-sql/rpg_db.sqlite3') c = conn.cursor() #How many total Characters there? c1 = c print(c1.execute('SELECT COUNT(*) FROM charactercreator_character;').fetchall()) #How many of each sp...
40.431818
205
0.756043
271
1,779
4.848708
0.280443
0.068493
0.114155
0.076104
0.70624
0.70624
0.590563
0.497717
0.458143
0.458143
0
0.018331
0.110736
1,779
44
206
40.431818
0.812263
0.213041
0
0.133333
0
0.2
0.610632
0.260776
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.666667
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
3f6fa3fca58167dd45c399e7ba272d7276cc7d3f
887
py
Python
tests/test_nicholson_bailey.py
kmarekspartz/generations
17da1f43a202a14ed858d0692e701d25a797f892
[ "MIT" ]
4
2019-01-23T14:48:15.000Z
2019-09-25T03:12:35.000Z
tests/test_nicholson_bailey.py
kmarekspartz/generations
17da1f43a202a14ed858d0692e701d25a797f892
[ "MIT" ]
7
2020-03-24T17:44:57.000Z
2022-03-12T00:01:29.000Z
tests/test_nicholson_bailey.py
kmarekspartz/generations
17da1f43a202a14ed858d0692e701d25a797f892
[ "MIT" ]
1
2018-03-05T02:06:02.000Z
2018-03-05T02:06:02.000Z
import unittest from generations.nicholson_bailey import NicholsonBailey class TestNicholsonBailey(unittest.TestCase): def test_has_defaults(self): nb = NicholsonBailey() self.assertEqual(100, nb.initial_host_population) def test_host_population_at_time_zero_is_initial_host_population(self):...
31.678571
78
0.696731
108
887
5.388889
0.324074
0.060137
0.180412
0.214777
0.395189
0.209622
0.140893
0
0
0
0
0.021246
0.204059
887
27
79
32.851852
0.803116
0
0
0.25
0
0
0.019166
0
0
0
0
0
0.25
1
0.25
false
0
0.1
0
0.4
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
58be6fceae7dd83b7291ecd09a631de3aefce84a
140
py
Python
keywords/if_kwd.py
janbodnar/Python-Course
51705ab5a2adef52bcdb99a800e94c0d67144a38
[ "BSD-2-Clause" ]
13
2017-08-22T12:26:07.000Z
2021-07-29T16:13:50.000Z
keywords/if_kwd.py
janbodnar/Python-Course
51705ab5a2adef52bcdb99a800e94c0d67144a38
[ "BSD-2-Clause" ]
1
2021-02-08T10:24:33.000Z
2021-02-08T10:24:33.000Z
keywords/if_kwd.py
janbodnar/Python-Course
51705ab5a2adef52bcdb99a800e94c0d67144a38
[ "BSD-2-Clause" ]
17
2018-08-13T11:10:33.000Z
2021-07-29T16:14:02.000Z
#!/usr/bin/python # if_kwd.py age = 17 if age > 18: print ("Driving licence issued") else: print ("Driving licence not permitted")
12.727273
42
0.657143
21
140
4.333333
0.761905
0.263736
0.417582
0
0
0
0
0
0
0
0
0.036036
0.207143
140
10
43
14
0.783784
0.185714
0
0
0
0
0.455357
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
58ecc221580675d76a04afd898bea15d0a7985ca
278
py
Python
brain/src/model/position.py
siddharthkundu/raspberry-pi-os-image-builder
ffbb008668340e602722f98227048ed3e5243386
[ "Apache-2.0" ]
null
null
null
brain/src/model/position.py
siddharthkundu/raspberry-pi-os-image-builder
ffbb008668340e602722f98227048ed3e5243386
[ "Apache-2.0" ]
null
null
null
brain/src/model/position.py
siddharthkundu/raspberry-pi-os-image-builder
ffbb008668340e602722f98227048ed3e5243386
[ "Apache-2.0" ]
null
null
null
import json class Position: def __init__(self, x: int, y: int, z: int): self.x = x self.y = y self.z = z def toJSON(self) -> str: return json.dumps(self, default=lambda o: o.__dict__, sort_keys=True, indent=4)
23.166667
61
0.52518
40
278
3.425
0.6
0.072993
0
0
0
0
0
0
0
0
0
0.005618
0.359712
278
12
62
23.166667
0.764045
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
58f350dbf78c5c07dd427168013fbfd8ba509c84
159
py
Python
corehq/apps/hqcouchlog/views.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2015-02-10T23:26:39.000Z
2015-02-10T23:26:39.000Z
corehq/apps/hqcouchlog/views.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
1
2022-03-12T01:03:25.000Z
2022-03-12T01:03:25.000Z
corehq/apps/hqcouchlog/views.py
johan--/commcare-hq
86ee99c54f55ee94e4c8f2f6f30fc44e10e69ebd
[ "BSD-3-Clause" ]
null
null
null
def fail(request, domain): # if you want to play with it, wire this to a url raise Exception("HQ Couchlog simulated failure in domain %s!" % domain)
26.5
75
0.691824
26
159
4.230769
0.884615
0
0
0
0
0
0
0
0
0
0
0
0.226415
159
5
76
31.8
0.894309
0.295597
0
0
0
0
0.398148
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
451d1d999db8bd6d9749a812eb78d535b636deb3
249
py
Python
hypergbm/__init__.py
zhangxjohn/HyperGBM
7ba4423336928e0e23ef26a9210469294fbf7288
[ "Apache-2.0" ]
1
2021-03-31T12:11:27.000Z
2021-03-31T12:11:27.000Z
hypergbm/__init__.py
zhangxjohn/HyperGBM
7ba4423336928e0e23ef26a9210469294fbf7288
[ "Apache-2.0" ]
null
null
null
hypergbm/__init__.py
zhangxjohn/HyperGBM
7ba4423336928e0e23ef26a9210469294fbf7288
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- __author__ = 'yangjian' """ """ from .hyper_gbm import HyperGBM, HyperGBMEstimator, HyperGBMExplainer, HyperEstimator, HyperModel from .experiment import CompeteExperiment, make_experiment from ._version import __version__
22.636364
97
0.779116
24
249
7.625
0.75
0
0
0
0
0
0
0
0
0
0
0.004545
0.116466
249
10
98
24.9
0.827273
0.080321
0
0
0
0
0.03653
0
0
0
0
0
0
1
0
false
0
0.75
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
0
0
0
1
0
1
0
0
3
451eaa45e7908b8cd7746e15868a654c651065c8
572
py
Python
xrpl/core/binarycodec/types/hash256.py
SubCODERS/xrpl-py
24a02d099002625794f5b6491ec2cafd872cc721
[ "ISC" ]
1
2021-04-07T16:59:01.000Z
2021-04-07T16:59:01.000Z
xrpl/core/binarycodec/types/hash256.py
SubCODERS/xrpl-py
24a02d099002625794f5b6491ec2cafd872cc721
[ "ISC" ]
2
2022-02-23T22:57:46.000Z
2022-02-24T11:41:49.000Z
xrpl/core/binarycodec/types/hash256.py
SubCODERS/xrpl-py
24a02d099002625794f5b6491ec2cafd872cc721
[ "ISC" ]
1
2022-02-21T07:36:36.000Z
2022-02-21T07:36:36.000Z
""" Codec for serializing and deserializing a hash field with a width of 256 bits (32 bytes). `See Hash Fields <https://xrpl.org/serialization.html#hash-fields>`_ """ from __future__ import annotations from typing import Type from xrpl.core.binarycodec.types.hash import Hash class Hash256(Hash): """ Codec f...
24.869565
72
0.711538
81
572
4.925926
0.493827
0.100251
0.095238
0.110276
0.616541
0.616541
0.616541
0.616541
0.616541
0.616541
0
0.03871
0.187063
572
22
73
26
0.819355
0.554196
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
0
0
0
3
4523cbae6b6cab6cbeedd66be6c0090824e97b1a
256
py
Python
malcolm/modules/ADPco/blocks/__init__.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
11
2016-10-04T23:11:39.000Z
2022-01-25T15:44:43.000Z
malcolm/modules/ADPco/blocks/__init__.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
153
2016-06-01T13:31:02.000Z
2022-03-31T11:17:18.000Z
malcolm/modules/ADPco/blocks/__init__.py
hir12111/pymalcolm
689542711ff903ee99876c40fc0eae8015e13314
[ "Apache-2.0" ]
16
2016-06-10T13:45:27.000Z
2020-10-24T13:45:04.000Z
from malcolm.yamlutil import check_yaml_names, make_block_creator pco_driver_block = make_block_creator(__file__, "pco_driver_block.yaml") pco_runnable_block = make_block_creator(__file__, "pco_runnable_block.yaml") __all__ = check_yaml_names(globals())
36.571429
76
0.847656
37
256
5.054054
0.432432
0.144385
0.256684
0.224599
0.299465
0.299465
0
0
0
0
0
0
0.070313
256
6
77
42.666667
0.785714
0
0
0
0
0
0.171875
0.171875
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
45272b145eac98ce31d0f7c67a543d412e3ad295
403
py
Python
example_code/discovery_mvp.py
Javert899/pm4py-mdl
4cc875999100f3f1ad60b925a20e40cf52337757
[ "MIT" ]
5
2021-01-31T22:45:29.000Z
2022-02-22T14:26:06.000Z
example_code/discovery_mvp.py
Javert899/pm4py-mdl
4cc875999100f3f1ad60b925a20e40cf52337757
[ "MIT" ]
null
null
null
example_code/discovery_mvp.py
Javert899/pm4py-mdl
4cc875999100f3f1ad60b925a20e40cf52337757
[ "MIT" ]
9
2020-09-23T15:34:11.000Z
2022-03-17T09:15:40.000Z
from pm4pymdl.objects.mdl.importer import importer as mdl_importer from pm4pymdl.algo.mvp.discovery import algorithm as mvp_disc_factory from pm4pymdl.visualization.mvp import visualizer as mvp_vis_factory df = mdl_importer.apply("../example_logs/mdl/order_management.mdl") model = mvp_disc_factory.apply(df) gviz = mvp...
44.777778
69
0.823821
61
403
5.213115
0.459016
0.113208
0.122642
0
0
0
0
0
0
0
0
0.008065
0.076923
403
8
70
50.375
0.846774
0
0
0
0
0
0.121588
0.099256
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
452b65458efb1a79da33e57195557d7e989134e1
49
py
Python
util/__init__.py
crclark96/OTA-Challenge-Bot
7aa90b798176f77012961758200ee399682b7bc8
[ "MIT" ]
64
2017-08-24T11:22:42.000Z
2021-09-24T07:41:10.000Z
util/__init__.py
crclark96/OTA-Challenge-Bot
7aa90b798176f77012961758200ee399682b7bc8
[ "MIT" ]
161
2017-08-22T23:15:20.000Z
2021-03-08T15:22:24.000Z
util/__init__.py
crclark96/OTA-Challenge-Bot
7aa90b798176f77012961758200ee399682b7bc8
[ "MIT" ]
22
2017-08-24T00:07:25.000Z
2020-05-19T21:21:30.000Z
__all__ = [ "loghandler", "githandler" ]
9.8
17
0.55102
3
49
7.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.285714
49
4
18
12.25
0.657143
0
0
0
0
0
0.408163
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
45347cb44523c172df61cc18fed0a04de5fa8826
3,020
py
Python
src/fhir_helpers/resources/human_name.py
anthem-ai/fhir-helpers
803653f7ef64dbb41bdc24b06cb16425964058aa
[ "Apache-2.0" ]
null
null
null
src/fhir_helpers/resources/human_name.py
anthem-ai/fhir-helpers
803653f7ef64dbb41bdc24b06cb16425964058aa
[ "Apache-2.0" ]
null
null
null
src/fhir_helpers/resources/human_name.py
anthem-ai/fhir-helpers
803653f7ef64dbb41bdc24b06cb16425964058aa
[ "Apache-2.0" ]
null
null
null
import json from abc import ABC, abstractmethod from typing import List, Literal, cast from fhir_types import FHIR_HumanName from google.fhir.r4.json_format import print_fhir_to_json_string from proto.google.fhir.proto.r4.core import datatypes_pb2 HumanNameUse = Literal[ "usual", "official", "temp", "nickname", "...
23.968254
92
0.59404
366
3,020
4.814208
0.234973
0.081158
0.056186
0.057889
0.515324
0.481839
0.422815
0.301362
0.230988
0.175369
0
0.00276
0.280132
3,020
125
93
24.16
0.807728
0.073841
0
0.515789
0
0
0.046628
0
0
0
0
0.008
0
1
0.221053
false
0.063158
0.063158
0.126316
0.452632
0.021053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
188bcb7cb3fe2603408c56f7605a8b51d35fd18e
71
py
Python
boa3_test/example/if_test/IfExpWithoutElse.py
jplippi/neo3-boa
052be4adebb665113715bb80067d954f7ad85ad5
[ "Apache-2.0" ]
25
2020-07-22T19:37:43.000Z
2022-03-08T03:23:55.000Z
boa3_test/example/if_test/IfExpWithoutElse.py
jplippi/neo3-boa
052be4adebb665113715bb80067d954f7ad85ad5
[ "Apache-2.0" ]
419
2020-04-23T17:48:14.000Z
2022-03-31T13:17:45.000Z
boa3_test/example/if_test/IfExpWithoutElse.py
jplippi/neo3-boa
052be4adebb665113715bb80067d954f7ad85ad5
[ "Apache-2.0" ]
15
2020-05-21T21:54:24.000Z
2021-11-18T06:17:24.000Z
def Main(condition: bool) -> int: a = 2 if condition return a
14.2
33
0.605634
11
71
3.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0.02
0.295775
71
4
34
17.75
0.84
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
18a46f5a4f9c35f250a61dfedd0b18c80a97e026
856
py
Python
package/scripts/master.py
gridgentoo/redis-ambari
eb948111411ae324e59999f87592a3a129802f81
[ "WTFPL" ]
17
2015-07-08T07:07:57.000Z
2019-02-12T02:31:47.000Z
package/scripts/master.py
nikunjness/redis-ambari
eab75dfd6220e4bfb7b7abf7413ebd7bab639441
[ "WTFPL" ]
null
null
null
package/scripts/master.py
nikunjness/redis-ambari
eab75dfd6220e4bfb7b7abf7413ebd7bab639441
[ "WTFPL" ]
11
2015-07-08T07:08:40.000Z
2019-10-11T03:01:17.000Z
import sys, os, pwd, signal, time from resource_management import * from subprocess import call class Master(Script): def install(self, env): # Install packages listed in metainfo.xml self.install_packages(env) #if any other install steps were needed they can be added here #To stop the service, use ...
28.533333
88
0.718458
127
856
4.748032
0.440945
0.046434
0.054726
0.089552
0.38806
0.38806
0.295191
0.106136
0
0
0
0
0.204439
856
29
89
29.517241
0.885463
0.380841
0
0.176471
0
0
0.135496
0
0
0
0
0
0
1
0.235294
false
0
0.352941
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
18c7a70058b6d7de96fc7e37fff2be27eb307936
194
py
Python
paste/__init__.py
prikevs/PasteSite
09208f488f315d6655e92b1bf3233179f9e837df
[ "MIT" ]
null
null
null
paste/__init__.py
prikevs/PasteSite
09208f488f315d6655e92b1bf3233179f9e837df
[ "MIT" ]
null
null
null
paste/__init__.py
prikevs/PasteSite
09208f488f315d6655e92b1bf3233179f9e837df
[ "MIT" ]
null
null
null
#coding:utf8 from flask import Flask from flask_bootstrap import Bootstrap def create_app(): app = Flask(__name__) Bootstrap(app) return app app = create_app() from . import views
16.166667
37
0.731959
27
194
5
0.444444
0.133333
0
0
0
0
0
0
0
0
0
0.00641
0.195876
194
11
38
17.636364
0.858974
0.056701
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
18ce1ccdba9ee24255dd9256e3fe5907e25c01f4
28,115
py
Python
pyfranca/franca_parser.py
gunnarx/pyfranca
d986e4b97229f9673d8349b2de77c541a9377faf
[ "MIT" ]
1
2017-04-25T16:48:21.000Z
2017-04-25T16:48:21.000Z
pyfranca/franca_parser.py
gunnarx/pyfranca
d986e4b97229f9673d8349b2de77c541a9377faf
[ "MIT" ]
null
null
null
pyfranca/franca_parser.py
gunnarx/pyfranca
d986e4b97229f9673d8349b2de77c541a9377faf
[ "MIT" ]
1
2022-03-31T19:24:02.000Z
2022-03-31T19:24:02.000Z
""" Franca parser. """ from collections import OrderedDict from abc import ABCMeta import ply.yacc as yacc from pyfranca import franca_lexer from pyfranca import ast import re class ArgumentGroup(object): __metaclass__ = ABCMeta def __init__(self, arguments=None): self.arguments = arguments if argu...
29.225572
116
0.545723
2,927
28,115
5.051589
0.079262
0.028135
0.191735
0.197214
0.692885
0.65961
0.54112
0.467199
0.384823
0.327945
0
0.021668
0.346683
28,115
961
117
29.255983
0.783319
0.333096
0
0.428571
0
0
0.03517
0
0
0
0
0
0
1
0.210773
false
0.025761
0.037471
0.002342
0.278689
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
18d22654b2b4e248c8d734e0badaf62551de24a6
209
py
Python
contato/models.py
telemac-dev/Django_deploy
989e0776d7b396c73c9043784d7459c7d8a53d3f
[ "MIT" ]
null
null
null
contato/models.py
telemac-dev/Django_deploy
989e0776d7b396c73c9043784d7459c7d8a53d3f
[ "MIT" ]
null
null
null
contato/models.py
telemac-dev/Django_deploy
989e0776d7b396c73c9043784d7459c7d8a53d3f
[ "MIT" ]
null
null
null
from django.db import models class Contato(models.Model): nome_completo = models.CharField(max_length=255) data_nascimento = models.DateField(null=True) ativa = models.BooleanField(default=True)
26.125
52
0.76555
27
209
5.814815
0.814815
0
0
0
0
0
0
0
0
0
0
0.016667
0.138756
209
7
53
29.857143
0.855556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
18f585bda63f1238eccc8ab1f14109567b12d55c
468
py
Python
prediction.py
laubai/cookietest
5a46a3165dec036fecd5c40e67c4d538ab8ba6ad
[ "RSA-MD" ]
3
2021-03-25T21:23:20.000Z
2021-08-02T14:21:49.000Z
prediction.py
laubai/cookietest
5a46a3165dec036fecd5c40e67c4d538ab8ba6ad
[ "RSA-MD" ]
null
null
null
prediction.py
laubai/cookietest
5a46a3165dec036fecd5c40e67c4d538ab8ba6ad
[ "RSA-MD" ]
1
2021-03-09T18:19:01.000Z
2021-03-09T18:19:01.000Z
# For sample predict functions for popular libraries visit https://github.com/opendatahub-io/odh-prediction-samples # Import libraries # import tensorflow as tf # Load your model. # model_dir = 'models/myfancymodel' # saved_model = tf.saved_model.load(model_dir) # predictor = saved_model.signatures['default'] # Wri...
26
115
0.739316
61
468
5.557377
0.672131
0.088496
0
0
0
0
0
0
0
0
0
0.002506
0.147436
468
17
116
27.529412
0.847118
0.797009
0
0
0
0
0.301205
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
7a146752a90a6aa7ff6872fc00e15ec4cecd4a4f
4,779
py
Python
tests/sha256/test_sha256.py
BrandonOdiwuor/sha256_project
e10da4b25b71a9b521ef34ef655c6a04a230490b
[ "MIT" ]
null
null
null
tests/sha256/test_sha256.py
BrandonOdiwuor/sha256_project
e10da4b25b71a9b521ef34ef655c6a04a230490b
[ "MIT" ]
1
2022-03-27T14:44:30.000Z
2022-03-28T16:06:09.000Z
tests/sha256/test_sha256.py
BrandonOdiwuor/sha256_project
e10da4b25b71a9b521ef34ef655c6a04a230490b
[ "MIT" ]
null
null
null
from hashlib import sha256 as hashlib_sha256 from sha256.sha256 import add32, right_rotate32, little_sigma0, little_sigma1, message_schedule_array,\ big_sigma0, big_sigma1, choice, majority, round, compress, padding, sha256 def test_add32_one(): assert add32(1, 2, 4) == 7 def test_add32_two(): assert ad...
40.5
155
0.742415
459
4,779
7.566449
0.479303
0.042327
0.048949
0.033113
0.091276
0.091276
0.091276
0.091276
0.091276
0.076015
0
0.478404
0.171584
4,779
117
156
40.846154
0.398838
0
0
0.074468
0
0
0.217619
0.116761
0
0
0
0
0.223404
1
0.223404
false
0
0.021277
0
0.244681
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
7a192092233c29e764379629294cbc327b1818cb
949
py
Python
PyObjCTest/test_appkiterrors.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_appkiterrors.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_appkiterrors.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
from PyObjCTools.TestSupport import * from AppKit import * class TestAppKitErrors (TestCase): def testConstants(self): self.assertEqual(NSTextReadInapplicableDocumentTypeError, 65806) self.assertEqual(NSTextWriteInapplicableDocumentTypeError, 66062) self.assertEqual(NSTextReadWriteErrorMin...
41.26087
73
0.774499
65
949
11.184615
0.584615
0.247593
0.055021
0
0
0
0
0
0
0
0
0.075094
0.158061
949
22
74
43.136364
0.834793
0
0
0
0
0
0.008439
0
0
0
0
0
0.666667
1
0.055556
false
0
0.111111
0
0.222222
0
0
0
1
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
1
0
0
0
0
0
0
0
0
0
3
e135e35ee0e2e203f3336a20c24f021167acd266
123
py
Python
exercicio 25 aula 9.py
KazumaShachou/Programs-in-Python
307f59e2a53b3a07eaf2ddf199bbffa0cf8d394f
[ "MIT" ]
null
null
null
exercicio 25 aula 9.py
KazumaShachou/Programs-in-Python
307f59e2a53b3a07eaf2ddf199bbffa0cf8d394f
[ "MIT" ]
null
null
null
exercicio 25 aula 9.py
KazumaShachou/Programs-in-Python
307f59e2a53b3a07eaf2ddf199bbffa0cf8d394f
[ "MIT" ]
null
null
null
nome = str(input('Digite seu nome completo? ')).strip.upper.split print(' Seu nome tem Silva? {}'.format('SILVA' in nome))
41
65
0.691057
19
123
4.473684
0.736842
0.164706
0
0
0
0
0
0
0
0
0
0
0.121951
123
2
66
61.5
0.787037
0
0
0
0
0
0.439024
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
e13cf8087eee9262459dd4d4aedd8d6d9ae657c1
89
py
Python
Funktionsdefinition.py
ostseegloeckchen/basics
218b29c62f575d88c27104c05fee917b3466e8d0
[ "bzip2-1.0.6" ]
null
null
null
Funktionsdefinition.py
ostseegloeckchen/basics
218b29c62f575d88c27104c05fee917b3466e8d0
[ "bzip2-1.0.6" ]
null
null
null
Funktionsdefinition.py
ostseegloeckchen/basics
218b29c62f575d88c27104c05fee917b3466e8d0
[ "bzip2-1.0.6" ]
null
null
null
def f(): x=2 print("x:",x) #Hauptprogramm x=1 f() print("x:",x)
6.846154
18
0.404494
14
89
2.571429
0.5
0.333333
0.388889
0
0
0
0
0
0
0
0
0.035714
0.370787
89
12
19
7.416667
0.607143
0.146067
0
0.333333
0
0
0.066667
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.333333
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
e13dc250b51abbaa8a2edaa66c06d6daa782086c
1,766
py
Python
outlook_msg/property_tag.py
hiendang/outlook_msg
c151ada05a09cc45e5c6492432be851f935c52b2
[ "Apache-2.0" ]
17
2018-11-14T21:06:23.000Z
2021-12-10T13:01:53.000Z
outlook_msg/property_tag.py
hiendang/outlook_msg
c151ada05a09cc45e5c6492432be851f935c52b2
[ "Apache-2.0" ]
3
2019-06-26T13:32:10.000Z
2021-11-10T05:39:01.000Z
outlook_msg/property_tag.py
hiendang/outlook_msg
c151ada05a09cc45e5c6492432be851f935c52b2
[ "Apache-2.0" ]
6
2020-07-23T08:10:32.000Z
2021-12-10T12:20:52.000Z
import struct from outlook_msg import constants class PropertyTag: def __init__(self, prop_id: int, prop_type: int): self.prop_id: int = prop_id self.prop_type: int = prop_type def __eq__(self, o: object) -> bool: if not isinstance(o, PropertyTag): return False re...
31.535714
110
0.6359
266
1,766
3.981203
0.281955
0.128423
0.094429
0.036827
0.361662
0.27101
0.212465
0.194523
0.058546
0
0
0.019712
0.253114
1,766
56
111
31.535714
0.783169
0.151755
0
0.15
0
0
0.182976
0.128016
0
0
0
0
0
1
0.25
false
0
0.05
0.175
0.575
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
e13f3b3a30279def312756fd2763d24f9db1e807
314
py
Python
Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/handlers/watched/__init__.py
disrupted/Trakttv.bundle
24712216c71f3b22fd58cb5dd89dad5bb798ed60
[ "RSA-MD" ]
1,346
2015-01-01T14:52:24.000Z
2022-03-28T12:50:48.000Z
Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/handlers/watched/__init__.py
alcroito/Plex-Trakt-Scrobbler
4f83fb0860dcb91f860d7c11bc7df568913c82a6
[ "RSA-MD" ]
474
2015-01-01T10:27:46.000Z
2022-03-21T12:26:16.000Z
Trakttv.bundle/Contents/Libraries/Shared/plugin/sync/handlers/watched/__init__.py
alcroito/Plex-Trakt-Scrobbler
4f83fb0860dcb91f860d7c11bc7df568913c82a6
[ "RSA-MD" ]
191
2015-01-02T18:27:22.000Z
2022-03-29T10:49:48.000Z
from plugin.sync.core.enums import SyncData from plugin.sync.handlers.core.base.mode import ModeHandler from plugin.sync.handlers.watched.pull import Pull from plugin.sync.handlers.watched.push import Push class Watched(ModeHandler): data = SyncData.Watched children = [ Pull, Push ]
24.153846
59
0.738854
41
314
5.658537
0.414634
0.172414
0.241379
0.284483
0.25
0
0
0
0
0
0
0
0.181529
314
12
60
26.166667
0.902724
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.7
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e145e3ec8a39259196e66e57bc6b1c34e3d1f35a
141
py
Python
myapp/urls.py
thinkAmi-sandbox/Django_ListView_filter_sample
beb6ae8e2baa42529b1e5f6fa44a7efb918b05ee
[ "Unlicense" ]
null
null
null
myapp/urls.py
thinkAmi-sandbox/Django_ListView_filter_sample
beb6ae8e2baa42529b1e5f6fa44a7efb918b05ee
[ "Unlicense" ]
null
null
null
myapp/urls.py
thinkAmi-sandbox/Django_ListView_filter_sample
beb6ae8e2baa42529b1e5f6fa44a7efb918b05ee
[ "Unlicense" ]
1
2019-02-16T22:16:20.000Z
2019-02-16T22:16:20.000Z
from django.conf.urls import url from .views import FoodListView urlpatterns = [ url(r'^$', FoodListView.as_view(), name='list'), ]
23.5
53
0.680851
18
141
5.277778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.170213
141
6
54
23.5
0.811966
0
0
0
0
0
0.043796
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
e1671250deb15c1cfd86f7b32fee6dbf6a3eb63f
24
py
Python
obfsproxy/test/transports/wfpadtools/twisted/__init__.py
mjuarezm/wfpadtools
988e2ac7b4c9b0a26ca265928dfbf28f0899e27e
[ "BSD-3-Clause" ]
3
2018-08-20T17:44:34.000Z
2021-11-18T14:22:29.000Z
obfsproxy/test/transports/wfpadtools/twisted/__init__.py
notem/walkietalkie-proto
a4efc1933a997ad98fc4f1062f726bd4abd5420a
[ "BSD-3-Clause" ]
1
2016-01-27T11:25:53.000Z
2016-01-27T11:25:53.000Z
obfsproxy/test/transports/wfpadtools/twisted/__init__.py
notem/walkietalkie-proto
a4efc1933a997ad98fc4f1062f726bd4abd5420a
[ "BSD-3-Clause" ]
6
2016-01-27T00:42:48.000Z
2019-08-18T07:04:41.000Z
__author__ = 'mjuarezm'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
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
e177ce61d4083f2a567fb0448892784865e759e7
8,834
py
Python
LPES-video/04.01-operacje_na_plikach/04.01.01-grep.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
null
null
null
LPES-video/04.01-operacje_na_plikach/04.01.01-grep.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
null
null
null
LPES-video/04.01-operacje_na_plikach/04.01.01-grep.py
opcode-eu-org-website/LPES-wyklady-src
dd4d413f2bb5560790b6365fa7e68e8f1a8a65b0
[ "MIT" ]
1
2021-07-03T16:43:47.000Z
2021-07-03T16:43:47.000Z
# Copyright (c) 2020-2021 Matematyka dla Ciekawych Świata (http://ciekawi.icm.edu.pl/) # Copyright (c) 2020-2021 Robert Ryszard Paciorek <rrp@opcode.eu.org> # # MIT License # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Soft...
69.559055
230
0.721757
1,220
8,834
5.22623
0.432787
0.056462
0.058814
0.05458
0.125471
0.102729
0.067597
0.050345
0.030113
0.01788
0
0.005676
0.162327
8,834
126
231
70.111111
0.855946
0.134594
0
0.139535
0
0.360465
0.81427
0.0058
0
0
0
0
0
1
0
false
0.127907
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
e19194a37950415d130a2da85ef4198b1d7b67c1
644
py
Python
qcm/tests/test_choice.py
thenchoz/Django_ERA_Lessons_training
e02d775526f76c7ab43ef5e8b1029802e5fa58db
[ "MIT" ]
null
null
null
qcm/tests/test_choice.py
thenchoz/Django_ERA_Lessons_training
e02d775526f76c7ab43ef5e8b1029802e5fa58db
[ "MIT" ]
null
null
null
qcm/tests/test_choice.py
thenchoz/Django_ERA_Lessons_training
e02d775526f76c7ab43ef5e8b1029802e5fa58db
[ "MIT" ]
null
null
null
""" Django tests for choice in qcm app. Generated by 'manage.py startapp' using Django 3.2.7. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/testing/ """ from django.test import TestCase from ..models import Choice from .test_shortcuts import create_choice class ChoiceModelTes...
25.76
69
0.712733
88
644
5.113636
0.602273
0.08
0
0
0
0
0
0
0
0
0
0.009506
0.18323
644
24
70
26.833333
0.846008
0.369565
0
0
1
0
0.030928
0
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e1c13fd58ae9854554e10039799cb19e05c7838f
230
py
Python
any_code_is_here/moc_testing.py
borko81/SU_OOP_2021
8c38682bd4a2b032ca09f85b0a579be152223a59
[ "MIT" ]
null
null
null
any_code_is_here/moc_testing.py
borko81/SU_OOP_2021
8c38682bd4a2b032ca09f85b0a579be152223a59
[ "MIT" ]
null
null
null
any_code_is_here/moc_testing.py
borko81/SU_OOP_2021
8c38682bd4a2b032ca09f85b0a579be152223a59
[ "MIT" ]
null
null
null
from unittest.mock import Mock m = Mock() m.foo = 'bar' m.configure_mock(bar='baz') assert m.foo == 'bar' assert m.bar == 'baz' m.side_effect = ['foo', 'bar', 'baz'] assert m() == 'foo' assert m() == 'bar' assert m() == 'baz'
15.333333
37
0.591304
38
230
3.526316
0.315789
0.261194
0.104478
0.19403
0.238806
0
0
0
0
0
0
0
0.173913
230
14
38
16.428571
0.705263
0
0
0
0
0
0.130435
0
0
0
0
0
0.5
1
0
false
0
0.1
0
0.1
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
833b6c4823107ef5336848cee298770cfebeaa52
338
py
Python
fizzbuzz.py
giantas/bootcamp-8-ke
7acbe70558c0f310f4e783c4acfaab612debd1bc
[ "MIT" ]
null
null
null
fizzbuzz.py
giantas/bootcamp-8-ke
7acbe70558c0f310f4e783c4acfaab612debd1bc
[ "MIT" ]
null
null
null
fizzbuzz.py
giantas/bootcamp-8-ke
7acbe70558c0f310f4e783c4acfaab612debd1bc
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 #encoding: UTF-8 def fizz_buzz(n): """ return fizz when divisible by 3 return buzz when divisible by 5 return fizzbuz when divisible by both 3 and 5 """ if n % 3 == 0 and n % 5 == 0: return 'fizzbuzz' elif n % 3 == 0: return 'fizz' elif n % 5 == 0: ...
24.142857
49
0.559172
54
338
3.481481
0.444444
0.207447
0.239362
0.095745
0
0
0
0
0
0
0
0.061674
0.328402
338
14
50
24.142857
0.76652
0.431953
0
0
0
0
0.093023
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
833c47e36c7f1f4435b905ffe3488c23aef3d202
308
py
Python
src/ef/external_field.py
tnakaicode/ChargedPaticle-LowEnergy
47b751bcada2af7fc50cef587a48b1a3c12bcbba
[ "MIT" ]
6
2019-04-14T06:19:40.000Z
2021-09-14T13:46:26.000Z
src/ef/external_field.py
tnakaicode/ChargedPaticle-LowEnergy
47b751bcada2af7fc50cef587a48b1a3c12bcbba
[ "MIT" ]
31
2018-03-02T12:05:20.000Z
2019-02-20T09:29:08.000Z
src/ef/external_field.py
tnakaicode/ChargedPaticle-LowEnergy
47b751bcada2af7fc50cef587a48b1a3c12bcbba
[ "MIT" ]
10
2017-12-21T15:16:55.000Z
2020-10-31T23:59:50.000Z
from ef.util.serializable_h5 import SerializableH5 class ExternalField(SerializableH5): def __init__(self, name, electric_or_magnetic): self.name = name self.electric_or_magnetic = electric_or_magnetic def get_at_points(self, positions, time): raise NotImplementedError()
25.666667
56
0.743506
36
308
6
0.638889
0.138889
0.25
0
0
0
0
0
0
0
0
0.012
0.188312
308
11
57
28
0.852
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
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
1
0
0
0
0
1
0
0
3
834353869c0ff5a8b014b1d657eb2ebeda8355a1
1,622
py
Python
environment.py
jakobj/python-tdl
375e97c18daa7f12896dd3f6b9dccd179f22aa03
[ "MIT" ]
null
null
null
environment.py
jakobj/python-tdl
375e97c18daa7f12896dd3f6b9dccd179f22aa03
[ "MIT" ]
null
null
null
environment.py
jakobj/python-tdl
375e97c18daa7f12896dd3f6b9dccd179f22aa03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import itertools import numpy as np class GridWorld(object): """An n-dimensional discrete set of positions that can hold reward.""" def __init__(self, shape=None, world=None): if world is None: assert(world is None) self._world = np.zeros(self._shape) ...
31.192308
127
0.615906
221
1,622
4.380091
0.38914
0.11157
0.045455
0.030992
0.075413
0.051653
0
0
0
0
0
0.006574
0.249692
1,622
51
128
31.803922
0.788825
0.154131
0
0.0625
0
0
0.021466
0.017765
0
0
0
0
0.0625
1
0.3125
false
0
0.0625
0.125
0.59375
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
83546676c251eb4ea35a19a0da2f1ae8caebfbc5
1,166
py
Python
tools/lib.py
infant-cognition-tampere/saccade-prototypes
684a3eafcffdf0ee2aff9d283e9973de5e56d75d
[ "MIT" ]
null
null
null
tools/lib.py
infant-cognition-tampere/saccade-prototypes
684a3eafcffdf0ee2aff9d283e9973de5e56d75d
[ "MIT" ]
null
null
null
tools/lib.py
infant-cognition-tampere/saccade-prototypes
684a3eafcffdf0ee2aff9d283e9973de5e56d75d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ''' Helper functions ''' def get_value_or_none(value): value = float(value) if value == -1.0: return None return value def gazepoint_to_icl_pointlist_v1(gp): x = get_value_or_none(gp['comb_x']) y = get_value_or_none(gp['comb_y']) return [x, y] def gazepoint_to_...
29.15
74
0.669811
170
1,166
4.164706
0.241176
0.124294
0.155367
0.217514
0.648305
0.443503
0.347458
0.347458
0.124294
0.124294
0
0.010515
0.184391
1,166
39
75
29.897436
0.733964
0.033448
0
0.137931
0
0
0.184987
0
0
0
0
0
0
1
0.206897
false
0
0
0.137931
0.448276
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
8358f09d37081ecede5b59eefb77e2d02ec8b128
3,870
py
Python
fullapp_project/settings.py
mrivadeneira/fullapp_project
8d91793262b351d99fd8db2cb187650aa90dddb5
[ "Unlicense" ]
null
null
null
fullapp_project/settings.py
mrivadeneira/fullapp_project
8d91793262b351d99fd8db2cb187650aa90dddb5
[ "Unlicense" ]
null
null
null
fullapp_project/settings.py
mrivadeneira/fullapp_project
8d91793262b351d99fd8db2cb187650aa90dddb5
[ "Unlicense" ]
null
null
null
""" Django settings for fullapp_project project. Generated by 'django-admin startproject' using Django 3.1.7. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ impo...
26.326531
97
0.713178
437
3,870
6.199085
0.450801
0.076781
0.056848
0.064599
0.156146
0.156146
0.09856
0.09856
0.044297
0
0
0.01087
0.167959
3,870
147
98
26.326531
0.830435
0.314987
0
0
1
0
0.476372
0.405107
0
0
0
0
0
1
0.011628
false
0.139535
0.046512
0
0.069767
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
55c12261429ee6b29b608e207ddbd47bf950bc3d
305
py
Python
crosshair/examples/PEP316/bugs_detected/getattr_magic.py
orsinium-forks/CrossHair
241f1fd5de04ea77c92364518996ca0bf9d2891b
[ "MIT" ]
785
2019-09-28T14:47:48.000Z
2022-03-24T15:04:03.000Z
crosshair/examples/PEP316/bugs_detected/getattr_magic.py
orsinium-forks/CrossHair
241f1fd5de04ea77c92364518996ca0bf9d2891b
[ "MIT" ]
111
2019-10-19T14:43:03.000Z
2022-03-29T07:23:32.000Z
crosshair/examples/PEP316/bugs_detected/getattr_magic.py
nicpayne713/CrossHair
98bc53798467f03c71ad63f041c7177894c86aa8
[ "MIT" ]
36
2018-05-12T03:31:29.000Z
2022-03-02T14:07:16.000Z
class Farm: def visit_chickens(self) -> str: return "cluck" def visit_cows(self) -> str: return "moo" def visit_animals(animal: str) -> str: """ post: __return__ != "moo" """ try: return getattr(Farm(), "visit_" + animal)() except: return ""
17.941176
51
0.531148
33
305
4.666667
0.515152
0.155844
0.168831
0
0
0
0
0
0
0
0
0
0.318033
305
16
52
19.0625
0.740385
0.081967
0
0
0
0
0.05303
0
0
0
0
0
0
1
0.3
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
55d1182f31e45f8c7a7b8ef863699860b087ba1e
145
py
Python
allauth/socialaccount/context_processors.py
JoshLabs/django-allauth
d8befb8c97fdba4e1aad4b4d75945899d92effba
[ "MIT" ]
3
2015-02-13T15:06:40.000Z
2016-05-23T23:23:11.000Z
allauth/socialaccount/context_processors.py
JoshLabs/django-allauth
d8befb8c97fdba4e1aad4b4d75945899d92effba
[ "MIT" ]
9
2020-06-05T17:18:43.000Z
2022-03-11T23:15:04.000Z
allauth/socialaccount/context_processors.py
JoshLabs/django-allauth
d8befb8c97fdba4e1aad4b4d75945899d92effba
[ "MIT" ]
3
2018-10-28T13:45:24.000Z
2020-03-28T02:27:56.000Z
from . import providers def socialaccount(request): ctx = { 'providers': providers.registry.get_list() } return dict(socialaccount=ctx)
24.166667
56
0.724138
16
145
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.158621
145
5
57
29
0.852459
0
0
0
0
0
0.062069
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
36088aa307076b208f785f10500f2d5a92969191
4,595
py
Python
privex/helpers/__init__.py
bt-cryptomancer/python-helpers
8e04438714145732fa33ca2c85a29d45d569db2b
[ "X11" ]
null
null
null
privex/helpers/__init__.py
bt-cryptomancer/python-helpers
8e04438714145732fa33ca2c85a29d45d569db2b
[ "X11" ]
null
null
null
privex/helpers/__init__.py
bt-cryptomancer/python-helpers
8e04438714145732fa33ca2c85a29d45d569db2b
[ "X11" ]
null
null
null
""" Privex's Python Helpers - https://github.com/privex/python-helpers X11 / MIT License **Submodules**: * :py:mod:`.common` - Uncategorized functions and classes, including bool checks and data parsing * :py:mod:`.decorators` - Class / function decorators * :py:mod:`.django` - Django-specific functions/classe...
40.663717
115
0.646137
536
4,595
5.48694
0.395522
0.066304
0.052023
0.035702
0.193472
0.184291
0.184291
0.16457
0.16457
0.149269
0
0.004644
0.250272
4,595
112
116
41.026786
0.848766
0.657454
0
0.365854
0
0
0.268214
0
0
0
0
0
0
1
0.02439
false
0.170732
0.512195
0
0.609756
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
3616345b3b1f4e91639b00fa69fa23ccf9799a9a
1,767
py
Python
clr_loader/__init__.py
bneumann/clr-loader
509647159d22d689f967da78bff080ec75fb17f9
[ "MIT" ]
null
null
null
clr_loader/__init__.py
bneumann/clr-loader
509647159d22d689f967da78bff080ec75fb17f9
[ "MIT" ]
null
null
null
clr_loader/__init__.py
bneumann/clr-loader
509647159d22d689f967da78bff080ec75fb17f9
[ "MIT" ]
null
null
null
from os.path import basename from .ffi import ffi __all__ = ["get_mono", "get_netfx", "get_coreclr"] class ClrFunction: def __init__(self, runtime, assembly, typename, func_name): self._assembly = assembly self._class = typename self._name = func_name self._callable = runtime.ge...
24.541667
88
0.667799
230
1,767
4.786957
0.208696
0.049955
0.029973
0.032698
0.074478
0
0
0
0
0
0
0.000728
0.222411
1,767
71
89
24.887324
0.800582
0
0
0.111111
0
0
0.086022
0.029994
0
0
0
0
0
1
0.288889
false
0
0.111111
0.111111
0.688889
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
361e13f76c4ffc101a47192fca18b4623554bbf7
373
py
Python
krvjezivot/common/apps.py
jkvakaric/krv-je-zivot
a875dcde468e1e5508713e592f974cb147223b52
[ "MIT" ]
null
null
null
krvjezivot/common/apps.py
jkvakaric/krv-je-zivot
a875dcde468e1e5508713e592f974cb147223b52
[ "MIT" ]
null
null
null
krvjezivot/common/apps.py
jkvakaric/krv-je-zivot
a875dcde468e1e5508713e592f974cb147223b52
[ "MIT" ]
null
null
null
from django.apps import AppConfig class CommonConfig(AppConfig): name = 'krvjezivot.common' verbose_name = "Common" def ready(self): """Override this to put in: Common system checks Common signal registration """ try: import common.signals # no...
21.941176
46
0.581769
37
373
5.837838
0.810811
0
0
0
0
0
0
0
0
0
0
0.012397
0.351206
373
16
47
23.3125
0.880165
0.22252
0
0
0
0
0.091633
0
0
0
0
0
0
1
0.111111
false
0.111111
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
361e2813d0d4337cfd75717eb4437ac9dcbb0ccb
897
py
Python
examples/neural_net_model_2.foppl.py
Tobias-Kohn/PyFOPPL-2
88122db0e689725543512080aab8dff76a6f7e9c
[ "MIT" ]
4
2018-01-22T17:20:48.000Z
2021-11-06T17:27:46.000Z
examples/neural_net_model_2.foppl.py
Tobias-Kohn/PyFOPPL-2
88122db0e689725543512080aab8dff76a6f7e9c
[ "MIT" ]
8
2018-01-22T10:12:12.000Z
2018-01-30T15:47:37.000Z
examples/neural_net_model_2.foppl.py
Tobias-Kohn/PyFOPPL-2
88122db0e689725543512080aab8dff76a6f7e9c
[ "MIT" ]
4
2018-01-25T14:20:08.000Z
2021-11-06T17:28:03.000Z
from foppl import * latent_dim = 2 hidden_dim = 10 output_dim = 5 def gaussian(): return sample(normal(0.0, 1.0)) def make_latent_vector(): return [gaussian() for _ in range(latent_dim)] def make_hidden_vector(): return [gaussian() for _ in range(hidden_dim)] def make_output_vector(): return [gauss...
23
75
0.683389
152
897
3.835526
0.289474
0.072041
0.085763
0.118353
0.250429
0.154374
0
0
0
0
0
0.021248
0.160535
897
38
76
23.605263
0.752988
0
0
0
0
0
0
0
0
0
0
0
0
1
0.259259
false
0
0.037037
0.259259
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
363de9aee3885bc6b6cf526d00c10018b019f8eb
123
py
Python
welcome/enums.py
1illeke/myownrank-cogs
6c1f0f450a96f86b3140ca90f3ca18ad0040bed8
[ "MIT" ]
1
2021-01-21T08:29:50.000Z
2021-01-21T08:29:50.000Z
welcome/enums.py
1illeke/myownrank-cogs
6c1f0f450a96f86b3140ca90f3ca18ad0040bed8
[ "MIT" ]
null
null
null
welcome/enums.py
1illeke/myownrank-cogs
6c1f0f450a96f86b3140ca90f3ca18ad0040bed8
[ "MIT" ]
null
null
null
from enum import Enum class WhisperType(Enum): OFF = "off" ONLY = "only" BOTH = "both" FALLBACK = "fall"
13.666667
24
0.585366
15
123
4.8
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.292683
123
8
25
15.375
0.827586
0
0
0
0
0
0.121951
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3648e87b323c4a9cb716f4f43798d924e374d984
98
py
Python
config-files/AppData/Roaming/Notepad++/plugins/config/PythonScript/scripts/smart_copy.py
seyahdoo/windows-config
495f48856cf80b699b1404a2504f065ee5244fa8
[ "WTFPL" ]
null
null
null
config-files/AppData/Roaming/Notepad++/plugins/config/PythonScript/scripts/smart_copy.py
seyahdoo/windows-config
495f48856cf80b699b1404a2504f065ee5244fa8
[ "WTFPL" ]
null
null
null
config-files/AppData/Roaming/Notepad++/plugins/config/PythonScript/scripts/smart_copy.py
seyahdoo/windows-config
495f48856cf80b699b1404a2504f065ee5244fa8
[ "WTFPL" ]
null
null
null
if len(editor.getSelText()) > 0: editor.copy() else: editor.copyText(editor.getCurLine())
19.6
40
0.673469
12
98
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0.012048
0.153061
98
4
41
24.5
0.783133
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
365f60c075470937679c80b9a931ae24ff4d4ea9
2,107
py
Python
tests/functional/test_home.py
tomaszkyc/timely
3fc2953a4dc250b885683dea38892ade68a63cf2
[ "MIT" ]
null
null
null
tests/functional/test_home.py
tomaszkyc/timely
3fc2953a4dc250b885683dea38892ade68a63cf2
[ "MIT" ]
null
null
null
tests/functional/test_home.py
tomaszkyc/timely
3fc2953a4dc250b885683dea38892ade68a63cf2
[ "MIT" ]
null
null
null
from flask import Flask from flask.testing import FlaskClient from app.auth.views import current_user from app.models import User, db from tests.conftest import login, logout def test_home_page(test_client: FlaskClient): # given a flask app # when we access a main page response = test_client.get('/') ...
29.676056
82
0.695776
316
2,107
4.522152
0.246835
0.069979
0.058782
0.041987
0.755073
0.720784
0.635409
0.506648
0.446466
0.446466
0
0.00743
0.233507
2,107
70
83
30.1
0.877399
0.225439
0
0.361111
0
0
0.047678
0
0
0
0
0
0.416667
1
0.111111
false
0.055556
0.138889
0
0.25
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
3665b993c84ae8ad74bfcf80cf5886a8786577b1
1,385
py
Python
refelt/refelt/Server.py
adityadangeska/lmc-base-classes
a3dada19b27fcc889546d754ef94986c55da5acc
[ "BSD-3-Clause" ]
1
2019-05-31T09:47:31.000Z
2019-05-31T09:47:31.000Z
refelt/refelt/Server.py
adityadangeska/lmc-base-classes
a3dada19b27fcc889546d754ef94986c55da5acc
[ "BSD-3-Clause" ]
null
null
null
refelt/refelt/Server.py
adityadangeska/lmc-base-classes
a3dada19b27fcc889546d754ef94986c55da5acc
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # This file is part of the Server project # # # """ Server Ref (Reference Elt) Server device """ # PyTango imports import PyTango from PyTango import DebugIt from PyTango.server import run from PyTango.server import Device, DeviceMeta from PyTango.server import attribute, command from PyTan...
13.989899
52
0.560289
128
1,385
5.890625
0.4375
0.102122
0.090186
0.122016
0.148541
0
0
0
0
0
0
0.000954
0.243321
1,385
98
53
14.132653
0.718511
0.306137
0
0.111111
0
0
0.019715
0
0
0
0
0
0
1
0.185185
false
0.111111
0.333333
0.037037
0.62963
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
3676fffb5bf8916c38c1d146fe9211b834508a8e
405
py
Python
get-used-to-qml/dataFrameGenerator.py
Thorfinson/pyside6-qt-uis
f7582e9a3cc7411dc5a06dc1aad759b17af9f75d
[ "MIT" ]
1
2022-02-17T06:54:30.000Z
2022-02-17T06:54:30.000Z
get-used-to-qml/dataFrameGenerator.py
Thorfinson/pyside6-qt-uis
f7582e9a3cc7411dc5a06dc1aad759b17af9f75d
[ "MIT" ]
null
null
null
get-used-to-qml/dataFrameGenerator.py
Thorfinson/pyside6-qt-uis
f7582e9a3cc7411dc5a06dc1aad759b17af9f75d
[ "MIT" ]
1
2021-12-20T06:38:32.000Z
2021-12-20T06:38:32.000Z
import pandas as pd import numpy as np import random import string def generate_rows(size=100): # generate random numbers with pandas and np df = pd.DataFrame(np.random.randint(0, 1000, size=(size, 3)), columns=list('ABC')) # generate random strings with np, random and string df['D'] = [''.join((random...
36.818182
101
0.703704
66
405
4.287879
0.560606
0.09894
0.042403
0.077739
0
0
0
0
0
0
0
0.02994
0.175309
405
11
102
36.818182
0.817365
0.22963
0
0
1
0
0.012903
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
368d239e8b6bf8cc6ce6e37a13974f350973a06a
4,249
py
Python
TMCL/motor.py
NativeDesign/python-tmcl
7d79359274ef7e59ca561a1bf474e94bfdc5973c
[ "MIT" ]
13
2017-07-14T07:51:19.000Z
2021-06-14T10:18:17.000Z
TMCL/motor.py
NativeDesign/python-tmcl
7d79359274ef7e59ca561a1bf474e94bfdc5973c
[ "MIT" ]
16
2017-07-18T09:13:34.000Z
2022-01-15T07:39:56.000Z
TMCL/motor.py
NativeDesign/python-tmcl
7d79359274ef7e59ca561a1bf474e94bfdc5973c
[ "MIT" ]
10
2017-01-10T17:43:48.000Z
2022-03-30T11:44:56.000Z
from .commands import Command class Module(object): """ Represents a single TMCM module present on the bus. """ def __init__( self, bus, address=1 ): """ :param bus: A Bus instance that is connected to one or more physical TMCM modules via serial port :type bus: TMCL.Bus :param addres...
21.459596
73
0.703224
639
4,249
4.532081
0.183099
0.043508
0.058011
0.070442
0.381561
0.163674
0.080801
0.05663
0.05663
0
0
0.016469
0.185455
4,249
197
74
21.568528
0.820283
0.118145
0
0.206612
0
0
0
0
0
0
0
0
0
1
0.322314
false
0
0.008264
0.123967
0.586777
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
368e355ce7f258ba0961e20e520c128804529274
382
py
Python
src/mlspace/scripts/install_nvidia_docker.py
abhishekkrthakur/mlspace
eb32c6d144a258bc404a946e85de6b9904a26029
[ "Apache-2.0" ]
283
2021-11-04T07:36:13.000Z
2022-03-21T10:17:36.000Z
src/mlspace/scripts/install_nvidia_docker.py
adbmd/mlspace
eb32c6d144a258bc404a946e85de6b9904a26029
[ "Apache-2.0" ]
1
2021-11-13T06:27:59.000Z
2021-11-16T13:14:43.000Z
src/mlspace/scripts/install_nvidia_docker.py
adbmd/mlspace
eb32c6d144a258bc404a946e85de6b9904a26029
[ "Apache-2.0" ]
20
2021-11-07T15:33:55.000Z
2022-02-22T13:18:42.000Z
script = """ distribution=$(. /etc/os-release;echo $ID$VERSION_ID) \ && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | apt-key add - \ && curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | tee /etc/apt/sources.list.d/nvidia-docker.list sudo apt-get update sudo apt-ge...
38.2
137
0.71466
59
382
4.610169
0.542373
0.176471
0.044118
0.080882
0.272059
0.272059
0.272059
0.272059
0.272059
0
0
0.002967
0.117801
382
9
138
42.444444
0.804154
0
0
0
0
0.25
0.958115
0.109948
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
36968f4c937ef6e22580584b2b3a3f303eee4a40
93
py
Python
dice/cli.py
nucosen/dice
4e2638382f763a940dcf2824d30db48d326a88a0
[ "MIT" ]
null
null
null
dice/cli.py
nucosen/dice
4e2638382f763a940dcf2824d30db48d326a88a0
[ "MIT" ]
2
2021-10-17T07:46:44.000Z
2021-10-19T00:59:33.000Z
dice/cli.py
nucosen/dice
4e2638382f763a940dcf2824d30db48d326a88a0
[ "MIT" ]
null
null
null
from dice import dice def execute(): dice.run() if __name__ == "__main__": execute()
15.5
26
0.645161
12
93
4.333333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.215054
93
6
27
15.5
0.712329
0
0
0
0
0
0.085106
0
0
0
0
0
0
1
0.2
true
0
0.2
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
1
0
0
0
0
0
0
3
36a8347fbb109f0347ec4ff4e8f7eb6a04cc0894
2,103
py
Python
p2/s3/errors.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
p2/s3/errors.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
p2/s3/errors.py
BeryJu/p2
80b5c6a821f90cef73d6e8cd3c6cdb05ffa86b27
[ "MIT" ]
null
null
null
"""AWS API Errors""" class AWSError(Exception): """Base-class for all AWS Errors""" code = 'InvalidRequest' status = 400 class AWSSignatureMismatch(AWSError): """Error codes from https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html""" code = 'SignatureDoesNotMatch' status = 4...
24.741176
94
0.709463
236
2,103
6.322034
0.211864
0.095845
0.132708
0.162198
0.644772
0.604558
0.604558
0.604558
0.604558
0.604558
0
0.028153
0.155492
2,103
84
95
25.035714
0.811937
0.465525
0
0.305556
0
0
0.167297
0.043478
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
36a85a5b261b161e11029027cfdf68857912cee5
582
py
Python
user_class.py
lorcap/upy-peterhinch-msgpack
740f4b8fcfb12e32a9f90db30fa578e1843ff572
[ "MIT" ]
7
2021-07-26T19:20:29.000Z
2021-12-28T16:08:14.000Z
user_class.py
lorcap/upy-peterhinch-msgpack
740f4b8fcfb12e32a9f90db30fa578e1843ff572
[ "MIT" ]
3
2021-10-31T06:12:52.000Z
2022-01-26T10:27:52.000Z
user_class.py
lorcap/upy-peterhinch-msgpack
740f4b8fcfb12e32a9f90db30fa578e1843ff572
[ "MIT" ]
2
2021-08-01T10:27:14.000Z
2021-10-31T05:45:36.000Z
# user_class.py Instances of Point3d may be serialised with umsgpack as if # they were natively supported. # Copyright (c) 2021 Peter Hinch Released under the MIT License see LICENSE. import umsgpack import struct @umsgpack.ext_serializable(0x10) class Point3d: def __init__(self, x, y, z): self.v = (floa...
25.304348
76
0.661512
80
582
4.6875
0.6375
0.04
0
0
0
0
0
0
0
0
0
0.023913
0.209622
582
22
77
26.454545
0.791304
0.304124
0
0
0
0
0.062344
0
0
0
0.009975
0
0
1
0.307692
false
0
0.153846
0.230769
0.769231
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
36b2c3f23a4c412a6e574f1b1a11ab9e5e356060
1,471
py
Python
tests/AVL_tree_test.py
HerrHruby/PyDSL
c8feeb5adcbb0eff8cad53c30bf861a4aadafbf5
[ "MIT" ]
1
2021-01-21T04:32:03.000Z
2021-01-21T04:32:03.000Z
tests/AVL_tree_test.py
HerrHruby/PyDSALib
c8feeb5adcbb0eff8cad53c30bf861a4aadafbf5
[ "MIT" ]
null
null
null
tests/AVL_tree_test.py
HerrHruby/PyDSALib
c8feeb5adcbb0eff8cad53c30bf861a4aadafbf5
[ "MIT" ]
null
null
null
import unittest from PyDSALib.AVL_tree import AVLTree class MyTestCase(unittest.TestCase): @staticmethod def setup(): tree = AVLTree() key_list = [1, 7, 22, 15] val_list = ['Penguin', 'Ant', 'Bear', 'Shark'] for i, j in zip(key_list, val_list): tree[i] = j ...
32.688889
59
0.631543
188
1,471
4.643617
0.244681
0.214204
0.19244
0.297824
0.538373
0.538373
0.428408
0.428408
0.428408
0.378007
0
0.014324
0.240653
1,471
44
60
33.431818
0.767234
0
0
0.324324
0
0
0.040109
0
0
0
0
0
0.324324
1
0.081081
false
0
0.054054
0
0.189189
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
36d7153731673b099ecd4c5a1be359a6a5af5c30
366
py
Python
goodname/load_mesh.py
PietroMsn/Functional-skeleton-rtansfer
9b577bb18a24ac0f913c0856e6ba7ae822ad9266
[ "CNRI-Python" ]
6
2021-09-01T02:53:14.000Z
2022-02-09T13:59:13.000Z
goodname/load_mesh.py
PietroMsn/Functional-skeleton-rtansfer
9b577bb18a24ac0f913c0856e6ba7ae822ad9266
[ "CNRI-Python" ]
1
2021-11-18T02:26:28.000Z
2021-11-18T08:55:59.000Z
goodname/load_mesh.py
PietroMsn/Functional-skeleton-transfer
9b577bb18a24ac0f913c0856e6ba7ae822ad9266
[ "CNRI-Python" ]
null
null
null
def read_off(file): f=file.readline().strip() n_verts, n_faces, n_dontknow = tuple([int(s) for s in file.readline().strip().split(' ')]) verts = [[float(s) for s in file.readline().strip().split(' ')] for i_vert in range(n_verts)] faces = [[int(s) for s in file.readline().strip().split(' ')][1:] for i_f...
61
99
0.636612
62
366
3.629032
0.387097
0.213333
0.302222
0.093333
0.413333
0.413333
0.413333
0.413333
0.284444
0
0
0.003257
0.161202
366
6
100
61
0.729642
0
0
0
0
0
0.008174
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
0
null
1
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
36e1fa79d38af4880fb13d8f523c6cf28a34f158
522
py
Python
Rock Paper Scissors/Spiller.py
joulebit/Projects-for-learning
f0aecf9d4f446d09adae46bdd3bef39397569770
[ "MIT" ]
null
null
null
Rock Paper Scissors/Spiller.py
joulebit/Projects-for-learning
f0aecf9d4f446d09adae46bdd3bef39397569770
[ "MIT" ]
null
null
null
Rock Paper Scissors/Spiller.py
joulebit/Projects-for-learning
f0aecf9d4f446d09adae46bdd3bef39397569770
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Aug 22 13:20:37 2019 @author: Joule """ class Spiller: """Spiller er en superclass for de senere spillertypene""" def __init__(self, name): self.name = name def velg_aksjon(self): """metode for å velge aksjon""" pass ...
21.75
63
0.56705
67
522
4.313433
0.746269
0.083045
0
0
0
0
0
0
0
0
0
0.036415
0.316092
522
23
64
22.695652
0.773109
0.423372
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.444444
false
0.222222
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
36e59950459a2959d094025e5afde1086e8b81ec
2,870
py
Python
Statistics/Statistics.py
jasmansingh84/PyStatisticalcalci
cc310f53472cb0a314849379c3c472ebd709c4b7
[ "MIT" ]
null
null
null
Statistics/Statistics.py
jasmansingh84/PyStatisticalcalci
cc310f53472cb0a314849379c3c472ebd709c4b7
[ "MIT" ]
null
null
null
Statistics/Statistics.py
jasmansingh84/PyStatisticalcalci
cc310f53472cb0a314849379c3c472ebd709c4b7
[ "MIT" ]
null
null
null
from Statistics.Stats.mean import mean from Statistics.Stats.median import median from Statistics.Stats.mode import mode from Statistics.Stats.standard_deviation import standard_deviation from Statistics.Stats.variance import variance from Statistics.Stats.sample_mean import sample_mean from Statistics.Stats.standardiz...
35
87
0.752613
348
2,870
5.954023
0.112069
0.222973
0.130309
0.150579
0.586873
0.429537
0.313224
0.159749
0.111486
0.111486
0
0.00257
0.186411
2,870
82
88
35
0.884797
0
0
0.28125
0
0
0
0
0
0
0
0
0
1
0.25
false
0.015625
0.21875
0
0.734375
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
7fd2ee89e26a7a6c678e8ceabab6ec1b499e3f22
159
py
Python
easyapi.py
mathstar13/easyAPI
8247f2fb0a159174cad92b7a8fb0ea0cd0ebf6d1
[ "MIT" ]
null
null
null
easyapi.py
mathstar13/easyAPI
8247f2fb0a159174cad92b7a8fb0ea0cd0ebf6d1
[ "MIT" ]
null
null
null
easyapi.py
mathstar13/easyAPI
8247f2fb0a159174cad92b7a8fb0ea0cd0ebf6d1
[ "MIT" ]
null
null
null
import urllib.request import json def api(url): response = urllib.request.urlopen(url) result = json.loads(response.read()) end = result return end
19.875
40
0.716981
22
159
5.181818
0.636364
0.22807
0
0
0
0
0
0
0
0
0
0
0.176101
159
7
41
22.714286
0.870229
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
7fd84a525c77398e0ed8b099548360afd40bc35a
295
py
Python
Nova pasta/exerc20.py
PedroHenriquedeFaria/exerciciosDePython
8af4faf779007f8c33b15c36aa3669d92b2ce5ec
[ "MIT" ]
null
null
null
Nova pasta/exerc20.py
PedroHenriquedeFaria/exerciciosDePython
8af4faf779007f8c33b15c36aa3669d92b2ce5ec
[ "MIT" ]
null
null
null
Nova pasta/exerc20.py
PedroHenriquedeFaria/exerciciosDePython
8af4faf779007f8c33b15c36aa3669d92b2ce5ec
[ "MIT" ]
null
null
null
import random n1 = str(input('Qual o nome do 1° aluno?')) n2 = str(input('Qual o nome do 2° aluno? ')) n3 = str(input('Qual o nome do 3° aluno? ')) n4 = str(input('Qual o nome do 4° aluno? ')) lista = [n1,n2,n3,n4] escolha = random.shuffle(lista) print('A ordem escolhida foi: {}'.format(lista))
36.875
48
0.650847
58
295
3.37931
0.465517
0.163265
0.244898
0.265306
0.387755
0.387755
0
0
0
0
0
0.048387
0.159322
295
8
48
36.875
0.725806
0
0
0
0
0
0.418919
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7fdb59d5632cce1696a597069339090aa0a8b307
411
py
Python
tests/dictish/dictish_call_test.py
DevL/dictish
ac29ee63c0eceae42099aa08af5dd3f921d276df
[ "MIT" ]
null
null
null
tests/dictish/dictish_call_test.py
DevL/dictish
ac29ee63c0eceae42099aa08af5dd3f921d276df
[ "MIT" ]
null
null
null
tests/dictish/dictish_call_test.py
DevL/dictish
ac29ee63c0eceae42099aa08af5dd3f921d276df
[ "MIT" ]
null
null
null
from dictish import Dictish LETTER_TO_NUMBER = Dictish([("a", 1), ("b", 2), ("c", 3)]) def test_a_dictish_called_with_a_missing_key_returns_None(): assert LETTER_TO_NUMBER("d") is None def test_a_dictish_called_with_a_missing_key_returns_the_default(): assert LETTER_TO_NUMBER("d", 4) == 4 def test_a_dict...
25.6875
67
0.761557
69
411
4
0.434783
0.115942
0.202899
0.163043
0.554348
0.402174
0.311594
0.311594
0.311594
0.311594
0
0.016621
0.121655
411
15
68
27.4
0.747922
0
0
0
0
0
0.014599
0
0
0
0
0
0.375
1
0.375
false
0
0.125
0
0.5
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
7ff560a5a0298639fc319baf402f2cc152010789
176
py
Python
venv/Lib/site-packages/mpl_toolkits/axes_grid/colorbar.py
AdarshSai/Final_project
f966834ca72dd232102ed500ef47ef2b3bdbed5b
[ "MIT" ]
353
2020-12-10T10:47:17.000Z
2022-03-31T23:08:29.000Z
venv/Lib/site-packages/mpl_toolkits/axes_grid/colorbar.py
AdarshSai/Final_project
f966834ca72dd232102ed500ef47ef2b3bdbed5b
[ "MIT" ]
80
2020-12-10T09:54:22.000Z
2022-03-30T22:08:45.000Z
venv/Lib/site-packages/mpl_toolkits/axes_grid/colorbar.py
AdarshSai/Final_project
f966834ca72dd232102ed500ef47ef2b3bdbed5b
[ "MIT" ]
63
2020-12-10T17:10:34.000Z
2022-03-28T16:27:07.000Z
from mpl_toolkits.axes_grid1.colorbar import ( make_axes_kw_doc, colormap_kw_doc, colorbar_doc, CbarAxesLocator, ColorbarBase, Colorbar, make_axes, colorbar )
29.333333
53
0.767045
22
176
5.727273
0.590909
0.126984
0
0
0
0
0
0
0
0
0
0.006849
0.170455
176
5
54
35.2
0.856164
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7ffabd9a35bfce65685d567033fbdcc854c747bd
262
py
Python
Kivy/Kivy/Bk_Interractive/sample/Chapter_06_code/05 - Slider - including a progression bar/videocontroller.py
pimier15/PyGUI
3c650bcf58b0e45a47d5d9fbad4518bcd6bbfac0
[ "MIT" ]
null
null
null
Kivy/Kivy/Bk_Interractive/sample/Chapter_06_code/05 - Slider - including a progression bar/videocontroller.py
pimier15/PyGUI
3c650bcf58b0e45a47d5d9fbad4518bcd6bbfac0
[ "MIT" ]
null
null
null
Kivy/Kivy/Bk_Interractive/sample/Chapter_06_code/05 - Slider - including a progression bar/videocontroller.py
pimier15/PyGUI
3c650bcf58b0e45a47d5d9fbad4518bcd6bbfac0
[ "MIT" ]
null
null
null
# File name: videocontroller.py import kivy kivy.require('1.9.0') from kivy.uix.floatlayout import FloatLayout from kivy.lang import Builder import video import controlbar Builder.load_file('videocontroller.kv') class VideoController(FloatLayout): pass
16.375
44
0.793893
35
262
5.914286
0.6
0.077295
0
0
0
0
0
0
0
0
0
0.013043
0.122137
262
15
45
17.466667
0.886957
0.110687
0
0
0
0
0.099567
0
0
0
0
0
0
1
0
true
0.111111
0.555556
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
3d0b361d067930aac4eb5ac3d83b9e9034dfc37c
104
py
Python
server/parallelprocessingservice/src/main/resources/scripts/hello2.py
victormanoliu97/Smarthomes-internship
935ca6de75bc72ffb734392bfed0f292100e2760
[ "MIT" ]
null
null
null
server/parallelprocessingservice/src/main/resources/scripts/hello2.py
victormanoliu97/Smarthomes-internship
935ca6de75bc72ffb734392bfed0f292100e2760
[ "MIT" ]
null
null
null
server/parallelprocessingservice/src/main/resources/scripts/hello2.py
victormanoliu97/Smarthomes-internship
935ca6de75bc72ffb734392bfed0f292100e2760
[ "MIT" ]
null
null
null
import os from stat import * for x in range(1,500): print ("Hello 2 we are on step %d" % (x) + ' ')
20.8
51
0.586538
20
104
3.05
0.9
0
0
0
0
0
0
0
0
0
0
0.064935
0.259615
104
5
51
20.8
0.727273
0
0
0
0
0
0.247619
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3d1669c5a4d46b1039a8a512aeeefe114a0ddcc6
235
py
Python
06-Large-Flask-apps/01-Using-blueprints/app.py
alehpineda/flask_bootcamp
7310bf093be61f33567c6d8ffd710a29e35004cd
[ "MIT" ]
null
null
null
06-Large-Flask-apps/01-Using-blueprints/app.py
alehpineda/flask_bootcamp
7310bf093be61f33567c6d8ffd710a29e35004cd
[ "MIT" ]
3
2021-02-08T20:38:44.000Z
2021-06-02T00:46:15.000Z
06-Large-Flask-apps/01-Using-blueprints/app.py
alehpineda/flask_bootcamp
7310bf093be61f33567c6d8ffd710a29e35004cd
[ "MIT" ]
null
null
null
# app.py at level project from flask import render_template from myproject import app @app.route('/') def index(): return render_template('home.html') if __name__ == "__main__": app.run(debug=True, host='0.0.0.0', port=80)
18.076923
48
0.693617
37
235
4.135135
0.72973
0.039216
0.039216
0
0
0
0
0
0
0
0
0.030303
0.157447
235
12
49
19.583333
0.742424
0.097872
0
0
0
0
0.119048
0
0
0
0
0
0
1
0.142857
true
0
0.285714
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
1
1
0
0
3
3d248e1666f6a67156b133d6f3d31e1af48b31de
21
py
Python
haedrian/google/__init__.py
Audakel/Haedrian_Website
12c84fb7006235de0ed0fdb42db1f1ab3d5d6e1f
[ "CC-BY-3.0", "Unlicense" ]
null
null
null
haedrian/google/__init__.py
Audakel/Haedrian_Website
12c84fb7006235de0ed0fdb42db1f1ab3d5d6e1f
[ "CC-BY-3.0", "Unlicense" ]
null
null
null
haedrian/google/__init__.py
Audakel/Haedrian_Website
12c84fb7006235de0ed0fdb42db1f1ab3d5d6e1f
[ "CC-BY-3.0", "Unlicense" ]
null
null
null
__author__ = 'Logan'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
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
3d46a82c30a7358d020ef310db838cca02f315e8
1,392
py
Python
tests.py
dotoscat/pyfunstream
1cf950c38cb7c5222713a4c2746637510ebafeda
[ "MIT" ]
null
null
null
tests.py
dotoscat/pyfunstream
1cf950c38cb7c5222713a4c2746637510ebafeda
[ "MIT" ]
null
null
null
tests.py
dotoscat/pyfunstream
1cf950c38cb7c5222713a4c2746637510ebafeda
[ "MIT" ]
null
null
null
import unittest from functools import partial from operator import add import funstream def sum2(a): return a + 2 def mul3(a): return a*3 class Test(unittest.TestCase): def test1_sum2(self): s = funstream.Stream() value = 2 | s[sum2] | s[mul3] self.assertEqual(value, 12, "Not equa...
27.84
87
0.563218
202
1,392
3.836634
0.272277
0.018065
0.103226
0.103226
0.203871
0.167742
0.104516
0
0
0
0
0.042094
0.300287
1,392
49
88
28.408163
0.753593
0
0
0.131579
0
0
0.109914
0
0
0
0
0
0.157895
1
0.263158
false
0
0.105263
0.131579
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3d490cabcb5b095001b360922ce9ff70a2c0cd6f
281
py
Python
15_python_qa_allure-master/tests/test_in_folder_one.py
turovod/Otus
57433c6944bca155177b07ff361139ff30f7f692
[ "MIT" ]
null
null
null
15_python_qa_allure-master/tests/test_in_folder_one.py
turovod/Otus
57433c6944bca155177b07ff361139ff30f7f692
[ "MIT" ]
null
null
null
15_python_qa_allure-master/tests/test_in_folder_one.py
turovod/Otus
57433c6944bca155177b07ff361139ff30f7f692
[ "MIT" ]
null
null
null
import pytest def test_success_(): """this test succeeds""" assert True def test_failure_(): """this test fails""" assert False def test_skip_(): """this test is skipped""" pytest.skip('for a reason!') def test_broken_(): raise Exception('oops')
14.05
32
0.629893
36
281
4.694444
0.611111
0.16568
0
0
0
0
0
0
0
0
0
0
0.227758
281
19
33
14.789474
0.778802
0.19573
0
0
0
0
0.080952
0
0
0
0
0
0.222222
1
0.444444
true
0
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
3d557eefb6b52b502062274071a00e5b1d4db07c
528
py
Python
vk/types/additional/__init__.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
24
2019-09-13T15:30:09.000Z
2022-03-09T06:35:59.000Z
vk/types/additional/__init__.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
null
null
null
vk/types/additional/__init__.py
Inzilkin/vk.py
969f01e666c877c1761c3629a100768f93de27eb
[ "MIT" ]
12
2019-09-13T15:30:31.000Z
2022-03-01T10:13:32.000Z
from .photo_sizes import PhotoSizes from .post_source import PostSource from .audio_genres import AudioGenres from .city import City from .country import Country from .place import Place, GeoPlace from .join_type import JoinType from .block_reason import BlockReason from .admin_level import AdminLevel from .active_offe...
31.058824
39
0.844697
74
528
5.905405
0.5
0.050343
0.077803
0.10984
0.128146
0
0
0
0
0
0
0
0.123106
528
16
40
33
0.943844
0
0
0.125
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
3d5914a4ff1f5dd80bba116fbd338d2c205bc1ca
498
py
Python
tests/test_helpers.py
amirothman/deck-of-cards-as-a-service
0361b1e8ebc471ea137255c3a48bc19080cec125
[ "MIT" ]
1
2020-03-30T20:49:52.000Z
2020-03-30T20:49:52.000Z
tests/test_helpers.py
amirothman/deck-of-cards-as-a-service
0361b1e8ebc471ea137255c3a48bc19080cec125
[ "MIT" ]
null
null
null
tests/test_helpers.py
amirothman/deck-of-cards-as-a-service
0361b1e8ebc471ea137255c3a48bc19080cec125
[ "MIT" ]
null
null
null
from models.card import get_deck_of_cards def test_deck_of_cards_default(): cards = get_deck_of_cards() assert cards assert len(cards) == 4 * 13 def test_deck_of_cards_to_player(): cards = get_deck_of_cards(owner="amir") for card in cards: assert card.owner == "amir" def test_deck_of_c...
23.714286
58
0.698795
77
498
4.168831
0.324675
0.130841
0.239875
0.174455
0.657321
0.542056
0.542056
0.205607
0
0
0
0.007634
0.210843
498
20
59
24.9
0.80916
0
0
0.285714
0
0
0.032129
0
0
0
0
0
0.357143
1
0.214286
false
0
0.071429
0
0.285714
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
3d5d0b1fc10f1a35fa5959557b25e85f059b4578
4,035
py
Python
qiskit_metal/qlibrary/__init__.py
warrench/qiskit-metal
2a918a84f1969ecc75e86598f601ad41013fe409
[ "Apache-2.0" ]
1
2022-01-27T07:11:49.000Z
2022-01-27T07:11:49.000Z
qiskit_metal/qlibrary/__init__.py
warrench/qiskit-metal
2a918a84f1969ecc75e86598f601ad41013fe409
[ "Apache-2.0" ]
null
null
null
qiskit_metal/qlibrary/__init__.py
warrench/qiskit-metal
2a918a84f1969ecc75e86598f601ad41013fe409
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2017, 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any...
23.87574
77
0.726642
408
4,035
7.041667
0.411765
0.050122
0.043857
0.025061
0
0
0
0
0
0
0
0.008094
0.173234
4,035
168
78
24.017857
0.853118
0.486245
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.974359
0
0.974359
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
e9f2cd3fa619929614aaab845b5e9aadd006ae42
11,559
py
Python
files/tests/managers/test_upload_module.py
springborland/bk-sops
a9057672c10efb5f2414a805a30ead4092429c76
[ "Apache-2.0" ]
1
2021-05-19T04:31:34.000Z
2021-05-19T04:31:34.000Z
files/tests/managers/test_upload_module.py
sighttviewliu/bk-sops
6bf2f38bd93990f20f7c3a4decafc310e09e679c
[ "Apache-2.0" ]
null
null
null
files/tests/managers/test_upload_module.py
sighttviewliu/bk-sops
6bf2f38bd93990f20f7c3a4decafc310e09e679c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2020 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
38.53
118
0.520287
1,241
11,559
4.45689
0.144239
0.070873
0.027843
0.017899
0.734587
0.706744
0.702947
0.696619
0.685048
0.685048
0
0.020942
0.367938
11,559
299
119
38.658863
0.736107
0.062462
0
0.682927
0
0
0.170376
0.00434
0
0
0
0
0.065041
1
0.02439
false
0
0.020325
0
0.04878
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
e9faf3f0bcacdc341c1d71b9c796e75d671eb77c
148
py
Python
day6/__main__.py
adampirani/advent-of-code-2020-python
8e2bfaef83ff509b6198af43787435dc41bc4b60
[ "Unlicense" ]
null
null
null
day6/__main__.py
adampirani/advent-of-code-2020-python
8e2bfaef83ff509b6198af43787435dc41bc4b60
[ "Unlicense" ]
null
null
null
day6/__main__.py
adampirani/advent-of-code-2020-python
8e2bfaef83ff509b6198af43787435dc41bc4b60
[ "Unlicense" ]
null
null
null
from day6 import customs CUSTOMS = open('day6/input.txt', 'r') customs_array = CUSTOMS.read().splitlines() print(customs.num_yes(customs_array))
18.5
43
0.75
21
148
5.142857
0.666667
0.222222
0
0
0
0
0
0
0
0
0
0.015038
0.101351
148
7
44
21.142857
0.796992
0
0
0
0
0
0.102041
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1800d3f8665cec83f413da979a07f87932311341
246
py
Python
plenario/models/__init__.py
vforgione/plenario
aabd5bbaea9166231b38c350a1b9d081976a968d
[ "MIT" ]
109
2015-01-14T01:08:40.000Z
2021-05-06T13:40:08.000Z
plenario/models/__init__.py
vforgione/plenario
aabd5bbaea9166231b38c350a1b9d081976a968d
[ "MIT" ]
129
2015-01-09T22:31:45.000Z
2021-12-13T19:46:13.000Z
plenario/models/__init__.py
vforgione/plenario
aabd5bbaea9166231b38c350a1b9d081976a968d
[ "MIT" ]
36
2015-01-28T05:38:59.000Z
2021-10-01T07:05:39.000Z
from flask_bcrypt import Bcrypt # this needs to be initialized before importing the User model. it's used there and in server.py bcrypt = Bcrypt() from .MetaTable import MetaTable from .ShapeMetadata import ShapeMetadata from .User import User
27.333333
96
0.804878
37
246
5.324324
0.648649
0
0
0
0
0
0
0
0
0
0
0
0.154472
246
8
97
30.75
0.947115
0.382114
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
180e30ada6d4716fb9de58d05e78b2649a66a68e
1,894
py
Python
mrbaviirc/template/lib/xml.py
brianvanderburg2/python-mrbaviirc-template
6da213b30580d66fe7231c40bb7bbebb026a0789
[ "Apache-2.0" ]
null
null
null
mrbaviirc/template/lib/xml.py
brianvanderburg2/python-mrbaviirc-template
6da213b30580d66fe7231c40bb7bbebb026a0789
[ "Apache-2.0" ]
null
null
null
mrbaviirc/template/lib/xml.py
brianvanderburg2/python-mrbaviirc-template
6da213b30580d66fe7231c40bb7bbebb026a0789
[ "Apache-2.0" ]
null
null
null
""" XML related template library. """ from __future__ import absolute_import __author__ = "Brian Allen Vanderburg II" __copyright__ = "Copyright 2016" __license__ = "Apache License 2.0" __all__ = [] try: import xml.etree.cElementTree as ET except ImportError: import xml.etree.ElementTree as ET ...
21.280899
62
0.582365
224
1,894
4.6875
0.361607
0.099048
0.066667
0.051429
0.034286
0
0
0
0
0
0
0.007686
0.313094
1,894
88
63
21.522727
0.799385
0.06019
0
0.135593
0
0
0.047754
0
0
0
0
0.011364
0
1
0.220339
false
0.016949
0.067797
0.152542
0.474576
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
1813aaec9455d052c0f008d7b8e3ce81c5a89fd0
392
py
Python
ethjsonrpc/__init__.py
MitrichDot/ethjsonrpc
fe525bdcd889924687ba1646fc46cef329410e22
[ "Unlicense" ]
166
2015-09-14T16:57:01.000Z
2022-01-23T04:30:48.000Z
ethjsonrpc/__init__.py
MitrichDot/ethjsonrpc
fe525bdcd889924687ba1646fc46cef329410e22
[ "Unlicense" ]
37
2015-09-07T04:48:27.000Z
2020-08-18T14:11:49.000Z
ethjsonrpc/__init__.py
MitrichDot/ethjsonrpc
fe525bdcd889924687ba1646fc46cef329410e22
[ "Unlicense" ]
117
2015-09-15T14:59:49.000Z
2022-03-31T00:54:05.000Z
from ethjsonrpc.client import (EthJsonRpc, ParityEthJsonRpc, ETH_DEFAULT_RPC_PORT, GETH_DEFAULT_RPC_PORT, PYETHAPP_DEFAULT_RPC_PORT) from ethjsonrpc.exceptions import (ConnectionError, BadStatusCodeError, BadJsonError, Bad...
43.555556
75
0.658163
36
392
6.805556
0.555556
0.171429
0.171429
0
0
0
0
0
0
0
0
0
0.303571
392
8
76
49
0.897436
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3