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
838ee62634322d4b00437c431ccd3a361e218d70
9,345
py
Python
_utils/fetch_official_images.py
chattizen/citizens-handbook
440fbb46de5caf34bb7fdca8c973850447080b46
[ "MIT" ]
2
2016-05-11T13:45:37.000Z
2019-11-27T16:17:19.000Z
_utils/fetch_official_images.py
chattizen/citizens-handbook
440fbb46de5caf34bb7fdca8c973850447080b46
[ "MIT" ]
null
null
null
_utils/fetch_official_images.py
chattizen/citizens-handbook
440fbb46de5caf34bb7fdca8c973850447080b46
[ "MIT" ]
null
null
null
#! /usr/bin/env python import os, sys, re, mimetypes from unicodedata import normalize BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) IMAGE_BASE = os.path.join(BASE_DIR, 'static', 'img') def exit_with_error(error, exit_code = os.EX_TEMPFAIL): sys.stderr.write(error) sys.stderr.flush()...
56.636364
2,198
0.695452
891
9,345
7.116723
0.24018
0.011355
0.018924
0.022079
0.232613
0.206592
0.16827
0.130894
0.083741
0.074909
0
0.052319
0.171643
9,345
164
2,199
56.981707
0.766826
0.005993
0
0.120567
0
0
0.399372
0.312114
0
1
0
0
0.007092
0
null
null
0
0.042553
null
null
0.035461
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
3
83a7b4fef68c417d37cfd5d5f5613c063cd76adb
386
py
Python
tests/integration/modules/test_state_jinja_filters.py
yuriks/salt
d2a5bd8adddb98ec1718d79384aa13b4f37e8028
[ "Apache-2.0", "MIT" ]
1
2020-03-31T22:51:16.000Z
2020-03-31T22:51:16.000Z
tests/integration/modules/test_state_jinja_filters.py
yuriks/salt
d2a5bd8adddb98ec1718d79384aa13b4f37e8028
[ "Apache-2.0", "MIT" ]
null
null
null
tests/integration/modules/test_state_jinja_filters.py
yuriks/salt
d2a5bd8adddb98ec1718d79384aa13b4f37e8028
[ "Apache-2.0", "MIT" ]
1
2021-09-30T07:00:01.000Z
2021-09-30T07:00:01.000Z
# -*- coding: utf-8 -*- # Import Python libs from __future__ import absolute_import, print_function, unicode_literals # Import Salt Testing libs from tests.support.case import ModuleCase from tests.support.jinja_filters import JinjaFiltersTest class StateModuleJinjaFiltersTest(ModuleCase, JinjaFiltersTest): '''...
25.733333
72
0.782383
44
386
6.681818
0.659091
0.054422
0.108844
0
0
0
0
0
0
0
0
0.00304
0.147668
386
14
73
27.571429
0.890578
0.30829
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
1
0.25
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
83b1cbb3cac4f646660c93a080db38b72dd2cd14
198
py
Python
request-example.py
edergames29/pytubetitleplayslitfast
cdce061804b102b6eda02866b7d6169fce3c1154
[ "MIT" ]
null
null
null
request-example.py
edergames29/pytubetitleplayslitfast
cdce061804b102b6eda02866b7d6169fce3c1154
[ "MIT" ]
null
null
null
request-example.py
edergames29/pytubetitleplayslitfast
cdce061804b102b6eda02866b7d6169fce3c1154
[ "MIT" ]
null
null
null
from playlisttitle import PlaylistGet playl = PlaylistGet("https://www.youtube.com/watch?v=SlPhMPnQ58k&list=PL4o29bINVT4EG_y-k5jGoOu3-Am8Nvi10") titles = playl.playlist_titles() print(len(titles))
33
106
0.813131
25
198
6.36
0.84
0
0
0
0
0
0
0
0
0
0
0.05914
0.060606
198
6
107
33
0.795699
0
0
0
0
0.25
0.417085
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
83bd498ade54525bac5830b74637db2152734d94
5,356
py
Python
chat/models.py
zhengze/ichat-backend
8594da9f4958c73019244bcf38f0c21027688900
[ "MIT" ]
null
null
null
chat/models.py
zhengze/ichat-backend
8594da9f4958c73019244bcf38f0c21027688900
[ "MIT" ]
null
null
null
chat/models.py
zhengze/ichat-backend
8594da9f4958c73019244bcf38f0c21027688900
[ "MIT" ]
null
null
null
from datetime import datetime from werkzeug.security import generate_password_hash, check_password_hash from .database import db ROLE_USER = 0 ROLE_ADMIN = 1 class UserGroup(db.Model): __tablename__ = 'user_group' id = db.Column(db.Integer, primary_key=True) gname = db.Column(db.String(80), unique=True...
30.259887
76
0.630321
647
5,356
4.996909
0.136012
0.091556
0.114445
0.055676
0.647077
0.625425
0.608413
0.568822
0.539437
0.539437
0
0.004425
0.240478
5,356
176
77
30.431818
0.790315
0.008589
0
0.570423
1
0
0.085299
0
0
0
0
0
0
1
0.070423
false
0.056338
0.021127
0.042254
0.570423
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
83c03c2977d5b8fa372101c72d6dda4beacf2c4f
761
py
Python
qingmi/utils/browser.py
xiongxianzhu/qingmi
ae5a446abec3982ebf2c5dde8546ef72f9453137
[ "BSD-3-Clause" ]
20
2018-05-22T09:29:40.000Z
2020-12-11T04:53:15.000Z
qingmi/utils/browser.py
xiongxianzhu/qingmi
ae5a446abec3982ebf2c5dde8546ef72f9453137
[ "BSD-3-Clause" ]
65
2019-03-07T02:43:06.000Z
2021-01-07T03:43:52.000Z
qingmi/utils/browser.py
xiongxianzhu/qingmi
ae5a446abec3982ebf2c5dde8546ef72f9453137
[ "BSD-3-Clause" ]
6
2019-03-08T06:39:47.000Z
2021-07-01T11:02:56.000Z
from flask import request def is_wechat(): if request: ua = request.headers['User-Agent'].lower() return 'micromessenger' in ua return False def get_useragent(): """ 获取request的useragent """ if request: return request.headers.get('User-Agent') return None def get_ip(): ...
27.178571
72
0.625493
98
761
4.816327
0.326531
0.266949
0.211864
0.139831
0.283898
0.283898
0.207627
0.207627
0.207627
0
0
0.003454
0.239159
761
27
73
28.185185
0.811744
0.024967
0
0.25
0
0
0.186649
0
0
0
0
0
0
1
0.15
false
0
0.05
0
0.65
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
83da2ca8ec66498d53d974331548ebee6439b75c
591
py
Python
simpleimage/simpleimage.py
emmmile/simpleimage
6b079592ce64d67903bf9c085a132ddd9712fba8
[ "MIT" ]
null
null
null
simpleimage/simpleimage.py
emmmile/simpleimage
6b079592ce64d67903bf9c085a132ddd9712fba8
[ "MIT" ]
null
null
null
simpleimage/simpleimage.py
emmmile/simpleimage
6b079592ce64d67903bf9c085a132ddd9712fba8
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- import logging import numpy as np # One channel accumulation plot. class SimpleImage(object): def __init__(self, size): # https://stackoverflow.com/questions/7762948/how-to-convert-an-rgb-image-to-numpy-array self.image = np.zeros(size, np.uint32) ...
22.730769
96
0.619289
77
591
4.662338
0.675325
0.058496
0.061281
0
0
0
0
0
0
0
0
0.024831
0.250423
591
25
97
23.64
0.785553
0.265651
0
0.285714
0
0
0.02093
0
0
0
0
0
0
1
0.357143
false
0.285714
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
83f94deb739176a55cdc63c5307d1c2f8a309d99
160
py
Python
main.py
The-Pyoneers/cs107-FinalProject
76e9d7a0fd5418ece35458df3b379602e699388a
[ "MIT" ]
1
2020-11-16T01:48:46.000Z
2020-11-16T01:48:46.000Z
main.py
The-Pyoneers/cs107-FinalProject
76e9d7a0fd5418ece35458df3b379602e699388a
[ "MIT" ]
7
2020-11-16T02:48:00.000Z
2020-12-12T03:25:41.000Z
main.py
The-Pyoneers/cs107-FinalProject
76e9d7a0fd5418ece35458df3b379602e699388a
[ "MIT" ]
2
2021-02-25T00:09:27.000Z
2021-11-15T02:29:06.000Z
import farad as fd import farad.elem as el import farad.driver as ad f = lambda x: el.exp(x) * el.sin(x**2) function = ad.AutoDiff(f) print(function.forward(1))
26.666667
38
0.725
32
160
3.625
0.59375
0.284483
0
0
0
0
0
0
0
0
0
0.014493
0.1375
160
6
39
26.666667
0.826087
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.166667
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f7a2bc45f0d542f63da6ffc7f4b1c013a1d847ee
320
py
Python
theseus/classification/datasets/__init__.py
kaylode/Custom-Template
b2f11bfacf2b03b793476a19781f9046fab6fd82
[ "MIT" ]
2
2022-02-18T04:41:29.000Z
2022-03-12T09:04:14.000Z
theseus/classification/datasets/__init__.py
kaylode/Custom-Template
b2f11bfacf2b03b793476a19781f9046fab6fd82
[ "MIT" ]
8
2022-02-16T17:01:28.000Z
2022-03-28T02:53:45.000Z
theseus/classification/datasets/__init__.py
lannguyen0910/theseus
5c08fb2f4a9c7ffa395788e6a0ade43780e8bd7d
[ "MIT" ]
3
2022-02-13T05:00:13.000Z
2022-03-02T00:11:27.000Z
from theseus.base.datasets import DATASET_REGISTRY, DATALOADER_REGISTRY from .csv_dataset import * from .folder_dataset import * DATASET_REGISTRY.register(CSVDataset) DATASET_REGISTRY.register(ImageFolderDataset) from .mixupcutmix_collator import MixupCutmixCollator DATALOADER_REGISTRY.register(MixupCutmixCollator)
29.090909
71
0.875
34
320
8
0.470588
0.165441
0.154412
0
0
0
0
0
0
0
0
0
0.071875
320
11
72
29.090909
0.915825
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
f7a3ba799bf8e1c4b75478f6bf73d45d47a9bc37
64
py
Python
lang/Python/sum-of-squares-3.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2021-05-05T13:42:20.000Z
2021-05-05T13:42:20.000Z
lang/Python/sum-of-squares-3.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/sum-of-squares-3.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
import numpy as np a = np.array([1, 2, 3, 4, 5]) np.sum(a ** 2)
16
29
0.546875
16
64
2.1875
0.75
0
0
0
0
0
0
0
0
0
0
0.12
0.21875
64
3
30
21.333333
0.58
0
0
0
0
0
0
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
f7a8158b9cf6eda9045a0b9b81e09bb86a081c87
404
py
Python
pytos/models/rc.py
thewisenerd/pytos
e350f679257791b563e8e02e109b158f5250e4a2
[ "MIT" ]
null
null
null
pytos/models/rc.py
thewisenerd/pytos
e350f679257791b563e8e02e109b158f5250e4a2
[ "MIT" ]
null
null
null
pytos/models/rc.py
thewisenerd/pytos
e350f679257791b563e8e02e109b158f5250e4a2
[ "MIT" ]
null
null
null
from pytos.models.context import Context class RunCommand(object): def __init__(self): self.args = None # return 0 if no errors # set self.args to copy args formatted from cmdline def parse_args(self, args) -> int: return 0 # only call this post parse_args is called def run(s...
25.25
55
0.670792
55
404
4.818182
0.654545
0.090566
0
0
0
0
0
0
0
0
0
0.006623
0.252475
404
15
56
26.933333
0.870861
0.277228
0
0
0
0
0.052083
0
0
0
0
0
0
1
0.375
false
0
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f7b11a089303da6f3e7db68bf09b6e1d6d701c74
888
py
Python
models/forms.py
LukaszMalucha/Ireland-Geocoder
6b8a2b1ffb13f36cfc213281eb9b318b0bce00b3
[ "MIT" ]
34
2018-08-14T06:45:54.000Z
2020-12-06T12:36:26.000Z
models/forms.py
LukaszMalucha/Ireland-Geocoder
6b8a2b1ffb13f36cfc213281eb9b318b0bce00b3
[ "MIT" ]
22
2019-12-16T22:14:39.000Z
2022-03-11T23:26:50.000Z
models/forms.py
LukaszMalucha/Ireland-Geocoder
6b8a2b1ffb13f36cfc213281eb9b318b0bce00b3
[ "MIT" ]
10
2019-02-11T18:49:40.000Z
2020-10-22T09:14:19.000Z
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField from wtforms.validators import InputRequired, Email, Length, EqualTo ## Login Form class LoginForm(FlaskForm): email = StringField('email', validators=[InputRequired(), Length(min=3, max=15)]) password = PasswordFiel...
46.736842
145
0.743243
97
888
6.793814
0.412371
0.174507
0.176024
0.194234
0.444613
0.444613
0.318665
0.318665
0.318665
0.318665
0
0.017857
0.117117
888
19
146
46.736842
0.822704
0.027027
0
0
0
0
0.131395
0
0
0
0
0
0
1
0
false
0.333333
0.25
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
f7c553c228aac7e871858058a99e1b851a75edb7
324
py
Python
user/views.py
MahmudulHassan5809/Answerly
ed674b988e515bc26b84ed02551376c4916ec2a5
[ "MIT" ]
null
null
null
user/views.py
MahmudulHassan5809/Answerly
ed674b988e515bc26b84ed02551376c4916ec2a5
[ "MIT" ]
11
2019-12-05T00:01:50.000Z
2022-02-10T07:59:31.000Z
user/views.py
MahmudulHassan5809/Answerly
ed674b988e515bc26b84ed02551376c4916ec2a5
[ "MIT" ]
null
null
null
from django.contrib.auth.forms import UserCreationForm from django.views.generic.edit import CreateView from django.urls import reverse # Create your views here. class RegisterView(CreateView): template_name = 'user/register.html' form_class = UserCreationForm def get_success_url(self): return reverse('user:logi...
27
54
0.808642
43
324
6
0.72093
0.116279
0
0
0
0
0
0
0
0
0
0
0.111111
324
11
55
29.454545
0.895833
0.070988
0
0
0
0
0.093645
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
f7e7a03f649f456cf78af76a8eb74f589c7e8bb9
232
py
Python
script.module.schism.common/lib/unshortenit/__init__.py
TheWardoctor/wardoctors-repo
893f646d9e27251ffc00ca5f918e4eb859a5c8f0
[ "Apache-2.0" ]
3
2020-03-03T13:21:44.000Z
2021-07-21T09:53:31.000Z
script.module.schism.common/lib/unshortenit/__init__.py
TheWardoctor/wardoctors-repo
893f646d9e27251ffc00ca5f918e4eb859a5c8f0
[ "Apache-2.0" ]
null
null
null
script.module.schism.common/lib/unshortenit/__init__.py
TheWardoctor/wardoctors-repo
893f646d9e27251ffc00ca5f918e4eb859a5c8f0
[ "Apache-2.0" ]
2
2020-04-01T22:11:12.000Z
2020-05-07T23:54:52.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Jeff Kehler' __email__ = 'jeffrey.kehler@gmail.com' __version__ = '0.3.0' from .base import unwrap_30x_only from .base import unshorten_only from .base import unshorten
19.333333
38
0.728448
34
232
4.529412
0.705882
0.155844
0.272727
0.233766
0.350649
0
0
0
0
0
0
0.03
0.137931
232
11
39
21.090909
0.74
0.181034
0
0
0
0
0.213904
0.128342
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f7e851c90089767b7984fb68d8e3bcb84e946e09
109
py
Python
src/models/database.py
nzediegwu1/simple-todo
439ecba99bdf1a46854371f865bcd0c454463d3f
[ "MIT" ]
1
2018-09-14T05:05:09.000Z
2018-09-14T05:05:09.000Z
src/models/database.py
nzediegwu1/simple-todo
439ecba99bdf1a46854371f865bcd0c454463d3f
[ "MIT" ]
1
2021-06-02T00:04:04.000Z
2021-06-02T00:04:04.000Z
src/models/database.py
nzediegwu1/taskmanager-api
439ecba99bdf1a46854371f865bcd0c454463d3f
[ "MIT" ]
1
2018-08-23T18:49:07.000Z
2018-08-23T18:49:07.000Z
"""Module to create sqlAlchemy database object""" from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy()
21.8
49
0.788991
13
109
6.538462
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.12844
109
4
50
27.25
0.894737
0.394495
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
f7fa6af915f71ef76d4daaa41ed41a3c60ba2778
118
py
Python
PythonClient/gym-car/gym_car/__init__.py
Yuchi94/CustomAirSim
8eec882e603c8c6cfdab8969b29daa02e2babc87
[ "MIT" ]
3
2020-12-18T07:07:44.000Z
2021-10-18T02:43:01.000Z
PythonClient/gym-car/gym_car/__init__.py
Yuchi94/CustomAirSim
8eec882e603c8c6cfdab8969b29daa02e2babc87
[ "MIT" ]
null
null
null
PythonClient/gym-car/gym_car/__init__.py
Yuchi94/CustomAirSim
8eec882e603c8c6cfdab8969b29daa02e2babc87
[ "MIT" ]
null
null
null
from gym.envs.registration import register register( id='carsim-v0', entry_point='gym_car.envs:CarSimEnv', )
16.857143
42
0.728814
16
118
5.25
0.8125
0
0
0
0
0
0
0
0
0
0
0.009901
0.144068
118
6
43
19.666667
0.821782
0
0
0
0
0
0.262712
0.186441
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
79300ff24763371860154fa7e2164a03a5a3fa0e
145
py
Python
RaspberryPiPythonCodes/3dPrinterClient/Raslin.py
heeboy007/Dusty_Iot
0b0fd38e7485f4152c50e750f64bec4f374b696c
[ "BSD-3-Clause" ]
1
2019-09-04T22:15:29.000Z
2019-09-04T22:15:29.000Z
RaspberryPiPythonCodes/3dPrinterClient/Raslin.py
heeboy007/Dusty_Iot
0b0fd38e7485f4152c50e750f64bec4f374b696c
[ "BSD-3-Clause" ]
null
null
null
RaspberryPiPythonCodes/3dPrinterClient/Raslin.py
heeboy007/Dusty_Iot
0b0fd38e7485f4152c50e750f64bec4f374b696c
[ "BSD-3-Clause" ]
null
null
null
from stepper_control import Steppers_Ctrl from util import PrinterState from menu import Menu menu = Menu() while True: menu.update(False)
16.111111
41
0.786207
21
145
5.333333
0.619048
0.142857
0
0
0
0
0
0
0
0
0
0
0.165517
145
8
42
18.125
0.92562
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f70671faa8271dc37c80996d283b7fbb1514c46a
523
py
Python
plugins/haveibeenpwned/setup.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
46
2019-06-05T20:47:58.000Z
2022-03-29T10:18:01.000Z
plugins/haveibeenpwned/setup.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
386
2019-06-07T20:20:39.000Z
2022-03-30T17:35:01.000Z
plugins/haveibeenpwned/setup.py
lukaszlaszuk/insightconnect-plugins
8c6ce323bfbb12c55f8b5a9c08975d25eb9f8892
[ "MIT" ]
43
2019-07-09T14:13:58.000Z
2022-03-28T12:04:46.000Z
# GENERATED BY KOMAND SDK - DO NOT EDIT from setuptools import setup, find_packages setup(name='haveibeenpwned-rapid7-plugin', version='4.0.2', description='Determine if a user, domain, or password has been leaked via data available in the Have I Been Pwned database', author='rapid7', author_e...
34.866667
130
0.686424
67
523
5.283582
0.850746
0.067797
0
0
0
0
0
0
0
0
0
0.012048
0.206501
523
14
131
37.357143
0.840964
0.185468
0
0
1
0.090909
0.41844
0.120567
0
0
0
0
0
1
0
true
0.090909
0.090909
0
0.090909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
f7200c78df71a4b408145caba6e03ce542b4d9df
3,753
py
Python
tests/system/action/motion_comment_section/test_sort.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
null
null
null
tests/system/action/motion_comment_section/test_sort.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
19
2021-11-22T16:25:54.000Z
2021-11-25T13:38:13.000Z
tests/system/action/motion_comment_section/test_sort.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
null
null
null
from openslides_backend.permissions.permissions import Permissions from tests.system.action.base import BaseActionTestCase class MotionCommentSectionSortActionTest(BaseActionTestCase): def setUp(self) -> None: super().setUp() self.permission_test_model = { "motion_comment_section/31": ...
34.75
75
0.501998
346
3,753
5.083815
0.190751
0.147811
0.227402
0.054576
0.750995
0.732803
0.690165
0.629335
0.629335
0.603184
0
0.045672
0.387423
3,753
107
76
35.074766
0.719443
0
0
0.53
0
0
0.273648
0.159606
0
0
0
0
0.07
1
0.06
false
0
0.02
0
0.09
0
0
0
0
null
0
1
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f734620a92c87bf2d9b8868aa2af756591238d37
159
py
Python
models.py
mwang87/GNPS_Batch_Validator
97a8b0c1f2a0977eec8c7eaf842e15392d865676
[ "Apache-2.0" ]
null
null
null
models.py
mwang87/GNPS_Batch_Validator
97a8b0c1f2a0977eec8c7eaf842e15392d865676
[ "Apache-2.0" ]
null
null
null
models.py
mwang87/GNPS_Batch_Validator
97a8b0c1f2a0977eec8c7eaf842e15392d865676
[ "Apache-2.0" ]
null
null
null
# models.py from peewee import * from app import db class Filename(Model): filepath = TextField(primary_key=True) class Meta: database = db
14.454545
42
0.679245
21
159
5.095238
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.245283
159
10
43
15.9
0.891667
0.056604
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f7468314c762cc0a7911f4b43d569a39f01c09b0
124
py
Python
DIY_NN/solutions/ff_compute_gradient.py
PinmanHuang/CrashCourseML
b59ebf138d42fc9a1669735c6363d50938200e69
[ "MIT" ]
3
2019-02-16T05:57:09.000Z
2019-09-16T07:07:18.000Z
DIY_NN/solutions/ff_compute_gradient.py
PinmanHuang/CrashCourseML
b59ebf138d42fc9a1669735c6363d50938200e69
[ "MIT" ]
null
null
null
DIY_NN/solutions/ff_compute_gradient.py
PinmanHuang/CrashCourseML
b59ebf138d42fc9a1669735c6363d50938200e69
[ "MIT" ]
8
2019-02-14T02:51:26.000Z
2019-10-07T07:44:24.000Z
p = np.eye(3)[y][:, None] grad_d = q - p grad_C = grad_d @ U.T grad_b = (C.T @ grad_d ) * Drelu(A@x+b) grad_A = grad_b @ x.T
24.8
39
0.564516
32
124
1.96875
0.5
0.238095
0
0
0
0
0
0
0
0
0
0.010204
0.209677
124
5
40
24.8
0.632653
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
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
f74afb3bdcd2813c6d45b4b20fed367a9513b91f
4,947
py
Python
provisioning/migrations/0001_initial.py
UniversitaDellaCalabria/IdM
0c80bc1a192e8f3075c941ca2d89773bca25e892
[ "Apache-2.0" ]
2
2020-03-02T23:03:16.000Z
2020-07-13T06:04:04.000Z
provisioning/migrations/0001_initial.py
UniversitaDellaCalabria/IdM
0c80bc1a192e8f3075c941ca2d89773bca25e892
[ "Apache-2.0" ]
7
2020-01-28T15:57:35.000Z
2020-07-01T15:16:46.000Z
provisioning/migrations/0001_initial.py
UniversitaDellaCalabria/IdM
0c80bc1a192e8f3075c941ca2d89773bca25e892
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.4 on 2019-02-18 14:37 from django.db import migrations, models import django.db.models.deletion import provisioning.utils import uuid class Migration(migrations.Migration): initial = True dependencies = [ ('identity', '0001_initial'), ] operations = [ migr...
53.193548
118
0.596725
496
4,947
5.796371
0.201613
0.059478
0.050087
0.087652
0.77287
0.716522
0.692174
0.664
0.664
0.658435
0
0.012655
0.265211
4,947
92
119
53.771739
0.778267
0.009096
0
0.623529
1
0
0.19
0.011224
0
0
0
0
0
1
0
false
0.035294
0.047059
0
0.094118
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f75d8e640cd04d234e634c7a08c43d348279caa1
414
py
Python
.waf-1.9.8-6657823688b736c1d1a4e2c4e8e198b4/waflib/extras/wurf/mandatory_options.py
looopTools/sw9-source
a2910ced89d26253c2df4e05d907a69823ed5e45
[ "MIT" ]
null
null
null
.waf-1.9.8-6657823688b736c1d1a4e2c4e8e198b4/waflib/extras/wurf/mandatory_options.py
looopTools/sw9-source
a2910ced89d26253c2df4e05d907a69823ed5e45
[ "MIT" ]
null
null
null
.waf-1.9.8-6657823688b736c1d1a4e2c4e8e198b4/waflib/extras/wurf/mandatory_options.py
looopTools/sw9-source
a2910ced89d26253c2df4e05d907a69823ed5e45
[ "MIT" ]
null
null
null
#! /usr/bin/env python # encoding: utf-8 # WARNING! Do not edit! https://waf.io/book/index.html#_obtaining_the_waf_file class MandatoryOptions(object): def __init__(self,options): self.options=options def __getattr__(self,name): call=getattr(self.options,name) def require(*args,**kwargs): value=call(*args,*...
25.875
78
0.727053
59
414
4.898305
0.677966
0.114187
0
0
0
0
0
0
0
0
0
0.002801
0.137681
414
15
79
27.6
0.806723
0.272947
0
0
1
0
0.026936
0
0
0
0
0
0
1
0.272727
false
0
0
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
f763bae27967847f3eaac0c7da91d5f728fdb0e3
109
py
Python
yumemi/__init__.py
fpob/yumemi
de6c2eade70eceb6b2e39cdfdc0f47c2ea095637
[ "MIT" ]
5
2018-06-15T20:06:14.000Z
2021-06-13T18:00:52.000Z
yumemi/__init__.py
fpob/yumemi
de6c2eade70eceb6b2e39cdfdc0f47c2ea095637
[ "MIT" ]
2
2019-01-23T19:21:41.000Z
2019-04-22T08:02:55.000Z
yumemi/__init__.py
fpob/yumemi
de6c2eade70eceb6b2e39cdfdc0f47c2ea095637
[ "MIT" ]
null
null
null
__version__ = '1.3.1' from .exceptions import * from .anidb import * # flake8: noqa: F401 (unused imports)
15.571429
37
0.697248
15
109
4.8
0.8
0
0
0
0
0
0
0
0
0
0
0.077778
0.174312
109
6
38
18.166667
0.722222
0.321101
0
0
0
0
0.069444
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f77bedfe3bfca571f9517817dac6d31b300b55cf
4,370
py
Python
3. Python Advanced (September 2021)/3.2 Python OOP (October 2021)/10. Exercise - Static and Class Methods/03_document_management/main.py
kzborisov/SoftUni
ccb2b8850adc79bfb2652a45124c3ff11183412e
[ "MIT" ]
2
2022-03-04T11:39:03.000Z
2022-03-13T07:13:23.000Z
3. Python Advanced (September 2021)/3.2 Python OOP (October 2021)/10. Exercise - Static and Class Methods/03_document_management/main.py
kzborisov/softuni
9c5b45c74fa7d9748e9b3ea65a5ae4e15c142751
[ "MIT" ]
null
null
null
3. Python Advanced (September 2021)/3.2 Python OOP (October 2021)/10. Exercise - Static and Class Methods/03_document_management/main.py
kzborisov/softuni
9c5b45c74fa7d9748e9b3ea65a5ae4e15c142751
[ "MIT" ]
null
null
null
from project.category import Category from project.document import Document from project.storage import Storage from project.topic import Topic import unittest class TestDocumentManagement(unittest.TestCase): def setUp(self): self.c = Category(1, "C") self.t = Topic(1, "T", "C:\\user") se...
32.61194
86
0.6373
629
4,370
4.260731
0.077901
0.212687
0.205597
0.097015
0.644776
0.483582
0.320149
0.278731
0.195896
0.18806
0
0.009672
0.219222
4,370
134
87
32.61194
0.775791
0
0
0.283019
0
0
0.061771
0
0
0
0
0
0.358491
1
0.226415
false
0
0.04717
0
0.283019
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e38dff1c38b9bfeb1ed854b5fdf0e51a0df91984
915
py
Python
ratatosk/sample.py
SciLifeLab/ratatosk
4e9c9d8dc868b19a7c70eb7b326422c87bc3d7c0
[ "Apache-2.0" ]
null
null
null
ratatosk/sample.py
SciLifeLab/ratatosk
4e9c9d8dc868b19a7c70eb7b326422c87bc3d7c0
[ "Apache-2.0" ]
null
null
null
ratatosk/sample.py
SciLifeLab/ratatosk
4e9c9d8dc868b19a7c70eb7b326422c87bc3d7c0
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2013 Per Unneberg # # 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 agreed to in writing,...
28.59375
79
0.779235
131
915
5.442748
0.679389
0.084151
0.036466
0.044881
0
0
0
0
0
0
0
0.010336
0.154098
915
31
80
29.516129
0.910853
0.684153
0
0
0
0
0.05618
0
0
0
0
0
0
1
0
false
0.111111
0.666667
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
e3a270f93aeb96bf773c1e0502bb6d85285173ee
142
py
Python
python/testData/completion/veryPrivate.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/completion/veryPrivate.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/completion/veryPrivate.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class PrivateTest(object): def __init__(self): self.__veryPrivate = list() def showList(self): print self.__v<caret>
20.285714
35
0.633803
16
142
5.125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.253521
142
7
36
20.285714
0.773585
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
e3c167ad9d7d824c99b10efc79c6371abcdd1eab
834
py
Python
redash/settings/dynamic_settings.py
Adityamalik123/redash-ym
f034774042b8d131bb483ed74e26cf6cb91f14c8
[ "BSD-2-Clause" ]
null
null
null
redash/settings/dynamic_settings.py
Adityamalik123/redash-ym
f034774042b8d131bb483ed74e26cf6cb91f14c8
[ "BSD-2-Clause" ]
null
null
null
redash/settings/dynamic_settings.py
Adityamalik123/redash-ym
f034774042b8d131bb483ed74e26cf6cb91f14c8
[ "BSD-2-Clause" ]
null
null
null
# Replace this method with your own implementation in case you want to limit the time limit on certain queries or users. def query_time_limit(is_scheduled, user_id, org_id): from redash import settings if is_scheduled: return settings.SCHEDULED_QUERY_TIME_LIMIT else: return settings.ADHOC_Q...
30.888889
120
0.729017
112
834
5.258929
0.616071
0.061121
0.071307
0
0
0
0
0
0
0
0
0.003003
0.201439
834
26
121
32.076923
0.881381
0.611511
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
e3c2a36574c7d97b7230adb9db797f0b9c8db057
8,879
py
Python
dask_yarn/tests/test_cli.py
matthieubulte/dask-yarn
1eac269a091336f39b09dad4a20ca74665d79969
[ "BSD-3-Clause" ]
null
null
null
dask_yarn/tests/test_cli.py
matthieubulte/dask-yarn
1eac269a091336f39b09dad4a20ca74665d79969
[ "BSD-3-Clause" ]
null
null
null
dask_yarn/tests/test_cli.py
matthieubulte/dask-yarn
1eac269a091336f39b09dad4a20ca74665d79969
[ "BSD-3-Clause" ]
null
null
null
from __future__ import division, print_function, absolute_import import pytest import skein import dask_yarn from dask_yarn.cli import main from .conftest import ensure_shutdown, wait_for_completion, get_logs def run_command(command, error=False): with pytest.raises(SystemExit) as exc: main([arg for arg...
30.512027
74
0.559185
1,018
8,879
4.699411
0.142436
0.026129
0.022993
0.043896
0.742266
0.710702
0.704431
0.663043
0.631689
0.631689
0
0.012675
0.324699
8,879
290
75
30.617241
0.78519
0.026242
0
0.63964
0
0
0.252606
0.024786
0
0
0
0
0.135135
1
0.040541
false
0
0.04955
0
0.09009
0.040541
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3ce16f0ddf15fa9da86420e81d8f780988d5ab7
236
py
Python
aiowing/apps/web/routes.py
embali/aiowind
3673183b7f5fa681bee511a0b158d625bae44c91
[ "MIT" ]
9
2016-04-27T18:41:54.000Z
2018-06-09T04:00:12.000Z
aiowing/apps/web/routes.py
embali/aiowind
3673183b7f5fa681bee511a0b158d625bae44c91
[ "MIT" ]
null
null
null
aiowing/apps/web/routes.py
embali/aiowind
3673183b7f5fa681bee511a0b158d625bae44c91
[ "MIT" ]
4
2016-10-28T07:55:21.000Z
2020-08-14T08:46:53.000Z
from aiowing.base.route import get from aiowing.apps.web.handlers import Records routes = ( get(r'/', Records, 'web_records'), get(r'/{page:([1-9]\d*)}/', Records, 'web_records_page'), get(r'/{page:([1-9]\d*)}', Records))
26.222222
61
0.627119
36
236
4.027778
0.444444
0.082759
0.234483
0.124138
0.248276
0.248276
0.248276
0
0
0
0
0.019704
0.139831
236
8
62
29.5
0.694581
0
0
0
0
0
0.275424
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e3dea8f61c8bfeffb8758c6cbe39c09bbdca1031
256
py
Python
grtoolkit/Threading.py
ZenosParadox/grtoolkit
2e34f151a78f57864e39e572c221ca4b73e48bb7
[ "MIT" ]
3
2020-02-02T14:33:30.000Z
2020-07-29T00:27:46.000Z
grtoolkit/Threading.py
ZenosParadox/grtoolkit
2e34f151a78f57864e39e572c221ca4b73e48bb7
[ "MIT" ]
null
null
null
grtoolkit/Threading.py
ZenosParadox/grtoolkit
2e34f151a78f57864e39e572c221ca4b73e48bb7
[ "MIT" ]
2
2020-02-02T14:33:32.000Z
2022-03-21T14:33:34.000Z
# THREADING # from threading import Thread, RLock # Thread # thread = Thread(target=<function>, args=(<first_arg>, )) # thread.start() # ... # thread.join() # Lock # lock = RLock() # lock.acquire() # ... # lock.release() # Or: # with lock: # ...
11.636364
58
0.585938
28
256
5.321429
0.607143
0.161074
0
0
0
0
0
0
0
0
0
0
0.199219
256
22
59
11.636364
0.726829
0.855469
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e3ec745925db944611af53f6051e5b48b661ce5b
21
py
Python
src/infrastructure/__init__.py
lucasdavid/drf-base
bdd14c51aa0eb6755bb3577f3a8d60f6e7f86758
[ "MIT" ]
null
null
null
src/infrastructure/__init__.py
lucasdavid/drf-base
bdd14c51aa0eb6755bb3577f3a8d60f6e7f86758
[ "MIT" ]
null
null
null
src/infrastructure/__init__.py
lucasdavid/drf-base
bdd14c51aa0eb6755bb3577f3a8d60f6e7f86758
[ "MIT" ]
null
null
null
__author__ = 'Lucas'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3f80a914c5098a55e81f0bdc7cb2d98277930f2
1,623
py
Python
keystone/cmd/doctor/tokens.py
rajivmucheli/keystone
d55099d4a17e3672d478aae8c367bcdf9af15fb9
[ "Apache-2.0" ]
null
null
null
keystone/cmd/doctor/tokens.py
rajivmucheli/keystone
d55099d4a17e3672d478aae8c367bcdf9af15fb9
[ "Apache-2.0" ]
4
2020-02-10T12:02:37.000Z
2021-07-14T15:16:57.000Z
keystone/cmd/doctor/tokens.py
rajivmucheli/keystone
d55099d4a17e3672d478aae8c367bcdf9af15fb9
[ "Apache-2.0" ]
5
2019-06-06T15:11:37.000Z
2021-06-07T08:23:23.000Z
# 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 agreed to in writing, software # distributed under t...
42.710526
79
0.744301
242
1,623
4.92562
0.524793
0.07047
0.07047
0.055369
0.083054
0.083054
0.057047
0
0
0
0
0.007593
0.18854
1,623
37
80
43.864865
0.897494
0.841035
0
0
0
0
0.03125
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
540493b93be102563a124f0a634c8c9dc801b725
47,980
py
Python
source/logick.py
IskatelApelsinov/PasswordManager-Sneaky-Pass
6bc56d4cbccd3eb84a0cacbede97f16f317d1954
[ "Unlicense" ]
null
null
null
source/logick.py
IskatelApelsinov/PasswordManager-Sneaky-Pass
6bc56d4cbccd3eb84a0cacbede97f16f317d1954
[ "Unlicense" ]
null
null
null
source/logick.py
IskatelApelsinov/PasswordManager-Sneaky-Pass
6bc56d4cbccd3eb84a0cacbede97f16f317d1954
[ "Unlicense" ]
null
null
null
import sys import time from PyQt5 import QtCore, QtGui, QtWidgets, Qt from PyQt5.QtGui import QIcon #from sneakyapp1 import Ui_MainWindow # from sneakyapp import Ui_MainWindow from all_windows import * class mywindow(QtWidgets.QMainWindow): def __init__(self): super(mywindow, self).__init__()...
45.521822
234
0.575844
5,569
47,980
4.724367
0.068774
0.04561
0.07233
0.049411
0.815241
0.762106
0.690688
0.636298
0.609236
0.568947
0
0.034157
0.31782
47,980
1,053
235
45.565052
0.769668
0.106753
0
0.533981
0
0.033287
0.073335
0.003793
0
0
0
0
0
1
0.061026
false
0.072122
0.006935
0
0.070735
0.037448
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
540797b4fd8d3ee629e1f0220600c8ac8242fb39
403
py
Python
autopot.py
Akash1684/Research-Article-Downloader
131c5e2c5aaba1c5bf539533aebc1bdd91d0dc8e
[ "MIT" ]
2
2016-04-30T02:35:29.000Z
2020-10-11T23:20:08.000Z
autopot.py
Akash1684/ScriptsPy
131c5e2c5aaba1c5bf539533aebc1bdd91d0dc8e
[ "MIT" ]
null
null
null
autopot.py
Akash1684/ScriptsPy
131c5e2c5aaba1c5bf539533aebc1bdd91d0dc8e
[ "MIT" ]
null
null
null
import os import time from splinter import Browser browser = Browser() browser.visit('https://internet.iitb.ac.in/index.php') time.sleep(3) print("OPENED") user = browser.find_by_name('uname') user.fill(########) pas = browser.find_by_name('passwd') pas.fill(#########) browser.find_by_name('button').click() os.syst...
19.190476
54
0.717122
58
403
4.87931
0.586207
0.14841
0.137809
0.180212
0
0
0
0
0
0
0
0.002732
0.091811
403
20
55
20.15
0.770492
0
0
0
0
0
0.265487
0
0
0
0
0
0
0
null
null
0.076923
0.230769
null
null
0.076923
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
541070423b19c64c54f1817d5a5702ba9108b906
218
py
Python
src/sensorutils/datasets/base.py
takeyarise/sensorutils
adce66fff90f7995aab023c29643e9476fd9a08d
[ "MIT" ]
null
null
null
src/sensorutils/datasets/base.py
takeyarise/sensorutils
adce66fff90f7995aab023c29643e9476fd9a08d
[ "MIT" ]
null
null
null
src/sensorutils/datasets/base.py
takeyarise/sensorutils
adce66fff90f7995aab023c29643e9476fd9a08d
[ "MIT" ]
null
null
null
""" データセットローダの抽象クラス """ import typing from pathlib import Path class BaseDataset(object): def __init__(self, path:Path): self.path = path def load(self, *args): raise NotImplementedError
15.571429
34
0.66055
24
218
5.833333
0.666667
0.114286
0.171429
0
0
0
0
0
0
0
0
0
0.243119
218
13
35
16.769231
0.848485
0.068807
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
5411aaf089d22afa813ceb16583bc21cdf0c3e85
4,859
py
Python
src/models/sfm/shapenet.py
Ceglowa/AOiW_project_3d_modelling
55540b7f069226f9848a13a57b668783ed804682
[ "MIT" ]
2
2021-04-23T12:26:09.000Z
2021-05-18T16:02:48.000Z
src/models/sfm/shapenet.py
Ceglowa/AOiW_project_3d_modelling
55540b7f069226f9848a13a57b668783ed804682
[ "MIT" ]
null
null
null
src/models/sfm/shapenet.py
Ceglowa/AOiW_project_3d_modelling
55540b7f069226f9848a13a57b668783ed804682
[ "MIT" ]
null
null
null
import json import os from typing import Dict from settings import SHAPENET_DATASET_DIR import re TAXONOMY_PATH = os.path.join(SHAPENET_DATASET_DIR, "ShapeNet_taxonomy.json") def get_taxonomy(taxonomy_path: str) -> Dict: with open(taxonomy_path, "r") as f: s = f.read() taxonomies = json.loads(re....
39.504065
396
0.531179
536
4,859
4.552239
0.222015
0.090164
0.07459
0.072131
0.644672
0.604098
0.57377
0.440984
0.413115
0.397951
0
0.006124
0.327845
4,859
123
397
39.504065
0.740968
0.877958
0
0
0
0
0.054545
0.044444
0
0
0
0
0
1
0.090909
false
0
0.454545
0
0.636364
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
0
0
1
0
1
0
0
3
5415f4d001f363ef58c1dd4c23c39920be55afcd
161
py
Python
pytropic/__init__.py
willf/pytropic
1fb2bfb122c1836510ec599254547408259a0ed6
[ "MIT" ]
null
null
null
pytropic/__init__.py
willf/pytropic
1fb2bfb122c1836510ec599254547408259a0ed6
[ "MIT" ]
null
null
null
pytropic/__init__.py
willf/pytropic
1fb2bfb122c1836510ec599254547408259a0ed6
[ "MIT" ]
1
2019-02-17T14:09:02.000Z
2019-02-17T14:09:02.000Z
# -*- coding: utf-8 -*- """Top-level package for Pytropic.""" __author__ = """Will Fitzgerald""" __email__ = 'will.fitzgerald@gmail.com' __version__ = '0.1.0'
20.125
39
0.652174
20
161
4.65
0.85
0.301075
0
0
0
0
0
0
0
0
0
0.028571
0.130435
161
7
40
23
0.635714
0.335404
0
0
0
0
0.445545
0.247525
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
541959f0fae546f4737d7ff53a2dde1b6b1c05ca
22,373
py
Python
tests/test_ansi2html.py
pvital/patchew
70834c81ebee66a975df5f847d4b6ad62ddde6af
[ "MIT" ]
54
2016-08-06T18:04:22.000Z
2022-02-24T22:55:07.000Z
tests/test_ansi2html.py
pvital/patchew
70834c81ebee66a975df5f847d4b6ad62ddde6af
[ "MIT" ]
125
2016-06-21T01:06:29.000Z
2022-03-25T16:59:18.000Z
tests/test_ansi2html.py
pvital/patchew
70834c81ebee66a975df5f847d4b6ad62ddde6af
[ "MIT" ]
17
2016-08-23T15:44:46.000Z
2021-11-22T16:13:36.000Z
# Test conversion of ANSI sequences into HTML # # Copyright (C) 2018 Red Hat, Inc. # # Author: Paolo Bonzini <pbonzini@redhat.com> import unittest from patchew.logviewer import ansi2html, ansi2text, ANSI2TextConverter class ANSI2HTMLTest(unittest.TestCase): def assertAnsi(self, test, expected, **kwargs): ...
51.196796
88
0.580432
2,931
22,373
4.415217
0.073354
0.123793
0.110502
0.131675
0.849857
0.761456
0.632563
0.562399
0.447261
0.37331
0
0.063154
0.201672
22,373
436
89
51.31422
0.661385
0.025343
0
0.185864
0
0.005236
0.454775
0.089256
0
0
0
0
0.751309
1
0.060209
false
0
0.005236
0
0.070681
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
1
0
0
0
0
0
0
0
0
0
3
583b04ad111c88b469e0c639156ef4a4d2eef554
216
py
Python
JTP Recap./0.Data_Type/Bool.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
JTP Recap./0.Data_Type/Bool.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
JTP Recap./0.Data_Type/Bool.py
SNP0301/Study_Python
bb7ce7a0d915131c281152e7faee5b57c290df6b
[ "MIT" ]
null
null
null
""" Bool : Whether it is True or False True / False if string, list, tuple, dictionary are empty (don't have element) it is False. also 'None' is false, too Contents Source : https://wikidocs.net/17 """
24
69
0.666667
34
216
4.235294
0.794118
0.055556
0
0
0
0
0
0
0
0
0
0.011905
0.222222
216
9
70
24
0.845238
0.962963
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5866b868793c4dfc59a5047ace8b7d1f588ec1df
220
py
Python
cnltk/test/compat_fixt.py
gouthambs/cnltk
ad122a150e7796bf535c49676dec9fac2db8a19c
[ "Apache-2.0" ]
null
null
null
cnltk/test/compat_fixt.py
gouthambs/cnltk
ad122a150e7796bf535c49676dec9fac2db8a19c
[ "Apache-2.0" ]
null
null
null
cnltk/test/compat_fixt.py
gouthambs/cnltk
ad122a150e7796bf535c49676dec9fac2db8a19c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import from cnltk.compat import PY3 def setup_module(module): from nose import SkipTest if PY3: raise SkipTest("compat.doctest is for Python 2.x")
24.444444
58
0.709091
32
220
4.6875
0.71875
0
0
0
0
0
0
0
0
0
0
0.022727
0.2
220
8
59
27.5
0.829545
0.095455
0
0
0
0
0.162437
0
0
0
0
0
0
1
0.166667
false
0
0.5
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
0
0
1
0
1
0
0
3
5867dbaaf3606e5bf6cdd6766cc5a15e535f07f8
131
py
Python
j5/boards/sb/__init__.py
udhayacommits/j5
2b516af67ccf5aa31e20489d479c48075e737f4d
[ "MIT" ]
null
null
null
j5/boards/sb/__init__.py
udhayacommits/j5
2b516af67ccf5aa31e20489d479c48075e737f4d
[ "MIT" ]
null
null
null
j5/boards/sb/__init__.py
udhayacommits/j5
2b516af67ccf5aa31e20489d479c48075e737f4d
[ "MIT" ]
null
null
null
"""SourceBots Boards.""" from .arduino import AnaloguePin, SBArduinoBoard __all__ = [ 'AnaloguePin', 'SBArduinoBoard', ]
14.555556
48
0.687023
10
131
8.6
0.8
0.581395
0
0
0
0
0
0
0
0
0
0
0.175573
131
8
49
16.375
0.796296
0.137405
0
0
0
0
0.233645
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
5878c4dbff8c7a844375639ccf9dcf5fedd8441d
270
py
Python
examples/docs/short_options.py
mollypi/mando
8e28ada5654693cf51f05ccd74fd3bfce2984e02
[ "MIT" ]
46
2015-01-03T16:06:17.000Z
2022-03-31T12:50:34.000Z
examples/docs/short_options.py
mollypi/mando
8e28ada5654693cf51f05ccd74fd3bfce2984e02
[ "MIT" ]
40
2015-01-03T16:32:22.000Z
2022-03-05T19:51:09.000Z
examples/docs/short_options.py
mollypi/mando
8e28ada5654693cf51f05ccd74fd3bfce2984e02
[ "MIT" ]
15
2015-01-20T03:08:21.000Z
2021-12-15T07:43:34.000Z
from mando import command, main @command def ex(foo, b=None, spam=None): '''Nothing interesting. :param foo: Bla bla. :param -b: A little flag. :param -s, --spam: Spam spam spam spam.''' print(foo, b, spam) if __name__ == '__main__': main()
16.875
46
0.607407
39
270
4
0.564103
0.205128
0.230769
0.205128
0
0
0
0
0
0
0
0
0.240741
270
15
47
18
0.760976
0.4
0
0
0
0
0.055556
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0.166667
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
587b3312ad555ef21c91100524bc0db78fe42228
134
py
Python
main/encrypt.py
tiwe0/XMUAutoHealth
b0ded9eb464387c2a088e30e72e59baa86f350aa
[ "MIT" ]
null
null
null
main/encrypt.py
tiwe0/XMUAutoHealth
b0ded9eb464387c2a088e30e72e59baa86f350aa
[ "MIT" ]
null
null
null
main/encrypt.py
tiwe0/XMUAutoHealth
b0ded9eb464387c2a088e30e72e59baa86f350aa
[ "MIT" ]
null
null
null
import execjs from functools import partial with open("./encrypt.js", mode="rt") as f: encrypt = execjs.compile(f.read())
19.142857
43
0.664179
19
134
4.684211
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.19403
134
6
44
22.333333
0.824074
0
0
0
0
0
0.110236
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
5893e6e693d7e858c5dabc2f6a01f74f8541da5c
537
py
Python
app/http/middleware/AddAttributeMiddleware.py
Abeautifulsnow/masonite
f0ebb5ca05f5d88f21264e1cd0934435bd0a8791
[ "MIT" ]
1
2022-02-24T06:21:18.000Z
2022-02-24T06:21:18.000Z
app/http/middleware/AddAttributeMiddleware.py
Abeautifulsnow/masonite
f0ebb5ca05f5d88f21264e1cd0934435bd0a8791
[ "MIT" ]
1
2020-10-26T12:33:05.000Z
2020-10-26T12:33:05.000Z
app/http/middleware/AddAttributeMiddleware.py
Abeautifulsnow/masonite
f0ebb5ca05f5d88f21264e1cd0934435bd0a8791
[ "MIT" ]
null
null
null
"""Add Attribute Middleware.""" from src.masonite.request import Request class AddAttributeMiddleware: """Middleware class which loads the current user into the request.""" def __init__(self, request: Request): """Inject Any Dependencies From The Service Container.""" self.request = request ...
26.85
73
0.666667
61
537
5.803279
0.52459
0.09322
0.101695
0.118644
0
0
0
0
0
0
0
0
0.232775
537
19
74
28.263158
0.859223
0.435754
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0.125
0.125
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
1
0
0
1
0
0
3
589b39f99a4d3a5f3679c259b4f339550ab7dc35
1,002
py
Python
bddrest/documentary/formatters/base.py
Carrene/bddrest
2b20d7f57d4c89b308948c2ed75879e9812fc3b7
[ "MIT" ]
17
2018-01-08T17:29:50.000Z
2019-06-21T10:31:51.000Z
bddrest/documentary/formatters/base.py
pylover/bddrest
2b20d7f57d4c89b308948c2ed75879e9812fc3b7
[ "MIT" ]
61
2018-01-16T08:05:36.000Z
2019-06-25T08:33:02.000Z
bddrest/documentary/formatters/base.py
Carrene/bddrest
2b20d7f57d4c89b308948c2ed75879e9812fc3b7
[ "MIT" ]
6
2018-01-08T17:30:36.000Z
2019-01-14T13:06:18.000Z
from abc import ABCMeta, abstractmethod class Formatter(metaclass=ABCMeta): def __init__(self, outfile, cr='\n'): self.file = outfile self.cr = cr def write(self, text): self.file.write(text) def writeline(self, text=''): self.write(f'{text}{self.cr}') @abstractmetho...
26.368421
71
0.656687
109
1,002
5.944954
0.33945
0.08642
0.203704
0.166667
0.512346
0.455247
0.455247
0.455247
0
0
0
0.002635
0.242515
1,002
37
72
27.081081
0.85112
0.100798
0
0.444444
0
0
0.019016
0
0
0
0
0
0
1
0.333333
false
0
0.037037
0
0.407407
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
58a722d98892d0272d1cba8fb4544523046de4bf
208
py
Python
plugins/tasks/foo.py
factorial-io/fabalicious
56672b0007dd00aa80c2cc2d1f5138211bcd4c22
[ "MIT" ]
13
2015-06-25T16:49:55.000Z
2019-06-02T08:06:43.000Z
plugins/tasks/foo.py
factorial-io/fabalicious
56672b0007dd00aa80c2cc2d1f5138211bcd4c22
[ "MIT" ]
50
2015-03-04T22:09:48.000Z
2019-03-02T15:55:53.000Z
plugins/tasks/foo.py
factorial-io/fabalicious
56672b0007dd00aa80c2cc2d1f5138211bcd4c22
[ "MIT" ]
4
2015-03-02T15:51:10.000Z
2017-10-23T10:06:47.000Z
import logging log = logging.getLogger('fabric.fabalicious.foo') from lib.plugins.task import ITaskPlugin class Foo(ITaskPlugin): aliases = ['foo','foobar'] def run(self): log.info('Foobar runs...')
23.111111
49
0.716346
27
208
5.518519
0.740741
0
0
0
0
0
0
0
0
0
0
0
0.129808
208
8
50
26
0.823204
0
0
0
0
0
0.216346
0.105769
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5436999306fb09db614a4cd6a8e591b7139847a1
229
py
Python
V3.0/language/jasper/client/modules/shutdown.py
robauto/bibli3.0
c8b803034c5dd1aad92c26327ae2aa1164fb9441
[ "BSD-3-Clause" ]
3
2020-09-21T17:20:20.000Z
2021-12-20T19:27:22.000Z
V2.0/language/jasper/client/modules/shutdown.py
robauto/bibli3.0
c8b803034c5dd1aad92c26327ae2aa1164fb9441
[ "BSD-3-Clause" ]
5
2020-09-27T16:59:26.000Z
2021-11-10T19:30:11.000Z
V2.0/language/jasper/client/modules/shutdown.py
robauto/bibli3.0
c8b803034c5dd1aad92c26327ae2aa1164fb9441
[ "BSD-3-Clause" ]
2
2020-09-24T20:12:48.000Z
2021-03-03T03:24:40.000Z
import subprocess import re WORDS = ["POWER OFF"] def handle(text, mic, profile): subprocess.call("sudo shutdown -h now", shell = True) def isValid(text): return bool(re.search(r'\bpower off\b', text, re.IGNORECASE))
19.083333
65
0.689956
34
229
4.647059
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.165939
229
11
66
20.818182
0.827225
0
0
0
0
0
0.183406
0
0
0
0
0
0
1
0.285714
false
0
0.285714
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
5437f3ada7e8cad4466269e328bd46c43d691a51
793
py
Python
docs/core/howto/tutorial/listings/finger/finger19a_changes.py
sxamit/twisted
30f6966329c857c3631c60aeb420d84d7828e01e
[ "MIT", "Unlicense" ]
null
null
null
docs/core/howto/tutorial/listings/finger/finger19a_changes.py
sxamit/twisted
30f6966329c857c3631c60aeb420d84d7828e01e
[ "MIT", "Unlicense" ]
null
null
null
docs/core/howto/tutorial/listings/finger/finger19a_changes.py
sxamit/twisted
30f6966329c857c3631c60aeb420d84d7828e01e
[ "MIT", "Unlicense" ]
null
null
null
class IFingerSetterService(Interface): def setUser(user, status): """Set the user's status to something""" # Advantages of latest version @implementer(IFingerService, IFingerSetterService) class MemoryFingerService(service.Service): def __init__(self, **kwargs): self.users = kwargs def ...
28.321429
71
0.703657
86
793
6.44186
0.569767
0.064982
0.064982
0.079422
0.097473
0
0
0
0
0
0
0.015432
0.18285
793
27
72
29.37037
0.839506
0.080706
0
0
0
0
0.048476
0
0
0
0
0
0
1
0.3125
false
0
0
0.125
0.5625
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
543a693a98bfe331052701fa094547705cb62926
9,405
py
Python
tests/oauth2/test_utils.py
kpister/google-auth-library-python
e79b8310bfd961557bf2496e15c9148dac79b213
[ "Apache-2.0" ]
null
null
null
tests/oauth2/test_utils.py
kpister/google-auth-library-python
e79b8310bfd961557bf2496e15c9148dac79b213
[ "Apache-2.0" ]
null
null
null
tests/oauth2/test_utils.py
kpister/google-auth-library-python
e79b8310bfd961557bf2496e15c9148dac79b213
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # # 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 agreed to in writing, ...
35.490566
122
0.694099
1,061
9,405
5.810556
0.147974
0.069586
0.081103
0.103812
0.785564
0.767559
0.733496
0.690835
0.658394
0.611841
0
0.003523
0.215311
9,405
264
123
35.625
0.831843
0.076023
0
0.524064
0
0.005348
0.157537
0.018222
0
0
0
0
0.144385
1
0.101604
false
0.005348
0.02139
0.016043
0.176471
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
543f5bb997ee97b7b390dd9ac3b645c70ecf2034
87
py
Python
datareduction/__init__.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
datareduction/__init__.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
datareduction/__init__.py
andresmasegosa/PRML-CoreSets
fb768debb15e3ff6f5b65b7224915a41c1493f3d
[ "MIT" ]
null
null
null
from datareduction import ( variational_gaussian_mixture_DR, bayesian_pca_DR, )
21.75
36
0.793103
10
87
6.4
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16092
87
4
37
21.75
0.876712
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
546f962f8735dcc67244ffe2dac0776408c8a87d
3,958
py
Python
utils/metrics.py
LK-Peng/CNN-based-Cloud-Detection-Methods
1393a6886e62f1ed5a612d57c5a725c763a6b2cc
[ "MIT" ]
2
2022-02-16T03:30:19.000Z
2022-03-18T08:02:39.000Z
utils/metrics.py
LK-Peng/CNN-based-Cloud-Detection-Methods
1393a6886e62f1ed5a612d57c5a725c763a6b2cc
[ "MIT" ]
null
null
null
utils/metrics.py
LK-Peng/CNN-based-Cloud-Detection-Methods
1393a6886e62f1ed5a612d57c5a725c763a6b2cc
[ "MIT" ]
1
2022-02-16T03:30:20.000Z
2022-02-16T03:30:20.000Z
import numpy as np # 忽略除数为0的warning, 对于除数为0的情况已有相应处理 np.seterr(divide='ignore', invalid='ignore') from utils.f_boundary import eval_mask_boundary class Evaluator(object): def __init__(self, num_class): self.num_class = num_class self.confusion_matrix = np.zeros((self.num_class,)*2) def Pixe...
36.990654
108
0.637191
571
3,958
4.17338
0.148862
0.201427
0.239194
0.064624
0.519094
0.48804
0.414603
0.366765
0.336551
0.311372
0
0.020354
0.242799
3,958
106
109
37.339623
0.774775
0.013896
0
0.283951
0
0
0.003846
0
0
0
0
0
0.061728
1
0.222222
false
0
0.024691
0
0.432099
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
5480ea83ec88f03af6da2a0ba75d78e9c47c833f
282
py
Python
setup.py
joeVenner/awsome-ascii-text-generator
b3f6de1579aaa448a4adcb55bc5b48db3acc09a7
[ "MIT" ]
10
2020-10-18T16:52:05.000Z
2022-03-10T04:20:33.000Z
setup.py
joeVenner/awsome-ascii-text-generator
b3f6de1579aaa448a4adcb55bc5b48db3acc09a7
[ "MIT" ]
null
null
null
setup.py
joeVenner/awsome-ascii-text-generator
b3f6de1579aaa448a4adcb55bc5b48db3acc09a7
[ "MIT" ]
2
2020-10-18T17:56:37.000Z
2021-03-07T22:55:04.000Z
from setuptools import setup setup( name='asciiText', version='0.0.1', description='Generate Beautiful Ascii Text Art', py_modules=['generator'], install_requires=[ 'BeautifulSoup4', 'requests' ], author='JoeVenner' )
20.142857
53
0.585106
26
282
6.269231
0.923077
0
0
0
0
0
0
0
0
0
0
0.020101
0.294326
282
13
54
21.692308
0.798995
0
0
0
1
0
0.32342
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
548b36f5af83a72d768b8ca8fa09542c90bf27ba
186
py
Python
setup.py
pzelasko/daseg
5e3aaf6e81a44a5eb42226bd376c92c7d1879261
[ "Apache-2.0" ]
4
2021-07-12T00:46:32.000Z
2022-02-28T07:02:27.000Z
setup.py
pzelasko/daseg
5e3aaf6e81a44a5eb42226bd376c92c7d1879261
[ "Apache-2.0" ]
2
2021-12-09T12:34:24.000Z
2022-02-14T20:37:01.000Z
setup.py
pzelasko/daseg
5e3aaf6e81a44a5eb42226bd376c92c7d1879261
[ "Apache-2.0" ]
null
null
null
from setuptools import find_packages, setup setup( name='daseg', license='Apache-2.0 License', version='0.1', packages=find_packages(), scripts=['daseg/bin/dasg'] )
18.6
43
0.66129
24
186
5.041667
0.708333
0.198347
0
0
0
0
0
0
0
0
0
0.026316
0.182796
186
9
44
20.666667
0.769737
0
0
0
0
0
0.215054
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
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
549c4b6311f8dffad98f76a4eb061b77b12f7430
67
py
Python
terrascript/data/bitbucket.py
amlodzianowski/python-terrascript
1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49
[ "BSD-2-Clause" ]
null
null
null
terrascript/data/bitbucket.py
amlodzianowski/python-terrascript
1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49
[ "BSD-2-Clause" ]
null
null
null
terrascript/data/bitbucket.py
amlodzianowski/python-terrascript
1111affe6cd30d9b8b7bc74ae4e27590f7d4dc49
[ "BSD-2-Clause" ]
null
null
null
# terrascript/data/bitbucket.py import terrascript __all__ = []
9.571429
31
0.746269
7
67
6.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.149254
67
6
32
11.166667
0.807018
0.432836
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
54a2da62739f7f73fc49a7ac2cc20394bbd81d98
651
bzl
Python
utils/BUILD.bzl
md-w/httpserver
41645e5632f17dd931ee3ba4f1947e78ae9f3172
[ "MIT" ]
null
null
null
utils/BUILD.bzl
md-w/httpserver
41645e5632f17dd931ee3ba4f1947e78ae9f3172
[ "MIT" ]
null
null
null
utils/BUILD.bzl
md-w/httpserver
41645e5632f17dd931ee3ba4f1947e78ae9f3172
[ "MIT" ]
null
null
null
load("@rules_cc//cc:defs.bzl", "cc_library") # https://docs.bazel.build/versions/master/be/c-cpp.html#cc_library cc_library( name = "cpp-utils", srcs = glob(["src/*.cpp"]), hdrs = glob(["inc/*.h"]), includes = ["inc"], visibility = ["//visibility:public"], deps = [ "@com_github_spdlog//...
32.55
67
0.628264
78
651
4.974359
0.564103
0.139175
0.167526
0.219072
0.201031
0
0
0
0
0
0
0
0.179724
651
19
68
34.263158
0.726592
0.09831
0
0
0
0
0.592466
0.494863
0
0
0
0
0
1
0
true
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
0
0
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
54ac924b5bd972044c578c6c9936d057724f2ed8
481
py
Python
tools/polarcoordinatesstub.py
esoma/pyglm-typing
f47636b86d07d4f91692235e8dfe0af1bd22e883
[ "MIT" ]
null
null
null
tools/polarcoordinatesstub.py
esoma/pyglm-typing
f47636b86d07d4f91692235e8dfe0af1bd22e883
[ "MIT" ]
null
null
null
tools/polarcoordinatesstub.py
esoma/pyglm-typing
f47636b86d07d4f91692235e8dfe0af1bd22e883
[ "MIT" ]
null
null
null
__all__ = ['generate_polar_coordinates_stub'] import textwrap def generate_polar_coordinates_stub(): names = ['euclidean', 'polar'] return names, textwrap.dedent(f""" @overload def euclidean(polar: glm_typing.F32Vector2, /) -> vec3: ... @overload def euclidean(polar: dvec2, /) -> dvec3: ... ...
24.05
63
0.642412
48
481
6.145833
0.458333
0.149153
0.162712
0.189831
0
0
0
0
0
0
0
0.041558
0.199584
481
19
64
25.315789
0.724675
0
0
0.285714
1
0
0.714583
0.15625
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.214286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54b34a719188ee77ebeedb7bcfc2a391eefe5242
91,962
py
Python
node_objects.py
chombatant/python-kik-chatbot
9f5d966378df683efed6f3d74eafded150b2579b
[ "MIT" ]
1
2021-11-19T02:20:50.000Z
2021-11-19T02:20:50.000Z
node_objects.py
chombatant/python-kik-chatbot
9f5d966378df683efed6f3d74eafded150b2579b
[ "MIT" ]
null
null
null
node_objects.py
chombatant/python-kik-chatbot
9f5d966378df683efed6f3d74eafded150b2579b
[ "MIT" ]
1
2018-04-13T14:11:14.000Z
2018-04-13T14:11:14.000Z
import random from collections import defaultdict from copy import deepcopy from datetime import datetime import warnings from skills import * ####### # ###### # # ##### # ## ##### ###### # # ## ## # # # # # # # ...
36.077678
130
0.503534
9,425
91,962
4.740796
0.08191
0.063784
0.057652
0.075332
0.750011
0.714449
0.659729
0.620295
0.589096
0.552616
0
0.002973
0.389096
91,962
2,548
131
36.091837
0.792364
0.067963
0
0.701511
0
0.001889
0.301867
0.051782
0
0
0
0
0
0
null
null
0.010076
0.003778
null
null
0.025189
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
49a36b0e790e1a374b345c30d4bae2de331956b4
114
py
Python
.vscode/standardplot.py
A-Lawrence-Reynolds/python-intro
9ccc62d1c2b0e31e70d653ad542ca7a9c24b90e3
[ "MIT" ]
null
null
null
.vscode/standardplot.py
A-Lawrence-Reynolds/python-intro
9ccc62d1c2b0e31e70d653ad542ca7a9c24b90e3
[ "MIT" ]
null
null
null
.vscode/standardplot.py
A-Lawrence-Reynolds/python-intro
9ccc62d1c2b0e31e70d653ad542ca7a9c24b90e3
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np x = np.linspace(0,20,100) plt.plot(x, np.sin(x)) plt.show()
19
32
0.701754
23
114
3.478261
0.652174
0.075
0
0
0
0
0
0
0
0
0
0.061856
0.149123
114
6
33
19
0.762887
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
49b67bbbff72dd037a4ff96c6c3cc1df456cac65
128
py
Python
!Scripts/3 Open list export.py
PatrickL546/PixivUtil2-Batch-Downloader
6469caf91550afde7218e607e95c4f523a2900d9
[ "BSD-2-Clause" ]
1
2022-02-08T10:29:40.000Z
2022-02-08T10:29:40.000Z
!Scripts/3 Open list export.py
PatrickL546/PixivUtil2-Batch-Downloader
6469caf91550afde7218e607e95c4f523a2900d9
[ "BSD-2-Clause" ]
null
null
null
!Scripts/3 Open list export.py
PatrickL546/PixivUtil2-Batch-Downloader
6469caf91550afde7218e607e95c4f523a2900d9
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from pathlib import Path import os for list in Path('..').rglob('list*'): os.startfile(list)
18.285714
39
0.59375
18
128
4.222222
0.722222
0
0
0
0
0
0
0
0
0
0
0.009901
0.210938
128
6
40
21.333333
0.742574
0.164063
0
0
0
0
0.070707
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
49e5b7d16b81c723d9813a40be2327a37b2bdf66
255
py
Python
hackerrank_problems/library_fine.py
sreshtha10/CC
77147ce863dab64ecb2f76dd09560d963c763fa0
[ "MIT" ]
2
2021-11-26T13:50:59.000Z
2021-11-26T14:00:16.000Z
hackerrank_problems/library_fine.py
sreshthamehrotra00/CC
77147ce863dab64ecb2f76dd09560d963c763fa0
[ "MIT" ]
null
null
null
hackerrank_problems/library_fine.py
sreshthamehrotra00/CC
77147ce863dab64ecb2f76dd09560d963c763fa0
[ "MIT" ]
null
null
null
ld,lm,ly = map(int,input().split()) dd,dm,dy = map(int,input().split()) if ly< dy: print('0') elif ly > dy: print('10000') elif lm > dm: print(500*(lm-dm)) elif lm < dm: print('0') elif ld > dd: print(15*(ld-dd)) else: print('0')
17
35
0.537255
46
255
2.978261
0.391304
0.131387
0.160584
0.233577
0
0
0
0
0
0
0
0.065657
0.223529
255
14
36
18.214286
0.626263
0
0
0.214286
0
0
0.031373
0
0
0
0
0
0
1
0
true
0
0
0
0
0.428571
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
49f0c8f313f2ac2e471c1562998fa2583b94e506
146
py
Python
despesa/apps.py
Emerson-MM-Filho/finance-control
0d6b20501f9f601ab373b67f9c9bff9c42839f66
[ "MIT" ]
null
null
null
despesa/apps.py
Emerson-MM-Filho/finance-control
0d6b20501f9f601ab373b67f9c9bff9c42839f66
[ "MIT" ]
null
null
null
despesa/apps.py
Emerson-MM-Filho/finance-control
0d6b20501f9f601ab373b67f9c9bff9c42839f66
[ "MIT" ]
null
null
null
from django.apps import AppConfig class DespesaConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'despesa'
20.857143
56
0.760274
17
146
6.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.150685
146
6
57
24.333333
0.879032
0
0
0
0
0
0.246575
0.19863
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
49fc689a03f719701696cb6c84a768feb7351756
256
py
Python
CalibMuon/DTCalibration/python/Workflow/customizeHLTGlobalTag.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
CalibMuon/DTCalibration/python/Workflow/customizeHLTGlobalTag.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
CalibMuon/DTCalibration/python/Workflow/customizeHLTGlobalTag.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms def customizeHLTGlobalTag(process): process.GlobalTag.connect = 'frontier://FrontierProd/CMS_CONDITIONS' process.GlobalTag.pfnPrefix = cms.untracked.string('frontier://FrontierProd/') return process
32
82
0.777344
26
256
7.615385
0.692308
0.161616
0
0
0
0
0
0
0
0
0
0
0.117188
256
7
83
36.571429
0.876106
0
0
0
0
0
0.242188
0.242188
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
49ffa1b8190f38c03c58cbb6aeac7ac52a848db0
1,595
py
Python
oss_server/repertoire/migrations/0002_auto_20200408_1151.py
PssbleTrngle/oss-server
e1b426e8c6411cbaa61af9a6d0ad0d892d6922d9
[ "MIT" ]
3
2020-03-26T10:30:23.000Z
2022-03-16T01:01:02.000Z
oss_server/repertoire/migrations/0002_auto_20200408_1151.py
PssbleTrngle/oss-server
e1b426e8c6411cbaa61af9a6d0ad0d892d6922d9
[ "MIT" ]
35
2020-03-25T11:52:13.000Z
2022-03-12T00:28:46.000Z
oss_server/repertoire/migrations/0002_auto_20200408_1151.py
PssbleTrngle/oss-server
e1b426e8c6411cbaa61af9a6d0ad0d892d6922d9
[ "MIT" ]
2
2020-04-16T11:58:27.000Z
2021-04-01T12:19:25.000Z
# Generated by Django 3.0.5 on 2020-04-08 11:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('repertoire', '0001_initial'), ] operations = [ migrations.AlterField( model_name='album', name='cover_file', ...
32.55102
132
0.574922
169
1,595
5.313609
0.408284
0.155902
0.194878
0.226058
0.577951
0.577951
0.412027
0.231626
0.231626
0.124722
0
0.02965
0.302194
1,595
48
133
33.229167
0.777179
0.028213
0
0.547619
1
0
0.143411
0
0
0
0
0
0
1
0
false
0
0.02381
0
0.095238
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
b7044b94f1b4e388f01886b6cd25c42e84512a77
1,315
py
Python
pincer/objects/message/attachment.py
Arthurdw/Pincer
eebb8e8f4e7173ba37b8d3049c1d7de793776ed5
[ "MIT" ]
118
2021-08-30T15:00:47.000Z
2022-03-31T11:06:16.000Z
pincer/objects/message/attachment.py
Arthurdw/Pincer
eebb8e8f4e7173ba37b8d3049c1d7de793776ed5
[ "MIT" ]
343
2021-08-30T12:25:57.000Z
2022-03-31T07:02:11.000Z
pincer/objects/message/attachment.py
Arthurdw/Pincer
eebb8e8f4e7173ba37b8d3049c1d7de793776ed5
[ "MIT" ]
62
2021-08-31T22:30:20.000Z
2022-03-25T18:29:11.000Z
# Copyright Pincer 2021-Present # Full MIT License can be found in `LICENSE` at the project root. from __future__ import annotations from dataclasses import dataclass from typing import TYPE_CHECKING from ...utils.api_object import APIObject from ...utils.types import MISSING if TYPE_CHECKING: from typing impor...
25.784314
65
0.676806
164
1,315
5.359756
0.378049
0.040956
0.036405
0.045506
0
0
0
0
0
0
0
0.003937
0.227376
1,315
50
66
26.3
0.86122
0.473764
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.421053
0
0.894737
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
b70471dfedd660bc7422e449a807cb4ca7ac03b0
4,539
py
Python
delira/utils/context_managers.py
muizzk/delira
eb7fdfedd6bbeffa20ffad1ef6c918a4cd9abfbf
[ "BSD-2-Clause" ]
1
2019-10-03T21:00:20.000Z
2019-10-03T21:00:20.000Z
delira/utils/context_managers.py
muizzk/delira
eb7fdfedd6bbeffa20ffad1ef6c918a4cd9abfbf
[ "BSD-2-Clause" ]
null
null
null
delira/utils/context_managers.py
muizzk/delira
eb7fdfedd6bbeffa20ffad1ef6c918a4cd9abfbf
[ "BSD-2-Clause" ]
null
null
null
import contextlib from delira import get_backends from delira.utils.decorators import make_deprecated if "TORCH" in get_backends(): import torch class DefaultOptimWrapperTorch(object): """ Class wrapping a ``torch`` optimizer to mirror the behavior of ``apex`` without depending on it ...
28.36875
79
0.551884
452
4,539
5.274336
0.320796
0.059983
0.063758
0.038591
0.144295
0.128356
0.128356
0.102349
0.102349
0.102349
0
0
0.367922
4,539
159
80
28.54717
0.830952
0.345451
0
0.078431
0
0
0.047556
0.016889
0
0
0
0
0
1
0.333333
false
0
0.098039
0.156863
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b70a5863908bfab4fad8da53f4a0d0ce1ad35a99
1,082
py
Python
pantam_cli/utils/templates.py
flmnt/pantam
da47d977e69ec410d0642b5ade1f2323c1b6b350
[ "MIT" ]
2
2020-10-04T10:29:43.000Z
2021-03-30T13:45:09.000Z
pantam_cli/utils/templates.py
flmnt/pantam
da47d977e69ec410d0642b5ade1f2323c1b6b350
[ "MIT" ]
null
null
null
pantam_cli/utils/templates.py
flmnt/pantam
da47d977e69ec410d0642b5ade1f2323c1b6b350
[ "MIT" ]
null
null
null
index_template = ( lambda: """from pantam import Pantam pantam = Pantam(debug=True) app = pantam.build() """ ) action_template = lambda class_name: """from pantam import PlainTextResponse class {class_name}: def fetch_all(self, request): \"\"\"Fetch all items\"\"\" return PlainTextResponse(...
27.74359
76
0.61183
115
1,082
5.6
0.278261
0.125776
0.225155
0.263975
0.450311
0.391304
0.31677
0.31677
0.31677
0.31677
0
0
0.216266
1,082
38
77
28.473684
0.759434
0
0
0.103448
0
0
0.887246
0.189464
0
0
0
0
0
1
0
false
0
0.068966
0
0.241379
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b71b0892fde42bce7890abade0d6b4250cb15ffc
3,407
py
Python
tests/test_defaultfilters.py
spothero/coffin
9ea6a9173cbfed592c5b4776c489dba8d9280d52
[ "BSD-3-Clause" ]
1
2016-11-19T06:32:20.000Z
2016-11-19T06:32:20.000Z
tests/test_defaultfilters.py
spothero/coffin
9ea6a9173cbfed592c5b4776c489dba8d9280d52
[ "BSD-3-Clause" ]
null
null
null
tests/test_defaultfilters.py
spothero/coffin
9ea6a9173cbfed592c5b4776c489dba8d9280d52
[ "BSD-3-Clause" ]
1
2022-03-08T23:12:00.000Z
2022-03-08T23:12:00.000Z
from datetime import datetime, date from nose.tools import assert_raises def r(s, context={}): from coffin.common import env return env.from_string(s).render(context) def test_django_builtins_available(): """Many filters have not been re-implemented specifically for Coffin, but instead the...
40.559524
89
0.584385
451
3,407
4.361419
0.361419
0.099644
0.024403
0.018302
0.208439
0.15455
0.095577
0
0
0
0
0.037932
0.210743
3,407
84
90
40.559524
0.693566
0.085706
0
0.083333
0
0
0.406238
0.08488
0
0
0
0.011905
0.708333
0
null
null
0
0.104167
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
1
1
0
0
0
0
0
0
0
0
3
b71b1f97145fdddafaf65dca4781f943ca6ba1b8
92
py
Python
hello.py
aleks21977/python_training
f3086dde4b3c5339c486fab7c53178085c6b6856
[ "Apache-2.0" ]
null
null
null
hello.py
aleks21977/python_training
f3086dde4b3c5339c486fab7c53178085c6b6856
[ "Apache-2.0" ]
null
null
null
hello.py
aleks21977/python_training
f3086dde4b3c5339c486fab7c53178085c6b6856
[ "Apache-2.0" ]
null
null
null
def hello(s): print("Hello, %s!!!" % s) hello('world') hello('python') hello('Sasha')
11.5
29
0.565217
13
92
4
0.538462
0.230769
0
0
0
0
0
0
0
0
0
0
0.163043
92
8
30
11.5
0.675325
0
0
0
0
0
0.307692
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b7416c04a45dcb249f83222cdcb882561b9ed7ec
4,018
py
Python
aliyun-python-sdk-cbn/aliyunsdkcbn/request/v20170912/ListTransitRouterRouteTablesRequest.py
leafcoder/aliyun-openapi-python-sdk
26b441ab37a5cda804de475fd5284bab699443f1
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-cbn/aliyunsdkcbn/request/v20170912/ListTransitRouterRouteTablesRequest.py
leafcoder/aliyun-openapi-python-sdk
26b441ab37a5cda804de475fd5284bab699443f1
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-cbn/aliyunsdkcbn/request/v20170912/ListTransitRouterRouteTablesRequest.py
leafcoder/aliyun-openapi-python-sdk
26b441ab37a5cda804de475fd5284bab699443f1
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
39.392157
116
0.792434
448
4,018
6.924107
0.279018
0.021277
0.049645
0.060284
0.142811
0.130561
0.130561
0.020632
0
0
0
0.006195
0.116227
4,018
102
117
39.392157
0.867361
0.187656
0
0
0
0
0.15874
0.07874
0
0
0
0
0
1
0.396552
false
0
0.034483
0.189655
0.637931
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
3f7f4bb5647fb12d7101a336bf54efe1d4b0472b
316
py
Python
tests/utils.py
PureFunctor/amalgam-lisp
c3c1a9794495ba3eb87fcedbf5a294463ed717c1
[ "MIT" ]
3
2020-11-26T05:32:57.000Z
2021-01-01T19:45:40.000Z
tests/utils.py
PureFunctor/amalgam-lisp
c3c1a9794495ba3eb87fcedbf5a294463ed717c1
[ "MIT" ]
3
2020-11-25T04:00:43.000Z
2021-05-24T09:37:36.000Z
tests/utils.py
PureFunctor/amalgam-lisp
c3c1a9794495ba3eb87fcedbf5a294463ed717c1
[ "MIT" ]
null
null
null
from amalgam.amalgams import * def amalgam_ast_to_python(x: Amalgam) -> object: """Unwraps the values encapsulated by AST objects.""" if isinstance(x, (Numeric, Symbol, String, Atom)): return x.value elif isinstance(x, (SExpression, Vector)): return list(map(amalgam_ast_to_python, x))
31.6
57
0.689873
42
316
5.047619
0.690476
0.09434
0.113208
0.169811
0.179245
0
0
0
0
0
0
0
0.193038
316
9
58
35.111111
0.831373
0.148734
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3f87d09988acf4acc838b5ace1c1e3863ec5bf3c
114
py
Python
learning/gym-loco/gym_loco/__init__.py
N500/D3D12Renderer
7a0d247564800a0e09f02c37e6e26c557723fe3a
[ "MIT" ]
18
2021-01-27T09:50:49.000Z
2022-03-17T19:03:43.000Z
learning/gym-loco/gym_loco/__init__.py
N500/D3D12Renderer
7a0d247564800a0e09f02c37e6e26c557723fe3a
[ "MIT" ]
1
2021-04-18T10:38:36.000Z
2021-04-18T10:38:36.000Z
learning/gym-loco/gym_loco/__init__.py
N500/D3D12Renderer
7a0d247564800a0e09f02c37e6e26c557723fe3a
[ "MIT" ]
2
2022-01-09T13:16:09.000Z
2022-01-12T18:52:31.000Z
from gym.envs.registration import register register( id='loco-v0', entry_point='gym_loco.envs:LocoEnv', )
19
42
0.72807
16
114
5.0625
0.75
0
0
0
0
0
0
0
0
0
0
0.010204
0.140351
114
6
43
19
0.816327
0
0
0
0
0
0.243478
0.182609
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3f9a7ef05209cfb2756f3f2089d4cb05883e83ef
27,272
py
Python
tests/tests.py
testflows/TestFlows-Asserts
585862b7339796a1047532b73d651df6669955aa
[ "Apache-2.0" ]
null
null
null
tests/tests.py
testflows/TestFlows-Asserts
585862b7339796a1047532b73d651df6669955aa
[ "Apache-2.0" ]
null
null
null
tests/tests.py
testflows/TestFlows-Asserts
585862b7339796a1047532b73d651df6669955aa
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Katteli Inc. # TestFlows.com Open-Source Software Testing Framework (http://testflows.com) # # 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/lice...
42.6125
137
0.48878
2,938
27,272
4.530973
0.081348
0.103666
0.065805
0.096004
0.816106
0.728816
0.644757
0.619441
0.561749
0.534856
0
0.010801
0.399091
27,272
639
138
42.679186
0.801501
0.031718
0
0.5
0
0
0.092764
0.021731
0
0
0
0
0.446097
1
0.016729
false
0.001859
0.013011
0.005576
0.048327
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
1
0
0
0
0
0
0
0
0
0
3
3f9c25fa664d9a39e78d31d32f828a7b232b37eb
821
py
Python
productimporter/utils/async_tasks.py
sharmautkarsh31/ETL
632048f2aef5210cb39ea4c485ecc073327a3231
[ "MIT" ]
null
null
null
productimporter/utils/async_tasks.py
sharmautkarsh31/ETL
632048f2aef5210cb39ea4c485ecc073327a3231
[ "MIT" ]
null
null
null
productimporter/utils/async_tasks.py
sharmautkarsh31/ETL
632048f2aef5210cb39ea4c485ecc073327a3231
[ "MIT" ]
null
null
null
import logging import pandas as pd from productimporter.products.models import Product from productimporter.utils.helpers import generate_lazy_objs logger = logging.getLogger(__name__) import celery from celery.task import task class BaseClassForTask(celery.Task): def on_failure(self, exc, task_id, args, kwarg...
29.321429
78
0.739342
117
821
5.008547
0.538462
0.035836
0.054608
0.064846
0.098976
0.098976
0
0
0
0
0
0.017544
0.16687
821
27
79
30.407407
0.839181
0.219245
0
0
1
0
0.055118
0
0
0
0
0
0
1
0.133333
false
0
0.4
0
0.6
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3fd6475fc0a553ff2e2d3eee736999f710aa8f20
710
py
Python
stable_nalu/layer/_abstract_recurrent_cell.py
wlm2019/Neural-Arithmetic-Units
f9de9d004bb2dc2ee28577cd1760d0a00c185836
[ "MIT" ]
147
2019-10-07T11:01:54.000Z
2021-11-16T02:51:18.000Z
stable_nalu/layer/_abstract_recurrent_cell.py
wlm2019/Neural-Arithmetic-Units
f9de9d004bb2dc2ee28577cd1760d0a00c185836
[ "MIT" ]
1
2019-12-03T12:40:21.000Z
2019-12-03T12:40:21.000Z
stable_nalu/layer/_abstract_recurrent_cell.py
wlm2019/Neural-Arithmetic-Units
f9de9d004bb2dc2ee28577cd1760d0a00c185836
[ "MIT" ]
19
2019-12-21T15:58:44.000Z
2021-09-03T08:32:38.000Z
import torch from ..abstract import ExtendedTorchModule class AbstractRecurrentCell(ExtendedTorchModule): def __init__(self, Op, input_size, hidden_size, writer=None, **kwargs): super().__init__('recurrent', writer=writer, **kwargs) self.input_size = input_size self.hidden_size = hidden_si...
32.272727
89
0.671831
91
710
4.934066
0.362637
0.155902
0.155902
0.126949
0.195991
0
0
0
0
0
0
0.005338
0.208451
710
21
90
33.809524
0.793594
0
0
0
0
0
0.053597
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.5625
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
3fe930673fb7f0a1022c0574430551e6192f2ff1
156,623
py
Python
voter_guide/models.py
PrinceRios2000/WeVoteServer
4d7d1ed7420d536eb320229a4233213f50ae1cda
[ "MIT" ]
null
null
null
voter_guide/models.py
PrinceRios2000/WeVoteServer
4d7d1ed7420d536eb320229a4233213f50ae1cda
[ "MIT" ]
null
null
null
voter_guide/models.py
PrinceRios2000/WeVoteServer
4d7d1ed7420d536eb320229a4233213f50ae1cda
[ "MIT" ]
null
null
null
# voter_guide/models.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- from datetime import datetime, timedelta from django.db import models from django.db.models import Q from election.models import ElectionManager, TIME_SPAN_LIST from exception.models import handle_exception, handle_record_not_found_e...
54.13861
120
0.624729
17,354
156,623
5.170047
0.062061
0.128509
0.09573
0.033437
0.816442
0.764737
0.703525
0.635916
0.578906
0.527524
0
0.019281
0.311544
156,623
2,892
121
54.157331
0.812794
0.083372
0
0.551768
0
0
0.116355
0.066156
0
0
0
0.001037
0
1
0.022156
false
0.001278
0.005539
0.001278
0.100128
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
3ff39dae4f5b889b43345638219076d8b4b7c967
1,509
py
Python
umlayer/gui/gui_utils.py
selforthis/umlayer
8679af2ec46d346bc1b4adbcb70e3ebc6a52604a
[ "MIT" ]
null
null
null
umlayer/gui/gui_utils.py
selforthis/umlayer
8679af2ec46d346bc1b4adbcb70e3ebc6a52604a
[ "MIT" ]
null
null
null
umlayer/gui/gui_utils.py
selforthis/umlayer
8679af2ec46d346bc1b4adbcb70e3ebc6a52604a
[ "MIT" ]
1
2021-11-28T17:26:00.000Z
2021-11-28T17:26:00.000Z
import math from PySide6.QtCore import QPointF, QSizeF from . import Settings def snap(x: float) -> float: return math.floor(x / Settings.BLOCK_SIZE) * Settings.BLOCK_SIZE def snap_up(x: float) -> float: return math.ceil(x / Settings.BLOCK_SIZE) * Settings.BLOCK_SIZE def snap_round(x: float) -> float: ...
25.576271
69
0.62558
199
1,509
4.628141
0.266332
0.084691
0.110749
0.055375
0.325733
0.28013
0.28013
0.28013
0.28013
0.143322
0
0.010195
0.220013
1,509
58
70
26.017241
0.772302
0.149768
0
0.181818
0
0
0.011041
0
0
0
0
0
0
1
0.212121
false
0
0.090909
0.151515
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3ffa83f4cd6f7c0b8a793b08c5311a6292b74b5e
242
py
Python
netaddr/tests/ip/test_ip.py
Rockly/netaddr
9c3b71bf34f2132ced0e143d1a7f5efa706caf48
[ "BSD-3-Clause" ]
416
2015-01-02T18:23:32.000Z
2020-01-17T02:08:01.000Z
netaddr/tests/ip/test_ip.py
Rockly/netaddr
9c3b71bf34f2132ced0e143d1a7f5efa706caf48
[ "BSD-3-Clause" ]
110
2015-01-07T16:14:40.000Z
2020-01-08T08:14:11.000Z
netaddr/tests/ip/test_ip.py
Rockly/netaddr
9c3b71bf34f2132ced0e143d1a7f5efa706caf48
[ "BSD-3-Clause" ]
108
2015-02-25T09:47:31.000Z
2020-01-16T14:24:08.000Z
import weakref from netaddr import IPAddress, IPNetwork, IPRange def test_ip_classes_are_weak_referencable(): weakref.ref(IPAddress('10.0.0.1')) weakref.ref(IPNetwork('10.0.0.1/8')) weakref.ref(IPRange('10.0.0.1', '10.0.0.10'))
26.888889
49
0.710744
41
242
4.073171
0.463415
0.071856
0.095808
0.08982
0
0
0
0
0
0
0
0.102804
0.115702
242
8
50
30.25
0.67757
0
0
0
0
0
0.144628
0
0
0
0
0
0
1
0.166667
true
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
3ffcc6d58ca1442b12c0aa27706c48909a320599
13,469
py
Python
branches/old/python/ansi-C-generator/build_executables_basic.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
1
2018-01-05T16:13:08.000Z
2018-01-05T16:13:08.000Z
branches/old/python/ansi-C-generator/build_executables_basic.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
null
null
null
branches/old/python/ansi-C-generator/build_executables_basic.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
null
null
null
import fileinput import string import sys import os c_compiler = 'icc' c_link_flags = '-O1 -xT -march=core2 -mtune=core2 -align' c_opt_flags = '-O3 -xT -march=core2 -mtune=core2 -align -funroll-loops -prefetch -ssp' #c_compiler = 'gcc' #c_link_flags = '-O1 -march=pentium4 -mtune=pentium4 ' #c_opt_flags = '-O3 -march=p...
50.445693
123
0.571535
1,905
13,469
3.853543
0.119685
0.194796
0.288108
0.28334
0.675249
0.613677
0.515597
0.444354
0.399264
0.35867
0
0.048826
0.238177
13,469
266
124
50.635338
0.666602
0.216349
0
0.145161
0
0.010753
0.424612
0.070483
0
0
0
0
0
0
null
null
0
0.021505
null
null
0.026882
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
b75aa6553f08bac65c6d1e86de7d5dd87b4df5be
586
py
Python
cvmodels/models/__init__.py
welkin-feng/ComputerVision
667488e41878d7f0376142a7ae9e1b43c0edd68a
[ "MIT" ]
3
2020-04-10T08:25:29.000Z
2021-01-22T08:27:48.000Z
cvmodels/models/__init__.py
welkin-feng/ComputerVision
667488e41878d7f0376142a7ae9e1b43c0edd68a
[ "MIT" ]
null
null
null
cvmodels/models/__init__.py
welkin-feng/ComputerVision
667488e41878d7f0376142a7ae9e1b43c0edd68a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Project Name: ComputerVision File Name: __init__.py.py """ __author__ = 'Welkin' __date__ = '2019/6/21 08:34' from .util_modules import * from .alexnet import * from .inception_v1 import * from .vgg import * from .mobilenet_v1 import * from .resnet import * fr...
18.3125
51
0.709898
80
586
4.9625
0.575
0.327456
0.09068
0
0
0
0
0
0
0
0
0.03681
0.165529
586
31
52
18.903226
0.775051
0.175768
0
0
0
0
0.044492
0
0
0
0
0
0
1
0.055556
false
0
0.777778
0.055556
0.888889
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b76c5620bdc67a04426d544a0b9063f7d60700ff
26,886
py
Python
data/raw/sub24.py
Amyunimus/catatt
94c022007d4f8246d7da56148b1ef78d0679d11d
[ "MIT" ]
null
null
null
data/raw/sub24.py
Amyunimus/catatt
94c022007d4f8246d7da56148b1ef78d0679d11d
[ "MIT" ]
null
null
null
data/raw/sub24.py
Amyunimus/catatt
94c022007d4f8246d7da56148b1ef78d0679d11d
[ "MIT" ]
null
null
null
Welcome to PsychoPy2! v1.83.04 () ################ Running: F:\users\emiwar\edited_new\catAtt1.py ################ COM1 Serial<id=0x54bc810, open=True>(port='COM1', baudrate=115200, bytesize=8, parity='N', stopbits=1, timeout=2.5, xonxoff=False, rtscts=False, dsrdtr=False) 492 1 False [('b', 1.0400176299970383)]...
27.102823
154
0.681581
3,496
26,886
5.241419
0.293764
0.025104
0.017955
0
0
0
0
0
0
0
0
0.485683
0.147884
26,886
991
155
27.130172
0.314142
0.001711
0
0
0
0
0.023823
0
0
0
0.000349
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
b7b54265468f56a4ecc6ac1545ccc6ebbd296d66
1,632
py
Python
cli/commands/run/helpers/migration.py
oleoneto/django-clite
6df3051fe42af6e9385a11df1b20ebd46be69dd9
[ "BSD-3-Clause" ]
22
2019-08-18T21:22:41.000Z
2022-01-18T03:51:34.000Z
cli/commands/run/helpers/migration.py
oleoneto/django-clite
6df3051fe42af6e9385a11df1b20ebd46be69dd9
[ "BSD-3-Clause" ]
30
2019-11-11T12:54:35.000Z
2022-01-18T01:07:21.000Z
cli/commands/run/helpers/migration.py
oleoneto/django-clite
6df3051fe42af6e9385a11df1b20ebd46be69dd9
[ "BSD-3-Clause" ]
null
null
null
import os import subprocess from .runner import RunnerHelper from cli.helpers.logger import log_error class MigrationHelper(RunnerHelper): @classmethod def make_migrations(cls, path, app, options): os.chdir(path) try: management = os.path.join(path, 'manage.py') comma...
32
64
0.583333
178
1,632
5.314607
0.337079
0.051797
0.073996
0.053911
0.770613
0.638478
0.638478
0.638478
0.638478
0.638478
0
0.001832
0.330882
1,632
50
65
32.64
0.864469
0.172181
0
0.542857
0
0
0.039493
0
0
0
0
0.02
0
1
0.085714
false
0.057143
0.114286
0
0.228571
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
3
b7bef54c4a4a510dc5a1dbc7a3d57d5233ed8a89
711
py
Python
pyfirmata/boards.py
Robots-Linti/pyFirmata
9013d1e6a1a844f81cf87782fd6f6f87e9a78bac
[ "MIT" ]
null
null
null
pyfirmata/boards.py
Robots-Linti/pyFirmata
9013d1e6a1a844f81cf87782fd6f6f87e9a78bac
[ "MIT" ]
null
null
null
pyfirmata/boards.py
Robots-Linti/pyFirmata
9013d1e6a1a844f81cf87782fd6f6f87e9a78bac
[ "MIT" ]
null
null
null
BOARDS = { 'arduino' : { 'digital' : tuple(x for x in range(14)), 'analog' : tuple(x for x in range(6)), 'pwm' : (3, 5, 6, 9, 10, 11), 'use_ports' : True, 'disabled' : (0, 1) # Rx, Tx, Crystal }, 'arduino_mega' : { 'digital' : tuple(x for x in range(54)), ...
29.625
48
0.447257
100
711
3.14
0.35
0.133758
0.200637
0.22293
0.783439
0.783439
0.659236
0.210191
0.210191
0
0
0.072848
0.362869
711
23
49
30.913043
0.620309
0.043601
0
0.217391
0
0
0.186115
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b7c6f5173e525497554301dffa7092ac6d5e452b
100
py
Python
main.py
eduardosm7/python-piano
3ce2537d31690e290462fc08417d53b6480a35fc
[ "MIT" ]
null
null
null
main.py
eduardosm7/python-piano
3ce2537d31690e290462fc08417d53b6480a35fc
[ "MIT" ]
null
null
null
main.py
eduardosm7/python-piano
3ce2537d31690e290462fc08417d53b6480a35fc
[ "MIT" ]
null
null
null
from piano import Piano def main(): Piano.start() if __name__ == "__main__": main()
10
26
0.59
12
100
4.25
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.28
100
9
27
11.111111
0.708333
0
0
0
0
0
0.08
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b7e0a57a51abe04dd204f050e442a83970474858
111
py
Python
src/__init__.py
alex-d-bondarev/vonage-sandbox
26e604a2dfd300bc80e202552ac4c55e29ee8397
[ "MIT" ]
null
null
null
src/__init__.py
alex-d-bondarev/vonage-sandbox
26e604a2dfd300bc80e202552ac4c55e29ee8397
[ "MIT" ]
null
null
null
src/__init__.py
alex-d-bondarev/vonage-sandbox
26e604a2dfd300bc80e202552ac4c55e29ee8397
[ "MIT" ]
null
null
null
from logging.config import fileConfig from flask import Flask app = Flask(__name__) fileConfig("logging.cfg")
18.5
37
0.801802
15
111
5.666667
0.6
0
0
0
0
0
0
0
0
0
0
0
0.117117
111
6
38
18.5
0.867347
0
0
0
0
0
0.098214
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
b7efa104fcda05fbac7eb629dc86a18fa30a685c
982
py
Python
meeko/__init__.py
diogomart/Meeko
8af7466fd45a5d5de00a2d188ee3d4531b8372a5
[ "Apache-2.0" ]
4
2021-08-04T07:25:48.000Z
2021-09-22T09:57:35.000Z
meeko/__init__.py
diogomart/Meeko
8af7466fd45a5d5de00a2d188ee3d4531b8372a5
[ "Apache-2.0" ]
4
2021-08-16T19:05:19.000Z
2021-10-04T22:21:35.000Z
meeko/__init__.py
diogomart/Meeko
8af7466fd45a5d5de00a2d188ee3d4531b8372a5
[ "Apache-2.0" ]
2
2021-09-18T12:10:12.000Z
2021-09-22T06:13:02.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Meeko # try: import openbabel except ImportError: _has_openbabel = False else: _has_openbabel = True from .preparation import MoleculePreparation from .setup import RDKitMoleculeSetup from .utils import rdkitutils from .utils import pdbutils from .utils i...
28.882353
78
0.709776
91
982
7.483516
0.406593
0.052863
0.088106
0.161527
0.361233
0.361233
0.361233
0.361233
0.361233
0.361233
0
0.001256
0.189409
982
33
79
29.757576
0.854271
0.04888
0
0.32
0
0
0.258342
0
0
0
0
0
0
1
0
false
0
0.52
0
0.52
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4d0e37d80b6edefaaa09b487f976838485401f24
464
py
Python
textproto.py
google-research-datasets/WikipediaAbbreviationData
23f8094f1964e5647cc62a302e033fb446b5be70
[ "Apache-2.0" ]
3
2021-12-13T22:38:14.000Z
2022-01-25T06:24:56.000Z
textproto.py
google-research-datasets/WikipediaAbbreviationData
23f8094f1964e5647cc62a302e033fb446b5be70
[ "Apache-2.0" ]
null
null
null
textproto.py
google-research-datasets/WikipediaAbbreviationData
23f8094f1964e5647cc62a302e033fb446b5be70
[ "Apache-2.0" ]
null
null
null
"""Utility methods for textproto IO.""" import logging from typing import TextIO from google.protobuf import text_format # type: ignore import abbreviation_pb2 def read_corpus(source: TextIO) -> abbreviation_pb2.AbbreviationCorpus: """Reads corpus textproto from file handle.""" corpus = abbreviation_pb2....
25.777778
71
0.760776
55
464
6.309091
0.581818
0.129683
0.190202
0
0
0
0
0
0
0
0
0.007595
0.148707
464
17
72
27.294118
0.870886
0.189655
0
0
0
0
0.046575
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4d2739445a30cddb1e19636d8364cf293c416147
603
py
Python
tests/inputs/numpy-lib/outputs/45-np_ndims-store.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
4
2019-10-06T18:01:24.000Z
2020-07-03T05:27:35.000Z
tests/inputs/numpy-lib/outputs/45-np_ndims-store.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
5
2021-06-07T15:50:04.000Z
2021-06-07T15:50:06.000Z
tests/inputs/numpy-lib/outputs/45-np_ndims-store.py
helq/pytropos
497ed5902e6e4912249ca0a46b477f9bfa6ae80a
[ "MIT" ]
null
null
null
import pytropos.internals.values as pv from pytropos.internals.values.builtin_values import * from pytropos.internals.values.python_values.builtin_mutvalues import * from pytropos.internals.values.python_values.wrappers import * from pytropos.internals.values.python_values.python_values import PythonValue, PT from pytr...
33.5
81
0.751244
86
603
5.186047
0.372093
0.067265
0.257848
0.242152
0.43722
0.43722
0.302691
0
0
0
0
0.012891
0.099502
603
17
82
35.470588
0.808471
0
0
0
0
0
0.026534
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4d4e6fecea26c02c69a60e06a04223a59ce7b42a
1,674
py
Python
tests/unit/test_analysis_utils.py
CodeForAfrica/mma-dexter
10d7f0c51bb935399c708a432699e06418049a33
[ "Apache-2.0" ]
12
2015-06-14T05:50:39.000Z
2021-09-12T17:03:47.000Z
tests/unit/test_analysis_utils.py
CodeForAfrica/mma-dexter
10d7f0c51bb935399c708a432699e06418049a33
[ "Apache-2.0" ]
32
2019-07-25T06:17:31.000Z
2019-08-05T02:41:42.000Z
tests/unit/test_analysis_utils.py
CodeForAfricaLabs/mma-dexter
10d7f0c51bb935399c708a432699e06418049a33
[ "Apache-2.0" ]
9
2016-04-04T03:08:22.000Z
2020-02-19T09:55:45.000Z
import unittest from dexter.analysis.utils import calculate_entropy class TestUser(unittest.TestCase): def test_entropy_none(self): table = {} self.assertEqual( calculate_entropy(table), {}) def test_entropy_all_zeros(self): table = { 'The S...
25.753846
62
0.410394
141
1,674
4.794326
0.347518
0.217456
0.227811
0.170118
0.325444
0.269231
0.269231
0
0
0
0
0.058178
0.455795
1,674
64
63
26.15625
0.683864
0
0
0.178571
0
0
0.087216
0
0
0
0
0
0.142857
1
0.053571
false
0
0.035714
0
0.107143
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
4d610dac3bbc365635ccd43fdd2c5098638cdfd7
174
py
Python
project_name/settings/development.py
tinnguyen18920/django-project-template
57560d39829fd6cf3d68d5c1f145bda71235e0fb
[ "Unlicense" ]
1
2021-05-21T10:48:03.000Z
2021-05-21T10:48:03.000Z
project_name/settings/development.py
tinnguyen18920/django-project-template
57560d39829fd6cf3d68d5c1f145bda71235e0fb
[ "Unlicense" ]
null
null
null
project_name/settings/development.py
tinnguyen18920/django-project-template
57560d39829fd6cf3d68d5c1f145bda71235e0fb
[ "Unlicense" ]
null
null
null
from {{ project_name }}.settings.base import * SECRET_KEY = "123456" DEBUG = True ALLOWED_HOSTS = ['*'] DATABASES = { 'default': env.db(default='sqlite:///db.sqlite3') }
21.75
53
0.66092
21
174
5.333333
0.904762
0
0
0
0
0
0
0
0
0
0
0.04698
0.143678
174
8
54
21.75
0.704698
0
0
0
0
0
0.194286
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
4d656477c90cf93de98d9973a97bb20e4d4c081e
164
py
Python
cap-2/13-with-as.py
igoradriano/manipulacao-dados-python-bd
e3e47f15529d98e5c5887ebbb93c48924fceb665
[ "MIT" ]
null
null
null
cap-2/13-with-as.py
igoradriano/manipulacao-dados-python-bd
e3e47f15529d98e5c5887ebbb93c48924fceb665
[ "MIT" ]
null
null
null
cap-2/13-with-as.py
igoradriano/manipulacao-dados-python-bd
e3e47f15529d98e5c5887ebbb93c48924fceb665
[ "MIT" ]
null
null
null
print("Iterando sobre o arquivo") with open("dados.txt", "r") as arquivo: for linha in arquivo: print(linha) print("Fim do arquivo", arquivo.name)
23.428571
41
0.652439
24
164
4.458333
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.213415
164
6
42
27.333333
0.829457
0
0
0
0
0
0.292683
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
4d858d6dd50dd90cbda5a3d07088b8c691c1813d
20,091
py
Python
pysnmp-with-texts/CXCFG-IPX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CXCFG-IPX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CXCFG-IPX-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CXCFG-IPX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CXCFG-IPX-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:32:22 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 201...
202.939394
1,281
0.78672
2,568
20,091
6.154984
0.15771
0.039479
0.069088
0.006833
0.531444
0.389536
0.368215
0.348539
0.329495
0.325193
0
0.047651
0.105868
20,091
98
1,282
205.010204
0.83222
0.015928
0
0
0
0.266667
0.464427
0.006173
0
0
0.001113
0
0
1
0
false
0
0.077778
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4dd0d051218bdf474b3a9928052be6045fbbddb4
659
py
Python
backend/flashcards/migrations/0002_auto_20211016_0440.py
jimsu2012/flashcards
acd4a1c9389bbb104726c6e8ef1c3f8611990ec1
[ "MIT" ]
null
null
null
backend/flashcards/migrations/0002_auto_20211016_0440.py
jimsu2012/flashcards
acd4a1c9389bbb104726c6e8ef1c3f8611990ec1
[ "MIT" ]
null
null
null
backend/flashcards/migrations/0002_auto_20211016_0440.py
jimsu2012/flashcards
acd4a1c9389bbb104726c6e8ef1c3f8611990ec1
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-16 04:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('flashcards', '0001_initial'), ] operations = [ migrations.AlterField( model_name='flashcard', name='definition', ...
22.724138
47
0.54173
58
659
6.068966
0.586207
0.170455
0.213068
0.247159
0.471591
0.471591
0.352273
0.352273
0.352273
0
0
0.043779
0.341426
659
28
48
23.535714
0.767281
0.068285
0
0.545455
1
0
0.117647
0
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4dd90021d9ce1246f4da06662308d2483759cb97
167
py
Python
app/core/exceptions.py
pirica/PT-NEWS_EXTRACTOR
be2de7c3e002bc0c1cdc82991271fa1dd96119c9
[ "BSD-3-Clause" ]
7
2020-08-06T11:41:49.000Z
2021-05-04T17:36:38.000Z
app/core/exceptions.py
spamz23/PT-NEWS_EXTRACTOR
60ba82e8416099f0b0a0f8f94469bc4b39f28237
[ "BSD-3-Clause" ]
78
2020-09-21T10:14:17.000Z
2021-10-12T00:05:21.000Z
app/core/exceptions.py
pirica/PT-NEWS_EXTRACTOR
be2de7c3e002bc0c1cdc82991271fa1dd96119c9
[ "BSD-3-Clause" ]
2
2021-01-15T22:18:15.000Z
2021-02-11T02:56:03.000Z
""" Contains custom core exceptions """ class UnsupportedNews(Exception): """ Custom exception for raising when a news type is unsupported """ pass
13.916667
64
0.670659
18
167
6.222222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.239521
167
11
65
15.181818
0.88189
0.550898
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
1508a3f8f4903a0ef6f7f55b3c4929fc64e7fbca
68
py
Python
Euler/__init__.py
smehan/py-scratch
2a1112d5e4b4b7990e44a005f57f2027fb028f73
[ "Apache-2.0" ]
null
null
null
Euler/__init__.py
smehan/py-scratch
2a1112d5e4b4b7990e44a005f57f2027fb028f73
[ "Apache-2.0" ]
null
null
null
Euler/__init__.py
smehan/py-scratch
2a1112d5e4b4b7990e44a005f57f2027fb028f73
[ "Apache-2.0" ]
null
null
null
__author__ = 'shawnmehan' from E7 import * from GetPrimes import *
13.6
25
0.75
8
68
5.875
0.75
0
0
0
0
0
0
0
0
0
0
0.017857
0.176471
68
4
26
17
0.821429
0
0
0
0
0
0.147059
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
150d6fdc73447fd4e2ffc03163f7cc0a1bc799a0
1,102
py
Python
DaisyXMusic/modules/voice_chat_ended.py
ArshCypherZ/DaisyXMusic
67bc03ee9acf272f2b5957caed2d7a898b778710
[ "MIT" ]
1
2022-02-10T08:57:58.000Z
2022-02-10T08:57:58.000Z
DaisyXMusic/modules/voice_chat_ended.py
Awesome-Prince/ShinobiVC
67bc03ee9acf272f2b5957caed2d7a898b778710
[ "MIT" ]
null
null
null
DaisyXMusic/modules/voice_chat_ended.py
Awesome-Prince/ShinobiVC
67bc03ee9acf272f2b5957caed2d7a898b778710
[ "MIT" ]
2
2021-11-08T12:04:32.000Z
2022-01-26T16:01:42.000Z
# Daisyxmusic (Telegram bot project ) # Copyright (C) 2021 Inukaasith # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later ve...
36.733333
74
0.774047
164
1,102
5.140244
0.597561
0.039146
0.042705
0.067616
0.118624
0.118624
0.080664
0
0
0
0
0.005453
0.167877
1,102
29
75
38
0.91385
0.633394
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.1
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
128576137031e4dffdf81e3fbeaf58296118fcfc
259
py
Python
setup.py
simonrichard/csv-bsplit
28b1ad20c9e7351dcec4932f055fe24a9839cc6c
[ "MIT" ]
null
null
null
setup.py
simonrichard/csv-bsplit
28b1ad20c9e7351dcec4932f055fe24a9839cc6c
[ "MIT" ]
5
2016-11-28T07:28:11.000Z
2016-11-28T18:44:45.000Z
setup.py
simonrichard/csv-bsplit
28b1ad20c9e7351dcec4932f055fe24a9839cc6c
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="csv-bsplit", version="0.2.0", py_modules=["csv_bsplit"], install_requires=["humanfriendly"], entry_points={ "console_scripts": [ "csv-bsplit=csv_bsplit:main" ] } )
18.5
40
0.586873
28
259
5.214286
0.714286
0.246575
0
0
0
0
0
0
0
0
0
0.015789
0.266409
259
13
41
19.923077
0.752632
0
0
0
0
0
0.305019
0.100386
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
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
1
0
0
0
0
0
0
3
12942d71cd0a42875565fda54419143dd521627c
180
py
Python
Curso_Gustavo_Guanabara/Exercicio007.py
Nathan120/Arq_Python_CursoEmVideo
d6269eeaa8db57d1ffa8ed66e1936a061803f37e
[ "MIT" ]
null
null
null
Curso_Gustavo_Guanabara/Exercicio007.py
Nathan120/Arq_Python_CursoEmVideo
d6269eeaa8db57d1ffa8ed66e1936a061803f37e
[ "MIT" ]
null
null
null
Curso_Gustavo_Guanabara/Exercicio007.py
Nathan120/Arq_Python_CursoEmVideo
d6269eeaa8db57d1ffa8ed66e1936a061803f37e
[ "MIT" ]
null
null
null
nota1 = float(input('Digite a nota da 1ª avaliação= ')) nota2 = float(input('Digite a nota da 2ª avaliaçao= ')) media = (nota1+nota2)/2 print('A sua média é {:.2f}'.format(media))
36
55
0.677778
30
180
4.066667
0.666667
0.163934
0.262295
0.278689
0.377049
0.377049
0
0
0
0
0
0.051948
0.144444
180
5
56
36
0.74026
0
0
0
0
0
0.453039
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
129e5d5a830965e3a5a8e756f01c46671dc47c1e
7,216
py
Python
cesium/tests/test_time_series.py
acrellin/cesium
9d33edc0f9b3a79c68070826c0f390896abe294d
[ "BSD-3-Clause" ]
603
2016-04-15T00:11:07.000Z
2022-03-18T09:10:39.000Z
cesium/tests/test_time_series.py
acrellin/cesium
9d33edc0f9b3a79c68070826c0f390896abe294d
[ "BSD-3-Clause" ]
146
2016-03-17T19:58:24.000Z
2022-02-05T20:36:03.000Z
cesium/tests/test_time_series.py
acrellin/cesium
9d33edc0f9b3a79c68070826c0f390896abe294d
[ "BSD-3-Clause" ]
84
2016-04-13T23:30:58.000Z
2022-03-18T07:34:09.000Z
import os from uuid import uuid4 import numpy.testing as npt import numpy as np from cesium import time_series from cesium.time_series import TimeSeries def sample_time_series(size=51, channels=1): times = np.array([np.sort(np.random.random(size)) for i in range(channels)]).squeeze() val...
36.816327
77
0.594096
1,215
7,216
3.387654
0.076543
0.065598
0.099125
0.056122
0.800292
0.758989
0.703596
0.633868
0.571186
0.555151
0
0.026789
0.244734
7,216
195
78
37.005128
0.72844
0
0
0.571429
0
0
0.001663
0
0
0
0
0
0.385093
1
0.062112
false
0
0.037267
0
0.10559
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
12ad73e952d97c0c7d59a5a2f845fc8ffed7863f
201
py
Python
reverse_file_lines.py
Chaytali/Python
a5dbb537078747283850e69637d2994b267f0a3c
[ "bzip2-1.0.6" ]
null
null
null
reverse_file_lines.py
Chaytali/Python
a5dbb537078747283850e69637d2994b267f0a3c
[ "bzip2-1.0.6" ]
null
null
null
reverse_file_lines.py
Chaytali/Python
a5dbb537078747283850e69637d2994b267f0a3c
[ "bzip2-1.0.6" ]
null
null
null
def reverse(): f=open("b.txt") for line in f: words = line.split() sentence_rev = " ".join(reversed(words)) print sentence_rev if(__name__=='__main__'): reverse()
18.272727
48
0.567164
25
201
4.16
0.76
0.211538
0
0
0
0
0
0
0
0
0
0
0.278607
201
10
49
20.1
0.717241
0
0
0
0
0
0.069652
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
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
1
0
0
0
0
0
0
0
0
3
12ce2a01f2f44365d79bae12db4a1013fbb26409
59
py
Python
python/testData/performance/overloads/mainUnqualified.py
06needhamt/intellij-community
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
[ "Apache-2.0" ]
null
null
null
python/testData/performance/overloads/mainUnqualified.py
06needhamt/intellij-community
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
[ "Apache-2.0" ]
null
null
null
python/testData/performance/overloads/mainUnqualified.py
06needhamt/intellij-community
63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b
[ "Apache-2.0" ]
null
null
null
from overloads import func expr = fu<caret>nc(999, 'foo')
14.75
30
0.711864
10
59
4.2
1
0
0
0
0
0
0
0
0
0
0
0.06
0.152542
59
3
31
19.666667
0.78
0
0
0
0
0
0.050847
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