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
def2283a79dffa49e75909a0b7a0a528daa83c25
743
py
Python
netharn/layers/__init__.py
angiemsu/netharn
728cb40aad299baf62c689430d07b29c67d8cf21
[ "Apache-2.0" ]
null
null
null
netharn/layers/__init__.py
angiemsu/netharn
728cb40aad299baf62c689430d07b29c67d8cf21
[ "Apache-2.0" ]
null
null
null
netharn/layers/__init__.py
angiemsu/netharn
728cb40aad299baf62c689430d07b29c67d8cf21
[ "Apache-2.0" ]
null
null
null
""" mkinit netharn.layers """ # flake8: noqa __DYNAMIC__ = False if __DYNAMIC__: from mkinit import dynamic_init exec(dynamic_init(__name__)) else: # <AUTOGEN_INIT> from netharn.layers import conv_norm from netharn.layers import reorg from netharn.layers import roi_pooling from netharn.lay...
30.958333
81
0.632571
74
743
5.932432
0.378378
0.177677
0.193622
0.157175
0
0
0
0
0
0
0
0.013084
0.279946
743
23
82
32.304348
0.807477
0.067295
0
0
1
0
0.147661
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
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
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7203bc93ef4187917c19d95c9fc993d7fb57b195
155
py
Python
chaosoci/util/constants.py
LaudateCorpus1/chaostoolkit-oci
36da01a47dd1b0881ec21cb70775fde5011b38ed
[ "Apache-2.0" ]
15
2018-11-20T15:36:52.000Z
2021-12-16T21:46:56.000Z
chaosoci/util/constants.py
LaudateCorpus1/chaostoolkit-oci
36da01a47dd1b0881ec21cb70775fde5011b38ed
[ "Apache-2.0" ]
21
2018-11-26T19:11:52.000Z
2021-12-15T19:38:37.000Z
chaosoci/util/constants.py
LaudateCorpus1/chaostoolkit-oci
36da01a47dd1b0881ec21cb70775fde5011b38ed
[ "Apache-2.0" ]
8
2018-11-20T15:37:09.000Z
2021-07-28T20:27:19.000Z
# coding: utf-8 # Copyright 2020, Oracle Corporation and/or its affiliates. FILTER_ERR = 'Some of the chosen filters were not found, we cannot continue.'
31
77
0.76129
24
155
4.875
1
0
0
0
0
0
0
0
0
0
0
0.038462
0.16129
155
4
78
38.75
0.861538
0.458065
0
0
0
0
0.765432
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7204d13faddea3479ffb338bd9735668f0211e4f
6,836
py
Python
src/wrant/util.py
fran-mora/wrant
6dc5ed7e6744c2fbcb6b82f51fbebbaea230977b
[ "MIT" ]
null
null
null
src/wrant/util.py
fran-mora/wrant
6dc5ed7e6744c2fbcb6b82f51fbebbaea230977b
[ "MIT" ]
2
2018-04-15T11:50:01.000Z
2018-04-15T11:50:52.000Z
src/wrant/util.py
fm2g11/wrant
6dc5ed7e6744c2fbcb6b82f51fbebbaea230977b
[ "MIT" ]
null
null
null
import requests import json import pickle import csv import time import urllib import operator import os import random import sys from pygments import highlight from pygments.lexers import JsonLexer from pygments.formatters import TerminalFormatter # csv.field_size_limit(sys.maxsize) def get(url, sent=None, headers=N...
24.948905
91
0.561001
888
6,836
4.291667
0.286036
0.036736
0.049856
0.04487
0.232747
0.163999
0.156652
0.100761
0.057728
0.057728
0
0.050318
0.241223
6,836
273
92
25.040293
0.684211
0.063634
0
0.118557
0
0
0.129267
0.051124
0
0
0
0
0
1
0.231959
false
0
0.087629
0.139175
0.546392
0.036082
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
7217f8c0f19348d7550e588ecde05553efde0d05
1,331
py
Python
prettyqt/core/processenvironment.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
7
2019-05-01T01:34:36.000Z
2022-03-08T02:24:14.000Z
prettyqt/core/processenvironment.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
141
2019-04-16T11:22:01.000Z
2021-04-14T15:12:36.000Z
prettyqt/core/processenvironment.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
5
2019-04-17T11:48:19.000Z
2021-11-21T10:30:19.000Z
from __future__ import annotations from typing import Iterator, Mapping from prettyqt.qt import QtCore class ProcessEnvironment(QtCore.QProcessEnvironment): def __bool__(self): return not self.isEmpty() def __contains__(self, other: str): return self.contains(other) def __getitem__(sel...
26.098039
76
0.641623
162
1,331
5.018519
0.345679
0.02952
0.04428
0.01722
0
0
0
0
0
0
0
0
0.249437
1,331
50
77
26.62
0.813814
0
0
0.057143
0
0
0.027799
0
0
0
0
0
0
1
0.285714
false
0
0.085714
0.171429
0.628571
0.028571
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
72345bffd22908e6abf512d20066dbacf3fa0dba
226
py
Python
src/exabgp/environment/base.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
1,560
2015-01-01T08:53:05.000Z
2022-03-29T20:22:43.000Z
src/exabgp/environment/base.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
818
2015-01-01T17:38:40.000Z
2022-03-30T07:29:24.000Z
src/exabgp/environment/base.py
pierky/exabgp
34be537ae5906c0830b31da1152ae63108ccf911
[ "BSD-3-Clause" ]
439
2015-01-06T21:20:41.000Z
2022-03-19T23:24:25.000Z
import os import sys APPLICATION = 'exabgp' ROOT = os.path.normpath(os.environ.get('EXABGP_ROOT', os.path.dirname(sys.argv[0]))) ETC = os.path.join(ROOT, 'etc', APPLICATION) ENVFILE = os.path.join(ETC, f'{APPLICATION}.env')
25.111111
84
0.716814
36
226
4.472222
0.5
0.149068
0.149068
0.198758
0
0
0
0
0
0
0
0.004902
0.097345
226
8
85
28.25
0.784314
0
0
0
0
0
0.163717
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7246b8510b436ae60d0dfdedf92dbcaba3a65bf0
684
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.package_name}}/stagingsettings.py
nens/cookiecutter-djangosite-template
d317ed15a2784a9211898edce2973df5db86892d
[ "MIT" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.package_name}}/stagingsettings.py
nens/cookiecutter-djangosite-template
d317ed15a2784a9211898edce2973df5db86892d
[ "MIT" ]
8
2017-12-12T15:34:07.000Z
2020-03-31T00:43:25.000Z
{{cookiecutter.project_slug}}/{{cookiecutter.package_name}}/stagingsettings.py
nens/cookiecutter-djangosite-template
d317ed15a2784a9211898edce2973df5db86892d
[ "MIT" ]
1
2018-05-09T15:05:14.000Z
2018-05-09T15:05:14.000Z
# (c) Nelen & Schuurmans. Proprietary, see LICENSE file. from {{ cookiecutter.package_name }}.settings import * DATABASES = { # Changed server from production to staging 'default': { 'NAME': '{{ cookiecutter.package_name }}', 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'USER':...
29.73913
70
0.622807
76
684
5.526316
0.736842
0.135714
0.164286
0
0
0
0
0
0
0
0
0.007463
0.216374
684
22
71
31.090909
0.776119
0.369883
0
0
0
0
0.464623
0.257075
0
0
0
0.045455
0
0
null
null
0.083333
0.083333
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
a0fbadb1d8e31aa7d7c4fd28f2fb0f69972ba22d
76
py
Python
data/studio21_generated/interview/1674/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1674/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/1674/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def stoneGameII(self, piles: List[int]) -> int:
25.333333
51
0.605263
9
76
5.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.263158
76
3
52
25.333333
0.821429
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
19bd0db2ec4d0e5c1d4eab5bf6ba751a5c3b3d2c
369
py
Python
symposion/proposals/migrations/0003_merge_20170814_2247.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
null
null
null
symposion/proposals/migrations/0003_merge_20170814_2247.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
5
2015-07-16T19:46:00.000Z
2018-03-11T05:58:48.000Z
symposion/proposals/migrations/0003_merge_20170814_2247.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
1
2017-01-27T21:18:26.000Z
2017-01-27T21:18:26.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-08-14 22:47 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('symposion_proposals', '0002_proposalsection_anonymous'), ('symposion_proposals', '0002_auto_...
21.705882
66
0.691057
42
369
5.785714
0.809524
0.148148
0.18107
0
0
0
0
0
0
0
0
0.124579
0.195122
369
16
67
23.0625
0.693603
0.184282
0
0
1
0
0.305369
0.177852
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
19e579a6653310426cf6dead50e677dac949c160
3,960
py
Python
qualcoder/GUI/ui_report_attribute_parameters.py
dineiar/QualCoder
cd20819e1bf072ac49d1e3c2d7ee8fb4ed6c259d
[ "MIT" ]
150
2019-02-08T17:18:43.000Z
2022-03-29T21:48:18.000Z
qualcoder/GUI/ui_report_attribute_parameters.py
dineiar/QualCoder
cd20819e1bf072ac49d1e3c2d7ee8fb4ed6c259d
[ "MIT" ]
568
2019-02-08T17:20:51.000Z
2022-03-31T21:45:17.000Z
qualcoder/GUI/ui_report_attribute_parameters.py
dineiar/QualCoder
cd20819e1bf072ac49d1e3c2d7ee8fb4ed6c259d
[ "MIT" ]
41
2019-02-11T13:22:09.000Z
2022-03-20T13:14:25.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_report_attribute_parameters.ui' # # Created by: PyQt5 UI code generator 5.14.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Dialog_report_attribute_parameters(object): ...
51.428571
141
0.751515
420
3,960
6.845238
0.292857
0.14087
0.234783
0.280348
0.456
0.342609
0.252174
0.064696
0
0
0
0.016766
0.156566
3,960
76
142
52.105263
0.844012
0.051515
0
0.081967
1
0
0.150707
0.072553
0
0
0
0
0
1
0.032787
false
0
0.032787
0
0.081967
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
19f7315211215e06a408208462ee7578cd57d002
183
py
Python
clacc.py
chidanandpujar/Python_scripts
0ee70e07ef4ab4d8c04955466ea9b305bdac0a53
[ "Unlicense" ]
null
null
null
clacc.py
chidanandpujar/Python_scripts
0ee70e07ef4ab4d8c04955466ea9b305bdac0a53
[ "Unlicense" ]
null
null
null
clacc.py
chidanandpujar/Python_scripts
0ee70e07ef4ab4d8c04955466ea9b305bdac0a53
[ "Unlicense" ]
null
null
null
class Myclass: """This is doc string""" a=10 def function(self): print("Hello") print(Myclass.a) print(Myclass.function) print(Myclass.__doc__) Mycl1 = Myclass()
16.636364
28
0.650273
24
183
4.791667
0.583333
0.313043
0
0
0
0
0
0
0
0
0
0.020548
0.202186
183
10
29
18.3
0.767123
0.098361
0
0
0
0
0.031447
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0.5
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c206aaee9053078df276196f5e461097736e64a9
77
py
Python
stat570/mcmc/__init__.py
ppham27/stat570
859832aed3ae172abc8b6fbcd2221eb552291a00
[ "MIT" ]
2
2019-04-22T11:05:54.000Z
2022-02-25T22:46:11.000Z
stat570/mcmc/__init__.py
ppham27/stat570
859832aed3ae172abc8b6fbcd2221eb552291a00
[ "MIT" ]
null
null
null
stat570/mcmc/__init__.py
ppham27/stat570
859832aed3ae172abc8b6fbcd2221eb552291a00
[ "MIT" ]
null
null
null
from stat570.mcmc import gibbs_sampling __all__ = [ 'gibbs_sampling', ]
12.833333
39
0.727273
9
77
5.555556
0.777778
0.52
0
0
0
0
0
0
0
0
0
0.047619
0.181818
77
5
40
15.4
0.746032
0
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
c2215d2ba026e2a203bc2315e13ec6ae3557ce61
125
py
Python
src/cache_simulate_client/cache_simulate_client/ext.py
steny138/CacheSimulate
44ee11c71629b32ba392e4f19b6529737ce8c2ed
[ "Apache-2.0" ]
null
null
null
src/cache_simulate_client/cache_simulate_client/ext.py
steny138/CacheSimulate
44ee11c71629b32ba392e4f19b6529737ce8c2ed
[ "Apache-2.0" ]
null
null
null
src/cache_simulate_client/cache_simulate_client/ext.py
steny138/CacheSimulate
44ee11c71629b32ba392e4f19b6529737ce8c2ed
[ "Apache-2.0" ]
null
null
null
from flask_redis import FlaskRedis from flask_pymongo import PyMongo mongo = PyMongo() redis_store = FlaskRedis() cache = {}
20.833333
34
0.792
16
125
6
0.5625
0.1875
0
0
0
0
0
0
0
0
0
0
0.136
125
6
35
20.833333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
c2313da39110feaf624f6d31b8e3a0b21a93c4e0
197
py
Python
src/Match_Mobile_Robotics/general_hardware_helper/robot_teacher/scripts/pose_teacher_base_node.py
Grossbier/simulation_multirobots
1fe00bf81932ad6de20709ad85f677f4cf196333
[ "BSD-2-Clause" ]
null
null
null
src/Match_Mobile_Robotics/general_hardware_helper/robot_teacher/scripts/pose_teacher_base_node.py
Grossbier/simulation_multirobots
1fe00bf81932ad6de20709ad85f677f4cf196333
[ "BSD-2-Clause" ]
null
null
null
src/Match_Mobile_Robotics/general_hardware_helper/robot_teacher/scripts/pose_teacher_base_node.py
Grossbier/simulation_multirobots
1fe00bf81932ad6de20709ad85f677f4cf196333
[ "BSD-2-Clause" ]
1
2022-01-04T09:16:28.000Z
2022-01-04T09:16:28.000Z
#!/usr/bin/env python from robot_teacher.PoseTeacher import PoseFileHandler import rospy if __name__=="__main__": rospy.init_node("pose_teacher") handler=PoseFileHandler() rospy.spin()
24.625
53
0.761421
24
197
5.791667
0.791667
0
0
0
0
0
0
0
0
0
0
0
0.126904
197
7
54
28.142857
0.80814
0.101523
0
0
0
0
0.113636
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
df99920ca2485b92f1e5c72aa7c3f4fc3acc6542
486
py
Python
acmicpc/2750/new.py
love-adela/algorithm
4ccd02173c96f8369962f1fd4e5166a221690fa2
[ "MIT" ]
3
2019-03-09T05:19:23.000Z
2019-04-06T09:26:36.000Z
acmicpc/2750/new.py
love-adela/algorithm
4ccd02173c96f8369962f1fd4e5166a221690fa2
[ "MIT" ]
1
2020-02-23T10:38:04.000Z
2020-02-23T10:38:04.000Z
acmicpc/2750/new.py
love-adela/algorithm
4ccd02173c96f8369962f1fd4e5166a221690fa2
[ "MIT" ]
1
2019-05-22T13:47:53.000Z
2019-05-22T13:47:53.000Z
from random import randint def indescending_bubble(): example = [integer for in input().split('\n')] for i in range(len(example)): iteration = 0 for iteration in range(len(example) - (1 + i)): if example[iteration] > example[iteration + 1]: example[iteration], exampl...
28.588235
101
0.625514
61
486
4.95082
0.42623
0.370861
0.168874
0.238411
0.327815
0.271523
0.271523
0
0
0
0
0.013624
0.244856
486
17
102
28.588235
0.809264
0
0
0
0
0
0.004107
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.214286
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
1
0
0
0
0
0
0
0
0
3
df9fa971529e3371c47ad2c3474f1e8fd8204e49
588
py
Python
qlcoder/image_processing/floodfill/simple/write_bin_file.py
CheYulin/OJCodes
5fc1c3e86f31dd687a4e3110ee06a290c22396c5
[ "MIT" ]
1
2017-05-25T19:41:47.000Z
2017-05-25T19:41:47.000Z
qlcoder/image_processing/floodfill/simple/write_bin_file.py
CheYulin/OJCodes
5fc1c3e86f31dd687a4e3110ee06a290c22396c5
[ "MIT" ]
null
null
null
qlcoder/image_processing/floodfill/simple/write_bin_file.py
CheYulin/OJCodes
5fc1c3e86f31dd687a4e3110ee06a290c22396c5
[ "MIT" ]
null
null
null
import struct bytes_list = list() with open('foo_output', 'wb') as output_stream: with open('foo') as input_stream: bytes_list = input_stream.readlines()[0] print bytes_list bytes_list = bytes_list[1:len(bytes_list) - 1] print bytes_list bytes_list = bytes_list.split(',') ...
30.947368
54
0.581633
78
588
4.153846
0.371795
0.305556
0.17284
0.222222
0.197531
0.197531
0.197531
0
0
0
0
0.007426
0.312925
588
18
55
32.666667
0.794554
0
0
0.117647
0
0
0.028912
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.294118
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
1
0
0
0
0
0
0
0
0
3
dfb0bcc44601ed33b5af4e217dfa125ed7eb9c8e
169
py
Python
control_ai/game_state.py
joshuajcarson/ControlAI
40d7b8949e6bdebbba20ddfdb3255e3375bdff71
[ "MIT" ]
null
null
null
control_ai/game_state.py
joshuajcarson/ControlAI
40d7b8949e6bdebbba20ddfdb3255e3375bdff71
[ "MIT" ]
1
2018-06-07T00:34:52.000Z
2018-06-07T00:34:52.000Z
control_ai/game_state.py
joshuajcarson/ControlAI
40d7b8949e6bdebbba20ddfdb3255e3375bdff71
[ "MIT" ]
null
null
null
class GameState(object): def __init__(self, player, action, card_name): self.action = action self.player = player self.card_name = card_name
28.166667
50
0.650888
21
169
4.904762
0.47619
0.23301
0
0
0
0
0
0
0
0
0
0
0.260355
169
5
51
33.8
0.824
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
dfd282ff9d3eb12b00280b50b00521f5a13b98e9
193
py
Python
test_scripts/trigger-file/dep.py
clayne/ida-qscripts
974ddbb808bfd8c995cd440d1f474d93be3b23e7
[ "MIT" ]
131
2019-04-10T18:41:00.000Z
2022-03-12T03:59:00.000Z
test_scripts/trigger-file/dep.py
clayne/ida-qscripts
974ddbb808bfd8c995cd440d1f474d93be3b23e7
[ "MIT" ]
2
2019-04-10T22:43:11.000Z
2019-04-11T17:18:45.000Z
test_scripts/trigger-file/dep.py
clayne/ida-qscripts
974ddbb808bfd8c995cd440d1f474d93be3b23e7
[ "MIT" ]
16
2019-04-11T04:44:09.000Z
2022-03-08T16:03:56.000Z
try: trigger_ver += 1 except: trigger_ver = 1 print(f"dep file version {trigger_ver}: Even if you save this file, this script won't re-execute. Instead, create the trigger file.")
32.166667
133
0.699482
32
193
4.125
0.71875
0.227273
0.166667
0
0
0
0
0
0
0
0
0.013072
0.207254
193
6
133
32.166667
0.849673
0
0
0
0
0.2
0.650794
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dfeb5e45859c6b88c6b42f50631e38d5d01ff245
34
py
Python
segmentation-of-nuclei/watershed/__init__.py
Gombessa1938/quip_cnn_segmentation
fba920a2da136a043c50dcb8dc85b9b5c03d65f1
[ "BSD-3-Clause" ]
40
2019-04-17T16:31:21.000Z
2022-03-15T19:19:32.000Z
segmentation-of-nuclei/watershed/__init__.py
Gombessa1938/quip_cnn_segmentation
fba920a2da136a043c50dcb8dc85b9b5c03d65f1
[ "BSD-3-Clause" ]
8
2019-04-25T02:29:06.000Z
2021-05-28T20:56:01.000Z
segmentation-of-nuclei/watershed/__init__.py
Gombessa1938/quip_cnn_segmentation
fba920a2da136a043c50dcb8dc85b9b5c03d65f1
[ "BSD-3-Clause" ]
18
2019-07-15T17:58:08.000Z
2022-03-24T09:11:46.000Z
__all__ = ['seg_with_watershed'];
17
33
0.735294
4
34
4.75
1
0
0
0
0
0
0
0
0
0
0
0
0.088235
34
1
34
34
0.612903
0
0
0
0
0
0.529412
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
5f0335e5b594ce727d0b4589bcdf7ea96be3087b
99
py
Python
29/05/1.py
pylangstudy/201705
c69de524faa67fa2d96267d5a51ed9794208f0e4
[ "CC0-1.0" ]
null
null
null
29/05/1.py
pylangstudy/201705
c69de524faa67fa2d96267d5a51ed9794208f0e4
[ "CC0-1.0" ]
38
2017-05-25T07:08:48.000Z
2017-05-31T01:42:41.000Z
29/05/1.py
pylangstudy/201705
c69de524faa67fa2d96267d5a51ed9794208f0e4
[ "CC0-1.0" ]
null
null
null
for i in range(2): for j in range(4): if i == 0 and j == 1: break; print(i, j)
19.8
36
0.454545
20
99
2.25
0.65
0.311111
0
0
0
0
0
0
0
0
0
0.066667
0.393939
99
4
37
24.75
0.683333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f0933685885fff017734b6745e437deeeba6404
270
py
Python
server/__init__.py
iZonex/smart-vehicle-access-cloud
73951be7fc575619cdd3034553433a3accd505fa
[ "Apache-2.0" ]
2
2017-12-24T20:53:15.000Z
2017-12-24T21:46:42.000Z
server/__init__.py
iZonex/smart-vehicle-access-cloud
73951be7fc575619cdd3034553433a3accd505fa
[ "Apache-2.0" ]
null
null
null
server/__init__.py
iZonex/smart-vehicle-access-cloud
73951be7fc575619cdd3034553433a3accd505fa
[ "Apache-2.0" ]
null
null
null
from .garage import (GarageAdmins, GarageVehicles, Garage) from .user import (User, UserProfile, UserPhoto) from .vehicle import Vehicle __all__ = [ 'GarageAdmins', 'GarageVehicles', 'Garage', 'User', 'UserProfile', 'UserPhoto', 'Vehicle' ]
19.285714
58
0.666667
24
270
7.333333
0.416667
0.295455
0.363636
0
0
0
0
0
0
0
0
0
0.207407
270
13
59
20.769231
0.82243
0
0
0
0
0
0.233333
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f0c949d399ecc28d11f59d2f3e556f2a7626b89
138
py
Python
start.py
fschenkun22/autobackup
b773b62c5766089e7c607c1be58e61989a3003d0
[ "Unlicense" ]
1
2021-03-15T08:03:03.000Z
2021-03-15T08:03:03.000Z
start.py
fschenkun22/autobackup
b773b62c5766089e7c607c1be58e61989a3003d0
[ "Unlicense" ]
null
null
null
start.py
fschenkun22/autobackup
b773b62c5766089e7c607c1be58e61989a3003d0
[ "Unlicense" ]
null
null
null
import sys import os sys.path.append( os.path.dirname(__file__) ) from core import src if __name__ == "__main__": src.run()
9.857143
29
0.666667
20
138
4
0.7
0
0
0
0
0
0
0
0
0
0
0
0.217391
138
13
30
10.615385
0.740741
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
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
a046c32b46b0fb044384df66912c99c0911f2d80
190
py
Python
cypherpunkpay/web/security/root_acl.py
RandyMcMillan/CypherpunkPay
997fc1e06865d6be75c46b719e673b2f50546f44
[ "MIT", "Unlicense" ]
44
2021-06-25T16:40:52.000Z
2022-03-24T08:17:49.000Z
cypherpunkpay/web/security/root_acl.py
RandyMcMillan/CypherpunkPay
997fc1e06865d6be75c46b719e673b2f50546f44
[ "MIT", "Unlicense" ]
25
2021-07-20T04:36:08.000Z
2022-03-10T14:00:53.000Z
cypherpunkpay/web/security/root_acl.py
RandyMcMillan/CypherpunkPay
997fc1e06865d6be75c46b719e673b2f50546f44
[ "MIT", "Unlicense" ]
5
2021-06-29T23:17:06.000Z
2022-01-25T22:55:43.000Z
from pyramid.security import Allow, Deny, Everyone class RootACL(object): __acl__ = [ (Allow, 'group:admins', 'admin') ] def __init__(self, request): pass
17.272727
50
0.6
20
190
5.3
0.95
0
0
0
0
0
0
0
0
0
0
0
0.284211
190
10
51
19
0.779412
0
0
0
0
0
0.089474
0
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
a047824eb83655692f4d4944b721f5a5739eaa51
112
py
Python
any_urlfield/models/__init__.py
vitaly4uk/django-any-urlfield
03fd2568957c05fe990d1b3db8a9b311dbcb393b
[ "Apache-2.0" ]
26
2015-02-02T20:51:17.000Z
2021-07-14T02:57:52.000Z
any_urlfield/models/__init__.py
vitaly4uk/django-any-urlfield
03fd2568957c05fe990d1b3db8a9b311dbcb393b
[ "Apache-2.0" ]
11
2015-01-26T23:43:09.000Z
2019-09-17T12:39:19.000Z
any_urlfield/models/__init__.py
vitaly4uk/django-any-urlfield
03fd2568957c05fe990d1b3db8a9b311dbcb393b
[ "Apache-2.0" ]
9
2015-01-26T23:49:14.000Z
2020-01-16T17:18:08.000Z
from .fields import AnyUrlField from .values import AnyUrlValue __all__ = ( 'AnyUrlField', 'AnyUrlValue' )
16
32
0.741071
11
112
7.181818
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.169643
112
6
33
18.666667
0.849462
0
0
0
0
0
0.196429
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a057133f2c0d31d8261ec2e08574e5e2855fddd3
693
py
Python
download/gnosis/util/test/test_noinit.py
DavidMertz/gnosis-web
df5ab0d470a02ed6c51c971f2b40f1dcdc7d7350
[ "CC0-1.0" ]
3
2018-09-29T14:14:28.000Z
2022-01-05T03:45:50.000Z
library/CanFestival/objdictgen/gnosis/util/test/test_noinit.py
Lembed/STM32duino-gcc-Projects
67829e9cd1388601daf9815b0561da557e0b9f82
[ "MIT" ]
1
2017-06-17T08:15:28.000Z
2017-06-17T08:15:28.000Z
library/CanFestival/objdictgen/gnosis/util/test/test_noinit.py
Lembed/STM32duino-gcc-Projects
67829e9cd1388601daf9815b0561da557e0b9f82
[ "MIT" ]
1
2019-12-08T15:11:55.000Z
2019-12-08T15:11:55.000Z
from gnosis.util.introspect import instance_noinit class Old_noinit: pass class Old_init: def __init__(self): print "Init in Old" class New_slots_and_init(int): __slots__ = ('this','that') def __init__(self): print "Init in New w/ slots" class New_init_no_slots(int): def __init__(self): print "Init ...
23.896552
53
0.760462
112
693
4.196429
0.258929
0.208511
0.093617
0.102128
0.421277
0.157447
0.110638
0.110638
0
0
0
0
0.134199
693
28
54
24.75
0.783333
0
0
0.1
0
0
0.156069
0
0
0
0
0
0
0
null
null
0.1
0.05
null
null
0.2
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
a08021db73bbb381d521b5befd24c66f17163bdb
285
py
Python
prettyqt/widgets/graphicstransform.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
7
2019-05-01T01:34:36.000Z
2022-03-08T02:24:14.000Z
prettyqt/widgets/graphicstransform.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
141
2019-04-16T11:22:01.000Z
2021-04-14T15:12:36.000Z
prettyqt/widgets/graphicstransform.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
5
2019-04-17T11:48:19.000Z
2021-11-21T10:30:19.000Z
from __future__ import annotations from prettyqt import core from prettyqt.qt import QtWidgets QtWidgets.QGraphicsTransform.__bases__ = (core.Object,) class GraphicsTransform(QtWidgets.QGraphicsTransform): pass if __name__ == "__main__": transform = GraphicsTransform()
17.8125
55
0.789474
28
285
7.464286
0.642857
0.114833
0
0
0
0
0
0
0
0
0
0
0.140351
285
15
56
19
0.853061
0
0
0
0
0
0.02807
0
0
0
0
0
0
1
0
false
0.125
0.375
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
a0893f9d54c2a773dbbb58cc4336e034b41224e4
253
py
Python
20211202_PltGot/2_NO_PIE_GOT/solution.py
alessandro-massarenti/Cybersec2021
3d6dcc4b255dd425b1be66d440df1d94d5ea5ac0
[ "BSD-3-Clause" ]
15
2021-10-01T16:10:48.000Z
2022-02-19T20:45:35.000Z
20211202_PltGot/2_NO_PIE_GOT/solution.py
alessandro-massarenti/Cybersec2021
3d6dcc4b255dd425b1be66d440df1d94d5ea5ac0
[ "BSD-3-Clause" ]
null
null
null
20211202_PltGot/2_NO_PIE_GOT/solution.py
alessandro-massarenti/Cybersec2021
3d6dcc4b255dd425b1be66d440df1d94d5ea5ac0
[ "BSD-3-Clause" ]
2
2021-11-06T08:32:41.000Z
2021-12-11T16:18:54.000Z
from pwn import * context.binary = "./vuln" p = process() p.sendline(str(context.binary.got["exit"]).encode("ascii")) p.sendline(str(context.binary.functions["win"].address).encode("ascii")) log.success(p.recvline_regex(rb".*{.*}.*").decode("ascii"))
28.111111
72
0.687747
35
253
4.942857
0.657143
0.225434
0.138728
0.219653
0.289017
0
0
0
0
0
0
0
0.059289
253
8
73
31.625
0.726891
0
0
0
0
0
0.142292
0
0
0
0
0
0
1
0
false
0
0.166667
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
a0961526ec98d87eefcbdeb1a2d33f7e5e7e8e38
1,321
py
Python
routes/GetFeed/insta_crawling 복사본/HandleJson.py
akalswl14/styltebox_manageweb
5d0e33435a7456387d28b6b58762912d0552a717
[ "MIT" ]
null
null
null
routes/GetFeed/insta_crawling 복사본/HandleJson.py
akalswl14/styltebox_manageweb
5d0e33435a7456387d28b6b58762912d0552a717
[ "MIT" ]
2
2021-03-31T20:20:47.000Z
2021-12-13T20:50:07.000Z
routes/GetFeed/insta_crawling 복사본/HandleJson.py
akalswl14/styltebox_manageweb
5d0e33435a7456387d28b6b58762912d0552a717
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import json def GetCrawlingFeedJson(): with open('routes/GetFeed/CrawlingFeed.json','r') as f: # with open('../CrawlingFeed.json','r') as f: json_data = json.load(f) return json_data def UpdateCrawlingFeedJson(json_data): with open('routes/GetFeed/CrawlingFeed.json','...
36.694444
84
0.666162
187
1,321
4.59893
0.176471
0.111628
0.056977
0.065116
0.819767
0.77093
0.532558
0.532558
0.45
0.410465
0
0.005381
0.155942
1,321
36
85
36.694444
0.765919
0.251325
0
0.409091
0
0
0.218941
0.191446
0
0
0
0
0
1
0.272727
false
0
0.045455
0
0.454545
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
1
0
0
0
0
0
0
0
3
a09a95a9b76d440aad1b598c266534775c25ea49
234
py
Python
tests/dict/dictionary3.py
chrivers/pyjaco
8ad793dce34ab7aed3b973aae729d6a943a2381c
[ "MIT" ]
38
2015-01-01T18:08:59.000Z
2022-02-18T08:57:27.000Z
tests/dict/dictionary3.py
chrivers/pyjaco
8ad793dce34ab7aed3b973aae729d6a943a2381c
[ "MIT" ]
1
2020-01-08T04:32:52.000Z
2020-01-08T04:32:52.000Z
tests/dict/dictionary3.py
chrivers/pyjaco
8ad793dce34ab7aed3b973aae729d6a943a2381c
[ "MIT" ]
12
2016-03-07T09:30:49.000Z
2021-09-05T20:38:47.000Z
x = dict() x[1] = "1" x["1"] = "2" print ", ".join(sorted(["%r: %r" % item for item in x.items()])) y = dict(x) y[True] = "true" y[False] = "false" print ", ".join(sorted(["%r: %r" % item for item in y.items()])) print y[1], y[0]
16.714286
64
0.504274
44
234
2.681818
0.363636
0.084746
0.254237
0.271186
0.508475
0.508475
0.508475
0.508475
0.508475
0
0
0.031746
0.192308
234
13
65
18
0.592593
0
0
0
0
0
0.119658
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
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
1
0
0
0
0
0
0
0
0
3
a0a07490a50f4c6cca1eb4896d09a3183a80e59b
541
py
Python
algorithm/pathfinding/pathfinding.py
The224/PathViz
db807b091997303bfbc9853bedc6a5d7a2b99da7
[ "Apache-2.0" ]
1
2020-10-11T08:38:26.000Z
2020-10-11T08:38:26.000Z
algorithm/pathfinding/pathfinding.py
The224/PathViz
db807b091997303bfbc9853bedc6a5d7a2b99da7
[ "Apache-2.0" ]
null
null
null
algorithm/pathfinding/pathfinding.py
The224/PathViz
db807b091997303bfbc9853bedc6a5d7a2b99da7
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod from models.grid import Grid class Pathfinding(ABC): """ Abstract representation of a pathfinding resolver class algorithm """ def __init__(self, grid: Grid): self.grid = grid @abstractmethod def next_step(self): """Should update the model...
21.64
85
0.643253
63
541
5.444444
0.492063
0.046647
0.069971
0
0
0
0
0
0
0
0
0
0.284658
541
24
86
22.541667
0.886305
0.378928
0
0.363636
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.181818
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
a0b3da0ec60694d4563885e825e8612561b77947
1,023
py
Python
src/browserist/browser/tool/__main__.py
jakob-bagterp/browserist
76bd916dd217b7da3759fd6ec3374191002dc091
[ "Apache-2.0" ]
2
2022-02-20T10:03:19.000Z
2022-03-22T11:17:10.000Z
src/browserist/browser/tool/__main__.py
jakob-bagterp/browserist
76bd916dd217b7da3759fd6ec3374191002dc091
[ "Apache-2.0" ]
null
null
null
src/browserist/browser/tool/__main__.py
jakob-bagterp/browserist
76bd916dd217b7da3759fd6ec3374191002dc091
[ "Apache-2.0" ]
null
null
null
from ... import helper from ...constant import timeout from ...model.browser.base.driver import BrowserDriver from ...model.browser.base.settings import BrowserSettings from ...model.driver_methods import DriverMethods from .count_elements import tool_count_elements from .is_input_valid import tool_is_input_valid cla...
36.535714
89
0.725318
133
1,023
5.330827
0.345865
0.073343
0.067701
0.056417
0
0
0
0
0
0
0
0
0.171065
1,023
27
90
37.888889
0.836085
0.093842
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.4375
0
0.9375
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
262b1b5ba73f51a1a22576160081c6ce5272fcf6
419
py
Python
autobrowser/automation/__init__.py
webrecorder/autobrowser
b3ae1a1dd3e34c67b7260b94235d9f400ef29ff7
[ "Apache-2.0" ]
7
2018-12-14T21:38:20.000Z
2020-11-16T01:11:28.000Z
autobrowser/automation/__init__.py
webrecorder/autobrowser
b3ae1a1dd3e34c67b7260b94235d9f400ef29ff7
[ "Apache-2.0" ]
32
2018-11-15T02:07:46.000Z
2019-05-16T18:05:35.000Z
autobrowser/automation/__init__.py
webrecorder/autobrowser
b3ae1a1dd3e34c67b7260b94235d9f400ef29ff7
[ "Apache-2.0" ]
2
2020-06-12T16:36:19.000Z
2021-05-14T11:08:18.000Z
from .details import ( AutomationConfig, BrowserExitInfo, CloseReason, RedisKeys, TabClosedInfo, build_automation_config, exit_code_from_reason, ) from .shutdown import ShutdownCondition __all__ = [ "AutomationConfig", "BrowserExitInfo", "CloseReason", "RedisKeys", "Shut...
19.045455
39
0.696897
33
419
8.424242
0.515152
0.223022
0.302158
0.366906
0.374101
0.374101
0.374101
0.374101
0
0
0
0
0.212411
419
21
40
19.952381
0.842424
0
0
0
0
0
0.298329
0.105012
0
0
0
0
0
1
0
false
0
0.1
0
0.1
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
2639d6df45c82dad958146d455955f7a1f47c7bf
656
py
Python
src/json_operation.py
yuto51942/LINE-alert-bot
90b445af131ee5f131dae2ebdb85443ddd72d3e9
[ "MIT" ]
7
2020-04-22T04:16:29.000Z
2021-09-19T13:16:55.000Z
src/json_operation.py
cateiru/LINE-alert-bot
90b445af131ee5f131dae2ebdb85443ddd72d3e9
[ "MIT" ]
17
2020-04-07T12:15:05.000Z
2020-06-12T07:08:16.000Z
src/json_operation.py
yuto51942/LINE-alert-bot
90b445af131ee5f131dae2ebdb85443ddd72d3e9
[ "MIT" ]
1
2022-03-16T16:07:59.000Z
2022-03-16T16:07:59.000Z
''' Copyright © 2020 YutoWatanabe ''' import json from typing import Any def json_read(json_file_path: str) -> Any: ''' JSONファイルを読み込む Args: json_file_path (str): JSONファイルのパス Returns: Any: JSONの内容 ''' with open(json_file_path, mode='r') as contents: json_body = json.lo...
19.294118
68
0.634146
86
656
4.616279
0.453488
0.120907
0.18136
0.151134
0.267003
0.171285
0.171285
0.171285
0
0
0
0.010225
0.254573
656
33
69
19.878788
0.799591
0.303354
0
0
0
0
0.005115
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.555556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
26488c3d676cf9ae60b40b5b17c9fa649f68477e
2,272
py
Python
scripts/room.py
Adrianval96/TextMapParser
09d68c1cbd79e768debcedc8c2a2954d22bffdf9
[ "MIT" ]
null
null
null
scripts/room.py
Adrianval96/TextMapParser
09d68c1cbd79e768debcedc8c2a2954d22bffdf9
[ "MIT" ]
null
null
null
scripts/room.py
Adrianval96/TextMapParser
09d68c1cbd79e768debcedc8c2a2954d22bffdf9
[ "MIT" ]
null
null
null
class Room: def __init__(self, lw, rw, name=""): self.id = id(self) self.name = name self.leftWall = lw self.rightWall = rw self.P = 0 self.S = 0 self.W = 0 self.C = 0 self.parseFinish = False def getId(self): return self.id d...
23.915789
129
0.501761
272
2,272
4.132353
0.198529
0.133452
0.137011
0.02847
0.042705
0.042705
0
0
0
0
0
0.005405
0.348592
2,272
95
130
23.915789
0.754054
0.153169
0
0.098361
0
0
0.021455
0
0
0
0
0
0
1
0.311475
false
0
0
0.196721
0.590164
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
2649b9209ce1db67a8a2760943e96d899c0e3bbf
516
py
Python
intro_3/polls/migrations/0003_auto_20181002_1905.py
cs-fullstack-fall-2018/django-intro3-cgarciapieto
7ad60c41f347d998f9adf8aee5c95847816d7d3d
[ "Apache-2.0" ]
null
null
null
intro_3/polls/migrations/0003_auto_20181002_1905.py
cs-fullstack-fall-2018/django-intro3-cgarciapieto
7ad60c41f347d998f9adf8aee5c95847816d7d3d
[ "Apache-2.0" ]
null
null
null
intro_3/polls/migrations/0003_auto_20181002_1905.py
cs-fullstack-fall-2018/django-intro3-cgarciapieto
7ad60c41f347d998f9adf8aee5c95847816d7d3d
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.6 on 2018-10-02 19:05 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('polls', '0002_book'), ] operations = [ migrations.RemoveField( model_name='book', name='book_text', ), migra...
19.846154
47
0.523256
48
516
5.520833
0.604167
0.120755
0.29434
0.339623
0.430189
0.430189
0
0
0
0
0
0.057402
0.358527
516
25
48
20.64
0.743202
0.087209
0
0.473684
1
0
0.102345
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
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
265acb2daeaae03dcd81c828b5f4c7b1ce8fa548
129
py
Python
home/urls.py
Rasel-Al-Mamun/Fiction-Django
b5f25b84abdabc62cf82af7cdfe63fd45f265ded
[ "MIT" ]
null
null
null
home/urls.py
Rasel-Al-Mamun/Fiction-Django
b5f25b84abdabc62cf82af7cdfe63fd45f265ded
[ "MIT" ]
null
null
null
home/urls.py
Rasel-Al-Mamun/Fiction-Django
b5f25b84abdabc62cf82af7cdfe63fd45f265ded
[ "MIT" ]
null
null
null
from .import views from django.urls import path app_name = 'home' urlpatterns = [ path('', views.homeView, name='home'), ]
14.333333
42
0.674419
17
129
5.058824
0.647059
0.186047
0
0
0
0
0
0
0
0
0
0
0.178295
129
8
43
16.125
0.811321
0
0
0
0
0
0.062016
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
267abb0ab9c971700b61870aef0fe3428b12eb1c
173
py
Python
app/__init__.py
verowangari/News
07ee8f715e595c862e458a7368ad8e5e1940c8c3
[ "MIT" ]
null
null
null
app/__init__.py
verowangari/News
07ee8f715e595c862e458a7368ad8e5e1940c8c3
[ "MIT" ]
null
null
null
app/__init__.py
verowangari/News
07ee8f715e595c862e458a7368ad8e5e1940c8c3
[ "MIT" ]
null
null
null
from flask import Flask from config import DevelopmentConfig app = Flask(__name__)#create a relative path app.config.from_object(DevelopmentConfig) from app import routes
21.625
44
0.83237
24
173
5.791667
0.541667
0
0
0
0
0
0
0
0
0
0
0
0.121387
173
7
45
24.714286
0.914474
0.127168
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
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
1
0
0
0
0
3
268929990ba2b6851d83e41ad83d4305b002376e
372
py
Python
Desafios/desafio21.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
1
2019-11-21T02:08:58.000Z
2019-11-21T02:08:58.000Z
Desafios/desafio21.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
null
null
null
Desafios/desafio21.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
null
null
null
nome = str(input('Digite seu nome:')).strip() serardor = nome.split() print('Analisando seu nome...') print('Seu nome em maiusculas é', nome.upper()) print('Seu nome em minusculas é', nome.lower()) print('seu nome tem ao todo', len(nome),'lertras') print('Seu primeiro nome é', ) print('seu nome primeiro é {} e t...
46.5
85
0.674731
58
372
4.327586
0.448276
0.167331
0.191235
0.111554
0
0
0
0
0
0
0
0.006211
0.134409
372
8
85
46.5
0.773292
0
0
0
0
0
0.464481
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
cd0c41465d2e5afad08b3a94e94ca87d390b60bb
60
py
Python
Config/db.py
stgaudron/Python-API
9885df21b8ec5353844af45bbebad3fc5a069357
[ "MIT" ]
null
null
null
Config/db.py
stgaudron/Python-API
9885df21b8ec5353844af45bbebad3fc5a069357
[ "MIT" ]
null
null
null
Config/db.py
stgaudron/Python-API
9885df21b8ec5353844af45bbebad3fc5a069357
[ "MIT" ]
null
null
null
MONGO_URI='mongodb://localhost:27017/' MONGO_DBNAME='myApi'
20
38
0.783333
8
60
5.625
0.875
0
0
0
0
0
0
0
0
0
0
0.086207
0.033333
60
2
39
30
0.689655
0
0
0
0
0
0.516667
0.433333
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
cd4e6dc80f0f86f01c0cbcc7184dea88db86cca7
670
py
Python
projecteuler/util/number_properties.py
Tenebrar/codebase
59c9a35289fb29afedad0e3edd0519b67372ef9f
[ "Unlicense" ]
1
2020-04-21T11:39:25.000Z
2020-04-21T11:39:25.000Z
projecteuler/util/number_properties.py
Tenebrar/codebase
59c9a35289fb29afedad0e3edd0519b67372ef9f
[ "Unlicense" ]
7
2020-02-12T01:08:01.000Z
2022-02-10T11:56:56.000Z
projecteuler/util/number_properties.py
Tenebrar/codebase
59c9a35289fb29afedad0e3edd0519b67372ef9f
[ "Unlicense" ]
null
null
null
from projecteuler.util.divisors import divisors from projecteuler.util.string_properties import is_palindrome as is_palindrome_string def is_palindrome(number: int) -> bool: return is_palindrome_string(str(number)) def is_amicable(num: int) -> bool: """ Returns whether the number is part of an amicable numb...
35.263158
102
0.723881
98
670
4.857143
0.418367
0.10084
0.084034
0.071429
0.147059
0.147059
0.147059
0.147059
0
0
0
0
0.18209
670
18
103
37.222222
0.868613
0.298507
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cd5450e3574c54f7573885cb9f8ce1437d7f28b4
2,554
py
Python
lib/ttmake/__init__.py
ttecon/template
539341477ef4d2c461bd38d1806d28461d525830
[ "MIT" ]
null
null
null
lib/ttmake/__init__.py
ttecon/template
539341477ef4d2c461bd38d1806d28461d525830
[ "MIT" ]
null
null
null
lib/ttmake/__init__.py
ttecon/template
539341477ef4d2c461bd38d1806d28461d525830
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: latin-1 -*- from __future__ import absolute_import, division, print_function, unicode_literals from builtins import * """ ======================================================= ttmake: a library of make.py and LyX/TeX filling tools =====================================================...
44.807018
82
0.711433
343
2,554
5.12828
0.483965
0.051165
0.014781
0.021603
0
0
0
0
0
0
0
0.002425
0.192639
2,554
56
83
45.607143
0.85063
0.029757
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.647059
0
0.647059
0.058824
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
cd5cfa599ee5e8ddcd74c7aaf3a1a4048c35e968
165
py
Python
crypt0/base/base32_decode.py
Crypto0/Crypt0Lib-V1
9ea367cd4467222542a88c45c0a92be78158cceb
[ "MIT" ]
2
2018-10-09T18:10:23.000Z
2018-10-09T18:56:21.000Z
crypt0/base/base32_decode.py
Crypto0/Crypt0Lib-V1
9ea367cd4467222542a88c45c0a92be78158cceb
[ "MIT" ]
null
null
null
crypt0/base/base32_decode.py
Crypto0/Crypt0Lib-V1
9ea367cd4467222542a88c45c0a92be78158cceb
[ "MIT" ]
null
null
null
import base64 def base32_decode(data): try: encode = base64.b32decode(data) return encode except TypeError: return "Sorry! This is not Base32"
20.625
42
0.684848
21
165
5.333333
0.761905
0
0
0
0
0
0
0
0
0
0
0.08
0.242424
165
7
43
23.571429
0.816
0
0
0
0
0
0.151515
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
269ac1c6d0b948e0006c299d1628e2294e47a5e8
10,319
py
Python
horovod/tensorflow/test_values_approximation.py
DelphianCalamity/horovod
16c79766b7d6f86a1e64b373f9cd81d3680c06c8
[ "Apache-2.0" ]
null
null
null
horovod/tensorflow/test_values_approximation.py
DelphianCalamity/horovod
16c79766b7d6f86a1e64b373f9cd81d3680c06c8
[ "Apache-2.0" ]
null
null
null
horovod/tensorflow/test_values_approximation.py
DelphianCalamity/horovod
16c79766b7d6f86a1e64b373f9cd81d3680c06c8
[ "Apache-2.0" ]
null
null
null
from __future__ import division from tensorflow.python.platform import resource_loader from tensorflow.python.framework import load_library import tensorflow as tf import numpy as np import math def logit_basis(X, a, N): # log(p/(1-p)) return tf.cast(a * tf.math.log(X / ((N + 1) - X)), dtype=tf.float32) def exp_b...
69.722973
5,302
0.757147
1,149
10,319
6.673629
0.516971
0.023735
0.01252
0.00626
0.081116
0.061033
0.046948
0.039124
0.035733
0.035733
0
0.479736
0.105727
10,319
147
5,303
70.197279
0.351214
0.04419
0
0.056604
0
0
0.018628
0.002149
0
0
0
0
0
1
0.056604
false
0
0.056604
0.018868
0.169811
0.009434
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
26a40da2a7453da84b6fcd5a4cd3e386c858a2e0
562
py
Python
tests/test_connection.py
ckear1989/github
d7ddf7df7d4fac9c5a30931c052f5891f211f5ab
[ "MIT" ]
null
null
null
tests/test_connection.py
ckear1989/github
d7ddf7df7d4fac9c5a30931c052f5891f211f5ab
[ "MIT" ]
null
null
null
tests/test_connection.py
ckear1989/github
d7ddf7df7d4fac9c5a30931c052f5891f211f5ab
[ "MIT" ]
null
null
null
""" Test connection functionality. """ import pytest from github.GithubException import BadCredentialsException from GitHubHealth.main import get_connection def test_get_connection(connection_with_token): """ Test that connection object can be obtained. """ assert connection_with_token[0] is not No...
22.48
77
0.743772
69
562
5.913043
0.550725
0.095588
0.093137
0
0
0
0
0
0
0
0
0.002174
0.181495
562
24
78
23.416667
0.884783
0.265125
0
0
0
0
0.053333
0
0
0
0
0
0.25
1
0.25
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
26aac676a4ecb89f807dc296c7750f1c64416eeb
787
py
Python
modules/FrontLedCan/effect.py
neotje/CEN
00224668b6bc4bc0ecbe0df01137873b3a21b451
[ "MIT" ]
null
null
null
modules/FrontLedCan/effect.py
neotje/CEN
00224668b6bc4bc0ecbe0df01137873b3a21b451
[ "MIT" ]
12
2021-07-03T21:15:39.000Z
2021-11-04T17:40:45.000Z
modules/FrontLedCan/effect.py
neotje/CEN
00224668b6bc4bc0ecbe0df01137873b3a21b451
[ "MIT" ]
null
null
null
from ledManager import LedManager import math def lerp(start, stop, amt): return (stop - start)*amt + start def lerpColor(c1, c2, amt): return ( lerp(c1[0], c2[0], amt), lerp(c1[1], c2[1], amt), lerp(c1[2], c2[2], amt) ) class Effect: _id: int leds: LedManager def __i...
19.675
70
0.56925
105
787
4.2
0.361905
0.040816
0.040816
0.054422
0.126984
0.126984
0.126984
0
0
0
0
0.041894
0.302414
787
40
71
19.675
0.761384
0
0
0.071429
0
0
0
0
0
0
0
0
0
1
0.214286
false
0.035714
0.071429
0.107143
0.607143
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
26fc5a3fa53dc2c0595c9627b1bac1eece3b8108
52
py
Python
scripts/news.py
whoo/rpi-rgb-led-matrix
8a400dd34ec6af5dd30a6540dced3d9f40511b03
[ "BSD-Source-Code" ]
null
null
null
scripts/news.py
whoo/rpi-rgb-led-matrix
8a400dd34ec6af5dd30a6540dced3d9f40511b03
[ "BSD-Source-Code" ]
null
null
null
scripts/news.py
whoo/rpi-rgb-led-matrix
8a400dd34ec6af5dd30a6540dced3d9f40511b03
[ "BSD-Source-Code" ]
null
null
null
#!/bin/bash cd $(dirname $0) ./News > ../data/file
10.4
21
0.557692
8
52
3.625
1
0
0
0
0
0
0
0
0
0
0
0.022727
0.153846
52
4
22
13
0.636364
0.192308
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f8257920871a5bdbb8669fd487017eb3df002e83
2,475
py
Python
mltools/graphs.py
marcopodda/netutils
ee19ac7456262e6c2fb4a39fc967224abe2e400c
[ "MIT" ]
null
null
null
mltools/graphs.py
marcopodda/netutils
ee19ac7456262e6c2fb4a39fc967224abe2e400c
[ "MIT" ]
null
null
null
mltools/graphs.py
marcopodda/netutils
ee19ac7456262e6c2fb4a39fc967224abe2e400c
[ "MIT" ]
null
null
null
from statistics import mean, stdev class Graphlist: def __init__(self, graphs=None): self._graphs = graphs or [] self._num_nodes = [] self._num_edges = [] for G in self._graphs: num_nodes = G.number_of_nodes() num_edges = G.number_of_edges() sel...
26.329787
52
0.601616
340
2,475
4.038235
0.158824
0.09177
0.07866
0.036417
0.329206
0.088857
0.088857
0.050983
0.050983
0.050983
0
0
0.284444
2,475
93
53
26.612903
0.775268
0
0
0.086957
0
0
0.055758
0.054545
0
0
0
0
0
1
0.318841
false
0
0.014493
0.188406
0.57971
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
f8563378be7c797e7dffbad0dc86277588fe49dc
360
py
Python
benchmark.py
tlevine/scraperwiki-python
581c31f047ce1c24be795769f8809fcf9c2f8558
[ "BSD-2-Clause" ]
73
2015-01-05T05:18:51.000Z
2019-06-04T06:04:51.000Z
benchmark.py
tlevine/scraperwiki-python
581c31f047ce1c24be795769f8809fcf9c2f8558
[ "BSD-2-Clause" ]
21
2015-02-26T12:35:43.000Z
2019-11-27T11:32:24.000Z
benchmark.py
tlevine/scraperwiki-python
581c31f047ce1c24be795769f8809fcf9c2f8558
[ "BSD-2-Clause" ]
26
2015-01-20T10:37:24.000Z
2019-07-02T00:31:56.000Z
#! /usr/bin/env python from __future__ import absolute_import import scraperwiki import os from six.moves import range rows = [{'id': i, 'test': i * 2, 's': "abc"} for i in range(1000)] try: os.remove('scraperwiki.sqlite') except OSError: pass scraperwiki.sql.save(['id'], rows) for i, row in enumerate(rows)...
20
66
0.677778
55
360
4.345455
0.6
0.033473
0.150628
0.167364
0
0
0
0
0
0
0
0.016611
0.163889
360
17
67
21.176471
0.777409
0.058333
0
0
0
0
0.094675
0
0
0
0
0
0
1
0
false
0.083333
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
f8633ab69c2e0e759bef8bbf89699c41b9eef480
210
py
Python
Python/ex016.py
MarcosRibas/Projeto100Exercicios
15c16eb0d9c4182d93e4bb83e11acad0728f5ec9
[ "MIT" ]
null
null
null
Python/ex016.py
MarcosRibas/Projeto100Exercicios
15c16eb0d9c4182d93e4bb83e11acad0728f5ec9
[ "MIT" ]
null
null
null
Python/ex016.py
MarcosRibas/Projeto100Exercicios
15c16eb0d9c4182d93e4bb83e11acad0728f5ec9
[ "MIT" ]
null
null
null
#Ex016 Crie um programa que leia um número Real qualquer pelo teclado e mostre na tela a sua porção inteira. num = float(input('Digite um número real: ')) print(f'O número inteiro do número {num} é {num:.0f}')
52.5
108
0.738095
38
210
4.078947
0.789474
0.103226
0.154839
0
0
0
0
0
0
0
0
0.022857
0.166667
210
4
109
52.5
0.862857
0.509524
0
0
0
0
0.650485
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f87c1fc59bccefbf59e48cf44f5a2acf4b6fc071
432
py
Python
fitbeat_project/urls.py
huddlej/fitbeats
f1841747740636320eaa4e94c1fad591a5100fbd
[ "Apache-2.0" ]
null
null
null
fitbeat_project/urls.py
huddlej/fitbeats
f1841747740636320eaa4e94c1fad591a5100fbd
[ "Apache-2.0" ]
null
null
null
fitbeat_project/urls.py
huddlej/fitbeats
f1841747740636320eaa4e94c1fad591a5100fbd
[ "Apache-2.0" ]
null
null
null
from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^login/$', 'fitbeat_project.fitbeats.views.user_login'), (r'^logout/$', 'fitbeat_project.fitbeats.views.user_logout'), (r'^admin/', include('django.contrib.admin.urls')), (r'^site_media/(?P<path>.*)$', 'django.views.static.serve', ...
39.272727
65
0.662037
52
432
5.365385
0.557692
0.150538
0.236559
0.193548
0.222222
0
0
0
0
0
0
0
0.108796
432
10
66
43.2
0.724675
0
0
0
0
0
0.585648
0.497685
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f891bda8858d76a3e272a5d079f968134ea0f2bd
324
py
Python
FTSensor/FTSensor.py
yanglh14/InteractiveGrasping
b5bc1866a1847e7b0c11616fd6cbe949c64a355b
[ "MIT" ]
3
2021-04-14T08:24:40.000Z
2021-11-04T04:10:19.000Z
FTSensor/FTSensor.py
yanglh14/InteractiveGrasping
b5bc1866a1847e7b0c11616fd6cbe949c64a355b
[ "MIT" ]
null
null
null
FTSensor/FTSensor.py
yanglh14/InteractiveGrasping
b5bc1866a1847e7b0c11616fd6cbe949c64a355b
[ "MIT" ]
null
null
null
import FTReading class FTSensor(): def __init__(self,IP = '192.168.1.101'): self.FTSensor = FTReading.FTReading('192.168.1.101') self.FTSensor.InitFT() self.data = self.FTSensor.GetReading(100) def GetData(self): self.data = self.FTSensor.GetReading(100) return self.d...
23.142857
60
0.638889
41
324
4.95122
0.439024
0.236453
0.068966
0.098522
0.541872
0.541872
0
0
0
0
0
0.104
0.228395
324
13
61
24.923077
0.708
0
0
0.222222
0
0
0.080247
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
f8b0b3e7ada679d9c7aaa5babeae2376e0fec0d7
265
py
Python
HelloWorld/strings2.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
HelloWorld/strings2.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
HelloWorld/strings2.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
parrot = 'NORWEGIAN BLUE' print(parrot) print(parrot[3]) print(parrot[4]) print() print(parrot[3]) print(parrot[6]) print(parrot[8]) print() print(parrot[-4:]) print() number = '9,243;365:248 978;269' separators = number[1::4] print(separators)
14.722222
33
0.649057
39
265
4.410256
0.435897
0.447674
0.139535
0.197674
0.267442
0
0
0
0
0
0
0.107623
0.158491
265
18
34
14.722222
0.663677
0
0
0.357143
0
0
0.140562
0
0
0
0
0
0
1
0
false
0
0
0
0
0.785714
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f8b37b7a3960351034fbb9c963c46ffa7e54a689
5,610
py
Python
temboo/core/Library/Facebook/Publishing/Post.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/Facebook/Publishing/Post.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/Facebook/Publishing/Post.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # Post # Adds an entry to a user's profile feed. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file ex...
42.180451
214
0.663636
724
5,610
5.063536
0.269337
0.025914
0.036007
0.045008
0.351064
0.265685
0.213312
0.100109
0.100109
0.100109
0
0.003202
0.220677
5,610
132
215
42.5
0.835316
0.506595
0
0
0
0
0.056175
0.014712
0
0
0
0
0
1
0.4
false
0
0.111111
0.111111
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
f8b4e1c024c726b8f2e76beb4dadbc1f098613f2
783
py
Python
user.py
nivlapeter/Password_Locker
4eab59a0c4c243449682d1b9c2e59541adabe309
[ "Unlicense" ]
null
null
null
user.py
nivlapeter/Password_Locker
4eab59a0c4c243449682d1b9c2e59541adabe309
[ "Unlicense" ]
null
null
null
user.py
nivlapeter/Password_Locker
4eab59a0c4c243449682d1b9c2e59541adabe309
[ "Unlicense" ]
null
null
null
class User: ''' class that generates new instances of users ''' user_list = [] #empty user list def __init__(self,username,password): self.username = username self.password = password def registration(self): ''' registration method adds users to the system ...
24.46875
81
0.646232
80
783
6.1125
0.375
0.122699
0.07362
0.06135
0
0
0
0
0
0
0
0
0.273308
783
32
82
24.46875
0.859402
0.303959
0
0
1
0
0
0
0
0
0
0
0
1
0.307692
false
0.153846
0
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
f8b53c3f4154375a9c47d44d627097b8fae19896
1,703
py
Python
nislmigrate/facades/mongo_configuration.py
ni/NI-SystemLink-Migration
dbce27627a2ea9b0121478ef64d9acfa2940a20d
[ "MIT" ]
null
null
null
nislmigrate/facades/mongo_configuration.py
ni/NI-SystemLink-Migration
dbce27627a2ea9b0121478ef64d9acfa2940a20d
[ "MIT" ]
9
2021-11-08T21:47:50.000Z
2022-03-30T20:06:52.000Z
nislmigrate/facades/mongo_configuration.py
ni/NI-SystemLink-Migration
dbce27627a2ea9b0121478ef64d9acfa2940a20d
[ "MIT" ]
null
null
null
from typing import Dict MONGO_HOST_NAME_CONFIGURATION_KEY = 'Mongo.Host' MONGO_DATABASE_NAME_CONFIGURATION_KEY = 'Mongo.Database' MONGO_PORT_NAME_CONFIGURATION_KEY = 'Mongo.Port' MONGO_USER_CONFIGURATION_KEY = 'Mongo.User' MONGO_PASSWORD_CONFIGURATION_KEY = 'Mongo.Password' MONGO_CUSTOM_CONNECTION_STRING_CONFIGURATION...
34.755102
92
0.698767
197
1,703
5.675127
0.177665
0.171735
0.121646
0.091234
0.452594
0.283542
0.211091
0.211091
0.075134
0
0
0
0.213153
1,703
48
93
35.479167
0.834328
0
0
0.157895
0
0
0.050499
0.016442
0
0
0
0
0
1
0.210526
false
0.105263
0.026316
0.157895
0.473684
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
1
0
0
0
3
f8b606ff2feac258ea34895d0a29c84cd4813285
482
py
Python
Dataset/Leetcode/train/121/65.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/121/65.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/121/65.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, prices: List[int]) -> int: if len(prices)<2: return 0 min = prices[0] max= prices[0] ans = 0 for i in range(1,len(prices)): if min>prices[i] : min = prices[i] max = 0 elif max<p...
22.952381
44
0.394191
57
482
3.333333
0.421053
0.147368
0.105263
0
0
0
0
0
0
0
0
0.029412
0.506224
482
20
45
24.1
0.768908
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.055556
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
f8b849c65ea9e3e506e373685d2389786d6b6ad0
22,287
py
Python
main.py
leichen2018/AttrRW_Matrix_Factorization
ebe677e5d84b4b8e537ecc7906e83adb76398d16
[ "MIT" ]
2
2019-11-25T08:50:38.000Z
2020-01-16T14:55:31.000Z
main.py
leichen2018/AttrRW_Matrix_Factorization
ebe677e5d84b4b8e537ecc7906e83adb76398d16
[ "MIT" ]
null
null
null
main.py
leichen2018/AttrRW_Matrix_Factorization
ebe677e5d84b4b8e537ecc7906e83adb76398d16
[ "MIT" ]
null
null
null
import scipy.io as sio import numpy as np from scipy.sparse import csc_matrix import scipy.sparse as sp from sklearn.preprocessing import normalize import scipy.sparse.linalg as LA import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim import argparse import sklearn.metrics as me...
39.94086
195
0.637143
3,112
22,287
4.312661
0.099293
0.025482
0.018404
0.021235
0.745324
0.705313
0.682662
0.655987
0.63423
0.625661
0
0.02057
0.232198
22,287
557
196
40.012567
0.763733
0.053708
0
0.578692
0
0
0.033512
0.004346
0
0
0
0
0.004843
0
null
null
0
0.041162
null
null
0.016949
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f8b9453b10c75783a4742637dcdcc9071c90369c
47
py
Python
price_analysis/urls.py
eyobofficial/orit-analysis
c9d71a3195ce2da17d873e5b06611389037530a2
[ "MIT" ]
null
null
null
price_analysis/urls.py
eyobofficial/orit-analysis
c9d71a3195ce2da17d873e5b06611389037530a2
[ "MIT" ]
16
2018-10-28T19:40:48.000Z
2019-03-22T11:04:41.000Z
price_analysis/urls.py
eyobofficial/orit-analysis
c9d71a3195ce2da17d873e5b06611389037530a2
[ "MIT" ]
null
null
null
app_name = 'price_analysis' urlpatterns = []
9.4
27
0.702128
5
47
6.2
1
0
0
0
0
0
0
0
0
0
0
0
0.170213
47
4
28
11.75
0.794872
0
0
0
0
0
0.297872
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
6ef2ae8e271feb3beb7ada48d281d54fc9b84b04
931
py
Python
ym/codes/src/yException.py
mightyang/misc
711d6c34074a5ef96fe8d765f9d9d63075b7ad71
[ "Apache-2.0" ]
null
null
null
ym/codes/src/yException.py
mightyang/misc
711d6c34074a5ef96fe8d765f9d9d63075b7ad71
[ "Apache-2.0" ]
null
null
null
ym/codes/src/yException.py
mightyang/misc
711d6c34074a5ef96fe8d765f9d9d63075b7ad71
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # File : yException.py # Author : yang <mightyang@hotmail.com> # Date : 02.11.2019 # Last Modified Date: 03.11.2019 # Last Modified By : yang <mightyang@hotmail.com> class yException(Exception): ''' 基本异常 ''' def __ini...
27.382353
100
0.621912
99
931
5.565657
0.505051
0.072595
0.059891
0.083485
0.083485
0.083485
0
0
0
0
0
0.02546
0.240602
931
33
101
28.212121
0.75389
0.259936
0
0.266667
0
0
0.122939
0
0
0
0
0
0
1
0.333333
false
0
0
0.133333
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
3e2cd1db18b70b27ff845ec81f51da3ce4f38d32
169
py
Python
cap7/ex3.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
cap7/ex3.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
cap7/ex3.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
nome1 = 'Felipe' nome2 = 'Schmaedecke' for n in nome1: if n not in nome2: print(n, end=' ') for n in nome2: if n not in nome1: print(n, end=' ')
18.777778
25
0.550296
28
169
3.321429
0.392857
0.086022
0.129032
0.172043
0
0
0
0
0
0
0
0.052174
0.319527
169
8
26
21.125
0.756522
0
0
0.25
0
0
0.112426
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3e40ed5fd3697dd32d5175eef4a4a6d8b826ed62
110
py
Python
wsgi/__init__.py
fnbellomo/boneApp
f9bf910a45285c8f745cd2d1bc60fbe8907c3f1b
[ "MIT" ]
null
null
null
wsgi/__init__.py
fnbellomo/boneApp
f9bf910a45285c8f745cd2d1bc60fbe8907c3f1b
[ "MIT" ]
null
null
null
wsgi/__init__.py
fnbellomo/boneApp
f9bf910a45285c8f745cd2d1bc60fbe8907c3f1b
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) app.config.from_object('wsgi.settings') from wsgi import route
18.333333
39
0.790909
17
110
4.823529
0.588235
0
0
0
0
0
0
0
0
0
0
0
0.118182
110
5
40
22
0.845361
0
0
0
0
0
0.118182
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
3e429de457c949d4d7e75964fdb80bc6abd24656
581
py
Python
model/group.py
hubertgorecki/python_training
61595647009cb86f9cd6039d52037ddf52617bf6
[ "Apache-2.0" ]
null
null
null
model/group.py
hubertgorecki/python_training
61595647009cb86f9cd6039d52037ddf52617bf6
[ "Apache-2.0" ]
null
null
null
model/group.py
hubertgorecki/python_training
61595647009cb86f9cd6039d52037ddf52617bf6
[ "Apache-2.0" ]
null
null
null
from sys import maxsize class Group: def __init__(self, nazwa=None, naglowek=None, stopka=None, id=None): self.nazwa = nazwa self.naglowek = naglowek self.stopka = stopka self.id = id def __repr__(self): return "%s:%s:%s:%s" % (self.id, self.nazwa, self.naglowek, self.s...
29.05
105
0.595525
84
581
3.952381
0.309524
0.108434
0.10241
0.060241
0
0
0
0
0
0
0
0
0.289157
581
20
106
29.05
0.803874
0
0
0
0
0
0.0189
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3e5e1f1b07186132514859ae71dd5858d6e33f52
83
py
Python
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_dolfin-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
4
2020-08-07T08:19:19.000Z
2020-12-04T09:51:11.000Z
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_dolfin-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
19
2020-08-06T00:24:30.000Z
2022-03-30T19:22:24.000Z
locale/pot/api/examples/_autosummary/pyvista-examples-downloads-download_dolfin-1.py
tkoyama010/pyvista-doc-translations
23bb813387b7f8bfe17e86c2244d5dd2243990db
[ "MIT" ]
1
2021-03-09T07:50:40.000Z
2021-03-09T07:50:40.000Z
from pyvista import examples dataset = examples.download_dolfin() # doctest:+SKIP
27.666667
53
0.795181
10
83
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.120482
83
2
54
41.5
0.890411
0.156627
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
3e79f4abba6f938a9b3f69bb9540dd2baf3ee612
177
py
Python
conf.py
sjsafranek/dev_project_09082021
bcc37c4a853121be266822a6b0871b88b93daaa2
[ "MIT" ]
null
null
null
conf.py
sjsafranek/dev_project_09082021
bcc37c4a853121be266822a6b0871b88b93daaa2
[ "MIT" ]
null
null
null
conf.py
sjsafranek/dev_project_09082021
bcc37c4a853121be266822a6b0871b88b93daaa2
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # Because I decided to use the ThreadingMixIn in the HTTPServer # we will need to persist the data on disk... # DB_FILE = ':memory:' DB_FILE = 'db.sqlite3'
22.125
63
0.711864
29
177
4.275862
0.793103
0.096774
0
0
0
0
0
0
0
0
0
0.013699
0.175141
177
7
64
25.285714
0.835616
0.813559
0
0
0
0
0.344828
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
3e7e514d9605e0f59c07e00fa6b647e8527126d2
15,876
py
Python
src/bataillenavale/engine.py
EdwinMindcraft/BatailleNavaleISN
4e42f2957bfaa1cfb1135921e0aaa5229c47f50a
[ "CC0-1.0" ]
null
null
null
src/bataillenavale/engine.py
EdwinMindcraft/BatailleNavaleISN
4e42f2957bfaa1cfb1135921e0aaa5229c47f50a
[ "CC0-1.0" ]
null
null
null
src/bataillenavale/engine.py
EdwinMindcraft/BatailleNavaleISN
4e42f2957bfaa1cfb1135921e0aaa5229c47f50a
[ "CC0-1.0" ]
null
null
null
""" Variables Globales. Elle permettent de rendre le code plus digeste. On pourrais en theorie les remplaces par leurs nombres respectif mais ce serais illisible. """ NULL = (0) BOAT = (1) DESTROYED = (2) HIT_SUCCESS = (3) HIT_MISS = (4) DIRECTION_UP = (5) DIRECTION_DOWN = (6) DIRECTION_LEFT = (7) DIRECTIO...
40.090909
128
0.50485
1,752
15,876
4.413242
0.110731
0.204863
0.30419
0.401449
0.660243
0.608251
0.548758
0.501811
0.456803
0.449043
0
0.020785
0.402998
15,876
395
129
40.192405
0.794999
0.019337
0
0.655882
0
0
0.000423
0
0
0
0
0
0
1
0.038235
false
0
0
0
0.152941
0.005882
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
e41748557c212ac8bb0321ba152694ae38da8e97
396
py
Python
python/w3school/strings.py
mp5maker/library
b4d2eea70ae0da9d917285569031edfb4d8ab9fc
[ "MIT" ]
null
null
null
python/w3school/strings.py
mp5maker/library
b4d2eea70ae0da9d917285569031edfb4d8ab9fc
[ "MIT" ]
23
2020-08-15T15:18:32.000Z
2022-02-26T13:49:05.000Z
python/w3school/strings.py
mp5maker/library
b4d2eea70ae0da9d917285569031edfb4d8ab9fc
[ "MIT" ]
null
null
null
# String Literals hello_world = "Hello, World" hello_world_two = " Hello World " print(hello_world[1]) print(hello_world[0:5]) # Length of the string print(len(hello_world)) # Strip print(hello_world_two) print(hello_world_two.strip()) # Lower print(hello_world.lower()) # Upper print(hello_world.upper()) # Replace...
16.5
36
0.734848
60
396
4.616667
0.333333
0.469314
0.433213
0.144404
0
0
0
0
0
0
0
0.008499
0.108586
396
24
37
16.5
0.776204
0.171717
0
0
0
0
0.087227
0
0
0
0
0
0
1
0
false
0
0
0
0
0.818182
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e4302941b3d6608eb00f23ddc20f02c90cad1fc1
228
py
Python
01 - Fundamentos/ex011.py
epedropaulo/MyPython
cdb3602a01aedac26047f5b11a36a2262d4cc2ea
[ "MIT" ]
null
null
null
01 - Fundamentos/ex011.py
epedropaulo/MyPython
cdb3602a01aedac26047f5b11a36a2262d4cc2ea
[ "MIT" ]
null
null
null
01 - Fundamentos/ex011.py
epedropaulo/MyPython
cdb3602a01aedac26047f5b11a36a2262d4cc2ea
[ "MIT" ]
null
null
null
larg = float(input('Quanto de largura tem ? ')) alt = float(input('Quanto de altura tem ? ')) a = larg*alt t = a / 2 print(f'A área do compartimento é de {a :.3f} m**2. \n' f'E precisa de {t :.3f} litros de tinta.')
32.571429
56
0.592105
42
228
3.214286
0.595238
0.148148
0.237037
0.266667
0
0
0
0
0
0
0
0.022989
0.236842
228
6
57
38
0.752874
0
0
0
0
0
0.59009
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
e4334f264b85424bacc782a939feba02a2210823
186
py
Python
objectpermissions/signals.py
Dimaz55/django-objectpermissions
b59d78f2de5b057fa641f08409528301b5a3d862
[ "Apache-2.0" ]
null
null
null
objectpermissions/signals.py
Dimaz55/django-objectpermissions
b59d78f2de5b057fa641f08409528301b5a3d862
[ "Apache-2.0" ]
null
null
null
objectpermissions/signals.py
Dimaz55/django-objectpermissions
b59d78f2de5b057fa641f08409528301b5a3d862
[ "Apache-2.0" ]
null
null
null
from django.dispatch import Signal # Whenever a permission object is saved, it sends out the signal. This allows # models to keep their permissions in sync permission_changed = Signal()
37.2
77
0.801075
28
186
5.285714
0.892857
0
0
0
0
0
0
0
0
0
0
0
0.155914
186
5
78
37.2
0.942675
0.623656
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
e434a2a288a0bc3ff547a4fa24672d0ad6b06f15
2,253
py
Python
dalme_app/models/reference.py
DALME/dalme
46f9a0011fdb75c5098b552104fc73b1062e16e9
[ "BSD-3-Clause" ]
6
2019-05-07T01:06:04.000Z
2021-02-19T20:45:09.000Z
dalme_app/models/reference.py
DALME/dalme
46f9a0011fdb75c5098b552104fc73b1062e16e9
[ "BSD-3-Clause" ]
23
2018-09-14T18:01:42.000Z
2021-12-29T17:25:18.000Z
dalme_app/models/reference.py
DALME/dalme
46f9a0011fdb75c5098b552104fc73b1062e16e9
[ "BSD-3-Clause" ]
1
2020-02-10T16:20:57.000Z
2020-02-10T16:20:57.000Z
from django.db import models from dalme_app.models._templates import dalmeIntid, dalmeUuid import django.db.models.options as options options.DEFAULT_NAMES = options.DEFAULT_NAMES + ('in_db',) class AttributeReference(dalmeUuid): name = models.CharField(max_length=255) short_name = models.CharField(max_lengt...
30.863014
95
0.697292
279
2,253
5.433692
0.301075
0.128628
0.154354
0.205805
0.485488
0.331135
0.290237
0.150396
0.150396
0.150396
0
0.022851
0.184199
2,253
72
96
31.291667
0.801959
0
0
0.301887
0
0
0.078562
0.022193
0
0
0
0
0
1
0.113208
false
0
0.056604
0.113208
0.849057
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
e476d98ab7a5d790529a7ab052403fd27ae61153
115
py
Python
tests/test_mailname.py
jerrykan-formulas/exim-formula
2d53a52b14da54dc773f8dc286cfb349d9267644
[ "Apache-2.0" ]
1
2016-12-01T04:13:47.000Z
2016-12-01T04:13:47.000Z
tests/test_mailname.py
jerrykan/exim-formula
2d53a52b14da54dc773f8dc286cfb349d9267644
[ "Apache-2.0" ]
null
null
null
tests/test_mailname.py
jerrykan/exim-formula
2d53a52b14da54dc773f8dc286cfb349d9267644
[ "Apache-2.0" ]
null
null
null
def test_aliases_file(File): conf = File('/etc/mailname') assert conf.content == 'otherhost.example.com\n'
28.75
52
0.695652
16
115
4.875
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.147826
115
3
53
38.333333
0.795918
0
0
0
0
0
0.313043
0.2
0
0
0
0
0.333333
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
0
3
e4840775372dac6373fdece96a28439f7b9a0c95
566
py
Python
tests/data/test_bo_find_members_of_group.py
c17r/TagTrain
5aa1ca36439cc5e81d0c691f905a4bb879b78399
[ "MIT" ]
null
null
null
tests/data/test_bo_find_members_of_group.py
c17r/TagTrain
5aa1ca36439cc5e81d0c691f905a4bb879b78399
[ "MIT" ]
7
2020-03-24T17:54:31.000Z
2021-09-21T12:34:34.000Z
tests/data/test_bo_find_members_of_group.py
c17r/TagTrain
5aa1ca36439cc5e81d0c691f905a4bb879b78399
[ "MIT" ]
null
null
null
import pytest from . import db from .db import database from tagtrain import data def test_unknown_owner(database): with pytest.raises(data.Group.DoesNotExist): members = data.by_owner.find_members_of_group('non-existent', db.GROUP_NAME) def test_unknown_group(database): with pytest.raises(data.Gro...
25.727273
85
0.757951
84
566
4.857143
0.321429
0.051471
0.080882
0.110294
0.522059
0.522059
0.522059
0.522059
0.522059
0.522059
0
0.002058
0.141343
566
21
86
26.952381
0.837449
0
0
0.153846
0
0
0.042403
0
0
0
0
0
0.076923
1
0.230769
false
0
0.307692
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
e485557e1d0058c046d67d3bcf553e18f6bbdfed
14,518
py
Python
fastxtend/vision/models/xresnet.py
warner-benjamin/fastxtend
be969749a0401acb28effad7c09c8f96f699cbcc
[ "MIT" ]
null
null
null
fastxtend/vision/models/xresnet.py
warner-benjamin/fastxtend
be969749a0401acb28effad7c09c8f96f699cbcc
[ "MIT" ]
null
null
null
fastxtend/vision/models/xresnet.py
warner-benjamin/fastxtend
be969749a0401acb28effad7c09c8f96f699cbcc
[ "MIT" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/vision.models.xresnet.ipynb (unless otherwise specified). __all__ = ['ResBlock', 'ResNeXtBlock', 'SEBlock', 'SEResNeXtBlock', 'ECABlock', 'ECAResNeXtBlock', 'SABlock', 'SAResNeXtBlock', 'TABlock', 'TAResNeXtBlock', 'XResNet', 'xresnet18', 'xresnet34', 'xresnet...
43.208333
132
0.673715
2,180
14,518
4.314679
0.099541
0.053158
0.034871
0.034021
0.641505
0.590155
0.55454
0.507867
0.419094
0.413353
0
0.059827
0.1722
14,518
336
133
43.208333
0.722832
0.047252
0
0.281746
1
0
0.082061
0.002171
0
0
0
0
0.003968
1
0.218254
false
0
0.02381
0.174603
0.456349
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
e48a17fdc1129f239e1abc9351bd4375944ccfed
99
py
Python
Rachitjain.py
TheDesTrucToRR/Hacktoberfest-2021
2757383c7432909dfbdbda61fb9ca9f6de495cfe
[ "MIT" ]
14
2021-10-01T16:53:27.000Z
2021-10-17T13:15:44.000Z
Rachitjain.py
TheDesTrucToRR/Hacktoberfest-2021
2757383c7432909dfbdbda61fb9ca9f6de495cfe
[ "MIT" ]
37
2021-10-01T17:14:52.000Z
2021-10-21T17:26:14.000Z
Rachitjain.py
TheDesTrucToRR/Hacktoberfest-2021
2757383c7432909dfbdbda61fb9ca9f6de495cfe
[ "MIT" ]
38
2021-10-01T16:59:16.000Z
2021-10-30T16:05:31.000Z
a = '''Hello Am rachit this is a little program and i hope its help for kids to do it.''' print(a)
24.75
51
0.686869
21
99
3.238095
0.904762
0
0
0
0
0
0
0
0
0
0
0
0.212121
99
3
52
33
0.871795
0
0
0
0
0
0.79798
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e4af84da660408029d8e88ffadff0bc6b3bf6372
480
py
Python
Python_Mscs/global_var_example/scriptC_main.py
kaungsgit/Python_DSP
0a2850ab4043332b8d1f516f1e589543207639c5
[ "MIT" ]
null
null
null
Python_Mscs/global_var_example/scriptC_main.py
kaungsgit/Python_DSP
0a2850ab4043332b8d1f516f1e589543207639c5
[ "MIT" ]
null
null
null
Python_Mscs/global_var_example/scriptC_main.py
kaungsgit/Python_DSP
0a2850ab4043332b8d1f516f1e589543207639c5
[ "MIT" ]
null
null
null
# main file """ this exercise proves that variable a in scriptA behaves like a true global variable that reflects its updated value (updated by other scripts)""" import scriptA_global_var as swp_gbl import scriptB_write as param_classes import scriptD_read print(swp_gbl.a) import swp_setup_files.scriptE_write as swp...
20
87
0.816667
81
480
4.555556
0.493827
0.081301
0.119241
0.130081
0.130081
0.130081
0
0
0
0
0
0
0.11875
480
23
88
20.869565
0.87234
0.31875
0
0.363636
0
0
0
0
0
0
0
0
0
1
0
true
0
0.363636
0
0.363636
0.454545
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
0
1
0
3
e4b0644b4cb0d82d7f7b389e8bd71f9ae8e756b8
121
py
Python
Topic_3_variables/hiBye.py
Izardo/myWork
f2a6fd46f31f840589108963d6c0e9d7fdc9ddde
[ "MIT" ]
null
null
null
Topic_3_variables/hiBye.py
Izardo/myWork
f2a6fd46f31f840589108963d6c0e9d7fdc9ddde
[ "MIT" ]
null
null
null
Topic_3_variables/hiBye.py
Izardo/myWork
f2a6fd46f31f840589108963d6c0e9d7fdc9ddde
[ "MIT" ]
null
null
null
# Outputs strings with inverted commas # Author: Isabella Doyle message = 'John said "hi", I said "bye.' print(message)
20.166667
40
0.727273
17
121
5.176471
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.165289
121
6
41
20.166667
0.871287
0.487603
0
0
0
0
0.466667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e4e2576f4ff2002df280c1e98a3dd36b4eb72d23
417
py
Python
src/pyf/api/views/base.py
collective/pyf.api
f3b53aba09a2744f61ff46a08a3feaf4fb21b593
[ "Apache-2.0" ]
null
null
null
src/pyf/api/views/base.py
collective/pyf.api
f3b53aba09a2744f61ff46a08a3feaf4fb21b593
[ "Apache-2.0" ]
5
2020-10-23T08:03:55.000Z
2020-10-23T15:39:06.000Z
src/pyf/api/views/base.py
collective/pyf.api
f3b53aba09a2744f61ff46a08a3feaf4fb21b593
[ "Apache-2.0" ]
null
null
null
PREFIX = "/api" CORS_POLICY = {"origins": ("*",), "max_age": 3600} class Base: def __init__(self, request, context=None): self.request = request @property def _index(self): return self.request.registry.settings["pyfapi.es.index"] def _result(self, result): return {"result": ...
21.947368
64
0.594724
47
417
5.085106
0.531915
0.138075
0
0
0
0
0
0
0
0
0
0.0125
0.232614
417
18
65
23.166667
0.734375
0
0
0
0
0
0.134293
0
0
0
0
0
0
1
0.333333
false
0
0
0.25
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
e4fa5f839ef62f0ebc49ad40045de11d7540a0f4
231
py
Python
committee/committee/custom_validation.py
starkware-libs/starkex-resources
44a15c7d1bdafda15766ea0fc2e0866e970e39c1
[ "Apache-2.0" ]
47
2020-05-24T05:31:24.000Z
2022-03-26T23:54:01.000Z
committee/committee/custom_validation.py
starkware-libs/starkex-resources-wip
24bb519dca808591e1c069ff9d46bdcb370b3fd1
[ "Apache-2.0" ]
4
2021-08-11T19:07:37.000Z
2021-11-28T09:22:51.000Z
committee/committee/custom_validation.py
starkware-libs/starkex-resources
44a15c7d1bdafda15766ea0fc2e0866e970e39c1
[ "Apache-2.0" ]
16
2020-03-01T02:40:20.000Z
2022-03-21T10:58:00.000Z
from starkware.objects.availability import StateUpdate async def is_valid(state_update: StateUpdate) -> bool: """ A hook for third parties to validate the state_update before signing the new root. """ return True
25.666667
86
0.735931
31
231
5.387097
0.870968
0.131737
0
0
0
0
0
0
0
0
0
0
0.199134
231
8
87
28.875
0.902703
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
90061d2a7b58fe967a26f3cffd3972ef944dc8e6
485
py
Python
__priorityOfOperators.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
__priorityOfOperators.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
__priorityOfOperators.py
simdevex/01.Basics
cf4f372384e66f4b26e4887d2f5d815a1f8e929c
[ "MIT" ]
null
null
null
''' Python program to check the priority of the four operators (+, -, *, /) ''' from collections import deque import re __priority__ = { '-': 1, '+': 2, '*': 3, '/': 4, } def test_higher_priority (operator1, operator2): return __priority__[operator1] > __priority__[operator2] print(test_higher_pr...
22.045455
71
0.645361
52
485
5.557692
0.480769
0.207612
0.373702
0.397924
0.397924
0.397924
0.397924
0.397924
0.397924
0.397924
0
0.019277
0.14433
485
21
72
23.095238
0.677108
0.146392
0
0
0
0
0.034483
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0.066667
0.266667
0.333333
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
900830b6e67584eba48d8d6a83f9686bb238738a
10,431
py
Python
run_single_hall.py
scottmeup/Weighted-Distance-Calculator
62362a263dfdf8b39dc21148244d5fc34521a8d0
[ "MIT" ]
null
null
null
run_single_hall.py
scottmeup/Weighted-Distance-Calculator
62362a263dfdf8b39dc21148244d5fc34521a8d0
[ "MIT" ]
null
null
null
run_single_hall.py
scottmeup/Weighted-Distance-Calculator
62362a263dfdf8b39dc21148244d5fc34521a8d0
[ "MIT" ]
null
null
null
import FullpathCalculator import poc_zombie_gui height = 30 width = 75 border = 1 me10101 = FullpathCalculator.path_calculator(height, width) #full hall horizontal paths clear_lines = [((2, 2), (2, 74)), ((16, 2), (16, 74)), ((29, 2), (29, 74)), #full-hall vert...
40.274131
112
0.480012
1,477
10,431
3.301286
0.205146
0.206727
0.022149
0.029532
0.567678
0.092084
0.061321
0.061321
0.042043
0
0
0.208719
0.285303
10,431
259
113
40.274131
0.445339
0.062889
0
0
0
0
0.056569
0
0
0
0
0
0
1
0
false
0
0.009009
0
0.009009
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
901ecb6422bd461c956e7df16aa3565198008bb5
879
py
Python
core/models/contact.py
Sibyx/dbs2019-project-assignment-nightgaunt
6c65364ef04b413a734dd495fba85569e2648d73
[ "Apache-2.0" ]
1
2020-03-21T16:44:48.000Z
2020-03-21T16:44:48.000Z
core/models/contact.py
Sibyx/dbs2019-project-assignment-nightgaunt
6c65364ef04b413a734dd495fba85569e2648d73
[ "Apache-2.0" ]
9
2019-05-17T09:26:59.000Z
2022-03-11T23:46:51.000Z
core/models/contact.py
Sibyx/mdns
6c65364ef04b413a734dd495fba85569e2648d73
[ "Apache-2.0" ]
null
null
null
from django.db import models from core.models.base import BaseModel from core.models.user import User class Contact(BaseModel): class Meta: app_label = 'core' default_permissions = () db_table = 'contacts' creator = models.ForeignKey(User, on_delete=models.CASCADE) name = models....
27.46875
63
0.678043
113
879
5.132743
0.415929
0.12931
0.155172
0.206897
0.27069
0.181034
0.181034
0
0
0
0
0.018705
0.209329
879
31
64
28.354839
0.815827
0
0
0.083333
0
0
0.078498
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.791667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
90239c22f03833e6670bef7614f911fb9cff3cc3
991
py
Python
screenpy.py
dannguyen/screenpy
1cd22b6e593c50e2037c367d6a53ffbd6e9f808f
[ "MIT" ]
null
null
null
screenpy.py
dannguyen/screenpy
1cd22b6e593c50e2037c367d6a53ffbd6e9f808f
[ "MIT" ]
null
null
null
screenpy.py
dannguyen/screenpy
1cd22b6e593c50e2037c367d6a53ffbd6e9f808f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ screenpy.py - a CLI wrapper around OSX's screencapture for easy screenshotting. I use it all the time for blogging technical tutorials that require a lot of screenshots: http://2015.padjo.org/tutorials/mapping/077-ok-schools-quakes/ Dependencies: Python 3.x and PI...
26.078947
121
0.694248
145
991
4.675862
0.675862
0.058997
0.076696
0.047198
0.103245
0.103245
0.103245
0.103245
0
0
0
0.015564
0.221998
991
37
122
26.783784
0.863813
0.903128
0
0
0
0
0.095238
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
9026533eb04917a1dcaf55a8af0580e8f7bfaadc
493
py
Python
python_work/Chapter3/Exer8.py
Elektra-2/python_crash_course_2nd
1c8beaddfe037faa3a36e7c384a6ea2f9d560060
[ "MIT" ]
1
2020-08-25T18:42:30.000Z
2020-08-25T18:42:30.000Z
python_work/Chapter3/Exer8.py
Elektra-2/python_crash_course_2nd
1c8beaddfe037faa3a36e7c384a6ea2f9d560060
[ "MIT" ]
null
null
null
python_work/Chapter3/Exer8.py
Elektra-2/python_crash_course_2nd
1c8beaddfe037faa3a36e7c384a6ea2f9d560060
[ "MIT" ]
null
null
null
# Exer 8 # # Creating a list of nice places to visit places_to_visit = ['island', 'australia', 'cananda', 'thailand'] print(places_to_visit) # putting the list into alphabetic order print(sorted(places_to_visit)) # putting the list back to its original order print(places_to_visit) # putting the list backwards place...
22.409091
64
0.782961
75
493
4.933333
0.413333
0.194595
0.316216
0.216216
0.435135
0.435135
0.362162
0.275676
0.275676
0.275676
0
0.002336
0.131846
493
21
65
23.47619
0.86215
0.464503
0
0.375
0
0
0.117647
0
0
0
0
0
0
1
0
false
0
0
0
0
0.625
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
5f4624a084aa7b06291c5c4bcbdf1d3e32e93d1f
890
py
Python
toolkit/filter_long_tk.py
Tigerye/OpenNMT-py
8e46d6b3b98d73c8da33d19d52ea1c7876a52a29
[ "MIT" ]
null
null
null
toolkit/filter_long_tk.py
Tigerye/OpenNMT-py
8e46d6b3b98d73c8da33d19d52ea1c7876a52a29
[ "MIT" ]
null
null
null
toolkit/filter_long_tk.py
Tigerye/OpenNMT-py
8e46d6b3b98d73c8da33d19d52ea1c7876a52a29
[ "MIT" ]
1
2021-08-28T00:02:31.000Z
2021-08-28T00:02:31.000Z
# coding = utf-8 # @time : 2019/6/30 6:41 PM # @author : alchemistlee # @fileName: filter_long_tk.py # @abstract: if __name__ == '__main__': input_zh = '/root/workspace/translate_data/my_corpus_v6.zh-cut.processed6-bpe-v6-2-.test' input_en = '/root/workspace/translate_data/my_corpus_v6.en.tok.processed6-...
32.962963
117
0.650562
152
890
3.513158
0.375
0.097378
0.164794
0.194757
0.498127
0.483146
0.441948
0.441948
0.441948
0.441948
0
0.044444
0.191011
890
26
118
34.230769
0.697222
0.120225
0
0
0
0.333333
0.430968
0.410323
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f4e5b5cd6b0ba77bc96e827fa38f8ff0c12c4fb
1,382
py
Python
PyFlow/Packages/PyFlowBase/Pins/FloatPin.py
luzpaz/PyFlow
e00642794051b1d9b7b2665eee38567e9763558d
[ "Apache-2.0" ]
1,463
2019-07-29T15:45:22.000Z
2022-03-31T23:32:13.000Z
PyFlow/Packages/PyFlowBase/Pins/FloatPin.py
luzpaz/PyFlow
e00642794051b1d9b7b2665eee38567e9763558d
[ "Apache-2.0" ]
58
2019-07-31T07:58:57.000Z
2022-02-23T05:46:08.000Z
PyFlow/Packages/PyFlowBase/Pins/FloatPin.py
luzpaz/PyFlow
e00642794051b1d9b7b2665eee38567e9763558d
[ "Apache-2.0" ]
169
2019-08-03T16:38:57.000Z
2022-03-31T14:20:12.000Z
## Copyright 2015-2019 Ilgar Lunin, Pedro Cabrera ## 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 applicable law or...
27.64
75
0.685239
169
1,382
5.556213
0.615385
0.063898
0.027689
0.034079
0
0
0
0
0
0
0
0.024096
0.219247
1,382
49
76
28.204082
0.846154
0.45369
0
0.26087
0
0
0.030345
0
0
0
0
0
0
1
0.304348
false
0
0.043478
0.217391
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5f52f1025e1e8f8cc9aefa3bc7eb54e3572daf78
527
py
Python
code/677.map-sum-pairs.py
ProHiryu/leetcode
1f42a102ab89b6e7c20f38dd8b435255f2ab4418
[ "MIT" ]
3
2019-01-24T03:22:51.000Z
2021-09-10T14:52:42.000Z
code/677.map-sum-pairs.py
ProHiryu/leetcode
1f42a102ab89b6e7c20f38dd8b435255f2ab4418
[ "MIT" ]
null
null
null
code/677.map-sum-pairs.py
ProHiryu/leetcode
1f42a102ab89b6e7c20f38dd8b435255f2ab4418
[ "MIT" ]
2
2019-10-15T04:24:51.000Z
2020-12-16T02:40:55.000Z
# # @lc app=leetcode id=677 lang=python3 # # [677] Map Sum Pairs # # @lc code=start class MapSum: def __init__(self): """ Initialize your data structure here. """ self.d = {} def insert(self, key, val): self.d[key] = val def sum(self, prefix): return sum(...
17.566667
69
0.58444
77
527
3.935065
0.584416
0.066007
0
0
0
0
0
0
0
0
0
0.021164
0.282732
527
29
70
18.172414
0.780423
0.461101
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5f69e451ad73ff0c8731fc59101841a30e15991e
98
py
Python
test/test_re.py
zmer007/baike-spider
2c4cb90959e36e939a3867047e0cd95602564b95
[ "Apache-2.0" ]
null
null
null
test/test_re.py
zmer007/baike-spider
2c4cb90959e36e939a3867047e0cd95602564b95
[ "Apache-2.0" ]
null
null
null
test/test_re.py
zmer007/baike-spider
2c4cb90959e36e939a3867047e0cd95602564b95
[ "Apache-2.0" ]
null
null
null
import re pattern = re.compile(r'h\+o') match = pattern.match('hello world') print match.group()
16.333333
36
0.704082
16
98
4.3125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.122449
98
5
37
19.6
0.802326
0
0
0
0
0
0.153061
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
5f92359ff256ecc03e05f53600c221513bfe0708
3,512
py
Python
features/steps/auth_policy_steps.py
CMoncur/launchkey-python
7bed012c183e5011fbeddd9353ed70fde899f932
[ "MIT" ]
null
null
null
features/steps/auth_policy_steps.py
CMoncur/launchkey-python
7bed012c183e5011fbeddd9353ed70fde899f932
[ "MIT" ]
null
null
null
features/steps/auth_policy_steps.py
CMoncur/launchkey-python
7bed012c183e5011fbeddd9353ed70fde899f932
[ "MIT" ]
null
null
null
from behave import given, when @given("the current Authorization Policy requires {count:d} factors") def update_current_auth_policy_to_require_count_factors(context, count): current_auth = context.entity_manager.get_current_auth_policy() current_auth.set_minimum_requirements(minimum_amount=count) @given("th...
41.317647
78
0.724943
424
3,512
5.660377
0.153302
0.132917
0.099167
0.105417
0.86
0.82
0.785
0.674583
0.63625
0.58625
0
0
0.198747
3,512
84
79
41.809524
0.852878
0
0
0.5
0
0
0.193052
0
0
0
0
0
0
1
0.117647
false
0
0.014706
0
0.132353
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5fc2c8cd276ff95bece83ed43aaa025f9ec9308d
154
py
Python
fastapi_rss/models/textinput.py
elreydetoda/fastapi_rss
94539937fed408a6918ab45a378e46a6cf179bde
[ "MIT" ]
8
2021-03-23T10:37:12.000Z
2022-02-05T07:47:12.000Z
fastapi_rss/models/textinput.py
elreydetoda/fastapi_rss
94539937fed408a6918ab45a378e46a6cf179bde
[ "MIT" ]
1
2022-03-25T23:26:55.000Z
2022-03-31T19:50:18.000Z
fastapi_rss/models/textinput.py
elreydetoda/fastapi_rss
94539937fed408a6918ab45a378e46a6cf179bde
[ "MIT" ]
3
2021-04-13T06:16:05.000Z
2022-01-13T03:38:33.000Z
from typing import Optional from pydantic import BaseModel class TextInput(BaseModel): title: str description: str name: str link: str
14
30
0.714286
19
154
5.789474
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.24026
154
10
31
15.4
0.940171
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.285714
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
395a95b68f72792de5657590970b904d381fed8d
2,178
py
Python
src/oci/core/models/member_replica.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/core/models/member_replica.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
src/oci/core/models/member_replica.py
LaudateCorpus1/oci-python-sdk
b0d3ce629d5113df4d8b83b7a6502b2c5bfa3015
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# coding: utf-8 # Copyright (c) 2016, 2022, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
30.676056
245
0.671258
282
2,178
4.890071
0.400709
0.188542
0.217549
0.091371
0.312545
0.182741
0.182741
0.079768
0.079768
0.079768
0
0.011104
0.255739
2,178
70
246
31.114286
0.839605
0.473829
0
0
0
0
0.053224
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.076923
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
1
0
0
0
0
1
0
0
3
395f119641c20f177e377750f57fe2f86f1d09f0
399
py
Python
akarsh_portfolio/blog/models.py
akarsh-trellissoft/akarsh_portfolio
58f272fc60057fb82c3da301e3e5d0558a0f87ee
[ "MIT" ]
null
null
null
akarsh_portfolio/blog/models.py
akarsh-trellissoft/akarsh_portfolio
58f272fc60057fb82c3da301e3e5d0558a0f87ee
[ "MIT" ]
null
null
null
akarsh_portfolio/blog/models.py
akarsh-trellissoft/akarsh_portfolio
58f272fc60057fb82c3da301e3e5d0558a0f87ee
[ "MIT" ]
null
null
null
from django.db import models class Author(models.Model): title = models.CharField(max_length=64) pub_date = models.DateTimeField() body=models.TextField() image=models.ImageField(upload_to='image/') def __str__(self): return self.title def summary(self): return self.body[:10] ...
28.5
49
0.674185
54
399
4.796296
0.611111
0.081081
0.162162
0
0
0
0
0
0
0
0
0.012579
0.203008
399
13
50
30.692308
0.801887
0
0
0
0
0
0.035088
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.25
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
396c5c1ebccbe42aa4f3bc24af5c0fab2bf438ff
372
py
Python
pytext/optimizer/__init__.py
Titousensei/pytext-1
6ea5ce52f5070fc10ac20732f994296c4d445207
[ "BSD-3-Clause" ]
1
2019-11-02T05:02:01.000Z
2019-11-02T05:02:01.000Z
pytext/optimizer/__init__.py
Titousensei/pytext-1
6ea5ce52f5070fc10ac20732f994296c4d445207
[ "BSD-3-Clause" ]
null
null
null
pytext/optimizer/__init__.py
Titousensei/pytext-1
6ea5ce52f5070fc10ac20732f994296c4d445207
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from pytext.optimizer.activations import get_activation from pytext.optimizer.optimizers import ( SGD, Adagrad, Adam, AdamW, Optimizer, learning_rates, ) from pytext.optimizer.radam import RAdam from py...
26.571429
70
0.766129
45
372
6.288889
0.688889
0.141343
0.268551
0
0
0
0
0
0
0
0
0.003205
0.16129
372
13
71
28.615385
0.903846
0.241935
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.363636
0
0.363636
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
396c8c017a514e830dc6ed17f89b3dc803134cbd
433
py
Python
src/Product.py
Vigoose/intuit_test
2ee43eadb93888f33ae2781149a504965836b8c0
[ "MIT" ]
null
null
null
src/Product.py
Vigoose/intuit_test
2ee43eadb93888f33ae2781149a504965836b8c0
[ "MIT" ]
null
null
null
src/Product.py
Vigoose/intuit_test
2ee43eadb93888f33ae2781149a504965836b8c0
[ "MIT" ]
null
null
null
class Product(object): def __init__(self, product_name:str, global_id, price, description="") -> None: self.product_id = global_id self.product_name = product_name self.description = description self.price = price print("created product {0.product_name}".format(se...
33.307692
84
0.630485
53
433
4.830189
0.339623
0.214844
0.117188
0
0
0
0
0
0
0
0
0.012158
0.240185
433
13
85
33.307692
0.765957
0
0
0
0
0
0.180523
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.444444
0.111111
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
3983800bfd27ac82e7aa89084e65a3d2d191324e
596
py
Python
botc/switches.py
Xinverse/BOTC-Bot
1932c649c81a5a1eab735d7abdee0761c2853940
[ "MIT" ]
1
2020-06-21T17:20:17.000Z
2020-06-21T17:20:17.000Z
botc/switches.py
BlueLenz/Blood-on-the-Clocktower-Storyteller-Discord-Bot
1932c649c81a5a1eab735d7abdee0761c2853940
[ "MIT" ]
1
2020-07-07T03:47:44.000Z
2020-07-07T03:47:44.000Z
botc/switches.py
BlueLenz/Blood-on-the-Clocktower-Storyteller-Discord-Bot
1932c649c81a5a1eab735d7abdee0761c2853940
[ "MIT" ]
1
2022-02-18T00:42:19.000Z
2022-02-18T00:42:19.000Z
"""Contains some global switches""" # Master switches: turn them on (True) to immediately switch phase master_proceed_to_day = False master_proceed_to_dawn = False master_proceed_to_night = False master_proceed_to_nomination = False def init_switches(): """Initialize (reset) these global switches""" global m...
29.8
66
0.795302
82
596
5.329268
0.292683
0.356979
0.411899
0.2746
0.466819
0.466819
0.466819
0.466819
0.466819
0.466819
0
0
0.15604
596
19
67
31.368421
0.868787
0.228188
0
0.615385
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.076923
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
398bf2e6962c92f8348cd67bbbf4de08e189592d
169
py
Python
Python/Topics/Objects in Python/Black box/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
5
2020-08-29T15:15:31.000Z
2022-03-01T18:22:34.000Z
Python/Topics/Objects in Python/Black box/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
null
null
null
Python/Topics/Objects in Python/Black box/main.py
drtierney/hyperskill-problems
b74da993f0ac7bcff1cbd5d89a3a1b06b05f33e0
[ "MIT" ]
1
2020-12-02T11:13:14.000Z
2020-12-02T11:13:14.000Z
# use the function blackbox(lst) that is already defined lst = ["a", "b", "c"] blackbox_lst = blackbox(lst) print("modifies" if id(lst) == id(blackbox_lst) else "new")
28.166667
59
0.680473
27
169
4.185185
0.666667
0.389381
0
0
0
0
0
0
0
0
0
0
0.147929
169
5
60
33.8
0.784722
0.319527
0
0
0
0
0.123894
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
398cb90d8b19ecf4768bb03d14a2619ea858a44a
60
py
Python
_solved/solutions/03-spatial-relationships-operations7.py
lleondia/geopandas-tutorial
5128fd6865bbd979a7b4e5b8cb4d0de51bead029
[ "BSD-3-Clause" ]
341
2018-04-26T08:46:05.000Z
2022-03-01T08:13:39.000Z
_solved/solutions/03-spatial-relationships-operations7.py
lleondia/geopandas-tutorial
5128fd6865bbd979a7b4e5b8cb4d0de51bead029
[ "BSD-3-Clause" ]
24
2020-09-30T19:57:14.000Z
2021-10-05T07:21:09.000Z
_solved/solutions/03-spatial-relationships-operations7.py
lleondia/geopandas-tutorial
5128fd6865bbd979a7b4e5b8cb4d0de51bead029
[ "BSD-3-Clause" ]
128
2018-05-07T07:30:29.000Z
2022-02-19T17:53:39.000Z
# Filter the districts with the boolean mask districts[mask]
30
44
0.816667
9
60
5.444444
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
2
45
30
0.942308
0.7
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
39b1120121b67a692b2f905a194491b3fe3c2cbe
268
py
Python
tests/mocks/tasks/ducks.py
aubricus/clack
6f8b4efb329251f02005c9859091be7345beb717
[ "MIT" ]
1
2018-03-22T19:28:20.000Z
2018-03-22T19:28:20.000Z
tests/mocks/tasks/ducks.py
aubricus/clack
6f8b4efb329251f02005c9859091be7345beb717
[ "MIT" ]
133
2018-03-30T19:31:00.000Z
2020-01-11T04:33:46.000Z
tests/mocks/tasks/ducks.py
aubricus/klak
6f8b4efb329251f02005c9859091be7345beb717
[ "MIT" ]
null
null
null
"""Ducks commands.""" import logging import click from klak.cli import cli log = logging.getLogger(__name__) @cli.group() def ducks() -> None: """Ducks commands!""" @ducks.command() def quack() -> None: """Quack quack!""" click.echo("Quack quack!")
13.4
33
0.634328
33
268
5.030303
0.515152
0.156627
0
0
0
0
0
0
0
0
0
0
0.179104
268
19
34
14.105263
0.754545
0.164179
0
0
0
0
0.057692
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
39d40ee21670d3774fe8c3322743f56b19171e32
5,578
py
Python
tests/test_circlecli_builds.py
aminland/circlecli
802bba44e158bb36751ee8e4a52abf2bdcb5eeaf
[ "MIT" ]
25
2016-07-08T14:39:35.000Z
2018-03-15T20:53:08.000Z
tests/test_circlecli_builds.py
aminland/circlecli
802bba44e158bb36751ee8e4a52abf2bdcb5eeaf
[ "MIT" ]
10
2016-07-10T11:02:15.000Z
2017-07-28T09:53:57.000Z
tests/test_circlecli_builds.py
aminland/circlecli
802bba44e158bb36751ee8e4a52abf2bdcb5eeaf
[ "MIT" ]
4
2016-07-10T05:47:58.000Z
2017-01-25T02:57:11.000Z
# -*- coding: utf-8 -*- """ Tests for the CircleCLI API library. """ import binascii import json import os import unittest from httmock import with_httmock from circlecli import CircleAPI import mocks.circlecli # 40-character hexadecimal string FAKE_TOKEN = binascii.b2a_hex(os.urandom(20)) class TestCircleCLIB...
28.171717
104
0.661886
638
5,578
5.62069
0.167712
0.082822
0.062465
0.097602
0.777747
0.777747
0.746235
0.598717
0.598717
0.539877
0
0.003216
0.219613
5,578
197
105
28.314721
0.820584
0.014163
0
0.485437
0
0
0.139593
0.022019
0
0
0
0
0.174757
0
null
null
0
0.067961
null
null
0.116505
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
39f18d18a6ff3235a8b973c96f149ab4bee3a690
151
py
Python
app/geography/urls.py
uktrade/navigator
5b5831ce647218ff90d53f9cc4cf1d6ca6f55c8b
[ "MIT" ]
2
2017-09-29T01:02:25.000Z
2021-08-05T07:35:09.000Z
app/geography/urls.py
uktrade/navigator
5b5831ce647218ff90d53f9cc4cf1d6ca6f55c8b
[ "MIT" ]
60
2016-09-02T14:55:49.000Z
2022-03-14T13:54:23.000Z
app/geography/urls.py
uktrade/navigator
5b5831ce647218ff90d53f9cc4cf1d6ca6f55c8b
[ "MIT" ]
3
2017-05-05T12:22:45.000Z
2020-06-04T16:39:52.000Z
from django.conf.urls import url from . import views app_name = 'geography' urlpatterns = [ url(r'^api/$', views.query_countries, name='api'), ]
16.777778
54
0.688742
21
151
4.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.15894
151
8
55
18.875
0.80315
0
0
0
0
0
0.119205
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
39f1b260aaf169a90ffb07aa222058731c8f55ce
1,288
py
Python
pytglib/api/utils/object.py
iTeam-co/pytglib
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
6
2019-10-30T08:57:27.000Z
2021-02-08T14:17:43.000Z
pytglib/api/utils/object.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
1
2021-08-19T05:44:10.000Z
2021-08-19T07:14:56.000Z
pytglib/api/utils/object.py
iTeam-co/python-telegram
e5e75e0a85f89b77762209b32a61b0a883c0ae61
[ "MIT" ]
5
2019-12-04T05:30:39.000Z
2021-05-21T18:23:32.000Z
from collections import OrderedDict from json import JSONEncoder, dumps class Object: all = {} @staticmethod def read(q: dict, *args): if q is None: return None if isinstance(q, Object): return q if not isinstance(q, dict): return q for ...
25.254902
70
0.556677
162
1,288
4.154321
0.37037
0.040119
0.044577
0.053492
0.074294
0
0
0
0
0
0
0.00224
0.306677
1,288
50
71
25.76
0.7514
0
0
0.052632
0
0
0.033385
0
0
0
0
0
0
1
0.236842
false
0.026316
0.052632
0.157895
0.657895
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
f2fcece154e56d9dc1b0d64ab4bfad55f7c0cc18
599
py
Python
dodo.py
rs2/pyviz
5f1b09f66eb96f8eb4c7b40623b4159155075ea9
[ "BSD-3-Clause" ]
1
2020-01-15T17:14:55.000Z
2020-01-15T17:14:55.000Z
dodo.py
rs2/pyviz
5f1b09f66eb96f8eb4c7b40623b4159155075ea9
[ "BSD-3-Clause" ]
null
null
null
dodo.py
rs2/pyviz
5f1b09f66eb96f8eb4c7b40623b4159155075ea9
[ "BSD-3-Clause" ]
null
null
null
import os if "PYCTDEV_ECOSYSTEM" not in os.environ: os.environ["PYCTDEV_ECOSYSTEM"] = "conda" from pyctdev import * # noqa: api def task_test_user_install_part1(): return {'actions':["conda create -y -n pyviz-tutorial python=3.6"]} def task_test_user_install_part2(): return {'actions':[ "conda i...
33.277778
71
0.654424
80
599
4.775
0.6375
0.08377
0.057592
0.078534
0.21466
0
0
0
0
0
0
0.008439
0.208681
599
17
72
35.235294
0.797468
0.093489
0
0
0
0
0.507407
0.042593
0
0
0
0.058824
0
1
0.153846
true
0
0.153846
0.153846
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
1
0
0
0
3
843117a0eebe95aa5ada9e437be6786d8d1bd929
96
py
Python
Selenium2LibraryPlus/keywords/__init__.py
WandyYing/Selenium2LibraryPlus
411e7842a8cdfb7c912a778884554142d90f210e
[ "BSD-3-Clause" ]
2
2015-09-11T09:24:05.000Z
2018-08-08T12:04:56.000Z
Selenium2LibraryPlus/keywords/__init__.py
WandyYing/Selenium2LibraryPlus
411e7842a8cdfb7c912a778884554142d90f210e
[ "BSD-3-Clause" ]
null
null
null
Selenium2LibraryPlus/keywords/__init__.py
WandyYing/Selenium2LibraryPlus
411e7842a8cdfb7c912a778884554142d90f210e
[ "BSD-3-Clause" ]
null
null
null
from _elementPlus import _ElementKeyWordsPlus __all__ = [ "_ElementKeyWordsPlus", ]
13.714286
46
0.71875
6
96
10.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.21875
96
6
47
16
0.826667
0
0
0
0
0
0.222222
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
1
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