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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
717195d8ceb2b796d10faec0d1848d7aa17c5cb3 | 383 | py | Python | string-processing/p11878.py | sajjadt/competitive-programming | fb0844afba95383441f0c4c0c3b1a38078d24ec9 | [
"MIT"
] | 10 | 2019-03-29T08:37:10.000Z | 2021-12-29T14:06:57.000Z | string-processing/p11878.py | sajjadt/competitive-programming | fb0844afba95383441f0c4c0c3b1a38078d24ec9 | [
"MIT"
] | 1 | 2020-07-03T08:25:38.000Z | 2020-07-03T08:25:38.000Z | string-processing/p11878.py | sajjadt/competitive-programming | fb0844afba95383441f0c4c0c3b1a38078d24ec9 | [
"MIT"
] | 4 | 2019-05-30T16:04:48.000Z | 2020-10-22T21:42:25.000Z |
num_correct = 0
while True:
try:
line = input().strip()
l, r = line.split("=")
if r == "?":
continue
if "+" in l:
l1, l2 = l.split("+")
if int(l1) + int(l2) == int(r):
num_correct += 1
else:
l1, l2 = l.split("-")
if int(l1) - int(l2) == int(r):
num... | 16.652174 | 37 | 0.469974 | 54 | 383 | 3.259259 | 0.444444 | 0.227273 | 0.056818 | 0.113636 | 0.420455 | 0.420455 | 0.420455 | 0.420455 | 0.420455 | 0.420455 | 0 | 0.043478 | 0.339426 | 383 | 23 | 38 | 16.652174 | 0.652174 | 0 | 0 | 0.111111 | 0 | 0 | 0.013055 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
717271bf11ded3bb198b8e9a88d53ca4c99f4aaf | 1,676 | py | Python | grafana/common/querystatsgraph.py | MikeAT/visualizer | 946b98d82eaf7ec508861115585afd683fc49e5c | [
"MIT"
] | 6 | 2021-03-03T17:52:24.000Z | 2022-02-10T11:45:22.000Z | grafana/common/querystatsgraph.py | Acidburn0zzz/visualizer | 20fba91f0d26b98531f97f643c8329640d1c0d11 | [
"MIT"
] | 1 | 2021-04-29T12:34:04.000Z | 2021-04-29T14:50:17.000Z | grafana/common/querystatsgraph.py | Acidburn0zzz/visualizer | 20fba91f0d26b98531f97f643c8329640d1c0d11 | [
"MIT"
] | 2 | 2021-04-27T14:02:03.000Z | 2021-11-12T10:34:32.000Z | # Copyright 2021 Internet Corporation for Assigned Names and Numbers.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
#
# Developed by Sinodun IT (sinodun.com)
#
# Qu... | 30.472727 | 69 | 0.545346 | 183 | 1,676 | 4.945355 | 0.546448 | 0.01989 | 0.026519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009588 | 0.377685 | 1,676 | 54 | 70 | 31.037037 | 0.858102 | 0.200477 | 0 | 0.119048 | 0 | 0 | 0.655639 | 0.047368 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02381 | false | 0 | 0.047619 | 0.02381 | 0.095238 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
717b78a5825a5dd0c7d65d2ad2e27c267394323e | 985 | py | Python | tests/test_base.py | googlesky/fbchat | 8b70fe8bfdb8f350fc9beb7df7366ea709038a43 | [
"BSD-3-Clause"
] | null | null | null | tests/test_base.py | googlesky/fbchat | 8b70fe8bfdb8f350fc9beb7df7366ea709038a43 | [
"BSD-3-Clause"
] | null | null | null | tests/test_base.py | googlesky/fbchat | 8b70fe8bfdb8f350fc9beb7df7366ea709038a43 | [
"BSD-3-Clause"
] | 1 | 2018-07-13T01:47:29.000Z | 2018-07-13T01:47:29.000Z | import pytest
import py_compile
from glob import glob
from os import path, environ
from fbchat import FacebookError, Message, Client
def test_examples():
# Compiles the examples, to check for syntax errors
for name in glob(path.join(path.dirname(__file__), "../examples", "*.py")):
py_compile.compile(... | 24.02439 | 79 | 0.724873 | 130 | 985 | 5.330769 | 0.407692 | 0.05772 | 0.08658 | 0.098124 | 0.215007 | 0.11544 | 0.11544 | 0.11544 | 0 | 0 | 0 | 0.017073 | 0.167513 | 985 | 40 | 80 | 24.625 | 0.828049 | 0.049746 | 0 | 0.259259 | 0 | 0 | 0.086724 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 1 | 0.111111 | false | 0.148148 | 0.185185 | 0 | 0.296296 | 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 |
717d235a3c077f1326ef56f1b3553597e14f57f0 | 556 | py | Python | coursera/stanford-algo/dijkstra-shortest-path/big_load.py | akras14/cs-101 | 5a836482ae0cca21fea2d8b1ca4be43a6c5e9562 | [
"MIT"
] | null | null | null | coursera/stanford-algo/dijkstra-shortest-path/big_load.py | akras14/cs-101 | 5a836482ae0cca21fea2d8b1ca4be43a6c5e9562 | [
"MIT"
] | null | null | null | coursera/stanford-algo/dijkstra-shortest-path/big_load.py | akras14/cs-101 | 5a836482ae0cca21fea2d8b1ca4be43a6c5e9562 | [
"MIT"
] | null | null | null | """Load test data and run DI on it"""
from graph import Graph
from di import di
test = Graph()
with open("dijkstraData.txt") as f:
for d in f:
d = d.strip().split('\t')
from_node = int(d[0])
for e in d[1:]:
e = e.split(',')
to_node = int(e[0])
distance =... | 23.166667 | 55 | 0.544964 | 96 | 556 | 3.104167 | 0.5 | 0.040268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.07196 | 0.27518 | 556 | 24 | 56 | 23.166667 | 0.667494 | 0 | 0 | 0 | 0 | 0 | 0.103846 | 0.063462 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.105263 | null | null | 0.052632 | 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 |
717d8f8707af757f16e620453f6c3022fd64baf2 | 1,198 | py | Python | .qt_for_python/uic/preview.py | pecusys/isutils | 39fa92dc391cc430dcf1864f4c2f0212f0db58b6 | [
"MIT"
] | null | null | null | .qt_for_python/uic/preview.py | pecusys/isutils | 39fa92dc391cc430dcf1864f4c2f0212f0db58b6 | [
"MIT"
] | null | null | null | .qt_for_python/uic/preview.py | pecusys/isutils | 39fa92dc391cc430dcf1864f4c2f0212f0db58b6 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
################################################################################
## Form generated from reading UI file 'preview.ui'
##
## Created by: Qt User Interface Compiler version 6.2.3
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
###################... | 34.228571 | 80 | 0.610184 | 118 | 1,198 | 6.186441 | 0.711864 | 0.045205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013013 | 0.16611 | 1,198 | 34 | 81 | 35.235294 | 0.717718 | 0.186144 | 0 | 0 | 1 | 0 | 0.015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.176471 | 0 | 0.352941 | 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 |
718e2777ac7f55719e1bc7fb3b154a2d15943fef | 5,114 | py | Python | src/modules/bitmap/bitmap.py | fedelemantuano/spamscope | ffbfc53b9a3503ef3041cee94c6726c8b899118d | [
"Apache-2.0"
] | 252 | 2016-08-29T06:40:31.000Z | 2022-03-28T10:02:12.000Z | src/modules/bitmap/bitmap.py | fedelemantuano/spamscope | ffbfc53b9a3503ef3041cee94c6726c8b899118d | [
"Apache-2.0"
] | 19 | 2016-08-30T21:58:50.000Z | 2021-05-24T10:30:55.000Z | src/modules/bitmap/bitmap.py | fedelemantuano/spamscope | ffbfc53b9a3503ef3041cee94c6726c8b899118d | [
"Apache-2.0"
] | 59 | 2016-10-18T06:02:10.000Z | 2022-02-12T21:27:25.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Copyright 2016 Fedele Mantuano (https://www.linkedin.com/in/fmantuano/)
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/... | 24.946341 | 72 | 0.575675 | 607 | 5,114 | 4.764415 | 0.291598 | 0.051867 | 0.020747 | 0.010373 | 0.139696 | 0.139696 | 0.139696 | 0.139696 | 0.139696 | 0.139696 | 0 | 0.011317 | 0.326163 | 5,114 | 204 | 73 | 25.068627 | 0.827916 | 0.300939 | 0 | 0.268817 | 0 | 0 | 0.079167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.150538 | false | 0.064516 | 0.010753 | 0 | 0.311828 | 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 |
718f72d09f7390668dff8de2ef05c484202c9b5e | 2,944 | py | Python | doc/source/conf.py | stevelill/segreg | 71e213d8f36b7bf28d1975bd17b59f61d9dba174 | [
"BSD-3-Clause"
] | null | null | null | doc/source/conf.py | stevelill/segreg | 71e213d8f36b7bf28d1975bd17b59f61d9dba174 | [
"BSD-3-Clause"
] | null | null | null | doc/source/conf.py | stevelill/segreg | 71e213d8f36b7bf28d1975bd17b59f61d9dba174 | [
"BSD-3-Clause"
] | null | null | null | # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# http://www.sphinx-doc.org/en/master/config
# -- Path setup --------------------------------------------------------------
# If extensions (or module... | 31.319149 | 81 | 0.678668 | 387 | 2,944 | 5.087855 | 0.465116 | 0.031996 | 0.019299 | 0.015236 | 0.085323 | 0.035551 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0.15625 | 2,944 | 93 | 82 | 31.655914 | 0.787842 | 0.735054 | 0 | 0 | 0 | 0 | 0.24487 | 0.030096 | 0 | 0 | 0 | 0.010753 | 0 | 1 | 0.043478 | false | 0 | 0.130435 | 0 | 0.217391 | 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 |
7190f97874c732a64ac0b6be1294a2b9119306c4 | 263 | py | Python | app/app/urls.py | mohammadhsn/django-docker-recipie | 3c2ffcb97ce180b2ec392fa80002289c4d79a04f | [
"MIT"
] | 1 | 2019-06-10T14:48:52.000Z | 2019-06-10T14:48:52.000Z | app/app/urls.py | mohammadhsn/django-docker-recipie | 3c2ffcb97ce180b2ec392fa80002289c4d79a04f | [
"MIT"
] | null | null | null | app/app/urls.py | mohammadhsn/django-docker-recipie | 3c2ffcb97ce180b2ec392fa80002289c4d79a04f | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('api/users/', include('users.urls', namespace='users')),
path('api/recipes/', include('recipe.urls', namespace='recipes'))
]
| 29.222222 | 69 | 0.688213 | 33 | 263 | 5.484848 | 0.454545 | 0.110497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129278 | 263 | 8 | 70 | 32.875 | 0.790393 | 0 | 0 | 0 | 0 | 0 | 0.231939 | 0 | 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 | 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 |
719622655a0e8b2ebd393f196147377c949971d3 | 4,113 | py | Python | mpf/platforms/interfaces/light_platform_interface.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | mpf/platforms/interfaces/light_platform_interface.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | mpf/platforms/interfaces/light_platform_interface.py | cloudjor/mpf | 1cf6bf18b0d81120383b0b128b0ebbfa1c62717c | [
"MIT"
] | null | null | null | """Interface for a light hardware devices."""
import abc
import asyncio
from asyncio import AbstractEventLoop
from typing import Callable, Tuple, Any
class LightPlatformInterface(metaclass=abc.ABCMeta):
"""Interface for a light in hardware platforms."""
__slots__ = ["number"]
def __init__(self, number... | 32.385827 | 120 | 0.653538 | 513 | 4,113 | 4.988304 | 0.214425 | 0.060961 | 0.045721 | 0.046893 | 0.414224 | 0.388433 | 0.347792 | 0.317311 | 0.282532 | 0.282532 | 0 | 0.002944 | 0.256747 | 4,113 | 126 | 121 | 32.642857 | 0.834151 | 0.27255 | 0 | 0.383333 | 0 | 0 | 0.010784 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 1 | 0.233333 | false | 0 | 0.066667 | 0 | 0.466667 | 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 |
71965cb635ee0129c144a12f840dab50ce3412a7 | 11,625 | py | Python | hello.py | malinamolnar/bookchain | c82a1282a92f7ce7adb6a7c6543b6336623ae0ec | [
"Apache-2.0"
] | null | null | null | hello.py | malinamolnar/bookchain | c82a1282a92f7ce7adb6a7c6543b6336623ae0ec | [
"Apache-2.0"
] | null | null | null | hello.py | malinamolnar/bookchain | c82a1282a92f7ce7adb6a7c6543b6336623ae0ec | [
"Apache-2.0"
] | null | null | null | from cloudant import Cloudant
from cloudant.document import Document
from cloudant.query import Query
from flask import Flask, render_template, request, jsonify, redirect, url_for,g, flash, session
from flask_mail import Mail, Message
from werkzeug.security import generate_password_hash, check_password_hash
import atex... | 36.214953 | 197 | 0.612645 | 1,466 | 11,625 | 4.655525 | 0.150068 | 0.049231 | 0.038974 | 0.052747 | 0.434872 | 0.370549 | 0.293333 | 0.260366 | 0.212015 | 0.212015 | 0 | 0.00298 | 0.249548 | 11,625 | 320 | 198 | 36.328125 | 0.779344 | 0.052559 | 0 | 0.361538 | 0 | 0 | 0.175641 | 0.004457 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065385 | false | 0.057692 | 0.034615 | 0.015385 | 0.226923 | 0.007692 | 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 |
719675472d924b3e0009dfd8283d1be9a5dcc0a6 | 13,620 | py | Python | pyleecan/Classes/SlotUD2.py | stephane-eisen/pyleecan | 8444b8131c9eff11a616da8277fb1f280c8f70e5 | [
"Apache-2.0"
] | null | null | null | pyleecan/Classes/SlotUD2.py | stephane-eisen/pyleecan | 8444b8131c9eff11a616da8277fb1f280c8f70e5 | [
"Apache-2.0"
] | null | null | null | pyleecan/Classes/SlotUD2.py | stephane-eisen/pyleecan | 8444b8131c9eff11a616da8277fb1f280c8f70e5 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# File generated according to Generator/ClassesRef/Slot/SlotUD2.csv
# WARNING! All changes made in this file will be lost!
"""Method code available at https://github.com/Eomys/pyleecan/tree/master/pyleecan/Methods/Slot/SlotUD2
"""
from os import linesep
from sys import getsizeof
from logging im... | 36.127321 | 147 | 0.60536 | 1,714 | 13,620 | 4.54084 | 0.128938 | 0.097649 | 0.067455 | 0.085443 | 0.361814 | 0.238468 | 0.157137 | 0.113067 | 0.096492 | 0.071566 | 0 | 0.00671 | 0.310646 | 13,620 | 376 | 148 | 36.223404 | 0.822239 | 0.178341 | 0 | 0.185053 | 1 | 0.003559 | 0.092934 | 0.01464 | 0 | 0 | 0 | 0 | 0.003559 | 1 | 0.042705 | false | 0.003559 | 0.124555 | 0 | 0.245552 | 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 |
719a94008282e22dc68560f66bfae4da8de85d14 | 8,406 | py | Python | elements_sdk/models/production_partial_update.py | elements-storage/elements-sdk-python | 39c365fe079dcd5928c5fe1bbaa67389bd5a3d81 | [
"MIT"
] | 6 | 2020-11-16T23:15:18.000Z | 2022-03-14T03:56:12.000Z | elements_sdk/models/production_partial_update.py | elements-storage/elements-sdk-python | 39c365fe079dcd5928c5fe1bbaa67389bd5a3d81 | [
"MIT"
] | 1 | 2021-07-28T13:03:49.000Z | 2021-08-25T12:24:01.000Z | elements_sdk/models/production_partial_update.py | elements-storage/elements-sdk-python | 39c365fe079dcd5928c5fe1bbaa67389bd5a3d81 | [
"MIT"
] | null | null | null | # coding: utf-8
"""
ELEMENTS API
The version of the OpenAPI document: 2
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from elements_sdk.configuration import Configuration
class ProductionPartialUpdate(object):
"""NOTE: This class is auto genera... | 29.914591 | 187 | 0.612301 | 915 | 8,406 | 5.473224 | 0.139891 | 0.033546 | 0.162141 | 0.138379 | 0.521765 | 0.422724 | 0.388778 | 0.322085 | 0.186102 | 0.114816 | 0 | 0.017001 | 0.300262 | 8,406 | 280 | 188 | 30.021429 | 0.83441 | 0.314894 | 0 | 0.108527 | 1 | 0 | 0.0932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.155039 | false | 0 | 0.031008 | 0 | 0.317829 | 0.015504 | 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 |
719debdb40d06e15a44a583b892f3ecd5329313d | 1,721 | py | Python | tests/011_nomenclature.py | sveetch/py-css-styleguide | 27aed5cf7e992e4a8e8d0f997c29af8063419657 | [
"MIT"
] | null | null | null | tests/011_nomenclature.py | sveetch/py-css-styleguide | 27aed5cf7e992e4a8e8d0f997c29af8063419657 | [
"MIT"
] | 17 | 2018-04-14T15:10:29.000Z | 2022-03-26T17:59:18.000Z | tests/011_nomenclature.py | sveetch/py-css-styleguide | 27aed5cf7e992e4a8e8d0f997c29af8063419657 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import pytest
from py_css_styleguide.exceptions import StyleguideValidationError
from py_css_styleguide.nomenclature import (
is_reserved_rule, is_reserved_property,
is_valid_rule, is_valid_property,
)
@pytest.mark.parametrize('name, expected', [
(
"palette",
False... | 18.115789 | 66 | 0.614178 | 184 | 1,721 | 5.429348 | 0.222826 | 0.07007 | 0.126126 | 0.15015 | 0.727728 | 0.647648 | 0.481481 | 0.391391 | 0.258258 | 0.258258 | 0 | 0.006923 | 0.244625 | 1,721 | 94 | 67 | 18.308511 | 0.761538 | 0.012202 | 0 | 0.725 | 0 | 0 | 0.122497 | 0 | 0 | 0 | 0 | 0 | 0.025 | 1 | 0.075 | false | 0 | 0.0375 | 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 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
71a49559fe444b57ffbf36bb995e9d6660cce478 | 5,384 | py | Python | MR-OCP/mrcap/fiber.py | justi/m2g | 09e8b889889ee8d8fb08b9b6fcd726fb3d901644 | [
"Apache-2.0"
] | 12 | 2015-03-11T22:07:17.000Z | 2016-01-29T21:24:29.000Z | MR-OCP/mrcap/fiber.py | youngmook/m2g | 09e8b889889ee8d8fb08b9b6fcd726fb3d901644 | [
"Apache-2.0"
] | 213 | 2015-01-30T16:02:57.000Z | 2016-01-29T21:45:02.000Z | MR-OCP/mrcap/fiber.py | youngmook/m2g | 09e8b889889ee8d8fb08b9b6fcd726fb3d901644 | [
"Apache-2.0"
] | 5 | 2015-02-04T13:58:12.000Z | 2016-01-29T21:24:46.000Z |
# Copyright 2014 Open Connectome Project (http://openconnecto.me)
#
# 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 ap... | 29.582418 | 91 | 0.620357 | 637 | 5,384 | 5.153846 | 0.372057 | 0.046908 | 0.031069 | 0.021931 | 0.053914 | 0.030155 | 0 | 0 | 0 | 0 | 0 | 0.014452 | 0.267459 | 5,384 | 181 | 92 | 29.745856 | 0.817951 | 0.292348 | 0 | 0.096386 | 0 | 0 | 0.137782 | 0.006355 | 0 | 0 | 0 | 0.005525 | 0 | 0 | null | null | 0 | 0.048193 | null | null | 0.024096 | 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 |
71a5f125f66779eb9fe2e6734ac419ae50c84cdc | 910 | py | Python | ansible/environments/stage/dynamic_inventory.py | Otus-DevOps-2020-05/otus-ndenisova_infra | c65018d338e021f45ac58c9efc06f438bd817aaf | [
"MIT"
] | null | null | null | ansible/environments/stage/dynamic_inventory.py | Otus-DevOps-2020-05/otus-ndenisova_infra | c65018d338e021f45ac58c9efc06f438bd817aaf | [
"MIT"
] | 3 | 2020-06-28T18:30:38.000Z | 2020-07-14T19:59:06.000Z | ansible/old/dynamic_inventory.py | Otus-DevOps-2020-05/otus-ndenisova_infra | c65018d338e021f45ac58c9efc06f438bd817aaf | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import argparse
import subprocess
import json
parser = argparse.ArgumentParser()
parser.add_argument('--list', action = 'store_true')
args = parser.parse_args()
if args.list:
p = subprocess.Popen(["cd ../terraform/stage; terraform show | grep external_ip_address_app; cd -"], stdout=subproce... | 39.565217 | 239 | 0.656044 | 117 | 910 | 4.991453 | 0.478632 | 0.037671 | 0.054795 | 0.061644 | 0.469178 | 0.332192 | 0.226027 | 0.226027 | 0.226027 | 0.226027 | 0 | 0.002448 | 0.102198 | 910 | 22 | 240 | 41.363636 | 0.712362 | 0.021978 | 0 | 0 | 0 | 0.066667 | 0.457818 | 0.293588 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.2 | null | null | 0.133333 | 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 |
71acc9b522fe8fa7c47c269ad75eb6c18b87e064 | 2,879 | py | Python | interview-exp/Design-a-Stack-With-Increment-Operation-(Medium).py | huandrew99/LeetCode | aa36b48d06100ce5f0bc64c789a906ec29409440 | [
"MIT"
] | 36 | 2021-12-23T15:44:41.000Z | 2022-03-31T04:26:26.000Z | interview-exp/Design-a-Stack-With-Increment-Operation-(Medium).py | wzy0766/LeetCode-1 | 3070e672c519e8af74966811b8058a9baef8c0bc | [
"MIT"
] | null | null | null | interview-exp/Design-a-Stack-With-Increment-Operation-(Medium).py | wzy0766/LeetCode-1 | 3070e672c519e8af74966811b8058a9baef8c0bc | [
"MIT"
] | 11 | 2022-02-26T22:41:26.000Z | 2022-03-02T07:18:41.000Z | """
LC 1381
Design a stack which supports the following operations.
Implement the CustomStack class:
CustomStack(int maxSize) Initializes the object with maxSize which is the maximum number of elements in the stack or do nothing if the stack reached the maxSize.
void push(int x) Adds x to the top of the stack if the ... | 39.438356 | 172 | 0.582494 | 408 | 2,879 | 4.093137 | 0.264706 | 0.057485 | 0.035928 | 0.038922 | 0.134132 | 0.064671 | 0.064671 | 0.064671 | 0.064671 | 0.064671 | 0 | 0.055961 | 0.28621 | 2,879 | 72 | 173 | 39.986111 | 0.756691 | 0.767975 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0 | 0 | 0.421053 | 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 |
71aef268d10d429eb84d3c235b208f3896c1cf68 | 255 | py | Python | 6.py | eliascmaciiel/Exercicios_LP_1B | f56d49cde772bbc3fe9e205693fbe2c5612eae49 | [
"MIT"
] | null | null | null | 6.py | eliascmaciiel/Exercicios_LP_1B | f56d49cde772bbc3fe9e205693fbe2c5612eae49 | [
"MIT"
] | null | null | null | 6.py | eliascmaciiel/Exercicios_LP_1B | f56d49cde772bbc3fe9e205693fbe2c5612eae49 | [
"MIT"
] | null | null | null | numero = float(input("Digite um número."))
dobro = numero * 2
triplo = numero * 3
raiz = numero ** 0.5
print ("O número escolhido foi: {} \n dobro do número é: {} \n O triplo do número é: {} \n A raiz quadrada é: {}".format (numero, dobro, triplo,raiz)) | 36.428571 | 150 | 0.647059 | 42 | 255 | 3.928571 | 0.547619 | 0.09697 | 0.109091 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019417 | 0.192157 | 255 | 7 | 150 | 36.428571 | 0.781553 | 0 | 0 | 0 | 0 | 0.2 | 0.472656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
71b02fe81d29e0aed40930c69dd276a7d016f490 | 1,169 | py | Python | tests/test_main.py | claudiovilloresi/capitals | 01d784d51f3412de21577516c3f5ec0b1d1a3428 | [
"MIT"
] | null | null | null | tests/test_main.py | claudiovilloresi/capitals | 01d784d51f3412de21577516c3f5ec0b1d1a3428 | [
"MIT"
] | 31 | 2019-11-19T17:33:14.000Z | 2019-12-17T22:05:52.000Z | tests/test_main.py | claudiovilloresi/capitals | 01d784d51f3412de21577516c3f5ec0b1d1a3428 | [
"MIT"
] | 3 | 2019-12-12T15:46:05.000Z | 2019-12-17T22:21:04.000Z | ''' test_main.py module is the module made
for running tets on the main function parse_allowed_input.
Here after settin up a temporary file in which running the tests
are run two main tests:
1. test 1 is testing the datafile with a wrong datafile
2. test 2 is testing the datafile with an empy one.... | 27.186047 | 76 | 0.689478 | 174 | 1,169 | 4.522989 | 0.396552 | 0.099111 | 0.086404 | 0.050826 | 0.210928 | 0.149936 | 0 | 0 | 0 | 0 | 0 | 0.006742 | 0.238666 | 1,169 | 42 | 77 | 27.833333 | 0.877528 | 0.41574 | 0 | 0.222222 | 0 | 0 | 0.084112 | 0.082555 | 0 | 0 | 0 | 0 | 0.222222 | 1 | 0.222222 | false | 0 | 0.166667 | 0 | 0.444444 | 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 |
71b24908428fd1803ef59c55e89bed51658d0458 | 706 | py | Python | change_service_instances_min.py | achapkowski/5_minute_Tutorials | ed5abb75775ff37f448b7d103e201dfd79a7dbf2 | [
"Apache-2.0"
] | 1 | 2020-08-06T16:53:36.000Z | 2020-08-06T16:53:36.000Z | change_service_instances_min.py | achapkowski/5_minute_Tutorials | ed5abb75775ff37f448b7d103e201dfd79a7dbf2 | [
"Apache-2.0"
] | null | null | null | change_service_instances_min.py | achapkowski/5_minute_Tutorials | ed5abb75775ff37f448b7d103e201dfd79a7dbf2 | [
"Apache-2.0"
] | 2 | 2020-04-02T21:48:45.000Z | 2020-04-22T11:37:05.000Z | from arcgis.gis import GIS
gis = GIS(profile='your_enterprise_profile', verify_cert=False, trust_env=True)
servers = gis.admin.servers.list()
for server in servers:
for service in server.services.list():
if service.properties.type.lower() == "imageserver" and \
service.properties.minIns... | 37.157895 | 81 | 0.631728 | 76 | 706 | 5.776316 | 0.539474 | 0.193622 | 0.113895 | 0.164009 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003868 | 0.267705 | 706 | 18 | 82 | 39.222222 | 0.845261 | 0 | 0 | 0 | 0 | 0 | 0.216885 | 0.126638 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.066667 | 0.133333 | 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 |
71b3a912a63b3d0c78e3af08b6b13e76944e1ab7 | 145 | py | Python | riemann/acoustics_variable_1D_constants.py | ranocha/riemann | d7b4d72d1147eee12e60a64f46a7e076b28a212d | [
"BSD-3-Clause"
] | 27 | 2015-03-08T03:42:34.000Z | 2021-12-21T01:46:12.000Z | riemann/acoustics_variable_1D_constants.py | ranocha/riemann | d7b4d72d1147eee12e60a64f46a7e076b28a212d | [
"BSD-3-Clause"
] | 47 | 2015-02-11T15:39:22.000Z | 2021-04-25T01:56:46.000Z | riemann/acoustics_variable_1D_constants.py | ranocha/riemann | d7b4d72d1147eee12e60a64f46a7e076b28a212d | [
"BSD-3-Clause"
] | 37 | 2015-01-09T21:44:08.000Z | 2021-11-21T12:53:04.000Z | num_waves = 2
num_eqn = 2
num_aux = 2
# Conserved quantities
pressure = 0
velocity = 1
# Auxiliary variables
impedance = 0
sound_speed = 1
| 12.083333 | 22 | 0.710345 | 22 | 145 | 4.5 | 0.727273 | 0.080808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.227586 | 145 | 11 | 23 | 13.181818 | 0.821429 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
71bae002f13bbc1fee4809ffc33235365bc3b1d1 | 24,266 | py | Python | fountain2pdf.py | Tagirijus/fountain2pdf | cd8affac31bef590a5b98c4aa5876f2038639f02 | [
"MIT"
] | 1 | 2020-05-20T08:43:16.000Z | 2020-05-20T08:43:16.000Z | fountain2pdf.py | Tagirijus/fountain2pdf | cd8affac31bef590a5b98c4aa5876f2038639f02 | [
"MIT"
] | 3 | 2019-11-11T19:43:46.000Z | 2020-01-13T09:35:54.000Z | fountain2pdf.py | Tagirijus/fountain2pdf | cd8affac31bef590a5b98c4aa5876f2038639f02 | [
"MIT"
] | 1 | 2019-11-29T09:46:43.000Z | 2019-11-29T09:46:43.000Z | import fountain2pdf_style_radioplay as style # define your style here
import fountain2pdf_generate_soundlist
from fountain2pdf_2html import Fountain2HTML
from reportlab.pdfgen import canvas
from reportlab.platypus import SimpleDocTemplate, Paragraph, PageBreak, Spacer
from fountain import fountain
import sys
impor... | 31.720261 | 88 | 0.540427 | 2,700 | 24,266 | 4.711481 | 0.127778 | 0.025155 | 0.021696 | 0.021225 | 0.441396 | 0.405 | 0.337159 | 0.313262 | 0.286534 | 0.232529 | 0 | 0.010464 | 0.358073 | 24,266 | 764 | 89 | 31.76178 | 0.806189 | 0.097585 | 0 | 0.441331 | 1 | 0 | 0.078373 | 0 | 0 | 0 | 0 | 0.001309 | 0 | 1 | 0.029772 | false | 0.001751 | 0.015762 | 0.001751 | 0.091068 | 0.022767 | 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 |
71bc0953b6cb3f0c729edb4efd99e0fc3e83eb97 | 836 | py | Python | django_uwsgi/panels.py | unbit/django-uwsgi | f6d452427eedf499e167ef63dacae955b17d0949 | [
"MIT"
] | 187 | 2015-02-10T23:26:28.000Z | 2022-02-25T14:51:45.000Z | django_uwsgi/panels.py | unbit/django-uwsgi | f6d452427eedf499e167ef63dacae955b17d0949 | [
"MIT"
] | 1,153 | 2015-04-24T10:47:00.000Z | 2022-03-30T15:28:14.000Z | django_uwsgi/panels.py | unbit/django-uwsgi | f6d452427eedf499e167ef63dacae955b17d0949 | [
"MIT"
] | 35 | 2015-04-24T09:35:11.000Z | 2022-03-21T18:41:01.000Z | from debug_toolbar.panels import Panel
from django.utils.translation import ugettext_lazy as _
from . import uwsgi
class UwsgiPanel(Panel):
'''
uWSGI Debug Toolbar Panel
'''
title = _('uWSGI Status')
nav_title = _('uWSGI Status')
template = 'uwsgi/panel.html'
@property
def nav_subtitl... | 27.866667 | 64 | 0.613636 | 96 | 836 | 5.15625 | 0.5 | 0.042424 | 0.064646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285885 | 836 | 29 | 65 | 28.827586 | 0.829146 | 0.029904 | 0 | 0.090909 | 0 | 0 | 0.115723 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.181818 | 0 | 0.545455 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
71bc9c7549529f971cdcc046b79e87974d994134 | 305 | py | Python | src/demosp/demosp/urls.py | haltu/velmu-mpass-demosp | 31b609d1413ab1bd9f833f42eac30366a6d3e6d0 | [
"MIT"
] | null | null | null | src/demosp/demosp/urls.py | haltu/velmu-mpass-demosp | 31b609d1413ab1bd9f833f42eac30366a6d3e6d0 | [
"MIT"
] | 1 | 2018-08-16T13:50:36.000Z | 2018-08-16T13:50:36.000Z | src/demosp/demosp/urls.py | haltu/velmu-mpass-demosp | 31b609d1413ab1bd9f833f42eac30366a6d3e6d0 | [
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
from django.conf.urls import url
from django.contrib.auth.decorators import login_required
from demosp.views import IndexView
urlpatterns = [
url(r'^$', login_required()(IndexView.as_view()),
name='demosp_index'),
]
# vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2
| 20.333333 | 57 | 0.727869 | 41 | 305 | 5.317073 | 0.707317 | 0.091743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.134426 | 305 | 14 | 58 | 21.785714 | 0.810606 | 0.239344 | 0 | 0 | 0 | 0 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 1 |
71bd1dd2f8c67355b3cc2095345d324d47609b6b | 400 | py | Python | goticket/tickets/migrations/0004_ticketcoupon_is_used.py | pmburu/GoTicketV2 | 97ca68a9ca5e1c5793c03c6983c5b343f59dc4d2 | [
"MIT"
] | null | null | null | goticket/tickets/migrations/0004_ticketcoupon_is_used.py | pmburu/GoTicketV2 | 97ca68a9ca5e1c5793c03c6983c5b343f59dc4d2 | [
"MIT"
] | 7 | 2022-02-14T23:32:37.000Z | 2022-03-31T23:29:05.000Z | goticket/tickets/migrations/0004_ticketcoupon_is_used.py | pmburu/GoTicketV2 | 97ca68a9ca5e1c5793c03c6983c5b343f59dc4d2 | [
"MIT"
] | null | null | null | # Generated by Django 3.2.11 on 2022-02-02 14:43
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('tickets', '0003_ticketorder_paid_amount'),
]
operations = [
migrations.AddField(
model_name='ticketcoupon',
name='i... | 21.052632 | 53 | 0.6125 | 42 | 400 | 5.714286 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069204 | 0.2775 | 400 | 18 | 54 | 22.222222 | 0.761246 | 0.115 | 0 | 0 | 1 | 0 | 0.153409 | 0.079545 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
71c027ac65b028c386e80153571e62b3f5594c29 | 3,985 | py | Python | open-pls-1.0/experiments/labeling_without_csv/csvgen.py | zyayoung/keras-yolo3 | 75aea279f0d21af8f0d6a2b89061ff3a4b198477 | [
"MIT"
] | null | null | null | open-pls-1.0/experiments/labeling_without_csv/csvgen.py | zyayoung/keras-yolo3 | 75aea279f0d21af8f0d6a2b89061ff3a4b198477 | [
"MIT"
] | null | null | null | open-pls-1.0/experiments/labeling_without_csv/csvgen.py | zyayoung/keras-yolo3 | 75aea279f0d21af8f0d6a2b89061ff3a4b198477 | [
"MIT"
] | null | null | null | #! /usr/bin/python
import sys
import re
from collections import defaultdict
def read_in_data(file_name, hash_list):
data_file = open(file_name, 'r')
#read all lines into hash table
for line in data_file:
if line.startswith("#") or len(line)==0:
continue
#print line.strip()
... | 28.876812 | 128 | 0.631619 | 582 | 3,985 | 4.14433 | 0.190722 | 0.106136 | 0.104478 | 0.029851 | 0.348259 | 0.189055 | 0.176617 | 0.107794 | 0.077114 | 0.062189 | 0 | 0.015842 | 0.223839 | 3,985 | 137 | 129 | 29.087591 | 0.763983 | 0.324718 | 0 | 0.205479 | 0 | 0 | 0.13609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.041096 | null | null | 0.109589 | 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 |
71c1446ccd397297c03c893c10be60a791ab6618 | 7,961 | py | Python | setup.py | PanDAWMS/panda-bigmon-core-new | 4b806af8b0616657dcf293af376c48f61c32b86f | [
"Apache-2.0"
] | 3 | 2017-07-19T18:29:23.000Z | 2021-11-18T04:57:18.000Z | setup.py | PanDAWMS/panda-bigmon-core-new | 4b806af8b0616657dcf293af376c48f61c32b86f | [
"Apache-2.0"
] | 3 | 2021-09-01T15:20:21.000Z | 2022-03-12T01:02:51.000Z | setup.py | PanDAWMS/panda-bigmon-core-new | 4b806af8b0616657dcf293af376c48f61c32b86f | [
"Apache-2.0"
] | 9 | 2015-11-17T15:52:23.000Z | 2021-09-07T12:23:16.000Z | #!/usr/bin/env python
#
# Setup prog for bigpandamon-core
#
#
from version import __version__, __provides__
import os
import re
import sys
import socket
import commands
import ConfigParser
from distutils.core import setup
from distutils.command.install import install as install_org
from distutils.command.install_data ... | 35.540179 | 97 | 0.582213 | 904 | 7,961 | 4.96792 | 0.212389 | 0.042084 | 0.04676 | 0.018704 | 0.198397 | 0.148519 | 0.12603 | 0.098864 | 0.082387 | 0.058784 | 0 | 0.002837 | 0.291546 | 7,961 | 223 | 98 | 35.699552 | 0.79344 | 0.111293 | 0 | 0.157895 | 0 | 0 | 0.101903 | 0.010089 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.065789 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
71c499d6f27a1e62642cc52fe4b0312fac4b72ee | 5,254 | py | Python | sdk/python/pulumi_azure_native/hardwaresecuritymodules/outputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/hardwaresecuritymodules/outputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/hardwaresecuritymodules/outputs.py | polivbr/pulumi-azure-native | 09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 32.63354 | 168 | 0.637609 | 559 | 5,254 | 5.77102 | 0.194991 | 0.027898 | 0.049597 | 0.035338 | 0.508679 | 0.49442 | 0.388407 | 0.343459 | 0.343459 | 0.343459 | 0 | 0.000256 | 0.256757 | 5,254 | 160 | 169 | 32.8375 | 0.825864 | 0.245147 | 0 | 0.456522 | 1 | 0.021739 | 0.174162 | 0.068684 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.076087 | 0 | 0.402174 | 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 |
71cd2dca0ee2df888ab89b6850e92c6dd39cfa8b | 676 | py | Python | linkedin/commands/config.py | tigillo/linkedin-cli | 43bed36a9165a1a55826b03eba8a246740a040fd | [
"Apache-2.0"
] | 12 | 2021-02-13T17:17:04.000Z | 2022-02-07T10:53:19.000Z | linkedin/commands/config.py | tigillo/linkedin-cli | 43bed36a9165a1a55826b03eba8a246740a040fd | [
"Apache-2.0"
] | 3 | 2021-09-18T09:49:02.000Z | 2021-11-23T17:01:41.000Z | linkedin/commands/config.py | tigillo/linkedin-cli | 43bed36a9165a1a55826b03eba8a246740a040fd | [
"Apache-2.0"
] | 3 | 2021-02-13T17:17:37.000Z | 2022-03-03T21:52:10.000Z | import linkedin.commands.command as command
import linkedin.utils.config as config
import logging
from getpass import getpass
logger = logging.getLogger(__name__)
class HelpCommand(command.BaseCommand):
def execute(self, args):
print("""usage: linkedin config [command]
Available commands... | 29.391304 | 83 | 0.711538 | 72 | 676 | 6.569444 | 0.472222 | 0.05074 | 0.088795 | 0.118393 | 0.295983 | 0.15222 | 0 | 0 | 0 | 0 | 0 | 0 | 0.207101 | 676 | 22 | 84 | 30.727273 | 0.882463 | 0 | 0 | 0.125 | 0 | 0 | 0.289941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.25 | 0 | 0.5 | 0.0625 | 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 |
71cf7d9c425d4bb292c6afb3e511c94c9f9297fa | 3,011 | py | Python | val_run1b.py | davidthaler/Kaggle-Avito-2015 | 58482f16d1429b1a024dfe35acbbc60f1eb7a6cd | [
"MIT"
] | null | null | null | val_run1b.py | davidthaler/Kaggle-Avito-2015 | 58482f16d1429b1a024dfe35acbbc60f1eb7a6cd | [
"MIT"
] | null | null | null | val_run1b.py | davidthaler/Kaggle-Avito-2015 | 58482f16d1429b1a024dfe35acbbc60f1eb7a6cd | [
"MIT"
] | 1 | 2019-12-04T08:23:33.000Z | 2019-12-04T08:23:33.000Z | '''
This script implements a full-data run of the ftrl-proximal model using
data pulled by avito2_io.join_with_ads(), with validation (no test).
This only runs one epoch (~200M rows).
author: David Thaler
date: July 2015
'''
import avito2_io
from hash_features import hash_features
from ftrl_proximal import ftrl_proxi... | 29.811881 | 78 | 0.54633 | 389 | 3,011 | 4.105398 | 0.401028 | 0.056982 | 0.035066 | 0.030056 | 0.204759 | 0.175329 | 0.146525 | 0.146525 | 0.146525 | 0.146525 | 0 | 0.043133 | 0.330123 | 3,011 | 100 | 79 | 30.11 | 0.748637 | 0.098306 | 0 | 0.307692 | 0 | 0 | 0.126013 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.030769 | 0.092308 | null | null | 0.076923 | 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 |
71d110fda088ed9d0fbc5812b50b610d5127387b | 2,460 | py | Python | ecomapp/urls.py | Jahangir-gi/Software-project | a3e8f98b2a051d03d3517411a763c43a020c86f3 | [
"Unlicense"
] | null | null | null | ecomapp/urls.py | Jahangir-gi/Software-project | a3e8f98b2a051d03d3517411a763c43a020c86f3 | [
"Unlicense"
] | null | null | null | ecomapp/urls.py | Jahangir-gi/Software-project | a3e8f98b2a051d03d3517411a763c43a020c86f3 | [
"Unlicense"
] | null | null | null | from django.urls import path
from .views import *
app_name = "ecomapp"
urlpatterns = [
# Client side pages
path("", HomeView.as_view(), name="home"),
path("about/", AboutView.as_view(), name="about"),
path("contact-us/", ContactView.as_view(), name="contact"),
path("all-products/", AllProductsVie... | 39.677419 | 84 | 0.680488 | 261 | 2,460 | 6.291188 | 0.409962 | 0.105968 | 0.176614 | 0.020706 | 0.023143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128049 | 2,460 | 61 | 85 | 40.327869 | 0.765501 | 0.013821 | 0 | 0 | 0 | 0 | 0.318201 | 0.071812 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.073171 | 0.04878 | 0 | 0.04878 | 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 |
71d19611bb7f9457bdff294d6356fa4988601e08 | 1,763 | py | Python | deepself/utils/config.py | Tomoya-K-0504/deepSELF | 0e5a7d0169b3e9edcb5c8d9802140a84ce5cb69a | [
"MIT"
] | 1 | 2021-08-17T09:56:47.000Z | 2021-08-17T09:56:47.000Z | deepself/utils/config.py | JIangjiang1108/deepSELF | 0e5a7d0169b3e9edcb5c8d9802140a84ce5cb69a | [
"MIT"
] | null | null | null | deepself/utils/config.py | JIangjiang1108/deepSELF | 0e5a7d0169b3e9edcb5c8d9802140a84ce5cb69a | [
"MIT"
] | 1 | 2021-08-17T09:56:41.000Z | 2021-08-17T09:56:41.000Z | from dataclasses import dataclass, field
from typing import List, Any
from hydra.core.config_store import ConfigStore
from deepself.models.nn_models.cnn import CNNConfig
from deepself.models.nn_models.cnn_rnn import CNNRNNConfig
from deepself.models.nn_models.nn import NNConfig
from deepself.models.nn_models.panns_cn... | 41.97619 | 119 | 0.759501 | 230 | 1,763 | 5.626087 | 0.313043 | 0.074189 | 0.083462 | 0.092736 | 0.190108 | 0.092736 | 0.047913 | 0 | 0 | 0 | 0 | 0.008339 | 0.115712 | 1,763 | 41 | 120 | 43 | 0.821681 | 0 | 0 | 0 | 0 | 0 | 0.137833 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.34375 | 0 | 0.46875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
71d22d87d081ca1831bd2c522c98f2abcedca1b2 | 281 | py | Python | doc/examples/blackboard_read_write.py | andrewbest-tri/py_trees | 8d08e625878ea801a09083f9ec8c3b47d7c3d8d1 | [
"BSD-3-Clause"
] | 201 | 2019-02-27T08:42:11.000Z | 2022-03-19T10:09:04.000Z | doc/examples/blackboard_read_write.py | andrewbest-tri/py_trees | 8d08e625878ea801a09083f9ec8c3b47d7c3d8d1 | [
"BSD-3-Clause"
] | 119 | 2019-02-25T10:21:29.000Z | 2022-03-08T18:04:05.000Z | doc/examples/blackboard_read_write.py | andrewbest-tri/py_trees | 8d08e625878ea801a09083f9ec8c3b47d7c3d8d1 | [
"BSD-3-Clause"
] | 59 | 2019-03-20T08:31:11.000Z | 2022-03-03T08:22:23.000Z | #!/usr/bin/env python3
import py_trees
blackboard = py_trees.blackboard.Client(name="Client")
blackboard.register_key(key="foo", access=py_trees.common.Access.WRITE)
blackboard.register_key(key="bar", access=py_trees.common.Access.READ)
blackboard.foo = "foo"
print(blackboard)
| 25.545455 | 71 | 0.790036 | 41 | 281 | 5.268293 | 0.463415 | 0.12963 | 0.157407 | 0.222222 | 0.231481 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003802 | 0.064057 | 281 | 10 | 72 | 28.1 | 0.81749 | 0.074733 | 0 | 0 | 0 | 0 | 0.057915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.166667 | 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 |
71dbb79ec6bc56c6e796abfdaf6053ae35938abe | 710 | py | Python | VideoSensors/CommunicationLayer/NATSCommunication.py | CommName/WildeLifeWatcher | 3ce3b564d0e6cc81ebc2b607a712580d3c388db6 | [
"MIT"
] | null | null | null | VideoSensors/CommunicationLayer/NATSCommunication.py | CommName/WildeLifeWatcher | 3ce3b564d0e6cc81ebc2b607a712580d3c388db6 | [
"MIT"
] | null | null | null | VideoSensors/CommunicationLayer/NATSCommunication.py | CommName/WildeLifeWatcher | 3ce3b564d0e6cc81ebc2b607a712580d3c388db6 | [
"MIT"
] | null | null | null | import asyncio
import json
from nats.aio.client import Client as NATS
import cv2
from CommunicationLayer import Communicator
class NATSCommunication (Communicator.Communicator):
nc = None
sid = None
sendTopicName = "WildLife.Sensors.Data"
logic = None
async def closeConnection(self):
awa... | 22.903226 | 89 | 0.709859 | 79 | 710 | 6.379747 | 0.518987 | 0.047619 | 0.065476 | 0.146825 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008787 | 0.198592 | 710 | 30 | 90 | 23.666667 | 0.876977 | 0 | 0 | 0 | 0 | 0 | 0.059659 | 0.059659 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.277778 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
71dbecff47100d32ce46bb0b321cc531fdd319b5 | 3,894 | py | Python | webapp/ProjectOllie/models.py | edwardspbe/ProjectOllie | fdc4c3be7afa34153faf3d3a26f067fe6f52027a | [
"MIT"
] | null | null | null | webapp/ProjectOllie/models.py | edwardspbe/ProjectOllie | fdc4c3be7afa34153faf3d3a26f067fe6f52027a | [
"MIT"
] | null | null | null | webapp/ProjectOllie/models.py | edwardspbe/ProjectOllie | fdc4c3be7afa34153faf3d3a26f067fe6f52027a | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
from django.db.models.signals import post_save
from django.dispatch import receiver
from datetime import datetime
from datetime import date
####################################################################################
#Website functions a... | 32.722689 | 84 | 0.638675 | 438 | 3,894 | 5.561644 | 0.312785 | 0.036946 | 0.037767 | 0.044335 | 0.271757 | 0.166667 | 0.126026 | 0.086207 | 0.086207 | 0.086207 | 0 | 0.016015 | 0.166153 | 3,894 | 118 | 85 | 33 | 0.734216 | 0.125578 | 0 | 0.097561 | 0 | 0 | 0.102073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04878 | false | 0 | 0.073171 | 0.04878 | 0.621951 | 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 |
71dc7dc3668a8836335f7bd5d066ee8921382bdd | 1,121 | py | Python | Interviews/Min_Num_to_Composite_Words.py | cyandterry/Python-Study | b40e6c4db10da417e72247f61146f7570621106a | [
"MIT"
] | 61 | 2015-02-03T20:25:55.000Z | 2021-05-17T19:33:40.000Z | Interviews/Min_Num_to_Composite_Words.py | cyandterry/Python-Study | b40e6c4db10da417e72247f61146f7570621106a | [
"MIT"
] | null | null | null | Interviews/Min_Num_to_Composite_Words.py | cyandterry/Python-Study | b40e6c4db10da417e72247f61146f7570621106a | [
"MIT"
] | 37 | 2015-02-04T07:12:52.000Z | 2020-05-16T18:47:16.000Z | """
#####From [Career Cup](http://www.careercup.com/page?pid=pinterest-interview-questions) Pinterest
Given an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words. You need to output the minimum number of words. For example, input: "... | 27.341463 | 228 | 0.553078 | 194 | 1,121 | 3.159794 | 0.371134 | 0.02447 | 0.053834 | 0.053834 | 0.107667 | 0.107667 | 0 | 0 | 0 | 0 | 0 | 0.016373 | 0.291704 | 1,121 | 40 | 229 | 28.025 | 0.755668 | 0.049955 | 0 | 0 | 0 | 0 | 0.031397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.041667 | null | null | 0.083333 | 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 |
71dec288c9d60dbbd0455362909296d613eb6ccb | 616 | py | Python | pplan/migrations/0007_monthbookingself.py | primetver/backoffice | 71fd34f37d5a78ea454e5baf1b3712bb916e1134 | [
"MIT"
] | 2 | 2019-12-07T00:12:48.000Z | 2021-03-26T19:53:51.000Z | pplan/migrations/0007_monthbookingself.py | primetver/backoffice | 71fd34f37d5a78ea454e5baf1b3712bb916e1134 | [
"MIT"
] | null | null | null | pplan/migrations/0007_monthbookingself.py | primetver/backoffice | 71fd34f37d5a78ea454e5baf1b3712bb916e1134 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.1 on 2018-11-16 11:00
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('pplan', '0006_auto_20181116_1358'),
]
operations = [
migrations.CreateModel(
name='MonthBookingSelf',
fields=[
]... | 23.692308 | 70 | 0.519481 | 51 | 616 | 6.156863 | 0.803922 | 0.070064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079284 | 0.36526 | 616 | 25 | 71 | 24.64 | 0.723785 | 0.073052 | 0 | 0 | 1 | 0 | 0.282953 | 0.086116 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 |
71e09bb02c1af5d98b6afd9180677bbfd67aef4b | 353 | py | Python | register/migrations/0013_auto_20190318_2047.py | LucasHiago/pede_ja | 62609a32d045b167a96be79cc93113d32dcfe917 | [
"MIT"
] | null | null | null | register/migrations/0013_auto_20190318_2047.py | LucasHiago/pede_ja | 62609a32d045b167a96be79cc93113d32dcfe917 | [
"MIT"
] | null | null | null | register/migrations/0013_auto_20190318_2047.py | LucasHiago/pede_ja | 62609a32d045b167a96be79cc93113d32dcfe917 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.4 on 2019-03-18 20:47
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('register', '0012_auto_20190318_2013'),
]
operations = [
migrations.AlterUniqueTogether(
name='establishmentmanager',
unique_... | 19.611111 | 48 | 0.620397 | 35 | 353 | 6.142857 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121094 | 0.274788 | 353 | 17 | 49 | 20.764706 | 0.71875 | 0.127479 | 0 | 0 | 1 | 0 | 0.166667 | 0.075163 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
71e2f704631299b989be7802b22be95886f291c1 | 2,109 | py | Python | benchs/kmeans_mnist.py | bonezhang/faiss | 65ee09484ffb14ae1c77e5a3c89dfa28d2d61677 | [
"MIT"
] | 2 | 2021-03-25T20:21:48.000Z | 2021-12-14T20:56:47.000Z | benchs/kmeans_mnist.py | bonezhang/faiss | 65ee09484ffb14ae1c77e5a3c89dfa28d2d61677 | [
"MIT"
] | null | null | null | benchs/kmeans_mnist.py | bonezhang/faiss | 65ee09484ffb14ae1c77e5a3c89dfa28d2d61677 | [
"MIT"
] | null | null | null | #! /usr/bin/env python2
# Copyright (c) Facebook, Inc. and its affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
import numpy as np
import time
import faiss
import sys
# Get command-line arguments
k = int(sys.argv[1])
ngpu = in... | 24.241379 | 70 | 0.635372 | 310 | 2,109 | 4.26129 | 0.458065 | 0.01514 | 0.021196 | 0.024981 | 0.100681 | 0.040878 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.238976 | 2,109 | 86 | 71 | 24.523256 | 0.795016 | 0.155524 | 0 | 0 | 0 | 0 | 0.082393 | 0.019752 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.075472 | null | null | 0.132075 | 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 |
71e3140bff133c163ac1dc2e1900cd9622229603 | 2,005 | py | Python | roku_app/cgibin/control_roku.py | ddboline/roku_app | 862a906e19e83097e862bcb9b5f27a5a0ab2910d | [
"MIT"
] | 1 | 2018-11-19T21:03:30.000Z | 2018-11-19T21:03:30.000Z | roku_app/cgibin/control_roku.py | ddboline/roku_app | 862a906e19e83097e862bcb9b5f27a5a0ab2910d | [
"MIT"
] | null | null | null | roku_app/cgibin/control_roku.py | ddboline/roku_app | 862a906e19e83097e862bcb9b5f27a5a0ab2910d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# enable debugging
import cgi
#import cgitb
#cgitb.enable()
#cgitb.enable(display=0, logdir='/tmp')
import socket
class OpenUnixSocketClient(object):
def __init__(self, host='localhost', portno=10888,
socketfile='/tmp/.record_roku_socket'):
self.sock = None
... | 26.733333 | 66 | 0.595511 | 243 | 2,005 | 4.728395 | 0.374486 | 0.034813 | 0.049608 | 0.062663 | 0.138381 | 0.138381 | 0.138381 | 0.138381 | 0.138381 | 0 | 0 | 0.01557 | 0.295262 | 2,005 | 74 | 67 | 27.094595 | 0.797594 | 0.050374 | 0 | 0.113208 | 0 | 0 | 0.121505 | 0.03871 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.037736 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
71e7775db810d9dacd38003049523ac1569fc6cb | 2,070 | py | Python | hash.py | sebbel/terraform-path-hash | 79fbc08acc197b80d2ec5126d4045fc7496c2984 | [
"MIT"
] | null | null | null | hash.py | sebbel/terraform-path-hash | 79fbc08acc197b80d2ec5126d4045fc7496c2984 | [
"MIT"
] | null | null | null | hash.py | sebbel/terraform-path-hash | 79fbc08acc197b80d2ec5126d4045fc7496c2984 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
#
# Generates a content hash of a path,
# ignoring file modification and access times.
#
import hashlib
import json
import os
import sys
def abort(message):
"""
Exits with an error message.
"""
sys.stderr.write(message + '\n')
sys.exit(1)
def list_files(top_path):
""... | 21.340206 | 80 | 0.646377 | 292 | 2,070 | 4.438356 | 0.366438 | 0.050926 | 0.034722 | 0.021605 | 0.054012 | 0.054012 | 0.054012 | 0 | 0 | 0 | 0 | 0.013522 | 0.249758 | 2,070 | 96 | 81 | 21.5625 | 0.820992 | 0.213527 | 0 | 0.044444 | 1 | 0 | 0.030245 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.088889 | false | 0 | 0.088889 | 0 | 0.222222 | 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 |
e07b577855759687df5287c2c1d528df1432c2c7 | 3,999 | py | Python | test.py | muhammedhassanm/NWPU-Crowd-Sample-Code | 5dd55fdd15c89236b3b823e19931bf3555b653ef | [
"MIT"
] | 1 | 2020-02-03T09:05:10.000Z | 2020-02-03T09:05:10.000Z | test.py | muhammedhassanm/NWPU-Crowd-Sample-Code | 5dd55fdd15c89236b3b823e19931bf3555b653ef | [
"MIT"
] | null | null | null | test.py | muhammedhassanm/NWPU-Crowd-Sample-Code | 5dd55fdd15c89236b3b823e19931bf3555b653ef | [
"MIT"
] | null | null | null | from matplotlib import pyplot as plt
import matplotlib
import os
import random
import torch
from torch.autograd import Variable
import torchvision.transforms as standard_transforms
import misc.transforms as own_transforms
import pandas as pd
from models.CC import CrowdCounter
from config import cfg
from misc.utils im... | 31.488189 | 117 | 0.565391 | 544 | 3,999 | 3.983456 | 0.318015 | 0.058145 | 0.018459 | 0.027688 | 0.183664 | 0.169359 | 0.096908 | 0.071989 | 0.071989 | 0.071989 | 0 | 0.037961 | 0.308327 | 3,999 | 126 | 118 | 31.738095 | 0.745481 | 0.030758 | 0 | 0.108696 | 0 | 0 | 0.022239 | 0.006724 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.152174 | null | null | 0.01087 | 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 |
e07ee81fa51b70465e77de2c90b176ab5a23bb8f | 944 | py | Python | beginners/sets_and_operators.py | TahirIqbalGit/100-Python-Programs | ba80072c674c1b0d704e4bbbe403e720ffb98973 | [
"MIT"
] | 2 | 2021-08-25T07:58:40.000Z | 2021-10-14T19:46:36.000Z | beginners/sets_and_operators.py | TahirIqbalGit/100-Python-Programs | ba80072c674c1b0d704e4bbbe403e720ffb98973 | [
"MIT"
] | null | null | null | beginners/sets_and_operators.py | TahirIqbalGit/100-Python-Programs | ba80072c674c1b0d704e4bbbe403e720ffb98973 | [
"MIT"
] | null | null | null | """ This file is create and managed by Tahir Iqbal
----------------------------------------------
It can be use only for education purpose
"""
# Set & Set Operations
num_set = {2, 3, 4, 6} # set() is known empty set
print(num_set)
# Adding items in set
num_set.add(1)
num_set.add(5)
# Remove item from set... | 31.466667 | 122 | 0.630297 | 178 | 944 | 3.241573 | 0.342697 | 0.097054 | 0.109185 | 0.110919 | 0.149047 | 0.149047 | 0.149047 | 0.149047 | 0.149047 | 0.076257 | 0 | 0.022758 | 0.208686 | 944 | 29 | 123 | 32.551724 | 0.749665 | 0.557203 | 0 | 0.133333 | 0 | 0 | 0.21374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
e08aa697d36978ca4b5054fd450cf5b20d613735 | 632 | py | Python | Eduvive/appdashboard/migrations/0002_auto_20210725_2129.py | coding-geek21/Eduvive | fe4c3cbc538bcd89cc11cb620504759667728aba | [
"MIT"
] | null | null | null | Eduvive/appdashboard/migrations/0002_auto_20210725_2129.py | coding-geek21/Eduvive | fe4c3cbc538bcd89cc11cb620504759667728aba | [
"MIT"
] | null | null | null | Eduvive/appdashboard/migrations/0002_auto_20210725_2129.py | coding-geek21/Eduvive | fe4c3cbc538bcd89cc11cb620504759667728aba | [
"MIT"
] | null | null | null | # Generated by Django 3.0.7 on 2021-07-25 15:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('appdashboard', '0001_initial'),
]
operations = [
migrations.AlterModelOptions(
name='blogmodel',
options={},
... | 27.478261 | 199 | 0.574367 | 58 | 632 | 6.206897 | 0.741379 | 0.072222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055794 | 0.262658 | 632 | 22 | 200 | 28.727273 | 0.716738 | 0.071203 | 0 | 0.125 | 1 | 0 | 0.206838 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.25 | 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 |
e08c128abb1522e7eb1a5b01af4180f7c9ba2ff9 | 825 | py | Python | hadoop_mapreduce/code/postAnswerLength/reducer.py | mwakaba2/big_data | 054b1b998d89d9642bfcf1b6c731ac7c0b19cf18 | [
"MIT"
] | null | null | null | hadoop_mapreduce/code/postAnswerLength/reducer.py | mwakaba2/big_data | 054b1b998d89d9642bfcf1b6c731ac7c0b19cf18 | [
"MIT"
] | null | null | null | hadoop_mapreduce/code/postAnswerLength/reducer.py | mwakaba2/big_data | 054b1b998d89d9642bfcf1b6c731ac7c0b19cf18 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
postId = None
answerCount = 0.0
answerLength = 0
postLength = 0
for line in sys.stdin:
thisPostId, thisNodeType, thisBodyLength = line.strip().split('\t')
if postId is not None and postId != thisPostId:
avgAnswerLength = answerLength / answerCount if answerCount > 0... | 26.612903 | 80 | 0.670303 | 98 | 825 | 5.642857 | 0.357143 | 0.086799 | 0.047016 | 0.090416 | 0.535262 | 0.379747 | 0.379747 | 0.379747 | 0.379747 | 0.379747 | 0 | 0.031153 | 0.221818 | 825 | 30 | 81 | 27.5 | 0.830218 | 0.019394 | 0 | 0.380952 | 0 | 0 | 0.052045 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.047619 | null | null | 0.095238 | 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 |
e08c40ec4d0789444fbdbb8adceb0cfb3f54aefb | 1,182 | py | Python | conda_build/exceptions.py | rmcgibbo/conda-build | 2ee0a079219fdc541a5579d09da35be0c887bc51 | [
"BSD-3-Clause"
] | null | null | null | conda_build/exceptions.py | rmcgibbo/conda-build | 2ee0a079219fdc541a5579d09da35be0c887bc51 | [
"BSD-3-Clause"
] | null | null | null | conda_build/exceptions.py | rmcgibbo/conda-build | 2ee0a079219fdc541a5579d09da35be0c887bc51 | [
"BSD-3-Clause"
] | null | null | null | import textwrap
SEPARATOR = "-" * 70
indent = lambda s: textwrap.fill(textwrap.dedent(s))
class CondaBuildException(Exception):
pass
class YamlParsingError(CondaBuildException):
pass
class UnableToParse(YamlParsingError):
def __init__(self, original, *args, **kwargs):
super(UnableToParse, sel... | 25.148936 | 71 | 0.588832 | 120 | 1,182 | 5.675 | 0.45 | 0.052863 | 0.048458 | 0.066079 | 0.079295 | 0.079295 | 0.079295 | 0 | 0 | 0 | 0 | 0.005903 | 0.283418 | 1,182 | 46 | 72 | 25.695652 | 0.798111 | 0 | 0 | 0.294118 | 0 | 0 | 0.175127 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.147059 | false | 0.058824 | 0.029412 | 0.088235 | 0.411765 | 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 |
e08f8c57476976faadb9df92b85ce77165f770a5 | 428 | py | Python | examples/yfs_example.py | dgnsrekt/requests-haor | 1cb6a0b533f030b1d465302bff69887e34d0f90f | [
"MIT"
] | 13 | 2020-10-12T00:50:41.000Z | 2022-01-10T19:20:24.000Z | examples/yfs_example.py | dgnsrekt/requests-haor | 1cb6a0b533f030b1d465302bff69887e34d0f90f | [
"MIT"
] | null | null | null | examples/yfs_example.py | dgnsrekt/requests-haor | 1cb6a0b533f030b1d465302bff69887e34d0f90f | [
"MIT"
] | 3 | 2020-10-26T09:03:34.000Z | 2021-05-24T12:22:37.000Z | from yfs import get_summary_page, get_multiple_summary_pages
from requests_whaor import RequestsWhaor
with RequestsWhaor(onion_count=3, max_retries=10) as requests_whaor:
while True:
x = get_multiple_summary_pages(
["TSLA", "AAPL", "MICROSOFT", "FCEL", "GOOGLE", "SPY"],
session=requ... | 32.923077 | 68 | 0.656542 | 51 | 428 | 5.215686 | 0.666667 | 0.146617 | 0.135338 | 0.172932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012461 | 0.25 | 428 | 12 | 69 | 35.666667 | 0.816199 | 0 | 0 | 0 | 0 | 0 | 0.070093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0.090909 | 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 |
e091f323834d71db9032708458efddb06a3bc7bf | 466 | py | Python | modules/destroy.py | ChrisChV/Binance_Manager_Telegram_Bot | 776ff183d5dc51b244b52acde289192f1c80709e | [
"MIT"
] | null | null | null | modules/destroy.py | ChrisChV/Binance_Manager_Telegram_Bot | 776ff183d5dc51b244b52acde289192f1c80709e | [
"MIT"
] | null | null | null | modules/destroy.py | ChrisChV/Binance_Manager_Telegram_Bot | 776ff183d5dc51b244b52acde289192f1c80709e | [
"MIT"
] | null | null | null | from ravegen import *
import os
import bm_client
@Command
def destroy(bot, update):
if not bm_client.verifyAdmin(update):
update.effective_message.reply_text("You don't have permissions")
return
command = "rm -Rf /etc/Binance_Manager_Telegram_Bot"
os.system(command)
command = "rm -Rf /e... | 25.888889 | 73 | 0.699571 | 62 | 466 | 5.112903 | 0.548387 | 0.07571 | 0.141956 | 0.170347 | 0.37224 | 0.176656 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197425 | 466 | 17 | 74 | 27.411765 | 0.847594 | 0 | 0 | 0.2 | 0 | 0 | 0.229614 | 0.070815 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.2 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e09812b1e9d46d976fff12c65013adc7f8c1689c | 596 | py | Python | setup.py | LLR-ILD/cosmics | 0a37ffae25db3ec0cb4d7110057bb9d35c46dcbc | [
"Apache-2.0"
] | 1 | 2022-01-28T10:46:13.000Z | 2022-01-28T10:46:13.000Z | setup.py | LLR-ILD/cosmics | 0a37ffae25db3ec0cb4d7110057bb9d35c46dcbc | [
"Apache-2.0"
] | null | null | null | setup.py | LLR-ILD/cosmics | 0a37ffae25db3ec0cb4d7110057bb9d35c46dcbc | [
"Apache-2.0"
] | null | null | null | from setuptools import setup
if "extras_require" not in locals().keys():
# Guard for the requirements-dev.txt test.
extras_require = {}
extras_require["lint"] = sorted({"flake8", "black"})
extras_require["test"] = sorted({"pytest"})
extras_require["develop"] = sorted(
set(
extras_require["lint"]... | 22.923077 | 74 | 0.630872 | 66 | 596 | 5.484848 | 0.545455 | 0.395028 | 0.104972 | 0.143646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002114 | 0.206376 | 596 | 25 | 75 | 23.84 | 0.763214 | 0.067114 | 0 | 0 | 0 | 0 | 0.151625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e09aa98742d60e5c98fc247cbb31bde2d7cc2197 | 4,166 | py | Python | CaliperInsertion_Ctrl.py | Ivanfdezr/CentralSoftware | 8681fedd4814dc60deb527a370411350b40c994c | [
"MIT"
] | null | null | null | CaliperInsertion_Ctrl.py | Ivanfdezr/CentralSoftware | 8681fedd4814dc60deb527a370411350b40c994c | [
"MIT"
] | 44 | 2021-02-10T23:58:28.000Z | 2021-12-14T02:38:21.000Z | CaliperInsertion_Ctrl.py | Ivanfdezr/CentralSoftware | 8681fedd4814dc60deb527a370411350b40c994c | [
"MIT"
] | null | null | null | from PyQt5.QtWidgets import *
from PyQt5.QtGui import *
from PyQt5.QtCore import *
from CaliperInsertion_Vst import Ui_CaliperInsertion
import CaliperInsertion_Mdl as mdl
import CtrlUtilities as cu
import MdlUtilities as mu
class Main_CaliperInsertion(Ui_CaliperInsertion):
def __init__(self, dialog):
Ui_Calipe... | 34.147541 | 98 | 0.782765 | 550 | 4,166 | 5.656364 | 0.218182 | 0.154291 | 0.189007 | 0.043394 | 0.386692 | 0.261009 | 0.102861 | 0.102861 | 0 | 0 | 0 | 0.002731 | 0.120979 | 4,166 | 122 | 99 | 34.147541 | 0.846805 | 0.022084 | 0 | 0.073171 | 0 | 0 | 0.011788 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.060976 | false | 0 | 0.085366 | 0 | 0.158537 | 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 |
e09ca59bac6e9b6d6d593be806695d5223ad3667 | 11,532 | py | Python | expertise/service/routes.py | openreview/openreview-expertise | da8a9fc3da25d8deae7023616c51a4ac7b196b67 | [
"MIT"
] | 12 | 2020-02-25T18:45:32.000Z | 2022-02-07T22:24:48.000Z | expertise/service/routes.py | openreview/openreview-expertise | da8a9fc3da25d8deae7023616c51a4ac7b196b67 | [
"MIT"
] | 52 | 2019-12-19T08:14:43.000Z | 2022-03-23T19:40:02.000Z | expertise/service/routes.py | openreview/openreview-expertise | da8a9fc3da25d8deae7023616c51a4ac7b196b67 | [
"MIT"
] | 3 | 2019-10-24T16:52:34.000Z | 2021-09-27T21:40:39.000Z | '''
Implements the Flask API endpoints.
'''
from expertise.service.expertise import ExpertiseService
import openreview
from openreview.openreview import OpenReviewException
from .utils import mock_client
from .utils import get_user_id
import flask
from copy import deepcopy
from flask_cors import CORS
from multiprocessi... | 35.266055 | 158 | 0.688952 | 1,506 | 11,532 | 5.11089 | 0.12085 | 0.057685 | 0.072106 | 0.076393 | 0.701962 | 0.684812 | 0.679356 | 0.659348 | 0.659348 | 0.659348 | 0 | 0.017222 | 0.219563 | 11,532 | 326 | 159 | 35.374233 | 0.838 | 0.202653 | 0 | 0.639344 | 0 | 0 | 0.136475 | 0.004691 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043716 | false | 0 | 0.054645 | 0 | 0.229508 | 0.005464 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e09fd991240cde69b7c4baf75361744e34a32d00 | 4,939 | py | Python | source/tests/py_tests/reference_check_for_templates_test.py | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 45 | 2016-06-21T22:28:43.000Z | 2022-03-26T12:21:46.000Z | source/tests/py_tests/reference_check_for_templates_test.py | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 6 | 2020-07-12T18:00:10.000Z | 2021-11-30T11:20:14.000Z | source/tests/py_tests/reference_check_for_templates_test.py | Panzerschrek/U-00DC-Sprache | eb677a66d178985433a62eb6b8a50ce2cdb14b1a | [
"BSD-3-Clause"
] | 5 | 2019-09-03T17:20:34.000Z | 2022-01-30T15:10:21.000Z | from py_tests_common import *
def ReferenceTagForTypeWithoutReferencesInside_Test0():
c_program_text= """
struct S{}
fn Foo( S& s'x' ){}
"""
tests_lib.build_program( c_program_text )
def ReferenceTagForTypeWithoutReferencesInside_UsedAsReturnReferenceTag_Test1():
c_program_text= """
struct S{}
auto cons... | 21.951111 | 162 | 0.632719 | 702 | 4,939 | 4.27208 | 0.160969 | 0.064021 | 0.096032 | 0.080027 | 0.692898 | 0.676892 | 0.63021 | 0.589863 | 0.545515 | 0.417139 | 0 | 0.022905 | 0.22211 | 4,939 | 224 | 163 | 22.049107 | 0.757678 | 0 | 0 | 0.491892 | 0 | 0.032432 | 0.613485 | 0.009719 | 0 | 0 | 0 | 0 | 0.032432 | 1 | 0.064865 | false | 0.010811 | 0.005405 | 0 | 0.086486 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e0a2243197b7cb61d185c236f0c3d63ff4db52d9 | 407 | py | Python | saleor/order/migrations/0082_auto_20200410_1532.py | jonathanbaugh/saleor | 80b110d69db87d1bce8f9c9b94584aeb8867f142 | [
"CC-BY-4.0"
] | null | null | null | saleor/order/migrations/0082_auto_20200410_1532.py | jonathanbaugh/saleor | 80b110d69db87d1bce8f9c9b94584aeb8867f142 | [
"CC-BY-4.0"
] | null | null | null | saleor/order/migrations/0082_auto_20200410_1532.py | jonathanbaugh/saleor | 80b110d69db87d1bce8f9c9b94584aeb8867f142 | [
"CC-BY-4.0"
] | null | null | null | # Generated by Django 3.0.5 on 2020-04-10 15:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('order', '0081_auto_20200406_0456'),
]
operations = [
migrations.AlterField(
model_name='order',
name='language_code'... | 21.421053 | 67 | 0.604423 | 46 | 407 | 5.217391 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111864 | 0.275184 | 407 | 18 | 68 | 22.611111 | 0.701695 | 0.110565 | 0 | 0 | 1 | 0 | 0.141667 | 0.063889 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e0a2e5378ea2df28ff71cb14da1d55598bd13a59 | 778 | py | Python | stockprophet/db/model/stock_daily_date.py | chihyi-liao/stockprophet | 891c91b2a446e3bd30bb56b88be3874d7dda1b8d | [
"BSD-3-Clause"
] | 1 | 2021-11-15T13:07:19.000Z | 2021-11-15T13:07:19.000Z | stockprophet/db/model/stock_daily_date.py | chihyi-liao/stockprophet | 891c91b2a446e3bd30bb56b88be3874d7dda1b8d | [
"BSD-3-Clause"
] | null | null | null | stockprophet/db/model/stock_daily_date.py | chihyi-liao/stockprophet | 891c91b2a446e3bd30bb56b88be3874d7dda1b8d | [
"BSD-3-Clause"
] | 1 | 2021-09-15T09:25:39.000Z | 2021-09-15T09:25:39.000Z | import datetime
from sqlalchemy import Table, Column
from sqlalchemy.orm import mapper
from sqlalchemy.types import Integer, Date
from stockprophet.db import metadata
class StockDailyDate(object):
__table__ = None
def __init__(self, date: datetime.date):
self.date = date
def __repr__(self):
... | 25.096774 | 64 | 0.715938 | 96 | 778 | 5.447917 | 0.375 | 0.114723 | 0.160612 | 0.181644 | 0.128107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181234 | 778 | 30 | 65 | 25.933333 | 0.821036 | 0 | 0 | 0 | 0 | 0 | 0.064267 | 0.028278 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.25 | 0.05 | 0.5 | 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 |
e0a41e1bb90a12239d6cd319817b0a85701d9d32 | 984 | py | Python | classification/migrations/0008_new_ekey_pubmed_search_terms.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 5 | 2021-01-14T03:34:42.000Z | 2022-03-07T15:34:18.000Z | classification/migrations/0008_new_ekey_pubmed_search_terms.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | 551 | 2020-10-19T00:02:38.000Z | 2022-03-30T02:18:22.000Z | classification/migrations/0008_new_ekey_pubmed_search_terms.py | SACGF/variantgrid | 515195e2f03a0da3a3e5f2919d8e0431babfd9c9 | [
"RSA-MD"
] | null | null | null | # Generated by Django 3.1 on 2020-11-13 03:41
from django.db import migrations
def new_ekey_pubmed_search_terms(apps, schema_editor):
EvidenceKey = apps.get_model("classification", "EvidenceKey")
kwargs = {
'key': 'pubmed_search_terms', 'mandatory': False, 'max_share_level': 'logged_in_users', 'orde... | 35.142857 | 113 | 0.681911 | 110 | 984 | 5.845455 | 0.727273 | 0.093313 | 0.132193 | 0.059098 | 0.07465 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023515 | 0.178862 | 984 | 27 | 114 | 36.444444 | 0.772277 | 0.043699 | 0 | 0 | 1 | 0 | 0.390841 | 0.094782 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.055556 | 0 | 0.277778 | 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 |
e0a4bebd96245f1bb452f72c36a44573bab2df5b | 11,410 | py | Python | tests/test_settings.py | pyepye/django-magiclink | c867d8143eae9a640304574d36490dcf0dd75aa7 | [
"MIT"
] | 34 | 2020-08-16T05:47:13.000Z | 2022-03-01T18:19:06.000Z | tests/test_settings.py | pyepye/django-magiclink | c867d8143eae9a640304574d36490dcf0dd75aa7 | [
"MIT"
] | 11 | 2021-01-04T23:51:50.000Z | 2021-09-19T14:21:44.000Z | tests/test_settings.py | pyepye/django-magiclink | c867d8143eae9a640304574d36490dcf0dd75aa7 | [
"MIT"
] | 5 | 2021-03-19T04:01:23.000Z | 2022-03-01T14:20:21.000Z | from importlib import reload
import pytest
from django.core.exceptions import ImproperlyConfigured
def test_login_sent_redirect(settings):
settings.MAGICLINK_LOGIN_SENT_REDIRECT = '/sent'
from magiclink import settings as mlsettings
reload(mlsettings)
assert mlsettings.LOGIN_SENT_REDIRECT == settings... | 31.78273 | 111 | 0.78326 | 1,350 | 11,410 | 6.282222 | 0.065185 | 0.150336 | 0.138545 | 0.149629 | 0.86794 | 0.684707 | 0.523759 | 0.479189 | 0.464568 | 0.464568 | 0 | 0.006883 | 0.159597 | 11,410 | 358 | 112 | 31.871508 | 0.877568 | 0.014373 | 0 | 0.459016 | 0 | 0 | 0.027961 | 0.002048 | 0 | 0 | 0 | 0 | 0.114754 | 1 | 0.192623 | false | 0 | 0.204918 | 0 | 0.397541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e0aa5f10b174530e4530fb1e824549fcbb9983e8 | 444 | py | Python | apps/wagtail/site_settings/migrations/0006_auto_20210615_2116.py | aadrm/breakoutwagtail | cf4ce09153adf2b5e14f15ffbc82bda754d427b3 | [
"MIT"
] | null | null | null | apps/wagtail/site_settings/migrations/0006_auto_20210615_2116.py | aadrm/breakoutwagtail | cf4ce09153adf2b5e14f15ffbc82bda754d427b3 | [
"MIT"
] | null | null | null | apps/wagtail/site_settings/migrations/0006_auto_20210615_2116.py | aadrm/breakoutwagtail | cf4ce09153adf2b5e14f15ffbc82bda754d427b3 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-06-15 19:16
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('site_settings', '0005_bookingsettings_slot_buffer_time'),
]
operations = [
migrations.AlterField(
model_name='bookingsettings',
... | 23.368421 | 67 | 0.644144 | 48 | 444 | 5.770833 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057229 | 0.252252 | 444 | 18 | 68 | 24.666667 | 0.777108 | 0.101351 | 0 | 0 | 1 | 0 | 0.231738 | 0.161209 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e0afa17eddfef067b5aca9f29cd72339f69bd2cb | 1,158 | py | Python | eurowiki/migrations/0001_initial.py | gtoffoli/django-eurowiki | 9688bea5afa3041479d9415a581b43a92deca8d0 | [
"MIT"
] | null | null | null | eurowiki/migrations/0001_initial.py | gtoffoli/django-eurowiki | 9688bea5afa3041479d9415a581b43a92deca8d0 | [
"MIT"
] | null | null | null | eurowiki/migrations/0001_initial.py | gtoffoli/django-eurowiki | 9688bea5afa3041479d9415a581b43a92deca8d0 | [
"MIT"
] | null | null | null | # Generated by Django 2.1.3 on 2020-08-12 22:37
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
('rdflib_django', '0002_auto_20181112_1317'),
]
operations = [
migrations.Cre... | 41.357143 | 199 | 0.674439 | 127 | 1,158 | 6 | 0.519685 | 0.041995 | 0.055118 | 0.086614 | 0.244094 | 0.244094 | 0.244094 | 0.244094 | 0.244094 | 0.244094 | 0 | 0.03452 | 0.199482 | 1,158 | 27 | 200 | 42.888889 | 0.787487 | 0.03886 | 0 | 0 | 1 | 0 | 0.219622 | 0.071107 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.15 | 0 | 0.35 | 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 |
e0b2c6b06456ea03e3b2313ddefaf3e4506d3fb7 | 1,224 | py | Python | crawler/main.py | priyakdey/github-api-crawler | 4621abb39ef6c901ffe21b0b2ce3e3c5c4aa3531 | [
"MIT"
] | 1 | 2021-11-25T18:52:01.000Z | 2021-11-25T18:52:01.000Z | crawler/main.py | priyakdey/github-api-crawler | 4621abb39ef6c901ffe21b0b2ce3e3c5c4aa3531 | [
"MIT"
] | 16 | 2021-10-02T20:44:51.000Z | 2021-10-11T12:22:45.000Z | crawler/main.py | priyakdey/github-api-crawler | 4621abb39ef6c901ffe21b0b2ce3e3c5c4aa3531 | [
"MIT"
] | 1 | 2021-11-23T23:44:45.000Z | 2021-11-23T23:44:45.000Z | import logging
from crawler import api_client
from crawler import banner
from crawler import db
from crawler.exceptions import APIException
from crawler.exceptions import DatabaseException
FORMAT = "%(asctime)s %(levelname)9s %(process)d --- [%(name)25s] : %(message)s"
logging.basicConfig(format=FORMAT, datefmt="%Y-%... | 37.090909 | 84 | 0.678922 | 148 | 1,224 | 5.493243 | 0.425676 | 0.098401 | 0.062731 | 0.103321 | 0.177122 | 0.177122 | 0.105781 | 0 | 0 | 0 | 0 | 0.005988 | 0.181373 | 1,224 | 32 | 85 | 38.25 | 0.805389 | 0.058007 | 0 | 0.074074 | 0 | 0.037037 | 0.266957 | 0.041739 | 0 | 0 | 0 | 0.03125 | 0 | 1 | 0.037037 | false | 0 | 0.222222 | 0 | 0.37037 | 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 |
e0b47c415f50fce7b1ccf68b94909161d3e27854 | 292 | py | Python | misc/calendar_map.py | iChunyu/LearnPython | dc46845da83e068d44a7b9a544af31436dde9ae2 | [
"MIT"
] | 2 | 2022-02-15T07:28:16.000Z | 2022-02-15T07:28:38.000Z | misc/calendar_map.py | iChunyu/LearnPython | dc46845da83e068d44a7b9a544af31436dde9ae2 | [
"MIT"
] | null | null | null | misc/calendar_map.py | iChunyu/LearnPython | dc46845da83e068d44a7b9a544af31436dde9ae2 | [
"MIT"
] | null | null | null | import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import calmap
all_days = pd.date_range('1/15/2014', periods=700, freq='D')
days = np.random.choice(all_days, 500)
events = pd.Series(np.random.randn(len(days)), index=days)
calmap.yearplot(events, year=2015)
plt.show()
| 24.333333 | 60 | 0.75 | 51 | 292 | 4.235294 | 0.647059 | 0.064815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065385 | 0.109589 | 292 | 11 | 61 | 26.545455 | 0.765385 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
e0b54f8ad21b17578f0a4d4e3a4f963f70a14c2d | 358 | py | Python | src/reward.py | RudrakshTuwani/ss-ope | d298e250744f9bf925036dd67b0589daaa6865b5 | [
"Apache-2.0"
] | null | null | null | src/reward.py | RudrakshTuwani/ss-ope | d298e250744f9bf925036dd67b0589daaa6865b5 | [
"Apache-2.0"
] | null | null | null | src/reward.py | RudrakshTuwani/ss-ope | d298e250744f9bf925036dd67b0589daaa6865b5 | [
"Apache-2.0"
] | 1 | 2021-09-28T07:51:39.000Z | 2021-09-28T07:51:39.000Z | import patsy
import pandas as pd
import numpy as np
class Reward():
def __init__(self, formula, weights):
self.formula = formula
self.weights = weights
def __call__(self, data: pd.DataFrame):
X = patsy.dmatrix(self.formula, data=data, return_type='dataframe')
return np.random.... | 25.571429 | 75 | 0.673184 | 49 | 358 | 4.734694 | 0.530612 | 0.142241 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003584 | 0.22067 | 358 | 13 | 76 | 27.538462 | 0.827957 | 0 | 0 | 0 | 0 | 0 | 0.02514 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.3 | 0 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
e0b579b847bc17539a45295f0058825182363f1b | 6,676 | py | Python | src/pynwb/ndx_survey_data/survey_definitions.py | catalystneuro/ndx-survey-data | fbaa5de2f17c9e8d091012858d13e4437adda945 | [
"BSD-3-Clause"
] | null | null | null | src/pynwb/ndx_survey_data/survey_definitions.py | catalystneuro/ndx-survey-data | fbaa5de2f17c9e8d091012858d13e4437adda945 | [
"BSD-3-Clause"
] | 11 | 2020-05-27T15:10:19.000Z | 2020-07-14T11:18:10.000Z | src/pynwb/ndx_survey_data/survey_definitions.py | catalystneuro/ndx-survey-data | fbaa5de2f17c9e8d091012858d13e4437adda945 | [
"BSD-3-Clause"
] | null | null | null | from .survey_data import QuestionResponse, SurveyTable
# define NRS table
nrs_pain_intensity_rating = QuestionResponse(name='pain_intensity_rating',
description='desc',
options=['0.0 (no pain)', '1.0', '2.0', '3.0', '4.0', '5.0',... | 46.685315 | 151 | 0.421061 | 510 | 6,676 | 5.311765 | 0.137255 | 0.143965 | 0.186785 | 0.138427 | 0.606497 | 0.344038 | 0.344038 | 0.344038 | 0.344038 | 0.344038 | 0 | 0.038117 | 0.481276 | 6,676 | 142 | 152 | 47.014085 | 0.744152 | 0.00749 | 0 | 0.427273 | 0 | 0 | 0.131078 | 0.015403 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.009091 | 0 | 0.009091 | 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 |
e0b64aba01b47f40424262c279ea594fde60463e | 20,529 | py | Python | tests/testbuilders.py | nickpeck/composerstoolkitv2 | 74a78c6e5aa0ad6ddadb69dc4f9600ddd91bc411 | [
"MIT"
] | null | null | null | tests/testbuilders.py | nickpeck/composerstoolkitv2 | 74a78c6e5aa0ad6ddadb69dc4f9600ddd91bc411 | [
"MIT"
] | null | null | null | tests/testbuilders.py | nickpeck/composerstoolkitv2 | 74a78c6e5aa0ad6ddadb69dc4f9600ddd91bc411 | [
"MIT"
] | null | null | null | import unittest
from composerstoolkit import *
class PermutationsTests(unittest.TestCase):
def test_permutate_single_generations(self):
assert list(Permutations([2,1,1,2])) == [
(1, 2, 1, 2),
(1, 1, 2, 2),
(2, 1, 2, 1),
(2, 2, 1, 1),
(2, 1, 1, 2... | 32.741627 | 76 | 0.535438 | 2,336 | 20,529 | 4.544949 | 0.095462 | 0.015259 | 0.015259 | 0.015824 | 0.763869 | 0.701422 | 0.650089 | 0.602053 | 0.552322 | 0.512574 | 0 | 0.071356 | 0.333041 | 20,529 | 627 | 77 | 32.741627 | 0.704061 | 0.001559 | 0 | 0.580357 | 0 | 0 | 0.002098 | 0 | 0 | 0 | 0 | 0 | 0.117857 | 1 | 0.110714 | false | 0.008929 | 0.003571 | 0 | 0.117857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e0ba88cf3dec7b76d2436716b97593b6a7db0abc | 1,382 | py | Python | Configuration/PyReleaseValidation/scripts/das-selected-lumis.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | Configuration/PyReleaseValidation/scripts/das-selected-lumis.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | Configuration/PyReleaseValidation/scripts/das-selected-lumis.py | nistefan/cmssw | ea13af97f7f2117a4f590a5e654e06ecd9825a5b | [
"Apache-2.0"
] | null | null | null | #!/bin/env python
import json , sys
input_range = []
output_files_list = []
lumi_ranges = sys.argv[1].split(':')
for lumi_range in lumi_ranges:
input_range.append(tuple(lumi_range.split(',')))
jdata = sys.stdin.read()
try:
lumi_data = json.loads(jdata)
except:
print jdata
exit (1)
lumi_data = lumi_data['data... | 27.64 | 83 | 0.693922 | 229 | 1,382 | 3.899563 | 0.262009 | 0.071669 | 0.050392 | 0.044793 | 0.156775 | 0.058231 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.182344 | 1,382 | 49 | 84 | 28.204082 | 0.781416 | 0.039074 | 0 | 0.04878 | 0 | 0 | 0.034717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.02439 | null | null | 0.04878 | 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 |
e0cb1a1ab56273dff553f3ee0ba9d679d81d43f7 | 5,040 | py | Python | controllers/reporting.py | monotasker/topoi | df20d72687f38145ee660430e8f46a8833cc6587 | [
"W3C"
] | null | null | null | controllers/reporting.py | monotasker/topoi | df20d72687f38145ee660430e8f46a8833cc6587 | [
"W3C"
] | null | null | null | controllers/reporting.py | monotasker/topoi | df20d72687f38145ee660430e8f46a8833cc6587 | [
"W3C"
] | null | null | null |
from collections import defaultdict
def list_by_tags():
"""
Controller function to allow listing notes based on the tags they contain.
"""
response.files.append(URL('static', 'plugin_ajaxselect/plugin_ajaxselect.css'))
response.files.append(URL('static', 'plugin_ajaxselect/plugin_ajaxselect.js'))... | 44.210526 | 113 | 0.566071 | 611 | 5,040 | 4.536825 | 0.171849 | 0.055556 | 0.032828 | 0.042929 | 0.391053 | 0.34596 | 0.309163 | 0.256854 | 0.239899 | 0.169192 | 0 | 0.003502 | 0.32004 | 5,040 | 113 | 114 | 44.60177 | 0.805369 | 0 | 0 | 0.23913 | 0 | 0 | 0.097975 | 0.01575 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.01087 | null | null | 0.021739 | 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 |
e0d0dfb84c4560c339ae9f9c0a42048d0e8cf6be | 1,834 | py | Python | python_curses/main.py | reuk/beatcomputer | f9329291e6369f20d4ca2019d4c2223ffa1993c5 | [
"BSD-2-Clause"
] | 6 | 2015-07-11T19:52:01.000Z | 2021-05-27T20:18:09.000Z | python_curses/main.py | reuk/beatcomputer | f9329291e6369f20d4ca2019d4c2223ffa1993c5 | [
"BSD-2-Clause"
] | null | null | null | python_curses/main.py | reuk/beatcomputer | f9329291e6369f20d4ca2019d4c2223ffa1993c5 | [
"BSD-2-Clause"
] | 1 | 2015-07-11T21:25:19.000Z | 2015-07-11T21:25:19.000Z | import curses
class Window(object):
def __init__(self, parent, nlines, ncols, begin_y = 0, begin_x = 0):
self.window = parent.derwin(nlines, ncols, begin_y, begin_x)
def derwin(self, nlines, ncols, begin_y = 0, begin_x = 0):
return self.window.derwin(nlines, ncols, begin_y, begin_x)
def a... | 27.787879 | 85 | 0.602508 | 261 | 1,834 | 4.02682 | 0.237548 | 0.08373 | 0.121789 | 0.129401 | 0.368221 | 0.277831 | 0.277831 | 0.277831 | 0.193149 | 0.193149 | 0 | 0.020849 | 0.267721 | 1,834 | 65 | 86 | 28.215385 | 0.761727 | 0 | 0 | 0.142857 | 0 | 0 | 0.014177 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.020408 | 0.020408 | null | null | 0.020408 | 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 |
e0d2fb811d9ba43b725ddc39d891ddb62458dfd0 | 1,045 | py | Python | vendas/models.py | iang12/Estoque_Django_Golden | 30d2cb87261c6bb0be3b6b5b88658974bf12dc0a | [
"MIT"
] | 1 | 2018-05-04T14:14:33.000Z | 2018-05-04T14:14:33.000Z | vendas/models.py | iang12/Estoque_Django_Golden | 30d2cb87261c6bb0be3b6b5b88658974bf12dc0a | [
"MIT"
] | null | null | null | vendas/models.py | iang12/Estoque_Django_Golden | 30d2cb87261c6bb0be3b6b5b88658974bf12dc0a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from django.db import models
from vendas.choices import *
from cadastro.models import Cliente
import datetime
class Servicos(models.Model):
nome = models.CharField( max_length=50)
preco = models.CharField( max_length=5)
data_cadastro = models.DateField(auto_now_add=True)
def __str__(self):... | 32.65625 | 95 | 0.761722 | 144 | 1,045 | 5.326389 | 0.458333 | 0.11734 | 0.043025 | 0.062581 | 0.052151 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010953 | 0.126316 | 1,045 | 31 | 96 | 33.709677 | 0.829135 | 0.020096 | 0 | 0.083333 | 0 | 0 | 0.136542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.166667 | 0.083333 | 0.916667 | 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 |
e0d4ad6c8cbc4e1f7fdd32538e35cbba1ff82ca6 | 1,422 | py | Python | cgi-bin/clean.py | bengood362/csci4140-asg1 | caa8aa61b2f6daefe4cde69a6b2d8fa23b2d4b1f | [
"ImageMagick"
] | null | null | null | cgi-bin/clean.py | bengood362/csci4140-asg1 | caa8aa61b2f6daefe4cde69a6b2d8fa23b2d4b1f | [
"ImageMagick"
] | null | null | null | cgi-bin/clean.py | bengood362/csci4140-asg1 | caa8aa61b2f6daefe4cde69a6b2d8fa23b2d4b1f | [
"ImageMagick"
] | null | null | null | #!/usr/bin/python
# clean.py
import time
import cgi
import subprocess
import db_util
import os
import utils
def htmlTop():
print("""Content-type:text/html\n\n
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'/>
<title>Try logging in...</title>... | 29.020408 | 166 | 0.579466 | 177 | 1,422 | 4.525424 | 0.463277 | 0.037453 | 0.018727 | 0.054931 | 0.249688 | 0.19226 | 0.134831 | 0.134831 | 0.134831 | 0.134831 | 0 | 0.008555 | 0.260197 | 1,422 | 48 | 167 | 29.625 | 0.752852 | 0.017581 | 0 | 0 | 0 | 0.05 | 0.362724 | 0.071685 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.15 | null | null | 0.15 | 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 |
e0d75cdcf116c2725d1610a9f8efb95b10609479 | 5,772 | py | Python | pyqt/getting_started/gw.py | CospanDesign/python | 9f911509aae7abd9237c14a4635294c7719c9129 | [
"MIT"
] | 5 | 2015-12-12T20:16:45.000Z | 2020-02-21T19:50:31.000Z | pyqt/getting_started/gw.py | CospanDesign/python | 9f911509aae7abd9237c14a4635294c7719c9129 | [
"MIT"
] | null | null | null | pyqt/getting_started/gw.py | CospanDesign/python | 9f911509aae7abd9237c14a4635294c7719c9129 | [
"MIT"
] | 2 | 2020-06-01T06:27:06.000Z | 2022-03-10T13:21:03.000Z | #! /usr/bin/python
import os
import sys
from PyQt4.Qt import *
from PyQt4.QtCore import *
from PyQt4 import QtCore
from PyQt4.QtGui import *
class MainView(QGraphicsView):
def __init__(self):
QGraphicsView.__init__(self)
self.scene = QGraphicsScene(self)
#self.setAcceptDrops(True)
#XXX: Maybe I shouldn... | 29.6 | 165 | 0.646916 | 759 | 5,772 | 4.855072 | 0.277997 | 0.029851 | 0.026052 | 0.032293 | 0.25943 | 0.203799 | 0.189145 | 0.153867 | 0.099322 | 0.090638 | 0 | 0.02381 | 0.199584 | 5,772 | 194 | 166 | 29.752577 | 0.77381 | 0.156445 | 0 | 0.223077 | 0 | 0 | 0.057645 | 0 | 0 | 0 | 0.000826 | 0 | 0 | 0 | null | null | 0 | 0.046154 | null | null | 0.107692 | 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 |
e0d8802b1763b68c7b4bb33632105f7a2d551cf2 | 423 | py | Python | ModelServices/MemoService.py | gelos12/FlaskCMSDDesign | 774fcbd9e24a2707e11a2e14da629761fed849ba | [
"MIT"
] | null | null | null | ModelServices/MemoService.py | gelos12/FlaskCMSDDesign | 774fcbd9e24a2707e11a2e14da629761fed849ba | [
"MIT"
] | null | null | null | ModelServices/MemoService.py | gelos12/FlaskCMSDDesign | 774fcbd9e24a2707e11a2e14da629761fed849ba | [
"MIT"
] | null | null | null | from Models.MemoModel import Memo
from Models.UserModel import User
from .DA import DataBaseAccess
class MemoService:
def __init__(self):
self.da = DataBaseAccess()
def get_memo(self):
models = [Memo, User.name]
inner_join_list = [
(User, User.user_id == Memo.user_id)
... | 23.5 | 75 | 0.652482 | 54 | 423 | 4.851852 | 0.425926 | 0.103053 | 0.148855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.262411 | 423 | 18 | 76 | 23.5 | 0.839744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0 | 0.230769 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
e0dadc25ac8560f2c5e37d94839e80688f0666f4 | 3,543 | py | Python | deepdefacer/defacer.py | josai/DeepDeface | b879cd84b6f6316c25de71b67eef85c6fe036276 | [
"MIT"
] | null | null | null | deepdefacer/defacer.py | josai/DeepDeface | b879cd84b6f6316c25de71b67eef85c6fe036276 | [
"MIT"
] | null | null | null | deepdefacer/defacer.py | josai/DeepDeface | b879cd84b6f6316c25de71b67eef85c6fe036276 | [
"MIT"
] | null | null | null | import argparse
import sys
import os
import numpy as np
import nibabel as nib
try:
from keras import backend as K
from keras.models import *
except:
print('---------------------------------------------------------------------------------------------------------------------------------------')
print(... | 38.51087 | 152 | 0.475868 | 348 | 3,543 | 4.626437 | 0.362069 | 0.074534 | 0.059627 | 0.024224 | 0.131677 | 0.037267 | 0 | 0 | 0 | 0 | 0 | 0.005919 | 0.141688 | 3,543 | 91 | 153 | 38.934066 | 0.523512 | 0 | 0 | 0.25 | 0 | 0.057692 | 0.490796 | 0.311243 | 0 | 0 | 0 | 0 | 0 | 1 | 0.019231 | false | 0 | 0.153846 | 0 | 0.173077 | 0.403846 | 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 |
e0dcee6de106b77133b2e4d6c351131ac0a76044 | 8,975 | py | Python | pysnmp-with-texts/CISCO-DMN-DSG-TSOUT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/CISCO-DMN-DSG-TSOUT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/CISCO-DMN-DSG-TSOUT-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module CISCO-DMN-DSG-TSOUT-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-DMN-DSG-TSOUT-MIB
# Produced by pysmi-0.3.4 at Wed May 1 11:55:16 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 ... | 122.945205 | 648 | 0.772591 | 1,036 | 8,975 | 6.69112 | 0.222008 | 0.064051 | 0.112089 | 0.00981 | 0.516013 | 0.318956 | 0.273803 | 0.259954 | 0.236007 | 0.236007 | 0 | 0.069347 | 0.082563 | 8,975 | 72 | 649 | 124.652778 | 0.772529 | 0.037883 | 0 | 0 | 0 | 0.015625 | 0.242175 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.03125 | 0.109375 | 0 | 0.109375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e0e14476d573b8c275cf2f4782b7d8f740bee787 | 2,645 | py | Python | logger.py | Moeed1mdnzh/iMCol | fc4d926e0dd46f017132c7525f747a82952626f8 | [
"MIT"
] | 1 | 2022-02-07T07:49:50.000Z | 2022-02-07T07:49:50.000Z | logger.py | Moeed1mdnzh/colImg | fc4d926e0dd46f017132c7525f747a82952626f8 | [
"MIT"
] | null | null | null | logger.py | Moeed1mdnzh/colImg | fc4d926e0dd46f017132c7525f747a82952626f8 | [
"MIT"
] | null | null | null | import cv2
import time
import numpy as np
class Logger:
base = "[INFO]: "
def webcam_access(self, access: bool):
if access:
print(f"{self.base}Could not access your webcam properly")
print(f"{self.base}Make sure you have a webcam set on your machine")
self.exit()
... | 33.910256 | 80 | 0.567486 | 366 | 2,645 | 4.013661 | 0.322404 | 0.057182 | 0.095303 | 0.133424 | 0.292716 | 0.238257 | 0.178353 | 0.123894 | 0.042206 | 0.042206 | 0 | 0.060879 | 0.285822 | 2,645 | 77 | 81 | 34.350649 | 0.716781 | 0 | 0 | 0.147541 | 0 | 0 | 0.252174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.229508 | false | 0 | 0.04918 | 0 | 0.344262 | 0.229508 | 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 |
e0ea75aaad055a1cfd077ba53dadfbf6b93631c0 | 384 | py | Python | tests/test_0876-fix-lost-slice-array-offset.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | 2 | 2019-09-12T03:07:23.000Z | 2019-09-27T05:32:07.000Z | tests/test_0876-fix-lost-slice-array-offset.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | 1 | 2019-09-26T17:57:45.000Z | 2019-09-26T17:57:45.000Z | tests/test_0876-fix-lost-slice-array-offset.py | douglasdavis/awkward-1.0 | f00775803a5568efb0a8e2dae3b1a4f23228fa40 | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE
import pytest # noqa: F401
import numpy as np # noqa: F401
import awkward as ak # noqa: F401
def test():
i = ak.Array([0, 1, 2, 3, 4, 5])
x = ak.Array([1.1, 2.2, 3.3, 4.4, 5.5, 6.6])
assert x[i[3:4].mask[[True]]].t... | 29.538462 | 87 | 0.583333 | 77 | 384 | 2.909091 | 0.467532 | 0.035714 | 0.125 | 0.080357 | 0.089286 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122187 | 0.190104 | 384 | 12 | 88 | 32 | 0.598071 | 0.307292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.125 | false | 0 | 0.375 | 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 | 1 | 0 | 0 | 0 | 0 | 1 |
e0f56b0201e6b1aab6f3a9c70443e7e9a63dd040 | 4,204 | py | Python | googleappengine/app/strategyexecutor.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | 2 | 2015-04-03T10:29:14.000Z | 2017-01-21T05:55:00.000Z | googleappengine/app/strategyexecutor.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | null | null | null | googleappengine/app/strategyexecutor.py | tibkiss/pyalgotrade | 4979315281c362dcba2e6d53da27dc4a7377ebec | [
"Apache-2.0"
] | null | null | null | # PyAlgoTrade
#
# Copyright 2013 Gabriel Martin Becedillas Ruiz
#
# 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 applica... | 33.903226 | 151 | 0.671979 | 510 | 4,204 | 5.398039 | 0.331373 | 0.025427 | 0.011987 | 0.013077 | 0.047221 | 0.031965 | 0.031965 | 0.031965 | 0.031965 | 0 | 0 | 0.002805 | 0.236917 | 4,204 | 123 | 152 | 34.178862 | 0.855362 | 0.202664 | 0 | 0.146341 | 0 | 0 | 0.030631 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0 | null | null | 0 | 0.109756 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e0f785d37249c1e51d2d2a29817b106acd302abf | 7,454 | py | Python | aetherling/space_time/modules/tuple.py | David-Durst/aetherling | 91bcf0579608ccbf7d42a7bddf90ccd4257d6571 | [
"MIT"
] | 10 | 2018-04-03T01:51:16.000Z | 2022-02-07T04:27:26.000Z | aetherling/space_time/modules/tuple.py | David-Durst/aetherling | 91bcf0579608ccbf7d42a7bddf90ccd4257d6571 | [
"MIT"
] | 19 | 2018-05-20T00:43:31.000Z | 2021-03-18T20:36:52.000Z | aetherling/space_time/modules/tuple.py | David-Durst/aetherling | 91bcf0579608ccbf7d42a7bddf90ccd4257d6571 | [
"MIT"
] | 1 | 2018-07-11T23:36:43.000Z | 2018-07-11T23:36:43.000Z | from magma import *
from magma.circuit import DefineCircuitKind
from mantle.coreir.arith import *
from mantle.coreir.logic import *
from mantle.coreir.compare import *
from aetherling.space_time.space_time_types import *
from aetherling.helpers.nameCleanup import cleanName
from aetherling.space_time.type_helpers import... | 29.697211 | 99 | 0.60169 | 1,075 | 7,454 | 3.936744 | 0.103256 | 0.018431 | 0.017722 | 0.036153 | 0.586248 | 0.543242 | 0.513941 | 0.481333 | 0.438327 | 0.438327 | 0 | 0.012572 | 0.274349 | 7,454 | 250 | 100 | 29.816 | 0.769828 | 0.141535 | 0 | 0.476821 | 0 | 0 | 0.023929 | 0.008246 | 0 | 0 | 0 | 0 | 0 | 1 | 0.139073 | false | 0 | 0.059603 | 0.046358 | 0.569536 | 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 |
e0fc707b1603efedb4d2696e130271311830fde6 | 4,002 | py | Python | web/robot/ART_TEMPLATE.py | cclrobotics/ARTBot | a0bffabebbc09361bf7748741fe3d30c78af8fbd | [
"MIT"
] | 5 | 2020-12-04T19:28:42.000Z | 2021-12-07T16:14:28.000Z | web/robot/ART_TEMPLATE.py | cclrobotics/ARTBot | a0bffabebbc09361bf7748741fe3d30c78af8fbd | [
"MIT"
] | 50 | 2019-10-08T19:47:24.000Z | 2021-07-26T05:43:37.000Z | web/robot/ART_TEMPLATE.py | cclrobotics/ARTBot | a0bffabebbc09361bf7748741fe3d30c78af8fbd | [
"MIT"
] | 4 | 2019-10-23T04:14:49.000Z | 2021-08-01T01:22:37.000Z | from opentrons import protocol_api
from opentrons.types import Location
import math
metadata = {
'apiLevel': '2.8',
'protocolName': 'CCL ARTBot',
'author': 'Tim Dobbs and Counter Culture Labs',
'source': 'ARTBot Protocol Builder',
'description': """Protocol for drawing bio-art.
... | 36.715596 | 125 | 0.631184 | 513 | 4,002 | 4.701754 | 0.302144 | 0.049751 | 0.053897 | 0.043532 | 0.241708 | 0.207711 | 0.131841 | 0.131841 | 0.104478 | 0.104478 | 0 | 0.007942 | 0.276362 | 4,002 | 109 | 126 | 36.715596 | 0.824931 | 0.103198 | 0 | 0.12987 | 0 | 0 | 0.123533 | 0.006428 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.038961 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
e0fcaa0bb37e4a2af8ea29c9c645a42c95f1f1d2 | 940 | py | Python | src/code/basic_operations.py | ekholabs/pandas_tutorial | 62a9d471156ea06939c57a3c58e71a8e9928762a | [
"MIT"
] | null | null | null | src/code/basic_operations.py | ekholabs/pandas_tutorial | 62a9d471156ea06939c57a3c58e71a8e9928762a | [
"MIT"
] | null | null | null | src/code/basic_operations.py | ekholabs/pandas_tutorial | 62a9d471156ea06939c57a3c58e71a8e9928762a | [
"MIT"
] | null | null | null | """
Organisation: ekholabs
Author: wilder.rodrigues@ekholabs.ai
"""
from utils import dataset as ds
'''
Let's start with loading out 'scientists' dataset.
'''
DF = ds.load_scientists()
def avg_age():
print('Average age of scientists:', '\n', DF['Age'].mean(), '\n')
def max_age():
print('Oldest... | 20.888889 | 130 | 0.604255 | 123 | 940 | 4.430894 | 0.349594 | 0.073395 | 0.055046 | 0.055046 | 0.066055 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179787 | 940 | 45 | 131 | 20.888889 | 0.706874 | 0.062766 | 0 | 0 | 0 | 0 | 0.262438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.045455 | 0 | 0.318182 | 0.272727 | 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 |
e0fdb46dc358578f50e1d0f75b0bb7eeae03d5c7 | 9,135 | py | Python | applications/Adversarial-Misspellings/defenses/scRNN/utils_.py | suryabulusu/neuspell | 82d1a098e841c0d66592a4780691d2a7e494c924 | [
"MIT"
] | 1 | 2021-05-21T09:39:50.000Z | 2021-05-21T09:39:50.000Z | applications/Adversarial-Misspellings/defenses/scRNN/utils_.py | michael-conrad/neuspell | f1d1a8b4efa7c6aa6e0564ea17db152905f4c7dc | [
"MIT"
] | null | null | null | applications/Adversarial-Misspellings/defenses/scRNN/utils_.py | michael-conrad/neuspell | f1d1a8b4efa7c6aa6e0564ea17db152905f4c7dc | [
"MIT"
] | null | null | null | """ helper functions for
- data loading
- representation building
- vocabulary loading
"""
from collections import defaultdict
import numpy as np
import pickle
import random
from random import shuffle
CHAR_VOCAB = []
CHAR_VOCAB_BG = []
w2i = defaultdict(lambda: 0.0)
w2i_bg = defaultdict(lambda: 0.0)
i2w =... | 31.940559 | 119 | 0.624849 | 1,336 | 9,135 | 4.049401 | 0.151198 | 0.066543 | 0.069131 | 0.046211 | 0.373752 | 0.25915 | 0.177264 | 0.163216 | 0.138447 | 0.124769 | 0 | 0.016176 | 0.25561 | 9,135 | 285 | 120 | 32.052632 | 0.779412 | 0.078708 | 0 | 0.166667 | 0 | 0 | 0.021338 | 0.003244 | 0 | 0 | 0 | 0.010526 | 0.014706 | 1 | 0.102941 | false | 0 | 0.02451 | 0.02451 | 0.22549 | 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 |
46045be5f9f6f724e2ac41cb049943ba748c1976 | 570 | py | Python | push.py | wangke0809/GiaoCameraRobot | 3bd675c2bf1e7a2929b565dc1ae0652e6c437c97 | [
"MIT"
] | 9 | 2019-12-11T02:17:23.000Z | 2021-09-05T07:47:42.000Z | push.py | wangke0809/GiaoCameraRobot | 3bd675c2bf1e7a2929b565dc1ae0652e6c437c97 | [
"MIT"
] | null | null | null | push.py | wangke0809/GiaoCameraRobot | 3bd675c2bf1e7a2929b565dc1ae0652e6c437c97 | [
"MIT"
] | 1 | 2020-03-26T08:29:47.000Z | 2020-03-26T08:29:47.000Z | from dingtalkchatbot.chatbot import DingtalkChatbot
class Push(object):
def __init__(self, token):
self.d = DingtalkChatbot(
'https://oapi.dingtalk.com/robot/send?access_token=%s' % token)
def sendImage(self, title, content, url, is_at_all=False):
self.d.send_markdown(title=title... | 28.5 | 105 | 0.657895 | 83 | 570 | 4.192771 | 0.46988 | 0.068966 | 0.12069 | 0.068966 | 0.201149 | 0.201149 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 570 | 19 | 106 | 30 | 0.753247 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4607c9e9cf7d405eece01d4448415ff668d1e09e | 691 | py | Python | python/moneysocket/message/request/provider.py | drschwabe/prototype | 7948727443d5d3255b317fc94cebf03c128a58d3 | [
"MIT"
] | 5 | 2020-08-08T07:25:01.000Z | 2021-06-15T13:29:19.000Z | python/moneysocket/message/request/provider.py | drschwabe/prototype | 7948727443d5d3255b317fc94cebf03c128a58d3 | [
"MIT"
] | 1 | 2021-01-18T18:44:46.000Z | 2021-01-18T19:09:29.000Z | python/moneysocket/message/request/provider.py | drschwabe/prototype | 7948727443d5d3255b317fc94cebf03c128a58d3 | [
"MIT"
] | 3 | 2020-11-21T22:11:30.000Z | 2021-01-18T17:51:03.000Z | # Copyright (c) 2020 Jarret Dyrbye
# Distributed under the MIT software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php
import string
import json
from moneysocket.message.request.request import MoneysocketRequest
class RequestProvider(MoneysocketRequest):
MUST_B... | 23.827586 | 75 | 0.740955 | 80 | 691 | 6.15 | 0.625 | 0.056911 | 0.052846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007092 | 0.183792 | 691 | 28 | 76 | 24.678571 | 0.865248 | 0.237337 | 0 | 0.125 | 0 | 0 | 0.061303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.1875 | 0.0625 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
4609e6c3ca2a5512e8e6d3a890bfd51fc8b20dea | 1,335 | py | Python | src/wired_components/component/make_context.py | pauleveritt/wired_components | a9072d5fc48680d5ff895887842ffd0f06bc0081 | [
"MIT"
] | 1 | 2019-09-15T12:30:44.000Z | 2019-09-15T12:30:44.000Z | src/wired_components/component/make_context.py | pauleveritt/wired_components | a9072d5fc48680d5ff895887842ffd0f06bc0081 | [
"MIT"
] | null | null | null | src/wired_components/component/make_context.py | pauleveritt/wired_components | a9072d5fc48680d5ff895887842ffd0f06bc0081 | [
"MIT"
] | null | null | null | """
Make the Jinja2 context for rendering a component.
The component context needs a few things:
- The instance of the dataclass, with fields flattened into a dict
- All the wrapped components, because a component might render a subcomponent
Done as SRP (single-responsibility-principle.)
"""
import dataclasses
fr... | 29.666667 | 77 | 0.740824 | 172 | 1,335 | 5.69186 | 0.459302 | 0.018386 | 0.026558 | 0.046987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000932 | 0.196255 | 1,335 | 44 | 78 | 30.340909 | 0.911463 | 0.495131 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 1 | 0.066667 | false | 0 | 0.266667 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
460a4db35b4afbbd55c6926139a4586685b04f28 | 273 | py | Python | basic-twisted/exception.py | yukityan/twisted-intro | ca52487f66a6baf659854fad73dc9f659c491b33 | [
"MIT"
] | 430 | 2015-01-04T05:38:08.000Z | 2022-02-23T04:12:46.000Z | basic-twisted/exception.py | yukityan/twisted-intro | ca52487f66a6baf659854fad73dc9f659c491b33 | [
"MIT"
] | 4 | 2016-02-15T03:53:15.000Z | 2020-06-20T20:16:28.000Z | basic-twisted/exception.py | yukityan/twisted-intro | ca52487f66a6baf659854fad73dc9f659c491b33 | [
"MIT"
] | 284 | 2015-01-11T18:41:58.000Z | 2022-02-23T04:12:53.000Z |
def falldown():
raise Exception('I fall down.')
def upagain():
print('But I get up again.')
reactor.stop()
from twisted.internet import reactor
reactor.callWhenRunning(falldown)
reactor.callWhenRunning(upagain)
print('Starting the reactor.')
reactor.run()
| 17.0625 | 36 | 0.725275 | 34 | 273 | 5.823529 | 0.676471 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150183 | 273 | 15 | 37 | 18.2 | 0.853448 | 0 | 0 | 0 | 0 | 0 | 0.191176 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.1 | 0 | 0.3 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
46131c78b990ccc4fb589f14180d27659479857d | 1,058 | py | Python | code/wo_diff_spec_decomp/test_inference/dataset.py | Aatr0x13/MC-Denoising-via-Auxiliary-Feature-Guided-Self-Attention | caddfb8dc34b7d3752f75ed6309ad9868b45f19c | [
"MIT"
] | 18 | 2021-09-14T12:13:20.000Z | 2022-03-29T11:26:18.000Z | code/wo_diff_spec_decomp/train/dataset.py | Aatr0x13/MC-Denoising-via-Auxiliary-Feature-Guided-Self-Attention | caddfb8dc34b7d3752f75ed6309ad9868b45f19c | [
"MIT"
] | 1 | 2022-01-10T11:47:57.000Z | 2022-01-10T11:47:57.000Z | code/wo_diff_spec_decomp/train/dataset.py | Aatr0x13/MC-Denoising-via-Auxiliary-Feature-Guided-Self-Attention | caddfb8dc34b7d3752f75ed6309ad9868b45f19c | [
"MIT"
] | 4 | 2021-09-05T00:27:59.000Z | 2021-12-10T06:55:01.000Z | import torch
import os
import h5py
class Dataset(torch.utils.data.Dataset):
def __init__(self, dataset_path):
assert dataset_path.endswith('.h5'), "dataset_path must be the path to a .h5 file"
assert os.path.exists(dataset_path), "dataset_path is wrong"
self.dataset_path = dataset_path
... | 29.388889 | 90 | 0.610586 | 143 | 1,058 | 4.314685 | 0.34965 | 0.267423 | 0.145867 | 0.071313 | 0.077796 | 0.077796 | 0 | 0 | 0 | 0 | 0 | 0.009115 | 0.274102 | 1,058 | 35 | 91 | 30.228571 | 0.794271 | 0 | 0 | 0 | 0 | 0 | 0.10322 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 1 | 0.148148 | false | 0 | 0.111111 | 0.037037 | 0.37037 | 0.037037 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4614b111ec253939362e50f93a1a9c500f264909 | 584 | py | Python | tests/test_clearsessions.py | Saitama-chan/django-qsessions | 2494a3b459f0611be86faea5322261483627c0e2 | [
"MIT"
] | null | null | null | tests/test_clearsessions.py | Saitama-chan/django-qsessions | 2494a3b459f0611be86faea5322261483627c0e2 | [
"MIT"
] | null | null | null | tests/test_clearsessions.py | Saitama-chan/django-qsessions | 2494a3b459f0611be86faea5322261483627c0e2 | [
"MIT"
] | null | null | null | from datetime import datetime, timedelta
import pytest
from django.core.management import call_command
from qsessions.models import Session
@pytest.mark.django_db
def test_can_call():
Session.objects.create(
session_key='s1',
expire_date=datetime.now() + timedelta(hours=1),
ip='127.0.0.1... | 24.333333 | 56 | 0.666096 | 76 | 584 | 5 | 0.460526 | 0.147368 | 0.105263 | 0.142105 | 0.389474 | 0.231579 | 0.231579 | 0.231579 | 0.231579 | 0.231579 | 0 | 0.038877 | 0.207192 | 584 | 23 | 57 | 25.391304 | 0.781857 | 0 | 0 | 0.210526 | 0 | 0 | 0.059932 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 1 | 0.052632 | true | 0 | 0.210526 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
461a0303eb83842cb7b0bd8eaaa81728fbd60bfa | 3,658 | py | Python | src/autocal.py | ncos/autocal | aa2b4cdbd4669e09451158c07209a596825600b2 | [
"MIT"
] | 2 | 2015-11-19T03:34:09.000Z | 2019-02-19T21:20:57.000Z | src/autocal.py | ncos/autocal | aa2b4cdbd4669e09451158c07209a596825600b2 | [
"MIT"
] | null | null | null | src/autocal.py | ncos/autocal | aa2b4cdbd4669e09451158c07209a596825600b2 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from datetime import *
from gcalcli import *
db_file_meat = '../db/meat.md'
db_file_fish = '../db/fish.md'
cal_cid = '996124500222-lrv2poibi8ll15cg25s1bs8eu7atjfk2.apps.googleusercontent.com'
cal_seq = 'zmQliJX0STI81we6csuy5wzb'
def setCal(cal_name):
matches = []
for cal in gcal.allC... | 30.231405 | 140 | 0.567797 | 433 | 3,658 | 4.660508 | 0.399538 | 0.035679 | 0.017839 | 0.014866 | 0.230922 | 0.190287 | 0.149653 | 0.149653 | 0.058474 | 0.058474 | 0 | 0.035234 | 0.309459 | 3,658 | 120 | 141 | 30.483333 | 0.763658 | 0.083106 | 0 | 0.155844 | 0 | 0 | 0.107802 | 0.031078 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.012987 | 0.025974 | null | null | 0.051948 | 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 |
1c9dd2ac5cf45c38cc986b5c3ee3e78a1fb91048 | 5,163 | py | Python | xcube_hub/util.py | bcdev/xcube-hub | 8eab0fccd340aa487560a41ae7c59dedb0cb08a8 | [
"MIT"
] | 3 | 2021-03-08T09:47:23.000Z | 2021-09-13T04:53:42.000Z | xcube_hub/util.py | bcdev/xcube-hub | 8eab0fccd340aa487560a41ae7c59dedb0cb08a8 | [
"MIT"
] | 9 | 2021-06-23T15:33:04.000Z | 2022-03-30T08:30:17.000Z | xcube_hub/util.py | bcdev/xcube-hub | 8eab0fccd340aa487560a41ae7c59dedb0cb08a8 | [
"MIT"
] | null | null | null | import datetime
import hashlib
import os
import re
import secrets
import uuid
from typing import Optional, Sequence, Any
import connexion
import six
from kubernetes import client
from xcube_hub import typing_utils, api
def _deserialize(data, klass):
"""Deserializes dict, list, str into an object.
:param da... | 24.703349 | 107 | 0.655627 | 654 | 5,163 | 5.038226 | 0.246177 | 0.033991 | 0.021851 | 0.02003 | 0.205463 | 0.127162 | 0.07648 | 0.029742 | 0.029742 | 0 | 0 | 0.007922 | 0.242107 | 5,163 | 208 | 108 | 24.822115 | 0.834143 | 0.216734 | 0 | 0.134615 | 0 | 0 | 0.031258 | 0.007554 | 0 | 0 | 0 | 0 | 0 | 1 | 0.144231 | false | 0.019231 | 0.144231 | 0.019231 | 0.528846 | 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 |
1c9e5d0dfe4047425df9be8f6f9ec0e8a6a3b4a5 | 4,386 | py | Python | Tools/gc2moz/python/gcCH4bins.py | CohenBerkeleyLab/AutoWRFChem-Base | 6ad749aa257397d77f130eeef1088b86b79da268 | [
"Unlicense"
] | 8 | 2017-11-04T01:50:53.000Z | 2022-03-24T09:44:20.000Z | Tools/gc2moz/python/gcCH4bins.py | CohenBerkeleyLab/AutoWRFChem-Base | 6ad749aa257397d77f130eeef1088b86b79da268 | [
"Unlicense"
] | 33 | 2016-08-05T18:19:49.000Z | 2019-05-06T18:17:40.000Z | Tools/gc2moz/python/gcCH4bins.py | CohenBerkeleyLab/AutoWRFChem-Base | 6ad749aa257397d77f130eeef1088b86b79da268 | [
"Unlicense"
] | 4 | 2018-02-01T01:40:46.000Z | 2020-05-08T16:29:43.000Z | from __future__ import print_function
import sys
__author__ = 'Josh'
north_lats = (30.0, 90.0)
north_trop_lats = (0.0, 30.0)
south_trop_lats = (-30.0, 0.0)
south_lats = (-90.0, 30.0)
def shell_error(msg, exitcode=1):
print(msg, file=sys.stderr)
exit(exitcode)
def shell_msg(msg):
print(msg, file=sys.stde... | 22.263959 | 101 | 0.54332 | 602 | 4,386 | 3.812292 | 0.400332 | 0.12549 | 0.022658 | 0.031373 | 0.052723 | 0.024401 | 0 | 0 | 0 | 0 | 0 | 0.277061 | 0.363885 | 4,386 | 196 | 102 | 22.377551 | 0.54552 | 0.03078 | 0 | 0.012903 | 0 | 0 | 0.031324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025806 | false | 0 | 0.012903 | 0 | 0.051613 | 0.019355 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1ca94c83a4e064c71a38479bdbfcac0c4b493a6e | 2,614 | py | Python | v2/engine/modem.py | benjaveri/phonescreen | dd34df8e2f66c59032089f751223e651fd263cac | [
"BSD-3-Clause"
] | 1 | 2020-05-30T23:24:55.000Z | 2020-05-30T23:24:55.000Z | v2/engine/modem.py | benjaveri/phonescreen | dd34df8e2f66c59032089f751223e651fd263cac | [
"BSD-3-Clause"
] | null | null | null | v2/engine/modem.py | benjaveri/phonescreen | dd34df8e2f66c59032089f751223e651fd263cac | [
"BSD-3-Clause"
] | null | null | null | # BSD 3-Clause License -> see /LICENSE
# Copyright (c) 2017-2020 by Ben de Waal, All rights reserved.
#
import time, serial # pip install pyserial
NEWLINE = "\r\n"
HEALTH_CHECK_PERIOD = 60*60 # how often to check that modem is still alive
class Modem:
def poll(self): raise NotImplementedError
def ring_through... | 26.673469 | 74 | 0.570008 | 323 | 2,614 | 4.479876 | 0.424149 | 0.055287 | 0.035245 | 0.042847 | 0.106427 | 0.080166 | 0.048376 | 0.048376 | 0 | 0 | 0 | 0.019434 | 0.311018 | 2,614 | 97 | 75 | 26.948454 | 0.784009 | 0.173298 | 0 | 0.103448 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.224138 | false | 0.034483 | 0.017241 | 0 | 0.362069 | 0.017241 | 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 |
1ca96932e1ea7c999d08374dc8364f6a3ade753e | 194 | py | Python | tf_api/matrix/trace.py | yjhexy/tensorflow_learn | 2748f2e9d780a4915b56b6e6a7a4bfdfe3320488 | [
"BSD-2-Clause"
] | null | null | null | tf_api/matrix/trace.py | yjhexy/tensorflow_learn | 2748f2e9d780a4915b56b6e6a7a4bfdfe3320488 | [
"BSD-2-Clause"
] | null | null | null | tf_api/matrix/trace.py | yjhexy/tensorflow_learn | 2748f2e9d780a4915b56b6e6a7a4bfdfe3320488 | [
"BSD-2-Clause"
] | null | null | null | # trace 练习测试 矩阵对角线只和
import tensorflow as tf
with tf.Session() as sess:
a = tf.constant([[1, 5, 0, 0], [0, 2, 0, 0], [0, 0, 3, 0], [0, 0, 0, 4]])
z = tf.trace(a)
print(sess.run(z))
| 24.25 | 77 | 0.536082 | 39 | 194 | 2.666667 | 0.538462 | 0.153846 | 0.144231 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 0.242268 | 194 | 7 | 78 | 27.714286 | 0.598639 | 0.092784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 |
1cb4fc444cf4ceb1398cfe01dffea688fdcb2192 | 500 | py | Python | invite/migrations/0004_family_host.py | lmarvaud/django-invite | 86db0fa278f373cc9481aa9af22fb927ebc1a5d9 | [
"MIT"
] | null | null | null | invite/migrations/0004_family_host.py | lmarvaud/django-invite | 86db0fa278f373cc9481aa9af22fb927ebc1a5d9 | [
"MIT"
] | 4 | 2019-04-21T19:46:33.000Z | 2019-05-26T11:30:01.000Z | invite/migrations/0004_family_host.py | lmarvaud/django-invite | 86db0fa278f373cc9481aa9af22fb927ebc1a5d9 | [
"MIT"
] | null | null | null | """
Generated by Django 2.1.2 on 2018-11-01 10:41
"""
#pylint: disable=invalid-name
from django.db import migrations, models
class Migration(migrations.Migration):
"""Add the host to the family"""
dependencies = [
('invite', '0003_auto_20181101_1013'),
]
operations = [
migrations.AddF... | 22.727273 | 62 | 0.598 | 56 | 500 | 5.232143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090659 | 0.272 | 500 | 21 | 63 | 23.809524 | 0.714286 | 0.202 | 0 | 0 | 1 | 0 | 0.101036 | 0.059585 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.307692 | 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 |
1cb7eb5fb9aa35bbd35706bb6d95e275e6e43668 | 15,913 | py | Python | tests/test_deobfuscate_filenames.py | smilers/sabnzbd | ed0e5bbf9b963113f4962e7aec297266f19d6615 | [
"MIT",
"PSF-2.0",
"0BSD"
] | 1,354 | 2015-01-02T11:53:23.000Z | 2022-03-30T01:32:46.000Z | tests/test_deobfuscate_filenames.py | smilers/sabnzbd | ed0e5bbf9b963113f4962e7aec297266f19d6615 | [
"MIT",
"PSF-2.0",
"0BSD"
] | 1,742 | 2015-01-01T20:17:35.000Z | 2022-03-30T21:05:00.000Z | tests/test_deobfuscate_filenames.py | smilers/sabnzbd | ed0e5bbf9b963113f4962e7aec297266f19d6615 | [
"MIT",
"PSF-2.0",
"0BSD"
] | 410 | 2015-01-24T05:32:46.000Z | 2022-03-20T12:56:49.000Z | #!/usr/bin/python3 -OO
# Copyright 2007-2021 The SABnzbd-Team <team@sabnzbd.org>
#
# 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; either version 2
# of the License, or (at your option) any late... | 44.825352 | 119 | 0.687425 | 2,074 | 15,913 | 5.154291 | 0.154291 | 0.051076 | 0.040225 | 0.05725 | 0.619738 | 0.544434 | 0.484939 | 0.453882 | 0.40159 | 0.35304 | 0 | 0.04187 | 0.225539 | 15,913 | 354 | 120 | 44.951977 | 0.825544 | 0.297933 | 0 | 0.350515 | 0 | 0 | 0.158643 | 0.083982 | 0 | 0 | 0 | 0 | 0.407216 | 1 | 0.056701 | false | 0 | 0.061856 | 0 | 0.123711 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1cbaa5ddd93d95b79521cb579bbdaf771064f1e5 | 470 | py | Python | backend/service/TypeService.py | laurentaubin/GLO-2005-Beerbender | f65bee4693d0bb56dd2c5fdd6d5a177aa03c2551 | [
"MIT"
] | null | null | null | backend/service/TypeService.py | laurentaubin/GLO-2005-Beerbender | f65bee4693d0bb56dd2c5fdd6d5a177aa03c2551 | [
"MIT"
] | 6 | 2020-05-01T23:11:40.000Z | 2022-02-27T04:00:18.000Z | backend/service/TypeService.py | seancanning37/glo-2005-project-h20 | f65bee4693d0bb56dd2c5fdd6d5a177aa03c2551 | [
"MIT"
] | null | null | null | from domain.Type import Type
from persistence import TypeRepository
def createTypeFromCursorInfos(typeInfos):
beerType = Type()
beerType.id = typeInfos[0]
beerType.name = typeInfos[1]
return beerType
class TypeService:
def __init__(self):
self.typeRepository = TypeRepository.TypeReposito... | 23.5 | 61 | 0.708511 | 47 | 470 | 6.957447 | 0.425532 | 0.103976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.217021 | 470 | 19 | 62 | 24.736842 | 0.883152 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1cbd55c7e51c591c0142d7bb635384255deb52fa | 1,609 | py | Python | letsencrypt_acme_challenge_client.py | cedrikkaufmann/python-netcup-api | 89dc3e6d44b663a789801f68d4e99606855c05c7 | [
"MIT"
] | null | null | null | letsencrypt_acme_challenge_client.py | cedrikkaufmann/python-netcup-api | 89dc3e6d44b663a789801f68d4e99606855c05c7 | [
"MIT"
] | null | null | null | letsencrypt_acme_challenge_client.py | cedrikkaufmann/python-netcup-api | 89dc3e6d44b663a789801f68d4e99606855c05c7 | [
"MIT"
] | null | null | null | import argparse
from netcup_api.dns import Client
from netcup_api.dns import DNSRecord
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--key', action='store', type=str, help='api key to access netcup dns api',
required=True)
parser.add_argument('--password', act... | 36.568182 | 118 | 0.646364 | 188 | 1,609 | 5.361702 | 0.329787 | 0.053571 | 0.10119 | 0.089286 | 0.342262 | 0.146825 | 0.097222 | 0.097222 | 0.097222 | 0.097222 | 0 | 0 | 0.24363 | 1,609 | 43 | 119 | 37.418605 | 0.827445 | 0 | 0 | 0.15625 | 0 | 0 | 0.211933 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0.0625 | 0.09375 | 0 | 0.125 | 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 |
1cc099c02cbcedf7041f46592531b396b79353be | 619 | py | Python | funcat/__init__.py | HereticSK/funcat | 0d0549cec3e1da75d6023871c2e146f956b4193b | [
"Apache-2.0"
] | 806 | 2017-01-07T16:00:45.000Z | 2022-03-30T12:10:53.000Z | funcat/__init__.py | dadacf/funcat | 0d0549cec3e1da75d6023871c2e146f956b4193b | [
"Apache-2.0"
] | 35 | 2017-02-25T03:43:31.000Z | 2021-12-11T03:23:25.000Z | funcat/__init__.py | dadacf/funcat | 0d0549cec3e1da75d6023871c2e146f956b4193b | [
"Apache-2.0"
] | 357 | 2017-01-07T16:55:20.000Z | 2022-02-21T06:31:33.000Z | # -*- coding: utf-8 -*-
#
import pkgutil
__version__ = pkgutil.get_data(__package__, 'VERSION.txt').decode('ascii').strip()
version_info = tuple(int(v) if v.isdigit() else v for v in __version__.split('.'))
__main_version__ = "%s.%s.x" % (version_info[0], version_info[1])
del pkgutil
from .api import *
from .indi... | 26.913043 | 82 | 0.6979 | 77 | 619 | 5.220779 | 0.623377 | 0.08209 | 0.109453 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033399 | 0.177706 | 619 | 22 | 83 | 28.136364 | 0.756385 | 0.033926 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.416667 | 0 | 0.416667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1cc2a842f0197a2a616eb244c5bed888255f65b6 | 5,920 | py | Python | workflow/src/actions/__init__.py | mibexsoftware/alfred-stash-workflow | 5cdba4d14c8998b937c1aa6af8e3417251fac540 | [
"MIT"
] | 13 | 2016-03-31T16:19:59.000Z | 2019-09-26T20:47:57.000Z | workflow/src/actions/__init__.py | mibexsoftware/alfred-stash-workflow | 5cdba4d14c8998b937c1aa6af8e3417251fac540 | [
"MIT"
] | 6 | 2015-09-18T15:24:43.000Z | 2019-10-23T16:51:39.000Z | workflow/src/actions/__init__.py | mibexsoftware/alfred-stash-workflow | 5cdba4d14c8998b937c1aa6af8e3417251fac540 | [
"MIT"
] | 3 | 2015-09-16T18:05:32.000Z | 2020-01-04T19:41:21.000Z | # -*- coding: utf-8 -*-
from src import icons
from src.lib.workflow import (PasswordNotFound)
from src.lib.workflow.background import run_in_background
from src.lib.workflow.background import is_running
from src.lib.requests.exceptions import SSLError
from src.stash.stash_facade import StashFacade
# If the workflow ... | 37.948718 | 115 | 0.706081 | 840 | 5,920 | 4.744048 | 0.316667 | 0.028105 | 0.022585 | 0.013551 | 0.09611 | 0.057967 | 0.019573 | 0.019573 | 0 | 0 | 0 | 0.010298 | 0.212669 | 5,920 | 155 | 116 | 38.193548 | 0.844669 | 0.22973 | 0 | 0.076923 | 0 | 0 | 0.106725 | 0.005292 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.038462 | 0.067308 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1cc36a7b111b389dbcbd4e64ea3aaa06b07d96fa | 565 | py | Python | src/constants.py | jpstroop/gdocs-automation | d47f05077731bdd982fbb0ab20b0312fcf34967f | [
"MIT"
] | null | null | null | src/constants.py | jpstroop/gdocs-automation | d47f05077731bdd982fbb0ab20b0312fcf34967f | [
"MIT"
] | 2 | 2021-02-08T20:42:33.000Z | 2021-04-30T20:49:52.000Z | src/constants.py | jpstroop/gdocs-automation | d47f05077731bdd982fbb0ab20b0312fcf34967f | [
"MIT"
] | null | null | null | from json import load
from os.path import join
from os.path import abspath
from os.path import dirname
# SCOPES
SCOPES = ['https://www.googleapis.com/auth/drive',
'https://www.googleapis.com/auth/documents']
# SECRETS
secrets_path = join(dirname(dirname(abspath(__file__))), 'secrets')
TOKENS_FILE_PATH = join(secr... | 28.25 | 67 | 0.746903 | 86 | 565 | 4.662791 | 0.418605 | 0.109726 | 0.074813 | 0.119701 | 0.296758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120354 | 565 | 19 | 68 | 29.736842 | 0.806841 | 0.038938 | 0 | 0 | 0 | 0 | 0.252319 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.307692 | 0 | 0.307692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
1cc676e1bb42662341286aa593fa5979de3be4ba | 66,149 | py | Python | sdk/python/pulumi_azure_native/botservice/v20180712/outputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 31 | 2020-09-21T09:41:01.000Z | 2021-02-26T13:21:59.000Z | sdk/python/pulumi_azure_native/botservice/v20180712/outputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 231 | 2020-09-21T09:38:45.000Z | 2021-03-01T11:16:03.000Z | sdk/python/pulumi_azure_native/botservice/v20180712/outputs.py | pulumi-bot/pulumi-azure-native | f7b9490b5211544318e455e5cceafe47b628e12c | [
"Apache-2.0"
] | 4 | 2020-09-29T14:14:59.000Z | 2021-02-10T20:38:16.000Z | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
from... | 34.079856 | 150 | 0.632224 | 7,329 | 66,149 | 5.469778 | 0.047073 | 0.028288 | 0.04086 | 0.059719 | 0.732763 | 0.684369 | 0.638121 | 0.573463 | 0.528263 | 0.472984 | 0 | 0.000647 | 0.275136 | 66,149 | 1,940 | 151 | 34.097423 | 0.835408 | 0.286338 | 0 | 0.582583 | 1 | 0 | 0.146394 | 0.06102 | 0 | 0 | 0 | 0 | 0 | 1 | 0.187187 | false | 0.004004 | 0.007007 | 0.029029 | 0.381381 | 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 |
1ccab5f322b157ddf15a55e9960f19bb047e9a64 | 6,714 | py | Python | .combine/combine.py | Jacksgong/android-project-combine | 6b7815ecc1f3747849de6fb5fa13bcdf34946f8a | [
"Apache-2.0"
] | 38 | 2017-07-04T10:18:27.000Z | 2021-09-27T08:42:56.000Z | .combine/combine.py | Jacksgong/android-project-combine | 6b7815ecc1f3747849de6fb5fa13bcdf34946f8a | [
"Apache-2.0"
] | 4 | 2017-08-11T14:58:37.000Z | 2022-01-28T03:53:00.000Z | .combine/combine.py | Jacksgong/android-project-combine | 6b7815ecc1f3747849de6fb5fa13bcdf34946f8a | [
"Apache-2.0"
] | 12 | 2017-07-04T10:30:08.000Z | 2020-02-20T13:34:09.000Z | #!/usr/bin/python -u
"""
Copyright (C) 2017 Jacksgong(blog.dreamtobe.cn)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicabl... | 39.034884 | 118 | 0.768692 | 936 | 6,714 | 5.108974 | 0.20406 | 0.050606 | 0.041405 | 0.020912 | 0.200962 | 0.120661 | 0.082183 | 0.070891 | 0.070891 | 0.051025 | 0 | 0.003128 | 0.142985 | 6,714 | 171 | 119 | 39.263158 | 0.827946 | 0.113047 | 0 | 0.08 | 0 | 0 | 0.122361 | 0.029143 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.05 | null | null | 0.18 | 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 |
1ccc547c609abd2321c7ffc1c0f9d0793f220398 | 1,019 | py | Python | drawing-shapes/shifting-parameters-animations.py | woosal1337/cv2 | cae4ad1e3ba4259507acde4db74559a726b09281 | [
"MIT"
] | 39 | 2021-11-08T13:35:10.000Z | 2022-01-20T19:45:17.000Z | drawing-shapes/shifting-parameters-animations.py | woosal1337/cv2 | cae4ad1e3ba4259507acde4db74559a726b09281 | [
"MIT"
] | null | null | null | drawing-shapes/shifting-parameters-animations.py | woosal1337/cv2 | cae4ad1e3ba4259507acde4db74559a726b09281 | [
"MIT"
] | 2 | 2021-11-17T01:24:39.000Z | 2022-02-02T00:40:33.000Z | import cv2
import numpy as np
import time
import random
import numpy as np
import cv2
image_path = "../assets/img.png"
image = cv2.imread(image_path)
image = cv2.resize(image, (int(image.shape[0] * 0.25), int(image.shape[1] * 0.25)))
x1, x2, x3, x4, x5, x6, y1, y2, y3, y4, y5, y6 = 25, 25, 110, 200, 200, 110, 70, 1... | 21.229167 | 102 | 0.496565 | 162 | 1,019 | 3.111111 | 0.425926 | 0.063492 | 0.051587 | 0.059524 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211594 | 0.322866 | 1,019 | 47 | 103 | 21.680851 | 0.518841 | 0 | 0 | 0.114286 | 0 | 0 | 0.030422 | 0 | 0 | 0 | 0.003925 | 0 | 0 | 1 | 0 | false | 0 | 0.171429 | 0 | 0.171429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1ccd2778bb78882645cf3dcd3410d4f2f0e07890 | 1,473 | py | Python | setup.py | zysite/biaffine-parser | 94a739428421512c00ace214b9e60a0062bba15e | [
"MIT"
] | 102 | 2019-01-30T11:35:07.000Z | 2020-01-14T10:00:55.000Z | setup.py | zysite/biaffine-parser | 94a739428421512c00ace214b9e60a0062bba15e | [
"MIT"
] | 19 | 2019-02-06T16:37:46.000Z | 2019-12-17T14:21:32.000Z | setup.py | zysite/biaffine-parser | 94a739428421512c00ace214b9e60a0062bba15e | [
"MIT"
] | 20 | 2019-04-24T13:44:07.000Z | 2020-01-04T19:58:44.000Z | # -*- coding: utf-8 -*-
from setuptools import find_packages, setup
setup(
name='supar',
version='1.1.4',
author='Yu Zhang',
author_email='yzhang.cs@outlook.com',
license='MIT',
description='Syntactic/Semantic Parsing Models',
long_description=open('README.md', 'r').read(),
long_descri... | 28.882353 | 69 | 0.575696 | 165 | 1,473 | 5.012121 | 0.6 | 0.065296 | 0.043531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023831 | 0.259335 | 1,473 | 50 | 70 | 29.46 | 0.734189 | 0.014257 | 0 | 0.042553 | 0 | 0 | 0.478621 | 0.173103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.021277 | 0 | 0.021277 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.