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
7ce9951a9a5130181092ed5c3eb856b7f882d013
262
py
Python
pycommon/util.py
dgrant/pycommon
2efe2159806b44beac3e0814b5f44721b73fd1e3
[ "MIT" ]
3
2016-02-24T15:29:14.000Z
2021-05-17T08:14:25.000Z
pycommon/util.py
dgrant/pycommon
2efe2159806b44beac3e0814b5f44721b73fd1e3
[ "MIT" ]
null
null
null
pycommon/util.py
dgrant/pycommon
2efe2159806b44beac3e0814b5f44721b73fd1e3
[ "MIT" ]
1
2020-06-12T06:51:16.000Z
2020-06-12T06:51:16.000Z
def str_or_list_to_list(path_or_paths): if isinstance(path_or_paths, str): # parameter is a string, turn it into a list of strings paths = [path_or_paths] else: # parameter is a list paths = path_or_paths return paths
29.111111
63
0.656489
41
262
3.902439
0.487805
0.15
0.275
0.2
0
0
0
0
0
0
0
0
0.28626
262
8
64
32.75
0.855615
0.278626
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
7cf6b0e0f888f0e3a3c05154332805299c9e7a93
139
py
Python
pypy/tool/jitlogparser/test/x.py
kantai/passe-pypy-taint-tracking
b60a3663f8fe89892dc182c8497aab97e2e75d69
[ "MIT" ]
2
2016-07-06T23:30:20.000Z
2017-05-30T15:59:31.000Z
pypy/tool/jitlogparser/test/x.py
benoitc/pypy
a3e1b12d1d01dc29056b7badc051ffc034297658
[ "MIT" ]
null
null
null
pypy/tool/jitlogparser/test/x.py
benoitc/pypy
a3e1b12d1d01dc29056b7badc051ffc034297658
[ "MIT" ]
2
2020-07-09T08:14:22.000Z
2021-01-15T18:01:25.000Z
def f(a, b): return a + b def g(): i = 0 while i < 10: a = 'foo' i += 1 def h(): [x for x in range(10)]
10.692308
26
0.374101
26
139
2
0.653846
0.076923
0
0
0
0
0
0
0
0
0
0.08
0.460432
139
12
27
11.583333
0.613333
0
0
0
0
0
0.021739
0
0
0
0
0
0
1
0.333333
false
0
0
0.111111
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
6b0615b19f04b2364659c6daaeace824abc08a25
262
py
Python
pywps/xml_util.py
geotom/pywps
7f228ff17594912664073a629b2c2ed9d4f5f615
[ "MIT" ]
117
2015-12-30T22:28:46.000Z
2022-03-18T09:18:58.000Z
pywps/xml_util.py
geotom/pywps
7f228ff17594912664073a629b2c2ed9d4f5f615
[ "MIT" ]
533
2015-12-20T12:06:13.000Z
2022-03-30T11:11:31.000Z
pywps/xml_util.py
geotom/pywps
7f228ff17594912664073a629b2c2ed9d4f5f615
[ "MIT" ]
123
2016-01-25T17:32:39.000Z
2022-03-23T12:52:59.000Z
from lxml import etree as _etree PARSER = _etree.XMLParser( resolve_entities=False, ) tostring = _etree.tostring def fromstring(text): return _etree.fromstring(text, parser=PARSER) def parse(source): return _etree.parse(source, parser=PARSER)
15.411765
49
0.744275
33
262
5.727273
0.515152
0.148148
0
0
0
0
0
0
0
0
0
0
0.164122
262
16
50
16.375
0.863014
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.222222
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
6b107b7b269e7bf6a03603c5f9f73b5876e008d3
1,065
py
Python
Home/filters.py
Fakhre-Alam-Hub/Attendance-System2
a8eadcc6d661ed522d18bd012c4558560a5a80d6
[ "MIT" ]
null
null
null
Home/filters.py
Fakhre-Alam-Hub/Attendance-System2
a8eadcc6d661ed522d18bd012c4558560a5a80d6
[ "MIT" ]
null
null
null
Home/filters.py
Fakhre-Alam-Hub/Attendance-System2
a8eadcc6d661ed522d18bd012c4558560a5a80d6
[ "MIT" ]
null
null
null
import django_filters from django_filters import DateFilter, CharFilter, NumberFilter from .models import * class AttendanceFilter(django_filters.FilterSet): name = django_filters.CharFilter(field_name='name', lookup_expr='icontains', label='User ID contains') # release_year = django_filt...
48.409091
106
0.752113
124
1,065
6.080645
0.282258
0.189655
0.165782
0.198939
0.518568
0.391247
0.391247
0.391247
0.391247
0.234748
0
0
0.140845
1,065
21
107
50.714286
0.824044
0.60939
0
0
0
0
0.080882
0
0
0
0
0
0
1
0
false
0
0.375
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6b2a6bd767ddedc42cefdd5c98820a5d5c8f2cb1
532
py
Python
sdklib/http/__init__.py
jframos/sdklib
0cc1126e94b823fad6cc47e6a00549cad6d2f771
[ "BSD-2-Clause" ]
3
2016-12-15T15:54:37.000Z
2021-08-10T03:16:18.000Z
sdklib/http/__init__.py
jframos/sdklib
0cc1126e94b823fad6cc47e6a00549cad6d2f771
[ "BSD-2-Clause" ]
44
2016-04-13T08:19:45.000Z
2022-01-14T12:58:44.000Z
sdklib/http/__init__.py
jframos/sdklib
0cc1126e94b823fad6cc47e6a00549cad6d2f771
[ "BSD-2-Clause" ]
5
2016-11-22T11:23:28.000Z
2020-01-28T12:26:10.000Z
from sdklib.http.base import HttpSdk, HttpRequestContext, generate_url_path, request_from_context from sdklib.http.response import HttpResponse from sdklib.http.renderers import get_renderer, url_encode from sdklib.util.design_pattern import Singleton __all__ = [ 'HttpSdk', 'HttpResponse', 'get_renderer', 'HttpRe...
28
120
0.800752
58
532
7.051724
0.465517
0.0978
0.102689
0.107579
0.161369
0.161369
0
0
0
0
0
0
0.109023
532
18
121
29.555556
0.862869
0
0
0
1
0
0.236842
0.050752
0
0
0
0
0
1
0
false
0.083333
0.333333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
6b354579667a25c6a248f6b02394d6607d47165c
4,523
py
Python
user_registration/code/crm1/settings.py
Ajit4777/user-registration
1ff002aaea290b556c664bc958250b92ff2c7d49
[ "MIT" ]
null
null
null
user_registration/code/crm1/settings.py
Ajit4777/user-registration
1ff002aaea290b556c664bc958250b92ff2c7d49
[ "MIT" ]
2
2021-03-10T12:07:28.000Z
2021-03-10T12:35:10.000Z
user_registration/code/crm1/settings.py
Ajit4777/user-registration
1ff002aaea290b556c664bc958250b92ff2c7d49
[ "MIT" ]
null
null
null
""" Django settings for crm1 project. Generated by 'django-admin startproject' using Django 3.0 For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import...
27.579268
95
0.69025
507
4,523
5.968442
0.343195
0.068738
0.044944
0.057832
0.242895
0.15499
0.088235
0.088235
0.039656
0
0
0.011117
0.184612
4,523
163
96
27.748466
0.809382
0.225735
0
0.040816
1
0
0.516752
0.402354
0
0
0
0
0
1
0
false
0.061224
0.020408
0
0.020408
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
6b3f5bc4ec2154a710349e9048012c98daa2733a
506
py
Python
models/group.py
Priyeshpandey/splitwise
db1af921a1ebf3f4034a6672cd3a2515aaeeecd5
[ "MIT" ]
null
null
null
models/group.py
Priyeshpandey/splitwise
db1af921a1ebf3f4034a6672cd3a2515aaeeecd5
[ "MIT" ]
null
null
null
models/group.py
Priyeshpandey/splitwise
db1af921a1ebf3f4034a6672cd3a2515aaeeecd5
[ "MIT" ]
null
null
null
class Group(object): def __init__(self, id=None, name=None, members=None) -> None: self.id = id self.name = name self.members = [] def setId(self, id): self.id = id def getId(self): return self.id def setName(self, name): self.id = name ...
20.24
65
0.543478
60
506
4.516667
0.3
0.132841
0.154982
0
0
0
0
0
0
0
0
0
0.353755
506
24
66
21.083333
0.828746
0
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.411765
false
0
0
0.176471
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
86222f789e7ef5d71a063419aa86c999b822ae46
436
py
Python
pylogicalgraph/pylogicalgraph/graph/creator.py
pythian-delphi/logic
aeb34d08f011720b7621d92aa68ac6e6745daa2a
[ "MIT" ]
null
null
null
pylogicalgraph/pylogicalgraph/graph/creator.py
pythian-delphi/logic
aeb34d08f011720b7621d92aa68ac6e6745daa2a
[ "MIT" ]
null
null
null
pylogicalgraph/pylogicalgraph/graph/creator.py
pythian-delphi/logic
aeb34d08f011720b7621d92aa68ac6e6745daa2a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .graphviz import GraphvizCreator class GraphCreator: def __init__(self, format='png', params={}): self.params = params self.module = GraphvizCreator(format=format) def write(self, filename): self.module.write(filename) def graph(self): return s...
25.647059
53
0.655963
51
436
5.490196
0.45098
0.142857
0.114286
0
0
0
0
0
0
0
0
0.002941
0.220183
436
16
54
27.25
0.820588
0.048165
0
0
0
0
0.007264
0
0
0
0
0
0
1
0.363636
false
0
0.090909
0.181818
0.727273
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
866ed2044327653f4bb9d1d2f53bbf8095342181
4,035
py
Python
protlearn/features/binary.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
24
2020-09-17T10:35:44.000Z
2022-03-09T19:19:01.000Z
protlearn/features/binary.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
14
2020-08-09T18:23:01.000Z
2020-11-19T05:48:14.000Z
protlearn/features/binary.py
tadorfer/ProtClass
da1a01ea9abd3c367b3389dfed683c6a9dfa6afd
[ "MIT" ]
3
2020-03-17T16:43:54.000Z
2020-08-03T06:10:24.000Z
# Author: Thomas Dorfer <thomas.a.dorfer@gmail.com> import numpy as np from ..utils.validation import check_input, check_alpha, check_natural def binary(X, *, padding=True, start=1, end=None): """Binary profile pattern. This function returns the binary profile pattern for each amino acid sequence in the...
39.174757
80
0.505576
666
4,035
3.039039
0.274775
0.252964
0.36166
0.458498
0.199605
0.199605
0.172925
0.172925
0.13834
0.13834
0
0.116992
0.288228
4,035
103
81
39.174757
0.587744
0.748699
0
0
0
0
0.08377
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
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
86a2614bc8c821ea39fe53bb85035f3f4fc6ed41
45,261
py
Python
tests/test_biostructmap.py
Gab0/biostructmap
047d04851c22eff77c7f60dbc1e32f763c5fa45a
[ "MIT" ]
null
null
null
tests/test_biostructmap.py
Gab0/biostructmap
047d04851c22eff77c7f60dbc1e32f763c5fa45a
[ "MIT" ]
null
null
null
tests/test_biostructmap.py
Gab0/biostructmap
047d04851c22eff77c7f60dbc1e32f763c5fa45a
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function import io from unittest import TestCase import numpy as np from math import log import Bio.PDB from Bio import AlignIO from Bio.Seq import Seq from Bio.PDB.MMCIF2Dict import MMCIF2Dict from Bio.PDB.PDBExceptions import PDBConstructionWarning from biostr...
51.374574
101
0.61532
5,275
45,261
5.075071
0.092322
0.039782
0.040342
0.004445
0.775503
0.744388
0.722087
0.688954
0.665309
0.640843
0
0.049237
0.269017
45,261
881
102
51.374574
0.759921
0.05296
0
0.629477
0
0
0.101845
0.079041
0
0
0
0
0.207989
1
0.095041
false
0.001377
0.022039
0
0.128099
0.006887
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
86a2942548318a245085cc69bfdc820f952ec2d2
834
py
Python
bughunter/utility.py
ChrisTimperley/BugHunter
090201f491c50fff5a36507ea6861142570d18b9
[ "MIT" ]
4
2017-03-01T05:10:01.000Z
2021-12-14T15:18:01.000Z
bughunter/utility.py
ChrisTimperley/BugCollector
090201f491c50fff5a36507ea6861142570d18b9
[ "MIT" ]
4
2016-10-16T22:57:17.000Z
2017-01-12T21:39:45.000Z
bughunter/utility.py
ChrisTimperley/BugCollector
090201f491c50fff5a36507ea6861142570d18b9
[ "MIT" ]
null
null
null
import os import os.path import subprocess FNULL = open(os.devnull, 'w') # Ensures that a given directory exists def ensure_dir(d): os.path.exists(d) or os.makedirs(d) # Executes a given command on the terminal, blocking until completion. # Returns True if an exit status of zero was returned, otherwise False # i...
33.36
70
0.711031
122
834
4.819672
0.467213
0.030612
0.047619
0.071429
0.62585
0.62585
0.62585
0.510204
0.510204
0.510204
0
0.002994
0.199041
834
24
71
34.75
0.877246
0.448441
0
0
0
0
0.002217
0
0
0
0
0
0
1
0.25
false
0
0.25
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
86a3df82713431779c16de1fc6d6f90e1d807a64
2,359
py
Python
AutomatedTesting/Gem/PythonTests/Blast/TestSuite_Main.py
ComarPers922/o3de
f321789456ceb1bd62405ee647c55900e980b4f8
[ "Apache-2.0", "MIT" ]
1
2022-02-24T08:49:30.000Z
2022-02-24T08:49:30.000Z
AutomatedTesting/Gem/PythonTests/Blast/TestSuite_Main.py
ComarPers922/o3de
f321789456ceb1bd62405ee647c55900e980b4f8
[ "Apache-2.0", "MIT" ]
null
null
null
AutomatedTesting/Gem/PythonTests/Blast/TestSuite_Main.py
ComarPers922/o3de
f321789456ceb1bd62405ee647c55900e980b4f8
[ "Apache-2.0", "MIT" ]
null
null
null
""" Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. SPDX-License-Identifier: Apache-2.0 OR MIT """ # This suite consists of all test cases that are passing and have been verified. import pytest import os impo...
46.254902
101
0.78847
269
2,359
6.695167
0.301115
0.124375
0.171016
0.101055
0.478068
0.478068
0.478068
0.478068
0.478068
0.478068
0
0.001482
0.142009
2,359
50
102
47.18
0.88834
0.11827
0
0.225806
0
0
0.039112
0.013037
0
0
0
0
0
1
0.225806
false
0
0.387097
0
0.645161
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
86c009665017ad440e07d7386f93a452c8033c55
465
py
Python
kolibri/plugins/html5_app_renderer/kolibri_plugin.py
arceduardvincent/kolibri
26073dda2569bb38bfe1e08ba486e96f650d10ce
[ "MIT" ]
null
null
null
kolibri/plugins/html5_app_renderer/kolibri_plugin.py
arceduardvincent/kolibri
26073dda2569bb38bfe1e08ba486e96f650d10ce
[ "MIT" ]
3
2016-05-24T21:12:01.000Z
2017-03-09T22:43:08.000Z
kolibri/plugins/html5_app_renderer/kolibri_plugin.py
DXCanas/kolibri
4571fc5e5482a2dc9cd8f93dd45222a69d8a68b4
[ "MIT" ]
1
2021-07-26T11:38:29.000Z
2021-07-26T11:38:29.000Z
from __future__ import absolute_import from __future__ import print_function from __future__ import unicode_literals from kolibri.core.content import hooks as content_hooks from kolibri.plugins.base import KolibriPluginBase class HTML5AppPlugin(KolibriPluginBase): pass class HTML5AppAsset(content_hooks.Content...
27.352941
55
0.825806
57
465
6.298246
0.578947
0.083565
0.133705
0
0
0
0
0
0
0
0
0.007353
0.122581
465
16
56
29.0625
0.872549
0
0
0
0
0
0.135484
0.053763
0
0
0
0
0
1
0
false
0.181818
0.454545
0
0.909091
0.090909
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
86c458049b59a4557fffa70050b365965d0f0654
161
py
Python
{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/utils.py
cmeadows/fbone-marrow
0c69bcafbe21c48641cc9759f2a959b9b7881ce3
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/utils.py
cmeadows/fbone-marrow
0c69bcafbe21c48641cc9759f2a959b9b7881ce3
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.package_name}}/{{cookiecutter.package_name}}/utils.py
cmeadows/fbone-marrow
0c69bcafbe21c48641cc9759f2a959b9b7881ce3
[ "BSD-3-Clause" ]
1
2020-04-25T14:01:26.000Z
2020-04-25T14:01:26.000Z
""" Utils has nothing to do with models and views. """ import os INSTANCE_FOLDER_PATH = os.path.join('/opt', '{{cookiecutter.package_name}}', 'instance')
17.888889
88
0.68323
22
161
4.863636
0.863636
0
0
0
0
0
0
0
0
0
0
0
0.15528
161
8
89
20.125
0.786765
0.285714
0
0
0
0
0.398058
0.281553
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
86d4835efd2b91df6c5da3e07240dce2ac1ccc78
102
py
Python
Arquivos/Cap. 5/p5.3.py
MateusTheodoro/LivroPython
2b48d568b4e782802e03a9f46420950f6d849178
[ "MIT" ]
1
2021-07-09T18:20:11.000Z
2021-07-09T18:20:11.000Z
Arquivos/Cap. 5/p5.3.py
MateusTheodoro/LivroPython
2b48d568b4e782802e03a9f46420950f6d849178
[ "MIT" ]
null
null
null
Arquivos/Cap. 5/p5.3.py
MateusTheodoro/LivroPython
2b48d568b4e782802e03a9f46420950f6d849178
[ "MIT" ]
null
null
null
# Tabuada de adição n = int(input('Tabuada de: ')) x = 1 while x <= 10: print(n + x) x = x + 1
17
30
0.519608
19
102
2.789474
0.578947
0.339623
0
0
0
0
0
0
0
0
0
0.056338
0.303922
102
6
31
17
0.690141
0.166667
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
86dd8885831c513c197c4da6b89eaa83deab74cd
224
py
Python
pytouch/model/meta.py
aboutNisblee/PyTouch
0098aa07ac78ec1868e0a155c92342512d07613a
[ "MIT" ]
3
2016-08-19T16:17:53.000Z
2017-07-19T18:55:37.000Z
pytouch/model/meta.py
mNisblee/PyTouch
0098aa07ac78ec1868e0a155c92342512d07613a
[ "MIT" ]
null
null
null
pytouch/model/meta.py
mNisblee/PyTouch
0098aa07ac78ec1868e0a155c92342512d07613a
[ "MIT" ]
null
null
null
from sqlalchemy import Column, String from pytouch.model.super import Base class Meta(Base): __tablename__ = 'tblMeta' key = Column('pkKey', String(64), primary_key=True) value = Column('cValue', String(256))
22.4
55
0.709821
29
224
5.310345
0.724138
0
0
0
0
0
0
0
0
0
0
0.026882
0.169643
224
9
56
24.888889
0.801075
0
0
0
0
0
0.080357
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
86f20087947238a79736c4b7cff36ecdc2832496
1,302
py
Python
thefuck/rules/open.py
pybenchmark/thefuck
993a661c6048063e84645015cc832602b6ec32df
[ "MIT" ]
1
2020-12-23T15:56:56.000Z
2020-12-23T15:56:56.000Z
thefuck/rules/open.py
pybenchmark/thefuck
993a661c6048063e84645015cc832602b6ec32df
[ "MIT" ]
4
2020-12-23T15:44:08.000Z
2020-12-23T16:48:59.000Z
thefuck/rules/open.py
pybenchmark/thefuck
993a661c6048063e84645015cc832602b6ec32df
[ "MIT" ]
1
2019-12-08T19:23:06.000Z
2019-12-08T19:23:06.000Z
# Opens URL's in the default web browser # # Example: # > open github.com # The file ~/github.com does not exist. # Perhaps you meant 'http://github.com'? # from thefuck.shells import shell from thefuck.utils import eager, for_app def is_arg_url(command): return ('.com' in command.script or '.edu' in ...
31.756098
80
0.609063
177
1,302
4.418079
0.378531
0.216113
0.191816
0.195652
0
0
0
0
0
0
0
0.002051
0.251152
1,302
40
81
32.55
0.8
0.109063
0
0
0
0
0.130208
0
0
0
0
0
0
1
0.111111
false
0
0.074074
0.074074
0.259259
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
86f38ded38e277b7486b07c875893bd8d59b84bb
393
py
Python
{{cookiecutter.package_name}}/tests/test_command.py
misdirectedpuffin/python-cookiecutter-cli-submodule-minimal
10e3cccbebad82f9b30902e9d9dfc3ddb0c8f7dc
[ "MIT" ]
null
null
null
{{cookiecutter.package_name}}/tests/test_command.py
misdirectedpuffin/python-cookiecutter-cli-submodule-minimal
10e3cccbebad82f9b30902e9d9dfc3ddb0c8f7dc
[ "MIT" ]
null
null
null
{{cookiecutter.package_name}}/tests/test_command.py
misdirectedpuffin/python-cookiecutter-cli-submodule-minimal
10e3cccbebad82f9b30902e9d9dfc3ddb0c8f7dc
[ "MIT" ]
null
null
null
"""Tests related to the cli entrypont.""" from click.testing import CliRunner from {{ cookiecutter.package_name }}.command import {{ cookiecutter.cli_sub_command }} def test_cli_output(): """It returns the CLI description.""" runner = CliRunner() result = runner.invoke({{ cookiecutter.cli_sub_command }})...
35.727273
86
0.725191
48
393
5.75
0.625
0.163043
0.130435
0.181159
0
0
0
0
0
0
0
0
0.150127
393
11
87
35.727273
0.826347
0
0
0
0
0
0.186709
0.088608
0
0
0
0
0.166667
0
null
null
0
0.333333
null
null
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
1
0
0
0
1
0
0
0
0
3
8102646e8b58d05d05872114bb7591532e16d563
5,870
py
Python
tests/test_ex_examples.py
WinVector/data_algebra
3d6002ddf8231d310e03537a0435df0554b62234
[ "BSD-3-Clause" ]
37
2019-08-28T08:16:48.000Z
2022-03-14T21:18:39.000Z
tests/test_ex_examples.py
WinVector/data_algebra
3d6002ddf8231d310e03537a0435df0554b62234
[ "BSD-3-Clause" ]
1
2019-09-02T23:13:29.000Z
2019-09-08T01:43:10.000Z
tests/test_ex_examples.py
WinVector/data_algebra
3d6002ddf8231d310e03537a0435df0554b62234
[ "BSD-3-Clause" ]
3
2019-08-28T12:23:11.000Z
2020-02-08T19:22:31.000Z
import pytest import data_algebra from data_algebra.data_ops import * import data_algebra.util import data_algebra.SQLite import data_algebra.test_util def test_ex_example_ex_descr(): ops = TableDescription(table_name='d', column_names=['x']).extend({'z': 'x + 1'}) with pytest.raises(Exception): ops....
27.558685
91
0.564566
868
5,870
3.580645
0.102535
0.130952
0.133205
0.162806
0.792793
0.765444
0.688546
0.660553
0.660553
0.611326
0
0.049786
0.243782
5,870
213
92
27.558685
0.650372
0.012095
0
0.418301
0
0
0.025185
0
0
0
0
0
0.071895
1
0.078431
false
0
0.039216
0
0.117647
0
0
0
0
null
0
0
1
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8109c8cb633d467347f22e6e84cbae2c1b4c254d
695
py
Python
river/compose/rename.py
mathco-wf/river
c6ff38fa4ce4843ede1cba77248e0370a67a36f6
[ "BSD-3-Clause" ]
2,184
2020-11-11T12:31:12.000Z
2022-03-31T16:45:41.000Z
river/compose/rename.py
raphaelsty/river
2e0b25a2ef2d2ba9ec080cf86a491f7465433b18
[ "BSD-3-Clause" ]
262
2020-11-11T17:15:47.000Z
2022-03-31T23:54:03.000Z
river/compose/rename.py
raphaelsty/river
2e0b25a2ef2d2ba9ec080cf86a491f7465433b18
[ "BSD-3-Clause" ]
240
2020-11-11T14:25:03.000Z
2022-03-31T08:25:50.000Z
from .. import base __all__ = ["Renamer"] class Renamer(base.Transformer): """Renames keys based on given parameters. Parameters ---------- prefix suffix Examples -------- >>> from river import compose >>> x = {'a': 42, 'b': 12} >>> compose.Renamer(prefix='prefix_', suffix...
20.441176
76
0.579856
86
695
4.476744
0.44186
0.077922
0
0
0
0
0
0
0
0
0
0.015474
0.256115
695
33
77
21.060606
0.729207
0.394245
0
0
0
0
0.01897
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
810f108e0356df966d6cad1ea32d10439f9eed0e
4,653
py
Python
Source/highscoremanager.py
TheCodeInside/NumberMunchers
7f8d18583ac0854b39663b91cb94f66c8fea8fb7
[ "MIT" ]
2
2016-04-20T02:07:02.000Z
2016-05-11T13:17:34.000Z
Source/highscoremanager.py
TheCodeInside/NumberMunchers
7f8d18583ac0854b39663b91cb94f66c8fea8fb7
[ "MIT" ]
7
2016-05-09T13:41:58.000Z
2016-05-10T14:20:54.000Z
Source/highscoremanager.py
TheCodeInside/NumberMunchers
7f8d18583ac0854b39663b91cb94f66c8fea8fb7
[ "MIT" ]
1
2017-04-27T17:33:12.000Z
2017-04-27T17:33:12.000Z
import json class HighScoreManager: def __init__(self): # Read in the file with open(".highscores", "r") as f: self.data = json.load(f) # The default section is just used to reset scores if the user chooses self.high_scores = self.data["highscores"] ...
42.3
110
0.572534
545
4,653
4.724771
0.181651
0.236893
0.299029
0.206602
0.495146
0.265243
0.219417
0.219417
0.219417
0
0
0.000299
0.281754
4,653
109
111
42.688073
0.770197
0.135826
0
0.028571
0
0
0.16028
0
0
0
0
0
0
1
0.1
false
0.028571
0.014286
0.014286
0.171429
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
8126277f3ef13927cac2464b4c7bd9f4382566e0
9,346
py
Python
tests/conftest.py
terencehonles/bravado-core
382db874b7b838dcfd169b0ce490d6a447ad6ff2
[ "BSD-3-Clause" ]
122
2015-04-22T17:31:18.000Z
2021-11-08T10:29:57.000Z
tests/conftest.py
terencehonles/bravado-core
382db874b7b838dcfd169b0ce490d6a447ad6ff2
[ "BSD-3-Clause" ]
364
2015-04-10T22:19:23.000Z
2022-02-25T08:55:10.000Z
tests/conftest.py
terencehonles/bravado-core
382db874b7b838dcfd169b0ce490d6a447ad6ff2
[ "BSD-3-Clause" ]
118
2015-04-20T15:11:53.000Z
2021-12-09T10:03:34.000Z
# -*- coding: utf-8 -*- import os from copy import deepcopy from itertools import chain import pytest import simplejson as json import yaml from mock import Mock from six import iteritems from six import iterkeys from six.moves.urllib import parse as urlparse from six.moves.urllib.request import pathname2url from six....
29.764331
125
0.744276
1,331
9,346
4.911345
0.156273
0.077559
0.093009
0.059813
0.543063
0.430626
0.369589
0.285911
0.275356
0.171638
0
0.003673
0.155254
9,346
313
126
29.859425
0.824319
0.133747
0
0.239583
0
0
0.093575
0.029944
0
0
0
0
0.020833
1
0.229167
false
0
0.078125
0.1875
0.536458
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
8127bea5d75b37584cf3b9bf042d8dfae49498a4
645
py
Python
Python/Fluent_Python/chapter1/section1/s1_2.py
sunyunxian/test_lib
5e98fff1074b301960d39165aa99d60db880b262
[ "Apache-2.0" ]
1
2021-12-17T14:57:30.000Z
2021-12-17T14:57:30.000Z
Python/Fluent_Python/chapter1/section1/s1_2.py
ok-frank/test_lib
5e98fff1074b301960d39165aa99d60db880b262
[ "Apache-2.0" ]
null
null
null
Python/Fluent_Python/chapter1/section1/s1_2.py
ok-frank/test_lib
5e98fff1074b301960d39165aa99d60db880b262
[ "Apache-2.0" ]
null
null
null
from math import hypot class Vector: def __init__(self, x=0, y=0) -> None: self.x = x self.y = y def __add__(self, other): x = self.x + other.x y = self.y + other.y return Vector(x, y) def __abs__(self): return hypot(self.x, self.y) def __mul__(self, ...
19.545455
55
0.539535
97
645
3.257732
0.329897
0.094937
0.037975
0
0
0
0
0
0
0
0
0.027088
0.313178
645
32
56
20.15625
0.68623
0
0
0
0
0
0.055814
0
0
0
0
0
0
1
0.26087
false
0
0.043478
0.173913
0.565217
0.130435
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
812e6a346643215cdf49f30b8003849522ee1a85
1,953
bzl
Python
java/providers/JavaCompilationInfo.bzl
birkland/dwtj_rules_java
f2e8dd3fabca7e5fca3f3ef960073862c2bb8563
[ "MIT" ]
null
null
null
java/providers/JavaCompilationInfo.bzl
birkland/dwtj_rules_java
f2e8dd3fabca7e5fca3f3ef960073862c2bb8563
[ "MIT" ]
4
2020-09-23T22:50:32.000Z
2020-09-28T11:05:10.000Z
java/providers/JavaCompilationInfo.bzl
birkland/dwtj_rules_java
f2e8dd3fabca7e5fca3f3ef960073862c2bb8563
[ "MIT" ]
1
2021-03-24T20:35:57.000Z
2021-03-24T20:35:57.000Z
'''Defines the `JavaCompilationInfo` provider. ''' JavaCompilationInfo = provider( doc = "Describes the inputs, outputs, and options of a Java compiler invocation for a particular Java target.", fields = { "srcs": "A depset of the Java source `File`s directly included in a Java target. (This does not i...
88.772727
376
0.711726
296
1,953
4.625
0.415541
0.029218
0.035062
0.075968
0.057706
0.045289
0.045289
0.045289
0.045289
0
0
0
0.197133
1,953
21
377
93
0.873087
0.158218
0
0
0
0.285714
0.846389
0.067931
0
0
0
0.047619
0
1
0
false
0
0.071429
0
0.071429
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
1
0
0
0
0
0
0
0
0
0
0
3
8130855dadfdd04a587af0f3ec0ff473840e022c
345
py
Python
gym_cooking/utils/utils.py
atbolsh/gym-cooking
bbb207e12c5bfdf72bd7d473de4b79665c23984d
[ "MIT" ]
124
2020-11-02T06:31:23.000Z
2022-01-11T10:42:37.000Z
gym_cooking/utils/utils.py
atbolsh/gym-cooking
bbb207e12c5bfdf72bd7d473de4b79665c23984d
[ "MIT" ]
7
2020-11-02T14:11:29.000Z
2021-05-21T02:53:18.000Z
gym_cooking/utils/utils.py
atbolsh/gym-cooking
bbb207e12c5bfdf72bd7d473de4b79665c23984d
[ "MIT" ]
24
2020-11-02T14:39:34.000Z
2022-01-20T06:51:39.000Z
def agent_settings(arglist, agent_name): if agent_name[-1] == "1": return arglist.model1 elif agent_name[-1] == "2": return arglist.model2 elif agent_name[-1] == "3": return arglist.model3 elif agent_name[-1] == "4": return arglist.model4 else: raise ValueError("Agent name doesn't follow the right ...
38.333333
87
0.678261
51
345
4.470588
0.509804
0.236842
0.175439
0.184211
0
0
0
0
0
0
0
0.041958
0.171014
345
8
88
43.125
0.755245
0
0
0
0
0
0.177843
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d49f232b57d13fe4c844afe4b8259baed96ae2ef
501
py
Python
puts/logger.py
MarkHershey/puts
8fa7525efb7ff1320a5a319d6c2d993a00adb6d4
[ "MIT" ]
null
null
null
puts/logger.py
MarkHershey/puts
8fa7525efb7ff1320a5a319d6c2d993a00adb6d4
[ "MIT" ]
null
null
null
puts/logger.py
MarkHershey/puts
8fa7525efb7ff1320a5a319d6c2d993a00adb6d4
[ "MIT" ]
null
null
null
class DeprecatedLogger(object): def __init__(self): print( "Deprecated logger, please use 'from puts import get_logger; logger = get_logger();' instead" ) def debug(self, msg): print(msg) def info(self, msg): print(msg) def warning(self, msg): print...
18.555556
105
0.572854
58
501
4.844828
0.396552
0.149466
0.256228
0.320285
0.320285
0
0
0
0
0
0
0
0.313373
501
26
106
19.269231
0.81686
0
0
0.333333
0
0
0.181637
0
0
0
0
0
0
1
0.388889
false
0
0.055556
0
0.5
0.388889
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
d4b7c10833bff5951708518ce31100ffeabe3589
7,995
py
Python
integration/python/integration_api/models/get_card_pci_details_response_vo.py
ShekharPaatni/SDK
6534ffdb63af87c02c431df9add05a90370183cb
[ "Apache-2.0" ]
11
2019-04-16T02:11:17.000Z
2021-12-16T22:51:40.000Z
integration/python/integration_api/models/get_card_pci_details_response_vo.py
ShekharPaatni/SDK
6534ffdb63af87c02c431df9add05a90370183cb
[ "Apache-2.0" ]
81
2019-11-19T23:24:28.000Z
2022-03-28T11:35:47.000Z
integration/python/integration_api/models/get_card_pci_details_response_vo.py
ShekharPaatni/SDK
6534ffdb63af87c02c431df9add05a90370183cb
[ "Apache-2.0" ]
11
2020-07-08T02:29:56.000Z
2022-03-28T10:05:33.000Z
# coding: utf-8 """ Hydrogen Integration API The Hydrogen Integration API # noqa: E501 OpenAPI spec version: 1.3.1 Contact: info@hydrogenplatform.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from integration_api.con...
28.553571
172
0.60738
884
7,995
5.308824
0.136878
0.035798
0.196889
0.165566
0.517792
0.41466
0.376944
0.266141
0.119327
0.016194
0
0.014764
0.305316
7,995
279
173
28.655914
0.830212
0.348718
0
0.087302
1
0
0.053969
0
0
0
0
0
0
1
0.15873
false
0
0.031746
0
0.325397
0.015873
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d4c23bedb124a212f2efa45a65aa7c9a04f4fde7
382
py
Python
solvers/solver.py
rupenp/lin-train
6ce410fa6f643631b6bcb92f32c3cb5145b3ec08
[ "MIT" ]
4
2015-11-30T02:25:21.000Z
2018-03-23T14:01:07.000Z
solvers/solver.py
rupenp/lin-train
6ce410fa6f643631b6bcb92f32c3cb5145b3ec08
[ "MIT" ]
null
null
null
solvers/solver.py
rupenp/lin-train
6ce410fa6f643631b6bcb92f32c3cb5145b3ec08
[ "MIT" ]
3
2015-11-30T02:25:23.000Z
2020-01-20T03:40:18.000Z
import abc class Solver: def __init__(self): pass @abc.abstractmethod def calculate_parameters(self, x, y): """ Takes a matrix and a column vector. Returns a column vector of coefficients that best correspond to y = f(x, b). """ return [0.] @abc.abstractmethod...
21.222222
120
0.60733
49
382
4.612245
0.653061
0.150442
0.176991
0
0
0
0
0
0
0
0
0.007519
0.303665
382
17
121
22.470588
0.842105
0.293194
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0.1
0.1
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d4d326aae41c7a7d8743f28f2d28dce274b9d137
68
py
Python
src/fonts/__init__.py
AlirezaMirkazemi/tele_statistics
f1fd516ec119e278872300990f0ee4e61b70a91a
[ "MIT" ]
null
null
null
src/fonts/__init__.py
AlirezaMirkazemi/tele_statistics
f1fd516ec119e278872300990f0ee4e61b70a91a
[ "MIT" ]
null
null
null
src/fonts/__init__.py
AlirezaMirkazemi/tele_statistics
f1fd516ec119e278872300990f0ee4e61b70a91a
[ "MIT" ]
null
null
null
from pathlib import Path FONT_DIR = Path(__file__).resolve().parent
22.666667
42
0.794118
10
68
4.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.102941
68
3
42
22.666667
0.803279
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d4da406a25f04de7ccd9484f1125886c48fe3b51
2,164
py
Python
enos/message/upstream/tsl/EventPostRequest.py
charleshuangcai/enos-device-sdk-python
bbbb31f4da7c4c4e6f457565faf0fb5cf15bb308
[ "MIT" ]
5
2020-05-09T09:21:22.000Z
2021-05-31T02:42:56.000Z
enos/message/upstream/tsl/EventPostRequest.py
charleshuangcai/enos-device-sdk-python
bbbb31f4da7c4c4e6f457565faf0fb5cf15bb308
[ "MIT" ]
4
2020-04-18T03:28:09.000Z
2021-05-28T09:41:05.000Z
enos/message/upstream/tsl/EventPostRequest.py
charleshuangcai/enos-device-sdk-python
bbbb31f4da7c4c4e6f457565faf0fb5cf15bb308
[ "MIT" ]
7
2020-01-19T07:58:28.000Z
2021-12-22T06:53:43.000Z
import time from enos.core.constant.DeliveryTopicFormat import DeliveryTopicFormat from enos.core.constant.MethodConstants import MethodConstants from enos.core.message.BaseRequest import BaseRequest, BaseBuilder from enos.message.upstream.tsl.EventPostResponse import EventPostResponse from enos.core.util.CheckUtil im...
28.473684
116
0.696396
241
2,164
5.917012
0.244813
0.105189
0.079944
0.037868
0.169004
0.050491
0.050491
0
0
0
0
0.002936
0.213031
2,164
75
117
28.853333
0.83441
0
0
0.12963
0
0
0.022181
0
0
0
0
0
0
1
0.296296
false
0
0.111111
0.148148
0.685185
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
d4e85b2389f6935de3244da8813a10b6bea12eba
115
py
Python
src/RGB.py
lucajung/sort-algorithm-visu
80b4f27ef21fc010eac69c0a29c1735fe063a1f2
[ "MIT" ]
1
2020-04-13T12:26:21.000Z
2020-04-13T12:26:21.000Z
src/RGB.py
lucajung/sort-algorithm-visualization
80b4f27ef21fc010eac69c0a29c1735fe063a1f2
[ "MIT" ]
null
null
null
src/RGB.py
lucajung/sort-algorithm-visualization
80b4f27ef21fc010eac69c0a29c1735fe063a1f2
[ "MIT" ]
null
null
null
class RGB: def __init__(self, r: int, g: int, b: int): self.r = r self.g = g self.b = b
23
47
0.46087
20
115
2.45
0.45
0.204082
0
0
0
0
0
0
0
0
0
0
0.4
115
5
48
23
0.710145
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
be0a18b0e5d7c2abeeb9bcc6c16bf9cec60c0cb0
163
py
Python
shaarli_client/__init__.py
dkrm0/python-shaarli-client
3b5b2431b40a52bbf2b97f5a542e9ae9743c4723
[ "MIT" ]
null
null
null
shaarli_client/__init__.py
dkrm0/python-shaarli-client
3b5b2431b40a52bbf2b97f5a542e9ae9743c4723
[ "MIT" ]
null
null
null
shaarli_client/__init__.py
dkrm0/python-shaarli-client
3b5b2431b40a52bbf2b97f5a542e9ae9743c4723
[ "MIT" ]
null
null
null
"""shaarli-client""" __title__ = 'shaarli_client' __brief__ = 'CLI to interact with a Shaarli instance' __version__ = '0.4.0' __author__ = 'The Shaarli Community'
27.166667
53
0.742331
21
163
4.952381
0.761905
0.25
0
0
0
0
0
0
0
0
0
0.021127
0.128834
163
5
54
32.6
0.711268
0.08589
0
0
0
0
0.552448
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
be0ae7e54fbab6bc6b419cb0dd7bbed3c9a9bf27
232
py
Python
test/run/t374.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
test/run/t374.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
test/run/t374.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
import re def f(a, b=3, c=None): print a, b, c f(1, c=4) print re.split("a", "A stitch in time saves nine.", flags=re.IGNORECASE) print re.findall(string="A stitch in time saves nine.", flags=re.IGNORECASE, pattern="a")
21.090909
89
0.650862
45
232
3.355556
0.511111
0.02649
0.119205
0.172185
0.516556
0.516556
0.516556
0.516556
0.516556
0
0
0.015789
0.181034
232
10
90
23.2
0.778947
0
0
0
0
0
0.252174
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
be1aaf02be5cc1bec5f011556fc80843ac37ee03
39,425
py
Python
dashboard/dashboard/file_bug_test.py
Murka96/catapult
aad9fb06898b695f844b172680bf9818d2bfb9af
[ "BSD-3-Clause" ]
null
null
null
dashboard/dashboard/file_bug_test.py
Murka96/catapult
aad9fb06898b695f844b172680bf9818d2bfb9af
[ "BSD-3-Clause" ]
6
2020-07-19T21:51:44.000Z
2022-02-13T08:22:58.000Z
dashboard/dashboard/file_bug_test.py
Murka96/catapult
aad9fb06898b695f844b172680bf9818d2bfb9af
[ "BSD-3-Clause" ]
1
2020-07-24T18:22:03.000Z
2020-07-24T18:22:03.000Z
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from __future__ import print_function from __future__ import division from __future__ import absolute_import import datetime import json import sys import u...
39.823232
81
0.657223
4,406
39,425
5.708806
0.11507
0.024291
0.022065
0.026717
0.737169
0.713434
0.705562
0.685922
0.67805
0.656701
0
0.040698
0.222194
39,425
989
82
39.863498
0.779553
0.131059
0
0.646232
0
0
0.219355
0.067485
0
0
0
0
0.076628
1
0.043423
false
0.001277
0.028097
0.001277
0.086845
0.001277
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
be26456e315542afd55d3c989ce1cc4e8681a0a3
2,155
py
Python
src/RIOT/tests/gnrc_ipv6_fwd_w_sub/tests/01-run.py
ARte-team/ARte
19f17f57522e1b18ba390718fc94be246451837b
[ "MIT" ]
2
2020-04-30T08:17:45.000Z
2020-05-23T08:46:54.000Z
src/RIOT/tests/gnrc_ipv6_fwd_w_sub/tests/01-run.py
ARte-team/ARte
19f17f57522e1b18ba390718fc94be246451837b
[ "MIT" ]
null
null
null
src/RIOT/tests/gnrc_ipv6_fwd_w_sub/tests/01-run.py
ARte-team/ARte
19f17f57522e1b18ba390718fc94be246451837b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Copyright (C) 2019 Freie Universität Berlin # # This file is subject to the terms and conditions of the GNU Lesser # General Public License v2.1. See the file LICENSE in the top level # directory for more details. import sys from testrunner import run def testfunc(child): child.sendlin...
47.888889
93
0.597216
393
2,155
3.246819
0.348601
0.172414
0.188088
0.037618
0.535266
0.527429
0.508621
0.495298
0.482759
0.482759
0
0.257314
0.302088
2,155
44
94
48.977273
0.59109
0.105336
0
0.387097
0
0
0.604058
0
0
0
0
0
0
1
0.032258
false
0
0.064516
0
0.096774
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
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
0
0
3
be26a15b349a3ca991ce4dbdf094b5557447f5e9
191
py
Python
reader.py
txt3rob/python_rss_to_cli
68091fc255753eb633e7cd22c5a56290463c428d
[ "Apache-2.0" ]
null
null
null
reader.py
txt3rob/python_rss_to_cli
68091fc255753eb633e7cd22c5a56290463c428d
[ "Apache-2.0" ]
null
null
null
reader.py
txt3rob/python_rss_to_cli
68091fc255753eb633e7cd22c5a56290463c428d
[ "Apache-2.0" ]
null
null
null
import feedparser d = feedparser.parse('http://www.liverpoolecho.co.uk/sport/?service=rss') for post in d.entries: print post.title + ": " + post.link + "\n" + post.published + "\n"
31.833333
73
0.65445
27
191
4.62963
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.162304
191
5
74
38.2
0.78125
0
0
0
0
0
0.287958
0
0
0
0
0
0
0
null
null
0
0.25
null
null
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
1
0
0
0
0
0
0
0
0
3
076f02ffc33826fa8ba194cd0042de84a138a188
212
py
Python
atividades py/mediaH.py
viniciusfranca019/HSMU
20b48116afb5accf066fd9e57121d1df06104aa6
[ "MIT" ]
null
null
null
atividades py/mediaH.py
viniciusfranca019/HSMU
20b48116afb5accf066fd9e57121d1df06104aa6
[ "MIT" ]
null
null
null
atividades py/mediaH.py
viniciusfranca019/HSMU
20b48116afb5accf066fd9e57121d1df06104aa6
[ "MIT" ]
null
null
null
k1 = float(input('digite um numero')) k2 = float(input('digite outro numero')) k3 = float(input('digite + 1 numero')) r = float(3 / ((1 / k1) + (1 / k2) + (1 / k3))) print('a media harmonica é {:.2f}'.format(r))
35.333333
47
0.59434
35
212
3.6
0.542857
0.238095
0.380952
0
0
0
0
0
0
0
0
0.068182
0.169811
212
5
48
42.4
0.647727
0
0
0
0
0
0.367925
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
078b09ca2028792c524b774df2281da33862559c
403
bzl
Python
third_party/commons_lang.bzl
or-shachar/exodus
b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc
[ "MIT" ]
null
null
null
third_party/commons_lang.bzl
or-shachar/exodus
b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc
[ "MIT" ]
null
null
null
third_party/commons_lang.bzl
or-shachar/exodus
b28bf8f4c2330de47b8aac21c2bf3c40fda7cbdc
[ "MIT" ]
null
null
null
load("//:import_external.bzl", import_external = "safe_wix_scala_maven_import_external") def dependencies(): import_external( name = "commons_lang_commons_lang", artifact = "commons-lang:commons-lang:2.6", jar_sha256 = "50f11b09f877c294d56f24463f47d28f929cf5044f648661c0f0cfbae9a2f49c", srcja...
36.636364
89
0.781638
34
403
8.882353
0.617647
0.18543
0.119205
0.145695
0
0
0
0
0
0
0
0.260623
0.124069
403
10
90
40.3
0.594901
0
0
0
0
0
0.595534
0.595534
0
0
0
0
0
1
0.125
true
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
078e68e80daff4fe15c8d1c393fb009c53dc6ae9
4,708
py
Python
tests/envs/test_observation_functions.py
DavidSlayback/gym-gridverse
b8916576a92489c030fb2c2060598c7f473f19f2
[ "MIT" ]
6
2020-10-15T14:45:11.000Z
2021-02-20T12:11:32.000Z
tests/envs/test_observation_functions.py
DavidSlayback/gym-gridverse
b8916576a92489c030fb2c2060598c7f473f19f2
[ "MIT" ]
5
2021-01-20T15:34:29.000Z
2022-03-18T18:52:53.000Z
tests/envs/test_observation_functions.py
DavidSlayback/gym-gridverse
b8916576a92489c030fb2c2060598c7f473f19f2
[ "MIT" ]
2
2021-01-11T18:48:49.000Z
2021-01-26T15:45:38.000Z
from typing import Sequence, Type from unittest.mock import MagicMock import pytest from gym_gridverse.agent import Agent from gym_gridverse.envs.observation_functions import factory, partially_occluded from gym_gridverse.geometry import Orientation, Position, Shape from gym_gridverse.grid import Grid from gym_gridve...
35.398496
80
0.549915
433
4,708
5.884527
0.161663
0.414443
0.558085
0.687598
0.421115
0.386578
0.354788
0.33752
0.33752
0.33752
0
0.009915
0.271665
4,708
132
81
35.666667
0.733158
0
0
0.396694
0
0
0.052464
0.018054
0
0
0
0
0.049587
1
0.033058
false
0
0.082645
0
0.115702
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
079250b5fcce40644cf2b0d3be393603059b7e04
1,038
py
Python
HLTrigger/Configuration/python/HLT_75e33/tasks/HLTEle5WP70OpenUnseededTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
HLTrigger/Configuration/python/HLT_75e33/tasks/HLTEle5WP70OpenUnseededTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
HLTrigger/Configuration/python/HLT_75e33/tasks/HLTEle5WP70OpenUnseededTask_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms from ..modules.hltEgammaCandidatesUnseeded_cfi import * from ..modules.hltEgammaClusterShapeUnseeded_cfi import * from ..modules.hltEgammaEcalPFClusterIsoUnseeded_cfi import * from ..modules.hltEgammaEleGsfTrackIsoUnseeded_cfi import * from ..modules.hltEgammaEleGsfTrackIsoV6Un...
39.923077
65
0.850674
69
1,038
12.652174
0.304348
0.126002
0.134021
0.206186
0
0
0
0
0
0
0
0.007463
0.096339
1,038
25
66
41.52
0.923241
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.478261
0
0.478261
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
07a760af7af3f60f23f58b79759fe9b4adde2db8
57
py
Python
src/stargazer/__init__.py
personalrobotics/stargazer
766fa396e2656ba140250c4f274b62fceeda0c27
[ "MIT" ]
3
2017-05-07T06:21:19.000Z
2021-06-10T09:38:12.000Z
src/stargazer/__init__.py
personalrobotics/stargazer
766fa396e2656ba140250c4f274b62fceeda0c27
[ "MIT" ]
4
2015-02-12T23:58:22.000Z
2015-12-05T19:46:54.000Z
src/stargazer/__init__.py
magazino/stargazer
d350959b830b084d31656682721f68b22683ceba
[ "MIT" ]
2
2015-05-05T22:27:00.000Z
2017-01-16T16:18:18.000Z
from stargazer import StarGazer __all__ = [ StarGazer ]
14.25
31
0.77193
6
57
6.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.175439
57
3
32
19
0.851064
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
07ab315b4785280b6c31c364f2bf01b2f3c57dbf
317
py
Python
anstoss3k/engine/states/match_day_results.py
ericziethen/anstoss3k-poc
e28424556258b24ad4e513011b7597f150ad9719
[ "MIT" ]
null
null
null
anstoss3k/engine/states/match_day_results.py
ericziethen/anstoss3k-poc
e28424556258b24ad4e513011b7597f150ad9719
[ "MIT" ]
36
2020-02-13T09:23:36.000Z
2022-03-12T00:16:20.000Z
anstoss3k/engine/states/match_day_results.py
ericziethen/anstoss3k-poc
e28424556258b24ad4e513011b7597f150ad9719
[ "MIT" ]
null
null
null
from anstoss3k.engine.definitions import GameAction, GameState, State class MatchDayResultsState(State): def handle_input(self, action): pass def next_state(self, action): if action == GameAction.FINISH_MOVE: return GameState.MATCH_DAY_TABLES return GameState.UNKNOWN
22.642857
69
0.706625
35
317
6.257143
0.714286
0.091324
0
0
0
0
0
0
0
0
0
0.004082
0.227129
317
13
70
24.384615
0.889796
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0.125
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
07c1af72beed94407e1f61ab6bf62c4716507458
82
py
Python
codes_auto/66.plus-one.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
codes_auto/66.plus-one.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
codes_auto/66.plus-one.py
smartmark-pro/leetcode_record
6504b733d892a705571eb4eac836fb10e94e56db
[ "MIT" ]
null
null
null
# # @lc app=leetcode.cn id=66 lang=python3 # # [66] plus-one # None # @lc code=end
11.714286
40
0.634146
15
82
3.466667
0.866667
0
0
0
0
0
0
0
0
0
0
0.073529
0.170732
82
7
41
11.714286
0.691176
0.792683
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
07cb0d2059b63d306e1fd9e8dba2574d4c8d4fbc
1,153
py
Python
cavedb/docgen_latex_letter_draft.py
masneyb/cavedbmanager
0e1fb48a3054134a069ec8e9892475ae1e228e5c
[ "Apache-2.0" ]
4
2016-02-26T12:24:08.000Z
2019-09-10T02:45:08.000Z
cavedb/docgen_latex_letter_draft.py
masneyb/cavedbmanager
0e1fb48a3054134a069ec8e9892475ae1e228e5c
[ "Apache-2.0" ]
2
2017-04-16T01:13:22.000Z
2017-05-07T22:28:49.000Z
cavedb/docgen_latex_letter_draft.py
masneyb/cavedbmanager
0e1fb48a3054134a069ec8e9892475ae1e228e5c
[ "Apache-2.0" ]
1
2021-04-16T15:25:20.000Z
2021-04-16T15:25:20.000Z
# SPDX-License-Identifier: Apache-2.0 import cavedb.utils import cavedb.docgen_latex_letter_bw import cavedb.indexer_latex_underline class LatexLetterDraft(cavedb.docgen_latex_letter_bw.LatexLetterBW): def __init__(self, bulletin): cavedb.docgen_latex_letter_bw.LatexLetterBW.__init__(self, bulletin, \ ...
36.03125
82
0.684302
141
1,153
5.205674
0.333333
0.122616
0.069482
0.094005
0.434605
0.400545
0.242507
0.242507
0.242507
0.128065
0
0.002222
0.219428
1,153
31
83
37.193548
0.813333
0.030356
0
0.1
0
0
0.119176
0.068996
0
0
0
0
0
1
0.25
false
0
0.15
0.15
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
07d275f81cac2dfde8084347d2627f334be5d95a
20,641
py
Python
vispy/geometry/isosurface.py
chongxi/vispy
3683ea1f58e43b4aa1b32a3e69656bead8a31e99
[ "BSD-3-Clause" ]
2
2020-11-27T10:51:56.000Z
2020-12-28T20:39:14.000Z
vispy/geometry/isosurface.py
chongxi/vispy
3683ea1f58e43b4aa1b32a3e69656bead8a31e99
[ "BSD-3-Clause" ]
19
2015-06-16T14:33:22.000Z
2015-07-27T21:18:15.000Z
vispy/geometry/isosurface.py
astrofrog/vispy
fa5e2eab9bb3d956f87ae68a56e342913e58a305
[ "BSD-3-Clause" ]
null
null
null
import numpy as np _data_cache = None def isosurface(data, level): """ Generate isosurface from volumetric data using marching cubes algorithm. See Paul Bourke, "Polygonising a Scalar Field" (http://paulbourke.net/geometry/polygonise/) *data* 3D numpy array of scalar values *level* ...
43.638478
79
0.392035
3,700
20,641
2.165676
0.106216
0.009734
0.00599
0.002496
0.132535
0.089854
0.042181
0.038438
0.028204
0.028204
0
0.306803
0.408943
20,641
472
80
43.730932
0.35
0.130711
0
0.010554
1
0
0
0
0
0
0.070807
0
0
1
0.005277
false
0
0.002639
0
0.013193
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
07d9bb6ce9948b70f65a86309039e64e841c9b34
4,673
py
Python
app/__init__.py
docusign/eg-03-python-auth-code-grant
e92913e25f753fb6b52fc3da6bc4b76c49c75b37
[ "MIT" ]
7
2019-05-09T05:17:35.000Z
2020-05-06T14:27:51.000Z
app/__init__.py
docusign/eg-03-python-auth-code-grant
e92913e25f753fb6b52fc3da6bc4b76c49c75b37
[ "MIT" ]
1
2019-06-25T23:06:34.000Z
2019-06-25T23:06:34.000Z
app/__init__.py
docusign/eg-03-python-auth-code-grant
e92913e25f753fb6b52fc3da6bc4b76c49c75b37
[ "MIT" ]
8
2019-06-21T23:57:48.000Z
2020-02-11T18:58:34.000Z
import os from flask import Flask, session from flask_wtf.csrf import CSRFProtect from .ds_config import DS_CONFIG from .eSignature import views as esignature_views from .docusign.views import ds from .api_type import EXAMPLES_API_TYPE from .rooms import views as rooms_views from .click import views as click_views fr...
38.303279
62
0.799486
604
4,673
5.884106
0.195364
0.191896
0.348903
0.312324
0.687113
0.060777
0
0
0
0
0
0.043332
0.111064
4,673
121
63
38.619835
0.812229
0.058849
0
0.10101
0
0
0.039426
0.006153
0
0
0
0
0
1
0
false
0
0.131313
0
0.131313
0.626263
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
07f3ac06263e2b89a8aeacbabde18cb467e1977e
317
py
Python
tests/unit/modules/test_deploy.py
MatthieuBlais/freeldep
092de3c603a28b9d12e9ad93d6c0cca773469c9f
[ "Apache-2.0" ]
null
null
null
tests/unit/modules/test_deploy.py
MatthieuBlais/freeldep
092de3c603a28b9d12e9ad93d6c0cca773469c9f
[ "Apache-2.0" ]
null
null
null
tests/unit/modules/test_deploy.py
MatthieuBlais/freeldep
092de3c603a28b9d12e9ad93d6c0cca773469c9f
[ "Apache-2.0" ]
null
null
null
import pytest from freeldep.modules.deploy import deploy_project def test_deploy_project(): with pytest.raises(FileNotFoundError): deploy_project("test", "test", "test.yaml") with pytest.raises(RuntimeError): deploy_project("test", "test", "tests/data/stack.yaml", "tests/data/package.sh")
28.818182
88
0.719243
39
317
5.717949
0.487179
0.233184
0.143498
0.188341
0
0
0
0
0
0
0
0
0.14511
317
10
89
31.7
0.822878
0
0
0
0
0
0.211356
0.132492
0
0
0
0
0
1
0.142857
true
0
0.285714
0
0.428571
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
07fd985199f72780788e4dfb36831ae1e7c6bdab
352
py
Python
mpf/analysis/__init__.py
tartopum/MPF
181dad124e27c006c562bbf31237c7faac26b53a
[ "MIT" ]
null
null
null
mpf/analysis/__init__.py
tartopum/MPF
181dad124e27c006c562bbf31237c7faac26b53a
[ "MIT" ]
null
null
null
mpf/analysis/__init__.py
tartopum/MPF
181dad124e27c006c562bbf31237c7faac26b53a
[ "MIT" ]
null
null
null
""" Contain classes to analyze data: load them if they exist, else generate them and save them. { 'type': int, 'label': int, 'parents': [ObjectId], 'settings': {}, 'data': any } """ from .abstracts import cache from .acf import acf from .differencing import differencing from .pacf import pacf f...
18.526316
76
0.676136
45
352
5.288889
0.644444
0
0
0
0
0
0
0
0
0
0
0
0.213068
352
18
77
19.555556
0.859206
0.553977
0
0
1
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
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ed00c22d67ced894e287fa0b98ff045d0681c624
279
py
Python
radonarr/__init__.py
Vacant0mens/python-radonarr
ebbd9e38696d40634d7cafe19296818bfb37a832
[ "MIT" ]
null
null
null
radonarr/__init__.py
Vacant0mens/python-radonarr
ebbd9e38696d40634d7cafe19296818bfb37a832
[ "MIT" ]
null
null
null
radonarr/__init__.py
Vacant0mens/python-radonarr
ebbd9e38696d40634d7cafe19296818bfb37a832
[ "MIT" ]
null
null
null
"""Asynchronous Python client for Radonarr.""" from .exceptions import ( # noqa RadonarrAccessRestricted, RadonarrConnectionError, RadonarrError, RadonarrResourceNotFound, ) from .client import Client from .sonarr import Sonarr from .radarr import Radarr # noqa
23.25
46
0.763441
26
279
8.192308
0.576923
0
0
0
0
0
0
0
0
0
0
0
0.168459
279
11
47
25.363636
0.918103
0.182796
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ed20c570ac678a169ce0dd62cdf08fad2a817e93
417
py
Python
insurance_items/models.py
kingAndGithub/hdb
e620fc223d33628a395ac02a8c541adf643667d6
[ "Apache-2.0" ]
null
null
null
insurance_items/models.py
kingAndGithub/hdb
e620fc223d33628a395ac02a8c541adf643667d6
[ "Apache-2.0" ]
null
null
null
insurance_items/models.py
kingAndGithub/hdb
e620fc223d33628a395ac02a8c541adf643667d6
[ "Apache-2.0" ]
null
null
null
from __future__ import unicode_literals from django.db import models # Create your models here. from insurance_items.const import INSURANCE_RANGE class InsuranceOrder(models.Model): range = models.CharField(choices=INSURANCE_RANGE, verbose_name="保险周期") start_date = models.DateField(verbose_name='起保时间') ...
29.785714
74
0.788969
55
417
5.709091
0.581818
0.105096
0.121019
0.165605
0.216561
0.216561
0
0
0
0
0
0.00274
0.1247
417
13
75
32.076923
0.857534
0.057554
0
0
0
0
0.030691
0
0
0
0
0
0
1
0
false
0
0.375
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ed319d31895889989bebc6f935a5711215d8fa8d
16,507
py
Python
autotest/gdrivers/postgisraster.py
mihadyuk/gdal
d4627981715b82ff368547ef00ef26e0b9207048
[ "MIT" ]
null
null
null
autotest/gdrivers/postgisraster.py
mihadyuk/gdal
d4627981715b82ff368547ef00ef26e0b9207048
[ "MIT" ]
null
null
null
autotest/gdrivers/postgisraster.py
mihadyuk/gdal
d4627981715b82ff368547ef00ef26e0b9207048
[ "MIT" ]
null
null
null
#!/usr/bin/env python ############################################################################### # $Id$ # # Project: GDAL/OGR Test Suite # Purpose: PostGISRaster Testing. # Author: Jorge Arevalo <jorge.arevalo@libregis.org> # David Zwarg <dzwarg@azavea.com> # ########################################...
34.389583
148
0.64197
1,970
16,507
5.190355
0.16802
0.022494
0.08489
0.10132
0.773496
0.757946
0.716186
0.677653
0.66357
0.648606
0
0.007858
0.213606
16,507
479
149
34.461378
0.779832
0.207427
0
0.699605
0
0.007905
0.157882
0.028151
0
0
0
0
0
1
0.067194
false
0.003953
0.023715
0
0.312253
0.01581
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
ed43ea59e5e445ebcb87e733bff7ef85b44b8625
3,891
py
Python
bddtests/steps/contexthelper.py
drakejund/contract
e1dbfcff94f348a0040062fd04c48b0e42b64762
[ "Apache-2.0" ]
172
2017-10-12T07:56:32.000Z
2022-03-10T11:08:02.000Z
bddtests/steps/contexthelper.py
Cielo2017/hyperledger-fabric-gm
40f2d1d03a96872b52cf6c5ba8a5c634e36089a6
[ "Apache-2.0" ]
17
2019-01-08T07:21:18.000Z
2020-11-17T03:46:27.000Z
bddtests/steps/contexthelper.py
Cielo2017/hyperledger-fabric-gm
40f2d1d03a96872b52cf6c5ba8a5c634e36089a6
[ "Apache-2.0" ]
89
2017-09-14T04:38:56.000Z
2021-05-21T17:24:48.000Z
# Copyright IBM Corp. 2017 All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 # import uuid import os import shutil from slugify import slugify class Context(object): def __init__(self): pass def __setattr__(self, attr, value): self.__dict__[attr] = value def __getattr__(self,...
32.157025
152
0.650989
446
3,891
5.526906
0.284753
0.031643
0.024341
0.022312
0.230832
0.230832
0.118864
0.08641
0.08641
0.08641
0
0.004128
0.252891
3,891
120
153
32.425
0.843825
0.151375
0
0.197531
0
0.012346
0.069056
0
0
0
0
0
0.012346
1
0.259259
false
0.061728
0.061728
0.08642
0.506173
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
ed45079c34ea81778c41ca28411009b09f8ebfa2
1,345
py
Python
mymodels.py
CROSS-ZiyuanLiao/TFR_FLDenseNet
9faf10baafa13af9cf0624f3d881b47d23536820
[ "MIT" ]
null
null
null
mymodels.py
CROSS-ZiyuanLiao/TFR_FLDenseNet
9faf10baafa13af9cf0624f3d881b47d23536820
[ "MIT" ]
null
null
null
mymodels.py
CROSS-ZiyuanLiao/TFR_FLDenseNet
9faf10baafa13af9cf0624f3d881b47d23536820
[ "MIT" ]
null
null
null
import waternets import torchvision.models as m class MyModels: # waternet = waternets.WaterNet() # waternetsf = waternets.WaterNetSmallFC() # waternetconvfc = waternets.WaterNetConvFC() # waterdsnet = waternets.WaterDenseNet() # waterdsnetf = waternets.WaterDenseNetFinal() # waterdsnetf_in4_...
42.03125
178
0.782156
161
1,345
6.21118
0.229814
0.08
0.12
0.076
0.494
0.442
0.442
0.413
0.362
0.362
0
0.015424
0.132342
1,345
31
179
43.387097
0.841474
0.29145
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.133333
0.4
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
ed4f1f55ef57b23eb323b30611ad8a9c545e7610
297
py
Python
contenedores/urls.py
tedesco8/dj_restApi
58e54fa5f444a6fdec8f622ceab6480daa8368ea
[ "MIT" ]
1
2020-03-25T14:18:13.000Z
2020-03-25T14:18:13.000Z
contenedores/urls.py
tedesco8/api-rest-django
58e54fa5f444a6fdec8f622ceab6480daa8368ea
[ "MIT" ]
9
2020-11-19T16:25:31.000Z
2021-09-22T19:38:38.000Z
contenedores/urls.py
tedesco8/api-rest-django
58e54fa5f444a6fdec8f622ceab6480daa8368ea
[ "MIT" ]
1
2020-03-04T03:34:56.000Z
2020-03-04T03:34:56.000Z
from contenedores.views import ContenedorViewSet, CoordenadasList from rest_framework.routers import DefaultRouter app_name="contenedores" router = DefaultRouter() router.register(r'contenedores', ContenedorViewSet,'contenedores') router.register(r'coordenadas', CoordenadasList,'coordenadas' ),
37.125
66
0.841751
29
297
8.551724
0.551724
0.145161
0.120968
0
0
0
0
0
0
0
0
0
0.063973
297
7
67
42.428571
0.892086
0
0
0
0
0
0.195286
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
ed5a1674349747cf37341bfdd27b0390e021c0b1
465
py
Python
nova-core/plugins/hello_world_plugin.py
jmcrumb/open-virtual-assistant
6d02d0f61f3d7ae8b8c101c5b8c5b5cafd299ffa
[ "MIT" ]
null
null
null
nova-core/plugins/hello_world_plugin.py
jmcrumb/open-virtual-assistant
6d02d0f61f3d7ae8b8c101c5b8c5b5cafd299ffa
[ "MIT" ]
2
2022-02-04T18:44:30.000Z
2022-03-17T04:04:12.000Z
nova-core/plugins/hello_world_plugin.py
jmcrumb/open-virtual-assistant
6d02d0f61f3d7ae8b8c101c5b8c5b5cafd299ffa
[ "MIT" ]
null
null
null
from core.abstract_plugin import NovaPlugin class HelloWorldPlugin(NovaPlugin): def get_keywords(self) -> list: return ['hello', 'hi', 'hey'] def execute(self, command: str) -> str: if ('hello' in command, 'hi' in command or 'hey' in command): return 'Hello! My name is Nova. How c...
31
69
0.621505
62
465
4.612903
0.596774
0.094406
0.097902
0.118881
0
0
0
0
0
0
0
0
0.268817
465
15
70
31
0.841176
0
0
0
0
0
0.206009
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.9
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
ed5b0382f25c2616b0a0d873ab5366af5c2e9600
351
py
Python
example/issues/445_casting/app.py
RonnyPfannschmidt/dynaconf
3223f6586aa6ae3ef7b5cd7d198fb950f5038526
[ "MIT" ]
2,293
2015-08-14T22:39:31.000Z
2022-03-31T12:44:49.000Z
example/issues/445_casting/app.py
RonnyPfannschmidt/dynaconf
3223f6586aa6ae3ef7b5cd7d198fb950f5038526
[ "MIT" ]
676
2015-08-20T19:29:56.000Z
2022-03-31T13:45:51.000Z
example/issues/445_casting/app.py
RonnyPfannschmidt/dynaconf
3223f6586aa6ae3ef7b5cd7d198fb950f5038526
[ "MIT" ]
255
2015-12-02T21:16:33.000Z
2022-03-20T22:03:46.000Z
from dynaconf import Dynaconf settings = Dynaconf(load_dotenv=True) assert settings.get("UPSTREAM_ROOK.BUILD_ROOK_FROM_GIT") == "TRUE" assert ( settings.as_bool("UPSTREAM_ROOK.BUILD_ROOK_FROM_GIT") is True ), settings.as_bool("UPSTREAM_ROOK.BUILD_ROOK_FROM_GIT") assert settings.get("UPSTREAM_ROOK__BUILD_ROOK_FR...
29.25
79
0.80057
53
351
4.90566
0.320755
0.184615
0.261538
0.323077
0.669231
0.669231
0.669231
0.669231
0.669231
0
0
0
0.088319
351
11
80
31.909091
0.8125
0
0
0
0
0
0.404558
0.378917
0
0
0
0
0.428571
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
ed5b44956171269d3a768505362eb335c8637730
8,056
py
Python
scripts/multijoin.py
liufuyang/scio
dfc780a0fa2ad8bf2e25628940a0a8c3dc3e99e1
[ "Apache-2.0" ]
null
null
null
scripts/multijoin.py
liufuyang/scio
dfc780a0fa2ad8bf2e25628940a0a8c3dc3e99e1
[ "Apache-2.0" ]
null
null
null
scripts/multijoin.py
liufuyang/scio
dfc780a0fa2ad8bf2e25628940a0a8c3dc3e99e1
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # Copyright 2016 Spotify AB. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicabl...
32.615385
120
0.550149
1,040
8,056
4.250962
0.170192
0.091834
0.116716
0.029405
0.723592
0.707532
0.701199
0.673151
0.673151
0.606876
0
0.005533
0.282026
8,056
246
121
32.747967
0.758817
0.07721
0
0.558659
0
0.005587
0.47504
0.121155
0
0
0
0
0
1
0.061453
false
0
0.044693
0.027933
0.139665
0.324022
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
ed697b4fe41783c0939e0a97ab0da6109373753b
1,143
py
Python
setup.py
kuroni/optimus-manager
2743ecca7fdeed722c0b227ca9041f656bc4d496
[ "MIT" ]
null
null
null
setup.py
kuroni/optimus-manager
2743ecca7fdeed722c0b227ca9041f656bc4d496
[ "MIT" ]
null
null
null
setup.py
kuroni/optimus-manager
2743ecca7fdeed722c0b227ca9041f656bc4d496
[ "MIT" ]
null
null
null
#!/usr/bin/env python from os.path import dirname, join from setuptools import setup setup( name='optimus-manager', version='0.7.1', description='Management utility for Optimus laptops on Linux.', long_description=open( join(dirname(__file__), 'README.md')).read(), url='https://github.com/...
35.71875
98
0.663167
128
1,143
5.734375
0.570313
0.305177
0.143052
0.190736
0
0
0
0
0
0
0
0.004306
0.187227
1,143
31
99
36.870968
0.785791
0.017498
0
0.071429
0
0
0.540998
0.249554
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ed6f221db1edd74a85440ddf0bbbd623930b74b4
132
py
Python
Curso Udemy 2022/Curso_Luiz_Otavio/Aula 37.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
Curso Udemy 2022/Curso_Luiz_Otavio/Aula 37.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
Curso Udemy 2022/Curso_Luiz_Otavio/Aula 37.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
texto = 'python' for l in texto: if l == 't': l += 't'.upper() print(l,end='') else: print(l,end='')
18.857143
24
0.416667
19
132
2.894737
0.578947
0.072727
0.327273
0
0
0
0
0
0
0
0
0
0.363636
132
7
25
18.857143
0.654762
0
0
0.285714
0
0
0.06015
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ed8380c02b9cedcfe2d21870baa2b60d8345a157
576
py
Python
force_wfmanager/tests/dummy_classes/dummy_factory.py
force-h2020/force-wfmanager
bcd488cd37092cacd9d0c81b544ee8c1654d1d92
[ "BSD-2-Clause" ]
1
2019-08-19T16:02:20.000Z
2019-08-19T16:02:20.000Z
force_wfmanager/tests/dummy_classes/dummy_factory.py
force-h2020/force-wfmanager
bcd488cd37092cacd9d0c81b544ee8c1654d1d92
[ "BSD-2-Clause" ]
396
2017-07-18T15:19:55.000Z
2021-05-03T06:23:06.000Z
force_wfmanager/tests/dummy_classes/dummy_factory.py
force-h2020/force-wfmanager
bcd488cd37092cacd9d0c81b544ee8c1654d1d92
[ "BSD-2-Clause" ]
2
2019-03-05T16:23:10.000Z
2020-04-16T08:59:11.000Z
# (C) Copyright 2010-2020 Enthought, Inc., Austin, TX # All rights reserved. from force_bdss.data_sources.base_data_source_factory import ( BaseDataSourceFactory ) from force_bdss.tests.dummy_classes.data_source import ( DummyDataSource, DummyDataSourceModel ) class DummyFactory(BaseDataSourceFactory): ...
24
62
0.734375
65
576
6.276923
0.569231
0.058824
0.063725
0
0
0
0
0
0
0
0
0.017316
0.197917
576
23
63
25.043478
0.865801
0.126736
0
0
0
0
0.062124
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.266667
0.733333
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
71ea4f64abf7fc2ff4277f1ad4d6c46a31b7050c
215
py
Python
jdhseo/urls.py
C2DH/jdhbackend
37efb0c5a6e1ea2acf8aca477d052a4e33f9bf40
[ "MIT" ]
null
null
null
jdhseo/urls.py
C2DH/jdhbackend
37efb0c5a6e1ea2acf8aca477d052a4e33f9bf40
[ "MIT" ]
59
2020-11-27T08:58:35.000Z
2022-03-30T15:54:01.000Z
jdhseo/urls.py
C2DH/jdhbackend
37efb0c5a6e1ea2acf8aca477d052a4e33f9bf40
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('article/<str:pid>/', views.ArticleDetail, name='article-detail'), path('issue/<str:pid>/', views.IssueDetail, name='issue-detail'), ]
23.888889
75
0.688372
27
215
5.481481
0.555556
0.081081
0.148649
0
0
0
0
0
0
0
0
0
0.130233
215
8
76
26.875
0.791444
0
0
0
0
0
0.27907
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
9c0b3206aabf4623e254712da9cc8956f9274522
166
py
Python
djff2html/v.py
20x48/djff2html
03e14cb2a06dd490d299fc1c42039c03fbf507b2
[ "MIT" ]
1
2022-02-04T13:57:56.000Z
2022-02-04T13:57:56.000Z
djff2html/v.py
20x48/djff2html
03e14cb2a06dd490d299fc1c42039c03fbf507b2
[ "MIT" ]
null
null
null
djff2html/v.py
20x48/djff2html
03e14cb2a06dd490d299fc1c42039c03fbf507b2
[ "MIT" ]
null
null
null
__version__ = '0.1.0' # The `__version__` must be on the first line, and there must be a newline at the end, instead of extra trailing spaces, semicolons or comments.
83
144
0.759036
29
166
4.068966
0.793103
0.101695
0
0
0
0
0
0
0
0
0
0.021739
0.168675
166
2
144
83
0.833333
0.855422
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9c21066e9439847733d147453fc15d864747c03e
340
py
Python
attachment.py
zonradkuse/mail2cloud
3c945a67b165c7bee27c85182d5256b0eaffe119
[ "MIT" ]
null
null
null
attachment.py
zonradkuse/mail2cloud
3c945a67b165c7bee27c85182d5256b0eaffe119
[ "MIT" ]
null
null
null
attachment.py
zonradkuse/mail2cloud
3c945a67b165c7bee27c85182d5256b0eaffe119
[ "MIT" ]
null
null
null
class Attachment(object): def __init__(self, name, data, length, content_type, origin): self.name = name self.data = data self.length = length self.content_type = content_type self.origin = origin def __str__(self): return f"[{self.length} byte; {self.content_ty...
26.153846
72
0.620588
42
340
4.738095
0.380952
0.221106
0.150754
0
0
0
0
0
0
0
0
0
0.264706
340
12
73
28.333333
0.796
0
0
0
0
0
0.159292
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
9c34a78fc8fc48df4b8627d89668df7024c35b2c
168
py
Python
Worker/WebCheck/wafw00f/plugins/wallarm.py
p4sschen/Toy4Recon
e4fa6a512b238cca6d6d072ed5c66899de60bb06
[ "MIT" ]
1
2020-12-16T13:14:05.000Z
2020-12-16T13:14:05.000Z
Worker/WebCheck/wafw00f/plugins/wallarm.py
p4sschen/Toy4Recon
e4fa6a512b238cca6d6d072ed5c66899de60bb06
[ "MIT" ]
null
null
null
Worker/WebCheck/wafw00f/plugins/wallarm.py
p4sschen/Toy4Recon
e4fa6a512b238cca6d6d072ed5c66899de60bb06
[ "MIT" ]
null
null
null
#!/usr/bin/env python NAME = 'Wallarm (Wallarm Inc.)' def is_waf(self): if self.matchheader(('Server', r"nginx\-wallarm")): return True return False
16.8
55
0.630952
23
168
4.565217
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.208333
168
9
56
18.666667
0.789474
0.119048
0
0
0
0
0.285714
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9c3843d8f53c1b92c3e1a29635dfe4366dc3414e
63
py
Python
litcm/version.py
arjunth2001/litcm
448a5fbcb23a9ed8f23c4e33e929d3bd4e0719cb
[ "MIT" ]
19
2015-09-10T18:56:38.000Z
2021-09-01T13:25:34.000Z
litcm/version.py
arjunth2001/litcm
448a5fbcb23a9ed8f23c4e33e929d3bd4e0719cb
[ "MIT" ]
1
2016-04-21T12:32:39.000Z
2016-04-21T12:32:39.000Z
litcm/version.py
arjunth2001/litcm
448a5fbcb23a9ed8f23c4e33e929d3bd4e0719cb
[ "MIT" ]
18
2015-08-23T04:56:48.000Z
2022-03-15T07:54:32.000Z
from __future__ import unicode_literals __version__ = "1.1.0"
15.75
39
0.793651
9
63
4.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0.054545
0.126984
63
3
40
21
0.690909
0
0
0
0
0
0.079365
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
9c3a3f07ddbafbb96ff698c38ed3577168de807e
355
py
Python
web/form2.py
SabrinaKung/Movie-Recommendation-System
e4a5d355008ab875deb28f5f72a00dbc17414d3c
[ "MIT" ]
1
2021-03-19T14:57:34.000Z
2021-03-19T14:57:34.000Z
web/form2.py
SabrinaKung/DBMS20202_final
e4a5d355008ab875deb28f5f72a00dbc17414d3c
[ "MIT" ]
null
null
null
web/form2.py
SabrinaKung/DBMS20202_final
e4a5d355008ab875deb28f5f72a00dbc17414d3c
[ "MIT" ]
5
2020-05-12T11:04:44.000Z
2020-05-31T14:08:00.000Z
from flask_wtf import Form from wtforms import StringField, SubmitField, validators, PasswordField, SelectField from wtforms.fields.html5 import EmailField import sys import psycopg2 from flask import request class FormDelete(Form): c_list = StringField('ID', validators=[ validators.DataRequired(), ])...
25.357143
84
0.760563
40
355
6.7
0.625
0.067164
0
0
0
0
0
0
0
0
0
0.006711
0.160563
355
13
85
27.307692
0.892617
0
0
0
0
0
0.019718
0
0
0
0
0
0
1
0
false
0.090909
0.545455
0
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
9c412f39f5548df014b1f986553686436efff6c1
4,191
py
Python
database/mysql/db.py
Jesse3692/python_note
d03df751c880601c5e0f4b2c26878d277e916908
[ "MIT" ]
null
null
null
database/mysql/db.py
Jesse3692/python_note
d03df751c880601c5e0f4b2c26878d277e916908
[ "MIT" ]
1
2021-05-20T10:20:37.000Z
2021-05-21T06:35:21.000Z
database/mysql/db.py
Jesse3692/python_note
d03df751c880601c5e0f4b2c26878d277e916908
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine, Column, Integer, String, ForeignKey from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, backref # 引入Table类 from sqlalchemy import Table engine = create_engine('mysql+pymysql://root:123456@localhost:3306/study?charset=utf8') Base = decla...
63.5
2,080
0.358626
245
4,191
5.910204
0.35102
0.053867
0.058011
0.049724
0.19268
0.176105
0.165055
0.111188
0.111188
0.111188
0
0.01505
0.57194
4,191
66
2,080
63.5
0.792085
0.078024
0
0.166667
0
0
0.05893
0.015836
0
0
0
0
0
1
0.095238
false
0
0.095238
0.095238
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9c544943f1b7944fdc43352183b0821c0ebce905
172
py
Python
src/decorators.py
Cyclip/SoSoBot
271a9c56ee8b83616d21acb1920435f53c97ebc2
[ "MIT" ]
null
null
null
src/decorators.py
Cyclip/SoSoBot
271a9c56ee8b83616d21acb1920435f53c97ebc2
[ "MIT" ]
null
null
null
src/decorators.py
Cyclip/SoSoBot
271a9c56ee8b83616d21acb1920435f53c97ebc2
[ "MIT" ]
1
2021-03-26T18:28:04.000Z
2021-03-26T18:28:04.000Z
import config from discord.ext import commands def owner_required(ctx): if ctx.message.author.id in config.owners: return True else: return False
17.2
46
0.69186
24
172
4.916667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.25
172
9
47
19.111111
0.914729
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
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
9c54f43f679e13eeb71ae0afd6fb75d4a80b31e5
1,459
py
Python
tests/test_scroll_menu.py
telday/py_cui
9f7a5f9a72733effd5e50322774988ca998a5e8a
[ "BSD-3-Clause" ]
null
null
null
tests/test_scroll_menu.py
telday/py_cui
9f7a5f9a72733effd5e50322774988ca998a5e8a
[ "BSD-3-Clause" ]
null
null
null
tests/test_scroll_menu.py
telday/py_cui
9f7a5f9a72733effd5e50322774988ca998a5e8a
[ "BSD-3-Clause" ]
null
null
null
import pytest import py_cui grid_test = py_cui.grid.Grid(10, 10, 100, 100) scroll = py_cui.widgets.ScrollMenu('1', 'Scroll', grid_test, 0, 0, 1, 1, 1, 0) scroll.selected = True elems = ["Elem0","Elem1","Elem2","Elem3","Elem4"] def test_add_item_list(): scroll.add_item_list(elems) counter = 0 for item ...
26.527273
78
0.663468
205
1,459
4.531707
0.195122
0.206674
0.193757
0.206674
0.636168
0.546825
0.546825
0.432723
0.402583
0.312164
0
0.035345
0.204935
1,459
55
79
26.527273
0.765517
0
0
0.577778
0
0
0.04589
0
0
0
0
0
0.377778
1
0.088889
false
0
0.044444
0
0.133333
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
92bf0cc8b375046f4b8619ba21e53d36737f6bc7
396
py
Python
Code Challenges/python/footballsnumbereda.py
lineality/Coding-Challenges-Study-Practice
76d868b11b42b3bd3634f9a62abecb2e1eaac76d
[ "MIT" ]
null
null
null
Code Challenges/python/footballsnumbereda.py
lineality/Coding-Challenges-Study-Practice
76d868b11b42b3bd3634f9a62abecb2e1eaac76d
[ "MIT" ]
1
2021-06-24T17:39:48.000Z
2021-06-24T17:39:48.000Z
Code Challenges/python/footballsnumbereda.py
lineality/Coding-Study
76d868b11b42b3bd3634f9a62abecb2e1eaac76d
[ "MIT" ]
null
null
null
# (User) Problem # We know / We have: 3 number: win draw lose # We need / We don't have: points for team # We must: use: 3 points for win, 1 for draw, 0 for loss # name of function must be: football_points # # Solution (Product) # function with 3 inputs def football_points(wins, draws, losses): return wins * 3 + dr...
24.75
56
0.679293
68
396
3.911765
0.602941
0.157895
0
0
0
0
0
0
0
0
0
0.022654
0.219697
396
15
57
26.4
0.838188
0.760101
0
0
0
0
0
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
92c905d87016a9367452996ab0ea2c321b8a14aa
18,319
py
Python
tests/test_MKS.py
drunsinn/pyXSteam
8d1f178fa59ee99b269fd1d3b88d5cf4b8ad74af
[ "BSD-3-Clause" ]
27
2015-03-14T09:24:41.000Z
2022-03-19T16:39:48.000Z
tests/test_MKS.py
drunsinn/pyXSteam
8d1f178fa59ee99b269fd1d3b88d5cf4b8ad74af
[ "BSD-3-Clause" ]
6
2017-10-11T15:13:02.000Z
2021-03-24T08:05:51.000Z
tests/test_MKS.py
drunsinn/pyXSteam
8d1f178fa59ee99b269fd1d3b88d5cf4b8ad74af
[ "BSD-3-Clause" ]
13
2017-10-11T08:07:06.000Z
2021-07-25T01:28:46.000Z
# -*- coding: utf-8 -*- """ These Tests are taken form the original XSteam Matlab Script. Some Errors are calculated with the help of numpy matrix functions. """ import unittest from pyXSteam.XSteam import XSteam class MKS_FunctionTester(unittest.TestCase): def setUp(self): self.maxError = 1E-6 ...
54.683582
140
0.646269
2,820
18,319
4.085106
0.074823
0.165625
0.089149
0.157726
0.881771
0.682726
0.454514
0.454514
0.454514
0.454514
0
0.076959
0.187838
18,319
334
141
54.847305
0.697338
0.008297
0
0
0
0
0.246159
0
0
0
0
0
0.322449
1
0.330612
false
0.326531
0.008163
0
0.342857
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
92cdf0bdf1970bf62ca959288e69437338db1c44
569
py
Python
src/python/pants/backend/python/lint/black/register.py
yoav-orca/pants
995448e9add343975844c7a43d5d64618fc4e4d9
[ "Apache-2.0" ]
1,806
2015-01-05T07:31:00.000Z
2022-03-31T11:35:41.000Z
src/python/pants/backend/python/lint/black/register.py
yoav-orca/pants
995448e9add343975844c7a43d5d64618fc4e4d9
[ "Apache-2.0" ]
9,565
2015-01-02T19:01:59.000Z
2022-03-31T23:25:16.000Z
src/python/pants/backend/python/lint/black/register.py
riisi/pants
b33327389fab67c47b919710ea32f20ca284b1a6
[ "Apache-2.0" ]
443
2015-01-06T20:17:57.000Z
2022-03-31T05:28:17.000Z
# Copyright 2019 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). """Autoformatter for Python. See https://www.pantsbuild.org/docs/python-linters-and-formatters and https://black.readthedocs.io/en/stable/. """ from pants.backend.python.lint import pyth...
33.470588
95
0.771529
81
569
5.345679
0.530864
0.062356
0.110855
0.152425
0.230947
0.170901
0.170901
0
0
0
0
0.011719
0.100176
569
16
96
35.5625
0.833984
0.465729
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.6
0.2
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
1
0
0
0
3
92d5aa8ec252894c8e28c7c476c0ed2787d85a98
21,531
py
Python
tests/CircumbinaryOrbit/test_CircumbinaryOrbit.py
jrlivesey/vplanet
4384221baa78e81d46b0c0fcb7de2f5a5de2e83c
[ "MIT" ]
null
null
null
tests/CircumbinaryOrbit/test_CircumbinaryOrbit.py
jrlivesey/vplanet
4384221baa78e81d46b0c0fcb7de2f5a5de2e83c
[ "MIT" ]
null
null
null
tests/CircumbinaryOrbit/test_CircumbinaryOrbit.py
jrlivesey/vplanet
4384221baa78e81d46b0c0fcb7de2f5a5de2e83c
[ "MIT" ]
null
null
null
import astropy.units as u import pytest from benchmark import Benchmark, benchmark @benchmark( { "log.initial.system.Age": {"value": 0.000000, "unit": u.sec}, "log.initial.system.Time": {"value": 0.000000, "unit": u.sec}, "log.initial.system.TotAngMom": { "value": 3.818006e38, ...
61.517143
88
0.563978
2,753
21,531
4.410825
0.057029
0.082352
0.093305
0.083011
0.936836
0.93346
0.697768
0.688792
0.66771
0.195998
0
0.128053
0.203149
21,531
349
89
61.69341
0.579705
0
0
0.106628
0
0
0.452835
0.32855
0
0
0
0
0
1
0
true
0.002882
0.008646
0
0.011527
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
92e2ca1fffb7e3f5b1c66e0153dca6bc2018e3ac
16,728
py
Python
test/test_does_quack.py
rogerhe/interpret-community
ea38a3b4ad896a7cce4bbfde85bac8fc27f88908
[ "MIT" ]
1
2020-03-29T15:12:39.000Z
2020-03-29T15:12:39.000Z
test/test_does_quack.py
chhetri22/interpret-community
e61652111ac4badda2212926ad9d56ab7b56ad27
[ "MIT" ]
null
null
null
test/test_does_quack.py
chhetri22/interpret-community
e61652111ac4badda2212926ad9d56ab7b56ad27
[ "MIT" ]
null
null
null
# --------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # --------------------------------------------------------- import pytest import logging import numpy as np from interpret_community.explanation.explanation import BaseExplanation, FeatureImportanc...
33.190476
117
0.609876
1,407
16,728
7.002132
0.129353
0.076127
0.060394
0.030857
0.534409
0.48782
0.376573
0.293341
0.264413
0.262485
0
0.007172
0.299797
16,728
503
118
33.256461
0.833945
0.010342
0
0.576227
0
0
0.073953
0.0374
0
0
0
0
0.121447
1
0.245478
false
0
0.108527
0.193798
0.635659
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
13029ea483f0e584af233dad39840a27600e5a94
147
py
Python
deep_utils/callbacks/tf_keras/__init__.py
FeryET/deep_utils
be671aa1bfa0dfb0a2ca5675701c2383faed3e70
[ "MIT" ]
11
2021-05-26T09:29:17.000Z
2021-11-02T15:58:34.000Z
deep_utils/callbacks/tf_keras/__init__.py
MenuaB/deep_utils
b1b936f4780ea7dc52224f53f5116288c5b0a804
[ "MIT" ]
15
2021-07-24T06:23:04.000Z
2021-09-18T05:30:20.000Z
deep_utils/callbacks/tf_keras/__init__.py
MenuaB/deep_utils
b1b936f4780ea7dc52224f53f5116288c5b0a804
[ "MIT" ]
4
2021-07-20T09:36:08.000Z
2021-09-18T08:31:17.000Z
from deep_utils.utils.lib_utils.main_utils import import_module LRScalar = import_module( 'deep_utils.callbacks.tf_keras.lr', 'LRScalar')
24.5
63
0.782313
21
147
5.142857
0.571429
0.166667
0
0
0
0
0
0
0
0
0
0
0.122449
147
5
64
29.4
0.837209
0
0
0
0
0
0.272109
0.217687
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
130a97cb1fa150dfa2c0ca8dc2f06c383c0b2511
884
py
Python
src/core/migrations/0005_auto_20191130_0400.py
nickho6617/threecows
beef82251a1f8a41216a1c59f5c3162ddf18ce9d
[ "MIT" ]
null
null
null
src/core/migrations/0005_auto_20191130_0400.py
nickho6617/threecows
beef82251a1f8a41216a1c59f5c3162ddf18ce9d
[ "MIT" ]
null
null
null
src/core/migrations/0005_auto_20191130_0400.py
nickho6617/threecows
beef82251a1f8a41216a1c59f5c3162ddf18ce9d
[ "MIT" ]
null
null
null
# Generated by Django 2.2.7 on 2019-11-30 04:00 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0004_bovid'), ] operations = [ migrations.AlterField( model_name='bovid', name='date_of_birth', ...
26
58
0.556561
90
884
5.333333
0.411111
0.166667
0.208333
0.241667
0.670833
0.670833
0.670833
0.59375
0.502083
0.502083
0
0.031773
0.323529
884
33
59
26.787879
0.770903
0.050905
0
0.592593
1
0
0.101553
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
131970c1aa0bb20f15df42419bdce2a52235c679
175
py
Python
Pacotes de download/CursoEmVideo/Manipulando texto/Analisador de texto.py
sousabianca/python-3
7ab3992ccff9d6030899eeb8801132af00ed83b4
[ "MIT" ]
1
2021-11-25T00:23:52.000Z
2021-11-25T00:23:52.000Z
Pacotes de download/CursoEmVideo/Manipulando texto/Analisador de texto.py
sousabianca/python-3
7ab3992ccff9d6030899eeb8801132af00ed83b4
[ "MIT" ]
null
null
null
Pacotes de download/CursoEmVideo/Manipulando texto/Analisador de texto.py
sousabianca/python-3
7ab3992ccff9d6030899eeb8801132af00ed83b4
[ "MIT" ]
null
null
null
nome = str(input('Digite seu nome completo: ')).strip() print(nome.upper()) print(nome.lower()) print('O seu nome tem um total de {} letras'.format(len(nome)-nome.count(' ')))
43.75
79
0.68
28
175
4.25
0.678571
0.117647
0
0
0
0
0
0
0
0
0
0
0.102857
175
4
79
43.75
0.757962
0
0
0
0
0
0.357955
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
133dcdb9700d3350aeaa11da0cdf00fb6a396d8e
4,276
py
Python
tests/members/test_members_views.py
effervescent-shot/invenio-communities
449bda37cdfbc1a85b2831b9630a38f134b05cbd
[ "MIT" ]
null
null
null
tests/members/test_members_views.py
effervescent-shot/invenio-communities
449bda37cdfbc1a85b2831b9630a38f134b05cbd
[ "MIT" ]
null
null
null
tests/members/test_members_views.py
effervescent-shot/invenio-communities
449bda37cdfbc1a85b2831b9630a38f134b05cbd
[ "MIT" ]
null
null
null
# # -*- coding: utf-8 -*- # # # # This file is part of Invenio. # # Copyright (C) 2020 CERN. # # # # Invenio is free software; you can redistribute it and/or modify it # # under the terms of the MIT License; see LICENSE file for more details. # """Community module tests.""" import pytest from flask import url_for fro...
31.211679
79
0.667212
532
4,276
5.107143
0.231203
0.062569
0.082444
0.103055
0.762238
0.739787
0.723224
0.665072
0.600294
0.531837
0
0.015854
0.218195
4,276
136
80
31.441176
0.796889
0.080449
0
0.711538
0
0
0.137702
0.050678
0
0
0
0
0.163462
1
0.019231
false
0
0.038462
0
0.057692
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
135c7ce03824e366e182e2ea5e2db24a725a2cf2
7,013
py
Python
app/main.py
JaSamLudiMoskri/aws_automation_BOT
76d9eeda4e427dba42b2f7a7f5d0f2bd9ee64717
[ "MIT" ]
null
null
null
app/main.py
JaSamLudiMoskri/aws_automation_BOT
76d9eeda4e427dba42b2f7a7f5d0f2bd9ee64717
[ "MIT" ]
null
null
null
app/main.py
JaSamLudiMoskri/aws_automation_BOT
76d9eeda4e427dba42b2f7a7f5d0f2bd9ee64717
[ "MIT" ]
null
null
null
import fire import importlib import pkgutil import logging from colorama import Fore def find_and_run_plugins(plugin_prefix): plugins={} print("Just a second") for _,name,_ in pkgutil.iter_modules(): if name.startswith(plugin_prefix): module = importlib.import_module(name) p...
103.132353
151
0.2618
366
7,013
4.967213
0.36612
0.084158
0.053905
0.041804
0.178218
0.083608
0.055006
0.055006
0.055006
0.055006
0
0.013742
0.460431
7,013
68
152
103.132353
0.466702
0
0
0.15873
0
0.031746
0.757628
0.215426
0
0
0
0
0
1
0.031746
false
0
0.095238
0
0.126984
0.349206
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1369dcd375c8dd148a5952ba4c2648f07ab2cc53
269
py
Python
nephelaiio/cloudformation/ubuntu.py
teddyphreak/python-cloudformation
f97a3f8c14c0127b4d16896d2a4f4052c9765d89
[ "MIT" ]
null
null
null
nephelaiio/cloudformation/ubuntu.py
teddyphreak/python-cloudformation
f97a3f8c14c0127b4d16896d2a4f4052c9765d89
[ "MIT" ]
null
null
null
nephelaiio/cloudformation/ubuntu.py
teddyphreak/python-cloudformation
f97a3f8c14c0127b4d16896d2a4f4052c9765d89
[ "MIT" ]
null
null
null
from .images.ubuntu import get_release_image_map from .base import base_template from . import config def ubuntu(release, fn): template = base_template(fn) template.add_mapping(config['regionmap']['name'], get_release_image_map(release)) return template
24.454545
85
0.769517
37
269
5.351351
0.486486
0.10101
0.151515
0.181818
0
0
0
0
0
0
0
0
0.137546
269
10
86
26.9
0.853448
0
0
0
0
0
0.048507
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
139755258bced5fdecd8e7d78728f13609561242
446
py
Python
socrates/utils.py
thurloat/socrates
3653a9a01061c8daf7d5ee79cd41197357979400
[ "BSD-3-Clause" ]
null
null
null
socrates/utils.py
thurloat/socrates
3653a9a01061c8daf7d5ee79cd41197357979400
[ "BSD-3-Clause" ]
null
null
null
socrates/utils.py
thurloat/socrates
3653a9a01061c8daf7d5ee79cd41197357979400
[ "BSD-3-Clause" ]
null
null
null
import re def slugify(value): value = str(re.sub('[^\w\s-]', '', value).strip().lower()) return re.sub('[-\s]+', '-', value) def ligatures(text): # TODO: Georgia doesn't like the following three. # text = text.replace('ft', '&#xFB05;') # text = text.replace('ffl', '&#xFB04;') # text = text.r...
26.235294
62
0.55157
57
446
4.315789
0.578947
0.162602
0.304878
0
0
0
0
0
0
0
0
0.027933
0.197309
446
16
63
27.875
0.659218
0.358744
0
0
0
0
0.125899
0
0
0
0
0.0625
0
1
0.25
false
0
0.125
0
0.625
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
1
0
0
1
0
0
0
0
0
0
0
3
139fefa7ee231e21ca5e01511f4a05bd0e247be0
8,671
py
Python
sympy/polys/orderings.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
sympy/polys/orderings.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
sympy/polys/orderings.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
"""Definitions of monomial orderings. """ from __future__ import print_function, division from typing import Optional __all__ = ["lex", "grlex", "grevlex", "ilex", "igrlex", "igrevlex"] from sympy.core import Symbol from sympy.core.compatibility import iterable class MonomialOrder(object): """Base class for m...
27.881029
87
0.623573
1,201
8,671
4.321399
0.214821
0.015414
0.014836
0.021965
0.188825
0.152601
0.084586
0.071484
0.045857
0.036609
0
0.015183
0.270788
8,671
310
88
27.970968
0.80563
0.423827
0
0.274648
0
0
0.049677
0
0
0
0
0
0
1
0.211268
false
0
0.042254
0.112676
0.612676
0.007042
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
13ccc34ce5cd3c8ebb0298fbd65684648eccf8ce
2,617
py
Python
app/api_1_0/student.py
youhaowei/ifriends-api
4f4483d91ec7e726a5c301a0c3cc1db1b6592f8f
[ "MIT" ]
null
null
null
app/api_1_0/student.py
youhaowei/ifriends-api
4f4483d91ec7e726a5c301a0c3cc1db1b6592f8f
[ "MIT" ]
null
null
null
app/api_1_0/student.py
youhaowei/ifriends-api
4f4483d91ec7e726a5c301a0c3cc1db1b6592f8f
[ "MIT" ]
null
null
null
from flask_restful import reqparse, Resource from ..helpers import token_required, auth_required, role_required from ..models import Role, User from .. import mongo class StudentsAPI(Resource): def __init__(self): self.postParser = reqparse.RequestParser() self.postParser.add_argument('first_name...
40.890625
66
0.669469
311
2,617
5.424437
0.29582
0.248963
0.282158
0.414938
0.499111
0.461766
0.208062
0.071725
0.071725
0.071725
0
0.001933
0.2094
2,617
63
67
41.539683
0.813436
0
0
0.036364
0
0
0.120367
0
0
0
0
0
0
1
0.054545
false
0
0.072727
0
0.181818
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
b916ff4708a3c6b015133fcf19a75f93671bd9ff
513
py
Python
pyptv3/disruption_route_response.py
madpilot/pyptv3
f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a
[ "MIT" ]
2
2019-02-24T03:40:35.000Z
2019-09-09T00:05:27.000Z
pyptv3/disruption_route_response.py
madpilot/pyptv3
f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a
[ "MIT" ]
2
2019-06-15T11:41:24.000Z
2021-06-01T22:30:12.000Z
pyptv3/disruption_route_response.py
madpilot/pyptv3
f4c6b257d84ccebc0e3a217f5f7aa99257e4a39a
[ "MIT" ]
null
null
null
import pyptv3 class DisruptionRouteResponse(pyptv3.RouteResponse): def __init__(self, response): super().__init__(response) self._direction = None if response["direction"] is not None: self._direction = pyptv3.DisruptionDirectionResponse(response["direction"]) @property ...
27
111
0.682261
52
513
6.442308
0.442308
0.155224
0
0
0
0
0
0
0
0
0
0.007407
0.210526
513
18
112
28.5
0.819753
0
0
0
0
0
0.133072
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b919daa0469fd14b5027a5e5e297baa22a7da357
50
py
Python
learn_python/dynamic_imports/try1/pkg1/__init__.py
yehonadav/yonadav_tutorials
e797fdaeaea4c5d85392f724442645afb9391f15
[ "Apache-2.0" ]
2
2019-08-04T17:30:53.000Z
2020-09-21T08:39:55.000Z
learn_python/dynamic_imports/try1/pkg1/__init__.py
yehonadav/yonadav_tutorials
e797fdaeaea4c5d85392f724442645afb9391f15
[ "Apache-2.0" ]
5
2019-10-31T14:55:58.000Z
2022-02-26T04:06:39.000Z
learn_python/dynamic_imports/try1/pkg1/__init__.py
yehonadav/yonadav_tutorials
e797fdaeaea4c5d85392f724442645afb9391f15
[ "Apache-2.0" ]
null
null
null
__all__ = ['mod1', 'mod2', 'mod3'] from . import *
25
34
0.58
6
50
4.166667
1
0
0
0
0
0
0
0
0
0
0
0.071429
0.16
50
2
35
25
0.52381
0
0
0
0
0
0.235294
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
b91f6cb6ca7c3541040745a9d588a9d14b7b37b3
825
py
Python
fython/lexem/__init__.py
nicolasessisbreton/fython
988f5a94cee8b16b0000501a22239195c73424a1
[ "Apache-2.0" ]
41
2016-01-21T05:14:45.000Z
2021-11-24T20:37:21.000Z
fython/lexem/__init__.py
nicolasessisbreton/fython
988f5a94cee8b16b0000501a22239195c73424a1
[ "Apache-2.0" ]
5
2016-01-21T05:36:37.000Z
2016-08-22T19:26:51.000Z
fython/lexem/__init__.py
nicolasessisbreton/fython
988f5a94cee8b16b0000501a22239195c73424a1
[ "Apache-2.0" ]
3
2016-01-23T04:03:44.000Z
2016-08-21T15:58:38.000Z
from .bdotx import BDotX from .bofx import BofX from .bopx import BOpX from .colonx import ColonX from .commax import CommaX from .dedentx import DedentX from .eofx import EofX from .funx import FunX from .indentx import IndentX from .interpolationx import InterpolationX from .eopx import EOpX from .opx import OpX from...
25.78125
42
0.812121
124
825
5.403226
0.266129
0
0
0
0
0
0
0
0
0
0
0
0.150303
825
31
43
26.612903
0.955777
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
b9363f3ca5f13c68bc5e568b2849c64eed0ba286
130
py
Python
BSTree/Node.py
yuriscosta/estrutura-de-dados-nao-lineares
f162e519be04e7b6456cd98a1e7138335a52a76f
[ "Unlicense" ]
null
null
null
BSTree/Node.py
yuriscosta/estrutura-de-dados-nao-lineares
f162e519be04e7b6456cd98a1e7138335a52a76f
[ "Unlicense" ]
null
null
null
BSTree/Node.py
yuriscosta/estrutura-de-dados-nao-lineares
f162e519be04e7b6456cd98a1e7138335a52a76f
[ "Unlicense" ]
null
null
null
class Node: def __init__(self, data): self.data = data self.right_child = None self.left_child = None
21.666667
31
0.592308
17
130
4.176471
0.588235
0.225352
0
0
0
0
0
0
0
0
0
0
0.323077
130
5
32
26
0.806818
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b9499db03d0b39a2680af142d55445a888dd2d21
88
py
Python
django_dramatiq/__init__.py
mykytarudenko/django_dramatiq
181979d46dfb2063dc58504d909ed4377158e724
[ "Apache-2.0" ]
null
null
null
django_dramatiq/__init__.py
mykytarudenko/django_dramatiq
181979d46dfb2063dc58504d909ed4377158e724
[ "Apache-2.0" ]
null
null
null
django_dramatiq/__init__.py
mykytarudenko/django_dramatiq
181979d46dfb2063dc58504d909ed4377158e724
[ "Apache-2.0" ]
null
null
null
__version__ = "0.5.0" default_app_config = "django_dramatiq.apps.DjangoDramatiqConfig"
22
64
0.806818
11
88
5.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0.037037
0.079545
88
3
65
29.333333
0.753086
0
0
0
0
0
0.522727
0.465909
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
b94d90c8bfb7d2da8b19edbe20b092dbc623e35a
49
py
Python
cst_modeling/__init__.py
YangYunjia/cst-modeling3d
4d997015afd12b9b049f21c4b6c3c350e9f6a91c
[ "MIT" ]
null
null
null
cst_modeling/__init__.py
YangYunjia/cst-modeling3d
4d997015afd12b9b049f21c4b6c3c350e9f6a91c
[ "MIT" ]
null
null
null
cst_modeling/__init__.py
YangYunjia/cst-modeling3d
4d997015afd12b9b049f21c4b6c3c350e9f6a91c
[ "MIT" ]
null
null
null
__version__ = "0.1.12" __name__ = "cst_modeling"
16.333333
25
0.714286
7
49
3.714286
1
0
0
0
0
0
0
0
0
0
0
0.093023
0.122449
49
2
26
24.5
0.511628
0
0
0
0
0
0.367347
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
b967a1a03e09f73a3d85ceeb95c84fcec75c0112
1,465
py
Python
pydarknet/bbox.py
prodeveloper0/pyDarknet
9d52763ce3fc51ec00445bcd94e8032847593717
[ "MIT" ]
null
null
null
pydarknet/bbox.py
prodeveloper0/pyDarknet
9d52763ce3fc51ec00445bcd94e8032847593717
[ "MIT" ]
null
null
null
pydarknet/bbox.py
prodeveloper0/pyDarknet
9d52763ce3fc51ec00445bcd94e8032847593717
[ "MIT" ]
null
null
null
def geobox2rect(geobox): x, y, w, h = geobox return x - int(w / 2), y - int(h / 2), w, h def geobox2ptrect(geobox): x, y, w, h = geobox2rect(geobox) return x, y, x + w, y + h def rect2geobox(x, y, w, h): return x + int(w / 2), y + int(h / 2), w, h def ptrect2geobox(x1, y1, x2, y2...
19.533333
56
0.595904
216
1,465
3.976852
0.162037
0.104773
0.041909
0.046566
0.433062
0.277066
0.277066
0.277066
0.277066
0.277066
0
0.065913
0.275085
1,465
74
57
19.797297
0.742938
0
0
0.139535
0
0
0
0
0
0
0
0
0
1
0.372093
false
0
0
0.186047
0.744186
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
b96abe69677465423e59e8c03aca90367d8d99bd
257
py
Python
telnyx-python/telnyx/aio/api_resources/abstract/deletable_api_resource.py
team-telnyx/telnyx-2fa
6b8acb6703dc9458176c97d7fa6d1fd9c303bfbd
[ "MIT" ]
null
null
null
telnyx-python/telnyx/aio/api_resources/abstract/deletable_api_resource.py
team-telnyx/telnyx-2fa
6b8acb6703dc9458176c97d7fa6d1fd9c303bfbd
[ "MIT" ]
3
2020-03-24T18:09:34.000Z
2021-02-02T22:37:30.000Z
telnyx-python/telnyx/aio/api_resources/abstract/deletable_api_resource.py
mgwilliams/telnyx-2fa
49b794c05f42bc6d1c27f722e0d09da6654ad8d2
[ "MIT" ]
1
2020-01-24T17:39:37.000Z
2020-01-24T17:39:37.000Z
from telnyx.aio.api_resources.abstract.api_resource import APIResource class DeletableAPIResource(APIResource): async def delete(self, **params): await self.refresh_from(self.request("delete", self.instance_url(), params)) return self
32.125
84
0.750973
31
257
6.096774
0.709677
0.10582
0
0
0
0
0
0
0
0
0
0
0.14786
257
7
85
36.714286
0.863014
0
0
0
0
0
0.023346
0
0
0
0
0
0
1
0
true
0
0.2
0
0.6
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
0
0
1
0
0
3
b97aa5a7c7cac4570475f5d51e1a603c37be901c
6,131
py
Python
NIBRS-2012.py
mseewaters/CapstonePaper
ba793c5be945e21d2a555009feca8ce1e910f045
[ "MIT" ]
null
null
null
NIBRS-2012.py
mseewaters/CapstonePaper
ba793c5be945e21d2a555009feca8ce1e910f045
[ "MIT" ]
null
null
null
NIBRS-2012.py
mseewaters/CapstonePaper
ba793c5be945e21d2a555009feca8ce1e910f045
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <codecell> data = open("D:/0 Stern MSBA/0.2 Capstone/ICPSR_35036/DS0001/35036-0001-Data.txt/da35036-0001.txt","r") newfile = open("D:/0 Stern MSBA/0.2 Capstone/ICPSR_35036/DS0001/35036-0001-Data.txt/data_childabduction.txt","w") # <codecell> lines=0 count=0 for ...
23.311787
231
0.635296
878
6,131
4.42369
0.285877
0.175077
0.010814
0.019825
0.423275
0.402678
0.392894
0.392894
0.392894
0.391864
0
0.318345
0.18382
6,131
262
232
23.400763
0.457834
0.046811
0
0.177665
0
0.025381
0.132017
0.068498
0
0
0
0
0
0
null
null
0
0.010152
null
null
0.081218
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
1
0
0
0
0
0
0
0
0
3
b98da00611459aa33decaf3a92cd00a5465974ae
677
py
Python
continuum/scenarios/__init__.py
prlz77/continuum
61b59a7c68c8874b5bbf12636d903d2c08688121
[ "MIT" ]
null
null
null
continuum/scenarios/__init__.py
prlz77/continuum
61b59a7c68c8874b5bbf12636d903d2c08688121
[ "MIT" ]
null
null
null
continuum/scenarios/__init__.py
prlz77/continuum
61b59a7c68c8874b5bbf12636d903d2c08688121
[ "MIT" ]
null
null
null
# pylint: disable=C0401 # flake8: noqa from continuum.scenarios.base import _BaseScenario from continuum.scenarios.class_incremental import ClassIncremental from continuum.scenarios.data_incremental import DataIncremental from continuum.scenarios.instance_incremental import InstanceIncremental from continuum.scenarios....
39.823529
84
0.797637
58
677
9.155172
0.396552
0.171375
0.290019
0
0
0
0
0
0
0
0
0.008636
0.144756
677
16
85
42.3125
0.908463
0.050222
0
0
0
0
0.15
0.039063
0
0
0
0
0
1
0
false
0
0.538462
0
0.538462
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b9993a19aa52502869d1ec20e6142b69d38a25a2
896
py
Python
tests/test_AppObj_getSinglePassword.py
rmetcalf9/PasswordManPro_CLI
207a624a51ac2848c48aeac3282152315b5146df
[ "MIT" ]
2
2019-12-04T18:27:48.000Z
2020-04-21T08:38:08.000Z
tests/test_AppObj_getSinglePassword.py
rmetcalf9/PasswordManPro_CLI
207a624a51ac2848c48aeac3282152315b5146df
[ "MIT" ]
4
2018-07-19T13:00:21.000Z
2018-07-19T15:02:57.000Z
tests/test_AppObj_getSinglePassword.py
rmetcalf9/PasswordManPro_CLI
207a624a51ac2848c48aeac3282152315b5146df
[ "MIT" ]
2
2019-11-27T08:12:36.000Z
2020-03-10T17:31:07.000Z
from TestHelperSuperClass import testHelperSuperClass import passwordmanpro_cli from unittest.mock import patch import samplePayloadsAndEnvs class test_AppObj(testHelperSuperClass): @patch('passwordmanpro_cli.AppObjClass._callGet') def test_getSinglePassword(self, getResoursesResponse): getResoursesResponse.si...
42.666667
94
0.78125
68
896
10.191176
0.602941
0.073593
0.099567
0.190476
0
0
0
0
0
0
0
0.011568
0.131696
896
20
95
44.8
0.879177
0
0
0
0
0
0.196429
0.06808
0
0
0
0
0.052632
1
0.052632
false
0.315789
0.210526
0
0.315789
0
0
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
b9a8cd9e6db94c0561dc3053158359c964434905
302
py
Python
2017/src/Advent2017_04.py
davidxbuck/advent2018
eed5424a8008b9c0829f5872ad6cd469ce9f70b9
[ "MIT" ]
1
2021-12-11T02:19:28.000Z
2021-12-11T02:19:28.000Z
2017/src/Advent2017_04.py
davidxbuck/advent2018
eed5424a8008b9c0829f5872ad6cd469ce9f70b9
[ "MIT" ]
null
null
null
2017/src/Advent2017_04.py
davidxbuck/advent2018
eed5424a8008b9c0829f5872ad6cd469ce9f70b9
[ "MIT" ]
1
2020-12-08T04:31:46.000Z
2020-12-08T04:31:46.000Z
# Advent of Code 2017 # # From https://adventofcode.com/2017/day/4 # passwords = [row.strip().split() for row in open('../inputs/Advent2017_04.txt', 'r')] print(sum(len(row) == len(set(row)) for row in passwords)) print(sum(len(row) == len(set("".join(sorted(x)) for x in row)) for row in passwords))
33.555556
86
0.668874
52
302
3.865385
0.557692
0.089552
0.119403
0.139303
0.39801
0.199005
0
0
0
0
0
0.056604
0.122517
302
8
87
37.75
0.701887
0.198676
0
0
0
0
0.118143
0.113924
0
0
0
0
0
1
0
false
1
0
0
0
0.666667
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
1
0
0
0
1
0
3
b9b66a8f1664b9f8953b8e39982ad8281fd2ea08
173
py
Python
Data Scientist Career Path/11. Foundations of Machine Learning Supervised Learning/7. Advanced/1. SVM/4. scikit.py
myarist/Codecademy
2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb
[ "MIT" ]
23
2021-06-06T15:35:55.000Z
2022-03-21T06:53:42.000Z
Data Scientist Career Path/11. Foundations of Machine Learning Supervised Learning/7. Advanced/1. SVM/4. scikit.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
null
null
null
Data Scientist Career Path/11. Foundations of Machine Learning Supervised Learning/7. Advanced/1. SVM/4. scikit.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
9
2021-06-08T01:32:04.000Z
2022-03-18T15:38:09.000Z
from sklearn.svm import SVC from graph import points, labels classifier = SVC(kernel = 'linear') classifier.fit(points, labels) print(classifier.predict([[3, 4], [6, 7]]))
24.714286
43
0.728324
25
173
5.04
0.72
0.190476
0
0
0
0
0
0
0
0
0
0.026316
0.121387
173
6
44
28.833333
0.802632
0
0
0
0
0
0.034682
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b9b7e132447a29c04ce0a43723b1f87d4caf5536
4,095
py
Python
faker/generator.py
SysGrove/faker
61c1aa3eeece341c0984e95cd3128bcdf3797a78
[ "MIT" ]
1
2016-04-04T22:35:45.000Z
2016-04-04T22:35:45.000Z
faker/generator.py
SysGrove/faker
61c1aa3eeece341c0984e95cd3128bcdf3797a78
[ "MIT" ]
null
null
null
faker/generator.py
SysGrove/faker
61c1aa3eeece341c0984e95cd3128bcdf3797a78
[ "MIT" ]
null
null
null
import re import random class Generator(object): def __init__(self): self.providers = [] def addProvider(self, provider): self.providers.insert(0, provider) for method_name in dir(provider): # skip 'private' method if method_name.startswith('_'): continue ...
35.608696
138
0.555556
429
4,095
5.097902
0.27972
0.030178
0.034294
0.017833
0.098765
0.070416
0.070416
0.042067
0.042067
0.042067
0
0.003644
0.329915
4,095
115
139
35.608696
0.793367
0.675214
0
0
0
0
0.041736
0
0
0
0
0.017391
0
1
0.28
false
0
0.08
0.04
0.56
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
b9ce213239bf06ad566fe7f8f1c969218609358b
452
py
Python
codes/projects/test_discrete_parameter/utils_project/get_forward_operators_tf.py
hwangoh/uq-vae
382548e6f6dd7f9d72feff0e0752beec871db348
[ "MIT" ]
2
2021-07-28T16:47:18.000Z
2021-08-03T00:53:58.000Z
codes/projects/test_discrete_parameter/utils_project/get_forward_operators_tf.py
HwanGoh/uq-vae
24a3d26987e2ec807d57601b14c68b22f3652a18
[ "MIT" ]
null
null
null
codes/projects/test_discrete_parameter/utils_project/get_forward_operators_tf.py
HwanGoh/uq-vae
24a3d26987e2ec807d57601b14c68b22f3652a18
[ "MIT" ]
2
2021-09-29T08:31:46.000Z
2021-11-07T10:26:45.000Z
import tensorflow as tf import pandas as pd import pdb #Equivalent of keyboard in MATLAB, just add "pdb.set_trace()" def load_forward_operator_tf(options, filepaths): df_forward_operator = pd.read_csv(filepaths.project.forward_operator + '.csv') forward_operator = df_forward_operator.to_numpy() return tf....
37.666667
82
0.745575
60
452
5.366667
0.583333
0.279503
0.10559
0
0
0
0
0
0
0
0
0.005319
0.168142
452
11
83
41.090909
0.851064
0.132743
0
0
0
0
0.01023
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b9dc628c53917cc89d1de00a45681f9a3fb3958a
2,462
py
Python
env/lib/python3.7/site-packages/docusign_click/__init__.py
davidgacc/docusign
e63167101656d0066d481844576ce687ea80eb91
[ "MIT" ]
null
null
null
env/lib/python3.7/site-packages/docusign_click/__init__.py
davidgacc/docusign
e63167101656d0066d481844576ce687ea80eb91
[ "MIT" ]
null
null
null
env/lib/python3.7/site-packages/docusign_click/__init__.py
davidgacc/docusign
e63167101656d0066d481844576ce687ea80eb91
[ "MIT" ]
null
null
null
# coding: utf-8 # flake8: noqa """ DocuSign Click API DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign...
49.24
287
0.877335
287
2,462
7.303136
0.362369
0.13645
0.162214
0.219466
0.270992
0.166031
0
0
0
0
0
0.002669
0.086921
2,462
49
288
50.244898
0.929715
0.215678
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.961538
0
0.961538
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b9e55216a79db420339054744f741dda083a2138
13,575
py
Python
models_nonconvex_simple/tspn12.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
7
2019-05-08T19:14:34.000Z
2021-12-24T00:00:40.000Z
models_nonconvex_simple/tspn12.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_nonconvex_simple/tspn12.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
1
2019-05-10T18:34:18.000Z
2019-05-10T18:34:18.000Z
# MINLP written by GAMS Convert at 08/13/20 17:38:06 # # Equation counts # Total E G L N X C B # 27 13 0 14 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
62.847222
120
0.553886
2,493
13,575
3.016045
0.115925
0.038303
0.108525
0.184333
0.368932
0.314404
0.314404
0.307222
0.307222
0
0
0.243758
0.215175
13,575
215
121
63.139535
0.461986
0.050092
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.006024
0
0.006024
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3