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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c4f686861382bb5aa0e783e5730a67c0d5f270ed | 4,865 | py | Python | kuri_task_allocation/scripts/task_allocator_action_server.py | kucars/kuri_mbzirc_challenge_3 | 9942aae773eb4d32971b43223e4fea1554c1c8c8 | [
"BSD-3-Clause"
] | 4 | 2019-03-02T12:55:51.000Z | 2019-07-23T08:45:17.000Z | kuri_task_allocation/scripts/task_allocator_action_server.py | kucars/kuri_mbzirc_challenge_3 | 9942aae773eb4d32971b43223e4fea1554c1c8c8 | [
"BSD-3-Clause"
] | 2 | 2019-07-23T08:40:18.000Z | 2019-07-23T13:22:18.000Z | kuri_task_allocation/scripts/task_allocator_action_server.py | kucars/kuri_mbzirc_challenge_3 | 9942aae773eb4d32971b43223e4fea1554c1c8c8 | [
"BSD-3-Clause"
] | 2 | 2018-06-08T01:40:13.000Z | 2019-07-23T11:24:22.000Z | #!/usr/bin/env python
import math
import actionlib
import rospy
from std_msgs.msg import String
import random
import numpy
import yaml
# from matplotlib.pyplot import figure, show
import matplotlib.pyplot as plt
import ast
import geometry_msgs
from kuri_msgs.msg import *
from geometry_msgs.msg import Pose
from sensor_... | 36.856061 | 118 | 0.704625 | 565 | 4,865 | 5.932743 | 0.320354 | 0.014618 | 0.015513 | 0.02327 | 0.137232 | 0.067422 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.189723 | 4,865 | 131 | 119 | 37.137405 | 0.831811 | 0.202672 | 0 | 0.02439 | 0 | 0 | 0.082533 | 0.033999 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.195122 | null | null | 0.085366 | 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 |
c4f6f366e66f3227e736a0dfb788b77856608616 | 702 | py | Python | raspberry-pi/singlerun/dni.py | OpenSourceProtogenCollection/OpenSourceProtogenCollection | 23b69dd90cb7b3aa56b612ff19e0f09cc68e4858 | [
"MIT"
] | 6 | 2021-02-08T20:05:50.000Z | 2022-03-18T22:03:41.000Z | raspberry-pi/singlerun/dni.py | OpenSourceProtogenCollection/OpenSourceProtogenCollection | 23b69dd90cb7b3aa56b612ff19e0f09cc68e4858 | [
"MIT"
] | 3 | 2020-06-27T17:05:49.000Z | 2022-01-06T10:52:50.000Z | raspberry-pi/singlerun/dni.py | OpenSourceProtogenCollection/OpenSourceProtogenCollection | 23b69dd90cb7b3aa56b612ff19e0f09cc68e4858 | [
"MIT"
] | 2 | 2021-03-27T15:41:22.000Z | 2021-12-08T18:09:09.000Z | #!/usr/bin/env python3
import serial
from gpiozero import Button
import os
import random
# input pin declarations begin here
# use syntax name = Button(bcmPinNumber, bounce_time=1)
# find BCM pin numbers at https://pinout.xyz
dniPin = Button(1, bounce_time=1)
# USB declarations begin here
visorEyes = serial.Serial('/... | 28.08 | 91 | 0.732194 | 102 | 702 | 5.019608 | 0.617647 | 0.052734 | 0.082031 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031457 | 0.139601 | 702 | 25 | 92 | 28.08 | 0.816225 | 0.485755 | 0 | 0 | 0 | 0.083333 | 0.255682 | 0.122159 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.333333 | 0 | 0.416667 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
c4f6fb2095308bac919320145f949f3080c4183f | 955 | py | Python | core/migrations/0001_initial.py | luissiqueira/sippa-no-api | e921088b412fe3ce3a25e05c3e582080dbf175c5 | [
"MIT"
] | 5 | 2016-11-17T01:42:10.000Z | 2019-11-08T08:24:05.000Z | core/migrations/0001_initial.py | babididev/sippa-no-api | e921088b412fe3ce3a25e05c3e582080dbf175c5 | [
"MIT"
] | null | null | null | core/migrations/0001_initial.py | babididev/sippa-no-api | e921088b412fe3ce3a25e05c3e582080dbf175c5 | [
"MIT"
] | 1 | 2016-11-03T20:57:53.000Z | 2016-11-03T20:57:53.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2016-10-11 18:31
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Teache... | 30.806452 | 114 | 0.572775 | 95 | 955 | 5.589474 | 0.578947 | 0.145009 | 0.084746 | 0.090395 | 0.131827 | 0.131827 | 0 | 0 | 0 | 0 | 0 | 0.025111 | 0.291099 | 955 | 30 | 115 | 31.833333 | 0.759232 | 0.071204 | 0 | 0 | 1 | 0 | 0.130091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.272727 | 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 |
c4f93e0b4407f78082eda552febe6b6bdad11fa2 | 4,037 | py | Python | 3rd-party/spatial-media/spatialmedia/mpeg/mpeg4_container.py | basilevh/spatialaudiogen | 0409be999f6afea1bd3ef11506015fbf67799952 | [
"Apache-2.0",
"BSD-2-Clause"
] | 63 | 2018-09-25T08:13:49.000Z | 2022-03-21T18:05:59.000Z | 3rd-party/spatial-media/spatialmedia/mpeg/mpeg4_container.py | basilevh/spatialaudiogen | 0409be999f6afea1bd3ef11506015fbf67799952 | [
"Apache-2.0",
"BSD-2-Clause"
] | 13 | 2019-06-05T04:56:21.000Z | 2022-03-11T23:28:10.000Z | 3rd-party/spatial-media/spatialmedia/mpeg/mpeg4_container.py | basilevh/spatialaudiogen | 0409be999f6afea1bd3ef11506015fbf67799952 | [
"Apache-2.0",
"BSD-2-Clause"
] | 15 | 2019-04-29T22:45:24.000Z | 2022-03-21T18:06:14.000Z | #! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2016 Google Inc. All rights reserved.
#
# 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/LICENS... | 30.126866 | 74 | 0.639088 | 523 | 4,037 | 4.804971 | 0.323136 | 0.083168 | 0.044568 | 0.05571 | 0.183048 | 0.109431 | 0.065261 | 0.040589 | 0.040589 | 0.040589 | 0 | 0.017735 | 0.273718 | 4,037 | 133 | 75 | 30.353383 | 0.837312 | 0.151845 | 0 | 0.111111 | 0 | 0 | 0.069119 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.041667 | null | null | 0.111111 | 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 |
f202431f3731f541c1b41ac916633a9cc9d67de2 | 574 | py | Python | applications/popart/bert/tests/conftest.py | Splendon/examples | ed4a8a01857b6ddca49559141acf5d0986eb01e1 | [
"MIT"
] | 2 | 2020-04-07T23:46:17.000Z | 2021-12-05T10:29:34.000Z | applications/popart/bert/tests/conftest.py | Splendon/examples | ed4a8a01857b6ddca49559141acf5d0986eb01e1 | [
"MIT"
] | 5 | 2020-01-28T23:13:33.000Z | 2022-02-10T00:34:57.000Z | applications/popart/bert/tests/conftest.py | Splendon/examples | ed4a8a01857b6ddca49559141acf5d0986eb01e1 | [
"MIT"
] | 1 | 2020-04-07T23:46:29.000Z | 2020-04-07T23:46:29.000Z | # Copyright 2019 Graphcore Ltd.
import subprocess
from pathlib import Path
import pytest
import ctypes
custom_ops_loaded = False
def load_custom_ops():
bert_dir = Path(__file__).parent.parent.resolve()
so_path = str(bert_dir / "custom_ops.so")
global custom_ops_loaded
if not custom_ops_loaded:
... | 22.076923 | 63 | 0.716028 | 80 | 574 | 4.8375 | 0.475 | 0.209302 | 0.155039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008658 | 0.195122 | 574 | 25 | 64 | 22.96 | 0.829004 | 0.050523 | 0 | 0 | 0 | 0 | 0.066298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.222222 | 0.055556 | 0.444444 | 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 |
f202ad42310295ca11e94f3d2c976de129cdf325 | 6,480 | py | Python | dosagelib/plugins/f.py | mbrandis/dosage | 3088272e59a1c5d778b51c0af97590324f3c51da | [
"MIT"
] | null | null | null | dosagelib/plugins/f.py | mbrandis/dosage | 3088272e59a1c5d778b51c0af97590324f3c51da | [
"MIT"
] | null | null | null | dosagelib/plugins/f.py | mbrandis/dosage | 3088272e59a1c5d778b51c0af97590324f3c51da | [
"MIT"
] | null | null | null | # -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012-2014 Bastian Kleineidam
from re import compile, escape, IGNORECASE
from ..util import tagre
from ..scraper import _BasicScraper, _ParserScraper
from ..helpers import indirectStarter
class FalconTwin(_Ba... | 38.571429 | 131 | 0.6125 | 791 | 6,480 | 4.99115 | 0.245259 | 0.034448 | 0.056991 | 0.038754 | 0.39843 | 0.250507 | 0.189463 | 0.097011 | 0.097011 | 0.097011 | 0 | 0.019338 | 0.170062 | 6,480 | 167 | 132 | 38.802395 | 0.714764 | 0.020216 | 0 | 0.21374 | 0 | 0.022901 | 0.388337 | 0.106698 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007634 | false | 0 | 0.030534 | 0.007634 | 0.916031 | 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 |
f20337c08370d886c3e94d9bb4e8f75308d8c4f7 | 399 | py | Python | dangerfile.py | teastburn/danger-python | c943131b01558a6867218c7d91a4fa7a5ab3ec71 | [
"MIT"
] | 66 | 2020-01-23T15:31:34.000Z | 2022-03-05T07:51:09.000Z | dangerfile.py | teastburn/danger-python | c943131b01558a6867218c7d91a4fa7a5ab3ec71 | [
"MIT"
] | 7 | 2020-01-23T16:37:03.000Z | 2021-04-12T17:25:55.000Z | dangerfile.py | teastburn/danger-python | c943131b01558a6867218c7d91a4fa7a5ab3ec71 | [
"MIT"
] | 14 | 2020-01-23T15:17:39.000Z | 2022-03-26T16:44:24.000Z | touched_files = danger.git.modified_files + danger.git.created_files
has_source_changes = any(map(lambda f: f.startswith("danger_python"), touched_files))
has_changelog_entry = "CHANGELOG.md" in touched_files
is_trivial = "#trivial" in danger.github.pr.title
if has_source_changes and not has_changelog_entry and not is... | 49.875 | 85 | 0.802005 | 63 | 399 | 4.825397 | 0.52381 | 0.118421 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 399 | 7 | 86 | 57 | 0.851541 | 0 | 0 | 0 | 0 | 0 | 0.223058 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
f20a9aaf2ae1ab72350c2593342b01e10b230225 | 5,998 | py | Python | sdk/examples/noop_python/sawtooth_noop/client_cli/workload.py | mealchain/beta | 7dc1a1aea175bfb3f1008939f098a1d58bb455a6 | [
"Apache-2.0"
] | null | null | null | sdk/examples/noop_python/sawtooth_noop/client_cli/workload.py | mealchain/beta | 7dc1a1aea175bfb3f1008939f098a1d58bb455a6 | [
"Apache-2.0"
] | null | null | null | sdk/examples/noop_python/sawtooth_noop/client_cli/workload.py | mealchain/beta | 7dc1a1aea175bfb3f1008939f098a1d58bb455a6 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in wri... | 34.274286 | 80 | 0.621707 | 698 | 5,998 | 5.141834 | 0.32808 | 0.009752 | 0.023683 | 0.013374 | 0.12204 | 0.12204 | 0.09752 | 0.078573 | 0.078573 | 0.02842 | 0 | 0.010646 | 0.279593 | 5,998 | 174 | 81 | 34.471264 | 0.819949 | 0.130043 | 0 | 0.136 | 0 | 0 | 0.100387 | 0.004642 | 0 | 0 | 0 | 0 | 0 | 1 | 0.104 | false | 0.08 | 0.128 | 0 | 0.264 | 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 |
f20ab5d0cc81ebded12674577d873f9a195e50be | 526 | py | Python | individual_2.py | EndMad/L5 | f699b81483629709900eda960e1401057119f4d0 | [
"MIT"
] | null | null | null | individual_2.py | EndMad/L5 | f699b81483629709900eda960e1401057119f4d0 | [
"MIT"
] | null | null | null | individual_2.py | EndMad/L5 | f699b81483629709900eda960e1401057119f4d0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# В списке, состоящем из вещественных элементов, вычислить:
# 1) количество элементов списка, равных 0;
# 2) сумму элементов списка, расположенных после минимального элемента.
# Упорядочить элементы списка по возрастанию модулей элементов.
if __name__ == '__main_... | 35.066667 | 72 | 0.673004 | 72 | 526 | 4.805556 | 0.763889 | 0.086705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014019 | 0.186312 | 526 | 14 | 73 | 37.571429 | 0.794393 | 0.522814 | 0 | 0 | 0 | 0 | 0.099567 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f20b702db19066e77e1be3c116de05b87751239a | 2,348 | py | Python | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/IMG/bindless_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/IMG/bindless_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GLES2/IMG/bindless_texture.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | '''OpenGL extension IMG.bindless_texture
This module customises the behaviour of the
OpenGL.raw.GLES2.IMG.bindless_texture to provide a more
Python-friendly API
Overview (from the spec)
This extension allows OpenGL ES applications to access texture objects in
shaders without first binding each texture ... | 46.96 | 98 | 0.796848 | 318 | 2,348 | 5.849057 | 0.484277 | 0.041935 | 0.048387 | 0.027419 | 0.090323 | 0.062366 | 0.045161 | 0.045161 | 0 | 0 | 0 | 0.010163 | 0.16184 | 2,348 | 50 | 99 | 46.96 | 0.934959 | 0.763203 | 0 | 0 | 0 | 0 | 0.017799 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.466667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
f20c0c24de4130754bc98c3bd87b2af7225adf16 | 555 | py | Python | ufdl-core-app/src/ufdl/core_app/views/nodes/_DockerImageViewSet.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | ufdl-core-app/src/ufdl/core_app/views/nodes/_DockerImageViewSet.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | 85 | 2020-07-24T00:04:28.000Z | 2022-02-10T10:35:15.000Z | ufdl-core-app/src/ufdl/core_app/views/nodes/_DockerImageViewSet.py | waikato-ufdl/ufdl-backend | 776fc906c61eba6c2f2e6324758e7b8a323e30d7 | [
"Apache-2.0"
] | null | null | null | from ...models.nodes import DockerImage
from ...serialisers.nodes import DockerImageSerialiser
from ...permissions import IsAuthenticated, AllowNone
from .._UFDLBaseViewSet import UFDLBaseViewSet
class DockerImageViewSet(UFDLBaseViewSet):
queryset = DockerImage.objects.all()
serializer_class = DockerImageSeri... | 29.210526 | 54 | 0.717117 | 44 | 555 | 8.954545 | 0.568182 | 0.055838 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194595 | 555 | 18 | 55 | 30.833333 | 0.881432 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.266667 | 0 | 0.533333 | 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 |
f210bf80f7d023258076f902486a56b9dcf41a39 | 3,443 | py | Python | PGMF/script/focalortholog.py | haiwangyang/PGMF | bb6b0db8004e552607ac5d740271bbf0e7ab5f5c | [
"MIT"
] | null | null | null | PGMF/script/focalortholog.py | haiwangyang/PGMF | bb6b0db8004e552607ac5d740271bbf0e7ab5f5c | [
"MIT"
] | null | null | null | PGMF/script/focalortholog.py | haiwangyang/PGMF | bb6b0db8004e552607ac5d740271bbf0e7ab5f5c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
Purpse:
generate ortholog summary
(pairwise between Dmel and non-melanogaster)
"""
from sharedinfo import get_A2B, get_M2N, DxxxGID_to_YOgnID, ordered_species
from focalannotation import FocalAnnotation
class FocalOrtholog:
"""FocalOrtholog object"""
def __init__(self, speci... | 39.574713 | 105 | 0.564914 | 357 | 3,443 | 5.296919 | 0.257703 | 0.025383 | 0.037017 | 0.047594 | 0.28715 | 0.203067 | 0.097303 | 0.066631 | 0.027499 | 0 | 0 | 0.02147 | 0.296544 | 3,443 | 86 | 106 | 40.034884 | 0.75929 | 0.069416 | 0 | 0.081967 | 1 | 0 | 0.111677 | 0.009227 | 0 | 0 | 0 | 0 | 0 | 1 | 0.065574 | false | 0 | 0.032787 | 0 | 0.114754 | 0.032787 | 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 |
f21224c857a9edf76ce0129e50465f1610ffd044 | 989 | py | Python | rain/accounts/urls.py | akbernamazi/Safer_Cities | e1043d3e04ae38ad7395f441e0bb6ba5b87d8291 | [
"MIT"
] | null | null | null | rain/accounts/urls.py | akbernamazi/Safer_Cities | e1043d3e04ae38ad7395f441e0bb6ba5b87d8291 | [
"MIT"
] | null | null | null | rain/accounts/urls.py | akbernamazi/Safer_Cities | e1043d3e04ae38ad7395f441e0bb6ba5b87d8291 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
from django.conf.urls import url
from django.contrib.auth.views import LoginView, LogoutView
urlpatterns = [
path('',views.profile, name='profile'),
path('login/',LoginView.as_view(template_name='accounts/login.html'),name='login'),
path('logout/',LogoutView... | 49.45 | 87 | 0.708797 | 128 | 989 | 5.375 | 0.28125 | 0.063953 | 0.078488 | 0.06686 | 0.15407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097068 | 989 | 20 | 88 | 49.45 | 0.770437 | 0.235592 | 0 | 0 | 0 | 0 | 0.246011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.066667 | 0.266667 | 0 | 0.266667 | 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 |
f2235c569fa7024a3ee22ae43a1db7b8b93420fa | 279 | py | Python | pset6/cash.py | cristiand391/cs50 | 244afb7a9179bcd9da132fa48f9d2afc1814d1e6 | [
"MIT"
] | 2 | 2020-07-14T02:38:59.000Z | 2020-09-19T23:39:15.000Z | pset6/cash.py | cristiand391/cs50 | 244afb7a9179bcd9da132fa48f9d2afc1814d1e6 | [
"MIT"
] | null | null | null | pset6/cash.py | cristiand391/cs50 | 244afb7a9179bcd9da132fa48f9d2afc1814d1e6 | [
"MIT"
] | null | null | null | from cs50 import get_float
while True:
owed = round(get_float("Change owed: ") * 100)
if owed > 0:
break
coins = [25, 10, 5, 1]
change = 0
for c in coins:
if owed == 0:
break
change += owed // c
owed = owed % c
print(change)
| 13.95 | 50 | 0.526882 | 41 | 279 | 3.536585 | 0.560976 | 0.110345 | 0.096552 | 0.165517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0.362007 | 279 | 19 | 51 | 14.684211 | 0.735955 | 0 | 0 | 0.153846 | 0 | 0 | 0.046595 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.076923 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1ef51109827b53036374ed3935e7e2a9e515c5d5 | 1,902 | py | Python | test_geo.py | trad35263/PartIA-Flood-Warning-System | 21e28461b197d18e61fd6878f20a5c38d7537867 | [
"MIT"
] | null | null | null | test_geo.py | trad35263/PartIA-Flood-Warning-System | 21e28461b197d18e61fd6878f20a5c38d7537867 | [
"MIT"
] | null | null | null | test_geo.py | trad35263/PartIA-Flood-Warning-System | 21e28461b197d18e61fd6878f20a5c38d7537867 | [
"MIT"
] | null | null | null | # Copyright (C) 2018 Garth N. Wells
#
# SPDX-License-Identifier: MIT
"""Unit test for the geo module"""
from floodsystem.geo import haversine, stations_within_radius
from floodsystem.geo import stations_by_distance
from floodsystem.geo import rivers_with_station
from floodsystem.geo import stations_by_river
from flood... | 46.390244 | 112 | 0.726604 | 280 | 1,902 | 4.635714 | 0.192857 | 0.12943 | 0.069337 | 0.09245 | 0.290447 | 0.130971 | 0.078582 | 0 | 0 | 0 | 0 | 0.038531 | 0.126709 | 1,902 | 41 | 113 | 46.390244 | 0.742926 | 0.04837 | 0 | 0 | 0 | 0 | 0.124792 | 0 | 0 | 0 | 0 | 0 | 0.275862 | 1 | 0.206897 | false | 0 | 0.206897 | 0 | 0.413793 | 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 |
1ef6fd25631c950899a02990a0b7a78b297c4068 | 348 | py | Python | src/twisted/words/protocols/__init__.py | neberej/twisted | 242dcc2a8a2d6005a5389c8e65cbeb7716048c05 | [
"MIT",
"Unlicense"
] | 9 | 2017-07-10T04:27:31.000Z | 2020-07-31T08:54:08.000Z | src/twisted/words/protocols/__init__.py | neberej/twisted | 242dcc2a8a2d6005a5389c8e65cbeb7716048c05 | [
"MIT",
"Unlicense"
] | 5 | 2020-06-05T18:16:39.000Z | 2022-01-13T00:45:49.000Z | src/twisted/words/protocols/__init__.py | neberej/twisted | 242dcc2a8a2d6005a5389c8e65cbeb7716048c05 | [
"MIT",
"Unlicense"
] | 4 | 2017-09-11T02:26:21.000Z | 2021-12-31T05:20:34.000Z | # Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
Chat protocols.
"""
from incremental import Version
from twisted.python.deprecate import deprecatedModuleAttribute
deprecatedModuleAttribute(
Version("Twisted", 16, 2, 0),
"There is no replacement for this module.",
"twisted.wor... | 20.470588 | 62 | 0.732759 | 38 | 348 | 6.710526 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013746 | 0.163793 | 348 | 16 | 63 | 21.75 | 0.862543 | 0.241379 | 0 | 0 | 0 | 0 | 0.294118 | 0.090196 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
1efc6b6ee0c6c185342bf8fc389ee61b99ed6a90 | 2,440 | py | Python | ethical-hacking/file-encryption/crypt.py | caesarcc/python-code-tutorials | aa48ebe695e86440b206b641501ad55d021309bf | [
"MIT"
] | 1,059 | 2019-08-04T17:51:43.000Z | 2022-03-31T10:13:37.000Z | ethical-hacking/file-encryption/crypt.py | kylearrigoni/pythoncode-tutorials | 6fd30ed854d1ea7573351ddb10c1eaae55ca5717 | [
"MIT"
] | 56 | 2019-12-10T16:46:40.000Z | 2022-03-29T01:36:50.000Z | ethical-hacking/file-encryption/crypt.py | kylearrigoni/pythoncode-tutorials | 6fd30ed854d1ea7573351ddb10c1eaae55ca5717 | [
"MIT"
] | 1,330 | 2019-08-16T01:36:18.000Z | 2022-03-31T16:57:22.000Z | from cryptography.fernet import Fernet
import os
def write_key():
"""
Generates a key and save it into a file
"""
key = Fernet.generate_key()
with open("key.key", "wb") as key_file:
key_file.write(key)
def load_key():
"""
Loads the key from the current directory named `key.key`
... | 28.045977 | 93 | 0.62541 | 326 | 2,440 | 4.555215 | 0.254601 | 0.044444 | 0.043098 | 0.038384 | 0.36633 | 0.36633 | 0.309764 | 0.309764 | 0.309764 | 0.220875 | 0 | 0 | 0.264754 | 2,440 | 86 | 94 | 28.372093 | 0.827759 | 0.154098 | 0 | 0.166667 | 1 | 0 | 0.233584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.0625 | 0 | 0.166667 | 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 |
1efd2354a25a436db61d2e50e83d0864b7a7a3da | 3,636 | py | Python | tests/ui/pages/desktop/base.py | andreip/addons-server | 9189e9be0c0d9f3df9c9dfbc26e9b16ae934d19e | [
"BSD-3-Clause"
] | null | null | null | tests/ui/pages/desktop/base.py | andreip/addons-server | 9189e9be0c0d9f3df9c9dfbc26e9b16ae934d19e | [
"BSD-3-Clause"
] | null | null | null | tests/ui/pages/desktop/base.py | andreip/addons-server | 9189e9be0c0d9f3df9c9dfbc26e9b16ae934d19e | [
"BSD-3-Clause"
] | null | null | null | from pypom import Page, Region
from selenium.webdriver.common.by import By
from selenium.webdriver.common.action_chains import ActionChains
class Base(Page):
_url = '{base_url}/{locale}'
_amo_header = (By.CLASS_NAME, 'Header-title')
def __init__(self, selenium, base_url, locale='en-US', **kwargs):
... | 36.36 | 84 | 0.661166 | 460 | 3,636 | 4.954348 | 0.217391 | 0.039491 | 0.052655 | 0.066696 | 0.327775 | 0.161913 | 0.100921 | 0.100921 | 0.045634 | 0.045634 | 0 | 0.004616 | 0.225523 | 3,636 | 99 | 85 | 36.727273 | 0.804688 | 0.027778 | 0 | 0.102564 | 0 | 0 | 0.061491 | 0.035137 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.025641 | 0.089744 | 0.025641 | 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 |
1efd810b06d005dd7672940bbffa310e851bce44 | 665 | py | Python | archives/migrations/0015_partner.py | mofadweb/Website | 2df3fd531b8fd0b47c2c2ca67e74692383352c71 | [
"MIT"
] | null | null | null | archives/migrations/0015_partner.py | mofadweb/Website | 2df3fd531b8fd0b47c2c2ca67e74692383352c71 | [
"MIT"
] | 1 | 2022-02-18T11:01:43.000Z | 2022-02-18T11:01:43.000Z | archives/migrations/0015_partner.py | mofadweb/Website | 2df3fd531b8fd0b47c2c2ca67e74692383352c71 | [
"MIT"
] | null | null | null | # Generated by Django 3.2 on 2021-04-23 22:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('archives', '0014_alter_contact_message'),
]
operations = [
migrations.CreateModel(
name='Partner',
fields=[
... | 28.913043 | 117 | 0.584962 | 68 | 665 | 5.573529 | 0.75 | 0.079156 | 0.094987 | 0.126649 | 0.137203 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046025 | 0.281203 | 665 | 22 | 118 | 30.227273 | 0.746862 | 0.064662 | 0 | 0 | 1 | 0 | 0.120968 | 0.041935 | 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 |
1efda64e3964f24d392a601469284047db099880 | 545 | py | Python | spatialpooch/_spooch.py | achapkowski/spatial-pooch | e2525678d1b5f6acadfb53de43d8a10cf30d6ec9 | [
"Apache-2.0"
] | 1 | 2020-04-02T16:44:03.000Z | 2020-04-02T16:44:03.000Z | spatialpooch/_spooch.py | achapkowski/spatial-pooch | e2525678d1b5f6acadfb53de43d8a10cf30d6ec9 | [
"Apache-2.0"
] | null | null | null | spatialpooch/_spooch.py | achapkowski/spatial-pooch | e2525678d1b5f6acadfb53de43d8a10cf30d6ec9 | [
"Apache-2.0"
] | null | null | null | """
Driver Module
"""
import os
import pkg_resources
import pooch
import importlib
from . import version
__all__ = ["SPATIALPOOCH"]
SPATIALPOOCH = pooch.create(
path=pooch.os_cache("spatial-pooch"),
base_url="https://github.com/achapkowski/spatial-pooch/raw/master/data/",#{version} - use if I am going to ve... | 23.695652 | 127 | 0.721101 | 72 | 545 | 5.277778 | 0.625 | 0.063158 | 0.063158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143119 | 545 | 22 | 128 | 24.772727 | 0.813705 | 0.231193 | 0 | 0 | 0 | 0 | 0.282555 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.357143 | 0 | 0.357143 | 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 |
1efe54faf5dca6bad849151ecbf05908ca779a3f | 1,172 | py | Python | nablapps/com/migrations/0005_auto_20191003_1327.py | Amund211/nablaweb | 8105c34615d4b67637e982545fbc6489a131c1f3 | [
"MIT"
] | 17 | 2019-10-07T15:10:58.000Z | 2022-01-21T14:18:07.000Z | nablapps/com/migrations/0005_auto_20191003_1327.py | Amund211/nablaweb | 8105c34615d4b67637e982545fbc6489a131c1f3 | [
"MIT"
] | 222 | 2019-10-07T15:04:51.000Z | 2022-03-24T12:14:16.000Z | nablapps/com/migrations/0005_auto_20191003_1327.py | Amund211/nablaweb | 8105c34615d4b67637e982545fbc6489a131c1f3 | [
"MIT"
] | 7 | 2019-10-10T18:53:42.000Z | 2021-10-18T02:13:09.000Z | # Generated by Django 2.1.9 on 2019-10-03 13:27
from django.db import migrations, models
import image_cropping.fields
class Migration(migrations.Migration):
dependencies = [
("com", "0004_compage_is_interest_group"),
]
operations = [
migrations.AddField(
model_name="compage... | 27.904762 | 118 | 0.528157 | 110 | 1,172 | 5.445455 | 0.7 | 0.043406 | 0.063439 | 0.09015 | 0.126878 | 0.126878 | 0 | 0 | 0 | 0 | 0 | 0.042936 | 0.383959 | 1,172 | 41 | 119 | 28.585366 | 0.786704 | 0.038396 | 0 | 0.235294 | 1 | 0 | 0.178667 | 0.045333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.147059 | 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 |
481d6c2ea7f216e5d61c2ef9ccbfc509a3403da9 | 747 | py | Python | build/compile/compile.py | VirtualVFix/PythonSourceEncrypt | a656c2db721fd6aaadad7049fd7bd650fb3a12c0 | [
"MIT"
] | 2 | 2019-06-18T14:02:18.000Z | 2021-04-16T12:20:55.000Z | build/compile/compile.py | VirtualVFix/PythonSourceEncrypt | a656c2db721fd6aaadad7049fd7bd650fb3a12c0 | [
"MIT"
] | null | null | null | build/compile/compile.py | VirtualVFix/PythonSourceEncrypt | a656c2db721fd6aaadad7049fd7bd650fb3a12c0 | [
"MIT"
] | null | null | null | # All rights reserved by forest fairy.
# You cannot modify or share anything without sacrifice.
# If you don't agree, keep calm and don't look on text below...
__author__ = "VirtualV <github.com/virtualvfix>"
__date__ = "$Dec 9, 2015 1:16:20 PM$"
# Compile line
# sudo pip install -U cython or sudo apt-get install cyt... | 25.758621 | 63 | 0.733601 | 107 | 747 | 4.971963 | 0.635514 | 0.06015 | 0.075188 | 0.067669 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016234 | 0.175368 | 747 | 28 | 64 | 26.678571 | 0.847403 | 0.345382 | 0 | 0 | 0 | 0 | 0.209544 | 0.049793 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.470588 | 0 | 0.470588 | 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 |
481ec8c8c2ca61781a2f39063934e92d01904202 | 405 | py | Python | 01-day/main.py | timbook/advent-of-code-2020 | 3b1c107a67b9f31891e77a258e45aee76fac4e47 | [
"MIT"
] | null | null | null | 01-day/main.py | timbook/advent-of-code-2020 | 3b1c107a67b9f31891e77a258e45aee76fac4e47 | [
"MIT"
] | null | null | null | 01-day/main.py | timbook/advent-of-code-2020 | 3b1c107a67b9f31891e77a258e45aee76fac4e47 | [
"MIT"
] | null | null | null | from itertools import product
report = [int(item) for item in open('input.txt', 'r').readlines()]
dubs = {(a + b): (a, b) for a, b in product(report, report)}
nums = dubs[2020]
prod1 = nums[0]*nums[1]
print(f"Doubles product: {prod1}")
trips = {(a + b + c): (a, b, c) for a, b, c in product(report, report, report)}
n... | 28.928571 | 79 | 0.637037 | 71 | 405 | 3.633803 | 0.422535 | 0.046512 | 0.034884 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049853 | 0.158025 | 405 | 13 | 80 | 31.153846 | 0.706745 | 0 | 0 | 0 | 0 | 0 | 0.14321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.2 | 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 |
4821da241ba5c2e2d30466dc234e9da318b9d9a5 | 422 | py | Python | apps/user/migrations/0003_userprofile_integral.py | wychmod/Taro-Education | 869852b33c06f6eb2c06191c4544e74db9eba8ce | [
"Apache-2.0"
] | 1 | 2020-04-14T16:50:04.000Z | 2020-04-14T16:50:04.000Z | apps/user/migrations/0003_userprofile_integral.py | wychmod/Taro-Education | 869852b33c06f6eb2c06191c4544e74db9eba8ce | [
"Apache-2.0"
] | 3 | 2021-03-10T14:51:26.000Z | 2022-02-27T03:03:10.000Z | apps/user/migrations/0003_userprofile_integral.py | wychmod/Taro-Education | 869852b33c06f6eb2c06191c4544e74db9eba8ce | [
"Apache-2.0"
] | null | null | null | # Generated by Django 3.0.4 on 2020-04-16 00:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('user', '0002_auto_20200414_1516'),
]
operations = [
migrations.AddField(
model_name='userprofile',
name='integral',
... | 22.210526 | 84 | 0.609005 | 47 | 422 | 5.340426 | 0.808511 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10356 | 0.267773 | 422 | 18 | 85 | 23.444444 | 0.708738 | 0.106635 | 0 | 0 | 1 | 0 | 0.133333 | 0.061333 | 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 |
4824de5de985bc01cc701147ef5adb113905ce56 | 107,998 | py | Python | bin/ADFRsuite/CCSBpckgs/PmvApp/Pmv.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | null | null | null | bin/ADFRsuite/CCSBpckgs/PmvApp/Pmv.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | null | null | null | bin/ADFRsuite/CCSBpckgs/PmvApp/Pmv.py | AngelRuizMoreno/Jupyter_Dock_devel | 6d23bc174d5294d1e9909a0a1f9da0713042339e | [
"MIT"
] | 1 | 2021-11-04T21:48:14.000Z | 2021-11-04T21:48:14.000Z | ################################################################################
##
## This library is free software; you can redistribute it and/or
## modify it under the terms of the GNU Lesser General Public
## License as published by the Free Software Foundation; either
## version 2.1 of the License, or (at your op... | 41.698069 | 255 | 0.54626 | 11,215 | 107,998 | 5.220954 | 0.125279 | 0.009564 | 0.004919 | 0.011613 | 0.33187 | 0.294622 | 0.275238 | 0.256195 | 0.240483 | 0.227691 | 0 | 0.006472 | 0.338988 | 107,998 | 2,589 | 256 | 41.714175 | 0.813736 | 0.229699 | 0 | 0.279762 | 0 | 0.012566 | 0.101471 | 0.025703 | 0.001323 | 0 | 0 | 0.000773 | 0.007275 | 0 | null | null | 0.015212 | 0.039021 | null | null | 0.007275 | 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 |
482e2248919b5c8ea2b9e3d103f5b7e737b30e44 | 26,705 | py | Python | varnet/varnet.py | zfang92/varnet | 4e76fb8ad2ed6537bd8bd1e1e803ef45d32420d5 | [
"MIT"
] | null | null | null | varnet/varnet.py | zfang92/varnet | 4e76fb8ad2ed6537bd8bd1e1e803ef45d32420d5 | [
"MIT"
] | null | null | null | varnet/varnet.py | zfang92/varnet | 4e76fb8ad2ed6537bd8bd1e1e803ef45d32420d5 | [
"MIT"
] | null | null | null | """
Paul Rozdeba (prozdeba@physics.ucsd.edu)
Department of Physics
University of California, San Diego
May 23, 2017
NeuralNetVA
Carry out variational annealing (VA) to train a neural network model. Network
states and activation function parameters are estimated from training data
consisting of many input/output pair... | 39.621662 | 100 | 0.520839 | 3,445 | 26,705 | 3.967489 | 0.138171 | 0.055165 | 0.021071 | 0.009877 | 0.460565 | 0.388426 | 0.354112 | 0.319579 | 0.292654 | 0.243196 | 0 | 0.0229 | 0.334469 | 26,705 | 673 | 101 | 39.680535 | 0.746132 | 0.213181 | 0 | 0.392857 | 0 | 0 | 0.029951 | 0.001808 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.011905 | null | null | 0.02381 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
483197b48310ad977a39ec9a8d7e2a57c92eb22c | 9,703 | py | Python | ramp-frontend/ramp_frontend/forms.py | kegl/ramp-board | 6373bf02efc096e02b26320e4f11edd00f9e5752 | [
"BSD-3-Clause"
] | null | null | null | ramp-frontend/ramp_frontend/forms.py | kegl/ramp-board | 6373bf02efc096e02b26320e4f11edd00f9e5752 | [
"BSD-3-Clause"
] | null | null | null | ramp-frontend/ramp_frontend/forms.py | kegl/ramp-board | 6373bf02efc096e02b26320e4f11edd00f9e5752 | [
"BSD-3-Clause"
] | null | null | null | """
The :mod:`ramp_frontend.forms` module defines the different forms used on the
website.
"""
from flask_wtf import FlaskForm
from wtforms import BooleanField
from wtforms import DateField
from wtforms import DateTimeField
from wtforms import FileField
from wtforms import IntegerField
from wtforms import PasswordFie... | 30.227414 | 77 | 0.661342 | 1,138 | 9,703 | 5.493849 | 0.188049 | 0.03247 | 0.025592 | 0.03263 | 0.496001 | 0.457294 | 0.435541 | 0.392674 | 0.385317 | 0.369162 | 0 | 0.003272 | 0.243945 | 9,703 | 320 | 78 | 30.321875 | 0.848964 | 0.446254 | 0 | 0.132231 | 0 | 0 | 0.104742 | 0.005058 | 0 | 0 | 0 | 0 | 0 | 1 | 0.016529 | false | 0.049587 | 0.115702 | 0 | 0.619835 | 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 |
4832419a61105af13c6b4a9e38286a08f23d3e83 | 8,344 | py | Python | SRB_MFC_WRF_Python/tslist_time_series.py | ksopan/WRF_Post_MFLUX | 23a2ca6f89575b10e8a46c1a96492ab0420d72cd | [
"MIT"
] | null | null | null | SRB_MFC_WRF_Python/tslist_time_series.py | ksopan/WRF_Post_MFLUX | 23a2ca6f89575b10e8a46c1a96492ab0420d72cd | [
"MIT"
] | null | null | null | SRB_MFC_WRF_Python/tslist_time_series.py | ksopan/WRF_Post_MFLUX | 23a2ca6f89575b10e8a46c1a96492ab0420d72cd | [
"MIT"
] | null | null | null |
# Plot a timeseries of observed (from MesoWest API) and WRF wind and temperature variables
# This version has the ability to plot two different WRF outputs.
from functions import wind_calcs, MesoWest_timeseries, WRF_timeseries, read_tslist, WRF_timeseries
from datetime import datetime, timedelta
import numpy as np
im... | 35.355932 | 98 | 0.67941 | 1,347 | 8,344 | 4.021529 | 0.178174 | 0.031013 | 0.018091 | 0.028429 | 0.567104 | 0.46871 | 0.436404 | 0.399668 | 0.387853 | 0.374192 | 0 | 0.050772 | 0.169104 | 8,344 | 235 | 99 | 35.506383 | 0.730564 | 0.176894 | 0 | 0.013514 | 0 | 0 | 0.107886 | 0.019496 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.006757 | 0.033784 | null | null | 0.027027 | 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 |
483598e5ca74f1f5382b4a1c70dc3e579fc1162d | 2,555 | py | Python | salamandra/object.py | enics-labs/salamandra | e3f334d0ead5296b02c471b56cb90b1516e12769 | [
"Apache-2.0"
] | 1 | 2021-11-18T10:45:26.000Z | 2021-11-18T10:45:26.000Z | salamandra/object.py | enics-labs/salamandra | e3f334d0ead5296b02c471b56cb90b1516e12769 | [
"Apache-2.0"
] | null | null | null | salamandra/object.py | enics-labs/salamandra | e3f334d0ead5296b02c471b56cb90b1516e12769 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 EnICS Labs, Bar-Ilan University.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
import re
class Object(object):
@staticmethod
def is_name_valid(name): # verilog rules
return re.match(r'(^[a-zA-Z_][a-zA-Z0-9_$]{0,1023}... | 35.985915 | 106 | 0.626614 | 358 | 2,555 | 4.298883 | 0.304469 | 0.040936 | 0.007797 | 0.02924 | 0.222222 | 0.191033 | 0.158545 | 0.158545 | 0.158545 | 0.11306 | 0 | 0.016393 | 0.259883 | 2,555 | 70 | 107 | 36.5 | 0.797462 | 0.175734 | 0 | 0.2 | 0 | 0.02 | 0.0821 | 0.037709 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22 | false | 0 | 0.02 | 0.1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4836350ca0111e1c8fd5c64ea6affc7939cedb10 | 1,188 | py | Python | nodeconductor/quotas/admin.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null | nodeconductor/quotas/admin.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null | nodeconductor/quotas/admin.py | p-p-m/nodeconductor | bc702302ef65c89793452f0fd6ca9a6bec79782f | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from django.contrib.contenttypes import models as ct_models, generic
from nodeconductor.core.admin import ReversionAdmin
from nodeconductor.quotas import models, utils
class QuotaScopeClassListFilter(admin.SimpleListFilter):
# Human-readable title
title = 'Scope class'
#... | 29.7 | 96 | 0.72138 | 144 | 1,188 | 5.770833 | 0.472222 | 0.052948 | 0.062575 | 0.045728 | 0.064982 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001034 | 0.186027 | 1,188 | 39 | 97 | 30.461538 | 0.858325 | 0.06734 | 0 | 0 | 0 | 0 | 0.057014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.08 | false | 0 | 0.16 | 0 | 0.84 | 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 |
483d6894ceb1997aca70a3d22bcae83ff2dc9188 | 3,657 | py | Python | SCTF/2017 Quals/ASM/solver.py | PurpEth/solved-hacking-problem | 6f289d1647eb9c091caa580c7aae673e3ba02952 | [
"Unlicense"
] | 1 | 2021-08-24T22:16:41.000Z | 2021-08-24T22:16:41.000Z | SCTF/2017 Quals/ASM/solver.py | PurpEth/solved-hacking-problem | 6f289d1647eb9c091caa580c7aae673e3ba02952 | [
"Unlicense"
] | null | null | null | SCTF/2017 Quals/ASM/solver.py | PurpEth/solved-hacking-problem | 6f289d1647eb9c091caa580c7aae673e3ba02952 | [
"Unlicense"
] | null | null | null | from PIL import Image
import requests
import cStringIO
import json
from Queue import Queue
WHITE_CELL = (255, 255, 255, 255)
DATA = (
('+', 854, 47, 52),
('*', 826, 39, 51),
('-', 229, 22, 10),
('0', 1696, 47, 74),
('1', 897, 29, 73),
('2', 1369, 43, 73),
('3', 1459, 46, 73),
('4', 12... | 26.889706 | 84 | 0.473612 | 570 | 3,657 | 2.954386 | 0.236842 | 0.013064 | 0.035629 | 0.040974 | 0.261283 | 0.231591 | 0.213183 | 0.166865 | 0.155582 | 0.155582 | 0 | 0.08575 | 0.349467 | 3,657 | 135 | 85 | 27.088889 | 0.62211 | 0 | 0 | 0.063636 | 0 | 0 | 0.048127 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.045455 | null | null | 0.018182 | 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 |
483f7f01711cf004fd19215e657437c0fbdc5ec3 | 1,317 | py | Python | follow_selenium.py | bot20200722/github-bot | cdae2d8f2ca3be1e56f540ddca849d84ef36a4f3 | [
"MIT"
] | 22 | 2020-07-22T14:12:30.000Z | 2021-11-15T11:23:29.000Z | follow_selenium.py | bot20200722/github-bot | cdae2d8f2ca3be1e56f540ddca849d84ef36a4f3 | [
"MIT"
] | null | null | null | follow_selenium.py | bot20200722/github-bot | cdae2d8f2ca3be1e56f540ddca849d84ef36a4f3 | [
"MIT"
] | 4 | 2020-07-22T21:14:01.000Z | 2020-11-19T20:32:39.000Z | import time
import sys
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
# Initializing the headless chrome
driver = webdriver.Chrome()
driver.get("https://github.com/login"... | 29.931818 | 98 | 0.709188 | 182 | 1,317 | 5.021978 | 0.472527 | 0.052516 | 0.068928 | 0.062363 | 0.125821 | 0.125821 | 0.125821 | 0.125821 | 0.085339 | 0 | 0 | 0.006416 | 0.171602 | 1,317 | 43 | 99 | 30.627907 | 0.831347 | 0.1306 | 0 | 0.068966 | 0 | 0 | 0.178227 | 0.023705 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.103448 | 0.206897 | 0 | 0.206897 | 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 |
4843ba9a873434edd060017eec2d1a43445cc1d4 | 1,543 | py | Python | tests/test_model_group.py | IndicoDataSolutions/indicoio | 2d92b09dddbac892934cbc4265f26ea9a4c89fac | [
"MIT"
] | null | null | null | tests/test_model_group.py | IndicoDataSolutions/indicoio | 2d92b09dddbac892934cbc4265f26ea9a4c89fac | [
"MIT"
] | 3 | 2020-01-22T15:30:43.000Z | 2020-02-10T15:50:19.000Z | tests/test_model_group.py | IndicoDataSolutions/indicoio-py | 2d92b09dddbac892934cbc4265f26ea9a4c89fac | [
"MIT"
] | null | null | null | import pytest
PREDICTION_TEXT = "This is a test prediction. If a finetune model predicts on this we may get an empty list as result."
@pytest.fixture(scope="module")
def model_group(indico):
results = indico.model_groups()
try:
return next(
result
for result in results
... | 28.574074 | 126 | 0.686973 | 205 | 1,543 | 4.980488 | 0.390244 | 0.13712 | 0.047013 | 0.066601 | 0.278159 | 0.15475 | 0.082272 | 0.082272 | 0 | 0 | 0 | 0.001684 | 0.230071 | 1,543 | 53 | 127 | 29.113208 | 0.857744 | 0.110823 | 0 | 0.114286 | 0 | 0.028571 | 0.175516 | 0 | 0 | 0 | 0 | 0.037736 | 0.285714 | 1 | 0.142857 | false | 0 | 0.028571 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4844f1e078adbfac989656e9578b17eccefffe8d | 8,733 | py | Python | main/lib/idds/tests/test_activelearning.py | wguanicedew/iDDS | ff3e8eadda3c7a7f8c87f0e68e06dbe02b7278e5 | [
"Apache-2.0"
] | null | null | null | main/lib/idds/tests/test_activelearning.py | wguanicedew/iDDS | ff3e8eadda3c7a7f8c87f0e68e06dbe02b7278e5 | [
"Apache-2.0"
] | null | null | null | main/lib/idds/tests/test_activelearning.py | wguanicedew/iDDS | ff3e8eadda3c7a7f8c87f0e68e06dbe02b7278e5 | [
"Apache-2.0"
] | 1 | 2020-05-27T13:04:38.000Z | 2020-05-27T13:04:38.000Z | #!/usr/bin/env python
#
# 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.0OA
#
# Authors:
# - Wen Guan, <wen.guan@cern.ch>, 2019 - 2021
"""
Test clie... | 47.983516 | 1,839 | 0.683156 | 1,137 | 8,733 | 5.066843 | 0.281442 | 0.026558 | 0.027079 | 0.010936 | 0.271133 | 0.167506 | 0.158132 | 0.134872 | 0.130186 | 0.130186 | 0 | 0.030097 | 0.174396 | 8,733 | 181 | 1,840 | 48.248619 | 0.768932 | 0.453796 | 0 | 0.137931 | 0 | 0.011494 | 0.151831 | 0.019935 | 0 | 0 | 0 | 0 | 0 | 1 | 0.068966 | false | 0 | 0.137931 | 0 | 0.275862 | 0.057471 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
484b2c44321272bf21c278413f4e47597e29f872 | 4,627 | py | Python | AlGDock/Aux_func.py | xinliu0609/AlGDock | 0795a9cfea690e1d287b8eb2be5ed8586f61b2d3 | [
"MIT"
] | null | null | null | AlGDock/Aux_func.py | xinliu0609/AlGDock | 0795a9cfea690e1d287b8eb2be5ed8586f61b2d3 | [
"MIT"
] | null | null | null | AlGDock/Aux_func.py | xinliu0609/AlGDock | 0795a9cfea690e1d287b8eb2be5ed8586f61b2d3 | [
"MIT"
] | null | null | null | import os #Miscellaneous operating system interfaces
from os.path import abspath
from os.path import exists
from os.path import isfile
from os.path import join
import cPickle as pickle
import gzip
import copy
import time
import numpy as np
import MMTK
import MMTK.Units
from MMTK.ParticleProperties import Conf... | 31.910345 | 100 | 0.582019 | 694 | 4,627 | 3.834294 | 0.242075 | 0.015032 | 0.013529 | 0.010522 | 0.105975 | 0.102969 | 0.091695 | 0.086434 | 0.040586 | 0.040586 | 0 | 0.029662 | 0.264102 | 4,627 | 144 | 101 | 32.131944 | 0.751836 | 0.14718 | 0 | 0.076923 | 0 | 0 | 0.024463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.021978 | 0.186813 | null | null | 0.054945 | 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 |
484eeea3a6fe8c0fff435b008595202a83f84c14 | 702 | py | Python | sunpy/image/tests/test_util.py | drewleonard42/sunpy | 79ca90a032213d82d42a3657a693b20b99b22464 | [
"BSD-2-Clause"
] | null | null | null | sunpy/image/tests/test_util.py | drewleonard42/sunpy | 79ca90a032213d82d42a3657a693b20b99b22464 | [
"BSD-2-Clause"
] | null | null | null | sunpy/image/tests/test_util.py | drewleonard42/sunpy | 79ca90a032213d82d42a3657a693b20b99b22464 | [
"BSD-2-Clause"
] | null | null | null | import pytest
import numpy as np
from numpy.testing import assert_allclose
from sunpy.image.util import to_norm, un_norm
def test_to_norm():
array_simple = np.array([10., 20., 30., 100.])
assert_allclose(to_norm(array_simple), np.array([0.1, 0.2, 0.3, 1.]))
array_simple_neg = np.array([-10., 0., 10., 90... | 33.428571 | 93 | 0.675214 | 128 | 702 | 3.46875 | 0.226563 | 0.247748 | 0.157658 | 0.036036 | 0.653153 | 0.646396 | 0.565315 | 0.538288 | 0.47973 | 0.47973 | 0 | 0.096828 | 0.146724 | 702 | 20 | 94 | 35.1 | 0.644407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.428571 | 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 |
48507e3117a0469a6b024147662fa35933b98c8b | 3,151 | py | Python | models/generators/calibration_nets/ToyCalNet.py | EliasKassapis/CAR | ff7ec86aab68c4b9ff8aea171244991bd132d487 | [
"Apache-2.0"
] | 17 | 2020-06-23T20:59:07.000Z | 2021-01-06T11:36:05.000Z | models/generators/calibration_nets/ToyCalNet.py | EliasKassapis/CAR | ff7ec86aab68c4b9ff8aea171244991bd132d487 | [
"Apache-2.0"
] | 5 | 2021-03-19T13:28:40.000Z | 2022-03-12T00:34:32.000Z | models/generators/calibration_nets/ToyCalNet.py | EliasKassapis/CAR | ff7ec86aab68c4b9ff8aea171244991bd132d487 | [
"Apache-2.0"
] | 1 | 2021-08-20T09:03:17.000Z | 2021-08-20T09:03:17.000Z | import torch.nn as nn
import torch
import torch.nn.functional as F
from models.losses.NonSaturatingGLoss import NonSaturatingGLoss as GLoss
from utils.constants import CHANNEL_DIM
from models.generators.calibration_nets.GeneralCalNet import GeneralCalNet
class ToyCalNet(GeneralCalNet):
""" Defines a Toy Generator"... | 36.218391 | 130 | 0.624564 | 407 | 3,151 | 4.636364 | 0.297297 | 0.055644 | 0.048225 | 0.031797 | 0.292528 | 0.27027 | 0.255432 | 0.255432 | 0.255432 | 0.236354 | 0 | 0.016957 | 0.270073 | 3,151 | 87 | 131 | 36.218391 | 0.803478 | 0.298001 | 0 | 0.25 | 0 | 0 | 0.008515 | 0 | 0 | 0 | 0 | 0.011494 | 0 | 1 | 0.05 | false | 0 | 0.15 | 0 | 0.275 | 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 |
48535c621c28297cfcc2d49910ee695ce0743f23 | 2,208 | py | Python | Amazon.py | coding-with-ali/30-lines-code.py | 5d678f28b066391aa1c70dcca62324e7678ddd0e | [
"MIT"
] | null | null | null | Amazon.py | coding-with-ali/30-lines-code.py | 5d678f28b066391aa1c70dcca62324e7678ddd0e | [
"MIT"
] | null | null | null | Amazon.py | coding-with-ali/30-lines-code.py | 5d678f28b066391aa1c70dcca62324e7678ddd0e | [
"MIT"
] | null | null | null | print("[+]amazon Valid Email Checker by BL4CKP4N7H3R.PH[+]")
import requests
live = open('PayPalLive.txt', 'w')
die = open('PayPalDie.txt', 'w')
Checked = "Checked by BL4CKP4N7H3R.PH Valid Email Checker"
print("_"*50)
print("amazon Valid Email Checker by BL4CKP4N7H3R.PH")
print("I dont't Accept any Responsibility for a... | 64.941176 | 841 | 0.762228 | 310 | 2,208 | 5.390323 | 0.590323 | 0.023938 | 0.028725 | 0.037702 | 0.168761 | 0.168761 | 0.168761 | 0.168761 | 0.116098 | 0.08857 | 0 | 0.152941 | 0.076087 | 2,208 | 33 | 842 | 66.909091 | 0.666176 | 0 | 0 | 0 | 0 | 0.060606 | 0.720109 | 0.009511 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.030303 | 0.030303 | 0 | 0.030303 | 0.363636 | 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 |
48574c594390ab59012b6596c00b5d20fc389afe | 6,667 | py | Python | examples/library/was_server.py | ajaco56/ansible-websphere | d02c0749a1b37040a20ca5a8895d7d4c13b1d8aa | [
"MIT"
] | 75 | 2016-02-12T10:30:21.000Z | 2022-01-27T01:37:02.000Z | examples/library/was_server.py | ajaco56/ansible-websphere | d02c0749a1b37040a20ca5a8895d7d4c13b1d8aa | [
"MIT"
] | 13 | 2017-10-06T19:42:02.000Z | 2021-08-02T18:49:54.000Z | examples/library/was_server.py | ajaco56/ansible-websphere | d02c0749a1b37040a20ca5a8895d7d4c13b1d8aa | [
"MIT"
] | 72 | 2016-01-31T01:34:33.000Z | 2022-03-16T23:22:14.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (c) 2015 Amir Mofasser <amir.mofasser@gmail.com> (@amimof)
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
DOCUMENTATION = """
module: was_server
version_added: "1.9.4"
short_description: Stop/Start a WebSphere Applicat... | 30.442922 | 135 | 0.60447 | 776 | 6,667 | 5.082474 | 0.215206 | 0.039047 | 0.034483 | 0.028905 | 0.524087 | 0.473631 | 0.457404 | 0.457404 | 0.457404 | 0.429513 | 0 | 0.011252 | 0.280186 | 6,667 | 218 | 136 | 30.582569 | 0.810586 | 0.042898 | 0 | 0.445055 | 0 | 0.016484 | 0.319208 | 0.023868 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.032967 | 0.027473 | 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 |
485dfb50f4f4f2d6ee75fdaac3ca06ef7a91c6e7 | 3,588 | py | Python | obsolete/get_sequences_from_www.py | 861934367/cgat | 77fdc2f819320110ed56b5b61968468f73dfc5cb | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 87 | 2015-01-01T03:48:19.000Z | 2021-11-23T16:23:24.000Z | obsolete/get_sequences_from_www.py | 861934367/cgat | 77fdc2f819320110ed56b5b61968468f73dfc5cb | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 189 | 2015-01-06T15:53:11.000Z | 2019-05-31T13:19:45.000Z | obsolete/get_sequences_from_www.py | CGATOxford/cgat | 326aad4694bdfae8ddc194171bb5d73911243947 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 56 | 2015-01-13T02:18:50.000Z | 2022-01-05T10:00:59.000Z | ################################################################################
#
# MRC FGU Computational Genomics Group
#
# $Id$
#
# Copyright (C) 2009 Andreas Heger
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as publish... | 26.382353 | 119 | 0.575251 | 422 | 3,588 | 4.805687 | 0.471564 | 0.026627 | 0.031558 | 0.037475 | 0.121302 | 0.058185 | 0.030572 | 0 | 0 | 0 | 0 | 0.017517 | 0.268116 | 3,588 | 135 | 120 | 26.577778 | 0.75476 | 0.216276 | 0 | 0.071429 | 0 | 0.017857 | 0.141443 | 0.022631 | 0 | 0 | 0 | 0.007407 | 0 | 0 | null | null | 0 | 0.25 | null | null | 0.053571 | 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 |
485e44364de1e527bc04fee3f1fa8f456da33b82 | 4,845 | py | Python | common/theme_generator.py | lttlrck/GitSavvy | adfb6876f8d190f101cba8b220179aa9a3adb03a | [
"MIT"
] | null | null | null | common/theme_generator.py | lttlrck/GitSavvy | adfb6876f8d190f101cba8b220179aa9a3adb03a | [
"MIT"
] | null | null | null | common/theme_generator.py | lttlrck/GitSavvy | adfb6876f8d190f101cba8b220179aa9a3adb03a | [
"MIT"
] | null | null | null | """
Given the resource path to a Sublime theme file, generate a new
theme and allow the consumer to augment this theme and apply it
to a view.
"""
import os
from xml.etree import ElementTree
import json
from collections import OrderedDict
import sublime
from . import util
STYLES_HEADER = """
<?xml version="1.0" enco... | 33.184932 | 102 | 0.644169 | 630 | 4,845 | 4.766667 | 0.271429 | 0.058608 | 0.050616 | 0.034965 | 0.314352 | 0.290376 | 0.249084 | 0.195138 | 0.131868 | 0.131868 | 0 | 0.004041 | 0.233849 | 4,845 | 145 | 103 | 33.413793 | 0.804957 | 0.188235 | 0 | 0.292683 | 1 | 0.012195 | 0.149015 | 0.018893 | 0 | 0 | 0 | 0 | 0 | 1 | 0.134146 | false | 0.02439 | 0.073171 | 0 | 0.280488 | 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 |
48624433bc4a0b492d05decdd0cf20bfac1e4dc6 | 783 | py | Python | python/pynetplot/readBinaryDataSet.py | nadurthi/cpputility | cd89e507e850c4fa46bc0640be62f4b24b37d553 | [
"MIT"
] | null | null | null | python/pynetplot/readBinaryDataSet.py | nadurthi/cpputility | cd89e507e850c4fa46bc0640be62f4b24b37d553 | [
"MIT"
] | null | null | null | python/pynetplot/readBinaryDataSet.py | nadurthi/cpputility | cd89e507e850c4fa46bc0640be62f4b24b37d553 | [
"MIT"
] | null | null | null | def readBinaryDataSet(metaFilePath,binaryFilePath):
dfmeta = pd.read_csv(metaFilePath)
binaryFile = open(binaryFilePath,'rb')
# print binaryFile.seek()
FileVars={}
for ind in dfmeta.index:
binaryFile.seek(dfmeta.loc[ind,'startBytePosition'])
typenum = None
if dfmeta.loc[ind,'internalVartype'] == 'int':
... | 34.043478 | 77 | 0.698595 | 103 | 783 | 5.291262 | 0.436893 | 0.165138 | 0.220183 | 0.102752 | 0.159633 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0.130268 | 783 | 23 | 78 | 34.043478 | 0.791483 | 0.037037 | 0 | 0 | 0 | 0 | 0.155585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0 | 0 | 0.111111 | 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 |
4865f38d08de6afa04d816adab024f75e8ff09d7 | 3,350 | py | Python | src/oscartest/getcrndetails/migrations/0001_initial.py | AlexanderPuckhaber/django-oscar-scraper | b58d8f0414572085fdec01aa991852cebb6cb290 | [
"MIT"
] | 1 | 2021-01-12T22:09:39.000Z | 2021-01-12T22:09:39.000Z | src/oscartest/getcrndetails/migrations/0001_initial.py | AlexanderPuckhaber/django-oscar-scraper | b58d8f0414572085fdec01aa991852cebb6cb290 | [
"MIT"
] | null | null | null | src/oscartest/getcrndetails/migrations/0001_initial.py | AlexanderPuckhaber/django-oscar-scraper | b58d8f0414572085fdec01aa991852cebb6cb290 | [
"MIT"
] | null | null | null | # Generated by Django 3.1.4 on 2021-01-09 02:25
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Course',
fields=[
... | 45.27027 | 142 | 0.607463 | 327 | 3,350 | 6.079511 | 0.256881 | 0.028169 | 0.042254 | 0.066398 | 0.637324 | 0.559859 | 0.419517 | 0.419517 | 0.419517 | 0.419517 | 0 | 0.013776 | 0.263284 | 3,350 | 73 | 143 | 45.890411 | 0.791734 | 0.013433 | 0 | 0.469697 | 1 | 0 | 0.185589 | 0.049652 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.030303 | 0 | 0.090909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
486be9fcb31f2e2274ea92243e65f9a7eed20a9a | 384 | py | Python | waste_not_the_water/datacleaning.py | Lenaxiao/Waste-Water-Treatment-Project | 35885116fd4d1d8113ba900ff1be0d60934b6590 | [
"MIT"
] | 4 | 2018-02-20T22:44:48.000Z | 2018-09-26T06:03:27.000Z | waste_not_the_water/datacleaning.py | parkec3/waste_not_the_water | 35885116fd4d1d8113ba900ff1be0d60934b6590 | [
"MIT"
] | 4 | 2020-03-24T15:33:36.000Z | 2021-06-01T21:55:09.000Z | waste_not_the_water/datacleaning.py | Lenaxiao/Waste-Water-Treatment-Project | 35885116fd4d1d8113ba900ff1be0d60934b6590 | [
"MIT"
] | 1 | 2019-02-22T19:06:38.000Z | 2019-02-22T19:06:38.000Z | import pandas as pd
data = pd.read_csv('data/T_UWWTPS.csv')
df_toclean = pd.DataFrame(data = {'Member State': data['rptMStateKey'], 'Latitude': data['uwwLatitude'],
'Longitude': data['uwwLongitude'], 'LoadEntering': data['uwwLoadEnteringUWWTP'], 'Capacity':
data['uwwCapacity'], 'NRemoval': data['uwwNRemoval'], 'PRemo... | 54.857143 | 105 | 0.726563 | 45 | 384 | 6.066667 | 0.666667 | 0.065934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080729 | 384 | 6 | 106 | 64 | 0.773371 | 0 | 0 | 0 | 0 | 0 | 0.442708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 |
4876087e69574ef9d3dc253a96e206a0586174a7 | 252 | py | Python | python/p009.py | v0rs4/project_euler_solutions | be7578c52125df39e01583f366591a9416ea94d7 | [
"MIT"
] | null | null | null | python/p009.py | v0rs4/project_euler_solutions | be7578c52125df39e01583f366591a9416ea94d7 | [
"MIT"
] | null | null | null | python/p009.py | v0rs4/project_euler_solutions | be7578c52125df39e01583f366591a9416ea94d7 | [
"MIT"
] | null | null | null | def solve():
for n in range(1, 1001):
for m in range(n + 1, 1001):
a, b, c = (m**2 - n**2, 2 * m * n, m**2 + n**2)
if a + b + c == 1000:
return a * b * c
if __name__ == "__main__":
print(solve()) | 28 | 59 | 0.400794 | 43 | 252 | 2.162791 | 0.44186 | 0.064516 | 0.096774 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128378 | 0.412698 | 252 | 9 | 60 | 28 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.031621 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.25 | 0.125 | 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 |
487fbb192134ca9805ae0f2ce05d6a5b66ec21e4 | 4,643 | py | Python | hk_ros_2021/scripts/tagdetect2.py | nmaatta/hk_ros_2021 | 3da25e961b5c9bffd5d8af7a9e10b99967c9e78b | [
"MIT"
] | 2 | 2021-02-15T12:36:41.000Z | 2021-02-15T16:52:16.000Z | hk_ros_2021/scripts/tagdetect2.py | nmaatta/hk_ros_2021 | 3da25e961b5c9bffd5d8af7a9e10b99967c9e78b | [
"MIT"
] | null | null | null | hk_ros_2021/scripts/tagdetect2.py | nmaatta/hk_ros_2021 | 3da25e961b5c9bffd5d8af7a9e10b99967c9e78b | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import rospy
import math
import tf
#import geometry_msgs.msg
import tf2_ros
import tf2_geometry_msgs
#include "std_msgs/Header.h"
#include "geometry_msgs/PoseWithCovariance.h
#from nav_msgs.msg import Odometry
#from tf.msg import tfMessage
#from apriltag_ros import ApriltagDetectionArray
#from g... | 34.139706 | 116 | 0.718716 | 559 | 4,643 | 5.781753 | 0.252236 | 0.024134 | 0.020111 | 0.0263 | 0.370978 | 0.313738 | 0.284344 | 0.204208 | 0.181312 | 0.125619 | 0 | 0.017598 | 0.167779 | 4,643 | 135 | 117 | 34.392593 | 0.818841 | 0.542753 | 0 | 0.261905 | 0 | 0 | 0.021443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.190476 | null | null | 0.02381 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
4880fb976afa3c046d2e36b8f46202be133a8e4b | 5,464 | py | Python | prince_data_utils/photo_nuclear.py | joheinze/PriNCe-data-utils | ec8f50c54feee4a033ee927a8e53e1a96d381814 | [
"BSD-3-Clause"
] | 1 | 2020-05-16T01:39:03.000Z | 2020-05-16T01:39:03.000Z | prince_data_utils/photo_nuclear.py | joheinze/PriNCe-data-utils | ec8f50c54feee4a033ee927a8e53e1a96d381814 | [
"BSD-3-Clause"
] | 2 | 2020-05-12T02:03:57.000Z | 2020-05-12T10:33:39.000Z | prince_data_utils/photo_nuclear.py | joheinze/PriNCe-data-utils | ec8f50c54feee4a033ee927a8e53e1a96d381814 | [
"BSD-3-Clause"
] | 1 | 2020-05-16T01:34:46.000Z | 2020-05-16T01:34:46.000Z | """Construction of 2D data tables from ASCII files obtained from models/simulations
or other sources.
Currently supported are the files generated for the papers:
| Nuclear Physics Meets the Sources of the Ultra-High Energy Cosmic Rays
| Denise Boncioli, Anatoli Fedynitch, Walter Winter
| Sci.Rep. 7 (2017)... | 40.776119 | 122 | 0.67295 | 745 | 5,464 | 4.726175 | 0.30604 | 0.025561 | 0.035785 | 0.049702 | 0.245953 | 0.166998 | 0.094575 | 0.076683 | 0.061346 | 0.040897 | 0 | 0.033782 | 0.225293 | 5,464 | 133 | 123 | 41.082707 | 0.798016 | 0.273609 | 0 | 0.027778 | 1 | 0 | 0.050386 | 0.006684 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.055556 | false | 0 | 0.083333 | 0 | 0.166667 | 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 |
4881676875de0c53b548086d2f89bc12d83a9670 | 1,406 | py | Python | source/controlTypes/__init__.py | SamKacer/nvda | 0f08ccb7e524c425d2cdad96bf4a9ad7bd59a043 | [
"bzip2-1.0.6"
] | null | null | null | source/controlTypes/__init__.py | SamKacer/nvda | 0f08ccb7e524c425d2cdad96bf4a9ad7bd59a043 | [
"bzip2-1.0.6"
] | null | null | null | source/controlTypes/__init__.py | SamKacer/nvda | 0f08ccb7e524c425d2cdad96bf4a9ad7bd59a043 | [
"bzip2-1.0.6"
] | null | null | null | # A part of NonVisual Desktop Access (NVDA)
# This file is covered by the GNU General Public License.
# See the file COPYING for more details.
# Copyright (C) 2007-2021 NV Access Limited, Babbage B.V.
from .formatFields import TextPosition
from .isCurrent import IsCurrent
from .outputReason import OutputReason
... | 37 | 108 | 0.780228 | 152 | 1,406 | 7.151316 | 0.565789 | 0.0092 | 0.077277 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016849 | 0.155761 | 1,406 | 37 | 109 | 38 | 0.898905 | 0.465861 | 0 | 0 | 0 | 0 | 0.211127 | 0.029957 | 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 |
488898dd40c394365e9ffbbcfba15018cce0ac33 | 5,345 | py | Python | video_player_options.py | Cantemo/PortalPluginTemplate | 87fcd6c5800bdfeee483fe779bfdefb340a62744 | [
"BSD-3-Clause"
] | 3 | 2017-06-30T18:40:22.000Z | 2021-08-16T16:35:14.000Z | video_player_options.py | Cantemo/PortalPluginTemplate | 87fcd6c5800bdfeee483fe779bfdefb340a62744 | [
"BSD-3-Clause"
] | null | null | null | video_player_options.py | Cantemo/PortalPluginTemplate | 87fcd6c5800bdfeee483fe779bfdefb340a62744 | [
"BSD-3-Clause"
] | null | null | null | """
An example and test plugin for Item Page, SubClip Page, Sharing Page and Annotation Tool video player option overrides.
These plugins are supported in Portal 3.4.4 and later.
Some of these examples are available in documentation as well.
"""
from portal.generic.plugin_interfaces import IPluginBlock
from portal.p... | 37.640845 | 119 | 0.605239 | 522 | 5,345 | 6.126437 | 0.33908 | 0.025016 | 0.035022 | 0.036273 | 0.503752 | 0.501251 | 0.501251 | 0.48843 | 0.435272 | 0.435272 | 0 | 0.024597 | 0.315435 | 5,345 | 141 | 120 | 37.907801 | 0.849412 | 0.225444 | 0 | 0.52439 | 0 | 0.02439 | 0.635155 | 0.157558 | 0 | 0 | 0 | 0 | 0 | 1 | 0.097561 | false | 0 | 0.02439 | 0 | 0.231707 | 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 |
488949f24b6fcfc04cdae219156e4ab1355c4367 | 13,710 | py | Python | BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/basemodel/doxygen.py | ya-enot/edk2 | 40cb1f25d4237a483f53fa435308608095b27d1c | [
"BSD-2-Clause"
] | 1 | 2019-05-15T17:30:34.000Z | 2019-05-15T17:30:34.000Z | BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/basemodel/doxygen.py | ya-enot/edk2 | 40cb1f25d4237a483f53fa435308608095b27d1c | [
"BSD-2-Clause"
] | null | null | null | BaseTools/Scripts/PackageDocumentTools/plugins/EdkPlugins/basemodel/doxygen.py | ya-enot/edk2 | 40cb1f25d4237a483f53fa435308608095b27d1c | [
"BSD-2-Clause"
] | 1 | 2019-12-03T22:35:48.000Z | 2019-12-03T22:35:48.000Z | ## @file
#
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available
# under the terms and conditions of the BSD License which accompanies this
# distribution. The full text of the license may be found at
# http://open... | 30.466667 | 102 | 0.529686 | 1,362 | 13,710 | 5.129222 | 0.317915 | 0.025766 | 0.011022 | 0.016461 | 0.089751 | 0.06012 | 0.050959 | 0.033782 | 0.024048 | 0.011451 | 0 | 0.004202 | 0.375128 | 13,710 | 449 | 103 | 30.534521 | 0.811252 | 0.03822 | 0 | 0.110512 | 0 | 0 | 0.495919 | 0.032085 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.005391 | null | null | 0.002695 | 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 |
6f7b39eae255e27f2e32ec1f9b9daaab503b3f2e | 1,127 | py | Python | deepbench/module_draw/AstroObject.py | deepskies/SimplePhysicalImage | 0dd771401cd65494d0d3235d4e97d8ef1f2eeb8e | [
"Apache-2.0"
] | 1 | 2020-02-27T16:15:04.000Z | 2020-02-27T16:15:04.000Z | deepbench/module_draw/AstroObject.py | deepskies/SimplePhysicalImage | 0dd771401cd65494d0d3235d4e97d8ef1f2eeb8e | [
"Apache-2.0"
] | 2 | 2020-02-27T16:50:56.000Z | 2020-03-10T14:48:56.000Z | deepbench/module_draw/AstroObject.py | deepskies/SimplePhysicalImage | 0dd771401cd65494d0d3235d4e97d8ef1f2eeb8e | [
"Apache-2.0"
] | 2 | 2020-07-23T21:33:02.000Z | 2022-03-12T08:10:41.000Z | import numpy.random as rand
import numpy as np
import scipy.ndimage
from deepbench.module_draw.generate_draw import *
class AstroObject:
def __init__(self, position, radius, amplitude, image_noise, gaussian_blur, image_dim):
"""
:param position:
:param radius:
:param a... | 31.305556 | 92 | 0.620231 | 129 | 1,127 | 5.24031 | 0.372093 | 0.119822 | 0.04142 | 0.056213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.286602 | 1,127 | 36 | 93 | 31.305556 | 0.840796 | 0.242236 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1875 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6f7f30c991e15b54efb336d528a1f3f45c7259ce | 1,681 | py | Python | src/teams/migrations/0037_auto_20180408_1416.py | pwelzel/bornhack-website | af794e6a2fba06e09626259c7768feb30ff394be | [
"BSD-3-Clause"
] | null | null | null | src/teams/migrations/0037_auto_20180408_1416.py | pwelzel/bornhack-website | af794e6a2fba06e09626259c7768feb30ff394be | [
"BSD-3-Clause"
] | null | null | null | src/teams/migrations/0037_auto_20180408_1416.py | pwelzel/bornhack-website | af794e6a2fba06e09626259c7768feb30ff394be | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2018-04-08 12:16
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('teams', '0036_auto_2018040... | 39.093023 | 202 | 0.650803 | 197 | 1,681 | 5.426396 | 0.411168 | 0.042095 | 0.088868 | 0.107577 | 0.487371 | 0.487371 | 0.347053 | 0.306829 | 0.306829 | 0.207671 | 0 | 0.026066 | 0.246877 | 1,681 | 42 | 203 | 40.02381 | 0.818325 | 0.040452 | 0 | 0.4 | 1 | 0.028571 | 0.290062 | 0.014286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.114286 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6f846f94115701b438ae1e4746703183bca6872c | 10,344 | py | Python | smart_keyboard/create_ngram_file.py | mindaffect/smart-keyboard | 58e38412303d0b73b37922efdda9eec0c4fb9731 | [
"MIT"
] | 1 | 2021-02-22T18:41:24.000Z | 2021-02-22T18:41:24.000Z | smart_keyboard/create_ngram_file.py | mindaffect/smart-keyboard | 58e38412303d0b73b37922efdda9eec0c4fb9731 | [
"MIT"
] | 3 | 2021-02-23T15:17:11.000Z | 2021-02-23T15:18:42.000Z | smart_keyboard/create_ngram_file.py | mindaffect/smart-keyboard | 58e38412303d0b73b37922efdda9eec0c4fb9731 | [
"MIT"
] | null | null | null | """
This script allows users to generate n-gram frequency files, which are used for word prediction, based on input .txt files.
If the output file already exists, it is loaded and updated with the specified files.
**Usage**::
python create_ngram_file.py [-flags] [args]
The following flags can be used:
* ``d... | 49.492823 | 170 | 0.637181 | 1,345 | 10,344 | 4.822305 | 0.272862 | 0.013876 | 0.012334 | 0.017731 | 0.16127 | 0.1107 | 0.096207 | 0.063676 | 0.052883 | 0.033457 | 0 | 0.003678 | 0.264018 | 10,344 | 208 | 171 | 49.730769 | 0.848286 | 0.411833 | 0 | 0.109091 | 1 | 0.009091 | 0.213024 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027273 | false | 0 | 0.054545 | 0 | 0.090909 | 0.136364 | 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 |
6f8673f6c3e6c14df699b2fcffcd4317904e06d9 | 816 | py | Python | apps/user/migrations/0007_uservalidatecode.py | banyanbbt/banyan_data | 4ce87dc1c49920d587a472b70842fcf5b3d9a3d2 | [
"MIT"
] | 2 | 2018-09-08T05:16:39.000Z | 2018-09-10T02:50:31.000Z | apps/user/migrations/0007_uservalidatecode.py | banyanbbt/banyan_data | 4ce87dc1c49920d587a472b70842fcf5b3d9a3d2 | [
"MIT"
] | null | null | null | apps/user/migrations/0007_uservalidatecode.py | banyanbbt/banyan_data | 4ce87dc1c49920d587a472b70842fcf5b3d9a3d2 | [
"MIT"
] | null | null | null | # Generated by Django 2.0.7 on 2018-08-02 13:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('user', '0006_usertask_is_file_answer'),
]
operations = [
migrations.CreateModel(
name='UserValidateCode',
fields=[
... | 34 | 114 | 0.602941 | 89 | 816 | 5.359551 | 0.629213 | 0.092243 | 0.09434 | 0.079665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041254 | 0.257353 | 816 | 23 | 115 | 35.478261 | 0.745875 | 0.055147 | 0 | 0 | 1 | 0 | 0.113134 | 0.036411 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.058824 | 0 | 0.235294 | 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 |
6f8ad4e04b896ac1ee084d3afdd3a186799af909 | 891 | py | Python | ODIN_II/regression_test/script/synth_using_odin.py | HackerFoo/vtr-verilog-to-routing | 9bf3c1004e8a7c9f3756167905fd2e71218158d0 | [
"MIT"
] | 31 | 2016-02-15T02:57:28.000Z | 2021-06-02T10:40:25.000Z | ODIN_II/regression_test/script/synth_using_odin.py | HackerFoo/vtr-verilog-to-routing | 9bf3c1004e8a7c9f3756167905fd2e71218158d0 | [
"MIT"
] | 12 | 2015-06-26T19:47:14.000Z | 2015-07-06T17:29:29.000Z | ODIN_II/regression_test/script/synth_using_odin.py | HackerFoo/vtr-verilog-to-routing | 9bf3c1004e8a7c9f3756167905fd2e71218158d0 | [
"MIT"
] | 6 | 2017-02-08T21:51:51.000Z | 2021-06-02T10:40:40.000Z | #! /usr/bin/python
#Iterate through a directory listing and synthesize each project using ODIN_II
import os
import subprocess
import sys
import odin_script_util as odin
from os.path import abspath
if len(sys.argv) is not 2:
print "usage: " + sys.argv[0] + " <dir>"
path = abspath(sys.argv[1]) + "/"
slog = open(p... | 27.84375 | 94 | 0.668911 | 135 | 891 | 4.362963 | 0.548148 | 0.040747 | 0.033956 | 0.047538 | 0.054329 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005391 | 0.167228 | 891 | 31 | 95 | 28.741935 | 0.78841 | 0.140292 | 0 | 0 | 0 | 0 | 0.14941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.227273 | null | null | 0.045455 | 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 |
6f933d2beb0f6acc8455843c34f1a446fe4efd4d | 2,756 | py | Python | examples/python/aeotecdsb09104.py | engagementlab/upm | 9be920dbcd4ff9f333bce27e937a6e72e46899d6 | [
"MIT"
] | 1 | 2018-11-08T03:59:01.000Z | 2018-11-08T03:59:01.000Z | examples/python/aeotecdsb09104.py | engagementlab/upm | 9be920dbcd4ff9f333bce27e937a6e72e46899d6 | [
"MIT"
] | null | null | null | examples/python/aeotecdsb09104.py | engagementlab/upm | 9be920dbcd4ff9f333bce27e937a6e72e46899d6 | [
"MIT"
] | 1 | 2018-11-08T03:59:04.000Z | 2018-11-08T03:59:04.000Z | #!/usr/bin/python
# Author: Jon Trulson <jtrulson@ics.com>
# Copyright (c) 2016 Intel Corporation.
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without l... | 36.746667 | 79 | 0.703919 | 381 | 2,756 | 5.055118 | 0.553806 | 0.045691 | 0.02648 | 0.017134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024201 | 0.20537 | 2,756 | 74 | 80 | 37.243243 | 0.855251 | 0.52939 | 0 | 0 | 0 | 0 | 0.258675 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.064516 | false | 0 | 0.096774 | 0 | 0.16129 | 0.419355 | 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 |
6f9826e801a2ba8fd1c78a21745c6f2e4e22acdc | 3,301 | bzl | Python | bazel/repository.bzl | vasireddy99/opentelemetry-cpp | 5e258b0c0c192620fe3410b9e56c7480fa278a82 | [
"Apache-2.0"
] | 2 | 2020-07-26T05:30:50.000Z | 2020-10-14T06:47:08.000Z | bazel/repository.bzl | vasireddy99/opentelemetry-cpp | 5e258b0c0c192620fe3410b9e56c7480fa278a82 | [
"Apache-2.0"
] | 71 | 2020-10-05T18:13:13.000Z | 2022-03-24T07:38:45.000Z | bazel/repository.bzl | vasireddy99/opentelemetry-cpp | 5e258b0c0c192620fe3410b9e56c7480fa278a82 | [
"Apache-2.0"
] | 2 | 2021-04-01T06:32:18.000Z | 2021-12-09T20:24:23.000Z | load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def opentelemetry_cpp_deps():
"""Loads dependencies need to compile the opentelemetry-cpp library."""
# Google Benchmark library.
# Only needed for benchmarks, not to build t... | 34.747368 | 107 | 0.646471 | 316 | 3,301 | 6.582278 | 0.278481 | 0.047596 | 0.061538 | 0.076923 | 0.400962 | 0.364904 | 0.288462 | 0.216346 | 0.180769 | 0.180769 | 0 | 0.180876 | 0.239624 | 3,301 | 94 | 108 | 35.117021 | 0.647809 | 0.10724 | 0 | 0.48 | 0 | 0.093333 | 0.54313 | 0.333106 | 0 | 0 | 0 | 0 | 0 | 1 | 0.013333 | true | 0 | 0 | 0 | 0.013333 | 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 |
6f9d7fb7903f0ba98a9930ab205eaa48150f8005 | 3,179 | py | Python | shop/views/signup.py | ujjawal30/online-electronic-store-django-postgresql | 14744066bba9d75c932cbf09e45ab7a4188bbfff | [
"MIT"
] | 1 | 2021-08-21T11:30:02.000Z | 2021-08-21T11:30:02.000Z | shop/views/signup.py | ujjawal30/online-electronic-store-django-postgresql | 14744066bba9d75c932cbf09e45ab7a4188bbfff | [
"MIT"
] | null | null | null | shop/views/signup.py | ujjawal30/online-electronic-store-django-postgresql | 14744066bba9d75c932cbf09e45ab7a4188bbfff | [
"MIT"
] | 1 | 2021-08-21T11:30:04.000Z | 2021-08-21T11:30:04.000Z | from django.contrib import messages
from django.contrib.auth import authenticate, login
from django.http.response import HttpResponseRedirect
from django.views import View
from django.shortcuts import render, redirect
from django.contrib.auth.models import User
from shop.models import Customer
class Signup(View):
... | 35.322222 | 97 | 0.57754 | 339 | 3,179 | 5.389381 | 0.292035 | 0.066229 | 0.072797 | 0.095785 | 0.141215 | 0.125342 | 0.106185 | 0.065681 | 0 | 0 | 0 | 0.009083 | 0.307329 | 3,179 | 90 | 98 | 35.322222 | 0.820618 | 0.005033 | 0 | 0.1 | 0 | 0 | 0.140734 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.025 | false | 0.1125 | 0.0875 | 0 | 0.2375 | 0.0125 | 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 |
6fa5dc1f680f91802ddfc86c22e665572fa60ba1 | 1,256 | py | Python | rlmolecule/tree_search/graph_search.py | NREL/rlmolecule | 7e98dca49ea82bf9d14164955d82adfa8bbc2d64 | [
"BSD-3-Clause"
] | 16 | 2020-12-28T21:45:09.000Z | 2022-03-19T12:03:58.000Z | rlmolecule/tree_search/graph_search.py | NREL/rlmolecule | 7e98dca49ea82bf9d14164955d82adfa8bbc2d64 | [
"BSD-3-Clause"
] | 56 | 2020-12-30T16:12:33.000Z | 2022-02-02T18:32:44.000Z | rlmolecule/tree_search/graph_search.py | NREL/rlmolecule | 7e98dca49ea82bf9d14164955d82adfa8bbc2d64 | [
"BSD-3-Clause"
] | 7 | 2021-01-05T01:34:04.000Z | 2021-09-29T13:42:44.000Z | from abc import ABC
from typing import Generic, Optional, Type, TypeVar
from rlmolecule.tree_search.canonicalizer.graph_search_canonicalizer import GraphSearchCanonicalizer
from rlmolecule.tree_search.canonicalizer.hash_canonicalizer import HashCanonicalizer
from rlmolecule.tree_search.graph_search_state import GraphS... | 40.516129 | 109 | 0.763535 | 131 | 1,256 | 7.061069 | 0.290076 | 0.059459 | 0.058378 | 0.077838 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169586 | 1,256 | 30 | 110 | 41.866667 | 0.886865 | 0.025478 | 0 | 0 | 0 | 0 | 0.00491 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.227273 | 0.090909 | 0.590909 | 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 |
6fa78fff0b32074e78e4b86a51bf20e03361a25e | 2,162 | py | Python | alien-invasion/ship.py | Leovaldez42/IRI | 59e06c339c2e0c3fdbbb2746f2842cd0bb251c2b | [
"MIT"
] | null | null | null | alien-invasion/ship.py | Leovaldez42/IRI | 59e06c339c2e0c3fdbbb2746f2842cd0bb251c2b | [
"MIT"
] | 1 | 2021-06-08T21:07:40.000Z | 2021-06-08T21:07:40.000Z | alien-invasion/ship.py | Leovaldez42/IRI | 59e06c339c2e0c3fdbbb2746f2842cd0bb251c2b | [
"MIT"
] | 1 | 2021-01-03T12:59:18.000Z | 2021-01-03T12:59:18.000Z | import os.path
import pygame
from pygame.sprite import Sprite
from game_stats import GameStats
from settings import Settings
class Ship(Sprite):
def __init__(self, ai_settings: Settings, screen: pygame.SurfaceType
, size=(0, 0), image_name="alien-invasion/images/ship1.png"):
"... | 36.033333 | 82 | 0.621184 | 281 | 2,162 | 4.644128 | 0.309609 | 0.049042 | 0.05364 | 0.029119 | 0.082759 | 0.082759 | 0.082759 | 0.082759 | 0.082759 | 0.082759 | 0 | 0.003884 | 0.285384 | 2,162 | 59 | 83 | 36.644068 | 0.840777 | 0.194727 | 0 | 0 | 0 | 0 | 0.030193 | 0.01872 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108108 | false | 0.054054 | 0.135135 | 0 | 0.27027 | 0.054054 | 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 |
6fa7f297b913f81e9fc2e58b51e576170d241d79 | 3,090 | py | Python | stonesoup/predictor/tests/test_information.py | Red-Portal/Stone-Soup-1 | 267621c86161a839da9b144c2745d28d9166d903 | [
"MIT"
] | 157 | 2019-04-14T20:43:11.000Z | 2022-03-30T08:30:33.000Z | stonesoup/predictor/tests/test_information.py | Red-Portal/Stone-Soup-1 | 267621c86161a839da9b144c2745d28d9166d903 | [
"MIT"
] | 364 | 2019-04-18T15:54:49.000Z | 2022-03-31T09:50:02.000Z | stonesoup/predictor/tests/test_information.py | Red-Portal/Stone-Soup-1 | 267621c86161a839da9b144c2745d28d9166d903 | [
"MIT"
] | 86 | 2019-04-20T02:01:18.000Z | 2022-03-28T01:03:11.000Z | # coding: utf-8
import datetime
import pytest
import numpy as np
from ...models.transition.linear import ConstantVelocity
from ...predictor.information import InformationKalmanPredictor
from ...predictor.kalman import KalmanPredictor
from ...types.state import InformationState, GaussianState
from ...types.array import... | 37.682927 | 99 | 0.698382 | 342 | 3,090 | 6.125731 | 0.318713 | 0.050119 | 0.05537 | 0.027208 | 0.191408 | 0.13222 | 0.064916 | 0 | 0 | 0 | 0 | 0.019942 | 0.221036 | 3,090 | 81 | 100 | 38.148148 | 0.850436 | 0.13657 | 0 | 0 | 0 | 0 | 0.024501 | 0 | 0 | 0 | 0 | 0.012346 | 0.096154 | 1 | 0.038462 | false | 0 | 0.153846 | 0.019231 | 0.230769 | 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 |
6fa96b828ad629b7c7a6fd5ed2cca5abc964ab8c | 2,092 | py | Python | v1/self_configurations/migrations/0001_initial.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 43 | 2020-07-12T23:08:35.000Z | 2021-11-28T00:50:49.000Z | v1/self_configurations/migrations/0001_initial.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 72 | 2020-07-15T02:33:15.000Z | 2021-10-04T20:52:13.000Z | v1/self_configurations/migrations/0001_initial.py | nishp77/Validator | 77888fc95db1c69a8a734a6d4eded5fe539ac0b6 | [
"MIT"
] | 43 | 2020-07-13T08:14:24.000Z | 2021-10-04T17:33:26.000Z | # Generated by Django 3.1 on 2020-08-30 02:11
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
initial = True
dependencies = [
('validators', '0001_initial'),
]
operations = [
... | 51.02439 | 204 | 0.651052 | 208 | 2,092 | 6.370192 | 0.4375 | 0.05434 | 0.060377 | 0.072453 | 0.129811 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035173 | 0.211759 | 2,092 | 40 | 205 | 52.3 | 0.768344 | 0.020554 | 0 | 0 | 1 | 0 | 0.197851 | 0.064973 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.121212 | 0 | 0.242424 | 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 |
6fb51fffa023ed41009fdcca12e6bdb9116b2530 | 2,018 | py | Python | wbia_cnn/test.py | WildMeOrg/wbia-plugin-cnn | c31ff09e77b731be4dffc348a1c40303e8c05994 | [
"Apache-2.0"
] | null | null | null | wbia_cnn/test.py | WildMeOrg/wbia-plugin-cnn | c31ff09e77b731be4dffc348a1c40303e8c05994 | [
"Apache-2.0"
] | null | null | null | wbia_cnn/test.py | WildMeOrg/wbia-plugin-cnn | c31ff09e77b731be4dffc348a1c40303e8c05994 | [
"Apache-2.0"
] | 1 | 2021-05-27T15:33:26.000Z | 2021-05-27T15:33:26.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
tests a test set of data using a specified, pre0trained model and weights
"""
import logging
from wbia_cnn import utils
import utool as ut
import six # NOQA
print, rrr, profile = ut.inject2(__name__)
logger = logging.getLogger()
def test(
data_fpath, model, weig... | 26.552632 | 90 | 0.607037 | 246 | 2,018 | 4.800813 | 0.410569 | 0.04149 | 0.043184 | 0.035563 | 0.250635 | 0.186283 | 0.050804 | 0 | 0 | 0 | 0 | 0.028402 | 0.249752 | 2,018 | 75 | 91 | 26.906667 | 0.751651 | 0.187314 | 0 | 0.105263 | 0 | 0 | 0.071212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.052632 | false | 0 | 0.315789 | 0 | 0.368421 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
6fb98865f53bea9a0671e2bdec9f413858d2b91a | 850 | py | Python | test/test/test_auction_house.py | Juhirani99/juhi | ef99de5b471fd48851b636d3fd1b1654b4d5afe6 | [
"MIT"
] | null | null | null | test/test/test_auction_house.py | Juhirani99/juhi | ef99de5b471fd48851b636d3fd1b1654b4d5afe6 | [
"MIT"
] | null | null | null | test/test/test_auction_house.py | Juhirani99/juhi | ef99de5b471fd48851b636d3fd1b1654b4d5afe6 | [
"MIT"
] | null | null | null | import unittest
from auction_system.auction import Auction
from auction_system.auction_house import AuctionHouse
from auction_system.item import Item
class TestAuctionHouse(unittest.TestCase):
def setUp(self):
self.auction_house = AuctionHouse()
def tearDown(self):
self.auction_house = None... | 28.333333 | 68 | 0.724706 | 98 | 850 | 6.061224 | 0.295918 | 0.166667 | 0.188552 | 0.09596 | 0.476431 | 0.476431 | 0.476431 | 0.476431 | 0.476431 | 0.476431 | 0 | 0.011511 | 0.182353 | 850 | 29 | 69 | 29.310345 | 0.843165 | 0 | 0 | 0.35 | 0 | 0 | 0.054118 | 0 | 0 | 0 | 0 | 0 | 0.1 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.45 | 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 |
6fbafeb5cd783b30fb1ff9d20d1d0382b7d14a73 | 3,801 | py | Python | src/pyams_form/browser/multi.py | Py-AMS/pyams-form | 2ba242f05386b43ae926cb53255d7e20cb6f078e | [
"ZPL-2.1"
] | null | null | null | src/pyams_form/browser/multi.py | Py-AMS/pyams-form | 2ba242f05386b43ae926cb53255d7e20cb6f078e | [
"ZPL-2.1"
] | null | null | null | src/pyams_form/browser/multi.py | Py-AMS/pyams-form | 2ba242f05386b43ae926cb53255d7e20cb6f078e | [
"ZPL-2.1"
] | null | null | null | #
# Copyright (c) 2015-2020 Thierry Florac <tflorac AT ulthar.net>
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRAN... | 35.523364 | 97 | 0.717443 | 428 | 3,801 | 6.252336 | 0.369159 | 0.030269 | 0.034006 | 0.025785 | 0.122571 | 0.070254 | 0.042601 | 0 | 0 | 0 | 0 | 0.003241 | 0.188371 | 3,801 | 106 | 98 | 35.858491 | 0.864182 | 0.284662 | 0 | 0.103448 | 0 | 0 | 0.041839 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.103448 | false | 0 | 0.206897 | 0 | 0.517241 | 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 |
6fbba0ace8b4969f8a000a85e960d0d434458437 | 3,954 | py | Python | geosolver/solver/numeric_solver.py | mhrmm/geosolver | 13ae2972c58d5ba4c4878576f9fba8569cc99629 | [
"Apache-2.0"
] | 83 | 2015-09-14T13:50:42.000Z | 2022-03-12T10:24:38.000Z | geosolver/solver/numeric_solver.py | nehamjadhav/geosolver | 13ae2972c58d5ba4c4878576f9fba8569cc99629 | [
"Apache-2.0"
] | 5 | 2018-03-21T00:10:50.000Z | 2021-04-19T02:59:25.000Z | geosolver/solver/numeric_solver.py | nehamjadhav/geosolver | 13ae2972c58d5ba4c4878576f9fba8569cc99629 | [
"Apache-2.0"
] | 33 | 2015-06-16T18:52:43.000Z | 2021-12-16T08:58:27.000Z | import functools
import algopy
# import pyipopt
from scipy.optimize import minimize, newton_krylov, basinhopping
import numpy as np
from scipy.optimize.nonlin import NoConvergence
import time
from geosolver.ontology.ontology_semantics import evaluate, TruthValue
from geosolver.solver.variable_handler import VariableHa... | 34.684211 | 124 | 0.669449 | 514 | 3,954 | 4.959144 | 0.243191 | 0.117693 | 0.04237 | 0.036093 | 0.384465 | 0.295018 | 0.231463 | 0.133386 | 0.046293 | 0.046293 | 0 | 0.002969 | 0.233435 | 3,954 | 113 | 125 | 34.99115 | 0.838007 | 0.003541 | 0 | 0.195652 | 0 | 0 | 0.014982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.097826 | null | null | 0.054348 | 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 |
6fbc887e56de383aeafa63da7f74c198f5375ed6 | 19,099 | py | Python | fabfile/__init__.py | stlpublicradio/dailygraphics | ce29a89ed99209579d849cdd6077529f63009fa8 | [
"MIT"
] | null | null | null | fabfile/__init__.py | stlpublicradio/dailygraphics | ce29a89ed99209579d849cdd6077529f63009fa8 | [
"MIT"
] | 1 | 2019-01-23T21:45:24.000Z | 2019-01-23T21:45:24.000Z | fabfile/__init__.py | stlpublicradio/dailygraphics | ce29a89ed99209579d849cdd6077529f63009fa8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# _*_ coding:utf-8 _*_
import boto
import json
import os
import subprocess
import webbrowser
from datetime import datetime
from distutils.spawn import find_executable
from fabric.api import local, require, task
from fabric.state import env, output
from oauth import get_document, get_credentials
f... | 28.045521 | 154 | 0.645479 | 2,511 | 19,099 | 4.706093 | 0.184389 | 0.047305 | 0.030803 | 0.025726 | 0.347804 | 0.272404 | 0.229077 | 0.211983 | 0.204113 | 0.204113 | 0 | 0.006671 | 0.246557 | 19,099 | 681 | 155 | 28.045521 | 0.814524 | 0.049322 | 0 | 0.35533 | 0 | 0.015228 | 0.218857 | 0.018276 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.005076 | 0.053299 | null | null | 0.091371 | 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 |
6fbf98c65be4a77aa9b0fb847cb5e5e17e44fa99 | 813 | py | Python | src/radish/terrain.py | radish-bdd/radish2 | 4ea71291aac8700ec2b284b7f2bbf79bf2970324 | [
"MIT"
] | 182 | 2015-06-27T16:17:17.000Z | 2022-03-19T11:49:10.000Z | src/radish/terrain.py | radish-bdd/radish2 | 4ea71291aac8700ec2b284b7f2bbf79bf2970324 | [
"MIT"
] | 357 | 2015-11-06T19:30:19.000Z | 2022-03-28T19:49:04.000Z | src/radish/terrain.py | radish-bdd/radish2 | 4ea71291aac8700ec2b284b7f2bbf79bf2970324 | [
"MIT"
] | 52 | 2015-08-22T08:36:37.000Z | 2022-03-01T06:04:06.000Z | """
radish
~~~~~~
The root from red to green. BDD tooling for Python.
:copyright: (c) 2019 by Timo Furrer <tuxtimo@gmail.com>
:license: MIT, see LICENSE for more details.
"""
import threading
world = threading.local()
world.__doc__ = """Thread-local radish contex object
This object can be used to attach arbitrary... | 21.972973 | 74 | 0.723247 | 120 | 813 | 4.833333 | 0.65 | 0.025862 | 0.031034 | 0.037931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00597 | 0.175892 | 813 | 36 | 75 | 22.583333 | 0.859701 | 0.353014 | 0 | 0 | 0 | 0 | 0.664683 | 0.14881 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0 | 0.071429 | 0 | 0.214286 | 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 |
6fbfd41631f43ed3356ed9ea3c4be71e0a5052e5 | 6,713 | py | Python | src/github/utils.py | bitprophet/github-cli | 765024b4bbe5e667e3f7daa5f1fd9d8eaee1307a | [
"BSD-3-Clause"
] | 1 | 2015-04-18T15:46:00.000Z | 2015-04-18T15:46:00.000Z | src/github/utils.py | bitprophet/github-cli | 765024b4bbe5e667e3f7daa5f1fd9d8eaee1307a | [
"BSD-3-Clause"
] | null | null | null | src/github/utils.py | bitprophet/github-cli | 765024b4bbe5e667e3f7daa5f1fd9d8eaee1307a | [
"BSD-3-Clause"
] | null | null | null | import os
import sys
import re
import urllib2
import tempfile
import subprocess
import textwrap
from urllib2 import build_opener, HTTPCookieProcessor, Request
from urllib import urlencode
from subprocess import Popen, PIPE, STDOUT
opener = build_opener(HTTPCookieProcessor)
def urlopen2(url, data=None, auth=True, use... | 30.935484 | 80 | 0.546403 | 788 | 6,713 | 4.587563 | 0.299492 | 0.017427 | 0.015491 | 0.014938 | 0.107054 | 0.086584 | 0.058921 | 0.058921 | 0.058921 | 0.058921 | 0 | 0.005828 | 0.335468 | 6,713 | 216 | 81 | 31.078704 | 0.804528 | 0.041263 | 0 | 0.2 | 0 | 0 | 0.130657 | 0.003469 | 0 | 0 | 0 | 0.00463 | 0 | 0 | null | null | 0 | 0.058824 | null | null | 0.052941 | 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 |
6fc594093277fee5dc29304e5c0549e7212e382f | 836 | py | Python | PhotoHub/Hub/migrations/0015_alter_photographer_category.py | akrhythm20/clickPhoto | 461735d750f4339e2f75d389dec98f0e7dc636c6 | [
"MIT"
] | null | null | null | PhotoHub/Hub/migrations/0015_alter_photographer_category.py | akrhythm20/clickPhoto | 461735d750f4339e2f75d389dec98f0e7dc636c6 | [
"MIT"
] | null | null | null | PhotoHub/Hub/migrations/0015_alter_photographer_category.py | akrhythm20/clickPhoto | 461735d750f4339e2f75d389dec98f0e7dc636c6 | [
"MIT"
] | 2 | 2022-01-26T15:15:16.000Z | 2022-01-28T13:17:06.000Z | # Generated by Django 4.0.1 on 2022-02-03 07:37
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('Hub', '0014_alter_appointment_id_alter_customer_id_and_more'),
]
operations = [
migrations.AlterField(
model_name='photographer'... | 44 | 467 | 0.660287 | 90 | 836 | 5.866667 | 0.666667 | 0.022727 | 0.05303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031474 | 0.163876 | 836 | 18 | 468 | 46.444444 | 0.723891 | 0.053828 | 0 | 0 | 1 | 0 | 0.42839 | 0.124208 | 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 |
6fc6db1d709145dfa8972a76256cd6f38b2ab74d | 438 | py | Python | web_scrapers/setup.py | kohlert/data_science | acfa37ec6e69beda6b7a1b5ae29373b03d32c0f2 | [
"MIT"
] | null | null | null | web_scrapers/setup.py | kohlert/data_science | acfa37ec6e69beda6b7a1b5ae29373b03d32c0f2 | [
"MIT"
] | null | null | null | web_scrapers/setup.py | kohlert/data_science | acfa37ec6e69beda6b7a1b5ae29373b03d32c0f2 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name='linkedin',
version='0.1',
description='A package to assist in collecting data from linkedin pages.',
author='kohlert',
license='MIT',
keywords='webscraper job search linkedin selenium',
url='https://github.com/kohlert/data_science/tree/master/Web_Sc... | 31.285714 | 84 | 0.707763 | 52 | 438 | 5.884615 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005391 | 0.152968 | 438 | 13 | 85 | 33.692308 | 0.819407 | 0 | 0 | 0 | 0 | 0 | 0.538813 | 0.050228 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 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 |
6fc8a1943278d3306dbb723bec4606489adde65c | 479 | py | Python | bank/bank/app/forms/login.py | Christophedlr/bank-transactions | 5509e3e63a50b30cbc9b5edb798b8a5d47ee6d90 | [
"MIT"
] | null | null | null | bank/bank/app/forms/login.py | Christophedlr/bank-transactions | 5509e3e63a50b30cbc9b5edb798b8a5d47ee6d90 | [
"MIT"
] | 11 | 2020-12-17T12:52:31.000Z | 2022-02-15T08:11:03.000Z | bank/bank/app/forms/login.py | Christophedlr/bank-transactions | 5509e3e63a50b30cbc9b5edb798b8a5d47ee6d90 | [
"MIT"
] | null | null | null | from django import forms
from django.contrib.auth.forms import AuthenticationForm
# Custom login form
class LoginForm(AuthenticationForm):
def __init__(self, *args, **kwargs):
super(LoginForm, self).__init__(*args, **kwargs)
self.fields['username'].widget.attrs.update({'class': 'form-control', 'm... | 36.846154 | 98 | 0.699374 | 54 | 479 | 6.055556 | 0.518519 | 0.091743 | 0.103976 | 0.134557 | 0.201835 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0.007282 | 0.139875 | 479 | 12 | 99 | 39.916667 | 0.786408 | 0.035491 | 0 | 0 | 0 | 0 | 0.152174 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 |
6fc8f191d2cc83c4677af5ed5d17c609e1ea7026 | 2,006 | py | Python | lambeq/tokeniser/base.py | CQCL/lambeq | 04e4f736552c1ed51087dc9913f33464fad3783e | [
"Apache-2.0"
] | 131 | 2021-10-11T02:45:04.000Z | 2022-03-31T22:28:05.000Z | lambeq/tokeniser/base.py | CQCL/lambeq | 04e4f736552c1ed51087dc9913f33464fad3783e | [
"Apache-2.0"
] | 6 | 2021-11-04T10:56:26.000Z | 2022-02-04T11:20:20.000Z | lambeq/tokeniser/base.py | CQCL/lambeq | 04e4f736552c1ed51087dc9913f33464fad3783e | [
"Apache-2.0"
] | 25 | 2021-10-13T03:34:32.000Z | 2022-03-29T11:48:21.000Z | # Copyright 2021, 2022 Cambridge Quantum Computing Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable la... | 27.108108 | 78 | 0.623131 | 242 | 2,006 | 5.115702 | 0.433884 | 0.058158 | 0.033926 | 0.024233 | 0.11147 | 0.069467 | 0.043619 | 0 | 0 | 0 | 0 | 0.009097 | 0.287637 | 2,006 | 73 | 79 | 27.479452 | 0.857243 | 0.621635 | 0 | 0.181818 | 0 | 0 | 0.018145 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.272727 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6fca03f0357ce27e703fd8758c9e695832c987ef | 714 | py | Python | calibration_tool/config/hot_key.py | liwen-deepmotion/map_based_lidar_camera_calibration_tool | d260380729b05b153c2efd1e76d4ae077c48c4b1 | [
"MIT"
] | 26 | 2021-04-24T08:07:20.000Z | 2022-03-13T15:21:02.000Z | calibration_tool/config/hot_key.py | Grandzxw/map_based_lidar_camera_calibration_tool | d260380729b05b153c2efd1e76d4ae077c48c4b1 | [
"MIT"
] | null | null | null | calibration_tool/config/hot_key.py | Grandzxw/map_based_lidar_camera_calibration_tool | d260380729b05b153c2efd1e76d4ae077c48c4b1 | [
"MIT"
] | 9 | 2021-04-19T23:32:21.000Z | 2022-03-03T06:31:19.000Z | from enum import Enum
class KeyCombo(object):
def __init__(self, key_sequence: str, description: str = ''):
self.key_seq = key_sequence
self.description = description
def is_same(self, other: 'KeyCombo') -> bool:
return self.key_seq == other.key_seq
class HotKey(Enum):
RESET_C... | 29.75 | 69 | 0.673669 | 84 | 714 | 5.5 | 0.47619 | 0.045455 | 0.04329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20028 | 714 | 23 | 70 | 31.043478 | 0.809107 | 0 | 0 | 0 | 0 | 0 | 0.165266 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.0625 | 0.0625 | 0.8125 | 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 |
6fd86c808cc80f134cef1930552c790f73ad9056 | 2,053 | py | Python | cherepashka/date.of.birth.py | renataeva/python-basics | 0d8a2c6eda3aa31cca61fb2c727956f82642ebc8 | [
"Apache-2.0"
] | 1 | 2021-02-14T10:43:43.000Z | 2021-02-14T10:43:43.000Z | cherepashka/date.of.birth.py | renataeva/python-basics | 0d8a2c6eda3aa31cca61fb2c727956f82642ebc8 | [
"Apache-2.0"
] | null | null | null | cherepashka/date.of.birth.py | renataeva/python-basics | 0d8a2c6eda3aa31cca61fb2c727956f82642ebc8 | [
"Apache-2.0"
] | null | null | null | import turtle
WIDTH = 50
HEIGHT = 100
SIZE = 5
GAP = 15
BEGIN = -280
def goto(x):
t.setposition(x, 0)
def dot(start, color):
goto(start)
t.pencolor(color)
t.down()
for _ in range(4):
t.forward(SIZE)
t.left(90)
t.up()
def zero(start, color):
goto(start)
t.pencolor(c... | 13.871622 | 29 | 0.538724 | 332 | 2,053 | 3.322289 | 0.159639 | 0.159565 | 0.135993 | 0.101541 | 0.702629 | 0.698096 | 0.661831 | 0.583862 | 0.4932 | 0.4932 | 0 | 0.067935 | 0.283 | 2,053 | 148 | 29 | 13.871622 | 0.681386 | 0.009255 | 0 | 0.736364 | 0 | 0 | 0.034585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.063636 | false | 0 | 0.009091 | 0 | 0.072727 | 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 |
6fdd8ce15c0c90bf5632e2ebbd8b40ec1c9fee03 | 1,004 | py | Python | LeetCodeSolutions/python/211_Add_and_Search_Word_Data_structure_design.py | ChuanleiGuo/AlgorithmsPlayground | 90b6287b742c8bfd3797540c408d679be2821a40 | [
"MIT"
] | 1 | 2017-03-27T13:38:37.000Z | 2017-03-27T13:38:37.000Z | LeetCodeSolutions/python/211_Add_and_Search_Word_Data_structure_design.py | ChuanleiGuo/AlgorithmsPlayground | 90b6287b742c8bfd3797540c408d679be2821a40 | [
"MIT"
] | null | null | null | LeetCodeSolutions/python/211_Add_and_Search_Word_Data_structure_design.py | ChuanleiGuo/AlgorithmsPlayground | 90b6287b742c8bfd3797540c408d679be2821a40 | [
"MIT"
] | null | null | null | class WordDictionary(object):
def __init__(self):
"""
initialize your data structure here.
"""
self.root = {}
def addWord(self, word):
"""
Adds a word into the data structure.
:type word: str
:rtype: void
"""
node = self.root
... | 26.421053 | 72 | 0.466135 | 121 | 1,004 | 3.834711 | 0.396694 | 0.051724 | 0.068966 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003425 | 0.418327 | 1,004 | 37 | 73 | 27.135135 | 0.791096 | 0.248008 | 0 | 0 | 0 | 0 | 0.007764 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
6fdfaf07ddca6b06eea6bdcc1379a3b6937f05f1 | 3,694 | py | Python | fluid/neural_machine_translation/transformer/config.py | sunshine-2015/models | 9aa2637de149e6d6c70ce4d31e28eaa3a3361a90 | [
"Apache-2.0"
] | null | null | null | fluid/neural_machine_translation/transformer/config.py | sunshine-2015/models | 9aa2637de149e6d6c70ce4d31e28eaa3a3361a90 | [
"Apache-2.0"
] | null | null | null | fluid/neural_machine_translation/transformer/config.py | sunshine-2015/models | 9aa2637de149e6d6c70ce4d31e28eaa3a3361a90 | [
"Apache-2.0"
] | null | null | null | class TrainTaskConfig(object):
use_gpu = False
# the epoch number to train.
pass_num = 2
# the number of sequences contained in a mini-batch.
batch_size = 64
# the hyper parameters for Adam optimizer.
learning_rate = 0.001
beta1 = 0.9
beta2 = 0.98
eps = 1e-9
# the paramete... | 29.31746 | 84 | 0.695994 | 550 | 3,694 | 4.470909 | 0.356364 | 0.01708 | 0.01342 | 0.02318 | 0.167548 | 0.074014 | 0.05612 | 0.05612 | 0 | 0 | 0 | 0.022404 | 0.238766 | 3,694 | 125 | 85 | 29.552 | 0.852063 | 0.53438 | 0 | 0.032258 | 0 | 0 | 0.23869 | 0.128571 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.032258 | 0 | 0 | 0.612903 | 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 |
6fedb7b9a6e0e900633c3a58c166d545be89e2de | 1,423 | py | Python | examples/evaluation/evaluation_stsbenchmark.py | Clootrack/sentence-transformers | a45e965c578a8f41d270e40ccae8430247da7c42 | [
"Apache-2.0"
] | null | null | null | examples/evaluation/evaluation_stsbenchmark.py | Clootrack/sentence-transformers | a45e965c578a8f41d270e40ccae8430247da7c42 | [
"Apache-2.0"
] | null | null | null | examples/evaluation/evaluation_stsbenchmark.py | Clootrack/sentence-transformers | a45e965c578a8f41d270e40ccae8430247da7c42 | [
"Apache-2.0"
] | 3 | 2020-09-28T09:25:04.000Z | 2021-06-23T19:16:53.000Z | """
This examples loads a pre-trained model and evaluates it on the STSbenchmark dataset
Usage:
python evaluation_stsbenchmark.py
OR
python evaluation_stsbenchmark.py model_name
"""
from torch.utils.data import DataLoader
from sentence_transformers import SentenceTransformer, SentencesDataset, LoggingHandler
from sen... | 35.575 | 101 | 0.772312 | 183 | 1,423 | 5.879781 | 0.557377 | 0.025093 | 0.066915 | 0.055762 | 0.053903 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00326 | 0.137737 | 1,423 | 39 | 102 | 36.487179 | 0.873676 | 0.313422 | 0 | 0 | 0 | 0 | 0.107404 | 0.051095 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.421053 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
6ffb4c67a24e05967a28d204a80fc1ec96087c24 | 947 | py | Python | Task_4.py | abideen305/devCamp-task | f379fd8f5f67158b88fd368855cf9bd87e98f4ad | [
"MIT"
] | 1 | 2020-09-06T08:34:38.000Z | 2020-09-06T08:34:38.000Z | Task_4.py | abideen305/devCamp-task | f379fd8f5f67158b88fd368855cf9bd87e98f4ad | [
"MIT"
] | null | null | null | Task_4.py | abideen305/devCamp-task | f379fd8f5f67158b88fd368855cf9bd87e98f4ad | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[4]:
#importing regular expression to parse through the inpus
special=['$','@','#']
import re
#defining the function using validation()
def validation():
#setting while loop to always be true
while True:
#taking input from the user and storing it to a value called passw... | 27.057143 | 99 | 0.62302 | 137 | 947 | 4.306569 | 0.50365 | 0.050847 | 0.064407 | 0.091525 | 0.247458 | 0.247458 | 0.247458 | 0.247458 | 0.247458 | 0.247458 | 0 | 0.016153 | 0.280887 | 947 | 34 | 100 | 27.852941 | 0.85022 | 0.488912 | 0 | 0.222222 | 0 | 0 | 0.095137 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.222222 | 0.055556 | 0 | 0.111111 | 0.222222 | 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 |
6ffc29ad3f9a24ee4db25ce825930f1665b81c21 | 1,353 | py | Python | clinic/migrations/Temp/0017_auto_20180903_1530.py | Pranavraut033/Patient-Management | 4c48087d8a2aa095e63200af5232f738513333ce | [
"Apache-2.0"
] | null | null | null | clinic/migrations/Temp/0017_auto_20180903_1530.py | Pranavraut033/Patient-Management | 4c48087d8a2aa095e63200af5232f738513333ce | [
"Apache-2.0"
] | null | null | null | clinic/migrations/Temp/0017_auto_20180903_1530.py | Pranavraut033/Patient-Management | 4c48087d8a2aa095e63200af5232f738513333ce | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.4 on 2018-09-03 10:00
import clinic.utils.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('clinic', '0016_auto_20180828_0034'),
]
operations = [
migrations.AlterField(
model_name='doctor',... | 38.657143 | 338 | 0.619364 | 131 | 1,353 | 6.282443 | 0.587786 | 0.053463 | 0.102066 | 0.140948 | 0.329283 | 0.18712 | 0 | 0 | 0 | 0 | 0 | 0.03263 | 0.22986 | 1,353 | 34 | 339 | 39.794118 | 0.757198 | 0.033259 | 0 | 0.428571 | 1 | 0 | 0.189893 | 0.017611 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.178571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b502ee75112d798287fd92b326ef952aac756f5c | 851 | py | Python | arkav_is_api/quiz/migrations/0006_attemptanswer.py | arkavidia5/arkav-is | 6c6e8d091ead5bfff664d86f7903c62209800031 | [
"MIT"
] | 3 | 2018-10-01T16:30:15.000Z | 2020-01-06T09:03:57.000Z | arkav_is_api/quiz/migrations/0006_attemptanswer.py | arkavidia5/arkav-is | 6c6e8d091ead5bfff664d86f7903c62209800031 | [
"MIT"
] | 4 | 2018-11-03T10:56:52.000Z | 2020-04-26T06:54:16.000Z | arkav_is_api/quiz/migrations/0006_attemptanswer.py | arkavidia5/arkav-is | 6c6e8d091ead5bfff664d86f7903c62209800031 | [
"MIT"
] | 2 | 2018-09-26T16:28:01.000Z | 2019-09-04T06:23:14.000Z | # Generated by Django 2.1.4 on 2018-12-08 16:45
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('quiz', '0005_auto_20181208_2329'),
]
operations = [
migrations.CreateModel(
name='AttemptAnswer... | 35.458333 | 129 | 0.588719 | 96 | 851 | 5.125 | 0.59375 | 0.065041 | 0.085366 | 0.134146 | 0.239837 | 0.239837 | 0.239837 | 0.239837 | 0.239837 | 0.239837 | 0 | 0.049155 | 0.235018 | 851 | 23 | 130 | 37 | 0.706605 | 0.052879 | 0 | 0 | 1 | 0 | 0.129353 | 0.028607 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.117647 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b50b67b11bfea4b7765cd0da7b89d9ce93087ab6 | 1,295 | py | Python | fuzzytools/matplotlib/bars.py | oscarpimentel/fuzzy-tools | edbde6a1e56c1c564cca609e4d0cc9cda906b992 | [
"MIT"
] | null | null | null | fuzzytools/matplotlib/bars.py | oscarpimentel/fuzzy-tools | edbde6a1e56c1c564cca609e4d0cc9cda906b992 | [
"MIT"
] | null | null | null | fuzzytools/matplotlib/bars.py | oscarpimentel/fuzzy-tools | edbde6a1e56c1c564cca609e4d0cc9cda906b992 | [
"MIT"
] | null | null | null | from __future__ import print_function
from __future__ import division
from . import _C
import matplotlib.pyplot as plt
import numpy as np
from copy import copy, deepcopy
import scipy.stats as stats
UPPER_PERCENTILE = 95
#################################################################################################... | 31.585366 | 161 | 0.657143 | 192 | 1,295 | 4.21875 | 0.302083 | 0.12963 | 0.066667 | 0.017284 | 0.530864 | 0.466667 | 0.31358 | 0.31358 | 0.31358 | 0.31358 | 0 | 0.020997 | 0.117375 | 1,295 | 41 | 162 | 31.585366 | 0.687664 | 0.047104 | 0 | 0.470588 | 0 | 0 | 0.00185 | 0 | 0 | 0 | 0 | 0.02439 | 0.029412 | 1 | 0.058824 | false | 0 | 0.205882 | 0 | 0.323529 | 0.029412 | 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 |
b50c6fb5f5c5435d370e3843bfc3a4ef3479d62f | 8,736 | py | Python | piecash/business/invoice.py | jreynolds01/piecash | cd0b4594ce77ecfe5b74a974a0c8ccd694da40a0 | [
"MIT"
] | null | null | null | piecash/business/invoice.py | jreynolds01/piecash | cd0b4594ce77ecfe5b74a974a0c8ccd694da40a0 | [
"MIT"
] | null | null | null | piecash/business/invoice.py | jreynolds01/piecash | cd0b4594ce77ecfe5b74a974a0c8ccd694da40a0 | [
"MIT"
] | 1 | 2020-01-18T15:55:04.000Z | 2020-01-18T15:55:04.000Z | import uuid
from sqlalchemy import Column, INTEGER, BIGINT, VARCHAR, ForeignKey
from sqlalchemy.orm import composite, relation
from .person import PersonType
# change of the __doc__ string as getting error in sphinx ==> should be reported to SA project
composite.__doc__ = None # composite.__doc__.replace(":ref:`ma... | 39.890411 | 113 | 0.664148 | 990 | 8,736 | 5.548485 | 0.179798 | 0.085199 | 0.051884 | 0.050064 | 0.312944 | 0.275988 | 0.23976 | 0.212998 | 0.169124 | 0.169124 | 0 | 0.016531 | 0.210623 | 8,736 | 218 | 114 | 40.073395 | 0.780017 | 0.097299 | 0 | 0.233766 | 0 | 0 | 0.129578 | 0 | 0 | 0 | 0 | 0.004587 | 0 | 1 | 0.038961 | false | 0 | 0.045455 | 0.019481 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
b50d574dcc5ab0fd1a1419875082a9b998686836 | 3,490 | py | Python | DWF-server/strategies/svm.py | sed-inf-u-szeged/DeepWaterFramework | 30e9c0145300e24834a3d4a7dde25002c638dd5a | [
"Apache-2.0"
] | 6 | 2020-06-18T22:38:09.000Z | 2022-01-13T14:32:56.000Z | DWF-server/strategies/svm.py | sed-inf-u-szeged/DeepWaterFramework | 30e9c0145300e24834a3d4a7dde25002c638dd5a | [
"Apache-2.0"
] | 18 | 2020-01-13T08:32:53.000Z | 2021-07-23T08:26:02.000Z | DWF-server/strategies/svm.py | sed-inf-u-szeged/DeepWaterFramework | 30e9c0145300e24834a3d4a7dde25002c638dd5a | [
"Apache-2.0"
] | 2 | 2020-06-18T09:50:59.000Z | 2021-03-18T04:52:53.000Z | strategy_type = "learning"
config = {
"strategy_id": "svm",
"name": "Support Vector Machine Classifier",
"parameters": [
{
"parameter_id": "C",
"label": "C - Error term weight",
"type": "float",
"default_value": 2.6,
},
{
"p... | 24.068966 | 59 | 0.236103 | 195 | 3,490 | 4.148718 | 0.271795 | 0.069221 | 0.118665 | 0.044499 | 0.365884 | 0.364648 | 0.233622 | 0.132262 | 0.132262 | 0.132262 | 0 | 0.038202 | 0.617479 | 3,490 | 144 | 60 | 24.236111 | 0.56779 | 0 | 0 | 0.472222 | 0 | 0 | 0.22063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
b51357aa4d4f16d60b0c4f1c8f03ca7df139c834 | 2,907 | py | Python | users/managers.py | salazarpardo/redinnovacion | 3f7c13af0af1887112a0492aea7782871fba0129 | [
"CC-BY-3.0"
] | null | null | null | users/managers.py | salazarpardo/redinnovacion | 3f7c13af0af1887112a0492aea7782871fba0129 | [
"CC-BY-3.0"
] | null | null | null | users/managers.py | salazarpardo/redinnovacion | 3f7c13af0af1887112a0492aea7782871fba0129 | [
"CC-BY-3.0"
] | null | null | null | """ This document defines the UserManager class"""
# django
from django.contrib.auth.models import BaseUserManager
from django.db import models
from django.db.models import Count
from django.db.models import F
from django.db.models import Q
from django.utils import timezone
# other
from base.managers import BaseManag... | 29.363636 | 77 | 0.611971 | 336 | 2,907 | 5.154762 | 0.324405 | 0.034642 | 0.027714 | 0.031178 | 0.172055 | 0.049654 | 0.049654 | 0.049654 | 0.049654 | 0.049654 | 0 | 0.002439 | 0.294806 | 2,907 | 98 | 78 | 29.663265 | 0.842439 | 0.154455 | 0 | 0.096774 | 0 | 0 | 0.057374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.112903 | false | 0.064516 | 0.129032 | 0.048387 | 0.387097 | 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 |
82ea30d3953d1e2d411681d7e94bba3d8c45ccec | 3,044 | py | Python | sqaodpy/sqaod/common/dense_graph_annealer_base.py | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | null | null | null | sqaodpy/sqaod/common/dense_graph_annealer_base.py | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | null | null | null | sqaodpy/sqaod/common/dense_graph_annealer_base.py | rickyHong/Qubo-GPU-repl | a2bea6857885d318cd3aa6b6ed37dc6e7f011433 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
import numpy as np
from . import checkers
from . import preference as pref
from . import common
class DenseGraphAnnealerBase :
def __init__(self, cext, dtype, W, optimize, prefdict) :
self.dtype = dtype
self._cext = cext
if not W is None :
... | 31.061224 | 72 | 0.617937 | 430 | 3,044 | 4.134884 | 0.176744 | 0.141732 | 0.094488 | 0.095613 | 0.248032 | 0.132733 | 0.034871 | 0.034871 | 0 | 0 | 0 | 0.001787 | 0.264455 | 3,044 | 97 | 73 | 31.381443 | 0.792318 | 0 | 0 | 0 | 0 | 0 | 0.001643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.273973 | false | 0 | 0.068493 | 0.082192 | 0.452055 | 0.013699 | 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 |
82f2fd6545ea3bca45540ecba73320f44a881870 | 48,074 | py | Python | google/appengine/api/datastore.py | vin/gerbilcount | fdffe648c3e9ad2667a6edfe0e19d4446c522395 | [
"Apache-2.0"
] | 2 | 2016-05-08T08:57:01.000Z | 2020-02-08T07:39:48.000Z | google/appengine/api/datastore.py | vin/gerbilcount | fdffe648c3e9ad2667a6edfe0e19d4446c522395 | [
"Apache-2.0"
] | null | null | null | google/appengine/api/datastore.py | vin/gerbilcount | fdffe648c3e9ad2667a6edfe0e19d4446c522395 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law o... | 32.747956 | 80 | 0.683946 | 6,501 | 48,074 | 4.938471 | 0.11629 | 0.024763 | 0.021181 | 0.011213 | 0.295312 | 0.250273 | 0.207631 | 0.175829 | 0.159383 | 0.143031 | 0 | 0.00296 | 0.234014 | 48,074 | 1,467 | 81 | 32.770279 | 0.86889 | 0.011836 | 0 | 0.279435 | 0 | 0 | 0.09486 | 0.001042 | 0.00157 | 0 | 0 | 0 | 0.021978 | 0 | null | null | 0 | 0.020408 | 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 |
82f76f7bc9583664cbf6739b17978770125eaa43 | 2,833 | py | Python | apps/core.py | neulab/RIPPLe | 94cef4fa44cce1326cab1096bb2af2d73131711a | [
"BSD-3-Clause"
] | 130 | 2020-04-15T01:24:55.000Z | 2022-03-31T06:49:28.000Z | apps/core.py | XrosLiang/RIPPLe | e1d20fb96afa5a18f18617daa4427d55d0c36e26 | [
"BSD-3-Clause"
] | 10 | 2020-04-15T20:32:09.000Z | 2021-09-21T15:37:31.000Z | apps/core.py | XrosLiang/RIPPLe | e1d20fb96afa5a18f18617daa4427d55d0c36e26 | [
"BSD-3-Clause"
] | 19 | 2020-04-15T03:54:28.000Z | 2022-03-28T05:29:30.000Z | import streamlit as st
from pathlib import Path
import sys
ROOT = (Path(__file__).parent / "..").resolve()
sys.path.append(str(ROOT))
from pathlib import Path
import torch
import numpy as np
from typing import *
from utils_glue import *
from pytorch_transformers import *
import itertools
import json
@st.cache
def lo... | 34.13253 | 91 | 0.636781 | 383 | 2,833 | 4.5953 | 0.292428 | 0.013636 | 0.022727 | 0.031818 | 0.201136 | 0.170455 | 0.153409 | 0.153409 | 0.153409 | 0.153409 | 0 | 0.01105 | 0.233322 | 2,833 | 82 | 92 | 34.54878 | 0.799263 | 0.006707 | 0 | 0.179104 | 0 | 0 | 0.05761 | 0.009246 | 0 | 0 | 0 | 0 | 0 | 1 | 0.179104 | false | 0 | 0.208955 | 0.089552 | 0.567164 | 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 |
82fa43aec17dff3416d863024fa783cab107be40 | 4,117 | py | Python | rpython/rtyper/test/test_rweakref.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 381 | 2018-08-18T03:37:22.000Z | 2022-02-06T23:57:36.000Z | rpython/rtyper/test/test_rweakref.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 16 | 2018-09-22T18:12:47.000Z | 2022-02-22T20:03:59.000Z | rpython/rtyper/test/test_rweakref.py | nanjekyejoannah/pypy | e80079fe13c29eda7b2a6b4cd4557051f975a2d9 | [
"Apache-2.0",
"OpenSSL"
] | 55 | 2015-08-16T02:41:30.000Z | 2022-03-20T20:33:35.000Z | import py, weakref
from rpython.rlib import rgc
from rpython.rtyper.lltypesystem import lltype, llmemory
from rpython.rtyper.test.tool import BaseRtypingTest
class TestRweakref(BaseRtypingTest):
def test_weakref_simple(self):
class A:
pass
class B(A):
pass
class C(A... | 25.73125 | 72 | 0.448871 | 497 | 4,117 | 3.672032 | 0.183099 | 0.106849 | 0.096438 | 0.102466 | 0.506301 | 0.492055 | 0.459726 | 0.25863 | 0.25863 | 0.25863 | 0 | 0.03548 | 0.44547 | 4,117 | 159 | 73 | 25.893082 | 0.763907 | 0.013359 | 0 | 0.577465 | 0 | 0 | 0.000493 | 0 | 0 | 0 | 0 | 0 | 0.161972 | 1 | 0.112676 | false | 0.056338 | 0.028169 | 0 | 0.274648 | 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 |
d2057c1eba8c00deef3175ce5f6e2b8d66c9fb49 | 1,022 | py | Python | djangoblog/blogapp/admin.py | jfkzilani/authentication | 6b2a349edd4fbe1de596ab898966a6593a0a36ab | [
"MIT"
] | null | null | null | djangoblog/blogapp/admin.py | jfkzilani/authentication | 6b2a349edd4fbe1de596ab898966a6593a0a36ab | [
"MIT"
] | null | null | null | djangoblog/blogapp/admin.py | jfkzilani/authentication | 6b2a349edd4fbe1de596ab898966a6593a0a36ab | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Author, Category, Article, Comment
# Register your models here.
class AuthorModel(admin.ModelAdmin):
list_display = ["__str__"]
search_fields = ["__str__", "details"]
class Meta:
Model = Author
admin.site.register(Author, AuthorModel)
clas... | 19.283019 | 54 | 0.686888 | 113 | 1,022 | 5.778761 | 0.300885 | 0.091884 | 0.116386 | 0.159265 | 0.32925 | 0.284839 | 0.284839 | 0.284839 | 0.217458 | 0.217458 | 0 | 0.00738 | 0.204501 | 1,022 | 52 | 55 | 19.653846 | 0.795818 | 0.02544 | 0 | 0.466667 | 0 | 0 | 0.096579 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.733333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
d214c506d7d53174018d4b4acdd20a97cc424c7e | 232 | py | Python | Python/Matplotlib/03-PieCharts/starting_code.py | DSNR/snippets | 12006dd083be60c6444d8b5ca48fd917005e081b | [
"MIT"
] | null | null | null | Python/Matplotlib/03-PieCharts/starting_code.py | DSNR/snippets | 12006dd083be60c6444d8b5ca48fd917005e081b | [
"MIT"
] | null | null | null | Python/Matplotlib/03-PieCharts/starting_code.py | DSNR/snippets | 12006dd083be60c6444d8b5ca48fd917005e081b | [
"MIT"
] | null | null | null | from matplotlib import pyplot as plt
plt.style.use("fivethirtyeight")
plt.title("My Awesome Pie Chart")
plt.tight_layout()
plt.show()
# Colors:
# Blue = #008fd5
# Red = #fc4f30
# Yellow = #e5ae37
# Green = #6d904f
| 15.466667 | 37 | 0.655172 | 30 | 232 | 5.033333 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076503 | 0.211207 | 232 | 14 | 38 | 16.571429 | 0.748634 | 0.280172 | 0 | 0 | 0 | 0 | 0.244755 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
d2165450c5bd83a7df80a98924de8d7b952d621a | 877 | py | Python | python3/html5lib/trie/_base.py | gsnedders/html5lib | a426e4a96f0660b83f3f0bbe6c8160c6f625f199 | [
"MIT"
] | 6 | 2015-04-17T02:33:56.000Z | 2021-07-02T02:38:23.000Z | python3/html5lib/trie/_base.py | gsnedders/html5lib | a426e4a96f0660b83f3f0bbe6c8160c6f625f199 | [
"MIT"
] | null | null | null | python3/html5lib/trie/_base.py | gsnedders/html5lib | a426e4a96f0660b83f3f0bbe6c8160c6f625f199 | [
"MIT"
] | 3 | 2015-05-23T04:49:48.000Z | 2021-02-02T21:12:20.000Z | from __future__ import absolute_import, division, unicode_literals
from collections import Mapping
class Trie(Mapping):
"""Abstract base class for tries"""
def keys(self, prefix=None):
keys = super().keys()
if prefix is None:
return set(keys)
return {x for x in keys if x... | 24.361111 | 66 | 0.598632 | 110 | 877 | 4.654545 | 0.381818 | 0.078125 | 0.0625 | 0.070313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003317 | 0.312429 | 877 | 35 | 67 | 25.057143 | 0.845771 | 0.033067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.086957 | 0 | 0.608696 | 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 |
d2196e015a6bbfe798efd45163825fca7582b32a | 2,929 | py | Python | sheaths/src/surf.dens_for.paper/src/Vmc__vs__sigma.py | jimsrc/seatos | e775dba1a2a96ff44b837cf8d85101ccfef302b1 | [
"MIT"
] | null | null | null | sheaths/src/surf.dens_for.paper/src/Vmc__vs__sigma.py | jimsrc/seatos | e775dba1a2a96ff44b837cf8d85101ccfef302b1 | [
"MIT"
] | null | null | null | sheaths/src/surf.dens_for.paper/src/Vmc__vs__sigma.py | jimsrc/seatos | e775dba1a2a96ff44b837cf8d85101ccfef302b1 | [
"MIT"
] | 1 | 2018-10-02T17:51:57.000Z | 2018-10-02T17:51:57.000Z | #!/usr/bin/env ipython
from pylab import *
import numpy as np
import load_avrs as p
#------------------------------funcion promedio corrido
def running_average(temp, n, m):
"""
Calculates centered running average from -n to +m points (total of n+m+1 points).
Example 1: if n=m=6 and the data is monthly, ... | 31.494624 | 107 | 0.581086 | 481 | 2,929 | 3.449064 | 0.411642 | 0.007233 | 0.01085 | 0.009644 | 0.124171 | 0.109705 | 0.109705 | 0.073538 | 0.05425 | 0.05425 | 0 | 0.068444 | 0.23182 | 2,929 | 92 | 108 | 31.836957 | 0.668889 | 0.216456 | 0 | 0 | 0 | 0 | 0.059384 | 0.014566 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.06 | null | null | 0.02 | 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 |
d21aceb8815335d46c467d68f45feece6adc6ccd | 3,808 | py | Python | cloudmarker/stores/esstore.py | dkuspawono/cloudmarker | 4d09b4666b3e2178b51b4e16688537b288e23f26 | [
"MIT"
] | 208 | 2019-04-10T05:15:11.000Z | 2022-03-16T17:41:29.000Z | cloudmarker/stores/esstore.py | dkuspawono/cloudmarker | 4d09b4666b3e2178b51b4e16688537b288e23f26 | [
"MIT"
] | 88 | 2018-12-17T18:24:13.000Z | 2021-05-15T04:19:53.000Z | cloudmarker/stores/esstore.py | dkuspawono/cloudmarker | 4d09b4666b3e2178b51b4e16688537b288e23f26 | [
"MIT"
] | 15 | 2019-01-03T04:18:33.000Z | 2021-06-03T09:24:31.000Z | """Elasticsearch store plugin."""
import json
import logging
from elasticsearch import Elasticsearch, ElasticsearchException
_log = logging.getLogger(__name__)
class EsStore:
"""Elasticsearch adapter to index cloud data in Elasticsearch."""
def __init__(self, host='localhost', port=9200, index='cloudmark... | 31.733333 | 97 | 0.585084 | 452 | 3,808 | 4.74115 | 0.334071 | 0.060663 | 0.036398 | 0.047597 | 0.077928 | 0.04853 | 0.026132 | 0 | 0 | 0 | 0 | 0.00857 | 0.325893 | 3,808 | 119 | 98 | 32 | 0.826256 | 0.38813 | 0 | 0.115385 | 0 | 0 | 0.083532 | 0 | 0 | 0 | 0 | 0.016807 | 0 | 1 | 0.096154 | false | 0 | 0.057692 | 0 | 0.211538 | 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 |
d21b379ad024ed507eda392adde4ed4880a7bd98 | 26,957 | py | Python | pysnmp/LIEBERT-GP-REGISTRATION-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 11 | 2021-02-02T16:27:16.000Z | 2021-08-31T06:22:49.000Z | pysnmp/LIEBERT-GP-REGISTRATION-MIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 75 | 2021-02-24T17:30:31.000Z | 2021-12-08T00:01:18.000Z | pysnmp/LIEBERT-GP-REGISTRATION-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 LIEBERT-GP-REGISTRATION-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LIEBERT-GP-REGISTRATION-MIB
# Produced by pysmi-0.3.4 at Mon Apr 29 19:56:06 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python versio... | 86.678457 | 4,934 | 0.747821 | 3,476 | 26,957 | 5.798907 | 0.080265 | 0.014883 | 0.15419 | 0.029171 | 0.315027 | 0.239073 | 0.225976 | 0.225976 | 0.224835 | 0.223644 | 0 | 0.116997 | 0.104277 | 26,957 | 310 | 4,935 | 86.958065 | 0.7178 | 0.012909 | 0 | 0 | 0 | 0 | 0.063609 | 0.002669 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019802 | 0 | 0.019802 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
d226eab95646cc8f9e3d591a5cd380648c4a1763 | 104 | py | Python | Globallocal/code.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | null | null | null | Globallocal/code.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | null | null | null | Globallocal/code.py | Anilkumar95/python-75-hackathon | 0cc9304e46ceace826090614b46d8048a068d106 | [
"MIT"
] | 2 | 2019-01-27T16:59:48.000Z | 2019-01-29T13:07:40.000Z | a= "goat"
def animal():
global a
b = "pakka"
a = a * 6
print(a)
print(b)
animal()
| 9.454545 | 15 | 0.461538 | 16 | 104 | 3 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015385 | 0.375 | 104 | 10 | 16 | 10.4 | 0.723077 | 0 | 0 | 0 | 0 | 0 | 0.086538 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0.25 | 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 |
d22b6328c3811b2ad63cabcd04443c99727e54f3 | 3,856 | py | Python | bead_cli/common.py | krisztianfekete/lib | 180527203b8dadd0e1acd9c6f73be1887b61bc44 | [
"Unlicense"
] | 1 | 2017-01-26T07:42:13.000Z | 2017-01-26T07:42:13.000Z | bead_cli/common.py | e3krisztian/bead | 180527203b8dadd0e1acd9c6f73be1887b61bc44 | [
"Unlicense"
] | 21 | 2017-02-16T13:49:06.000Z | 2021-11-20T21:38:45.000Z | bead_cli/common.py | ceumicrodata/bead | 180527203b8dadd0e1acd9c6f73be1887b61bc44 | [
"Unlicense"
] | 1 | 2016-10-25T22:09:53.000Z | 2016-10-25T22:09:53.000Z | import os
import sys
from bead.exceptions import InvalidArchive
from bead.workspace import Workspace
from bead import spec as bead_spec
from bead.archive import Archive
from bead import box as bead_box
from bead.tech.fs import Path
from bead.tech.timestamp import time_from_user, parse_iso8601
from . import arg_help
fr... | 26.231293 | 96 | 0.681535 | 531 | 3,856 | 4.741996 | 0.293785 | 0.03614 | 0.048054 | 0.027006 | 0.102859 | 0.095314 | 0.054011 | 0.054011 | 0 | 0 | 0 | 0.006575 | 0.2111 | 3,856 | 146 | 97 | 26.410959 | 0.82117 | 0.158714 | 0 | 0.156627 | 0 | 0 | 0.100603 | 0.014916 | 0 | 0 | 0 | 0 | 0.012048 | 1 | 0.204819 | false | 0 | 0.144578 | 0.036145 | 0.457831 | 0.036145 | 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 |
d22e07fa9eb4cc9cec6e990a0741c3fede5c208a | 2,524 | py | Python | fuzzers/ECP5/140-sysconfig/fuzzer.py | Keno/prjtrellis | 3311e6d814e0001c8785d6d77a4c93e327875b6d | [
"ISC"
] | 256 | 2018-03-05T00:28:46.000Z | 2022-03-04T22:33:29.000Z | fuzzers/ECP5/140-sysconfig/fuzzer.py | Keno/prjtrellis | 3311e6d814e0001c8785d6d77a4c93e327875b6d | [
"ISC"
] | 70 | 2018-03-12T21:55:02.000Z | 2020-06-22T12:06:08.000Z | fuzzers/ECP5/140-sysconfig/fuzzer.py | Keno/prjtrellis | 3311e6d814e0001c8785d6d77a4c93e327875b6d | [
"ISC"
] | 68 | 2018-03-12T21:05:01.000Z | 2021-03-14T21:08:33.000Z | from fuzzconfig import FuzzConfig
import nonrouting
import pytrellis
import fuzzloops
import interconnect
cfg = FuzzConfig(job="USRMCLK", family="ECP5", device="LFE5U-45F", ncl="empty.ncl",
tiles=["MIB_R71C4:EFB0_PICB0", "MIB_R71C5:EFB1_PICB1", "MIB_R71C6:EFB2_PICB0",
"MIB_R71C... | 56.088889 | 120 | 0.61252 | 306 | 2,524 | 4.767974 | 0.281046 | 0.067855 | 0.123372 | 0.17135 | 0.599726 | 0.57231 | 0.54695 | 0.51268 | 0.45305 | 0.328992 | 0 | 0.021444 | 0.242472 | 2,524 | 44 | 121 | 57.363636 | 0.741632 | 0 | 0 | 0 | 0 | 0 | 0.184628 | 0.052694 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054054 | false | 0 | 0.135135 | 0.027027 | 0.216216 | 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 |
d2363c09528d8caa199691ff32657de38ed15a47 | 633 | py | Python | Figure6_Generator.py | ssiddhantsharma/sharmaaryacruzcleaves2021 | 0f87698400bb3795871d5914a10734107a328070 | [
"MIT"
] | null | null | null | Figure6_Generator.py | ssiddhantsharma/sharmaaryacruzcleaves2021 | 0f87698400bb3795871d5914a10734107a328070 | [
"MIT"
] | null | null | null | Figure6_Generator.py | ssiddhantsharma/sharmaaryacruzcleaves2021 | 0f87698400bb3795871d5914a10734107a328070 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
import math
import re
import sys
import glob
import os
import os.path
import numpy as np
import matplotlib.colors as mcolors
molecules = open('type_1_gephi.csv','r')
lines = molecules.readlines()
counter = 0
#print('lines'+str(lines))
with open('imagen.csv', 'a') as the_file:
the_file... | 23.444444 | 76 | 0.63981 | 103 | 633 | 3.883495 | 0.504854 | 0.0625 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020333 | 0.14534 | 633 | 26 | 77 | 24.346154 | 0.719039 | 0.039494 | 0 | 0 | 0 | 0 | 0.131796 | 0 | 0.041667 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
d239dd40ded26c7c323839dba9cf93eeee4a1a7b | 407 | py | Python | app/config.py | 133794m3r/i_am_not_forgotten | f70d117fa2f36aacd335575c6932840c8a3f8204 | [
"MIT"
] | null | null | null | app/config.py | 133794m3r/i_am_not_forgotten | f70d117fa2f36aacd335575c6932840c8a3f8204 | [
"MIT"
] | null | null | null | app/config.py | 133794m3r/i_am_not_forgotten | f70d117fa2f36aacd335575c6932840c8a3f8204 | [
"MIT"
] | 2 | 2020-06-14T11:27:04.000Z | 2020-06-15T23:09:29.000Z | import os
DEBUG = True
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
#not used right now.
CSRF_ENABLED = True
#Same here for session cookies.
SECRET_KEY = os.getenv("SECRET_KEY")
SESSION_TYPE="filesystem"
SECRET=os.getenv("SECRET")
MONGO_URI="mongodb+srv://{0}:{1}@mlh-summer-hacks-dqi2z.gcp.mongodb.net/geo_i... | 40.7 | 164 | 0.764128 | 67 | 407 | 4.432836 | 0.716418 | 0.107744 | 0.094276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007916 | 0.068796 | 407 | 10 | 164 | 40.7 | 0.775726 | 0.120393 | 0 | 0 | 0 | 0.125 | 0.397759 | 0.280112 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.125 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.