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
45e5abbbfec147ed3e87c908305dea56797ae5b0
461
py
Python
setup.py
AwsLambdaContinuousDelivery/AwsLambdaContinuousDeliveryCli
f924757bd51e6ebb3e7565166c617921cb73c9f6
[ "MIT" ]
null
null
null
setup.py
AwsLambdaContinuousDelivery/AwsLambdaContinuousDeliveryCli
f924757bd51e6ebb3e7565166c617921cb73c9f6
[ "MIT" ]
null
null
null
setup.py
AwsLambdaContinuousDelivery/AwsLambdaContinuousDeliveryCli
f924757bd51e6ebb3e7565166c617921cb73c9f6
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = "awslambdacicd-cli", version = "0.1.2", author = "Janos Potecki", license = "MIT", packages = [ "awslambdacontinuousdelivery.cli", "awslambdacontinuousdelivery.cli.templates.python" ], entry_points = { ...
27.117647
78
0.548807
33
461
7.484848
0.757576
0.364372
0
0
0
0
0
0
0
0
0
0.009967
0.347072
461
16
79
28.8125
0.810631
0
0
0
0
0
0.418655
0.26898
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
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
1
0
0
0
0
0
0
2
afd77d47937da5ad76e9e4fe3eba28dc639a3d40
3,587
py
Python
tools/WBDSP/UI_InputSignal.py
ptracton/wb_dsp
73586b10141952e26bbbfb2213b2ccaa1ddbcd39
[ "MIT" ]
null
null
null
tools/WBDSP/UI_InputSignal.py
ptracton/wb_dsp
73586b10141952e26bbbfb2213b2ccaa1ddbcd39
[ "MIT" ]
null
null
null
tools/WBDSP/UI_InputSignal.py
ptracton/wb_dsp
73586b10141952e26bbbfb2213b2ccaa1ddbcd39
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 from PyQt4 import QtGui import Signal class UI_InputSignal(QtGui.QDialog): """ """ def __init__(self, parent=None): super(UI_InputSignal, self).__init__(parent) vbox = QtGui.QVBoxLayout() label = QtGui.QLabel("Input Signal") vbox.addWidget(label) ...
39.417582
70
0.681628
328
3,587
7.42378
0.265244
0.106776
0.065708
0.015606
0
0
0
0
0
0
0
0.004954
0.212155
3,587
90
71
39.855556
0.856688
0.006133
0
0
0
0
0.051253
0
0
0
0
0
0
1
0.014286
false
0
0.028571
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
afd7c2fda2691bfb467438d74810d6aea8783977
1,790
py
Python
python/tests/test_stacks.py
daveeS987/data-structures-and-algorithms
e2fc060a558bdf8696331ddeaf317259a56e36a3
[ "MIT" ]
null
null
null
python/tests/test_stacks.py
daveeS987/data-structures-and-algorithms
e2fc060a558bdf8696331ddeaf317259a56e36a3
[ "MIT" ]
null
null
null
python/tests/test_stacks.py
daveeS987/data-structures-and-algorithms
e2fc060a558bdf8696331ddeaf317259a56e36a3
[ "MIT" ]
1
2021-04-06T02:03:31.000Z
2021-04-06T02:03:31.000Z
import pytest from stacks.stacks import Stack def test_Can_successfully_instantiate_an_empty_stack(): new_stack = Stack() actual = new_stack.top expected = None assert actual == expected def test_Can_successfully_push_onto_a_stack(): new_stack = Stack() new_stack.push("a") actual = new_...
22.375
72
0.694413
250
1,790
4.632
0.288
0.193437
0.08981
0.11399
0.494819
0.442142
0.38601
0.259067
0.126079
0.126079
0
0
0.192737
1,790
79
73
22.658228
0.801384
0.088827
0
0.428571
0
0
0.006378
0
0
0
0
0
0.142857
1
0.204082
false
0
0.040816
0
0.265306
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
0
0
0
0
1
afd810b8d49ea85961df9d02610ae8c6179f739e
1,941
py
Python
api_v1/api_generate_token.py
China-jp/leancloud-medical
18b3cdf6474cf8c667c546a898285318c92d2df9
[ "MIT" ]
null
null
null
api_v1/api_generate_token.py
China-jp/leancloud-medical
18b3cdf6474cf8c667c546a898285318c92d2df9
[ "MIT" ]
null
null
null
api_v1/api_generate_token.py
China-jp/leancloud-medical
18b3cdf6474cf8c667c546a898285318c92d2df9
[ "MIT" ]
null
null
null
# -*- coding: UTF-8 -*- from flask.ext.restful import abort from leancloud.errors import LeanCloudError from leancloud.query import Query from leancloud.user import User from handlers import request_validator from models.auth_token import AuthToken import datetime import uuid __author__ = 'Panmax' from flask import re...
35.944444
125
0.563112
192
1,941
5.552083
0.385417
0.061914
0.060038
0.035647
0.17636
0.129456
0.129456
0.129456
0.129456
0.129456
0
0.006988
0.336425
1,941
53
126
36.622642
0.820652
0.020093
0
0.229167
0
0
0.091101
0
0
0
0
0
0
0
null
null
0.0625
0.229167
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
0
0
1
0
0
1
0
0
0
0
0
2
afd967c3188fbb324693e3925d0624ce1f560347
1,044
py
Python
ichnaea/alembic/versions/cad2875fd8cb_extend_api_keys.py
crankycoder/ichnaea
fb54000e92c605843b7a41521e36fd648c11ae94
[ "Apache-2.0" ]
1
2018-01-18T16:02:43.000Z
2018-01-18T16:02:43.000Z
ichnaea/alembic/versions/cad2875fd8cb_extend_api_keys.py
crankycoder/ichnaea
fb54000e92c605843b7a41521e36fd648c11ae94
[ "Apache-2.0" ]
null
null
null
ichnaea/alembic/versions/cad2875fd8cb_extend_api_keys.py
crankycoder/ichnaea
fb54000e92c605843b7a41521e36fd648c11ae94
[ "Apache-2.0" ]
1
2018-01-19T17:56:48.000Z
2018-01-19T17:56:48.000Z
"""Extend api keys with sample_store columns. Revision ID: cad2875fd8cb Revises: 385f842b2526 Create Date: 2017-02-22 11:52:47.837989 """ import logging from alembic import op import sqlalchemy as sa log = logging.getLogger('alembic.migration') revision = 'cad2875fd8cb' down_revision = '385f842b2526' def upgrade...
24.27907
63
0.672414
137
1,044
4.919708
0.416058
0.146884
0.065282
0.089021
0.246291
0.246291
0.246291
0.246291
0.246291
0.246291
0
0.071253
0.220307
1,044
42
64
24.857143
0.756757
0.125479
0
0.357143
0
0
0.523179
0.143488
0
0
0
0
0
1
0.071429
false
0
0.107143
0
0.178571
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
0
0
0
0
1
0
afdbf4b87bacf33c9e03d4659cab0141ad61a3a5
1,870
py
Python
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/models/tracked_resource_modification_details_py3.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
1
2021-09-07T18:36:04.000Z
2021-09-07T18:36:04.000Z
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/models/tracked_resource_modification_details_py3.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
2
2019-10-02T23:37:38.000Z
2020-10-02T01:17:31.000Z
sdk/policyinsights/azure-mgmt-policyinsights/azure/mgmt/policyinsights/models/tracked_resource_modification_details_py3.py
tzhanl/azure-sdk-for-python
18cd03f4ab8fd76cc0498f03e80fbc99f217c96e
[ "MIT" ]
1
2019-06-17T22:18:23.000Z
2019-06-17T22:18:23.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
37.4
82
0.642781
200
1,870
5.88
0.485
0.055272
0.044218
0.071429
0.237245
0.201531
0.201531
0.201531
0.120748
0.120748
0
0.003305
0.190909
1,870
49
83
38.163265
0.773959
0.567914
0
0
0
0
0.259459
0
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.294118
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
0
0
0
0
1
0
afdccd4d644296589a91c7378dac649e2358df5a
11,059
py
Python
backUp/jd_jxz.py
ZelZhu/faker3
4d1f2aff532211da9f356119c9f8273c3d0796dd
[ "MIT" ]
68
2021-11-19T09:28:04.000Z
2022-03-25T07:06:01.000Z
backUp/jd_jxz.py
ZelZhu/faker3
4d1f2aff532211da9f356119c9f8273c3d0796dd
[ "MIT" ]
2
2022-03-09T12:26:22.000Z
2022-03-10T03:00:49.000Z
backUp/jd_jxz.py
ZelZhu/faker3
4d1f2aff532211da9f356119c9f8273c3d0796dd
[ "MIT" ]
83
2021-11-19T08:27:05.000Z
2022-03-23T07:32:01.000Z
#!/usr/bin/python3 # -*- coding: utf8 -*- """ cron: 30 9 * * * new Env('集勋章'); 活动入口:东东农场->东东乐园(点大风车)->集勋章 500豆 """ # 是否开启通知,Ture:发送通知,False:不发送 isNotice = True # UA 可自定义你的, 默认随机生成UA。 UserAgent = '' import asyncio import json import random import os, re, sys try: import requests except Exception as e: print(...
31.962428
353
0.559996
1,306
11,059
4.688361
0.239663
0.014699
0.009799
0.011759
0.44586
0.44586
0.430508
0.385922
0.385922
0.380532
0
0.042487
0.270006
11,059
345
354
32.055072
0.715967
0.072068
0
0.440816
0
0.032653
0.286089
0.139915
0
0
0
0
0
1
0.020408
false
0.008163
0.036735
0
0.122449
0.110204
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
0
0
0
0
1
0
afdcedd441d4f48bbd1a4d60e657e73de3e6409b
1,726
py
Python
SRTM/convert_hgt.py
iDigBio/guoda-datasets
abcba7b03b27e641cd96825dde64f2180a65d978
[ "MIT" ]
6
2016-06-24T09:47:22.000Z
2018-04-10T20:04:58.000Z
SRTM/convert_hgt.py
iDigBio/guoda-datasets
abcba7b03b27e641cd96825dde64f2180a65d978
[ "MIT" ]
14
2016-06-17T20:29:21.000Z
2019-06-13T13:17:21.000Z
SRTM/convert_hgt.py
iDigBio/guoda-datasets
abcba7b03b27e641cd96825dde64f2180a65d978
[ "MIT" ]
null
null
null
from __future__ import division, absolute_import, print_function import os import csv import re import sys import numpy as np import multiprocessing re_split = re.compile("([NS])(\d+)([EW])(\d+)") SAMPLES = 1201 def read_hgt_file(f): fname = os.path.split(f)[-1][:-4].upper() with open(f, "rb") as hgt_data: ...
25.382353
98
0.479722
219
1,726
3.634703
0.415525
0.050251
0.027638
0.037688
0.026382
0
0
0
0
0
0
0.047214
0.386443
1,726
67
99
25.761194
0.704438
0
0
0.075472
0
0
0.040556
0.012746
0
0
0
0
0
1
0.037736
false
0
0.132075
0
0.207547
0.09434
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
0
0
0
0
1
0
afe3dfd5642f95aed4d378dd2cc6de57d8567659
5,361
py
Python
rtsc_correlation.py
Bushell-lab/StructureFold2
bdeb7643e15aec92c5c56f6285bf7ed7f2dabe2c
[ "MIT" ]
13
2017-10-09T21:55:53.000Z
2021-12-13T03:07:38.000Z
rtsc_correlation.py
Bushell-lab/StructureFold2
bdeb7643e15aec92c5c56f6285bf7ed7f2dabe2c
[ "MIT" ]
4
2019-05-21T03:04:42.000Z
2020-11-07T05:19:52.000Z
rtsc_correlation.py
Bushell-lab/StructureFold2
bdeb7643e15aec92c5c56f6285bf7ed7f2dabe2c
[ "MIT" ]
9
2019-07-11T19:42:56.000Z
2020-01-30T17:01:39.000Z
#!/usr/bin/env python ''' Reformats <.rtsc> files such that correlation may be easily caluclated, either genome-wide or on a per transcript basis. Output is a <.csv>. You may filter output by using a coverage overlap. where you only want to get the correlation between transcripts mutually above a certain threshold. Yo...
40.613636
149
0.656594
744
5,361
4.584677
0.271505
0.015831
0.010554
0.006157
0.191733
0.181179
0.171211
0.147757
0.147757
0.126649
0
0.002145
0.21731
5,361
131
150
40.923664
0.810772
0.038799
0
0.133333
0
0
0.11426
0
0.011111
0
0
0
0
0
null
null
0
0.055556
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
afe45f4906350be6c265277d8a549116790aeb73
895
py
Python
iv/Leetcode/easy/530_min_absolute_diff_binary_search_tree.py
iamsuman/iv
bf68d3fd45455b6041e74b09272f69503bf7a8ac
[ "MIT" ]
2
2020-09-19T22:28:15.000Z
2020-10-03T01:44:53.000Z
iv/Leetcode/easy/530_min_absolute_diff_binary_search_tree.py
iamsuman/iv
bf68d3fd45455b6041e74b09272f69503bf7a8ac
[ "MIT" ]
null
null
null
iv/Leetcode/easy/530_min_absolute_diff_binary_search_tree.py
iamsuman/iv
bf68d3fd45455b6041e74b09272f69503bf7a8ac
[ "MIT" ]
1
2020-10-03T01:43:30.000Z
2020-10-03T01:43:30.000Z
class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class Solution: def getMinimumDifference(self, root: TreeNode) -> int: nodes = [] def traversal(root, nodes: list): if not root: ...
24.189189
58
0.532961
104
895
4.548077
0.336538
0.109937
0.07611
0
0
0
0
0
0
0
0
0.017422
0.358659
895
36
59
24.861111
0.80662
0.013408
0
0
0
0
0
0
0
0
0
0
0
1
0.107143
false
0
0
0
0.25
0.035714
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
0
0
0
0
1
0
afe5ca73833ae0ee033f6a28eef4827d929c8ec5
3,744
py
Python
test_random_bscs.py
lordofhyphens/cpp-pysim
ac7532ab781cffe447e7e50bd2cd3d80c619eb0e
[ "MIT" ]
null
null
null
test_random_bscs.py
lordofhyphens/cpp-pysim
ac7532ab781cffe447e7e50bd2cd3d80c619eb0e
[ "MIT" ]
null
null
null
test_random_bscs.py
lordofhyphens/cpp-pysim
ac7532ab781cffe447e7e50bd2cd3d80c619eb0e
[ "MIT" ]
null
null
null
from trojan import Trojan, parasite from cktnet import read_bench_file, write_bench_file, get_partitions from random_bsc_partition import repartition_ckt import copy import argparse import random import os.path as path try: import cPickle as pickle except ImportError: import pickle def randbits(seed=None): r...
52
138
0.673611
521
3,744
4.715931
0.28023
0.067155
0.076109
0.021978
0.336996
0.287342
0.247456
0.222222
0.222222
0.132682
0
0.006346
0.200321
3,744
71
139
52.732394
0.814295
0
0
0.107692
0
0
0.2289
0
0
0
0
0
0
0
null
null
0.030769
0.153846
null
null
0.030769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
afe5cfafb8008bc831b95a3a68e90c4bb129626a
2,964
py
Python
barbante/utils/tests/test_text.py
hypermindr/barbante
40056e9e4f4564461294b3a1d9afc855062350ac
[ "MIT" ]
10
2015-06-01T21:48:16.000Z
2021-08-20T20:18:48.000Z
barbante/utils/tests/test_text.py
hypermindr/barbante
40056e9e4f4564461294b3a1d9afc855062350ac
[ "MIT" ]
null
null
null
barbante/utils/tests/test_text.py
hypermindr/barbante
40056e9e4f4564461294b3a1d9afc855062350ac
[ "MIT" ]
2
2015-06-03T21:54:32.000Z
2015-11-24T23:13:05.000Z
""" Test module for barbante.text. """ import nose.tools import barbante.utils.text as text def test_calculate_tf_en(): """ Tests calculate_tf for English contents. """ language = "english" contents = "Cooks who don't love cooking don't cook well." results = text.calculate_tf(language, contents)...
36.146341
89
0.610999
366
2,964
4.789617
0.330601
0.056475
0.06275
0.071877
0.327439
0.284084
0.255562
0.131204
0.131204
0.131204
0
0.01731
0.239879
2,964
81
90
36.592593
0.760763
0.111673
0
0.115385
0
0
0.193972
0
0
0
0
0
0
1
0.115385
false
0
0.057692
0
0.173077
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
0
0
0
0
1
0
afe5dba68241cb5dd2453af805ca160811228622
3,365
py
Python
YouTubeDownloader/views.py
gabzin/django-ytdownloader
e59e728aeac459b73fd4fb9ca663560855af19fd
[ "MIT" ]
27
2021-11-18T22:01:26.000Z
2022-01-08T14:10:32.000Z
YouTubeDownloader/views.py
gabzin/django-ytdownloader
e59e728aeac459b73fd4fb9ca663560855af19fd
[ "MIT" ]
1
2021-11-21T13:28:00.000Z
2021-11-21T15:05:42.000Z
YouTubeDownloader/views.py
gabzin/django-ytdownloader
e59e728aeac459b73fd4fb9ca663560855af19fd
[ "MIT" ]
5
2021-11-20T07:16:54.000Z
2021-12-16T10:44:38.000Z
#Imports from django.http.response import HttpResponse from django.shortcuts import render from django.contrib import messages from .forms import DownloadForm from pytube import YouTube from math import pow, floor, log from datetime import timedelta from requests import get # Your YouTube V3 Api Key KEY = "" # Conver...
37.388889
142
0.581278
413
3,365
4.585956
0.37046
0.042239
0.019007
0.033791
0.248152
0.12038
0.12038
0.083421
0.083421
0.083421
0
0.01112
0.278455
3,365
90
143
37.388889
0.768946
0.067459
0
0.140845
0
0.014085
0.129393
0
0
0
0
0
0
1
0.042254
false
0
0.112676
0
0.239437
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
0
0
0
0
1
0
afe75e37643caa6a9af81c6d249b336b0e5aca17
45,429
py
Python
fhirzeug/fhirspec.py
skalarsystems/fhir-zeug
19973438823c41247e3efb5b1d35e8942ae01fdb
[ "Apache-2.0" ]
10
2020-04-23T18:13:13.000Z
2020-11-25T07:45:26.000Z
fhirzeug/fhirspec.py
skalarsystems/fhir-zeug
19973438823c41247e3efb5b1d35e8942ae01fdb
[ "Apache-2.0" ]
71
2020-05-20T09:11:22.000Z
2020-10-26T14:01:03.000Z
fhirzeug/fhirspec.py
skalarsystems/fhir-zeug
19973438823c41247e3efb5b1d35e8942ae01fdb
[ "Apache-2.0" ]
1
2020-06-03T11:55:47.000Z
2020-06-03T11:55:47.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import io import os import re import json import datetime from pathlib import Path import stringcase # type: ignore from typing import Any, Dict, List, Optional, Union, TYPE_CHECKING from .logger import logger from . import fhirclass if TYPE_CHECKING: from .generato...
36.964199
173
0.585133
5,104
45,429
5.063284
0.112265
0.014859
0.013234
0.011492
0.250938
0.175328
0.134311
0.097318
0.074527
0.046047
0
0.003476
0.328689
45,429
1,228
174
36.9943
0.843919
0.143323
0
0.192661
0
0.009174
0.105339
0.008263
0
0
0
0.003257
0.019495
1
0.079128
false
0.002294
0.013761
0.016055
0.183486
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
0
0
0
0
1
0
afeb8ca338393a94ffd02cdee2ec1716df4a8337
731
py
Python
hutils/tests.py
dreamplatform/haltu-utils
6308d032791b09e5a46bdb98cfc4d99c96da96d7
[ "BSD-3-Clause" ]
null
null
null
hutils/tests.py
dreamplatform/haltu-utils
6308d032791b09e5a46bdb98cfc4d99c96da96d7
[ "BSD-3-Clause" ]
null
null
null
hutils/tests.py
dreamplatform/haltu-utils
6308d032791b09e5a46bdb98cfc4d99c96da96d7
[ "BSD-3-Clause" ]
null
null
null
from django.test import TestCase from django.db import models from hutils.managers import QuerySetManager class TestModel(models.Model): i = models.IntegerField() objects = QuerySetManager() class QuerySet(models.query.QuerySet): def less_than(self, c): return self.filter(id__lt=c) class QuerySetM...
24.366667
74
0.740082
101
731
5.237624
0.534653
0.090737
0.064272
0.090737
0
0
0
0
0
0
0
0.00813
0.158687
731
29
75
25.206897
0.852033
0.093023
0
0
0
0
0
0
0
0
0
0.034483
0.117647
1
0.235294
false
0
0.176471
0.058824
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
afebe6f2ea49a4d54ad87a769c40e84344c8632a
109
py
Python
src/lookup_merge.py
alphanexustech/role-directory-proto
27b5bbf7a76022a97057263398c97f9462fd3fff
[ "MIT" ]
null
null
null
src/lookup_merge.py
alphanexustech/role-directory-proto
27b5bbf7a76022a97057263398c97f9462fd3fff
[ "MIT" ]
2
2022-03-24T15:21:38.000Z
2022-03-25T21:33:34.000Z
src/lookup_merge.py
alphanexustech/role-directory-proto
27b5bbf7a76022a97057263398c97f9462fd3fff
[ "MIT" ]
null
null
null
def merge_role_json(files): merged = {} for i in files: merged.update(i) return merged
13.625
27
0.59633
15
109
4.2
0.733333
0.349206
0
0
0
0
0
0
0
0
0
0
0.311927
109
7
28
15.571429
0.84
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
afecd187c7058a489009b41d8ff819203ecdac2f
1,868
py
Python
src/sims4communitylib/dialogs/_common_ui_dialog_text_input_ok_cancel.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
118
2019-08-31T04:33:18.000Z
2022-03-28T21:12:14.000Z
src/sims4communitylib/dialogs/_common_ui_dialog_text_input_ok_cancel.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
15
2019-12-05T01:29:46.000Z
2022-02-18T17:13:46.000Z
src/sims4communitylib/dialogs/_common_ui_dialog_text_input_ok_cancel.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
28
2019-09-07T04:11:05.000Z
2022-02-07T18:31:40.000Z
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ from typing import Tuple, Any, Callable from protocolbuffer...
36.627451
125
0.697002
212
1,868
5.886792
0.419811
0.100962
0.041667
0.014423
0.059295
0.059295
0.059295
0.059295
0.059295
0.059295
0
0.009504
0.211456
1,868
50
126
37.36
0.837746
0.181478
0
0.121212
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.363636
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
0
0
0
0
1
0
afee559bb9619fc76eddbb0de5034b9cc836e90b
1,923
py
Python
build_an_ai_startup_demo/app/views/main.py
bbueno5000/BuildAnAIStartUpDemo
f70371802a2546530c34b7f04e2b644cd1faec8a
[ "MIT" ]
null
null
null
build_an_ai_startup_demo/app/views/main.py
bbueno5000/BuildAnAIStartUpDemo
f70371802a2546530c34b7f04e2b644cd1faec8a
[ "MIT" ]
null
null
null
build_an_ai_startup_demo/app/views/main.py
bbueno5000/BuildAnAIStartUpDemo
f70371802a2546530c34b7f04e2b644cd1faec8a
[ "MIT" ]
null
null
null
""" DOCSTRING """ import app import flask import keras import numpy import os import random @app.app.route('/') #disease_list = [ # 'Atelectasis', # 'Consolidation', # 'Infiltration', # 'Pneumothorax', # 'Edema', # 'Emphysema', # 'Fibrosis', # 'Effusion', # 'Pneumonia', # 'Pleural_Thicke...
27.869565
86
0.658346
237
1,923
5.244726
0.421941
0.038616
0.061947
0.100563
0.138375
0.138375
0.083669
0.083669
0.083669
0
0
0.036318
0.169527
1,923
68
87
28.279412
0.742016
0.133645
0
0
0
0
0.101582
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.095238
0.428571
0.02381
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
0
0
0
0
1
0
aff0af697d2bc3a3686bb3de8766a23a8b175f26
437
py
Python
section4/summarychallenge.py
jgyy/python-masterclass
20b3dd49b2b2d3a9dccba0b0c52a261828c6cfd5
[ "Unlicense" ]
null
null
null
section4/summarychallenge.py
jgyy/python-masterclass
20b3dd49b2b2d3a9dccba0b0c52a261828c6cfd5
[ "Unlicense" ]
null
null
null
section4/summarychallenge.py
jgyy/python-masterclass
20b3dd49b2b2d3a9dccba0b0c52a261828c6cfd5
[ "Unlicense" ]
null
null
null
""" Challenge to choose options from lists """ CHOICE = "-" while CHOICE != "0": if CHOICE in "12345": print("You chose {}".format(CHOICE)) else: print("Please choose your option from the list below:") print("1:\tLearn Python") print("2:\tLearn Java") print("3:\tGo Swimmi...
24.277778
63
0.553776
55
437
4.4
0.690909
0
0
0
0
0
0
0
0
0
0
0.038217
0.281465
437
17
64
25.705882
0.732484
0.086957
0
0
0
0
0.373402
0
0
0
0
0
0
1
0
false
0
0
0
0
0.615385
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
0
0
0
1
0
1
aff5059c5098386517f47226d8e0e39141c4a8f9
3,001
py
Python
MGCosmoPop/posteriors/prior.py
nicoborghi/MGCosmoPop
ebf07744caed1ac6694e7c750c1147ac30442fe5
[ "BSD-3-Clause" ]
4
2022-01-31T02:00:30.000Z
2022-03-22T08:00:00.000Z
MGCosmoPop/posteriors/prior.py
nicoborghi/MGCosmoPop
ebf07744caed1ac6694e7c750c1147ac30442fe5
[ "BSD-3-Clause" ]
null
null
null
MGCosmoPop/posteriors/prior.py
nicoborghi/MGCosmoPop
ebf07744caed1ac6694e7c750c1147ac30442fe5
[ "BSD-3-Clause" ]
5
2021-12-13T03:33:48.000Z
2022-03-22T08:00:02.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Mar 4 11:31:43 2021 @author: Michi """ import numpy as np class Prior(object): ''' Class implementing the prior. At the moment it only supports disjoint priors. contains a method logPrior that returns the sum of log priors for each varia...
30.313131
94
0.539154
340
3,001
4.694118
0.367647
0.065789
0.047619
0.016291
0.076441
0.048872
0.048872
0.048872
0
0
0
0.020526
0.366878
3,001
99
95
30.313131
0.819474
0.373209
0
0.216216
0
0
0.011853
0
0
0
0
0
0
1
0.108108
false
0
0.027027
0
0.297297
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
0
0
0
0
1
0
aff87a478cf339ba0cf9786a79d5da65b9d037b5
682
py
Python
pid_discreto.py
lodaniel/teoria_de_controle
97d9350f1c5534e11bfc891f32ec604d6a7ace33
[ "Apache-2.0" ]
null
null
null
pid_discreto.py
lodaniel/teoria_de_controle
97d9350f1c5534e11bfc891f32ec604d6a7ace33
[ "Apache-2.0" ]
null
null
null
pid_discreto.py
lodaniel/teoria_de_controle
97d9350f1c5534e11bfc891f32ec604d6a7ace33
[ "Apache-2.0" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt tfinal = 10 T = 0.1 N = int(tfinal/T) t = np.linspace(0,tfinal,N) t[1] = T t[2] = 2*T y = np.linspace(0,tfinal,N) y[1] = 0 y[2] = 0 u = np.linspace(0,tfinal,N) u[1] = 0 u[2] = 0 r = np.linspace(0,tfinal,N) r[1] = 1 r[2] = 1 e = np.linspace(0,tfinal,N) e[1] = r[1] - y[1...
18.944444
51
0.526393
179
682
2.005587
0.22905
0.139276
0.153203
0.236769
0.278552
0
0
0
0
0
0
0.111314
0.196481
682
35
52
19.485714
0.543796
0
0
0
0
0
0.014663
0
0
0
0
0
0
1
0
false
0
0.057143
0
0.057143
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aff8c4003c708639ad7c4f72b3b09d1135fb4817
4,058
py
Python
mmhuman3d/core/visualization/renderer/torch3d_renderer/depth_renderer.py
ykk648/mmhuman3d
26af92bcf6abbe1855e1a8a48308621410f9c047
[ "Apache-2.0" ]
472
2021-12-03T03:12:55.000Z
2022-03-31T01:33:13.000Z
mmhuman3d/core/visualization/renderer/torch3d_renderer/depth_renderer.py
ykk648/mmhuman3d
26af92bcf6abbe1855e1a8a48308621410f9c047
[ "Apache-2.0" ]
127
2021-12-03T05:00:14.000Z
2022-03-31T13:47:33.000Z
mmhuman3d/core/visualization/renderer/torch3d_renderer/depth_renderer.py
ykk648/mmhuman3d
26af92bcf6abbe1855e1a8a48308621410f9c047
[ "Apache-2.0" ]
37
2021-12-03T03:23:22.000Z
2022-03-31T08:41:58.000Z
from typing import Iterable, Optional, Tuple, Union import torch from pytorch3d.structures import Meshes from mmhuman3d.core.cameras import MMCamerasBase from .base_renderer import BaseRenderer from .builder import RENDERER, build_shader from .utils import normalize @RENDERER.register_module( name=['Depth', 'de...
36.558559
79
0.575899
438
4,058
5.207763
0.260274
0.028058
0.036826
0.01929
0.170978
0.055239
0.055239
0.033319
0.033319
0
0
0.007034
0.334401
4,058
110
80
36.890909
0.837468
0.294973
0
0.065574
0
0
0.026892
0
0
0
0
0
0
1
0.065574
false
0
0.114754
0
0.262295
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
0
0
0
0
1
0
aff8e664de9e8a592be6d93982dd50a72c78e151
7,131
py
Python
bot.py
0xsmoos/PMD
049ef60f9a4c44b635fc4dc88c5096685d78b5b7
[ "MIT" ]
3
2021-04-22T17:00:05.000Z
2021-08-19T05:33:37.000Z
bot.py
0xsmoos/PMD
049ef60f9a4c44b635fc4dc88c5096685d78b5b7
[ "MIT" ]
4
2021-04-24T10:46:03.000Z
2022-01-06T14:36:00.000Z
bot.py
0xsmoos/PMD
049ef60f9a4c44b635fc4dc88c5096685d78b5b7
[ "MIT" ]
1
2021-05-06T17:12:52.000Z
2021-05-06T17:12:52.000Z
# -*- coding: utf-8 -*- # filename : bot.py # description : Discord bot interface for interacting with the server # author : LikeToAccess # email : liketoaccess@protonmail.com # date : 08-01-2021 # version : v2.0 # usage : python main.py # notes ...
29.345679
98
0.680409
944
7,131
5.020127
0.261653
0.026588
0.014349
0.015193
0.097489
0.088204
0.0498
0.034606
0.018569
0
0
0.02026
0.169401
7,131
242
99
29.466942
0.779841
0.160567
0
0.115607
0
0
0.172802
0.013111
0
0
0.001345
0
0
1
0.011561
false
0
0.057803
0.00578
0.075145
0.028902
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
0
0
0
0
1
0
aff947dc66ce74ed37d4f50fea9cb7f0759c0e8a
152
py
Python
python/testData/pyi/type/comparisonOperatorOverloads/lib.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/pyi/type/comparisonOperatorOverloads/lib.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/pyi/type/comparisonOperatorOverloads/lib.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
class MyClass: def __init__(self, *args): pass def __lt__(self, other): pass def __gt__(self, other): return True
15.2
30
0.559211
18
152
4.055556
0.666667
0.191781
0
0
0
0
0
0
0
0
0
0
0.348684
152
9
31
16.888889
0.737374
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.428571
false
0.285714
0
0.142857
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
1
0
1
0
1
0
0
0
5
affae23e9d7b59854ff8ab5e58706d9252734abf
12,277
py
Python
rq1and3_localness/happiness/compute_happiness.py
joh12041/chi-2016-localness
a7048015aac417217d23fccb5f49971922af6322
[ "MIT" ]
4
2016-11-06T21:55:51.000Z
2019-07-23T19:39:00.000Z
rq1and3_localness/happiness/compute_happiness.py
joh12041/chi-2016-localness
a7048015aac417217d23fccb5f49971922af6322
[ "MIT" ]
null
null
null
rq1and3_localness/happiness/compute_happiness.py
joh12041/chi-2016-localness
a7048015aac417217d23fccb5f49971922af6322
[ "MIT" ]
null
null
null
"""RQ3: Happiness algorithm as impacted by localness""" import csv import os import argparse import sys from collections import OrderedDict import numpy from scipy.stats import spearmanr from scipy.stats import wilcoxon sys.path.append("./utils") import bots LOCALNESS_METRICS = ['nday','plurality'] HAPPINESS_EVALU...
49.108
194
0.564144
1,394
12,277
4.753228
0.186514
0.045276
0.019016
0.024298
0.235738
0.193027
0.147751
0.095684
0.08693
0.08693
0
0.011243
0.333469
12,277
250
195
49.108
0.798485
0.116315
0
0.165854
0
0.004878
0.137538
0.015375
0
0
0
0
0.019512
1
0.019512
false
0
0.043902
0
0.068293
0.02439
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
0
0
0
0
1
0
affb5675ca38a4b1d3c3c74ee6838fd7720f8076
4,239
py
Python
rubix-stress/workload_runner.py
raunaqmorarka/presto-rubix
3149b6385f6685f5fe934551126b6593f59da9c8
[ "Apache-2.0" ]
162
2016-07-04T05:03:52.000Z
2022-03-29T03:31:59.000Z
rubix-stress/workload_runner.py
raunaqmorarka/presto-rubix
3149b6385f6685f5fe934551126b6593f59da9c8
[ "Apache-2.0" ]
381
2016-07-25T04:09:36.000Z
2022-02-11T11:39:27.000Z
rubix-stress/workload_runner.py
raunaqmorarka/presto-rubix
3149b6385f6685f5fe934551126b6593f59da9c8
[ "Apache-2.0" ]
64
2016-07-13T05:47:14.000Z
2022-03-10T09:03:35.000Z
import logging import random import time import threading from threading import Event from patched_commands import PrestoCommand class WorkloadRunner(threading.Thread): log = logging.getLogger(__name__) def __init__(self, exitEvent, silencePeriodEvent, tid, queries, cluster_label): threading.Thread...
39.616822
137
0.624912
510
4,239
5.094118
0.317647
0.080447
0.102386
0.046189
0.100077
0.030793
0.030793
0.021555
0
0
0
0.011195
0.283557
4,239
106
138
39.990566
0.844254
0.176457
0
0.135135
0
0
0.062482
0
0
0
0
0.009434
0
1
0.081081
false
0.013514
0.081081
0
0.216216
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
0
0
0
0
1
0
afff826c89cf84dbe2b809d9f7fa9ddb7ae851a3
86
py
Python
chainerltr/evaluation/__init__.py
rjagerman/chainerltr
1fdb6a0a304a465d27149011951a01a5e3de4bbc
[ "MIT" ]
1
2019-04-10T03:18:23.000Z
2019-04-10T03:18:23.000Z
chainerltr/evaluation/__init__.py
rjagerman/chainerltr
1fdb6a0a304a465d27149011951a01a5e3de4bbc
[ "MIT" ]
null
null
null
chainerltr/evaluation/__init__.py
rjagerman/chainerltr
1fdb6a0a304a465d27149011951a01a5e3de4bbc
[ "MIT" ]
null
null
null
from chainerltr.evaluation.ndcg import ndcg from chainerltr.evaluation.dcg import dcg
28.666667
43
0.860465
12
86
6.166667
0.5
0.378378
0.648649
0
0
0
0
0
0
0
0
0
0.093023
86
2
44
43
0.948718
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
7
afffc8cbd42fd63be0b6fa9742ef2ac0df2a388d
2,509
py
Python
avalanche/benchmarks/datasets/mini_imagenet/mini_imagenet_data.py
coreylowman/avalanche
9c1e7765f1577c400ec0c57260221bcffd9566a2
[ "MIT" ]
1
2021-09-15T13:57:27.000Z
2021-09-15T13:57:27.000Z
avalanche/benchmarks/datasets/mini_imagenet/mini_imagenet_data.py
coreylowman/avalanche
9c1e7765f1577c400ec0c57260221bcffd9566a2
[ "MIT" ]
null
null
null
avalanche/benchmarks/datasets/mini_imagenet/mini_imagenet_data.py
coreylowman/avalanche
9c1e7765f1577c400ec0c57260221bcffd9566a2
[ "MIT" ]
null
null
null
from typing import List, Tuple, Dict from avalanche.benchmarks.datasets.imagenet_data import ( IMAGENET_TORCHVISION_WNID_TO_IDX, IMAGENET_TORCHVISION_CLASSES, ) MINI_IMAGENET_WNIDS: List[str] = [ "n02110341", "n01930112", "n04509417", "n04067472", "n04515003", "n02120079", "n039246...
19.3
78
0.606218
214
2,509
6.859813
0.607477
0.098093
0.024523
0.03406
0.145777
0.024523
0
0
0
0
0
0.422386
0.245118
2,509
129
79
19.449612
0.352693
0
0
0
0
0
0.394978
0.028697
0
0
0
0
0
1
0
false
0
0.01626
0
0.01626
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b3016f8c0af4fa861d8eee4ecfb546c16c631c0a
465
py
Python
scripts/09.py
hstern2/pet-fish-eric
38cf51613d8a4256bc0c3248fb5c114b83307972
[ "MIT" ]
null
null
null
scripts/09.py
hstern2/pet-fish-eric
38cf51613d8a4256bc0c3248fb5c114b83307972
[ "MIT" ]
null
null
null
scripts/09.py
hstern2/pet-fish-eric
38cf51613d8a4256bc0c3248fb5c114b83307972
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ### while loops #a = 10 #while a <= 100000: # a *= 10 # print(a) #print('this is no longer in the loop because not indented') #a = 10 #while a > 0: # print(a) # if a == 5: # break # a -= 1 #a = 10 #while a > 0: # a -= 1 # if a % 2 == 0: # continue # skip if ...
14.090909
60
0.464516
78
465
2.769231
0.448718
0.055556
0.111111
0.125
0.092593
0
0
0
0
0
0
0.087248
0.35914
465
32
61
14.53125
0.637584
0.866667
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
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
2
b3025eca2b7a4625acad785a4ee0a16f48b01f83
126
py
Python
car/consumers.py
stefangeorg/town-car
81ca81eed8912911527c3cb6dc521d000482b0fd
[ "Apache-2.0" ]
null
null
null
car/consumers.py
stefangeorg/town-car
81ca81eed8912911527c3cb6dc521d000482b0fd
[ "Apache-2.0" ]
null
null
null
car/consumers.py
stefangeorg/town-car
81ca81eed8912911527c3cb6dc521d000482b0fd
[ "Apache-2.0" ]
null
null
null
def ws_message(message): message.reply_channel.send({ "text": "Just for fun %s" % message.content['text'], })
25.2
60
0.611111
16
126
4.6875
0.75
0.373333
0
0
0
0
0
0
0
0
0
0
0.214286
126
5
61
25.2
0.757576
0
0
0
0
0
0.181102
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
4
b303231d165ddfd087f7fd53fc036372e39d8b6b
1,991
py
Python
core/tests/test_trezor.crypto.rfc6979.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
null
null
null
core/tests/test_trezor.crypto.rfc6979.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
1
2019-02-08T00:22:42.000Z
2019-02-13T09:41:54.000Z
core/tests/test_trezor.crypto.rfc6979.py
Kayuii/trezor-crypto
6556616681a4e2d7e18817e8692d4f6e041dee01
[ "MIT" ]
2
2019-02-07T23:57:09.000Z
2020-10-21T07:07:27.000Z
from common import * from trezor.crypto import rfc6979 from trezor.crypto.hashlib import sha256 class TestCryptoRfc6979(unittest.TestCase): def test_vectors(self): vectors = [ ("c9afa9d845ba75166b5c215767b1d6934e50c3db36e89b127b8a622b120f6721", "sample", "a6e3c57dd...
48.560976
223
0.719237
120
1,991
11.858333
0.708333
0.014055
0.022488
0
0
0
0
0
0
0
0
0.392332
0.213963
1,991
40
224
49.775
0.516933
0
0
0.1875
0
0.03125
0.622803
0.450025
0
0
0
0
0.03125
1
0.03125
false
0
0.09375
0
0.15625
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
b30543d6bc96edaac43450d48578207ded1283f4
2,585
py
Python
src/commands/debug.py
mdabessa/discordbot
37f605c5218f55365d4a82914ba604f8c62266e3
[ "MIT" ]
5
2021-03-11T01:47:12.000Z
2022-01-18T05:33:18.000Z
src/commands/debug.py
mdabessa/discordbot
37f605c5218f55365d4a82914ba604f8c62266e3
[ "MIT" ]
null
null
null
src/commands/debug.py
mdabessa/discordbot
37f605c5218f55365d4a82914ba604f8c62266e3
[ "MIT" ]
null
null
null
import modules.database as db import modules.entity as entity category = 'Depuração' entity.Command.newcategory(category, 'Depuração',is_visible=False) async def exe(message, commandpar, bot): if commandpar != None: cont = commandpar.split() text = f'Executando: {cont[0]}' if le...
41.031746
191
0.677369
343
2,585
4.991254
0.28863
0.060748
0.058411
0.030374
0.442173
0.297897
0.238318
0.238318
0.143692
0.143692
0
0.003763
0.177563
2,585
62
192
41.693548
0.800564
0
0
0.272727
0
0
0.238298
0
0.022727
0
0
0
0
1
0
false
0
0.045455
0
0.045455
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
0
0
0
0
1
0
b30ec77ef09bdffed154fe1328bf919b56c53f19
2,877
py
Python
tests/test_amqp_transport.py
0x1EE7/tomodachi
8147b16d8be19b80b3bd7c5d8ed21c9863eaaa83
[ "MIT" ]
null
null
null
tests/test_amqp_transport.py
0x1EE7/tomodachi
8147b16d8be19b80b3bd7c5d8ed21c9863eaaa83
[ "MIT" ]
null
null
null
tests/test_amqp_transport.py
0x1EE7/tomodachi
8147b16d8be19b80b3bd7c5d8ed21c9863eaaa83
[ "MIT" ]
null
null
null
import os import signal import pytest from typing import Any from tomodachi.transport.amqp import AmqpTransport, AmqpException from run_test_service_helper import start_service def test_routing_key(monkeypatch: Any) -> None: routing_key = AmqpTransport.get_routing_key('test.topic', {}) assert routing_key == '...
42.308824
138
0.75113
323
2,877
6.427245
0.229102
0.105973
0.074181
0.100674
0.638728
0.638728
0.638728
0.638728
0.575145
0.575145
0
0.112306
0.127216
2,877
67
139
42.940299
0.714456
0
0
0.155556
0
0
0.295794
0.161627
0
0
0
0
0.311111
1
0.111111
false
0
0.133333
0
0.244444
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
0
0
0
0
1
0
b30f1e158c5e65ac948bbdec93ad290aa5c96a51
3,451
py
Python
enteletaor_lib/modules/redis/__init__.py
Seabreg/enteletaor
d1fbda5fcd68677fbce76e3ed4e79a886b8ad9db
[ "BSD-3-Clause" ]
159
2016-03-05T09:57:19.000Z
2022-02-20T02:45:03.000Z
enteletaor_lib/modules/redis/__init__.py
Seabreg/enteletaor
d1fbda5fcd68677fbce76e3ed4e79a886b8ad9db
[ "BSD-3-Clause" ]
8
2016-03-06T13:02:45.000Z
2020-06-12T08:19:16.000Z
enteletaor_lib/modules/redis/__init__.py
Seabreg/enteletaor
d1fbda5fcd68677fbce76e3ed4e79a886b8ad9db
[ "BSD-3-Clause" ]
30
2016-03-06T16:52:42.000Z
2021-03-31T09:46:39.000Z
# -*- coding: utf-8 -*- # # Enteletaor - https://github.com/cr0hn/enteletaor # # Redistribution and use in source and binary forms, with or without modification, are permitted provided that the # following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, this list of con...
38.344444
118
0.753115
460
3,451
5.48913
0.419565
0.06099
0.047129
0.036436
0.145347
0.080792
0.053861
0.053861
0.053861
0.053861
0
0.003388
0.144596
3,451
89
119
38.775281
0.851965
0.488554
0
0.12
0
0
0.177457
0
0
0
0
0
0
1
0
false
0
0.24
0
0.42
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
0
0
0
0
1
0
b310e606ad80d3783d14d15dfa55c2d7051109dd
628
py
Python
libs/asyncio/windows_events.py
klmp200/sublime_db
d7fdb3e27d4520c9d65473c061b6ac3be40f9cb2
[ "MIT" ]
1
2019-01-21T17:37:32.000Z
2019-01-21T17:37:32.000Z
libs/asyncio/windows_events.py
klmp200/sublime_db
d7fdb3e27d4520c9d65473c061b6ac3be40f9cb2
[ "MIT" ]
null
null
null
libs/asyncio/windows_events.py
klmp200/sublime_db
d7fdb3e27d4520c9d65473c061b6ac3be40f9cb2
[ "MIT" ]
null
null
null
"""Selector and proactor event loops for Windows.""" from . import events from . import selector_events from . import windows_utils __all__ = ['SelectorEventLoop', 'DefaultEventLoopPolicy', ] class _WindowsSelectorEventLoop(selector_events.BaseSelectorEventLoop): """Windows version of selec...
24.153846
72
0.773885
50
628
9.42
0.54
0.063694
0.067941
0
0
0
0
0
0
0
0
0
0.157643
628
25
73
25.12
0.890359
0.136943
0
0
0
0
0.073446
0.041431
0
0
0
0
0
1
0.076923
false
0
0.230769
0.076923
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b31211dcdebcd9d087794655b7c39c4690abb81c
1,110
py
Python
handler.py
altbdoor/legend-of-8ball-bot
d6be034bc6e440c2b99cfbf2c7f608f15af3f537
[ "WTFPL" ]
null
null
null
handler.py
altbdoor/legend-of-8ball-bot
d6be034bc6e440c2b99cfbf2c7f608f15af3f537
[ "WTFPL" ]
null
null
null
handler.py
altbdoor/legend-of-8ball-bot
d6be034bc6e440c2b99cfbf2c7f608f15af3f537
[ "WTFPL" ]
null
null
null
import random import time def send_bytes(con, channel, msg): con.send((f'PRIVMSG #{channel} : {msg}\r\n').encode('utf-8')) def sync_fn(con, channel, epoch, user, msg): pass def async_fn(con, channel, epoch, user, msg): if msg.startswith('!8ball'): answer_list = [ 'it is certain', ...
27.073171
81
0.502703
136
1,110
4.036765
0.588235
0.07286
0.043716
0.069217
0.087432
0.087432
0
0
0
0
0
0.008584
0.37027
1,110
40
82
27.75
0.776824
0
0
0
0
0
0.366667
0.024324
0
0
0
0
0
1
0.090909
false
0.030303
0.060606
0
0.151515
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
0
0
0
0
1
0
b3129e2827a5d1653cdcb5e64182818266d524f0
518
py
Python
main.py
gruporofex/alexa_rofex
338eb1e08da37a45f44eaab70a633e255d4b2be7
[ "Apache-2.0" ]
null
null
null
main.py
gruporofex/alexa_rofex
338eb1e08da37a45f44eaab70a633e255d4b2be7
[ "Apache-2.0" ]
null
null
null
main.py
gruporofex/alexa_rofex
338eb1e08da37a45f44eaab70a633e255d4b2be7
[ "Apache-2.0" ]
1
2019-06-02T14:17:14.000Z
2019-06-02T14:17:14.000Z
import logging from configuration.config import LOGGING_LEVEL from alexa_handlers.AlexaForRFXHandler import AlexaForRFXHandler """ Main entry point for the Lambda function. """ logging.basicConfig(format='%(asctime)s %(message)s') logging.getLogger().setLevel(LOGGING_LEVEL) def lambda_handler(event, context): ...
21.583333
78
0.787645
59
518
6.779661
0.576271
0.065
0
0
0
0
0
0
0
0
0
0
0.127413
518
23
79
22.521739
0.884956
0
0
0
0
0
0.17382
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.5
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
0
0
0
0
1
0
b3132fe7d6b452962cc26ebd5ca01167a2bec067
265
py
Python
nfsmain/admin.py
Kirkkonen/NetForSpeech
d4e7aee3003c88cb7afa21802ca724f55dc10604
[ "Apache-2.0" ]
null
null
null
nfsmain/admin.py
Kirkkonen/NetForSpeech
d4e7aee3003c88cb7afa21802ca724f55dc10604
[ "Apache-2.0" ]
18
2015-02-21T14:38:41.000Z
2015-04-27T08:23:21.000Z
nfsmain/admin.py
kromkrom/NetForSpeech
d4e7aee3003c88cb7afa21802ca724f55dc10604
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin import nfsmain.models # Register your models here. admin.site.register(nfsmain.models.Organisation) admin.site.register(nfsmain.models.Speech) admin.site.register(nfsmain.models.Interview) admin.site.register(nfsmain.models.Event)
29.444444
48
0.833962
36
265
6.138889
0.416667
0.294118
0.307692
0.434389
0.542986
0
0
0
0
0
0
0
0.060377
265
9
49
29.444444
0.88755
0.098113
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
1
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
1
0
1
0
0
0
0
6
b314cd99dbfe61e94cec61ba01708bcc90cd79e7
236
py
Python
course/source/exercises/E001/test.py
sebastian-mutz/integrate
ce2a83358e2eb7f482d4fb70d167b1eba2abf2a8
[ "MIT" ]
2
2021-05-17T14:23:50.000Z
2021-08-24T13:07:42.000Z
course/source/exercises/E001/test.py
sebastian-mutz/integrate
ce2a83358e2eb7f482d4fb70d167b1eba2abf2a8
[ "MIT" ]
null
null
null
course/source/exercises/E001/test.py
sebastian-mutz/integrate
ce2a83358e2eb7f482d4fb70d167b1eba2abf2a8
[ "MIT" ]
1
2021-08-24T13:04:01.000Z
2021-08-24T13:04:01.000Z
# wow. such script. many calculation. wow. # let's do some operations and save the results in variables a=20 + 22 b=2077 - 93 c=578 * 4 d=1332/2 e=16**2 print(a, b, c, d, e) # tell the computer to show us the values of each variable
21.454545
80
0.686441
49
236
3.306122
0.816327
0
0
0
0
0
0
0
0
0
0
0.117647
0.207627
236
10
81
23.6
0.748663
0.661017
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
0
0
0
0
1
0
b314d4941924cad54312d588bb8f7d87deb0ff9c
3,384
py
Python
app/ui/ui_modify_env.py
ctpbee/bee-box
6aa7339cdf04c54cca6bd0ae9908883c39402526
[ "MIT" ]
2
2020-08-17T01:59:51.000Z
2022-02-11T05:57:22.000Z
app/ui/ui_modify_env.py
ctpbee/bee-box
6aa7339cdf04c54cca6bd0ae9908883c39402526
[ "MIT" ]
null
null
null
app/ui/ui_modify_env.py
ctpbee/bee-box
6aa7339cdf04c54cca6bd0ae9908883c39402526
[ "MIT" ]
2
2020-03-18T02:28:38.000Z
2022-02-11T05:57:23.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'modify_env.ui', # licensing of 'modify_env.ui' applies. # # Created: Wed Dec 25 11:08:05 2019 # by: pyside2-uic running on PySide2 5.13.2 # # WARNING! All changes made in this file will be lost! from PySide2 import QtCore, QtGui, QtWi...
49.043478
115
0.714243
372
3,384
6.392473
0.287634
0.142977
0.052986
0.090833
0.286375
0.163162
0
0
0
0
0
0.021739
0.170804
3,384
68
116
49.764706
0.825731
0.077423
0
0
1
0
0.060713
0.007067
0
0
0
0
0
1
0.037037
false
0
0.037037
0
0.092593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b3153fee022b4111953bc5fe49844890599569bd
593
py
Python
webarm/facilities/models.py
AlexGolovaschenko/WebArm
1019b73b1ad5560a626261bbce05137c01edcee5
[ "MIT" ]
null
null
null
webarm/facilities/models.py
AlexGolovaschenko/WebArm
1019b73b1ad5560a626261bbce05137c01edcee5
[ "MIT" ]
null
null
null
webarm/facilities/models.py
AlexGolovaschenko/WebArm
1019b73b1ad5560a626261bbce05137c01edcee5
[ "MIT" ]
null
null
null
from django.db import models # TODO: from django.contrib.gis.db.models import RasterField from companies.models import Company class Facility(models.Model): company = models.ForeignKey(Company, on_delete=models.CASCADE, verbose_name='Компания') name = models.CharField(max_length=200, verbose_name='Наименова...
29.65
91
0.715008
74
593
5.567568
0.554054
0.133495
0
0
0
0
0
0
0
0
0
0.006098
0.17032
593
20
92
29.65
0.831301
0.197302
0
0
0
0.1
0.202532
0.063291
0
0
0
0.05
0
1
0.1
false
0
0.2
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b315b6f3d8230ef919a037f3cf78113e344d7733
421
py
Python
Ex_74.py
soldierloko/Curso-em-Video
d867366425f72fe15903cb17cdc222a7fe7a3831
[ "MIT" ]
null
null
null
Ex_74.py
soldierloko/Curso-em-Video
d867366425f72fe15903cb17cdc222a7fe7a3831
[ "MIT" ]
null
null
null
Ex_74.py
soldierloko/Curso-em-Video
d867366425f72fe15903cb17cdc222a7fe7a3831
[ "MIT" ]
null
null
null
#Crie um programa que vai gerar cinco números aleatórios e colocar em um tupla #Depois, mostra a listagem de números gerados e tambem indique o menor e o maior valor que estão na tupla from random import randint n = (randint(1,10),randint(1,10),randint(1,10),randint(1,10),randint(1,10)) print(f'Sorteei os valores ...
35.083333
106
0.733967
78
421
3.961538
0.551282
0.12945
0.161812
0.220065
0.161812
0.161812
0.161812
0.161812
0.161812
0.161812
0
0.042135
0.154394
421
11
107
38.272727
0.825843
0.429929
0
0
0
0
0.396624
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.6
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
b3171b0e547151b36dca4c7d117c611b0459a447
5,070
py
Python
scripts/test_script.py
OmoooJ/gluon-facex
c5606fc9e2223c6d6dce2aaf2858d83f5eac1d54
[ "MIT" ]
257
2018-12-28T12:02:28.000Z
2021-11-25T08:43:52.000Z
scripts/test_script.py
OmoooJ/gluon-facex
c5606fc9e2223c6d6dce2aaf2858d83f5eac1d54
[ "MIT" ]
37
2019-01-10T02:31:12.000Z
2020-11-09T03:09:40.000Z
scripts/test_script.py
OmoooJ/gluon-facex
c5606fc9e2223c6d6dce2aaf2858d83f5eac1d54
[ "MIT" ]
57
2018-12-29T01:18:31.000Z
2021-09-14T14:41:35.000Z
# -*- coding: utf-8 -*- # Author: pistonyang@gmail.com import argparse import os import mxnet as mx import sklearn import numpy as np from mxnet import gluon, nd from mxnet.gluon.data import DataLoader from mxnet.gluon.data.vision import transforms from gluonfr.model_zoo import get_model from gluonfr.data import get_r...
44.867257
104
0.65641
690
5,070
4.652174
0.268116
0.025234
0.047664
0.028037
0.241433
0.209657
0.17134
0.099065
0.038006
0.038006
0
0.023471
0.210059
5,070
112
105
45.267857
0.778027
0.009862
0
0
0
0
0.135738
0
0
0
0
0
0.032967
1
0.021978
false
0
0.120879
0
0.164835
0.032967
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
0
0
0
0
1
0
b317c5d6b720147d41037a618b469ae428deb28e
7,043
py
Python
gamepyd/readPad.py
Marceline/PyXinput
fa60e215e99b8c0fe95767c21fd9ba239a0719bd
[ "Unlicense" ]
2
2020-11-26T09:23:35.000Z
2020-11-27T13:36:46.000Z
gamepyd/readPad.py
Marceline/PyXinput
fa60e215e99b8c0fe95767c21fd9ba239a0719bd
[ "Unlicense" ]
7
2020-10-03T16:38:26.000Z
2020-10-03T17:17:00.000Z
gamepyd/readPad.py
Marceline/PyXinput
fa60e215e99b8c0fe95767c21fd9ba239a0719bd
[ "Unlicense" ]
1
2021-06-04T17:44:55.000Z
2021-06-04T17:44:55.000Z
"""Read the current state of Xbox Controllers""" from ctypes import * import pandas as pd from time import time_ns # Xinput DLL try: _xinput = windll.xinput1_4 except OSError as err: _xinput = windll.xinput1_3 class _xinput_gamepad(Structure): """CType XInput Gamepad Object""" _fields_ = [ ("...
31.868778
129
0.552321
832
7,043
4.519231
0.325721
0.014362
0.01516
0.011968
0.207979
0.170745
0.137766
0.117021
0.10266
0.10266
0
0.031198
0.317336
7,043
220
130
32.013636
0.750832
0.192106
0
0.22973
0
0.013514
0.167094
0.034773
0
0
0.015373
0
0
1
0.087838
false
0
0.027027
0.040541
0.25
0.087838
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
0
0
0
0
1
0
b317e8c8116cb267c95a2dc4fd78e3aa0e010d1f
31,470
py
Python
lib/tool_shed/scripts/check_repositories_for_functional_tests.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
null
null
null
lib/tool_shed/scripts/check_repositories_for_functional_tests.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
null
null
null
lib/tool_shed/scripts/check_repositories_for_functional_tests.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
1
2020-07-25T21:03:18.000Z
2020-07-25T21:03:18.000Z
#!/usr/bin/env python import os, sys, logging, tempfile new_path = [ os.path.join( os.getcwd(), "lib" ), os.path.join( os.getcwd(), "test" ) ] new_path.extend( sys.path[1:] ) sys.path = new_path log = logging.getLogger() log.setLevel( 10 ) log.addHandler( logging.StreamHandler( sys.stdout ) ) from galaxy import egg...
57.743119
167
0.56584
3,413
31,470
5.044829
0.144448
0.054304
0.013416
0.009757
0.446219
0.40539
0.373156
0.353293
0.341852
0.333024
0
0.006398
0.34938
31,470
544
168
57.849265
0.83453
0.227709
0
0.159259
0
0.011111
0.155456
0.026093
0
0
0
0.001838
0.003704
0
null
null
0.003704
0.062963
null
null
0.103704
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b317eed8bc3c7f37020ba36b17b2500b5686a571
4,433
py
Python
clifford/taylor_expansions.py
tBuLi/clifford
31651d095834ad4c2c5da0692414b55c88823840
[ "BSD-3-Clause" ]
21
2015-03-21T14:20:29.000Z
2020-04-20T02:12:03.000Z
clifford/taylor_expansions.py
tBuLi/clifford
31651d095834ad4c2c5da0692414b55c88823840
[ "BSD-3-Clause" ]
13
2016-09-01T11:58:24.000Z
2017-11-19T17:01:51.000Z
clifford/taylor_expansions.py
tBuLi/clifford
31651d095834ad4c2c5da0692414b55c88823840
[ "BSD-3-Clause" ]
7
2016-08-31T16:19:42.000Z
2017-11-16T17:27:45.000Z
""" .. currentmodule:: clifford.taylor_expansions ===================================================== taylor_expansions (:mod:`clifford.taylor_expansions`) ===================================================== .. versionadded:: 1.4.0 This file implements various Taylor expansions for useful functions of multivecto...
26.866667
109
0.606361
667
4,433
3.95952
0.226387
0.0727
0.037486
0.05301
0.491102
0.455509
0.455509
0.455509
0.455509
0.380538
0
0.033261
0.267539
4,433
164
110
27.030488
0.780105
0.554252
0
0.455882
0
0
0
0
0
0
0
0
0
1
0.102941
false
0
0.058824
0
0.279412
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
0
0
0
0
1
0
b318c21ad0eb2b6e95186d57efe3b7d26ec2e237
175
py
Python
FlaskApp/extensions.py
re0phimes/FlaskTest
43144766cb09201b27168a3a0b369116dc1a51d3
[ "MIT" ]
1
2019-05-14T08:18:44.000Z
2019-05-14T08:18:44.000Z
FlaskApp/extensions.py
re0phimes/FlaskTest
43144766cb09201b27168a3a0b369116dc1a51d3
[ "MIT" ]
null
null
null
FlaskApp/extensions.py
re0phimes/FlaskTest
43144766cb09201b27168a3a0b369116dc1a51d3
[ "MIT" ]
null
null
null
from flask import Flask, render_template, redirect # from flask_bootstrap import Bootstrap from flask_sqlalchemy import SQLAlchemy # bootstrp = Bootstrap() db = SQLAlchemy()
25
50
0.811429
21
175
6.619048
0.47619
0.194245
0
0
0
0
0
0
0
0
0
0
0.131429
175
7
51
25
0.914474
0.342857
0
0
0
0
0
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
1
0
0
4
b318fb68451b5682ff5190f3321869e6da4e8c1a
2,521
py
Python
month05/Spider/Tecent/Tecent/spiders/tencent.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
month05/Spider/Tecent/Tecent/spiders/tencent.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
month05/Spider/Tecent/Tecent/spiders/tencent.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
import json import scrapy import time import requests from ..items import TecentItem class TencentSpider(scrapy.Spider): name = 'tencent' allowed_domains = ['careers.tencent.com'] first_url = 'https://careers.tencent.com/tencentcareer/api/post/Query?timestamp={}&countryId=&cityId=&bgIds=&productId=&cate...
42.016667
219
0.659262
310
2,521
5.23871
0.367742
0.038793
0.073276
0.090517
0.21367
0.1367
0.100985
0.055419
0
0
0
0.022102
0.192384
2,521
59
220
42.728814
0.77554
0.011503
0
0.042553
0
0.06383
0.270281
0
0
0
0
0
0
1
0.106383
false
0
0.106383
0
0.382979
0.021277
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
0
0
0
0
1
0
b3195e2c249e847996cf37ace335078f2ff006fa
2,365
py
Python
paraseres.py
Junking1/DeepLabV3
7480ba2351fd5baa740bd5b8d0441f3103f3bbb0
[ "MIT" ]
null
null
null
paraseres.py
Junking1/DeepLabV3
7480ba2351fd5baa740bd5b8d0441f3103f3bbb0
[ "MIT" ]
null
null
null
paraseres.py
Junking1/DeepLabV3
7480ba2351fd5baa740bd5b8d0441f3103f3bbb0
[ "MIT" ]
null
null
null
import argparse def ad1para(): parser = argparse.ArgumentParser(description="PyTorch DeeplabV3Plus Training") parser.add_argument('--train_path', type=str, default='E:/lab2_train_data.h5', help='the path of train data') parser.add_argument('--val_path', type=str, default='...
52.555556
83
0.578013
281
2,365
4.754448
0.33452
0.107784
0.203593
0.029192
0.133234
0.062874
0
0
0
0
0
0.027712
0.282875
2,365
44
84
53.75
0.760024
0.025793
0
0
0
0
0.332447
0.009309
0
0
0
0
0
1
0.027778
false
0
0.027778
0
0.083333
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
0
0
0
0
0
1
b31b96b0f97a4a311c4207315ff1606066d471f8
837
py
Python
scripts/plot_discuss_features.py
WEgeophysics/watex
21616ce35372a095c3dd624f82a5282b15cb2c91
[ "MIT" ]
3
2021-06-19T02:16:46.000Z
2021-07-16T15:56:49.000Z
scripts/plot_discuss_features.py
WEgeophysics/watex
21616ce35372a095c3dd624f82a5282b15cb2c91
[ "MIT" ]
null
null
null
scripts/plot_discuss_features.py
WEgeophysics/watex
21616ce35372a095c3dd624f82a5282b15cb2c91
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Oct 8 09:04:27 2021 @author: @Daniel03 """ from watex.viewer.plot import QuickPlot # path to dataset # data_fn = 'data/geo_fdata/BagoueDataset2.xlsx' data_fn ='data/geo_fdata/main.bagciv.data2.csv' # set figure title fig_title= '`sfi` vs`ohmS|`geol`' # list of feature...
22.026316
57
0.57945
100
837
4.69
0.64
0.051173
0.063966
0.055437
0.076759
0
0
0
0
0
0
0.033727
0.291517
837
37
58
22.621622
0.757167
0.285544
0
0
0
0
0.183533
0.06175
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
0
0
0
0
1
0
b31be5d103cfb9e8ae792650af1addd027a89193
309
py
Python
main/Customer/urls.py
VikasSherawat/OrderFood
1c9b67d48f3add57053b50b8a07695016fe2bb4a
[ "MIT" ]
null
null
null
main/Customer/urls.py
VikasSherawat/OrderFood
1c9b67d48f3add57053b50b8a07695016fe2bb4a
[ "MIT" ]
4
2020-02-11T21:44:22.000Z
2021-06-10T17:28:46.000Z
main/Customer/urls.py
VikasSherawat/OrderFood
1c9b67d48f3add57053b50b8a07695016fe2bb4a
[ "MIT" ]
1
2017-03-13T04:21:49.000Z
2017-03-13T04:21:49.000Z
from django.conf.urls import url from . import views app_name = 'customer' urlpatterns = [ # url(r'^$', views.index, name='index'), url(r'^fooditems/(?P<shop_id>[0-9]+)/$', views.fooditems, name="fooditems"), url(r'^buyitem/(?P<fooditem_id>[0-9]+)/$', views.buy_fooditem, name="buy_fooditem") ]
28.090909
87
0.647249
45
309
4.333333
0.488889
0.061538
0.041026
0.092308
0
0
0
0
0
0
0
0.014815
0.126214
309
11
88
28.090909
0.707407
0.122977
0
0
0
0
0.351852
0.244444
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
0
0
0
0
1
0
b31c17bc22fb02364bf3e27057e5970be530fe76
2,149
py
Python
playground/messaging/producer/config.py
murlokito/playground
405a7091bbfd6705db967e872ed6c4591bd892e6
[ "MIT" ]
null
null
null
playground/messaging/producer/config.py
murlokito/playground
405a7091bbfd6705db967e872ed6c4591bd892e6
[ "MIT" ]
null
null
null
playground/messaging/producer/config.py
murlokito/playground
405a7091bbfd6705db967e872ed6c4591bd892e6
[ "MIT" ]
null
null
null
__title__ = "simulation" __author__ = "murlux" __copyright__ = "Copyright 2019, " + __author__ __credits__ = (__author__, ) __license__ = "MIT" __email__ = "murlux@protonmail.com" # Global imports from enum import Enum from typing import Any, Dict from playground.messaging.flow import Flow, flow_from_json from playgr...
30.7
119
0.665891
265
2,149
5.132075
0.226415
0.047059
0.048529
0.088235
0.494853
0.422059
0.332353
0.188235
0.114706
0.114706
0
0.002463
0.2443
2,149
69
120
31.144928
0.834975
0.060493
0
0
0
0
0.233418
0.010633
0
0
0
0
0
1
0.045455
false
0
0.090909
0
0.295455
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
0
0
0
0
1
0
b31c75e2046a13da0654b68c56be95811318a66b
314
py
Python
intask_api/tasks/urls.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
null
null
null
intask_api/tasks/urls.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
7
2016-08-17T23:08:31.000Z
2022-03-02T02:23:08.000Z
intask_api/tasks/urls.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
null
null
null
from rest_framework.routers import DefaultRouter from intask_api.tasks.views import TaskViewSet, TaskUserViewSet router = DefaultRouter() router.register(r'tasks', TaskViewSet, basename='tasks') router.register(r'tasks/(?P<task_id>[0-9]+)/users', TaskUserViewSet, basename='task-users') urlpatterns = router.urls
39.25
91
0.799363
40
314
6.2
0.6
0.112903
0.120968
0.16129
0
0
0
0
0
0
0
0.006849
0.070064
314
7
92
44.857143
0.842466
0
0
0
0
0
0.16242
0.098726
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b32039c8d905e3757359516982b961e7aa3b1444
5,413
py
Python
data-processing/MongoDB/mongo.py
kennie98/AI-book-recommendation-system
2707b08fe190a9803d3dcb610b96d9b6a984adc0
[ "CC0-1.0" ]
null
null
null
data-processing/MongoDB/mongo.py
kennie98/AI-book-recommendation-system
2707b08fe190a9803d3dcb610b96d9b6a984adc0
[ "CC0-1.0" ]
null
null
null
data-processing/MongoDB/mongo.py
kennie98/AI-book-recommendation-system
2707b08fe190a9803d3dcb610b96d9b6a984adc0
[ "CC0-1.0" ]
null
null
null
import pandas as pd from pymongo import MongoClient from MongoDB.marc import Marc import re import sys class Mongo: tag_mongodb_connection_uri = 'MONGODB_CONNECTION_URI' tag_mongodb_user = 'MONGODB_USER' tag_mongodb_password = 'MONGODB_PASSWORD' tag_mongodb_database = 'MONGODB_DATABASE' tag_mongod...
41.320611
119
0.568631
548
5,413
5.399635
0.257299
0.033795
0.02636
0.032443
0.093951
0.055086
0.055086
0.045961
0
0
0
0.005042
0.303898
5,413
130
120
41.638462
0.780255
0.013117
0
0.069565
0
0
0.101498
0.00412
0
0
0
0
0
1
0.078261
false
0.095652
0.043478
0.034783
0.365217
0.034783
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
0
0
0
0
0
1
b3208faab0bb9858fdeabda875efe2eb39010200
5,673
py
Python
robot3_18c1054/scripts/visualizer.py
18C1054-S-K/robot3_ros
c34cf2989829b3f38648b5e32be1d5cc5264ad80
[ "MIT" ]
null
null
null
robot3_18c1054/scripts/visualizer.py
18C1054-S-K/robot3_ros
c34cf2989829b3f38648b5e32be1d5cc5264ad80
[ "MIT" ]
null
null
null
robot3_18c1054/scripts/visualizer.py
18C1054-S-K/robot3_ros
c34cf2989829b3f38648b5e32be1d5cc5264ad80
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import rospy import numpy as np import math import time from sensor_msgs.msg import JointState from std_msgs.msg import Float32, Float32MultiArray, Bool, Header from robot3_18c1054.msg import HandClose from robot3_18c1054.srv import GetHandState, GetHandStateResponse, GetInitTime, GetInitTimeRes...
30.5
176
0.693637
988
5,673
3.719636
0.154858
0.050068
0.056599
0.029932
0.326259
0.244354
0.162721
0.144762
0.128435
0.128435
0
0.034635
0.160233
5,673
185
177
30.664865
0.736776
0.015688
0
0.174497
0
0
0.072108
0.009327
0
0
0
0
0
1
0.053691
false
0.013423
0.053691
0
0.248322
0.04698
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
0
0
0
0
1
0
b3216e51e921df93ba62232e2dc93c7a485cd2b1
6,980
py
Python
gpu_bdb/min/large_ddf.py
cylondata/gpu-bdb
6edef0985e9953c6bc9b4e0639b0dff1c9facefa
[ "Apache-2.0" ]
null
null
null
gpu_bdb/min/large_ddf.py
cylondata/gpu-bdb
6edef0985e9953c6bc9b4e0639b0dff1c9facefa
[ "Apache-2.0" ]
null
null
null
gpu_bdb/min/large_ddf.py
cylondata/gpu-bdb
6edef0985e9953c6bc9b4e0639b0dff1c9facefa
[ "Apache-2.0" ]
null
null
null
# # Copyright (c) 2019-2020, NVIDIA CORPORATION. # # 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 ag...
36.165803
116
0.698281
1,074
6,980
4.436685
0.188082
0.052046
0.018468
0.029381
0.564743
0.529276
0.469045
0.420147
0.391396
0.33893
0
0.013101
0.201719
6,980
192
117
36.354167
0.842067
0.34914
0
0.495868
0
0
0.143238
0.007785
0
0
0
0
0
1
0.066116
false
0
0.099174
0
0.231405
0.239669
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
0
0
0
0
1
0
b3245056e3f0f3fb5389269f801f8bf1920f67ff
13,768
py
Python
ehb_service/apps/api/views/externalrecord.py
chop-dbhi/ehb-service
62f26cbb1495026caf37e1c326a593253b88bdd9
[ "BSD-2-Clause" ]
1
2018-11-03T15:53:50.000Z
2018-11-03T15:53:50.000Z
ehb_service/apps/api/views/externalrecord.py
chop-dbhi/ehb-service
62f26cbb1495026caf37e1c326a593253b88bdd9
[ "BSD-2-Clause" ]
78
2015-12-16T20:12:20.000Z
2020-04-08T19:42:35.000Z
ehb_service/apps/api/views/externalrecord.py
chop-dbhi/ehb-service
62f26cbb1495026caf37e1c326a593253b88bdd9
[ "BSD-2-Clause" ]
1
2019-11-04T06:24:02.000Z
2019-11-04T06:24:02.000Z
import json import logging from django.db.models import Q from core.forms import ExternalRecordForm, ExternalRecordRelationForm from .constants import ErrorConstants from api.helpers import FormHelpers from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import sta...
36.519894
179
0.529198
1,329
13,768
5.329571
0.148984
0.021742
0.013977
0.011859
0.311591
0.260765
0.208951
0.158549
0.126641
0.115064
0
0.002955
0.385532
13,768
376
180
36.617021
0.834279
0.087231
0
0.34296
0
0
0.122868
0.006386
0
0
0
0
0
1
0.043321
false
0
0.043321
0
0.176895
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
0
0
0
0
1
0
b324bf18045ea4a7f105aae6d323ab08dcfbf152
584
py
Python
058.py
souza-joao/cursoemvideo-python3
b9f747d1083c1c779630b25b321b291d76611901
[ "MIT" ]
null
null
null
058.py
souza-joao/cursoemvideo-python3
b9f747d1083c1c779630b25b321b291d76611901
[ "MIT" ]
null
null
null
058.py
souza-joao/cursoemvideo-python3
b9f747d1083c1c779630b25b321b291d76611901
[ "MIT" ]
null
null
null
from random import randint, choice from time import sleep print('_' * 40) print('Vou pensar em um número entre 0 e 10.\n') print('PROCESSANDO...') sleep(3) print('pronto!') sleep(0.5) n = int(input('Em que número eu pensei? ')) print('-' * 80) sleep(2) x = randint(0, 10) cont = 0 while n != x: if n < x: n...
27.809524
86
0.631849
88
584
4.181818
0.556818
0.032609
0.07337
0.173913
0.217391
0.217391
0.217391
0
0
0
0
0.037199
0.217466
584
21
87
27.809524
0.768053
0
0
0.095238
0
0
0.42735
0.082051
0
0
0
0
0
1
0
false
0
0.095238
0
0.095238
0.285714
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b325a4cdd05ee38f1c358b84ae1f77dc879858b0
6,142
py
Python
visual_novel/vn_core/migrations/0001_base_models_for_visual_novels.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
9
2018-03-11T12:53:12.000Z
2020-12-19T14:21:53.000Z
visual_novel/vn_core/migrations/0001_base_models_for_visual_novels.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
6
2020-02-11T22:19:22.000Z
2022-03-11T23:20:10.000Z
visual_novel/vn_core/migrations/0001_base_models_for_visual_novels.py
dolamroth/visual_novel
c67379df395561b3bca7e91e2db6547d2e943330
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-04-28 16:31 import core.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('cinfo', '0002_test_data'), ] operations = [ migrations.CreateModel( ...
49.934959
160
0.586454
616
6,142
5.663961
0.228896
0.1135
0.044139
0.069361
0.549728
0.531958
0.439954
0.439954
0.380338
0.355116
0
0.00959
0.269945
6,142
122
161
50.344262
0.76851
0.007327
0
0.46087
1
0
0.199344
0
0
0
0
0
0
1
0
false
0
0.026087
0
0.06087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b327fc80caa49ef916375787bf5e4e7f062d013b
8,409
py
Python
cardbuilder/resolution/printer.py
jrhoff/cardbuilder
857360b1827494a286cee9928cb004af882e55b4
[ "MIT" ]
null
null
null
cardbuilder/resolution/printer.py
jrhoff/cardbuilder
857360b1827494a286cee9928cb004af882e55b4
[ "MIT" ]
null
null
null
cardbuilder/resolution/printer.py
jrhoff/cardbuilder
857360b1827494a286cee9928cb004af882e55b4
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from collections import OrderedDict from os import mkdir from os.path import exists, join from typing import Optional, Callable, get_type_hints, Dict import requests from cardbuilder.common.util import dedup_by, retry_with_logging from cardbuilder.exceptions import CardBuilderUsage...
41.220588
121
0.633964
959
8,409
5.252346
0.153285
0.046456
0.023824
0.025412
0.305738
0.265436
0.223347
0.165972
0.156442
0.138972
0
0.00358
0.269235
8,409
203
122
41.423645
0.816111
0.011416
0
0.194805
0
0
0.046346
0.012038
0
0
0
0
0
1
0.12987
false
0
0.058442
0.025974
0.331169
0.25974
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
0
0
0
0
1
0
b329631d1ae39b00c66566b6ebd6369fb6aa8d9a
19,912
py
Python
pysrc/map_info_rdr.py
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
1,261
2016-12-16T14:29:30.000Z
2022-03-30T20:21:25.000Z
pysrc/map_info_rdr.py
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
190
2016-12-17T13:44:09.000Z
2022-03-27T09:28:13.000Z
pysrc/map_info_rdr.py
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
155
2016-12-16T22:17:20.000Z
2022-02-16T20:53:59.000Z
#!/usr/bin/env python # -*- python -*- #BEGIN_LEGAL # #Copyright (c) 2020 Intel Corporation # # 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-...
38.072658
107
0.558206
2,675
19,912
3.903925
0.144299
0.018194
0.018386
0.016853
0.430911
0.356986
0.341856
0.325194
0.310543
0.304989
0
0.011977
0.32493
19,912
522
108
38.145594
0.764916
0.131227
0
0.30829
0
0
0.120042
0.011283
0
0
0
0
0.002591
1
0.072539
false
0.005181
0.025907
0.025907
0.163212
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
0
0
0
0
1
0
b329aa0077fedcf56909ba21624d7b73c8f4b2e3
1,638
py
Python
python/scripts/tools/m3qa_unit_test.py
ahoarau/m3meka
237739f0266ce60aaa3013b0d2b22fc07b6374c4
[ "MIT" ]
1
2015-06-19T12:14:18.000Z
2015-06-19T12:14:18.000Z
python/scripts/tools/m3qa_unit_test.py
semeyerz/m3meka
6e5d6b73ad3ebdd8429497923e601eae65d8b2fe
[ "MIT" ]
null
null
null
python/scripts/tools/m3qa_unit_test.py
semeyerz/m3meka
6e5d6b73ad3ebdd8429497923e601eae65d8b2fe
[ "MIT" ]
2
2015-11-27T09:25:54.000Z
2021-08-16T16:29:22.000Z
#! /usr/bin/python #Copyright 2008, Meka Robotics #All rights reserved. #http://mekabot.com #Redistribution and use in source and binary forms, with or without #modification, are permitted. #THIS SOFTWARE IS PROVIDED BY THE Copyright HOLDERS AND CONTRIBUTORS #"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDI...
32.117647
131
0.700855
224
1,638
5.035714
0.616071
0.031915
0.026596
0.039007
0.042553
0
0
0
0
0
0
0.013466
0.138584
1,638
50
132
32.76
0.785967
0.562882
0
0
0
0
0.225641
0
0
0
0
0
0
0
null
null
0.052632
0.052632
null
null
0.210526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
b32c6157b37a6c2aef3cf2191a1d45f18ee4504f
229
py
Python
Introducao python/exercicios/ex013b.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
null
null
null
Introducao python/exercicios/ex013b.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
null
null
null
Introducao python/exercicios/ex013b.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
null
null
null
valor = float(input('Insira o valor do produto: ')) desconto = float(input('Insira o vlaor do deaconto: ')) novo_valor = valor - (valor * (desconto / 100)) print(f'O novo valor com {desconto}% de desconto é {novo_valor:.2f}')
28.625
69
0.68559
35
229
4.428571
0.514286
0.174194
0.206452
0.219355
0
0
0
0
0
0
0
0.020833
0.161572
229
7
70
32.714286
0.786458
0
0
0
0
0
0.497817
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
b32c8ac533a9595c7935a15d0c1ab0a2d7c89655
2,271
py
Python
specs/monitor/events_v1_spec.py
marojor/sysdig-sdk-python
c554f9f747ff88ce075b50a50d81f75aff327bb1
[ "MIT" ]
45
2016-04-11T16:50:15.000Z
2020-07-11T23:37:51.000Z
specs/monitor/events_v1_spec.py
marojor/sysdig-sdk-python
c554f9f747ff88ce075b50a50d81f75aff327bb1
[ "MIT" ]
74
2016-08-09T17:10:55.000Z
2020-07-09T08:36:16.000Z
specs/monitor/events_v1_spec.py
marojor/sysdig-sdk-python
c554f9f747ff88ce075b50a50d81f75aff327bb1
[ "MIT" ]
39
2016-04-20T17:22:23.000Z
2020-07-08T17:25:52.000Z
import os import time from expects import expect, have_key, contain, have_keys, be_empty, equal from mamba import it, before, description from sdcclient.monitor import EventsClientV1 from specs import be_successful_api_call with description("Events v1", "integration") as self: with before.all: self.clien...
41.290909
122
0.647292
335
2,271
4.226866
0.259701
0.056497
0.074153
0.093927
0.554379
0.47387
0.47387
0.434322
0.352401
0.352401
0
0.006989
0.243945
2,271
54
123
42.055556
0.817705
0.035667
0
0.268293
0
0
0.214449
0
0
0
0
0
0
1
0
false
0
0.146341
0
0.146341
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
0
0
0
0
1
0
b32ce48bfac67262240dc37403bd03bc3776e361
322
py
Python
app/cryptprice/exceptions/app_exceptions.py
MihailButnaru/cryptprice
b9636dbb0fb88d345fc53a9e8ec0554a888e7302
[ "MIT" ]
2
2020-07-04T23:02:14.000Z
2021-02-04T21:21:14.000Z
app/cryptprice/exceptions/app_exceptions.py
MihailButnaru/cryptprice
b9636dbb0fb88d345fc53a9e8ec0554a888e7302
[ "MIT" ]
4
2021-03-30T13:50:34.000Z
2021-09-22T19:22:57.000Z
app/cryptprice/exceptions/app_exceptions.py
MihailButnaru/cryptprice
b9636dbb0fb88d345fc53a9e8ec0554a888e7302
[ "MIT" ]
null
null
null
from rest_framework.exceptions import APIException __author__ = "Mihail Butnaru" __copyright__ = "Copyright 2020, All rights reserved." class APPServerError(APIException): status_code = 500 default_detail = "Service temporarily unavailable, contact the administrator" default_code = "internal_server_error...
29.272727
81
0.795031
34
322
7.117647
0.882353
0
0
0
0
0
0
0
0
0
0
0.025362
0.142857
322
10
82
32.2
0.851449
0
0
0
0
0
0.400621
0.065217
0
0
0
0
0
1
0
false
0
0.142857
0
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
0
0
0
0
0
0
0
1
0
b32e4e1996fb297287ca00c74f529be969c107ca
6,771
py
Python
sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/tools/binman/control.py
openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano
c463575de065aad080f730ffbd479628eb821105
[ "BSD-3-Clause" ]
1
2022-02-15T08:51:55.000Z
2022-02-15T08:51:55.000Z
sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/tools/binman/control.py
openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano
c463575de065aad080f730ffbd479628eb821105
[ "BSD-3-Clause" ]
null
null
null
sdk_liteos/third_party/u-boot-v2019.07/u-boot-v2019.07/tools/binman/control.py
openharmony-gitee-mirror/device_bearpi_bearpi_hm_nano
c463575de065aad080f730ffbd479628eb821105
[ "BSD-3-Clause" ]
1
2021-12-15T09:54:37.000Z
2021-12-15T09:54:37.000Z
# SPDX-License-Identifier: GPL-2.0+ # Copyright (c) 2016 Google, Inc # Written by Simon Glass <sjg@chromium.org> # # Creates binary images from input files controlled by a description # from collections import OrderedDict import os import sys import tools import command import elf from image import Image import state...
34.545918
80
0.585143
798
6,771
4.912281
0.363409
0.02551
0.016582
0.009184
0.046939
0.02398
0.017857
0.017857
0.017857
0
0
0.002251
0.343819
6,771
195
81
34.723077
0.880036
0.180623
0
0.176991
0
0
0.049628
0
0
0
0
0
0
0
null
null
0
0.106195
null
null
0.017699
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b3306de4e386f43f3bd60bacfbc628514aa6597c
2,683
py
Python
python/Data Structures/Arrays/maximumRange.py
sinderpl/CodingExamples
9bc59a0345589bf51fc74fe9ad527e9498b9b5c9
[ "MIT" ]
null
null
null
python/Data Structures/Arrays/maximumRange.py
sinderpl/CodingExamples
9bc59a0345589bf51fc74fe9ad527e9498b9b5c9
[ "MIT" ]
null
null
null
python/Data Structures/Arrays/maximumRange.py
sinderpl/CodingExamples
9bc59a0345589bf51fc74fe9ad527e9498b9b5c9
[ "MIT" ]
null
null
null
class Solution: def maximumPopulation(self, logs: List[List[int]]) -> int: years_mapped = dict() # Map each person = O(n) # First bottleneck is having to map every year out which increases processing time # The second is also here since we use additional storage to account f...
33.123457
94
0.542303
324
2,683
4.317901
0.277778
0.115082
0.085776
0.048606
0.530379
0.498213
0.498213
0.40386
0.364546
0.364546
0
0.024465
0.390608
2,683
81
95
33.123457
0.831193
0.191577
0
0.660377
0
0
0
0
0
0
0
0
0
1
0.056604
false
0
0
0
0.169811
0.018868
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
0
0
0
0
1
0
b330802951dfea9ae95601d2e89610bb4ee484ba
5,027
py
Python
vision_transformer/Vit.py
ximingxing/Deep-Learning-in-Action
38d5d3d6990553ff9d3ea771d8e83f8b47241b9a
[ "MIT" ]
1
2020-09-16T09:17:37.000Z
2020-09-16T09:17:37.000Z
vision_transformer/Vit.py
ximingxing/Deep-Learning-in-Action
38d5d3d6990553ff9d3ea771d8e83f8b47241b9a
[ "MIT" ]
1
2021-05-13T05:20:07.000Z
2021-05-13T05:20:07.000Z
vision_transformer/Vit.py
ximingxing/Deep-Learning-in-Action
38d5d3d6990553ff9d3ea771d8e83f8b47241b9a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Project : Deep-Learning-in-Action File : Vit.py Description : 论文题目: An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 论文地址: https://arxiv.org/abs/2010.11929 Author : xingximing.xxm Date : 2021/7/11 11:36 AM """ import torch fr...
30.652439
139
0.571912
734
5,027
3.749319
0.239782
0.022892
0.019985
0.027253
0.144622
0.09484
0.02907
0.023983
0
0
0
0.027417
0.296201
5,027
163
140
30.840491
0.750424
0.083947
0
0.089286
0
0.008929
0.062336
0
0
0
0
0
0.017857
1
0.098214
false
0
0.044643
0.026786
0.241071
0.008929
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
0
0
0
0
1
0
b331152f9b2de99eab713f246fc00d258a2ce780
1,677
py
Python
workbooks/WiFi_email.py
DarishkaAMS/laughing-guacamole
f848a922fdccb40fe6bb5e3026ebea54b32fa78d
[ "MIT" ]
null
null
null
workbooks/WiFi_email.py
DarishkaAMS/laughing-guacamole
f848a922fdccb40fe6bb5e3026ebea54b32fa78d
[ "MIT" ]
null
null
null
workbooks/WiFi_email.py
DarishkaAMS/laughing-guacamole
f848a922fdccb40fe6bb5e3026ebea54b32fa78d
[ "MIT" ]
null
null
null
import subprocess import re import smtplib from email.message import EmailMessage command_output = subprocess.run(["netsh", "wlan", "show", "profiles"], capture_output=True)\ .stdout.decode('Windows-1251') profile_names = (re.findall("All User Profile : (.*)\r", command_output)) wifi_list = list() if len(pr...
32.882353
103
0.613596
195
1,677
5.138462
0.410256
0.05489
0.053892
0.065868
0.219561
0.193613
0.193613
0
0
0
0
0.015674
0.239117
1,677
50
104
33.54
0.769592
0
0
0.105263
0
0
0.24031
0.042338
0
0
0
0
0
1
0
false
0.184211
0.105263
0
0.105263
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
0
0
0
0
0
1
b33142a09cea192c1496daaf28a083bed7fd400a
3,518
py
Python
sheets.py
caleby117/xybot
6dcc6ac99ef05ae7791c6c29c1f2f2c4242fb647
[ "Apache-2.0" ]
null
null
null
sheets.py
caleby117/xybot
6dcc6ac99ef05ae7791c6c29c1f2f2c4242fb647
[ "Apache-2.0" ]
null
null
null
sheets.py
caleby117/xybot
6dcc6ac99ef05ae7791c6c29c1f2f2c4242fb647
[ "Apache-2.0" ]
null
null
null
import gspread import time gc = gspread.service_account(filename='creds.json') sheetKey = "<insert shet key here>" wb = gc.open_by_key(sheetKey) localtime = time.asctime() newSheetName = f'XY on {localtime}' worksheet = wb.sheet1 scoreSheet = worksheet.duplicate(insert_sheet_index=1, new_sheet_name=newSheetName) #ma...
21.716049
92
0.688459
548
3,518
4.231752
0.293796
0.057352
0.042691
0.024148
0.169901
0.127641
0.114273
0.114273
0.093144
0.093144
0
0.017188
0.17311
3,518
161
93
21.850932
0.779993
0.057987
0
0.105263
0
0
0.066421
0.018786
0
0
0
0
0
1
0.168421
false
0
0.021053
0.010526
0.326316
0.021053
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b33207e52f5d4757fcc591f2721a05242c76cc96
3,538
py
Python
rgn/preprocessing.py
alifkurniawan/tesis
6330dba32f5dc12785e956875c94d83344d788a8
[ "MIT" ]
null
null
null
rgn/preprocessing.py
alifkurniawan/tesis
6330dba32f5dc12785e956875c94d83344d788a8
[ "MIT" ]
3
2022-01-13T03:13:37.000Z
2022-03-12T00:48:18.000Z
rgn/preprocessing.py
alifkurniawan/tesis
6330dba32f5dc12785e956875c94d83344d788a8
[ "MIT" ]
null
null
null
import glob import os import numpy as np from io import BytesIO from tqdm import tqdm import bcolz import platform MAX_SEQUENCE_LENGTH = 700 def filter_input_files(input_files): disallowed_file_endings = (".gitignore", ".DS_Store") return list(filter(lambda x: not x.endswith(disallowed_file_endings), input_f...
34.019231
99
0.550594
469
3,538
4.014925
0.309168
0.100903
0.103558
0.074349
0.359002
0.277217
0.243229
0.190653
0.173659
0.173659
0
0.01623
0.320803
3,538
103
100
34.349515
0.767374
0.075466
0
0.075
0
0
0.037718
0
0
0
0
0
0
1
0.0125
false
0
0.0875
0
0.1125
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
0
0
0
0
1
0
b334e4b92f0e14a486132725ee5eb22fdd3521f3
12,046
py
Python
stfsclient/apis.py
jagans94/stfsclient
e24f109a4256c05ecca9331c21bf8f76e172ad45
[ "MIT" ]
null
null
null
stfsclient/apis.py
jagans94/stfsclient
e24f109a4256c05ecca9331c21bf8f76e172ad45
[ "MIT" ]
2
2019-09-15T19:11:05.000Z
2019-09-21T13:05:11.000Z
stfsclient/apis.py
jagans94/stfsclient
e24f109a4256c05ecca9331c21bf8f76e172ad45
[ "MIT" ]
1
2020-01-19T03:46:32.000Z
2020-01-19T03:46:32.000Z
import grpc from stfsclient.tensorflow_serving import model_pb2 from stfsclient.tensorflow_serving import get_model_metadata_pb2, predict_pb2 from stfsclient.tensorflow_serving import get_model_status_pb2, model_management_pb2 from stfsclient.tensorflow_serving import prediction_service_pb2_grpc from stfsclient.tensor...
33.276243
110
0.648265
1,326
12,046
5.500754
0.115385
0.081437
0.044557
0.030847
0.556211
0.482726
0.426926
0.347546
0.301206
0.277214
0
0.002691
0.259754
12,046
361
111
33.368421
0.815297
0.047817
0
0.444867
0
0
0.045085
0.001835
0
0
0
0.00277
0
1
0.21673
false
0
0.038023
0.057034
0.39924
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
0
0
0
0
1
b336e30f32a8c91df3cdcc80f11eabae458079ff
1,058
py
Python
metropolis/core/tests/test_serializer.py
Ashon/_study_nats_worker
9c137a5cb68b13ddd91f999e61ac5d6125cd155a
[ "MIT" ]
5
2020-01-08T07:58:54.000Z
2021-03-03T13:22:11.000Z
metropolis/core/tests/test_serializer.py
Ashon/python-nats-gateway
9c137a5cb68b13ddd91f999e61ac5d6125cd155a
[ "MIT" ]
3
2019-11-05T01:15:47.000Z
2019-11-07T09:50:25.000Z
metropolis/core/tests/test_serializer.py
Ashon/python-nats-rpc
9c137a5cb68b13ddd91f999e61ac5d6125cd155a
[ "MIT" ]
1
2019-11-06T04:49:52.000Z
2019-11-06T04:49:52.000Z
import unittest from metropolis.core.serializer import DefaultMessageSerializer from metropolis.core.serializer import JsonMessageSerializer class TestDefaultMessageSerializer(unittest.TestCase): def test_default_serializer_should_returns_bytes_msg(self): msg = 'hello' encoded = DefaultMessageSer...
36.482759
64
0.751418
110
1,058
6.972727
0.290909
0.073012
0.073012
0.125163
0.644068
0.555411
0.555411
0.440678
0.440678
0.440678
0
0
0.165406
1,058
28
65
37.785714
0.86863
0
0
0.285714
0
0
0.032136
0
0
0
0
0
0.190476
1
0.190476
false
0
0.142857
0
0.428571
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
0
0
0
0
1
0
b338f100fce3bc7e987544b20907d50a2e935653
5,704
py
Python
ceph_provisioned/ceph_provisioned.py
CCI-MOC/zabbix-ceph
500b7a714225ef03fe4b202af1f49072cc879651
[ "Apache-2.0" ]
1
2020-02-22T20:50:47.000Z
2020-02-22T20:50:47.000Z
ceph_provisioned/ceph_provisioned.py
CCI-MOC/zabbix-ceph
500b7a714225ef03fe4b202af1f49072cc879651
[ "Apache-2.0" ]
null
null
null
ceph_provisioned/ceph_provisioned.py
CCI-MOC/zabbix-ceph
500b7a714225ef03fe4b202af1f49072cc879651
[ "Apache-2.0" ]
null
null
null
#! /bin/python """Calculate provisioned space""" from __future__ import division import sys import subprocess import json import functools import multiprocessing import configparser from pprint import pprint from math import ceil from pyzabbix import ZabbixMetric, ZabbixSender from pyzabbix_socketwrapper import PyZa...
32.409091
164
0.673562
765
5,704
4.75817
0.224837
0.042033
0.057143
0.041209
0.255495
0.195055
0.143132
0.136813
0.136813
0.109341
0
0.000677
0.222651
5,704
175
165
32.594286
0.820253
0.167251
0
0.095238
0
0
0.228424
0.073422
0
0
0
0
0
1
0.057143
false
0
0.104762
0
0.228571
0.047619
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
0
0
0
0
1
0
b339349f3a3b5700cfea185822ee49f0438d9f1b
4,905
py
Python
bin/EmMonitor.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
null
null
null
bin/EmMonitor.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
null
null
null
bin/EmMonitor.py
multi-service-fabric/element-manager
e550d1b5ec9419f1fb3eb6e058ce46b57c92ee2f
[ "Apache-2.0" ]
1
2020-04-02T01:17:43.000Z
2020-04-02T01:17:43.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright(c) 2019 Nippon Telegraph and Telephone Corporation # Filename: em_monitor.py ''' EM Monitoring Module for RA ''' import sys import os import time from ncclient import manager from ncclient import transport from ncclient import operations USERNAME = None PASSWO...
31.645161
108
0.640571
563
4,905
5.436945
0.337478
0.047043
0.035283
0.030382
0.152238
0.112382
0.112382
0.069258
0.069258
0.039856
0
0.009975
0.26422
4,905
154
109
31.850649
0.838182
0.025892
0
0.098901
0
0
0.100369
0
0
0
0
0
0
0
null
null
0.043956
0.065934
null
null
0.010989
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b33a0a1302faab794aabfcd653702fef3513e51b
6,307
py
Python
live_cnn/webcam_cnn_pipeline.py
apapiu/live_cnn
d560c14269c81d9b437f4f25169e28c983a7b0af
[ "Apache-2.0" ]
3
2016-11-15T16:04:14.000Z
2017-02-05T23:51:29.000Z
live_cnn/webcam_cnn_pipeline.py
apapiu/live_cnn
d560c14269c81d9b437f4f25169e28c983a7b0af
[ "Apache-2.0" ]
null
null
null
live_cnn/webcam_cnn_pipeline.py
apapiu/live_cnn
d560c14269c81d9b437f4f25169e28c983a7b0af
[ "Apache-2.0" ]
null
null
null
#functions: #to get the dependencies create a conda environment: #conda create --name live_cnn keras ipython opencv scikit-learn #note that the dim ordering here is the theano one - it's faster on CPU. #TODO: do some detection/ bounding box CNN's? import time import os import cv2 import numpy as np from keras.models...
30.322115
96
0.641985
875
6,307
4.534857
0.323429
0.032258
0.025202
0.015121
0.32006
0.292843
0.21875
0.199597
0.185484
0.185484
0
0.032197
0.241636
6,307
207
97
30.468599
0.797407
0.269859
0
0.259615
0
0
0.068187
0.034876
0
0
0.001789
0.009662
0
1
0.086538
false
0
0.086538
0
0.182692
0.009615
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
0
0
0
0
1
0
b33b2269e6d2e9516aade7f62d1a13fd0a9f22d6
2,292
py
Python
robotarm/controllers/api_service.py
AmidBidee/Robot-Arm
cfacfc779b2f025846e9748167bcfb15ce207923
[ "MIT" ]
1
2022-03-27T20:09:10.000Z
2022-03-27T20:09:10.000Z
robotarm/controllers/api_service.py
AmidBidee/Robot-Arm
cfacfc779b2f025846e9748167bcfb15ce207923
[ "MIT" ]
4
2022-03-25T03:45:10.000Z
2022-03-29T14:31:16.000Z
robotarm/controllers/api_service.py
AmidBidee/RobotArm
cfacfc779b2f025846e9748167bcfb15ce207923
[ "MIT" ]
null
null
null
#!/usr/bin/python3 """ State Controller Module """ import subprocess from robotarm.controllers import proxy_url import requests import pathlib import psutil BASE_DIR = pathlib.Path(__file__).resolve().parent.parent #print(BASE_DIR) class APIServiceController(): """ contolls api service actions: h...
29.012658
104
0.544939
248
2,292
4.862903
0.491935
0.023217
0.034826
0.033168
0
0
0
0
0
0
0
0.007495
0.301483
2,292
78
105
29.384615
0.745784
0.196771
0
0
0
0
0.234979
0.098751
0
0
0
0
0
1
0.078947
false
0
0.131579
0
0.342105
0.131579
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
0
0
0
0
1
0
b33f00818b733f056f6f2336e9dfd9652c3b1327
597
py
Python
tests/components/jellyfin/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
tests/components/jellyfin/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
tests/components/jellyfin/const.py
MrDelik/core
93a66cc357b226389967668441000498a10453bb
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Constants for the Jellyfin integration tests.""" from typing import Final from jellyfin_apiclient_python.connection_manager import CONNECTION_STATE TEST_URL: Final = "https://example.com" TEST_USERNAME: Final = "test-username" TEST_PASSWORD: Final = "test-password" MOCK_SUCCESFUL_CONNECTION_STATE: Final = {"Stat...
33.166667
85
0.785595
71
597
6.28169
0.478873
0.168161
0.089686
0.112108
0.179372
0.179372
0
0
0
0
0
0.005545
0.093802
597
17
86
35.117647
0.818854
0.075377
0
0
0
0
0.179487
0
0
0
0
0
0
1
0
true
0.1
0.2
0
0.2
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
0
0
0
0
0
2
b33f09e5bf45a9316a7fe457b361826368d9568b
175
py
Python
mysite/LibreBadge/views/views.py
energized-id/energized-id
9dfd483e808cee7e87bfae02864ff2d614609890
[ "MIT" ]
8
2020-03-05T07:04:48.000Z
2022-03-29T14:32:00.000Z
mysite/LibreBadge/views/views.py
energized-id/energized-id
9dfd483e808cee7e87bfae02864ff2d614609890
[ "MIT" ]
36
2020-02-26T18:15:37.000Z
2020-11-25T05:56:09.000Z
mysite/LibreBadge/views/views.py
energized-id/energized-id
9dfd483e808cee7e87bfae02864ff2d614609890
[ "MIT" ]
2
2021-06-20T06:27:16.000Z
2021-11-12T10:48:14.000Z
from .imports import * #Put all views that don't belong elsewere here @login_required def index(request): return render(request, 'LibreBadge/home.html', context = {})
25
50
0.725714
24
175
5.25
0.958333
0
0
0
0
0
0
0
0
0
0
0
0.165714
175
7
51
25
0.863014
0.257143
0
0
0
0
0.153846
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
b33f2a6de57090a527f6078cd21b1bc58dc5b6e8
1,266
py
Python
examples/basic.py
kpchand/firepack
082b2477024c928e1999691b17eb3c07f015d79f
[ "MIT" ]
1
2021-06-14T10:18:57.000Z
2021-06-14T10:18:57.000Z
examples/basic.py
kpchand/firepack
082b2477024c928e1999691b17eb3c07f015d79f
[ "MIT" ]
null
null
null
examples/basic.py
kpchand/firepack
082b2477024c928e1999691b17eb3c07f015d79f
[ "MIT" ]
null
null
null
from firepack.fields import IntField, StrField from firepack.service import FireService from firepack.errors import SkipError, ValidationError CRAWLED_DB = [] def page_name_validator(name, value): if not value.endswith('.html'): raise ValidationError(name, 'I only know html pages!') class Crawler(Fire...
28.133333
84
0.665877
163
1,266
5.030675
0.496933
0.058537
0.041463
0
0
0
0
0
0
0
0
0.00203
0.221959
1,266
45
84
28.133333
0.830457
0.172986
0
0
0
0
0.131478
0
0
0
0
0
0
1
0.178571
false
0
0.107143
0.035714
0.428571
0.107143
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
0
0
0
0
1
0
b33f68c75544b629936c29fb4b8ae81e16ce8cfe
10,460
py
Python
dependencies/panda/Panda3D-1.10.0-x64/python/Lib/JOD/JamoDrumNodePath.py
CrankySupertoon01/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
1
2021-02-13T22:40:50.000Z
2021-02-13T22:40:50.000Z
dependencies/panda/Panda3D-1.10.0-x64/python/Lib/JOD/JamoDrumNodePath.py
CrankySupertoonArchive/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
1
2018-07-28T20:07:04.000Z
2018-07-30T18:28:34.000Z
dependencies/panda/Panda3D-1.10.0-x64/python/Lib/JOD/JamoDrumNodePath.py
CrankySupertoonArchive/Toontown-2
60893d104528a8e7eb4aced5d0015f22e203466d
[ "MIT" ]
2
2019-12-02T01:39:10.000Z
2021-02-13T22:41:00.000Z
""" NodePath for Jam-o-Drum model @author: Ben Buchwald <bb2@alumni.cmu.edu> Last Updated: 11/29/2005 @var DRUMPAD_RADIUS: constant representing the radius of the drumpad as a percentage of the radius of the table @type DRUMPAD_RADIUS: float @var SPINNER_RADIUS: constant representing the radius o...
33.101266
96
0.60631
1,247
10,460
5.056937
0.194066
0.024738
0.011418
0.016175
0.342372
0.315255
0.295116
0.230891
0.230891
0.230891
0
0.01731
0.298566
10,460
315
97
33.206349
0.84217
0.39847
0
0.169355
0
0
0.013998
0
0
0
0
0
0
1
0.137097
false
0
0.056452
0
0.233871
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
0
0
0
0
1
0
b34056015462e1089eaab43dc86088ca8783c08f
2,927
py
Python
src/apps/alarm_clock/tests/test_api.py
stefanhoelzl/alarm-clock
efba84e71fcade26bef020dc7eaa10181ea9f96c
[ "MIT" ]
1
2019-07-31T12:39:53.000Z
2019-07-31T12:39:53.000Z
src/apps/alarm_clock/tests/test_api.py
stefanhoelzl/alarm-clock
efba84e71fcade26bef020dc7eaa10181ea9f96c
[ "MIT" ]
null
null
null
src/apps/alarm_clock/tests/test_api.py
stefanhoelzl/alarm-clock
efba84e71fcade26bef020dc7eaa10181ea9f96c
[ "MIT" ]
1
2019-10-04T04:32:20.000Z
2019-10-04T04:32:20.000Z
import pytest from unittest.mock import patch from ..api import * from ..alarm import Alarm from .. import AlarmClockApp from ..alarm_states import Disabled, Enabled class AlarmClockMock(AlarmClockApp): auto_store = False def __init__(self, alarms=None, off=False, snooze=False): super().__init__() ...
27.35514
78
0.617014
393
2,927
4.473282
0.183206
0.067691
0.0876
0.0876
0.471559
0.331058
0.182594
0.182594
0.163823
0.163823
0
0.044045
0.239836
2,927
106
79
27.613208
0.746067
0
0
0.270588
0
0
0.08507
0
0
0
0
0
0.282353
1
0.035294
false
0
0.070588
0
0.129412
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
0
0
0
0
1
0
b340e1518e138957e56fd973250c45b5d93fb474
4,519
py
Python
skipole/skiadmin/skiadminpackages/editfiles/editfile.py
bernie-skipole/skipole
b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9
[ "MIT" ]
null
null
null
skipole/skiadmin/skiadminpackages/editfiles/editfile.py
bernie-skipole/skipole
b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9
[ "MIT" ]
null
null
null
skipole/skiadmin/skiadminpackages/editfiles/editfile.py
bernie-skipole/skipole
b45d3291c593e7c03c053ab4f192f1ecc5c3e9b9
[ "MIT" ]
null
null
null
"Functions implementing FilePage editing" from ... import ValidateError, FailPage, ServerError from ....ski.project_class_definition import SectionData from ... import skilift from ....skilift import editpage from .. import utils def retrieve_edit_filepage(skicall): "Retrieves widget data for the edit file...
31.823944
115
0.680239
563
4,519
5.250444
0.198934
0.102842
0.101489
0.022327
0.456022
0.403248
0.366712
0.315968
0.315968
0.259134
0
0
0.215313
4,519
141
116
32.049645
0.833615
0.100686
0
0.464646
0
0
0.204475
0
0
0
0
0
0
1
0.040404
false
0
0.050505
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
b3411f8bec2f4f619f83a292d7fea679c2334e6a
5,583
py
Python
django_resto/settings/base.py
sunilsm7/django_resto
b7698653093af7e6f26dd0d0c7b8d6046b402ea4
[ "MIT" ]
1
2017-08-03T01:40:12.000Z
2017-08-03T01:40:12.000Z
django_resto/settings/base.py
sunilsm7/django_resto
b7698653093af7e6f26dd0d0c7b8d6046b402ea4
[ "MIT" ]
null
null
null
django_resto/settings/base.py
sunilsm7/django_resto
b7698653093af7e6f26dd0d0c7b8d6046b402ea4
[ "MIT" ]
null
null
null
""" Django settings for django_resto project. Generated by 'django-admin startproject' using Django 1.11.3. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ impo...
28.340102
105
0.716819
629
5,583
6.173291
0.375199
0.053567
0.035024
0.045068
0.178213
0.165079
0.114087
0.114087
0.063611
0.031934
0
0.028902
0.163353
5,583
197
106
28.340102
0.802398
0.249866
0
0
1
0
0.497231
0.39947
0
0
0
0
0
1
0
false
0.051724
0.008621
0
0.008621
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
0
0
0
2
b3419549c4ca01cf1366c673fc700d7d9a60d784
5,710
py
Python
alab/norm.py
WeAllOneCode/PGS2
9df272984eacf4e0ea87f1f80e4fdcc9ea1a7a37
[ "MIT" ]
null
null
null
alab/norm.py
WeAllOneCode/PGS2
9df272984eacf4e0ea87f1f80e4fdcc9ea1a7a37
[ "MIT" ]
null
null
null
alab/norm.py
WeAllOneCode/PGS2
9df272984eacf4e0ea87f1f80e4fdcc9ea1a7a37
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (C) 2015 University of Southern California and # Nan Hua # # Authors: Nan Hua # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, eith...
31.032609
123
0.515762
800
5,710
3.58625
0.30375
0.03137
0.010457
0.01917
0.236668
0.158243
0.131056
0.131056
0.121994
0.097595
0
0.024123
0.375657
5,710
183
124
31.202186
0.780645
0.203328
0
0.333333
0
0
0.058513
0
0
0
0
0
0
0
null
null
0.008547
0.025641
null
null
0.059829
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b342a3c46ccc9eff45c7a93f20bcee1cba5cd708
23,313
py
Python
src/radixlib/provider.py
0xOmarA/RadixLib
85d75a47d4c4df4c1a319b74857ae2c513933623
[ "MIT" ]
32
2022-01-12T16:52:28.000Z
2022-03-24T18:05:47.000Z
src/radixlib/provider.py
0xOmarA/RadixLib
85d75a47d4c4df4c1a319b74857ae2c513933623
[ "MIT" ]
3
2022-01-12T17:01:55.000Z
2022-02-12T15:14:16.000Z
src/radixlib/provider.py
0xOmarA/RadixLib
85d75a47d4c4df4c1a319b74857ae2c513933623
[ "MIT" ]
1
2022-01-21T04:28:07.000Z
2022-01-21T04:28:07.000Z
from radixlib.api_types.identifiers import ( TransactionIdentifier, ValidatorIdentifier, NetworkIdentifier, AccountIdentifier, TokenIdentifier, StateIdentifier, ) from radixlib.actions import ActionType from radixlib.network import Network import radixlib as radix import requests from typing im...
39.313659
134
0.59306
2,513
23,313
5.388778
0.144847
0.050953
0.01403
0.034559
0.48213
0.421356
0.362871
0.34345
0.310959
0.299586
0
0.001009
0.320079
23,313
593
135
39.313659
0.853322
0.473513
0
0.443262
0
0.003546
0.124018
0.024156
0
0
0
0
0
1
0.078014
false
0
0.021277
0
0.177305
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
0
0
0
0
1
0
b345ff960926f97d7b31e1112f2806939c9439c7
1,127
py
Python
db_etl_update_db/queries.py
publichealthengland/coronavirus-dashboard-pipeline-etl
efcf5c77091afe8a0f7edce2e5934fe8c1f6dc1c
[ "MIT" ]
7
2021-02-14T12:42:56.000Z
2022-03-02T09:14:22.000Z
db_etl_update_db/queries.py
publichealthengland/coronavirus-dashboard-pipeline-etl
efcf5c77091afe8a0f7edce2e5934fe8c1f6dc1c
[ "MIT" ]
19
2021-11-03T09:21:00.000Z
2022-03-07T09:26:47.000Z
db_etl_update_db/queries.py
publichealthengland/coronavirus-dashboard-pipeline-etl
efcf5c77091afe8a0f7edce2e5934fe8c1f6dc1c
[ "MIT" ]
2
2021-03-03T16:52:51.000Z
2022-02-28T16:22:33.000Z
#!/usr/bin python3 STATS_QUERY = """\ INSERT INTO covid19.release_stats (release_id, record_count) SELECT ts.release_id AS id, COUNT(*) AS counter FROM covid19.time_series AS ts WHERE ts.partition_id = ANY('{partitions}'::VARCHAR[]) GROUP BY ts.release_id ON CONFLICT ( release_id ) DO UPDATE SET record_count = EXC...
43.346154
75
0.651287
149
1,127
4.845638
0.328859
0.180055
0.166205
0.222992
0.519391
0.353186
0.274238
0.274238
0.174515
0
0
0.031486
0.295475
1,127
25
76
45.08
0.877834
0.015084
0
0.095238
0
0
0.953111
0.066727
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b34624bfe3809ef151eb67f5a9916a24938c1e64
3,109
py
Python
setup.py
Mr0l3/filometro
46af52121fc3ed94935c9965d2ff51d2d26d1809
[ "MIT" ]
null
null
null
setup.py
Mr0l3/filometro
46af52121fc3ed94935c9965d2ff51d2d26d1809
[ "MIT" ]
null
null
null
setup.py
Mr0l3/filometro
46af52121fc3ed94935c9965d2ff51d2d26d1809
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import os import sys from shutil import rmtree from setuptools import setup, find_packages, Command from filometro import __version__ from filometro import __author__ here = os.path.abspath(os.path.dirname(__file__)) class PublishCommand(Command): """Support setup.py publish.""" d...
30.480392
129
0.630749
344
3,109
5.607558
0.511628
0.015552
0.0648
0.060135
0.099533
0
0
0
0
0
0
0.010513
0.235124
3,109
102
130
30.480392
0.796888
0.034738
0
0.076923
0
0.012821
0.432107
0.010033
0
0
0
0
0
1
0.051282
false
0.038462
0.076923
0
0.166667
0.064103
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
0
0
0
0
1
0
b346352117cdba0c6b2f29860a945cac009480d1
2,953
py
Python
nmcli/dummy/_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
1
2021-12-29T17:02:28.000Z
2021-12-29T17:02:28.000Z
nmcli/dummy/_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
45
2021-01-04T12:05:07.000Z
2021-04-21T14:35:55.000Z
nmcli/dummy/_device.py
thex12/nmcli
af0df0283b2d8dbf9158248e69cf1aebcdabeaa1
[ "MIT" ]
2
2021-03-26T12:35:07.000Z
2021-05-01T02:15:16.000Z
from typing import List, Tuple from .._device import DeviceControlInterface, DeviceDetails from ..data.device import Device, DeviceWifi class DummyDeviceControl(DeviceControlInterface): @property def show_args(self): return self._show_args @property def connect_args(self): return self...
31.084211
69
0.651202
358
2,953
4.97486
0.125698
0.089837
0.10219
0.111174
0.293655
0.253229
0.224031
0.224031
0.16283
0.16283
0
0
0.257027
2,953
94
70
31.414894
0.811759
0
0
0.24
0
0
0.013884
0
0
0
0
0
0
1
0.24
false
0.026667
0.04
0.08
0.44
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
0
0
0
0
1
b34719cd1fc2bb1e55eb9ba89ae807337753e699
801
py
Python
examples/abcbook/example206.py
martinlackner/approval-multiwinner
17bb6294b1910531b66c457f7b1a34a966d4113d
[ "MIT" ]
2
2019-07-10T08:54:43.000Z
2019-09-09T16:17:04.000Z
examples/abcbook/example206.py
martinlackner/approval-multiwinner
17bb6294b1910531b66c457f7b1a34a966d4113d
[ "MIT" ]
1
2019-09-11T21:29:47.000Z
2019-09-11T21:29:47.000Z
examples/abcbook/example206.py
martinlackner/approval-multiwinner
17bb6294b1910531b66c457f7b1a34a966d4113d
[ "MIT" ]
1
2019-09-11T16:56:23.000Z
2019-09-11T16:56:23.000Z
""" Example 2.6 (PAV, seq-PAV, revseq-PAV). From "Multi-Winner Voting with Approval Preferences" by Martin Lackner and Piotr Skowron https://arxiv.org/abs/2007.01795 """ from abcvoting import abcrules from abcvoting.preferences import Profile from abcvoting import misc from abcvoting.output import output, DETAILS ou...
24.272727
87
0.705368
125
801
4.424
0.456
0.094033
0.068716
0.014467
0
0
0
0
0
0
0
0.027457
0.13608
801
32
88
25.03125
0.771676
0.25593
0
0
0
0
0.034072
0
0
0
0
0
0
1
0
false
0
0.266667
0
0.266667
0.2
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
0
0
0
0
1
0
b3490a3f712a2661b2490d387f96a6b22dd40ef8
7,605
py
Python
Cogs/Encode.py
Damiian1/techwizardshardware
97ceafc15036be4136e860076d73d74f1887f041
[ "MIT" ]
null
null
null
Cogs/Encode.py
Damiian1/techwizardshardware
97ceafc15036be4136e860076d73d74f1887f041
[ "MIT" ]
null
null
null
Cogs/Encode.py
Damiian1/techwizardshardware
97ceafc15036be4136e860076d73d74f1887f041
[ "MIT" ]
null
null
null
import asyncio import discord from discord.ext import commands import base64 import binascii import re from Cogs import Nullify def setup(bot): # Add the bot and deps settings = bot.get_cog("Settings") bot.add_cog(Encode(bot, settings)) class Encode: # Init with the bot reference def __init__(self, bot, set...
30.298805
126
0.687968
1,134
7,605
4.424162
0.169312
0.049432
0.074148
0.041459
0.480965
0.418975
0.340243
0.270082
0.243771
0.228025
0
0.019943
0.175805
7,605
250
127
30.42
0.780472
0.046811
0
0.352941
0
0.010695
0.128918
0
0
0
0.002355
0
0
1
0.064171
false
0.042781
0.037433
0.010695
0.294118
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
0
0
0
0
1
0
b34955dfe5c35177be930f5f64d0fb5e134d2832
1,968
py
Python
9.classes/a_first_look_at_classes.py
yuishihara/python_tutorial
c88db5b1c002dcf69e183ed1a45c02a08aee905c
[ "MIT" ]
null
null
null
9.classes/a_first_look_at_classes.py
yuishihara/python_tutorial
c88db5b1c002dcf69e183ed1a45c02a08aee905c
[ "MIT" ]
null
null
null
9.classes/a_first_look_at_classes.py
yuishihara/python_tutorial
c88db5b1c002dcf69e183ed1a45c02a08aee905c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 class MyClass: """A simple example class""" i = 12345 def f(self): return 'hello world' def class_objects(): print(MyClass.i) print(MyClass.f) print(MyClass.f(None)) x = MyClass() class Complex: def __init__(self, realpart, imagpart): ...
18.055046
47
0.554878
257
1,968
4.050584
0.241245
0.053794
0.042267
0.051873
0.400576
0.400576
0.358309
0.358309
0.358309
0.305476
0
0.011029
0.308943
1,968
108
48
18.222222
0.754412
0.022358
0
0.434211
0
0
0.059437
0
0
0
0
0
0
1
0.184211
false
0
0
0.013158
0.328947
0.197368
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
0
0
0
0
1
0
b34957302a3231537efa791864b2e7c0c023c81a
245
py
Python
40-49/44. strict_zip/strict_zip.py
dcragusa/PythonMorsels
5f75b51a68769036e4004e9ccdada6b220124ab6
[ "MIT" ]
1
2021-11-30T05:03:24.000Z
2021-11-30T05:03:24.000Z
40-49/44. strict_zip/strict_zip.py
dcragusa/PythonMorsels
5f75b51a68769036e4004e9ccdada6b220124ab6
[ "MIT" ]
null
null
null
40-49/44. strict_zip/strict_zip.py
dcragusa/PythonMorsels
5f75b51a68769036e4004e9ccdada6b220124ab6
[ "MIT" ]
2
2021-04-18T05:26:43.000Z
2021-11-28T18:46:43.000Z
from itertools import zip_longest def strict_zip(*sequences): sentinel = object() for tup in zip_longest(*sequences, fillvalue=sentinel): if sentinel in tup: raise ValueError('value out of range') yield tup
24.5
59
0.669388
31
245
5.193548
0.709677
0.124224
0
0
0
0
0
0
0
0
0
0
0.257143
245
9
60
27.222222
0.884615
0
0
0
0
0
0.073469
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
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
0
0
0
0
0
1
b349c7b8b877c643ef6d69427ce58c59318ed868
1,435
py
Python
src/tm/config/system/routes.py
calopez/pyramid_auth_api
d7854cf33ef5225f9e5d67c738775eaec99fb004
[ "MIT" ]
null
null
null
src/tm/config/system/routes.py
calopez/pyramid_auth_api
d7854cf33ef5225f9e5d67c738775eaec99fb004
[ "MIT" ]
2
2019-12-26T17:21:06.000Z
2020-01-06T19:31:59.000Z
src/tm/config/system/routes.py
calopez/pyramid_auth_api
d7854cf33ef5225f9e5d67c738775eaec99fb004
[ "MIT" ]
null
null
null
from pyramid.response import Response def my_view(request): return { 'user': { 'friendly_name': 'Carlos Andres Lopez'}} def home(request): return Response(''' <div style="margin: 200px"> <form action="login/facebook" method="POST"> <input type="submit" value="Authenticate With Facebook"...
39.861111
94
0.658537
166
1,435
5.566265
0.361446
0.107143
0.136364
0.233766
0.345238
0.227273
0
0
0
0
0
0.002542
0.1777
1,435
36
95
39.861111
0.780508
0.305923
0
0
0
0
0.389899
0.085859
0
0
0
0
0
1
0.125
false
0.041667
0.125
0.083333
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b34a6562345bbb78b3671e1bb467aac47ea7b5ce
1,664
py
Python
omega_miya/plugins/bilibili_dynamic_monitor/util.py
Ailitonia/nonebot_miya
71d8cf3e91bbb0dd63cbee85fd757c738b99f10c
[ "MIT" ]
5
2020-10-03T14:24:41.000Z
2021-03-05T12:36:44.000Z
omega_miya/plugins/bilibili_dynamic_monitor/util.py
Ailitonia/nonebot_miya
71d8cf3e91bbb0dd63cbee85fd757c738b99f10c
[ "MIT" ]
null
null
null
omega_miya/plugins/bilibili_dynamic_monitor/util.py
Ailitonia/nonebot_miya
71d8cf3e91bbb0dd63cbee85fd757c738b99f10c
[ "MIT" ]
null
null
null
import base64 import aiohttp from io import BytesIO from nonebot import log # 图片转base64 async def pic_2_base64(url: str) -> str: async def get_image(pic_url: str): timeout_count = 0 while timeout_count < 3: try: timeout = aiohttp.ClientTimeout(total=10) ...
39.619048
98
0.546875
196
1,664
4.44898
0.443878
0.034404
0.055046
0.048165
0.068807
0.068807
0.068807
0
0
0
0
0.056744
0.353966
1,664
41
99
40.585366
0.754419
0.005409
0
0.054054
0
0
0.221416
0
0
0
0
0
0
1
0
false
0
0.108108
0
0.216216
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
0
0
0
0
1
0
b34a72eb51bbf4be0f21e5a82d02a446a82a711f
2,972
py
Python
server_obj.py
varadhodiyil/vision_pipeline
3cf2925b9d799bbd0dbf213d23ca35bfed927381
[ "MIT" ]
1
2020-10-05T10:46:44.000Z
2020-10-05T10:46:44.000Z
server_obj.py
varadhodiyil/vision_pipeline
3cf2925b9d799bbd0dbf213d23ca35bfed927381
[ "MIT" ]
null
null
null
server_obj.py
varadhodiyil/vision_pipeline
3cf2925b9d799bbd0dbf213d23ca35bfed927381
[ "MIT" ]
null
null
null
from __future__ import print_function import sys import socket import numpy as np from PIL import Image try: import cPickle as pickle except ImportError: import pickle from datetime import datetime import threading from client_send_message import MessageSender from color_classifier import detect_color import ...
27.018182
92
0.569314
363
2,972
4.46281
0.349862
0.039506
0.011111
0.02716
0.119753
0.051852
0.051852
0.051852
0.051852
0
0
0.016481
0.305855
2,972
110
93
27.018182
0.768783
0.222073
0
0.088235
0
0
0.038899
0
0
0
0
0
0
1
0
false
0
0.205882
0
0.205882
0.073529
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
0
0
0
0
1
0
b34c9285365db87ed1c599e4cb5dbc704c6fe688
223
py
Python
blazeform/tests/renderers/withaction.py
blazelibs/blazeform
29722ed6398ab9883dd1e1d0e9d1cb04ed8bc0a7
[ "BSD-3-Clause" ]
null
null
null
blazeform/tests/renderers/withaction.py
blazelibs/blazeform
29722ed6398ab9883dd1e1d0e9d1cb04ed8bc0a7
[ "BSD-3-Clause" ]
6
2017-05-15T14:08:46.000Z
2020-10-23T21:31:00.000Z
blazeform/tests/renderers/withaction.py
blazelibs/blazeform
29722ed6398ab9883dd1e1d0e9d1cb04ed8bc0a7
[ "BSD-3-Clause" ]
1
2020-07-01T21:08:38.000Z
2020-07-01T21:08:38.000Z
from __future__ import absolute_import from blazeform.form import Form class TestForm(Form): def __init__(self): Form.__init__(self, 'withactionform', action='/submitto') self.add_text('text', 'Text')
24.777778
65
0.70852
27
223
5.333333
0.592593
0.111111
0
0
0
0
0
0
0
0
0
0
0.174888
223
8
66
27.875
0.782609
0
0
0
0
0
0.139013
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
b34ceef8d6c2e4dc17ff23fbef63dc632e613112
4,332
py
Python
legacy/metamodel/nn_generator/nn_trainer_evaluate.py
AlexJew/CityEnergyAnalyst
6eb372c79e5100a2d0abce78561ae368fb409cd1
[ "MIT" ]
null
null
null
legacy/metamodel/nn_generator/nn_trainer_evaluate.py
AlexJew/CityEnergyAnalyst
6eb372c79e5100a2d0abce78561ae368fb409cd1
[ "MIT" ]
null
null
null
legacy/metamodel/nn_generator/nn_trainer_evaluate.py
AlexJew/CityEnergyAnalyst
6eb372c79e5100a2d0abce78561ae368fb409cd1
[ "MIT" ]
null
null
null
# coding=utf-8 """ 'input_matrix.py' script hosts the following functions: (1) collect CEA inputs (2) collect CEA outputs (demands) (3) add delay to time-sensitive inputs (4) return the input and target matrices """ from math import sqrt import pandas as pd from legacy.metamodel.nn_generator import ra...
47.086957
106
0.707756
547
4,332
5.182815
0.279708
0.074074
0.034921
0.049383
0.401411
0.381658
0.299824
0.273369
0.164021
0.164021
0
0.009513
0.199215
4,332
91
107
47.604396
0.807726
0.051247
0
0
0
0
0.068747
0
0
0
0
0
0
1
0.044776
false
0
0.149254
0
0.208955
0.074627
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
0
0
0
0
1
0
b34f561782604d15fbd0ad5fb7b41eb487472431
1,512
py
Python
src/feedfetcher.py
moretti/comic-scraper
12c767499d64f43e0a9703598a6adcad6ffd6330
[ "Unlicense", "MIT" ]
1
2015-02-17T12:37:28.000Z
2015-02-17T12:37:28.000Z
src/feedfetcher.py
moretti/comic-scraper
12c767499d64f43e0a9703598a6adcad6ffd6330
[ "Unlicense", "MIT" ]
null
null
null
src/feedfetcher.py
moretti/comic-scraper
12c767499d64f43e0a9703598a6adcad6ffd6330
[ "Unlicense", "MIT" ]
null
null
null
import feedparser import models import time import datetime as dt from bs4 import BeautifulSoup VALID_IMAGE_ATTRIBUTES = ('alt', 'title', 'src') def fetch(url): f = feedparser.parse(url) feed = models.Feed() feed.link = url feed.website = f.feed.get('link') feed.title = f.feed.get('title') f...
25.2
105
0.618386
194
1,512
4.721649
0.324742
0.016376
0.026201
0.037118
0
0
0
0
0
0
0
0.001817
0.271825
1,512
59
106
25.627119
0.830154
0
0
0.044444
0
0
0.060185
0
0
0
0
0
0
1
0.066667
false
0
0.111111
0
0.288889
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
0
0
0
0
1
0
b351c2add51385b9b29daeb766b3694fbfb43cd6
365
py
Python
src/string_format.py
thehimel/hackerrank-python
e7b172b9379f89d4dbf99161491ae1e552f2692c
[ "MIT" ]
null
null
null
src/string_format.py
thehimel/hackerrank-python
e7b172b9379f89d4dbf99161491ae1e552f2692c
[ "MIT" ]
null
null
null
src/string_format.py
thehimel/hackerrank-python
e7b172b9379f89d4dbf99161491ae1e552f2692c
[ "MIT" ]
null
null
null
""" https://www.hackerrank.com/challenges/whats-your-name/problem Input: Ross Taylor Output: Hello Ross Taylor! You just delved into python. """ def print_full_name(first, last): print(f'Hello {first} {last}! You just delved into python.') if __name__ == '__main__': first_name, last_name = 'Ross', 'Taylor...
18.25
64
0.715068
53
365
4.622642
0.509434
0.122449
0.106122
0.138776
0.187755
0
0
0
0
0
0
0
0.150685
365
19
65
19.210526
0.790323
0.378082
0
0
0
0
0.310502
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.6
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
0
0
0
1
0
1